319 Commits (897573983977e2bdfe405bd056abccc1db1e0f8d)

Author SHA1 Message Date
Roberto Ierusalimschy 0b06241483 better control for GC cycles 20 years ago
Roberto Ierusalimschy 271e05917f bug: lua_getupvalue and setupvalue do not check for index too small. 21 years ago
Roberto Ierusalimschy a7c74c06b9 small bug: lua_gc(count) was falling through to next option 21 years ago
Roberto Ierusalimschy 26ae992129 less conservative write barrier for tables 21 years ago
Roberto Ierusalimschy eab1965c05 bug: `lua_setfenv' needs a write barrier 21 years ago
Roberto Ierusalimschy 96917ff42a "step" option in lua_gc also need to lock Lua. 21 years ago
Roberto Ierusalimschy 75057dfced 21 years ago
Roberto Ierusalimschy 345379b5ff option for garbage-collector `step' 21 years ago
Roberto Ierusalimschy 0dfd04eb60 `lua_strlen' upgraded to `lua_objsize' (which also works with userdata) 21 years ago
Roberto Ierusalimschy 0bda88e6cd small steps towards yields in iterators and tag methods 21 years ago
Roberto Ierusalimschy 7966a4acae avoid name clashes among different files 21 years ago
Roberto Ierusalimschy b4cd38ba6c new scheme for configuration through `luaconf.h' 21 years ago
Roberto Ierusalimschy 079facab40 ensures own top is corrected after calling function with multiple results 21 years ago
Roberto Ierusalimschy 21bc05c920 write barrier for C upvalues 21 years ago
Roberto Ierusalimschy b876ec61c0 new (temporary?) API for garbage collector 21 years ago
Roberto Ierusalimschy 898e8a6794 added include to stdarg.h (as it uses vararg facilities) 21 years ago
Roberto Ierusalimschy b3ce450529 avoid calling `memcmp' with a NULL argument 21 years ago
Roberto Ierusalimschy 47fc57a252 `TObject' renamed to `TValue' + other name changes and better assertions 21 years ago
Roberto Ierusalimschy df429f163a First version of incremental GC 21 years ago
Roberto Ierusalimschy af850484a9 default metatable can be NULL 21 years ago
Roberto Ierusalimschy c51bcf4796 it's ok to dump functions with upvalues 21 years ago
Roberto Ierusalimschy 03bab90303 new function `lua_getallocf' to retrieve allocation function and data 21 years ago
Roberto Ierusalimschy 10de467c79 new function `lua_createtable' 21 years ago
Roberto Ierusalimschy 533737f26e new functions `lua_getfield' and `lua_setfield' 21 years ago
Roberto Ierusalimschy f04fe526cd new functions `lua_tointeger' and lua_pushinteger' 21 years ago
Roberto Ierusalimschy 8332d5c8a5 parser fully reentrant(!) 22 years ago
Roberto Ierusalimschy 4b2e71ddb6 ZIO passes Lua state to chunk reader 22 years ago
Roberto Ierusalimschy 9fcc485176 zio does not keep "source" name (nobody uses it) 22 years ago
Roberto Ierusalimschy 433cb1d13a no more checks for non-default compilation options + luaU_dump has 22 years ago
Roberto Ierusalimschy a73ded2153 Move nothing when there is nothing to move 22 years ago
Roberto Ierusalimschy dae99205cf no more compatibility code 22 years ago
Roberto Ierusalimschy f966404ed6 simpler implementation for valid/acceptable indices 22 years ago
Roberto Ierusalimschy fee9e473f2 inlining of `luaV_gettable' were too complex (dirty) 22 years ago
Roberto Ierusalimschy f1f8f0ca22 simpler way to check maximum gc threshold 22 years ago
Roberto Ierusalimschy d1df829f8d lua_getmetatable must accept any acceptable index 22 years ago
Roberto Ierusalimschy 0d88545b82 warnings from several compilers (mainly typecasts when lua_Number is float) 22 years ago
Roberto Ierusalimschy c9ea94ec92 out-of-bound upvalues (in C) are acceptable indices 22 years ago
Roberto Ierusalimschy e1a424e8a3 avoid the identifier `index' (clashes with BSD `index' function) 22 years ago
Roberto Ierusalimschy 5cd99b82b7 `set/getenvtable' -> `set/getfenv' 22 years ago
Roberto Ierusalimschy 67f9a2a98f details 22 years ago
Roberto Ierusalimschy 9866fb0ef1 `set/getglobals' -> `set/getenvtable' 22 years ago
Roberto Ierusalimschy 7a40cdbda0 different variables for number of upvalues and size of upvalue array 22 years ago
Roberto Ierusalimschy dd8edecae1 new functions to manipulate upvales (get/setupvalue) 22 years ago
Roberto Ierusalimschy 27c6b4d422 each .c file defines its own name 22 years ago
Roberto Ierusalimschy 0bb8eb5151 new function `lua_cpcall' 22 years ago
Roberto Ierusalimschy 5a228bb1d8 new function `lua_version' 22 years ago
Roberto Ierusalimschy 709b27b456 ULONG_MAX>>10 may not fit into an int 22 years ago
Roberto Ierusalimschy ddc144e4d2 keep L->ci->base in L->base for faster access 22 years ago
Roberto Ierusalimschy 1648674653 must check GC every time it can create new objects 22 years ago
Roberto Ierusalimschy 41fd639cab documentation for write barriers 22 years ago