The NetBSD Project

CVS log for pkgsrc/lang/quickjs/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / quickjs

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Sep 22 08:47:57 2026 UTC (7 weeks, 5 days ago) by wiz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
quickjs: fix typo

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Sep 22 08:44:21 2026 UTC (7 weeks, 5 days ago) by ryoon
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -1 lines
lang/quickjs: Conflict with lang/quickjs-ng

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Aug 13 18:11:24 2026 UTC (3 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -1 lines
quickjs: fix for NetBSD sparc

https://github.com/quickjs-ng/quickjs/issues/1663

From vom513 on pkgsrc-users.

Bump PKGREVISION.

Shorten DESCR while here, regen patches.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jun 28 17:59:25 2026 UTC (4 months, 2 weeks ago) by osa
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -6 lines
lang/quickjs: update from 2025-12-22 to 2026-06-04

Sponsored by:	tipi.work

<ChangeLog>

- added custom malloc for small blocks (11% faster on bench-v8)
- micro optimizations (30% faster on bench-v8)
- added resizable array buffers
- added ArrayBuffer.prototype.transfer
- added the Iterator object and methods
- added set methods
- added Atomics.pause
- added added Map and WeakMap upsert methods
- added Math.sumPrecise()
- added regexp duplicate named groups
- added base64 and hexadecimal encodings for Uint8Array
- misc bug fixes

</ChangeLog>

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Mar 28 04:54:38 2026 UTC (7 months, 2 weeks ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1 lines
lang/quickjs: Fix shared library by installing both .so and .so.0

Previously the Makefile would create libquickjs.so with DT_SONAME set to
"libquickjs.so.0" but it wouldn't actually install the .so.0 file. This
caused any packages (including www/elinks) that depend on the shared
library to fail, because "ld -o obj -lquickjs" inserts DT_NEEDED to the
non-existent .so.0 to the "obj". Setting DT_SONAME to .so.0 is fine, but
then we actually need to install that file.

While here, now that we build a shared library let's link qjs and qjsc
dynamically.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Mar 27 20:24:07 2026 UTC (7 months, 2 weeks ago) by nia
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -1 lines
quickjs: Fix build on all !NetBSD OS.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Mar 10 17:24:10 2026 UTC (8 months, 1 week ago) by osa
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -6 lines
lang/quickjs: update to the recent snapshot

While I'm here enable building/installing a shared library, it may
require to build nginx javascript module.

Discussed:	https://mail-index.netbsd.org/pkgsrc-users/2026/03/05/msg042691.html

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Nov 16 11:21:57 2025 UTC (11 months, 4 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -7 lines
quickjs: LTO is not enabled by default

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Nov 12 11:58:19 2025 UTC (12 months ago) by leot
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1 lines
quickjs: Backport patch to fix CVE-2025-12745

Bump PKGREVISION.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Nov 12 11:49:38 2025 UTC (12 months ago) by leot
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +11 -3 lines
quickjs: Update to 20250913

pkgsrc changes:
- Remove patches no longer needed because applied upstream

Changes:
2025-09-13:
- added JSON modules and import attributes
- added JS_PrintValue() API
- qjs: pretty print objects in print() and console.log()
- qjs: better promise rejection tracker heuristics
- added RegExp v flag
- added RegExp modifiers
- added RegExp.escape
- added Float16Array
- added Promise.try
- improved JSON parser spec conformance
- qjs: improved compatibility of std.parseExtJSON() with JSON5 and
  accept JSON5 modules
- added JS_FreePropertyEnum() and JS_AtomToCStringLen() API
- added Error.isError()
- misc bug fixes

2025-04-26:
- removed the bignum extensions and qjscalc
- new BigInt implementation optimized for small numbers
- added WeakRef, FinalizationRegistry and symbols as weakrefs
- added builtin float64 printing and parsing functions for more correctness
- faster repeated string concatenation
- qjs: promise unhandled rejections are fatal errors by default
- added column number in debug information
- removed the "use strip" extension
- qjs: added -s and --strip-source options
- qjsc: added -s and --keep-source options
- added JS_GetAnyOpaque()
- added more callbacks for exotic objects in JSClassExoticMethods
- misc bug fixes

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Feb 7 12:36:23 2025 UTC (21 months, 1 week ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -3 lines
lang/quickjs: update to 2024-01-13

2024-01-13:

- top-level-await support in modules
- allow 'await' in the REPL
- added Array.prototype.{with,toReversed,toSpliced,toSorted} and
TypedArray.prototype.{with,toReversed,toSorted}
- added String.prototype.isWellFormed and String.prototype.toWellFormed
- added Object.groupBy and Map.groupBy
- added Promise.withResolvers
- class static block
- 'in' operator support for private fields
- optional chaining fixes
- added RegExp 'd' flag
- fixed RegExp zero length match logic
- fixed RegExp case insensitive flag
- added os.getpid() and os.now()
- added cosmopolitan build
- misc bug fixes

2023-12-09:

- added Object.hasOwn, {String|Array|TypedArray}.prototype.at,
  {Array|TypedArray}.prototype.findLast{Index}
- BigInt support is enabled even if CONFIG_BIGNUM disabled
- updated to Unicode 15.0.0
- misc bug fixes

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Feb 7 12:20:38 2025 UTC (21 months, 1 week ago) by pho
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
lang/quickjs: Install libquickjs.a in the standard path

It installs the library in ${PREFIX}/lib/quickjs/ by default, which makes
its users hard to find it. Let's just move it to ${PREFIX}/lib to make our
lives easier.

quickjs didn't have buildlink3.mk until very recently so it should be safe
to move it now.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Feb 21 10:54:36 2024 UTC (2 years, 8 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -1 lines
quickjs: Requires c11 atomics support

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Mar 7 14:38:03 2023 UTC (3 years, 8 months ago) by he
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
quickjs: make it build on macppc again, or more generally...

on non-CONFIG_BIGNUM platforms.
Bump PKGREVISION.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Mar 21 23:00:33 2022 UTC (4 years, 7 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1 lines
lang/quickjs: import DESCR from wip/quickjs

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jan 30 10:55:03 2022 UTC (4 years, 9 months ago) by he
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5 lines
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

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Dec 13 13:14:32 2021 UTC (4 years, 11 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
quickjs: fix PLIST on Darwin

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun May 10 10:32:33 2020 UTC (6 years, 6 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -1 lines
lang/quickjs: install documentation and examples

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun May 10 10:17:05 2020 UTC (6 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -3 lines
lang/quickjs: update to 2020-04-12

Changes since 2020-01-19:

2020-04-12:

- added cross realm support
- added AggregateError and Promise.any
- added env, uid and gid options in os.exec()
- misc bug fixes

2020-03-16:

- reworked error handling in std and os libraries: suppressed I/O
  exceptions in std FILE functions and return a positive errno value
  when it is explicit
- output exception messages to stderr
- added std.loadFile(), std.strerror(), std.FILE.prototype.tello()
- added JS_GetRuntimeOpaque(), JS_SetRuntimeOpaque(), JS_NewUint32()
- updated to Unicode 13.0.0
- misc bug fixes

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Feb 10 13:06:08 2020 UTC (6 years, 9 months ago) by he
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +13 -8 lines
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.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jan 26 19:08:41 2020 UTC (6 years, 9 months ago) by he
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Fix a pkglint NOTE (spaces around plist var assignment).

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jan 26 19:04:43 2020 UTC (6 years, 9 months ago) by he
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +18 -2 lines
Use a pkgsrc-compatible version number.
Bignum is conditional on 64-bit atomics; mimic that in Makefile
and conditionalize in PLIST.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jan 26 18:37:49 2020 UTC (6 years, 9 months ago) by he
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Update to 2020-01-19 version.

Pkgsrc changes:
 * adapt patches
 * If NetBSD platform misses 64-bit atomics, turn off all atomics
   (Trying to just disable BIGNUM fails; workaround suggested by
   Fabrice Bellard)

Upstream changes:
- keep CONFIG_BIGNUM in the makefile
- added os.chdir()
- qjs: added -I option
- more memory checks in the bignum operations
- modified operator overloading semantics to be closer to the TC39
  proposal
- suppressed "use bigint" mode. Simplified "use math" mode
- BigDecimal: changed suffix from 'd' to 'm'
- misc bug fixes

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Nov 14 21:20:04 2019 UTC (7 years ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>