-
Notifications
You must be signed in to change notification settings - Fork 47
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
TwitchBronBron
wants to merge
295
commits into
master
Choose a base branch
from
release-1.0.0
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
v1.0.0 #1056
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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 <bronley@gmail.com>
* 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 <bronley@gmail.com>
* Adds validation for binary operators * fix indenting * fixed test and added test to validate setting node properties
… missing or mismatches members (#901) Co-authored-by: Bronley Plumb <bronley@gmail.com>
* Fix scope related info messages, truncate the list * Fix unit tests
* Fix scope related info messages, truncate the list * Fix unit tests * Add truncate method * Tweak type compatibility diagnostic messages
Co-authored-by: Bronley Plumb <bronley@gmail.com>
* Fixes compatibility of built in types so typed array can be assigned to roArray * Adding more intrinsic objects * Do more type checking based on members * Added in some TODOs about name checking interfaces
…essions (#927) * Better completions on type expressions/casts and adds native components to semantic tokens * Re-added deleted test
* Added Callfunc as ComponentType member * Tightened up TypedFUnctionType compatibility code and added tests for .callFunc invocations * fixed build issue * Added callfunc as an override directly in scrape-roku-docs script * fixed build errors * Rescraped Roku docs
* 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 <bronley@gmail.com> * remove duplicated field fix * Is a little more forgiving in getting the return type from the roku docs --------- Co-authored-by: Bronley Plumb <bronley@gmail.com>
…1241) * Took a stab at re-writing the docs * Added human readable names to diagnostics * Added file.destPath diagnostics filtering * hopefully fixed test * Is this change needed too? * Changed BsDiagnostic so code is the human-readable version, legacyCode is the old code * Fixed some issues * Fix misspelling * Update docs/bsconfig.md Co-authored-by: Bronley Plumb <bronley@gmail.com> * Update docs/bsconfig.md Co-authored-by: Bronley Plumb <bronley@gmail.com> * Updated docs to use new codes instead of legacy codes for diagnotsics * Update src/DiagnosticMessages.ts Co-authored-by: Bronley Plumb <bronley@gmail.com> * Update src/DiagnosticMessages.ts Co-authored-by: Bronley Plumb <bronley@gmail.com> * Update src/DiagnosticMessages.ts Co-authored-by: Bronley Plumb <bronley@gmail.com> * Changes from comments on PR * Update src/DiagnosticMessages.ts Co-authored-by: Bronley Plumb <bronley@gmail.com> * Combined diagnostics to make new expectedOperator diagnostic * Update src/DiagnosticMessages.ts Co-authored-by: Bronley Plumb <bronley@gmail.com> * Update src/DiagnosticMessages.ts Co-authored-by: Bronley Plumb <bronley@gmail.com> * Combined expectedTerminator diags - Ill Be Back * Consolidated expected statement diagnostics * Removed xml prefix on xml diagnostics * Update src/DiagnosticMessages.ts Co-authored-by: Bronley Plumb <bronley@gmail.com> * Update src/DiagnosticMessages.ts Co-authored-by: Bronley Plumb <bronley@gmail.com> * Update src/DiagnosticMessages.ts Co-authored-by: Bronley Plumb <bronley@gmail.com> * use one expected-identifier diaganostic code * A few more changes * Update src/DiagnosticMessages.ts Co-authored-by: Bronley Plumb <bronley@gmail.com> * Update src/DiagnosticMessages.ts Co-authored-by: Bronley Plumb <bronley@gmail.com> * A few more changes * Rename many diagnostic codes * Some small code tweaks * Updated the expectedEndForOrNextToTerminateForLoop diagnostic * Refactored memberAccessibilityMismatch diagnostic * Reverted data.json change * Combine `expectedIdentifierAfterKeyword` and `expectedIdentifier` * Merge several `expected*AfterCallable` diagnostics into `expecteToken` or `expectedIdentifier` * Rename functionNameCannotEndWithTypeDesignator to invalidIdentifier and update diagnostics for invalid characters in function names * Rename mismatchedEndCallableKeyword to closingKeywordMismatch and update related diagnostic messages * More diagnostics refactoring (unterminatedString, class inheritance, etc) * Eliminate more diagnostic codes (such as localVarSameNameAsClass and expectedOpenParenToFollowCallfuncIdentifier) * Refactor hash* diagnostics --------- Co-authored-by: Bronley Plumb <bronley@gmail.com>
* Eliminates unnecessary import and fractional hex diagnostics * Adds tests for fractional hex in different contexts --------- Co-authored-by: Bronley Plumb <bronley@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the official branch for the v1.0.0 release, tracking milesone v1.0.0.