summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* better documentation for constructor syntaxRoberto Ierusalimschy2009-10-141-26/+34
|
* local function definition does not need to correct debug informationRoberto Ierusalimschy2009-10-131-3/+1
|
* two small bugs: 'debug.getinfo' did not consider negative indices as outRoberto Ierusalimschy2009-10-131-8/+10
| | | | of range + 'debug.[gs]etlocal' crash on tail calls
* parser keeps list of active local variables in a single dynamic array,Roberto Ierusalimschy2009-10-117-47/+76
| | | | therefore saving C stack space
* new function lua_copyRoberto Ierusalimschy2009-10-057-29/+45
|
* 'cpcall' must ensure correct environment for called functionRoberto Ierusalimschy2009-09-301-2/+5
|
* a few more instructions to testC (func2udata and getfield)Roberto Ierusalimschy2009-09-301-1/+9
|
* first implementation of lexical environmentsRoberto Ierusalimschy2009-09-307-22/+68
|
* information about upvalues (where they come from) kept in Proto structure,Roberto Ierusalimschy2009-09-2814-98/+97
| | | | instead of sequence of pseudo-opcodes after OP_CLOSURE
* some operations may shrink g->totalbytes so g->estimate must beRoberto Ierusalimschy2009-09-281-4/+9
| | | | more flexible
* initialize g->estimate (just in case)Roberto Ierusalimschy2009-09-281-2/+3
|
* handle extended opcodes (with OP_EXTRAARG) when checking metamethodRoberto Ierusalimschy2009-09-281-1/+3
| | | | calls
* function list in luaL_register may be NULL for an empty listRoberto Ierusalimschy2009-09-281-2/+3
|
* limit of constants per function changed to 2^26 using extra argumentsRoberto Ierusalimschy2009-09-235-66/+86
| | | | to opcodes LOADK, GETGLOBAL, and SETGLOBAL
* detail (space between function name and its parameter list)Roberto Ierusalimschy2009-09-231-2/+2
|
* 'cpcall' reimplemented as a predefined value in the registryRoberto Ierusalimschy2009-09-213-40/+42
|
* references must start after predefined values in the registryRoberto Ierusalimschy2009-09-181-8/+8
|
* 'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREADRoberto Ierusalimschy2009-09-174-14/+25
|
* first implementation of 'lua_yieldk' (yield with continuation)Roberto Ierusalimschy2009-09-143-9/+39
|
* extra facilities to testC: comments + commands print, callk and yield +Roberto Ierusalimschy2009-09-091-5/+35
| | | | Cfunc with extra upvalues
* 'debug.[gs]etupvalue' should be able to access C upvalues tooRoberto Ierusalimschy2009-09-091-2/+1
|
* "bug": lua_createtable with sizes changed (array <-> record)Roberto Ierusalimschy2009-09-071-2/+2
|
* details + commentsRoberto Ierusalimschy2009-09-051-7/+15
|
* "file:write" returns "file" in case of successRoberto Ierusalimschy2009-09-011-4/+7
|
* API checks now have explanatory messagesRoberto Ierusalimschy2009-08-313-28/+34
|
* ensures that argument 'mode' to 'io.open' matches "[rwa]%+?b?", toRoberto Ierusalimschy2009-08-281-2/+11
| | | | avoid passing invalid modes to 'fopen'.
* better machinery to test continuations in the C APIRoberto Ierusalimschy2009-08-261-1/+24
|
* correct way to check arguments to 'strftime'Roberto Ierusalimschy2009-08-252-23/+41
|
* test for 'fs' being NULL at the end of 'close_func' is useless ('fs'Roberto Ierusalimschy2009-08-101-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 mayRoberto Ierusalimschy2009-08-101-2/+14
| | | | cause a panicked exit
* "stange numbers" (-0 and NaN) also go to the constant table (asRoberto Ierusalimschy2009-08-101-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 Ierusalimschy2009-08-071-9/+9
| | | | not generic numbers).
* luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,Roberto Ierusalimschy2009-08-074-10/+10
| | | | not generic numbers)
* "But" -> "Bug" (misspelling)Roberto Ierusalimschy2009-08-051-5/+5
|
* 'debug.getfenv' does not check whether it has an argumentRoberto Ierusalimschy2009-08-041-2/+21
|
* small bug: debug.getfenv should check whether it has an argumentRoberto Ierusalimschy2009-08-041-1/+2
|
* 'collectgarbage"count"' returns a second argument with the count%1024.Roberto Ierusalimschy2009-08-041-2/+3
|
* bug: stack must be cleared until its end (including extra size) +Roberto Ierusalimschy2009-07-161-26/+9
| | | | control of stack size moved to 'ldo.c'
* tail calls do not need to move whole new frame down, only its sliceRoberto Ierusalimschy2009-07-151-8/+12
| | | | up to last parameter (the rest has not been used yet)
* new macro 'getproto'Roberto Ierusalimschy2009-07-153-7/+8
|
* detail (comment: 'correspoding' -> 'corresponding')Roberto Ierusalimschy2009-07-151-2/+2
|
* 'index2adr' -> 'index2addr' (correct spelling)Roberto Ierusalimschy2009-07-151-40/+40
|
* avoid using 'UNUSED' (not defined outside the kernel)Roberto Ierusalimschy2009-07-151-5/+5
|
* 'luaL_tolstring' uses 'lua_tolstring' instead of 'lua_tostring' andRoberto Ierusalimschy2009-07-151-5/+2
| | | | 'lua_objlen'
* calls with LUA_MULTRET may leave no free slots in the stackRoberto Ierusalimschy2009-07-152-2/+5
|
* new way to control stack overflow, controling only total size of the stackRoberto Ierusalimschy2009-07-1510-78/+100
|
* new definition for 'luaD_checkstack' to avoid possible overflowsRoberto Ierusalimschy2009-07-081-4/+3
|
* errors in 'resume' should be all protectedRoberto Ierusalimschy2009-07-081-5/+9
|
* smart use of varargs may create functions that return tooRoberto Ierusalimschy2009-07-021-2/+22
| | | | many arguments and overflow the stack of C functions.
* BUG: 'luaV_settable' may invalidate a reference to a table and tryRoberto Ierusalimschy2009-07-011-5/+46
| | | | to reuse it.