aboutsummaryrefslogtreecommitdiff
path: root/liolib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* detail: factoring in common code for opening files and checking forRoberto Ierusalimschy2011-07-281-16/+14
| | | | errors
* use standard "underscore + uppercases" for reserved keys in the registryRoberto Ierusalimschy2011-06-271-2/+2
|
* change in the representation of file handlesRoberto Ierusalimschy2011-06-211-139/+128
|
* returns for file-related functions and process-related functionsRoberto Ierusalimschy2011-03-031-61/+12
| | | | unified in 'auxlib'
* correct interpretation of return value from pcloseRoberto Ierusalimschy2011-02-211-28/+34
|
* p-close returns "correct" status plus type of terminationRoberto Ierusalimschy2011-02-101-16/+36
|
* detail (cleaning trailing spaces)Roberto Ierusalimschy2011-01-261-2/+2
|
* new function 'luaL_setmetatable'Roberto Ierusalimschy2010-11-101-3/+2
|
* when reading blocks with given size, try to read whole blockRoberto Ierusalimschy2010-11-091-17/+24
| | | | at once
* when reading large files, double buffer size at each iterationRoberto Ierusalimschy2010-11-081-4/+10
|
* corrected warnings from different compilers (mostly casts and smallRoberto Ierusalimschy2010-10-251-2/+2
| | | | details)
* 'module'/'luaL_register' and associates are deprecatedRoberto Ierusalimschy2010-07-281-2/+2
|
* 'lua_[gs]etenv' -> 'lua_[gs]etuservalue'Roberto Ierusalimschy2010-07-251-4/+4
|
* new module policy: C modules do not create globals and do not registerRoberto Ierusalimschy2010-07-021-3/+4
| | | | | | 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.
* no more fenvs!Roberto Ierusalimschy2010-03-261-4/+4
|
* avoid using function environments in C libraries (as it probably willRoberto Ierusalimschy2010-03-171-24/+35
| | | | be deprecated)
* new option '*L' for io.read + options for io.linesRoberto Ierusalimschy2010-03-031-24/+48
|
* 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'Roberto Ierusalimschy2009-12-171-2/+2
|
* yet more options moved from luaconf.h into internal filesRoberto Ierusalimschy2009-12-171-1/+28
|
* new mark LUAMOD_API for all luaopen_* functionsRoberto Ierusalimschy2009-11-241-2/+2
|
* "file:write" returns "file" in case of successRoberto Ierusalimschy2009-09-011-4/+7
|
* ensures that argument 'mode' to 'io.open' matches "[rwa]%+?b?", toRoberto Ierusalimschy2009-08-281-2/+11
| | | | avoid passing invalid modes to 'fopen'.
* closing a "popen" file returns the process exit statusRoberto Ierusalimschy2009-02-201-3/+8
|