summaryrefslogtreecommitdiff
path: root/lobject.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* macros 'LUA_QL'/'LUA_QL' deprecatedRoberto Ierusalimschy2014-10-171-4/+3
|
* '$c' in 'lua_pushfstring' prints non-printable characters withRoberto Ierusalimschy2014-10-101-2/+5
| | | | their codes
* added two casts to avoid warnings in VSRoberto Ierusalimschy2014-10-041-3/+3
|
* better to use 'long' to represent UTF-8 code pointsRoberto Ierusalimschy2014-10-011-3/+4
|
* details in commentsRoberto Ierusalimschy2014-08-011-2/+2
|
* new macro 'cvt2str' to better control whether numbers are convertibleRoberto Ierusalimschy2014-07-301-7/+32
| | | | to strings
* detail (typos in comments)Roberto Ierusalimschy2014-06-301-3/+3
|
* addition of '.0' to float representation done by the kernelRoberto Ierusalimschy2014-05-121-1/+4
|
* no more integer exponentiationRoberto Ierusalimschy2014-05-121-5/+3
|
* 'lua_strtonum' (and 'luaO_str2num') now return string size, instead ofRoberto Ierusalimschy2014-05-011-12/+12
| | | | receiving it
* 'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' (which convertsRoberto Ierusalimschy2014-04-301-3/+17
| | | | to float or integer according to the string syntax)
* 'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue')Roberto Ierusalimschy2014-04-291-4/+4
|
* n^-m gives float result (instead of error)Roberto Ierusalimschy2014-04-271-3/+4
|
* 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 type 'LUAI_UACINT' (result of an 'usual argument conversion' ofRoberto Ierusalimschy2014-04-111-2/+2
| | | | a lua_Integer)
* new definition for 'luai_nummod' (using 'fmod')Roberto Ierusalimschy2014-04-091-2/+6
|
* details (typos in comments)Roberto Ierusalimschy2014-03-211-2/+2
|
* back with 'L' for macros 'luai_num*', but now with a new macroRoberto Ierusalimschy2014-03-061-11/+12
| | | | 'luai_numinvalidop' to protect constant folding
* more uniformity for defining system-dependent featuresRoberto Ierusalimschy2014-02-261-6/+14
|
* UTF-8 encoding exported as format '%U' in 'lua_pushfstring'Roberto Ierusalimschy2014-02-061-2/+26
|
* no more 'L' in macros "luai_num*" (several places that use those macrosRoberto Ierusalimschy2014-01-271-8/+8
| | | | cannot throw errors anyway...)
* first implementation of '<<', '>>', and '~' (bitwise not)Roberto Ierusalimschy2013-12-301-2/+6
|
* first implementation of bitwise operators '&' (band), '|' (bor),Roberto Ierusalimschy2013-12-181-17/+32
| | | | and '~' (bxor)
* integer exponentiation with negative exponent is invalidRoberto Ierusalimschy2013-12-161-5/+4
|
* use unsigneds for unary minus, tooRoberto Ierusalimschy2013-07-101-4/+3
|
* macro 'lua_strx2number' does not need to be globalRoberto Ierusalimschy2013-06-251-1/+13
|
* string contatenation handles conversion of integers to strings +Roberto Ierusalimschy2013-06-041-6/+3
| | | | floats always format as floats (with decimal dot or exponent)
* new implementation for 'lua_strx2number' to correct smallRoberto Ierusalimschy2013-05-271-24/+36
| | | | problems with numbers like 0x10000...000p-100
* detail (case '%d' of 'luaO_pushvfstring' should use integers)Roberto Ierusalimschy2013-05-261-2/+2
|
* 'luaO_str2int' more generic: accepts white spaces around the numeralRoberto Ierusalimschy2013-05-141-11/+22
| | | | and handles signal
* constant folding and API arithmetic with integersRoberto Ierusalimschy2013-05-021-2/+45
|
* 'luaO_arith' -> 'luaO_numarith'Roberto Ierusalimschy2013-04-291-2/+2
|
* new format "%I" in 'lua_pushfstring' for lua_IntegerRoberto Ierusalimschy2013-04-251-1/+8
|
* first implementation of literal integers (no constant folding yet)Roberto Ierusalimschy2013-04-161-1/+20
|
* 'l_tg' was renamed to 'l_mathop' and this use was not corrected atRoberto Ierusalimschy2013-02-201-2/+2
| | | | the time
* small improvement in the support of 'float' as lua_NumberRoberto Ierusalimschy2013-01-291-3/+3
|
* remove of unecessary luaD_checkstack. (In some cases, C shouldRoberto Ierusalimschy2012-08-161-9/+7
| | | | | ensure stack space; in others, Lua can use the extra slots for temporary values.)
* function prototype did not match one in .hRoberto Ierusalimschy2011-11-301-2/+2
|
* avoid "unreachable" 'break'Roberto Ierusalimschy2011-11-301-2/+1
|
* refuse things like 'inf' or 'Nan' as numeralsRoberto Ierusalimschy2011-07-271-4/+6
|
* using 'tolower' instead of 'toupper' (slightly simpler to implement)Roberto Ierusalimschy2011-06-241-2/+2
|
* macro 'ltoupper' instead of 'lisupper' (more usefull for Lua)Roberto Ierusalimschy2011-06-231-3/+2
|
* detail (missing cast to unsigned char when converting char to int)Roberto Ierusalimschy2011-06-161-2/+2
|
* no need for two different implementations for equality (one raw andRoberto Ierusalimschy2011-05-311-23/+1
| | | | one with metamethods)
* more complete (and hopefuly more correct) handling of 'sizeof(char)'Roberto Ierusalimschy2011-05-031-7/+9
|
* new macro 'ttisequal'Roberto Ierusalimschy2011-04-051-2/+2
|
* trying to avoid assumption that sizeof(char)==1Roberto Ierusalimschy2011-02-071-2/+2
|
* official support for floating hexa numeralsRoberto Ierusalimschy2010-12-101-10/+77
|
* detection of erroneous numeric strings with \0 (such as "1\0")Roberto Ierusalimschy2010-12-061-6/+7
|