aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 'pcall' may not restore previous error function whenRoberto Ierusalimschy2012-10-011-2/+97
| | | | | inside coroutines + Check for garbage collector in function calls does not cover all paths
* BUG: 'pcall' may not restore previous error function whenRoberto Ierusalimschy2012-10-011-2/+6
| | | | inside coroutines
* pops the string from 'get_prompt' only after using itRoberto Ierusalimschy2012-09-291-3/+4
|
* typo in commentRoberto Ierusalimschy2012-09-241-2/+2
|
* detailRoberto Ierusalimschy2012-09-111-3/+3
|
* no more macro 'changenvalue'Roberto Ierusalimschy2012-09-112-7/+4
|
* small bug: generational mode is always in 'propagate' mode onlyRoberto Ierusalimschy2012-09-112-10/+21
| | | | | outside the collector: during collection of course it must go to other modes.
* more regularity for field 'fix'Roberto Ierusalimschy2012-09-111-12/+19
|
* checks garbage collector every time it calls a function (as theRoberto Ierusalimschy2012-08-281-3/+4
| | | | stack can grow and so allocates more memory)
* remove of unecessary luaD_checkstack. (In some cases, C shouldRoberto Ierusalimschy2012-08-165-23/+19
| | | | | ensure stack space; in others, Lua can use the extra slots for temporary values.)
* details (no need to use lua_pushfstring for plain strings)Roberto Ierusalimschy2012-08-161-3/+3
|
* details (remove of some extra spaces)Roberto Ierusalimschy2012-08-144-11/+11
|
* detail (avoid being picky about conversion from 'unsigned char'Roberto Ierusalimschy2012-08-061-2/+2
| | | | to 'int')
* Bug: Some patterns can overflow the C stack, due to recursionRoberto Ierusalimschy2012-07-311-77/+124
| | | | (Took the opportunity to refactor function 'match')
* typoRoberto Ierusalimschy2012-07-131-2/+2
|
* Some patterns can overflow the C stack, due to recursion.Roberto Ierusalimschy2012-07-131-2/+12
|
* collector in generational mode must be in 'propagate' state whenRoberto Ierusalimschy2012-07-043-25/+24
| | | | not running a collection
* collector in generational mode should never be in 'pause' stateRoberto Ierusalimschy2012-07-021-1/+9
|
* major collections in generational mode are triggered by comparison withRoberto Ierusalimschy2012-07-021-3/+6
| | | | the memory estimate from last major collection
* commentRoberto Ierusalimschy2012-07-021-2/+2
|
* change in error messageRoberto Ierusalimschy2012-06-291-2/+2
|
* bugs: Internal Lua values may escape through the debug API +v5.2.1Roberto Ierusalimschy2012-06-111-2/+39
| | | | Problems when yielding from debug hooks
* bugs in yields inside debug hooksRoberto Ierusalimschy2012-06-084-13/+23
|
* new auxiliary function 'luaI_printinst' (to print a single instruction)Roberto Ierusalimschy2012-06-071-1/+7
|
* includes counts from 'sweeptolive' in cost of atomic stepRoberto Ierusalimschy2012-05-311-8/+15
|
* bug in luaL_getsubtable (calling lua_absindex not with original stack)Roberto Ierusalimschy2012-05-311-3/+3
|
* small bug in error handling of finalizers (cannot call lua_tostringRoberto Ierusalimschy2012-05-311-27/+45
| | | | | | inside the core) + small bug in luaC_checkfinalizer (when avoiding remove object being sweeped from sweep list) + small changes in GC pace control (for the atomic part)
* small improvement in lua_checkmemory (only allow dead objects inRoberto Ierusalimschy2012-05-311-7/+12
| | | | part of the sweep list not yet sweeped)
* update of 'lua_checkmemory'Roberto Ierusalimschy2012-05-301-4/+10
|
* bug: object being moved to 'finobj' list might not be sweeped byRoberto Ierusalimschy2012-05-301-4/+7
| | | | the collector
* typos in commentsRoberto Ierusalimschy2012-05-302-5/+5
|
* only count in 'atomic' objects marked for the first timeRoberto Ierusalimschy2012-05-291-5/+8
|
* more efficient way to apply 'stepmul' + some changes in GC parametersRoberto Ierusalimschy2012-05-281-18/+29
|
* definition for 'MAX_LMEM'Roberto Ierusalimschy2012-05-281-1/+3
|
* definition of 'GCSTEPSIZE' moved to header file + small changesRoberto Ierusalimschy2012-05-232-10/+13
|
* compensate for 'GCSTEPSIZE' in GC stepsRoberto Ierusalimschy2012-05-231-2/+2
|
* removed debug codeRoberto Ierusalimschy2012-05-231-17/+1
|
* spaces -> tabs in #definesRoberto Ierusalimschy2012-05-235-30/+31
|
* detail ('char' should be 'const char')Roberto Ierusalimschy2012-05-221-2/+2
|
* merge of fields 'lastmajormem' (used in gen. mode) and 'estimate'Roberto Ierusalimschy2012-05-224-15/+15
| | | | (used in inc. mode)
* try to avoid sweeping new objects created with new white (andRoberto Ierusalimschy2012-05-223-27/+43
| | | | therefore not collectable in the current cycle)
* simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' +Roberto Ierusalimschy2012-05-213-17/+35
| | | | | micro bug in 'luaC_checkfinalizer' (current sweep object could be removed from 'allgc' list)
* revamp of the GC pace control; more like 5.1: any X Kbytes allocatedRoberto Ierusalimschy2012-05-202-97/+120
| | | | makes the GC handle f(X) Kbytes of objects
* extend optimization of 'if a then break end' for the caseRoberto Ierusalimschy2012-05-201-4/+10
| | | | 'if a then break; end'
* allow "long double" precision for PI constant if neededRoberto Ierusalimschy2012-05-181-6/+6
|
* removed 'stringmark' trickRoberto Ierusalimschy2012-05-141-25/+19
|
* macro 'checkGC' takes care of setting 'top' to limit stack live valuesRoberto Ierusalimschy2012-05-141-16/+9
|
* details (header comments)Roberto Ierusalimschy2012-05-142-3/+4
|
* test for whether collector is running moved from function toRoberto Ierusalimschy2012-05-113-16/+8
| | | | macro 'luaC_condGC'.
* definition for 'LUAI_MAXSHORTLEN' moved to luaconf.h (too important)Roberto Ierusalimschy2012-05-112-13/+9
|