aboutsummaryrefslogtreecommitdiff
path: root/lgc.h (unfollow)
Commit message (Expand)AuthorFilesLines
2009-11-17when doing hard memory tests, perform a full GC at every possible stepRoberto Ierusalimschy2-3/+9
2009-11-16'module' returns the new module (to be used with lexical environments)Roberto Ierusalimschy1-2/+2
2009-11-16functions 'getfenv' and 'setfenv' are deprecatedRoberto Ierusalimschy2-4/+23
2009-11-13new function 'loadin'Roberto Ierusalimschy1-23/+61
2009-11-09renaming: 'lua_upvaladdr' -> 'lua_upvalueid',Roberto Ierusalimschy3-14/+14
2009-11-09new option 'isrunning' for 'lua_gc' (and 'collectgarbage')Roberto Ierusalimschy3-9/+15
2009-11-09registry and global table may be changed through the API without aRoberto Ierusalimschy2-3/+7
2009-11-06several small changes to simplify changing TValue if neededRoberto Ierusalimschy1-19/+17
2009-11-06macro 'checkvalref' redefined as function (to avoid too long macros)Roberto Ierusalimschy1-3/+6
2009-11-06macro 'gkey' returns a "real" TValue*Roberto Ierusalimschy1-2/+2
2009-11-06new macro 'NILCONSTANT' to initialize nil constantsRoberto Ierusalimschy2-6/+6
2009-11-06avoid using 'ttype' when there is an explicit test + macro 'checkdeadkey'Roberto Ierusalimschy1-5/+7
2009-11-06avoid using 'ttype' when there is an explicit testRoberto Ierusalimschy1-4/+3
2009-11-06better to enclose macros in 'if' bodies with bracketsRoberto Ierusalimschy1-2/+3
2009-11-05better control over accesses to TValue fieldsRoberto Ierusalimschy4-37/+40
2009-11-05api functions to manipulate upvalues do not need to check theirRoberto Ierusalimschy3-35/+24
2009-11-05new functions to identify and join upvaluesRoberto Ierusalimschy3-3/+84
2009-10-28comment explaining OP_VARARG was wrong (and corresponding code was notRoberto Ierusalimschy2-5/+5
2009-10-23no more one environment per thread: all threads share a single globalRoberto Ierusalimschy7-47/+27
2009-10-23'ipairs' goes until length of array instead of stopping at the first nilRoberto Ierusalimschy1-2/+2
2009-10-23new hash for doubles based on frexp, to avoid low-level tricksRoberto Ierusalimschy2-12/+37
2009-10-14better documentation for constructor syntaxRoberto Ierusalimschy1-26/+34
2009-10-13local function definition does not need to correct debug informationRoberto Ierusalimschy1-3/+1
2009-10-13two small bugs: 'debug.getinfo' did not consider negative indices as outRoberto Ierusalimschy1-8/+10
2009-10-11parser keeps list of active local variables in a single dynamic array,Roberto Ierusalimschy7-47/+76
2009-10-05new function lua_copyRoberto Ierusalimschy7-29/+45
2009-09-30'cpcall' must ensure correct environment for called functionRoberto Ierusalimschy1-2/+5
2009-09-30a few more instructions to testC (func2udata and getfield)Roberto Ierusalimschy1-1/+9
2009-09-30first implementation of lexical environmentsRoberto Ierusalimschy7-22/+68
2009-09-28information about upvalues (where they come from) kept in Proto structure,Roberto Ierusalimschy14-98/+97
2009-09-28some operations may shrink g->totalbytes so g->estimate must beRoberto Ierusalimschy1-4/+9
2009-09-28initialize g->estimate (just in case)Roberto Ierusalimschy1-2/+3
2009-09-28handle extended opcodes (with OP_EXTRAARG) when checking metamethodRoberto Ierusalimschy1-1/+3
2009-09-28function list in luaL_register may be NULL for an empty listRoberto Ierusalimschy1-2/+3
2009-09-23limit of constants per function changed to 2^26 using extra argumentsRoberto Ierusalimschy5-66/+86
2009-09-23detail (space between function name and its parameter list)Roberto Ierusalimschy1-2/+2
2009-09-21'cpcall' reimplemented as a predefined value in the registryRoberto Ierusalimschy3-40/+42
2009-09-18references must start after predefined values in the registryRoberto Ierusalimschy1-8/+8
2009-09-17'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREADRoberto Ierusalimschy4-14/+25
2009-09-14first implementation of 'lua_yieldk' (yield with continuation)Roberto Ierusalimschy3-9/+39
2009-09-09extra facilities to testC: comments + commands print, callk and yield +Roberto Ierusalimschy1-5/+35
2009-09-09'debug.[gs]etupvalue' should be able to access C upvalues tooRoberto Ierusalimschy1-2/+1
2009-09-07"bug": lua_createtable with sizes changed (array <-> record)Roberto Ierusalimschy1-2/+2
2009-09-05details + commentsRoberto Ierusalimschy1-7/+15
2009-09-01"file:write" returns "file" in case of successRoberto Ierusalimschy1-4/+7
2009-08-31API checks now have explanatory messagesRoberto Ierusalimschy3-28/+34
2009-08-28ensures that argument 'mode' to 'io.open' matches "[rwa]%+?b?", toRoberto Ierusalimschy1-2/+11
2009-08-26better machinery to test continuations in the C APIRoberto Ierusalimschy1-1/+24
2009-08-25correct way to check arguments to 'strftime'Roberto Ierusalimschy2-23/+41
2009-08-10test for 'fs' being NULL at the end of 'close_func' is useless ('fs'Roberto Ierusalimschy1-2/+4