Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cleaner way to add extra space in a lua state. | Roberto Ierusalimschy | 2009-12-14 | 3 | -19/+29 |
| | |||||
* | better to keep GC state numbers sequential, to optimize switch in | Roberto Ierusalimschy | 2009-12-11 | 3 | -18/+18 |
| | | | | 'singlestep' | ||||
* | new function 'luaC_runtilstate' to advance GC until a "valid" state | Roberto Ierusalimschy | 2009-12-11 | 4 | -21/+35 |
| | |||||
* | avoid using deprecated macros lua_[gs]etglobal | Roberto Ierusalimschy | 2009-12-11 | 4 | -13/+14 |
| | |||||
* | macro 'ngcotouv' is the same as 'gco2uv', so it was removed | Roberto Ierusalimschy | 2009-12-11 | 2 | -5/+4 |
| | |||||
* | detail (comment) | Roberto Ierusalimschy | 2009-12-10 | 1 | -3/+4 |
| | |||||
* | several new features in testC to allow better testing of lua_resume | Roberto Ierusalimschy | 2009-12-10 | 1 | -27/+62 |
| | | | | at the C API level | ||||
* | 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). | ||||
* | detail (lua_resume should empty coroutine stack even if they do not | Roberto Ierusalimschy | 2009-12-10 | 1 | -1/+2 |
| | | | | fit into caller stack) | ||||
* | error messages from 'lua_resume' must be generated in protected mode, | Roberto Ierusalimschy | 2009-12-08 | 1 | -36/+43 |
| | | | | to avoid raising memory errors | ||||
* | lua_checkstack does not raise memory errors (instead it signals them) | Roberto Ierusalimschy | 2009-12-08 | 1 | -5/+17 |
| | |||||
* | new 'table.pack' function | Roberto Ierusalimschy | 2009-12-07 | 1 | -1/+25 |
| | |||||
* | lua_objlen calls __len metamethod on tables (if present) | Roberto Ierusalimschy | 2009-12-07 | 1 | -6/+13 |
| | |||||
* | strings in C scripts may be delimited by quotes + new functionality to | Roberto Ierusalimschy | 2009-12-01 | 1 | -16/+76 |
| | | | | set C scripts as C hooks | ||||
* | details | Roberto Ierusalimschy | 2009-12-01 | 1 | -3/+7 |
| | |||||
* | continuations may be upvalues too | Roberto Ierusalimschy | 2009-11-27 | 1 | -4/+5 |
| | |||||
* | coroutines may have C bodies | Roberto Ierusalimschy | 2009-11-27 | 1 | -3/+2 |
| | |||||
* | extra api checks for number of returns of C functions and for lua_yield | Roberto Ierusalimschy | 2009-11-27 | 3 | -6/+10 |
| | |||||
* | update of file dependencies (gcc -MM) | Roberto Ierusalimschy | 2009-11-27 | 1 | -14/+15 |
| | |||||
* | 'table.maxn' deprecated | Roberto Ierusalimschy | 2009-11-26 | 2 | -6/+16 |
| | |||||
* | no more compatibility code for 'string.gfind' | Roberto Ierusalimschy | 2009-11-26 | 2 | -15/+3 |
| | |||||
* | a few new warnings | Roberto Ierusalimschy | 2009-11-26 | 1 | -0/+7 |
| | |||||
* | detail in 'currentpc' (only needs to work for Lua functions) | Roberto Ierusalimschy | 2009-11-26 | 1 | -8/+4 |
| | |||||
* | comment typos | Roberto Ierusalimschy | 2009-11-26 | 10 | -22/+22 |
| | |||||
* | new scheme for debug info about tail calls: no more 'fake' stack entries, | Roberto Ierusalimschy | 2009-11-25 | 9 | -79/+60 |
| | | | | but stack entry knows whether it was tail called | ||||
* | 'notail' -> 'noextrachars' ('notail' may confuse with tail calls) | Roberto Ierusalimschy | 2009-11-24 | 1 | -5/+5 |
| | |||||
* | new mark LUAMOD_API for all luaopen_* functions | Roberto Ierusalimschy | 2009-11-24 | 11 | -30/+32 |
| | |||||
* | 'os.exit' should close state only when second argument is true | Roberto Ierusalimschy | 2009-11-23 | 1 | -2/+2 |
| | |||||
* | GC may get stuck during a parser and avoids proper resizing of the | Roberto Ierusalimschy | 2009-11-23 | 1 | -2/+27 |
| | | | | string table, making its lists grow too much and degrading performance. | ||||
* | new macros 'LUAI_DDEC'/'LUAI_DDEF' to better control declarations and | Roberto Ierusalimschy | 2009-11-19 | 10 | -27/+31 |
| | | | | definitions of non-static variables | ||||
* | 'luaV_arith' must be marked 'LUAI_FUNC' (as all non-static functions) | Roberto Ierusalimschy | 2009-11-19 | 1 | -3/+3 |
| | |||||
* | new macro 'isdummy' | Roberto Ierusalimschy | 2009-11-19 | 1 | -8/+10 |
| | |||||
* | small corrections for 'luaall.c' | Roberto Ierusalimschy | 2009-11-19 | 1 | -4/+4 |
| | |||||
* | comments | Roberto Ierusalimschy | 2009-11-19 | 1 | -4/+4 |
| | |||||
* | remove declaration of removed function | Roberto Ierusalimschy | 2009-11-19 | 1 | -2/+1 |
| | |||||
* | 'debug.joinupvalue' -> 'debug.upvaluejoin' | Roberto Ierusalimschy | 2009-11-18 | 1 | -3/+3 |
| | |||||
* | (huge) simplification of GC management | Roberto Ierusalimschy | 2009-11-18 | 4 | -110/+50 |
| | |||||
* | 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 | 3 | -13/+16 |
| | |||||
* | when doing hard memory tests, perform a full GC at every possible step | Roberto Ierusalimschy | 2009-11-17 | 2 | -3/+9 |
| | |||||
* | 'module' returns the new module (to be used with lexical environments) | Roberto Ierusalimschy | 2009-11-16 | 1 | -2/+2 |
| | |||||
* | functions 'getfenv' and 'setfenv' are deprecated | Roberto Ierusalimschy | 2009-11-16 | 2 | -4/+23 |
| | |||||
* | new function 'loadin' | Roberto Ierusalimschy | 2009-11-13 | 1 | -23/+61 |
| | |||||
* | renaming: 'lua_upvaladdr' -> 'lua_upvalueid', | Roberto Ierusalimschy | 2009-11-09 | 3 | -14/+14 |
| | | | | 'lua_upvaljoin' -> 'lua_upvaluejoin' | ||||
* | new option 'isrunning' for 'lua_gc' (and 'collectgarbage') | Roberto Ierusalimschy | 2009-11-09 | 3 | -9/+15 |
| | |||||
* | registry and global table may be changed through the API without a | Roberto Ierusalimschy | 2009-11-09 | 2 | -3/+7 |
| | | | | write barrier, so GC should visit them in the atomic phase. | ||||
* | several small changes to simplify changing TValue if needed | Roberto Ierusalimschy | 2009-11-06 | 1 | -19/+17 |
| | |||||
* | macro 'checkvalref' redefined as function (to avoid too long macros) | Roberto Ierusalimschy | 2009-11-06 | 1 | -3/+6 |
| | |||||
* | macro 'gkey' returns a "real" TValue* | Roberto Ierusalimschy | 2009-11-06 | 1 | -2/+2 |
| | |||||
* | new macro 'NILCONSTANT' to initialize nil constants | Roberto Ierusalimschy | 2009-11-06 | 2 | -6/+6 |
| |