173 Commits (26097b6c4b28ddbf0c0d869dd657c6e00fa57a37)

Author SHA1 Message Date
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
Roberto Ierusalimschy 81a8845e4f detail 23 years ago
Roberto Ierusalimschy 576bded513 details 23 years ago
Roberto Ierusalimschy 2e38c6ae5a `luadebug.h' content now is included in `lua.h' 23 years ago
Roberto Ierusalimschy 79c8edb6c4 new names for light userdata operations 23 years ago
Roberto Ierusalimschy ce6b930464 `isdst' should be a boolean (and not 0/1!!) 23 years ago
Roberto Ierusalimschy 88607acc2c details 23 years ago
Roberto Ierusalimschy d8678edddc luaL_verror -> luaL_error 23 years ago
Roberto Ierusalimschy 000d081fd0 warnings from other compilers 23 years ago
Roberto Ierusalimschy e3cddc950c C is not C++... 23 years ago
Roberto Ierusalimschy 5a8f383e60 io.close() closes standard output file; `close' now is method 23 years ago
Roberto Ierusalimschy 5b8ee9fa8d new names for standard libraries 23 years ago
Roberto Ierusalimschy a102221a0b better error messages 23 years ago
Roberto Ierusalimschy 71144e3ff0 errors `return' int, to avoid warnings 23 years ago
Roberto Ierusalimschy 85dcb411a8 all textual errors go through `luaL_verror' 23 years ago
Roberto Ierusalimschy 1ce6cb6032 no more option `*u' in read (too complex) 23 years ago
Roberto Ierusalimschy 237969724f support for `light' userdata + simpler support for `boxed' udata 23 years ago
Roberto Ierusalimschy c3b90061ea new design for iolib (object style) 23 years ago
Roberto Ierusalimschy d1f220217b when possible, library functions accept nil as none 23 years ago
Roberto Ierusalimschy 88c9bf99de standard libraries in packages 23 years ago
Roberto Ierusalimschy 252e01e398 `setlocale' may be used to query the current locale 23 years ago
Roberto Ierusalimschy 86a4de256e no more lua_[gs]etstr 23 years ago
Roberto Ierusalimschy d6fd33e76f `eventtable' renamed to `metatable' 23 years ago
Roberto Ierusalimschy 09e15692f3 rename of lua_isnull to lua_isnone 23 years ago
Roberto Ierusalimschy 9cd36059ad new API functions lua_getstr/lua_setstr 23 years ago
Roberto Ierusalimschy 592a309177 tag system replaced by event tables 23 years ago
Roberto Ierusalimschy 72659a0605 no more explicit support for wide-chars; too much troble... 23 years ago
Roberto Ierusalimschy 070204300c more consistent names for auxlib functions 23 years ago