Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | correct error message when yielding from outside a coroutine | Roberto Ierusalimschy | 2010-01-13 | 1 | -3/+7 | |
| | ||||||
* | no more pseudoindex LUA_GLOBALSINDEX; global table now accessible | Roberto Ierusalimschy | 2009-12-22 | 1 | -2/+2 | |
| | | | | through registry | |||||
* | removed export of function only for coco | Roberto Ierusalimschy | 2009-12-17 | 1 | -5/+5 | |
| | ||||||
* | several configuration options that do not change often moved out of | Roberto Ierusalimschy | 2009-12-17 | 1 | -1/+33 | |
| | | | | luaconf.h and into more internal files | |||||
* | reordering of some functions + cleaner way to code lua_resume/resume + | Roberto Ierusalimschy | 2009-12-10 | 1 | -55/+55 | |
| | | | | | small bug in lua_resume (in case of calling errors lua_resume should remove only new arguments from the stack and push error message). | |||||
* | error messages from 'lua_resume' must be generated in protected mode, | Roberto Ierusalimschy | 2009-12-08 | 1 | -36/+43 | |
| | | | | to avoid raising memory errors | |||||
* | extra api checks for number of returns of C functions and for lua_yield | Roberto Ierusalimschy | 2009-11-27 | 1 | -1/+5 | |
| | ||||||
* | new scheme for debug info about tail calls: no more 'fake' stack entries, | Roberto Ierusalimschy | 2009-11-25 | 1 | -28/+26 | |
| | | | | but stack entry knows whether it was tail called | |||||
* | ensure that reader function cannot yield during parsing | Roberto Ierusalimschy | 2009-11-17 | 1 | -1/+3 | |
| | ||||||
* | parser/scanner keep GC running | Roberto Ierusalimschy | 2009-11-17 | 1 | -2/+1 | |
| | ||||||
* | no more one environment per thread: all threads share a single global | Roberto Ierusalimschy | 2009-10-23 | 1 | -2/+2 | |
| | | | | environment | |||||
* | parser keeps list of active local variables in a single dynamic array, | Roberto Ierusalimschy | 2009-10-11 | 1 | -3/+7 | |
| | | | | therefore saving C stack space | |||||
* | information about upvalues (where they come from) kept in Proto structure, | Roberto Ierusalimschy | 2009-09-28 | 1 | -3/+3 | |
| | | | | instead of sequence of pseudo-opcodes after OP_CLOSURE | |||||
* | first implementation of 'lua_yieldk' (yield with continuation) | Roberto Ierusalimschy | 2009-09-14 | 1 | -5/+23 | |
| | ||||||
* | new way to control stack overflow, controling only total size of the stack | Roberto Ierusalimschy | 2009-07-15 | 1 | -18/+50 | |
| | ||||||
* | no more L->base + ci->base only for Lua functions (C functions may use | Roberto Ierusalimschy | 2009-06-01 | 1 | -16/+11 | |
| | | | | 'func') | |||||
* | errors in finalizers are propagated with code LUA_ERRGCMM (ERRor in | Roberto Ierusalimschy | 2009-05-21 | 1 | -1/+2 | |
| | | | | __gc MetaMethod) | |||||
* | new way to GC stacks: the entire stack must be correct all the times; | Roberto Ierusalimschy | 2009-04-28 | 1 | -12/+14 | |
| | | | | | the 'dead' part of a stack (after the top) must have only nil's, so that 'top' may go up without cleaning the stack. | |||||
* | 'exit' changed to 'abort' in case of panic (+ some extra comments) | Roberto Ierusalimschy | 2009-04-26 | 1 | -9/+9 | |
| | | | | 'abort' seems more in line with panic ("abnormal termination") | |||||
* | several small improvements based on 'ci' being fixed now (including | Roberto Ierusalimschy | 2009-04-17 | 1 | -27/+25 | |
| | | | | erasing savedpc from lua_State) | |||||
* | 'CallInfo' stack implemented as double-linked list instead of an array | Roberto Ierusalimschy | 2009-04-17 | 1 | -48/+21 | |
| | ||||||
* | 'nresults' is saved in CallInfo from the caller, not the called | Roberto Ierusalimschy | 2009-04-15 | 1 | -5/+4 | |
| | ||||||
* | first implementation of yieldable 'pcall' | Roberto Ierusalimschy | 2009-04-08 | 1 | -12/+53 | |
| | ||||||
* | no more support for old-style varargs | Roberto Ierusalimschy | 2009-03-26 | 1 | -21/+1 | |
| | ||||||
* | 'context' added to suspendable calls | Roberto Ierusalimschy | 2009-03-23 | 1 | -4/+3 | |
| | ||||||
* | yielding across lua_call (first version) | Roberto Ierusalimschy | 2009-03-10 | 1 | -62/+41 | |
| | ||||||
* | initial separation, in CallInfo, of what is relevant only to Lua | Roberto Ierusalimschy | 2009-03-04 | 1 | -4/+4 | |
| | | | | functions or only to C functions | |||||
* | if thread has no error handling, try main thread handler before panicking | Roberto Ierusalimschy | 2009-03-03 | 1 | -7/+13 | |
| | ||||||
* | panic mode does not reset stack (so that panic function can gather | Roberto Ierusalimschy | 2009-02-18 | 1 | -14/+1 | |
| | | | | debug information from it) | |||||
* | concat TM can yield | Roberto Ierusalimschy | 2008-11-06 | 1 | -11/+21 | |
| | ||||||
* | generic for coded as two dedicated instructions to simplify resumption | Roberto Ierusalimschy | 2008-10-30 | 1 | -11/+7 | |
| | ||||||
* | yields accross metamethods and for iterators (except for __concat) | Roberto Ierusalimschy | 2008-10-28 | 1 | -10/+59 | |
| | ||||||
* | better control of call status through CallInfo | Roberto Ierusalimschy | 2008-08-26 | 1 | -9/+10 | |
| | ||||||
* | first steps towards yielding through longjump | Roberto Ierusalimschy | 2008-08-13 | 1 | -14/+19 | |
| | ||||||
* | avoid calling "tail return" hooks if the hook itself turns off the event | Roberto Ierusalimschy | 2008-01-18 | 1 | -2/+2 | |
| | ||||||
* | no more optimization to avoid LOADNIL at function start | Roberto Ierusalimschy | 2007-03-27 | 1 | -5/+2 | |
| | ||||||
* | new constant LUA_OK | Roberto Ierusalimschy | 2006-10-10 | 1 | -7/+7 | |
| | ||||||
* | avoid local "pc" in interpreter loop (tricky optimization with no real gain) | Roberto Ierusalimschy | 2006-09-19 | 1 | -3/+6 | |
| | ||||||
* | avoid trailing white spaces | Roberto Ierusalimschy | 2006-09-11 | 1 | -2/+2 | |
| | ||||||
* | avoid "too complex" conditional expression (some compilers get confused...) | Roberto Ierusalimschy | 2006-09-11 | 1 | -3/+3 | |
| | ||||||
* | BUG: there is only one C stack, so nCcalls must be global | Roberto Ierusalimschy | 2006-08-15 | 1 | -11/+19 | |
| | ||||||
* | emergency garbage collector (core forces a GC when allocation fails) | Roberto Ierusalimschy | 2006-07-11 | 1 | -9/+12 | |
| | ||||||
* | BUG: debug hooks may get wrong when mixed with coroutines | Roberto Ierusalimschy | 2006-06-05 | 1 | -3/+4 | |
| | ||||||
* | small changes in casts | Roberto Ierusalimschy | 2005-12-22 | 1 | -9/+8 | |
| | ||||||
* | small bug | Roberto Ierusalimschy | 2005-10-23 | 1 | -2/+5 | |
| | ||||||
* | small bug when debugging dead threads | Roberto Ierusalimschy | 2005-10-14 | 1 | -1/+2 | |
| | ||||||
* | detail | Roberto Ierusalimschy | 2005-10-06 | 1 | -6/+4 | |
| | ||||||
* | detail | Roberto Ierusalimschy | 2005-09-09 | 1 | -2/+2 | |
| | ||||||
* | some bugs related to stack reallocation | Roberto Ierusalimschy | 2005-08-24 | 1 | -18/+14 | |
| | ||||||
* | small changes to facilitate external C coroutines | Roberto Ierusalimschy | 2005-08-22 | 1 | -7/+7 | |
| |