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 295 commits into
base: master
Choose a base branch
from
Open

v1.0.0 #1056

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
295 commits
Select commit Hold shift + click to select a range
973f099
Fix built in methods parameter types (#866)
markwpearce Aug 1, 2023
cf25c50
Merge branch 'master' into release-0.66.0
markwpearce Aug 1, 2023
8926e60
Fixed lint error
markwpearce Aug 1, 2023
0e1106c
Fixes types on call expression info class (#877)
markwpearce Aug 30, 2023
6429017
Narrows some types
markwpearce Aug 30, 2023
adfd5bd
Removed unneeded comment
markwpearce Aug 30, 2023
85edf5a
Merge branch 'master' into release-0.66.0
markwpearce Aug 30, 2023
68c7c23
Fixed getting xml attribute location in diagnostic printing
markwpearce Aug 30, 2023
180c170
Adds Return type validation (#876)
markwpearce Aug 30, 2023
d94c22e
Adds Typed Arrays (#875)
markwpearce Aug 30, 2023
5d54673
Adds Leading Trivia to all tokens, as a way to get comments from expr…
markwpearce Sep 6, 2023
69d3037
Use Symbol Tables for Completions (#874)
markwpearce Sep 13, 2023
42dac2a
update changelog for v0.66.0-alpha.5
TwitchBronBron Sep 14, 2023
31d0a36
0.66.0-alpha.5
TwitchBronBron Sep 14, 2023
a2c153a
Validates DottedSetStatements for type compatibility (#894)
markwpearce Sep 18, 2023
3b4ddbc
Adds Native Brightscript Component Types and Custom Components (Nodes…
markwpearce Sep 19, 2023
7cafaf1
Adds validation for binary operators (#896)
markwpearce Sep 19, 2023
9d8940f
Fix union type unary operations and Array.sort(by) optional params (#…
markwpearce Sep 19, 2023
442e562
Support defining params in interfaces (#900)
TwitchBronBron Sep 19, 2023
f5b8ed0
Fixes issues with Interface validations, and adds extra details about…
markwpearce Sep 20, 2023
ed583c3
Fix isLiteralInvalid (#902)
TwitchBronBron Sep 20, 2023
9ce132c
update changelog for v0.66.0-alpha.6
TwitchBronBron Sep 20, 2023
0eec2e9
0.66.0-alpha.6
TwitchBronBron Sep 20, 2023
31d7431
Better multi scope messages (#904)
TwitchBronBron Sep 21, 2023
3d63bd4
Refine type compat message (#908)
TwitchBronBron Sep 22, 2023
b5db7d6
Allow classes and native components in Typed Arrays (#919)
markwpearce Sep 25, 2023
6953d4d
Fixes some enum validation stuff (#920)
markwpearce Sep 25, 2023
38d6de3
Fixes compatibility of built in types (roArray -> typed arrays) (#925)
markwpearce Oct 4, 2023
28d6d6a
Semantic Tokes for Native Components and Type completion in Type Expr…
markwpearce Oct 6, 2023
725c3c6
Adds `callFunc` as member method to Custom Components (#929)
markwpearce Oct 10, 2023
3d99565
Allows `scrape-roku-docs` to consolidate overloaded methods (#930)
markwpearce Oct 16, 2023
629ead3
File api (#408)
TwitchBronBron Oct 16, 2023
8a31693
Fix stagingDir issue in transpiler test
TwitchBronBron Oct 16, 2023
85d680a
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Oct 16, 2023
f0ec154
update changelog for 0.66.0-alpha.7
TwitchBronBron Oct 16, 2023
336073f
0.66.0-alpha.7
TwitchBronBron Oct 16, 2023
62afa54
Adjusts parsing order for not keyword (#932)
markwpearce Oct 17, 2023
b692c85
Fix class fields using constructors not transpiling correctly (#933)
markwpearce Oct 18, 2023
c22940e
Cache range and position (#940)
TwitchBronBron Nov 9, 2023
c6b380a
More performance fixes (#936)
markwpearce Nov 15, 2023
6a9ce46
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Nov 16, 2023
dbc08e6
Validation Performance: File level `providedSymbols` and `requiredSym…
markwpearce Nov 20, 2023
8632ab8
Support interface & class in definition support (#948)
TwitchBronBron Nov 21, 2023
378c599
Fixes using Enums directly in namespaced situations (#949)
markwpearce Nov 21, 2023
2c484e3
Interface optional properties (#946)
markwpearce Nov 21, 2023
6c23a2a
Fix for the bad fix (#952)
markwpearce Nov 21, 2023
f3a1e58
Completion performance (#958)
markwpearce Nov 23, 2023
a7bce67
Fix param order for AST class constructors for interface/class member…
TwitchBronBron Nov 23, 2023
126c64c
Changes to make use with Plugins easier (#959)
markwpearce Nov 23, 2023
8c3ee32
Added ifDraw2d to reRegion interface (#960)
markwpearce Nov 24, 2023
45c4d8f
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Nov 27, 2023
f56c83d
update changelog for v0.66.0-alpha.8
TwitchBronBron Nov 27, 2023
2ad0bd0
0.66.0-alpha.8
TwitchBronBron Nov 27, 2023
1287a5d
Remove v8-profiler from dependencies
TwitchBronBron Nov 28, 2023
cb51979
update changelog for v0.66.0-alpha.9
TwitchBronBron Nov 28, 2023
be2236d
0.66.0-alpha.9
TwitchBronBron Nov 28, 2023
d850411
Fixes Class Constructor used as `function` transpilation and validati…
markwpearce Nov 30, 2023
87a0397
Classes do not include AA members (#970)
markwpearce Nov 30, 2023
80aa724
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Dec 4, 2023
9286954
Remove post-transpiled symbols from .bs code completion (#979)
markwpearce Dec 6, 2023
ca58a07
General purpose name collision diagnostic (#982)
markwpearce Dec 7, 2023
e5cedc5
Fix exception when given unknown type (#983)
TwitchBronBron Dec 7, 2023
272bcae
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Dec 7, 2023
4d75242
update changelog for v0.66.0-alpha.10
TwitchBronBron Dec 7, 2023
8683b92
0.66.0-alpha.10
TwitchBronBron Dec 7, 2023
4c3b728
Make `roSGNode` and `roSGNodeNode` the same (#984)
markwpearce Dec 8, 2023
1300bef
Namespace validation fix (#989)
georgejecook Dec 19, 2023
a6d31aa
Scope validation crash (#991)
georgejecook Dec 21, 2023
3dd876a
Update changelog for v0.66.0-alpha.11
TwitchBronBron Dec 21, 2023
77ebef3
0.66.0-alpha.11
TwitchBronBron Dec 21, 2023
2790fe5
Fixes transpiles of Typecasts wrapped in parens (#998)
markwpearce Jan 8, 2024
8d6c3ac
Adds Diagnostics for Member Accessibility (#1004)
markwpearce Jan 9, 2024
9a87272
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Jan 10, 2024
3e51390
Adds a `findChildren` function on AstNode (#1010)
TwitchBronBron Jan 11, 2024
2a20d9c
Adds missing Completion Items (#1009)
markwpearce Jan 11, 2024
4b4fd6e
Updates the Member types for Component Fields (#1014)
markwpearce Jan 13, 2024
7192d05
XML fields of type color can accept strings or integers (#1016)
markwpearce Jan 18, 2024
39a1a9c
Fix cross namespace collision detection (#1008)
TwitchBronBron Jan 19, 2024
21339fa
Renamed File interface to BscFile (#1013)
markwpearce Jan 19, 2024
f8a8048
Fixes Compatibility checks for types defined recursively. (#1015)
markwpearce Jan 19, 2024
165e980
Remove `Parser.references` (#1021)
markwpearce Jan 22, 2024
3c97a7a
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Jan 25, 2024
3e27af4
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Jan 25, 2024
14fbcf7
update changelog for v1.0.0-alpha.25
TwitchBronBron Jan 25, 2024
9bc79a2
1.0.0-alpha.25
TwitchBronBron Jan 25, 2024
912b19f
Built-in Objects have their interfaces as members (#1039)
markwpearce Jan 30, 2024
f2fefd3
Do not do validation on dotted sets of AAs (#1040)
markwpearce Jan 31, 2024
5e2c6ce
Changed adding invalid as arg to empty callfunc invocations by defaul…
markwpearce Jan 31, 2024
7ccf94d
Standardize AST Constructors (#1025)
markwpearce Feb 1, 2024
8d7a48d
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Feb 1, 2024
43adc84
Change Dotted Get/Set to single .indexes prop (#1054)
TwitchBronBron Feb 1, 2024
6f7f863
Remove unnecessary logging
TwitchBronBron Feb 1, 2024
aa87aa0
update changelog for v1.0.0-alpha.26
TwitchBronBron Feb 1, 2024
41383e7
1.0.0-alpha.26
TwitchBronBron Feb 1, 2024
55bf432
If a namespace shadows a function, still allow processing to continue…
markwpearce Feb 8, 2024
23d27a8
Simplify the plugin method signatures. (#1067)
TwitchBronBron Feb 9, 2024
d0922ec
Add rsgpalette to scraped docs (#1065)
markwpearce Feb 9, 2024
9674c8b
Fix member hovers for classes, interfaces and enums (#1071)
markwpearce Feb 12, 2024
c3a1b7e
Adds validation when trying to access a class member directly on a cl…
markwpearce Feb 14, 2024
b52baf0
Fixes calling new on a non-class constructor (#1075)
markwpearce Feb 14, 2024
f5c4456
Make All AST Props Readonly (#1069)
markwpearce Feb 14, 2024
7e27be0
Modifies all SG AST constructors to use named properties in objects (…
markwpearce Feb 14, 2024
737e29b
Fixes bad diagnostic on using class name as field name (#1076)
markwpearce Feb 14, 2024
c8f4b83
update changelog for 1.0.0-alpha.27
TwitchBronBron Feb 27, 2024
82b6622
1.0.0-alpha.27
TwitchBronBron Feb 27, 2024
e155a45
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Mar 8, 2024
559ffd4
Removes `CommentStatement` and all comment tokens from Lexer output (…
markwpearce Mar 8, 2024
11b4158
Adds type to const hovers and adds hover for for-each loop vars (#1092)
markwpearce Mar 8, 2024
3ac0e1f
Formal support and tests for various Variable and name shadowing rule…
markwpearce Mar 8, 2024
cae72b6
Ensure SymbolTypeFlag is exported from ./index.ts (#1094)
TwitchBronBron Mar 8, 2024
53f2fc5
Types 'm' as AssocArray in function in AALiteral (#1097)
markwpearce Mar 10, 2024
d8a81b4
Fix classname as variable for completions and validations (#1096)
markwpearce Mar 11, 2024
a783d2a
Removes diagnostic when using variable declared with unknown type (#1…
markwpearce Mar 11, 2024
27e4249
Improves message for empty throw statements (#1099)
markwpearce Mar 11, 2024
6e0158a
Move scope.validate() into BscPlugin (#1105)
TwitchBronBron Mar 11, 2024
5b9384e
Fixes issue with AA overriding built-in properties (#1106)
markwpearce Mar 11, 2024
50110a7
Fixed issue with bitwise binary operators (#1107)
markwpearce Mar 11, 2024
4f9b15b
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Mar 13, 2024
560222a
update changelog for v1.0.0-alpha.28
TwitchBronBron Mar 13, 2024
82e3695
1.0.0-alpha.28
TwitchBronBron Mar 13, 2024
31b374b
Fix transpile crash when token has no text (#1109)
TwitchBronBron Mar 13, 2024
d960e6f
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Mar 14, 2024
5ac2d15
Added ArrayDefaultTypeReferenceType for when array symbol is not defi…
markwpearce Mar 14, 2024
56920d4
More validation performance (#1110)
markwpearce Mar 20, 2024
decfdf3
Significant Validation Improvement (#1119)
markwpearce Mar 22, 2024
7585c15
Fix bug in range and position caching (#1126)
fumer-fubotv Mar 28, 2024
5721212
update changelog for v1.0.0-alpha.29
TwitchBronBron Mar 28, 2024
78cd48d
1.0.0-alpha.29
TwitchBronBron Mar 28, 2024
fa4f048
Fix bug in range and position caching (#1127)
fumer-fubotv Apr 1, 2024
237f969
Removes diagnostic on accessing unknown member of roAssociativeArray …
markwpearce Apr 24, 2024
8bfa6fd
Adds `typecast m as <Type>` statement (#1140)
markwpearce Apr 24, 2024
1b7000b
Typecast symbols are not merged to other namespaces (#1144)
markwpearce Apr 24, 2024
9156eb1
Fixes CompletionItemKinds for typed variables (#1145)
markwpearce Apr 24, 2024
9e14683
Revert range and column caching (#1147)
TwitchBronBron Apr 25, 2024
d4b87f7
Fixes includes in self closing components (#1150)
markwpearce Apr 30, 2024
f38faa0
Fix node14 bug on mac (#1152)
TwitchBronBron May 3, 2024
9ec2970
Diagnostics Refactor: DiagnosticManager (#1136)
markwpearce May 6, 2024
fcd8d26
`CreateObject` function call implies correct return type (#1154)
markwpearce May 6, 2024
bb0d81d
Adds `Alias` Statement (#1151)
markwpearce May 6, 2024
e408953
Add AstNode visitor function for createVisitor (#1138)
markwpearce May 6, 2024
936758e
Fixes issue with defualt params referencing previous ones (#1161)
markwpearce May 8, 2024
e8ea327
Adds `roSgNodeContentNode` fields (#1159)
markwpearce May 8, 2024
0f4e108
Fixes all overloaded methods in interfaces from Scraped Roku docs (#1…
markwpearce May 8, 2024
71de8bd
Hovers on LHS of assignments do symbol type lookups (#1165)
markwpearce May 9, 2024
6878b50
Fixes union type issues with unknown members (#1170)
markwpearce May 10, 2024
d4479b4
Adds roSGNode Update() overload (#1173)
markwpearce May 10, 2024
e81178c
Fix several lsp crashes for v1 (#1175)
TwitchBronBron May 10, 2024
78d76a9
Merge master into v1 (#1177)
TwitchBronBron May 13, 2024
ee0852c
Allows numbers to be passed to a function that takes a bool (#1179)
markwpearce May 14, 2024
fe69de7
Adds AstNode.getEndTrivia (#1184)
markwpearce May 14, 2024
83376c8
Added extra DiagnosticManager.register() overload (#1185)
markwpearce May 14, 2024
4554ae3
Adds Conditional Compilation Statements to the AST (#1149)
markwpearce May 15, 2024
94c671e
Adds the isInstance flag on symbol extra data for when a symbol repre…
markwpearce May 15, 2024
e623faa
Adds alias completions (#1188)
markwpearce May 15, 2024
8a2e54e
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron May 15, 2024
db76f48
Alias semantic tokens (#1183)
TwitchBronBron May 16, 2024
d5996c8
Update changelog for v1.0.0-alpha.30
TwitchBronBron May 16, 2024
9e0642e
1.0.0-alpha.30
TwitchBronBron May 16, 2024
39c26ca
Fixes some issues with comments and transpilation (#1192)
markwpearce May 16, 2024
4d73ff5
Component field can be set with strings (#1195)
markwpearce May 21, 2024
0d0b7c3
Adds AugmentedAssignmentStatement (#1196)
markwpearce May 22, 2024
72fd9a7
Fix semantic token crash (#1197)
TwitchBronBron May 22, 2024
9c03453
Fix namespace crash (#1201)
TwitchBronBron May 23, 2024
abfe611
Temporarily disable test-related-projects until they support v1 (#1202)
TwitchBronBron May 24, 2024
b2bb9c4
Validate single scope (#1123)
markwpearce May 31, 2024
a01cef2
Document the deprecated `ifMessagePort.setPort()` method. (#1210)
TwitchBronBron Jun 4, 2024
3c0b208
Visualize deprecated items in editor (#1213)
TwitchBronBron Jun 4, 2024
3112b73
Removes 'duplicate enum' diagnostic and makes 'duplicate function' mu…
markwpearce Jun 4, 2024
8747aec
Refines ScopeValidator Diagnostics to use more specific Diagnostic ta…
markwpearce Jun 4, 2024
1cb1cc8
Fixes issue with enums in namespaces (#1216)
markwpearce Jun 4, 2024
a21320b
Update changelog for v1.0.0-alpha.31
TwitchBronBron Jun 4, 2024
effbf5d
1.0.0-alpha.31
TwitchBronBron Jun 4, 2024
46d1799
Elevate `thenby` to a prod dependency (#1217)
TwitchBronBron Jun 5, 2024
f0bc9d3
Update changelog for 1.0.0-alpha.32
TwitchBronBron Jun 5, 2024
311eb32
1.0.0-alpha.32
TwitchBronBron Jun 5, 2024
9b81e77
Adds messagePort methods to ifSocketAsync and MultiStyleLabel.drawing…
markwpearce Jun 6, 2024
ebdaf8e
Fixes issue with setting roSGNodeTargetSet.targetRects (#1223)
markwpearce Jun 7, 2024
62eb1eb
Remove block starting range (#1224)
markwpearce Jun 10, 2024
c9a0a13
Removed expectRangeToBe helper (#1226)
markwpearce Jun 11, 2024
0bf5758
Removed `isInline` property from `IfStatement` (#1227)
markwpearce Jun 12, 2024
136a5f6
Allow updating leading trivia (#1225)
markwpearce Jun 14, 2024
dc36189
Made AstNode.getLeadingTrivia() a getter (#1233)
markwpearce Jun 14, 2024
650bac5
Convert .range to .location (#1231)
TwitchBronBron Jun 14, 2024
94311dc
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Jun 14, 2024
3e06aab
update changelog for v1.0.0-alpha.33
TwitchBronBron Jun 14, 2024
5a07b98
1.0.0-alpha.33
TwitchBronBron Jun 14, 2024
cb44845
Convienence export Location (#1236)
markwpearce Jun 17, 2024
d04f9b9
Fixes completions when file in multiple scopes (#1238)
markwpearce Jun 25, 2024
050a191
Removes (#1239)
markwpearce Jun 25, 2024
0b04e82
Sets a hard limit of number of scopes to check for completions (#1244)
markwpearce Jul 8, 2024
0eae960
Fixes ifSystemLog and ifArraySlice docs (#1250)
markwpearce Jul 15, 2024
9b9551c
Merge branch 'master' into release-1.0.0
TwitchBronBron Jul 24, 2024
4358b52
update changelog for v1.0.0-alpha.34
TwitchBronBron Jul 24, 2024
438109d
1.0.0-alpha.34
TwitchBronBron Jul 24, 2024
5f3ffa3
Ensure methods leading comments are transpiled above instance functio…
markwpearce Jul 24, 2024
87123a2
Allow variables and parameters to shadow namespaces (#1263)
markwpearce Jul 25, 2024
e06f2e2
Remove `file` prop from `BsDiagnostic` (#1248)
markwpearce Jul 25, 2024
7a40b64
Ensures conditional compiltion blocks have proper validation segments…
markwpearce Jul 26, 2024
0afdafc
Make absolute import completions use original extension (#1266)
markwpearce Jul 31, 2024
f2ded48
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Jul 31, 2024
90a8289
Update changelog for v1.0.0-alpha.35
TwitchBronBron Jul 31, 2024
1b2ddf4
1.0.0-alpha.35
TwitchBronBron Jul 31, 2024
825b2ce
Link scopes during transpile, fixes namespace transpiling (#1271)
TwitchBronBron Aug 3, 2024
0b7f553
`m` should be typed as roAssociativeArray for all inline functions (#…
markwpearce Aug 6, 2024
dc11452
Update changelog for v1.0.0-alpha.36
TwitchBronBron Aug 9, 2024
d262997
1.0.0-alpha.36
TwitchBronBron Aug 9, 2024
58ad447
Include missing transpiled comments (#1278)
TwitchBronBron Aug 13, 2024
7980b60
Added tests and fixes around transpiling variables that shadow stuff …
markwpearce Aug 15, 2024
f9c8b43
Handles diagnostic with invalid location, and semantic tokens for uns…
markwpearce Aug 19, 2024
353f463
Eliminate FunctionExpression.functionStatement (#1287)
markwpearce Aug 20, 2024
43cbf8b
Merges `ExitForStatement` and `ExitWhileStatement` (#1289)
markwpearce Aug 21, 2024
8d5f810
Adds support for types declared in comments (#1293)
TwitchBronBron Sep 23, 2024
9ceadcd
Fix some null crashes (#1304)
TwitchBronBron Sep 23, 2024
95eba69
Lock in github action versions
TwitchBronBron Sep 25, 2024
f1fe33c
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Sep 25, 2024
d4417ca
Update changelog for v1.0.0-alpha.37
TwitchBronBron Sep 25, 2024
c610b9e
1.0.0-alpha.37
TwitchBronBron Sep 25, 2024
8f75b92
Support omitting exception variable in bs files and convert exception…
TwitchBronBron Sep 26, 2024
8e397b4
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Sep 26, 2024
356b8f6
Merge branch 'release-1.0.0' of https://github.com/rokucommunity/brig…
TwitchBronBron Sep 26, 2024
25fc065
prevent a crash when ClassType.name is undefined (#1312)
TwitchBronBron Sep 30, 2024
abd960c
Fix semantic tokens for components and interfaces, and m (#1313)
TwitchBronBron Oct 1, 2024
d4a9e5f
Fixes transpile issue with global functions (#1314)
markwpearce Oct 1, 2024
79d44b6
Update changelog for 1.0.0-alpha.38
TwitchBronBron Oct 1, 2024
abf8e13
1.0.0-alpha.38
TwitchBronBron Oct 1, 2024
cfe558d
Fix bslib prefix transpile (#1317)
TwitchBronBron Oct 3, 2024
5d70676
update changelog for v1.0.0-alpha.39
TwitchBronBron Oct 3, 2024
9cde191
1.0.0-alpha.39
TwitchBronBron Oct 3, 2024
91e55c6
Fixes using upper namespaced function indirectly (#1319)
markwpearce Oct 9, 2024
d585c29
Adds diagnostic if no return statement found in function (#1299)
markwpearce Oct 9, 2024
4d3f3a1
Fixed Annoying log messages (#1332)
markwpearce Oct 19, 2024
9d273e6
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Oct 18, 2024
6e7f7a1
Merge branch 'release-1.0.0' of https://github.com/rokucommunity/brig…
TwitchBronBron Oct 19, 2024
b89d6fd
update changelog for v1.0.0-alpha.40
TwitchBronBron Oct 19, 2024
65d0479
1.0.0-alpha.40
TwitchBronBron Oct 19, 2024
ab48ea8
Allow any node members in brs files (#1333)
markwpearce Oct 20, 2024
878a778
update changelog for v1.0.0-alpha.41
TwitchBronBron Oct 20, 2024
0e2e365
1.0.0-alpha.41
TwitchBronBron Oct 20, 2024
cc3491b
Adds Parser error when custom type encountered in brs file (#1336)
markwpearce Oct 24, 2024
44b52f5
Fix `Vector2DFieldInterpolator.keyValue` type (#1339)
markwpearce Oct 29, 2024
2a6afd9
Allows more missing tokens in Transpile (#1340)
markwpearce Oct 30, 2024
57fa2ad
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Nov 25, 2024
ae32da2
Fixed an issue with doc scrapper and re-scraped docs (#1368)
markwpearce Dec 13, 2024
f0304f7
Ensures diagnostic on using parent function var in inner func (#1369)
markwpearce Dec 13, 2024
5426a5a
Refine Diagnostic Filters and adds human-readable diagnostic names (#…
markwpearce Dec 13, 2024
e07a4c7
Changes `expectedReturnStatement` to `returnTypeCoercionMismatch` (#…
markwpearce Dec 14, 2024
92179bc
Fixes type chain for looking up params with type defs from @param (#1…
markwpearce Dec 15, 2024
351b9ff
Properly types 'invalid' as InvalidType (#1378)
markwpearce Dec 17, 2024
38f8240
Eliminates unnecessary import and fractional hex diagnostics (#1377)
markwpearce Dec 19, 2024
51a314d
Merge branch 'master' of https://github.com/rokucommunity/brighterscr…
TwitchBronBron Dec 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
COVERALLS_REPO_TOKEN: "kVPcGJfehOArEQnHb8BT3KS72xbUQCoxI"
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "14.18.1"
architecture: 'x64' # fix for macos-latest
Expand All @@ -37,8 +37,8 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "14.18.1"
architecture: 'x64' # fix for macos-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "14.19.0"
# Get a bot token so the bot's name shows up on all our actions
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ graph.svg
benchmarks/*.brs
isolate-*
v8*.log
*.cpuprofile
*.cpuprofile
.cache.json
354 changes: 353 additions & 1 deletion CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ A superset of Roku's BrightScript language. Compiles to standard BrightScript.

## Overview

**WARNING: this is the v0.66.0 branch with experimental features**

The BrighterScript language provides new features and syntax enhancements to Roku's BrightScript language. Because the language is a superset of BrightScript, the parser and associated tools (VSCode integration, cli, etc...) work with standard BrightScript (.brs) files. This means you will get benefits (as described in the following section) from using the BrighterScript compiler, whether your project contains BrighterScript (.bs) files or not. The BrighterScript language transpiles to standard BrightScript, so your code is fully compatible with all roku devices.

## Help!
Expand Down
9 changes: 8 additions & 1 deletion benchmarks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ interface RunnerOptions {
quick: boolean;
profile: boolean;
tar: boolean;
config: string;
}
class Runner {
constructor(
Expand Down Expand Up @@ -144,8 +145,9 @@ class Runner {
cwd: cwd
});

execSync(`npx ts-node target-runner.ts "${version}" "${maxVersionLength}" "${target}" "${maxTargetLength}" "${alias}" "${this.options.project}" "${this.options.quick}" "${this.options.profile}"`, {
execSync(`npx ts-node target-runner.ts "${version}" "${maxVersionLength}" "${target}" "${maxTargetLength}" "${alias}" "${this.options.project}" "${this.options.quick}" "${this.options.profile}" "${(this.options.config ?? '{}').replaceAll('\"', '\\"')}"`, {
env: {
...process.env,
'NODE_OPTIONS': `--max-old-space-size=${MAX_OLD_SPACE}`
}
});
Expand Down Expand Up @@ -205,6 +207,11 @@ let options = yargs
description: 'use a npm-packed tarball for local files instead of using the files directly',
default: true
})
.option('config', {
type: 'string',
description: 'add additional BsConfig settings as JSON - eg. \'{"removeParameterTypes":true}\'',
default: '{}'
})
.strict()
.check(argv => {
const idx = argv.versions.indexOf('latest');
Expand Down
Loading
Loading