From 7c312df422572cf867f29a1d80693e8a77f7fb2a Mon Sep 17 00:00:00 2001 From: bellard <6490144+bellard@users.noreply.github.com> Date: Sun, 6 Sep 2020 19:10:15 +0200 Subject: [PATCH] 2020-09-06 release --- Changelog | 9 + TODO | 4 +- VERSION | 2 +- cutils.c | 21 +- doc/jsbignum.html | 4 +- doc/jsbignum.pdf | Bin 153049 -> 153057 bytes doc/quickjs.html | 28 +- doc/quickjs.pdf | Bin 165612 -> 165855 bytes doc/quickjs.texi | 23 +- libregexp.c | 20 +- libregexp.h | 1 + libunicode.c | 26 +- qjs.c | 43 +- qjsc.c | 74 ++- qjscalc.js | 4 +- quickjs-libc.c | 100 ++-- quickjs-libc.h | 3 +- quickjs-opcode.h | 3 +- quickjs.c | 912 +++++++++++++++++++++++------------- quickjs.h | 10 + run-test262.c | 11 +- test262.conf | 5 +- tests/test_builtin.js | 2 + tests/test_language.js | 19 + tests/test_worker.js | 33 +- tests/test_worker_module.js | 31 ++ 26 files changed, 912 insertions(+), 476 deletions(-) create mode 100644 tests/test_worker_module.js diff --git a/Changelog b/Changelog index 86d965c..1a7533b 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,12 @@ +2020-09-06: + +- added logical assignment operators +- added IsHTMLDDA support +- faster for-of loops +- os.Worker now takes a module filename as parameter +- qjsc: added -D option to compile dynamically loaded modules or workers +- misc bug fixes + 2020-07-05: - modified JS_GetPrototype() to return a live value diff --git a/TODO b/TODO index e5583c1..0eec6d3 100644 --- a/TODO +++ b/TODO @@ -74,5 +74,5 @@ REPL: Test262o: 0/11262 errors, 463 excluded Test262o commit: 7da91bceb9ce7613f87db47ddd1292a2dda58b42 (es5-tests branch) -Test262: 30/71095 errors, 870 excluded, 549 skipped -Test262 commit: 281eb10b2844929a7c0ac04527f5b42ce56509fd +Test262: 30/71748 errors, 868 excluded, 474 skipped +Test262 commit: 24c67328062383079ada85f4d253eb0526fd209b diff --git a/VERSION b/VERSION index e970cf6..c67790a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2020-07-05 +2020-09-06 diff --git a/cutils.c b/cutils.c index 64a32d3..a02fb76 100644 --- a/cutils.c +++ b/cutils.c @@ -258,19 +258,30 @@ int unicode_from_utf8(const uint8_t *p, int max_len, const uint8_t **pp) return c; } switch(c) { - case 0xc0 ... 0xdf: + case 0xc0: case 0xc1: case 0xc2: case 0xc3: + case 0xc4: case 0xc5: case 0xc6: case 0xc7: + case 0xc8: case 0xc9: case 0xca: case 0xcb: + case 0xcc: case 0xcd: case 0xce: case 0xcf: + case 0xd0: case 0xd1: case 0xd2: case 0xd3: + case 0xd4: case 0xd5: case 0xd6: case 0xd7: + case 0xd8: case 0xd9: case 0xda: case 0xdb: + case 0xdc: case 0xdd: case 0xde: case 0xdf: l = 1; break; - case 0xe0 ... 0xef: + case 0xe0: case 0xe1: case 0xe2: case 0xe3: + case 0xe4: case 0xe5: case 0xe6: case 0xe7: + case 0xe8: case 0xe9: case 0xea: case 0xeb: + case 0xec: case 0xed: case 0xee: case 0xef: l = 2; break; - case 0xf0 ... 0xf7: + case 0xf0: case 0xf1: case 0xf2: case 0xf3: + case 0xf4: case 0xf5: case 0xf6: case 0xf7: l = 3; break; - case 0xf8 ... 0xfb: + case 0xf8: case 0xf9: case 0xfa: case 0xfb: l = 4; break; - case 0xfc ... 0xfd: + case 0xfc: case 0xfd: l = 5; break; default: diff --git a/doc/jsbignum.html b/doc/jsbignum.html index 62c0287..ab31612 100644 --- a/doc/jsbignum.html +++ b/doc/jsbignum.html @@ -1,8 +1,7 @@ - +
-