233 Commits (453450d68751f74f0fab44bd96725a5606d2d9a1)

Author SHA1 Message Date
Roberto Ierusalimschy c6b6024a9d cast in 'luai_makeseed' now casts to needed type 12 years ago
Roberto Ierusalimschy b77a90681e typos in comments 13 years ago
Roberto Ierusalimschy 054c20cd5b spaces -> tabs in #defines 13 years ago
Roberto Ierusalimschy 086da10dac merge of fields 'lastmajormem' (used in gen. mode) and 'estimate' 13 years ago
Roberto Ierusalimschy b36b4b521f try to avoid sweeping new objects created with new white (and 13 years ago
Roberto Ierusalimschy f6a12948ca useless parameter in macro 'luai_makeseed' 13 years ago
Roberto Ierusalimschy 678c1255c9 random seed used in the hash of all strings to avoid intentional 13 years ago
Roberto Ierusalimschy 6d86b937e4 'luaC_separateudata' called from 'luaC_freeallobjects' + removed 13 years ago
Roberto Ierusalimschy 3dc5475e23 'nCcalls' should be local to each thread, as each thread may have its 13 years ago
Roberto Ierusalimschy 92afcf2823 no more 'luaH_setstr (used only once) + 'luaH_setint' receives value 13 years ago
Roberto Ierusalimschy 551b076f1c change in the relationship between totalbytes and GCdebt - luaM_realloc_ 14 years ago
Roberto Ierusalimschy 737f119187 better control for GC running or stopped 14 years ago
Roberto Ierusalimschy 9b7a12c46d finalizers (__gc) for tables 14 years ago
Roberto Ierusalimschy 6828f6d427 new parameter 'majorinc' to control frequency of major collections 14 years ago
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