Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | more relaxed rules for __eq metamethod (more similar to other | Roberto Ierusalimschy | 2014-06-10 | 1 | -4/+9 | |
| | | | | operators) | |||||
* | function 'luaV_numtointeger' changed to a global macro | Roberto Ierusalimschy | 2014-05-26 | 1 | -18/+2 | |
| | | | | 'lua_numtointeger' (tricky, small, and useful in several places) | |||||
* | detail (comment) | Roberto Ierusalimschy | 2014-05-23 | 1 | -3/+3 | |
| | ||||||
* | comments | Roberto Ierusalimschy | 2014-05-20 | 1 | -4/+6 | |
| | ||||||
* | added a few comments | Roberto Ierusalimschy | 2014-05-15 | 1 | -1/+14 | |
| | ||||||
* | added a compat option (although it will be off by default) to | Roberto Ierusalimschy | 2014-05-14 | 1 | -1/+3 | |
| | | | | the addition of '.0' to float->string conversions | |||||
* | addition of '.0' to float representation done by the kernel | Roberto Ierusalimschy | 2014-05-12 | 1 | -4/+11 | |
| | ||||||
* | no more integer exponentiation | Roberto Ierusalimschy | 2014-05-12 | 1 | -23/+2 | |
| | ||||||
* | added comments to several functions | Roberto Ierusalimschy | 2014-05-12 | 1 | -55/+93 | |
| | ||||||
* | in 'for' loops, make the limit an integer whenever initial value and | Roberto Ierusalimschy | 2014-05-09 | 1 | -3/+40 | |
| | | | | step are integers | |||||
* | 'lua_strtonum' (and 'luaO_str2num') now return string size, instead of | Roberto Ierusalimschy | 2014-05-01 | 1 | -4/+4 | |
| | | | | receiving it | |||||
* | function 'limittointeger' no needed (now that 'tointeger_aux' handles | Roberto Ierusalimschy | 2014-04-30 | 1 | -16/+2 | |
| | | | | integers too) | |||||
* | 'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' plus proper | Roberto Ierusalimschy | 2014-04-30 | 1 | -22/+46 | |
| | | | | conversion from strings to integers | |||||
* | merge of common parts from 'limittointeger' and 'luaV_tointeger_' | Roberto Ierusalimschy | 2014-04-29 | 1 | -10/+15 | |
| | ||||||
* | 'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue') | Roberto Ierusalimschy | 2014-04-29 | 1 | -13/+13 | |
| | ||||||
* | 'for' loop tries to convert limit to integer when initial value and | Roberto Ierusalimschy | 2014-04-29 | 1 | -2/+23 | |
| | | | | step are integers | |||||
* | n^-m gives float result (instead of error) | Roberto Ierusalimschy | 2014-04-27 | 1 | -9/+8 | |
| | ||||||
* | cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable from | Roberto Ierusalimschy | 2014-04-15 | 1 | -4/+4 | |
| | | | | outside (mostly for testing) | |||||
* | macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that | Roberto Ierusalimschy | 2014-04-15 | 1 | -7/+7 | |
| | | | | should be used only between lua_Integer and lua_Unsigned | |||||
* | 'MIN/MAX_INTEGER' replaced by 'LUA_MIN/MAXINTEGER' | Roberto Ierusalimschy | 2014-04-11 | 1 | -4/+4 | |
| | ||||||
* | new definition for 'luai_nummod' (using 'fmod') | Roberto Ierusalimschy | 2014-04-09 | 1 | -2/+4 | |
| | ||||||
* | using 'volatile' in 'tofloat' to ensure result has the same precision | Roberto Ierusalimschy | 2014-04-08 | 1 | -4/+7 | |
| | | | | (lua_Number) of other computations | |||||
* | bug (in work version): comparisons should not try to convert | Roberto Ierusalimschy | 2014-04-02 | 1 | -5/+20 | |
| | | | | strings to numbers | |||||
* | detail ('1U' -> '1u', like other unsigned constants in the code) | Roberto Ierusalimschy | 2014-03-31 | 1 | -3/+3 | |
| | ||||||
* | macro 'tostring' is used only by 'luaV_concat' | Roberto Ierusalimschy | 2014-03-31 | 1 | -1/+3 | |
| | ||||||
* | detail (comment) | Roberto Ierusalimschy | 2014-03-15 | 1 | -2/+2 | |
| | ||||||
* | details | Roberto Ierusalimschy | 2014-03-14 | 1 | -7/+8 | |
| | ||||||
* | new macro 'cast_void' | Roberto Ierusalimschy | 2014-03-07 | 1 | -3/+3 | |
| | ||||||
* | back with 'L' for macros 'luai_num*', but now with a new macro | Roberto Ierusalimschy | 2014-03-06 | 1 | -11/+11 | |
| | | | | 'luai_numinvalidop' to protect constant folding | |||||
* | insertion of ".0" in floats with integer values done by "luaL_tolstring", | Roberto Ierusalimschy | 2014-02-05 | 1 | -12/+4 | |
| | | | | not by the core | |||||
* | no more 'L' in macros "luai_num*" (several places that use those macros | Roberto Ierusalimschy | 2014-01-27 | 1 | -14/+14 | |
| | | | | cannot throw errors anyway...) | |||||
* | larger limit + better error messages for loop detection in inheritance | Roberto Ierusalimschy | 2014-01-22 | 1 | -4/+4 | |
| | ||||||
* | first implementation of '<<', '>>', and '~' (bitwise not) | Roberto Ierusalimschy | 2013-12-30 | 1 | -3/+48 | |
| | ||||||
* | first implementation of bitwise operators '&' (band), '|' (bor), | Roberto Ierusalimschy | 2013-12-18 | 1 | -1/+29 | |
| | | | | and '~' (bxor) | |||||
* | integer exponentiation with negative exponent is invalid | Roberto Ierusalimschy | 2013-12-16 | 1 | -19/+20 | |
| | ||||||
* | details (a few casts moved from macro invocation to macro definition) | Roberto Ierusalimschy | 2013-08-29 | 1 | -3/+3 | |
| | ||||||
* | upvalues collected by reference count | Roberto Ierusalimschy | 2013-08-27 | 1 | -3/+4 | |
| | ||||||
* | "barrier" for link prototype->cache changed to be consistent with | Roberto Ierusalimschy | 2013-08-19 | 1 | -6/+6 | |
| | | | | GC behavior (link is cleared to preserve invariant) | |||||
* | added 'local' bit (true => object is only refered by local variables) | Roberto Ierusalimschy | 2013-08-16 | 1 | -1/+2 | |
| | ||||||
* | use unsigneds for unary minus, too | Roberto Ierusalimschy | 2013-07-10 | 1 | -3/+3 | |
| | ||||||
* | new macro 'l_floor' (allows 'floorf' even when other math operations | Roberto Ierusalimschy | 2013-06-20 | 1 | -2/+2 | |
| | | | | do not have an 'f' variant) | |||||
* | new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible | Roberto Ierusalimschy | 2013-06-19 | 1 | -2/+2 | |
| | | | | from Lua; these must fit in a lua_Integer | |||||
* | avoid adding '.0' to "numbers" like "nan" and "inf" | Roberto Ierusalimschy | 2013-06-07 | 1 | -3/+3 | |
| | ||||||
* | string contatenation handles conversion of integers to strings + | Roberto Ierusalimschy | 2013-06-04 | 1 | -6/+17 | |
| | | | | floats always format as floats (with decimal dot or exponent) | |||||
* | "legal" way to convert a float to an integer in C | Roberto Ierusalimschy | 2013-05-27 | 1 | -6/+14 | |
| | ||||||
* | 'objlen' can return integers | Roberto Ierusalimschy | 2013-05-26 | 1 | -3/+3 | |
| | ||||||
* | macro 'nvalue' removed + cast to void added to avoid warnings | Roberto Ierusalimschy | 2013-05-06 | 1 | -5/+8 | |
| | | | | with 'clang' | |||||
* | new macro 'intop' (to perform integer arithmetic on unsigned types) | Roberto Ierusalimschy | 2013-05-02 | 1 | -9/+8 | |
| | ||||||
* | new function 'tointeger' + 'luaV_arith' replaced by 'luaT_trybinTM' | Roberto Ierusalimschy | 2013-04-29 | 1 | -37/+41 | |
| | ||||||
* | favoring 'tonumber' over 'nvalue' | Roberto Ierusalimschy | 2013-04-26 | 1 | -31/+26 | |
| |