aboutsummaryrefslogtreecommitdiff
path: root/ltests.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* first version of empty entries in tablesRoberto Ierusalimschy2018-02-231-3/+3
| | | | (so that, in the future, tables can contain regular nil entries)
* userdata can have multiple user valuesRoberto Ierusalimschy2018-02-201-10/+15
|
* janitor work on castsRoberto Ierusalimschy2018-01-281-13/+13
|
* keep more opcode arguments byte-alignedRoberto Ierusalimschy2018-01-091-2/+2
|
* new command 'print' (to print literal strings) in mini-languageRoberto Ierusalimschy2017-12-291-2/+6
|
* some cleaning on signed opcode parametersRoberto Ierusalimschy2017-12-151-2/+2
|
* allows memory-allocation errors when shrinking blocksRoberto Ierusalimschy2017-12-111-2/+3
|
* new C instruction "rawcheckstack" (to test failing in 'lua_checkstack')Roberto Ierusalimschy2017-12-081-3/+16
|
* new test function 'T.allocount' to restrict number of allocationsRoberto Ierusalimschy2017-12-071-3/+18
| | | | before a memory-allocation error
* more information from 'T.stacklevel'Roberto Ierusalimschy2017-11-231-2/+4
|
* removed unused variable 'islocked'Roberto Ierusalimschy2017-11-091-4/+1
|
* new format for JUMP instructions (to allow larger offsets)Roberto Ierusalimschy2017-11-071-3/+9
|
* back to 'CallInfo' (no gains with its removal)Roberto Ierusalimschy2017-11-071-11/+12
|
* no more useful fields in CallInfoRoberto Ierusalimschy2017-11-031-11/+9
|
* more fields moved out of 'CallInfo'Roberto Ierusalimschy2017-11-031-5/+6
|
* new API for 'lua_resume' + cleaning the uses of the 'extra' field inRoberto Ierusalimschy2017-11-021-10/+8
| | | | 'CallInfo'
* using 'L->func' when possibleRoberto Ierusalimschy2017-11-011-2/+2
|
* eplicit 1-bit opcode operand 'k'Roberto Ierusalimschy2017-10-041-3/+4
|
* new function 'printcode'Roberto Ierusalimschy2017-10-011-1/+18
|
* new type 'StackValue' for stack elementsRoberto Ierusalimschy2017-06-291-4/+4
| | | | (we may want to put extra info there in the future)
* new constant 'LUA_GNAME' for the name of the global table "_G"Roberto Ierusalimschy2017-06-271-2/+2
|
* 'lineinfo' in prototypes saved as differences instead of absoluteRoberto Ierusalimschy2017-06-271-2/+2
| | | | | | values, so that the array can use bytes instead of ints, reducing its size. (A new array 'abslineinfo' is used when line differences do not fit in a byte.)
* no more 'DEADKEY'. Table traversals do not need to consider dead keys;Roberto Ierusalimschy2017-06-121-2/+1
| | | | | | if the key is dead, it cannot be given to 'next'. Instead, we now use a 'table' tag without the collectable bit, which makes it a unique tag good enough to reserve space.
* in hash nodes, keys are stored in separate pieces to avoid wastingRoberto Ierusalimschy2017-06-091-6/+10
| | | | space with alignments
* updated GC states in function 'T.gcstate'Roberto Ierusalimschy2017-05-311-5/+7
|
* barrier for prototype's cache (with new gray list 'protogray' to keepRoberto Ierusalimschy2017-05-041-1/+4
| | | | prototypes to have their caches visited again) + constant 'MAXMISS'
* type 'L_Umaxalign' replaced by macro 'LUAI_MAXALIGN', which is also addedRoberto Ierusalimschy2017-04-241-2/+2
| | | | to the auxlib buffer
* 'KGC_NORMAL' -> 'KGC_INC' + emergency GC signalled by flag (insteadRoberto Ierusalimschy2017-04-241-2/+2
| | | | of mode)
* corrected some checks about colors of old objects + new test functionRoberto Ierusalimschy2017-04-191-15/+46
| | | | 'gcage'
* memory check adapted to generational modeRoberto Ierusalimschy2017-04-181-63/+133
|
* generational collection: new attempt (still incomplete)Roberto Ierusalimschy2017-02-231-5/+7
|
* using constants for "_LOADED" and "PRELOAD"Roberto Ierusalimschy2016-12-041-2/+2
|
* using 'lastfree == NULL' to signal that table is using the dummyRoberto Ierusalimschy2016-11-071-3/+3
| | | | node for its hash part + new macro 'allocsizenode'
* '*' as a number means stack size, so that "return *" returnsRoberto Ierusalimschy2015-10-121-1/+6
| | | | all values in the stack.
* new definition for macro 'checkliveness'Roberto Ierusalimschy2015-09-081-2/+2
|
* detailRoberto Ierusalimschy2015-07-011-2/+2
|
* using 'lua_longassert' to avoid warningsRoberto Ierusalimschy2015-06-181-2/+2
|
* new function 'log2' to test 'luaO_ceillog2' (if needed)Roberto Ierusalimschy2015-04-021-1/+9
|
* code detail ('if' -> '?:')Roberto Ierusalimschy2015-03-131-6/+6
|
* 'ci_func' don't need to be exportedRoberto Ierusalimschy2015-03-111-2/+2
|
* size of short strings stored in a single byte, to reduce the sizeRoberto Ierusalimschy2015-01-161-2/+2
| | | | of struct 'TString'
* stupid bug in T.stacklevel (not in use by the tests)Roberto Ierusalimschy2014-12-181-2/+2
|
* new parameter for testC instruction 'pcall' (error handler)Roberto Ierusalimschy2014-12-101-4/+4
|
* casts ('(int)' -> 'cast_int')Roberto Ierusalimschy2014-11-291-9/+9
|
* clearer notation for "compare" instructionRoberto Ierusalimschy2014-11-251-3/+6
|
* allows calling luaL_checkstack with no message (in runC)Roberto Ierusalimschy2014-11-141-2/+5
|
* independent code for 'printstack' + test for panic function canRoberto Ierusalimschy2014-11-111-17/+21
| | | | ran code there
* new function 'T.checkpanic' (to check panic errors)Roberto Ierusalimschy2014-11-101-1/+52
|
* luaL_loadbuffer replaced by luaL_loadstring (to test luaL_loadstring)Roberto Ierusalimschy2014-11-101-4/+11
| | | | + 'rawgetp'/'rawsetp' added to C interpreter
* when checking thread consistency, check its entire stack (alwaysRoberto Ierusalimschy2014-11-071-4/+4
| | | | the entire stack must have valid values)