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
|
14 years ago |
Roberto Ierusalimschy
|
ae14adc272
better error message when trying to open files
|
14 years ago |
Roberto Ierusalimschy
|
ff98f17d27
detail: factoring in common code for opening files and checking for
|
14 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
|
15 years ago |
Roberto Ierusalimschy
|
8b7cf8c62d
'lua_[gs]etenv' -> 'lua_[gs]etuservalue'
|
15 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 |