Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.0.0 #1056

Open
wants to merge 286 commits into
base: master
Choose a base branch
from
Open

v1.0.0 #1056

wants to merge 286 commits into from

Conversation

TwitchBronBron
Copy link
Member

This is the official branch for the v1.0.0 release, tracking milesone v1.0.0.

markwpearce and others added 30 commits July 27, 2023 16:59
…calls (#856)

* Adds built-in member function to primitives based on Roku Docs

* Fixed scrapper code and re-ran scrape script

* Fixed Scraper code

* Refactored function call validation to also validate member functions

* Use regex instead of string to find bad param names in roku docs

* revert change

* Update src/types/BuiltInInterfaceAdder.ts

Co-authored-by: Bronley Plumb <[email protected]>

* Throws errors instead of strings

---------

Co-authored-by: Bronley Plumb <[email protected]>
* Fixes small hover issues

* Lint fixes
* Fixes issues with reference types in binary operators

* Added lots of debug statements

* Caches BinaryOpRefTypes and fixes issues with union types as args

* Removed some debug comments

* Removed more debug comments

* Apply suggestions from code review

Co-authored-by: Bronley Plumb <[email protected]>

* Fixes from code review

* Remove names from toString() for unnammed functions

---------

Co-authored-by: Bronley Plumb <[email protected]>
* Fix built in functions parameter types

* Fix double test
* Adds Return type validation

* Removed console log
* Added parsing for typed arrays and made union types not work in Brightscript mode

* Overrides some methods in ArrayTypes and fixes tests

* Updated validation docs for typed arrays
* Adds non-statement expressions to AST

* WIP to verify namespace symbol table changes

* Fix broken semantic tokens test

* Solving more tests

* Refactored Symbol Tables to keep track of teh defining AST node of a symbol

* Completes refactor of completions to use symbol tables

* Fixes namespace hovers

* Cache data after loop in BuiltInInterfaceAdder

* Comment documentaation gets a little formatting help - jsdoc tags are respected

* Revert caching of symbol add calls in BuiltInInterfaceAdder

* removed parser in body hack

* fix for #881

* Use leadingTrivia for comments and fix #883

* Solves #882

---------

Co-authored-by: Bronley Plumb <[email protected]>
* Validates DottedSetStatements for type compatibility

* Add test to match issue example
…) to Type System (#891)

* Adds non-statement expressions to AST

* WIP to verify namespace symbol table changes

* Fix broken semantic tokens test

* Solving more tests

* Refactored Symbol Tables to keep track of teh defining AST node of a symbol

* Completes refactor of completions to use symbol tables

* Fixes namespace hovers

* Cache data after loop in BuiltInInterfaceAdder

* Comment documentaation gets a little formatting help - jsdoc tags are respected

* Revert caching of symbol add calls in BuiltInInterfaceAdder

* removed parser in body hack

* fix for #881

* Use leadingTrivia for comments and fix #883

* Solves #882

* Brightscript Components, interfaces,Events and SceneGraph Nodes are in global SymbolTable

* Fixed enum member issue

* fixed build issue

* Adds built in SceneGraph nodes and Custom components as types

* Fixes some completions issues with custom components

* Adds Custom Components to symbol tables

* Some small fixes

* added test and fixed build error

* fix broken test

* Removed mergedSymbolTable as sibling to scope.symbolTable

* Renamed addDeferredComponentTypeSymbolCreation and generalized type chain seperators

* Added comment for program.componentSymbolsToUpdate

* Update timeout on long running test

* Fixed typo

---------

Co-authored-by: Bronley Plumb <[email protected]>
* Adds validation for binary operators

* fix indenting

* fixed test and added test to validate setting node properties
)

* Fix unary operator validation on union types

* fixed array.sort flags as being optional... re-ran scraper

* added test for array.sort optional types
… missing or mismatches members (#901)

Co-authored-by: Bronley Plumb <[email protected]>
TwitchBronBron and others added 27 commits September 25, 2024 11:14
… var to an Expression (#1305)

* the exceptionVariable is now an expression instead of a token, and is optional for bs

* Rename exception var when local var has the same name.
* Fix semantic tokens for component and interface instances.

* Fix lint issue and failing test
* Fix bug in bslib prefix transpiling

* Fix lint issues.
* Fixes using upper namespaced function indirectly

* Added test to verify validating correct function

* Clarifies namespace docs
* Adds diagnostic if no return statement found in function

* Added edge cases to tests, and improved returnTypeMismatch check for void rerturns
* Does not validate unknown members of a component in BrightScript mode

* Fixed lint errors
* Scraped docs and fixed Vector2DFieldInterpolator keyValue type

* fixes when the roku docs say  instead of

* Update scripts/scrape-roku-docs.ts

handle whitespace fixes in scraped docs as well

Co-authored-by: Bronley Plumb <[email protected]>

* remove duplicated field fix

* Is a little more forgiving in getting the return type from the roku docs

---------

Co-authored-by: Bronley Plumb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants