Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | try to avoid sweeping new objects created with new white (and | Roberto Ierusalimschy | 2012-05-22 | 3 | -27/+43 |
| | | | | therefore not collectable in the current cycle) | ||||
* | simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' + | Roberto Ierusalimschy | 2012-05-21 | 3 | -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 allocated | Roberto Ierusalimschy | 2012-05-20 | 2 | -97/+120 |
| | | | | makes the GC handle f(X) Kbytes of objects | ||||
* | extend optimization of 'if a then break end' for the case | Roberto Ierusalimschy | 2012-05-20 | 1 | -4/+10 |
| | | | | 'if a then break; end' | ||||
* | allow "long double" precision for PI constant if needed | Roberto Ierusalimschy | 2012-05-18 | 1 | -6/+6 |
| | |||||
* | removed 'stringmark' trick | Roberto Ierusalimschy | 2012-05-14 | 1 | -25/+19 |
| | |||||
* | macro 'checkGC' takes care of setting 'top' to limit stack live values | Roberto Ierusalimschy | 2012-05-14 | 1 | -16/+9 |
| | |||||
* | details (header comments) | Roberto Ierusalimschy | 2012-05-14 | 2 | -3/+4 |
| | |||||
* | test for whether collector is running moved from function to | Roberto Ierusalimschy | 2012-05-11 | 3 | -16/+8 |
| | | | | macro 'luaC_condGC'. | ||||
* | definition for 'LUAI_MAXSHORTLEN' moved to luaconf.h (too important) | Roberto Ierusalimschy | 2012-05-11 | 2 | -13/+9 |
| | |||||
* | better(?) handling of '#define's for IEEE-related tricks + avoid using | Roberto Ierusalimschy | 2012-05-11 | 3 | -66/+82 |
| | | | | IEEE trick for 64-bit integer types (lua_Integer on 64-bit machines) | ||||
* | bug: wrong handling of 'nCcalls' in coroutines | Roberto Ierusalimschy | 2012-05-11 | 1 | -6/+35 |
| | |||||
* | useless parameter in macro 'luai_makeseed' | Roberto Ierusalimschy | 2012-05-11 | 1 | -2/+2 |
| | |||||
* | no more 'Proto' objects on the stack. Protos are anchored on outer | Roberto Ierusalimschy | 2012-05-08 | 11 | -90/+103 |
| | | | | Protos or on a Closure, which must be created before the Proto. | ||||
* | wrong error message when 'coroutine.create' or 'coroutine.wrap' are | Roberto Ierusalimschy | 2012-04-27 | 1 | -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 stack | Roberto Ierusalimschy | 2012-04-27 | 1 | -1/+2 |
| | |||||
* | bug: wrong handling of 'nCcalls' in coroutines | Roberto Ierusalimschy | 2012-04-26 | 1 | -5/+4 |
| | |||||
* | detail (separate code to create 'searchers' table into a new function) | Roberto Ierusalimschy | 2012-04-26 | 1 | -12/+15 |
| | |||||
* | primaryexp -> suffixedexp; prefixexp -> primaryexp + more 'syntactical' | Roberto Ierusalimschy | 2012-04-20 | 1 | -15/+17 |
| | | | | way to distinguish between function calls and assignments | ||||
* | details (using lua_setglobal/lua_getglobal instead of explicit | Roberto Ierusalimschy | 2012-04-20 | 2 | -15/+8 |
| | | | | use of the global table) | ||||
* | release 5.2.1 | Roberto Ierusalimschy | 2012-04-20 | 1 | -4/+4 |
| | |||||
* | different scheme to check arguments to '%d', '%x', etc. Old scheme | Roberto Ierusalimschy | 2012-04-20 | 1 | -8/+9 |
| | | | | did not work well when lua_Number is an integer. | ||||
* | Finalizers may call functions from a dynamic library after | Roberto Ierusalimschy | 2012-04-12 | 1 | -2/+102 |
| | | | | the library has been unloaded | ||||
* | bug: C libraries must be unloaded after all other finalizers have run, | Roberto Ierusalimschy | 2012-04-11 | 1 | -33/+41 |
| | | | | because a finalizer may use a C function from a C library | ||||
* | 'if' to avoid empty 'memcpy' (may be expensive) | Roberto Ierusalimschy | 2012-04-03 | 1 | -2/+4 |
| | |||||
* | string hash may not use all bytes (but this is configurable now) + | Roberto Ierusalimschy | 2012-03-28 | 1 | -5/+28 |
| | | | | small other changes | ||||
* | definition for 'LUA_MAXSHORTLEN' moved to 'lstring.c' (used only there) | Roberto Ierusalimschy | 2012-03-28 | 1 | -10/+1 |
| | |||||
* | error function can be 'l_noret' | Roberto Ierusalimschy | 2012-03-19 | 1 | -2/+2 |
| | |||||
* | cleaner code (avoids loop with empty body) | Roberto Ierusalimschy | 2012-03-19 | 1 | -3/+5 |
| | |||||
* | 'luaL_checkversion' called by 'luaL_setfuncs' | Roberto Ierusalimschy | 2012-03-18 | 1 | -1/+2 |
| | |||||
* | random seed used in the hash of all strings to avoid intentional | Roberto Ierusalimschy | 2012-02-01 | 5 | -12/+49 |
| | | | | collisions | ||||
* | first implementation of long strings | Roberto Ierusalimschy | 2012-01-25 | 9 | -47/+144 |
| | |||||
* | field 'reserved' -> 'extra' (may be used for other purposes too) | Roberto Ierusalimschy | 2012-01-23 | 3 | -7/+7 |
| | |||||
* | 'eqstr' -> 'luaS_eqstr' | Roberto Ierusalimschy | 2012-01-23 | 3 | -13/+13 |
| | |||||
* | new macro 'isreserved' + 'eqstr' -> 'luaS_eqstr' (may be a function) | Roberto Ierusalimschy | 2012-01-23 | 1 | -4/+10 |
| | |||||
* | "default: lua_assert(0)" in switches helps debugging + uses | Roberto Ierusalimschy | 2012-01-23 | 2 | -4/+6 |
| | | | | non-variant types in binary files | ||||
* | Lua never uses Ã'assert' (it is always 'lua_assert') | Roberto Ierusalimschy | 2012-01-23 | 1 | -2/+2 |
| | |||||
* | documentation comment (small correction about strings being | Roberto Ierusalimschy | 2012-01-23 | 1 | -3/+5 |
| | | | | gray) | ||||
* | new macro 'checktype' | Roberto Ierusalimschy | 2012-01-20 | 1 | -2/+8 |
| | |||||
* | object tag keeps variant bits too -> no need for 'isC' field in | Roberto Ierusalimschy | 2012-01-20 | 7 | -67/+88 |
| | | | | Closures + more strick typing for closure variants | ||||
* | bug: Lexical gets confused with some combination of arithmetic | Roberto Ierusalimschy | 2012-01-20 | 1 | -5/+16 |
| | | | | operators and hexadecimal numbers | ||||
* | BUG: memory hoarding when creating Lua hooks for coroutines | Roberto Ierusalimschy | 2012-01-20 | 1 | -2/+125 |
| | | | | | BUG: Lexical gets confused with some combination of arithmetic operators and hexadecimal numbers | ||||
* | BUG: coroutine hooks were not collected together with coroutine | Roberto Ierusalimschy | 2012-01-19 | 1 | -7/+14 |
| | |||||
* | new way to handle -E option (write a mark in the registry to avoidv5.2.0 | Roberto Ierusalimschy | 2011-12-12 | 2 | -18/+22 |
| | | | | reading environment variables) | ||||
* | removed redundant definition for FILEHANDLE | Roberto Ierusalimschy | 2011-12-08 | 1 | -4/+1 |
| | |||||
* | avoid a few warnings (casts) | Roberto Ierusalimschy | 2011-12-07 | 1 | -3/+3 |
| | |||||
* | cast from 'bool' to 'int' (for C++) | Roberto Ierusalimschy | 2011-12-07 | 1 | -2/+2 |
| | |||||
* | no more explicit support for 'luaall_c': unifying file can do | Roberto Ierusalimschy | 2011-12-06 | 2 | -12/+7 |
| | | | | the work | ||||
* | small bug: format '%d' for lua_Number argument | Roberto Ierusalimschy | 2011-12-06 | 1 | -2/+2 |
| | |||||
* | some compilers (e.g., gcc C++) do not accept NULL as a pointer in | Roberto Ierusalimschy | 2011-12-02 | 1 | -4/+4 |
| | | | | that context |