8 Commits (e63b495785a4507589511b475c746515e6b81f82)

Author SHA1 Message Date
Sami Vaarala 20247ca6f2 Add internal duk_remove_m2() helper for footprint 8 years ago
Sami Vaarala 87903249ac Pack arguments to internal property calls 8 years ago
Sami Vaarala 93d16934b6 Add duk_push_bare_object() to public API 8 years ago
Sami Vaarala 640b9990af Use 'ownKeys' trap for for-in (ES7), enum check 8 years ago
Sami Vaarala fd2434485e ES6 enumeration order for plain objects/arrays 8 years ago
Sami Vaarala c5569c8436 Use duk_known_{hstring,hbuffer,hobject}() helpers 8 years ago
Sami Vaarala 0fa879e6d3 Add internal duk_dup_xxx() helpers 8 years ago
Sami Vaarala 96d301b3cb Rename src/ to src-input/ to match dist 8 years ago
Sami Vaarala d84c1ce43e Finalize buffer behavior when no bufobj support 8 years ago
Sami Vaarala 960efde0fa Make plain buffers behave like ArrayBuffers 8 years ago
Sami Vaarala 27ee099edb Make ArrayBuffer indices non-enumerable 8 years ago
Sami Vaarala 5a92ca85ac Add duk_harray internal type 9 years ago
Sami Vaarala 100894b3ac Use DUK_USE_DEBUG_LEVEL for debug level control 9 years ago
Sami Vaarala a804a2a630 Rename internal struct/define names 9 years ago
Sami Vaarala bf1304c4bc Fixes for -Wcast-qual, const/volatile casts 9 years ago
Sami Vaarala efc52c8e8d Separate (marker) unused tag 9 years ago
Sami Vaarala b88137619f Source ES6 ref updates 10 years ago
Sami Vaarala 6645e711c6 Buffer object implementation cleanups and fixes 10 years ago
Sami Vaarala 92d33fd550 Implement Node.js Buffer and TypedArray support 10 years ago
Sami Vaarala 22a38b4b07 Fastint fast paths and cleanups 10 years ago
Sami Vaarala 36494812ed ENC16/DEC16/EXTSTR udata changes 10 years ago
Sami Vaarala 530f6e7ff7 16-bit fields and heap pointer compression work 10 years ago
Sami Vaarala 95057396af Source comment fixes for int key capitalization 10 years ago
Sami Vaarala 1fa66cd25a Symbol visibility changes for code and headers 10 years ago
Sami Vaarala 3ab572de8a Code policy issue fix trivia 10 years ago
Sami Vaarala 41afe40761 FIXME cleanups 10 years ago
Sami Vaarala d0f92911e3 Rename duk_hobject e_used to e_next for clarity 10 years ago
Sami Vaarala 6a15c0be73 Formatting casts for custom format (%!T etc) 10 years ago
Sami Vaarala 018774dc55 Format string cleanups, %ld instead of %d etc 10 years ago
Sami Vaarala f8423ffb36 Format string cleanups, allow NULL+%s/%p in debug 10 years ago
Sami Vaarala 2f80307641 Miscellaneous typing work here and there 11 years ago
Sami Vaarala 296ea697a4 comment on enum virtualization 11 years ago
Sami Vaarala 96e80cf2d0 add ownKeys proxy trap, update Object.keys() and Object.getOwnPropertyNames() to use it (combining them into a shared helper in the process), make Proxy extensible 11 years ago
Sami Vaarala b9b578a2eb rename special->exotic in code 11 years ago
Sami Vaarala dd77a90d8b fix a set of multiline debug call sites 11 years ago
Sami Vaarala 95dee49efa autofixed one line debug call sites 11 years ago
Sami Vaarala 8c8bc36d82 clean up debug defines: DUK_USE_DEBUG now enables/disables debug code globally, while DUK_USE_DPRINT, DUK_USE_DDPRINT, and DUK_USE_DDDPRINT control specific log levels (earlier DUK_USE_DEBUG and DUK_USE_DPRINT were the same, which was confusing) 11 years ago
Sami Vaarala 2fec305179 first draft of buffer virtual length/index property implementation, not as trivial as seems because buffer bytes are the first writable virtual properties 11 years ago
Sami Vaarala 0a9d269cfa Add a virtual 'length' property to Duktape/C functions if they don't have a concrete property of that name. Ideally the number could be overwritten with a concrete property value, but currently the value is non-writable. Making it writable is trivial, but putprop needs to be fixed so that overwriting a virtual property works. Currently putprop assumes that if an own property is writable, it cannot be a virtual property. 11 years ago
Sami Vaarala 692872bb99 fix compile warnings when DUK_USE_DDDEBUG given 11 years ago
Sami Vaarala 6036c86def prepend a 'duk__' prefix to a bunch of internal functions 11 years ago
Sami Vaarala 2dba37be58 -Wextra fixes 11 years ago
Sami Vaarala a98f08b66f internal macro renames, XXX -> DUK__XXX 11 years ago
Sami Vaarala 9fa1ec592d clean up #define, #undef, #ifdef etc to have a single space after the directive 11 years ago
Sami Vaarala 884045b1d1 typedef C99 'wrapper' types like duk_uint32_t; bulk replacement of duk_u32 with duk_uint32_t, and other type usage replacements 11 years ago
Sami Vaarala 106ab7a2b4 add macros for ANSI C memory and string functions, change memcpy, memmove, memcmp, memset call sites (and a few others too) 11 years ago
Sami Vaarala 11c664a4eb mass rename of multiple duk_push_new_xxx() into duk_push_xxx() for API consistency 11 years ago
Sami Vaarala 5cd95cbb80 change duk_next() to not push key and/or value when enum is empty; this requires caller to check retval to know what's on the stack but is more natural when enumerating 12 years ago
Sami Vaarala 54af437337 refactor getOwnPropertyNames(), implement keys() 12 years ago
Sami Vaarala 939e9d6dcd include String object 'length' in enumeration if non-enumerable properties are requested 12 years ago