Sami Vaarala
aa8140f4a6
Merge pull request #1183 from svaarala/anonymous-function-es6
Align anonymous function handling against ES6/ES7
8 years ago
Sami Vaarala
7d86ba9ed4
Releases: anon func and new Function() .name
8 years ago
Sami Vaarala
738ee1f068
Tests for anon function and new Function() .name
8 years ago
Sami Vaarala
43d4b974de
ES6 anon function and new Function() .name
* Anonymous functions don't have an own '.name' property but inherit
an empty string .name from Function.prototype.
* new Function() returns a function whose name is 'anonymous'.
8 years ago
Sami Vaarala
5222fb5116
Merge pull request #1177 from svaarala/builtin-function-length-configurable
Make built-in function .length and .name configurable
8 years ago
Sami Vaarala
e63d491c5c
Releases: built-in func .name and .length attrs
8 years ago
Sami Vaarala
f0c6ac8dd4
Extras fixes for .name and .length attrs
8 years ago
Sami Vaarala
073648570b
Test fixes for built-in .name and .length attrs
8 years ago
Sami Vaarala
6bc0b1bc82
Built-in function .name and .length attrs
8 years ago
Sami Vaarala
1db6d4a952
Genbuiltins changes for .name and .length attrs
8 years ago
Sami Vaarala
157a57a2cd
Merge pull request #1186 from svaarala/footprint-push-empty-string-fixed
Add internal duk_push_hstring_empty() helper
8 years ago
Sami Vaarala
1331bdc78e
Releases: duk_push_hstring_empty()
8 years ago
Sami Vaarala
e563243ff1
Add internal duk_push_hstring_empty() helper
8 years ago
Sami Vaarala
d407b05d5f
Merge pull request #1178 from svaarala/regexp-es6-alignment
Align RegExp.prototype and instance properties with ES6
8 years ago
Sami Vaarala
998b08042b
Releases: ES6 RegExp alignment
8 years ago
Sami Vaarala
9cd18b82ee
2.0 migration notes for ES6 RegExp.prototype
8 years ago
Sami Vaarala
34ec664983
Testcases for RegExp ES6 related changes
8 years ago
Sami Vaarala
75a66718fa
Align RegExp.prototype and instances with ES6
* RegExp.prototype is no longer a RegExp instance, so e.g.
Object.prototype.toString.call(RegExp.prototype) now returns
[object Object].
* .source, .global, .ignoreCase, .multiline (and new ES6 properties
.sticky, .unicode, .flags) are inherited getters instead of actual
properties in the RegExp instance.
* RegExp constructor uses .flags rather than reading .global,
.ignoreCase, and .multiline when the argument is a RegExp instance.
8 years ago
Sami Vaarala
787fee61f9
Merge pull request #1182 from svaarala/error-subclass-constructor-inheritance
Change NativeError (TypeError, etc) constructor to inherit from Error constructor
8 years ago
Sami Vaarala
142e503e92
Releases: NativeError inheritance
8 years ago
Sami Vaarala
bd51390210
Test coverage for NativeError inheritance chain
8 years ago
Sami Vaarala
09721022a7
Change NativeError inheritance to match ES6
For example, TypeError constructor's internal prototype is the Error
constructor rather than Function.prototype directly.
8 years ago
Sami Vaarala
7a40604237
Merge pull request #1153 from svaarala/func-property-config-options
Add config options for function .name and .fileName properties
8 years ago
Sami Vaarala
df464e7fb1
Releases: func .name and .fileName options
8 years ago
Sami Vaarala
70ded94af5
2.0 migration notes for .name, .length, etc
8 years ago
Sami Vaarala
f1d0855f45
Test fix for .name, .fileName, .lineNumber, etc
8 years ago
Sami Vaarala
86860bb42a
Opts for func .name and .fileName, attr fixes
8 years ago
Sami Vaarala
56b8c30c01
Config options for func .name and .fileName
8 years ago
Sami Vaarala
e6949c4971
Merge pull request #1180 from svaarala/fix-debugger-dumpheap-webui
Fix web UI debugger DumpHeap handling
8 years ago
Sami Vaarala
1842fdd6ef
Avoid <a> inside <button> for FF
8 years ago
Sami Vaarala
de86907f53
Merge pull request #1181 from svaarala/website-versioning-es6-and-later
Guide versioning note on ES-latest tracking
8 years ago
Sami Vaarala
1f7b9b1748
Guide versioning note on ES-latest tracking
8 years ago
Sami Vaarala
d82bde8c12
Fix HTYPE definitions for web UI debugger
8 years ago
Sami Vaarala
54aa674318
Merge pull request #1176 from svaarala/release-checklist-fixes
Minor release checklist fixes
8 years ago
Sami Vaarala
54e110b8d5
Minor release checklist fixes
8 years ago
Sami Vaarala
4f583bb584
Merge pull request #1175 from svaarala/v1.6.0-release-prep
Release preparations for 1.6.0 release
8 years ago
Sami Vaarala
ae8deb1c92
Release notes for 1.6.0 release
8 years ago
Sami Vaarala
d7b5684c39
duk_suspend/duk_resume API doc fixes
8 years ago
Sami Vaarala
6e00e0a14a
Add guide suspend/resume note in Threading
8 years ago
Sami Vaarala
f179021b19
Add download link for 1.6.0
8 years ago
Sami Vaarala
c7c6b968bc
Releases: 1.6.0 release
8 years ago
Sami Vaarala
77d7b5f6a4
Merge pull request #1173 from svaarala/footprint-misc-arg-count-helpers
Misc footprint optimization by reducing call site argument count
8 years ago
Sami Vaarala
6baabba342
Releases: footprint, arg count
8 years ago
Sami Vaarala
c8f8650067
Misc footprint optimization by reducing arg counts
* Add duk_to_number_m1(ctx)
* Add duk_to_number_m2()
* Add duk_compact_m1()
* Add duk_to_hstring_m1()
* Use shorthand for a few pop call sites
8 years ago
Sami Vaarala
53d5c79250
Merge pull request #1159 from svaarala/es5ish-documentation-changes
Document the change from strict ES5.1 to ES5-ish
8 years ago
Sami Vaarala
4a6ea8f9e0
README changes for ES5-ish approach
8 years ago
Sami Vaarala
f0aa1a9c2e
Website changes for ES5-ish approach
8 years ago
Sami Vaarala
9222356f83
Merge pull request #1172 from svaarala/fix-negative-shift-warning
Fix compiler warning for shifting a negative value
8 years ago
Sami Vaarala
b8d61fed94
Releases: signed shift fixes
8 years ago
Sami Vaarala
750bb49bdb
Testcase fix for lightfuncs
8 years ago