240 Commits (6e899850b9178f934829c36aecb77cb2b9be6a05)

Author SHA1 Message Date
Roberto Ierusalimschy eb70f58279 'luaIO_Stream' -> 'luaL_Stream' 13 years ago
Roberto Ierusalimschy ef900f224c strutcture for file handles exported in 'lauxlib.h' 13 years ago
Roberto Ierusalimschy ea382b0be1 small bug: error message in 'io.lines' is not the error number 13 years ago
Roberto Ierusalimschy 5ea8f108e1 using 'long' versions of 'fseek'/'ftell' when available 13 years ago
Roberto Ierusalimschy ae14adc272 better error message when trying to open files 13 years ago
Roberto Ierusalimschy ff98f17d27 detail: factoring in common code for opening files and checking for 13 years ago
Roberto Ierusalimschy 594220c624 use standard "underscore + uppercases" for reserved keys in the registry 14 years ago
Roberto Ierusalimschy 801f43f09a change in the representation of file handles 14 years ago
Roberto Ierusalimschy d806710ab5 returns for file-related functions and process-related functions 14 years ago
Roberto Ierusalimschy 03b769053a correct interpretation of return value from pclose 14 years ago
Roberto Ierusalimschy 7b968bb514 p-close returns "correct" status plus type of termination 14 years ago
Roberto Ierusalimschy c4ea0c3b29 detail (cleaning trailing spaces) 14 years ago
Roberto Ierusalimschy c97aa9485c new function 'luaL_setmetatable' 14 years ago
Roberto Ierusalimschy fa1f724378 when reading blocks with given size, try to read whole block 14 years ago
Roberto Ierusalimschy 700b003fb5 when reading large files, double buffer size at each iteration 14 years ago
Roberto Ierusalimschy 4590a89b32 corrected warnings from different compilers (mostly casts and small 14 years ago
Roberto Ierusalimschy d447945685 'module'/'luaL_register' and associates are deprecated 14 years ago
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