Sami Vaarala
b1be194ebc
Release trivia for 2.5.0 release
* Bump DUK_VERSION to 2.5.0.
* Fix compilation when Proxy disabled.
* Suppress some compile warnings.
* Disable emcripteninceptiontest, fails due to const limit.
* Add columnNumber placeholder.
* Testcase terminology trivia.
* Add Docker image for some release tests.
5 years ago
Sami Vaarala
44ca54f726
Merge pull request #2187 from svaarala/fix-missing-duk-def-prop-constants
Add some missing duk_def_prop() convenience constants ("EC" variants)
5 years ago
Sami Vaarala
bc005531ec
Release: missing duk_def_prop() constants
5 years ago
Sami Vaarala
2bf7633ee0
Add missing DUK_DEFPROP_xxx convenience consts
5 years ago
Sami Vaarala
bad57cb2ec
Merge pull request #2184 from svaarala/add-pull-api
Add duk_pull() public API call
5 years ago
Sami Vaarala
eb3ef59ef5
Releases: duk_pull()
5 years ago
Sami Vaarala
f044267d90
API documentation for duk_pull()
5 years ago
Sami Vaarala
f3f25b6d7d
Testcase coverage for duk_pull()
5 years ago
Sami Vaarala
e129a8276e
Add duk_pull() public API call
5 years ago
Sami Vaarala
4d51988b36
Merge pull request #2182 from svaarala/apidoc-lstring-fix
Fix some API documentation lstring examples
5 years ago
Sami Vaarala
208003e563
Fix some API documentation lstring examples
5 years ago
Sami Vaarala
9bc5eadab2
Merge pull request #2180 from svaarala/releases-solaris-header
Releases: Solaris ast/endian.h
5 years ago
Sami Vaarala
4c3babdf1a
Releases: Solaris ast/endian.h
5 years ago
Sami Vaarala
6341b8cf6d
Merge pull request #1514 from whorfin/master
Change header used for byteorder detection for modern Solaris
5 years ago
Rick Sayre
5cdb6f9025
Change header used for byteorder detection for modern Solaris
5 years ago
Sami Vaarala
0dce8a3ba7
Merge pull request #2177 from svaarala/abandon-size-minimum
Add minimum size check for abandoning array
5 years ago
Sami Vaarala
431269aacd
Releases: abandon array minimum size
5 years ago
Sami Vaarala
f34f47e1e2
Testcase fix for array abandon min size
5 years ago
Sami Vaarala
d60eae7f0e
Add minimum size check for abandoning array
5 years ago
Sami Vaarala
f96bcd0173
Merge pull request #2176 from svaarala/proxied-array-followup
More fixes for proxied Array handling
5 years ago
Sami Vaarala
76e3870400
Releases: proxied Array follow-up
5 years ago
Sami Vaarala
b31bd5d8ff
Testcase updates for proxied Arrays
5 years ago
Sami Vaarala
c3661bc5a7
More fixes for proxied Arrays
5 years ago
Sami Vaarala
72d2c5085c
Merge pull request #2175 from svaarala/fix-proxied-arrays
Fixes for behavior of proxied arrays
5 years ago
Sami Vaarala
73712eb323
Releases: proxied Array fixes
5 years ago
Sami Vaarala
44c09d8d70
Documentation fix for proxied duk_is_array()
5 years ago
Sami Vaarala
2c4db7320b
Test coverage for proxied Array.isArray()
5 years ago
Sami Vaarala
dc50000f3b
Fix behavior of proxied Array objects
* Fix Proxy behavior for Array.isArray() and duk_is_array(), when
argument is a proxied Array.
* Fix JSON serialization of proxied Arrays.
* Fix Object.prototype.toString() behavior for proxied Arrays.
5 years ago
Sami Vaarala
3123da6cb9
Merge pull request #2174 from svaarala/add-riscv-architecture
Add RISC-V architecture detection
5 years ago
Sami Vaarala
ba6ff597bc
Releases: RISC-V
5 years ago
Sami Vaarala
ba5b4e491c
Add RISC-V architecture detection
5 years ago
Sami Vaarala
327c3f0f9b
Merge pull request #2172 from svaarala/add-wo-unreachable
Add DUK_WO_UNREACHABLE()
5 years ago
Sami Vaarala
84533e1000
Release: DUK_WO_UNREACHABLE
5 years ago
Sami Vaarala
c3ab404ca4
Add DUK_WO_UNREACHABLE()
5 years ago
Sami Vaarala
aced26568f
Merge pull request #2171 from svaarala/add-s390x-docker-target
Add big endian Docker image (s390x)
5 years ago
Sami Vaarala
bca30961bd
Add big endian Docker image
5 years ago
Sami Vaarala
1896184157
Merge pull request #2167 from svaarala/cold-path-alloc
Split internal alloc helpers to hot/cold paths
5 years ago
Sami Vaarala
7e2ddbf0d0
Releases: alloc hot/cold
5 years ago
Sami Vaarala
86cd073e73
Split internal allocs to hot/cold paths
5 years ago
Sami Vaarala
06846a6b17
Merge pull request #2166 from svaarala/remove-check-setup
Remove out-of-date checksetup Makefile target
5 years ago
Sami Vaarala
bca7727dc5
Remove out-of-date checksetup Makefile target
Remove the old 'make checksetup' target and the related script. The
script is a bit out-of-date, and awkward to maintain for multiple Linux
targets.
Dependencies for util/dist.py are now simple (Python 2 + Python
YAML binding) and explained in the README. There are also Docker images
for easy development setup which mostly removes the need to document
all the dependencies on all potential Linux distributions for Makefile
targets like building the site.
5 years ago
Sami Vaarala
637e6f3154
Merge pull request #2165 from svaarala/improve-syntax-error-end-of-input
Improve SyntaxError "end of input" detection
5 years ago
Sami Vaarala
2fbfc2f512
Releases: end-of-input
5 years ago
Sami Vaarala
18c4eb0e4a
Improve test coverage for 'end of input'
5 years ago
Sami Vaarala
f3afc5fb24
Improve 'end of input' SyntaxError handling
* Detect end of input more reliably based on lexer window. This helps
detect truncated tokens, such as in eval('"foo bar').
5 years ago
Sami Vaarala
8ab1db234d
Merge pull request #2152 from TheBrokenRail/patch-2
Include "end of input" in error message if SyntaxError happens at end of file
5 years ago
TheBrokenRail
3f60d37787
Include "end of input" in error message if SyntaxError happens at end of file
5 years ago
Sami Vaarala
9d92ee90de
Merge pull request #2164 from svaarala/math-atan2-assert
Fix -Wfloat-equal warnings, fix (harmless) gcc -m32 Math.atan2() assert
5 years ago
Sami Vaarala
dd5069fb81
Releases: Math.atan2() assert fix, -Wfloat-equal
5 years ago
Sami Vaarala
be88ba143c
Use helper for FP comparisons, use -Wfloat-equal
Direct comparison may have portability concerns because a constant may
have more precision than its counterpart. Even a direct cast before
a comparison may not work (e.g. Math.atan2() assert with gcc -m32 still
fails even when both sides have an explicit double cast). So use an
internal always-inline helper for float/double comparisons, which also
allows -Wfloat-equal warning to be suppressed in a single helper; add
a clang pragma option so that both gcc and clang suppress the warning.
Other changes:
* Add -Wfloat-equal warning back to the Makefile.
* Fix all internal float comparison call sites to use the helper.
* Add code policy check for probable floating point comparison
(not very important with -Wfloat-equal enabled).
5 years ago