285 Commits (32fef6074325f7fa464c4e9371867777ad74cd29)

Author SHA1 Message Date
Roberto Ierusalimschy d266d40dea error when calling close method without arguments (e.g., 8 years ago
Roberto Ierusalimschy 9903dd52a3 Using LUAI_UAC* types more consistently on vararg calls 8 years ago
Roberto Ierusalimschy 3b91b07fd9 detail (macro 'l_checkmode' reimplemented as function) 8 years ago
Roberto Ierusalimschy f3b52a6061 'io.read("n")' accepts both a dot and the locale point as its 9 years ago
Roberto Ierusalimschy 71344b5cac easy the way to accept other modifiers for 'mode' in 'io.open' 9 years ago
Roberto Ierusalimschy 050e8536bb bug: 'io.lines' does not check maximum number of options 9 years ago
Roberto Ierusalimschy 5b6ac971f9 detail (comment) 9 years ago
Roberto Ierusalimschy 43cff79bf7 detail 10 years ago
Roberto Ierusalimschy 48d0674c2e more consistent use of locale radix character across Lua 10 years ago
Roberto Ierusalimschy d7d44b038d detail (use 'lua_pushliteral' to push an empty string) 10 years ago
Roberto Ierusalimschy 234fb7f695 clearer(?) code (also avoids a warning about 'c' being used 10 years ago
Roberto Ierusalimschy 1735c05ac7 avoid memory errors while a file is locked (when reading a line) 10 years ago
Roberto Ierusalimschy e75c0148c3 comments (references to "ANSI C" changed to "ISO C", which is the 10 years ago
Roberto Ierusalimschy 28fdbcf393 added include for 'lprefix.h', for stuff that must be added before 10 years ago
Roberto Ierusalimschy 1a69a3ecea LUA_WIN -> LUA_USE_WINDOWS 10 years ago
Roberto Ierusalimschy bdf566a8a3 `name' in comments changed to 'name' 10 years ago
Roberto Ierusalimschy 88ff582fd8 detail (using 'sizeof' instead of 'strlen' for length of a constant 10 years ago
Roberto Ierusalimschy 6b12b82532 added 'l_' prefix for names that can be redefined externally 10 years ago
Roberto Ierusalimschy 0d31efb365 'lua_stringtonum' -> 'lua_stringtonumber' 10 years ago
Roberto Ierusalimschy f97c64d7bf macros 'LUA_QL'/'LUA_QL' deprecated 10 years ago
Roberto Ierusalimschy 89602bf747 'lua_strtonum' -> 'lua_stringtonum' 10 years ago
Roberto Ierusalimschy 2f4d429071 details (comments) 10 years ago
Roberto Ierusalimschy 27f7bd2e83 detail 10 years ago
Roberto Ierusalimschy 56699cd603 small change to avoid bug in some versions of the clang compiler 10 years ago
Roberto Ierusalimschy 3ccbae84d2 added some casts between integral types (to avoid warnings) 10 years ago
Roberto Ierusalimschy b9dcf9974d detail (typos in comments) 11 years ago
Roberto Ierusalimschy e9d86eddf3 if numeral overflows the reading buffer, signal it as invalid input 11 years ago
Roberto Ierusalimschy e966e53791 no more use of 'scanf' for reading numbers 11 years ago
Roberto Ierusalimschy 1ddb251d86 using a more conventional handling of stack space in 'io_readline' 11 years ago
Roberto Ierusalimschy 5a5a834975 new API function 'lua_rotate' 11 years ago
Roberto Ierusalimschy 626124d2d8 old POSIX systems need '<sys/types.h>' for 'off_t' 11 years ago
Roberto Ierusalimschy 2f02d264e9 initial '*' in 'io.read' formats is deprecated 11 years ago
Roberto Ierusalimschy 16f8e44924 with 64-bit integers, file offsets do not need to be floats 11 years ago
Roberto Ierusalimschy a39489194e changing prefix of configurable macros from "lua_" to "l_" 11 years ago
Roberto Ierusalimschy c5bb3643ab simpler code to read a line from a file (using 'getc' or, if present, 11 years ago
Roberto Ierusalimschy c6c41e85b2 more uniformity for defining system-dependent features 11 years ago
Roberto Ierusalimschy 5715de344f 'read_all' does not need to grow buffer, as 'luaL_prepbuffsize' 11 years ago
Roberto Ierusalimschy 67c5de9283 comment 11 years ago
Roberto Ierusalimschy 48adb6984c 'io.write' writes integers directly (and correctly) 12 years ago
Roberto Ierusalimschy 27f09415e3 new read format "*i" for reading integers 12 years ago
Roberto Ierusalimschy 49c1607157 _FILE_OFFSET_BITS usually also needs _LARGEFILE_SOURCE + easier to 12 years ago
Roberto Ierusalimschy c8e96d6e91 logic for checking mode for 'fopen' moved to macro 'lua_checkmode' 12 years ago
Roberto Ierusalimschy 3f6f78ea0b detail (error message) 12 years ago
Roberto Ierusalimschy 76492b4bb2 macro 'lua_checkmode' + typos in comments 12 years ago
Roberto Ierusalimschy b0cbe77816 '_fseeki64' and family not available in all Windows platforms 13 years ago
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