Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | -0/+2 |
| | | | | | | | | 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. | ||||
* | File operations try an "emergency collection" when failing | Roberto Ierusalimschy | 2018-07-25 | 1 | -2/+1 |
| | | | | | | | | | If a file operation fails do to lack of resources (too many open files or not enough memory), it does a full garbage collection and tries the operation again. Lack of resources are "too many open files" (process wise and system wise) and "not enough memory". The code is full of '#if's because error codes are not part of the standard ISO C. | ||||
* | added 'return' to calls to 'luaL_error' (to signal to the compiler | Roberto Ierusalimschy | 2017-03-14 | 1 | -3/+5 |
| | | | | that the function cannot continue past that call) | ||||
* | bug: 'checkoption' could read past end of string + 'os.date' can | Roberto Ierusalimschy | 2016-07-18 | 1 | -12/+16 |
| | | | | handle embedded zeros | ||||
* | 'os.time(t)' normalizes 't' fields | Roberto Ierusalimschy | 2016-04-18 | 1 | -10/+20 |
| | |||||
* | simpler yet definition for 'checkoption' | Roberto Ierusalimschy | 2016-02-09 | 1 | -18/+14 |
| | |||||
* | simpler code for 'checkoption' + added conversion specifiers specific | Roberto Ierusalimschy | 2016-02-08 | 1 | -25/+34 |
| | | | | to Windows | ||||
* | details (comments + text of error messages) | Roberto Ierusalimschy | 2016-01-06 | 1 | -5/+5 |
| | |||||
* | details (typos in comments) | Roberto Ierusalimschy | 2015-11-19 | 1 | -2/+2 |
| | |||||
* | 'strftime' puts its result directly into 'lua_Buffer' | Roberto Ierusalimschy | 2015-07-06 | 1 | -5/+9 |
| | |||||
* | better treatment for integer overflows + all errors throw an error | Roberto Ierusalimschy | 2015-07-04 | 1 | -23/+37 |
| | | | | (instead of returning nil) | ||||
* | re-organization of initial configuration options | Roberto Ierusalimschy | 2015-04-10 | 1 | -27/+40 |
| | |||||
* | detail (no need to write 'double' in source) | Roberto Ierusalimschy | 2015-02-09 | 1 | -3/+4 |
| | |||||
* | typo in error message | Roberto Ierusalimschy | 2015-01-12 | 1 | -2/+2 |
| | |||||
* | detail (to avoid warnings) | Roberto Ierusalimschy | 2014-12-26 | 1 | -3/+3 |
| | |||||
* | new specifiers in 'strftime' are defined in C99 (not Posix) | Roberto Ierusalimschy | 2014-12-10 | 1 | -3/+3 |
| | |||||
* | comments (references to "ANSI C" changed to "ISO C", which is the | Roberto Ierusalimschy | 2014-11-02 | 1 | -3/+3 |
| | | | | international name | ||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 |
| | | | | any other header file | ||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -2/+2 |
| | |||||
* | macros 'LUA_QL'/'LUA_QL' deprecated | Roberto Ierusalimschy | 2014-10-17 | 1 | -2/+2 |
| | |||||
* | added some casts for the cases when lua_Number != double | Roberto Ierusalimschy | 2014-10-08 | 1 | -2/+3 |
| | |||||
* | deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.) | Roberto Ierusalimschy | 2014-10-01 | 1 | -2/+2 |
| | |||||
* | template for 'mkstemp' is configurable (via LUA_TMPNAMTEMPLATE) | Roberto Ierusalimschy | 2014-04-29 | 1 | -2/+8 |
| | |||||
* | configuration for Lua type corresponding to 'time_t' | Roberto Ierusalimschy | 2014-03-20 | 1 | -10/+24 |
| | |||||
* | lua_gettable and similars return type of gotten value | Roberto Ierusalimschy | 2014-03-12 | 1 | -3/+2 |
| | |||||
* | removal of weird construction in definition of LUA_STRFTIMEOPTIONS | Roberto Ierusalimschy | 2014-02-26 | 1 | -3/+3 |
| | | | | (two empty strings concatenated as in "" "") | ||||
* | more uniformity for defining system-dependent features | Roberto Ierusalimschy | 2014-02-26 | 1 | -7/+18 |
| | |||||
* | uses integers for time | Roberto Ierusalimschy | 2013-05-14 | 1 | -5/+5 |
| | |||||
* | error message in 'os.rename' does not include file name, because error | Roberto Ierusalimschy | 2012-10-19 | 1 | -2/+2 |
| | | | | may be caused both by 'fromname' or 'toname' | ||||
* | spaces -> tabs in #defines | Roberto Ierusalimschy | 2012-05-23 | 1 | -8/+9 |
| | |||||
* | 'lUA' -> 'LUA' | Roberto Ierusalimschy | 2011-11-30 | 1 | -2/+2 |
| | |||||
* | when available, use '*_r' versions of 'gmtime' and 'localtime' | Roberto Ierusalimschy | 2011-11-29 | 1 | -4/+21 |
| | |||||
* | another try to avoid warnings about unreachable 'return' after 'exit' | Roberto Ierusalimschy | 2011-11-29 | 1 | -2/+3 |
| | |||||
* | comment | Roberto Ierusalimschy | 2011-06-20 | 1 | -2/+2 |
| | |||||
* | returns for file-related functions and process-related functions | Roberto Ierusalimschy | 2011-03-03 | 1 | -19/+10 |
| | | | | unified in 'auxlib' | ||||
* | detail (cleaning trailing spaces) | Roberto Ierusalimschy | 2011-01-26 | 1 | -2/+2 |
| | |||||
* | 'os.exit' acceps booleans as status (for EXIT_SUCESS and EXIT_FAILURE) | Roberto Ierusalimschy | 2010-10-05 | 1 | -2/+6 |
| | |||||
* | functions lua_tonumber/lua_tointeger replaced by lua_tonumberx/lua_tointegerx | Roberto Ierusalimschy | 2010-07-02 | 1 | -5/+4 |
| | | | | that have an extra out parameter with conversion status | ||||
* | new module policy: C modules do not create globals and do not register | Roberto Ierusalimschy | 2010-07-02 | 1 | -2/+2 |
| | | | | | | 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. | ||||
* | yet more options moved from luaconf.h into internal files | Roberto Ierusalimschy | 2009-12-17 | 1 | -2/+19 |
| | |||||
* | several configuration options that do not change often moved out of | Roberto Ierusalimschy | 2009-12-17 | 1 | -1/+23 |
| | | | | luaconf.h and into more internal files | ||||
* | new mark LUAMOD_API for all luaopen_* functions | Roberto Ierusalimschy | 2009-11-24 | 1 | -2/+2 |
| | |||||
* | 'os.exit' should close state only when second argument is true | Roberto Ierusalimschy | 2009-11-23 | 1 | -2/+2 |
| | |||||
* | correct way to check arguments to 'strftime' | Roberto Ierusalimschy | 2009-08-25 | 1 | -15/+29 |
| | |||||
* | by default, 'os.exit' closes current state | Roberto Ierusalimschy | 2008-06-13 | 1 | -2/+6 |
| | |||||
* | it seems useless trying to avoid this warning... | Roberto Ierusalimschy | 2008-01-18 | 1 | -2/+2 |
| | |||||
* | avoid warnings about exit; return | Roberto Ierusalimschy | 2007-09-14 | 1 | -3/+2 |
| | |||||
* | 'os.date' checks arguments before passing them to 'strftime' | Roberto Ierusalimschy | 2007-05-03 | 1 | -4/+14 |
| | |||||
* | bug: os.date throws error when result is the empty string | Roberto Ierusalimschy | 2006-09-19 | 1 | -6/+17 |
| |