Roberto Ierusalimschy
|
2f02d264e9
initial '*' in 'io.read' formats is deprecated
|
11 年之前 |
Roberto Ierusalimschy
|
16f8e44924
with 64-bit integers, file offsets do not need to be floats
|
11 年之前 |
Roberto Ierusalimschy
|
a39489194e
changing prefix of configurable macros from "lua_" to "l_"
|
11 年之前 |
Roberto Ierusalimschy
|
c5bb3643ab
simpler code to read a line from a file (using 'getc' or, if present,
|
11 年之前 |
Roberto Ierusalimschy
|
c6c41e85b2
more uniformity for defining system-dependent features
|
11 年之前 |
Roberto Ierusalimschy
|
5715de344f
'read_all' does not need to grow buffer, as 'luaL_prepbuffsize'
|
11 年之前 |
Roberto Ierusalimschy
|
67c5de9283
comment
|
11 年之前 |
Roberto Ierusalimschy
|
48adb6984c
'io.write' writes integers directly (and correctly)
|
12 年之前 |
Roberto Ierusalimschy
|
27f09415e3
new read format "*i" for reading integers
|
12 年之前 |
Roberto Ierusalimschy
|
49c1607157
_FILE_OFFSET_BITS usually also needs _LARGEFILE_SOURCE + easier to
|
12 年之前 |
Roberto Ierusalimschy
|
c8e96d6e91
logic for checking mode for 'fopen' moved to macro 'lua_checkmode'
|
12 年之前 |
Roberto Ierusalimschy
|
3f6f78ea0b
detail (error message)
|
12 年之前 |
Roberto Ierusalimschy
|
76492b4bb2
macro 'lua_checkmode' + typos in comments
|
12 年之前 |
Roberto Ierusalimschy
|
b0cbe77816
'_fseeki64' and family not available in all Windows platforms
|
13 年之前 |
Roberto Ierusalimschy
|
eb70f58279
'luaIO_Stream' -> 'luaL_Stream'
|
13 年之前 |
Roberto Ierusalimschy
|
ef900f224c
strutcture for file handles exported in 'lauxlib.h'
|
13 年之前 |
Roberto Ierusalimschy
|
ea382b0be1
small bug: error message in 'io.lines' is not the error number
|
13 年之前 |
Roberto Ierusalimschy
|
5ea8f108e1
using 'long' versions of 'fseek'/'ftell' when available
|
14 年之前 |
Roberto Ierusalimschy
|
ae14adc272
better error message when trying to open files
|
14 年之前 |
Roberto Ierusalimschy
|
ff98f17d27
detail: factoring in common code for opening files and checking for
|
14 年之前 |
Roberto Ierusalimschy
|
594220c624
use standard "underscore + uppercases" for reserved keys in the registry
|
14 年之前 |
Roberto Ierusalimschy
|
801f43f09a
change in the representation of file handles
|
14 年之前 |
Roberto Ierusalimschy
|
d806710ab5
returns for file-related functions and process-related functions
|
14 年之前 |
Roberto Ierusalimschy
|
03b769053a
correct interpretation of return value from pclose
|
14 年之前 |
Roberto Ierusalimschy
|
7b968bb514
p-close returns "correct" status plus type of termination
|
14 年之前 |
Roberto Ierusalimschy
|
c4ea0c3b29
detail (cleaning trailing spaces)
|
14 年之前 |
Roberto Ierusalimschy
|
c97aa9485c
new function 'luaL_setmetatable'
|
14 年之前 |
Roberto Ierusalimschy
|
fa1f724378
when reading blocks with given size, try to read whole block
|
14 年之前 |
Roberto Ierusalimschy
|
700b003fb5
when reading large files, double buffer size at each iteration
|
14 年之前 |
Roberto Ierusalimschy
|
4590a89b32
corrected warnings from different compilers (mostly casts and small
|
14 年之前 |