Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | refactoring of common parts of 'pcall' and 'xpcall' + avoids | Roberto Ierusalimschy | 2011-11-09 | 1 | -16/+21 | |
| | | | | stack errors on these functions (return error code instead) | |||||
* | create error messages with a single concat, to avoid problems with | Roberto Ierusalimschy | 2011-11-09 | 1 | -20/+33 | |
| | | | | creating strings piecemeal | |||||
* | in 'luaL_checkstack', include extra stack space in test to allow | Roberto Ierusalimschy | 2011-11-09 | 1 | -2/+4 | |
| | | | | correct execution of error routines, if necessary | |||||
* | extra argument to instruction 'checkstack' (in 'testC') | Roberto Ierusalimschy | 2011-11-09 | 1 | -2/+3 | |
| | ||||||
* | configurable 'directory separator' in 'package.searchpath' | Roberto Ierusalimschy | 2011-11-09 | 1 | -11/+34 | |
| | ||||||
* | avoids including 'stdio.h' everywhere (because of definitions for | Roberto Ierusalimschy | 2011-11-09 | 1 | -1/+5 | |
| | | | | luai_writestring/luai_writeline) | |||||
* | small bug: error message in 'io.lines' is not the error number | Roberto Ierusalimschy | 2011-11-09 | 1 | -4/+5 | |
| | ||||||
* | avoid calling "extra value" as if it were a function option | Roberto Ierusalimschy | 2011-11-06 | 1 | -4/+6 | |
| | ||||||
* | by default, do not use Windows' goodies in Windows CE build | Roberto Ierusalimschy | 2011-11-05 | 1 | -3/+3 | |
| | ||||||
* | cannot apply macro 'getstr' over NULL | Roberto Ierusalimschy | 2011-10-31 | 1 | -5/+6 | |
| | ||||||
* | extra comments about what fields are optional debug information | Roberto Ierusalimschy | 2011-10-31 | 1 | -4/+4 | |
| | ||||||
* | detail (avoid applying macro 'getstr' with a function-call argument) | Roberto Ierusalimschy | 2011-10-31 | 1 | -2/+3 | |
| | ||||||
* | detail (comment) | Roberto Ierusalimschy | 2011-10-25 | 1 | -2/+2 | |
| | ||||||
* | 'lua_setglobal/lua_getglobal' implemented as functions to avoid | Roberto Ierusalimschy | 2011-10-24 | 2 | -9/+28 | |
| | | | | | problems with stack indices (e.g., lua_getglobal(L, lua_tostring(L, -1)) ) | |||||
* | new functions lua_rawsetp/lua_rawgetp | Roberto Ierusalimschy | 2011-10-24 | 3 | -18/+45 | |
| | ||||||
* | silly bug in 5.2 beta: assignment conflict code did not test to check | Roberto Ierusalimschy | 2011-10-24 | 1 | -17/+20 | |
| | | | | whether variable was a table element | |||||
* | BUG: parser may collect a prototype while building it. | Roberto Ierusalimschy | 2011-10-21 | 1 | -2/+23 | |
| | ||||||
* | more macros to try to make NaN trick work with other sizes of | Roberto Ierusalimschy | 2011-10-17 | 1 | -17/+39 | |
| | | | | | IEEE float numbers. (It has not been tested with such different sizes...) | |||||
* | new type 'l_noret' for function that do not return | Roberto Ierusalimschy | 2011-10-07 | 6 | -30/+42 | |
| | ||||||
* | avoid the word 'TRICKLE' in macro name (as it has nothing to do | Roberto Ierusalimschy | 2011-10-07 | 1 | -8/+9 | |
| | | | | with its meaning) | |||||
* | 'luaC_separateudata' renamed to 'separatetobefnz' and called only | Roberto Ierusalimschy | 2011-10-03 | 2 | -12/+10 | |
| | | | | from 'lgc.c' | |||||
* | 'luaC_separateudata' called from 'luaC_freeallobjects' + removed | Roberto Ierusalimschy | 2011-10-03 | 1 | -5/+2 | |
| | | | | extra 'luaF_close' (already being called by 'close_state') | |||||
* | retraverse all gray lists together to avoid traversing some weak | Roberto Ierusalimschy | 2011-10-03 | 1 | -14/+34 | |
| | | | | tables twice (as they may change lists when traversed) | |||||
* | missing 'LUA_CORE' definition | Roberto Ierusalimschy | 2011-10-03 | 1 | -1/+4 | |
| | ||||||
* | lint (unused definition) | Roberto Ierusalimschy | 2011-09-30 | 3 | -13/+3 | |
| | ||||||
* | lint (wrong identation) | Roberto Ierusalimschy | 2011-09-30 | 1 | -2/+2 | |
| | ||||||
* | lint (unreachable code) | Roberto Ierusalimschy | 2011-09-30 | 2 | -11/+11 | |
| | ||||||
* | lint (unused macros) | Roberto Ierusalimschy | 2011-09-30 | 1 | -4/+1 | |
| | ||||||
* | lint (unused struct field) | Roberto Ierusalimschy | 2011-09-30 | 1 | -2/+1 | |
| | ||||||
* | detail: new macros for non-valid values | Roberto Ierusalimschy | 2011-09-26 | 1 | -12/+13 | |
| | ||||||
* | dead objects are not collectable. | Roberto Ierusalimschy | 2011-09-24 | 3 | -8/+11 | |
| | ||||||
* | detail about 'trick' function (nil turn it off) | Roberto Ierusalimschy | 2011-09-24 | 1 | -2/+5 | |
| | ||||||
* | better(?) scheme for cleaning weak tables; all ressurected objects | Roberto Ierusalimschy | 2011-09-24 | 1 | -18/+44 | |
| | | | | are removed from weak values before finalization | |||||
* | detail in extra trace code: total bytes is given by 'gettotalbytes', | Roberto Ierusalimschy | 2011-09-20 | 1 | -2/+2 | |
| | | | | not by 'totalbytes' counter. | |||||
* | avoid clearing ephemeron tables that have nothing to be cleaned | Roberto Ierusalimschy | 2011-09-19 | 1 | -13/+17 | |
| | | | | (no white elements) | |||||
* | cannot compute 'mainposition' before checking whether key is nil | Roberto Ierusalimschy | 2011-09-15 | 1 | -2/+3 | |
| | ||||||
* | small bug in if-goto optimization: block must be closed ('leaveblock') | Roberto Ierusalimschy | 2011-09-14 | 1 | -5/+8 | |
| | | | | *before* the jump out ('escapelist') | |||||
* | using 'long' versions of 'fseek'/'ftell' when available | Roberto Ierusalimschy | 2011-09-13 | 1 | -6/+57 | |
| | ||||||
* | details (and missing 'break's) | Roberto Ierusalimschy | 2011-09-13 | 1 | -7/+6 | |
| | ||||||
* | upvalue names always can be NULL (if debug info was removed), so | Roberto Ierusalimschy | 2011-09-13 | 1 | -7/+13 | |
| | | | | always check for that case | |||||
* | detail (make 'lua_assert' a valid expression even when turned off) | Roberto Ierusalimschy | 2011-09-13 | 1 | -3/+3 | |
| | ||||||
* | comment | Roberto Ierusalimschy | 2011-09-12 | 1 | -2/+2 | |
| | ||||||
* | optimization for |if cond then goto| | Roberto Ierusalimschy | 2011-08-30 | 1 | -18/+37 | |
| | ||||||
* | 'luaK_goiffalse' exported | Roberto Ierusalimschy | 2011-08-30 | 2 | -3/+4 | |
| | ||||||
* | cleaner code for 'if' construct | Roberto Ierusalimschy | 2011-08-25 | 1 | -20/+14 | |
| | ||||||
* | detail: centralize all tests for Windows on variable 'LUA_WIN' | Roberto Ierusalimschy | 2011-08-23 | 1 | -2/+2 | |
| | ||||||
* | 'nCcalls' should be local to each thread, as each thread may have its | Roberto Ierusalimschy | 2011-08-23 | 7 | -31/+31 | |
| | | | | own C stack (with LuaThreads or something similar) | |||||
* | bug: __newindex metamethod may not work if metatable is its own | Roberto Ierusalimschy | 2011-08-17 | 1 | -2/+29 | |
| | | | | metatable. | |||||
* | bug: __newindex metamethod may not work if metatable is its own | Roberto Ierusalimschy | 2011-08-17 | 4 | -26/+44 | |
| | | | | | metatable + luaV_settable does not create entry when there is a metamethod (and therefore entry is useless) | |||||
* | new option '-E' to avoid environment variables | Roberto Ierusalimschy | 2011-08-17 | 1 | -5/+25 | |
| |