Sami Vaarala
2a51464c49
Releases: Object.isPrototypeOf() memory safety fix
8 years ago
Sami Vaarala
b1a75dc233
Fix prototype chain contains helper h == NULL
8 years ago
Sami Vaarala
9c4cd6532d
Add bug testcase for failing assert (GH-1162)
8 years ago
Bruce Pascoe
31783ba3aa
Releases: ES6 Object argument policy
8 years ago
Bruce Pascoe
592e4bdf7d
Align Object.keys() etc. arg policy with ES6
In ES6, Object.keys(), Object.freeze(), Object.isExtensible(), etc. no
longer reject non-object values with a TypeError, but instead either
ToObject coerce them or treat them as non-extensible objects with no
own properties, depending on the call.
8 years ago
Bruce Pascoe
86b72c9c90
Test fixes for ES6 Object arg policy
8 years ago
Sami Vaarala
04bfc1fb42
Merge pull request #1128 from svaarala/api-duk-push-act
Add C API equivalent for Duktape.act()
8 years ago
Sami Vaarala
f8ef4cc2fe
Releases: inspect calls
8 years ago
Sami Vaarala
0d7bf6c5da
Add hacky tools for lowmemory size graphs
8 years ago
Sami Vaarala
b59f663d91
Website and API doc changes for cs entry inspect
8 years ago
Sami Vaarala
a4ebd6f9e6
API testcase updates
8 years ago
Sami Vaarala
2074c8f746
Add duk_inspect_callstack_entry() API call
8 years ago
Sami Vaarala
c6c32e584a
Merge pull request #1125 from svaarala/duktape-info-object-format
Convert Duktape.info() to return an object
8 years ago
Sami Vaarala
41ffbe92bf
Releases: Duktape.info() object result
8 years ago
Sami Vaarala
a4b06dbcdb
2.0 migration notes for Duktape.info()
8 years ago
Sami Vaarala
e2c2efc7d3
Fix isFastint() polyfill to use revised info()
8 years ago
Sami Vaarala
41bfcafb2a
Testrunner Duktape.info() fix
8 years ago
Sami Vaarala
3b4279d8b2
Testcases for Duktape.info() and duk_inspect_value()
8 years ago
Sami Vaarala
65e711378b
Website and API docs for Duktape.info() changes
8 years ago
Sami Vaarala
614e4ca4a3
Dist/tool changes for duk_api_inspect.c
8 years ago
Sami Vaarala
a162701759
Convert Duktape.info() to return an object
8 years ago
Sami Vaarala
458018a886
Merge pull request #1157 from svaarala/fix-bound-coroutine-assert
Fix bound coroutine resume assert
8 years ago
Sami Vaarala
a21b027e00
Releases: coroutine boundfunc assert
8 years ago
Sami Vaarala
8544c5f0c3
Fix bound coroutine resume assert
8 years ago
Sami Vaarala
506d5413c8
Merge pull request #1155 from svaarala/validate-duk-use-metadata
Add tooling to validate DUK_USE_xxx options in source code
8 years ago
Sami Vaarala
9cbe03b214
Add missing config option metadata file
8 years ago
Sami Vaarala
8146a925bb
Validate DUK_USE_xxx in source against config meta
Also info log about config options which are defined (and not removed) but
don't appear in source code.
8 years ago
Sami Vaarala
1dd448809e
Merge pull request #1146 from svaarala/improve-varmap-dropping
Allow dropping of _Varmap when only safe slow path variable reads are present
8 years ago
Sami Vaarala
2a2782432c
Releases: _Varmap dropping in more cases
8 years ago
Sami Vaarala
af1bca7696
Testcases for _Varmap and _Formals dropping
8 years ago
Sami Vaarala
8e5da76ee0
Improve _Varmap and _Formals dropping, initial bc
Previously _Varmap was kept if any slow path accesses were made. Improve this
behavior so that, in the absence of eval() etc, safe slow path accesses are
allowed while still dropping the _Varmap. A safe slow path access is one that
doesn't match any of the statically declared variables in the function so that
(again assuming no new variables are declared by e.g. eval()) the varmap won't
be needed at runtime.
Allow dropping of _Formals even in presence of eval() or a potentially
dangerous slow path access if _Formals is empty *and* _Formals.length matches
nargs so that .length computation works out even without _Formals.
Also reduce initial bytecode allocation from 2kB to 256 bytes when
DUK_USE_PREFER_SIZE is defined (in absence of a more specific define).
8 years ago
Sami Vaarala
3badb0bd03
Merge pull request #1154 from svaarala/fix-array-push-fastpath-retval
Fix Array .push() fast path return value
8 years ago
Sami Vaarala
af7f68a360
Releases: Array .push() fast path
8 years ago
Sami Vaarala
198612901d
Test262 known issues update, array fastpath
8 years ago
Sami Vaarala
62088773eb
Fix Array .push() fastpath return value
8 years ago
Sami Vaarala
88f20fc411
Bug testcase for Array .push() fastpath bug
8 years ago
Sami Vaarala
aaaddcc28d
Merge pull request #1134 from svaarala/allow-bound-func-for-thread
Allow bound function as initial Duktape.Thread function
8 years ago
Sami Vaarala
5aaec337db
Releases: Thread bound function
8 years ago
Sami Vaarala
a317a5a2b4
Website fixes for bound .name, Thread constructor
8 years ago
Sami Vaarala
e2636bedd0
Tests for Duktape.Thread bound/native initial func
8 years ago
Sami Vaarala
4c8f675c47
Allow bound function as Thread initial function
8 years ago
Sami Vaarala
6ad71abb1c
Merge pull request #1152 from svaarala/more-varint-initdata
Use varuint encoding for more initdata fields
8 years ago
Sami Vaarala
1196b55591
Releases: more initdata varuint
8 years ago
Sami Vaarala
237090ad8e
Update debugger classnames metadata
8 years ago
Sami Vaarala
7914e4f26d
Testcase fix for internal class number changes
8 years ago
Sami Vaarala
d3b568b722
Use varuint for more initdata encodings
8 years ago
Sami Vaarala
9f734d3434
Genbuiltins.py varuint encoding tweaks
8 years ago
Sami Vaarala
47b96b2cbe
Merge pull request #1151 from svaarala/varint-bits-initdata
Use a shared varuint bit-packed type for some built-ins initdata fields
8 years ago
Sami Vaarala
a79aa870e3
Releases: varuint bitpacked initdata
8 years ago
Sami Vaarala
29f8be5830
Use varuint for a few built-ins initdata items
8 years ago