Roberto Ierusalimschy
|
8f8665fffa
|
'ttypenv' -> 'ttnov'
|
12 years ago |
Roberto Ierusalimschy
|
75250a237c
|
typos in comments
|
12 years ago |
Roberto Ierusalimschy
|
7ea68d84c4
|
added comment
|
12 years ago |
Roberto Ierusalimschy
|
0e9167bc72
|
missing brackets in 'if' body (no bug, only 'luaC_checkfinalizer' is
called to do nothing)
|
12 years ago |
Roberto Ierusalimschy
|
52f9ccd298
|
removed unreacheable 'lua_unlock'
|
12 years ago |
Roberto Ierusalimschy
|
ad5da6ba14
|
API functions get acceptable indices except when not possible (when
they modify the value at that index) + new macro 'ispseudo' +
specific test 'api_checkstackindex'
|
12 years ago |
Roberto Ierusalimschy
|
cf160abcf9
|
no more macro 'changenvalue'
|
12 years ago |
Roberto Ierusalimschy
|
53480f1163
|
details (remove of some extra spaces)
|
12 years ago |
Roberto Ierusalimschy
|
cc2a60ecb7
|
bugs in yields inside debug hooks
|
13 years ago |
Roberto Ierusalimschy
|
21ed264a38
|
compensate for 'GCSTEPSIZE' in GC steps
|
13 years ago |
Roberto Ierusalimschy
|
086da10dac
|
merge of fields 'lastmajormem' (used in gen. mode) and 'estimate'
(used in inc. mode)
|
13 years ago |
Roberto Ierusalimschy
|
398811a313
|
simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' +
micro bug in 'luaC_checkfinalizer' (current sweep object could be
removed from 'allgc' list)
|
13 years ago |
Roberto Ierusalimschy
|
31829ad177
|
test for whether collector is running moved from function to
macro 'luaC_condGC'.
|
13 years ago |
Roberto Ierusalimschy
|
7bcb2462e4
|
comments
|
13 years ago |
Roberto Ierusalimschy
|
3617e04e97
|
'lua_load' has an extra argument 'mode'
|
13 years ago |
Roberto Ierusalimschy
|
b5d7255034
|
small changes to avoid some warnings
|
13 years ago |
Roberto Ierusalimschy
|
166ce15512
|
cannot apply macro 'getstr' over NULL
|
13 years ago |
Roberto Ierusalimschy
|
475e6c5352
|
'lua_setglobal/lua_getglobal' implemented as functions to avoid
problems with stack indices
(e.g., lua_getglobal(L, lua_tostring(L, -1)) )
|
13 years ago |
Roberto Ierusalimschy
|
af00a0772c
|
new functions lua_rawsetp/lua_rawgetp
|
13 years ago |
Roberto Ierusalimschy
|
e24f1ee9ff
|
lint (unreachable code)
|
13 years ago |
Roberto Ierusalimschy
|
ad90447eb6
|
detail: new macros for non-valid values
|
13 years ago |
Roberto Ierusalimschy
|
89b59eee73
|
bug: __newindex metamethod may not work if metatable is its own
metatable + luaV_settable does not create entry when there is a
metamethod (and therefore entry is useless)
|
13 years ago |
Roberto Ierusalimschy
|
92afcf2823
|
no more 'luaH_setstr (used only once) + 'luaH_setint' receives value
to be set.
|
13 years ago |
Roberto Ierusalimschy
|
fd80e63468
|
configuration for NaN trick big-endian + macro 'luai_checknum' to
ensure numbers comming from C are not "improper" (some kinds of
signaling NaNs)
|
14 years ago |
Roberto Ierusalimschy
|
3b44821334
|
stricter control (using tag variants) over closure kinds (Lua x C)
|
14 years ago |
Roberto Ierusalimschy
|
821bd7025e
|
more uniform names for 'equalobj'-related functions
|
14 years ago |
Roberto Ierusalimschy
|
9b7dddad7d
|
no need for two different implementations for equality (one raw and
one with metamethods)
|
14 years ago |
Roberto Ierusalimschy
|
119d5e46d5
|
lua_arith gets no fake operand for unary minus
|
14 years ago |
Roberto Ierusalimschy
|
868ff40339
|
full collection does not restart collector + avoid changing GC
state if an error happens in a step
|
14 years ago |
Roberto Ierusalimschy
|
551b076f1c
|
change in the relationship between totalbytes and GCdebt - luaM_realloc_
is too critical to update two counters
|
14 years ago |
Roberto Ierusalimschy
|
737f119187
|
better control for GC running or stopped
|
14 years ago |
Roberto Ierusalimschy
|
9b7a12c46d
|
finalizers (__gc) for tables
|
14 years ago |
Roberto Ierusalimschy
|
f1629217f1
|
code for conversion macros moved from luaconf to llimits + 'uint'
renamed to 'unsigned' in those macros
|
14 years ago |
Roberto Ierusalimschy
|
c6b64ffe65
|
new type lua_Unsigned and corresponding projection/injection functions
|
14 years ago |
Roberto Ierusalimschy
|
4590a89b32
|
corrected warnings from different compilers (mostly casts and small
details)
|
14 years ago |
Roberto Ierusalimschy
|
e3eabcf913
|
'lua_[gs]etupvalue' may work even without debug information
(that is, without upvalue names)
|
14 years ago |
Roberto Ierusalimschy
|
0df2238063
|
name "_ENV" configurable through 'luaconf.h'
|
14 years ago |
Roberto Ierusalimschy
|
6828f6d427
|
new parameter 'majorinc' to control frequency of major collections
in generational mode
|
14 years ago |
Roberto Ierusalimschy
|
5e7dbd0b8b
|
api checks to ensure that thread is OK when using lua_call/lua_pcall
|
14 years ago |
Roberto Ierusalimschy
|
8b7cf8c62d
|
'lua_[gs]etenv' -> 'lua_[gs]etuservalue'
|
14 years ago |
Roberto Ierusalimschy
|
a9dc7c8828
|
functions lua_tonumber/lua_tointeger replaced by lua_tonumberx/lua_tointegerx
that have an extra out parameter with conversion status
|
15 years ago |
Roberto Ierusalimschy
|
3819c30e55
|
better names for barrier macros
|
15 years ago |
Roberto Ierusalimschy
|
bd619b9311
|
new macro MAXUPVAL (maximum number of upvalues per closure)
|
15 years ago |
Roberto Ierusalimschy
|
4a925c1552
|
in 'absindex', do not need to call gettop (can inline it)
|
15 years ago |
Roberto Ierusalimschy
|
e924a7f9ea
|
new API function 'lua_absindex'
|
15 years ago |
Roberto Ierusalimschy
|
8e1bdda66a
|
stupid bug when calling 'luaC_changemode' (in function lua_gc)
|
15 years ago |
Roberto Ierusalimschy
|
d77898597e
|
new function 'luaC_changemode'
|
15 years ago |
Roberto Ierusalimschy
|
3eb1788bb4
|
new way to control GC speed (keeping a 'debt' counter)
|
15 years ago |
Roberto Ierusalimschy
|
ed720d09f3
|
upvalue barriers for Lua functions must act on the upvalue itself,
not on its closure
|
15 years ago |
Roberto Ierusalimschy
|
1bb407e494
|
in lua_gc/step, 'luaC_step' changes GCthreshold, so there was little
control over the real step size.
|
15 years ago |