Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | no more fenvs! | Roberto Ierusalimschy | 2010-03-26 | 16 | -170/+78 |
| | |||||
* | major collections in generational mode | Roberto Ierusalimschy | 2010-03-25 | 4 | -23/+39 |
| | |||||
* | 'mainthread' is not inserted in the 'allgc' list anymore, but swept | Roberto Ierusalimschy | 2010-03-25 | 4 | -21/+18 |
| | | | | separately. | ||||
* | generational mode no longer sweep old objects | Roberto Ierusalimschy | 2010-03-24 | 2 | -19/+41 |
| | |||||
* | userdata with finalizers are kept in a separated list ('udgc'), instead | Roberto Ierusalimschy | 2010-03-24 | 5 | -44/+48 |
| | | | | | of at the end of 'rootgc' (which was renamed to 'allgc', as it is not "root" in the usual meaning for collectors) | ||||
* | BUG: emergency collector might resize 'strt' (string table) when | Roberto Ierusalimschy | 2010-03-23 | 1 | -11/+27 |
| | | | | | | | creating a new string + atomic and markroot steps has some cost + full collection must leave collector in proper state when mode is generational | ||||
* | draft version of a generational mode for garbage collection. (Not well | Roberto Ierusalimschy | 2010-03-22 | 5 | -35/+70 |
| | | | | tested; no major collections; ...) | ||||
* | detail (wrong comment about LUAI_GCPAUSE) | Roberto Ierusalimschy | 2010-03-22 | 1 | -2/+2 |
| | |||||
* | 'lua_assert' not visible from libraries | Roberto Ierusalimschy | 2010-03-22 | 1 | -3/+2 |
| | |||||
* | 'cpcall' renamed to 'ccall' as it does not do a protected call | Roberto Ierusalimschy | 2010-03-19 | 3 | -10/+10 |
| | |||||
* | 'ipairs' is deprecated | Roberto Ierusalimschy | 2010-03-19 | 1 | -1/+13 |
| | |||||
* | for compatibility only: 'module' changes the first upvalue of | Roberto Ierusalimschy | 2010-03-19 | 1 | -4/+8 |
| | | | | calling function to affect its environment | ||||
* | avoid using function environments in C libraries (as it probably will | Roberto Ierusalimschy | 2010-03-17 | 4 | -51/+69 |
| | | | | be deprecated) | ||||
* | '_ENV' name permanently stored in global state for easier access | Roberto Ierusalimschy | 2010-03-13 | 5 | -12/+11 |
| | |||||
* | must include 'string.h' because a macro uses 'strlen' | Roberto Ierusalimschy | 2010-03-13 | 1 | -1/+2 |
| | |||||
* | better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEX | Roberto Ierusalimschy | 2010-03-13 | 4 | -23/+28 |
| | |||||
* | first version of _ENV; no more global variables | Roberto Ierusalimschy | 2010-03-12 | 12 | -124/+52 |
| | |||||
* | small optimization in luaL_addlstring (avoid adding chars one by one) | Roberto Ierusalimschy | 2010-03-12 | 1 | -3/+14 |
| | | | | (suggested by Chuck Coffing) | ||||
* | first step towards _ENV: all chunks have an puvalues _ENV with the | Roberto Ierusalimschy | 2010-03-08 | 3 | -13/+33 |
| | | | | global table | ||||
* | when finding a 'name' for a function, handle the case when the function | Roberto Ierusalimschy | 2010-03-05 | 1 | -2/+5 |
| | | | | is a for iterator | ||||
* | when searching for a variable name, look existing upvalues before | Roberto Ierusalimschy | 2010-03-04 | 1 | -20/+32 |
| | | | | goingg to upper levels | ||||
* | just in case, better to flush error messages | Roberto Ierusalimschy | 2010-03-03 | 1 | -2/+3 |
| | |||||
* | new option '*L' for io.read + options for io.lines | Roberto Ierusalimschy | 2010-03-03 | 1 | -24/+48 |
| | |||||
* | avoid 'continue' unless necessary | Roberto Ierusalimschy | 2010-02-27 | 2 | -59/+59 |
| | |||||
* | removed useless test (argv[i] cannot be NULL when i<argc) | Roberto Ierusalimschy | 2010-02-27 | 1 | -2/+1 |
| | |||||
* | new instructions to optimize indexing on upvalues | Roberto Ierusalimschy | 2010-02-26 | 8 | -31/+89 |
| | |||||
* | detail: in loadfile read function, no need to return NULL on EOF; | Roberto Ierusalimschy | 2010-02-18 | 1 | -2/+2 |
| | | | | size ==0 is enough to signal EOF. | ||||
* | avoid using 'ungetc' in loadfile | Roberto Ierusalimschy | 2010-02-18 | 1 | -7/+15 |
| | |||||
* | new macro 'luai_writestringerror' | Roberto Ierusalimschy | 2010-02-18 | 4 | -18/+25 |
| | |||||
* | no need to flush either stderr or \n-terminated outputs | Roberto Ierusalimschy | 2010-02-11 | 1 | -4/+1 |
| | |||||
* | use of 'conventional' names for shift and rotate operations + | Roberto Ierusalimschy | 2010-02-11 | 1 | -7/+27 |
| | | | | right/left versions for them |