summaryrefslogtreecommitdiff
path: root/ltests.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Lua 5.3.5 ported to gitv5.3.5Roberto Ierusalimschy2018-12-171-1/+1
| | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2.
* 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)
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-021-4/+6
| | | | any other header file
* comments (a few extra quotes around identifiers)Roberto Ierusalimschy2014-10-301-2/+2
|
* 'T.limits' reports some more useful limitsRoberto Ierusalimschy2014-10-271-2/+5
|
* `name' in comments changed to 'name'Roberto Ierusalimschy2014-10-251-2/+2
|
* 'lua_Kcontext' -> 'lua_KContext'Roberto Ierusalimschy2014-10-071-3/+3
|
* when thread yields, real "func" is in field 'extra', not in 'func'Roberto Ierusalimschy2014-10-061-4/+8
|
* deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.)Roberto Ierusalimschy2014-10-011-9/+9
|
* size for array part of a table ('sizearray') changed from 'int' toRoberto Ierusalimschy2014-09-041-3/+3
| | | | 'unsigned int', which allows twice as many elements in the array part
* 'T.gccolor' classify dead objects tooRoberto Ierusalimschy2014-09-011-4/+7
|
* 'lua_Ctx' -> 'lua_Kcontext'Roberto Ierusalimschy2014-08-011-3/+3
|
* no need for type 'pCallInfo'Roberto Ierusalimschy2014-07-231-2/+2
|
* 'iswhite' and related macros now can work directly on any objectRoberto Ierusalimschy2014-07-191-3/+3
| | | | (no need to convert to 'GCObject')
* type 'Udata' refers directly to structure inside the union (unionRoberto Ierusalimschy2014-07-181-2/+2
| | | | used only for aligning purposes now)
* type 'TString' refers directly to the structure inside the unionRoberto Ierusalimschy2014-07-181-8/+5
| | | | (union used only for size purposes)
* added check for conversion 'obj2gco' (and corrections for smallRoberto Ierusalimschy2014-07-181-10/+11
| | | | problems detected by this check)
* no need for field 'gch' anymoreRoberto Ierusalimschy2014-07-171-18/+18
|
* new type 'lua_Ctx' for continuation-function contexts (to allow typeRoberto Ierusalimschy2014-07-171-3/+3
| | | | to be configurable)
* 'requiref' checks 'package.loaded' before loading a moduleRoberto Ierusalimschy2014-07-161-2/+7
|
* unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.)Roberto Ierusalimschy2014-06-261-4/+1
| | | | deprecated
* detail (avoid too large macro)Roberto Ierusalimschy2014-06-191-3/+5
|
* macro 'checkobjref' accepts NULL (as all its uses checked for NULLRoberto Ierusalimschy2014-06-171-21/+15
| | | | before) + user value from a userdata may not be a GC object
* new type lua_KFunction + no more 'lua_getctx'Roberto Ierusalimschy2014-06-101-12/+8
|
* new API function 'lua_rotate'Roberto Ierusalimschy2014-05-131-1/+5
|
* 'T.totalmem' accepts 0 for unlimited memoryRoberto Ierusalimschy2014-05-081-3/+5
|
* instructions in 'runC' sorted alphabetically + new instructionsRoberto Ierusalimschy2014-04-141-192/+198
| | | | 'tointeger'/'tounsigned'
* userdata can have any Lua value as uservalueRoberto Ierusalimschy2014-02-191-1/+4
|
* no need to keep threads in a different GC list, now that there is theRoberto Ierusalimschy2014-02-181-15/+5
| | | | 'twups' list
* field 'op' renamed to 'open'Roberto Ierusalimschy2014-02-151-2/+2
|
* no more local collectionRoberto Ierusalimschy2014-02-131-49/+18
|
* keep a single list of objects to be finalized (with local and non-localRoberto Ierusalimschy2014-02-111-15/+10
| | | | objects), to ensure finalization order