summaryrefslogtreecommitdiff
path: root/lauxlib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* function list in luaL_register may be NULL for an empty listRoberto Ierusalimschy2009-09-281-2/+3
|
* references must start after predefined values in the registryRoberto Ierusalimschy2009-09-181-8/+8
|
* 'luaL_tolstring' uses 'lua_tolstring' instead of 'lua_tostring' andRoberto Ierusalimschy2009-07-151-5/+2
| | | | 'lua_objlen'
* new way to control stack overflow, controling only total size of the stackRoberto Ierusalimschy2009-07-151-7/+18
|
* better error messages for luaL_checkversionRoberto Ierusalimschy2009-06-191-4/+5
|
* 'checkversion' implemented in the auxiliary libraryRoberto Ierusalimschy2009-06-181-2/+11
|
* added comment explaining why the 'feof' test when loading a fileRoberto Ierusalimschy2009-04-021-1/+4
|
* Lua will abort anyway, so 'panic' does not need to.Roberto Ierusalimschy2009-03-311-2/+2
|
* error functions search global space for a name for a function whenRoberto Ierusalimschy2009-02-271-3/+55
| | | | no other name is available
* code section 'Traceback' moved to the beginning of the fileRoberto Ierusalimschy2009-02-271-52/+61
|
* new macro 'lua_checkversion' to check whether core and application areRoberto Ierusalimschy2009-02-181-1/+2
| | | | compatible
* buffer creation ensures buffer space plus MINSTACK in the stackRoberto Ierusalimschy2009-02-171-1/+2
|
* 'luaL_typeerror' spelled rightRoberto Ierusalimschy2009-02-131-4/+4
|
* identation error (pointed by lint)Roberto Ierusalimschy2008-07-031-2/+2
|
* when error is 'bad self' original message probably makes no sense, soRoberto Ierusalimschy2008-06-131-3/+2
| | | | it is better not to show it.