Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | new API for 'lua_resume' + cleaning the uses of the 'extra' field in | Roberto Ierusalimschy | 2017-11-02 | 1 | -4/+3 | |
| | | | | 'CallInfo' | |||||
* | using 'L->func' when possible | Roberto Ierusalimschy | 2017-11-01 | 1 | -13/+12 | |
| | ||||||
* | some cleaning in GC parameters | Roberto Ierusalimschy | 2017-10-11 | 1 | -10/+15 | |
| | ||||||
* | new type 'StackValue' for stack elements | Roberto Ierusalimschy | 2017-06-29 | 1 | -126/+142 | |
| | | | | (we may want to put extra info there in the future) | |||||
* | macro 'luaV_fastget' may need protection ({}) to be used inside | Roberto Ierusalimschy | 2017-06-01 | 1 | -3/+5 | |
| | | | | 'if's | |||||
* | revamping the incremental collector | Roberto Ierusalimschy | 2017-05-26 | 1 | -20/+24 | |
| | | | | | | Some simplifications (not counting bytes, couting only slots visited; no more 'gcfinnum'); more GC parameters; using vararg in 'lua_gc' to set parameters in different GC modes | |||||
* | 'lua_rawlen' returns 'lua_Unsigned' instead of 'size_t'. (Real | Roberto Ierusalimschy | 2017-05-18 | 1 | -2/+2 | |
| | | | | | length of strings and userdata are limited by Lua integers, but table length is hard to compute limiting it to 'size_t'.) | |||||
* | revamp of fast track for table access (table set uses the same | Roberto Ierusalimschy | 2017-05-11 | 1 | -15/+26 | |
| | | | | macros as table get + new macro for integer keys) | |||||
* | 'KGC_NORMAL' -> 'KGC_INC' + emergency GC signalled by flag (instead | Roberto Ierusalimschy | 2017-04-24 | 1 | -2/+2 | |
| | | | | of mode) | |||||
* | macros to define default parameters for generational collection | Roberto Ierusalimschy | 2017-04-20 | 1 | -3/+8 | |
| | ||||||
* | first version of control for the generational collector | Roberto Ierusalimschy | 2017-04-19 | 1 | -1/+5 | |
| | ||||||
* | Upvalues collected like everything else (with mark-sweep) instead | Roberto Ierusalimschy | 2017-04-11 | 1 | -15/+10 | |
| | | | | of reference count (simpler and better for generational mode) | |||||
* | small changes in 'luaC_upvalbarrier' | Roberto Ierusalimschy | 2017-04-06 | 1 | -5/+5 | |
| | ||||||
* | generational collection: new attempt (still incomplete) | Roberto Ierusalimschy | 2017-02-23 | 1 | -1/+9 | |
| | ||||||
* | call 'checkGC' *after* creating new objects (this is how 'execute' | Roberto Ierusalimschy | 2016-02-29 | 1 | -10/+10 | |
| | | | | | | does it) (It increases the changes that 'allgc' start with a non-white object, which helps 'entersweep') | |||||
* | 'luaV_fastget' only treats the real fast case (table with a non-nil | Roberto Ierusalimschy | 2016-01-05 | 1 | -15/+15 | |
| | | | | value at given key, so that it does not need to check metamethods) | |||||
* | in 'luaD_call', use two functions instead of one with fixed boolean | Roberto Ierusalimschy | 2015-11-02 | 1 | -7/+7 | |
| | | | | argument | |||||
* | allow NULL string when length is zero in 'lua_pushlstring' and | Roberto Ierusalimschy | 2015-10-06 | 1 | -5/+5 | |
| | | | | 'luaL_addlstring' | |||||
* | 'setobj2t' incorporated into 'luaV_fastset' + 'invalidateTMcache' | Roberto Ierusalimschy | 2015-09-09 | 1 | -26/+21 | |
| | | | | | | is not needed in the fast track (as it does not create new entries) + small bug in 'auxsetstr' (calling barrier with wrong object) + using 'setobj2t' without side effects in its arguments | |||||
* | added assert for NULL pointer in 'lua_pushlstring' | Roberto Ierusalimschy | 2015-08-25 | 1 | -1/+6 | |
| | ||||||
* | 'invalidateTMcache' not needed in all 'settable' uses | Roberto Ierusalimschy | 2015-08-03 | 1 | -1/+2 | |
| | ||||||
* | fast track for 'settable' | Roberto Ierusalimschy | 2015-08-03 | 1 | -21/+31 | |
| | ||||||
* | implementation of fast track for gettable operations | Roberto Ierusalimschy | 2015-07-20 | 1 | -18/+30 | |
| | ||||||
* | details (use original type when saving variable's value) | Roberto Ierusalimschy | 2015-06-18 | 1 | -2/+2 | |
| | ||||||
* | avoid using API functions inside the core | Roberto Ierusalimschy | 2015-04-06 | 1 | -12/+10 | |
| | ||||||
* | details (avoid 'lint' warnings) | Roberto Ierusalimschy | 2015-03-28 | 1 | -2/+2 | |
| | ||||||
* | macro 'luai_apicheck'/'api_check' back with a 'lua_State' parameter | Roberto Ierusalimschy | 2015-03-06 | 1 | -38/+38 | |
| | | | | (some people use it) | |||||
* | added API checks to some unprotected 'top' increments | Roberto Ierusalimschy | 2015-02-11 | 1 | -7/+12 | |
| | ||||||
* | size of short strings stored in a single byte, to reduce the size | Roberto Ierusalimschy | 2015-01-16 | 1 | -4/+6 | |
| | | | | of struct 'TString' | |||||
* | removed useless initializations | Roberto Ierusalimschy | 2014-12-26 | 1 | -2/+2 | |
| | ||||||
* | details (match parameter names with lua.h and manual) | Roberto Ierusalimschy | 2014-11-12 | 1 | -12/+12 | |
| | ||||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 | |
| | | | | any other header file | |||||
* | 'lua_load' sets _ENV for any chunk with upvalues (not just those | Roberto Ierusalimschy | 2014-10-31 | 1 | -2/+2 | |
| | | | | with exactly one upvalue) | |||||
* | removed useless 'include math.h' | Roberto Ierusalimschy | 2014-10-28 | 1 | -2/+1 | |
| | ||||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -5/+5 | |
| | ||||||
* | 'lua_stringtonum' -> 'lua_stringtonumber' | Roberto Ierusalimschy | 2014-10-17 | 1 | -2/+2 | |
| | ||||||
* | 'lua_strtonum' -> 'lua_stringtonum' | Roberto Ierusalimschy | 2014-10-15 | 1 | -2/+2 | |
| | ||||||
* | 'lua_Kcontext' -> 'lua_KContext' | Roberto Ierusalimschy | 2014-10-07 | 1 | -3/+3 | |
| | ||||||
* | detail | Roberto Ierusalimschy | 2014-08-27 | 1 | -5/+3 | |
| | ||||||
* | new functions 'lua_geti/lua_seti' (non raw) | Roberto Ierusalimschy | 2014-08-21 | 1 | -1/+25 | |
| | ||||||
* | 'lua_Ctx' -> 'lua_Kcontext' | Roberto Ierusalimschy | 2014-08-01 | 1 | -4/+4 | |
| | ||||||
* | new macro 'cvt2str' to better control whether numbers are convertible | Roberto Ierusalimschy | 2014-07-30 | 1 | -6/+6 | |
| | | | | to strings | |||||
* | 'lua_replace' implemented as a macro using 'lua_copy' | Roberto Ierusalimschy | 2014-07-22 | 1 | -21/+10 | |
| | ||||||
* | more precise type for argument to 'aux_upvalue' | Roberto Ierusalimschy | 2014-07-21 | 1 | -4/+4 | |
| | ||||||
* | put the restriction that 'luaC_barrierback' works only on tables | Roberto Ierusalimschy | 2014-07-19 | 1 | -17/+23 | |
| | | | | in its prototype | |||||
* | type 'Udata' refers directly to structure inside the union (union | Roberto Ierusalimschy | 2014-07-18 | 1 | -5/+5 | |
| | | | | used only for aligning purposes now) | |||||
* | added check for conversion 'obj2gco' (and corrections for small | Roberto Ierusalimschy | 2014-07-18 | 1 | -3/+3 | |
| | | | | problems detected by this check) | |||||
* | new type 'lua_Ctx' for continuation-function contexts (to allow type | Roberto Ierusalimschy | 2014-07-17 | 1 | -3/+3 | |
| | | | | to be configurable) | |||||
* | removed unused parameter Ä'L' in macro 'api_check' and company | Roberto Ierusalimschy | 2014-07-15 | 1 | -39/+39 | |
| | ||||||
* | added api check in 'lua_typename' (tag is valid) | Roberto Ierusalimschy | 2014-07-15 | 1 | -2/+3 | |
| |