summaryrefslogtreecommitdiff
path: root/lfunc.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.
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-021-4/+6
| | | | any other header file
* `name' in comments changed to 'name'Roberto Ierusalimschy2014-10-251-3/+3
|
* more precision between closure types ('LClosure' x 'CClosure')Roberto Ierusalimschy2014-06-191-9/+9
|
* use appropriate macros to convert GCObject to specific typesRoberto Ierusalimschy2014-06-181-4/+7
|
* new list 'twups' to allow traversal of upvalues from dead threadsRoberto Ierusalimschy2014-02-181-4/+12
| | | | (+ fixed some problems with cycles involving those upvalues)
* field 'op' renamed to 'open'Roberto Ierusalimschy2014-02-151-4/+4
|
* no more local collectionRoberto Ierusalimschy2014-02-131-2/+1
|
* 'luaC_newobj' does not handle special cases; only special caseRoberto Ierusalimschy2013-09-111-4/+4
| | | | now is threads, which do not use 'luaC_newobj' anymore.
* LOCALBLACK changed to LOCALMARK and used also to control whether objectRoberto Ierusalimschy2013-08-271-6/+4
| | | | | is in 'localgc' list + luaC_newobj by default puts object in 'localgc' list
* upvalues collected by reference countRoberto Ierusalimschy2013-08-271-38/+27
|
* Lua closures go to local, tooRoberto Ierusalimschy2013-08-261-5/+14
|
* C functions and strings now go to the local list; first versionRoberto Ierusalimschy2013-08-231-2/+3
| | | | of the local collector
* added 'local' bit (true => object is only refered by local variables)Roberto Ierusalimschy2013-08-161-1/+3
|
* double-linked list of all upvalues elliminated and changed to aRoberto Ierusalimschy2013-08-071-27/+7
| | | | traversal of all non-marked threads
* no more generational collection !!!Roberto Ierusalimschy2013-08-051-2/+1
|
* open upvalues cannot be old if thread is not old; when thread is old,Roberto Ierusalimschy2012-10-031-2/+2
| | | | | their list is not traversed anymore, and therefore can contain dead elements.
* no more 'Proto' objects on the stack. Protos are anchored on outerRoberto Ierusalimschy2012-05-081-4/+3
| | | | Protos or on a Closure, which must be created before the Proto.
* object tag keeps variant bits too -> no need for 'isC' field inRoberto Ierusalimschy2012-01-201-12/+3
| | | | Closures + more strick typing for closure variants
* typo in commentsRoberto Ierusalimschy2010-06-301-2/+2
|
* unused '#include' removedRoberto Ierusalimschy2010-06-101-2/+1
|
* Lua closures are cached for reuseRoberto Ierusalimschy2010-06-041-2/+5
|
* corrected some places where an old object could end up in frontRoberto Ierusalimschy2010-05-101-3/+5
| | | | of a new one + minimal documentation about this problem
* nasty GC bug: upvalue must be turned white when not keeping invariant,Roberto Ierusalimschy2010-04-291-6/+2
| | | | but barrier was not being called when uv->v were already white.
* 'luaC_linkupval' embedded into call siteRoberto Ierusalimschy2010-04-291-4/+10
|
* no more fenvs!Roberto Ierusalimschy2010-03-261-5/+3
|
* first version of _ENV; no more global variablesRoberto Ierusalimschy2010-03-121-2/+1
|
* allocator function receives the tag of object being allocated in 'osize'Roberto Ierusalimschy2009-12-171-19/+12
| | | | when 'ptr' is NULL.
* macro 'ngcotouv' is the same as 'gco2uv', so it was removedRoberto Ierusalimschy2009-12-111-3/+3
|
* comment typosRoberto Ierusalimschy2009-11-261-2/+2
|
* first implementation of lexical environmentsRoberto Ierusalimschy2009-09-301-1/+3
|
* 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
* 'luaM_freearray' does not need array type as argumentRoberto Ierusalimschy2009-04-171-7/+7
|
* should not manipulate NULL pointers (even without accessing them)Roberto Ierusalimschy2007-02-071-3/+3
|
* small changes in castsRoberto Ierusalimschy2005-12-221-3/+3
|
* debug information for last line of a function definitionRoberto Ierusalimschy2005-05-051-2/+3
|
* small bugRoberto Ierusalimschy2005-04-291-5/+1
|
* C functions and userdata also have environmentsRoberto Ierusalimschy2005-02-181-4/+5
|
* cleaner way to free all objectsRoberto Ierusalimschy2005-02-101-3/+3
|
* better control over GC collors of upvaluesRoberto Ierusalimschy2005-01-191-3/+9
|
* cleaner way to remark open upvaluesRoberto Ierusalimschy2005-01-181-7/+31
|
* better names for `luaM_free...' macrosRoberto Ierusalimschy2004-11-241-4/+4
|
* new scheme for configuration through `luaconf.h'Roberto Ierusalimschy2004-04-301-1/+2
|
* better way to control open upvaluesRoberto Ierusalimschy2004-03-151-10/+12
|
* more and better tools (assertions & inspectors) to check incremental GCRoberto Ierusalimschy2004-02-161-2/+7
|
* `TObject' renamed to `TValue' + other name changes and better assertionsRoberto Ierusalimschy2003-12-101-10/+10
| | | | for incremental garbage collection
* First version of incremental GCRoberto Ierusalimschy2003-12-091-2/+3
|
* two different white flags (to distinguish dead elements from new ones)Roberto Ierusalimschy2003-12-031-2/+1
|
* macros for closure sizes are globalRoberto Ierusalimschy2003-11-241-8/+1
|
* gclist for upvalues must be available even when upvalue is still openRoberto Ierusalimschy2003-11-191-20/+21
|