Sami Vaarala
945ae19717
Remove dependency on fmin() and fmax() entirely
8 years ago
Sami Vaarala
68b95558fe
Double handling improvements, str rep comments
8 years ago
Sami Vaarala
2d43ef8c04
String.prototype.repeat(), internal buf zeroing
8 years ago
Sami Vaarala
203c0cb3d2
Add String.fromCodePoint() support
8 years ago
Sami Vaarala
96d301b3cb
Rename src/ to src-input/ to match dist
With this change the directory naming in the main repo and dist is the same.
8 years ago
Sami Vaarala
78a1128117
Minor source fixes
* Remove DUK_USE_PACKED_TVAL_POSSIBLE refs
* Remove DUK_USE_BYTEORDER_FORCED refs
* Remove DUK_USE_RDTSC() refs
* Remove DUK_USE_NO_DOUBLE_ALIASING_SELFTEST, disable aliasing self test
when duk_tval is not packed (since we don't strictly require it then)
* Fix debugger declaration visibility, undeclared function
* Fix debugger compile warning
* Fix compile warning for time() provider
* Fix BCC compilation error in switch-case
* Add missing 'const' to hex enctab
* Fix duk_get_hobject_or_lfunc_coerce() storage class
* Move computed NaN / infinity declarations to internals
* Declare built-in Date providers internally instead of in duk_config.h
* Whitespace trivia
* Fix compile warning for MSVC 64-bit (assignment in buffer code)
* Suppress warning for heap destruction curr_limit (MIPS32 gcc)
9 years ago
Sami Vaarala
dea2e4d007
Hex encode/decode and other codec improvements
- Faster hex decode invalid input check for duk_hex_decode() fast path
- Faster JX/JC hex encode
- Slightly faster JX/JC hex decode (avoid string intern for temp value)
- Relocate decode tables, they may be useful in other files later
- Loop typing changes
9 years ago
Sami Vaarala
dc2b52ba8e
Add hex encode/decode fast path using lookups
9 years ago
Sami Vaarala
5c0093958b
Suppress some unused var/func warnings
10 years ago
Sami Vaarala
15f1be7f8d
Add byteswap macros and self tests
- DUK_BSWAP32() and DUK_BSWAP16() in duk_features.h so that platform specific
macros, intrinsics, or inline assembly can be used if necessary
- DUK_DBLUNION_BSWAP() for byte swapping doubles (needed by debugger)
- duk_byteswap_bytes() helper for byte swapping arbitrary data (needed by
debugger for pointers)
10 years ago
Sami Vaarala
1fa66cd25a
Symbol visibility changes for code and headers
10 years ago
Sami Vaarala
96b37533cb
hex decode table; increases footprint but a bit faster
11 years ago
Sami Vaarala
11ae874efd
C typing fixes
11 years ago
Sami Vaarala
6b25c527ce
comment trivia
11 years ago
Sami Vaarala
407f09d711
extend duk_lc_nybbles to cover all base-36 digits and rename to duk_lc_digits
12 years ago
Sami Vaarala
7e848a029a
add explicit DUK_USE_SECTION_B define; add uppercase nybbles
12 years ago
Sami Vaarala
7745878770
remove incorrect fixme
12 years ago
Sami Vaarala
502a718db5
base64 decoder added, hex encoder/decoder added
12 years ago