Sami Vaarala
88d4c926b1
Merge pull request #1043 from svaarala/add-es6-string-codepointat
Add ES6 String.prototype.codePointAt()
8 years ago
Sami Vaarala
7e8a2a7649
Releases: String .codePointAt()
8 years ago
Sami Vaarala
652920c5c3
2.0 migration note for duk_char_code_at()
8 years ago
Sami Vaarala
79b4726aec
API document change for duk_char_code_at()
8 years ago
Sami Vaarala
8e21050e96
Implement String.prototype.codePointAt()
8 years ago
Sami Vaarala
ad78c8b086
Add generic DUK_USE_ES6 config option
8 years ago
Sami Vaarala
9b2afe0a46
Add testcase for String.prototype.codePointAt()
8 years ago
Sami Vaarala
a5256f7e5d
Merge pull request #1046 from svaarala/fix-fromcharcode-std-variant
Fix String.fromCharCode() coercion to ToUint16() when standard behavior enabled
8 years ago
Sami Vaarala
018c31ed5d
Merge pull request #1042 from svaarala/norz-avoid-debugger-check
Faster debugger paused check in refzero handling
8 years ago
Sami Vaarala
a82defff21
Releases: String.fromCharCode() fix
8 years ago
Sami Vaarala
4d64103c4e
Fix String.fromCharCode() behavior for std variant
The non-standard (default) variant allows non-BMP codepoints which get
encoded as extended UTF-8. The standard variant should use ToUint16()
coercion so that e.g. 0x123456 emits 0x3456.
The previous (buggy) code used ToUint32() + CESU-8 encoding in that case
which caused two codepoints (CESU-8) to be emitted for a codepoint (this
would actually be correct behavior for String.fromCodePoint()).
Fix the bug by using ToUint16() coercion when the standard behavior is
enabled.
8 years ago
Sami Vaarala
cb5dde58d3
Releases: refzero dbg_paused
8 years ago
Sami Vaarala
a1b8579be5
Faster heap refcount check
8 years ago
Sami Vaarala
0a61e7b664
Merge pull request #1041 from svaarala/api-error-return-tweak
Another duk_error() et al return value approach
8 years ago
Sami Vaarala
a7270f2afe
Releases: duk_error() et al retval
8 years ago
Sami Vaarala
cd5877952e
Revise duk_error() et al return value approach
Make duk_error_raw() noreturn but return void, and then define duk_error()
as a macro: (duk_error_raw(...), 0). This avoids MSVC warnings for duk_error()
being noreturn but still returning a value in its prototype.
Same changes for other throwers.
8 years ago
Sami Vaarala
d988a8607c
Merge pull request #1040 from svaarala/api-specific-error-throwers
Add convenience error throwers like duk_type_error()
8 years ago
Sami Vaarala
a5aa587af5
Releases: convenience error throwers
8 years ago
Sami Vaarala
fa342235e8
API docs for convenience error throwers
8 years ago
Sami Vaarala
94720ca4eb
API testcase for convenience error throwers
8 years ago
Sami Vaarala
8d41e27d65
Add convenience throwers like duk_type_error()
8 years ago
Sami Vaarala
4354e5aeee
Merge pull request #1039 from svaarala/update-nodejs-gap-v691
Update Node.js gap to v6.9.1 (LTS baseline)
8 years ago
Sami Vaarala
d8de0a6408
Merge pull request #1038 from svaarala/api-duk-error-return-value
Add duk_ret_t return value to duk_{throw,error,error_va,fatal}() prototype
8 years ago
Sami Vaarala
6b93904c24
Testcase updates for Node.js 6.9.1
8 years ago
Sami Vaarala
7baf7ad3c9
Internal docs, Node.js 6.9.1
8 years ago
Sami Vaarala
ac83e51238
Website, Node.js 6.9.1
8 years ago
Sami Vaarala
88f6e37398
Releases: duk_{throw,error,fatal}() return value
8 years ago
Sami Vaarala
4b9e6d209d
2.0 migration notes: duk_error() etc changes
8 years ago
Sami Vaarala
a9c7257bea
API doc changes for duk_{throw,error,fatal}()
8 years ago
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