aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* lua_objlen should not work for numbers (according to the manual)Roberto Ierusalimschy2009-06-171-8/+1
|
* 'lua_lessthan' replaced by more generic 'lua_compare'Roberto Ierusalimschy2009-06-171-2/+2
|
* new functions 'lua_arith' and 'lua_compare'Roberto Ierusalimschy2009-06-173-24/+51
|
* exports luaV_arith to be used by lua_arithRoberto Ierusalimschy2009-06-171-1/+3
|
* exports luaV_arith to be used by lua_arith + uses 'luaO_arith' toRoberto Ierusalimschy2009-06-171-16/+7
| | | | perform basic arith. operations
* constant folding uses 'luaO_arith' to perform basic operationsRoberto Ierusalimschy2009-06-171-17/+5
|
* new function 'luaO_arith' to perform basic arithmetic operationsRoberto Ierusalimschy2009-06-172-2/+17
|
* 'lessequal' renamed 'luaV_lessequal' and exported to be used byRoberto Ierusalimschy2009-06-172-4/+5
| | | | 'lua_compare'
* new API function 'lua_mainthread'Roberto Ierusalimschy2009-06-153-3/+12
|
* patch for wrong code generation for some particular boolean expressionsRoberto Ierusalimschy2009-06-151-2/+49
|
* BUG: "(((1 or false) and true) or false)" gives wrong resultRoberto Ierusalimschy2009-06-151-9/+15
|