Roberto Ierusalimschy
|
738b3b64af
|
detail (to avoid warnings with '-O3')
|
11 years ago |
Roberto Ierusalimschy
|
363b525c23
|
does not create library when it is deprecated
|
11 years ago |
Roberto Ierusalimschy
|
469daa16ee
|
configuration for Lua type corresponding to 'time_t'
|
11 years ago |
Roberto Ierusalimschy
|
7707f3e7c3
|
'posrelat' -> 'u_posrelat' (to avoid name conflict in 'one.c')
|
11 years ago |
Roberto Ierusalimschy
|
16f8e44924
|
with 64-bit integers, file offsets do not need to be floats
|
11 years ago |
Roberto Ierusalimschy
|
2f5f77788f
|
removed function 'luaS_eqstr' (not used anywhere)
|
11 years ago |
Roberto Ierusalimschy
|
ed795d5ff4
|
detail (removed unused prototype)
|
11 years ago |
Roberto Ierusalimschy
|
282d67d8fc
|
bitlib has been deprecated
|
11 years ago |
Roberto Ierusalimschy
|
114d10cbc5
|
detail (comment)
|
11 years ago |
Roberto Ierusalimschy
|
9f3f5b6f41
|
details
|
11 years ago |
Roberto Ierusalimschy
|
a39489194e
|
changing prefix of configurable macros from "lua_" to "l_"
|
11 years ago |
Roberto Ierusalimschy
|
a3addae036
|
lua_gettable and similars return type of gotten value
|
11 years ago |
Roberto Ierusalimschy
|
ad40bb1181
|
detail in string.rep: allow large repetitions of the empty string (no
possibility of overflows)
|
11 years ago |
Roberto Ierusalimschy
|
80fe8504f5
|
make all dumps/loads go trhough Load/DumpVector (so it is easier
to adapt the code to correct endianess, if needed)
|
11 years ago |
Roberto Ierusalimschy
|
e976384213
|
keep chunk's headers compatible at least up to LUAC_VERSION (to be
able to detect correctly version mismatches)
|
11 years ago |
Roberto Ierusalimschy
|
68f4ccdd00
|
make sure that LUAC_INT is a lua_Integer and that LUAC_NUM is
a lua_Number
|
11 years ago |
Roberto Ierusalimschy
|
342a936599
|
detail (breaking too long lines)
|
11 years ago |
Roberto Ierusalimschy
|
901da539e5
|
no need to avoid negative ints in 'LoadInt'
|
11 years ago |
Roberto Ierusalimschy
|
197e249433
|
"indent -kr -i2 -br -brf -nut" plus a few manual formating
|
11 years ago |
Roberto Ierusalimschy
|
2aff75f58e
|
small bug (from revision 2.80): LUA_OP* constants are not from
enumeration 'Opcode' (they are integers)
|
11 years ago |
Roberto Ierusalimschy
|
cd12410195
|
new macro 'cast_void'
|
11 years ago |
Roberto Ierusalimschy
|
c5bb3643ab
|
simpler code to read a line from a file (using 'getc' or, if present,
'getc_unlocked')
|
11 years ago |
Roberto Ierusalimschy
|
5ff1c18a71
|
back with 'L' for macros 'luai_num*', but now with a new macro
'luai_numinvalidop' to protect constant folding
|
11 years ago |
Roberto Ierusalimschy
|
99ac4a260f
|
'constfolding' passes a proper Lua state to 'luaO_arith'
|
11 years ago |
Roberto Ierusalimschy
|
fa7e77fd38
|
detail ('codearith' uses 'LUA_OP*' constants instead of 'OP_*')
|
11 years ago |
Roberto Ierusalimschy
|
f69e0ade19
|
no need to store a full 'size_t' fo the size of (frequent) small strings
|
11 years ago |
Roberto Ierusalimschy
|
99a1c06ea3
|
more regularity with vectors + sizeof computed by the macros themselves
|
11 years ago |
Roberto Ierusalimschy
|
93e28031de
|
all chars used in binary dumps are unsigned ('lu_byte')
|
11 years ago |
Roberto Ierusalimschy
|
de84b3fecb
|
store number of upvalues of main function in front of the dump,
so that undump can create initial closure before reading its prototype
|
11 years ago |
Roberto Ierusalimschy
|
054179c2ff
|
more explicit handling of headers for binary chunks
|
11 years ago |
Roberto Ierusalimschy
|
986c11daa6
|
removal of weird construction in definition of LUA_STRFTIMEOPTIONS
(two empty strings concatenated as in "" "")
|
11 years ago |
Roberto Ierusalimschy
|
c6c41e85b2
|
more uniformity for defining system-dependent features
|
11 years ago |
Roberto Ierusalimschy
|
87c930676f
|
detail (comments)
|
11 years ago |
Roberto Ierusalimschy
|
11e762dbcd
|
added macro MAX_UINTEGER
|
11 years ago |
Roberto Ierusalimschy
|
5c9cb5f0b1
|
detail (comment)
|
11 years ago |
Roberto Ierusalimschy
|
fed236ca7f
|
detail (unknown lines are marked as -1, not 0)
|
11 years ago |
Roberto Ierusalimschy
|
295f7ac04e
|
added 'stip' parameter to lua_dump/string.dump
|
11 years ago |
Roberto Ierusalimschy
|
6318de80d3
|
added 'strip' parameter to lua_dump/string.dump
|
11 years ago |
Roberto Ierusalimschy
|
5715de344f
|
'read_all' does not need to grow buffer, as 'luaL_prepbuffsize'
already does that
|
11 years ago |
Roberto Ierusalimschy
|
c86b9da022
|
userdata can have any Lua value as uservalue
|
11 years ago |
Roberto Ierusalimschy
|
a4c6dcf999
|
detail (better error messages for light userdata)
|
11 years ago |
Roberto Ierusalimschy
|
3f78de256e
|
no need to keep threads in a different GC list, now that there is the
'twups' list
|
11 years ago |
Roberto Ierusalimschy
|
d764cc5522
|
new list 'twups' to allow traversal of upvalues from dead threads
(+ fixed some problems with cycles involving those upvalues)
|
11 years ago |
Roberto Ierusalimschy
|
ffa96d988d
|
field 'op' renamed to 'open'
|
11 years ago |
Roberto Ierusalimschy
|
6a24bd17a8
|
no more second result from 'collectgarbage"count"' (as Lua seldom
will need lua_Number to be an integer)
|
11 years ago |
Roberto Ierusalimschy
|
1cce3e6842
|
change in the way 'collectgarbage("step", size)' interprets 'size'
(mimicking the way the GC itself behaves when Lua allocates 'size'
Kbytes)
|
11 years ago |
Roberto Ierusalimschy
|
0b04c561f5
|
new syntax for Unicode escape '\u{012F}'
|
11 years ago |
Roberto Ierusalimschy
|
90b0ac6495
|
limit to 'gcstepmul' imposed by 'lua_gc' (+ some details in 'lgc.c')
|
11 years ago |
Roberto Ierusalimschy
|
de3b1c9b53
|
better control for number of finalizers called at each GC cycle
(increases progressively)
|
11 years ago |
Roberto Ierusalimschy
|
733c58595b
|
no more local collection
|
11 years ago |