Roberto Ierusalimschy
|
063d4e4543
Lua 5.3.5 ported to git
|
6 年之前 |
Roberto Ierusalimschy
|
7d6b78ee79
in 'table.move', destination table can be source table even if
|
9 年之前 |
Roberto Ierusalimschy
|
f79b4568ae
details (removed silly use of 'luaL_opt' + better error messages
|
9 年之前 |
Roberto Ierusalimschy
|
e383941652
in 'table.sort': 'typedef' for type of indices + removed stack check
|
9 年之前 |
Roberto Ierusalimschy
|
5936eb16d8
randomness in 'table.sort' used only when needed (big imbalance in
|
9 年之前 |
Roberto Ierusalimschy
|
7dc3ca7b8e
handling 'clock_t' and 'time_t' correctly in ISO C point of view
|
9 年之前 |
Roberto Ierusalimschy
|
c231a5e2b6
using unsigned int (instead of int) in 'table.sort' to avoid overflows
|
9 年之前 |
Roberto Ierusalimschy
|
dc9ac5b8c2
details (merging declarations with initialization)
|
9 年之前 |
Roberto Ierusalimschy
|
146508b28e
randomness in pivot for 'table.sort' done by a macro (easier to change)
|
9 年之前 |
Roberto Ierusalimschy
|
bde03eeb48
in 'table.sort': tighter checks for invalid order function +
|
9 年之前 |
Roberto Ierusalimschy
|
02340375be
janitor work on 'table.sort': added comments, partition code moved
|
9 年之前 |
Roberto Ierusalimschy
|
0f1f51be4b
'table.move' tries to copy elements in increasing order
|
10 年之前 |
Roberto Ierusalimschy
|
bda83e22c0
'tablib' does not try to use raw operations when possible: fast
|
10 年之前 |
Roberto Ierusalimschy
|
8217e0d4fe
avoid subtle possibility of arithmetic overflow
|
10 年之前 |
Roberto Ierusalimschy
|
ae27be40c9
better check for overflows in 'table.move' (removes restriction that
|
10 年之前 |
Roberto Ierusalimschy
|
28fdbcf393
added include for 'lprefix.h', for stuff that must be added before
|
10 年之前 |
Roberto Ierusalimschy
|
bdf566a8a3
`name' in comments changed to 'name'
|
10 年之前 |
Roberto Ierusalimschy
|
f97c64d7bf
macros 'LUA_QL'/'LUA_QL' deprecated
|
10 年之前 |
Roberto Ierusalimschy
|
6384475ec4
'luaL_getmetafield' returns type of metafield (instead of a boolean)
|
11 年之前 |
Roberto Ierusalimschy
|
7f1a2ad699
new functions 'lua_geti/lua_seti' (non raw)
|
11 年之前 |
Roberto Ierusalimschy
|
a1ab5ab396
'table.copy' -> 'table.move' + optional parameter moved to the end +
|
11 年之前 |
Roberto Ierusalimschy
|
3ccbae84d2
added some casts between integral types (to avoid warnings)
|
11 年之前 |
Roberto Ierusalimschy
|
03bbe1baf1
first implementation for 'table.copy'
|
11 年之前 |
Roberto Ierusalimschy
|
a9af12bbe7
Table library now respects '__index'/'__newindex' metamethods
|
11 年之前 |
Roberto Ierusalimschy
|
17159b491c
more direct implementation of 'table.pack'
|
11 年之前 |
Roberto Ierusalimschy
|
b390d7c168
detail (avoid "casting down" in case lua_Integer is smaller than int)
|
11 年之前 |
Roberto Ierusalimschy
|
9737832641
'int' -> 'lua_Integer' in several functions
|
11 年之前 |
Roberto Ierusalimschy
|
315c5bf7b7
bug: compiler could optimize away overflow check (+ changing indices
|
11 年之前 |
Roberto Ierusalimschy
|
da4811238a
details (typos in comments)
|
11 年之前 |
Roberto Ierusalimschy
|
15a3738b49
no need to handle 0 as a special case in 'table.remove'
|
12 年之前 |