Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | C functions and strings now go to the local list; first version | Roberto Ierusalimschy | 2013-08-23 | 6 | -15/+107 |
| | | | | of the local collector | ||||
* | some details over new implementation of string table | Roberto Ierusalimschy | 2013-08-22 | 3 | -22/+24 |
| | |||||
* | "fixed" objects kept in a separated list (instead of being kept in | Roberto Ierusalimschy | 2013-08-21 | 7 | -17/+33 |
| | | | | 'allgc' list with a bit marking them) | ||||
* | change in string table: string table is now independent of GC lists; all | Roberto Ierusalimschy | 2013-08-21 | 7 | -114/+125 |
| | | | | strings live in 'normal' GC lists | ||||
* | initial size of string table (MINSTRTABSIZE) should be large enough | Roberto Ierusalimschy | 2013-08-21 | 1 | -2/+2 |
| | | | | to hold all strings needed by an empty Lua state | ||||
* | GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simpler | Roberto Ierusalimschy | 2013-08-20 | 4 | -25/+20 |
| | | | | control) | ||||
* | "barrier" for link prototype->cache changed to be consistent with | Roberto Ierusalimschy | 2013-08-19 | 3 | -33/+8 |
| | | | | GC behavior (link is cleared to preserve invariant) | ||||
* | new function 'isgclocal' + test for GC consistency of prototype's caches | Roberto Ierusalimschy | 2013-08-19 | 1 | -3/+16 |
| | |||||
* | 'next' field for tables changed from pointer to integer (for better | Roberto Ierusalimschy | 2013-08-18 | 3 | -29/+49 |
| | | | | alignment on 64-bit machines) | ||||
* | details | Roberto Ierusalimschy | 2013-08-16 | 1 | -7/+4 |
| | |||||
* | added 'local' bit (true => object is only refered by local variables) | Roberto Ierusalimschy | 2013-08-16 | 10 | -53/+96 |
| | |||||
* | barrier conditions rewritten to test first 'isblack' and then 'iswhite' | Roberto Ierusalimschy | 2013-08-13 | 2 | -9/+11 |
| | | | | | (during a pause all objects are white, so 'isblack' fails much more often than 'iswhite') | ||||
* | change to allow collector to stop when it goes to the atomic phase | Roberto Ierusalimschy | 2013-08-07 | 1 | -16/+17 |
| | | | | (just for debugging) | ||||
* | double-linked list of all upvalues elliminated and changed to a | Roberto Ierusalimschy | 2013-08-07 | 7 | -72/+47 |
| | | | | traversal of all non-marked threads | ||||
* | no more generational collection !!! | Roberto Ierusalimschy | 2013-08-05 | 10 | -190/+46 |
| | |||||
* | 'debug.subtype' -> 'math.type' (to distinguish integers and floats) | Roberto Ierusalimschy | 2013-07-22 | 2 | -35/+17 |
| | |||||
* | 'math.isfloat' replaced by 'debug.subtype' | Roberto Ierusalimschy | 2013-07-10 | 2 | -10/+35 |
| | |||||
* | bug: Wrong error message in some short-cut expressions | Roberto Ierusalimschy | 2013-07-10 | 1 | -11/+19 |
| | |||||
* | use unsigneds for unary minus, too | Roberto Ierusalimschy | 2013-07-10 | 3 | -9/+8 |
| | |||||
* | use different constants (instead of different values for the same constant) | Roberto Ierusalimschy | 2013-07-09 | 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 | ||||
* | avoid undefined shift of LUA_NBITS in rotate operation | Roberto Ierusalimschy | 2013-07-09 | 1 | -2/+3 |
| | |||||
* | no need for type 'b_uint' (lua_Unsigned must have at least 32 bits) | Roberto Ierusalimschy | 2013-07-09 | 1 | -20/+17 |
| | |||||
* | When loading a file, Lua may call the reader function again after | Roberto Ierusalimschy | 2013-07-05 | 1 | -2/+78 |
| | | | | it returned end of input + luac listings choke on long strings | ||||
* | 'tonumber': base must be a number | Roberto Ierusalimschy | 2013-07-05 | 1 | -2/+2 |
| | |||||
* | 'tonumber': does not accept numbers when given a base + convertion from | Roberto Ierusalimschy | 2013-07-05 | 1 | -26/+43 |
| | | | | | strings to numbers with a base moved to a separated function (more modular) | ||||
* | 'lua_cvtonum' -> 'lua_strtonum'; converts only strings to numbers | Roberto Ierusalimschy | 2013-07-05 | 2 | -21/+14 |
| | |||||
* | new function 'ifloor' | Roberto Ierusalimschy | 2013-07-03 | 1 | -1/+14 |
| | |||||
* | no need to check "bad conversion number->int;" in luaL_checkversion, | Roberto Ierusalimschy | 2013-06-27 | 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 | ||||
* | 'numbits' moved from 'math' to 'debug' library | Roberto Ierusalimschy | 2013-06-25 | 2 | -15/+15 |
| | |||||
* | LUA_SMALL_* changed to LUA_*SIZE + added support for long double + better | Roberto Ierusalimschy | 2013-06-25 | 1 | -24/+40 |
| | | | | support for ANSI systems | ||||
* | macro 'lua_strx2number' does not need to be global | Roberto Ierusalimschy | 2013-06-25 | 1 | -1/+13 |
| | |||||
* | avoid using raw representation of numbers for hashing, as number may | Roberto Ierusalimschy | 2013-06-25 | 1 | -15/+25 |
| | | | | | not use all its space (e.g., long double can have sizeof=12 but use only 10 bytes) | ||||
* | 'luaL_len' returns lua_Integer instead of 'int' | Roberto Ierusalimschy | 2013-06-25 | 2 | -7/+7 |
| | |||||
* | avoid using 'modf' in the implementation of 'math.modf', to avoid | Roberto Ierusalimschy | 2013-06-25 | 1 | -10/+12 |
| | | | | | problems with 'double*'. (When using 'float' as lua_Number, 'float*' is not compatible with 'double*'...) | ||||
* | 'long' may have more than 32 bits in some machines; use 'int' for | Roberto Ierusalimschy | 2013-06-21 | 1 | -5/+12 |
| | | | | small lua_Integer unless necessary to use 'long' | ||||
* | small bugs uncovered in a 64-bit machine (where 'long' has 64 bits) | Roberto Ierusalimschy | 2013-06-21 | 1 | -3/+3 |
| | |||||
* | try to avoid warnings when converting int to pointer | Roberto Ierusalimschy | 2013-06-20 | 1 | -2/+3 |
| | |||||
* | reorganization of warnings + update of explicit dependencies (gcc -MM) | Roberto Ierusalimschy | 2013-06-20 | 1 | -7/+10 |
| | |||||
* | In the table that hashes constants, use a light userdata as keys | Roberto Ierusalimschy | 2013-06-20 | 1 | -9/+9 |
| | | | | | to integer values to avoid collisions with floats with the same numerical value | ||||
* | avoid warning for unary minus over an unsigned value | Roberto Ierusalimschy | 2013-06-20 | 1 | -2/+2 |
| | |||||
* | added "reasonable" limit for 'string.rep' (otherwise it is too easy | Roberto Ierusalimschy | 2013-06-20 | 1 | -3/+8 |
| | | | | to crash the machine) | ||||
* | new macro 'l_floor' (allows 'floorf' even when other math operations | Roberto Ierusalimschy | 2013-06-20 | 4 | -9/+10 |
| | | | | do not have an 'f' variant) | ||||
* | use lua_Integer for integer parameters to avoid truncation | Roberto Ierusalimschy | 2013-06-19 | 1 | -15/+15 |
| | |||||
* | new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible | Roberto Ierusalimschy | 2013-06-19 | 4 | -8/+14 |
| | | | | from Lua; these must fit in a lua_Integer | ||||
* | detail (removed 'assert') | Roberto Ierusalimschy | 2013-06-14 | 1 | -4/+2 |
| | |||||
* | correct error message for floating-point values out of (integer) range | Roberto Ierusalimschy | 2013-06-14 | 1 | -4/+15 |
| | |||||
* | correct way (I hope) to convert floats to unsigned int | Roberto Ierusalimschy | 2013-06-14 | 1 | -4/+8 |
| | |||||
* | avoid using a negative value to test 'lua_tounsigned' | Roberto Ierusalimschy | 2013-06-14 | 1 | -4/+5 |
| | |||||
* | configuration of number sizes goes "mainstream" | Roberto Ierusalimschy | 2013-06-13 | 1 | -69/+71 |
| | |||||
* | 'math.random' operates with integers when used for integer results | Roberto Ierusalimschy | 2013-06-13 | 1 | -9/+11 |
| | | | | (1 or 2 parameters) |