219 Commits (b9e1dec2cbba49c7d6f902080beaf7467231e1fd)

Author SHA1 Message Date
Roberto Ierusalimschy dc2b8a0073 detail 15 years ago
Roberto Ierusalimschy 0062db1e06 default PAUSE should be 200 (differences may be corrected in 15 years ago
Roberto Ierusalimschy 3410dcd375 new way to control GC speed 15 years ago
Roberto Ierusalimschy 4db6f20770 ensure that 'luai_userstatethread' is always called (even if 15 years ago
Roberto Ierusalimschy 99a39f6f4a tells the allocation function that the first block is a thread 15 years ago
Roberto Ierusalimschy afdb19ac82 no more 'ccall' nor 'cpcall' functions. (With light C functions they 15 years ago
Roberto Ierusalimschy d20ff60615 new macro LUA_NUMTAGS 15 years ago
Roberto Ierusalimschy 055104f5b6 keep memory-error message in the global state, so that its use 15 years ago
Roberto Ierusalimschy 6abde1b05a no need to keep "_ENV" name in global state (can be kept in lex state) 15 years ago
Roberto Ierusalimschy a8d3aa14fd global table now is only kept in the registry 15 years ago
Roberto Ierusalimschy 064e406f67 no more fenvs! 15 years ago
Roberto Ierusalimschy 5c87f61e6b major collections in generational mode 15 years ago
Roberto Ierusalimschy 3aa9598177 'mainthread' is not inserted in the 'allgc' list anymore, but swept 15 years ago
Roberto Ierusalimschy 4433dbb5f5 userdata with finalizers are kept in a separated list ('udgc'), instead 15 years ago
Roberto Ierusalimschy 9c196bebad detail (wrong comment about LUAI_GCPAUSE) 15 years ago
Roberto Ierusalimschy caf74dd731 'cpcall' renamed to 'ccall' as it does not do a protected call 15 years ago
Roberto Ierusalimschy 22ef84b6c8 '_ENV' name permanently stored in global state for easier access 15 years ago
Roberto Ierusalimschy f84b575cfa no more pseudoindex LUA_GLOBALSINDEX; global table now accessible 15 years ago
Roberto Ierusalimschy de6fc75d63 several configuration options that do not change often moved out of 15 years ago
Roberto Ierusalimschy 2af0d3b459 allocator function receives the tag of object being allocated in 'osize' 15 years ago
Roberto Ierusalimschy 15b823ce4f cleaner way to add extra space in a lua state. 15 years ago
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