summaryrefslogtreecommitdiff
path: root/loslib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bug: 'checkoption' could read past end of string + 'os.date' canRoberto Ierusalimschy2016-07-181-12/+16
| | | | handle embedded zeros
* 'os.time(t)' normalizes 't' fieldsRoberto Ierusalimschy2016-04-181-10/+20
|
* simpler yet definition for 'checkoption'Roberto Ierusalimschy2016-02-091-18/+14
|
* simpler code for 'checkoption' + added conversion specifiers specificRoberto Ierusalimschy2016-02-081-25/+34
| | | | to Windows
* details (comments + text of error messages)Roberto Ierusalimschy2016-01-061-5/+5
|
* details (typos in comments)Roberto Ierusalimschy2015-11-191-2/+2
|
* 'strftime' puts its result directly into 'lua_Buffer'Roberto Ierusalimschy2015-07-061-5/+9
|
* better treatment for integer overflows + all errors throw an errorRoberto Ierusalimschy2015-07-041-23/+37
| | | | (instead of returning nil)
* re-organization of initial configuration optionsRoberto Ierusalimschy2015-04-101-27/+40
|
* detail (no need to write 'double' in source)Roberto Ierusalimschy2015-02-091-3/+4
|
* typo in error messageRoberto Ierusalimschy2015-01-121-2/+2
|
* detail (to avoid warnings)Roberto Ierusalimschy2014-12-261-3/+3
|
* new specifiers in 'strftime' are defined in C99 (not Posix)Roberto Ierusalimschy2014-12-101-3/+3
|
* comments (references to "ANSI C" changed to "ISO C", which is theRoberto Ierusalimschy2014-11-021-3/+3
| | | | international name
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-021-4/+6
| | | | any other header file
* `name' in comments changed to 'name'Roberto Ierusalimschy2014-10-251-2/+2
|
* macros 'LUA_QL'/'LUA_QL' deprecatedRoberto Ierusalimschy2014-10-171-2/+2
|
* added some casts for the cases when lua_Number != doubleRoberto Ierusalimschy2014-10-081-2/+3
|
* deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.)Roberto Ierusalimschy2014-10-011-2/+2
|
* template for 'mkstemp' is configurable (via LUA_TMPNAMTEMPLATE)Roberto Ierusalimschy2014-04-291-2/+8
|
* configuration for Lua type corresponding to 'time_t'Roberto Ierusalimschy2014-03-201-10/+24
|
* lua_gettable and similars return type of gotten valueRoberto Ierusalimschy2014-03-121-3/+2
|
* removal of weird construction in definition of LUA_STRFTIMEOPTIONSRoberto Ierusalimschy2014-02-261-3/+3
| | | | (two empty strings concatenated as in "" "")
* more uniformity for defining system-dependent featuresRoberto Ierusalimschy2014-02-261-7/+18
|
* uses integers for timeRoberto Ierusalimschy2013-05-141-5/+5
|
* error message in 'os.rename' does not include file name, because errorRoberto Ierusalimschy2012-10-191-2/+2
| | | | may be caused both by 'fromname' or 'toname'
* spaces -> tabs in #definesRoberto Ierusalimschy2012-05-231-8/+9
|
* 'lUA' -> 'LUA'Roberto Ierusalimschy2011-11-301-2/+2
|
* when available, use '*_r' versions of 'gmtime' and 'localtime'Roberto Ierusalimschy2011-11-291-4/+21
|
* another try to avoid warnings about unreachable 'return' after 'exit'Roberto Ierusalimschy2011-11-291-2/+3
|
* commentRoberto Ierusalimschy2011-06-201-2/+2
|
* returns for file-related functions and process-related functionsRoberto Ierusalimschy2011-03-031-19/+10
| | | | unified in 'auxlib'
* detail (cleaning trailing spaces)Roberto Ierusalimschy2011-01-261-2/+2
|
* 'os.exit' acceps booleans as status (for EXIT_SUCESS and EXIT_FAILURE)Roberto Ierusalimschy2010-10-051-2/+6
|
* functions lua_tonumber/lua_tointeger replaced by lua_tonumberx/lua_tointegerxRoberto Ierusalimschy2010-07-021-5/+4
| | | | 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-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 filesRoberto Ierusalimschy2009-12-171-2/+19
|
* several configuration options that do not change often moved out ofRoberto Ierusalimschy2009-12-171-1/+23
| | | | luaconf.h and into more internal files
* new mark LUAMOD_API for all luaopen_* functionsRoberto Ierusalimschy2009-11-241-2/+2
|
* 'os.exit' should close state only when second argument is trueRoberto Ierusalimschy2009-11-231-2/+2
|
* correct way to check arguments to 'strftime'Roberto Ierusalimschy2009-08-251-15/+29
|
* by default, 'os.exit' closes current stateRoberto Ierusalimschy2008-06-131-2/+6
|
* it seems useless trying to avoid this warning...Roberto Ierusalimschy2008-01-181-2/+2
|
* avoid warnings about exit; returnRoberto Ierusalimschy2007-09-141-3/+2
|
* 'os.date' checks arguments before passing them to 'strftime'Roberto Ierusalimschy2007-05-031-4/+14
|
* bug: os.date throws error when result is the empty stringRoberto Ierusalimschy2006-09-191-6/+17
|
* detailsRoberto Ierusalimschy2006-04-261-5/+3
|
* detailRoberto Ierusalimschy2006-03-091-5/+2
|
* detailRoberto Ierusalimschy2006-01-271-4/+5
|
* small changes in castsRoberto Ierusalimschy2005-12-221-2/+2
|