Sami Vaarala
77366f3e19
Config option changes for dropping clen16
9 years ago
Sami Vaarala
d144c94a73
Merge pull request #652 from svaarala/apidoc-dump-function-filename
Note .fileName and how to control it in duk_dump_function() API document
9 years ago
Sami Vaarala
67c1b6312f
Merge pull request #653 from svaarala/testrunner-client-name
Add client_name to testrunner protocol
9 years ago
Sami Vaarala
68a23f5eab
Obfuscation notes for dumped functions
9 years ago
Sami Vaarala
633a506115
Add client_name to testrunner protocol
9 years ago
Sami Vaarala
b7ba8c50fa
Merge pull request #651 from svaarala/testrunner-python-script
Add testclient Python commit test script, other minor fixes
9 years ago
Sami Vaarala
5225f3cbde
Add test262-es5-tests to .gitignore
9 years ago
Sami Vaarala
bd5fd3e1cc
Test262 filter utility, testclient success output
9 years ago
Sami Vaarala
1c838d7c90
Add text encoding header for testserver data files
9 years ago
Sami Vaarala
2d351d8709
Testclient script launch changes
* Explicit command line options, easier to extend.
* Allow command or interpreter + command to be specified.
9 years ago
Sami Vaarala
181da07eb3
Add Python commit test script
This is more useful than a bash runner on e.g. Windows.
9 years ago
Sami Vaarala
0ad453a9b0
Merge pull request #648 from svaarala/rewrite-require-normalization
Minor footprint optimization for module ID normalization in require()
9 years ago
Sami Vaarala
4557658522
Merge pull request #649 from svaarala/fix-math-random-test
Increase random() testcase rounds to reduce random false negative test failures
9 years ago
Sami Vaarala
1f0d45da52
Increase random() test rounds
Reduce random test failures.
9 years ago
Sami Vaarala
45e0f7be91
Releases: module.{fileName,name} defaulting
9 years ago
Sami Vaarala
ab5c84e2f6
Testcase fixes for module ID resolution change
* Limit for requested ID maximum length changes by one.
* Expected value for default module.fileName and module.name values.
9 years ago
Sami Vaarala
1a8b9f966a
Doc update for module.{fileName,name} defaulting
9 years ago
Sami Vaarala
299e2fba2f
Improve module resolve and module.{fileName,name}
* Shorter setup for normalization input.
* Reuse the same stack buffer for normalization input and output. This works
because at every point in the algorithm: (1) the output is at most as long as
the input (never longer), and (2) the input is read one byte at a time and
the input (unlike the output) is never backtracked.
* Default module.{fileName,name} if not set instead of using explicit defaults.
Slightly smaller code footprint and less module properties for low memory
environments.
9 years ago
Sami Vaarala
9aa47520fc
Merge pull request #639 from svaarala/module-wrapper-explicit-filename
Add support for module.fileName and module.name
9 years ago
Sami Vaarala
75f3c0cc36
Releases: module.fileName and module.name
9 years ago
Sami Vaarala
c2f6755f7d
Module doc update for module.{fileName,name}
9 years ago
Sami Vaarala
6d2025d144
Testcase for module.{fileName,name} changes
9 years ago
Sami Vaarala
86a98e0375
Add support for module.{fileName,name}
* Add module.fileName and initialize it to resolved module ID
* Add module.name and initialize it to the last component of the resolved
module ID
* Use module.fileName as the eval fileName which ends up in the wrapper
function's .fileName property
* Use module.name as the forced .name property of the wrapper function
which affects stack traces (but doesn't introduce an automatic binding
for the function name because the function is compiled as anonymous and
.name is only then overridden)
Also add .name for fresh require() functions created to improve stack traces
for errors in sub-modules.
9 years ago
Sami Vaarala
7e4db8dc05
Merge pull request #644 from svaarala/duk-peval-auto-filename-change
Change automatic filename for eval/compile from __FILE__ to "eval" / "input"
9 years ago
Sami Vaarala
0a82269f93
Merge pull request #647 from svaarala/apidoc-pcall-error-props
Add a .stack access example to duk_pcall() doc
9 years ago
Sami Vaarala
ace0b2e03e
Add a .stack access example to duk_pcall() doc
9 years ago
Sami Vaarala
55f6160dd8
Releases: eval/compile auto filename
9 years ago
Sami Vaarala
fa5ef1a823
API doc changes for eval/compile auto filename
9 years ago
Sami Vaarala
11e9a07955
API testcases for eval/compile auto fname change
9 years ago
Sami Vaarala
67a1548f9d
Change eval/compile automatic filename
Previously `__FILE__` was used, but this leads to some confusing error
file/line pairs: https://github.com/svaarala/duktape/issues/516 .
Change the behavior so that:
* Eval code which doesn't have an explicit filename uses "eval" for the
eval temporary function .fileName. As a result, errors thrown from
eval code will be identified e.g. as "eval:17" (17th line in the eval
input). The native function or __FILE__ is not apparent.
* Compiled code which doesn't have an explicit filename uses "input" for
the function .fileName.
9 years ago
Sami Vaarala
7d495360ac
Merge pull request #640 from svaarala/testrunner-webhook-minimal
Add a minimal multi-platform testrunner with push webhook script jobs
9 years ago
Sami Vaarala
bf0d8a74b0
Add Duktape testrunner Node.js client
9 years ago
Sami Vaarala
cbd8168e9c
Add Duktape testrunner Node.js server
9 years ago
Sami Vaarala
39f5ac096d
Add Duktape testrunner README and Makefile
9 years ago
Sami Vaarala
61873cb1f3
Merge pull request #634 from svaarala/debugger-clarify-transport-poll
Debugger future work transport status note
9 years ago
Sami Vaarala
0678516196
Debugger future work transport status note
9 years ago
Sami Vaarala
e26ab83557
Merge pull request #553 from svaarala/debugger-document-call-into-duktape
Clarify debugger documentation for callbacks calling back into Duktape
9 years ago
Sami Vaarala
70282b03d7
Clarify debugger callback restrictions
9 years ago
Sami Vaarala
a691b79ed5
Merge pull request #636 from svaarala/remove-manual-feature-opts-document
Remove overlapping manual feature option docs
9 years ago
Sami Vaarala
f822f6fbe8
Remove overlapping manual feature option docs
9 years ago
Sami Vaarala
6f42e83eed
Merge pull request #635 from svaarala/setjmp-config-rework
Setjmp config rework
9 years ago
Sami Vaarala
765ddb3f5e
Releases: setjmp config
9 years ago
Sami Vaarala
32449b29d7
Matrix compile change for setjmp config rework
9 years ago
Sami Vaarala
3d8c1c6406
Documentation changes for setjmp config rework
9 years ago
Sami Vaarala
1f69d45e90
C++ exception and setjmp() reworks
9 years ago
Sami Vaarala
06ebffa123
Config changes for C++ and setjmp() reworks
9 years ago
Sami Vaarala
e3b0b702e7
Merge pull request #632 from svaarala/fix-rombuiltins-no-user-strings
Fix genbuiltins ROM builtins w/o user metadata
9 years ago
Sami Vaarala
ab6078a14c
Fix genbuiltins ROM builtins w/o user metadata
9 years ago
Sami Vaarala
463b60983b
Merge pull request #631 from svaarala/spec-download-targets
Add 'make refs' target to download ES specs
9 years ago
Sami Vaarala
055d47b0ab
Add 'make refs' target to download ES specs
Remove the existing E5/E5.1 PDF files; they won't be gone from the repo but
won't be downloaded with a shallow clone.
9 years ago