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
Sami Vaarala
8f172c6ce9
Config changes for optional coroutines
9 years ago
Sami Vaarala
0c7a385217
Config metadata fix for fastint vs. 64bit ops
9 years ago
Sami Vaarala
a8df747d3a
Config option for executor regconst optimization
9 years ago
Sami Vaarala
9e7d00328c
Config changes for DUK_USE_DEBUG_LEVEL
9 years ago
Sami Vaarala
d95e129c35
Fix config platform function typo
9 years ago
Sami Vaarala
e5f19202f7
Config low memory example trivia fix
9 years ago
Sami Vaarala
4d62f6a980
Remove file I/O support from config
9 years ago
Sami Vaarala
e7b36e6406
Config option updates for file API removal
9 years ago
Sami Vaarala
daae337fb2
Remove DUK_ABORT and DUK_EXIT, now unused
9 years ago
Sami Vaarala
7d27d12136
Config option changes for panic removal
9 years ago
Sami Vaarala
812781850b
Config option changes for DUK_USE_DEBUG_WRITE()
DUK_USE_DPRINT_COLORS removed at the same time.
9 years ago
Sami Vaarala
190a5af3b6
Config option fixes for logger removal
9 years ago