]> git.kaiwu.me - quickjs.git/log
quickjs.git
2 years agoallow override of PREFIX, CROSS_PREFIX, CFLAGS and LDFLAGS in Makefile (humenda)
Fabrice Bellard [Sat, 13 Jan 2024 10:15:28 +0000 (11:15 +0100)]
allow override of PREFIX, CROSS_PREFIX, CFLAGS and LDFLAGS in Makefile (humenda)

2 years agofixed JS_GetScriptOrModuleName() in direct or indirect eval code
Fabrice Bellard [Sat, 13 Jan 2024 10:15:06 +0000 (11:15 +0100)]
fixed JS_GetScriptOrModuleName() in direct or indirect eval code

2 years agonative cosmopolitan build
Fabrice Bellard [Thu, 11 Jan 2024 14:29:19 +0000 (15:29 +0100)]
native cosmopolitan build

2 years agofixed uninitialized harnessbuf
Fabrice Bellard [Thu, 11 Jan 2024 14:28:41 +0000 (15:28 +0100)]
fixed uninitialized harnessbuf

2 years agoupdate test results
Fabrice Bellard [Thu, 11 Jan 2024 14:28:12 +0000 (15:28 +0100)]
update test results

2 years agomore portable and Windows version for getTimezoneOffset() (github issue #122)
Fabrice Bellard [Thu, 11 Jan 2024 14:26:39 +0000 (15:26 +0100)]
more portable and Windows version for getTimezoneOffset() (github issue #122)

2 years agoadded os.getpid()
Fabrice Bellard [Thu, 11 Jan 2024 14:25:28 +0000 (15:25 +0100)]
added os.getpid()

2 years agoregexp: fixed the zero advance logic in quantifiers (github issue #158)
Fabrice Bellard [Wed, 10 Jan 2024 13:36:19 +0000 (14:36 +0100)]
regexp: fixed the zero advance logic in quantifiers (github issue #158)

2 years agooptional chaining fixes (github issue #103)
Fabrice Bellard [Tue, 9 Jan 2024 18:15:40 +0000 (19:15 +0100)]
optional chaining fixes (github issue #103)

2 years agofixed Date.toLocaleString() (kuzmas)
Fabrice Bellard [Mon, 8 Jan 2024 18:02:30 +0000 (19:02 +0100)]
fixed Date.toLocaleString() (kuzmas)

2 years agofixed regexp case insensitive flag
Fabrice Bellard [Mon, 8 Jan 2024 17:42:29 +0000 (18:42 +0100)]
fixed regexp case insensitive flag

2 years agofix worker termination in example (github issue #98)
Fabrice Bellard [Mon, 8 Jan 2024 17:41:03 +0000 (18:41 +0100)]
fix worker termination in example (github issue #98)

2 years agofixed next token parsing after a function definition (github issue #77)
Fabrice Bellard [Mon, 8 Jan 2024 17:40:35 +0000 (18:40 +0100)]
fixed next token parsing after a function definition (github issue #77)

2 years agofixed class name init in static initializers
Fabrice Bellard [Mon, 8 Jan 2024 17:39:58 +0000 (18:39 +0100)]
fixed class name init in static initializers

2 years agoavoid potentially undefined behavior and make valgrind happy (bnoordhuis) (github...
Fabrice Bellard [Mon, 8 Jan 2024 17:39:26 +0000 (18:39 +0100)]
avoid potentially undefined behavior and make valgrind happy (bnoordhuis) (github issue #153)

2 years agofixed run_test262_harness_test() with modules
Fabrice Bellard [Sat, 6 Jan 2024 13:43:47 +0000 (14:43 +0100)]
fixed run_test262_harness_test() with modules

2 years agomake for in faster and spec compliant (github issue #137)
Fabrice Bellard [Sat, 6 Jan 2024 13:43:29 +0000 (14:43 +0100)]
make for in faster and spec compliant (github issue #137)

2 years agofixed test262: derived-this-uninitialized-realm.js
Fabrice Bellard [Sat, 6 Jan 2024 13:42:43 +0000 (14:42 +0100)]
fixed test262: derived-this-uninitialized-realm.js

2 years agoadded a comment for non-initialized warning in Valgrind (github issue #153)
Fabrice Bellard [Sat, 6 Jan 2024 10:20:20 +0000 (11:20 +0100)]
added a comment for non-initialized warning in Valgrind (github issue #153)

2 years agoadded 'in' operator for private fields
Fabrice Bellard [Tue, 2 Jan 2024 15:11:20 +0000 (16:11 +0100)]
added 'in' operator for private fields

2 years agoclass static block (initial patch by bnoordhuis)
Fabrice Bellard [Tue, 2 Jan 2024 15:10:43 +0000 (16:10 +0100)]
class static block (initial patch by bnoordhuis)

2 years agoadded note about atomic operations
Fabrice Bellard [Tue, 2 Jan 2024 15:10:24 +0000 (16:10 +0100)]
added note about atomic operations

2 years agofixed crash in JS_DumpMemoryUsage (github issue #65)
Fabrice Bellard [Tue, 2 Jan 2024 15:09:55 +0000 (16:09 +0100)]
fixed crash in JS_DumpMemoryUsage (github issue #65)

2 years agoallow 'await' in the REPL and added os.sleepAsync()
Fabrice Bellard [Tue, 2 Jan 2024 15:09:30 +0000 (16:09 +0100)]
allow 'await' in the REPL and added os.sleepAsync()

2 years agomake JS_NewClassID thread safe
Fabrice Bellard [Tue, 2 Jan 2024 15:08:48 +0000 (16:08 +0100)]
make JS_NewClassID thread safe

2 years agoadded Error cause
Fabrice Bellard [Tue, 2 Jan 2024 15:08:08 +0000 (16:08 +0100)]
added Error cause

2 years agoadded os.now()
Fabrice Bellard [Wed, 27 Dec 2023 18:09:29 +0000 (19:09 +0100)]
added os.now()

2 years agodefine the same atoms with or without CONFIG_ATOMICS (github issue #76)
Fabrice Bellard [Wed, 27 Dec 2023 17:28:54 +0000 (18:28 +0100)]
define the same atoms with or without CONFIG_ATOMICS (github issue #76)

2 years agofixed JS module autodetection with shebang (github issue #91)
Fabrice Bellard [Wed, 27 Dec 2023 17:19:46 +0000 (18:19 +0100)]
fixed JS module autodetection with shebang (github issue #91)

2 years agofixed crash when resizing property shapes in case of OOM (github issue #129)
Fabrice Bellard [Wed, 27 Dec 2023 17:19:06 +0000 (18:19 +0100)]
fixed crash when resizing property shapes in case of OOM (github issue #129)

2 years agofixed the garbage collection of async functions with closures (github issue #156)
Fabrice Bellard [Wed, 27 Dec 2023 16:21:46 +0000 (17:21 +0100)]
fixed the garbage collection of async functions with closures (github issue #156)

2 years agoremoved memory leak
Fabrice Bellard [Wed, 27 Dec 2023 16:20:10 +0000 (17:20 +0100)]
removed memory leak

2 years agoadded RegExp 'd' flag (bnoordhuis)
Fabrice Bellard [Wed, 27 Dec 2023 16:19:44 +0000 (17:19 +0100)]
added RegExp 'd' flag (bnoordhuis)

2 years agoadded Promise.withResolvers
Fabrice Bellard [Wed, 27 Dec 2023 16:19:25 +0000 (17:19 +0100)]
added Promise.withResolvers

2 years agoadded Array.prototype.{with,toReversed,toSpliced,toSorted} and TypedArray.prototype...
Fabrice Bellard [Wed, 27 Dec 2023 16:19:00 +0000 (17:19 +0100)]
added Array.prototype.{with,toReversed,toSpliced,toSorted} and TypedArray.prototype.{with,toReversed,toSorted} (initial patch by bnoordhuis)

2 years agoadded Object.groupBy and Map.groupBy (initial patch by bnoordhuis)
Fabrice Bellard [Wed, 27 Dec 2023 16:18:39 +0000 (17:18 +0100)]
added Object.groupBy and Map.groupBy (initial patch by bnoordhuis)

2 years agoadded String.prototype.isWellFormed and String.prototype.toWellFormed
Fabrice Bellard [Wed, 27 Dec 2023 16:16:47 +0000 (17:16 +0100)]
added String.prototype.isWellFormed and String.prototype.toWellFormed

2 years agofixed detached TypedArray in sort()
Fabrice Bellard [Wed, 27 Dec 2023 16:13:44 +0000 (17:13 +0100)]
fixed detached TypedArray in sort()

2 years agotypos
Fabrice Bellard [Wed, 27 Dec 2023 16:11:25 +0000 (17:11 +0100)]
typos

2 years agotop-level-await support - follow the spec in the implementation of the module linking...
Fabrice Bellard [Wed, 27 Dec 2023 16:10:47 +0000 (17:10 +0100)]
top-level-await support - follow the spec in the implementation of the module linking and evaluation to avoid errors with cycling module dependencies

2 years agocall js_std_free_handlers() in the code generated by qjsc (github issue #96)
Fabrice Bellard [Fri, 22 Dec 2023 10:07:00 +0000 (11:07 +0100)]
call js_std_free_handlers() in the code generated by qjsc (github issue #96)

2 years agoreduced JS_MAX_LOCAL_VARS (github issue #123)
Fabrice Bellard [Fri, 22 Dec 2023 10:06:37 +0000 (11:06 +0100)]
reduced JS_MAX_LOCAL_VARS (github issue #123)

2 years agoremoved unused JSContext field
Fabrice Bellard [Fri, 22 Dec 2023 10:06:19 +0000 (11:06 +0100)]
removed unused JSContext field

2 years agouse Unicode normalization in String.prototype.localeCompare
Fabrice Bellard [Fri, 22 Dec 2023 10:05:49 +0000 (11:05 +0100)]
use Unicode normalization in String.prototype.localeCompare

2 years ago'for of' expression cannot start with 'async'
Fabrice Bellard [Fri, 22 Dec 2023 10:05:18 +0000 (11:05 +0100)]
'for of' expression cannot start with 'async'

2 years agoremoved incorrect await in async yield*
Fabrice Bellard [Fri, 22 Dec 2023 10:04:54 +0000 (11:04 +0100)]
removed incorrect await in async yield*

2 years agofixed define own property with writable=false on module namespace
Fabrice Bellard [Fri, 22 Dec 2023 10:04:22 +0000 (11:04 +0100)]
fixed define own property with writable=false on module namespace

2 years agoadded container_of macro
Fabrice Bellard [Fri, 22 Dec 2023 10:03:44 +0000 (11:03 +0100)]
added container_of macro

2 years agosafer typed array finalizer
Fabrice Bellard [Fri, 22 Dec 2023 10:03:13 +0000 (11:03 +0100)]
safer typed array finalizer

2 years agofixed js_strtod with large integers (github issue #206)
Fabrice Bellard [Fri, 22 Dec 2023 10:02:39 +0000 (11:02 +0100)]
fixed js_strtod with large integers (github issue #206)

2 years agotest 128 bit integer support (github issue #125)
Fabrice Bellard [Fri, 22 Dec 2023 10:02:05 +0000 (11:02 +0100)]
test 128 bit integer support (github issue #125)

2 years agofixed 'return' handling with 'yield' in 'for of' or with finally blocks (gihub ticket...
Fabrice Bellard [Wed, 13 Dec 2023 18:02:47 +0000 (19:02 +0100)]
fixed 'return' handling with 'yield' in 'for of' or with finally blocks (gihub ticket #166)

2 years agofixed async generator in case of exception in the implicit await in the 'return'...
Fabrice Bellard [Wed, 13 Dec 2023 18:01:59 +0000 (19:01 +0100)]
fixed async generator in case of exception in the implicit await in the 'return' statement

2 years agoFix AsyncGenerator.prototype.return error handling (bnoordhuis)
Fabrice Bellard [Wed, 13 Dec 2023 18:01:10 +0000 (19:01 +0100)]
Fix AsyncGenerator.prototype.return error handling (bnoordhuis)

2 years agoadded -fwrapv to CFLAGS to ensure that signed overflows have a well defined behavior
Fabrice Bellard [Wed, 13 Dec 2023 18:00:17 +0000 (19:00 +0100)]
added -fwrapv to CFLAGS to ensure that signed overflows have a well defined behavior

2 years agoraise an error if a private method is added twice to an object
Fabrice Bellard [Wed, 13 Dec 2023 17:59:47 +0000 (18:59 +0100)]
raise an error if a private method is added twice to an object

2 years agonew release
Fabrice Bellard [Sat, 9 Dec 2023 11:52:22 +0000 (12:52 +0100)]
new release

2 years agoadded Array.prototype.findLast{Index} and TypeArray.prototype.findLast{index} (initia...
Fabrice Bellard [Sat, 9 Dec 2023 11:33:05 +0000 (12:33 +0100)]
added Array.prototype.findLast{Index} and TypeArray.prototype.findLast{index} (initial patch by bnoordhuis)

2 years agofixed duplicate static private setter/getter test
Fabrice Bellard [Sat, 9 Dec 2023 11:32:32 +0000 (12:32 +0100)]
fixed duplicate static private setter/getter test

2 years agoSymbol.species is no longer used in TypedArray constructor from a TypedArray
Fabrice Bellard [Sat, 9 Dec 2023 11:32:00 +0000 (12:32 +0100)]
Symbol.species is no longer used in TypedArray constructor from a TypedArray

2 years agofixed delete super.x error
Fabrice Bellard [Sat, 9 Dec 2023 11:31:33 +0000 (12:31 +0100)]
fixed delete super.x error

2 years agoreworked set property and fixed corner cases of typed array set property
Fabrice Bellard [Sat, 9 Dec 2023 11:30:31 +0000 (12:30 +0100)]
reworked set property and fixed corner cases of typed array set property

2 years agoImplement extended named capture group identifiers (bnoordhuis)
Fabrice Bellard [Sat, 9 Dec 2023 11:28:51 +0000 (12:28 +0100)]
Implement extended named capture group identifiers (bnoordhuis)

2 years agoRetrieve RegExp 'g' flag in spec conformant way (original patch by bnoordhuis)
Fabrice Bellard [Sat, 9 Dec 2023 11:28:13 +0000 (12:28 +0100)]
Retrieve RegExp 'g' flag in spec conformant way (original patch by bnoordhuis)

2 years agofixed lexical scope of 'this' with eval (github issue #192)
Fabrice Bellard [Sat, 9 Dec 2023 11:27:39 +0000 (12:27 +0100)]
fixed lexical scope of 'this' with eval (github issue #192)

2 years agoMake Date methods argument coercion spec compliant (bnoordhuis)
Fabrice Bellard [Sat, 9 Dec 2023 11:27:08 +0000 (12:27 +0100)]
Make Date methods argument coercion spec compliant (bnoordhuis)

2 years agofixed negative zero date
Fabrice Bellard [Sat, 9 Dec 2023 11:26:37 +0000 (12:26 +0100)]
fixed negative zero date

2 years agofixed private field setters (github issue #194)
Fabrice Bellard [Thu, 7 Dec 2023 16:51:32 +0000 (17:51 +0100)]
fixed private field setters (github issue #194)

2 years agoadded missing bignum error tests (github issue #159)
Fabrice Bellard [Tue, 5 Dec 2023 16:25:03 +0000 (17:25 +0100)]
added missing bignum error tests (github issue #159)

2 years agoadded String.prototype.at, Array.prototype.at and TypedArray.prototype.at
Fabrice Bellard [Tue, 5 Dec 2023 15:54:43 +0000 (16:54 +0100)]
added String.prototype.at, Array.prototype.at and TypedArray.prototype.at

2 years agokeep LTO
Fabrice Bellard [Tue, 5 Dec 2023 15:52:36 +0000 (16:52 +0100)]
keep LTO

2 years agoupdated to unicode 15.0.0
Fabrice Bellard [Tue, 5 Dec 2023 15:51:16 +0000 (16:51 +0100)]
updated to unicode 15.0.0

2 years agothe BigInt support is now always included
bellard [Mon, 4 Dec 2023 18:26:32 +0000 (19:26 +0100)]
the BigInt support is now always included

2 years agofixed js_proxy_isArray stack overflow (github issue #178)
bellard [Fri, 1 Dec 2023 17:15:03 +0000 (18:15 +0100)]
fixed js_proxy_isArray stack overflow (github issue #178)

2 years agobf_set_ui() fix (github issue #133)
bellard [Fri, 1 Dec 2023 16:56:22 +0000 (17:56 +0100)]
bf_set_ui() fix (github issue #133)

4 years agoupdated to Unicode 14.0.0
bellard [Sun, 6 Mar 2022 18:00:24 +0000 (19:00 +0100)]
updated to Unicode 14.0.0

4 years agoupdated test262.conf
bellard [Sun, 6 Mar 2022 17:55:04 +0000 (18:55 +0100)]
updated test262.conf

4 years agoadded Object.hasOwn()
bellard [Sun, 6 Mar 2022 17:54:27 +0000 (18:54 +0100)]
added Object.hasOwn()

4 years agofixed invalid Array.prototype.push/unshift optimization
bellard [Sun, 6 Mar 2022 17:53:03 +0000 (18:53 +0100)]
fixed invalid Array.prototype.push/unshift optimization

5 years ago2021-03-27 release
bellard [Sat, 27 Mar 2021 10:17:31 +0000 (11:17 +0100)]
2021-03-27 release

5 years ago2020-11-08 release take 2
bellard [Sun, 8 Nov 2020 13:44:20 +0000 (14:44 +0100)]
2020-11-08 release take 2

5 years ago2020-11-08 release
bellard [Sun, 8 Nov 2020 13:30:56 +0000 (14:30 +0100)]
2020-11-08 release

5 years ago2020-09-06 release
bellard [Sun, 6 Sep 2020 17:10:15 +0000 (19:10 +0200)]
2020-09-06 release

5 years ago2020-07-05 release
bellard [Sun, 6 Sep 2020 17:07:30 +0000 (19:07 +0200)]
2020-07-05 release

5 years ago2020-04-12 release
bellard [Sun, 6 Sep 2020 17:04:20 +0000 (19:04 +0200)]
2020-04-12 release

5 years ago2020-03-16 release
bellard [Sun, 6 Sep 2020 17:02:03 +0000 (19:02 +0200)]
2020-03-16 release

5 years ago2020-01-19 release
bellard [Sun, 6 Sep 2020 16:57:11 +0000 (18:57 +0200)]
2020-01-19 release

5 years ago2020-01-05 release
bellard [Sun, 6 Sep 2020 16:53:08 +0000 (18:53 +0200)]
2020-01-05 release

5 years agotest
bellard [Sun, 6 Sep 2020 16:47:30 +0000 (18:47 +0200)]
test

5 years agoInitial commit
bellard [Sun, 6 Sep 2020 16:24:53 +0000 (18:24 +0200)]
Initial commit