205 Commits

Author SHA1 Message Date
John Alanbrook
4908cc5c62 fix clash with VERSION and new C++ header <version> on macos
Some checks failed
ci / Windows MSYS2 (push) Waiting to run
ci / Linux (Ubuntu) (push) Failing after 0s
ci / Linux 32bit (push) Failing after 3s
ci / linux-asan (push) Failing after 3s
ci / Windows (mingw) (push) Failing after 3s
ci / MinGW Windows target (push) Failing after 4s
ci / Linux LTO (push) Failing after 19s
ci / qemu-alpine (linux/386) (push) Failing after 5s
ci / qemu-alpine (linux/arm/v6) (push) Failing after 5s
ci / qemu-alpine (linux/arm/v7) (push) Failing after 4s
ci / qemu-alpine (linux/arm64) (push) Failing after 4s
ci / qemu-alpine (linux/ppc64le) (push) Failing after 4s
ci / qemu-alpine (linux/riscv64) (push) Failing after 4s
ci / qemu-alpine (linux/s390x) (push) Failing after 4s
ci / linux-ubsan (push) Failing after 34s
ci / Cosmopolitan (push) Successful in 1m2s
ci / freebsd (push) Failing after 12m7s
ci / macOS (push) Failing after 4s
ci / macos-asan (push) Failing after 3s
ci / macos-ubsan (push) Failing after 3s
2025-05-05 09:13:36 -05:00
John Alanbrook
ab8b09f183 fix up post merge
Some checks failed
ci / Linux (Ubuntu) (push) Failing after 0s
ci / linux-asan (push) Failing after 25s
ci / Linux 32bit (push) Failing after 3s
ci / Windows (mingw) (push) Failing after 3s
ci / MinGW Windows target (push) Failing after 3s
ci / qemu-alpine (linux/386) (push) Failing after 4s
ci / Linux LTO (push) Failing after 19s
ci / qemu-alpine (linux/arm/v6) (push) Failing after 4s
ci / qemu-alpine (linux/arm/v7) (push) Failing after 4s
ci / qemu-alpine (linux/arm64) (push) Failing after 4s
ci / qemu-alpine (linux/ppc64le) (push) Failing after 4s
ci / qemu-alpine (linux/riscv64) (push) Failing after 4s
ci / qemu-alpine (linux/s390x) (push) Failing after 4s
ci / macOS (push) Has been cancelled
ci / macos-asan (push) Has been cancelled
ci / macos-ubsan (push) Has been cancelled
ci / Windows MSYS2 (push) Has been cancelled
ci / linux-ubsan (push) Has been cancelled
ci / freebsd (push) Has been cancelled
ci / Cosmopolitan (push) Has been cancelled
2025-05-01 12:41:40 -05:00
John Alanbrook
26c9a577bb clean up
Some checks failed
ci / Linux (Ubuntu) (push) Failing after 0s
ci / linux-asan (push) Failing after 25s
ci / Windows (mingw) (push) Failing after 3s
ci / MinGW Windows target (push) Failing after 15s
ci / Linux 32bit (push) Failing after 26s
ci / qemu-alpine (linux/arm/v6) (push) Failing after 15s
ci / qemu-alpine (linux/s390x) (push) Failing after 6s
ci / qemu-alpine (linux/arm64) (push) Failing after 12s
ci / qemu-alpine (linux/riscv64) (push) Failing after 10s
ci / macOS (push) Has been cancelled
ci / macos-asan (push) Has been cancelled
ci / macos-ubsan (push) Has been cancelled
ci / Windows MSYS2 (push) Has been cancelled
ci / qemu-alpine (linux/386) (push) Has been cancelled
ci / Linux LTO (push) Has been cancelled
ci / linux-ubsan (push) Has been cancelled
ci / freebsd (push) Has been cancelled
ci / Cosmopolitan (push) Has been cancelled
ci / qemu-alpine (linux/arm/v7) (push) Has been cancelled
ci / qemu-alpine (linux/ppc64le) (push) Has been cancelled
2025-05-01 11:53:49 -05:00
John Alanbrook
51f708e5d4 multithreaded no stack checking 2025-05-01 11:42:01 -05:00
John Alanbrook
38a84c0de4 fix debug stack getting 2025-05-01 11:41:59 -05:00
John Alanbrook
b0fb844b54 Add function to check if object is an arraybuffer 2025-05-01 11:41:14 -05:00
John Alanbrook
ec219aeb38 add array length accessor 2025-05-01 11:41:12 -05:00
John Alanbrook
255d82c71b revert instanceof use 2025-05-01 11:38:57 -05:00
John Alanbrook
c0a398b732 git stack info 2025-05-01 11:38:56 -05:00
John Alanbrook
94bb2ed5d3 add debug hooks 2025-05-01 11:28:24 -05:00
John Alanbrook
e6fcf7d09a insatnceof aliases prototypeof 2025-05-01 11:27:10 -05:00
John Alanbrook
f7ebfbefd7 move enum to header 2025-05-01 11:26:37 -05:00
John Alanbrook
6c07685cbd do not do deep tracing on windows 2025-05-01 11:25:06 -05:00
John Alanbrook
581cff9cbf disable tracy C zone 2025-05-01 11:25:06 -05:00
John Alanbrook
4493dd74cc add debugging info gathering 2025-05-01 11:25:05 -05:00
John Alanbrook
ed1b5398ef remove sokol and jsffi dependencies 2025-05-01 11:08:28 -05:00
John Alanbrook
5b97a04681 add pausing interrupts 2025-05-01 11:07:54 -05:00
Fabrice Bellard
1b13fa6450 added more C callbacks for exotic objects (#324) 2025-04-26 12:25:42 +02:00
Fabrice Bellard
7645ce5f63 more precise error location reporting 2025-04-26 12:25:00 +02:00
Fabrice Bellard
3bffe67e6b fixed TypedArray.prototype.slice() when the buffers overlap 2025-04-22 19:07:47 +02:00
Fabrice Bellard
08a28c0cc3 fixed TypedArray.prototype.with with detached ArrayBuffer 2025-04-22 19:05:36 +02:00
Fabrice Bellard
a0a760f74f fixed GeneratorFunction prototype 2025-04-22 19:03:18 +02:00
Fabrice Bellard
b32cccb5fe fixed RegExp.prototype[Symbol.split] 2025-04-22 19:01:43 +02:00
Fabrice Bellard
1e958abcd8 fixed operation order in Object.prototype.propertyIsEnumerable() 2025-04-22 18:59:21 +02:00
Fabrice Bellard
5afd0eb37b fix property ordering in the object returned by RegExp.prototype.exec() 2025-04-22 18:56:59 +02:00
Fabrice Bellard
5e71d148f2 setters cannot have rest arguments 2025-04-22 18:53:48 +02:00
Fabrice Bellard
99a855f2c7 future reserved keywords are forbidden in function name and arguments when the function body is in strict mode 2025-04-22 18:51:54 +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
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
ecfef7174d String.prototype.localeCompare is added in JS_AddIntrinsicStringNormalize() as it requires unicode normalization 2025-04-14 15:14:49 +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