Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lua 5.3.5 ported to gitv5.3.5 | Roberto Ierusalimschy | 2018-12-17 | 1 | -2/+3 |
| | | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2. | ||||
* | detail (removing spaces at end of lines) | Roberto Ierusalimschy | 2016-12-22 | 1 | -2/+2 |
| | |||||
* | using 'lastfree == NULL' to signal that table is using the dummy | Roberto Ierusalimschy | 2016-11-07 | 1 | -2/+2 |
| | | | | node for its hash part + new macro 'allocsizenode' | ||||
* | new flag in 'CallInfo.callstatus' to tell whether function is running | Roberto Ierusalimschy | 2016-10-19 | 1 | -1/+3 |
| | | | | as a finalizer | ||||
* | do not try to ensure that 'sweepgc' points to a live object | Roberto Ierusalimschy | 2016-03-31 | 1 | -18/+11 |
| | | | | | | when entering sweep phase ('entersweep'); that may be too expensive to be done still inside the atomic step. Walking one single object more often than not will work. | ||||
* | detail (removed fixed argument to function 'callallpendingfinalizers') | Roberto Ierusalimschy | 2015-12-10 | 1 | -4/+4 |
| | |||||
* | added comment and assert about dead keys | Roberto Ierusalimschy | 2015-11-03 | 1 | -3/+8 |
| | |||||
* | in 'luaD_call', use two functions instead of one with fixed boolean | Roberto Ierusalimschy | 2015-11-02 | 1 | -2/+2 |
| | | | | argument | ||||
* | now that we have a counter for CallInfos, use it for a more | Roberto Ierusalimschy | 2015-11-02 | 1 | -2/+3 |
| | | | | accurate value for the memory used by a thread | ||||
* | long strings are created directly in final position when possible | Roberto Ierusalimschy | 2015-09-08 | 1 | -3/+2 |
| | | | | | (instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there) | ||||
* | avoid overflows (detected with 'clang -ftrapv') | Roberto Ierusalimschy | 2015-07-13 | 1 | -4/+7 |
| | |||||
* | 'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (which | Roberto Ierusalimschy | 2015-03-25 | 1 | -15/+2 |
| | | | | keeps all code related to this cache) | ||||
* | avoid testing for NULL when marking objects that cannot be NULL | Roberto Ierusalimschy | 2015-03-04 | 1 | -11/+21 |
| | |||||
* | new cache for interning strings | Roberto Ierusalimschy | 2015-03-04 | 1 | -1/+15 |
| | |||||
* | size of short strings stored in a single byte, to reduce the size | Roberto Ierusalimschy | 2015-01-16 | 1 | -5/+10 |
| | | | | of struct 'TString' | ||||
* | comments were wrong (not updated about several changes) | Roberto Ierusalimschy | 2014-12-20 | 1 | -6/+6 |
| | |||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -3/+6 |
| | | | | any other header file | ||||
* | comments (a few extra quotes around identifiers) | Roberto Ierusalimschy | 2014-10-30 | 1 | -4/+4 |
| | |||||
* | added comment and assert about an (impossible) division by zero | Roberto Ierusalimschy | 2014-10-29 | 1 | -3/+6 |
| | |||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -4/+4 |
| | |||||
* | details (comments) | Roberto Ierusalimschy | 2014-10-03 | 1 | -4/+4 |
| | |||||
* | size for array part of a table ('sizearray') changed from 'int' to | Roberto Ierusalimschy | 2014-09-04 | 1 | -4/+4 |
| | | | | 'unsigned int', which allows twice as many elements in the array part | ||||
* | weak tables that must be retraversed are kept in 'grayagain' list | Roberto Ierusalimschy | 2014-09-03 | 1 | -42/+38 |
| | | | | | until atomic phase (instead of going to their special lists) + more comments | ||||
* | 'linktable' -> 'linkgclist' (and used for all links with 'gclist') | Roberto Ierusalimschy | 2014-09-01 | 1 | -22/+16 |
| | |||||
* | simpler definition for 'setobj' (trust the compiler for the assignment) | Roberto Ierusalimschy | 2014-07-29 | 1 | -2/+2 |
| | |||||
* | 'iswhite' and related macros now can work directly on any object | Roberto Ierusalimschy | 2014-07-19 | 1 | -8/+8 |
| | | | | (no need to convert to 'GCObject') | ||||
* | put the restriction that 'luaC_barrierback' works only on tables | Roberto Ierusalimschy | 2014-07-19 | 1 | -9/+7 |
| | | | | in its prototype | ||||
* | removed useless assertion (gcstate != GCSpause already implied by | Roberto Ierusalimschy | 2014-07-19 | 1 | -4/+4 |
| | | | | | other assertions) and wrong assertion (setmetatable uses this barrier for tables too) | ||||
* | type 'Udata' refers directly to structure inside the union (union | Roberto Ierusalimschy | 2014-07-18 | 1 | -2/+2 |
| | | | | used only for aligning purposes now) | ||||
* | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 2014-07-18 | 1 | -8/+5 |
| | | | | (union used only for size purposes) | ||||
* | added check for conversion 'obj2gco' (and corrections for small | Roberto Ierusalimschy | 2014-07-18 | 1 | -5/+8 |
| | | | | problems detected by this check) | ||||
* | no need for field 'gch' anymore | Roberto Ierusalimschy | 2014-07-17 | 1 | -32/+32 |
| | |||||
* | detail (typos in comments) | Roberto Ierusalimschy | 2014-06-30 | 1 | -2/+2 |
| | |||||
* | simpler handling of 'GCScallfin' state + more comments | Roberto Ierusalimschy | 2014-05-25 | 1 | -57/+47 |
| | |||||
* | 'GCmemtrav' does not need to track the entire collection, only each | Roberto Ierusalimschy | 2014-04-04 | 1 | -8/+8 |
| | | | | single step individually | ||||
* | LUAI_FUNC is being used only in header files | Roberto Ierusalimschy | 2014-04-02 | 1 | -2/+2 |
| | |||||
* | more precise estimation (GCestimate) for total bytes in use after | Roberto Ierusalimschy | 2014-04-01 | 1 | -14/+18 |
| | | | | a GC cycle | ||||
* | details (typos in comments) | Roberto Ierusalimschy | 2014-03-21 | 1 | -2/+2 |
| | |||||
* | userdata can have any Lua value as uservalue | Roberto Ierusalimschy | 2014-02-19 | 1 | -4/+7 |
| | |||||
* | no need to keep threads in a different GC list, now that there is the | Roberto Ierusalimschy | 2014-02-18 | 1 | -5/+1 |
| | | | | 'twups' list | ||||
* | new list 'twups' to allow traversal of upvalues from dead threads | Roberto Ierusalimschy | 2014-02-18 | 1 | -10/+35 |
| | | | | (+ fixed some problems with cycles involving those upvalues) | ||||
* | field 'op' renamed to 'open' | Roberto Ierusalimschy | 2014-02-15 | 1 | -5/+5 |
| | |||||
* | change in the way 'collectgarbage("step", size)' interprets 'size' | Roberto Ierusalimschy | 2014-02-14 | 1 | -15/+7 |
| | | | | | (mimicking the way the GC itself behaves when Lua allocates 'size' Kbytes) | ||||
* | limit to 'gcstepmul' imposed by 'lua_gc' (+ some details in 'lgc.c') | Roberto Ierusalimschy | 2014-02-13 | 1 | -11/+18 |
| | |||||
* | better control for number of finalizers called at each GC cycle | Roberto Ierusalimschy | 2014-02-13 | 1 | -22/+40 |
| | | | | (increases progressively) | ||||
* | no more local collection | Roberto Ierusalimschy | 2014-02-13 | 1 | -157/+27 |
| | |||||
* | detail (better presentation for 'luaC_step') | Roberto Ierusalimschy | 2014-02-11 | 1 | -12/+11 |
| | |||||
* | keep a single list of objects to be finalized (with local and non-local | Roberto Ierusalimschy | 2014-02-11 | 1 | -31/+16 |
| | | | | objects), to ensure finalization order | ||||
* | details | Roberto Ierusalimschy | 2013-12-13 | 1 | -17/+13 |
| | |||||
* | use goto to implement a tail call in 'reallymarkobject' | Roberto Ierusalimschy | 2013-12-13 | 1 | -4/+9 |
| |