Sami Vaarala
1f7a4f2b9d
Ajduk examples for ROM pointer compression
9 years ago
Sami Vaarala
76c098a302
Remove duplicate #define snprintf() for MSVC
9 years ago
Sami Vaarala
12181634a3
Add a C++ exception example
9 years ago
Sami Vaarala
027c0a573c
Missing snprintf() fix for 'duk'
9 years ago
Sami Vaarala
6b8cab2462
Duk cmdline -Wcast-qual fix
9 years ago
Sami Vaarala
8766f94a96
Add Windows _snprintf() workaround for duk cmdline
9 years ago
Sami Vaarala
2369cf0257
Cleanup duk cmdline #ifdef/#ifndef
9 years ago
Sami Vaarala
1cffa519db
Duk cmdline #if 0'd debugger reattach test
9 years ago
Sami Vaarala
20da8b7f64
Add an explicit 'finish' call to debug trans
9 years ago
Sami Vaarala
b082d89558
Duk cmdline ajduk compile fix
9 years ago
Sami Vaarala
1a09e0b9ac
Add --no-heap-destroy duk option for leak testing
When present, run a forced GC and exit without destroying heap.
9 years ago
Sami Vaarala
38c53482c9
Add relative path and /tmp support using NODEFS
9 years ago
Sami Vaarala
d6b1c41cdf
Fix missing casts in duk cmdline
9 years ago
Sami Vaarala
dc5471f852
Add --run-stdin option to duk cmdline
9 years ago
Sami Vaarala
8a310bc1a9
Duk cmdline trivial help indent fix
9 years ago
Sami Vaarala
470d5c94a3
Add --recreate-heap and --verbose to duk
9 years ago
Sami Vaarala
a06aeb204d
Fix codepolicycheck issues in examples
9 years ago
Sami Vaarala
f3e0c797fd
Fix trailing whitespace in examples
9 years ago
Sami Vaarala
5fd84da843
Fix -Wcast-align problems in examples
9 years ago
Sami Vaarala
947a08e4a9
Consistency renames for debug trans socket
9 years ago
Sami Vaarala
e19cab722b
Example debug transport with dvalue encode/decode
This is a useful example for users who want to implement the debug client
directly on the target, in which case the debug protocol is decoded on the
target instead of a remote client.
9 years ago
Sami Vaarala
cf280d61c3
Avoid MSVC warnings about duk_cmdline.c fopen()
9 years ago
Sami Vaarala
32b99ca2f1
Add duk -c FILENAME bytecode compile option
9 years ago
Sami Vaarala
36cef9a2c1
Dummy custom Date provider example
9 years ago
Sami Vaarala
87ac8ae5a3
Type fix to avoid warning on MSVC
10 years ago
Sami Vaarala
74051dcee1
Codepage conversion example
10 years ago
Sami Vaarala
0b49540014
Ajduk alloc logging (--ajsheap-log)
10 years ago
Sami Vaarala
f9c8bcbd66
Some example pool configs
10 years ago
Sami Vaarala
8084cc73dc
Pool simulator for optimizing pool configurations
10 years ago
Sami Vaarala
9d624cbc2a
Duk cmdline hack test for duk_debugger_cooperate()
10 years ago
Sami Vaarala
3e4f2d4722
Debugger cleanups, endianness, peek/flush, etc
- Endianness for pointers and IEEE doubles
- Add DUK_OPT_DEBUGGER_DUMPHEAP feature option
- Add DUK_OPT_DEBUGGER_DUMPHEAP to Makefile
- Refactor executor and executor interrupt debugger handling to separate
functions to make them easier to read
- Explicit peek, read flush, and write flush callbacks
- Remove brkpt_dirty, easier and perhaps more robust to recheck breakpoints
whenever any debug commands have been executed
- Bug fixes, FIXME resolutions, trivia
10 years ago
Sami Vaarala
5c22523ebf
Add debugger support to core engine
10 years ago
Sami Vaarala
87fdd163b2
Ajduk exec timeout example, ajdukd target
10 years ago
Sami Vaarala
009fba3392
Add ENC16/DEC16/EXTSTR udata to ajduk example
10 years ago
Sami Vaarala
ac4b022d25
Enable dbgHEAPDUMP for ajduk
10 years ago
Sami Vaarala
c5dee5409f
Avoid interning compiled code in duk cmdline
10 years ago
Sami Vaarala
7d436b69c9
Ajduk strtab, extstr valgrind variant, pool sizes
10 years ago
Sami Vaarala
24385aa274
Example DUK_OPT_EXTSTR_FREE() for ajduk
10 years ago
Sami Vaarala
209065e745
Add ajduk example for compile time ext strings
10 years ago
Sami Vaarala
b1694d0fef
Refactor ajduk into own file, fix warnings
10 years ago
Sami Vaarala
adec7b447c
Add ajduk external string check example
10 years ago
Sami Vaarala
7af2feadd9
Add missing casts to fix g++ build
10 years ago
Sami Vaarala
e451c4d8fb
Implement ajduk ptr compr, pool size tweaks
Also add more AjsHeap pool sizes for measurements. The resulting pool
total size is >128kB, but only a small part of it is used. It's good
to have pool entries with 4-byte increments in the low range so that
actual used sizes can be more easily seen.
10 years ago
Sami Vaarala
077f061f09
Add AllJoyn.js AjsHeap support to duk_cmdline
AllJoyn.js has a pool allocator which serves as a good example for using
Duktape with a pool allocator in a low memory environment.
10 years ago
Sami Vaarala
ab6f6dc3c7
Disable unnecessary debug prints by default
10 years ago
Sami Vaarala
5fc135b1aa
Add hybrid allocator to cmdline
10 years ago
Sami Vaarala
9ca98a2d07
Draft hybrid pool+malloc allocator
10 years ago
Sami Vaarala
105a55ddf0
Add DUK_GIT_DESCRIBE to commandline greet line
10 years ago
Sami Vaarala
fd79a95af1
Add logged/torture allocator support to cmdline
Enable alloc logging/torture support in 'duk' by default. This is only for
the Duktape repo 'duk' build, not for the dist version of it.
10 years ago
Sami Vaarala
8bf5cf612c
Example allocator with wiping/red zones
10 years ago