Sami Vaarala
9228e9d7bf
Releases: stack reallocs in finalizer torture
8 years ago
Sami Vaarala
cc02912201
Forced stack reallocs in finalizer torture
9 years ago
Sami Vaarala
97ea26d51e
Merge pull request #1453 from svaarala/fix-duk-inspect-stale-tv
Fix duk_api_inspect() stale 'tv' pointer
8 years ago
Sami Vaarala
f5529d2e7c
Releases: duk_inspect_value() stale 'tv'
8 years ago
Sami Vaarala
71a05b79ce
Fix duk_api_inspect() stale 'tv' pointer
A pointer to the value stack was obtained before duk_push_bare_object()
and used after the push. If value stack resize happens as a side effect
of the push (mark-and-sweep, finalizers, etc) the 'tv' pointer could be
stale. Found using torture tests.
8 years ago
Sami Vaarala
5ef5eecd57
Merge pull request #1450 from svaarala/remove-compile-flag-translation
Remove duk_compile() flag translation
8 years ago
Sami Vaarala
1981f56fe8
Releases: avoid DUK_COMPILE_xxx flag translation
8 years ago
Sami Vaarala
e11753082f
Use DUK_COMPILE_xxx flags are internally
Avoids unnecessary translation.
8 years ago
Sami Vaarala
1304fe039a
Merge pull request #1452 from svaarala/module-node-shebang-support
Add shebang support to module-node
8 years ago
Sami Vaarala
f4b233661b
Releases: module-node shebang
8 years ago
Sami Vaarala
919527f3c2
Add shebang support to module-node
duk_compile() + DUK_COMPILE_SHEBANG is not enough for modules because there is
a module function wrapper which offsets the shebang in the module source when
Duktape actually sees it.
8 years ago
Sami Vaarala
d8066faf86
Merge pull request #1380 from svaarala/add-shebang-comment-syntax
Add shebang comment parsing
8 years ago
Sami Vaarala
221373eac0
Releases: shebang comment
8 years ago
Sami Vaarala
65fc808d92
Website shebang comment note
8 years ago
Sami Vaarala
3f1317bf35
API doc for DUK_COMPILE_SHEBANG
8 years ago
Sami Vaarala
a7df4ad91b
Allow shebang for 'duk' compile inputs
8 years ago
Sami Vaarala
88150a42ce
Test coverage for shebang comments
8 years ago
Sami Vaarala
cb1c8957d4
Add shebang comment parsing (on first line only)
8 years ago
Sami Vaarala
c9a4f73fdf
Config option for shebang comments
8 years ago
Sami Vaarala
074321639f
Merge pull request #1427 from svaarala/rework-side-effect-handling
Rework refzero, finalizer, and side effect handling
8 years ago
Sami Vaarala
2262bbc12a
Releases: side effect rework
8 years ago
Sami Vaarala
f19f751a8d
Add draft 2.1.0 release notes
8 years ago
Sami Vaarala
d382a87a7a
Uniform exit code (1) for 'duk' errors
8 years ago
Sami Vaarala
45ca00d53b
Add a minimal Travis error injection test
Prototype with heap allocation error injection which is a typical cold
path that is difficult to exercise in a black box fashion.
8 years ago
Sami Vaarala
6ab207d6df
Website finalizer clarifications
8 years ago
Sami Vaarala
d73c9e98b4
Dist/config changes for source files
8 years ago
Sami Vaarala
7c3655df7e
Build option changes for side effect rework
8 years ago
Sami Vaarala
55dbf32393
Rework side effect protections and finalization
Several small reworks in refzero, finalizer, mark-and-sweep, and error
handling to avoid side effect issues.
8 years ago
Sami Vaarala
2f4ac2865d
Config option changes for side effect reworks
8 years ago
Sami Vaarala
769aa39ef2
Testcase changes for side effect reworks
8 years ago
Sami Vaarala
51ba439c5a
Internal docs for side effect reworks
* Add a separate side effects document giving some background details.
* Release checklist update for torture options.
8 years ago
Sami Vaarala
3416196751
Merge pull request #1447 from svaarala/releases-1.8-prng-mixin
Releases: 1.8 PRNG Date mix-in
8 years ago
Sami Vaarala
9bc38f5845
Releases: 1.8 prng mixin
8 years ago
Sami Vaarala
57d5e0c665
Merge pull request #1441 from svaarala/global-binding-configurable
Global binding configurable and disabled by default
8 years ago
Sami Vaarala
4b0a68f6f5
Releases: global experimental
8 years ago
Sami Vaarala
288d837195
Add global binding to 'duk' test config
8 years ago
Sami Vaarala
a94be8e0bd
Make global conditional to DUK_USE_GLOBAL_BINDING
8 years ago
Sami Vaarala
0e40d04ecb
Add DUK_USE_GLOBAL_BINDING config (default false)
8 years ago
Sami Vaarala
06bf2de725
Merge pull request #1438 from svaarala/html-comment-syntax-cleanups
HTML comment syntax trivia
8 years ago
Sami Vaarala
77a7e66154
Releases: HTML comment syntax
8 years ago
Sami Vaarala
045c3cbf0c
Make HTML syntax support conditional
8 years ago
Sami Vaarala
5db187e4c7
Config option for HTML comments
8 years ago
Sami Vaarala
9ab8d5be16
Shared helper for single line comments in lexer
8 years ago
Sami Vaarala
614326dee0
Testcase for (contrived) HTML syntax ambiguity
8 years ago
Sami Vaarala
42342d1654
Merge pull request #1439 from svaarala/runtests-apitest-no-werror
Remove -Werror from runtests.js (apitest)
8 years ago
Sami Vaarala
0938c0bd9f
Tweak make test target a bit
8 years ago
Sami Vaarala
08766e9150
Release checklist: apitest warnings check
8 years ago
Sami Vaarala
748c2630b7
Remove -Werrors for apitest
8 years ago
Sami Vaarala
f7da9624e1
Merge pull request #1436 from tlsa-ct/comment-lexer-tests
Add testcase for comment lexing (including HTML comments)
8 years ago
Sami Vaarala
b0b5cbdd10
Merge pull request #1435 from tlsa-ct/es6-html-style-comments
ES6 HTML Style Comments
8 years ago