summaryrefslogtreecommitdiff
path: root/lstate.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* typos in commentsRoberto Ierusalimschy2012-05-301-2/+2
|
* spaces -> tabs in #definesRoberto Ierusalimschy2012-05-231-2/+2
|
* merge of fields 'lastmajormem' (used in gen. mode) and 'estimate'Roberto Ierusalimschy2012-05-221-2/+2
| | | | (used in inc. mode)
* try to avoid sweeping new objects created with new white (andRoberto Ierusalimschy2012-05-221-1/+2
| | | | therefore not collectable in the current cycle)
* useless parameter in macro 'luai_makeseed'Roberto Ierusalimschy2012-05-111-2/+2
|
* random seed used in the hash of all strings to avoid intentionalRoberto Ierusalimschy2012-02-011-1/+36
| | | | collisions
* 'luaC_separateudata' called from 'luaC_freeallobjects' + removedRoberto Ierusalimschy2011-10-031-5/+2
| | | | extra 'luaF_close' (already being called by 'close_state')
* 'nCcalls' should be local to each thread, as each thread may have itsRoberto Ierusalimschy2011-08-231-2/+2
| | | | own C stack (with LuaThreads or something similar)
* no more 'luaH_setstr (used only once) + 'luaH_setint' receives valueRoberto Ierusalimschy2011-08-091-3/+3
| | | | to be set.
* change in the relationship between totalbytes and GCdebt - luaM_realloc_Roberto Ierusalimschy2010-12-201-6/+9
| | | | is too critical to update two counters
* better control for GC running or stoppedRoberto Ierusalimschy2010-12-201-2/+3
|
* finalizers (__gc) for tablesRoberto Ierusalimschy2010-11-261-2/+2
|
* new parameter 'majorinc' to control frequency of major collectionsRoberto Ierusalimschy2010-09-031-1/+6
| | | | in generational mode
* detailRoberto Ierusalimschy2010-04-301-3/+2
|
* default PAUSE should be 200 (differences may be corrected inRoberto Ierusalimschy2010-04-301-6/+6
| | | | | internal multiplers) + check for unbilt stack equal the one used by lgc.c
* new way to control GC speedRoberto Ierusalimschy2010-04-291-12/+19
|
* ensure that 'luai_userstatethread' is always called (even ifRoberto Ierusalimschy2010-04-191-5/+4
| | | | 'stack_init' throws a memory error)
* tells the allocation function that the first block is a threadRoberto Ierusalimschy2010-04-191-2/+2
|
* no more 'ccall' nor 'cpcall' functions. (With light C functions theyRoberto Ierusalimschy2010-04-141-19/+1
| | | | are obsolete.)
* new macro LUA_NUMTAGSRoberto Ierusalimschy2010-04-121-2/+2
|
* keep memory-error message in the global state, so that its useRoberto Ierusalimschy2010-04-081-2/+7
| | | | | does not depend on Lua internalizing strings to avoid a string creation on memory errors
* no need to keep "_ENV" name in global state (can be kept in lex state)Roberto Ierusalimschy2010-04-051-3/+1
|
* global table now is only kept in the registryRoberto Ierusalimschy2010-03-291-5/+3
|
* no more fenvs!Roberto Ierusalimschy2010-03-261-5/+2
|
* major collections in generational modeRoberto Ierusalimschy2010-03-251-1/+2
|
* 'mainthread' is not inserted in the 'allgc' list anymore, but sweptRoberto Ierusalimschy2010-03-251-3/+2
| | | | separately.
* userdata with finalizers are kept in a separated list ('udgc'), insteadRoberto Ierusalimschy2010-03-241-2/+3
| | | | | of at the end of 'rootgc' (which was renamed to 'allgc', as it is not "root" in the usual meaning for collectors)
* detail (wrong comment about LUAI_GCPAUSE)Roberto Ierusalimschy2010-03-221-2/+2
|
* 'cpcall' renamed to 'ccall' as it does not do a protected callRoberto Ierusalimschy2010-03-191-6/+6
|
* '_ENV' name permanently stored in global state for easier accessRoberto Ierusalimschy2010-03-131-1/+3
|
* no more pseudoindex LUA_GLOBALSINDEX; global table now accessibleRoberto Ierusalimschy2009-12-221-5/+9
| | | | through registry
* several configuration options that do not change often moved out ofRoberto Ierusalimschy2009-12-171-1/+10
| | | | luaconf.h and into more internal files
* allocator function receives the tag of object being allocated in 'osize'Roberto Ierusalimschy2009-12-161-3/+2
| | | | when 'ptr' is NULL.
* cleaner way to add extra space in a lua state.Roberto Ierusalimschy2009-12-141-11/+22
|
* (huge) simplification of GC managementRoberto Ierusalimschy2009-11-181-11/+3
|
* no more one environment per thread: all threads share a single globalRoberto Ierusalimschy2009-10-231-10/+9
| | | | environment
* new function lua_copyRoberto Ierusalimschy2009-10-051-3/+2
|
* 'cpcall' must ensure correct environment for called functionRoberto Ierusalimschy2009-09-301-2/+5
|
* initialize g->estimate (just in case)Roberto Ierusalimschy2009-09-281-2/+3
|
* 'cpcall' reimplemented as a predefined value in the registryRoberto Ierusalimschy2009-09-211-3/+30
|
* 'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREADRoberto Ierusalimschy2009-09-171-2/+12
|
* new way to control stack overflow, controling only total size of the stackRoberto Ierusalimschy2009-07-151-14/+5
|
* new function 'lua_version' (so that 'checkversion' can be implementedRoberto Ierusalimschy2009-06-181-2/+2
| | | | in the auxiliary library)
* no more L->base + ci->base only for Lua functions (C functions may useRoberto Ierusalimschy2009-06-011-2/+1
| | | | 'func')
* new way to GC stacks: the entire stack must be correct all the times;Roberto Ierusalimschy2009-04-281-1/+4
| | | | | the 'dead' part of a stack (after the top) must have only nil's, so that 'top' may go up without cleaning the stack.
* several small improvements based on 'ci' being fixed now (includingRoberto Ierusalimschy2009-04-171-2/+1
| | | | erasing savedpc from lua_State)
* 'luaM_freearray' does not need array type as argumentRoberto Ierusalimschy2009-04-171-3/+3
|
* 'CallInfo' stack implemented as double-linked list instead of an arrayRoberto Ierusalimschy2009-04-171-14/+47
|
* yielding across lua_call (first version)Roberto Ierusalimschy2009-03-101-2/+2
|
* new macro 'lua_checkversion' to check whether core and application areRoberto Ierusalimschy2009-02-181-1/+2
| | | | compatible