summaryrefslogtreecommitdiff
path: root/ltests.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* a few more instructions to testC (func2udata and getfield)Roberto Ierusalimschy2009-09-301-1/+9
|
* information about upvalues (where they come from) kept in Proto structure,Roberto Ierusalimschy2009-09-281-5/+4
| | | | instead of sequence of pseudo-opcodes after OP_CLOSURE
* 'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREADRoberto Ierusalimschy2009-09-171-3/+5
|
* first implementation of 'lua_yieldk' (yield with continuation)Roberto Ierusalimschy2009-09-141-2/+12
|
* extra facilities to testC: comments + commands print, callk and yield +Roberto Ierusalimschy2009-09-091-5/+35
| | | | Cfunc with extra upvalues
* better machinery to test continuations in the C APIRoberto Ierusalimschy2009-08-261-1/+24
|
* new macro 'getproto'Roberto Ierusalimschy2009-07-151-4/+4
|
* new way to control stack overflow, controling only total size of the stackRoberto Ierusalimschy2009-07-151-2/+1
|
* new functions 'lua_arith' and 'lua_compare'Roberto Ierusalimschy2009-06-171-6/+10
|
* new API function 'lua_mainthread'Roberto Ierusalimschy2009-06-151-1/+3
|
* 'getline' renamed to 'getfuncline' (to avoid problems with POSIX)Roberto Ierusalimschy2009-06-101-2/+2
|