aboutsummaryrefslogtreecommitdiff
path: root/lapi.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* new API for 'lua_resume' + cleaning the uses of the 'extra' field inRoberto Ierusalimschy2017-11-021-4/+3
| | | | 'CallInfo'
* using 'L->func' when possibleRoberto Ierusalimschy2017-11-011-13/+12
|
* some cleaning in GC parametersRoberto Ierusalimschy2017-10-111-10/+15
|
* new type 'StackValue' for stack elementsRoberto Ierusalimschy2017-06-291-126/+142
| | | | (we may want to put extra info there in the future)
* macro 'luaV_fastget' may need protection ({}) to be used insideRoberto Ierusalimschy2017-06-011-3/+5
| | | | 'if's
* revamping the incremental collectorRoberto Ierusalimschy2017-05-261-20/+24
| | | | | | Some simplifications (not counting bytes, couting only slots visited; no more 'gcfinnum'); more GC parameters; using vararg in 'lua_gc' to set parameters in different GC modes
* 'lua_rawlen' returns 'lua_Unsigned' instead of 'size_t'. (RealRoberto Ierusalimschy2017-05-181-2/+2
| | | | | length of strings and userdata are limited by Lua integers, but table length is hard to compute limiting it to 'size_t'.)
* revamp of fast track for table access (table set uses the sameRoberto Ierusalimschy2017-05-111-15/+26
| | | | macros as table get + new macro for integer keys)
* 'KGC_NORMAL' -> 'KGC_INC' + emergency GC signalled by flag (insteadRoberto Ierusalimschy2017-04-241-2/+2
| | | | of mode)
* macros to define default parameters for generational collectionRoberto Ierusalimschy2017-04-201-3/+8
|
* first version of control for the generational collectorRoberto Ierusalimschy2017-04-191-1/+5
|
* Upvalues collected like everything else (with mark-sweep) insteadRoberto Ierusalimschy2017-04-111-15/+10
| | | | of reference count (simpler and better for generational mode)
* small changes in 'luaC_upvalbarrier'Roberto Ierusalimschy2017-04-061-5/+5
|
* generational collection: new attempt (still incomplete)Roberto Ierusalimschy2017-02-231-1/+9
|
* call 'checkGC' *after* creating new objects (this is how 'execute'Roberto Ierusalimschy2016-02-291-10/+10
| | | | | | does it) (It increases the changes that 'allgc' start with a non-white object, which helps 'entersweep')
* 'luaV_fastget' only treats the real fast case (table with a non-nilRoberto Ierusalimschy2016-01-051-15/+15
| | | | value at given key, so that it does not need to check metamethods)
* in 'luaD_call', use two functions instead of one with fixed booleanRoberto Ierusalimschy2015-11-021-7/+7
| | | | argument
* allow NULL string when length is zero in 'lua_pushlstring' andRoberto Ierusalimschy2015-10-061-5/+5
| | | | 'luaL_addlstring'
* 'setobj2t' incorporated into 'luaV_fastset' + 'invalidateTMcache'Roberto Ierusalimschy2015-09-091-26/+21
| | | | | | is not needed in the fast track (as it does not create new entries) + small bug in 'auxsetstr' (calling barrier with wrong object) + using 'setobj2t' without side effects in its arguments
* added assert for NULL pointer in 'lua_pushlstring'Roberto Ierusalimschy2015-08-251-1/+6
|
* 'invalidateTMcache' not needed in all 'settable' usesRoberto Ierusalimschy2015-08-031-1/+2
|
* fast track for 'settable'Roberto Ierusalimschy2015-08-031-21/+31
|
* implementation of fast track for gettable operationsRoberto Ierusalimschy2015-07-201-18/+30
|
* details (use original type when saving variable's value)Roberto Ierusalimschy2015-06-181-2/+2
|
* avoid using API functions inside the coreRoberto Ierusalimschy2015-04-061-12/+10
|
* details (avoid 'lint' warnings)Roberto Ierusalimschy2015-03-281-2/+2
|
* macro 'luai_apicheck'/'api_check' back with a 'lua_State' parameterRoberto Ierusalimschy2015-03-061-38/+38
| | | | (some people use it)
* added API checks to some unprotected 'top' incrementsRoberto Ierusalimschy2015-02-111-7/+12
|
* size of short strings stored in a single byte, to reduce the sizeRoberto Ierusalimschy2015-01-161-4/+6
| | | | of struct 'TString'
* removed useless initializationsRoberto Ierusalimschy2014-12-261-2/+2
|
* details (match parameter names with lua.h and manual)Roberto Ierusalimschy2014-11-121-12/+12
|
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-021-4/+6
| | | | any other header file
* 'lua_load' sets _ENV for any chunk with upvalues (not just thoseRoberto Ierusalimschy2014-10-311-2/+2
| | | | with exactly one upvalue)
* removed useless 'include math.h'Roberto Ierusalimschy2014-10-281-2/+1
|
* `name' in comments changed to 'name'Roberto Ierusalimschy2014-10-251-5/+5
|
* 'lua_stringtonum' -> 'lua_stringtonumber'Roberto Ierusalimschy2014-10-171-2/+2
|
* 'lua_strtonum' -> 'lua_stringtonum'Roberto Ierusalimschy2014-10-151-2/+2
|
* 'lua_Kcontext' -> 'lua_KContext'Roberto Ierusalimschy2014-10-071-3/+3
|
* detailRoberto Ierusalimschy2014-08-271-5/+3
|
* new functions 'lua_geti/lua_seti' (non raw)Roberto Ierusalimschy2014-08-211-1/+25
|
* 'lua_Ctx' -> 'lua_Kcontext'Roberto Ierusalimschy2014-08-011-4/+4
|
* new macro 'cvt2str' to better control whether numbers are convertibleRoberto Ierusalimschy2014-07-301-6/+6
| | | | to strings
* 'lua_replace' implemented as a macro using 'lua_copy'Roberto Ierusalimschy2014-07-221-21/+10
|
* more precise type for argument to 'aux_upvalue'Roberto Ierusalimschy2014-07-211-4/+4
|
* put the restriction that 'luaC_barrierback' works only on tablesRoberto Ierusalimschy2014-07-191-17/+23
| | | | in its prototype
* type 'Udata' refers directly to structure inside the union (unionRoberto Ierusalimschy2014-07-181-5/+5
| | | | used only for aligning purposes now)
* added check for conversion 'obj2gco' (and corrections for smallRoberto Ierusalimschy2014-07-181-3/+3
| | | | problems detected by this check)
* new type 'lua_Ctx' for continuation-function contexts (to allow typeRoberto Ierusalimschy2014-07-171-3/+3
| | | | to be configurable)
* removed unused parameter Ä'L' in macro 'api_check' and companyRoberto Ierusalimschy2014-07-151-39/+39
|
* added api check in 'lua_typename' (tag is valid)Roberto Ierusalimschy2014-07-151-2/+3
|