aboutsummaryrefslogtreecommitdiff
path: root/lzio.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-10-02macro 'lua_number2unsigned' also needs proper definition ifRoberto Ierusalimschy1-2/+2
lua_Number is float
2012-10-01LUA_CORE condition removed from definition of some 'tricks' (as itRoberto Ierusalimschy2-7/+6
controlled only a few other defines) + MS_ASMTRICK renamed to LUA_MSASMTRICK
2012-10-01'pcall' may not restore previous error function whenRoberto Ierusalimschy1-2/+97
inside coroutines + Check for garbage collector in function calls does not cover all paths
2012-10-01BUG: 'pcall' may not restore previous error function whenRoberto Ierusalimschy1-2/+6
inside coroutines
2012-09-29pops the string from 'get_prompt' only after using itRoberto Ierusalimschy1-3/+4
2012-09-24typo in commentRoberto Ierusalimschy1-2/+2
2012-09-11detailRoberto Ierusalimschy1-3/+3
2012-09-11no more macro 'changenvalue'Roberto Ierusalimschy2-7/+4
2012-09-11small bug: generational mode is always in 'propagate' mode onlyRoberto Ierusalimschy2-10/+21
outside the collector: during collection of course it must go to other modes.
2012-09-11more regularity for field 'fix'Roberto Ierusalimschy1-12/+19
2012-08-28checks garbage collector every time it calls a function (as theRoberto Ierusalimschy1-3/+4
stack can grow and so allocates more memory)
2012-08-16remove of unecessary luaD_checkstack. (In some cases, C shouldRoberto Ierusalimschy5-23/+19
ensure stack space; in others, Lua can use the extra slots for temporary values.)
2012-08-16details (no need to use lua_pushfstring for plain strings)Roberto Ierusalimschy1-3/+3
2012-08-14details (remove of some extra spaces)Roberto Ierusalimschy4-11/+11
2012-08-06detail (avoid being picky about conversion from 'unsigned char'Roberto Ierusalimschy1-2/+2
to 'int')
2012-07-31Bug: Some patterns can overflow the C stack, due to recursionRoberto Ierusalimschy1-77/+124
(Took the opportunity to refactor function 'match')
2012-07-13typoRoberto Ierusalimschy1-2/+2
2012-07-13Some patterns can overflow the C stack, due to recursion.Roberto Ierusalimschy1-2/+12
2012-07-04collector in generational mode must be in 'propagate' state whenRoberto Ierusalimschy3-25/+24
not running a collection
2012-07-02collector in generational mode should never be in 'pause' stateRoberto Ierusalimschy1-1/+9
2012-07-02major collections in generational mode are triggered by comparison withRoberto Ierusalimschy1-3/+6
the memory estimate from last major collection
2012-07-02commentRoberto Ierusalimschy1-2/+2
2012-06-29change in error messageRoberto Ierusalimschy1-2/+2
2012-06-11bugs: Internal Lua values may escape through the debug API +v5.2.1Roberto Ierusalimschy1-2/+39
Problems when yielding from debug hooks
2012-06-08bugs in yields inside debug hooksRoberto Ierusalimschy4-13/+23
2012-06-07new auxiliary function 'luaI_printinst' (to print a single instruction)Roberto Ierusalimschy1-1/+7
2012-05-31includes counts from 'sweeptolive' in cost of atomic stepRoberto Ierusalimschy1-8/+15
2012-05-31bug in luaL_getsubtable (calling lua_absindex not with original stack)Roberto Ierusalimschy1-3/+3
2012-05-31small bug in error handling of finalizers (cannot call lua_tostringRoberto Ierusalimschy1-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)
2012-05-31small improvement in lua_checkmemory (only allow dead objects inRoberto Ierusalimschy1-7/+12
part of the sweep list not yet sweeped)
2012-05-30update of 'lua_checkmemory'Roberto Ierusalimschy1-4/+10
2012-05-30bug: object being moved to 'finobj' list might not be sweeped byRoberto Ierusalimschy1-4/+7
the collector
2012-05-30typos in commentsRoberto Ierusalimschy2-5/+5
2012-05-29only count in 'atomic' objects marked for the first timeRoberto Ierusalimschy1-5/+8
2012-05-28more efficient way to apply 'stepmul' + some changes in GC parametersRoberto Ierusalimschy1-18/+29
2012-05-28definition for 'MAX_LMEM'Roberto Ierusalimschy1-1/+3
2012-05-23definition of 'GCSTEPSIZE' moved to header file + small changesRoberto Ierusalimschy2-10/+13
2012-05-23compensate for 'GCSTEPSIZE' in GC stepsRoberto Ierusalimschy1-2/+2
2012-05-23removed debug codeRoberto Ierusalimschy1-17/+1
2012-05-23spaces -> tabs in #definesRoberto Ierusalimschy5-30/+31
2012-05-22detail ('char' should be 'const char')Roberto Ierusalimschy1-2/+2
2012-05-22merge of fields 'lastmajormem' (used in gen. mode) and 'estimate'Roberto Ierusalimschy4-15/+15
(used in inc. mode)
2012-05-22try to avoid sweeping new objects created with new white (andRoberto Ierusalimschy3-27/+43
therefore not collectable in the current cycle)
2012-05-21simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' +Roberto Ierusalimschy3-17/+35
micro bug in 'luaC_checkfinalizer' (current sweep object could be removed from 'allgc' list)
2012-05-20revamp of the GC pace control; more like 5.1: any X Kbytes allocatedRoberto Ierusalimschy2-97/+120
makes the GC handle f(X) Kbytes of objects
2012-05-20extend optimization of 'if a then break end' for the caseRoberto Ierusalimschy1-4/+10
'if a then break; end'
2012-05-18allow "long double" precision for PI constant if neededRoberto Ierusalimschy1-6/+6
2012-05-14removed 'stringmark' trickRoberto Ierusalimschy1-25/+19
2012-05-14macro 'checkGC' takes care of setting 'top' to limit stack live valuesRoberto Ierusalimschy1-16/+9
2012-05-14details (header comments)Roberto Ierusalimschy2-3/+4