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
Sami Vaarala
f9337663c3
Fix compiler warnings re: shifting negative values
Shifting signed values is implementation defined behavior so use unsigned
shifts and casts to sign extend (e.g. (duk_idx_t) (duk_int8_t) (x >> 24)).
Also avoid signed shift for lightfunc magic macro.
8 years ago
Sami Vaarala
25a5d4fb26
Merge pull request #1170 from svaarala/apidoc-prop-access-proxy-behavior
Clarify property API call vs. Proxy behavior
8 years ago
Sami Vaarala
54f0f99432
Clarify property API call vs. Proxy behavior
8 years ago
Sami Vaarala
1a45325b15
Merge pull request #1169 from svaarala/code-trivia-ifdef-ifndef
Prefer #if defined() over #ifdef for consistency
8 years ago
Sami Vaarala
ae376e693c
Releases: #if(n)def source policy
8 years ago
Sami Vaarala
9a9f7762ce
Testcase fixes for #if(n)def
8 years ago
Sami Vaarala
7ac233a289
Internal doc fixes for #if(n)def
8 years ago
Sami Vaarala
b769dfccb0
Tools and util fixes for #if(n)def
8 years ago
Sami Vaarala
1535e1a872
Config fixes for #if(n)def
8 years ago
Sami Vaarala
d52e7c0526
Examples and extras fixes for #if(n)def
8 years ago
Sami Vaarala
39ecb8b7eb
Source fixes for #ifdef and #ifndef convention
8 years ago
Sami Vaarala
04411af116
Add #ifdef and #ifndef checks to codepolicy
8 years ago