Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added 'simplesect' sections to the manual | Roberto Ierusalimschy | 2020-04-13 | 1 | -1/+1 |
| | | | | | | | 'simplesect' encloses the introductory text of sections with subsections, so that each section either is all text or is all subsections. (This commit also corrects a small brace error in the manual and extra spaces/tabs in some other files.) | ||||
* | Added function 'luaL_buffsub' | Roberto Ierusalimschy | 2019-10-23 | 1 | -0/+2 |
| | |||||
* | Added macro 'luaL_pushfail' | Roberto Ierusalimschy | 2019-08-16 | 1 | -0/+4 |
| | | | | | | | | The macro 'luaL_pushfail' documents all places in the standard libraries that return nil to signal some kind of failure. It is defined as 'lua_pushnil'. The manual also got a notation (@fail) to document those returns. The tests were changed to be agnostic regarding whether 'fail' is 'nil' or 'false'. | ||||
* | New function 'luaL_addgsub' | Roberto Ierusalimschy | 2019-04-24 | 1 | -4/+12 |
| | | | | | | | | Added a new function 'luaL_addgsub', similar to 'luaL_gsub' but that adds its result directly to a preexisting buffer, avoiding the creation of one extra intermediate string. Also added two simple macros, 'luaL_bufflen' and 'luaL_buffaddr', to query the current length and the contents address of a buffer. | ||||
* | Better error messages for some polymorphic functions | Roberto Ierusalimschy | 2018-12-10 | 1 | -0/+5 |
| | | | | | | | | | New auxiliary functions/macros 'luaL_argexpected'/'luaL_typeerror' ease the creation of error messages such as bad argument #2 to 'setmetatable' (nil or table expected, got boolean) (The novelty being the "got boolean" part...) | ||||
* | Removed resource-related "emergency collections" | Roberto Ierusalimschy | 2018-10-31 | 1 | -2/+0 |
| | | | | | New to-be-closed variables is a better way to ensure the proper release of resources. | ||||
* | Added "emergency collection" to 'io.tmpfile' and 'os.tmpname' | Roberto Ierusalimschy | 2018-07-27 | 1 | -1/+4 |
| | | | | | | | | These operations also can give errors for lack of resources, so they also will try "emergency collections" in case of resource errors. Because there are now two libraries with that kind of handling, 'resourcetryagain' was moved to the auxiliary library to be shared by the libraries. | ||||
* | removed compatibility code with older versions | Roberto Ierusalimschy | 2018-02-27 | 1 | -16/+1 |
| | |||||
* | new constant 'LUA_GNAME' for the name of the global table "_G" | Roberto Ierusalimschy | 2017-06-27 | 1 | -1/+5 |
| | |||||
* | type 'L_Umaxalign' replaced by macro 'LUAI_MAXALIGN', which is also added | Roberto Ierusalimschy | 2017-04-24 | 1 | -2/+5 |
| | | | | to the auxlib buffer | ||||
* | detail (wrong comment) | Roberto Ierusalimschy | 2016-12-06 | 1 | -2/+2 |
| | |||||
* | using constants for "_LOADED" and "PRELOAD" | Roberto Ierusalimschy | 2016-12-04 | 1 | -1/+9 |
| | |||||
* | details (comments) | Roberto Ierusalimschy | 2015-11-23 | 1 | -2/+2 |
| | |||||
* | definitions for 'luai_writestring'/'luai_writeline'/'luai_writestringerror' | Roberto Ierusalimschy | 2014-10-29 | 1 | -1/+26 |
| | | | | | moved to 'lauxlib.h' (they do not need to be stable or configurable) + prefixes changed from 'luai_' to 'lua_' (they are not part of the core) | ||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -2/+2 |
| | |||||
* | deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.) | Roberto Ierusalimschy | 2014-10-01 | 1 | -8/+10 |
| | |||||
* | unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.) | Roberto Ierusalimschy | 2014-06-26 | 1 | -4/+17 |
| | | | | deprecated | ||||
* | keep 'luaL_checkversion_' with its signature in version 5.2, for | Roberto Ierusalimschy | 2014-04-15 | 1 | -2/+2 |
| | | | | correct error messages in case of version mixings | ||||
* | 'arg' arguments (previously called 'narg', 'nArg', 'numArg', etc.) | Roberto Ierusalimschy | 2014-01-05 | 1 | -15/+15 |
| | | | | renamed all to 'arg' | ||||
* | no need to check "bad conversion number->int;" in luaL_checkversion, | Roberto Ierusalimschy | 2013-06-27 | 1 | -4/+8 |
| | | | | | | as now Lua does not use tricks for the conversion, but there is a need to check the sizes of number types, as they can be different in two modules | ||||
* | 'luaL_len' returns lua_Integer instead of 'int' | Roberto Ierusalimschy | 2013-06-25 | 1 | -2/+2 |
| | |||||
* | 'lua_load' has an extra argument 'mode' | Roberto Ierusalimschy | 2011-11-29 | 1 | -3/+5 |
| | |||||
* | new function 'luaL_loadfilex' | Roberto Ierusalimschy | 2011-11-14 | 1 | -5/+9 |
| | |||||
* | strutcture for file handles exported in 'lauxlib.h' | Roberto Ierusalimschy | 2011-11-11 | 1 | -1/+26 |
| | |||||
* | declarations should be present only when implementations are | Roberto Ierusalimschy | 2011-06-16 | 1 | -1/+4 |
| | |||||
* | 'luaL_findtable' -> 'luaL_getsubtable' | Roberto Ierusalimschy | 2011-04-08 | 1 | -2/+2 |
| | |||||
* | returns for file-related functions and process-related functions | Roberto Ierusalimschy | 2011-03-03 | 1 | -1/+4 |
| | | | | unified in 'auxlib' | ||||
* | 'luaL_findtable' returns boolean about whether it created a new | Roberto Ierusalimschy | 2011-01-10 | 1 | -2/+2 |
| | | | | table (to easy initializing table) | ||||
* | comment about compatibility-only functions | Roberto Ierusalimschy | 2010-11-16 | 1 | -3/+5 |
| | |||||
* | no more compatibility with (veryyyy) old ref system | Roberto Ierusalimschy | 2010-11-16 | 1 | -18/+5 |
| | |||||
* | new function 'luaL_setmetatable' | Roberto Ierusalimschy | 2010-11-10 | 1 | -1/+2 |
| | |||||
* | 'luaL_typeerror' deprecated | Roberto Ierusalimschy | 2010-11-10 | 1 | -2/+1 |
| | |||||
* | new type lua_Unsigned and corresponding projection/injection functions | Roberto Ierusalimschy | 2010-10-25 | 1 | -1/+4 |
| | |||||
* | new module policy: C modules do not create globals and do not register | Roberto Ierusalimschy | 2010-07-02 | 1 | -5/+17 |
| | | | | | | 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 code | Roberto Ierusalimschy | 2010-06-30 | 1 | -3/+2 |
| | | | | inside lauxlib.c | ||||
* | factoring out common code in 'module' and 'luaL_openlib' | Roberto Ierusalimschy | 2010-05-31 | 1 | -1/+3 |
| | |||||
* | missing parentheses in declaration | Roberto Ierusalimschy | 2010-05-04 | 1 | -2/+2 |
| | |||||
* | missing parentheses around 'luaL_pushresultsize' declaration | Roberto Ierusalimschy | 2010-04-19 | 1 | -2/+2 |
| | |||||
* | no more 'ccall' nor 'cpcall' functions. (With light C functions they | Roberto Ierusalimschy | 2010-04-14 | 1 | -4/+1 |
| | | | | are obsolete.) | ||||
* | new implementation for Generic Buffer manipulation (using userdata as | Roberto Ierusalimschy | 2010-04-09 | 1 | -10/+13 |
| | | | | temporary buffer space) | ||||
* | avoid using function environments in C libraries (as it probably will | Roberto Ierusalimschy | 2010-03-17 | 1 | -8/+11 |
| | | | | be deprecated) | ||||
* | new function 'luaL_cpcall' | Roberto Ierusalimschy | 2010-01-21 | 1 | -1/+3 |
| | |||||
* | removed old prototype for 'luaI_openlib' (which does not exist anymore) | Roberto Ierusalimschy | 2010-01-11 | 1 | -3/+1 |
| | |||||
* | compatibility code removed or moved to luaconf.h | Roberto Ierusalimschy | 2010-01-06 | 1 | -7/+1 |
| | |||||
* | 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len' | Roberto Ierusalimschy | 2009-12-17 | 1 | -1/+2 |
| | |||||
* | 'checkversion' implemented in the auxiliary library | Roberto Ierusalimschy | 2009-06-18 | 1 | -1/+3 |
| | |||||
* | 'luaL_typeerror' spelled right | Roberto Ierusalimschy | 2009-02-13 | 1 | -2/+6 |
| | |||||
* | luaL_tostring -> luaL_tolstring (more generic) | Roberto Ierusalimschy | 2008-01-03 | 1 | -2/+2 |
| | |||||
* | detail | Roberto Ierusalimschy | 2007-06-22 | 1 | -3/+3 |
| | |||||
* | traceback function moved to auxlib | Roberto Ierusalimschy | 2007-06-22 | 1 | -1/+3 |
| |