3 Commits (168eb06ff73e2b02faa03db187c253975d0289b3)

Author SHA1 Message Date
Sami Vaarala 2d43ef8c04 String.prototype.repeat(), internal buf zeroing 8 years ago
Sami Vaarala 8e21050e96 Implement String.prototype.codePointAt() 8 years ago
Sami Vaarala 96d301b3cb Rename src/ to src-input/ to match dist 8 years ago
Sami Vaarala 960efde0fa Make plain buffers behave like ArrayBuffers 8 years ago
Sami Vaarala a7f1adaf63 Remove Duktape specific error subtypes 9 years ago
Sami Vaarala 8fb43bfcfd Remove int cast from switch arguments 9 years ago
Sami Vaarala 3b8b9ac36b Avoid 'index' as variable/argument name 9 years ago
Sami Vaarala 1245df1e12 Reduce error call site footprint, internal changes 9 years ago
Sami Vaarala df36995118 Fix -Wcast-qual warnings for DDDPRINTs 9 years ago
Sami Vaarala ba542f9792 Use helper for DUK_ERR_API_ERROR call sites 9 years ago
Sami Vaarala bf1304c4bc Fixes for -Wcast-qual, const/volatile casts 9 years ago
Sami Vaarala 174eaca036 Fix .txt refs to .rst in source code 9 years ago
Sami Vaarala fb4f73ef97 Rework string code for bufwriter 9 years ago
Sami Vaarala 1ee4040b3e Add DUK_ASSERT_CTX_VALID() to API entrypoints 10 years ago
Sami Vaarala 4586688185 Add some missing "const" specifiers for strings 10 years ago
Sami Vaarala 1fa66cd25a Symbol visibility changes for code and headers 10 years ago
Sami Vaarala 26849eb7ca More strings into duk_strings.c/h 10 years ago
Sami Vaarala c9094995c2 /Wp64 fixes for VS2010 on x86 10 years ago
Sami Vaarala 23faa3c4a3 Intermediate commit: string format cleanups 10 years ago
Sami Vaarala 8c9343a615 Use macro wrappers to access shared strings 10 years ago
Sami Vaarala 936b9cb479 Internal typing work on public API parts 11 years ago
Sami Vaarala b89cdbc8ea Misc internal typing cleanups 11 years ago
Sami Vaarala 738ad2751e API typing cleanup: use duk_idx_t for counts 11 years ago
Sami Vaarala d808659ca9 Internal API typing rework 11 years ago
Sami Vaarala d7bc8cf3e6 A round of public API typing fixes 11 years ago
Sami Vaarala 07900e94fa comment trivia 11 years ago
Sami Vaarala 5530e63fae unary minus fixes reported by MSVC, one cast fix in regexp compiler 11 years ago
Sami Vaarala 2fffdb4094 fixme cleanups, removal of old unused code 11 years ago
Sami Vaarala 3714ea26ac debug log call wrappers 11 years ago
Sami Vaarala 5e1208b80d implement duk_char_code_at() 11 years ago
Sami Vaarala b6eb9fcbfd placeholder duk_char_code_at() API call 11 years ago
Sami Vaarala 9ba0d0aa69 prepend a 'duk__' prefix to a bunch of internal functions 11 years ago
Sami Vaarala 5fa0140888 -Wextra fixes 11 years ago
Sami Vaarala 5ebe78235f implement duk_map_string() and duk_decode_string() 11 years ago
Sami Vaarala 53a6a4a52a -Wextra fix 11 years ago
Sami Vaarala 835cda7fba compile warning fixes for -Wextra 11 years ago
Sami Vaarala 3731c7b068 make duk_codepoint_t a signed type and use it everywhere except utf8/cesu8 encode/decode which uses the duk_ucodepoint_t unsigned type 11 years ago
Sami Vaarala b0d48aa459 use duk_to_string() to convert buffer to string (instead of duk_push_lstring+duk_remove); duk_push_vsprintf initial guess tweak 11 years ago
Sami Vaarala 997828017b 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 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 489810a58b mixed commit with duk_features.h tweaks, duk_repl_isinf(), and other trivia 11 years ago
Sami Vaarala 12fb90f00d C type cleanups 11 years ago
Sami Vaarala da19013383 overflow checks to duk_concat() 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 bb91343ff3 fix a bunch of minor issues for c++ compatibility 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 f11b8e74de cleanup duk_substring() to take an index instead of working with stack top only; minor duk_api.h cleanup 11 years ago
Sami Vaarala 34444e80c3 rename duk_push_new_buffer to duk_push_buffer (same for fixed/dynamic pushers); cmdline fixes 11 years ago
Sami Vaarala 9e29b25466 avoid unnecessary interning if string was not actually trimmed; this hopefully speeds up cases where trimming is required but inputs are almost never in need of trimming 12 years ago
Sami Vaarala 9c92484267 add duk_push_this_check_object_coercible() helper; add first draft of string trimming primitive 12 years ago