Nick Vatamaniuc
c0958ee2d0
More CI tragets: Linux 32bit, LTO, Windows and Cosmopolitan
...
Atomics support in Windows requires libwinpthread*.dll at runtime. One
way to get it is to install it with MinGW package, and copy alongside
the executable.
Update test Makefile targets for windows executables.
Allow running tests with Wine: `make WINE=wine CONFIG_WIN3=y
...`. That's useful when Wine binfmt support cannot be installed such
as on the CI hosts.
Add PPC64LE architecture and try to fix flaky multi-arch CI in gcc:
https://github.com/tonistiigi/binfmt/issues/215
2025-04-22 10:48:01 -04:00
Fabrice Bellard
e5e724829a
added staging test262 tests
2025-04-21 16:23:42 +02:00
Fabrice Bellard
fbf7d8a205
fixed detached TypedArray handling in Atomics operations
2025-04-21 16:14:00 +02:00
Fabrice Bellard
334aa18013
fixed iterator close in Map/Set constructor
2025-04-21 16:12:56 +02:00
Fabrice Bellard
dbbca3dbf3
dtoa fix for minus zero
2025-04-21 15:33:47 +02:00
Fabrice Bellard
37cde16ba2
fixed build_arg_list()
2025-04-21 14:13:49 +02:00
Fabrice Bellard
e1f6dfe61a
fixed checks in Proxy defineProperty
2025-04-21 14:00:32 +02:00
Fabrice Bellard
e7264d6f94
fixed Array.from() and TypedArray.from()
2025-04-21 12:39:18 +02:00
Fabrice Bellard
000db3aab3
the %TypedArray% Intrinsic Object should be a constructor
2025-04-21 11:52:42 +02:00
Fabrice Bellard
db3d3f09cd
fixed memory leak in String constructor
2025-04-16 17:16:10 +02:00
Fabrice Bellard
b67c41689e
fixed Proxy getOwnPropertyDescriptor with getters and setters
2025-04-16 16:51:34 +02:00
Fabrice Bellard
82d86b11d2
removed atom leak introduced in commit 83530ac9
2025-04-16 16:46:41 +02:00
Fabrice Bellard
f2b0723a9b
added 'at' in Array.prototype[Symbol.unscopables]
2025-04-16 15:10:38 +02:00
Fabrice Bellard
0c5d59f6a9
optimized and fixed JS_AtomIsNumericIndex1(): 'NaN' is also a number
2025-04-16 15:04:57 +02:00
Fabrice Bellard
3b04c58628
fixed 'with' access by adding HasPropery() calls - removed unused 'with_get_ref_undef' opcode
2025-04-16 14:48:12 +02:00
Fabrice Bellard
83530ac9a7
fixed destructuring operation order when defining variables - optimized more cases of variable definition in destructuring
2025-04-16 14:23:54 +02:00
Fabrice Bellard
1d5e7cf300
fixed destructuring parsing: do it only in assignment expressions
2025-04-16 14:14:21 +02:00
Fabrice Bellard
5449fd42d6
more ToPropertyKey ordering changes
2025-04-15 11:26:53 +02:00
Fabrice Bellard
8f99de5b7f
spec update: ToPropertyKey() is now done after the evaluation of the expression in assignments
2025-04-15 10:50:59 +02:00
Fabrice Bellard
8bb41b20dd
enabled os.Worker on Windows (bnoordhuis)
2025-04-14 19:13:57 +02:00
bellard
bff55250c4
Merge pull request #400 from renatahodovan/fix-regexp
...
Define lre_check_timeout in fuzz_regexp
2025-04-14 17:54:18 +02:00
Renata Hodovan
f5788c7b67
Define lre_check_timeout in fuzz_regexp
...
Since #25aaa77, lre_check_timeout must be defined by the user. The
patch adds this definition to the regexp fuzzer.
2025-04-14 15:56:15 +02:00
Fabrice Bellard
ecfef7174d
String.prototype.localeCompare is added in JS_AddIntrinsicStringNormalize() as it requires unicode normalization
2025-04-14 15:14:49 +02:00
Fabrice Bellard
c361210f3a
qjsc: added missing -fno-weakref
2025-04-14 15:05:02 +02:00
Fabrice Bellard
251a8b2211
added column number in error messages - simplified parser
2025-04-14 14:46:47 +02:00
Fabrice Bellard
4cc4c6c1c5
optimized js_parse_class_default_ctor() (bnoordhuis)
2025-04-12 16:04:59 +02:00
Fabrice Bellard
9106fa0b58
fixed DUMP_BYTECODE
2025-04-12 16:02:48 +02:00
Fabrice Bellard
5b0c98a43a
fixed HTML comments (chqrlie)
2025-04-12 12:38:51 +02:00
Fabrice Bellard
67b48ae4e6
- removed the 'use strip' extension
...
- removed the JS_EVAL_FLAG_STRIP eval flag and replaced it with JS_SetStripInfo() which has simpler semantics.
- qjs: added the '-s' and '--strip-source' options
- qjsc: added the '-s' and '--keep-source' options
2025-04-12 12:14:37 +02:00
Fabrice Bellard
c50de13b15
indent fix
2025-04-10 17:38:44 +02:00
Fabrice Bellard
9918c1206e
workaround for #282
2025-04-10 17:38:28 +02:00
Fabrice Bellard
7adeb5c56e
Fix exporting destructured variables (saghul) ( #382 )
2025-04-10 16:23:25 +02:00
Fabrice Bellard
949c105aff
fixed class field named get or set
2025-04-10 16:01:26 +02:00
Fabrice Bellard
d546fbfdb7
changed js_throw_type_error ES5 workaround to be more compatible with test262
2025-04-10 15:37:19 +02:00
Fabrice Bellard
c505ac0f39
fixed JS_IsString() with ropes
2025-04-10 11:51:41 +02:00
Fabrice Bellard
25ffdb418e
fixed the handling of unicode identifiers
2025-04-10 10:34:40 +02:00
Fabrice Bellard
9d3776d0d4
fixed break statement in the presence of labels (bnoordhuis) ( #275 )
2025-04-07 19:01:30 +02:00
Fabrice Bellard
00e6f29b17
added JS_GetAnyOpaque() (oleavr)
2025-04-07 18:45:11 +02:00
Fabrice Bellard
1eb05e44fa
fixed buffer overflow in BJSON String and BigInt reader ( #399 )
2025-04-07 18:40:49 +02:00
Fabrice Bellard
a151ce19e5
fixed and improved Map/Set hashing
2025-04-07 14:42:07 +02:00
Fabrice Bellard
f05760c585
qjs: added performance.now()
2025-04-07 14:33:30 +02:00
Fabrice Bellard
2b6cf578af
removed unused slack in hash_map_resize() (saghul)
2025-04-07 12:05:40 +02:00
Fabrice Bellard
083b7bab01
Fix UB in BigInt left shift (saghul)
2025-04-07 12:02:01 +02:00
Fabrice Bellard
fa706d5622
Fix leak in BigInt unary plus (saghul)
2025-04-07 12:00:08 +02:00
Fabrice Bellard
ec83bd2098
qjs: allow SI suffixes in memory sizes - set default stack size to 1 MB
2025-04-07 11:47:57 +02:00
Fabrice Bellard
c805d4f784
fixed weakmap gc ( #398 )
2025-04-07 11:44:28 +02:00
Fabrice Bellard
19431019d5
updated Changelog
2025-04-07 10:21:17 +02:00
Fabrice Bellard
00b709dfff
flush stdout in console.log() ( #309 )
2025-04-05 18:22:34 +02:00
Fabrice Bellard
159fe289e3
fixed module cyclic imports ( #329 )
2025-04-05 18:06:08 +02:00
Fabrice Bellard
c1bf4e99db
workaround for overflow test in JS_GetOwnPropertyNamesInternal() ( #111 )
2025-04-05 16:19:25 +02:00