5 Commits (bac161d556f6ac5e25a599cdfb9336c805461dd3)

Author SHA1 Message Date
Bruce Pascoe 436e0fa0b9 Add ES6 Reflect built-in object 8 years ago
Sami Vaarala dd972cd949 Change Node.js Buffer to inherit from Uint8Array 8 years ago
Sami Vaarala d36db648f5 Make built-ins optional in metadata and source 8 years ago
Sami Vaarala 3ffee06a11 Make finalizer support optional for lowmem targets 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 5a92ca85ac Add duk_harray internal type 9 years ago
Sami Vaarala a804a2a630 Rename internal struct/define names 9 years ago
Sami Vaarala 7838de1a70 Add debugger object inspection support 9 years ago
Sami Vaarala 2358a6b9ae Internal duk_hobject_get_own_propdesc() helper 9 years ago
Sami Vaarala c32f41407b Changes for ROM string/object support 9 years ago
Sami Vaarala 3fc88286dd Fix type cast warnings 9 years ago
Sami Vaarala a1a2f25d74 Use DUK_SET_TVAL_xxx_UPDREF() macro throughout 9 years ago
Sami Vaarala c96d5fc726 Tailcall -> tail call in src 9 years ago
Sami Vaarala 82b8ba3f80 Fix -Wcast-align issues in codebase 9 years ago
Sami Vaarala 9cb997423d JSON.stringify() fast path 10 years ago
Sami Vaarala 4a8c9f6103 Genconfig metadata improvements 9 years ago
Sami Vaarala 597226d67a Add Proxy instanceof support 9 years ago
Sami Vaarala 92d33fd550 Implement Node.js Buffer and TypedArray support 10 years ago
Sami Vaarala 36494812ed ENC16/DEC16/EXTSTR udata changes 10 years ago
Sami Vaarala a2b9e32e9e Add duk_def_prop(), rework defineProperty() 10 years ago
Sami Vaarala ec62b01018 Non-leading tab fixes 10 years ago
Sami Vaarala 530f6e7ff7 16-bit fields and heap pointer compression work 10 years ago
Sami Vaarala e239f76ea8 Better C++ static decl fix 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 06ece2a447 FIXME cleanups 10 years ago
Sami Vaarala 2d33806393 Prototype loop fix for error augmentation 10 years ago
Sami Vaarala 60d91dbc2d FIXME notes and other trivia 10 years ago
Sami Vaarala d0f92911e3 Rename duk_hobject e_used to e_next for clarity 10 years ago
Sami Vaarala f8423ffb36 Format string cleanups, allow NULL+%s/%p in debug 10 years ago
Sami Vaarala 01d310eaf1 Midcommit of duk_hobject_props.c typing fixes 11 years ago
Sami Vaarala 2f80307641 Miscellaneous typing work here and there 11 years ago
Sami Vaarala efb9776f91 A round of internal typing fixes (midcommit) 11 years ago
Sami Vaarala 8ef70ac788 Fix e_idx and h_idx typing (duk_int_t) 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 c382af2209 add a DUK_HOBJECT_FLAG_NOTAIL flag and 'use duk notail' directive 11 years ago
Sami Vaarala 9279c5d9a4 some proxy check refactoring to share helper for enumerate proxy behavior 11 years ago
Sami Vaarala b9b578a2eb rename special->exotic in code 11 years ago
Sami Vaarala 1617822b6b placeholder for proxy 'get' 11 years ago
Sami Vaarala dc5f780f2c fix some 'while(' to 'while (' spacings 11 years ago
Sami Vaarala fbc6a2a854 make compiler line number tracking conditionl to DUK_USE_PC2LINE; now always enabled, but can be disabled for memory optimization later 11 years ago
Sami Vaarala 9b42aa5934 implement fast path for duk_def_prop_index(); it's used by e.g. tracebacks and array internals so it's important to avoid string interning 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 e6b92392a7 make room for more hobject bits in heaphdr; bit allocation is now tight and 4 bits are available for hobject 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 041f911aa3 rename DUK_HOBJECT_SET_PROTOTYPE to DUK_HOBJECT_SET_PROTOTYPE_UPDREF to make it clearer that it updates refcounts too (decs old, incs new) 11 years ago
Sami Vaarala 856b2ce15d add hobject layout 2 which is layout 1 but: (1) key and entry order reversed to avoid aligning entries, (2) padding bytes between flags and array entries 11 years ago
Sami Vaarala 015ac29d6f rename object LAYOUT_2 to LAYOUT_3 to make space for a less modified version of LAYOUT_1, add a portable align trick to duk_hbuffer_fixed which doesn't increase struct size unnecessarily, rename ALIGN4/8 to ALIGN_4/ALIGN_8 11 years ago