Sami Vaarala
23e5abc87d
Make bufferobject BIDXs optional when disabled
8 years ago
Sami Vaarala
ed703be8c8
Disable Math built-in for stripped build
8 years ago
Sami Vaarala
55bc130f1b
Add bidx: true entries for ROM example metadata
8 years ago
Sami Vaarala
eb9c74e168
Add present_if tags for Proxy, bufferobjects, etc.
8 years ago
Sami Vaarala
858bcb4ca6
Add configure support for truly optional built-ins
* Add genconfig.py support for producing an "active options" JSON file at the
end of genconfig processing. The JSON file indicates which config options
are known to be present (any non-false value) or absent (false or #undef).
* Add support for 'present_if' keys for objects and properties. If the
corresponding config option is certain to be false, drop the object/property
as if it was disabled.
* Remove objects from "needs bidx" list if they're disabled.
Limitations:
* The active options scanning is based on config metadata defaults and forced
overrides. It doesn't account for fixups which cannot be handled reliably
because fixups may include further headers that tweak DUK_USE_xxx options.
A small improvement would be to base "active options" on scanning the final
header for #define's and #undef's and figure out which were certain to be
unconditional.
8 years ago
Sami Vaarala
41256dd01b
Merge pull request #986 from svaarala/computed-literal-documentation
Website updates for computed property names
8 years ago
Sami Vaarala
8d7899bda8
Dist README computed property names
8 years ago
Sami Vaarala
62adcc9949
Website update for computed property names
8 years ago
Sami Vaarala
6e4e914d28
Merge pull request #985 from svaarala/es6-computed-property-name-object-literal
Add ES6 computed property name support
8 years ago
Sami Vaarala
c12f10691b
Releases: ES6 computed property names
8 years ago
Sami Vaarala
10c8d5e342
Add ES6 computed property name testcase
8 years ago
Sami Vaarala
a37f963a1d
Add ES6 computed property name support
8 years ago
Sami Vaarala
fec3717a97
Merge pull request #984 from svaarala/api-remove-to-defaultvalue
Remove duk_to_defaultvalue() API call
8 years ago
Sami Vaarala
43176007dc
Releases: duk_to_defaultvalue() removal
8 years ago
Sami Vaarala
9418ad71bc
2.0 migration for duk_to_defaultvalue() removal
8 years ago
Sami Vaarala
d9b058eaa7
v1-compat extra buffer related fix
8 years ago
Sami Vaarala
fbce0094f9
Add duk_to_defaultvalue() to v1 compat extra
8 years ago
Sami Vaarala
2bba57cc8a
Internal doc fixes for [[DefaultValue]]
8 years ago
Sami Vaarala
8bc09a0f3a
Remove duk_to_defaultvalue() API doc
8 years ago
Sami Vaarala
48bc8a82ae
Cmdline example fix for [[DefaultValue]]
8 years ago
Sami Vaarala
0dab48f16d
Testcase updates for duk_to_defaultvalue() removal
8 years ago
Sami Vaarala
ae8b142669
Remove duk_to_defaultvalue()
Fold the implementation to duk_to_primitive() as it's also specified in
ES6 (as opposed to ES5.1).
8 years ago
Sami Vaarala
d1d4b2879e
Merge pull request #973 from svaarala/norz-macro-tweaks
Further refcount norz macro tweaks
8 years ago
Sami Vaarala
428f2f6154
Releases: more refcount optimization
8 years ago
Sami Vaarala
1064daa3ef
Further refcount norz macro tweaks
9 years ago
Sami Vaarala
44f80fea8d
Misc compiler warning fixes
8 years ago
Sami Vaarala
d625e83531
Performance test trivia fixes
8 years ago
Sami Vaarala
83ea6d2bb8
Merge pull request #977 from svaarala/regexp-executor-size
Minor regexp executor/compiler optimization
8 years ago
Sami Vaarala
c1f1d1df0a
Releases: RegExp optimization
8 years ago
Sami Vaarala
6a6376519a
Shared character class matcher code
8 years ago
Sami Vaarala
e381591808
Regexp compiler shared range match emitter
8 years ago
Sami Vaarala
4ca79a71b8
Minor regexp executor optimization
Shared check for end-of-input, eliminate a few unnecessary comparisons.
8 years ago
Sami Vaarala
41c701ce8b
Merge pull request #978 from svaarala/fix-regexp-zero-buffer-assumption
Fix regexp executor zero buffer assumption
8 years ago
Sami Vaarala
3bed295db4
Releases: regexp zero buffer assumption
8 years ago
Sami Vaarala
90f77d7152
Fix regexp zeroed buffer data assumption
8 years ago
Sami Vaarala
d162b6407f
Add testcase for regexp zero buffer assumption
8 years ago
Sami Vaarala
05acadc53d
Merge pull request #976 from svaarala/norz-rom-fix
Fix duk_tval decref precheck for ROM objects
8 years ago
Sami Vaarala
983ce88e80
Fix duk_tval decref precheck for ROM objects
8 years ago
Sami Vaarala
fabeb16a51
Merge pull request #974 from svaarala/regexp-optimizations
Minor optimizations to RegExp compilation and execution
8 years ago
Sami Vaarala
24f1591a7b
Releases: regexp optimization
8 years ago
Sami Vaarala
e2f4ca34a1
Fix obsolete regfuzz-0.1.tar.gz download URI
8 years ago
Sami Vaarala
73977997bb
Perf tests for regexp compile and execute
8 years ago
Sami Vaarala
bce3cc3651
Minor improvement to regexp compile/execute perf
8 years ago
Sami Vaarala
41a81777f3
Merge pull request #443 from svaarala/add-norz-macros
Add some NORZ (no-refzero free) refcount macros
8 years ago
Sami Vaarala
96419c241c
Releases: norz macros
8 years ago
Sami Vaarala
03420e54c4
Add some NORZ (no-refzero free) refcount macros
9 years ago
Sami Vaarala
f0ecfb1841
Add another object garbage perf test case
8 years ago
Sami Vaarala
393ee227b7
Merge pull request #970 from svaarala/switch-to-xoroshiro128plus
Switch to xoroshiro128+ for built-in PRNG
8 years ago
Sami Vaarala
7db1755448
Merge pull request #972 from svaarala/footprint-doc-fix
Low memory doc trivia
8 years ago
Sami Vaarala
e758dea070
Low memory doc trivia
9 years ago