3 Commits (11ed98f53b001f1e8d0e4719234b00ca97812eb0)

Author SHA1 Message Date
Sami Vaarala 6b5237b14f Use 'slack' rather than 'spare' 7 years ago
Sami Vaarala 39ecb8b7eb Source fixes for #ifdef and #ifndef convention 8 years ago
Sami Vaarala 96d301b3cb Rename src/ to src-input/ to match dist 8 years ago
Sami Vaarala c32f41407b Changes for ROM string/object support 9 years ago
Sami Vaarala 4ef206dbb5 Add support for external buffers 10 years ago
Sami Vaarala fb17fd0184 Remove dynamic buffer spare 9 years ago
Sami Vaarala 594eaa3b2f Reduce hbuffer max size 9 years ago
Sami Vaarala 4a8c9f6103 Genconfig metadata improvements 9 years ago
Sami Vaarala 92d33fd550 Implement Node.js Buffer and TypedArray support 10 years ago
Sami Vaarala 5c904dee5a Add 'nozero' flag to raw buffer pusher 10 years ago
Sami Vaarala 36494812ed ENC16/DEC16/EXTSTR udata changes 10 years ago
Sami Vaarala 975bd96594 Better dummy for align 8 in hbuffer 10 years ago
Sami Vaarala 4586688185 Add some missing "const" specifiers for strings 10 years ago
Sami Vaarala 530f6e7ff7 16-bit fields and heap pointer compression work 10 years ago
Sami Vaarala 2ef85f296e Remove (#if 0) unused functions 10 years ago
Sami Vaarala 1fa66cd25a Symbol visibility changes for code and headers 10 years ago
Sami Vaarala 0b838644f5 Assert fix, whitespacing 11 years ago
Sami Vaarala efb9776f91 A round of internal typing fixes (midcommit) 11 years ago
Sami Vaarala b89cdbc8ea Misc internal typing cleanups 11 years ago
Sami Vaarala d11b69d742 remove buffer NUL termination 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
Sami Vaarala e75e6a8eb7 add alignment-by-8 support, EMSCRIPTEN platform define; concretely fix alignment handling in duk_hbuffer_fixed struct and object property alignment target 11 years ago
Sami Vaarala 0f8292f99a reduce string/buffer maximum size to 0x7fffffffUL to ensure resizes work properly, there is space for a heaphdr etc; add more overflow checks 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 a9d80f4767 rework indirect realloc to use a callback instead of a type-punned pointer which broke strict aliasing rules 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 6f39cbe25d remove DUK_USE_STRUCT_HACK from duk_hbuffer.h; remove zero/C99 flex initializer from duk_hbuffer_fixed and allow compiler padding on the struct; add DUK_USE_FLEX_xxx defines to duk_features.h although they are now unused 11 years ago
Sami Vaarala 3db2f99b22 remove #include directives from internal header files; duk_internal.h is expected to include them in correct order anyway 11 years ago
Sami Vaarala 4551bd5717 fixme note about zero-size struct hack 11 years ago
Sami Vaarala c3330cc908 clean up duk_features.h / duk_internal.h split; merge very small duk_rdtsc.h and duk_bittypes.h to duk_features.h to make duk_features.h the only place where platform specific stuff is handled 11 years ago
Sami Vaarala fad076afa6 rename growable buffers 'dynamic' buffers (more common and more accurate); other api related changes and placeholders 11 years ago
Sami Vaarala 25efd31132 hbuffer calls to append/insert a hstring 12 years ago
Sami Vaarala 4862b7aa49 fix include guard names, don't use leading underscores as they are reserved 12 years ago
Sami Vaarala 2c7894a948 add a set of heap object headers 12 years ago