Sami Vaarala
9e25c1e471
Merge branch 'trivia-retval-fix'
10 years ago
Sami Vaarala
607ce76a4e
Unreachable return value fix
10 years ago
Sami Vaarala
28fcf976bb
Merge branch 'remove-int32-limit'
10 years ago
Sami Vaarala
13a72dd734
Remove requirement that INT_MAX is >=32 bits
10 years ago
Sami Vaarala
ceb60c7587
Ditz issue update
10 years ago
Sami Vaarala
2aaee15991
Merge branch 'wp64-x86-fixes'
10 years ago
Sami Vaarala
3aa4d0b840
A few more /Wp64 fixes
10 years ago
Sami Vaarala
151b47ddb7
Release note update
10 years ago
Sami Vaarala
e287523be7
/Wp64 portability note to guide
10 years ago
Sami Vaarala
4dcee040ec
Regexp compiler /Wp64 fixes
10 years ago
Sami Vaarala
c9094995c2
/Wp64 fixes for VS2010 on x86
10 years ago
Sami Vaarala
b38f834891
Add limit defs for types like duk_uarridx_t
These are needed for some assertions.
10 years ago
Sami Vaarala
6a39a9222d
Ditz issue update
10 years ago
Sami Vaarala
2a52f29ce3
Merge branch 'duk-int-tweak'
10 years ago
Sami Vaarala
4c610b8343
Update guide typing for duk_int_t->int
10 years ago
Sami Vaarala
04dac4fb8f
Use 'int' for 'duk_int_t' when large enough
The 'int' type is very likely to be a type convenient for the CPU and
compilers are bound to handle it well. Also change codepoint type to
use duk_int_t instead of a duk_int_fast32_t.
On x64, 'int' is 4 bytes but duk_int_fast32_t is 8 bytes, which has a
somewhat visible impact on at least code footprint, so 'int' is most
likely preferable for x64.
10 years ago
Sami Vaarala
63cf93fdf3
Debug dump a few more sizeofs
10 years ago
Sami Vaarala
e7d745d722
A few assert fixes (remove compiler warning)
10 years ago
Sami Vaarala
3f21bfbaeb
Merge branch 'internal-typing-cleanup'
This is a major internal typing and string formatting overhaul, hopefully
the last needed for a 1.0 release.
10 years ago
Sami Vaarala
8ac00a26b3
Release note update
10 years ago
Sami Vaarala
9ee9c7702b
C example of 64-bit array index portability issue
10 years ago
Sami Vaarala
481009e5af
Internal code issues doc update
10 years ago
Sami Vaarala
c70e7898d1
Minor typing trivia
10 years ago
Sami Vaarala
6a15c0be73
Formatting casts for custom format (%!T etc)
10 years ago
Sami Vaarala
dadd53bac6
Code issues update on typing
10 years ago
Sami Vaarala
018774dc55
Format string cleanups, %ld instead of %d etc
10 years ago
Sami Vaarala
8df41e7289
Add missing %c for debug formatter
10 years ago
Sami Vaarala
23faa3c4a3
Intermediate commit: string format cleanups
10 years ago
Sami Vaarala
ab0f8265c0
Add support for %ld/%lu/%lx to debug formatting
These should be used together with a "(long)" or "(unsigned long)" cast
to make debug prints portable and ensure 32 bit integers format correctly.
10 years ago
Sami Vaarala
f8423ffb36
Format string cleanups, allow NULL+%s/%p in debug
Lots of minor string format cleanups (casts mainly).
Add a special check to detect NULL pointers with %s/%p formats in debug
logging to avoid calling the platform sprintf() with a NULL value. This
is especially important for %s + NULL, which is not portable and may crash
on some platforms. Debug logging will now format these specially as "NULL"
and avoid calling the platform for formatting, so debug log call sites don't
need to be careful with NULL pointers any more.
10 years ago
Sami Vaarala
9d97ec1d68
Document duk_(u)int_fast_t and duk_small_(u)int_fast_t
10 years ago
Sami Vaarala
1301b831a5
Executor typing fixes
10 years ago
Sami Vaarala
e65d5e212a
Add duk_(u)int_fast_t and duk_small_(u)int_fast_t
These are types intended to be used in true fast path code, i.e. the executor.
They are the same as plain duk_(u)int_t and duk_small_(u)int_t but are
guaranteed to be of the C99 "fast" kind -- not sure if this is useful in
practice.
10 years ago
Sami Vaarala
1ac9ef96c5
Fix catcher flags field width
10 years ago
Sami Vaarala
a727a8b5b9
Compiler typing fixes, last bulk change
10 years ago
Sami Vaarala
2014019e2b
Add API testcase for duk_copy()
10 years ago
Sami Vaarala
4ef27ee446
API testcase fix for updated string
10 years ago
Sami Vaarala
8c9343a615
Use macro wrappers to access shared strings
This will provide more flexibility down the line, so that messages can
be mapped to the same string to reduce footprint, etc.
10 years ago
Sami Vaarala
1702c00e88
More shared strings, add macro wrappers for strs
10 years ago
Sami Vaarala
5624b7a9dc
Intermediate commit on compiler typing cleanup
10 years ago
Sami Vaarala
3c89e07ecb
Intermediate commit of compiler typing changes
10 years ago
Sami Vaarala
b2264cd37b
API doc fixes for duk_copy()
10 years ago
Sami Vaarala
b83d0fc488
Release note: add duk_copy()
10 years ago
Sami Vaarala
6b59056eae
API documentation for duk_copy()
10 years ago
Sami Vaarala
5f2bc4c880
Add duk_copy() API pritimive
10 years ago
Sami Vaarala
ddd0619f78
Intermediate commit of compiler typing cleanup
10 years ago
Sami Vaarala
71ca2f66cf
Object hash probe trivia, unify style
11 years ago
Sami Vaarala
77190bcf3c
Internal doc: value stack local/global indices
11 years ago
Sami Vaarala
dc29ffb4a6
Testcase fix for new error messages
11 years ago
Sami Vaarala
278d188e58
API testcase fixes for updated error messages
11 years ago