Sami Vaarala
52839b1c78
Merge branch 'nonstd-array-concat'
Change default behavior of Array.prototype.concat() to match (apparently
non-standard) real world behavior of at least V8, Rhino, and Spidermonkey:
When the concat result contains trailing non-existent elements, the E5.1
behavior is to not count them towards the 'length' of the concat result.
The real world behavior is to include them in the result 'length'.
10 years ago
Sami Vaarala
6cb52737c7
Makefile: commented out option for array concat()
10 years ago
Sami Vaarala
b662781083
Release note: Array.prototype.concat() behavior
10 years ago
Sami Vaarala
81a3e4f2e6
Guide doc on array concat() trailer behavior
10 years ago
Sami Vaarala
cc3b1515d5
Add DUK_USE_NONSTD_ARRAY_CONCAT_TRAILER fix
10 years ago
Sami Vaarala
c2576ba00f
Remove non-standard array concat() test
There is now a separate test for the non-standard part of array concat()
behavior, test-bi-array-proto-concat-nonstd-trailing.js.
10 years ago
Sami Vaarala
780f84b360
Improve array concat() trailing element test case
Check that intermediate trailing non-existent elements are handled correctly,
i.e. included in the result.
10 years ago
Sami Vaarala
cb23adb008
Remove obsolete duplicate test case
`test-bi-array-proto-concat-nonstd-trailing.js` covers this case now.
10 years ago
Sami Vaarala
a9f3050c51
Test for array concat() trailing empty elements
10 years ago
Sami Vaarala
7700809559
Ditz issue update
10 years ago
Sami Vaarala
6fff075106
Merge branch 'runtests-error-exitcode'
Make runtests exit with an error code if a testcase fails without having
a known issue or special options metadata.
10 years ago
Sami Vaarala
1db736bed0
Makefile trivia: echo in wrong place
10 years ago
Sami Vaarala
8a18bef5d0
Non-zero exit code for runtests if tests fail
Known errors and testcases requiring special options don't cause a non-zero
exit code.
10 years ago
Sami Vaarala
b57aac1c18
Ditz issue update
10 years ago
Sami Vaarala
902afaf9f7
Merge branch 'disable-fast-return'
Disable fast returns for 1.0 release: they have quite a small speed impact
(10-15%) at present and return handling (and other call handling code) needs
a review anyway.
10 years ago
Sami Vaarala
1d2e0ac261
Incomplete test case for fast return code paths
10 years ago
Sami Vaarala
5f35926b86
Disable fast return paths for 1.0 release
This feature needs some more thought and has somewhat minimal performance
impact at present (10-15%) over the longjmp path. The better approach may
be to handle every return as a "fast return" and fall back to a longjmp in
special cases like thread yields and such.
10 years ago
Sami Vaarala
1bee11f87c
Test case trivia (semicolons)
10 years ago
Sami Vaarala
7698149ab2
FIXME note
10 years ago
Sami Vaarala
26fbb897f4
Fast return handling draft
10 years ago
Sami Vaarala
1c121809b6
Merge branch 'gh-39-testcase'
Add testcase for GH-39. The test will fail for now: passing it requires some
regexp leniency outside the E5 requirements.
10 years ago
Sami Vaarala
a09c2a172e
Testcase for GH-39
10 years ago
Sami Vaarala
a69453d572
Merge branch 'fixme-cleanup'
Resolve some FIXMEs and degrade others to XXX (not release blockers).
10 years ago
Sami Vaarala
03f275be6f
FIXME cleanup
10 years ago
Sami Vaarala
48e15e16ed
FIXME cleanup for a few API primitives
Impose a valstack_max check for duk_xmove() to ensure wrapping is not
possible.
10 years ago
Sami Vaarala
92abbb2dcd
API testcase fix for changed error message
10 years ago
Sami Vaarala
35ff9fcb64
FIXME cleanup
10 years ago
Sami Vaarala
d9b8a03451
FIXME cleanup
10 years ago
Sami Vaarala
e81caf20c4
FIXME cleanup: 'anon' string
10 years ago
Sami Vaarala
08415d6c08
FIXME cleanups
10 years ago
Sami Vaarala
a3c376fc8c
Indent trivia
10 years ago
Sami Vaarala
41afe40761
FIXME cleanups
10 years ago
Sami Vaarala
9aa92eea41
Remove duk_api_thread.c from Makefile and dist
10 years ago
Sami Vaarala
9d94572334
Remove duk_api_thread.c empty file
10 years ago
Sami Vaarala
0a6c3f2a1d
FIXME cleanups
10 years ago
Sami Vaarala
06ece2a447
FIXME cleanups
10 years ago
Sami Vaarala
1abcb3e4f5
Merge branch 'minimize-string-data'
Minimization process not complete yet but merge to avoid diverging branches
too much.
10 years ago
Sami Vaarala
26849eb7ca
More strings into duk_strings.c/h
10 years ago
Sami Vaarala
7b6a65cea1
Use duk_strings.c for (mostly) regexp strings
10 years ago
Sami Vaarala
3fd012cf71
Ditz issue update
10 years ago
Sami Vaarala
3c29ce1ffc
Merge branch 'trivia-typo-fix'
10 years ago
Sami Vaarala
da1bee52e1
Fix for confusing typo
10 years ago
Sami Vaarala
c3e6ab6bc3
Ditz issue update
10 years ago
Sami Vaarala
cd0d3e6d88
Ditz issue update
10 years ago
Sami Vaarala
042317de3a
Merge branch 'api-get-set-finalizer'
Add duk_get_finalizer() and duk_set_finalizer() Duktape API calls to allow
user code to get/set finalizer from C code. This is a common need when e.g.
Duktape/C constructors create native objects with finalizers. It may be
awkward to jump into Ecmascript for setting up the finalizer if all the
other code is C.
10 years ago
Sami Vaarala
9f1b7a5898
Release note rewording
10 years ago
Sami Vaarala
9c48bcf205
Release note: duk_{get,set}_finalizer()
10 years ago
Sami Vaarala
f02d4071de
Test case for finalizer reference loop
10 years ago
Sami Vaarala
19a69ec2ea
Improve C finalizer API test case
10 years ago
Sami Vaarala
02df6cc58d
Add API docs for duk_{get,set}_finalizer()
10 years ago