duktape 2.6.0.0 → 2.7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/ext/duktape/duk_config.h +17 -12
- data/ext/duktape/duktape.c +11831 -10240
- data/ext/duktape/duktape.h +14 -8
- data/lib/duktape/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0c07bd35700bfc9920c390afc4b53446ab297e6ac4043888c38b988d7307ce4
|
4
|
+
data.tar.gz: d0bfa4bc40608a84b0e0bd480343cb1e8ed2b9a323dc90b1fa34b2266dcece17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce511943157f35b4b6baa103f7fff885ff433776c020eb85dcb0822cb046b04b0ba22641a5c1d3be1d4fbee459991d5a7db186d206f25541f75f42f680771e07
|
7
|
+
data.tar.gz: 129590285212b45ae680ae813acd6f98aa7a3432431407dd8922a6897740909350d23a1ade16def0824305e67b8cef45a10e4f23aa0cd944dfbd9ef0021f1fe2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# ChangeLog
|
2
2
|
|
3
|
+
## v2.7.0.0 (2023-02-12)
|
4
|
+
|
5
|
+
* Upgrade to Duktape v2.7.0
|
6
|
+
|
3
7
|
## v2.6.0.0 (2021-01-31)
|
4
8
|
|
5
9
|
* Upgrade to Duktape v2.6.0
|
@@ -74,4 +78,3 @@
|
|
74
78
|
* Upgraded Duktape to version 2.0.1
|
75
79
|
* ContextError now includes the error message from Duktape
|
76
80
|
* README and CHANGELOG is now included in gem
|
77
|
-
|
data/ext/duktape/duk_config.h
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
/*
|
2
2
|
* duk_config.h configuration header generated by genconfig.py.
|
3
3
|
*
|
4
|
-
* Git commit:
|
5
|
-
* Git describe: v2.
|
6
|
-
* Git branch:
|
4
|
+
* Git commit: 03d4d728f8365021de6955c649e6dcd05dcca99f
|
5
|
+
* Git describe: v2.7.0
|
6
|
+
* Git branch: HEAD
|
7
7
|
*
|
8
8
|
* Supported platforms:
|
9
9
|
* - Mac OSX, iPhone, Darwin
|
@@ -2893,6 +2893,20 @@ typedef struct duk_hthread duk_context;
|
|
2893
2893
|
#error __FAST_MATH__ defined, refusing to compile
|
2894
2894
|
#endif
|
2895
2895
|
|
2896
|
+
/*
|
2897
|
+
* Forced options
|
2898
|
+
*/
|
2899
|
+
|
2900
|
+
#define DUK_USE_DEBUGGER_DUMPHEAP
|
2901
|
+
#define DUK_USE_DEBUGGER_INSPECT
|
2902
|
+
#define DUK_USE_DEBUGGER_SUPPORT
|
2903
|
+
#define DUK_USE_FASTINT
|
2904
|
+
#define DUK_USE_FATAL_HANDLER(udata,msg) do { const char *fatal_msg = (msg); fprintf(stderr, "*** FATAL ERROR: %s\n", fatal_msg ? fatal_msg : "no message"); fflush(stderr); *((volatile unsigned int *) 0) = (unsigned int) 0xdeadbeefUL; abort(); } while(0)
|
2905
|
+
#define DUK_USE_INTERRUPT_COUNTER
|
2906
|
+
#define DUK_USE_JSON_STRINGIFY_FASTPATH
|
2907
|
+
#define DUK_USE_SELF_TESTS
|
2908
|
+
#define DUK_USE_TARGET_INFO "duk command built from Duktape repo"
|
2909
|
+
|
2896
2910
|
/*
|
2897
2911
|
* Autogenerated defaults
|
2898
2912
|
*/
|
@@ -2931,10 +2945,7 @@ typedef struct duk_hthread duk_context;
|
|
2931
2945
|
#undef DUK_USE_DATE_PARSE_STRING
|
2932
2946
|
#undef DUK_USE_DATE_PRS_GETDATE
|
2933
2947
|
#undef DUK_USE_DEBUG
|
2934
|
-
#undef DUK_USE_DEBUGGER_DUMPHEAP
|
2935
|
-
#undef DUK_USE_DEBUGGER_INSPECT
|
2936
2948
|
#undef DUK_USE_DEBUGGER_PAUSE_UNCAUGHT
|
2937
|
-
#undef DUK_USE_DEBUGGER_SUPPORT
|
2938
2949
|
#define DUK_USE_DEBUGGER_THROW_NOTIFY
|
2939
2950
|
#undef DUK_USE_DEBUGGER_TRANSPORT_TORTURE
|
2940
2951
|
#define DUK_USE_DEBUG_BUFSIZE 65536L
|
@@ -2966,9 +2977,7 @@ typedef struct duk_hthread duk_context;
|
|
2966
2977
|
#undef DUK_USE_EXPLICIT_NULL_INIT
|
2967
2978
|
#undef DUK_USE_EXTSTR_FREE
|
2968
2979
|
#undef DUK_USE_EXTSTR_INTERN_CHECK
|
2969
|
-
#undef DUK_USE_FASTINT
|
2970
2980
|
#define DUK_USE_FAST_REFCOUNT_DEFAULT
|
2971
|
-
#undef DUK_USE_FATAL_HANDLER
|
2972
2981
|
#define DUK_USE_FATAL_MAXLEN 128
|
2973
2982
|
#define DUK_USE_FINALIZER_SUPPORT
|
2974
2983
|
#undef DUK_USE_FINALIZER_TORTURE
|
@@ -3004,7 +3013,6 @@ typedef struct duk_hthread duk_context;
|
|
3004
3013
|
#define DUK_USE_HTML_COMMENTS
|
3005
3014
|
#define DUK_USE_IDCHAR_FASTPATH
|
3006
3015
|
#undef DUK_USE_INJECT_HEAP_ALLOC_ERROR
|
3007
|
-
#undef DUK_USE_INTERRUPT_COUNTER
|
3008
3016
|
#undef DUK_USE_INTERRUPT_DEBUG_FIXUP
|
3009
3017
|
#define DUK_USE_JC
|
3010
3018
|
#define DUK_USE_JSON_BUILTIN
|
@@ -3014,7 +3022,6 @@ typedef struct duk_hthread duk_context;
|
|
3014
3022
|
#define DUK_USE_JSON_EATWHITE_FASTPATH
|
3015
3023
|
#define DUK_USE_JSON_ENC_RECLIMIT 1000
|
3016
3024
|
#define DUK_USE_JSON_QUOTESTRING_FASTPATH
|
3017
|
-
#undef DUK_USE_JSON_STRINGIFY_FASTPATH
|
3018
3025
|
#define DUK_USE_JSON_SUPPORT
|
3019
3026
|
#define DUK_USE_JX
|
3020
3027
|
#define DUK_USE_LEXER_SLIDING_WINDOW
|
@@ -3056,7 +3063,6 @@ typedef struct duk_hthread duk_context;
|
|
3056
3063
|
#define DUK_USE_ROM_PTRCOMP_FIRST 63488L
|
3057
3064
|
#undef DUK_USE_ROM_STRINGS
|
3058
3065
|
#define DUK_USE_SECTION_B
|
3059
|
-
#undef DUK_USE_SELF_TESTS
|
3060
3066
|
#define DUK_USE_SHEBANG_COMMENTS
|
3061
3067
|
#undef DUK_USE_SHUFFLE_TORTURE
|
3062
3068
|
#define DUK_USE_SOURCE_NONBMP
|
@@ -3076,7 +3082,6 @@ typedef struct duk_hthread duk_context;
|
|
3076
3082
|
#undef DUK_USE_STRTAB_TORTURE
|
3077
3083
|
#define DUK_USE_SYMBOL_BUILTIN
|
3078
3084
|
#define DUK_USE_TAILCALL
|
3079
|
-
#define DUK_USE_TARGET_INFO "unknown"
|
3080
3085
|
#define DUK_USE_TRACEBACKS
|
3081
3086
|
#define DUK_USE_TRACEBACK_DEPTH 10
|
3082
3087
|
#define DUK_USE_VALSTACK_GROW_SHIFT 2
|