aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* no need to keep "_ENV" name in global state (can be kept in lex state)Roberto Ierusalimschy2010-04-055-12/+12
|
* new macro 'eqstr'Roberto Ierusalimschy2010-04-056-14/+25
|
* 'lua_pushstring' now uses 'luaS_new'Roberto Ierusalimschy2010-04-051-3/+11
|
* cannot sweep main thread in sweepstring phaseRoberto Ierusalimschy2010-04-051-7/+16
|
* 'luaS_new' changed from macro to functionRoberto Ierusalimschy2010-04-032-5/+8
|
* avoid using 'luaS_new' when can use 'luaS_newlstr'Roberto Ierusalimschy2010-04-021-3/+3
|
* small changes in 'luaO_pushvfstring'Roberto Ierusalimschy2010-04-021-15/+13
|
* option to return GC to normal (incremental, non generational) modeRoberto Ierusalimschy2010-04-023-5/+11
|
* added proper code to trace garbage collectionRoberto Ierusalimschy2010-04-022-8/+24
|
* work related to hooks moved from 'luaV_execute' to 'traceexec'Roberto Ierusalimschy2010-03-291-5/+5
|
* commentsRoberto Ierusalimschy2010-03-291-3/+3
|
* global table now is only kept in the registryRoberto Ierusalimschy2010-03-295-17/+17
|
* no more fenvs!Roberto Ierusalimschy2010-03-2616-170/+78
|
* major collections in generational modeRoberto Ierusalimschy2010-03-254-23/+39
|
* 'mainthread' is not inserted in the 'allgc' list anymore, but sweptRoberto Ierusalimschy2010-03-254-21/+18
| | | | separately.
* generational mode no longer sweep old objectsRoberto Ierusalimschy2010-03-242-19/+41
|
* userdata with finalizers are kept in a separated list ('udgc'), insteadRoberto Ierusalimschy2010-03-245-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) whenRoberto Ierusalimschy2010-03-231-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 wellRoberto Ierusalimschy2010-03-225-35/+70
| | | | tested; no major collections; ...)
* detail (wrong comment about LUAI_GCPAUSE)Roberto Ierusalimschy2010-03-221-2/+2
|
* 'lua_assert' not visible from librariesRoberto Ierusalimschy2010-03-221-3/+2
|
* 'cpcall' renamed to 'ccall' as it does not do a protected callRoberto Ierusalimschy2010-03-193-10/+10
|
* 'ipairs' is deprecatedRoberto Ierusalimschy2010-03-191-1/+13
|
* for compatibility only: 'module' changes the first upvalue ofRoberto Ierusalimschy2010-03-191-4/+8
| | | | calling function to affect its environment
* avoid using function environments in C libraries (as it probably willRoberto Ierusalimschy2010-03-174-51/+69
| | | | be deprecated)
* '_ENV' name permanently stored in global state for easier accessRoberto Ierusalimschy2010-03-135-12/+11
|
* must include 'string.h' because a macro uses 'strlen'Roberto Ierusalimschy2010-03-131-1/+2
|
* better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEXRoberto Ierusalimschy2010-03-134-23/+28
|
* first version of _ENV; no more global variablesRoberto Ierusalimschy2010-03-1212-124/+52
|
* small optimization in luaL_addlstring (avoid adding chars one by one)Roberto Ierusalimschy2010-03-121-3/+14
| | | | (suggested by Chuck Coffing)
* first step towards _ENV: all chunks have an puvalues _ENV with theRoberto Ierusalimschy2010-03-083-13/+33
| | | | global table
* when finding a 'name' for a function, handle the case when the functionRoberto Ierusalimschy2010-03-051-2/+5
| | | | is a for iterator
* when searching for a variable name, look existing upvalues beforeRoberto Ierusalimschy2010-03-041-20/+32
| | | | goingg to upper levels
* just in case, better to flush error messagesRoberto Ierusalimschy2010-03-031-2/+3
|
* new option '*L' for io.read + options for io.linesRoberto Ierusalimschy2010-03-031-24/+48
|
* avoid 'continue' unless necessaryRoberto Ierusalimschy2010-02-272-59/+59
|
* removed useless test (argv[i] cannot be NULL when i<argc)Roberto Ierusalimschy2010-02-271-2/+1
|
* new instructions to optimize indexing on upvaluesRoberto Ierusalimschy2010-02-268-31/+89
|
* detail: in loadfile read function, no need to return NULL on EOF;Roberto Ierusalimschy2010-02-181-2/+2
| | | | size ==0 is enough to signal EOF.
* avoid using 'ungetc' in loadfileRoberto Ierusalimschy2010-02-181-7/+15
|
* new macro 'luai_writestringerror'Roberto Ierusalimschy2010-02-184-18/+25
|
* no need to flush either stderr or \n-terminated outputsRoberto Ierusalimschy2010-02-111-4/+1
|
* use of 'conventional' names for shift and rotate operations +Roberto Ierusalimschy2010-02-111-7/+27
| | | | right/left versions for them
* removed support for '#fist-line comment' on binary files (as binaryRoberto Ierusalimschy2010-02-111-14/+2
| | | | files do not have lines...)
* better usage messages, showing entire offending argumentRoberto Ierusalimschy2010-02-091-8/+11
|
* when yielding, original 'func' value must be kept and restored soRoberto Ierusalimschy2010-02-091-7/+6
| | | | that 'poscall' puts results in the right slot.
* field 'oldtop' renamed to 'extra', as it can be used for otherRoberto Ierusalimschy2010-02-092-4/+4
| | | | purposes
* typo (thanks to Gavin)Roberto Ierusalimschy2010-02-051-2/+2
|
* new function 'luaL_cpcall'Roberto Ierusalimschy2010-01-215-23/+25
|
* typo in commentRoberto Ierusalimschy2010-01-211-2/+2
|