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
Sami Vaarala
f64a50944e
Config options for hobject resize controls
8 years ago
Sami Vaarala
f6901f220c
Config options for new strtable algorithm
8 years ago
Sami Vaarala
5c49585614
Fix DUK_UNPREDICTABLE() placeholder
8 years ago
Sami Vaarala
409db9de09
Better DUK_UNREF() for MSVC
8 years ago
Sami Vaarala
d5b13a3e2d
Config ES6/7 -> ES2015/2016 renames
Only tags, text, etc are renamed. File and option names are not touched yet.
8 years ago
Sami Vaarala
c14832dcb2
Add DUK_UNPREDICTABLE() placeholder
8 years ago
Sami Vaarala
74f8c22c58
Config options for default fatal error abort()
8 years ago
Sami Vaarala
fb3d873970
Fix low_memory_strip config option typo
8 years ago
Sami Vaarala
c12dca467f
Disable bufferobjects in lowmem config
8 years ago
Sami Vaarala
e63b495785
Add config options for ES6 symbols
8 years ago
Sami Vaarala
56b8c30c01
Config options for func .name and .fileName
8 years ago
Sami Vaarala
1535e1a872
Config fixes for #if(n)def
8 years ago
Sami Vaarala
e71f3d5f5a
Config metadata for mandatory mark-and-sweep
8 years ago
Sami Vaarala
9cbe03b214
Add missing config option metadata file
8 years ago
Brett Vickers
0a677f31c4
Add compatibility fixes for the Orbis (PS4) platform.
8 years ago
Sami Vaarala
82cb675b13
Config option for generalized pow() workaround
8 years ago
Sami Vaarala
82e695c309
Remove normal double constants from config
They have no known portability issues so they can be defined internally.
Leave NaN and Infinity as defines because they sometimes need replacement.
8 years ago
Bruce Pascoe
3053c25000
Add Math.trunc() built-in function
8 years ago
Bruce Pascoe
6b8e332391
Add Math.log{2,10}() built-in functions
8 years ago
Bruce Pascoe
3474ccf54f
Add Math.cbrt() built-in function
8 years ago
Sami Vaarala
28d8d414dd
Config changes for removing FMIN/FMAX wrapping
8 years ago
Sami Vaarala
8e68799721
Config changes fmin() and fmax()
8 years ago
Sami Vaarala
c59fe07415
Remove DUK_USE_OCTAL_SUPPORT
Removing octal support is becoming a bit awkward to maintain and because
the feature size is quite small, remove support for disabling it.
8 years ago
Brett Vickers
5702119ffc
Support ARM64 platform detection on Android.
Use the Android __aarch64__ #define as a valid ARM64 signifier when detecting the compiler platform.
8 years ago
Sami Vaarala
3a0d2835e6
Config option changes for precomputed arridx
8 years ago
Sami Vaarala
ad78c8b086
Add generic DUK_USE_ES6 config option
8 years ago
Bruce Pascoe
b7c8436939
Config: Disable ES6 Reflect in lowmem build
Low-memory baseline is E5.1.
8 years ago
Bruce Pascoe
436e0fa0b9
Add ES6 Reflect built-in object
All Reflect functions specified in ECMAScript 2016 are implemented, and
most share Duktape/C helpers with their ES5 twins from Object.
* Reflect.apply()
* Reflect.construct()
* Reflect.defineProperty()
* Reflect.deleteProperty()
* Reflect.get()
* Reflect.getOwnPropertyDescriptor()
* Reflect.getPrototypeOf()
* Reflect.has()
* Reflect.isExtensible()
* Reflect.ownKeys()
* Reflect.preventExtensions()
* Reflect.set()
* Reflect.setPrototypeOf()
Presence of the Reflect object is controlled by DUK_USE_REFLECT_BUILTIN
and enabled by default in the standard configuration.
note: Reflect.enumerate() was retroactively removed in ES7, so it will
not be implemented in Duktape.
8 years ago
Sami Vaarala
01835f20e0
Config option for \u{H+} escape
8 years ago
Sami Vaarala
f9d5bbb9f0
Config option cleanups for Encoding API
* Remove Encoding API from low memory default config
* Wording fix for option description
8 years ago
Bruce Pascoe
b970b3b221
Implement Encoding API support
Add TextEncoder and TextDecoder built-ins, which allow Ecmascript code
to read and write text stored in ArrayBuffers. Based on the WHATWG
Encoding Living Standard:
https://encoding.spec.whatwg.org/#api
8 years ago
Sami Vaarala
d8f1068926
Config changes for String.fromBuffer removal
8 years ago