summaryrefslogtreecommitdiff
path: root/lauxlib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* cleaner code (avoids loop with empty body)Roberto Ierusalimschy2012-03-191-3/+5
|
* 'luaL_checkversion' called by 'luaL_setfuncs'Roberto Ierusalimschy2012-03-181-1/+2
|
* small bug: format '%d' for lua_Number argumentRoberto Ierusalimschy2011-12-061-2/+2
|
* macro 'luaL_getmetatable' seems more appropriate when gettingRoberto Ierusalimschy2011-12-021-3/+3
| | | | metatables in registry
* commentsRoberto Ierusalimschy2011-11-301-5/+4
|
* 'lua_load' has an extra argument 'mode'Roberto Ierusalimschy2011-11-291-28/+9
|
* new function 'luaL_loadfilex'Roberto Ierusalimschy2011-11-141-7/+27
|
* in 'luaL_checkstack', include extra stack space in test to allowRoberto Ierusalimschy2011-11-091-2/+4
| | | | correct execution of error routines, if necessary
* removed unused variable 'found' (in 'findfield') + removed legacyRoberto Ierusalimschy2011-07-251-4/+3
| | | | test for 'what' being "tail"
* 'os.execute' (and similars) should return 'exit' and code in caseRoberto Ierusalimschy2011-06-161-7/+6
| | | | of success, too.
* more complete (and hopefuly more correct) handling of 'sizeof(char)'Roberto Ierusalimschy2011-05-031-4/+6
|
* 'luaL_setfuncs' does not need to accept a NULL list. (If there isRoberto Ierusalimschy2011-04-191-3/+6
| | | | no list, there is no reason to call this function.)
* 'luaL_findtable' -> 'luaL_getsubtable'Roberto Ierusalimschy2011-04-081-7/+7
|
* returns for file-related functions and process-related functionsRoberto Ierusalimschy2011-03-031-1/+59
| | | | unified in 'auxlib'
* 'luaL_findtable' returns boolean about whether it created a newRoberto Ierusalimschy2011-01-101-3/+4
| | | | table (to easy initializing table)
* new function 'luaL_setmetatable'Roberto Ierusalimschy2010-11-101-1/+7
|
* 'luaL_typeerror' deprecatedRoberto Ierusalimschy2010-11-101-4/+4
|
* detail (message)Roberto Ierusalimschy2010-11-091-2/+2
|
* 'luaL_checkversion' also checks convertions (number to integer types)Roberto Ierusalimschy2010-10-291-1/+8
|
* new type lua_Unsigned and corresponding projection/injection functionsRoberto Ierusalimschy2010-10-251-1/+16
|
* corrected warnings from different compilers (mostly casts and smallRoberto Ierusalimschy2010-10-251-2/+2
| | | | details)
* 'luaL_loadlib' accepts Utf8 BOM in the beginning of filesRoberto Ierusalimschy2010-10-011-13/+26
|
* use index 0 for header of list of free referencesRoberto Ierusalimschy2010-08-031-7/+7
|
* 'module'/'luaL_register' and associates are deprecatedRoberto Ierusalimschy2010-07-281-1/+3
|
* functions lua_tonumber/lua_tointeger replaced by lua_tonumberx/lua_tointegerxRoberto Ierusalimschy2010-07-021-7/+10
| | | | that have an extra out parameter with conversion status
* new module policy: C modules do not create globals and do not registerRoberto Ierusalimschy2010-07-021-4/+41
| | | | | | themselves with 'require' (let 'require' do its work); new auxiliary functions luaL_newlib/luaL_newlibtable/luaL_setfuncs/luaL_requiref. Old luaL_register will be deprecated.
* old (and complex) luaL_findtable now used only in compatibility codeRoberto Ierusalimschy2010-06-301-30/+51
| | | | inside lauxlib.c
* back with #-comments for binary filesRoberto Ierusalimschy2010-06-091-13/+30
|
* factoring out common code in 'module' and 'luaL_openlib'Roberto Ierusalimschy2010-05-311-14/+28
|
* more commentsRoberto Ierusalimschy2010-05-181-9/+9
|
* bug: loadfile of binary files read first character twiceRoberto Ierusalimschy2010-05-181-1/+2
|
* detail (comment)Roberto Ierusalimschy2010-05-171-2/+2
|
* new API function 'lua_absindex'Roberto Ierusalimschy2010-05-121-9/+4
|
* avoid reserving LUA_RIDX_LAST slots in any table used by referenceRoberto Ierusalimschy2010-05-101-15/+9
| | | | | system. Store free list in a field indexed by a unique name, instead of using a numerical index.
* no more 'ccall' nor 'cpcall' functions. (With light C functions theyRoberto Ierusalimschy2010-04-141-12/+1
| | | | are obsolete.)
* new implementation for Generic Buffer manipulation (using userdata asRoberto Ierusalimschy2010-04-091-71/+53
| | | | temporary buffer space)
* commentsRoberto Ierusalimschy2010-03-291-3/+3
|
* 'lua_assert' not visible from librariesRoberto Ierusalimschy2010-03-221-3/+2
|
* 'cpcall' renamed to 'ccall' as it does not do a protected callRoberto Ierusalimschy2010-03-191-2/+2
|
* avoid using function environments in C libraries (as it probably willRoberto Ierusalimschy2010-03-171-8/+13
| | | | be deprecated)
* small optimization in luaL_addlstring (avoid adding chars one by one)Roberto Ierusalimschy2010-03-121-3/+14
| | | | (suggested by Chuck Coffing)
* detail: in loadfile read function, no need to return NULL on EOF;Roberto Ierusalimschy2010-02-181-2/+2
| | | | size ==0 is enough to signal EOF.
* avoid using 'ungetc' in loadfileRoberto Ierusalimschy2010-02-181-7/+15
|
* new macro 'luai_writestringerror'Roberto Ierusalimschy2010-02-181-2/+2
|
* removed support for '#fist-line comment' on binary files (as binaryRoberto Ierusalimschy2010-02-111-14/+2
| | | | files do not have lines...)
* new function 'luaL_cpcall'Roberto Ierusalimschy2010-01-211-1/+12
|
* no more pseudoindex LUA_GLOBALSINDEX; global table now accessibleRoberto Ierusalimschy2009-12-221-4/+5
| | | | through registry
* 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'Roberto Ierusalimschy2009-12-171-4/+15
|
* new scheme for debug info about tail calls: no more 'fake' stack entries,Roberto Ierusalimschy2009-11-251-3/+5
| | | | but stack entry knows whether it was tail called
* new function lua_copyRoberto Ierusalimschy2009-10-051-3/+3
|