Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-09-11 | detail: 'sweepstep' checks end of phase after calling 'sweeplist', so | Roberto Ierusalimschy | 1 | -6/+7 | |
that phases with small lists return 0 at the first call to 'sweepstep' | |||||
2013-09-11 | objects in list 'tobefnz' have a GC life-cycle like all others | Roberto Ierusalimschy | 3 | -17/+21 | |
(specifically they are cleaned during sweep phase) | |||||
2013-09-11 | 'luaC_newobj' does not handle special cases; only special case | Roberto Ierusalimschy | 6 | -35/+31 | |
now is threads, which do not use 'luaC_newobj' anymore. | |||||
2013-09-11 | more invariants added to memory check | Roberto Ierusalimschy | 1 | -3/+4 | |
2013-09-05 | back to open hashing for the string table (but with a different | Roberto Ierusalimschy | 5 | -92/+61 | |
'hnext' field, to strings are still collected like all other objects) | |||||
2013-09-04 | better (and correct!) control of 'maybedead' | Roberto Ierusalimschy | 1 | -20/+19 | |
2013-09-03 | local collection now calls finalizers | Roberto Ierusalimschy | 6 | -80/+144 | |
2013-08-30 | new GC state to sweep 'localgc' list + small changes in sweep control | Roberto Ierusalimschy | 5 | -46/+48 | |
2013-08-30 | bug (GC can collect long identifier during parser) + change (using | Roberto Ierusalimschy | 6 | -46/+47 | |
a single constant table for all functions in a chunk) | |||||
2013-08-30 | bug: GC can collect a long string still in use during parser | Roberto Ierusalimschy | 1 | -2/+37 | |
2013-08-29 | details (a few casts moved from macro invocation to macro definition) | Roberto Ierusalimschy | 3 | -8/+8 | |
2013-08-29 | bug: local collection must clear rest of stack | Roberto Ierusalimschy | 1 | -2/+5 | |
2013-08-28 | tables and userdata all go to local list, too | Roberto Ierusalimschy | 4 | -7/+17 | |
2013-08-27 | LOCALBLACK changed to LOCALMARK and used also to control whether object | Roberto Ierusalimschy | 6 | -20/+24 | |
is in 'localgc' list + luaC_newobj by default puts object in 'localgc' list | |||||
2013-08-27 | upvalues collected by reference count | Roberto Ierusalimschy | 12 | -205/+157 | |
2013-08-26 | Lua closures go to local, too | Roberto Ierusalimschy | 5 | -21/+72 | |
2013-08-23 | C functions and strings now go to the local list; first version | Roberto Ierusalimschy | 6 | -15/+107 | |
of the local collector | |||||
2013-08-22 | some details over new implementation of string table | Roberto Ierusalimschy | 3 | -22/+24 | |
2013-08-21 | "fixed" objects kept in a separated list (instead of being kept in | Roberto Ierusalimschy | 7 | -17/+33 | |
'allgc' list with a bit marking them) | |||||
2013-08-21 | change in string table: string table is now independent of GC lists; all | Roberto Ierusalimschy | 7 | -114/+125 | |
strings live in 'normal' GC lists | |||||
2013-08-21 | initial size of string table (MINSTRTABSIZE) should be large enough | Roberto Ierusalimschy | 1 | -2/+2 | |
to hold all strings needed by an empty Lua state | |||||
2013-08-20 | GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simpler | Roberto Ierusalimschy | 4 | -25/+20 | |
control) | |||||
2013-08-19 | "barrier" for link prototype->cache changed to be consistent with | Roberto Ierusalimschy | 3 | -33/+8 | |
GC behavior (link is cleared to preserve invariant) | |||||
2013-08-19 | new function 'isgclocal' + test for GC consistency of prototype's caches | Roberto Ierusalimschy | 1 | -3/+16 | |
2013-08-18 | 'next' field for tables changed from pointer to integer (for better | Roberto Ierusalimschy | 3 | -29/+49 | |
alignment on 64-bit machines) | |||||
2013-08-16 | details | Roberto Ierusalimschy | 1 | -7/+4 | |
2013-08-16 | added 'local' bit (true => object is only refered by local variables) | Roberto Ierusalimschy | 10 | -53/+96 | |
2013-08-13 | barrier conditions rewritten to test first 'isblack' and then 'iswhite' | Roberto Ierusalimschy | 2 | -9/+11 | |
(during a pause all objects are white, so 'isblack' fails much more often than 'iswhite') | |||||
2013-08-07 | change to allow collector to stop when it goes to the atomic phase | Roberto Ierusalimschy | 1 | -16/+17 | |
(just for debugging) | |||||
2013-08-07 | double-linked list of all upvalues elliminated and changed to a | Roberto Ierusalimschy | 7 | -72/+47 | |
traversal of all non-marked threads | |||||
2013-08-05 | no more generational collection !!! | Roberto Ierusalimschy | 10 | -190/+46 | |
2013-07-22 | 'debug.subtype' -> 'math.type' (to distinguish integers and floats) | Roberto Ierusalimschy | 2 | -35/+17 | |
2013-07-10 | 'math.isfloat' replaced by 'debug.subtype' | Roberto Ierusalimschy | 2 | -10/+35 | |
2013-07-10 | bug: Wrong error message in some short-cut expressions | Roberto Ierusalimschy | 1 | -11/+19 | |
2013-07-10 | use unsigneds for unary minus, too | Roberto Ierusalimschy | 3 | -9/+8 | |
2013-07-09 | use different constants (instead of different values for the same constant) | Roberto Ierusalimschy | 1 | -13/+27 | |
to define number sizes (LUA_INT_INT/LUA_INT_LONG/LUA_INT_LONGLONG and LUA_REAL_FLOAT/LUA_REAL_DOUBLE/LUA_REAL_LONGDOUBLE) + use __int64 and I64 instead of long long (and ll) for Windows | |||||
2013-07-09 | avoid undefined shift of LUA_NBITS in rotate operation | Roberto Ierusalimschy | 1 | -2/+3 | |
2013-07-09 | no need for type 'b_uint' (lua_Unsigned must have at least 32 bits) | Roberto Ierusalimschy | 1 | -20/+17 | |
2013-07-05 | When loading a file, Lua may call the reader function again after | Roberto Ierusalimschy | 1 | -2/+78 | |
it returned end of input + luac listings choke on long strings | |||||
2013-07-05 | 'tonumber': base must be a number | Roberto Ierusalimschy | 1 | -2/+2 | |
2013-07-05 | 'tonumber': does not accept numbers when given a base + convertion from | Roberto Ierusalimschy | 1 | -26/+43 | |
strings to numbers with a base moved to a separated function (more modular) | |||||
2013-07-05 | 'lua_cvtonum' -> 'lua_strtonum'; converts only strings to numbers | Roberto Ierusalimschy | 2 | -21/+14 | |
2013-07-03 | new function 'ifloor' | Roberto Ierusalimschy | 1 | -1/+14 | |
2013-06-27 | no need to check "bad conversion number->int;" in luaL_checkversion, | Roberto Ierusalimschy | 2 | -16/+14 | |
as now Lua does not use tricks for the conversion, but there is a need to check the sizes of number types, as they can be different in two modules | |||||
2013-06-25 | 'numbits' moved from 'math' to 'debug' library | Roberto Ierusalimschy | 2 | -15/+15 | |
2013-06-25 | LUA_SMALL_* changed to LUA_*SIZE + added support for long double + better | Roberto Ierusalimschy | 1 | -24/+40 | |
support for ANSI systems | |||||
2013-06-25 | macro 'lua_strx2number' does not need to be global | Roberto Ierusalimschy | 1 | -1/+13 | |
2013-06-25 | avoid using raw representation of numbers for hashing, as number may | Roberto Ierusalimschy | 1 | -15/+25 | |
not use all its space (e.g., long double can have sizeof=12 but use only 10 bytes) | |||||
2013-06-25 | 'luaL_len' returns lua_Integer instead of 'int' | Roberto Ierusalimschy | 2 | -7/+7 | |
2013-06-25 | avoid using 'modf' in the implementation of 'math.modf', to avoid | Roberto Ierusalimschy | 1 | -10/+12 | |
problems with 'double*'. (When using 'float' as lua_Number, 'float*' is not compatible with 'double*'...) |