Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | checks garbage collector every time it calls a function (as the | Roberto Ierusalimschy | 2012-08-28 | 1 | -3/+4 | |
| | | | | stack can grow and so allocates more memory) | |||||
* | change in error message | Roberto Ierusalimschy | 2012-06-29 | 1 | -2/+2 | |
| | ||||||
* | bugs in yields inside debug hooks | Roberto Ierusalimschy | 2012-06-08 | 1 | -4/+4 | |
| | ||||||
* | no more 'Proto' objects on the stack. Protos are anchored on outer | Roberto Ierusalimschy | 2012-05-08 | 1 | -10/+9 | |
| | | | | Protos or on a Closure, which must be created before the Proto. | |||||
* | bug: wrong handling of 'nCcalls' in coroutines | Roberto Ierusalimschy | 2012-04-26 | 1 | -5/+4 | |
| | ||||||
* | 'lua_load' has an extra argument 'mode' | Roberto Ierusalimschy | 2011-11-29 | 1 | -6/+23 | |
| | ||||||
* | new type 'l_noret' for function that do not return | Roberto Ierusalimschy | 2011-10-07 | 1 | -3/+3 | |
| | ||||||
* | comment | Roberto Ierusalimschy | 2011-09-12 | 1 | -2/+2 | |
| | ||||||
* | 'nCcalls' should be local to each thread, as each thread may have its | Roberto Ierusalimschy | 2011-08-23 | 1 | -14/+14 | |
| | | | | own C stack (with LuaThreads or something similar) |