petergrewsome
e3f08763ee
Update README.md
2024-08-07 20:54:26 -04:00
dependabot[bot]
418459aba9
Bump github/codeql-action from 3.24.9 to 3.25.15
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.9 to 3.25.15.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](1b1aada464...afb54ba388
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 20:53:46 -04:00
Ronald Brill
2f2cec0650
add an additional null check
2024-08-07 20:53:11 -04:00
Greg Brail
cc302b4f8f
Fix a compiler warning
...
Possible integer overflow.
2024-07-25 18:58:57 -07:00
andrea.bergia
01719fe3e4
Improved implementation of the various methods of typed array
...
We implement almost correctly
[TypedArraySpeciesCreate](https://tc39.es/ecma262/multipage/indexed-collections.html#typedarray-species-create )
from the spec now, which leads to passing more test262 cases passing.
2024-07-25 18:58:57 -07:00
andrea.bergia
db11729072
Implement various missing methods in `TypedArray`
...
Since most methods were already implemented in `NativeArray`, I followed
this approach:
- when reasonable, I extracted the implementation in `NativeArray` and
moved it to a new class `ArrayLikeAbstractOperations`;
- otherwise, I copy&pasted the code from `NativeArray` into
`NativeTypedArrayView` and simplified it.
2024-07-25 18:58:57 -07:00
Attila Szegedi
b845d14d75
Remove Icode_SWAP as it was unused
2024-07-25 19:55:59 -06:00
Greg Brail
b7ece52d83
Streamline object operations through a better SlotMap interface
...
Implement a "compute" method which allows a bunch of the logic in
ScriptableObject work without as many slot map operations, especially
when changing slot instance types.
Also, get a particular check out of the slot map implementations that
has always bothered me and move it to ScriptableObject for better
encapsulation of language-specific behavior.
2024-07-22 15:24:20 -06:00
Greg Brail
c0e17680d7
Fix a parenthesis warning from errorprone
2024-07-22 14:20:18 -07:00
Ronald Brill
fe7b4e340e
jdk 21 uses a nnbsp in front of 'PM'
2024-07-22 12:50:08 -07:00
Ronald Brill
3cfa4a00eb
- use DateTimeFormatter instead of SimpleDateFormat
...
- Date.prototype.toLocaleString now handles locales argument
- make the formatter use Context.timezone instead of system default
- ES6: use FormatStyle.SHORT for the formatter to make it behave more like real browsers when Intl.DateTimeFormat is not supported
2024-07-22 12:50:08 -07:00
tuchida
7525f813d0
ref. #406 Only Array/Object of AstNode is valid as left side expression
2024-07-22 13:49:02 -06:00
tuchida
fbcbb5a018
ref. #1187 Transform AstNode within Parser when called by IRFactory
2024-07-22 13:49:02 -06:00
Tony Germano
dc08eb51eb
Add Byte to list of java Numbers
2024-07-21 12:57:38 -06:00
tuchida
46fa711818
Revert "[DEBUG]Check for TypeError during parsing"
...
This reverts commit dea0e8d6f73fdf2d34e92ae93d6d037d35965fc9.
2024-07-21 11:39:48 -07:00
tuchida
4ff1feca77
ref. #989 Remove exception name in message
2024-07-21 11:39:48 -07:00
tuchida
64b397f35e
[DEBUG]Check for TypeError during parsing
2024-07-21 11:39:34 -07:00
tuchida
7ff1bbaf07
Add all directories to test262.properties
2024-07-21 12:33:06 -06:00
dependabot[bot]
7d12595449
Bump ossf/scorecard-action from 2.3.1 to 2.3.3
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.3.1 to 2.3.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](0864cf1902...dc50aa9510
)
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-21 12:13:33 -06:00
Greg Brail
7feaad0e08
Address two more deprecations
2024-07-18 14:41:49 -06:00
Greg Brail
5ca94cb5ab
Enable super-pedantic parenthesis checks
2024-07-18 14:41:49 -06:00
Greg Brail
3b7bd1cfd5
Adopt "errorprone" tool for static analysis
...
Compared to spotbugs, errorprone seems to run faster, finds a number of
useful things, is easier to configure, and is updated often.
* Add errorprone to the build for all non-test code
* Suppress or disable warnings that are too much for us to fix now
* Fix other errors and warnings
* Remove spotbugs (it and errorprone don't always agree)
2024-07-18 14:41:49 -06:00
Greg Brail
f152eb7366
Spotbugs
2024-07-17 17:25:16 -06:00
Daniel Rosenwasser
45792edf01
Catch and bail with the original array when given an inconsistent comparator.
2024-07-17 17:25:16 -06:00
Daniel Rosenwasser
caff4d9dba
Make `Array.prototype.sort` stable
2024-07-17 17:25:16 -06:00
tuchida
5bdd2910eb
Updated test262 status for Function.prototype.toString
2024-07-17 15:49:32 -06:00
tuchida
a003683173
Fix test for Function.prototype.toString/toSource
2024-07-17 15:49:32 -06:00
tuchida
44f25c48ae
Remove Decompiler
2024-07-17 15:49:32 -06:00
tuchida
49ef23d62d
Remove encodedSource for bytecode
2024-07-17 15:49:32 -06:00
tuchida
d929aa2b5a
Remove encodedSource for Interpreter
2024-07-17 15:49:32 -06:00
tuchida
6bbd099037
Remove Decompiler in IRFactory
2024-07-17 15:49:32 -06:00
tuchida
72d8b14097
Remove destructuring assignment-only decompile function
2024-07-17 15:49:32 -06:00
tuchida
11d9cd21cf
fix functionSourceStart of Generator
2024-07-17 15:49:32 -06:00
tuchida
17b0df8c73
Refactor: Add isShorthand method in AST
2024-07-17 15:49:32 -06:00
tuchida
244b2b7299
Test to check the position of syntax errors.
2024-07-16 18:26:09 -06:00
tuchida
2f60a021a1
Make it possible to report position when throw syntax error in IRFactory.
2024-07-16 18:26:09 -06:00
tuchida
e3314dc9f8
Catch ParserException in IRFactory
2024-07-16 18:26:09 -06:00
Greg Brail
3581b0268a
Add one more dependency so that we can eliminate some Gradle warnings
2024-07-15 19:00:12 -06:00
Greg Brail
d3ebdc5d0a
Fix a README typo regarding what JAR to run
2024-07-15 15:01:47 -06:00
Greg Brail
84132a96a0
Fix a dependency problem in rhino-all
...
Fix intermittent Gradle build warnings
2024-07-15 15:01:47 -06:00
dependabot[bot]
bf4a96128e
Bump actions/setup-java from 3.13.0 to 4.2.1
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 3.13.0 to 4.2.1.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](0ab4596768...99b8673ff6
)
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 13:40:51 -06:00
Attila Szegedi
955af1565b
More idiomatic loop, without continues and unconditional break at bottom.
2024-07-04 16:14:20 -06:00
Attila Szegedi
a3297d08bd
Move things out of the loop that don't necessarily belong there
2024-07-04 16:14:20 -06:00
Attila Szegedi
43403f1956
Add tests
2024-07-04 16:14:20 -06:00
Attila Szegedi
5cbdf2b96a
Peel known functions in interpreter so they don't break continuations
2024-07-04 16:14:20 -06:00
Greg Brail
84b324e4b3
Add support for Junit 5 and use it for test262
...
This lets the test 262 suite run in parallel.
2024-07-04 16:05:50 -06:00
andrea.bergia
94aa470b6f
Proper error message when computed properties are used in destructuring
...
We don't support it, but we want to give back a proper error message
rather than a generic assertion failed.
2024-07-03 12:46:19 -06:00
andrea.bergia
c2bc023910
Added missing token name
2024-07-03 12:46:19 -06:00
andrea.bergia
39b2b67220
Pasing more test262 tests!
2024-07-03 12:46:19 -06:00
andrea.bergia
2eb6b15118
Made spotbugs happy
2024-07-03 12:46:19 -06:00