Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-03-25 | 'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (which | Roberto Ierusalimschy | 3 | -17/+18 | |
keeps all code related to this cache) | |||||
2015-03-14 | comments | Roberto Ierusalimschy | 1 | -5/+5 | |
2015-03-13 | code detail ('if' -> '?:') | Roberto Ierusalimschy | 1 | -6/+6 | |
2015-03-12 | use 'log2' when available | Roberto Ierusalimschy | 1 | -1/+4 | |
2015-03-11 | 'ci_func' don't need to be exported | Roberto Ierusalimschy | 3 | -7/+8 | |
2015-03-10 | 'lua_pushliteral' implemented with 'lua_pushstring' (to take | Roberto Ierusalimschy | 1 | -3/+2 | |
advantage of the cache) | |||||
2015-03-10 | detail | Roberto Ierusalimschy | 1 | -3/+3 | |
2015-03-09 | line history keep lines without added 'return' | Roberto Ierusalimschy | 1 | -8/+11 | |
2015-03-07 | always use macros to operate on lua_Numbers | Roberto Ierusalimschy | 1 | -2/+2 | |
2015-03-06 | macro 'luai_apicheck'/'api_check' back with a 'lua_State' parameter | Roberto Ierusalimschy | 6 | -54/+60 | |
(some people use it) | |||||
2015-03-06 | allocation function is not exactly API (and cannot raise errors | Roberto Ierusalimschy | 1 | -3/+2 | |
like other API functions); better not use 'api_check' for cheking it. | |||||
2015-03-06 | detail (use 'lua_pushliteral' to push an empty string) | Roberto Ierusalimschy | 1 | -2/+2 | |
2015-03-05 | avoid using 'lua_pushliteral' in a non-zero-terminated string | Roberto Ierusalimschy | 1 | -2/+2 | |
2015-03-04 | avoid testing for NULL when marking objects that cannot be NULL | Roberto Ierusalimschy | 1 | -11/+21 | |
2015-03-04 | new cache for interning strings | Roberto Ierusalimschy | 6 | -15/+61 | |
2015-03-03 | 'point2int' -> 'point2uint' (to reflect its actual result type) | Roberto Ierusalimschy | 2 | -5/+5 | |
2015-03-03 | do not attempt emergency collection while building state (it is | Roberto Ierusalimschy | 1 | -3/+5 | |
useless, and state can be inconsistent) | |||||
2015-03-03 | detail (use 'luaS_newliteral' when possible) | Roberto Ierusalimschy | 1 | -3/+3 | |
2015-03-02 | configuration for numerical types through only one #define for | Roberto Ierusalimschy | 1 | -20/+28 | |
each type | |||||
2015-03-02 | new macros 'chgfltvalue'/'chgivalue' (numerical for loop does | Roberto Ierusalimschy | 2 | -4/+10 | |
not need to set the type of its internal variable at each iteration) | |||||
2015-02-28 | LUA_COMPAT_5_1 needs some options deprecated from 5.2 to 5.3 | Roberto Ierusalimschy | 1 | -10/+14 | |
2015-02-23 | added patches to two bugs | Roberto Ierusalimschy | 1 | -13/+28 | |
2015-02-20 | bug: 'string.format("%f")' can cause a buffer overflow (with long doubles) | Roberto Ierusalimschy | 1 | -2/+92 | |
bug: 'debug.getlocal' on a coroutine suspended in a hook can crash the interpreter | |||||
2015-02-20 | 'numisinteger' (for table keys) replaced by 'luaV_tointeger' (old | Roberto Ierusalimschy | 3 | -41/+21 | |
'tointeger_aux'), which can do the same job. | |||||
2015-02-20 | make 'hashfloat' configurable | Roberto Ierusalimschy | 1 | -8/+8 | |
2015-02-19 | bug: when manipulating other threads, there is no garanties about | Roberto Ierusalimschy | 1 | -1/+20 | |
their stack space | |||||
2015-02-16 | detail (file does not need 'string.h') | Roberto Ierusalimschy | 1 | -2/+1 | |
2015-02-16 | detail ('fopen' needs 'stdio.h') | Roberto Ierusalimschy | 1 | -1/+2 | |
2015-02-13 | bug: suspended function can have its 'func' field not pointing to | Roberto Ierusalimschy | 1 | -2/+25 | |
its function, crashing debug functions | |||||
2015-02-13 | some changes in 'hashfloat' to avoid undefined (in ISO C) numerical | Roberto Ierusalimschy | 1 | -8/+21 | |
conversions | |||||
2015-02-11 | added API checks to some unprotected 'top' increments | Roberto Ierusalimschy | 1 | -7/+12 | |
2015-02-09 | detail | Roberto Ierusalimschy | 1 | -2/+2 | |
2015-02-09 | bug (in 5.2): Chunk with too many lines can seg. fault | Roberto Ierusalimschy | 1 | -2/+26 | |
2015-02-09 | detail (no need to write 'double' in source) | Roberto Ierusalimschy | 1 | -3/+4 | |
2015-02-09 | detail (use 'l_floor' instead of 'l_mathop(floor)') | Roberto Ierusalimschy | 1 | -2/+2 | |
2015-02-05 | detail | Roberto Ierusalimschy | 1 | -2/+2 | |
2015-02-05 | macros 'luai_num*' (for float arithmetic operations) moved to | Roberto Ierusalimschy | 4 | -46/+53 | |
llimits.h. | |||||
2015-02-05 | added comments documenting LUA_NOCVTN2S/LUA_NOCVTS2N | Roberto Ierusalimschy | 1 | -1/+19 | |
2015-02-04 | make buffer for format specification a little larger (length modifier | Roberto Ierusalimschy | 1 | -3/+2 | |
can be larger than 2, e.g. "I64") | |||||
2015-02-04 | own implementation for 'string.format("%a")' for C89 platforms | Roberto Ierusalimschy | 2 | -11/+92 | |
2015-02-03 | detail ('luaL_getmetatable' does not return a boolean, but a tag) | Roberto Ierusalimschy | 1 | -2/+2 | |
2015-01-16 | LUAL_BUFFERSIZE affects the API, so it is better not to change it | Roberto Ierusalimschy | 1 | -2/+3 | |
between releases of the same version. (The long double case seems to be too rare, so that should not be a problem; moreover, that case is related to a bug) | |||||
2015-01-16 | LUAI_MAXSHORTLEN moved from 'luaconf.h' to 'llimits.h' (does not | Roberto Ierusalimschy | 2 | -11/+12 | |
affect the API and is seldom modified) | |||||
2015-01-16 | size of short strings stored in a single byte, to reduce the size | Roberto Ierusalimschy | 9 | -45/+69 | |
of struct 'TString' | |||||
2015-01-16 | larger MINSTRTABSIZE (standard Lua starts with ~230 strings, after | Roberto Ierusalimschy | 1 | -3/+8 | |
oppening the standard libraries) | |||||
2015-01-16 | comments | Roberto Ierusalimschy | 1 | -2/+12 | |
2015-01-13 | removed macro LUAI_FIRSTPSEUDOIDX (that stuff does not need | Roberto Ierusalimschy | 2 | -7/+6 | |
to be configurable) | |||||
2015-01-13 | Long double needs a larger LUAL_BUFFERSIZE (because | Roberto Ierusalimschy | 1 | -3/+10 | |
'string.format("%.99f", 1e4900)' can generate quite long strings), but otherwise buffer can be 1~2K | |||||
2015-01-13 | BUG (when compiled with long double): buffer overflow when formatting | Roberto Ierusalimschy | 1 | -5/+11 | |
string.format("%.99f", 1e4930) | |||||
2015-01-13 | better check for overflows in 'table.move' (removes restriction that | Roberto Ierusalimschy | 1 | -3/+5 | |
initial position should be positive) |