Roberto Ierusalimschy
|
57c0db219b
line history keep lines without added 'return'
|
10 years ago |
Roberto Ierusalimschy
|
4ba0cb4580
always use macros to operate on lua_Numbers
|
10 years ago |
Roberto Ierusalimschy
|
a30c66f0fc
macro 'luai_apicheck'/'api_check' back with a 'lua_State' parameter
|
10 years ago |
Roberto Ierusalimschy
|
bb4baa73ea
allocation function is not exactly API (and cannot raise errors
|
10 years ago |
Roberto Ierusalimschy
|
d7d44b038d
detail (use 'lua_pushliteral' to push an empty string)
|
10 years ago |
Roberto Ierusalimschy
|
297512b34c
avoid using 'lua_pushliteral' in a non-zero-terminated string
|
10 years ago |
Roberto Ierusalimschy
|
2ae2e6408e
avoid testing for NULL when marking objects that cannot be NULL
|
10 years ago |
Roberto Ierusalimschy
|
a80cada914
new cache for interning strings
|
10 years ago |
Roberto Ierusalimschy
|
a00013c8d0
'point2int' -> 'point2uint' (to reflect its actual result type)
|
10 years ago |
Roberto Ierusalimschy
|
b9a1f27250
do not attempt emergency collection while building state (it is
|
10 years ago |
Roberto Ierusalimschy
|
29aed28802
detail (use 'luaS_newliteral' when possible)
|
10 years ago |
Roberto Ierusalimschy
|
951b562cf8
configuration for numerical types through only one #define for
|
10 years ago |
Roberto Ierusalimschy
|
6408bc0b7f
new macros 'chgfltvalue'/'chgivalue' (numerical for loop does
|
10 years ago |
Roberto Ierusalimschy
|
91efb4b895
LUA_COMPAT_5_1 needs some options deprecated from 5.2 to 5.3
|
10 years ago |
Roberto Ierusalimschy
|
27c5b1b237
added patches to two bugs
|
10 years ago |
Roberto Ierusalimschy
|
d51bdc166d
bug: 'string.format("%f")' can cause a buffer overflow (with long doubles)
|
10 years ago |
Roberto Ierusalimschy
|
81245b1ad5
'numisinteger' (for table keys) replaced by 'luaV_tointeger' (old
|
10 years ago |
Roberto Ierusalimschy
|
397ce11996
make 'hashfloat' configurable
|
10 years ago |
Roberto Ierusalimschy
|
97f2aa5a44
bug: when manipulating other threads, there is no garanties about
|
10 years ago |
Roberto Ierusalimschy
|
419e2cb01d
detail (file does not need 'string.h')
|
10 years ago |
Roberto Ierusalimschy
|
374f6c4612
detail ('fopen' needs 'stdio.h')
|
10 years ago |
Roberto Ierusalimschy
|
4bdf9962bf
bug: suspended function can have its 'func' field not pointing to
|
10 years ago |
Roberto Ierusalimschy
|
e0306e386f
some changes in 'hashfloat' to avoid undefined (in ISO C) numerical
|
10 years ago |
Roberto Ierusalimschy
|
2e6e53c7cc
added API checks to some unprotected 'top' increments
|
10 years ago |
Roberto Ierusalimschy
|
2a57d2346e
detail
|
10 years ago |
Roberto Ierusalimschy
|
7e425be975
bug (in 5.2): Chunk with too many lines can seg. fault
|
10 years ago |
Roberto Ierusalimschy
|
0705e7b39f
detail (no need to write 'double' in source)
|
10 years ago |
Roberto Ierusalimschy
|
4ccc4578b3
detail (use 'l_floor' instead of 'l_mathop(floor)')
|
10 years ago |
Roberto Ierusalimschy
|
5e8c162b6c
detail
|
10 years ago |
Roberto Ierusalimschy
|
c8d6cb0136
macros 'luai_num*' (for float arithmetic operations) moved to
|
10 years ago |