Sami Vaarala
bb3460807f
API testcase fixes for changed error messages
11 years ago
Sami Vaarala
77e0a484a3
Pointer arithmetic trivia
Prefer (ptr + i) to &ptr[i]; the latter is easier to break on 64-bit
platforms.
11 years ago
Sami Vaarala
091ee0d787
Typing fixes for basic stack handling API calls
11 years ago
Sami Vaarala
8a48338f41
Value stack top/resize: wrap and typing fixes
Partially clean up the duk_set_top() implementation, and fix the 32-bit
pointer wrapping bug where e.g. a top value of 0x20000000UL would wrap
the 32-bit address space (0x20000000UL * sizeof(duk_tval) is 2^32 when
duk_tval is 8 bytes) and would therefore incorrectly be equivalent to
duk_set_top(0).
Other typing fixes.
11 years ago
Sami Vaarala
7d0e0a1cca
Add missing shared error message
11 years ago
Sami Vaarala
65412eb66d
API test case fixes to match updated error msgs
11 years ago
Sami Vaarala
4e94c7e673
Improve stack index validation/normalization
Fix the wrapping issue with stack issue normalization/validation functions.
Improve the most often used primitives for smaller footprint and probably
faster execution. Also other unrelated trivia.
11 years ago
Sami Vaarala
0e546d5ae9
API call handling minor improvements
11 years ago
Sami Vaarala
6d5769f20b
Unicode typing minor fix
11 years ago
Sami Vaarala
d446544935
Type cleanup for String built-in
11 years ago
Sami Vaarala
12ae8a95f0
Array builtin typing work
11 years ago
Sami Vaarala
84b820f2d5
Buffer typing fixes
11 years ago
Sami Vaarala
6a6adf8bad
Add self test for 8, 16, 32 bit types
11 years ago
Sami Vaarala
936b9cb479
Internal typing work on public API parts
11 years ago
Sami Vaarala
0115ecc1c3
Add a few internal push helpers
11 years ago
Sami Vaarala
8efcbb6b5f
Include fix
11 years ago
Sami Vaarala
f1d5532873
Change JSON code to use shared strings
11 years ago
Sami Vaarala
50a9e9f75b
Shared error messages build change
11 years ago
Sami Vaarala
6fc76e9473
Rename shared strings file, add a few entries
11 years ago
Sami Vaarala
02c24ffb99
Internal typing fixes, heap code
11 years ago
Sami Vaarala
0b838644f5
Assert fix, whitespacing
11 years ago
Sami Vaarala
9a85cb5974
Internal typing fixes (mostly error code)
11 years ago
Sami Vaarala
ab20f8f0a9
Use RDTSC only with C99 to avoid non-C99 type
"unsigned long long" is not a pre-C99 type
11 years ago
Sami Vaarala
88e1c199ae
Debugging code type cleanup
11 years ago
Sami Vaarala
67f61c7333
Typing cleanup for Date handling
11 years ago
Sami Vaarala
8f0b85db1c
Typing cleanups for JSON
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
dbca77c09b
Typing fixes for duk_js_call.c
11 years ago
Sami Vaarala
a931aca71c
Typing fix trivia: type for proto sanity counter
11 years ago
Sami Vaarala
2d53696bc9
duk_js_ops.c typing cleanup
11 years ago
Sami Vaarala
f2bc8c16db
Add a few selftests for integer type sizes
11 years ago
Sami Vaarala
6ee3fc8925
Internal typing fixes for variable handling
11 years ago
Sami Vaarala
8ef70ac788
Fix e_idx and h_idx typing (duk_int_t)
11 years ago
Sami Vaarala
b89cdbc8ea
Misc internal typing cleanups
11 years ago
Sami Vaarala
b58b9bc3bf
Lexer typing cleanup
11 years ago
Sami Vaarala
ed5cff5f1a
Ditz issue update
11 years ago
Sami Vaarala
9cf6c87459
Ditz issue update
11 years ago
Sami Vaarala
887c023ec5
Release note update
11 years ago
Sami Vaarala
65dedc411f
Fix DUK_CAUSE_SEGFAULT() C99 type usage
Broke Windows build with DUK_OPT_SEGFAULT_ON_PANIC because uint32_t
C99 type is not available.
11 years ago
Sami Vaarala
d75fd2e0cd
Ditz issue update
11 years ago
Sami Vaarala
e4415b9fcf
Ditz issue update
11 years ago
Sami Vaarala
0f7da3e613
Merge branch 'api-typing-fixes'
Very large public API typing rework to use more portable API typing.
This may have an effect on existing code. Concretely, some typecast
or signed/unsigned warnings may appear for existing calling code.
With this change, the public API should be more or less clean for
porting to platforms with a 16-bit 'int' type.
11 years ago
Sami Vaarala
bcee5d5a4b
64-bit typedef fix, broke debug dump of type sizes
Make debug dumping of 64-bit type sizes conditional as it of course
won't work on platforms without 64-bit types.
11 years ago
Sami Vaarala
ba7818791c
duk__tag_check() type fix
11 years ago
Sami Vaarala
827b927ccf
Add 'thread' tag to relevant API docs
11 years ago
Sami Vaarala
5e0b875d76
Add missing buffer tags to a few API docs
11 years ago
Sami Vaarala
c1b7c8ebee
Test case fix for signed pop count
11 years ago
Sami Vaarala
d01479d325
One more duk_idx_t nargs fix
11 years ago
Sami Vaarala
bfc07638e1
API doc updates for count/top typedef
11 years ago