aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* BUG: coroutine hooks were not collected together with coroutineRoberto Ierusalimschy2012-01-191-7/+14
|
* new way to handle -E option (write a mark in the registry to avoidv5.2.0Roberto Ierusalimschy2011-12-122-18/+22
| | | | reading environment variables)
* removed redundant definition for FILEHANDLERoberto Ierusalimschy2011-12-081-4/+1
|
* avoid a few warnings (casts)Roberto Ierusalimschy2011-12-071-3/+3
|
* cast from 'bool' to 'int' (for C++)Roberto Ierusalimschy2011-12-071-2/+2
|
* no more explicit support for 'luaall_c': unifying file can doRoberto Ierusalimschy2011-12-062-12/+7
| | | | the work
* small bug: format '%d' for lua_Number argumentRoberto Ierusalimschy2011-12-061-2/+2
|
* some compilers (e.g., gcc C++) do not accept NULL as a pointer inRoberto Ierusalimschy2011-12-021-4/+4
| | | | that context
* macro 'luaL_getmetatable' seems more appropriate when gettingRoberto Ierusalimschy2011-12-021-3/+3
| | | | metatables in registry
* old error messages may be misleadingRoberto Ierusalimschy2011-12-021-4/+4
|