Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 'moveresults' and 'luaD_poscall' moved up in the file | Roberto Ierusalimschy | 2016-12-13 | 1 | -67/+67 |
| | |||||
* | detail (ANSI C does not accept empty arguments to macros) | Roberto Ierusalimschy | 2016-09-20 | 1 | -3/+3 |
| | |||||
* | cleaner and more correct code for 'luaD_shrinkstack' (the old | Roberto Ierusalimschy | 2016-09-08 | 1 | -5/+8 |
| | | | | | test "inuse <= LUAI_MAXSTACK" for stack overflow is not correct, as the real maximum usable size is "LUAI_MAXSTACK - EXTRA_STACK") | ||||
* | comments + removed unused variable | Roberto Ierusalimschy | 2016-09-05 | 1 | -10/+6 |
| | |||||
* | do not eliminate varargs from functions that do not use varargs | Roberto Ierusalimschy | 2016-08-01 | 1 | -4/+4 |
| | | | | (confuses the debug lib and gains very little in performance) | ||||
* | bug: When a coroutine tries to resume a non-suspended coroutine, | Roberto Ierusalimschy | 2016-07-29 | 1 | -16/+19 |
| | | | | | it coud do some mess (and break C assertions) before detecting the error. Now it tests for those errors before anything else. | ||||
* | comments (about hooks vs signals) | Roberto Ierusalimschy | 2015-12-16 | 1 | -2/+7 |
| | |||||
* | details (typos in comments) | Roberto Ierusalimschy | 2015-11-19 | 1 | -3/+3 |
| | |||||
* | trying to optimize a little 'luaD_poscall' | Roberto Ierusalimschy | 2015-11-13 | 1 | -21/+51 |
| | |||||
* | in 'luaD_call', use two functions instead of one with fixed boolean | Roberto Ierusalimschy | 2015-11-02 | 1 | -10/+29 |
| | | | | | argument + stack error handling in 'luaD_call' moved to a separated function | ||||
* | macro 'incr_top' replaced by function 'luaD_inctop'. (It is not used | Roberto Ierusalimschy | 2015-11-02 | 1 | -1/+14 |
| | | | | in critical time pathes, can save a few bytes without the macro) | ||||
* | in 'luaD_precall', in vararg functions, complete missing parameters | Roberto Ierusalimschy | 2015-11-02 | 1 | -15/+13 |
| | | | | | only after moving them to final place (avoids checking the stack again) | ||||
* | using more "conventional" loops in 'luaD_poscall' (probably a little | Roberto Ierusalimschy | 2015-11-02 | 1 | -7/+13 |
| | | | | more efficient?) | ||||
* | function prepares vararg only if it really uses them (chunks | Roberto Ierusalimschy | 2015-10-28 | 1 | -2/+2 |
| | | | | are always declared vararg but seldom uses them) | ||||
* | comments for luaD_precall/luaD_poscall | Roberto Ierusalimschy | 2015-10-28 | 1 | -2/+12 |
| | |||||
* | details (avoid 'case' inside block + avoid using one variable for | Roberto Ierusalimschy | 2015-10-28 | 1 | -5/+5 |
| | | | | two roles) | ||||
* | small changes to allow 'precall' to spend time preserving 'func' | Roberto Ierusalimschy | 2015-10-21 | 1 | -19/+21 |
| | | | | only when needed (that is, when stack actually changes) | ||||
* | long strings are created directly in final position when possible | Roberto Ierusalimschy | 2015-09-08 | 1 | -2/+2 |
| | | | | | (instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there) | ||||
* | details (use original type when saving variable's value) | Roberto Ierusalimschy | 2015-06-18 | 1 | -2/+2 |
| | |||||
* | bug: interpreter cannot pop activation frame before calling return | Roberto Ierusalimschy | 2015-05-22 | 1 | -9/+9 |
| | | | | | hook (as it may want to access local variables active by the end of the function) | ||||
* | calls to 'luaC_checkGC' in luaD_precall moved near to 'luaD_checkstack' | Roberto Ierusalimschy | 2015-03-30 | 1 | -4/+4 |
| | | | | (which is what can need memory) | ||||
* | macro 'luai_apicheck'/'api_check' back with a 'lua_State' parameter | Roberto Ierusalimschy | 2015-03-06 | 1 | -2/+2 |
| | | | | (some people use it) | ||||
* | no need to ensure any stack space for panic function + some changes | Roberto Ierusalimschy | 2014-11-11 | 1 | -16/+12 |
| | | | | in 'tryfuncTM' (small simplification) | ||||
* | bug: memory error in panic mode does not push error message on | Roberto Ierusalimschy | 2014-11-10 | 1 | -2/+14 |
| | | | | the stack + stack check in tryfuncTM + comments | ||||
* | comments (references to "ANSI C" changed to "ISO C", which is the | Roberto Ierusalimschy | 2014-11-02 | 1 | -2/+2 |
| | | | | international name | ||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 |
| | | | | any other header file | ||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -4/+4 |
| | |||||
* | macros 'LUA_QL'/'LUA_QL' deprecated | Roberto Ierusalimschy | 2014-10-17 | 1 | -2/+2 |
| | |||||
* | detail ('G(L)' -> 'g') | Roberto Ierusalimschy | 2014-10-08 | 1 | -6/+7 |
| | |||||
* | 'lua_Kcontext' -> 'lua_KContext' | Roberto Ierusalimschy | 2014-10-07 | 1 | -2/+2 |
| | |||||
* | 'lua_Ctx' -> 'lua_Kcontext' | Roberto Ierusalimschy | 2014-08-01 | 1 | -2/+2 |
| | |||||
* | new type 'lua_Ctx' for continuation-function contexts (to allow type | Roberto Ierusalimschy | 2014-07-17 | 1 | -2/+3 |
| | | | | to be configurable) | ||||
* | removed unused parameter Ä'L' in macro 'api_check' and company | Roberto Ierusalimschy | 2014-07-15 | 1 | -2/+2 |
| | |||||
* | detail (typos in comments) | Roberto Ierusalimschy | 2014-06-30 | 1 | -2/+2 |
| | |||||
* | 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 | -2/+2 |
| | |||||
* | janitor work on 'lua_resume' and related code | Roberto Ierusalimschy | 2014-06-11 | 1 | -28/+32 |
| | |||||
* | bit-field CIST_YIELDED removed (it was never consulted) | Roberto Ierusalimschy | 2014-06-10 | 1 | -4/+3 |
| | |||||
* | no need for field 'status' in structure 'CallInfo' (after removal | Roberto Ierusalimschy | 2014-06-10 | 1 | -20/+21 |
| | | | | | 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 | -4/+4 |
| | |||||
* | added comments | Roberto Ierusalimschy | 2014-06-09 | 1 | -6/+19 |
| | |||||
* | new function 'lua_isyieldable' (and 'coroutine.isyieldable') | Roberto Ierusalimschy | 2014-05-08 | 1 | -1/+6 |
| | |||||
* | details (typos in comments) | Roberto Ierusalimschy | 2014-03-21 | 1 | -2/+2 |
| | |||||
* | more uniformity for defining system-dependent features | Roberto Ierusalimschy | 2014-02-26 | 1 | -9/+12 |
| | |||||
* | field 'op' renamed to 'open' | Roberto Ierusalimschy | 2014-02-15 | 1 | -2/+2 |
| | |||||
* | bug: attempting to resume the running coroutine makes it unyieldable | Roberto Ierusalimschy | 2013-11-08 | 1 | -2/+3 |
| | |||||
* | CallInfo lists shrinks together with their associated stacks | Roberto Ierusalimschy | 2013-09-17 | 1 | -2/+6 |
| | |||||
* | upvalues collected by reference count | Roberto Ierusalimschy | 2013-08-27 | 1 | -10/+5 |
| | |||||
* | BUG: stack overflow in vararg functions with many fixed | Roberto Ierusalimschy | 2013-04-19 | 1 | -4/+11 |
| | | | | parameters called with few arguments | ||||
* | BUG: 'pcall' may not restore previous error function when | Roberto Ierusalimschy | 2012-10-01 | 1 | -2/+6 |
| | | | | inside coroutines |