Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | better documentation for constructor syntax | Roberto Ierusalimschy | 2009-10-14 | 1 | -26/+34 | |
| | ||||||
* | local function definition does not need to correct debug information | Roberto Ierusalimschy | 2009-10-13 | 1 | -3/+1 | |
| | ||||||
* | two small bugs: 'debug.getinfo' did not consider negative indices as out | Roberto Ierusalimschy | 2009-10-13 | 1 | -8/+10 | |
| | | | | of range + 'debug.[gs]etlocal' crash on tail calls | |||||
* | parser keeps list of active local variables in a single dynamic array, | Roberto Ierusalimschy | 2009-10-11 | 7 | -47/+76 | |
| | | | | therefore saving C stack space | |||||
* | new function lua_copy | Roberto Ierusalimschy | 2009-10-05 | 7 | -29/+45 | |
| | ||||||
* | 'cpcall' must ensure correct environment for called function | Roberto Ierusalimschy | 2009-09-30 | 1 | -2/+5 | |
| | ||||||
* | a few more instructions to testC (func2udata and getfield) | Roberto Ierusalimschy | 2009-09-30 | 1 | -1/+9 | |
| | ||||||
* | first implementation of lexical environments | Roberto Ierusalimschy | 2009-09-30 | 7 | -22/+68 | |
| | ||||||
* | information about upvalues (where they come from) kept in Proto structure, | Roberto Ierusalimschy | 2009-09-28 | 14 | -98/+97 | |
| | | | | instead of sequence of pseudo-opcodes after OP_CLOSURE | |||||
* | some operations may shrink g->totalbytes so g->estimate must be | Roberto Ierusalimschy | 2009-09-28 | 1 | -4/+9 | |
| | | | | more flexible | |||||
* | initialize g->estimate (just in case) | Roberto Ierusalimschy | 2009-09-28 | 1 | -2/+3 | |
| | ||||||
* | handle extended opcodes (with OP_EXTRAARG) when checking metamethod | Roberto Ierusalimschy | 2009-09-28 | 1 | -1/+3 | |
| | | | | calls | |||||
* | function list in luaL_register may be NULL for an empty list | Roberto Ierusalimschy | 2009-09-28 | 1 | -2/+3 | |
| | ||||||
* | limit of constants per function changed to 2^26 using extra arguments | Roberto Ierusalimschy | 2009-09-23 | 5 | -66/+86 | |
| | | | | to opcodes LOADK, GETGLOBAL, and SETGLOBAL | |||||
* | detail (space between function name and its parameter list) | Roberto Ierusalimschy | 2009-09-23 | 1 | -2/+2 | |
| | ||||||
* | 'cpcall' reimplemented as a predefined value in the registry | Roberto Ierusalimschy | 2009-09-21 | 3 | -40/+42 | |
| | ||||||
* | references must start after predefined values in the registry | Roberto Ierusalimschy | 2009-09-18 | 1 | -8/+8 | |
| | ||||||
* | 'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREAD | Roberto Ierusalimschy | 2009-09-17 | 4 | -14/+25 | |
| | ||||||
* | first implementation of 'lua_yieldk' (yield with continuation) | Roberto Ierusalimschy | 2009-09-14 | 3 | -9/+39 | |
| | ||||||
* | extra facilities to testC: comments + commands print, callk and yield + | Roberto Ierusalimschy | 2009-09-09 | 1 | -5/+35 | |
| | | | | Cfunc with extra upvalues | |||||
* | 'debug.[gs]etupvalue' should be able to access C upvalues too | Roberto Ierusalimschy | 2009-09-09 | 1 | -2/+1 | |
| | ||||||
* | "bug": lua_createtable with sizes changed (array <-> record) | Roberto Ierusalimschy | 2009-09-07 | 1 | -2/+2 | |
| | ||||||
* | details + comments | Roberto Ierusalimschy | 2009-09-05 | 1 | -7/+15 | |
| | ||||||
* | "file:write" returns "file" in case of success | Roberto Ierusalimschy | 2009-09-01 | 1 | -4/+7 | |
| | ||||||
* | API checks now have explanatory messages | Roberto Ierusalimschy | 2009-08-31 | 3 | -28/+34 | |
| | ||||||
* | ensures that argument 'mode' to 'io.open' matches "[rwa]%+?b?", to | Roberto Ierusalimschy | 2009-08-28 | 1 | -2/+11 | |
| | | | | avoid passing invalid modes to 'fopen'. | |||||
* | better machinery to test continuations in the C API | Roberto Ierusalimschy | 2009-08-26 | 1 | -1/+24 | |
| | ||||||
* | correct way to check arguments to 'strftime' | Roberto Ierusalimschy | 2009-08-25 | 2 | -23/+41 | |
| | ||||||
* | test for 'fs' being NULL at the end of 'close_func' is useless ('fs' | Roberto Ierusalimschy | 2009-08-10 | 1 | -2/+4 | |
| | | | | | cannot be NULl and the new ls->fs can only be NULL when the token is EOS, in which case anchor_token has no effect). | |||||
* | avoid an unprotected call to 'lua_tostring' which theoretically may | Roberto Ierusalimschy | 2009-08-10 | 1 | -2/+14 | |
| | | | | cause a panicked exit | |||||
* | "stange numbers" (-0 and NaN) also go to the constant table (as | Roberto Ierusalimschy | 2009-08-10 | 1 | -16/+29 | |
| | | | | | strings with their binary representation). Therefore, constant folding may produce these results. | |||||
* | luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers, | Roberto Ierusalimschy | 2009-08-07 | 1 | -9/+9 | |
| | | | | not generic numbers). | |||||
* | luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers, | Roberto Ierusalimschy | 2009-08-07 | 4 | -10/+10 | |
| | | | | not generic numbers) | |||||
* | "But" -> "Bug" (misspelling) | Roberto Ierusalimschy | 2009-08-05 | 1 | -5/+5 | |
| | ||||||
* | 'debug.getfenv' does not check whether it has an argument | Roberto Ierusalimschy | 2009-08-04 | 1 | -2/+21 | |
| | ||||||
* | small bug: debug.getfenv should check whether it has an argument | Roberto Ierusalimschy | 2009-08-04 | 1 | -1/+2 | |
| | ||||||
* | 'collectgarbage"count"' returns a second argument with the count%1024. | Roberto Ierusalimschy | 2009-08-04 | 1 | -2/+3 | |
| | ||||||
* | bug: stack must be cleared until its end (including extra size) + | Roberto Ierusalimschy | 2009-07-16 | 1 | -26/+9 | |
| | | | | control of stack size moved to 'ldo.c' | |||||
* | tail calls do not need to move whole new frame down, only its slice | Roberto Ierusalimschy | 2009-07-15 | 1 | -8/+12 | |
| | | | | up to last parameter (the rest has not been used yet) | |||||
* | new macro 'getproto' | Roberto Ierusalimschy | 2009-07-15 | 3 | -7/+8 | |
| | ||||||
* | detail (comment: 'correspoding' -> 'corresponding') | Roberto Ierusalimschy | 2009-07-15 | 1 | -2/+2 | |
| | ||||||
* | 'index2adr' -> 'index2addr' (correct spelling) | Roberto Ierusalimschy | 2009-07-15 | 1 | -40/+40 | |
| | ||||||
* | avoid using 'UNUSED' (not defined outside the kernel) | Roberto Ierusalimschy | 2009-07-15 | 1 | -5/+5 | |
| | ||||||
* | 'luaL_tolstring' uses 'lua_tolstring' instead of 'lua_tostring' and | Roberto Ierusalimschy | 2009-07-15 | 1 | -5/+2 | |
| | | | | 'lua_objlen' | |||||
* | calls with LUA_MULTRET may leave no free slots in the stack | Roberto Ierusalimschy | 2009-07-15 | 2 | -2/+5 | |
| | ||||||
* | new way to control stack overflow, controling only total size of the stack | Roberto Ierusalimschy | 2009-07-15 | 10 | -78/+100 | |
| | ||||||
* | new definition for 'luaD_checkstack' to avoid possible overflows | Roberto Ierusalimschy | 2009-07-08 | 1 | -4/+3 | |
| | ||||||
* | errors in 'resume' should be all protected | Roberto Ierusalimschy | 2009-07-08 | 1 | -5/+9 | |
| | ||||||
* | smart use of varargs may create functions that return too | Roberto Ierusalimschy | 2009-07-02 | 1 | -2/+22 | |
| | | | | many arguments and overflow the stack of C functions. | |||||
* | BUG: 'luaV_settable' may invalidate a reference to a table and try | Roberto Ierusalimschy | 2009-07-01 | 1 | -5/+46 | |
| | | | | to reuse it. |