Sami Vaarala
|
22d4209ba5
|
change __duk__.version to new policy, for 0.7.0 release
|
11 years ago |
Sami Vaarala
|
2b362ecdbe
|
remove 'code' property of errors, it's probably not that useful
|
11 years ago |
Sami Vaarala
|
2feb5211c4
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
93baaa1aac
|
first draft of error objects section of guide
|
11 years ago |
Sami Vaarala
|
dda39eefeb
|
traceback testcase (which is skipped); just a demonstration of printing a traceback
|
11 years ago |
Sami Vaarala
|
c3627ed3c8
|
make 'stack' call 'toString()' directly
|
11 years ago |
Sami Vaarala
|
38c5eea0f3
|
make 'stack' return ToString(err) when tracebacks disabled
|
11 years ago |
Sami Vaarala
|
567d784768
|
fix traceback related built-ins when tracebacks are disabled
|
11 years ago |
Sami Vaarala
|
9c170d6d9c
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
8992989702
|
refactor 'stack' getter into a shared helper used for 'stack', 'lineNumber', and 'fileName'
|
11 years ago |
Sami Vaarala
|
b6dac01e74
|
reduce debug level for accessor creation
|
11 years ago |
Sami Vaarala
|
204900e13e
|
add fileName and lineNumber accessors to Error.prototype; make stack, fileName, and lineNumber setter be an explicit nop
|
11 years ago |
Sami Vaarala
|
344a46e728
|
make cmdline use 'stack' through the accessor
|
11 years ago |
Sami Vaarala
|
11fb2b273c
|
add accessor property support to built-in initializer format; make 'stack' an accessor
|
11 years ago |
Sami Vaarala
|
a09d3341f5
|
add an internal helper to define accessor properties
|
11 years ago |
Sami Vaarala
|
3986d262f7
|
interpret empty name as anon function in tracebacks
|
11 years ago |
Sami Vaarala
|
e6d7c419da
|
truncated traceback denoted with ellipsis
|
11 years ago |
Sami Vaarala
|
e4d4f53e9b
|
change fileName of temp function created by eval() to 'input' to be more useful
|
11 years ago |
Sami Vaarala
|
ff158a0b1f
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
ce8dbe4d10
|
add traceback dumping to cmdline tool
|
11 years ago |
Sami Vaarala
|
fde6832319
|
rename _filename to fileName in function templates and closures, it's more useful
|
11 years ago |
Sami Vaarala
|
218a72f0e7
|
fix duk_compile() testcases to account for new filename argument
|
11 years ago |
Sami Vaarala
|
9901ebf1e2
|
update api docs for eval/compile with filename info
|
11 years ago |
Sami Vaarala
|
3af362b664
|
associate a filename with compiled functions
|
11 years ago |
Sami Vaarala
|
ec92ab0f1d
|
compiler trivia
|
11 years ago |
Sami Vaarala
|
ff15e493ab
|
add a prototype implementation for a stack traceback getter (implemented as an actual function for now)
|
11 years ago |
Sami Vaarala
|
768a7d16eb
|
api doc and testcase for duk_check_type()
|
11 years ago |
Sami Vaarala
|
2483d7e1f9
|
add duk_check_type() api call
|
11 years ago |
Sami Vaarala
|
d0dd0b40d6
|
add missing built-in error constructors (TypeError etc) and a testcase for them
|
11 years ago |
Sami Vaarala
|
d74e3c42d1
|
add __FILE__/__LINE__ to API errors, detecting variadic macro support; change traceback to tracedata, also store __FILE__/__LINE__ in tracedata if available; other minor cleanups
|
11 years ago |
Sami Vaarala
|
267ec70d40
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
715e68208d
|
cleanup duktape built-ins section
|
11 years ago |
Sami Vaarala
|
c9f7c28e11
|
DUK_CMDLINE_BAREBONES option documentation to gettingstarted
|
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
|
6f39cbe25d
|
remove DUK_USE_STRUCT_HACK from duk_hbuffer.h; remove zero/C99 flex initializer from duk_hbuffer_fixed and allow compiler padding on the struct; add DUK_USE_FLEX_xxx defines to duk_features.h although they are now unused
|
11 years ago |
Sami Vaarala
|
58bd92e69a
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
8214c61220
|
remove more #include directives from internal header files; duk_internal.h is expected to include them in correct order anyway
|
11 years ago |
Sami Vaarala
|
f4bb2493d1
|
remove one more internal macro set with leading underscore name
|
11 years ago |
Sami Vaarala
|
3db2f99b22
|
remove #include directives from internal header files; duk_internal.h is expected to include them in correct order anyway
|
11 years ago |
Sami Vaarala
|
3f616bea51
|
code issue note on leading underscores
|
11 years ago |
Sami Vaarala
|
000b8e7f67
|
fix include guard name for autogenerated headers
|
11 years ago |
Sami Vaarala
|
cacf459efe
|
fix broken asserts (broken in thread built-in refactoring)
|
11 years ago |
Sami Vaarala
|
04f377b94c
|
rename remaining _DUK_xxx macros
|
11 years ago |
Sami Vaarala
|
e2fb361ff1
|
rename _DUK_IDX_xxx to DUK_DBL_IDX_xxx (underscored names are not good)
|
11 years ago |
Sami Vaarala
|
95e6dcca8f
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
26a0aef41d
|
fix thread related testcases to use new location of resume() etc
|
11 years ago |
Sami Vaarala
|
961b4b8ead
|
remove toString() and valueOf() from Thread prototype and inherit them from Object prototype instead; fix initial thread creation (had wrong class and internal prototype)
|
11 years ago |
Sami Vaarala
|
1ce89d0f72
|
Thread related documentation changes
|
11 years ago |
Sami Vaarala
|
509d7196d0
|
some vbcc notes
|
11 years ago |