Roberto Ierusalimschy
|
820ec63bdf
as strings are no more duplicated, "nextvar" can use "pushstring".
|
29 years ago |
Roberto Ierusalimschy
|
21c9ebf4a9
new algotithm to adjust garbage collection: it tries to adapt gc calls
|
29 years ago |
Roberto Ierusalimschy
|
0ef5cf2289
lock mechanism seperseded by the REFERENCE mechanism.
|
29 years ago |
Roberto Ierusalimschy
|
7a35f23c16
a simplification about memory error messages.
|
29 years ago |
Roberto Ierusalimschy
|
9284742a11
better control when growing arrays.
|
29 years ago |
Roberto Ierusalimschy
|
3226ac2da8
"lua_ntable" and "lua_nconstant" are public (undump.c uses them).
|
29 years ago |
Roberto Ierusalimschy
|
d6e4c29733
fixed strings (not collectable) don't need to be inserted in the constant table.
|
29 years ago |
Roberto Ierusalimschy
|
45cf24485d
useless #include.
|
29 years ago |
Roberto Ierusalimschy
|
d1608c597e
reserved words are stored in main string table; "marked" field is
|
29 years ago |
Roberto Ierusalimschy
|
41259bff31
BIG CHANGE: new data structure for constants, strings and globals, using
|
29 years ago |
Roberto Ierusalimschy
|
0d50b87aa4
lua_table now has references to global variable names (TreeNode's).
|
29 years ago |
Roberto Ierusalimschy
|
8dae4657a1
"setglobal" and "getglobal" moved to inout.c, as it concentrates pre-defined
|
29 years ago |
Roberto Ierusalimschy
|
3681d025ac
new function "assert"
|
29 years ago |
Roberto Ierusalimschy
|
a19f9056f3
new function "tostring".
|
29 years ago |
Roberto Ierusalimschy
|
e74b250d71
memory overflow tries a garbage collection; if it fails then exit the
|
29 years ago |
Roberto Ierusalimschy
|
bf006eeaf5
"getobjectname" got a "lua_" prefix.
|
30 years ago |
Roberto Ierusalimschy
|
63b8a6fd20
"getobjname" checks first fallbacks (so, if a function is global and
|
30 years ago |
Roberto Ierusalimschy
|
15d48576ea
functions now may be declared with any "var" as a name;
|
30 years ago |
Roberto Ierusalimschy
|
ebcf546a55
small changes in the format of debug information.
|
30 years ago |
Roberto Ierusalimschy
|
2cffb08a5c
new style for debug information about functions: no more SETFUNCTION
|
30 years ago |
Roberto Ierusalimschy
|
b17c76817d
new function "luaI_findconstantbyname".
|
30 years ago |
Roberto Ierusalimschy
|
68f337dfa6
Garbage collection of functions + header structure for functions
|
30 years ago |
Roberto Ierusalimschy
|
457bac94ce
small corrections to avoid uninitialized global variables.
|
30 years ago |
Waldemar Celes
|
e13753e2fb
Ajustar limites para garbage collection.
|
30 years ago |
Roberto Ierusalimschy
|
ec79f25286
new lua function "getstack"; new interface to function luaI_reportbug.
|
30 years ago |
Roberto Ierusalimschy
|
18ea2eff80
calls to "lua_reportbug" changed to "lua_error", since
|
30 years ago |
Waldemar Celes
|
6e0e9935ec
trocar a funcao para garbage colector adaptativo.
|
30 years ago |
Roberto Ierusalimschy
|
f4591397da
strdup is done via mem.c to control its memory allocation
|
31 years ago |
Roberto Ierusalimschy
|
8faf4d1de2
control of garbage collection is done with Longs, as there can be
|
31 years ago |
Roberto Ierusalimschy
|
8cb8594a3b
better control of integer types and their limits
|
31 years ago |