aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* first implementation of long stringsRoberto Ierusalimschy2012-01-259-47/+144
|
* field 'reserved' -> 'extra' (may be used for other purposes too)Roberto Ierusalimschy2012-01-233-7/+7
|
* 'eqstr' -> 'luaS_eqstr'Roberto Ierusalimschy2012-01-233-13/+13
|
* new macro 'isreserved' + 'eqstr' -> 'luaS_eqstr' (may be a function)Roberto Ierusalimschy2012-01-231-4/+10
|
* "default: lua_assert(0)" in switches helps debugging + usesRoberto Ierusalimschy2012-01-232-4/+6
| | | | non-variant types in binary files
* Lua never uses Ã'assert' (it is always 'lua_assert')Roberto Ierusalimschy2012-01-231-2/+2
|
* documentation comment (small correction about strings beingRoberto Ierusalimschy2012-01-231-3/+5
| | | | gray)
* new macro 'checktype'Roberto Ierusalimschy2012-01-201-2/+8
|
* object tag keeps variant bits too -> no need for 'isC' field inRoberto Ierusalimschy2012-01-207-67/+88
| | | | Closures + more strick typing for closure variants
* bug: Lexical gets confused with some combination of arithmeticRoberto Ierusalimschy2012-01-201-5/+16
| | | | operators and hexadecimal numbers
* BUG: memory hoarding when creating Lua hooks for coroutinesRoberto Ierusalimschy2012-01-201-2/+125
| | | | | BUG: Lexical gets confused with some combination of arithmetic operators and hexadecimal numbers