223 Commits (78f9635111ec647719bb1b1622b1cb6f47ef1be1)

Author SHA1 Message Date
Roberto Ierusalimschy 8b7cf8c62d 'lua_[gs]etenv' -> 'lua_[gs]etuservalue' 14 years ago
Roberto Ierusalimschy 7192afafee new module policy: C modules do not create globals and do not register 15 years ago
Roberto Ierusalimschy 064e406f67 no more fenvs! 15 years ago
Roberto Ierusalimschy 1514e49d43 avoid using function environments in C libraries (as it probably will 15 years ago
Roberto Ierusalimschy ae0a5e2142 new option '*L' for io.read + options for io.lines 15 years ago
Roberto Ierusalimschy c3a6f3fa1c 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len' 15 years ago
Roberto Ierusalimschy b3b8dfaaea yet more options moved from luaconf.h into internal files 15 years ago
Roberto Ierusalimschy a6f465f558 new mark LUAMOD_API for all luaopen_* functions 15 years ago
Roberto Ierusalimschy d9fbbe1f23 "file:write" returns "file" in case of success 15 years ago
Roberto Ierusalimschy 5b6be84106 ensures that argument 'mode' to 'io.open' matches "[rwa]%+?b?", to 15 years ago
Roberto Ierusalimschy e39e758a73 closing a "popen" file returns the process exit status 16 years ago
Roberto Ierusalimschy f86f4116c8 micro-optimization: avoid one API call in 'read_chars' 17 years ago
Roberto Ierusalimschy 7f69f0efb0 remove of useless test in 'read_chars' (if n == 0 then the resulting 17 years ago
Roberto Ierusalimschy dae850e0ee details 17 years ago
Roberto Ierusalimschy 79cb336d74 does not allow standard files to be closed 18 years ago
Roberto Ierusalimschy d22526ec30 'lua_strlen' is for compatibility only 18 years ago
Roberto Ierusalimschy ee41bc03ab details 19 years ago
Roberto Ierusalimschy 55e323190e files should not be operated after fclose, even when fclose fails 19 years ago
Roberto Ierusalimschy 64205e91a3 empty string may cause out-of-bound access 19 years ago
Roberto Ierusalimschy baffc37f5c detail 19 years ago
Roberto Ierusalimschy bfdcbbcd76 small optimizations (lua_newtable -> lua_createtable) 19 years ago
Roberto Ierusalimschy ed7039024d avoid some warnings 19 years ago
Roberto Ierusalimschy ebf646efb5 detail 19 years ago
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