Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | comments + small details | Roberto Ierusalimschy | 2010-01-04 | 1 | -16/+14 |
| | |||||
* | 'unpack' moved to table library (and therefore "renamed" to | Roberto Ierusalimschy | 2009-12-28 | 3 | -21/+33 |
| | | | | 'table.unpack'. | ||||
* | 'lua_cpcall' is deprecated + other small changes in 'pmain' (comments | Roberto Ierusalimschy | 2009-12-22 | 1 | -31/+28 |
| | | | | and reordering to check arguments before running any Lua code) | ||||
* | 'lua_cpcall' is deprecated | Roberto Ierusalimschy | 2009-12-22 | 3 | -6/+14 |
| | |||||
* | no more pseudoindex LUA_GLOBALSINDEX; global table now accessible | Roberto Ierusalimschy | 2009-12-22 | 12 | -53/+63 |
| | | | | through registry | ||||
* | code for error message for 'setn' removed | Roberto Ierusalimschy | 2009-12-18 | 1 | -7/+1 |
| | |||||
* | missing parentheses around 'lua_version' + moving typdef's before | Roberto Ierusalimschy | 2009-12-18 | 1 | -10/+10 |
| | | | | the extra include | ||||
* | 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len' | Roberto Ierusalimschy | 2009-12-17 | 11 | -42/+69 |
| | |||||
* | allocator function receives the tag of object being allocated in 'osize' | Roberto Ierusalimschy | 2009-12-17 | 8 | -52/+59 |
| | | | | when 'ptr' is NULL. | ||||
* | yet more options moved from luaconf.h into internal files | Roberto Ierusalimschy | 2009-12-17 | 3 | -44/+48 |
| | |||||
* | macro name change: LUA_INIT->LUA_INIT_VAR | Roberto Ierusalimschy | 2009-12-17 | 1 | -5/+5 |
| | |||||
* | macro name change: LUA_PATH->LUA_PATH_VAR, LUA_CPATH->LUA_CPATH_VAR, | Roberto Ierusalimschy | 2009-12-17 | 1 | -22/+22 |
| | | | | LUA_PATHSEP->LUA_PATH_SEP, LUA_EXECDIR->LUA_EXEC_DIR | ||||
* | more options moved from luaconf.h into internal files | Roberto Ierusalimschy | 2009-12-17 | 3 | -36/+53 |
| | |||||
* | removed export of function only for coco | Roberto Ierusalimschy | 2009-12-17 | 2 | -9/+6 |
| | |||||
* | several configuration options that do not change often moved out of | Roberto Ierusalimschy | 2009-12-17 | 10 | -267/+215 |
| | | | | luaconf.h and into more internal files | ||||
* | allocator function receives the tag of object being allocated in 'osize' | Roberto Ierusalimschy | 2009-12-16 | 2 | -5/+5 |
| | | | | when 'ptr' is NULL. | ||||
* | base-level C use global table as its environment | Roberto Ierusalimschy | 2009-12-15 | 1 | -13/+12 |
| | |||||
* | detail ('lua_tolstring' instead of lua_objlen) | Roberto Ierusalimschy | 2009-12-15 | 1 | -3/+4 |
| | |||||
* | 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 |
| |