Sami Vaarala
981fa3d639
Add repro bug test for GH-2061
6 years ago
Sami Vaarala
caae40844b
Fix GETPROPC error handling corner case
When calling via a property and an error happens during call setup, the
error is delayed to be thrown later on, so that proper ECMAScript side
effect ordering semantics are observed.
Previous approach just created the Error object and marked it with a
special _Target symbol marker property. The code assumed that the Error
was non-callable which would trigger an error path in call handling, and
the special _Target symbol marker would only need to be checked in the
error path.
This overlooked the possibility that a Duktape.errCreate would replace
the non-callable Error object with a callable one, e.g. when one simply
says: Duktape.errCreate = function () { return Float64Array; }.
Modify the approach so that instead of marking the Error object we use
a bare wrapper object which points to the error. This ensures that
any modifications or replacements to the Error itself won't affect the
call error logic.
Also eliminate one unnecessary call argument from the propcall error
setup helper.
6 years ago
Sami Vaarala
64776b8c0f
Merge pull request #2028 from luisbg/master
Fix typo in examples/README.rst
6 years ago
Luis de Bethencourt
3935d569d3
Fix typo in examples/README.rst
6 years ago
Sami Vaarala
f8b128f994
Merge pull request #2085 from svaarala/update-unicode-12.1
Update default Unicode data files to Unicode 12.1.0
6 years ago
Sami Vaarala
826b62f386
Releases: Unicode 12.1.0
6 years ago
Sami Vaarala
9d27d6b76e
Fix testcase expect strings for Unicode 12.1.0
6 years ago
Sami Vaarala
648891b838
Add testcase for SpecialCasings.txt conversion
6 years ago
Sami Vaarala
d380f2d776
Update Unicode data files to Unicode 12.1.0
6 years ago
Sami Vaarala
1d1479786c
Merge pull request #2081 from svaarala/releases-msvc-arm64
Releases update, ARM64 MSVC portability
6 years ago
Sami Vaarala
7e5e45a7d8
Releases update, ARM64 MSVC portability
6 years ago
Sami Vaarala
1c2b044bb6
Merge pull request #2078 from phraemer/support-arm64-with-msvc
Support ARM64 with MSVC
6 years ago
James Swift
730ce40103
Update authors list
6 years ago
James Swift
f69ed564a9
Detect ARM64 with MSVC
For compiling for ARM64 with MSVC
6 years ago
Sami Vaarala
ecc1783449
Merge pull request #2077 from dc6jgk/master
Update AUTHORS.rst
6 years ago
dc6jgk
c58485b98f
added myself to AUTHORS as requested in https://github.com/svaarala/duktape-wiki/pull/206
6 years ago
dc6jgk
95a9f31e88
Merge pull request #1 from svaarala/master
Automerge with original repository
6 years ago
Sami Vaarala
3b94b31876
Merge pull request #2074 from svaarala/apidoc-call-method-fix
Fix duk_(p)call_method() API doc example
6 years ago
Sami Vaarala
284d1949ff
Fix duk_(p)call_method() API doc example
6 years ago
Sami Vaarala
da4fbf6d2e
Merge pull request #2073 from jessedoyle/modify-authors
Update AUTHORS.rst
6 years ago
Jesse Doyle
23f292ee65
Update AUTHORS.rst
* Add my name to the contributors list as requested in [0].
[0]: https://github.com/svaarala/duktape-wiki/pull/215#issuecomment-487741283
6 years ago
Sami Vaarala
00b8ca0cdb
Merge pull request #2058 from TheBrokenRail/master
Add Android Platform
6 years ago
Sami Vaarala
edca32cf9c
Merge pull request #2059 from TheBrokenRail/safe_to_stacktrace
Add duk_safe_to_stacktrace()
6 years ago
Sami Vaarala
959f7e7947
Merge pull request #2066 from svaarala/apidoc-xmove-args
Fix duk_xmove_top() API doc argument order
6 years ago
Sami Vaarala
8e52cd7a3d
Fix duk_xmove_top() API doc argument order
6 years ago
Sami Vaarala
a88c95c36e
Merge pull request #2065 from svaarala/compiler-bare-array
Use bare arrays in compiler, fixing some assertions with memory unsafe behavior
6 years ago
Sami Vaarala
a01fff3ed3
Releases: compiler non-bare array fixes
6 years ago
Sami Vaarala
464af035ee
Use bare arrays in compiler
6 years ago
Sami Vaarala
efd97bc5d1
Add testcases for compiler non-bare Array bugs
6 years ago
TheBrokenRail
fd306bba33
Add duk_safe_to_stacktrace() and duk_to_stacktrace()
6 years ago
Sami Vaarala
d8262e4749
Merge pull request #2064 from svaarala/api-push-bare-array
Add duk_push_bare_array() API call
6 years ago
Sami Vaarala
de9492ff6d
Releases: duk_push_bare_array()
6 years ago
Sami Vaarala
53af67e2ea
Add testcase for test_push_bare_array()
Also some trivial improvements for other object/array push tests.
6 years ago
Sami Vaarala
93747b4501
API documentation for duk_push_bare_array()
6 years ago
Sami Vaarala
6d641ce355
Merge pull request #2062 from svaarala/improve-safe-to-string-apidoc
Improve duk_safe_to_string() API documentation
6 years ago
Sami Vaarala
f8e6980a7e
Improve duk_safe_to_string() API documentation
6 years ago
TheBrokenRail
6c2f3073f4
Update AUTHORS.rst
6 years ago
TheBrokenRail
4a8c23dd5d
Update platforms.yaml
6 years ago
TheBrokenRail
f2f15ecaac
Create platform_android.h.in
6 years ago
Sami Vaarala
2bc8d9d96b
Merge pull request #2055 from svaarala/console-proxy-avoid-tojson
Improve .toJSON() behavior for console Proxy wrapper, disable Proxy wrapper in 'duk' console
6 years ago
Sami Vaarala
6dc68be2f0
Releases: console Proxy wrapping changes
6 years ago
Sami Vaarala
cc561e996b
Remove Proxy wrapper for 'duk' console object
6 years ago
Sami Vaarala
0d55aa25cd
Whitelist .toJSON() for console Proxy wrapper
6 years ago
Sami Vaarala
1a8376e6a2
Add duk_push_bare_array() API call
6 years ago
Sami Vaarala
b062b50ab1
Merge pull request #2016 from svaarala/configure-cleanups
Add configure.py minimal test, update RELEASES for configure.py fix
6 years ago
Sami Vaarala
c0d1ca9cc8
Add minimal configure.py test coverage
6 years ago
Sami Vaarala
0a36b2c896
RELEASES: configure.py -DFOO(bar)=quux
6 years ago
Sami Vaarala
d723644ade
Merge pull request #2014 from akosthekiss/config-macro-function
Allow function-like macros to be defined via configure.py
6 years ago
Akos Kiss
0d8e26f782
Allow function-like macros to be defined via configure.py
Fixes #2013
6 years ago
Sami Vaarala
3801682ec6
Merge pull request #2009 from svaarala/remove-arguments-caller-strict
Remove arguments.caller for strict mode argument objects to match revised ES2017 behavior
6 years ago