summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 'luaF_newLclosure' gets prototype of new closure as argumentRoberto Ierusalimschy2010-06-042-5/+4
|
* better names for barrier macrosRoberto Ierusalimschy2010-06-042-6/+6
|
* bug: generational collection was not running collector! (must writeRoberto Ierusalimschy2010-06-021-2/+3
| | | | a test for this...)
* factoring out common code in 'module' and 'luaL_openlib'Roberto Ierusalimschy2010-05-313-29/+35
|
* new macro MAXUPVAL (maximum number of upvalues per closure)Roberto Ierusalimschy2010-05-313-7/+12
|
* correct definition for 'lua_cpcall' (tested)Roberto Ierusalimschy2010-05-281-2/+2
|
* corrected compatibility macro 'lua_cpcall' (untested)Roberto Ierusalimschy2010-05-271-4/+6
|
* added class '%g' in patterns (for graphical characters)Roberto Ierusalimschy2010-05-241-1/+2
|
* GC should not run when stopped, even in hard testsRoberto Ierusalimschy2010-05-241-2/+3
|
* it is better to call open functions with lua_call to not messRoberto Ierusalimschy2010-05-201-3/+3
| | | | the caller stack
* more commentsRoberto Ierusalimschy2010-05-181-9/+9
|
* bug: loadfile of binary files read first character twiceRoberto Ierusalimschy2010-05-181-1/+2
|
* really stop collection during finalizersRoberto Ierusalimschy2010-05-171-2/+2
|
* lua_pushstring may reallocate the stack, making 'o' a danglingRoberto Ierusalimschy2010-05-171-5/+6
| | | | pointer
* detail (comment)Roberto Ierusalimschy2010-05-171-2/+2
|
* semicolons now represent the empty statementRoberto Ierusalimschy2010-05-151-3/+5
|
* patches for last two bugs (string.format and io.read)Roberto Ierusalimschy2010-05-141-5/+42
|
* updated depenency lists + eliminated duplication of definitionsRoberto Ierusalimschy2010-05-141-12/+9
| | | | for MYCFLAGS, MYLDFLAGS, and MYLIBS.
* commentsRoberto Ierusalimschy2010-05-141-6/+6
|
* new "instruction" 'absindex'Roberto Ierusalimschy2010-05-141-1/+4
|
* in 'absindex', do not need to call gettop (can inline it)Roberto Ierusalimschy2010-05-141-2/+2
|
* one more macro (mvdispatch) to easy experiments with alternativeRoberto Ierusalimschy2010-05-131-2/+3
| | | | dispatch methods
* detail (breaking a long line)Roberto Ierusalimschy2010-05-131-4/+5
|
* use of macro ('vmcase') to format all cases in main switch ofRoberto Ierusalimschy2010-05-121-121/+83
| | | | 'luaV_execute' (to facilitate experiences with direct threading)
* small changes in 'luaV_execute' to make cases more regularly formattedRoberto Ierusalimschy2010-05-121-8/+7
|
* added comments to '#else' and '#endif' in long conditionalsRoberto Ierusalimschy2010-05-121-13/+14
|
* new API function 'lua_absindex'Roberto Ierusalimschy2010-05-123-13/+19
|
* avoid "strong" castRoberto Ierusalimschy2010-05-111-2/+3
|
* wrong type being assigned (not detected because of obj2gco macro)Roberto Ierusalimschy2010-05-111-2/+2
|
* udata in 'tobefnz' list be have old bit on (it will be clearedRoberto Ierusalimschy2010-05-101-2/+1
| | | | when udata is moved to 'allgc' list)
* corrected some places where an old object could end up in frontRoberto Ierusalimschy2010-05-104-10/+15
| | | | of a new one + minimal documentation about this problem
* new macro 'resetoldbit'Roberto Ierusalimschy2010-05-102-7/+9
|
* macros 'lua_number2int' and 'lua_number2uint' for Visual StudioRoberto Ierusalimschy2010-05-101-11/+12
| | | | corrected and tested
* avoid reserving LUA_RIDX_LAST slots in any table used by referenceRoberto Ierusalimschy2010-05-101-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_ENVIRONINDEXRoberto Ierusalimschy2010-05-101-3/+2
| | | | anymore)
* slightly better definition for 'changenvalue'Roberto Ierusalimschy2010-05-071-3/+2
|
* 'lua_assert' can be empty when assertions are offRoberto Ierusalimschy2010-05-071-2/+2
|
* slightly better definition for 'isgray'Roberto Ierusalimschy2010-05-071-2/+3
|
* avoid 'else assert' (which may result in an empty else)Roberto Ierusalimschy2010-05-071-4/+4
|
* details (to avoid too long strings in assertions)Roberto Ierusalimschy2010-05-071-4/+4
|
* bug: incremental sweep was not cleaning old bits (as it stopped in theRoberto Ierusalimschy2010-05-071-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 Ierusalimschy2010-05-071-3/+6
|
* more tests in 'lua_checkmemory' + more information in functionRoberto Ierusalimschy2010-05-071-17/+29
| | | | 'gccolor'
* new macro 'isgenerational' + new macro 'isold' + better deffinitionRoberto Ierusalimschy2010-05-071-3/+7
| | | | for 'isdead', compatible with the code used by 'sweeplist'
* some cleaning in 'sweeplist' (threads do not need to be traversedRoberto Ierusalimschy2010-05-061-28/+29
| | | | | if they are going to be collected + use of bit masks to unify differences in generational and incremental modes)
* commentsRoberto Ierusalimschy2010-05-061-18/+9
|
* more tests in 'lua_checkmemory'Roberto Ierusalimschy2010-05-061-13/+48
|
* new function 'luaC_changemode' +Roberto Ierusalimschy2010-05-051-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 Ierusalimschy2010-05-052-10/+6
|
* typos in commentsRoberto Ierusalimschy2010-05-053-7/+7
|