Skip to content

Commit 1fbfbb3

Browse files
committed
Add quickjs-2021-03-27 to third_party
1 parent f40f97b commit 1fbfbb3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+99832
-0
lines changed

third_party/quickjs/Changelog

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
2021-03-27:
2+
3+
- faster Array.prototype.push and Array.prototype.unshift
4+
- added JS_UpdateStackTop()
5+
- fixed Windows console
6+
- misc bug fixes
7+
8+
2020-11-08:
9+
10+
- improved function parameter initializers
11+
- added std.setenv(), std.unsetenv() and std.getenviron()
12+
- added JS_EvalThis()
13+
- misc bug fixes
14+
15+
2020-09-06:
16+
17+
- added logical assignment operators
18+
- added IsHTMLDDA support
19+
- faster for-of loops
20+
- os.Worker now takes a module filename as parameter
21+
- qjsc: added -D option to compile dynamically loaded modules or workers
22+
- misc bug fixes
23+
24+
2020-07-05:
25+
26+
- modified JS_GetPrototype() to return a live value
27+
- REPL: support unicode characters larger than 16 bits
28+
- added os.Worker
29+
- improved object serialization
30+
- added std.parseExtJSON
31+
- misc bug fixes
32+
33+
2020-04-12:
34+
35+
- added cross realm support
36+
- added AggregateError and Promise.any
37+
- added env, uid and gid options in os.exec()
38+
- misc bug fixes
39+
40+
2020-03-16:
41+
42+
- reworked error handling in std and os libraries: suppressed I/O
43+
exceptions in std FILE functions and return a positive errno value
44+
when it is explicit
45+
- output exception messages to stderr
46+
- added std.loadFile(), std.strerror(), std.FILE.prototype.tello()
47+
- added JS_GetRuntimeOpaque(), JS_SetRuntimeOpaque(), JS_NewUint32()
48+
- updated to Unicode 13.0.0
49+
- misc bug fixes
50+
51+
2020-01-19:
52+
53+
- keep CONFIG_BIGNUM in the makefile
54+
- added os.chdir()
55+
- qjs: added -I option
56+
- more memory checks in the bignum operations
57+
- modified operator overloading semantics to be closer to the TC39
58+
proposal
59+
- suppressed "use bigint" mode. Simplified "use math" mode
60+
- BigDecimal: changed suffix from 'd' to 'm'
61+
- misc bug fixes
62+
63+
2020-01-05:
64+
65+
- always compile the bignum code. Added '--bignum' option to qjs.
66+
- added BigDecimal
67+
- added String.prototype.replaceAll
68+
- misc bug fixes
69+
70+
2019-12-21:
71+
72+
- added nullish coalescing operator (ES2020)
73+
- added optional chaining (ES2020)
74+
- removed recursions in garbage collector
75+
- test stack overflow in the parser
76+
- improved backtrace logic
77+
- added JS_SetHostPromiseRejectionTracker()
78+
- allow exotic constructors
79+
- improved c++ compatibility
80+
- misc bug fixes
81+
82+
2019-10-27:
83+
84+
- added example of C class in a module (examples/test_point.js)
85+
- added JS_GetTypedArrayBuffer()
86+
- misc bug fixes
87+
88+
2019-09-18:
89+
90+
- added os.exec and other system calls
91+
- exported JS_ValueToAtom()
92+
- qjsc: added 'qjsc_' prefix to the generated C identifiers
93+
- added cross-compilation support
94+
- misc bug fixes
95+
96+
2019-09-01:
97+
98+
- added globalThis
99+
- documented JS_EVAL_FLAG_COMPILE_ONLY
100+
- added import.meta.url and import.meta.main
101+
- added 'debugger' statement
102+
- misc bug fixes
103+
104+
2019-08-18:
105+
106+
- added os.realpath, os.getcwd, os.mkdir, os.stat, os.lstat,
107+
os.readlink, os.readdir, os.utimes, std.popen
108+
- module autodetection
109+
- added import.meta
110+
- misc bug fixes
111+
112+
2019-08-10:
113+
114+
- added public class fields and private class fields, methods and
115+
accessors (TC39 proposal)
116+
- changed JS_ToCStringLen() prototype
117+
- qjsc: handle '-' in module names and modules with the same filename
118+
- added std.urlGet
119+
- exported JS_GetOwnPropertyNames() and JS_GetOwnProperty()
120+
- exported some bigint C functions
121+
- added support for eshost in run-test262
122+
- misc bug fixes
123+
124+
2019-07-28:
125+
126+
- added dynamic import
127+
- added Promise.allSettled
128+
- added String.prototype.matchAll
129+
- added Object.fromEntries
130+
- reduced number of ticks in await
131+
- added BigInt support in Atomics
132+
- exported JS_NewPromiseCapability()
133+
- misc async function and async generator fixes
134+
- enabled hashbang support by default
135+
136+
2019-07-21:
137+
138+
- updated test262 tests
139+
- updated to Unicode version 12.1.0
140+
- fixed missing Date object in qjsc
141+
- fixed multi-context creation
142+
- misc ES2020 related fixes
143+
- simplified power and division operators in bignum extension
144+
- fixed several crash conditions
145+
146+
2019-07-09:
147+
148+
- first public release

third_party/quickjs/LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
QuickJS Javascript Engine
2+
3+
Copyright (c) 2017-2021 Fabrice Bellard
4+
Copyright (c) 2017-2021 Charlie Gordon
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in
14+
all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+
THE SOFTWARE.

0 commit comments

Comments
 (0)