Roberto Ierusalimschy
|
b51d76ce8d
when doing hard memory tests, perform a full GC at every possible step
|
15 年 前 |
Roberto Ierusalimschy
|
95020afb63
'module' returns the new module (to be used with lexical environments)
|
15 年 前 |
Roberto Ierusalimschy
|
c5050b1c41
functions 'getfenv' and 'setfenv' are deprecated
|
15 年 前 |
Roberto Ierusalimschy
|
b9063a08f5
new function 'loadin'
|
15 年 前 |
Roberto Ierusalimschy
|
7fe405739c
renaming: 'lua_upvaladdr' -> 'lua_upvalueid',
|
15 年 前 |
Roberto Ierusalimschy
|
1ce819333d
new option 'isrunning' for 'lua_gc' (and 'collectgarbage')
|
15 年 前 |
Roberto Ierusalimschy
|
88eb901f81
registry and global table may be changed through the API without a
|
15 年 前 |
Roberto Ierusalimschy
|
2583bac3d3
several small changes to simplify changing TValue if needed
|
15 年 前 |
Roberto Ierusalimschy
|
63a3b1a1eb
macro 'checkvalref' redefined as function (to avoid too long macros)
|
15 年 前 |
Roberto Ierusalimschy
|
fbf866a1a5
macro 'gkey' returns a "real" TValue*
|
15 年 前 |
Roberto Ierusalimschy
|
49a67c6d3f
new macro 'NILCONSTANT' to initialize nil constants
|
15 年 前 |
Roberto Ierusalimschy
|
a921d81033
avoid using 'ttype' when there is an explicit test + macro 'checkdeadkey'
|
15 年 前 |
Roberto Ierusalimschy
|
155dd01163
avoid using 'ttype' when there is an explicit test
|
15 年 前 |
Roberto Ierusalimschy
|
599789a907
better to enclose macros in 'if' bodies with brackets
|
15 年 前 |
Roberto Ierusalimschy
|
9756f56354
better control over accesses to TValue fields
|
15 年 前 |
Roberto Ierusalimschy
|
b7d5f18d71
api functions to manipulate upvalues do not need to check their
|
15 年 前 |
Roberto Ierusalimschy
|
5598b2bc55
new functions to identify and join upvalues
|
15 年 前 |
Roberto Ierusalimschy
|
77077b39d5
comment explaining OP_VARARG was wrong (and corresponding code was not
|
15 年 前 |
Roberto Ierusalimschy
|
5bc91c6405
no more one environment per thread: all threads share a single global
|
16 年 前 |
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 年 前 |