Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lua 5.3.5 ported to gitv5.3.5 | Roberto Ierusalimschy | 2018-12-17 | 1 | -1/+19 |
| | | | | | | | 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 | -4/+4 |
| | |||||
* | new flag in 'CallInfo.callstatus' to tell whether function is running | Roberto Ierusalimschy | 2016-10-19 | 1 | -1/+2 |
| | | | | as a finalizer | ||||
* | allow more bits in 'callstatus' (use no extra space due to alignments) | Roberto Ierusalimschy | 2016-06-16 | 1 | -2/+2 |
| | |||||
* | make 'hook' volatile (as it may be changed in signal handling) | Roberto Ierusalimschy | 2015-12-16 | 1 | -2/+2 |
| | |||||
* | using 'sig_atomic_t' for 'hookmask' (as it can be changed inside | Roberto Ierusalimschy | 2015-12-14 | 1 | -2/+11 |
| | | | | a signal) | ||||
* | removed field 'n' from 'CallInfo' (not being used right now) | Roberto Ierusalimschy | 2015-11-13 | 1 | -2/+1 |
| | |||||
* | added counters for total and individual CallInfo entries (to allow | Roberto Ierusalimschy | 2015-11-02 | 1 | -1/+3 |
| | | | | better syncronization between CallInfo size and stack size) | ||||
* | flag CIST_REENTRY changed to CIST_FRESH (its negation); fresh invocations | Roberto Ierusalimschy | 2015-11-02 | 1 | -3/+3 |
| | | | | | seem to be less frequent than reentries. (So, avoid setting flag on the frequent case.) | ||||
* | code for string cache generalized for "associative sets" (compiler | Roberto Ierusalimschy | 2015-09-22 | 1 | -2/+2 |
| | | | | will optimize away or inline the extra loops) | ||||
* | long strings are created directly in final position when possible | Roberto Ierusalimschy | 2015-09-08 | 1 | -2/+1 |
| | | | | | (instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there) | ||||
* | because of debt, 'totalbytes' can be negative (and therefore its | Roberto Ierusalimschy | 2015-07-04 | 1 | -3/+3 |
| | | | | type must be signed) | ||||
* | 'strcache' elements as arrays of 1 element hints that cache can | Roberto Ierusalimschy | 2015-06-01 | 1 | -2/+2 |
| | | | | be n-way (instead of direct mapped) | ||||
* | Bug: suspended '__le' metamethod can give wrong result | Roberto Ierusalimschy | 2015-04-10 | 1 | -1/+2 |
| | |||||
* | new cache for interning strings | Roberto Ierusalimschy | 2015-03-04 | 1 | -1/+2 |
| | |||||
* | comments (a few extra quotes around identifiers) | Roberto Ierusalimschy | 2014-10-30 | 1 | -5/+5 |
| | |||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -5/+5 |
| | |||||
* | 'lua_Kcontext' -> 'lua_KContext' | Roberto Ierusalimschy | 2014-10-07 | 1 | -2/+2 |
| | |||||
* | comments | Roberto Ierusalimschy | 2014-10-06 | 1 | -2/+8 |
| | |||||
* | 'lua_Ctx' -> 'lua_Kcontext' | Roberto Ierusalimschy | 2014-08-01 | 1 | -2/+2 |
| | |||||
* | better(?) alignment for some structures (pointers first) | Roberto Ierusalimschy | 2014-07-23 | 1 | -13/+13 |
| | |||||
* | type 'Udata' refers directly to structure inside the union (union | Roberto Ierusalimschy | 2014-07-18 | 1 | -4/+3 |
| | | | | used only for aligning purposes now) | ||||
* | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 2014-07-18 | 1 | -11/+3 |
| | | | | (union used only for size purposes) | ||||
* | added check for conversion 'obj2gco' (and corrections for small | Roberto Ierusalimschy | 2014-07-18 | 1 | -4/+12 |
| | | | | problems detected by this check) | ||||
* | no need for field 'gch' anymore | Roberto Ierusalimschy | 2014-07-17 | 1 | -17/+9 |
| | |||||
* | change in GCObject: instead of being a union, it is now a structure | Roberto Ierusalimschy | 2014-07-17 | 1 | -12/+21 |
| | | | | | | | | 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. | ||||
* | new type 'lua_Ctx' for continuation-function contexts (to allow type | Roberto Ierusalimschy | 2014-07-17 | 1 | -2/+2 |
| | | | | to be configurable) | ||||
* | cleaner way to handle bit CIST_OAH (with auxiliar macros) | Roberto Ierusalimschy | 2014-06-12 | 1 | -9/+12 |
| | |||||
* | bit-field CIST_YIELDED removed (it was never consulted) | Roberto Ierusalimschy | 2014-06-10 | 1 | -6/+5 |
| | |||||
* | no need for field 'status' in structure 'CallInfo' (after removal | Roberto Ierusalimschy | 2014-06-10 | 1 | -7/+5 |
| | | | | | of 'lua_getctx') + field 'old_allowhook' can be packed into a single bit | ||||
* | new type lua_KFunction + no more 'lua_getctx' | Roberto Ierusalimschy | 2014-06-10 | 1 | -2/+2 |
| | |||||
* | small changes in field order in some structs to reduce padding | Roberto Ierusalimschy | 2014-05-15 | 1 | -2/+2 |
| | |||||
* | no need to keep threads in a different GC list, now that there is the | Roberto Ierusalimschy | 2014-02-18 | 1 | -2/+1 |
| | | | | 'twups' list | ||||
* | new list 'twups' to allow traversal of upvalues from dead threads | Roberto Ierusalimschy | 2014-02-18 | 1 | -1/+3 |
| | | | | (+ fixed some problems with cycles involving those upvalues) | ||||
* | better control for number of finalizers called at each GC cycle | Roberto Ierusalimschy | 2014-02-13 | 1 | -1/+2 |
| | | | | (increases progressively) | ||||
* | no more local collection | Roberto Ierusalimschy | 2014-02-13 | 1 | -6/+2 |
| | |||||
* | keep a single list of objects to be finalized (with local and non-local | Roberto Ierusalimschy | 2014-02-11 | 1 | -4/+2 |
| | | | | objects), to ensure finalization order | ||||
* | CallInfo lists shrinks together with their associated stacks | Roberto Ierusalimschy | 2013-09-17 | 1 | -1/+2 |
| | |||||
* | GC local pause configurable | Roberto Ierusalimschy | 2013-09-13 | 1 | -1/+2 |
| | |||||
* | threads are kept in a separated GC list, linked after the main thread | Roberto Ierusalimschy | 2013-09-11 | 1 | -13/+12 |
| | |||||
* | back to open hashing for the string table (but with a different | Roberto Ierusalimschy | 2013-09-05 | 1 | -2/+1 |
| | | | | | 'hnext' field, to strings are still collected like all other objects) | ||||
* | local collection now calls finalizers | Roberto Ierusalimschy | 2013-09-03 | 1 | -2/+3 |
| | |||||
* | new GC state to sweep 'localgc' list + small changes in sweep control | Roberto Ierusalimschy | 2013-08-30 | 1 | -3/+2 |
| | |||||
* | upvalues collected by reference count | Roberto Ierusalimschy | 2013-08-27 | 1 | -12/+2 |
| | |||||
* | Lua closures go to local, too | Roberto Ierusalimschy | 2013-08-26 | 1 | -1/+2 |
| | |||||
* | C functions and strings now go to the local list; first version | Roberto Ierusalimschy | 2013-08-23 | 1 | -1/+3 |
| | | | | of the local collector | ||||
* | some details over new implementation of string table | Roberto Ierusalimschy | 2013-08-22 | 1 | -4/+4 |
| | |||||
* | "fixed" objects kept in a separated list (instead of being kept in | Roberto Ierusalimschy | 2013-08-21 | 1 | -1/+5 |
| | | | | '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 | 1 | -7/+5 |
| | | | | strings live in 'normal' GC lists | ||||
* | GC bits SEPARATED and FINALIZEDBIT mixed in FINALIZEDBIT (with simpler | Roberto Ierusalimschy | 2013-08-20 | 1 | -4/+4 |
| | | | | control) |