JimVonMoon
fac2e5233b
Fixed invalid casting in C++ build on Windows
7 years ago
Sami Vaarala
9498bcc0bc
Typo fix for hello_ptrcomp.c
7 years ago
Sami Vaarala
5ef8f49b07
Add hello example with ptrcomp for index page
7 years ago
Sami Vaarala
79f24d0bb2
Cmdline example trivia, ajduk reference
7 years ago
Sami Vaarala
ed2dc2b9fc
Cmdline bytecode file detection change
7 years ago
Sami Vaarala
3d6b493cbf
Cmdline lowmem update for 0x82 prefix
7 years ago
Sami Vaarala
8666277387
Fix some examples/ compile warnings
7 years ago
Sami Vaarala
062b0247ef
Cmdline finalization for ajduk -> duk-low rename
7 years ago
Sami Vaarala
a464327c01
Examples changes for ajduk -> duk-low rename
7 years ago
Sami Vaarala
3107828843
Cmdline changes for ajduk removal
7 years ago
Sami Vaarala
8f38a00bf0
Some -Wsign-conversion fixes
* Change duk_bool_to to duk_small_uint_t from duk_small_int_t. This may
cause some sign warnings in calling code.
* Reject attempt to unpack an array-like value whose length is 2G or over;
previously was not checked explicitly, and the length was cast to duk_idx_t
with a sign change and the unpack would then later fail. Now it fails with
a clean RangeError.
* Add wrap check for Node.js Buffer.concat().
* API DUK_TYPE_xxx, DUK_TYPE_MASK_xxx, flag constants etc are now unsigned.
7 years ago
Sami Vaarala
0e02e76ec3
Fix some duk_cmdline.c warnings
Also more compact error throw sites (use duk_type_error()).
7 years ago
Sami Vaarala
ca0a154f5a
Add DUK_CONSOLE_FLUSH to 'duk'
7 years ago
Sami Vaarala
caa76c249c
Update example pool sizes for valstack
8 years ago
Sami Vaarala
9a271e220c
Add missing 'return' to C++ exception example
8 years ago
Sami Vaarala
fe78b09ee0
Duk commandline comment trivia
8 years ago
Sami Vaarala
a7df4ad91b
Allow shebang for 'duk' compile inputs
8 years ago
Sami Vaarala
d382a87a7a
Uniform exit code (1) for 'duk' errors
8 years ago
Sami Vaarala
ef5d8af90e
Example fixes for -Wmissing-prototypes
8 years ago
Sami Vaarala
fe031a86e6
Fix 'duk' bytecode loading
8 years ago
Sami Vaarala
794eb5e7f1
Ajduk make/config tweaks
8 years ago
Sami Vaarala
dc3933b0c9
Fix eventloop example fileio, print()
8 years ago
Sami Vaarala
7d39557196
Avoid const discard warning with duk linenoise
8 years ago
Sami Vaarala
0ed17b3143
Fix some ArrayBuffer -> Uint8Array references
8 years ago
Sami Vaarala
518b625e36
Minor cleanups of debug-trans-socket
* Avoid declaration within a block when using select().
* Some code style fixes.
8 years ago
Sami Vaarala
562bb315b8
String.fromBuffer -> String.fromBufferRaw in duk
8 years ago
kolban
515f911ec1
Addition of optional select() for debug transport
8 years ago
Sami Vaarala
d52e7c0526
Examples and extras fixes for #if(n)def
8 years ago
Sami Vaarala
399e686d5b
Add sanity limit to linenoise integration
8 years ago
Sami Vaarala
9ae31f8af3
Improve Linenoise hints handling
8 years ago
Sami Vaarala
dc09643525
Add linenoise hints to 'duk'
8 years ago
Sami Vaarala
14fdab164a
Add String.fromBuffer to "duk" builtin
8 years ago
Sami Vaarala
48bc8a82ae
Cmdline example fix for [[DefaultValue]]
8 years ago
Sami Vaarala
827183afab
Remove DUK_OPT_xxx support from tooling etc
Also some genconfig.py and configure.py improvements.
8 years ago
Sami Vaarala
80c99a9a9f
Dist/prepare tooling improvements
* Rename prepare_sources.py to configure.py; the operation is similar to
autoconf ./configure so the association is useful.
* Rename make_dist.py to dist.py.
* Generate only one source set (combined or separate) for one run of
configure.py.
* Change dist.py to run configure.py three times to generate the default
source sets.
* Use an autodeleted temporary directory for preparing sources, which
removes some of the manual temporary file handling.
8 years ago
Sami Vaarala
fe64dd0836
Fix some source and doc refs to relocated tools
8 years ago
Sami Vaarala
9e8f16c43e
Split dist util, reorg tools, Python PEP8
8 years ago
Sami Vaarala
ea50801cee
Use JX formatting for 'duk' eval results
This is a bit more convenient than string coercion because it prints out
arrays and objects in a more useful manner.
8 years ago
Sami Vaarala
a0e8007b3e
Fix detached_cb ctx arg in trans-dvalue example
8 years ago
Bruce Pascoe
da09da44c3
Update 'duk' detached_cb with ctx argument
9 years ago
Sami Vaarala
aee3da7e2e
Add module loading support to 'duk' example
9 years ago
Sami Vaarala
9656c1635a
Add volatile to intentional segfaults
9 years ago
Sami Vaarala
9b56d9f187
Update examples for file API removal
9 years ago
Sami Vaarala
4bc3a287b6
Example fixes for panic removal
9 years ago
Sami Vaarala
f733d07118
Add DUK_CMDLINE_LOGGING_SUPPORT to 'duk' tool
9 years ago
Sami Vaarala
6116123b31
Add console bindings to 'duk'
9 years ago
Sami Vaarala
2f653a934a
Example fixes for print/alert removal
9 years ago
Sami Vaarala
649c780869
Example fixes for duk_safe_call() change
9 years ago
Sami Vaarala
4c1fdf7d06
Fix examples for merged attach call
9 years ago
Sami Vaarala
732db20b9e
Add a minimal linenoise completion cb for 'duk'
9 years ago