Sami Vaarala
e609103c03
Merge pull request #761 from svaarala/remove-stdio-config
Remove file I/O support from config
9 years ago
Sami Vaarala
9934c91099
Remove file I/O remainders from sources
9 years ago
Sami Vaarala
4d62f6a980
Remove file I/O support from config
9 years ago
Sami Vaarala
c8c5ef00ed
Merge pull request #788 from svaarala/move-file-api-calls-to-extras
Move file I/O related API calls (duk_push_string_file() etc) to extras
9 years ago
Sami Vaarala
473301419b
Release: file API removal
9 years ago
Sami Vaarala
ec8fa97901
2.0 migration notes for file API removal
9 years ago
Sami Vaarala
581cd28373
Testrunner fix for file API removal
9 years ago
Sami Vaarala
b3425de71c
Dist fixes for v1 compat extra
9 years ago
Sami Vaarala
9b56d9f187
Update examples for file API removal
9 years ago
Sami Vaarala
20d97886bf
Extras update for file API removal
9 years ago
Sami Vaarala
7bb4c85397
API testcase fixes for file API removal
9 years ago
Sami Vaarala
e7b36e6406
Config option updates for file API removal
9 years ago
Sami Vaarala
e10dc56ef1
Remove file I/O API calls
9 years ago
Sami Vaarala
42140920d3
Website updates for file API removal
9 years ago
Sami Vaarala
a126b6c018
API document updates for file API removal
9 years ago
Sami Vaarala
ace35ee981
Merge pull request #794 from svaarala/fix-variable-shadowing
Fix variable shadowing
9 years ago
Sami Vaarala
e94c1d2434
Releases: shadowed variable
9 years ago
Sami Vaarala
b3394123d0
Fix shadowing of a temporary variable
This was introduced in JSON encoding rework.
9 years ago
Sami Vaarala
4e22e5cd76
Add -Wshadow to Makefile to catch shadowing
9 years ago
Sami Vaarala
4589186a1e
Merge pull request #791 from svaarala/generalize-combine-src
Generalize the util/combine_src.py utility a bit
9 years ago
Sami Vaarala
f64f215e1d
Remove manual #undefs from source files
These are no longer needed because combine_src.py adds them automatically.
9 years ago
Sami Vaarala
e4333fdb34
Dist fixes for generalized combine_src.py
9 years ago
Sami Vaarala
183ea472ac
Rework combine_src.py to be more generic
9 years ago
Sami Vaarala
f65d0d082f
Merge pull request #790 from svaarala/logger-removal-cleanups
Logger removal cleanups
9 years ago
Sami Vaarala
c5bc4c2f22
Releases: logging removal cleanup
9 years ago
Sami Vaarala
00ba5cd3e1
Example debugger fixes for Log notify removal
9 years ago
Sami Vaarala
37cef628c4
Remove unused Log notify constant
9 years ago
Sami Vaarala
7a0655ebf8
Debugger doc fix for logger removal
9 years ago
Sami Vaarala
d661f8bb85
Merge pull request #787 from svaarala/remove-unused-platform-wrappers
Remove unused platform wrappers DUK_ABORT(), DUK_EXIT()
9 years ago
Sami Vaarala
1e0347f85f
Releases: remove DUK_ABORT, DUK_EXIT
9 years ago
Sami Vaarala
daae337fb2
Remove DUK_ABORT and DUK_EXIT, now unused
9 years ago
Sami Vaarala
2d7cb4bb8a
Merge pull request #781 from svaarala/remove-panic-concept
Remove fatal/panic distinction and use fatal errors only
9 years ago
Sami Vaarala
176e341324
Releases: panic removal
9 years ago
Sami Vaarala
c82b7f2071
2.0 migration for panic removal
9 years ago
Sami Vaarala
d2f44e0c9d
Testrunner fix for panic removal
9 years ago
Sami Vaarala
f30e070f02
Dist files fixes for panic removal
9 years ago
Sami Vaarala
d6aee313fa
Makefile updates for panic removal
9 years ago
Sami Vaarala
03819f5c66
Matrix compile fix for panic removal
9 years ago
Sami Vaarala
ba81a66138
Internal document updates for panic removal
Code issues: arg order, duk_config.h refs.
9 years ago
Sami Vaarala
b4a1e706be
Website updates for panic removal
9 years ago
Sami Vaarala
01b4ace41e
API doc updates for panic removal
9 years ago
Sami Vaarala
7bd020ff80
Dukweb updates for panic removal
Also improve fatal handling so that fatal reason is added to the alert
message. Also add an extra "throw" after alert dismissal which gets
logged in the browser console.
9 years ago
Sami Vaarala
d21e89dd40
API testcase fixes for panic removal
9 years ago
Sami Vaarala
4bc3a287b6
Example fixes for panic removal
9 years ago
Sami Vaarala
7d27d12136
Config option changes for panic removal
9 years ago
Sami Vaarala
407ce44d55
Remove panic handling, use fatal errors instead
Instead of having a separate panic concept which previously differed from
fatal error handling in that there was no context attached to the error,
use fatal errors also for call sites which previously used the panic handler.
Because these call sites are context-free (DUK_ASSERT() failures) simply call
the Duktape-wide default fatal error handler instead of the user fatal error
handler. For heap creation errors (self test failures) the udata is available;
for assertion it isn't and NULL is used instead.
Add a config option to replace the Duktape-wide fatal error handler; the
default one just segfaults on purpose, to avoid creating postability issues
by depending on e.g. abort().
Remove the error code from the fatal error function signature (it's mostly
pointless) and change the "ctx" argument to "udata" (heap userdata) which is
less confusing than an arbitrary context related to the heap (especially
because it's unsafe to actually use the "ctx" to e.g. call into the Duktape
API).
The fatal error signature change also affects the duk_fatal() API call, which
loses the error code argument.
9 years ago
Sami Vaarala
289d1fee42
Merge pull request #782 from svaarala/debug-log-write-macro
Use configurable DUK_USE_DEBUG_WRITE() macro for debug output
9 years ago
Sami Vaarala
fad7b11b10
Releases: DUK_USE_DEBUG_WRITE()
9 years ago
Sami Vaarala
09dedb1b7e
Example rombuild fix for DUK_USE_DEBUG_WRITE()
9 years ago
Sami Vaarala
15a745f623
Matrix compile fix for DUK_USE_DEBUG_WRITE()
9 years ago