summaryrefslogtreecommitdiff
path: root/lapi.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* upvalues collected by reference countRoberto Ierusalimschy2013-08-271-8/+14
|
* added 'local' bit (true => object is only refered by local variables)Roberto Ierusalimschy2013-08-161-2/+6
|
* no more generational collection !!!Roberto Ierusalimschy2013-08-051-27/+8
|
* 'lua_cvtonum' -> 'lua_strtonum'; converts only strings to numbersRoberto Ierusalimschy2013-07-051-19/+12
|
* avoid warning for unary minus over an unsigned valueRoberto Ierusalimschy2013-06-201-2/+2
|
* new macro 'l_floor' (allows 'floorf' even when other math operationsRoberto Ierusalimschy2013-06-201-2/+2
| | | | do not have an 'f' variant)
* correct way (I hope) to convert floats to unsigned intRoberto Ierusalimschy2013-06-141-4/+8
|
* 'lua_tounsigned' takes number modulo 2^numbits as a result whenRoberto Ierusalimschy2013-06-041-2/+28
| | | | | number is a float (That may change...)
* new API function 'lua_cvtonum' to convert a value (number or string)Roberto Ierusalimschy2013-05-141-1/+23
| | | | | to a number, following the rules of the language to create integers or floats
* constant folding and API arithmetic with integersRoberto Ierusalimschy2013-05-021-11/+4
|
* new function 'tointeger' + 'luaV_arith' replaced by 'luaT_trybinTM'Roberto Ierusalimschy2013-04-291-46/+20
|
* favoring 'tonumber' over 'nvalue'Roberto Ierusalimschy2013-04-261-3/+4
|
* new interface for 'tonumber'Roberto Ierusalimschy2013-04-261-10/+8
|
* "integer" keys in tables are now lua_Integer, not 'int'.Roberto Ierusalimschy2013-04-261-3/+3
|
* new API function 'lua_isinteger'Roberto Ierusalimschy2013-04-251-1/+7
|
* (no commit message)Roberto Ierusalimschy2013-04-151-4/+8
|
* 'ttypenv' -> 'ttnov'Roberto Ierusalimschy2013-04-121-8/+8
|
* typos in commentsRoberto Ierusalimschy2013-03-161-2/+2
|
* added commentRoberto Ierusalimschy2012-12-051-2/+3
|
* missing brackets in 'if' body (no bug, only 'luaC_checkfinalizer' isRoberto Ierusalimschy2012-12-051-2/+3
| | | | called to do nothing)
* removed unreacheable 'lua_unlock'Roberto Ierusalimschy2012-11-041-2/+2
|
* API functions get acceptable indices except when not possible (whenRoberto Ierusalimschy2012-10-191-15/+16
| | | | | they modify the value at that index) + new macro 'ispseudo' + specific test 'api_checkstackindex'
* no more macro 'changenvalue'Roberto Ierusalimschy2012-09-111-2/+2
|
* details (remove of some extra spaces)Roberto Ierusalimschy2012-08-141-3/+3
|
* bugs in yields inside debug hooksRoberto Ierusalimschy2012-06-081-2/+2
|
* compensate for 'GCSTEPSIZE' in GC stepsRoberto Ierusalimschy2012-05-231-2/+2
|
* merge of fields 'lastmajormem' (used in gen. mode) and 'estimate'Roberto Ierusalimschy2012-05-221-2/+2
| | | | (used in inc. mode)
* simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' +Roberto Ierusalimschy2012-05-211-9/+9
| | | | | micro bug in 'luaC_checkfinalizer' (current sweep object could be removed from 'allgc' list)
* test for whether collector is running moved from function toRoberto Ierusalimschy2012-05-111-3/+3
| | | | macro 'luaC_condGC'.
* commentsRoberto Ierusalimschy2011-11-301-4/+4
|
* 'lua_load' has an extra argument 'mode'Roberto Ierusalimschy2011-11-291-3/+3
|
* small changes to avoid some warningsRoberto Ierusalimschy2011-11-161-9/+5
|
* cannot apply macro 'getstr' over NULLRoberto Ierusalimschy2011-10-311-5/+6
|
* 'lua_setglobal/lua_getglobal' implemented as functions to avoidRoberto Ierusalimschy2011-10-241-1/+25
| | | | | problems with stack indices (e.g., lua_getglobal(L, lua_tostring(L, -1)) )
* new functions lua_rawsetp/lua_rawgetpRoberto Ierusalimschy2011-10-241-10/+38
|
* lint (unreachable code)Roberto Ierusalimschy2011-09-301-9/+9
|
* detail: new macros for non-valid valuesRoberto Ierusalimschy2011-09-261-12/+13
|
* bug: __newindex metamethod may not work if metatable is its ownRoberto Ierusalimschy2011-08-171-1/+2
| | | | | metatable + luaV_settable does not create entry when there is a metamethod (and therefore entry is useless)
* no more 'luaH_setstr (used only once) + 'luaH_setint' receives valueRoberto Ierusalimschy2011-08-091-2/+2
| | | | to be set.
* configuration for NaN trick big-endian + macro 'luai_checknum' toRoberto Ierusalimschy2011-06-131-1/+3
| | | | | ensure numbers comming from C are not "improper" (some kinds of signaling NaNs)
* stricter control (using tag variants) over closure kinds (Lua x C)Roberto Ierusalimschy2011-06-021-56/+61
|
* more uniform names for 'equalobj'-related functionsRoberto Ierusalimschy2011-05-311-2/+2
|
* no need for two different implementations for equality (one raw andRoberto Ierusalimschy2011-05-311-2/+2
| | | | one with metamethods)
* lua_arith gets no fake operand for unary minusRoberto Ierusalimschy2011-04-051-7/+15
|
* full collection does not restart collector + avoid changing GCRoberto Ierusalimschy2010-12-291-7/+3
| | | | state if an error happens in a step
* change in the relationship between totalbytes and GCdebt - luaM_realloc_Roberto Ierusalimschy2010-12-201-4/+4
| | | | is too critical to update two counters
* better control for GC running or stoppedRoberto Ierusalimschy2010-12-201-6/+8
|
* finalizers (__gc) for tablesRoberto Ierusalimschy2010-11-261-2/+3
|
* code for conversion macros moved from luaconf to llimits + 'uint'Roberto Ierusalimschy2010-11-031-3/+3
| | | | renamed to 'unsigned' in those macros
* new type lua_Unsigned and corresponding projection/injection functionsRoberto Ierusalimschy2010-10-251-1/+28
|