Fabrice Bellard
eab6945fca
updated test results
2025-10-18 11:09:17 +02:00
Fabrice Bellard
c31809e84d
fixed operation order in Regexp constructor
2025-10-18 11:05:05 +02:00
Fabrice Bellard
af16a97921
changed module rejection order according to spec change
2025-10-18 10:50:51 +02:00
Fabrice Bellard
9a421b3338
optimized Array.prototype.push
2025-10-16 15:21:24 +02:00
Fabrice Bellard
3e5f2bbe69
inlined the get_length operation
2025-10-16 15:10:58 +02:00
Fabrice Bellard
c720e35d26
added js_string_eq()
2025-10-16 15:00:29 +02:00
Fabrice Bellard
2161640067
stricter year parsing in Date
2025-10-13 14:51:37 +02:00
Fabrice Bellard
7fb994c45d
fixed argument evaluation order in Date constructor and Date.UTC()
2025-10-13 14:11:47 +02:00
Fabrice Bellard
0d4cd2d051
faster and safer dbuf functions ( #443 )
2025-10-13 13:51:25 +02:00
Fabrice Bellard
2a53de04c6
test262 update
2025-10-12 13:28:37 +02:00
Fabrice Bellard
63450099a3
fixed regression in error message display introduced in commit 42eb279
2025-10-12 13:23:50 +02:00
Fabrice Bellard
eb9fa2b8da
compilation fix for clang
2025-10-11 11:13:13 +02:00
Fabrice Bellard
42eb2795f0
Faster context creation and exception checks in JS_NewContext ( #404 )
...
- simplified internal object init
- check exceptions in JS_NewContext()
- preallocated std object properties
- preallocated more atoms
2025-10-11 10:59:21 +02:00
Fabrice Bellard
7a488f3e0c
update
2025-10-08 14:16:51 +02:00
Fabrice Bellard
c8a8cf57c6
faster appending of elements in arrays
2025-10-08 14:11:27 +02:00
Fabrice Bellard
79f3ae2959
optimized string_buffer_putc()
2025-10-08 11:32:17 +02:00
Fabrice Bellard
e5de89fb3f
optimized post_inc and post_dec
2025-10-07 19:10:27 +02:00
Fabrice Bellard
8e8eefb922
optimized array access by inlining get_array_el, get_array_el2, get_array_el3 and put_array_el
2025-10-04 10:46:29 +02:00
Fabrice Bellard
64c55c6daf
removed JS_PROP_NO_ADD
2025-10-03 16:52:17 +02:00
Fabrice Bellard
57f8ec0099
inlined fast path for get_field, get_field2 and put_field
2025-10-03 15:41:21 +02:00
Fabrice Bellard
2c90110287
- optimized global variable access
...
- removed full compliance with the spec for strict mode variable
assignment so that they are as fast as in non strict mode (V8,
SpiderMonkey and JavascriptCore do the same, so IMHO the spec should
be updated).
2025-10-03 14:26:13 +02:00
Fabrice Bellard
f4951efd94
optimize the create of arrays - optimized the rest and array_from opcodes
2025-10-03 12:25:05 +02:00
Fabrice Bellard
f1253f2ab5
Improve error handling in Promise.withResolvers (bnoordhuis)
2025-10-03 12:00:26 +02:00
Fabrice Bellard
31663a930d
updated test262
2025-10-03 11:55:50 +02:00
bellard
4af5b1ea7e
Merge pull request #408 from nickva/run-test262-in-ci
...
Run test262 tests in CI
2025-09-30 10:35:00 +02:00
Nick Vatamaniuc
fb14cc6b40
Run test262 tests in CI
...
Run test262 tests for Linux, macOS and Cosmopolitan
Add a Makefile `test2-bootstrap` helper to clone and patch test262 tests at
a particular commit. Running with the latest commit noticed a few tests were
failing and added them to the errors list.
The CI environment, especially for macOS, was a bit more unpredictable and was
failing in atomics tests due to lower timeouts in the `atomicsHelper` so double
the timeouts. The time didn't worsen too much. It still takes about 2-3 min.
2025-09-29 14:02:31 -04:00
Fabrice Bellard
c3e5ae2008
simplified math.sumPrecise()
2025-09-29 16:12:23 +02:00
Fabrice Bellard
00608769df
fixed Date parsing: "1997-03-08 11:19:10-0700" is a valid date and "1997-03-08T11:19:10-07" should yield an error
2025-09-29 15:13:04 +02:00
Fabrice Bellard
a6db749af7
fixed Atomics.pause() in the NaN boxing case (32 bit cpu)
2025-09-29 12:10:36 +02:00
Fabrice Bellard
bc753c6a15
added Math.sumPrecise()
2025-09-27 18:44:19 +02:00
Fabrice Bellard
456e016f7c
added Map and WeakMap upsert methods (bnoordhuis)
2025-09-27 10:24:48 +02:00
Fabrice Bellard
8807fedec5
- added Atomics.pause (bnoordhuis)
...
- use the pause instruction for x86 and ARM64 in Atomics.pause()
2025-09-22 18:58:18 +02:00
Fabrice Bellard
f021d7714f
- added resizable array buffers (bnoordhuis)
...
- fixed Atomics.wait, Atomics.notify, TypedArray.prototype.lastIndexOf
- fixed JS_PreventExtensions() with resizable typed arrays
2025-09-22 18:37:41 +02:00
Fabrice Bellard
44d03a823d
fixed parsing of computed property name
2025-09-22 14:48:43 +02:00
Fabrice Bellard
1e19893c82
- added ArrayBuffer.prototype.transfer (Divy Srivastava)
...
- fixed transfer when the ArrayBuffer was allocated with a custom allocator
2025-09-21 16:41:02 +02:00
Fabrice Bellard
2d99c323a2
Iterator functions:
...
- removed memory leak
- don't close iterator when IteratorStepValue fails
- fixed Iterator Wrap next() and return() arguments
- fixed Iterator.from()
2025-09-20 18:30:02 +02:00
Fabrice Bellard
cf0e179263
Iterator is an abstract class (bnoordhuis)
2025-09-20 17:05:13 +02:00
Fabrice Bellard
3dcca0d1d6
fix Iterator.prototype.constructor (initial patch by bnoordhuis)
2025-09-20 17:01:52 +02:00
Fabrice Bellard
b2ed2e91f5
added Iterator.prototype.[drop,filter,flatMap,map,take,every,find,forEach,some,reduce,[Symbol.toStringTag]] (saghul)
2025-09-20 16:47:43 +02:00
Fabrice Bellard
e924173c0f
added Iterator.prototype.toArray and Iterator.from (bnoordhuis)
2025-09-20 16:27:45 +02:00
Fabrice Bellard
982b7aa14f
added the Iterator object
2025-09-20 16:05:36 +02:00
Fabrice Bellard
0377dab4f2
removed uninitialized values - removed useless init
2025-09-20 14:31:14 +02:00
Fabrice Bellard
0cef7f0ddb
set methods: removed memory leaks - fixed ordering of property access - fixed conversion to integer of 'size' in GetSetRecord() - added missing iterator close - factorized code
2025-09-20 14:21:39 +02:00
Fabrice Bellard
a1e073e444
added set methods (bnoordhuis)
2025-09-20 12:19:50 +02:00
Fabrice Bellard
de4d3927b8
removed memory leak ( #441 )
2025-09-18 10:42:13 +02:00
Fabrice Bellard
dc7af0ac42
updated release.sh
2025-09-18 10:28:33 +02:00
Fabrice Bellard
fa628f8c52
new release
2025-09-13 10:51:18 +02:00
Fabrice Bellard
391cd3feff
Fix crash on failure to read bytecode (penneryu)
2025-09-13 10:22:24 +02:00
Fabrice Bellard
9f6c190731
more efficient handling of strings in JSON.stringify()
2025-09-10 18:40:10 +02:00
Fabrice Bellard
8a0a6e92d2
better pretty printing of strings - removed String.prototype.__quote()
2025-09-10 18:25:34 +02:00