198 Commits (8da245bfd2a767e1a738c2a85492d1f64d68f016)

Author SHA1 Message Date
Roberto Ierusalimschy ce444bff33 (huge) simplification of GC management 15 years ago
Roberto Ierusalimschy 5bc91c6405 no more one environment per thread: all threads share a single global 15 years ago
Roberto Ierusalimschy a5382b763c new function lua_copy 15 years ago
Roberto Ierusalimschy ba21aa8b2b 'cpcall' must ensure correct environment for called function 15 years ago
Roberto Ierusalimschy bed2cb725a initialize g->estimate (just in case) 15 years ago
Roberto Ierusalimschy a650378822 'cpcall' reimplemented as a predefined value in the registry 15 years ago
Roberto Ierusalimschy 67cae2854c 'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREAD 15 years ago
Roberto Ierusalimschy f76f4cb79d new way to control stack overflow, controling only total size of the stack 16 years ago
Roberto Ierusalimschy 1d6ebce296 new function 'lua_version' (so that 'checkversion' can be implemented 16 years ago
Roberto Ierusalimschy 9423e22aa3 no more L->base + ci->base only for Lua functions (C functions may use 16 years ago
Roberto Ierusalimschy e091a254df new way to GC stacks: the entire stack must be correct all the times; 16 years ago
Roberto Ierusalimschy d3037d97ec several small improvements based on 'ci' being fixed now (including 16 years ago
Roberto Ierusalimschy c6b442bd36 'luaM_freearray' does not need array type as argument 16 years ago
Roberto Ierusalimschy 4f88418170 'CallInfo' stack implemented as double-linked list instead of an array 16 years ago
Roberto Ierusalimschy ba484b9eb1 yielding across lua_call (first version) 16 years ago
Roberto Ierusalimschy d2ebdc045b new macro 'lua_checkversion' to check whether core and application are 16 years ago
Roberto Ierusalimschy d07abcc6c7 finalizers always called protected 16 years ago
Roberto Ierusalimschy f94cd2201c better control of call status through CallInfo 16 years ago
Roberto Ierusalimschy 394646891c new field 'status' in CallInfo structure 16 years ago
Roberto Ierusalimschy 0c8f5fc2fd simplification in the handling of finalizers: no more 'tmudata' list + 17 years ago
Roberto Ierusalimschy e2b366c760 userdata with finalizers are kept in a separated list 17 years ago
Roberto Ierusalimschy a73930228a more options for 'kinds' of Garbage Collection 17 years ago
Roberto Ierusalimschy 5e8dd55574 first implementation of ephemerons 17 years ago
Roberto Ierusalimschy 0e961ad47a some changes toward ephemerons 17 years ago
Roberto Ierusalimschy afa0d0ac0d new constant LUA_OK 18 years ago
Roberto Ierusalimschy a7c9e45c64 avoid trailing white spaces 18 years ago
Roberto Ierusalimschy 93bf618504 BUG: there is only one C stack, so nCcalls must be global 18 years ago
Roberto Ierusalimschy 3ca9af51a4 emergency garbage collector (core forces a GC when allocation fails) 19 years ago
Roberto Ierusalimschy c408158047 only destroy state after running all finalizers 19 years ago
Roberto Ierusalimschy d31c04c049 missing macros 'luai_userstate*' 19 years ago
Roberto Ierusalimschy 361a9adba7 smaller initial tables (for programs that create many states) 19 years ago
Roberto Ierusalimschy 39cdbce23e no more '-w' option + new way to check module existence 19 years ago
Roberto Ierusalimschy eca9fa02d2 small improvement 20 years ago
Roberto Ierusalimschy 6cf85dcc90 metatables for all types 20 years ago
Roberto Ierusalimschy 9768e2f681 detail 20 years ago
Roberto Ierusalimschy 7b6c3b463e small optimizations 20 years ago
Roberto Ierusalimschy 390256edf7 better name for GC pause 20 years ago
Roberto Ierusalimschy d872090248 small errors in previous `ci' of luaconf.h. 20 years ago
Roberto Ierusalimschy d3a6d95b9a more cleaning on configurations 20 years ago
Roberto Ierusalimschy d55bb795fa details 20 years ago
Roberto Ierusalimschy 4df8800a01 cleaner way to free all objects 20 years ago
Roberto Ierusalimschy 334ba8132b cleaner way to remark open upvalues 20 years ago
Roberto Ierusalimschy 5be517602e no more generational collector (and no more `noinc' mode) 20 years ago
Roberto Ierusalimschy e2498e079e change in hash algorithm so that it does not need empty slot 20 years ago
Roberto Ierusalimschy 65726f3e2e cleaner interface to `ltable' 20 years ago
Roberto Ierusalimschy c6254dceff a different option for the GC 20 years ago
Roberto Ierusalimschy 39a8082f50 more options for controling the GC 20 years ago
Roberto Ierusalimschy 0e002005b1 better names for `luaM_free...' macros 20 years ago
Roberto Ierusalimschy 6f1ea817f5 better control over memory-size overflows 20 years ago
Roberto Ierusalimschy bd38017ddf small optimization for table size in machines with double allignment 20 years ago