summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* better(?) handling of '#define's for IEEE-related tricks + avoid usingRoberto Ierusalimschy2012-05-113-66/+82
| | | | IEEE trick for 64-bit integer types (lua_Integer on 64-bit machines)
* bug: wrong handling of 'nCcalls' in coroutinesRoberto Ierusalimschy2012-05-111-6/+35
|
* useless parameter in macro 'luai_makeseed'Roberto Ierusalimschy2012-05-111-2/+2
|
* no more 'Proto' objects on the stack. Protos are anchored on outerRoberto Ierusalimschy2012-05-0811-90/+103
| | | | Protos or on a Closure, which must be created before the Proto.
* wrong error message when 'coroutine.create' or 'coroutine.wrap' areRoberto Ierusalimschy2012-04-271-2/+3
| | | | | called with no arguments (new thread is assumed to be the missing argument).
* small bug: a reader function should not modify the Lua stackRoberto Ierusalimschy2012-04-271-1/+2
|
* bug: wrong handling of 'nCcalls' in coroutinesRoberto Ierusalimschy2012-04-261-5/+4
|
* detail (separate code to create 'searchers' table into a new function)Roberto Ierusalimschy2012-04-261-12/+15
|
* primaryexp -> suffixedexp; prefixexp -> primaryexp + more 'syntactical'Roberto Ierusalimschy2012-04-201-15/+17
| | | | way to distinguish between function calls and assignments
* details (using lua_setglobal/lua_getglobal instead of explicitRoberto Ierusalimschy2012-04-202-15/+8
| | | | use of the global table)
* release 5.2.1Roberto Ierusalimschy2012-04-201-4/+4
|
* different scheme to check arguments to '%d', '%x', etc. Old schemeRoberto Ierusalimschy2012-04-201-8/+9
| | | | did not work well when lua_Number is an integer.
* Finalizers may call functions from a dynamic library afterRoberto Ierusalimschy2012-04-121-2/+102
| | | | the library has been unloaded
* bug: C libraries must be unloaded after all other finalizers have run,Roberto Ierusalimschy2012-04-111-33/+41
| | | | because a finalizer may use a C function from a C library
* 'if' to avoid empty 'memcpy' (may be expensive)Roberto Ierusalimschy2012-04-031-2/+4
|
* string hash may not use all bytes (but this is configurable now) +Roberto Ierusalimschy2012-03-281-5/+28
| | | | small other changes
* definition for 'LUA_MAXSHORTLEN' moved to 'lstring.c' (used only there)Roberto Ierusalimschy2012-03-281-10/+1
|
* error function can be 'l_noret'Roberto Ierusalimschy2012-03-191-2/+2
|
* cleaner code (avoids loop with empty body)Roberto Ierusalimschy2012-03-191-3/+5
|
* 'luaL_checkversion' called by 'luaL_setfuncs'Roberto Ierusalimschy2012-03-181-1/+2
|
* random seed used in the hash of all strings to avoid intentionalRoberto Ierusalimschy2012-02-015-12/+49
| | | | collisions