Sami Vaarala
|
5276850b4c
|
compile warning fix
|
11 years ago |
Sami Vaarala
|
c99603e558
|
fix eof handling for duk cmdline in non-interactive mode
|
11 years ago |
Sami Vaarala
|
2a4e9ab7ea
|
add an eval example (used by emscriptenduktest)
|
11 years ago |
Sami Vaarala
|
7b14c5d05d
|
make duk cmdline default memory limit be high, and use -r to reduce it
|
11 years ago |
Sami Vaarala
|
dc00f8812e
|
avoid ToString() coercion of final Program result in non-interactive mode, as it may itself throw a TypeError (e.g. failed to coerce with [[DefaultValue]])
|
11 years ago |
Sami Vaarala
|
c79cf5c82c
|
provide an explicit 'this' binding when calling program code in duk_cmdline, otherwise 'this' binding is incorrect when global code is strict
|
11 years ago |
Sami Vaarala
|
c9ce15cf5b
|
rename __duk__ to Duktape in examples
|
11 years ago |
Sami Vaarala
|
0a4c3b59ea
|
__duk__.build removal related trivia
|
11 years ago |
Sami Vaarala
|
608a2f8ebf
|
force DUK_CMDLINE_BAREBONES on Windows to avoid header issues
|
11 years ago |
Sami Vaarala
|
80fd26d51e
|
add duktape version to cmdline greet
|
11 years ago |
Sami Vaarala
|
db30481a5a
|
cmdline barebones variant warning cleanup
|
11 years ago |
Sami Vaarala
|
c552717fa6
|
tweak example makefiles with DUK_OPT_xxx examples
|
11 years ago |
Sami Vaarala
|
7dbdc39f48
|
DUK_PROFILE related build etc trivia; Makefile not fully functional
|
11 years ago |
Sami Vaarala
|
7bc480d8c1
|
makefile tweaks: add -lncurses whenever -lreadline occurs, because readline requires ncurses on some systems (e.g. RHEL)
|
11 years ago |
Sami Vaarala
|
c8d3db805f
|
make cmdline tool print 'Cleaning up...' only in interactive mode
|
11 years ago |
Sami Vaarala
|
344a46e728
|
make cmdline use 'stack' through the accessor
|
11 years ago |
Sami Vaarala
|
ce8dbe4d10
|
add traceback dumping to cmdline tool
|
11 years ago |
Sami Vaarala
|
dd4975cf92
|
add DUK_CMDLINE_BAREBONES (commented out) into the example makefile; make duktape cmdline banner indicate that readline is disabled
|
11 years ago |
Sami Vaarala
|
fe4b62d7eb
|
remove ncurses/socket/fileio from cmdline (for now atleast); if DUK_CMDLINE_BAREBONES is defined, also remove other nonportable dependencies (readline, signals, rlimit)
|
11 years ago |
Sami Vaarala
|
f9bbb93151
|
makefile trivia
|
11 years ago |
Sami Vaarala
|
661e90a260
|
cleanup guide examples, they are now included into the doc
|
11 years ago |
Sami Vaarala
|
0851adbc10
|
reorganize examples/gettingstarted to examples/guide
|
11 years ago |
Sami Vaarala
|
6e641204f4
|
breakdown parts into guide gettingstarted
|
11 years ago |
Sami Vaarala
|
2edf03be28
|
fix broken processlines.c gettingstarted example
|
11 years ago |
Sami Vaarala
|
c0815055c5
|
some coffeescript examples
|
11 years ago |
Sami Vaarala
|
bfa66a9679
|
gettingstarted examples
|
11 years ago |
Sami Vaarala
|
2326f05cb9
|
remove test.c and use examples/hello instead
|
11 years ago |
Sami Vaarala
|
32299c0804
|
example makefile fixes
|
11 years ago |
Sami Vaarala
|
fc92e97899
|
make the combined source the default, promoted one, rename it's dir from src-combined to src
|
11 years ago |
Sami Vaarala
|
6f005ded97
|
some example files
|
11 years ago |
Sami Vaarala
|
35f80df607
|
add separate example makefiles for a test program and a command line tool
|
11 years ago |
Sami Vaarala
|
4b99ee9711
|
use libncurses instead of libncursesw in examples, as there is less porting hassle
|
11 years ago |
Sami Vaarala
|
047e30b26e
|
tweak README.txt, add a ((o) Duktape -header to cmdline example
|
11 years ago |
Sami Vaarala
|
03141d7d1f
|
cleanup example: no more internal header use
|
11 years ago |
Sami Vaarala
|
dfd4ad6e7a
|
rework dist and examples, build from combined source by default
|
11 years ago |
Sami Vaarala
|
8af2ffc633
|
a bunch of duk_api.h -> duktape.h changes
|
11 years ago |
Sami Vaarala
|
acb21165d2
|
fix example Makefile source file set
|
11 years ago |
Sami Vaarala
|
11c664a4eb
|
mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency
|
11 years ago |
Sami Vaarala
|
34444e80c3
|
rename duk_push_new_buffer to duk_push_buffer (same for fixed/dynamic pushers); cmdline fixes
|
11 years ago |
Sami Vaarala
|
50c72ed47a
|
update example makefile
|
12 years ago |
Sami Vaarala
|
4b8745ffaa
|
move cmdline tool to examples (along with the dummy socket, fileio, and ncurses modules), move Makefile.example to examples as well
|
12 years ago |