summaryrefslogtreecommitdiff
path: root/ltests.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* extra argument to instruction 'checkstack' (in 'testC')Roberto Ierusalimschy2011-11-091-2/+3
|
* detail about 'trick' function (nil turn it off)Roberto Ierusalimschy2011-09-241-2/+5
|
* 'nCcalls' should be local to each thread, as each thread may have itsRoberto Ierusalimschy2011-08-231-3/+3
| | | | own C stack (with LuaThreads or something similar)
* compilation warning about integer size x pointer sizeRoberto Ierusalimschy2011-07-021-2/+2
|
* useless assignments removed (macros already do the assignment)Roberto Ierusalimschy2011-06-241-4/+4
|
* stricter control (using tag variants) over closure kinds (Lua x C)Roberto Ierusalimschy2011-06-021-2/+2
|
* avoid use of 'ifdef/ifndef'; use 'defined' instead (simpler andRoberto Ierusalimschy2011-05-251-2/+2
| | | | more powerful)
* break long assertion in two shorter onesRoberto Ierusalimschy2011-05-051-2/+3
|
* 'luaL_findtable' -> 'luaL_getsubtable'Roberto Ierusalimschy2011-04-081-2/+2
|
* new macro 'cast_uchar'Roberto Ierusalimschy2010-12-101-3/+3
|
* finalizers (__gc) for tablesRoberto Ierusalimschy2010-11-261-10/+11
|
* no more compatibility with (veryyyy) old ref systemRoberto Ierusalimschy2010-11-161-5/+4
|
* 'module'/'luaL_register' and associates are deprecatedRoberto Ierusalimschy2010-07-281-3/+3
|
* new module policy: C modules do not create globals and do not registerRoberto Ierusalimschy2010-07-021-12/+16
| | | | | | themselves with 'require' (let 'require' do its work); new auxiliary functions luaL_newlib/luaL_newlibtable/luaL_setfuncs/luaL_requiref. Old luaL_register will be deprecated.
* macro 'key2tal' replaced by 'gkey' (as both were equal)Roberto Ierusalimschy2010-06-251-2/+2
|
* 'coroutine' library separated from 'baselib'Roberto Ierusalimschy2010-06-101-1/+2
|
* lua_pushstring may reallocate the stack, making 'o' a danglingRoberto Ierusalimschy2010-05-171-5/+6
| | | | pointer
* new "instruction" 'absindex'Roberto Ierusalimschy2010-05-141-1/+4
|
* wrong type being assigned (not detected because of obj2gco macro)Roberto Ierusalimschy2010-05-111-2/+2
|
* udata in 'tobefnz' list be have old bit on (it will be clearedRoberto Ierusalimschy2010-05-101-2/+1
| | | | when udata is moved to 'allgc' list)
* details (to avoid too long strings in assertions)Roberto Ierusalimschy2010-05-071-4/+4
|
* more tests in 'lua_checkmemory' + more information in functionRoberto Ierusalimschy2010-05-071-17/+29
| | | | 'gccolor'
* more tests in 'lua_checkmemory'Roberto Ierusalimschy2010-05-061-13/+48
|
* no more 'finalize' phase in GC; finalizers are called along theRoberto Ierusalimschy2010-05-031-3/+3
| | | | entire cycle
* items in 'tobefnz' are kept black (as before recent change) and changedRoberto Ierusalimschy2010-05-031-1/+4
| | | | | to white only when needed (being moved to 'allgc' when not keeping invariant).
* "gray lists" only need to be valid when 'keepinvariant' is trueRoberto Ierusalimschy2010-04-301-2/+3
|
* removed commented-out debugging codeRoberto Ierusalimschy2010-04-291-3/+1
|
* improved 'lua_checkmemory', with better control over gray objectsRoberto Ierusalimschy2010-04-291-24/+45
|
* complete control over number of each kind of object allocatedRoberto Ierusalimschy2010-04-191-46/+53
|
* 'gcstate' now also runs collector until given state + small changesRoberto Ierusalimschy2010-04-161-21/+22
| | | | in 'testC' to test 'lua_topointer' and 'lua_tocfunction'
* first implementation of light C functionsRoberto Ierusalimschy2010-04-141-3/+6
|
* better control in 'totalmem' over choosing countersRoberto Ierusalimschy2010-04-121-8/+18
|
* check memory allows strings to live in the main GC list (it shouldRoberto Ierusalimschy2010-04-121-1/+2
| | | | work ok).
* global table now is only kept in the registryRoberto Ierusalimschy2010-03-291-2/+1
|
* no more fenvs!Roberto Ierusalimschy2010-03-261-3/+7
|
* 'mainthread' is not inserted in the 'allgc' list anymore, but sweptRoberto Ierusalimschy2010-03-251-4/+3
| | | | separately.
* userdata with finalizers are kept in a separated list ('udgc'), insteadRoberto Ierusalimschy2010-03-241-4/+4
| | | | | of at the end of 'rootgc' (which was renamed to 'allgc', as it is not "root" in the usual meaning for collectors)
* "no value" added to array luaT_typenames + occurrences of "userdata"Roberto Ierusalimschy2010-01-131-10/+3
| | | | in that array unified in a single address
* no more pseudoindex LUA_GLOBALSINDEX; global table now accessibleRoberto Ierusalimschy2009-12-221-4/+4
| | | | through registry
* 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'Roberto Ierusalimschy2009-12-171-5/+11
|
* allocator function receives the tag of object being allocated in 'osize'Roberto Ierusalimschy2009-12-171-4/+10
| | | | when 'ptr' is NULL.
* new function 'luaC_runtilstate' to advance GC until a "valid" stateRoberto Ierusalimschy2009-12-111-1/+4
|
* several new features in testC to allow better testing of lua_resumeRoberto Ierusalimschy2009-12-101-27/+62
| | | | at the C API level
* strings in C scripts may be delimited by quotes + new functionality toRoberto Ierusalimschy2009-12-011-16/+76
| | | | set C scripts as C hooks
* continuations may be upvalues tooRoberto Ierusalimschy2009-11-271-4/+5
|
* macro 'checkvalref' redefined as function (to avoid too long macros)Roberto Ierusalimschy2009-11-061-3/+6
|
* better control over accesses to TValue fieldsRoberto Ierusalimschy2009-11-051-3/+3
|
* no more one environment per thread: all threads share a single globalRoberto Ierusalimschy2009-10-231-2/+3
| | | | environment
* parser keeps list of active local variables in a single dynamic array,Roberto Ierusalimschy2009-10-111-2/+1
| | | | therefore saving C stack space
* new function lua_copyRoberto Ierusalimschy2009-10-051-1/+5
|