Sami Vaarala
5886c55908
Releases: object literal fixes
8 years ago
Sami Vaarala
e1cf8b2ae6
Fix object literal tempreg handling for getset
8 years ago
Sami Vaarala
bde3b9e638
Bug test for object literal getter/setter tempreg
8 years ago
Sami Vaarala
6413d4d106
Merge pull request #1194 from svaarala/debugger-webui-function-keys
Add F5, F6, F7,F8 debugger web UI function keys
8 years ago
Sami Vaarala
a287514135
Add F5, F6, F7, F8 debugger web UI function keys
8 years ago
Sami Vaarala
481a578c78
Merge pull request #1190 from svaarala/es6-object-literal-improvements
Implement ES6 object literal identifier reference, method definition, remove dup check
8 years ago
Sami Vaarala
4fa739329a
Releases: object literal idref, method def
8 years ago
Sami Vaarala
8a70048f5d
Add some perf tests missing from an earlier commit
8 years ago
Sami Vaarala
e73b446829
Test coverage for ES6 object literal changes
8 years ago
Sami Vaarala
661f84a128
ES6 object literal id/method shorthand, dup keys
* Allow duplicates keys, even in strict mode (ES6).
* Add identifier reference shorthand: { Math }.
* Add method definition shorthand: { foo(a,b) { return a + b; } }.
* Eval/program code no longer has the CONSTRUCTABLE flag which was
previously set. Calling an eval/program function as a constructor
makes no sense and wasn't really supported previously. This change
has no compliance impact because eval/program code doesn't exist as
an unexecuted function in Ecmascript.
* Eval/program code no longer has a NAMEBINDING flag which was previously
set. The revised behavior is cleaner because eval/program code must
not have a name binding. However, the flag is only consulted if NEWENV
is also set, and NEWENV is never set for eval/program code. So this
change has no other effect other than affecting dumped bytecode.
8 years ago
Sami Vaarala
af2178206a
Merge pull request #1188 from svaarala/es6-object-literal-getset
Fix object literal getter/setter .prototype and constructability to match ES6
8 years ago
Sami Vaarala
0658ba7ff8
Releases: ES6 get/set .prototype and non-constr.
8 years ago
Sami Vaarala
8d507a6a9e
Test coverage for object literal get/set in ES6
8 years ago
Sami Vaarala
258f5e23bd
Implement ES6 object literal get/set semantics
* No .prototype property.
* Not constructable.
* .name is still incorrect.
8 years ago
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