Roberto Ierusalimschy
63b8a6fd20
"getobjname" checks first fallbacks (so, if a function is global and
...
a fallback, it is reported as a fallback).
1995-11-03 13:30:50 -02:00
Roberto Ierusalimschy
15d48576ea
functions now may be declared with any "var" as a name;
...
therefore they do not have a "baptism" name.
Changes in debug API to acomodate that.
1995-10-26 12:21:56 -02:00
Roberto Ierusalimschy
ebcf546a55
small changes in the format of debug information.
1995-10-23 11:53:48 -02:00
Roberto Ierusalimschy
2cffb08a5c
new style for debug information about functions: no more SETFUNCTION
...
opcodes. When a function is called, its entry in the stack is marked with
LUA_T_(C)MARK, so function 'luaD_stackedfunction' can find it if
needed.
Functions now have their file names in the headers, so there is no need
of 'addfile' and the like.
1995-10-17 09:58:41 -02:00
Roberto Ierusalimschy
b17c76817d
new function "luaI_findconstantbyname".
1995-10-13 12:16:25 -03:00
Roberto Ierusalimschy
68f337dfa6
Garbage collection of functions + header structure for functions
1995-10-04 14:13:02 -03:00
Roberto Ierusalimschy
457bac94ce
small corrections to avoid uninitialized global variables.
1995-09-15 17:47:53 -03:00
Waldemar Celes
e13753e2fb
Ajustar limites para garbage collection.
1995-05-16 16:23:55 -03:00
Roberto Ierusalimschy
ec79f25286
new lua function "getstack"; new interface to function luaI_reportbug.
1995-05-16 14:23:58 -03:00
Roberto Ierusalimschy
18ea2eff80
calls to "lua_reportbug" changed to "lua_error", since
...
"lua_reportbug" is only an internal function to build debug information
1995-05-02 15:43:03 -03:00
Waldemar Celes
6e0e9935ec
trocar a funcao para garbage colector adaptativo.
1995-01-18 18:15:54 -02:00
Roberto Ierusalimschy
f4591397da
strdup is done via mem.c to control its memory allocation
1995-01-14 13:40:26 -02:00
Roberto Ierusalimschy
8faf4d1de2
control of garbage collection is done with Longs, as there can be
...
more than WORD objects to collect.
1995-01-12 12:19:04 -02:00
Roberto Ierusalimschy
8cb8594a3b
better control of integer types and their limits
1994-12-20 19:20:36 -02:00
Roberto Ierusalimschy
3365a35243
new constant LUA_NOOBJECT
1994-12-16 13:55:04 -02:00
Roberto Ierusalimschy
d490555ec9
garbage collection tag for strings organized in struct TaggedString
1994-11-23 12:32:00 -02:00
Roberto Ierusalimschy
bba1ae427f
new lua functions 'getglobal' and 'setglobal'
1994-11-21 19:41:09 -02:00
Roberto Ierusalimschy
73664eb739
function 'lua_createstring' moved from table.c to tree.c
1994-11-18 17:27:38 -02:00
Roberto Ierusalimschy
b234da1cc2
changes in garbage collection control
1994-11-17 11:58:57 -02:00
Roberto Ierusalimschy
2b5bc5d1a8
new module for memory allocation
1994-11-16 15:39:16 -02:00
Roberto Ierusalimschy
94686ce585
correction of function 'nextvar'
1994-11-16 14:03:48 -02:00
Roberto Ierusalimschy
86b35cf4f6
unification of symbol tree and constant tree
1994-11-14 19:40:14 -02:00
Roberto Ierusalimschy
b8996eaaba
small corrections to avoid 'warings' with acc
1994-11-11 12:00:08 -02:00
Roberto Ierusalimschy
ff7f769454
small changes in error recovery
1994-11-10 18:41:37 -02:00
Roberto Ierusalimschy
5f2d187b73
frees file names when unstacked
1994-11-09 16:11:47 -02:00
Roberto Ierusalimschy
dabe09518f
garbage collection for locked objects
1994-11-08 18:07:54 -02:00
Roberto Ierusalimschy
d95a8b3121
new API: lua_Object now is an integer
1994-11-07 14:34:44 -02:00
Roberto Ierusalimschy
8c22057b2e
new global function 'setfallback'
1994-11-04 15:20:00 -02:00
Roberto Ierusalimschy
42ef3f9388
there is no need of predefined constants.
1994-11-03 20:33:40 -02:00
Roberto Ierusalimschy
852d9a8597
function 'lua_addfile' returns an error message
1994-11-03 19:48:36 -02:00
Roberto Ierusalimschy
0162decc58
tags T_NIL, etc, changed to LUA_T_NIL, etc
1994-11-02 18:29:09 -02:00
Roberto Ierusalimschy
ac68a3abc4
frees filename from file stack
1994-11-02 17:09:23 -02:00
Roberto Ierusalimschy
1a6536aaad
deletion of 'include mm.h'
1994-10-18 16:34:47 -02:00
Roberto Ierusalimschy
25010f8e09
remove of 'printf' for debuging.
1994-10-17 19:45:00 -02:00
Waldemar Celes
f8c8159362
adaptative garbage collection.
1994-10-17 17:03:23 -02:00
Waldemar Celes
b1e9b37883
Implementacao de funcoes para tratar Lua function em C e
...
correcoes de bugs nas tabelas dinamicas.
1994-08-03 11:15:46 -03:00
Waldemar Celes
493d718b7f
Uso de arvores binarias para armazenar nomes e realocacao dinamica
...
de tabelas (pilhas, hashtable, globais, codigo, etc.)
1994-07-19 18:27:18 -03:00
Waldemar Celes
44521b21e5
Implementacao da nova estrategia para armazenar os arrays
...
em lista encadeada.
1994-04-20 19:07:57 -03:00
Waldemar Celes
ed80de37d9
Correcao de bug: uma string ja' existente na tabela de string nao
...
estava sendo liberada.
1994-04-13 19:10:21 -03:00
Waldemar Celes
662e2fa5cc
Modificaco para reservar espaco do byte para marcar constantes
...
pre-definidas.
1994-04-06 09:55:08 -03:00
Waldemar Celes
540dc65bcd
Acrescentar o gerenciador de memoria "mm", corrigir bug reservando
...
o byte para a coleta de lixo nas constantes pre-definidas e
colocar um teste em tempo de execucao para evitar duplicidade de
valores na tabela de strings (teste ainda linear).
1994-03-28 12:15:59 -03:00
Roberto Ierusalimschy
72f67fa810
eliminacao da funcao findenclosedconstant, cuja tarefa agora
...
e' realizada pelo analizador lexico
1993-12-22 19:15:16 -02:00
Waldemar Celes
4478f0ce92
Module to control static tables
1993-12-17 16:41:19 -02:00
The Lua team
cd05d9c5cb
oldest known commit
1993-07-28 10:18:00 -03:00