Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | nasty GC bug: upvalue must be turned white when not keeping invariant, | Roberto Ierusalimschy | 2010-04-29 | 3 | -9/+26 | |
| | | | | but barrier was not being called when uv->v were already white. | |||||
* | removed commented-out debugging code | Roberto Ierusalimschy | 2010-04-29 | 1 | -3/+1 | |
| | ||||||
* | new way to control GC speed | Roberto Ierusalimschy | 2010-04-29 | 2 | -16/+26 | |
| | ||||||
* | 'luaC_linkupval' embedded into call site | Roberto Ierusalimschy | 2010-04-29 | 1 | -4/+10 | |
| | ||||||
* | improved 'lua_checkmemory', with better control over gray objects | Roberto Ierusalimschy | 2010-04-29 | 1 | -24/+45 | |
| | ||||||
* | 'luaC_linkupval' moved into 'lfunc.c' code + new way to control GC speed | Roberto Ierusalimschy | 2010-04-29 | 2 | -80/+80 | |
| | ||||||
* | new way to control GC speed (keeping a 'debt' counter) | Roberto Ierusalimschy | 2010-04-29 | 3 | -10/+11 | |
| | ||||||
* | lots of new comments + small changes in loop controls + other small | Roberto Ierusalimschy | 2010-04-26 | 1 | -117/+161 | |
| | | | | "janitor work" | |||||
* | "to-be-finalized" objects marked and sweeped like all other objects | Roberto Ierusalimschy | 2010-04-20 | 1 | -13/+13 | |
| | ||||||
* | upvalue barriers for Lua functions must act on the upvalue itself, | Roberto Ierusalimschy | 2010-04-20 | 1 | -6/+10 | |
| | | | | not on its closure | |||||
* | missing parentheses around 'luaL_pushresultsize' declaration | Roberto Ierusalimschy | 2010-04-19 | 1 | -2/+2 | |
| | ||||||
* | bug with io.read(op, "*n") | Roberto Ierusalimschy | 2010-04-19 | 1 | -4/+14 | |
| | ||||||
* | allows thread switches (when/if there are thread switches) in the same | Roberto Ierusalimschy | 2010-04-19 | 1 | -5/+7 | |
| | | | | places that finalizers can run (so they should be safe...) | |||||
* | ensure that 'luai_userstatethread' is always called (even if | Roberto Ierusalimschy | 2010-04-19 | 3 | -11/+12 | |
| | | | | 'stack_init' throws a memory error) | |||||
* | 'gcinfo' was deprecated in version 5.0. | Roberto Ierusalimschy | 2010-04-19 | 1 | -8/+1 | |
| | ||||||
* | 'string.format' may get buffer as an argument when there are | Roberto Ierusalimschy | 2010-04-19 | 1 | -2/+14 | |
| | | | | missing arguments and format string is too long | |||||
* | complete control over number of each kind of object allocated | Roberto Ierusalimschy | 2010-04-19 | 1 | -46/+53 | |
| | ||||||
* | with light C functions, 'pairs' does not need to keep 'next' as an | Roberto Ierusalimschy | 2010-04-19 | 1 | -18/+8 | |
| | | | | upvalue. | |||||
* | tells the allocation function that the first block is a thread | Roberto Ierusalimschy | 2010-04-19 | 1 | -2/+2 | |
| | ||||||
* | in lua_gc/step, 'luaC_step' changes GCthreshold, so there was little | Roberto Ierusalimschy | 2010-04-19 | 1 | -4/+2 | |
| | | | | control over the real step size. | |||||
* | "light C function" is a better name than "C-function pointer" | Roberto Ierusalimschy | 2010-04-18 | 6 | -19/+19 | |
| | ||||||
* | comparsion tag methods follow the same rule as other binary TMs | Roberto Ierusalimschy | 2010-04-18 | 1 | -20/+12 | |
| | ||||||
* | macro LUA_USE_LONGJMP allows choosing longjmp when compiling Lua as | Roberto Ierusalimschy | 2010-04-18 | 1 | -2/+2 | |
| | | | | C++ code | |||||
* | better line numbers for function calls and unary/binary operators + | Roberto Ierusalimschy | 2010-04-17 | 3 | -20/+27 | |
| | | | | null statement + no more "ambiguous syntax" restriction | |||||
* | 'gcstate' now also runs collector until given state + small changes | Roberto Ierusalimschy | 2010-04-16 | 1 | -21/+22 | |
| | | | | in 'testC' to test 'lua_topointer' and 'lua_tocfunction' | |||||
* | new escape sequence '\*' + several comments + moving options from | Roberto Ierusalimschy | 2010-04-16 | 1 | -42/+62 | |
| | | | | switch default into cases (as now locale is fixed) | |||||
* | no need to avoid calling ctype functions as now they are implemented | Roberto Ierusalimschy | 2010-04-15 | 1 | -4/+2 | |
| | | | | by us (no inefficiencies due to accessing locale information) | |||||
* | invalid instructions "cannot" happen | Roberto Ierusalimschy | 2010-04-15 | 1 | -3/+2 | |
| | ||||||
* | no more 'ccall' nor 'cpcall' functions. (With light C functions they | Roberto Ierusalimschy | 2010-04-14 | 5 | -40/+8 | |
| | | | | are obsolete.) | |||||
* | first implementation of light C functions | Roberto Ierusalimschy | 2010-04-14 | 11 | -88/+141 | |
| | ||||||
* | BUG: 'string.format' may get buffer when there are missing arguments | Roberto Ierusalimschy | 2010-04-12 | 1 | -4/+15 | |
| | ||||||
* | better control in 'totalmem' over choosing counters | Roberto Ierusalimschy | 2010-04-12 | 1 | -8/+18 | |
| | ||||||
* | new macro LUA_NUMTAGS | Roberto Ierusalimschy | 2010-04-12 | 6 | -19/+15 | |
| | ||||||
* | check memory allows strings to live in the main GC list (it should | Roberto Ierusalimschy | 2010-04-12 | 1 | -1/+2 | |
| | | | | work ok). | |||||
* | patterns now accept '\0' as a regular character | Roberto Ierusalimschy | 2010-04-12 | 1 | -28/+38 | |
| | ||||||
* | new implementation for Generic Buffer manipulation (using userdata as | Roberto Ierusalimschy | 2010-04-09 | 3 | -103/+93 | |
| | | | | temporary buffer space) | |||||
* | keep memory-error message in the global state, so that its use | Roberto Ierusalimschy | 2010-04-08 | 4 | -9/+13 | |
| | | | | | does not depend on Lua internalizing strings to avoid a string creation on memory errors | |||||
* | macro 'eqstr' was being used to compare non-string entities | Roberto Ierusalimschy | 2010-04-08 | 1 | -2/+2 | |
| | ||||||
* | no need to keep "_ENV" name in global state (can be kept in lex state) | Roberto Ierusalimschy | 2010-04-05 | 5 | -12/+12 | |
| | ||||||
* | new macro 'eqstr' | Roberto Ierusalimschy | 2010-04-05 | 6 | -14/+25 | |
| | ||||||
* | 'lua_pushstring' now uses 'luaS_new' | Roberto Ierusalimschy | 2010-04-05 | 1 | -3/+11 | |
| | ||||||
* | cannot sweep main thread in sweepstring phase | Roberto Ierusalimschy | 2010-04-05 | 1 | -7/+16 | |
| | ||||||
* | 'luaS_new' changed from macro to function | Roberto Ierusalimschy | 2010-04-03 | 2 | -5/+8 | |
| | ||||||
* | avoid using 'luaS_new' when can use 'luaS_newlstr' | Roberto Ierusalimschy | 2010-04-02 | 1 | -3/+3 | |
| | ||||||
* | small changes in 'luaO_pushvfstring' | Roberto Ierusalimschy | 2010-04-02 | 1 | -15/+13 | |
| | ||||||
* | option to return GC to normal (incremental, non generational) mode | Roberto Ierusalimschy | 2010-04-02 | 3 | -5/+11 | |
| | ||||||
* | added proper code to trace garbage collection | Roberto Ierusalimschy | 2010-04-02 | 2 | -8/+24 | |
| | ||||||
* | work related to hooks moved from 'luaV_execute' to 'traceexec' | Roberto Ierusalimschy | 2010-03-29 | 1 | -5/+5 | |
| | ||||||
* | comments | Roberto Ierusalimschy | 2010-03-29 | 1 | -3/+3 | |
| | ||||||
* | global table now is only kept in the registry | Roberto Ierusalimschy | 2010-03-29 | 5 | -17/+17 | |
| |