200 Commits (2bcbd3c72539ef121cbde5ccbe355171a0722381)

Author SHA1 Message Date
Roberto Ierusalimschy 3390f9a35a detail 19 years ago
Roberto Ierusalimschy 2f2b4a42a9 luaL_checkudata raises an error if value is not correct 20 years ago
Roberto Ierusalimschy 5e8a9e324c luaL_openlib -> luaL_register, luaL_putchar -> luaL_addchar 20 years ago
Roberto Ierusalimschy 80ac5e83fd details (alphabetical order for list of functions) 20 years ago
Roberto Ierusalimschy 3ad03b331d optional size for 'setvbuf' 20 years ago
Roberto Ierusalimschy 86add535d8 'popen' is back 20 years ago
Roberto Ierusalimschy e8a7ecb982 luaL_findstring -> luaL_checkoption 20 years ago
Roberto Ierusalimschy c2bb9abcec better quotes for strings in error messages 20 years ago
Roberto Ierusalimschy 086d6b09ce avoid name colision with `close' function 20 years ago
Roberto Ierusalimschy 7d45a5f48f C functions and userdata also have environments 20 years ago
Roberto Ierusalimschy 2d8b099274 better checking for read errors (with `ferror´) 21 years ago
Roberto Ierusalimschy f87057690b `io.lines' also can give the file name in its error message 21 years ago
Roberto Ierusalimschy 76d8b8db06 `lua_pushfstring' now supports `%p' option too 21 years ago
Roberto Ierusalimschy ce455481ab separation between io lib and os lib 21 years ago
Roberto Ierusalimschy 0733c83b8c other modules may need FILEHANDLE definition 21 years ago
Roberto Ierusalimschy e9844a4f1d `popen' is not ANSI and therefore was removed from the basic library 21 years ago
Roberto Ierusalimschy 37cd986532 in `time', uses default if `isdst' is absent 21 years ago
Roberto Ierusalimschy b4cd38ba6c new scheme for configuration through `luaconf.h' 21 years ago
Roberto Ierusalimschy 10de467c79 new function `lua_createtable' 21 years ago
Roberto Ierusalimschy 533737f26e new functions `lua_getfield' and `lua_setfield' 21 years ago
Roberto Ierusalimschy f04fe526cd new functions `lua_tointeger' and lua_pushinteger' 21 years ago
Roberto Ierusalimschy 64066359dd bug: IBM AS400 (OS400) has sizeof(void *)==16, and a `%p' may generate 22 years ago
Roberto Ierusalimschy 66ed154c89 details 22 years ago
Roberto Ierusalimschy 0ec4c473df bug: file:close cannot be called without a file. 22 years ago
Roberto Ierusalimschy f93051155c ok to use `#elif' and `#if defined()' 22 years ago
Roberto Ierusalimschy 524ae9fc3d new function `setvbuf' 22 years ago
Roberto Ierusalimschy 82dfacbcf7 detail 22 years ago
Roberto Ierusalimschy 26097b6c4b uses integers as keys to standard i/o files 22 years ago
Roberto Ierusalimschy 1a553f9199 better error messages 22 years ago
Roberto Ierusalimschy 40cfb0691e new auxiliary functions for `type' manipulation 22 years ago
Roberto Ierusalimschy 7ea180af6e detail 22 years ago
Roberto Ierusalimschy 05d567d52e `io.input'/`io.output' always return current file 22 years ago
Roberto Ierusalimschy 034de1fe73 new names for functions that open C libraries 22 years ago
Roberto Ierusalimschy 572bddc0b0 LUA_USETMPNAME -> USE_TMPNAME 22 years ago
Roberto Ierusalimschy 60d11ec316 by default, gcc does not get tmpname 22 years ago
Roberto Ierusalimschy 7285fa393b use C names for C types 22 years ago
Roberto Ierusalimschy 5085f09ce5 small optimizations 22 years ago
Roberto Ierusalimschy 9a5bab82ff use the more modern _POSIX_C_SOURCE instead of older _POSIX_SOURCE 22 years ago
Roberto Ierusalimschy 32fd039bb5 `openlib' functions return new module 22 years ago
Roberto Ierusalimschy 27c6b4d422 each .c file defines its own name 22 years ago
Roberto Ierusalimschy 90d7892007 new function `io.type' 22 years ago
Roberto Ierusalimschy 041cb96992 small bug: `write' must return three values in case of errors 22 years ago
Roberto Ierusalimschy d9340154ac `__tostring' for files + small bug (could do invalid read inside 22 years ago
Roberto Ierusalimschy 96ba5d0bc2 include file name in error messages 22 years ago
Roberto Ierusalimschy 097edd3884 better names for auxiliar functions 22 years ago
Roberto Ierusalimschy 6505503b49 do not pretend that file is closed when close fails 22 years ago
Roberto Ierusalimschy ec748fcb0a correct handling of opened files in presence of memory allocation 22 years ago
Roberto Ierusalimschy 669129a6d8 io.lines() iterate over the standard input file 22 years ago
Roberto Ierusalimschy e8f35fc4ff unification of __index & __gettable (and __newindex & __settable) 22 years ago
Roberto Ierusalimschy f6bc7884be new generators for reading a file line by line 22 years ago