1307 Commits (42db40c77c9fa8178f15b655afcef4f4d59d3f92)

Author SHA1 Message Date
Sami Vaarala b3e2d16b8b Don't redefine _CRT_SECURE_NO_WARNINGS to avoid compile warning 11 years ago
Sami Vaarala 0149d7fc9c Force unpacked duk_tval on x64 regardless of platform 11 years ago
Sami Vaarala 1c4869b163 Treat negative lexer input_offset as an internal error 11 years ago
Sami Vaarala b01c93404e Fix a potential 64-bit pointer arithmetic issue 11 years ago
Sami Vaarala 33f33ac678 Improve packed_tval feature detection and fix a few constants 11 years ago
Sami Vaarala 93c6e12c7a Add a selftest for detecting incorrect packed duk_tval guess 11 years ago
Sami Vaarala cabae029cd Portability fix for signed int minimum constants (e.g. -0x80000000L -> -0x7fffffffL - 1L) 11 years ago
Sami Vaarala cbca7b5f55 A note on minimum signed integer constant corner case 11 years ago
Sami Vaarala 7bbdebe16a A few explicit casts for double vs. int comparisons 11 years ago
Sami Vaarala 928341ce7e Make duk_log() support artbirarily long log messages 11 years ago
Sami Vaarala c60adc128e Rework duk_push_vsprintf() loop to reduce code size 11 years ago
Sami Vaarala 2a2cf53ccf Use stack buffer when possible in duk_push_vsprintf() 11 years ago
Sami Vaarala 0360cd7d60 Comment fix 11 years ago
Sami Vaarala c297836385 Change arguments/return of duk_to_{fixed,dynamic}_buffer() 11 years ago
Sami Vaarala 3682afa81d Comment fix 11 years ago
Sami Vaarala 5837184431 Bug fix to duk_to_buffer_raw() 11 years ago
Sami Vaarala ff11c49619 Refactor duk_to_buffer() so that it can be more easily shared 11 years ago
Sami Vaarala 8b99a927f8 Assert typo fix 11 years ago
Sami Vaarala 7b1aec3443 Further header note on zero-size memcpy/friends 11 years ago
Sami Vaarala 31ea15e4cf Minor changes to zero-size memcpy/memmove sites 11 years ago
Sami Vaarala db1e3e7e24 Note on memcpy & co zero-size vs. pointer validity semantics 11 years ago
Sami Vaarala 7221506fb5 Add DUK_OPT_NO_NONSTD_ACCESSOR_KEY_ARGUMENT 11 years ago
Sami Vaarala 4522ed3768 Add non-standard key arg to setter/getter calls 11 years ago
Sami Vaarala 0a812109dd Make bytecode executor stack top assert stricter (== nargs) 11 years ago
Sami Vaarala 43263454a0 Add duk_get_global_string() helper API call 11 years ago
Sami Vaarala 526214f5a8 Change asserts to checks in duk_def_prop_xxx() 11 years ago
Sami Vaarala f474df5be5 Fix JSON.parse() array 'length' property 11 years ago
Sami Vaarala 746e3bc022 Add internal duk_set_length() call 11 years ago
Sami Vaarala e6a929e1f7 Document JSON reviver corner cases 11 years ago
Sami Vaarala 6516d0d3a5 Use def_prop instead of put_prop in JSON.parse() 11 years ago
Sami Vaarala d25e3ea2ba Disable incorrect assert in numconv 11 years ago
Sami Vaarala b14964986d Add macros for defining properties with WEC attrs 11 years ago
Sami Vaarala cfc1ec4fad fix a few coercion warnings which appear on 64-bit windows compile 11 years ago
Sami Vaarala e3e2f4f3eb fix a 'naked' use of int64_t (not duk_int64_t) in numconv, and similar ones in debug size dumps 11 years ago
Sami Vaarala 24fbe42a01 use _vsnprintf() in older MSVC versions 11 years ago
Sami Vaarala 1f3b2aba82 relocate msvc secure crt tweak 11 years ago
Sami Vaarala 81e8b1c3d3 add a few notes on MSVC defines, _MSVC_FULL_VER 11 years ago
Sami Vaarala 5530e63fae unary minus fixes reported by MSVC, one cast fix in regexp compiler 11 years ago
Sami Vaarala d095ecb5ea define _CRT_SECURE_NO_WARNINGS as initial fix for compiling more cleanly for windows store apps 11 years ago
Sami Vaarala fd415938f7 add duk_to_uint(), some improvements to other integer coercion calls (duk_to_uint32() etc) 11 years ago
Sami Vaarala ef5790d628 typing changes for public api integer to/get/require calls 11 years ago
Sami Vaarala 82c8232cea move duk_push_u32() internal call to duk_push_uint() external call (to match duk_push_int()); add internl macro duk_push_u32() in case there's a new helper for it later 11 years ago
Sami Vaarala 847cd3e087 change interface to duk_hobject_pc2line_query() to suit call sites better; shaves off some code footprint and makes call sites prettier 11 years ago
Sami Vaarala 3dfc0b0ca1 add safety checks for bytecode byte size and (maximum) line number used; these limits ensure that there are no overflows / clipped conversions in e.g. pc2line format which only supports 32 bits right now 11 years ago
Sami Vaarala c382af2209 add a DUK_HOBJECT_FLAG_NOTAIL flag and 'use duk notail' directive 11 years ago
Sami Vaarala df4cde24f2 remove Duktape.line() 11 years ago
Sami Vaarala 3b597a4089 fixme cleanups 11 years ago
Sami Vaarala 1a4f3c2536 fixme cleanups 11 years ago
Sami Vaarala aade9bae4d fixme cleanup 11 years ago
Sami Vaarala 59d39d3d8a FIXME cleanups 11 years ago