Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | API checks now have explanatory messages | Roberto Ierusalimschy | 2009-08-31 | 3 | -28/+34 |
| | |||||
* | ensures that argument 'mode' to 'io.open' matches "[rwa]%+?b?", to | Roberto Ierusalimschy | 2009-08-28 | 1 | -2/+11 |
| | | | | avoid passing invalid modes to 'fopen'. | ||||
* | better machinery to test continuations in the C API | Roberto Ierusalimschy | 2009-08-26 | 1 | -1/+24 |
| | |||||
* | correct way to check arguments to 'strftime' | Roberto Ierusalimschy | 2009-08-25 | 2 | -23/+41 |
| | |||||
* | test for 'fs' being NULL at the end of 'close_func' is useless ('fs' | Roberto Ierusalimschy | 2009-08-10 | 1 | -2/+4 |
| | | | | | cannot be NULl and the new ls->fs can only be NULL when the token is EOS, in which case anchor_token has no effect). | ||||
* | avoid an unprotected call to 'lua_tostring' which theoretically may | Roberto Ierusalimschy | 2009-08-10 | 1 | -2/+14 |
| | | | | cause a panicked exit | ||||
* | "stange numbers" (-0 and NaN) also go to the constant table (as | Roberto Ierusalimschy | 2009-08-10 | 1 | -16/+29 |
| | | | | | strings with their binary representation). Therefore, constant folding may produce these results. | ||||
* | luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers, | Roberto Ierusalimschy | 2009-08-07 | 1 | -9/+9 |
| | | | | not generic numbers). | ||||
* | luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers, | Roberto Ierusalimschy | 2009-08-07 | 4 | -10/+10 |
| | | | | not generic numbers) | ||||
* | "But" -> "Bug" (misspelling) | Roberto Ierusalimschy | 2009-08-05 | 1 | -5/+5 |
| | |||||
* | 'debug.getfenv' does not check whether it has an argument | Roberto Ierusalimschy | 2009-08-04 | 1 | -2/+21 |
| | |||||
* | small bug: debug.getfenv should check whether it has an argument | Roberto Ierusalimschy | 2009-08-04 | 1 | -1/+2 |
| | |||||
* | 'collectgarbage"count"' returns a second argument with the count%1024. | Roberto Ierusalimschy | 2009-08-04 | 1 | -2/+3 |
| | |||||
* | bug: stack must be cleared until its end (including extra size) + | Roberto Ierusalimschy | 2009-07-16 | 1 | -26/+9 |
| | | | | control of stack size moved to 'ldo.c' | ||||
* | tail calls do not need to move whole new frame down, only its slice | Roberto Ierusalimschy | 2009-07-15 | 1 | -8/+12 |
| | | | | up to last parameter (the rest has not been used yet) | ||||
* | new macro 'getproto' | Roberto Ierusalimschy | 2009-07-15 | 3 | -7/+8 |
| | |||||
* | detail (comment: 'correspoding' -> 'corresponding') | Roberto Ierusalimschy | 2009-07-15 | 1 | -2/+2 |
| | |||||
* | 'index2adr' -> 'index2addr' (correct spelling) | Roberto Ierusalimschy | 2009-07-15 | 1 | -40/+40 |
| | |||||
* | avoid using 'UNUSED' (not defined outside the kernel) | Roberto Ierusalimschy | 2009-07-15 | 1 | -5/+5 |
| | |||||
* | 'luaL_tolstring' uses 'lua_tolstring' instead of 'lua_tostring' and | Roberto Ierusalimschy | 2009-07-15 | 1 | -5/+2 |
| | | | | 'lua_objlen' | ||||
* | calls with LUA_MULTRET may leave no free slots in the stack | Roberto Ierusalimschy | 2009-07-15 | 2 | -2/+5 |
| | |||||
* | new way to control stack overflow, controling only total size of the stack | Roberto Ierusalimschy | 2009-07-15 | 10 | -78/+100 |
| | |||||
* | new definition for 'luaD_checkstack' to avoid possible overflows | Roberto Ierusalimschy | 2009-07-08 | 1 | -4/+3 |
| | |||||
* | errors in 'resume' should be all protected | Roberto Ierusalimschy | 2009-07-08 | 1 | -5/+9 |
| | |||||
* | smart use of varargs may create functions that return too | Roberto Ierusalimschy | 2009-07-02 | 1 | -2/+22 |
| | | | | many arguments and overflow the stack of C functions. | ||||
* | BUG: 'luaV_settable' may invalidate a reference to a table and try | Roberto Ierusalimschy | 2009-07-01 | 1 | -5/+46 |
| | | | | to reuse it. | ||||
* | bug: 'luaV_settable' may invalidate a reference to a table and try | Roberto Ierusalimschy | 2009-07-01 | 1 | -3/+6 |
| | | | | to reuse it. | ||||
* | Standard library for bitwise operations | Roberto Ierusalimschy | 2009-07-01 | 1 | -0/+123 |
| | |||||
* | new module 'lbitlib.c' for bitwise operations | Roberto Ierusalimschy | 2009-07-01 | 4 | -23/+38 |
| | |||||
* | use of LUAI_UINT32 replaced by 'unsigned LUA_INT32' (one less | Roberto Ierusalimschy | 2009-07-01 | 1 | -2/+2 |
| | | | | definition needed) | ||||
* | better error messages for luaL_checkversion | Roberto Ierusalimschy | 2009-06-19 | 1 | -4/+5 |
| | |||||
* | l_version may be local to 'lua_version' | Roberto Ierusalimschy | 2009-06-19 | 1 | -4/+3 |
| | |||||
* | 'checkversion' implemented in the auxiliary library | Roberto Ierusalimschy | 2009-06-18 | 3 | -5/+16 |
| | |||||
* | new function 'lua_version' (so that 'checkversion' can be implemented | Roberto Ierusalimschy | 2009-06-18 | 4 | -15/+12 |
| | | | | in the auxiliary library) | ||||
* | default paths have dot option as the last one (to improve security) | Roberto Ierusalimschy | 2009-06-18 | 1 | -9/+9 |
| | |||||
* | better treatment of integer formats in string.format | Roberto Ierusalimschy | 2009-06-18 | 1 | -7/+6 |
| | |||||
* | small optimization in 'lua_arith' (avoids overhead in the common case | Roberto Ierusalimschy | 2009-06-18 | 1 | -2/+6 |
| | | | | of both arguments being numbers) | ||||
* | new macro 'changenvalue' | Roberto Ierusalimschy | 2009-06-18 | 1 | -1/+4 |
| | |||||
* | small optimization (reorder of BinOpr enum to unify some cases | Roberto Ierusalimschy | 2009-06-18 | 3 | -22/+23 |
| | | | | in switches) | ||||
* | lua_objlen should not work for numbers (according to the manual) | Roberto Ierusalimschy | 2009-06-17 | 1 | -8/+1 |
| | |||||
* | 'lua_lessthan' replaced by more generic 'lua_compare' | Roberto Ierusalimschy | 2009-06-17 | 1 | -2/+2 |
| | |||||
* | new functions 'lua_arith' and 'lua_compare' | Roberto Ierusalimschy | 2009-06-17 | 3 | -24/+51 |
| | |||||
* | exports luaV_arith to be used by lua_arith | Roberto Ierusalimschy | 2009-06-17 | 1 | -1/+3 |
| | |||||
* | exports luaV_arith to be used by lua_arith + uses 'luaO_arith' to | Roberto Ierusalimschy | 2009-06-17 | 1 | -16/+7 |
| | | | | perform basic arith. operations | ||||
* | constant folding uses 'luaO_arith' to perform basic operations | Roberto Ierusalimschy | 2009-06-17 | 1 | -17/+5 |
| | |||||
* | new function 'luaO_arith' to perform basic arithmetic operations | Roberto Ierusalimschy | 2009-06-17 | 2 | -2/+17 |
| | |||||
* | 'lessequal' renamed 'luaV_lessequal' and exported to be used by | Roberto Ierusalimschy | 2009-06-17 | 2 | -4/+5 |
| | | | | 'lua_compare' | ||||
* | new API function 'lua_mainthread' | Roberto Ierusalimschy | 2009-06-15 | 3 | -3/+12 |
| | |||||
* | patch for wrong code generation for some particular boolean expressions | Roberto Ierusalimschy | 2009-06-15 | 1 | -2/+49 |
| | |||||
* | BUG: "(((1 or false) and true) or false)" gives wrong result | Roberto Ierusalimschy | 2009-06-15 | 1 | -9/+15 |
| |