Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | do not eliminate varargs from functions that do not use varargs | Roberto Ierusalimschy | 2016-08-01 | 1 | -2/+2 | |
| | | | | (confuses the debug lib and gains very little in performance) | |||||
* | allow 'set' macros to be used when 'L' is not available (as it was | Roberto Ierusalimschy | 2015-11-03 | 1 | -2/+2 | |
| | | | | needed only for assertions) | |||||
* | function prepares vararg only if it really uses them (chunks | Roberto Ierusalimschy | 2015-10-28 | 1 | -2/+2 | |
| | | | | are always declared vararg but seldom uses them) | |||||
* | macros 'getaddrstr' and 'getstr' unified (they do the same thing) | Roberto Ierusalimschy | 2015-09-17 | 1 | -3/+3 | |
| | ||||||
* | detail in macro 'checkliveness' + macro 'setobj2t' defined as an | Roberto Ierusalimschy | 2015-09-08 | 1 | -15/+16 | |
| | | | | expression (to be used in macro 'luaV_fastset') | |||||
* | small janitor work | Roberto Ierusalimschy | 2015-09-08 | 1 | -28/+23 | |
| | ||||||
* | using macros ('rttype' and 'settt_') to access "private" field 'tt_' | Roberto Ierusalimschy | 2015-06-09 | 1 | -3/+3 | |
| | ||||||
* | detail (removed unused macro VARBITS) | Roberto Ierusalimschy | 2015-04-02 | 1 | -3/+1 | |
| | ||||||
* | comments | Roberto Ierusalimschy | 2015-03-14 | 1 | -5/+5 | |
| | ||||||
* | new macros 'chgfltvalue'/'chgivalue' (numerical for loop does | Roberto Ierusalimschy | 2015-03-02 | 1 | -1/+7 | |
| | | | | not need to set the type of its internal variable at each iteration) | |||||
* | size of short strings stored in a single byte, to reduce the size | Roberto Ierusalimschy | 2015-01-16 | 1 | -3/+12 | |
| | | | | of struct 'TString' | |||||
* | 'setkey' -> 'setnodekey' (to avoid conflicts with POSIX)v5.3.0 | Roberto Ierusalimschy | 2015-01-05 | 1 | -2/+2 | |
| | ||||||
* | new macro 'nvalue' (to convert an object to a float when we know | Roberto Ierusalimschy | 2014-12-19 | 1 | -1/+3 | |
| | | | | object is a number) | |||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -7/+7 | |
| | ||||||
* | better to use 'long' to represent UTF-8 code points | Roberto Ierusalimschy | 2014-10-01 | 1 | -2/+2 | |
| | ||||||
* | size for array part of a table ('sizearray') changed from 'int' to | Roberto Ierusalimschy | 2014-09-04 | 1 | -2/+2 | |
| | | | | 'unsigned int', which allows twice as many elements in the array part | |||||
* | new macro 'cvt2str' to better control whether numbers are convertible | Roberto Ierusalimschy | 2014-07-30 | 1 | -1/+2 | |
| | | | | to strings | |||||
* | simpler definition for 'setobj' (trust the compiler for the assignment) | Roberto Ierusalimschy | 2014-07-29 | 1 | -3/+9 | |
| | ||||||
* | type 'Udata' refers directly to structure inside the union (union | Roberto Ierusalimschy | 2014-07-18 | 1 | -16/+29 | |
| | | | | used only for aligning purposes now) | |||||
* | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 2014-07-18 | 1 | -16/+27 | |
| | | | | (union used only for size purposes) | |||||
* | added check for conversion 'obj2gco' (and corrections for small | Roberto Ierusalimschy | 2014-07-18 | 1 | -3/+3 | |
| | | | | problems detected by this check) | |||||
* | no need for field 'gch' anymore | Roberto Ierusalimschy | 2014-07-17 | 1 | -6/+4 | |
| | ||||||
* | change in GCObject: instead of being a union, it is now a structure | Roberto Ierusalimschy | 2014-07-17 | 1 | -7/+9 | |
| | | | | | | | | with the common header of all collectable objects; union is used only for conversions. (Goal is to be able to check that the cast 'obj2gco' can have a check to ensure that object being converted is really a collectable object.). This is the first step in the change. | |||||
* | use proper macros to convert 'GCObject' to other objects + better | Roberto Ierusalimschy | 2014-06-19 | 1 | -24/+23 | |
| | | | | type cheking in 'set*value' macros | |||||
* | detail (to avoid warnings of unused variable) | Roberto Ierusalimschy | 2014-05-29 | 1 | -2/+2 | |
| | ||||||
* | small changes in field order in some structs to reduce padding | Roberto Ierusalimschy | 2014-05-15 | 1 | -12/+12 | |
| | ||||||
* | removed macro 'luai_checknum' (as NaN trick is not doable now) | Roberto Ierusalimschy | 2014-05-15 | 1 | -5/+1 | |
| | ||||||
* | better alignments (for 64-bit arquitectures) for structures 'Table' and | Roberto Ierusalimschy | 2014-05-07 | 1 | -4/+4 | |
| | | | | 'TString' | |||||
* | 'lua_strtonum' (and 'luaO_str2num') now return string size, instead of | Roberto Ierusalimschy | 2014-05-01 | 1 | -2/+2 | |
| | | | | receiving it | |||||
* | 'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' (which converts | Roberto Ierusalimschy | 2014-04-30 | 1 | -3/+2 | |
| | | | | to float or integer according to the string syntax) | |||||
* | 'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue') | Roberto Ierusalimschy | 2014-04-29 | 1 | -2/+2 | |
| | ||||||
* | userdata can have any Lua value as uservalue | Roberto Ierusalimschy | 2014-02-19 | 1 | -2/+14 | |
| | ||||||
* | UTF-8 encoding exported as format '%U' in 'lua_pushfstring' | Roberto Ierusalimschy | 2014-02-06 | 1 | -1/+4 | |
| | ||||||
* | detail ('ttisuserdata' renamed to 'ttisfulluserdata') | Roberto Ierusalimschy | 2013-12-04 | 1 | -3/+3 | |
| | ||||||
* | back to open hashing for the string table (but with a different | Roberto Ierusalimschy | 2013-09-05 | 1 | -2/+3 | |
| | | | | | 'hnext' field, to strings are still collected like all other objects) | |||||
* | upvalues collected by reference count | Roberto Ierusalimschy | 2013-08-27 | 1 | -9/+4 | |
| | ||||||
* | 'next' field for tables changed from pointer to integer (for better | Roberto Ierusalimschy | 2013-08-18 | 1 | -2/+2 | |
| | | | | alignment on 64-bit machines) | |||||
* | double-linked list of all upvalues elliminated and changed to a | Roberto Ierusalimschy | 2013-08-07 | 1 | -8/+2 | |
| | | | | traversal of all non-marked threads | |||||
* | 'luaO_str2int' more generic: accepts white spaces around the numeral | Roberto Ierusalimschy | 2013-05-14 | 1 | -2/+2 | |
| | | | | and handles signal | |||||
* | macro 'nvalue' removed (direct conversion from integer to double, | Roberto Ierusalimschy | 2013-05-06 | 1 | -4/+1 | |
| | | | | without an intermediate variable, can cause "excessive precision" | |||||
* | constant folding and API arithmetic with integers | Roberto Ierusalimschy | 2013-05-02 | 1 | -2/+3 | |
| | ||||||
* | 'luaO_arith' -> 'luaO_numarith' | Roberto Ierusalimschy | 2013-04-29 | 1 | -2/+2 | |
| | ||||||
* | first implementation of literal integers (no constant folding yet) | Roberto Ierusalimschy | 2013-04-16 | 1 | -1/+2 | |
| | ||||||
* | first steps in the support of integers: basic representation + table ↵ | Roberto Ierusalimschy | 2013-04-15 | 1 | -118/+20 | |
| | | | | indexing + basic API ops (tointeger/pushinteger) + equality + a few extra stuff | |||||
* | 'ttypenv' -> 'ttnov' | Roberto Ierusalimschy | 2013-04-12 | 1 | -3/+3 | |
| | ||||||
* | no more macro 'changenvalue' | Roberto Ierusalimschy | 2012-09-11 | 1 | -5/+2 | |
| | ||||||
* | better(?) handling of '#define's for IEEE-related tricks + avoid using | Roberto Ierusalimschy | 2012-05-11 | 1 | -18/+19 | |
| | | | | IEEE trick for 64-bit integer types (lua_Integer on 64-bit machines) | |||||
* | no more 'Proto' objects on the stack. Protos are anchored on outer | Roberto Ierusalimschy | 2012-05-08 | 1 | -6/+1 | |
| | | | | Protos or on a Closure, which must be created before the Proto. | |||||
* | first implementation of long strings | Roberto Ierusalimschy | 2012-01-25 | 1 | -3/+12 | |
| | ||||||
* | field 'reserved' -> 'extra' (may be used for other purposes too) | Roberto Ierusalimschy | 2012-01-23 | 1 | -1/+1 | |
| |