Sami Vaarala
|
276aa5069e
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
f6846d6ba6
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
384cea6b7b
|
improve api docs for err_code values
|
11 years ago |
Sami Vaarala
|
f466e3fdcc
|
error codes discussion to guide
|
11 years ago |
Sami Vaarala
|
6e4938754a
|
yield notes to guide
|
11 years ago |
Sami Vaarala
|
36a6eea458
|
make all calls except plain Ecmascript-to-Ecmascript calls prevent a yield for now
|
11 years ago |
Sami Vaarala
|
2d26d7ebf9
|
yield related test cases
|
11 years ago |
Sami Vaarala
|
2016143ca7
|
testcase comment fixes
|
11 years ago |
Sami Vaarala
|
c8631f2042
|
execute duk_double_union changes, remove an old FIXME
|
11 years ago |
Sami Vaarala
|
aef64f5baf
|
rework duk_double_union and duk_tval macros; doubles are now normalized using a union which should be strict aliasing compatible
|
11 years ago |
Sami Vaarala
|
b62584df15
|
remove union duk_tval; use union duk_double_union for packed tval directly
|
11 years ago |
Sami Vaarala
|
ea0cf3faa4
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
a9d80f4767
|
rework indirect realloc to use a callback instead of a type-punned pointer which broke strict aliasing rules
|
11 years ago |
Sami Vaarala
|
d0c4ae6e7a
|
trivial memory alloc / zero optimization
|
11 years ago |
Sami Vaarala
|
b1b23c10dc
|
fix buffer resize zeroing
|
11 years ago |
Sami Vaarala
|
98cd7e9298
|
rework Math built-in to use shared helpers
|
11 years ago |
Sami Vaarala
|
5ecb0088dc
|
shared helper reworks for buffer, pointer, and date; buffer and pointer file contents were swapped, fixed that too
|
11 years ago |
Sami Vaarala
|
c20ff9d407
|
further rework on array built-in: shared native helper for join() and toLocaleString()
|
11 years ago |
Sami Vaarala
|
8c3bda4efc
|
move bin2img.py to misc
|
11 years ago |
Sami Vaarala
|
c66093f9dd
|
rework Array built-in indexOf/lastIndexOf to use a shared native helper + magic
|
11 years ago |
Sami Vaarala
|
1b1cace83e
|
refactor Array prototype iterator builtins to use a shared native helper + magic args
|
11 years ago |
Sami Vaarala
|
d8279857f9
|
merge reduce and reduceRight into the same native helper + magic arg
|
11 years ago |
Sami Vaarala
|
dd80637df6
|
rework Date built-in string conversions to use a shared native helper + magic args (total savings are about 200 bytes, so not that much)
|
11 years ago |
Sami Vaarala
|
6300b143d5
|
rework Date built-in getters to use a shared native helper + magic args
|
11 years ago |
Sami Vaarala
|
caad60f1d0
|
rework Date builtin setters to use a single helper + magic values; error constructor rename
|
11 years ago |
Sami Vaarala
|
c758c86306
|
missing commit related to error constructor helper / magic
|
11 years ago |
Sami Vaarala
|
3ac39f3bc0
|
use magic values to replace specific error prototype constructors with a shared one
|
11 years ago |
Sami Vaarala
|
3573349cc7
|
initial magic flags for builtins
|
11 years ago |
Sami Vaarala
|
9dc42faffd
|
add duk_bd_decode_flagged() for decoding fields predicated with a 1-bit flag
|
11 years ago |
Sami Vaarala
|
f888592e43
|
add a 16-bit 'magic' field to native functions
|
11 years ago |
Sami Vaarala
|
cbe678f1d8
|
bytecode constant trivia
|
11 years ago |
Sami Vaarala
|
ebf14dcd23
|
rework compiler handling of intermediate value flags in anticipation for adding more flags
|
11 years ago |
Sami Vaarala
|
d4e7add4f0
|
ditz issue update
|
11 years ago |
Sami Vaarala
|
8b69579ab3
|
fix a few compile errors and a potential case conversion bug in unicode
|
11 years ago |
Sami Vaarala
|
ce1faf070f
|
use fpclassify() etc replacements in FreeBSD + clang to avoid a FreeBSD math.h header bug
|
11 years ago |
Sami Vaarala
|
b9e89014b0
|
c typing fixes
|
11 years ago |
Sami Vaarala
|
12fb90f00d
|
C type cleanups
|
11 years ago |
Sami Vaarala
|
9ae24f3dfb
|
codepoint types; more or less same as 32-bit types but signals more explicitly what they're used for
|
11 years ago |
Sami Vaarala
|
a2dad06c3f
|
fix string-to-array-index coercion, should now be correct
|
11 years ago |
Sami Vaarala
|
3102946485
|
update error limitations: non-constructor calls to built-in error constructors return augmented errors
|
11 years ago |
Sami Vaarala
|
0e86f0f96d
|
augment built-in errors even when created with a non-constructor call
|
11 years ago |
Sami Vaarala
|
11ae874efd
|
C typing fixes
|
11 years ago |
Sami Vaarala
|
970f080dd1
|
fix duk_int -> duk_int_t use
|
11 years ago |
Sami Vaarala
|
668955300d
|
rename duk_(u)int -> duk_(u)int_t, add duk_small_(u)int_t, add duk_double_t
|
11 years ago |
Sami Vaarala
|
9780a9fc9c
|
basic testcase for string overflows (now check Array.prototype.join(), internally duk_concat())
|
11 years ago |
Sami Vaarala
|
0146727103
|
use plain constants for integer limits to make them usable with preprocessor checks too
|
11 years ago |
Sami Vaarala
|
da19013383
|
overflow checks to duk_concat()
|
11 years ago |
Sami Vaarala
|
88b216fbb2
|
add int range defines, two's complement check (very simple), DUK_LIKELY and DUK_UNLIKELY
|
11 years ago |
Sami Vaarala
|
75ac0c8e1a
|
integer constant fixes
|
11 years ago |
Sami Vaarala
|
321d7a4927
|
fix some number constants
|
11 years ago |