aboutsummaryrefslogtreecommitdiff
path: root/lapi.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* no more nil-in-tableRoberto Ierusalimschy2018-04-041-22/+1
|
* 'lua_setiuservalue' removes value from the stack even in case of errorRoberto Ierusalimschy2018-02-271-2/+2
|
* metamethods for 'removekey'/'keyin'Roberto Ierusalimschy2018-02-271-11/+8
|
* better names for macros for tags and types.Roberto Ierusalimschy2018-02-261-16/+16
| | | | | rttype -> rawtt; ttyperaw -> withvariant; ttype -> ttypetag; tnov -> ttype
* first (parcial) implementation of 'keyin'/'removekey'Roberto Ierusalimschy2018-02-251-33/+59
| | | | (still no metamethods, no raw verssions)
* first version of empty entries in tablesRoberto Ierusalimschy2018-02-231-12/+18
| | | | (so that, in the future, tables can contain regular nil entries)
* userdata can have multiple user valuesRoberto Ierusalimschy2018-02-201-9/+26
|
* more generic way to handle 'gclist'Roberto Ierusalimschy2018-02-191-4/+4
|
* 'collectgarbage' returns old mode when changing modeRoberto Ierusalimschy2018-02-051-1/+5
|
* warnings in VS (implicit casts from ptrdiff_t to int)Roberto Ierusalimschy2018-01-291-2/+2
|
* janitor work on castsRoberto Ierusalimschy2018-01-281-4/+4
|
* error handler in protected calls must be a functionRoberto Ierusalimschy2018-01-101-1/+2
|
* more freedom in handling memory-allocation errors (not all allocationsRoberto Ierusalimschy2017-12-081-12/+2
| | | | | automatically raise an error), which allows fixing a bug when resizing a table.
* bug: 'lua_pushcclosure' should not call the GC when 'n' is zeroRoberto Ierusalimschy2017-12-061-3/+4
|
* detail (typo in comments)Roberto Ierusalimschy2017-11-231-2/+2
|
* back to 'CallInfo' (no gains with its removal)Roberto Ierusalimschy2017-11-071-42/+39
|
* no more useful fields in CallInfoRoberto Ierusalimschy2017-11-031-9/+9
|
* more fields moved out of 'CallInfo'Roberto Ierusalimschy2017-11-031-20/+25
|
* 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