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
Sami Vaarala
12d73da205
ES7 exp operator config metadata typo fix
8 years ago
Sami Vaarala
f0e7468086
Config option for ES6 exp operator
8 years ago
Sami Vaarala
231712ce01
Strip more builtins in stripped example config
8 years ago
Sami Vaarala
7c6a31e037
Config options for optional built-ins
8 years ago
Sami Vaarala
ed703be8c8
Disable Math built-in for stripped build
8 years ago
Sami Vaarala
f877328a21
Config option text updates for xoroshiro128+
8 years ago
Sami Vaarala
9d2c37a4af
Use compact refcounts for lowmem build
8 years ago
Sami Vaarala
97f6f70fc0
Add config metadata for random provider
8 years ago
Sami Vaarala
723660652f
Config option for Array fast paths
9 years ago
Sami Vaarala
e7d2c9b73b
Add finalizer support config option
8 years ago
Sami Vaarala
9bf2fb923a
Internal doc changes for DUK_OPT_xxx removal
8 years ago
Sami Vaarala
827183afab
Remove DUK_OPT_xxx support from tooling etc
Also some genconfig.py and configure.py improvements.
8 years ago
Sami Vaarala
bc3e0d8077
Config metadata for strongly recommended options
8 years ago
Sami Vaarala
7f25309a95
Add attr "unused" to internal functs for gcc/clang
When applied to a function declaration the __attribute__ ((unused)
declaration indicates a function may be unused so that the compiler
won't warn about it if it actually is. This reduces harmless warnings
when a function is unused due to a specific config option combination.
Apply to all Clang versions and GCC >= 3.1.1; GCC 3.1.1 manual confirms
__attribute__ ((unused)) is supported.
8 years ago
Sami Vaarala
5d76ad0338
Use Math replacements on AmigaOS
Even when cross compiling with GCC there are Math assert issues at least on
AmigaOS 3.
8 years ago
Sami Vaarala
37d61c2d7a
Add config option for Array property fastpath
8 years ago
Sami Vaarala
00a8627e15
Documentation changes for tools reorg
8 years ago
Sami Vaarala
9e8f16c43e
Split dist util, reorg tools, Python PEP8
8 years ago
Sami Vaarala
aa9719a9cf
Reduce genconfig verbosity
8 years ago
Sami Vaarala
6c0dc7f53d
Config options for single level dispatch rework
8 years ago
Sami Vaarala
e072688dc5
Reword DUK_USE_BUFFEROBJECT_SUPPORT metadata
8 years ago
Sami Vaarala
ea5f716c2f
Remove InitJS support from config metadata
8 years ago
Sami Vaarala
895134868b
DUK_USE_BUFFEROBJECT_SUPPORT metadata update
8 years ago
Sami Vaarala
8569bdd08d
Config option changes for regexp bracket parsing
8 years ago
Sami Vaarala
1f7b2e4ef9
Low memory example option tweaks
- Disable ES6 Proxy and coroutines by default
- Enable unsafe API call convention to reduce footprint
- Disable source code support for non-BMP source files (not required by ES)
8 years ago
Sami Vaarala
0781ce9033
Low memory config example suggestions
9 years ago