Sami Vaarala
51be5d49be
Merge pull request #1164 from svaarala/es6-object-coercion-cleanups
ES6 Object constructor coercion cleanups
8 years ago
Sami Vaarala
b0587b8e5a
Releases: ES6 Object coercion rewording
8 years ago
Sami Vaarala
d2cd1f6a38
2.0 migration notes for ES6 Object constr. policy
8 years ago
Sami Vaarala
0dcbe290a4
Small footprint optimizations for Object/Reflect
8 years ago
Sami Vaarala
4bf048d265
Merge pull request #1161 from svaarala/logging-extra-duktape-act
Use duk_inspect_callstack_entry() in logging extra
8 years ago
Sami Vaarala
3c49de2d2f
Use duk_inspect_callstack_entry() in logging extra
8 years ago
Sami Vaarala
0e94aff187
Merge pull request #1165 from svaarala/v1.5.2-release-prep
Release preparations for 1.5.2 release
8 years ago
Sami Vaarala
439ac8c31b
Add 1.5.2 download link
8 years ago
Sami Vaarala
36a1c59c1c
Releases: add 1.5.2 release
8 years ago
Sami Vaarala
10c3281d4d
Merge pull request #1163 from svaarala/fix-isprototypeof-assert-gh1162
Fix incorrect prototype chain helper assert
8 years ago
Sami Vaarala
9d0e8b9807
Merge pull request #1028 from fatcerberus/es6-object-function-coercion
Align argument policy for Object.keys(), Object.seal(), etc. with ES6
8 years ago
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