Sami Vaarala
bd5fd3e1cc
Test262 filter utility, testclient success output
9 years ago
Sami Vaarala
32449b29d7
Matrix compile change for setjmp config rework
9 years ago
Sami Vaarala
7de7f222e6
Add DUK_USE_DEBUGGER_INSPECT to matrix test
9 years ago
Sami Vaarala
7509a8f4fe
Update user builtin examples for changed format
9 years ago
Sami Vaarala
9f5562be49
Add metadata for debugger error codes
9 years ago
Sami Vaarala
b3074fa369
Add DukLuv proxy and metadata into dist
9 years ago
Sami Vaarala
c5b3d04dee
Dist/make changes for Windows debug transport
9 years ago
Sami Vaarala
9f8b39da6a
Update ROM build example with user builtins
9 years ago
Sami Vaarala
d4b9578fb3
Make_dist.py changes for user ROM builtins
- Improve error diagnostics from command errors.
- Renamed stridx/bidx scanner script.
- Option naming.
9 years ago
Sami Vaarala
c62a11363c
Example metadata for user ROM strings and objects
9 years ago
Sami Vaarala
2f0f2ad9c5
Add dummy example for doing a ROM build
9 years ago
Sami Vaarala
0a3270e915
Dist changes for genbuiltins.py
9 years ago
Sami Vaarala
bec6ff0714
Allow dist without 'git' command
Use 'external' for commit, branch, and describe without 'git'.
Also add --git-commit, --git-describe, and --git-branch to force the values
without trying to run the git command.
9 years ago
Sami Vaarala
7ef3b86a2f
Disabled unneeded Emscripten fixup, reword
9 years ago
Sami Vaarala
8e4894f8eb
Documentation updates for regexp literal braces
* Website non-standard regexp section
* Website link to wiki typescript compatibility page
* Internal documentation updates
* Emscripten compatibility status update
* Comment out unnecessary Emscripten fixups
9 years ago
Sami Vaarala
6b0ab6ee21
Improve usability of make_dist.py
* Use tarfile to create genconfig tar.gz
* Friendly error if yaml import fails
* Also check for rdflib with --create-spdx
9 years ago
Sami Vaarala
a10c443f16
Rewrite make_dist.sh in Python 2
With make_dist.py being Python 2, it's possible to make the dist package
with just Python 2 (no cygwin, no Makefile, etc).
9 years ago
Sami Vaarala
b59572515b
Combine src missing comment star trivia
9 years ago
Sami Vaarala
1e483a52af
Update copyright year range to cover 2016
9 years ago
Sami Vaarala
1088aee80c
Fix src-noline DUK_SINGLE_FILE define
9 years ago
Sami Vaarala
12181634a3
Add a C++ exception example
9 years ago
Sami Vaarala
08e8763ee8
Add support for C++ exception long ctrl transfers
* Define duk_internal_exception, a plain exception class, wihch is used as
the value thrown for Duktape internal long control transfers. The value
intentionally does not inherit from std::exception so that it'd be as
unlikely as possible that user code would catch the internal exception
type; only a "catch (...)" would catch it.
* Replace DUK_SETJMP() if clauses with "try", and SETJMP() error handling
blocks with "catch (duk_internal_exception &exc)" blocks.
* Also add clauses for "catch (std::exception &exc)" and "catch (...)" to
catch C++ exceptions thrown by user code which are propagated to Duktape
try-catch blocks. Such exceptions are converted to API errors. For now
it's not supported for user code to propagate a C++ exception "through"
Duktape, as that would require some semantics changes to (native) protected
calls. Catching and converting such exceptions to API errors makes the
user code error apparent and easier to fix.
9 years ago
Sami Vaarala
135ad29362
Dist changes for genconfig changes
9 years ago
Sami Vaarala
4031c17bc6
Add Makefile.sharedlibrary example
9 years ago
Sami Vaarala
7439a589f6
Dist changes
9 years ago
Sami Vaarala
ec02cd7b70
Fix license.spdx year range
9 years ago
Sami Vaarala
e0b793c991
Polyfills for error .fileName etc writing behavior
- One polyfill to ensure Duktape 1.3.0 behavior
- One polyfill to ensure Duktape 1.4.0 behavior
If the write behavior change is an issue, you can use the first polyfill
to bring back Duktape 1.3.0 behavior.
9 years ago
Sami Vaarala
a0bb740b7b
Break out of timing test if time too large
9 years ago
Sami Vaarala
d3ee9bacb4
Matrix compile fix for paranoid errors
9 years ago
Sami Vaarala
0019c64fe5
Utility to format perftest output into HTML
9 years ago
Sami Vaarala
5c8b222faa
License changes for string hashing (Lua, djb2)
9 years ago
Sami Vaarala
bd96db68af
Add --sleep-factor to timing utility
Useful for thermal throttling: cool down relative to test run time.
9 years ago
Sami Vaarala
e710a0e0bc
Util to resolve combined line to orig file/line
9 years ago
Sami Vaarala
1e9a1ea9d1
Dist changes for combine_src changes
9 years ago
Sami Vaarala
9cc71ada26
Add optparse, line directive option to combine_src
9 years ago
Sami Vaarala
067e660bb2
Makefile and matrix test for prop error messages
9 years ago
Sami Vaarala
0d2a39cc2f
Add --create-spdx option to dist
9 years ago
Sami Vaarala
ee97ecf15c
Add new config options to matrix compile, Makefile
9 years ago
Sami Vaarala
31bf768a4a
Add git branch and commit to build artifacts
9 years ago
Sami Vaarala
f2e0286efd
Add "make emduk" target
9 years ago
Sami Vaarala
9fdd8308da
Leave duk_config.h-autodetect out of dist
It's the same header already present in src/. It makes sense to include it
in config/ when there are more examples there.
9 years ago
Sami Vaarala
0a23a97efd
Genconfig dist changes
9 years ago
Sami Vaarala
053b095e45
Trivial fix to single source comment wording
9 years ago
Sami Vaarala
3a959223c2
Fix codepolicycheck boolean option handling
9 years ago
Sami Vaarala
60ebbdb830
Add --fail-on-errors to code policy checker
9 years ago
Sami Vaarala
57d482c4ba
Add DUK_OPT_JSON_STRINGIFY_FASTPATH to matrix test
9 years ago
Sami Vaarala
08ee46fdca
Warn about no minifier in dist
9 years ago
Sami Vaarala
e04a1209eb
Add --check-cpp-comment code policy check option
9 years ago
Sami Vaarala
332ae46237
Add code policy checker options
9 years ago
Sami Vaarala
d932520848
Remove perl cloc dependency from "make dist"
9 years ago