Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lua closures are cached for reuse | Roberto Ierusalimschy | 2010-06-04 | 5 | -36/+114 |
| | |||||
* | 'luaF_newLclosure' gets prototype of new closure as argument | Roberto Ierusalimschy | 2010-06-04 | 2 | -5/+4 |
| | |||||
* | better names for barrier macros | Roberto Ierusalimschy | 2010-06-04 | 2 | -6/+6 |
| | |||||
* | bug: generational collection was not running collector! (must write | Roberto Ierusalimschy | 2010-06-02 | 1 | -2/+3 |
| | | | | a test for this...) | ||||
* | factoring out common code in 'module' and 'luaL_openlib' | Roberto Ierusalimschy | 2010-05-31 | 3 | -29/+35 |
| | |||||
* | new macro MAXUPVAL (maximum number of upvalues per closure) | Roberto Ierusalimschy | 2010-05-31 | 3 | -7/+12 |
| | |||||
* | correct definition for 'lua_cpcall' (tested) | Roberto Ierusalimschy | 2010-05-28 | 1 | -2/+2 |
| | |||||
* | corrected compatibility macro 'lua_cpcall' (untested) | Roberto Ierusalimschy | 2010-05-27 | 1 | -4/+6 |
| | |||||
* | added class '%g' in patterns (for graphical characters) | Roberto Ierusalimschy | 2010-05-24 | 1 | -1/+2 |
| | |||||
* | GC should not run when stopped, even in hard tests | Roberto Ierusalimschy | 2010-05-24 | 1 | -2/+3 |
| | |||||
* | it is better to call open functions with lua_call to not mess | Roberto Ierusalimschy | 2010-05-20 | 1 | -3/+3 |
| | | | | the caller stack | ||||
* | more comments | Roberto Ierusalimschy | 2010-05-18 | 1 | -9/+9 |
| | |||||
* | bug: loadfile of binary files read first character twice | Roberto Ierusalimschy | 2010-05-18 | 1 | -1/+2 |
| | |||||
* | really stop collection during finalizers | Roberto Ierusalimschy | 2010-05-17 | 1 | -2/+2 |
| | |||||
* | lua_pushstring may reallocate the stack, making 'o' a dangling | Roberto Ierusalimschy | 2010-05-17 | 1 | -5/+6 |
| | | | | pointer | ||||
* | detail (comment) | Roberto Ierusalimschy | 2010-05-17 | 1 | -2/+2 |
| | |||||
* | semicolons now represent the empty statement | Roberto Ierusalimschy | 2010-05-15 | 1 | -3/+5 |
| | |||||
* | patches for last two bugs (string.format and io.read) | Roberto Ierusalimschy | 2010-05-14 | 1 | -5/+42 |
| | |||||
* | updated depenency lists + eliminated duplication of definitions | Roberto Ierusalimschy | 2010-05-14 | 1 | -12/+9 |
| | | | | for MYCFLAGS, MYLDFLAGS, and MYLIBS. | ||||
* | comments | Roberto Ierusalimschy | 2010-05-14 | 1 | -6/+6 |
| | |||||
* | new "instruction" 'absindex' | Roberto Ierusalimschy | 2010-05-14 | 1 | -1/+4 |
| | |||||
* | in 'absindex', do not need to call gettop (can inline it) | Roberto Ierusalimschy | 2010-05-14 | 1 | -2/+2 |
| | |||||
* | one more macro (mvdispatch) to easy experiments with alternative | Roberto Ierusalimschy | 2010-05-13 | 1 | -2/+3 |
| | | | | dispatch methods | ||||
* | detail (breaking a long line) | Roberto Ierusalimschy | 2010-05-13 | 1 | -4/+5 |
| | |||||
* | use of macro ('vmcase') to format all cases in main switch of | Roberto Ierusalimschy | 2010-05-12 | 1 | -121/+83 |
| | | | | 'luaV_execute' (to facilitate experiences with direct threading) | ||||
* | small changes in 'luaV_execute' to make cases more regularly formatted | Roberto Ierusalimschy | 2010-05-12 | 1 | -8/+7 |
| | |||||
* | added comments to '#else' and '#endif' in long conditionals | Roberto Ierusalimschy | 2010-05-12 | 1 | -13/+14 |
| | |||||
* | new API function 'lua_absindex' | Roberto Ierusalimschy | 2010-05-12 | 3 | -13/+19 |
| | |||||
* | avoid "strong" cast | Roberto Ierusalimschy | 2010-05-11 | 1 | -2/+3 |
| | |||||
* | wrong type being assigned (not detected because of obj2gco macro) | Roberto Ierusalimschy | 2010-05-11 | 1 | -2/+2 |
| | |||||
* | udata in 'tobefnz' list be have old bit on (it will be cleared | Roberto Ierusalimschy | 2010-05-10 | 1 | -2/+1 |
| | | | | when udata is moved to 'allgc' list) | ||||
* | corrected some places where an old object could end up in front | Roberto Ierusalimschy | 2010-05-10 | 4 | -10/+15 |
| | | | | of a new one + minimal documentation about this problem | ||||
* | new macro 'resetoldbit' | Roberto Ierusalimschy | 2010-05-10 | 2 | -7/+9 |
| | |||||
* | macros 'lua_number2int' and 'lua_number2uint' for Visual Studio | Roberto Ierusalimschy | 2010-05-10 | 1 | -11/+12 |
| | | | | corrected and tested | ||||
* | avoid reserving LUA_RIDX_LAST slots in any table used by reference | Roberto Ierusalimschy | 2010-05-10 | 1 | -15/+9 |
| | | | | | system. Store free list in a field indexed by a unique name, instead of using a numerical index. | ||||
* | corrected definition of 'lua_register' (there is no LUA_ENVIRONINDEX | Roberto Ierusalimschy | 2010-05-10 | 1 | -3/+2 |
| | | | | anymore) | ||||
* | slightly better definition for 'changenvalue' | Roberto Ierusalimschy | 2010-05-07 | 1 | -3/+2 |
| | |||||
* | 'lua_assert' can be empty when assertions are off | Roberto Ierusalimschy | 2010-05-07 | 1 | -2/+2 |
| | |||||
* | slightly better definition for 'isgray' | Roberto Ierusalimschy | 2010-05-07 | 1 | -2/+3 |
| | |||||
* | avoid 'else assert' (which may result in an empty else) | Roberto Ierusalimschy | 2010-05-07 | 1 | -4/+4 |
| | |||||
* | details (to avoid too long strings in assertions) | Roberto Ierusalimschy | 2010-05-07 | 1 | -4/+4 |
| | |||||
* | bug: incremental sweep was not cleaning old bits (as it stopped in the | Roberto Ierusalimschy | 2010-05-07 | 1 | -28/+28 |
| | | | | | | first old object) + bug: moving udata to 'udgc' list might put old object in front a new one + some new macros + generational mode may be in 'pause' state (it just skips 'markroot') | ||||
* | stupid bug when calling 'luaC_changemode' (in function lua_gc) | Roberto Ierusalimschy | 2010-05-07 | 1 | -3/+6 |
| | |||||
* | more tests in 'lua_checkmemory' + more information in function | Roberto Ierusalimschy | 2010-05-07 | 1 | -17/+29 |
| | | | | 'gccolor' | ||||
* | new macro 'isgenerational' + new macro 'isold' + better deffinition | Roberto Ierusalimschy | 2010-05-07 | 1 | -3/+7 |
| | | | | for 'isdead', compatible with the code used by 'sweeplist' | ||||
* | some cleaning in 'sweeplist' (threads do not need to be traversed | Roberto Ierusalimschy | 2010-05-06 | 1 | -28/+29 |
| | | | | | if they are going to be collected + use of bit masks to unify differences in generational and incremental modes) | ||||
* | comments | Roberto Ierusalimschy | 2010-05-06 | 1 | -18/+9 |
| | |||||
* | more tests in 'lua_checkmemory' | Roberto Ierusalimschy | 2010-05-06 | 1 | -13/+48 |
| | |||||
* | new function 'luaC_changemode' + | Roberto Ierusalimschy | 2010-05-05 | 1 | -13/+42 |
| | | | | | | | bug: objects entering the 'allgc' list must have their OLDBIT cleared (upvalues being cleared) + bug: in 'checkSizes', KGC_EMERGENCY is stored in 'gckind' field, not in 'gcstate' + current white changes when entering sweep phase (so there are dead objects only in that phase) | ||||
* | new function 'luaC_changemode' | Roberto Ierusalimschy | 2010-05-05 | 2 | -10/+6 |
| |