Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | detail (use 'lua_pushliteral' to push an empty string) | Roberto Ierusalimschy | 2015-03-06 | 1 | -2/+2 |
| | |||||
* | avoid using 'lua_pushliteral' in a non-zero-terminated string | Roberto Ierusalimschy | 2015-03-05 | 1 | -2/+2 |
| | |||||
* | avoid testing for NULL when marking objects that cannot be NULL | Roberto Ierusalimschy | 2015-03-04 | 1 | -11/+21 |
| | |||||
* | new cache for interning strings | Roberto Ierusalimschy | 2015-03-04 | 6 | -15/+61 |
| | |||||
* | 'point2int' -> 'point2uint' (to reflect its actual result type) | Roberto Ierusalimschy | 2015-03-03 | 2 | -5/+5 |
| | |||||
* | do not attempt emergency collection while building state (it is | Roberto Ierusalimschy | 2015-03-03 | 1 | -3/+5 |
| | | | | useless, and state can be inconsistent) | ||||
* | detail (use 'luaS_newliteral' when possible) | Roberto Ierusalimschy | 2015-03-03 | 1 | -3/+3 |
| | |||||
* | configuration for numerical types through only one #define for | Roberto Ierusalimschy | 2015-03-02 | 1 | -20/+28 |
| | | | | each type | ||||
* | new macros 'chgfltvalue'/'chgivalue' (numerical for loop does | Roberto Ierusalimschy | 2015-03-02 | 2 | -4/+10 |
| | | | | not need to set the type of its internal variable at each iteration) | ||||
* | LUA_COMPAT_5_1 needs some options deprecated from 5.2 to 5.3 | Roberto Ierusalimschy | 2015-02-28 | 1 | -10/+14 |
| | |||||
* | added patches to two bugs | Roberto Ierusalimschy | 2015-02-23 | 1 | -13/+28 |
| | |||||
* | bug: 'string.format("%f")' can cause a buffer overflow (with long doubles) | Roberto Ierusalimschy | 2015-02-20 | 1 | -2/+92 |
| | | | | | bug: 'debug.getlocal' on a coroutine suspended in a hook can crash the interpreter | ||||
* | 'numisinteger' (for table keys) replaced by 'luaV_tointeger' (old | Roberto Ierusalimschy | 2015-02-20 | 3 | -41/+21 |
| | | | | 'tointeger_aux'), which can do the same job. | ||||
* | make 'hashfloat' configurable | Roberto Ierusalimschy | 2015-02-20 | 1 | -8/+8 |
| | |||||
* | bug: when manipulating other threads, there is no garanties about | Roberto Ierusalimschy | 2015-02-19 | 1 | -1/+20 |
| | | | | their stack space | ||||
* | detail (file does not need 'string.h') | Roberto Ierusalimschy | 2015-02-16 | 1 | -2/+1 |
| | |||||
* | detail ('fopen' needs 'stdio.h') | Roberto Ierusalimschy | 2015-02-16 | 1 | -1/+2 |
| | |||||
* | bug: suspended function can have its 'func' field not pointing to | Roberto Ierusalimschy | 2015-02-13 | 1 | -2/+25 |
| | | | | its function, crashing debug functions | ||||
* | some changes in 'hashfloat' to avoid undefined (in ISO C) numerical | Roberto Ierusalimschy | 2015-02-13 | 1 | -8/+21 |
| | | | | conversions | ||||
* | added API checks to some unprotected 'top' increments | Roberto Ierusalimschy | 2015-02-11 | 1 | -7/+12 |
| | |||||
* | detail | Roberto Ierusalimschy | 2015-02-09 | 1 | -2/+2 |
| | |||||
* | bug (in 5.2): Chunk with too many lines can seg. fault | Roberto Ierusalimschy | 2015-02-09 | 1 | -2/+26 |
| | |||||
* | detail (no need to write 'double' in source) | Roberto Ierusalimschy | 2015-02-09 | 1 | -3/+4 |
| | |||||
* | detail (use 'l_floor' instead of 'l_mathop(floor)') | Roberto Ierusalimschy | 2015-02-09 | 1 | -2/+2 |
| | |||||
* | detail | Roberto Ierusalimschy | 2015-02-05 | 1 | -2/+2 |
| | |||||
* | macros 'luai_num*' (for float arithmetic operations) moved to | Roberto Ierusalimschy | 2015-02-05 | 4 | -46/+53 |
| | | | | llimits.h. | ||||
* | added comments documenting LUA_NOCVTN2S/LUA_NOCVTS2N | Roberto Ierusalimschy | 2015-02-05 | 1 | -1/+19 |
| | |||||
* | make buffer for format specification a little larger (length modifier | Roberto Ierusalimschy | 2015-02-04 | 1 | -3/+2 |
| | | | | can be larger than 2, e.g. "I64") | ||||
* | own implementation for 'string.format("%a")' for C89 platforms | Roberto Ierusalimschy | 2015-02-04 | 2 | -11/+92 |
| | |||||
* | detail ('luaL_getmetatable' does not return a boolean, but a tag) | Roberto Ierusalimschy | 2015-02-03 | 1 | -2/+2 |
| | |||||
* | LUAL_BUFFERSIZE affects the API, so it is better not to change it | Roberto Ierusalimschy | 2015-01-16 | 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) | ||||
* | LUAI_MAXSHORTLEN moved from 'luaconf.h' to 'llimits.h' (does not | Roberto Ierusalimschy | 2015-01-16 | 2 | -11/+12 |
| | | | | affect the API and is seldom modified) | ||||
* | size of short strings stored in a single byte, to reduce the size | Roberto Ierusalimschy | 2015-01-16 | 9 | -45/+69 |
| | | | | of struct 'TString' | ||||
* | larger MINSTRTABSIZE (standard Lua starts with ~230 strings, after | Roberto Ierusalimschy | 2015-01-16 | 1 | -3/+8 |
| | | | | oppening the standard libraries) | ||||
* | comments | Roberto Ierusalimschy | 2015-01-16 | 1 | -2/+12 |
| | |||||
* | removed macro LUAI_FIRSTPSEUDOIDX (that stuff does not need | Roberto Ierusalimschy | 2015-01-13 | 2 | -7/+6 |
| | | | | to be configurable) | ||||
* | Long double needs a larger LUAL_BUFFERSIZE (because | Roberto Ierusalimschy | 2015-01-13 | 1 | -3/+10 |
| | | | | | 'string.format("%.99f", 1e4900)' can generate quite long strings), but otherwise buffer can be 1~2K | ||||
* | BUG (when compiled with long double): buffer overflow when formatting | Roberto Ierusalimschy | 2015-01-13 | 1 | -5/+11 |
| | | | | string.format("%.99f", 1e4930) | ||||
* | better check for overflows in 'table.move' (removes restriction that | Roberto Ierusalimschy | 2015-01-13 | 1 | -3/+5 |
| | | | | initial position should be positive) | ||||
* | definition for 'MAXUPVAL' moved for a more "private" place and its | Roberto Ierusalimschy | 2015-01-13 | 2 | -7/+9 |
| | | | | value and comment corrected to reflect current implementation | ||||
* | typo in comment | Roberto Ierusalimschy | 2015-01-13 | 1 | -3/+3 |
| | |||||
* | typo in error message | Roberto Ierusalimschy | 2015-01-12 | 1 | -2/+2 |
| | |||||
* | 'setkey' -> 'setnodekey' (to avoid conflicts with POSIX)v5.3.0 | Roberto Ierusalimschy | 2015-01-05 | 2 | -4/+4 |
| | |||||
* | new macro 'cast_func' adds '__extension__' (in gnu compilers) when | Roberto Ierusalimschy | 2015-01-05 | 1 | -2/+14 |
| | | | | converting void* to function, to avoid warnings | ||||
* | includes 'stddef.h' (as it uses NULL) | Roberto Ierusalimschy | 2015-01-05 | 2 | -5/+9 |
| | |||||
* | detail (added -Wconversion as a comment, to be used ocasionally) | Roberto Ierusalimschy | 2015-01-02 | 1 | -0/+1 |
| | |||||
* | 'lua_setlocal' should not pop value when failing (to be consistent | Roberto Ierusalimschy | 2015-01-02 | 2 | -5/+11 |
| | | | | with the manual and with 'lua_setupvalue') | ||||
* | clearer(?) code (also avoids a warning about 'c' being used | Roberto Ierusalimschy | 2015-01-02 | 1 | -5/+3 |
| | | | | without initialization) | ||||
* | does not define _XOPEN_SOURCE when LUA_USE_C89 is defined + defining | Roberto Ierusalimschy | 2014-12-29 | 1 | -2/+8 |
| | | | | _XOPEN_SOURCE==0 undefines that macro | ||||
* | all "divisions" (div,idiv,mod) by zero are not folded, to avoid | Roberto Ierusalimschy | 2014-12-29 | 1 | -24/+10 |
| | | | | | | | problems during compilation + does not fold zero results, as they can collapse with -0.0 and the ANSI test to distinguish both needs a division by zero (which we are trying to avoid) + removed macro 'luai_numinvalidop' (as its main use case were divisions by zero) |