Sami Vaarala
|
66d141db04
|
internal error doc update
|
11 years ago |
Sami Vaarala
|
695e697b51
|
errhandler test case improvements
|
11 years ago |
Sami Vaarala
|
22f9a8bda3
|
only errcreate augment error instances
|
11 years ago |
Sami Vaarala
|
41b95a9bc7
|
add errcreate tests
|
11 years ago |
Sami Vaarala
|
e6c8a2bd15
|
errcreate/errthrow test case
|
11 years ago |
Sami Vaarala
|
7d637a9af1
|
unref trivia
|
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
|
b8eed34aea
|
dukweb fixes for lack of errhandler index
|
11 years ago |
Sami Vaarala
|
f2ca1e8450
|
update protected/safe api calls to omit errhandler_index
|
11 years ago |
Sami Vaarala
|
af5890af3d
|
add a DUK_USE_ERRHANDLER define
|
11 years ago |
Sami Vaarala
|
4817da82a8
|
error test case fix, line numbers changed
|
11 years ago |
Sami Vaarala
|
a34ae108c3
|
trivial fixme cleanup
|
11 years ago |
Sami Vaarala
|
63b27a2b6a
|
errhandler test for C code
|
11 years ago |
Sami Vaarala
|
59da83d760
|
error handler tests, covers errors thrown by Duktape, errors thrown from Ecmascript code, and errors propagated with yield/resume with isError=true
|
11 years ago |
Sami Vaarala
|
25f7fcbc32
|
fix old debug reference to thr->errhandler
|
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
|
6f1ae274a7
|
duk_bi_duk.c -> duk_bi_duktape.c
|
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
|
7264a1b63c
|
rename bi_duk -> bi_duktape, similar renames to defines
|
11 years ago |
Sami Vaarala
|
ac6e306886
|
fix some api testcases to use TEST_SAFE_CALL to reduce duplication
|
11 years ago |
Sami Vaarala
|
10cb9abb76
|
fix some api testcases to use TEST_SAFE_CALL to reduce duplication
|
11 years ago |
Sami Vaarala
|
4c2c499227
|
release note update
|
11 years ago |
Sami Vaarala
|
b91f6e7124
|
fix protected/safe call sites in code examples to omit errhandler_index
|
11 years ago |
Sami Vaarala
|
9b6d119c85
|
fix runtests to omit errhandler_index
|
11 years ago |
Sami Vaarala
|
3d76854e39
|
fix protected/safe call sites in api test cases to omit errhandler_index
|
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
|
e71f5defc8
|
add branch policy to readme
|
11 years ago |
Sami Vaarala
|
aac8e7b747
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
ce8ca8565f
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
51d8a9b3d4
|
add a bit more compiler option suggestions to the guide
|
11 years ago |
Sami Vaarala
|
3569025136
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
be0e336bd0
|
Merge branch 'safe-to-string'
|
11 years ago |
Sami Vaarala
|
9f4d47c2f8
|
release note update for duk_safe_to_string() and duk_safe_to_lstring()
|
11 years ago |
Sami Vaarala
|
724dbd8080
|
improve cmdline stack printing, so that there is no fatal error even if getting the 'stack' property fails
|
11 years ago |
Sami Vaarala
|
6145c50e3f
|
add duk_safe_to_string() usage to duk_cmdline so that double error coercions work
|
11 years ago |
Sami Vaarala
|
b85c56acdd
|
api docs for duk_to_safe_lstring() and duk_to_safe_string()
|
11 years ago |
Sami Vaarala
|
8e466442cc
|
api test cases for duk_safe_to_string() and duk_safe_to_lstring()
|
11 years ago |
Sami Vaarala
|
94f7fb0eee
|
duk_safe_to_lstring() api call; duk_safe_to_string() is provided using a macro for now
|
11 years ago |
Sami Vaarala
|
cfeda47d42
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
0dcc08c400
|
guide clarifications on buffer NUL termination and zeroing behavior
|
11 years ago |
Sami Vaarala
|
42cd797db9
|
release note update
|
11 years ago |
Sami Vaarala
|
d11b69d742
|
remove buffer NUL termination
|
11 years ago |
Sami Vaarala
|
db9d8bd337
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
b4d2faf98a
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
f813ae5dad
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
05dff9073e
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
f1fd1324c6
|
osx compile note
|
11 years ago |
Sami Vaarala
|
d992bdf672
|
update code footprint estimate, add lines-of-code estimate (excluding comments etc) computed with cloc perl utility
|
11 years ago |
Sami Vaarala
|
c46690cc9e
|
Merge branch 'getprop-stridx-boolean'
|
11 years ago |
Sami Vaarala
|
1b291b4d5d
|
change back to unpacked argument: internal helper argument packing will be done separately and requires some asserts and such
|
11 years ago |