mirror of https://github.com/svaarala/duktape.git
Tree:
168eb06ff7
add-comment-stripped-dist-source
add-config-profiles
add-function-source-property
add-getownpropertydescriptor-proxy-trap
add-memory-commit-test
add-nonbmp-helpers
api-create-heap-reorder
api-fileline-blame-control
api-get-refcount
api-multi-get
api-new-list-inits
api-push-bufobj-accept-bufobj
api-recheck-builtins
api-set-prototype-accept-null
buffer-index-no-inherit
builtin-construct-only
cpp-exception-improvements
cyclic-jx-gh331
debugger-rework-resume-command
document-snprintf-portability
duk-push-boolean-retval-1
external-bytecode-buffer-initial
footprint-equals-helper
global-object-hash-index
hack-outofmemory-envrec-close
hack-refzero-finalizer-postpone
hide-internal-properties
improve-summarization
lose-const-via-union
master
mingw-setjmp-longjmp-improvement
operator-overloading-minimal
osx-dist-improve-docs
perf-func-self-ref
profile-optimization-training-set
property-caching
proxy-chain-support
remove-extended-utf8-support
remove-unused-object-layout
revert-841-fix-node-loader
runtest-improvements
string-intern-copy-remove
switch-x86-x64-align-default
user-stack-check-macro
v1-maintenance
v1.0-maintenance
v1.1-maintenance
v1.2-maintenance
v1.3-maintenance
v1.4-maintenance
v1.5-maintenance
v1.6-maintenance
v1.7-maintenance
v1.8-maintenance
v2-maintenance
v2.0-maintenance
v2.1-maintenance
v2.2-maintenance
v2.3-maintenance
v2.4-maintenance
v2.5-maintenance
v2.6-maintenance
virtual-prototype-property
weak-references
website-benchmarks-page
add-rom-builtin-support-20160125i
convert-makedist-to-python-20160113
debugger-heap-walking-support-20160303a
fix-debugger-reattach-reentry-20160219a
hstring-size-optimization-20160302b
rom-user-builtins-20160203b
v0.1.0
v0.10.0
v0.11.0
v0.12.0
v0.2.0
v0.3.0
v0.4.0
v0.5.0
v0.6.0
v0.7.0
v0.8.0
v0.9.0
v1.0.0
v1.0.1
v1.0.2
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.2.4
v1.2.5
v1.2.6
v1.3.0
v1.3.1
v1.3.2
v1.3.3
v1.4.0
v1.4.1
v1.4.2
v1.5.0
v1.5.1
v1.5.2
v1.6.0
v1.6.1
v1.7.0
v1.8.0
v2.0.0
v2.0.1
v2.0.2
v2.0.3
v2.1.0
v2.1.1
v2.1.2
v2.2.0
v2.2.1
v2.3.0
v2.4.0
v2.5.0
v2.6.0
v2.7.0
${ noResults }
1 Commits (168eb06ff73e2b02faa03db187c253975d0289b3)
Author | SHA1 | Message | Date |
---|---|---|---|
Sami Vaarala | 96d301b3cb |
Rename src/ to src-input/ to match dist
With this change the directory naming in the main repo and dist is the same. |
8 years ago |
Sami Vaarala | 08e8763ee8 |
Add support for C++ exception long ctrl transfers
* Define duk_internal_exception, a plain exception class, wihch is used as the value thrown for Duktape internal long control transfers. The value intentionally does not inherit from std::exception so that it'd be as unlikely as possible that user code would catch the internal exception type; only a "catch (...)" would catch it. * Replace DUK_SETJMP() if clauses with "try", and SETJMP() error handling blocks with "catch (duk_internal_exception &exc)" blocks. * Also add clauses for "catch (std::exception &exc)" and "catch (...)" to catch C++ exceptions thrown by user code which are propagated to Duktape try-catch blocks. Such exceptions are converted to API errors. For now it's not supported for user code to propagate a C++ exception "through" Duktape, as that would require some semantics changes to (native) protected calls. Catching and converting such exceptions to API errors makes the user code error apparent and easier to fix. |
9 years ago |