Commit graph

5 commits

Author SHA1 Message Date
he 6e2c3f83fe lang/quickjs: update to 2021-03-27 version.
Pkgsrc changes:
 * adjust patches and checksums as needed
 * Update request from PR#56675 should be fulfilled by this;
   thanks to Kimihiro Nonaka

Upstream changes:

2021-03-27:

- faster Array.prototype.push and Array.prototype.unshift
- added JS_UpdateStackTop()
- fixed Windows console
- misc bug fixes

2020-11-08:

- improved function parameter initializers
- added std.setenv(), std.unsetenv() and std.getenviron()
- added JS_EvalThis()
- misc bug fixes

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
- REPL: support unicode characters larger than 16 bits
- added os.Worker
- improved object serialization
- added std.parseExtJSON
- misc bug fixes
2022-01-30 10:55:03 +00:00
rillig 02ec4bea4b lang/quickjs: install documentation and examples 2020-05-10 10:32:33 +00:00
he a3e8e0afa2 Make some adjustments to fix the issues from PR#54912:
* Don't use DATE as a variable, as it's used elsewhere, use QJS_DATE instead
 * Don't use the "bignum" PLIST variable anymore, the "bn" variants are no
   longer being built
 * Add "lto" PLIST variable, supported by and used on Linux
 * Move the setting of CONFIG_BIGNUM to the pkg Makefile instead of
   always setting it, should support 32-bit NetBSD ports.

Bump PKGREVISION.
2020-02-10 13:06:08 +00:00
he c435055b3e Use a pkgsrc-compatible version number.
Bignum is conditional on 64-bit atomics; mimic that in Makefile
and conditionalize in PLIST.
2020-01-26 19:04:43 +00:00
rillig 5f971f3def lang/quickjs: imported version 2019-10-27
QuickJS is a small and embeddable Javascript engine. It supports the
ES2020 specification including modules, asynchronous generators and
proxies. It optionally supports mathematical extensions such as big
integers (BigInt), big floating point numbers (BigFloat) and operator
overloading.
2019-11-14 21:20:04 +00:00