summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* no more fenvs!Roberto Ierusalimschy2010-03-2616-170/+78
|
* major collections in generational modeRoberto Ierusalimschy2010-03-254-23/+39
|
* 'mainthread' is not inserted in the 'allgc' list anymore, but sweptRoberto Ierusalimschy2010-03-254-21/+18
| | | | separately.
* generational mode no longer sweep old objectsRoberto Ierusalimschy2010-03-242-19/+41
|
* userdata with finalizers are kept in a separated list ('udgc'), insteadRoberto Ierusalimschy2010-03-245-44/+48
| | | | | of at the end of 'rootgc' (which was renamed to 'allgc', as it is not "root" in the usual meaning for collectors)
* BUG: emergency collector might resize 'strt' (string table) whenRoberto Ierusalimschy2010-03-231-11/+27
| | | | | | | creating a new string + atomic and markroot steps has some cost + full collection must leave collector in proper state when mode is generational
* draft version of a generational mode for garbage collection. (Not wellRoberto Ierusalimschy2010-03-225-35/+70
| | | | tested; no major collections; ...)
* detail (wrong comment about LUAI_GCPAUSE)Roberto Ierusalimschy2010-03-221-2/+2
|
* 'lua_assert' not visible from librariesRoberto Ierusalimschy2010-03-221-3/+2
|
* 'cpcall' renamed to 'ccall' as it does not do a protected callRoberto Ierusalimschy2010-03-193-10/+10
|
* 'ipairs' is deprecatedRoberto Ierusalimschy2010-03-191-1/+13
|
* for compatibility only: 'module' changes the first upvalue ofRoberto Ierusalimschy2010-03-191-4/+8
| | | | calling function to affect its environment
* avoid using function environments in C libraries (as it probably willRoberto Ierusalimschy2010-03-174-51/+69
| | | | be deprecated)
* '_ENV' name permanently stored in global state for easier accessRoberto Ierusalimschy2010-03-135-12/+11
|
* must include 'string.h' because a macro uses 'strlen'Roberto Ierusalimschy2010-03-131-1/+2
|
* better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEXRoberto Ierusalimschy2010-03-134-23/+28
|
* first version of _ENV; no more global variablesRoberto Ierusalimschy2010-03-1212-124/+52
|
* small optimization in luaL_addlstring (avoid adding chars one by one)Roberto Ierusalimschy2010-03-121-3/+14
| | | | (suggested by Chuck Coffing)
* first step towards _ENV: all chunks have an puvalues _ENV with theRoberto Ierusalimschy2010-03-083-13/+33
| | | | global table
* when finding a 'name' for a function, handle the case when the functionRoberto Ierusalimschy2010-03-051-2/+5
| | | | is a for iterator
* when searching for a variable name, look existing upvalues beforeRoberto Ierusalimschy2010-03-041-20/+32
| | | | goingg to upper levels
* just in case, better to flush error messagesRoberto Ierusalimschy2010-03-031-2/+3
|
* new option '*L' for io.read + options for io.linesRoberto Ierusalimschy2010-03-031-24/+48
|
* avoid 'continue' unless necessaryRoberto Ierusalimschy2010-02-272-59/+59
|
* removed useless test (argv[i] cannot be NULL when i<argc)Roberto Ierusalimschy2010-02-271-2/+1
|
* new instructions to optimize indexing on upvaluesRoberto Ierusalimschy2010-02-268-31/+89
|
* detail: in loadfile read function, no need to return NULL on EOF;Roberto Ierusalimschy2010-02-181-2/+2
| | | | size ==0 is enough to signal EOF.
* avoid using 'ungetc' in loadfileRoberto Ierusalimschy2010-02-181-7/+15
|
* new macro 'luai_writestringerror'Roberto Ierusalimschy2010-02-184-18/+25
|
* no need to flush either stderr or \n-terminated outputsRoberto Ierusalimschy2010-02-111-4/+1
|
* use of 'conventional' names for shift and rotate operations +Roberto Ierusalimschy2010-02-111-7/+27
| | | | right/left versions for them
* removed support for '#fist-line comment' on binary files (as binaryRoberto Ierusalimschy2010-02-111-14/+2
| | | | files do not have lines...)
* better usage messages, showing entire offending argumentRoberto Ierusalimschy2010-02-091-8/+11
|
* when yielding, original 'func' value must be kept and restored soRoberto Ierusalimschy2010-02-091-7/+6
| | | | that 'poscall' puts results in the right slot.
* field 'oldtop' renamed to 'extra', as it can be used for otherRoberto Ierusalimschy2010-02-092-4/+4
| | | | purposes
* typo (thanks to Gavin)Roberto Ierusalimschy2010-02-051-2/+2
|
* new function 'luaL_cpcall'Roberto Ierusalimschy2010-01-215-23/+25
|
* typo in commentRoberto Ierusalimschy2010-01-211-2/+2
|
* better messages for invalid optionsRoberto Ierusalimschy2010-01-211-8/+10
|
* __unm metamethod gets nil as its 2nd parameterRoberto Ierusalimschy2010-01-151-1/+2
|
* table.pack was locking last result, avoiding its collectionRoberto Ierusalimschy2010-01-131-1/+3
|
* HINSTANCE -> HMODULE (they are the same thing, but the MS documentationRoberto Ierusalimschy2010-01-131-4/+12
| | | | | uses the latter) + LoadLibrary -> LoadLibraryEx with optional arguments, to allow the option LOAD_WITH_ALTERED_SEARCH_PATH
* warnings that are not compatible with C++ separated from other warningRoberto Ierusalimschy2010-01-131-9/+12
| | | | options
* "no value" added to array luaT_typenames + occurrences of "userdata"Roberto Ierusalimschy2010-01-135-23/+20
| | | | in that array unified in a single address
* correct error message when yielding from outside a coroutineRoberto Ierusalimschy2010-01-131-3/+7
|
* on 64-bit machines, an address may not fit into a 'long', so itRoberto Ierusalimschy2010-01-131-2/+2
| | | | | is better to convert from pointer to void to pointer to function directly, even if ANSI C does not like it.
* missing standard definesRoberto Ierusalimschy2010-01-121-1/+4
|
* 'searchpath' changes dots into directory separatorsRoberto Ierusalimschy2010-01-111-2/+2
|
* added casts from int to enumerations to follow C++ rulesRoberto Ierusalimschy2010-01-112-6/+7
|
* removed useless initializationRoberto Ierusalimschy2010-01-111-2/+2
|