aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* bug: 'luaV_settable' may invalidate a reference to a table and tryRoberto Ierusalimschy2009-07-011-3/+6
| | | | to reuse it.
* Standard library for bitwise operationsRoberto Ierusalimschy2009-07-011-0/+123
|
* new module 'lbitlib.c' for bitwise operationsRoberto Ierusalimschy2009-07-014-23/+38
|
* use of LUAI_UINT32 replaced by 'unsigned LUA_INT32' (one lessRoberto Ierusalimschy2009-07-011-2/+2
| | | | definition needed)
* better error messages for luaL_checkversionRoberto Ierusalimschy2009-06-191-4/+5
|
* l_version may be local to 'lua_version'Roberto Ierusalimschy2009-06-191-4/+3
|
* 'checkversion' implemented in the auxiliary libraryRoberto Ierusalimschy2009-06-183-5/+16
|
* new function 'lua_version' (so that 'checkversion' can be implementedRoberto Ierusalimschy2009-06-184-15/+12
| | | | in the auxiliary library)
* default paths have dot option as the last one (to improve security)Roberto Ierusalimschy2009-06-181-9/+9
|
* better treatment of integer formats in string.formatRoberto Ierusalimschy2009-06-181-7/+6
|
* small optimization in 'lua_arith' (avoids overhead in the common caseRoberto Ierusalimschy2009-06-181-2/+6
| | | | of both arguments being numbers)
* new macro 'changenvalue'Roberto Ierusalimschy2009-06-181-1/+4
|
* small optimization (reorder of BinOpr enum to unify some casesRoberto Ierusalimschy2009-06-183-22/+23
| | | | in switches)