summaryrefslogtreecommitdiff
path: root/lobject.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Lua 5.3.5 ported to gitv5.3.5Roberto Ierusalimschy2018-12-171-2/+3
| | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2.
* detail (removing spaces at end of lines)Roberto Ierusalimschy2016-12-221-2/+2
|
* small corrections for C++ complianceRoberto Ierusalimschy2016-06-271-2/+2
|
* do not convert decimal constants with overflow to integers.Roberto Ierusalimschy2016-05-201-2/+8
| | | | (Therefore, they will be converted as floats)
* 'luaO_str2num' (and, therefore, 'lua_stringtonumber', 'number',Roberto Ierusalimschy2016-05-021-10/+46
| | | | | and coercions) accepts both the locale point and a dot as its radix character
* commentsRoberto Ierusalimschy2015-12-141-11/+13
|
* macro 'incr_top' replaced by function 'luaD_inctop'. (It is not usedRoberto Ierusalimschy2015-11-021-3/+3
| | | | in critical time pathes, can save a few bytes without the macro)
* 'luaO_pushvfstring' now uses 'incr_top' to increment top.Roberto Ierusalimschy2015-11-021-10/+10
|
* simpler code for 'luaO_fb2int'Roberto Ierusalimschy2015-06-261-4/+2
|
* using 'snprintf' in C99 (both for documentation of buffer sizesRoberto Ierusalimschy2015-06-181-4/+4
| | | | and some complains from tools)
* some details in 'luaO_int2fb' + more consistent use of the localeRoberto Ierusalimschy2015-04-111-10/+20
| | | | decimal point
* details (avoid 'lint' warnings)Roberto Ierusalimschy2015-03-281-5/+5
|
* macros 'luai_num*' (for float arithmetic operations) moved toRoberto Ierusalimschy2015-02-051-3/+2
| | | | llimits.h.
* removed useless initializationsRoberto Ierusalimschy2014-12-261-2/+2
|
* 'x//y' extended to floatsRoberto Ierusalimschy2014-11-211-4/+5
|
* no need to cast '*s' to unsigned char when we know it is a digit +Roberto Ierusalimschy2014-11-041-4/+4
| | | | no need to call 'luaO_hexavalue' for decimal digits
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-021-4/+7
| | | | any other header file
* small simplifications in code for 'lua_strx2number'Roberto Ierusalimschy2014-10-281-15/+13
|
* small reorganization of tests around LUA_USE_C99Roberto Ierusalimschy2014-10-271-20/+2
|
* `name' in comments changed to 'name'Roberto Ierusalimschy2014-10-251-2/+2
|
* added some casts to avoid warnings in some compilersRoberto Ierusalimschy2014-10-241-3/+3
|
* 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