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
Sami Vaarala
169296ca04
Example allocator with alloc/realloc/free logging
10 years ago
Sami Vaarala
9114361fd2
Sandbox allocator bug fixes
10 years ago
Sami Vaarala
6ab6294b8e
Cmdline: read 'stack' only if value is an error
10 years ago
Sami Vaarala
749d8ec92c
Add extras/ dir, add READMEs for extras+examples
10 years ago
Sami Vaarala
c5553a7185
Add -e (eval) option to duk_cmdline
10 years ago
Sami Vaarala
dae8383142
Add error handling to getting started examples
10 years ago
Sami Vaarala
0e7f594d4f
Cleanup, remove unused code from duk_cmdline
10 years ago
Sami Vaarala
783aa3892f
Replace DUK_CMDLINE_BAREBONES w/ DUK_CMDLINE_FANCY
The default is a barebones build and it happens without any specific options.
This is a better default for people trying Duktape out for the first time.
10 years ago
Sami Vaarala
3f2b9a5a6c
Sandbox example draft
Has memory allocation wrappers which keep track of total memory allocated.
Bindings are minimal, just to execute test-dev-mandel2-func.js.
10 years ago
Sami Vaarala
96c3ae830f
Sandbox example placeholder
10 years ago
Sami Vaarala
e0945eb7a5
Whitespace trivia in examples
10 years ago
Sami Vaarala
80a9a0618e
Add jxpretty example
10 years ago
Sami Vaarala
f90d1dd0ab
Fix coffee Makefile paths and README
10 years ago
Sami Vaarala
a33cae64aa
Move coffee Makefile
10 years ago
Sami Vaarala
0f2b9df9b8
Rename various READMEs to .rst suffix
10 years ago
Sami Vaarala
55a06e9214
Eventloop limitation note
10 years ago
Sami Vaarala
10f94b554d
Move files from examples to dist-files/
The coffeescript makefile is a special case, as it doesn't rely on Duktape.
10 years ago
Sami Vaarala
63d01fff60
Guide gettingstarted.html cleanups
10 years ago
Sami Vaarala
98c70bc1fb
Improve misleading error message from duk cmdline
11 years ago
Sami Vaarala
629e68bf26
cmdline bug fix: avoid complaining about 'error in reading input' when executing code from a file
11 years ago
Sami Vaarala
53cc8b485a
'duk' cmdline util improvements: add -i to force interactive mode even after executing files, remove '-' argument support which was broken
11 years ago
Sami Vaarala
d2781cc043
jsonx -> jx rename
11 years ago
Sami Vaarala
6571ce9e85
fix example makefile debug option examples (commented out)
11 years ago
Sami Vaarala
26a028fe19
add a few missing casts (g++ errors)
11 years ago
Sami Vaarala
d79f10bd99
fix eventloop example callback argument handling ( fixes #3 )
11 years ago
Sami Vaarala
0a7c56e1e2
change eventloop example to use the function/number list helpers
11 years ago
Sami Vaarala
b91f6e7124
fix protected/safe call sites in code examples to omit errhandler_index
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
708c370219
eventloop cleanups for buffer handling, now using buffer virtual props
11 years ago
Sami Vaarala
3c3561e4a1
add some missing makefiles
11 years ago
Sami Vaarala
f9dc55d432
downgrade a few XXX, add a few genuine FIXMEs
11 years ago
Sami Vaarala
bacc96e5f6
eventloop cleanups
11 years ago
Sami Vaarala
b7a21f0e6d
document more limitations
11 years ago
Sami Vaarala
e8edf13d04
sockets into c eventloop example
11 years ago
Sami Vaarala
4e78764771
change Ecmascript eventloop to a singleton (no explicit instantiation which is pointless), other consistency fixes
11 years ago