summaryrefslogtreecommitdiff
path: root/liolib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Lua 5.3.5 ported to gitv5.3.5Roberto Ierusalimschy2018-12-171-4/+9
| | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2.
* Using LUAI_UAC* types more consistently on vararg callsRoberto Ierusalimschy2016-12-201-3/+5
|
* detail (macro 'l_checkmode' reimplemented as function)Roberto Ierusalimschy2016-09-011-5/+6
|
* 'io.read("n")' accepts both a dot and the locale point as itsRoberto Ierusalimschy2016-05-021-8/+11
| | | | | radix character + 'MAXRN' -> 'L_MAXLENNUM' + small detail in 'test2'
* easy the way to accept other modifiers for 'mode' in 'io.open'Roberto Ierusalimschy2015-11-231-7/+13
|
* bug: 'io.lines' does not check maximum number of optionsRoberto Ierusalimschy2015-07-151-1/+8
|
* detail (comment)Roberto Ierusalimschy2015-07-071-2/+2
|
* detailRoberto Ierusalimschy2015-06-211-2/+2
|
* more consistent use of locale radix character across LuaRoberto Ierusalimschy2015-04-031-9/+4
|
* detail (use 'lua_pushliteral' to push an empty string)Roberto Ierusalimschy2015-03-061-2/+2
|
* clearer(?) code (also avoids a warning about 'c' being usedRoberto Ierusalimschy2015-01-021-5/+3
| | | | without initialization)
* avoid memory errors while a file is locked (when reading a line)Roberto Ierusalimschy2014-11-211-7/+16
|
* 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-12/+4
| | | | any other header file
* LUA_WIN -> LUA_USE_WINDOWSRoberto Ierusalimschy2014-10-311-3/+3
|
* `name' in comments changed to 'name'Roberto Ierusalimschy2014-10-251-2/+2
|
* detail (using 'sizeof' instead of 'strlen' for length of a constantv5.3-betaRoberto Ierusalimschy2014-10-221-2/+3
| | | | string)
* added 'l_' prefix for names that can be redefined externallyRoberto Ierusalimschy2014-10-221-4/+4
|
* 'lua_stringtonum' -> 'lua_stringtonumber'Roberto Ierusalimschy2014-10-171-4/+4
|
* macros 'LUA_QL'/'LUA_QL' deprecatedRoberto Ierusalimschy2014-10-171-3/+3
|
* 'lua_strtonum' -> 'lua_stringtonum'Roberto Ierusalimschy2014-10-151-3/+3
|
* details (comments)Roberto Ierusalimschy2014-10-031-2/+2
|
* detailRoberto Ierusalimschy2014-10-011-2/+2
|
* small change to avoid bug in some versions of the clang compilerRoberto Ierusalimschy2014-09-261-2/+7
|
* added some casts between integral types (to avoid warnings)Roberto Ierusalimschy2014-07-291-2/+2
|
* detail (typos in comments)Roberto Ierusalimschy2014-06-301-9/+9
|
* if numeral overflows the reading buffer, signal it as invalid inputRoberto Ierusalimschy2014-06-021-3/+5
| | | | (resulting in nil)
* no more use of 'scanf' for reading numbersRoberto Ierusalimschy2014-05-211-17/+81
|
* using a more conventional handling of stack space in 'io_readline'Roberto Ierusalimschy2014-05-151-3/+2
|
* new API function 'lua_rotate'Roberto Ierusalimschy2014-05-131-4/+2
|
* old POSIX systems need '<sys/types.h>' for 'off_t'Roberto Ierusalimschy2014-05-111-1/+3
|
* initial '*' in 'io.read' formats is deprecatedRoberto Ierusalimschy2014-04-151-4/+4
|
* with 64-bit integers, file offsets do not need to be floatsRoberto Ierusalimschy2014-03-191-4/+4
|
* changing prefix of configurable macros from "lua_" to "l_"Roberto Ierusalimschy2014-03-131-26/+26
|
* simpler code to read a line from a file (using 'getc' or, if present,Roberto Ierusalimschy2014-03-061-17/+24
| | | | 'getc_unlocked')
* more uniformity for defining system-dependent featuresRoberto Ierusalimschy2014-02-261-20/+21
|
* 'read_all' does not need to grow buffer, as 'luaL_prepbuffsize'Roberto Ierusalimschy2014-02-211-11/+6
| | | | already does that
* commentRoberto Ierusalimschy2014-01-271-2/+2
|
* 'io.write' writes integers directly (and correctly)Roberto Ierusalimschy2013-06-071-3/+5
|
* new read format "*i" for reading integersRoberto Ierusalimschy2013-05-141-1/+17
|
* _FILE_OFFSET_BITS usually also needs _LARGEFILE_SOURCE + easier toRoberto Ierusalimschy2013-04-111-11/+12
| | | | use default definition for 'l_fseek' in ansi systems
* logic for checking mode for 'fopen' moved to macro 'lua_checkmode'v5.2.2Roberto Ierusalimschy2013-03-211-10/+11
|
* detail (error message)Roberto Ierusalimschy2013-03-201-3/+2
|
* macro 'lua_checkmode' + typos in commentsRoberto Ierusalimschy2013-03-161-2/+10
|
* '_fseeki64' and family not available in all Windows platformsRoberto Ierusalimschy2011-11-251-2/+4
|
* 'luaIO_Stream' -> 'luaL_Stream'Roberto Ierusalimschy2011-11-141-2/+2
|
* strutcture for file handles exported in 'lauxlib.h'Roberto Ierusalimschy2011-11-111-6/+2
|
* small bug: error message in 'io.lines' is not the error numberRoberto Ierusalimschy2011-11-091-4/+5
|
* using 'long' versions of 'fseek'/'ftell' when availableRoberto Ierusalimschy2011-09-131-6/+57
|
* better error message when trying to open filesRoberto Ierusalimschy2011-08-021-6/+4
|