pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Mar 24 13:49:11 UTC 2020

Modified Files:
        pkgsrc/lang/duktape: Makefile distinfo
        pkgsrc/lang/libduktape: Makefile distinfo

Log Message:
[lib]duktape: Update to 2.5.0

2.5.0 (2019-11-24)
------------------

* Rename the 'global' binding to 'globalThis' to match updated
  proposal-global; enable the binding by default; update
  polyfills/global.js (GH-2160)

* Add duk_pull() API call (GH-2184)

* Add experimental duk_cbor_encode() and duk_cbor_decode() API calls (GH-2163)

* Move CBOR extra into an actual Duktape built-in, enabled by default (GH-2163)

* Include "end of input" in error message if SyntaxError occurs at end of
  file (GH-2152, GH-2165)

* Add missing DUK_DEFPROP_xxx convenience constants for the 'EC' combination
  (like DUK_DEFPROP_EC, DUK_DEFPROP_HAVE_EC, etc) which were accidentally
  missing from the API header (GH-2187)

* Fix behavior of proxied Array objects for: Array.isArray(), duk_is_array(),
  Object.prototype.toString(), JSON.stringify(), Array.prototype.concat()
  (GH-2041, GH-2175, GH-2176)

* Fix a harmless assert in Math.atan2() when compiling with gcc -m32 (GH-2164)

* Fix (suppress) -Wfloat-equal warnings for GCC and Clang (GH-234, GH-2164)

* Fix compile warning when base64 support disabled (GH-2159)

* Fix some compile warnings (GH-2161, GH-2172)

* Add RISC-V architecture detection in duk_config.h; previous versions
  also compiled on RISC-V but identified as "generic" (GH-2174)

* Avoid ast/endian.h header on Solaris (GH-2180)

* Minor performance and footprint improvements (GH-2167, GH-2177)

2.4.0 (2019-07-28)
------------------

* Add duk_to_stacktrace() and duk_safe_to_stacktrace() to make it easier to
  get stacktraces in C code (GH-2059, GH-2086)

* Add duk_push_bare_array() to push an Array instance which doesn't
  inherit from anything (GH-2064)

* Add duk_require_constructable() and duk_require_constructor_call() to
  the public API (previously they were internal helpers) (GH-2102)

* Enable Symbol built-in by default (DUK_USE_SYMBOL_BUILTIN) (GH-1969)

* Remove arguments.caller for strict argument objects to match revised
  ES2017 behavior (GH-2009)

* Add DUK_USE_NATIVE_STACK_CHECK() macro config option (disabled by default)
  for a platform specific stack space check in recursive and stack heavy
  code paths; this is more accurate than the default fixed recursion limit
  (GH-1995)

* When using Proxy wrapping in console extra, don't return a fake NOP
  function for console.toJSON to avoid confusing JX serialization of the
  console object (GH-2052, GH-2054, GH-2055)

* Disable Proxy wrapper for 'duk' console binding because it is no longer
  the preferred console implementation method (GH-2055)

* Update UnicodeData.txt and SpecialCasing.txt used for building internal
  Unicode control data to Unicode version 12.1.0 (GH-2085)

* Use bare objects/arrays in more places internally: variable map and
  formals array of functions loaded from bytecode (to match behavior of
  compiled functions), context dump array for duk_push_context_dump(),
  and error tracedata (GH-2089)

* Expose DUK_INTERNAL_SYMBOL() macro; while an application shouldn't
  normally need to use this macro at all, it may be useful in some cases
  to peek into Duktape internals (with no versioning guarantees) (GH-2118)

* Accept non-plain buffer types in some examples/extras (cmdline, eventloop,
  logging, print-alert) (GH-2107)

* Fix eventloop example .write() method buffer handling which relied on
  Duktape.Buffer, also fix a related TCP client example bug (GH-2107)

* Minor changes to CBOR extra type handling: encode non-UTF-8 strings
  as CBOR byte strings (instead of text strings), encode Symbols as empty
  objects, refuse to decode Symbols, encode pointers as "(%p)" instead of
  "%p" to match JX, decode integers in most cases to fastints when possible
  (GH-2121, GH-2154)

* Minor performance improvements to CBOR extra (GH-2121, GH-2154)

* Add (untested) support for mixed endian targets to CBOR extra (GH-2121)

* Remove support for unnecessary DUK_USE_USER_DECLARE config option, use
  configure.py fixup line/file instead (GH-2123)

* Remove ncurses dependency from the eventloop example, add a new example
  for running a lot of timers, improve init error reporting (GH-2126,
  GH-2128)

* Add --no-auto-complete option to 'duk' to disable linenoise auto
  completion (GH-2131)

* Add support for keeping an array's internal array part in
  Object.defineProperty(), previously the array part was always
  abandoned if an array index was defined using Object.defineProperty()
  (even if property attributes were correct) (GH-2146)

* Rework some internal property handling call sites and helpers to e.g.
  avoid inheriting internal properties when not intended (GH-2149)

* Improve assertion coverage for internal structures during mark-and-sweep
  (GH-2092)

* Fix incorrect parsing of post-increment/post-decrement followed by
  division (e.g. "z++ / 20"), the slash was interpreted as beginning
  a regexp (GH-2140)

* Fix incorrect handling of zero-length dynamic buffer in base-64 fast path
  decoder (GH-2027, GH-2088)

* Fix Object.getOwnPropertySymbols() behavior for the virtual properties
  of arrays, Strings, and buffer objects: string keys were incorrectly
  included in the result (GH-1978, GH-1979)

* Fix Date .setTime(), setYear(), etc behavior for a frozen Date instance;
  they should be allowed, but were rejected with a TypeError (GH-2149)

* Fix compile error (missing DUK_DCERROR_UNSUPPORTED macro) when compiling
  with RegExp support disabled (GH-1990, GH-1991)

* Fix configure.py -D option to accept parenthesized macros, e.g.
  '-DFOO(bar)=quux', which were used in some examples but were not
  actually functional (GH-2013, GH-2014)

* Fix error handling corner case when a property-based call (foo.bar())
  caused an error and Duktape.errCreate returned a callable value (such
  as Float64Array); this caused an assertion failure (GH-2061, GH-2087)

* Fix coercion of +'+' and +'-' to NaN instead of 0 (GH-2019, GH-2134)

* Fix possible out-of-memory in call stack unwind by preallocating the
  environment property table on creation (GH-476, GH-2021, GH-2106)

* Fix possibility for unbounded native recursion without call stack limit
  backstop when call handling triggers a Proxy trap (GH-2032, GH-2108)

* Fix several assertion failures with possible memory unsafe behavior
  (GH-2022, GH-2023, GH-2024, GH-2025, GH-2026, GH-2031, GH-2033, GH-2035,
  GH-2036, GH-2065, GH-2115, GH-2138, GH-2146)

* Fix incorrect assertion with no underlying bug for resolving bound
  function chains with a Proxy object (rather than a plain function)
  as the final non-bound function (GH-2049, GH-2103)

* Fix incorrect assertion with no underlying bug for "thr == heap_thread"
  during heap destruction finalizer runs; the assert is untrue when a
  finalizer (executed during heap destruction) resumes a coroutine (GH-2030,
  GH-2132, GH-2133)

* Fix compile error for extras/eventloop due to missing a header file
  (c_eventloop.h) in the dist package (GH-2090)

* Fix CBOR decoding of text strings and byte strings with a lot of
  concatenated pieces in the CBOR extra (GH-2093)

* Fix CBOR decoding of (ignored) 64-bit tags in the CBOR extra (GH-2095)

* Fix a CBOR encoding wrap check in the CBOR extra (GH-2121)

* Trivial fixes and cleanups: Windows Date provider return code check
  consistency (GH-1956)

* Fix MSVC ARM64 detection (GH-2078)

* Use GCC (>= 5.0) and Clang builtin bswap macros, add internal DUK_BSWAP64()
  macro (GH-2122)

* Short term workaround for a noreturn-related issue with GCC 5+ (GH-2155)
  where some internal duk_require_constructor_call() calls are entirely
  missing in compiler output in certain circumstances (GCC 5+, noreturn
  attributes enabled, debugger support enabled); the workaround is to
  disable noreturn macros for GCC 5+ for now (GH-2156)

* Various portability fixes (GH-1931, GH-1976)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/duktape/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/duktape/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/libduktape/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/libduktape/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/duktape/Makefile
diff -u pkgsrc/lang/duktape/Makefile:1.4 pkgsrc/lang/duktape/Makefile:1.5
--- pkgsrc/lang/duktape/Makefile:1.4    Mon Jun 24 10:59:42 2019
+++ pkgsrc/lang/duktape/Makefile        Tue Mar 24 13:49:11 2020
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2019/06/24 10:59:42 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/03/24 13:49:11 nia Exp $
 
-DISTNAME=      duktape-2.3.0
+DISTNAME=      duktape-2.5.0
 CATEGORIES=    devel
-MASTER_SITES=  http://duktape.org/
+MASTER_SITES=  https://duktape.org/
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -18,5 +18,4 @@ do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/duk ${DESTDIR}${PREFIX}/bin
 
 .include "../../lang/libduktape/buildlink3.mk"
-
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/lang/duktape/distinfo
diff -u pkgsrc/lang/duktape/distinfo:1.3 pkgsrc/lang/duktape/distinfo:1.4
--- pkgsrc/lang/duktape/distinfo:1.3    Wed Mar 20 18:29:20 2019
+++ pkgsrc/lang/duktape/distinfo        Tue Mar 24 13:49:11 2020
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2019/03/20 18:29:20 agc Exp $
+$NetBSD: distinfo,v 1.4 2020/03/24 13:49:11 nia Exp $
 
-SHA1 (duktape-2.3.0.tar.xz) = 1d0edbb757b16f85bcf916b66c605103f736b4ff
-RMD160 (duktape-2.3.0.tar.xz) = 3e90960d43a93909aadacd6cfc5ae642f057f483
-SHA512 (duktape-2.3.0.tar.xz) = ec6b88549948c7f68f0ae8e54b16240c148fcc0d976fc7004b9d29c67652abbc659429ecb102c6e386809463ed99e5c76d636ec6ec632af4abca46d4cb03e834
-Size (duktape-2.3.0.tar.xz) = 997572 bytes
+SHA1 (duktape-2.5.0.tar.xz) = d91e1982f707cb0b7be42f1f11cf00e972465319
+RMD160 (duktape-2.5.0.tar.xz) = 723132dc4c51cae75b48314463d9aa6d019485bd
+SHA512 (duktape-2.5.0.tar.xz) = 230e298a91cb48407d7c2a4b7c85cf9d53151d550e2fd7ba6cb8f9115682abce295fb78a3c3cd22b4812ce86944dd6d28c2b25c3845668a17232e3a08ea63837
+Size (duktape-2.5.0.tar.xz) = 1031188 bytes
 SHA1 (patch-Makefile.cmdline) = 8e19c38b6da425c3fcff644987c0ab6c92b4b1d2

Index: pkgsrc/lang/libduktape/Makefile
diff -u pkgsrc/lang/libduktape/Makefile:1.4 pkgsrc/lang/libduktape/Makefile:1.5
--- pkgsrc/lang/libduktape/Makefile:1.4 Mon Jun 24 10:59:42 2019
+++ pkgsrc/lang/libduktape/Makefile     Tue Mar 24 13:49:11 2020
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2019/06/24 10:59:42 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/03/24 13:49:11 nia Exp $
 
-DISTNAME=      duktape-2.3.0
+DISTNAME=      duktape-2.5.0
 PKGNAME=       lib${DISTNAME}
 CATEGORIES=    devel
-MASTER_SITES=  http://duktape.org/
+MASTER_SITES=  https://duktape.org/
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/lang/libduktape/distinfo
diff -u pkgsrc/lang/libduktape/distinfo:1.3 pkgsrc/lang/libduktape/distinfo:1.4
--- pkgsrc/lang/libduktape/distinfo:1.3 Wed Mar 20 18:29:20 2019
+++ pkgsrc/lang/libduktape/distinfo     Tue Mar 24 13:49:11 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2019/03/20 18:29:20 agc Exp $
+$NetBSD: distinfo,v 1.4 2020/03/24 13:49:11 nia Exp $
 
-SHA1 (duktape-2.3.0.tar.xz) = 1d0edbb757b16f85bcf916b66c605103f736b4ff
-RMD160 (duktape-2.3.0.tar.xz) = 3e90960d43a93909aadacd6cfc5ae642f057f483
-SHA512 (duktape-2.3.0.tar.xz) = ec6b88549948c7f68f0ae8e54b16240c148fcc0d976fc7004b9d29c67652abbc659429ecb102c6e386809463ed99e5c76d636ec6ec632af4abca46d4cb03e834
-Size (duktape-2.3.0.tar.xz) = 997572 bytes
+SHA1 (duktape-2.5.0.tar.xz) = d91e1982f707cb0b7be42f1f11cf00e972465319
+RMD160 (duktape-2.5.0.tar.xz) = 723132dc4c51cae75b48314463d9aa6d019485bd
+SHA512 (duktape-2.5.0.tar.xz) = 230e298a91cb48407d7c2a4b7c85cf9d53151d550e2fd7ba6cb8f9115682abce295fb78a3c3cd22b4812ce86944dd6d28c2b25c3845668a17232e3a08ea63837
+Size (duktape-2.5.0.tar.xz) = 1031188 bytes



Home | Main Index | Thread Index | Old Index