aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-11detail: 'sweepstep' checks end of phase after calling 'sweeplist', soRoberto Ierusalimschy1-6/+7
that phases with small lists return 0 at the first call to 'sweepstep'
2013-09-11objects in list 'tobefnz' have a GC life-cycle like all othersRoberto Ierusalimschy3-17/+21
(specifically they are cleaned during sweep phase)
2013-09-11'luaC_newobj' does not handle special cases; only special caseRoberto Ierusalimschy6-35/+31
now is threads, which do not use 'luaC_newobj' anymore.
2013-09-11more invariants added to memory checkRoberto Ierusalimschy1-3/+4
2013-09-05back to open hashing for the string table (but with a differentRoberto Ierusalimschy5-92/+61
'hnext' field, to strings are still collected like all other objects)
2013-09-04better (and correct!) control of 'maybedead'Roberto Ierusalimschy1-20/+19
2013-09-03local collection now calls finalizersRoberto Ierusalimschy6-80/+144
2013-08-30new GC state to sweep 'localgc' list + small changes in sweep controlRoberto Ierusalimschy5-46/+48
2013-08-30bug (GC can collect long identifier during parser) + change (usingRoberto Ierusalimschy6-46/+47
a single constant table for all functions in a chunk)
2013-08-30bug: GC can collect a long string still in use during parserRoberto Ierusalimschy1-2/+37
2013-08-29details (a few casts moved from macro invocation to macro definition)Roberto Ierusalimschy3-8/+8
2013-08-29bug: local collection must clear rest of stackRoberto Ierusalimschy1-2/+5
2013-08-28tables and userdata all go to local list, tooRoberto Ierusalimschy4-7/+17
2013-08-27LOCALBLACK changed to LOCALMARK and used also to control whether objectRoberto Ierusalimschy6-20/+24
is in 'localgc' list + luaC_newobj by default puts object in 'localgc' list
2013-08-27upvalues collected by reference countRoberto Ierusalimschy12-205/+157
2013-08-26Lua closures go to local, tooRoberto Ierusalimschy5-21/+72
2013-08-23C functions and strings now go to the local list; first versionRoberto Ierusalimschy6-15/+107
of the local collector
2013-08-22some details over new implementation of string tableRoberto Ierusalimschy3-22/+24
2013-08-21"fixed" objects kept in a separated list (instead of being kept inRoberto Ierusalimschy7-17/+33
'allgc' list with a bit marking them)
2013-08-21change in string table: string table is now independent of GC lists; allRoberto Ierusalimschy7-114/+125
strings live in 'normal' GC lists
2013-08-21initial size of string table (MINSTRTABSIZE) should be large enoughRoberto Ierusalimschy1-2/+2
to hold all strings needed by an empty Lua state
2013-08-20GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simplerRoberto Ierusalimschy4-25/+20
control)
2013-08-19"barrier" for link prototype->cache changed to be consistent withRoberto Ierusalimschy3-33/+8
GC behavior (link is cleared to preserve invariant)
2013-08-19new function 'isgclocal' + test for GC consistency of prototype's cachesRoberto Ierusalimschy1-3/+16
2013-08-18'next' field for tables changed from pointer to integer (for betterRoberto Ierusalimschy3-29/+49
alignment on 64-bit machines)
2013-08-16detailsRoberto Ierusalimschy1-7/+4
2013-08-16added 'local' bit (true => object is only refered by local variables)Roberto Ierusalimschy10-53/+96
2013-08-13barrier conditions rewritten to test first 'isblack' and then 'iswhite'Roberto Ierusalimschy2-9/+11
(during a pause all objects are white, so 'isblack' fails much more often than 'iswhite')
2013-08-07change to allow collector to stop when it goes to the atomic phaseRoberto Ierusalimschy1-16/+17
(just for debugging)
2013-08-07double-linked list of all upvalues elliminated and changed to aRoberto Ierusalimschy7-72/+47
traversal of all non-marked threads
2013-08-05no more generational collection !!!Roberto Ierusalimschy10-190/+46
2013-07-22'debug.subtype' -> 'math.type' (to distinguish integers and floats)Roberto Ierusalimschy2-35/+17
2013-07-10'math.isfloat' replaced by 'debug.subtype'Roberto Ierusalimschy2-10/+35
2013-07-10bug: Wrong error message in some short-cut expressionsRoberto Ierusalimschy1-11/+19
2013-07-10use unsigneds for unary minus, tooRoberto Ierusalimschy3-9/+8
2013-07-09use different constants (instead of different values for the same constant)Roberto Ierusalimschy1-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-09avoid undefined shift of LUA_NBITS in rotate operationRoberto Ierusalimschy1-2/+3
2013-07-09no need for type 'b_uint' (lua_Unsigned must have at least 32 bits)Roberto Ierusalimschy1-20/+17
2013-07-05When loading a file, Lua may call the reader function again afterRoberto Ierusalimschy1-2/+78
it returned end of input + luac listings choke on long strings
2013-07-05'tonumber': base must be a numberRoberto Ierusalimschy1-2/+2
2013-07-05'tonumber': does not accept numbers when given a base + convertion fromRoberto Ierusalimschy1-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 numbersRoberto Ierusalimschy2-21/+14
2013-07-03new function 'ifloor'Roberto Ierusalimschy1-1/+14
2013-06-27no need to check "bad conversion number->int;" in luaL_checkversion,Roberto Ierusalimschy2-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' libraryRoberto Ierusalimschy2-15/+15
2013-06-25LUA_SMALL_* changed to LUA_*SIZE + added support for long double + betterRoberto Ierusalimschy1-24/+40
support for ANSI systems
2013-06-25macro 'lua_strx2number' does not need to be globalRoberto Ierusalimschy1-1/+13
2013-06-25avoid using raw representation of numbers for hashing, as number mayRoberto Ierusalimschy1-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 Ierusalimschy2-7/+7
2013-06-25avoid using 'modf' in the implementation of 'math.modf', to avoidRoberto Ierusalimschy1-10/+12
problems with 'double*'. (When using 'float' as lua_Number, 'float*' is not compatible with 'double*'...)