QuickJS NG is 1 year old! 🍰
In november 2023 @bnoordhuis and @saghul banded together to create NG and try to reignite the project. So far so good, here is to the next one!
What's Changed
- Add Iterator by @bnoordhuis in #548
- Fix clearing screen in REPL with Ctrl-L by @saghul in #550
- New documentation website by @saghul in #549
- Add Iterator.prototype.toArray by @bnoordhuis in #552
- Add Ctrl-W support for REPL by @saghul in #553
- Simplify eval_and_print code in REPL by @saghul in #554
- Add Iterator.from by @bnoordhuis in #555
- Support the NO_COLOR env variable in the REPL by @saghul in #556
- Add -C compact mode switch to run-test262 by @bnoordhuis in #560
- Add -vv verboser mode switch to run-test262 by @bnoordhuis in #561
- Fix printing of slow tests with -T in run-test262 by @bnoordhuis in #563
- Fix ThreadSanitizer warning in quickjs-libc by @bnoordhuis in #562
- Support printing unicode characters on windows by @andrjohns in #449
- Run test262 tests in parallel by @bnoordhuis in #564
- Fix regexp split with zero-length capture group by @bnoordhuis in #566
- chore: move JS_{Dup,Free}Value and the RT variants from header, reduced duplication by @richarddd in #570
- Fix next token parsing after a function definition by @saghul in #573
- Run test262-update in a single thread by @saghul in #574
- Run ThreadSanitizer on push to master by @bnoordhuis in #575
- Don't allow closing stdio from quickjs-libc by @bnoordhuis in #576
- Fix thread-safety issue in quickjs-libc by @bnoordhuis in #578
- Implement proper Symbol.toStringTag for iterators by @saghul in #580
- Fix computed reference on null or undefined by @saghul in #581
- R2 patches (squash / rebased) by @saghul in #582
- Build all Windows targets when building in CI by @saghul in #583
- Include <intrin.h> on Windows by @bnoordhuis in #584
- Remove unused defines in cutils.h by @saghul in #587
- Enforce buffer length in utf8_encode definition by @bnoordhuis in #589
- Replace js_mode with is_strict_mode bit field by @bnoordhuis in #590
- DRY assertion functions in tests by @saghul in #588
- Run local tests with run-test262 by @bnoordhuis in #591
- Fix definition of minimum_length by @saghul in #593
- Implement Promise.try by @saghul in #597
- Fix cyclic import/export segfault by @bnoordhuis in #568
- Expose ctx->function_proto by @richarddd in #599
- Simplify extract_desc() by @bnoordhuis in #601
- Remove NetBSD CI buildbot by @bnoordhuis in #603
- Fix crash in deserializer by @bnoordhuis in #602
- Restrict atom count in deserializer to 1 million by @bnoordhuis in #605
- Allow turning on multiple sanitizers by @bnoordhuis in #611
- Improve JS_DetectModule by @bnoordhuis in #610
- Rework inline cache handling by @bnoordhuis in #609
- Remove macos-12 buildbots by @bnoordhuis in #604
- Avoid requiring atomics on quickjs-libc by @saghul in #613
- Fix stdc atomics detection and add vs2019 msvc job by @satk0 in #592
- Handle bytecode without IC state by @bnoordhuis in #617
- Implement Iterator.prototype.every by @saghul in #620
- Implement Iterator.prototype.forEach by @saghul in #619
- Prefix stdlib modules with "qjs:" by @saghul in #618
- Eval CLI included files as scripts by @saghul in #621
- Implement Iterator.prototype.find by @saghul in #625
- Implement Iterator.prototype.reduce by @saghul in #626
- Implement Iterator.prototype.some by @saghul in #627
- Add C++ compile test by @bnoordhuis in #615
- Make quickjs.h -Wall -Wextra -pedantic clean by @bnoordhuis in #628
- Improve run-test262 logging by @bnoordhuis in #631
- Auto-detect ASan at compile time by @bnoordhuis in #638
- Don't segfault on missing line number data by @bnoordhuis in #641
- Allow 'undefined' in let or const declaration by @bnoordhuis in #639
- Make qjs --std switch include bjson module by @bnoordhuis in #640
- Detect if stdout is a console in quickjs-libc by @bnoordhuis in #642
- Add stack trace to Test262Error by @bnoordhuis in #644
- Add resizable ArrayBuffers by @bnoordhuis in #646
- Move "no more objects" assert to right place by @bnoordhuis in #649
- Fix exception in WeakRef.prototype.deref by @bnoordhuis in #653
- Fix DUMP_LEAKS memory leak false positive by @bnoordhuis in #655
- Fix FinalizationRegistry refcounting bug by @bnoordhuis in #656
- Don't throw oob exception when setting numeric indexes on TAs by @saghul in #647
- Prevent JS_SetOpaque from overriding internal class state by @saghul in #658
- Improve line:column tracking by @bnoordhuis in #660
- Make global.performance writable by @richarddd in #661
- Don't automatically update test262 submodule by @richarddd in #663
- Remove
qjs
namespace backwards compatibility by @saghul in #662 - Update test262_errors.txt after commit 73cc00e by @bnoordhuis in #665
- Don't use _Thread_local in run-test262.c by @bnoordhuis in #667
- Update to Unicode 15.1, 16.0 by @bnoordhuis in #666
- Implement Iterator.prototype.drop by @saghul in #673
- Work around broken atomics in tinycc by @bnoordhuis in #669
- Implement Iterator.prototype.take by @saghul in #676
- Improve performance of variable resolver by @bnoordhuis in #672
- Implement Iterator.prototype.filter by @saghul in #678
- Remove error handling for JS_NewInt64, it's infallible by @saghul in #677
- Implement Iterator.prototype.map by @saghul in #679
- Update test262 by @bnoordhuis in #680
- Add Error.isError by @bnoordhuis in #682
- Fix detach check in ArrayBuffer.prototype.resize by @bnoordhuis in #681
- Implement Iterator.prototype.flatMap by @saghul in #684
- Fix bytecode stack frame printing by @bnoordhuis in #686
- Add RegExp.escape by @bnoordhuis in #687
- Fix Iterator.prototype by @saghul in #690
- Documentation updates by @saghul in #685
- Make Iterator.from spec compliant by @saghul in #689
- Fix NULL deref in JS_NewRuntime2 by @bptato in #691
- Add Atomics.pause by @bnoordhuis in #692
New Contributors
- @richarddd made their first contribution in #570
- @satk0 made their first contribution in #592
Full Changelog: v0.6.1...v0.7.0