Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | '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 |
| | |||||
* | avoid using 'ttype' when there is an explicit test + macro 'checkdeadkey' | Roberto Ierusalimschy | 2009-11-06 | 1 | -5/+7 |
| | | | | to avoid repetitions | ||||
* | avoid using 'ttype' when there is an explicit test | Roberto Ierusalimschy | 2009-11-06 | 1 | -4/+3 |
| | |||||
* | better to enclose macros in 'if' bodies with brackets | Roberto Ierusalimschy | 2009-11-06 | 1 | -2/+3 |
| | |||||
* | better control over accesses to TValue fields | Roberto Ierusalimschy | 2009-11-05 | 4 | -37/+40 |
| | |||||
* | api functions to manipulate upvalues do not need to check their | Roberto Ierusalimschy | 2009-11-05 | 3 | -35/+24 |
| | | | | arguments (the caller must check them before calling) | ||||
* | new functions to identify and join upvalues | Roberto Ierusalimschy | 2009-11-05 | 3 | -3/+84 |
| | |||||
* | comment explaining OP_VARARG was wrong (and corresponding code was not | Roberto Ierusalimschy | 2009-10-28 | 2 | -5/+5 |
| | | | | very clear) | ||||
* | no more one environment per thread: all threads share a single global | Roberto Ierusalimschy | 2009-10-23 | 7 | -47/+27 |
| | | | | environment | ||||
* | 'ipairs' goes until length of array instead of stopping at the first nil | Roberto Ierusalimschy | 2009-10-23 | 1 | -2/+2 |
| | |||||
* | new hash for doubles based on frexp, to avoid low-level tricks | Roberto Ierusalimschy | 2009-10-23 | 2 | -12/+37 |
| | |||||
* | 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 |