Sami Vaarala
57d5c2cf31
Minor JSON improvements
* Add 'json' to function names for consistency, e.g. duk__dec_xxx() to
duk__json_dec_xxx().
* Remove 'JSON' from recursion limit error messages, it is usually
apparent from the context and can be shared by CBOR encode/decode.
4 years ago
Sami Vaarala
c011f78c29
Merge pull request #2339 from svaarala/makefile-cleanup
Makefile cleanup, build/ and dist/ directories
4 years ago
Sami Vaarala
e8a47e2980
Reduce alloc related debug logs
Reduce alloc debug logs for zero size allocs and forced GC during
heap init (which is expected).
4 years ago
Sami Vaarala
2593fe41b9
Makefile cleanups for build and dist directories
4 years ago
Sami Vaarala
a4f82a56ad
Merge pull request #2337 from svaarala/add-deps-dir
Move external dependencies to deps/
4 years ago
Sami Vaarala
1ba1854f85
Move external dependencies to deps/
4 years ago
Sami Vaarala
e919442a8a
Merge pull request #2332 from svaarala/fix-assert-gh2204
Fix dangling pointer in coroutine yield()
4 years ago
Sami Vaarala
6a951ff023
Merge pull request #2331 from svaarala/more-ubuntu-build-tests
Build a few more targets in build test
4 years ago
Sami Vaarala
e346481942
Fix dangling pointer in coroutine yield()
4 years ago
Sami Vaarala
9a511b9b6c
Build a few more targets in build test
4 years ago
Sami Vaarala
8860ca94be
Merge pull request #2329 from svaarala/fuzzilli-initial-cleanup
Fuzzilli integration minor cleanups
4 years ago
Sami Vaarala
cd51cdccb4
Fuzzilli integration minor cleanups
4 years ago
Sami Vaarala
7cbbcfe74e
Merge pull request #2321 from WilliamParks/fuzzilli
Base integration of duktape with the Fuzzilli Javascript engine fuzzer
4 years ago
WilliamParks
a9091c51e4
Integration of duktape with the Fuzzilli Javascript engine fuzzer
5 years ago
Sami Vaarala
dabac2db27
Merge pull request #2326 from svaarala/fix-assert-gh2207
Fix Proxy ownKeys() postprocess array index bug
4 years ago
Sami Vaarala
08be9679e7
Fix Proxy ownKeys() postprocess array index bug
Triggered when Array.prototype has index properties, e.g. a setter.
4 years ago
Sami Vaarala
132c5fbcc5
Merge pull request #2325 from svaarala/fix-assert-gh2203
Fix RegExp exec() result inherited index handling
4 years ago
Sami Vaarala
565f2273ad
Fix RegExp exec() result inherited index handling
4 years ago
Sami Vaarala
1516ca6d39
Merge pull request #2324 from svaarala/fix-assert-gh2202
Fix JSON.stringify() inherited array index bug
4 years ago
Sami Vaarala
1f2adabc1e
Fix JSON.stringify() inherited array index bug
4 years ago
Sami Vaarala
d500048403
Merge pull request #2323 from svaarala/fix-putvar-ptrstab
Fix unstable valstack pointer in putprop
4 years ago
Sami Vaarala
4ba871a65b
Fix unstable valstack pointer in putprop
Input 'val' pointer may be a value stack pointer, which may become
stale if the variable lookup reallocates the current value stack.
This can happen e.g. in a with(proxy).
4 years ago
Sami Vaarala
798d3a2473
Merge pull request #2322 from svaarala/fix-enum-assert-gh2315
Fix hash part handling in enum sorting
4 years ago
Sami Vaarala
26706e261e
Fix hash part handling in enum sorting
If enum temporary object has a hash part, in-place key sorting
invalidates that hash. The fix is to rebuild the hash after
sorting keys.
4 years ago
Sami Vaarala
aa81a68c8f
Merge pull request #2320 from svaarala/fix-string-endswith-memcmp
Fix memcmp() pointer overflow in string builtin
4 years ago
Sami Vaarala
334612fa35
Fix memcmp() pointer overflow in string builtin
4 years ago
Sami Vaarala
51e49c7e74
Merge pull request #2318 from svaarala/cbor-encode-assert-gh2316
Fix CBOR.encode() assertion failure
4 years ago
Sami Vaarala
430d9f2a61
Fix CBOR.encode() assertion failure
4 years ago
Sami Vaarala
0e4d5044dc
Merge pull request #2317 from svaarala/new-prop-getown
Add rewritten prop [[GetOwnProperty]] code draft
4 years ago
Sami Vaarala
5ac6a6c595
Add rewritten prop [[GetOwnProperty]] code draft
4 years ago
Sami Vaarala
c91bcc9b1c
Merge pull request #2313 from svaarala/api-duk-is-nullish
Rename duk_is_null_or_undefined() to duk_is_nullish()
5 years ago
Sami Vaarala
5eb1876cb8
Add duk_is_nullish()
Rename duk_is_null_or_undefined() to duk_is_nullish() to better match
current ECMAScript terminology. Keep duk_is_null_or_undefined() as a
deprecated API macro. Add internal DUK_TVAL_IS_NULLISH().
5 years ago
Sami Vaarala
36ad5d5841
Merge pull request #2310 from svaarala/new-prop-defprop
Add rewritten [[DefineProperty]] code draft
5 years ago
Sami Vaarala
07d35110cc
Add rewritten [[DefineProperty]] code draft
5 years ago
Sami Vaarala
e2f03aa68d
Merge pull request #2309 from svaarala/new-prop-delete
Add rewritten property [[Delete]] code draft
5 years ago
Sami Vaarala
d9f70e8b5a
Add rewritten property [[Delete]] code draft
5 years ago
Sami Vaarala
10486db548
Merge pull request #2305 from svaarala/new-prop-set
Add rewritten property [[Set]] code draft
5 years ago
Sami Vaarala
7bf912ba84
Add rewritten property [[Set]] code draft
5 years ago
Sami Vaarala
3ad722f0aa
Merge pull request #2301 from svaarala/github-actions-windows-build
Add VS2019 build to Github Actions
5 years ago
Sami Vaarala
a9c0d19a59
Add VS2019 build to Github Actions
5 years ago
Sami Vaarala
52aadda3e3
Merge pull request #2300 from svaarala/js-tooling-util-trivia
JS tooling util trivia fixes
5 years ago
Sami Vaarala
cf5febae41
JS tooling util trivia fixes
5 years ago
Sami Vaarala
8e220551db
Merge pull request #2299 from svaarala/makefile-uglifyjs-cleanup
Update UglifyJS dependency
5 years ago
Sami Vaarala
2cd6f45587
Update UglifyJS dependency
Update to UglifyJS 3.9.2, and use a forked repo to avoid a sudden
break in the future.
5 years ago
Sami Vaarala
477d494473
Merge pull request #2297 from svaarala/deprecate-releases-rst
Deprecate RELEASES.rst
5 years ago
Sami Vaarala
89b546967c
Deprecate RELEASES.rst
Use releases.yaml from now on.
5 years ago
Sami Vaarala
f99d27484e
Merge pull request #2290 from svaarala/fix-oom-creating-error
Restore creating_error after mark-and-sweep
5 years ago
Sami Vaarala
6c051f06e1
Restore creating_error after mark-and-sweep
5 years ago
Sami Vaarala
d3e56db1b5
Merge pull request #2288 from svaarala/macos-etc-os-string-improve
Improve macOS, iOS, watchOS, etc OS string
5 years ago
Sami Vaarala
b608aa7fb2
Improve macOS, iOS, watchOS, etc OS string
5 years ago