Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed bug in 'lua_upvaluejoin' | Roberto Ierusalimschy | 2019-03-27 | 1 | -6/+6 |
| | | | | | Bug-fix: joining an upvalue with itself could cause a use-after-free crash. | ||||
* | Lua 5.3.5 ported to gitv5.3.5 | Roberto Ierusalimschy | 2018-12-17 | 1 | -3/+4 |
| | | | | | | | 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. | ||||
* | 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 |
| | |||||
* | detail (typos in comments) | Roberto Ierusalimschy | 2014-06-30 | 1 | -2/+2 |
| | |||||
* | detail (comment) | Roberto Ierusalimschy | 2014-06-26 | 1 | -2/+2 |
| | |||||
* | unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.) | Roberto Ierusalimschy | 2014-06-26 | 1 | -48/+1 |
| | | | | deprecated | ||||
* | LUA_MAXUNSIGNED was only used to define 2.0^intnumbits (and that | Roberto Ierusalimschy | 2014-06-24 | 1 | -2/+7 |
| | | | | | | definition was not strictly portable), so it was removed and replaced by a more correct and direct definition for 2.0^intnumbits (only where it was needed) | ||||
* | more precision between closure types ('LClosure' x 'CClosure') | Roberto Ierusalimschy | 2014-06-19 | 1 | -4/+4 |
| | |||||
* | cleaner way to handle bit CIST_OAH (with auxiliar macros) | Roberto Ierusalimschy | 2014-06-12 | 1 | -5/+2 |
| | |||||
* | must also reset CIST_OAH if necessary (CallInfo is not a fresh one) | Roberto Ierusalimschy | 2014-06-10 | 1 | -5/+6 |
| | |||||
* | no need for field 'status' in structure 'CallInfo' (after removal | Roberto Ierusalimschy | 2014-06-10 | 1 | -2/+3 |
| | | | | | 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 | -12/+3 |
| | |||||
* | removed macro 'luai_checknum' (as NaN trick is not doable now) | Roberto Ierusalimschy | 2014-05-15 | 1 | -3/+1 |
| | |||||
* | avoid non-conformant pointer arithmetic in api check for 'lua_rotate' | Roberto Ierusalimschy | 2014-05-15 | 1 | -3/+3 |
| | |||||
* | function 'reverse' uses appropriate variants of 'setobj' for better | Roberto Ierusalimschy | 2014-05-14 | 1 | -3/+3 |
| | | | | documentation |