Sami Vaarala
|
96efc7a0d1
|
comment out 'pc--' from tracebacks as the post-assertion pc >= 0 is not true always now
|
11 years ago |
Sami Vaarala
|
5416b4aa9c
|
add direct eval flag to traceback
|
11 years ago |
Sami Vaarala
|
42beb86053
|
indicate prevents yield flag in traceback
|
11 years ago |
Sami Vaarala
|
10cd227609
|
clean up error augment code a bit
|
11 years ago |
Sami Vaarala
|
ed385af865
|
c++ compatibility notes
|
11 years ago |
Sami Vaarala
|
bb91343ff3
|
fix a bunch of minor issues for c++ compatibility
|
11 years ago |
Sami Vaarala
|
91ed73ceff
|
c++ compilation improvements
|
11 years ago |
Sami Vaarala
|
bb5ca86ad6
|
remove a few unused strings
|
11 years ago |
Sami Vaarala
|
f821289175
|
change profile 200/201 to use verbose errors without tracebacks
|
11 years ago |
Sami Vaarala
|
3e708fd865
|
document current __duk__ built-in members (at a summary level)
|
11 years ago |
Sami Vaarala
|
1449ea652b
|
add <h4> style
|
11 years ago |
Sami Vaarala
|
c6ed54b991
|
update error 'message' description to match new numeric default
|
11 years ago |
Sami Vaarala
|
fec3eea91b
|
set error 'message' to a numeric code if a string code not given; useful for minimized builds and good default for C code in general
|
11 years ago |
Sami Vaarala
|
066d54a944
|
testcase for checking fileName / lineNumber override behavior
|
11 years ago |
Sami Vaarala
|
945a63c75b
|
add fileName / lineNumber to error objects when tracebacks are disabled
|
11 years ago |
Sami Vaarala
|
981aad8201
|
add DUK_PROPDESC_FLAG_NO_OVERWRITE which allows caller to skip defining a property if it already exists (as an own property)
|
11 years ago |
Sami Vaarala
|
73ff24cf77
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
0e0dd9044e
|
cleanup __duk__.version discussion in guide
|
11 years ago |
Sami Vaarala
|
b733d69f2b
|
document __duk__.version
|
11 years ago |
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 |