summaryrefslogtreecommitdiff
path: root/table.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* "lua_getobjname" must return "tag-method" and not "fallback".Roberto Ierusalimschy1997-06-171-2/+2
|
* new implementation for udata (again they are just void *);Roberto Ierusalimschy1997-06-091-8/+9
| | | | | new implementation for the API: most operations now do not disturb structures lua2C and C2lua.
* new API function to force garbage collection.Roberto Ierusalimschy1997-05-261-6/+7
|
* new implementation of gc: "Pre-collect" garbage in temporary lists andRoberto Ierusalimschy1997-05-141-17/+29
| | | | then call fallbacks.
* first implementation of "$if";Roberto Ierusalimschy1997-04-071-1/+7
| | | | new function "findstring" (useful in good places)
* luaL check functions do not need the function name (it can beRoberto Ierusalimschy1997-04-061-2/+2
| | | | accessed via luadebug interface).
* using new lib auxlib.Roberto Ierusalimschy1997-04-041-22/+13
|
* new name for old "mem.h" (conflicts with some compiler libraries)Roberto Ierusalimschy1997-03-311-2/+2
|
* "Object" renamed to "TObject" (Tagged Object), to avoid conflicts withRoberto Ierusalimschy1997-03-311-7/+7
| | | | pre-defined names in some C compilers.
* BUG: must mark userdata in garbage collection.Roberto Ierusalimschy1997-03-261-2/+3
|
* must call "gc" i.m. for nil after all others.Roberto Ierusalimschy1997-03-211-1/+9
|
* first full implementation of internal methodsRoberto Ierusalimschy1997-03-191-1/+3
|
* "tag" changed to "ttype" (since now tag has other meaning)Roberto Ierusalimschy1997-03-111-12/+13
|
* first step in implementing internal methods.Roberto Ierusalimschy1997-02-261-38/+3
|
* pre-defined variable _VERSION_Roberto Ierusalimschy1996-11-011-2/+5
|
* C functions don't need to "pushnil" to return nil value (this isRoberto Ierusalimschy1996-07-121-7/+2
| | | | the default value).
* when "block" is computed, "nentity" == "block". So the change is onlyRoberto Ierusalimschy1996-06-181-2/+2
| | | | a simpler way to write the same expression.
* first version of vararg facility (plus new function "call").Roberto Ierusalimschy1996-05-281-1/+2
|
* as strings are no more duplicated, "nextvar" can use "pushstring".Roberto Ierusalimschy1996-05-061-6/+2
|
* new algotithm to adjust garbage collection: it tries to adapt gc callsRoberto Ierusalimschy1996-04-291-9/+7
| | | | so that it collects half of the total objects when it is called.
* lock mechanism seperseded by the REFERENCE mechanism.Roberto Ierusalimschy1996-04-221-1/+20
|
* a simplification about memory error messages.Roberto Ierusalimschy1996-03-211-4/+3
|
* better control when growing arrays.Roberto Ierusalimschy1996-03-211-18/+11
|
* "lua_ntable" and "lua_nconstant" are public (undump.c uses them).Roberto Ierusalimschy1996-03-141-3/+3
|
* fixed strings (not collectable) don't need to be inserted in the constant table.Roberto Ierusalimschy1996-02-261-19/+17
|
* useless #include.Roberto Ierusalimschy1996-02-141-3/+1
|
* reserved words are stored in main string table; "marked" field isRoberto Ierusalimschy1996-02-141-38/+38
| | | | | used to indicate its type. Table initializations centralized by "tree.c".
* BIG CHANGE: new data structure for constants, strings and globals, usingRoberto Ierusalimschy1996-02-121-10/+16
| | | | an array of hash tables for all them.
* lua_table now has references to global variable names (TreeNode's).Roberto Ierusalimschy1996-01-261-3/+4
|
* "setglobal" and "getglobal" moved to inout.c, as it concentrates pre-definedRoberto Ierusalimschy1996-01-261-25/+3
| | | | library.
* new function "assert"Roberto Ierusalimschy1996-01-231-1/+3
|
* new function "tostring".Roberto Ierusalimschy1996-01-221-10/+12
|
* memory overflow tries a garbage collection; if it fails then exit theRoberto Ierusalimschy1996-01-221-5/+12
| | | | program.
* "getobjectname" got a "lua_" prefix.Roberto Ierusalimschy1996-01-091-2/+2
|
* "getobjname" checks first fallbacks (so, if a function is global andRoberto Ierusalimschy1995-11-031-4/+4
| | | | a fallback, it is reported as a fallback).
* functions now may be declared with any "var" as a name;Roberto Ierusalimschy1995-10-261-31/+21
| | | | | therefore they do not have a "baptism" name. Changes in debug API to acomodate that.
* small changes in the format of debug information.Roberto Ierusalimschy1995-10-231-4/+8
|
* new style for debug information about functions: no more SETFUNCTIONRoberto Ierusalimschy1995-10-171-51/+51
| | | | | | | | 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.
* new function "luaI_findconstantbyname".Roberto Ierusalimschy1995-10-131-4/+9
|
* Garbage collection of functions + header structure for functionsRoberto Ierusalimschy1995-10-041-1/+5
|
* small corrections to avoid uninitialized global variables.Roberto Ierusalimschy1995-09-151-3/+3
|
* Ajustar limites para garbage collection.Waldemar Celes1995-05-161-3/+3
|
* new lua function "getstack"; new interface to function luaI_reportbug.Roberto Ierusalimschy1995-05-161-1/+3
|
* calls to "lua_reportbug" changed to "lua_error", sinceRoberto Ierusalimschy1995-05-021-7/+7
| | | | "lua_reportbug" is only an internal function to build debug information
* trocar a funcao para garbage colector adaptativo.Waldemar Celes1995-01-181-2/+2
|
* strdup is done via mem.c to control its memory allocationRoberto Ierusalimschy1995-01-141-2/+2
|
* control of garbage collection is done with Longs, as there can beRoberto Ierusalimschy1995-01-121-4/+4
| | | | more than WORD objects to collect.
* better control of integer types and their limitsRoberto Ierusalimschy1994-12-201-15/+16
|
* new constant LUA_NOOBJECTRoberto Ierusalimschy1994-12-161-3/+3
|
* garbage collection tag for strings organized in struct TaggedStringRoberto Ierusalimschy1994-11-231-11/+13
|