Roberto Ierusalimschy
|
77e786d436
|
stupid bug in T.stacklevel (not in use by the tests)
|
10 years ago |
Roberto Ierusalimschy
|
741ad97e92
|
new parameter for testC instruction 'pcall' (error handler)
|
10 years ago |
Roberto Ierusalimschy
|
177807f21e
|
casts ('(int)' -> 'cast_int')
|
10 years ago |
Roberto Ierusalimschy
|
fd179ab4b8
|
clearer notation for "compare" instruction
|
10 years ago |
Roberto Ierusalimschy
|
5bdfefd3a5
|
allows calling luaL_checkstack with no message (in runC)
|
10 years ago |
Roberto Ierusalimschy
|
6624ccff26
|
independent code for 'printstack' + test for panic function can
ran code there
|
10 years ago |
Roberto Ierusalimschy
|
79b0d05480
|
new function 'T.checkpanic' (to check panic errors)
|
10 years ago |
Roberto Ierusalimschy
|
b6911c177d
|
luaL_loadbuffer replaced by luaL_loadstring (to test luaL_loadstring)
+ 'rawgetp'/'rawsetp' added to C interpreter
|
10 years ago |
Roberto Ierusalimschy
|
a113e1498d
|
when checking thread consistency, check its entire stack (always
the entire stack must have valid values)
|
10 years ago |
Roberto Ierusalimschy
|
28fdbcf393
|
added include for 'lprefix.h', for stuff that must be added before
any other header file
|
10 years ago |
Roberto Ierusalimschy
|
4542fb9f78
|
comments (a few extra quotes around identifiers)
|
10 years ago |
Roberto Ierusalimschy
|
7314acaa80
|
'T.limits' reports some more useful limits
|
10 years ago |
Roberto Ierusalimschy
|
bdf566a8a3
|
`name' in comments changed to 'name'
|
10 years ago |
Roberto Ierusalimschy
|
2a21f6c894
|
'lua_Kcontext' -> 'lua_KContext'
|
10 years ago |
Roberto Ierusalimschy
|
e14a02c24f
|
when thread yields, real "func" is in field 'extra', not in 'func'
|
10 years ago |
Roberto Ierusalimschy
|
798660c9cd
|
deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.)
|
10 years ago |
Roberto Ierusalimschy
|
3a15c7ce43
|
size for array part of a table ('sizearray') changed from 'int' to
'unsigned int', which allows twice as many elements in the array part
|
10 years ago |
Roberto Ierusalimschy
|
22952d8973
|
'T.gccolor' classify dead objects too
|
10 years ago |
Roberto Ierusalimschy
|
2be88d5084
|
'lua_Ctx' -> 'lua_Kcontext'
|
10 years ago |
Roberto Ierusalimschy
|
73ad16b5c6
|
no need for type 'pCallInfo'
|
10 years ago |
Roberto Ierusalimschy
|
3c6d0aaa7d
|
'iswhite' and related macros now can work directly on any object
(no need to convert to 'GCObject')
|
10 years ago |
Roberto Ierusalimschy
|
bb12903120
|
type 'Udata' refers directly to structure inside the union (union
used only for aligning purposes now)
|
10 years ago |
Roberto Ierusalimschy
|
ca41b43f53
|
type 'TString' refers directly to the structure inside the union
(union used only for size purposes)
|
10 years ago |
Roberto Ierusalimschy
|
56137d58ff
|
added check for conversion 'obj2gco' (and corrections for small
problems detected by this check)
|
10 years ago |
Roberto Ierusalimschy
|
9aec500a26
|
no need for field 'gch' anymore
|
10 years ago |
Roberto Ierusalimschy
|
1aa4f69b51
|
new type 'lua_Ctx' for continuation-function contexts (to allow type
to be configurable)
|
10 years ago |
Roberto Ierusalimschy
|
c229ed597f
|
'requiref' checks 'package.loaded' before loading a module
|
10 years ago |
Roberto Ierusalimschy
|
a77d263e86
|
unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.)
deprecated
|
11 years ago |
Roberto Ierusalimschy
|
d2ab1aef31
|
detail (avoid too large macro)
|
11 years ago |
Roberto Ierusalimschy
|
3fc25ff15b
|
macro 'checkobjref' accepts NULL (as all its uses checked for NULL
before) + user value from a userdata may not be a GC object
|
11 years ago |
Roberto Ierusalimschy
|
6f6fd96e3b
|
new type lua_KFunction + no more 'lua_getctx'
|
11 years ago |
Roberto Ierusalimschy
|
5a5a834975
|
new API function 'lua_rotate'
|
11 years ago |
Roberto Ierusalimschy
|
a09bd59615
|
'T.totalmem' accepts 0 for unlimited memory
|
11 years ago |
Roberto Ierusalimschy
|
5c46b7b8cf
|
instructions in 'runC' sorted alphabetically + new instructions
'tointeger'/'tounsigned'
|
11 years ago |
Roberto Ierusalimschy
|
c86b9da022
|
userdata can have any Lua value as uservalue
|
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
|
ffa96d988d
|
field 'op' renamed to 'open'
|
11 years ago |
Roberto Ierusalimschy
|
733c58595b
|
no more local collection
|
11 years ago |
Roberto Ierusalimschy
|
ba3586cc90
|
keep a single list of objects to be finalized (with local and non-local
objects), to ensure finalization order
|
11 years ago |
Roberto Ierusalimschy
|
1ea2d20f74
|
first implementation of '<<', '>>', and '~' (bitwise not)
|
11 years ago |
Roberto Ierusalimschy
|
c0edab0f6d
|
first implementation of bitwise operators '&' (band), '|' (bor),
and '~' (bxor)
|
11 years ago |
Roberto Ierusalimschy
|
a948054a19
|
new order for binary operations (grouping them by type of result)
|
11 years ago |
Roberto Ierusalimschy
|
4eeb1831be
|
new names and better order for GC states (sweep first lists that
can have dead objects)
|
11 years ago |
Roberto Ierusalimschy
|
dd373a8f66
|
threads are kept in a separated GC list, linked after the main thread
|
11 years ago |
Roberto Ierusalimschy
|
d8aa8dd97e
|
objects in list 'tobefnz' have a GC life-cycle like all others
(specifically they are cleaned during sweep phase)
|
11 years ago |
Roberto Ierusalimschy
|
79ab21be90
|
more invariants added to memory check
|
11 years ago |
Roberto Ierusalimschy
|
d3bbb34c24
|
back to open hashing for the string table (but with a different
'hnext' field, to strings are still collected like all other
objects)
|
11 years ago |
Roberto Ierusalimschy
|
0ad15fc100
|
better (and correct!) control of 'maybedead'
|
11 years ago |
Roberto Ierusalimschy
|
aeff4f79fa
|
local collection now calls finalizers
|
11 years ago |
Roberto Ierusalimschy
|
1bf4faec64
|
new GC state to sweep 'localgc' list + small changes in sweep control
|
11 years ago |