Sami Vaarala
3f3a93cbcc
Merge pull request #1562 from svaarala/codepolicy-ll-ull-constants
Add codepolicycheck for longlong consts, fix a few consts
8 years ago
Sami Vaarala
c6b482e2b8
Releases: portability for old MSVC versions
8 years ago
Sami Vaarala
c0d0a9f189
Fix a few more unwrapped (U)LL constants
8 years ago
Sami Vaarala
2875c32b8f
Add codepolicycheck for longlong consts
8 years ago
Sami Vaarala
0d12c9869b
Merge pull request #1559 from shdon/master
Fixed some issues with Microsoft Visual Studio
8 years ago
Steven Don
0867a8fdb1
Fixed some issues with Microsoft Visual Studio, allowing compilations on VC2005 and earlier (up to at least VC6).
Replaced #ifdefs with DUK_U64_CONSTANT and DUK_I64_CONSTANT macros for cleaner
code and to prevent future breakage, as suggested by svaarala.
Missed a few replacements. Added.
Last one.
Changed parameter name from x to a.
Split MinGW and MSVC typedefs for 64-bit types.
Added myself to list of code contributors.
8 years ago
Sami Vaarala
b4e7ed1e27
Merge pull request #1561 from svaarala/more-es6-math-bindings
Add ES2015 Math clz32(), imul(), sign()
8 years ago
Sami Vaarala
22c926fd12
Releases: more ES2015 Math functions
8 years ago
Sami Vaarala
34dce7f8e6
Testcases for new Math built-ins
8 years ago
Sami Vaarala
545f15b128
Add more ES6 Math built-ins: clz32() etc
Add Math builtins:
* clz32()
* imul()
* sign()
8 years ago
Sami Vaarala
f70c2daf54
Merge pull request #1557 from svaarala/fix-tailcall-in-constructor
Fix tailcall in constructor handling
8 years ago
Sami Vaarala
84a76954a4
Releases: constructor tailcall fix
8 years ago
Sami Vaarala
0bc781e721
Fix tailcall-in-constructor handling
8 years ago
Sami Vaarala
350bbac952
Tailcall testcase improvements
8 years ago
Sami Vaarala
26e8dfa835
Bug testcase for GH-1554
8 years ago
Sami Vaarala
695b187eee
Merge pull request #1553 from svaarala/protected-call-stack-shape
Protected call stack shape
8 years ago
Sami Vaarala
ffc6290f2c
Releases: protected call arg fixes
8 years ago
Sami Vaarala
99601ffc29
Fix API docs for protected call stack shape
If a protected call is given API call arguments that conflict with the input
value stack shape -- e.g. nargs is too large compared to available arguments --
current behavior is to throw an error because the value stack API contract
cannot be provided.
API documentation describes the behavior as an error code being returned with
the result value stack shape being undefined.
Fix documentation to match behavior.
8 years ago
Sami Vaarala
4673535d98
Improve testcases for protected call invalid args
8 years ago
Sami Vaarala
dc97a9361d
Fix some protected call arg checks
* Fix duk_pcall_prop() nargs check to check for negative nargs
explicitly. Otherwise negative arguments would be accepted
in some cases.
* Fix duk_safe_call() nargs check similarly.
* Fix duk_pnew() nargs check similarly.
8 years ago
Sami Vaarala
18c5534dbe
Merge pull request #1551 from svaarala/add-lookupgetter-lookupsetter
Add __lookupGetter__ and __lookupSetter__
8 years ago
Sami Vaarala
938655e143
Releases: __lookupGetter__, __lookupSetter__
8 years ago
Sami Vaarala
5ebd7e648e
Testcase improvements for __lookupGetter__, etc
8 years ago
Sami Vaarala
ce73b03e8d
Polyfill improvements for __lookupGetter__, etc
* Add polyfills for __lookupGetter__ and __lookupSetter__.
* Rework polyfills so that necessary Object functions are captured in setup.
8 years ago
Sami Vaarala
4738c87867
Add __lookupGetter__ and __lookupSetter__
8 years ago
Sami Vaarala
a8d9d1472b
Merge pull request #1531 from svaarala/add-definegetter-definesetter
Add __defineGetter__() and __defineSetter__()
8 years ago
Sami Vaarala
c298bff78d
Releases: __defineGetter__, __defineSetter__
8 years ago
Sami Vaarala
ed0dfe0319
Tests for __defineGetter__ and __defineSetter__
8 years ago
Sami Vaarala
3a2016c15a
Add __defineGetter__() and __defineSetter__()
8 years ago
Sami Vaarala
e7a2db9b04
Add ES7-ES9 blanket config options
8 years ago
Sami Vaarala
d298f6f3fe
Merge pull request #1544 from svaarala/add-new-target
Add minimal support for new.target
8 years ago
Sami Vaarala
b0fe99e8bd
Releases: minimal new.target
8 years ago
Sami Vaarala
56a9b19f52
Testcase coverage for new.target
8 years ago
Sami Vaarala
c890304a5c
Add NEWTARGET to debugger opcodes
8 years ago
Sami Vaarala
0438a8adc8
Add minimal new.target support
Add support for 'new.target' expression without yet adding support for an
explicit newTarget which may differ from the constructor function being
called.
8 years ago
Sami Vaarala
4efd67480b
Set direct eval flag for eval body call
8 years ago
Sami Vaarala
2b247aeffc
Merge pull request #1545 from svaarala/direct-reflect-construct-handling
Direct support for Reflect.construct in call handling
8 years ago
Sami Vaarala
65a9d4c3a2
Releases: Reflect.construct() rework
8 years ago
Sami Vaarala
05f0f27b8e
Website coroutine update for Reflect.construct()
8 years ago
Sami Vaarala
c63e619d29
Improve Makefile clean target
8 years ago
Sami Vaarala
3776bb424e
Testcase improvements for special_call handling
8 years ago
Sami Vaarala
606fadf001
Direct Reflect.construct() call handling
8 years ago
Sami Vaarala
e35b4768de
Merge pull request #1523 from svaarala/allow-yield-from-constructor
Handle constructor call semantics inline, allow yield from constructor
8 years ago
Sami Vaarala
e8f3f0496d
Releases: constructor call rework
8 years ago
Sami Vaarala
19bc8f44b7
2.2 migration notes: errCreate callstack
8 years ago
Sami Vaarala
a0dd78ebd3
Guide update for constructor call yield
8 years ago
Sami Vaarala
f0a4dca162
API doc for duk_is_constructable()
8 years ago
Sami Vaarala
1c52465513
Testcase updates for constructor call rework
8 years ago
Sami Vaarala
cd08ff8624
Allow yield from constructor calls
8 years ago
Sami Vaarala
37aaf9d069
Dump fastints as 123_F (not 123F) in debug prints
8 years ago