summaryrefslogtreecommitdiff
path: root/lapi.c (unfollow)
Commit message (Expand)AuthorFilesLines
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
2009-08-10avoid an unprotected call to 'lua_tostring' which theoretically mayRoberto Ierusalimschy1-2/+14
2009-08-10"stange numbers" (-0 and NaN) also go to the constant table (asRoberto Ierusalimschy1-16/+29
2009-08-07luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,Roberto Ierusalimschy1-9/+9
2009-08-07luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,Roberto Ierusalimschy4-10/+10
2009-08-05"But" -> "Bug" (misspelling)Roberto Ierusalimschy1-5/+5
2009-08-04'debug.getfenv' does not check whether it has an argumentRoberto Ierusalimschy1-2/+21
2009-08-04small bug: debug.getfenv should check whether it has an argumentRoberto Ierusalimschy1-1/+2
2009-08-04'collectgarbage"count"' returns a second argument with the count%1024.Roberto Ierusalimschy1-2/+3
2009-07-16bug: stack must be cleared until its end (including extra size) +Roberto Ierusalimschy1-26/+9
2009-07-15tail calls do not need to move whole new frame down, only its sliceRoberto Ierusalimschy1-8/+12
2009-07-15new macro 'getproto'Roberto Ierusalimschy3-7/+8
2009-07-15detail (comment: 'correspoding' -> 'corresponding')Roberto Ierusalimschy1-2/+2
2009-07-15'index2adr' -> 'index2addr' (correct spelling)Roberto Ierusalimschy1-40/+40
2009-07-15avoid using 'UNUSED' (not defined outside the kernel)Roberto Ierusalimschy1-5/+5
2009-07-15'luaL_tolstring' uses 'lua_tolstring' instead of 'lua_tostring' andRoberto Ierusalimschy1-5/+2
2009-07-15calls with LUA_MULTRET may leave no free slots in the stackRoberto Ierusalimschy2-2/+5
2009-07-15new way to control stack overflow, controling only total size of the stackRoberto Ierusalimschy10-78/+100
2009-07-08new definition for 'luaD_checkstack' to avoid possible overflowsRoberto Ierusalimschy1-4/+3
2009-07-08errors in 'resume' should be all protectedRoberto Ierusalimschy1-5/+9
2009-07-02smart use of varargs may create functions that return tooRoberto Ierusalimschy1-2/+22
2009-07-01BUG: 'luaV_settable' may invalidate a reference to a table and tryRoberto Ierusalimschy1-5/+46
2009-07-01bug: 'luaV_settable' may invalidate a reference to a table and tryRoberto Ierusalimschy1-3/+6