summaryrefslogtreecommitdiff
path: root/liolib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* micro-optimization: avoid one API call in 'read_chars'Roberto Ierusalimschy2008-02-121-10/+11
|
* remove of useless test in 'read_chars' (if n == 0 then the resultingRoberto Ierusalimschy2008-02-121-2/+2
| | | | string cannot be empty).
* detailsRoberto Ierusalimschy2007-12-081-10/+9
|
* does not allow standard files to be closedRoberto Ierusalimschy2007-04-191-15/+36
|
* 'lua_strlen' is for compatibility onlyRoberto Ierusalimschy2006-09-181-3/+3
|
* detailsRoberto Ierusalimschy2006-06-221-2/+2
|
* files should not be operated after fclose, even when fclose failsRoberto Ierusalimschy2006-05-081-3/+3
|
* empty string may cause out-of-bound accessRoberto Ierusalimschy2006-01-281-2/+2
|
* detailRoberto Ierusalimschy2006-01-181-4/+5
|
* small optimizations (lua_newtable -> lua_createtable)Roberto Ierusalimschy2005-12-291-4/+4
|
* avoid some warningsRoberto Ierusalimschy2005-10-191-2/+2
|
* detailRoberto Ierusalimschy2005-10-141-2/+2
|
* detailRoberto Ierusalimschy2005-08-261-3/+3
|
* luaL_checkudata raises an error if value is not correctRoberto Ierusalimschy2005-08-171-11/+9
| | | | (like other luaL_check functions)
* luaL_openlib -> luaL_register, luaL_putchar -> luaL_addcharRoberto Ierusalimschy2005-08-151-3/+3
|
* details (alphabetical order for list of functions)Roberto Ierusalimschy2005-07-121-6/+6
|
* optional size for 'setvbuf'Roberto Ierusalimschy2005-06-061-2/+4
|
* 'popen' is backRoberto Ierusalimschy2005-06-061-33/+66
|
* luaL_findstring -> luaL_checkoptionRoberto Ierusalimschy2005-05-251-5/+3
|
* better quotes for strings in error messagesRoberto Ierusalimschy2005-05-161-3/+1
|
* avoid name colision with `close' functionRoberto Ierusalimschy2005-03-181-3/+3
|
* C functions and userdata also have environmentsRoberto Ierusalimschy2005-02-181-17/+17
|
* better checking for read errors (with `ferrorĀ“)Roberto Ierusalimschy2004-08-131-3/+10
|
* `io.lines' also can give the file name in its error messageRoberto Ierusalimschy2004-08-091-6/+11
|
* `lua_pushfstring' now supports `%p' option tooRoberto Ierusalimschy2004-07-091-7/+5
|
* separation between io lib and os libRoberto Ierusalimschy2004-07-091-247/+43
|
* other modules may need FILEHANDLE definitionRoberto Ierusalimschy2004-05-281-8/+6
|
* `popen' is not ANSI and therefore was removed from the basic libraryRoberto Ierusalimschy2004-05-281-21/+1
|
* in `time', uses default if `isdst' is absentRoberto Ierusalimschy2004-05-101-2/+2
|
* new scheme for configuration through `luaconf.h'Roberto Ierusalimschy2004-04-301-26/+2
|
* new function `lua_createtable'Roberto Ierusalimschy2003-10-101-2/+2
|
* new functions `lua_getfield' and `lua_setfield'Roberto Ierusalimschy2003-10-101-10/+6
|
* new functions `lua_tointeger' and lua_pushinteger'Roberto Ierusalimschy2003-10-071-12/+12
|
* bug: IBM AS400 (OS400) has sizeof(void *)==16, and a `%p' may generateRoberto Ierusalimschy2003-08-251-2/+2
| | | | | up to 60 characters in a `printf'. That causes a buffer overflow in `tostring'..