Sami Vaarala
a504ec6da2
Releases: Function .toString()
9 years ago
Sami Vaarala
6b8f8b1957
Website Emscripten status update
9 years ago
Sami Vaarala
6d6e752a4b
Doc updates for Emscripten
9 years ago
Sami Vaarala
de75edfcab
No need for further Emscripten fixups in Makefile
At least for now.
9 years ago
Sami Vaarala
7ef3b86a2f
Disabled unneeded Emscripten fixup, reword
9 years ago
Sami Vaarala
9328d54a6e
Testcase fixes/additions for func .toString()
9 years ago
Sami Vaarala
d24ebcd032
Change Function .toString() format
Emscripten depends on a Function's .toString() having a certain format
(beyond what is guaranteed by the E5 specification). In particular, it
won't parse Duktape's current format where the function body is replaced
with a comment indicating the function type, e.g.:
function foo() {/* ecmascript */}
Change this format to indicate the function type using a string literal
(similarly to how directive prologue works):
function foo() {"ecmascript"}
This is equally informational and will work directly with Emscripten.
Also change handling for anonymous functions: substituting "anon" for an
anonymous function in an Ecmascript function's .toString() output is a bit
misleading. It also causes an Emscripten issue when a source regexp expects
there to be no name for an anonymous function in the .toString() output.
9 years ago
Sami Vaarala
c8d3e3691b
Merge pull request #550 from svaarala/fix-opt-packed-tval-handling
Fix feature option defaults when already provided
9 years ago
Sami Vaarala
95def6fb2a
Releases: DUK_OPT_PACKED_TVAL default
9 years ago
Sami Vaarala
082a6d26b1
Fix feature option defaults when already provided
This caused an issue with a few config options when feature option support
(DUK_OPT_xxx) was enabled. For example, DUK_USE_PACKED_TVAL is provided by
platform detection; if neither DUK_OPT_PACKED_TVAL nor DUK_OPT_NO_PACKED_TVAL
was defined, the default clause would #undef DUK_USE_PACKED_TVAL instead of
keeping the platform detected value.
Affected config options:
- DUK_USE_PACKED_TVAL
- DUK_USE_SETJMP
- DUK_USE_UNDERSCORE_SETJMP
9 years ago
Sami Vaarala
644954187f
Merge pull request #548 from crazyjul/fix-authors
Move name to the right author list
9 years ago
Julien Hamaide
5c4a2947ef
Move name to the right author list
9 years ago
Sami Vaarala
f936da50d3
Merge pull request #547 from svaarala/regexp-literal-brace-cleanups
Cleanups for literal regexp curly brace handling
9 years ago
Sami Vaarala
e210855593
Releases: literal regexp braces
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
d72a001686
Regexp literal curly brace testcase improvements
* Rename testcase for consistency with existing cases.
* Test for a few more invalid quantifier cases.
* Testcase for quantifier digit count
9 years ago
Sami Vaarala
d2f3bd77ff
Cleanup regexp curly handling
* Fix regexp maximum quantifier digit check off-by-one (rejected 9
digits)
* Allow two more cases of invalid quantifier to fall back to parsing
the left curly as a literal.
* Some ifdef/if defined, whitespace, etc trivia.
9 years ago
Sami Vaarala
22673f0297
Cleanup DUK_USE_NONSTD_REGEXP_BRACES config meta
* Fix config option version (introduced in 1.5.0)
* Minor wording changes
* Add config example for compliance options
* Add a 'compliance' config option category for future use
9 years ago
Sami Vaarala
204ec6b0e4
Merge pull request #539 from svaarala/fix-utf8-clen-arith-order
Fix utf8 clen fast path pointer arithmetic issue
9 years ago
Sami Vaarala
768da89ded
Releases: pointer arithmetic fix
9 years ago
Sami Vaarala
fb1f562500
Code issue notes for (u)intptr_t arithmetic
9 years ago
Sami Vaarala
c896d67f33
Avoid arithmetic on (u)intptr_t values
9 years ago
Sami Vaarala
809176512a
Merge branch 'crazyjul-feature-accept_literal_curly_brace'
9 years ago
Sami Vaarala
1250bb18b1
Merge branch 'feature-accept_literal_curly_brace' of https://github.com/crazyjul/duktape into crazyjul-feature-accept_literal_curly_brace
9 years ago
Sami Vaarala
5a9d96dea8
Merge pull request #541 from svaarala/remove-unused-travis-packages
Remove packages not needed in Travis build anymore
9 years ago
Sami Vaarala
869e0c95b0
Merge pull request #543 from svaarala/add-unreachable-warning
Add -Wunreachable-code to gcc default compile
9 years ago
Sami Vaarala
99ff5b23b7
Merge pull request #542 from svaarala/release-checklist-genconfig-test
Add genconfig test to release checklist
9 years ago
Sami Vaarala
99a2665017
Remove --create-spdx for dist default
9 years ago
Sami Vaarala
a4d37ded42
Add -Wunreachable-code to gcc default compile
9 years ago
Sami Vaarala
510f495ca2
Genconfig test to release checklist
9 years ago
Sami Vaarala
a8502528ac
Remove packages not needed in Travis build anymore
9 years ago
Sami Vaarala
ae2fd68565
Merge pull request #536 from svaarala/convert-makedist-to-python
Convert make_dist.sh to Python make_dist.py
9 years ago
Sami Vaarala
4ee6b7c63a
Update README for make_dist; linux, osx, windows
9 years ago
Sami Vaarala
2667bbc431
Prune initjs code
9 years ago
Sami Vaarala
30d9d58b52
Silence code policy check in Makefile
9 years ago
Sami Vaarala
bbb592b59d
Switch to make_dist.py in Makefile
9 years ago
Sami Vaarala
8679bfd34a
Add 'L' to integer constants beyond 16-bit range
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
692bed47bf
Merge pull request #540 from svaarala/fix-heaphdr-link-assert-warning
Avoid compile warning from linked list asserts
9 years ago
Sami Vaarala
fa56572042
Avoid compile warning from linked list asserts
9 years ago
Sami Vaarala
a4fe90babb
Merge pull request #531 from svaarala/fix-refzero-rescue-queueing
Fix heap_allocated reinsertion for refzero finalizer rescued objects
9 years ago
Sami Vaarala
daa15e3f77
Releases: refzero finalizer rescue bug
9 years ago
Sami Vaarala
c64c19be86
Add oleavr to authors (other contributions)
9 years ago
Sami Vaarala
2f0cf88ec8
Add heaphdr linked list consistency asserts
9 years ago
Sami Vaarala
55f537d781
Fix heap_allocated insert for refzero rescued obj
9 years ago
Sami Vaarala
59c338dd14
Add bug testcase for refzero finalizer rescue
9 years ago
Sami Vaarala
1411dfbc38
Merge pull request #532 from svaarala/website-mark-unmaintained-releases
Mark 1.0.x and 1.1.x no longer maintained
9 years ago
Sami Vaarala
695a5f9ba1
Mark 1.0.x and 1.1.x no longer maintained
9 years ago
Sami Vaarala
56090318dd
Merge pull request #529 from svaarala/add-finalizer-unwind-test
Add testcase for finalizer rescue on call unwind
9 years ago