summaryrefslogtreecommitdiff
path: root/lapi.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 'lua_getuservalue' returns type of user valueRoberto Ierusalimschy2014-05-011-2/+3
|
* 'lua_strtonum' (and 'luaO_str2num') now return string size, instead ofRoberto Ierusalimschy2014-05-011-7/+5
| | | | receiving it
* 'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' (which convertsRoberto Ierusalimschy2014-04-301-11/+6
| | | | to float or integer according to the string syntax)
* 'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue')Roberto Ierusalimschy2014-04-291-3/+3
|
* cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable fromRoberto Ierusalimschy2014-04-151-3/+3
| | | | outside (mostly for testing)
* macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, thatRoberto Ierusalimschy2014-04-151-4/+4
| | | | should be used only between lua_Integer and lua_Unsigned
* new global macro 'LUA_MAXUNSIGNED'Roberto Ierusalimschy2014-04-121-3/+3
|
* added an 'api_check' for negative sizes in 'lua_checkstack'Roberto Ierusalimschy2014-04-011-1/+2
|
* lua_gettable and similars return type of gotten valueRoberto Ierusalimschy2014-03-121-7/+13
|
* detail (comments)Roberto Ierusalimschy2014-02-261-9/+9
|
* added 'stip' parameter to lua_dump/string.dumpRoberto Ierusalimschy2014-02-251-4/+4
|
* userdata can have any Lua value as uservalueRoberto Ierusalimschy2014-02-191-13/+5
|
* field 'op' renamed to 'open'Roberto Ierusalimschy2014-02-151-2/+2
|
* change in the way 'collectgarbage("step", size)' interprets 'size'Roberto Ierusalimschy2014-02-141-7/+15
| | | | | (mimicking the way the GC itself behaves when Lua allocates 'size' Kbytes)
* limit to 'gcstepmul' imposed by 'lua_gc' (+ some details in 'lgc.c')Roberto Ierusalimschy2014-02-131-1/+2
|
* no more local collectionRoberto Ierusalimschy2014-02-131-8/+1
|
* no more 'L' in macros "luai_num*" (several places that use those macrosRoberto Ierusalimschy2014-01-271-2/+2
| | | | cannot throw errors anyway...)
* first implementation of '<<', '>>', and '~' (bitwise not)Roberto Ierusalimschy2013-12-301-4/+4
|
* detail ('ttisuserdata' renamed to 'ttisfulluserdata')Roberto Ierusalimschy2013-12-041-4/+4
|
* GC local pause configurableRoberto Ierusalimschy2013-09-131-1/+6
|
* detail (setmetatable do not need to use a back GC barrier)Roberto Ierusalimschy2013-09-111-2/+2
|
* 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'.