Roberto Ierusalimschy
|
f5073de0a7
'ipairs' goes until length of array instead of stopping at the first nil
|
16 лет назад |
Roberto Ierusalimschy
|
f6ed285cf2
new hash for doubles based on frexp, to avoid low-level tricks
|
16 лет назад |
Roberto Ierusalimschy
|
1448e736f0
better documentation for constructor syntax
|
16 лет назад |
Roberto Ierusalimschy
|
6e415e9387
local function definition does not need to correct debug information
|
16 лет назад |
Roberto Ierusalimschy
|
b114c99a60
two small bugs: 'debug.getinfo' did not consider negative indices as out
|
16 лет назад |
Roberto Ierusalimschy
|
916587508c
parser keeps list of active local variables in a single dynamic array,
|
16 лет назад |
Roberto Ierusalimschy
|
a5382b763c
new function lua_copy
|
16 лет назад |
Roberto Ierusalimschy
|
ba21aa8b2b
'cpcall' must ensure correct environment for called function
|
16 лет назад |
Roberto Ierusalimschy
|
d119cf3035
a few more instructions to testC (func2udata and getfield)
|
16 лет назад |
Roberto Ierusalimschy
|
0ac3d07ea6
first implementation of lexical environments
|
16 лет назад |
Roberto Ierusalimschy
|
5938212748
information about upvalues (where they come from) kept in Proto structure,
|
16 лет назад |
Roberto Ierusalimschy
|
1829911d7c
some operations may shrink g->totalbytes so g->estimate must be
|
16 лет назад |
Roberto Ierusalimschy
|
bed2cb725a
initialize g->estimate (just in case)
|
16 лет назад |
Roberto Ierusalimschy
|
ab75bd23ee
handle extended opcodes (with OP_EXTRAARG) when checking metamethod
|
16 лет назад |
Roberto Ierusalimschy
|
cee94df6e0
function list in luaL_register may be NULL for an empty list
|
16 лет назад |
Roberto Ierusalimschy
|
fcc46467fa
limit of constants per function changed to 2^26 using extra arguments
|
16 лет назад |
Roberto Ierusalimschy
|
f8e354e240
detail (space between function name and its parameter list)
|
16 лет назад |
Roberto Ierusalimschy
|
a650378822
'cpcall' reimplemented as a predefined value in the registry
|
16 лет назад |
Roberto Ierusalimschy
|
99182c6872
references must start after predefined values in the registry
|
16 лет назад |
Roberto Ierusalimschy
|
67cae2854c
'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREAD
|
16 лет назад |
Roberto Ierusalimschy
|
0e45ffb8e4
first implementation of 'lua_yieldk' (yield with continuation)
|
16 лет назад |
Roberto Ierusalimschy
|
071e54ae0b
extra facilities to testC: comments + commands print, callk and yield +
|
16 лет назад |
Roberto Ierusalimschy
|
a68494fb32
'debug.[gs]etupvalue' should be able to access C upvalues too
|
16 лет назад |
Roberto Ierusalimschy
|
4b44793dc5
"bug": lua_createtable with sizes changed (array <-> record)
|
16 лет назад |
Roberto Ierusalimschy
|
90e2a716c8
details + comments
|
16 лет назад |
Roberto Ierusalimschy
|
d9fbbe1f23
"file:write" returns "file" in case of success
|
16 лет назад |
Roberto Ierusalimschy
|
4a714cebd1
API checks now have explanatory messages
|
16 лет назад |
Roberto Ierusalimschy
|
5b6be84106
ensures that argument 'mode' to 'io.open' matches "[rwa]%+?b?", to
|
16 лет назад |
Roberto Ierusalimschy
|
b2bb2f7f59
better machinery to test continuations in the C API
|
16 лет назад |
Roberto Ierusalimschy
|
f096ab5421
correct way to check arguments to 'strftime'
|
16 лет назад |