Sami Vaarala
843dd5a096
Include <exception> conditionally
7 years ago
Sami Vaarala
c4a6d5bc61
Remove DUK_USE_NONSTD_ARRAY_MAP_TRAILER option
7 years ago
Sami Vaarala
31c4474ff2
Remove DUK_USE_NONSTD_ARRAY_CONCAT_TRAILER option
7 years ago
Sami Vaarala
85e5913699
Config wording for DUK_USE_LITCACHE_SIZE
7 years ago
Sami Vaarala
df6f5102ad
Config changes for litcache
7 years ago
Sami Vaarala
2595cd696f
Allow undefined behavior also for perf baseline
7 years ago
Sami Vaarala
614365778e
Config option trivia
7 years ago
Sami Vaarala
9afe60f045
Config option for allowing undefined behavior
7 years ago
Sami Vaarala
b7a5e49d96
Add DUK_WO_NORETURN() to help noreturn handling
Code can include e.g. DUK_WO_NORETURN(return NULL;) which is only included
in the source code if DUK_NORETURN was not provided.
7 years ago
Sami Vaarala
07cf00ae21
Add base64/hex codec config option
7 years ago
Sami Vaarala
de7ae8a2ec
Use align-by-8 on all platforms by default
7 years ago
Sami Vaarala
3aadea3aa8
Fix DUK_BOOL_MIN/MAX for unsigned duk_bool_t
7 years ago
Sami Vaarala
3fc72d4763
Add narrow workaround for FreeBSD clang aliasing
7 years ago
Sami Vaarala
8f38a00bf0
Some -Wsign-conversion fixes
* Change duk_bool_to to duk_small_uint_t from duk_small_int_t. This may
cause some sign warnings in calling code.
* Reject attempt to unpack an array-like value whose length is 2G or over;
previously was not checked explicitly, and the length was cast to duk_idx_t
with a sign change and the unpack would then later fail. Now it fails with
a clean RangeError.
* Add wrap check for Node.js Buffer.concat().
* API DUK_TYPE_xxx, DUK_TYPE_MASK_xxx, flag constants etc are now unsigned.
7 years ago
Sami Vaarala
3f8158d774
Add DUK_USE_PROMISE_BUILTIN config option
7 years ago
Sami Vaarala
b8ecbb9931
Add ARM32/ARM64 to ptr size fallback
7 years ago
Sami Vaarala
bb6dacbc20
Config for clock_gettime(CLOCK_MONOTONIC)
7 years ago
Sami Vaarala
dfc29df08b
Remove 'thr' argument from ecma/mono time calls
7 years ago
Sami Vaarala
bcd14c8517
Config options for Windows sub-ms Date provider
7 years ago
Sami Vaarala
a4c8b0ffe2
Add config for Windows monotonic time
7 years ago
Sami Vaarala
e49ef92cd5
DUK_USE_DATE_GET_NOW clarify fractions allowed
7 years ago
Sami Vaarala
ba9f049d31
DUK_USE_GET_MONOTONIC_TIME description update
7 years ago
Sami Vaarala
3d8909b909
Add DUK_USE_PERFORMANCE_BUILTIN
7 years ago
Sami Vaarala
d51fffbb3e
Add DUK_USE_GET_MONOTONIC_TIME config option
7 years ago
Sami Vaarala
32b323ae3a
Add DUK_USE_FATAL_MAXLEN option
7 years ago
Sami Vaarala
dd11b64d09
Add DUK_USE_REGEXP_CANON_BITMAP config option
7 years ago
Sami Vaarala
28199463c7
Config option spare->slack renames
7 years ago
Sami Vaarala
9c42b8cb36
Config duk_context vs. duk_hthread note
7 years ago
Sami Vaarala
69529b4e59
DUK_USE_HSTRING_LAZY_CLEN config option
7 years ago
Steven Don
0867a8fdb1
Fixed some issues with Microsoft Visual Studio, allowing compilations on VC2005 and earlier (up to at least VC6).
Replaced #ifdefs with DUK_U64_CONSTANT and DUK_I64_CONSTANT macros for cleaner
code and to prevent future breakage, as suggested by svaarala.
Missed a few replacements. Added.
Last one.
Changed parameter name from x to a.
Split MinGW and MSVC typedefs for 64-bit types.
Added myself to list of code contributors.
8 years ago
Sami Vaarala
e7a2db9b04
Add ES7-ES9 blanket config options
8 years ago
Sami Vaarala
163156474d
Config option updates
8 years ago
Sami Vaarala
65eec5c448
Config option changes for freelists
8 years ago
Sami Vaarala
04838def39
Change MIPS alignment to 8
8 years ago
Legimet
ee1d7a9cdd
Define _XOPEN_SOURCE for Nspire (needed for strptime)
8 years ago
Sami Vaarala
c9a4f73fdf
Config option for shebang comments
8 years ago
Sami Vaarala
2f4ac2865d
Config option changes for side effect reworks
8 years ago
Sami Vaarala
0e40d04ecb
Add DUK_USE_GLOBAL_BINDING config (default false)
8 years ago
Sami Vaarala
5db187e4c7
Config option for HTML comments
8 years ago
Sami Vaarala
2e1d8911e7
Atari MiNT math dependency fix
8 years ago
Sami Vaarala
3d11be4934
DUK_USE_GC_TORTURE config description update
8 years ago
Sami Vaarala
e4bb928f24
Config option changes for 32-bit refcount default
8 years ago
Sami Vaarala
3c491a63a3
More descriptive platform name for Durango
8 years ago
Brett Vickers
6bf983567e
Add the Durango platform.
The Durango platform is used by the Xbox One.
This platform currently differs from the Windows platform only in that
it does not support the SystemTimeToTzSpecificLocalTime API.
8 years ago
Sami Vaarala
f118ce254e
Portability improvements for Solaris, AIX, HPUX
8 years ago
Sami Vaarala
10566faa9e
Remove unused types.h.in header snippet
8 years ago
Sami Vaarala
4cb003cc65
Avoid log2() on Android
8 years ago
Sami Vaarala
baba7f3f81
Remove ref to obsolete debugger logging fwd option
8 years ago
Sami Vaarala
a853c4935d
DUK_UNREF() comment for volatile arguments
8 years ago
Sami Vaarala
33727d3009
Add DUK_HOT and DUK_COLD attribute macros
8 years ago