Sami Vaarala
6e2a76d283
Merge pull request #1508 from svaarala/misc-longjmp-cleanups
Miscellaneous longjmp handling cleanups
8 years ago
Sami Vaarala
961acdca07
Releases: ENDFIN simplification
8 years ago
Sami Vaarala
a589a843c3
Remove unnecessary ENDFIN value push
8 years ago
Sami Vaarala
e302835c37
Fix out-of-date executor comments (act stability)
8 years ago
Sami Vaarala
39aa260faf
Debugger opcode update for ENDFIN
8 years ago
Sami Vaarala
7f95695d4a
Simplify ENDFIN handling
ENDFIN only needs reg_catch base index (relative to valstack_bottom).
Assertions reference 'cat' catcher but that's not needed at runtime.
8 years ago
Sami Vaarala
3a129312f1
Merge pull request #1503 from svaarala/one-step-bound-functions
Add internal duk_hboundfunc type and collapse bound function chains
8 years ago
Sami Vaarala
35cef0f38c
Releases: duk_hboundfunc, collapse bound chains
8 years ago
Sami Vaarala
83c18e5cc9
Add perf test for Proxy get
Missing from a previous pull.
8 years ago
Sami Vaarala
c9b568eca9
Add perf tests for bound func creation/call
8 years ago
Sami Vaarala
7da139f336
Update type document
* Update for duk_hboundfunc
* Update for duk_hproxy
* Update for duk_henv
8 years ago
Sami Vaarala
84947740d1
Add duk_hboundfunc.h to combine/dist
8 years ago
Sami Vaarala
d9efba09b0
Testcase changes for duk_hboundfunc
8 years ago
Sami Vaarala
3ede444c8c
Add duk_hboundfunc internal type
8 years ago
Sami Vaarala
013623e5a0
Merge pull request #1506 from svaarala/fix-bufobj-slice-assert
Avoid duk_hbufobj validity assert trigger
8 years ago
Sami Vaarala
6de3363127
Releases: duk_hbufobj assert
8 years ago
Sami Vaarala
be5a4d2231
Avoid duk_hbufobj validity assert trigger
duk_hbufobj validity assertions require that if the buf pointer is NULL,
the buffer length and offset are zero. This is violated by the shared
slice code because it sets ->length before allocating a buffer, and since an
allocation may trigger side effects, the assert may trigger in mark-and-sweep.
I don't think this causes issues besides an assert failure.
8 years ago
Sami Vaarala
d32afa2b26
Merge pull request #1504 from svaarala/fix-bound-func-call-nargs-limit
Fix missing duk_require_stack() in bound function call handling
8 years ago
Sami Vaarala
98b57c599b
Releases: bound func value stack reserve
8 years ago
Sami Vaarala
1581417c05
Add missing require stack for bound func handling
8 years ago
Sami Vaarala
3d687cf69c
Add testcase for large bound func arg count
8 years ago
Sami Vaarala
68a23666f7
Merge pull request #1491 from svaarala/add-activation-catcher-minimal-freelist
Add a minimal implementation of activation/catcher freelists
8 years ago
Sami Vaarala
ea9fd976e1
Add placeholder 2.2 release notes file
8 years ago
Sami Vaarala
61b3178558
Releases: catcher/activation freelists
8 years ago
Sami Vaarala
a03494a220
Makeduk config options, commented out
8 years ago
Sami Vaarala
b98bfd60d3
Fix some explicit NULL init bugs
8 years ago
Sami Vaarala
c21ae1a040
Add catcher/activation freelist initial draft
8 years ago
Sami Vaarala
65eec5c448
Config option changes for freelists
8 years ago
Sami Vaarala
c5115032a0
Merge pull request #1502 from svaarala/rom-object-always-reachable
Set REACHABLE for ROM objects to avoid a READONLY check in marking
8 years ago
Sami Vaarala
d5fc905058
Releases: ROM REACHABLE
8 years ago
Sami Vaarala
4c52c793c6
Fix DUK_ASSERT_HTHREAD_VALID() assert
The assert cannot require thr->valstack != NULL (like DUK_ASSERT_CTX_VALID)
or torture tests will trigger the assert.
8 years ago
Sami Vaarala
55645c0f89
Skip ROM objects using REACHABLE in mark-and-sweep
With ROM objects having REACHABLE always set, mark-and-sweep doesn't need a
specific ROM object check when deciding whether to mark an object or not:
the REACHABLE check causes the object not to be marked.
8 years ago
Sami Vaarala
7243aef72b
Set REACHABLE for ROM objects and strings
8 years ago
Sami Vaarala
36878c9638
Merge pull request #1501 from svaarala/releases-duk-push-proxy
Releases: duk_push_proxy()
8 years ago
Sami Vaarala
067f9fc83f
Releases: duk_push_proxy()
8 years ago
Sami Vaarala
d6f4e81823
Merge pull request #1500 from svaarala/duk-hproxy-struct
Add internal duk_hproxy struct
8 years ago
Sami Vaarala
db76025c80
Releases: duk_hproxy
8 years ago
Sami Vaarala
b4a791773c
Testcase changes for duk_hproxy
8 years ago
Sami Vaarala
ad8e313b78
API doc for duk_push_proxy()
8 years ago
Sami Vaarala
6e31419fb6
Add duk_hproxy.h to dist/configure
8 years ago
Sami Vaarala
97724d5d45
Add duk_hproxy internal struct
8 years ago
Sami Vaarala
9e74f47e2c
Merge pull request #1487 from svaarala/duk-activation-linked-list
Rework thr->callstack into a linked list of duk_activations
8 years ago
Sami Vaarala
20d63314ed
Releases: backslash escape fixes
8 years ago
Sami Vaarala
d5e4fcc2f3
Releases: duk_activation linked list
8 years ago
Sami Vaarala
3c55853294
Internal doc fixes for duk_activation changes
8 years ago
Sami Vaarala
ad00c42887
Testcase changes for duk_activation linked list
8 years ago
Sami Vaarala
4cc08436ec
Rework duk_activations into a linked list
Remove thr->callstack as a monolithic array and replace it with a linked list
of duk_activations. thr->callstack_curr is the current call (or NULL if no
call is in progress), and act->parent chains to a previous call or NULL.
thr->callstack_top is kept because it's needed by some internals at present;
it may be removed in the future.
8 years ago
Sami Vaarala
93dfd71343
Merge pull request #1499 from svaarala/cpp-exception-msvc-doc
Add MSVC /EHsc warning to guide
8 years ago
Sami Vaarala
ad76fc115e
Run tidy for generated HTML files too
8 years ago
Sami Vaarala
be446a7e32
Dukweb tidy trivia
8 years ago