Roberto Ierusalimschy
|
2376eb6347
|
barrier for prototype's cache (with new gray list 'protogray' to keep
prototypes to have their caches visited again) + constant 'MAXMISS'
|
8 years ago |
Roberto Ierusalimschy
|
2caecf1b3e
|
type 'L_Umaxalign' replaced by macro 'LUAI_MAXALIGN', which is also added
to the auxlib buffer
|
8 years ago |
Roberto Ierusalimschy
|
69371c4b84
|
'KGC_NORMAL' -> 'KGC_INC' + emergency GC signalled by flag (instead
of mode)
|
8 years ago |
Roberto Ierusalimschy
|
7ae180f8e8
|
corrected some checks about colors of old objects + new test function
'gcage'
|
8 years ago |
Roberto Ierusalimschy
|
4679294796
|
memory check adapted to generational mode
|
8 years ago |
Roberto Ierusalimschy
|
f5f3df3bd1
|
generational collection: new attempt (still incomplete)
|
8 years ago |
Roberto Ierusalimschy
|
b2aa2ba046
|
using constants for "_LOADED" and "PRELOAD"
|
8 years ago |
Roberto Ierusalimschy
|
7b1fba69b7
|
using 'lastfree == NULL' to signal that table is using the dummy
node for its hash part + new macro 'allocsizenode'
|
8 years ago |
Roberto Ierusalimschy
|
880f82d089
|
'*' as a number means stack size, so that "return *" returns
all values in the stack.
|
9 years ago |
Roberto Ierusalimschy
|
53be1451a8
|
new definition for macro 'checkliveness'
|
9 years ago |
Roberto Ierusalimschy
|
2de3361c6c
|
detail
|
9 years ago |
Roberto Ierusalimschy
|
cbe05b48bb
|
using 'lua_longassert' to avoid warnings
|
10 years ago |
Roberto Ierusalimschy
|
4998e852ec
|
new function 'log2' to test 'luaO_ceillog2' (if needed)
|
10 years ago |
Roberto Ierusalimschy
|
331632e8d8
|
code detail ('if' -> '?:')
|
10 years ago |
Roberto Ierusalimschy
|
0cf3b6495a
|
'ci_func' don't need to be exported
|
10 years ago |
Roberto Ierusalimschy
|
7e2015a46d
|
size of short strings stored in a single byte, to reduce the size
of struct 'TString'
|
10 years ago |
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 |