Roberto Ierusalimschy
|
e976384213
keep chunk's headers compatible at least up to LUAC_VERSION (to be
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
68f4ccdd00
make sure that LUAC_INT is a lua_Integer and that LUAC_NUM is
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
342a936599
detail (breaking too long lines)
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
901da539e5
no need to avoid negative ints in 'LoadInt'
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
197e249433
"indent -kr -i2 -br -brf -nut" plus a few manual formating
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
2aff75f58e
small bug (from revision 2.80): LUA_OP* constants are not from
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
cd12410195
new macro 'cast_void'
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
c5bb3643ab
simpler code to read a line from a file (using 'getc' or, if present,
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
5ff1c18a71
back with 'L' for macros 'luai_num*', but now with a new macro
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
99ac4a260f
'constfolding' passes a proper Lua state to 'luaO_arith'
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
fa7e77fd38
detail ('codearith' uses 'LUA_OP*' constants instead of 'OP_*')
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
f69e0ade19
no need to store a full 'size_t' fo the size of (frequent) small strings
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
99a1c06ea3
more regularity with vectors + sizeof computed by the macros themselves
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
93e28031de
all chars used in binary dumps are unsigned ('lu_byte')
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
de84b3fecb
store number of upvalues of main function in front of the dump,
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
054179c2ff
more explicit handling of headers for binary chunks
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
986c11daa6
removal of weird construction in definition of LUA_STRFTIMEOPTIONS
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
c6c41e85b2
more uniformity for defining system-dependent features
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
87c930676f
detail (comments)
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
11e762dbcd
added macro MAX_UINTEGER
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
5c9cb5f0b1
detail (comment)
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
fed236ca7f
detail (unknown lines are marked as -1, not 0)
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
295f7ac04e
added 'stip' parameter to lua_dump/string.dump
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
6318de80d3
added 'strip' parameter to lua_dump/string.dump
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
5715de344f
'read_all' does not need to grow buffer, as 'luaL_prepbuffsize'
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
c86b9da022
userdata can have any Lua value as uservalue
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
a4c6dcf999
detail (better error messages for light userdata)
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
3f78de256e
no need to keep threads in a different GC list, now that there is the
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
d764cc5522
new list 'twups' to allow traversal of upvalues from dead threads
|
11 gadi atpakaļ |
Roberto Ierusalimschy
|
ffa96d988d
field 'op' renamed to 'open'
|
11 gadi atpakaļ |