10 Commits (add-getownpropertydescriptor-proxy-trap)

Author SHA1 Message Date
Sami Vaarala 15b1cd527f More DUK_WO_NORETURN() fixes 7 years ago
Sami Vaarala ec8a181549 Use duk_hthread, not duk_context in internals 7 years ago
Sami Vaarala 4cc08436ec Rework duk_activations into a linked list 8 years ago
Sami Vaarala 55dbf32393 Rework side effect protections and finalization 8 years ago
Sami Vaarala 5ff8ad4803 Avoid value stack when throwing a double error 8 years ago
Sami Vaarala c20f10bd21 Fix a few compile warnings 8 years ago
Sami Vaarala 39ecb8b7eb Source fixes for #ifdef and #ifndef convention 8 years ago
Sami Vaarala 5af5e58af1 Add duk_ret_t retval to duk_{throw,error,fatal}() 8 years ago
Sami Vaarala ba48645a2f Verbose errors also for return shorthand 8 years ago
Sami Vaarala 96d301b3cb Rename src/ to src-input/ to match dist 8 years ago
Sami Vaarala a7f1adaf63 Remove Duktape specific error subtypes 9 years ago
Bruce Pascoe 8e4882abf3 Trivial comment change reclimit -> callstack limit 9 years ago
Bruce Pascoe e6e8c9339d Strengthen 10-recursion guarantee in error handling 9 years ago
Bruce Pascoe 356d9e1c66 Allow callstack headroom during error handling to fix GH-191 9 years ago
Sami Vaarala 1b3dee4903 Fixes to curr_pc sync, ptr_curr_pc NULLing 9 years ago
Sami Vaarala 3aa7edbb41 Use direct bytecode pointer to improve performance 10 years ago
Sami Vaarala 8fbd81e597 Implement bytecode dump/load API calls 10 years ago
Sami Vaarala 1fa66cd25a Symbol visibility changes for code and headers 10 years ago
Sami Vaarala 53ba327003 FIXME cleanups and downgrades 10 years ago
Sami Vaarala 35ff9fcb64 FIXME cleanup 10 years ago
Sami Vaarala 6a15c0be73 Formatting casts for custom format (%!T etc) 10 years ago
Sami Vaarala 018774dc55 Format string cleanups, %ld instead of %d etc 10 years ago
Sami Vaarala f8423ffb36 Format string cleanups, allow NULL+%s/%p in debug 10 years ago
Sami Vaarala 9a85cb5974 Internal typing fixes (mostly error code) 11 years ago
Sami Vaarala eefa8026a4 add some uses of duk_push_hobject_bidx() 11 years ago
Sami Vaarala de9151c384 typing rework 11 years ago
Sami Vaarala 77b2e3c3f5 fix a set of multiline debug call sites 11 years ago
Sami Vaarala 95dee49efa autofixed one line debug call sites 11 years ago
Sami Vaarala 2fe5e71b1b replace Duktape.errhnd with Duktape.errthrow; add Duktape.errcreate so that user can also add an error handler for creating errors (which may be useful than errthrow); move errhandler calling to duk_error_augment.c; reorganize DUK_USE_xxx flags around error handlers 11 years ago
Sami Vaarala af5890af3d add a DUK_USE_ERRHANDLER define 11 years ago
Sami Vaarala b852d81e90 add error handler calls to Duktape C API error throws, Ecmascript error throws (bytecode), and yield/resume when error flag is true 11 years ago
Sami Vaarala cba13e5544 change error handler to be stored in the Duktape.errhnd property instead of an internal property: not as good for sandboxing, but requires no additional APIs, follows from one thread to another automatically, and reference to Duktape object can be removed from a sandbox anyway 11 years ago
Sami Vaarala 2b0bf5f285 remove errhandler_index from protected call handling, and fix call sites in Duktape internals 11 years ago
Sami Vaarala 6036c86def prepend a 'duk__' prefix to a bunch of internal functions 11 years ago
Sami Vaarala f7ce9b0d8d reduce string constant set size for negative rc promotion code 11 years ago
Sami Vaarala e965076ada sprintf trivia, some asserts 11 years ago
Sami Vaarala 9c093c4eb2 don't blame __FILE__ / __LINE__ for Duktape generated errors (but record them in the traceback) 11 years ago
Sami Vaarala 884045b1d1 typedef C99 'wrapper' types like duk_uint32_t; bulk replacement of duk_u32 with duk_uint32_t, and other type usage replacements 11 years ago
Sami Vaarala bf9649ab2b remove DUK_NEVER_HERE() and use DUK_UNREACHABLE() instead 11 years ago
Sami Vaarala d74e3c42d1 add __FILE__/__LINE__ to API errors, detecting variadic macro support; change traceback to tracedata, also store __FILE__/__LINE__ in tracedata if available; other minor cleanups 11 years ago
Sami Vaarala a669f9829b add a DUK_UNREF() macro and change code to use it; use (void) unused_var convention which works with clang too 11 years ago
Sami Vaarala 11c664a4eb mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
Sami Vaarala 7d02742a03 require valstack before pushing an error (not an issue by itself but hobject_props asserts for work space) 12 years ago
Sami Vaarala 49c3585ed5 remove duplicate error augment calls 12 years ago
Sami Vaarala 5b5364b6dc error code 12 years ago