Sami Vaarala
1fa31d50b8
Releases: duk_config.h sees DUK_VERSION
8 years ago
Sami Vaarala
0f7c8326d6
Website build DUK_VERSION scraping change
8 years ago
Sami Vaarala
78b0728923
Internal doc updates for duk_api_public.h.in
8 years ago
Sami Vaarala
02e8adcce8
Source reorg for duk_api_public.h.in
* Merge duk_api_public.h.in to duktape.h.in.
* Adjust define order so that duk_config.h sees DUK_VERSION which allows
user config fixups to react to it.
8 years ago
Sami Vaarala
eebc8918b0
Tools/util changes for duk_api_public.h.in
8 years ago
Sami Vaarala
7ec89b65cd
Makefile change for DUK_VERSION scraping
8 years ago
Sami Vaarala
a4b6338508
Merge pull request #1448 from svaarala/side-effect-rework-cleanups
Cleanups for side effect rework
8 years ago
Sami Vaarala
fe9eef1d21
Releases: side effect fixes
8 years ago
Sami Vaarala
8d964eb581
Merge pull request #1458 from svaarala/api-get-opt-xxx
Add duk_opt_xxx() API calls with explicit default for undefined/oob index
8 years ago
Sami Vaarala
439d6c645e
Releases: duk_opt_xxx()
8 years ago
Sami Vaarala
38200f50d8
API docs for duk_opt_xxx() calls
8 years ago
Sami Vaarala
8909b19011
API tests for duk_opt_xxx() API calls
8 years ago
Sami Vaarala
5b04a73ed5
Add duk_opt_xxx() API calls
8 years ago
Sami Vaarala
cbe05e79fa
Merge pull request #1457 from svaarala/allow-markandsweep-during-finalization
Allow mark-and-sweep during finalize_list processing
8 years ago
Sami Vaarala
359f2b13e0
Releases: mark-and-sweep during finalization
8 years ago
Sami Vaarala
51511857dd
Website finalizer guarantee clarifications
8 years ago
Sami Vaarala
83daed3244
Internal doc updates for mark-and-sweep
8 years ago
Sami Vaarala
00042faba1
Test coverage for GC during finalization
8 years ago
Sami Vaarala
49f87b6422
Allow mark-and-sweep during finalizer processing
Tweak mark-and-sweep so that if finalizers are present (heap->finalize_list
is not NULL), rescue decisions are postponed (free decisions are not).
In concrete terms this means that objects normally rescued keep their
FINALIZED flag so that their finalizer won't be called again if the object
turns out to be unreachable in a later run.
8 years ago
Sami Vaarala
cea8458cd1
Merge pull request #1464 from svaarala/compat-table-documentation
Add compat-table links to documentation
8 years ago
Sami Vaarala
eb53ede7f6
Merge pull request #1463 from svaarala/fix-regexp-noncapturing-parse
Fix missing SyntaxError for invalid RegExp groups like /(?Xabc)/
8 years ago
Sami Vaarala
086d94847a
Release checklist: compat-table
8 years ago
Sami Vaarala
ba6bfd7e8d
Add compat-table links to documentation
8 years ago
Sami Vaarala
47d246bd95
Releases: regexp group parsing
8 years ago
Sami Vaarala
1876bb785a
Fix RegExp group SyntaxError handling
8 years ago
Sami Vaarala
476c01b546
Bug test for invalid RegExp group, e.g. (?X...)
8 years ago
Sami Vaarala
d2a433e08e
Merge pull request #1462 from svaarala/releases-tinspire-xopen-source
Releases: Nspire portability
8 years ago
Sami Vaarala
67881ec47e
Releases: Nspire portability
8 years ago
Sami Vaarala
32a8b65a7e
Merge pull request #1461 from Legimet/tinspire-add-xopen-source
Define _XOPEN_SOURCE for Nspire (needed for strptime)
8 years ago
Sami Vaarala
fb6a0db168
Merge pull request #1459 from svaarala/fix-symbol-object-valueof
Fix Symbol object .valueOf() which returned Symbol object instead of plain Symbol
8 years ago
Legimet
ee1d7a9cdd
Define _XOPEN_SOURCE for Nspire (needed for strptime)
8 years ago
Sami Vaarala
0ec8c1699e
Releases: Symbol Object valueOf()
8 years ago
Sami Vaarala
c6f9ee1550
Fix Symbol object .valueOf()
8 years ago
Sami Vaarala
ca6cc2f23f
Add test for Symbol Object .valueOf()
8 years ago
Sami Vaarala
9bbadfd10d
Merge pull request #1442 from svaarala/push-heapptr-unreachable-unfinalized
Allow duk_push_heapptr() for an unreachable but not yet finalized object
8 years ago
Sami Vaarala
9b5d76930f
Releases: duk_push_heapptr() for pending finalizer
8 years ago
Sami Vaarala
8b2e22f12a
API doc update for duk_push_heapptr()
8 years ago
Sami Vaarala
6ef6ece6a3
Allow duk_push_heapptr() for obj pending finalizer
8 years ago
Sami Vaarala
c75c6f2e31
Test for duk_push_heapptr() for not-yet-finalized
8 years ago
Sami Vaarala
1b562eec7e
Merge pull request #1455 from svaarala/markandsweep-finalize-list-temproot
Include finalize_list in mark-and-sweep TEMPROOT handling
8 years ago
Sami Vaarala
8246c63e45
Releases: finalize_list TEMPROOTs
8 years ago
Sami Vaarala
13fee1d008
Makeduk commented out m&s reclimit
8 years ago
Sami Vaarala
111c0eac97
Check finalize_list also for temproots
This wasn't necessary before: finalize_list only contained unreachable
objects so nothing could point to them while we marked heap_allocated.
But when duk_push_heapptr() is allowed to push unreachable pointers
(which are pending finalization), it's possible for an object in
heap_allocated to point to an object on finalize_list, which also means
that the latter object can get a TEMPROOT flag.
8 years ago
Sami Vaarala
86a0b3301f
Merge pull request #1454 from svaarala/shared-object-in-list-asserts
Shared assert helper for 'in heap_allocated'
8 years ago
Sami Vaarala
0d41dba2d0
Releases: ptr-in-heap-allocated
8 years ago
Sami Vaarala
f8384d9520
Shared assert helper for 'in heap_allocated'
8 years ago
Sami Vaarala
0e3fb533be
Merge pull request #1451 from svaarala/fix-finalize-list-refcount-bump
Preincrement refcount on finalize_list insert to avoid refzero for pending objects
8 years ago
Sami Vaarala
7674dba826
Releases: finalizer rework
8 years ago
Sami Vaarala
0edffb70e3
Side effect doc refcount bump note
8 years ago
Sami Vaarala
6aade4f7bf
Bump refcounts on finalize_list insert
8 years ago