summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* refactoring of common parts of 'pcall' and 'xpcall' + avoidsRoberto Ierusalimschy2011-11-091-16/+21
| | | | stack errors on these functions (return error code instead)
* create error messages with a single concat, to avoid problems withRoberto Ierusalimschy2011-11-091-20/+33
| | | | creating strings piecemeal
* in 'luaL_checkstack', include extra stack space in test to allowRoberto Ierusalimschy2011-11-091-2/+4
| | | | correct execution of error routines, if necessary
* extra argument to instruction 'checkstack' (in 'testC')Roberto Ierusalimschy2011-11-091-2/+3
|
* configurable 'directory separator' in 'package.searchpath'Roberto Ierusalimschy2011-11-091-11/+34
|
* avoids including 'stdio.h' everywhere (because of definitions forRoberto Ierusalimschy2011-11-091-1/+5
| | | | luai_writestring/luai_writeline)
* small bug: error message in 'io.lines' is not the error numberRoberto Ierusalimschy2011-11-091-4/+5
|
* avoid calling "extra value" as if it were a function optionRoberto Ierusalimschy2011-11-061-4/+6
|
* by default, do not use Windows' goodies in Windows CE buildRoberto Ierusalimschy2011-11-051-3/+3
|
* cannot apply macro 'getstr' over NULLRoberto Ierusalimschy2011-10-311-5/+6
|
* extra comments about what fields are optional debug informationRoberto Ierusalimschy2011-10-311-4/+4
|
* detail (avoid applying macro 'getstr' with a function-call argument)Roberto Ierusalimschy2011-10-311-2/+3
|
* detail (comment)Roberto Ierusalimschy2011-10-251-2/+2
|
* 'lua_setglobal/lua_getglobal' implemented as functions to avoidRoberto Ierusalimschy2011-10-242-9/+28
| | | | | problems with stack indices (e.g., lua_getglobal(L, lua_tostring(L, -1)) )
* new functions lua_rawsetp/lua_rawgetpRoberto Ierusalimschy2011-10-243-18/+45
|
* silly bug in 5.2 beta: assignment conflict code did not test to checkRoberto Ierusalimschy2011-10-241-17/+20
| | | | whether variable was a table element
* BUG: parser may collect a prototype while building it.Roberto Ierusalimschy2011-10-211-2/+23
|
* more macros to try to make NaN trick work with other sizes ofRoberto Ierusalimschy2011-10-171-17/+39
| | | | | IEEE float numbers. (It has not been tested with such different sizes...)
* new type 'l_noret' for function that do not returnRoberto Ierusalimschy2011-10-076-30/+42
|
* avoid the word 'TRICKLE' in macro name (as it has nothing to doRoberto Ierusalimschy2011-10-071-8/+9
| | | | with its meaning)
* 'luaC_separateudata' renamed to 'separatetobefnz' and called onlyRoberto Ierusalimschy2011-10-032-12/+10
| | | | from 'lgc.c'
* 'luaC_separateudata' called from 'luaC_freeallobjects' + removedRoberto Ierusalimschy2011-10-031-5/+2
| | | | extra 'luaF_close' (already being called by 'close_state')
* retraverse all gray lists together to avoid traversing some weakRoberto Ierusalimschy2011-10-031-14/+34
| | | | tables twice (as they may change lists when traversed)
* missing 'LUA_CORE' definitionRoberto Ierusalimschy2011-10-031-1/+4
|
* lint (unused definition)Roberto Ierusalimschy2011-09-303-13/+3
|
* lint (wrong identation)Roberto Ierusalimschy2011-09-301-2/+2
|
* lint (unreachable code)Roberto Ierusalimschy2011-09-302-11/+11
|
* lint (unused macros)Roberto Ierusalimschy2011-09-301-4/+1
|
* lint (unused struct field)Roberto Ierusalimschy2011-09-301-2/+1
|
* detail: new macros for non-valid valuesRoberto Ierusalimschy2011-09-261-12/+13
|
* dead objects are not collectable.Roberto Ierusalimschy2011-09-243-8/+11
|
* detail about 'trick' function (nil turn it off)Roberto Ierusalimschy2011-09-241-2/+5
|
* better(?) scheme for cleaning weak tables; all ressurected objectsRoberto Ierusalimschy2011-09-241-18/+44
| | | | are removed from weak values before finalization
* detail in extra trace code: total bytes is given by 'gettotalbytes',Roberto Ierusalimschy2011-09-201-2/+2
| | | | not by 'totalbytes' counter.
* avoid clearing ephemeron tables that have nothing to be cleanedRoberto Ierusalimschy2011-09-191-13/+17
| | | | (no white elements)
* cannot compute 'mainposition' before checking whether key is nilRoberto Ierusalimschy2011-09-151-2/+3
|
* small bug in if-goto optimization: block must be closed ('leaveblock')Roberto Ierusalimschy2011-09-141-5/+8
| | | | *before* the jump out ('escapelist')
* using 'long' versions of 'fseek'/'ftell' when availableRoberto Ierusalimschy2011-09-131-6/+57
|
* details (and missing 'break's)Roberto Ierusalimschy2011-09-131-7/+6
|
* upvalue names always can be NULL (if debug info was removed), soRoberto Ierusalimschy2011-09-131-7/+13
| | | | always check for that case
* detail (make 'lua_assert' a valid expression even when turned off)Roberto Ierusalimschy2011-09-131-3/+3
|
* commentRoberto Ierusalimschy2011-09-121-2/+2
|
* optimization for |if cond then goto|Roberto Ierusalimschy2011-08-301-18/+37
|
* 'luaK_goiffalse' exportedRoberto Ierusalimschy2011-08-302-3/+4
|
* cleaner code for 'if' constructRoberto Ierusalimschy2011-08-251-20/+14
|
* detail: centralize all tests for Windows on variable 'LUA_WIN'Roberto Ierusalimschy2011-08-231-2/+2
|
* 'nCcalls' should be local to each thread, as each thread may have itsRoberto Ierusalimschy2011-08-237-31/+31
| | | | own C stack (with LuaThreads or something similar)
* bug: __newindex metamethod may not work if metatable is its ownRoberto Ierusalimschy2011-08-171-2/+29
| | | | metatable.
* bug: __newindex metamethod may not work if metatable is its ownRoberto Ierusalimschy2011-08-174-26/+44
| | | | | metatable + luaV_settable does not create entry when there is a metamethod (and therefore entry is useless)
* new option '-E' to avoid environment variablesRoberto Ierusalimschy2011-08-171-5/+25
|