Commit Graph

110 Commits

Author SHA1 Message Date
Fabrice Bellard
7414e5f67f fixed the garbage collection of async functions with closures (github issue #156) 2023-12-27 17:21:46 +01:00
Fabrice Bellard
399d916e66 removed memory leak 2023-12-27 17:20:10 +01:00
Fabrice Bellard
a47f40cde8 added RegExp 'd' flag (bnoordhuis) 2023-12-27 17:19:44 +01:00
Fabrice Bellard
5fc27dc7cf added Promise.withResolvers 2023-12-27 17:19:25 +01:00
Fabrice Bellard
feefdb1742 added Array.prototype.{with,toReversed,toSpliced,toSorted} and TypedArray.prototype.{with,toReversed,toSorted} (initial patch by bnoordhuis) 2023-12-27 17:19:00 +01:00
Fabrice Bellard
c2c773e135 added Object.groupBy and Map.groupBy (initial patch by bnoordhuis) 2023-12-27 17:18:39 +01:00
Fabrice Bellard
4876f72a1a added String.prototype.isWellFormed and String.prototype.toWellFormed 2023-12-27 17:16:47 +01:00
Fabrice Bellard
b8791e9b4a fixed detached TypedArray in sort() 2023-12-27 17:13:44 +01:00
Fabrice Bellard
e6da06e4f6 typos 2023-12-27 17:11:25 +01:00
Fabrice Bellard
6e4931c4ad top-level-await support - follow the spec in the implementation of the module linking and evaluation to avoid errors with cycling module dependencies 2023-12-27 17:10:47 +01:00
Fabrice Bellard
9b587c461b call js_std_free_handlers() in the code generated by qjsc (github issue #96) 2023-12-22 11:07:00 +01:00
Fabrice Bellard
e9290401ce reduced JS_MAX_LOCAL_VARS (github issue #123) 2023-12-22 11:06:37 +01:00
Fabrice Bellard
e68993b678 removed unused JSContext field 2023-12-22 11:06:19 +01:00
Fabrice Bellard
07ff474992 use Unicode normalization in String.prototype.localeCompare 2023-12-22 11:05:49 +01:00
Fabrice Bellard
7cefa7b121 'for of' expression cannot start with 'async' 2023-12-22 11:05:18 +01:00
Fabrice Bellard
43420235d5 removed incorrect await in async yield* 2023-12-22 11:04:54 +01:00
Fabrice Bellard
3ba181e6c6 fixed define own property with writable=false on module namespace 2023-12-22 11:04:22 +01:00
Fabrice Bellard
c3599515c8 added container_of macro 2023-12-22 11:03:44 +01:00
Fabrice Bellard
1692f2a7a3 safer typed array finalizer 2023-12-22 11:03:13 +01:00
Fabrice Bellard
a96f440746 fixed js_strtod with large integers (github issue #206) 2023-12-22 11:02:39 +01:00
Fabrice Bellard
9e1ec09027 test 128 bit integer support (github issue #125) 2023-12-22 11:02:05 +01:00
Fabrice Bellard
4bb8c35da7 fixed 'return' handling with 'yield' in 'for of' or with finally blocks (gihub ticket #166) 2023-12-13 19:02:47 +01:00
Fabrice Bellard
57105c7f23 fixed async generator in case of exception in the implicit await in the 'return' statement 2023-12-13 19:01:59 +01:00
Fabrice Bellard
a42681a4a3 Fix AsyncGenerator.prototype.return error handling (bnoordhuis) 2023-12-13 19:01:10 +01:00
Fabrice Bellard
a610598df6 added -fwrapv to CFLAGS to ensure that signed overflows have a well defined behavior 2023-12-13 19:00:17 +01:00
Fabrice Bellard
9e52965257 raise an error if a private method is added twice to an object 2023-12-13 18:59:47 +01:00
Fabrice Bellard
daa35bc1e5 new release 2023-12-09 12:52:22 +01:00
Fabrice Bellard
a0570086c6 added Array.prototype.findLast{Index} and TypeArray.prototype.findLast{index} (initial patch by bnoordhuis) 2023-12-09 12:33:05 +01:00
Fabrice Bellard
177af41665 fixed duplicate static private setter/getter test 2023-12-09 12:32:32 +01:00
Fabrice Bellard
b180cd2c43 Symbol.species is no longer used in TypedArray constructor from a TypedArray 2023-12-09 12:32:00 +01:00
Fabrice Bellard
e182050771 fixed delete super.x error 2023-12-09 12:31:33 +01:00
Fabrice Bellard
58f374ef42 reworked set property and fixed corner cases of typed array set property 2023-12-09 12:30:31 +01:00
Fabrice Bellard
20a57f90d7 Implement extended named capture group identifiers (bnoordhuis) 2023-12-09 12:28:51 +01:00
Fabrice Bellard
4949d75daf Retrieve RegExp 'g' flag in spec conformant way (original patch by bnoordhuis) 2023-12-09 12:28:13 +01:00
Fabrice Bellard
c4cdd61a3e fixed lexical scope of 'this' with eval (github issue #192) 2023-12-09 12:27:39 +01:00
Fabrice Bellard
26fdf659e3 Make Date methods argument coercion spec compliant (bnoordhuis) 2023-12-09 12:27:08 +01:00
Fabrice Bellard
b14d77be5b fixed negative zero date 2023-12-09 12:26:37 +01:00
Fabrice Bellard
55a4878a60 fixed private field setters (github issue #194) 2023-12-07 17:51:32 +01:00
Fabrice Bellard
321dbfa770 added missing bignum error tests (github issue #159) 2023-12-05 17:25:03 +01:00
Fabrice Bellard
f87cab0fc6 added String.prototype.at, Array.prototype.at and TypedArray.prototype.at 2023-12-05 16:54:43 +01:00
Fabrice Bellard
3106401991 keep LTO 2023-12-05 16:52:36 +01:00
Fabrice Bellard
cdeca4de42 updated to unicode 15.0.0 2023-12-05 16:51:16 +01:00
bellard
94010edb57 the BigInt support is now always included 2023-12-04 19:26:32 +01:00
bellard
03cc5ecc88 fixed js_proxy_isArray stack overflow (github issue #178) 2023-12-01 18:15:03 +01:00
bellard
6de52d878a bf_set_ui() fix (github issue #133) 2023-12-01 17:56:22 +01:00
bellard
2788d71e82 updated to Unicode 14.0.0 2022-03-06 19:00:24 +01:00
bellard
851695958a updated test262.conf 2022-03-06 18:55:04 +01:00
bellard
446099aa9e added Object.hasOwn() 2022-03-06 18:54:27 +01:00
bellard
b9f58802dc fixed invalid Array.prototype.push/unshift optimization 2022-03-06 18:53:03 +01:00
bellard
b5e62895c6 2021-03-27 release 2021-03-27 11:17:31 +01:00