Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | no more nil-in-table | Roberto Ierusalimschy | 2018-04-04 | 1 | -22/+1 | |
| | ||||||
* | 'lua_setiuservalue' removes value from the stack even in case of error | Roberto Ierusalimschy | 2018-02-27 | 1 | -2/+2 | |
| | ||||||
* | metamethods for 'removekey'/'keyin' | Roberto Ierusalimschy | 2018-02-27 | 1 | -11/+8 | |
| | ||||||
* | better names for macros for tags and types. | Roberto Ierusalimschy | 2018-02-26 | 1 | -16/+16 | |
| | | | | | rttype -> rawtt; ttyperaw -> withvariant; ttype -> ttypetag; tnov -> ttype | |||||
* | first (parcial) implementation of 'keyin'/'removekey' | Roberto Ierusalimschy | 2018-02-25 | 1 | -33/+59 | |
| | | | | (still no metamethods, no raw verssions) | |||||
* | first version of empty entries in tables | Roberto Ierusalimschy | 2018-02-23 | 1 | -12/+18 | |
| | | | | (so that, in the future, tables can contain regular nil entries) | |||||
* | userdata can have multiple user values | Roberto Ierusalimschy | 2018-02-20 | 1 | -9/+26 | |
| | ||||||
* | more generic way to handle 'gclist' | Roberto Ierusalimschy | 2018-02-19 | 1 | -4/+4 | |
| | ||||||
* | 'collectgarbage' returns old mode when changing mode | Roberto Ierusalimschy | 2018-02-05 | 1 | -1/+5 | |
| | ||||||
* | warnings in VS (implicit casts from ptrdiff_t to int) | Roberto Ierusalimschy | 2018-01-29 | 1 | -2/+2 | |
| | ||||||
* | janitor work on casts | Roberto Ierusalimschy | 2018-01-28 | 1 | -4/+4 | |
| | ||||||
* | error handler in protected calls must be a function | Roberto Ierusalimschy | 2018-01-10 | 1 | -1/+2 | |
| | ||||||
* | more freedom in handling memory-allocation errors (not all allocations | Roberto Ierusalimschy | 2017-12-08 | 1 | -12/+2 | |
| | | | | | automatically raise an error), which allows fixing a bug when resizing a table. | |||||
* | bug: 'lua_pushcclosure' should not call the GC when 'n' is zero | Roberto Ierusalimschy | 2017-12-06 | 1 | -3/+4 | |
| | ||||||
* | detail (typo in comments) | Roberto Ierusalimschy | 2017-11-23 | 1 | -2/+2 | |
| | ||||||
* | back to 'CallInfo' (no gains with its removal) | Roberto Ierusalimschy | 2017-11-07 | 1 | -42/+39 | |
| | ||||||
* | no more useful fields in CallInfo | Roberto Ierusalimschy | 2017-11-03 | 1 | -9/+9 | |
| | ||||||
* | more fields moved out of 'CallInfo' | Roberto Ierusalimschy | 2017-11-03 | 1 | -20/+25 | |
| | ||||||
* | 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 |