Sami Vaarala
7f0f971e27
Testcase fixes for duk_{throw,error,fatal}()
8 years ago
Sami Vaarala
5af5e58af1
Add duk_ret_t retval to duk_{throw,error,fatal}()
8 years ago
Sami Vaarala
cb1e2a068d
Merge pull request #1036 from svaarala/leftover-es6-reflect-fix
Leftover Reflect trivia
8 years ago
Sami Vaarala
4df3dc5cff
Leftover Reflect trivia
8 years ago
Sami Vaarala
f38207f5ed
Merge pull request #1032 from svaarala/es6-reflect-trivia
Small cleanups to ES6 Reflect built-in
8 years ago
Sami Vaarala
bcc5dab338
Move Reflect test to another file
8 years ago
Sami Vaarala
43e0c37f3c
Reflect.construct() fix
8 years ago
Sami Vaarala
f83d603e07
Reflect testcase improvements
8 years ago
Sami Vaarala
7fbb0ccc11
Add duk_require_constructable()
8 years ago
Sami Vaarala
822ba32087
Comments and other trivia
8 years ago
Sami Vaarala
41271273b4
Per function guards to move functions more easily
8 years ago
Sami Vaarala
b8bb006b19
Use type mask for simpler type check
8 years ago
Sami Vaarala
51edcf60ce
Add Reflect to dist README
8 years ago
Sami Vaarala
13f2b6d411
Remove unnecesary pops from property prep helper
8 years ago
Sami Vaarala
e4d0d07beb
Unnecessary DUK_UNREF(), commnent fix
8 years ago
Sami Vaarala
ff8c0b6c4f
Use duk_to_hstring() directly, better throw flag
8 years ago
Sami Vaarala
1e9351c000
Unnecessary callable check, better push boolean
8 years ago
Sami Vaarala
d2b70a505c
Fix duk_bi_reflect.c indent
8 years ago
Sami Vaarala
22d6069874
Use faster and smaller value stack tval access
8 years ago
Sami Vaarala
ef8590ad4c
Remove unnecessary case case, fixes warning
8 years ago
Sami Vaarala
13ad0d993e
Merge pull request #1034 from svaarala/releases-regexp-closed-form-jump
Releases: regexp closed form jump
8 years ago
Sami Vaarala
1f9f7434c0
Releases: regexp closed form jump
8 years ago
Sami Vaarala
c034b7253e
Merge pull request #1033 from svaarala/regexp-closed-form-negative-jump
Closed form offset calculation for RegExp compiler
8 years ago
Sami Vaarala
e806d31e5d
Testcase for negative regexp jump offset
8 years ago
Sami Vaarala
f9f3bc3349
Closed form regexp compiler negative skip offset
8 years ago
Sami Vaarala
4cfd390c8c
Merge pull request #1025 from fatcerberus/es6-reflect-builtin
Implement Reflect built-in (ES6+)
8 years ago
Bruce Pascoe
a9d6366502
Releases: ES6 Reflect
8 years ago
Bruce Pascoe
d7e5a8e885
Website notes: ES6 Reflect
8 years ago
Bruce Pascoe
bd83e70e15
Testcases for ES6 Reflect built-in
Testcases cover all functions. There is additionally an argument policy
test which checks that all functions will throw for a non-object
argument.
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
c7d15df115
Merge pull request #1001 from svaarala/add-es6-nonbmp-unicode-escape
Add ES6 \u{H+} escape
8 years ago
Sami Vaarala
f3b7281aff
Releases: \u{H+} syntax support
8 years ago
Sami Vaarala
cae4aaeb73
Website: \u{H+} support
8 years ago
Sami Vaarala
e28d847b04
Add \u{H+} support to source code lexer
8 years ago
Sami Vaarala
01835f20e0
Config option for \u{H+} escape
8 years ago
Sami Vaarala
144f90f05d
Testcase for ES6 \u{H+} escape
8 years ago
Sami Vaarala
3e98fd56e2
Merge pull request #1020 from svaarala/nodejs-buffer-tostring-not-1to1
Remove 1:1 buffer-to-string coercion in Node.js Buffer.prototype.toString()
8 years ago
Sami Vaarala
99dcf6dba0
Releases: Node.js Buffer .toString()
8 years ago
Sami Vaarala
eae2c100ee
2.0 migration notes for Buffer .toString()
8 years ago
Sami Vaarala
e4e4c568ba
Website updates for buffer coercion
8 years ago
Sami Vaarala
3605573a97
Internal doc updates for buffer coercion
8 years ago
Sami Vaarala
ad3a51ade7
Use TextDecoder() for Buffer .toString()
8 years ago
Sami Vaarala
93076453bd
Testcase for Buffer .toString(), other trivia
8 years ago
Sami Vaarala
12f5e5159c
Merge pull request #1024 from svaarala/update-nodejs-gap-to-v6.8.1
Update Node.js Buffer gap for Node.js v6.8.1
8 years ago
Sami Vaarala
738a89bd51
Internal doc updates for Node.js snapshot
8 years ago
Sami Vaarala
fea2d6d7b2
Testcase updates for Node.js snapshot
8 years ago
Sami Vaarala
1c0541ed87
Website updates for Node.js snapshot
8 years ago
Sami Vaarala
ce9efad758
Merge pull request #1023 from svaarala/fix-textdecoder-decode-len-handling
Fix memory unsafe behavior in TextDecoder decode()
8 years ago
Sami Vaarala
eef7f2c69a
Fix memory unsafe behavior in TextDecoder decode()
8 years ago