aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* implementation of fast track for gettable operationsRoberto Ierusalimschy2015-07-203-38/+70
|
* bug: 'io.lines' does not check maximum number of optionsRoberto Ierusalimschy2015-07-201-0/+35
|
* in 'lua_number2strx', use the call to 'l_sprintf' to add exponentRoberto Ierusalimschy2015-07-201-4/+3
| | | | to result directly
* 'lua_Number' added to 'L_Umaxalign' unionRoberto Ierusalimschy2015-07-151-2/+8
|
* bug: 'io.lines' does not check maximum number of optionsRoberto Ierusalimschy2015-07-151-1/+8
|
* avoid overflows (detected with 'clang -ftrapv')Roberto Ierusalimschy2015-07-132-7/+14
|
* detail (comment)Roberto Ierusalimschy2015-07-071-2/+2
|
* 'strftime' puts its result directly into 'lua_Buffer'Roberto Ierusalimschy2015-07-061-5/+9
|
* better treatment for integer overflows + all errors throw an errorRoberto Ierusalimschy2015-07-041-23/+37
| | | | (instead of returning nil)
* because of debt, 'totalbytes' can be negative (and therefore itsRoberto Ierusalimschy2015-07-041-3/+3
| | | | type must be signed)
* avoid possibility of subtle arith. overflowRoberto Ierusalimschy2015-07-041-2/+2
|
* avoid subtle possibility of arithmetic overflowRoberto Ierusalimschy2015-07-041-5/+5
|
* computations in numerical for loop must avoid overflows tooRoberto Ierusalimschy2015-07-041-3/+3
|
* using 'clang' by default + changes in warnings ('old-style-declaration'Roberto Ierusalimschy2015-07-011-4/+3
| | | | | | removed because it is included in 'extra' + 'strict-aliasing' removed because it is included in 'all' + 'aggregate-return' removed because no one would do it by mistake)
* detailRoberto Ierusalimschy2015-07-012-4/+4
|
* simpler code for 'luaO_fb2int'Roberto Ierusalimschy2015-06-261-4/+2
|
* tiny bug: 'randomseed' was calling 'rand' (instead of 'l_rand')Roberto Ierusalimschy2015-06-261-2/+2
| | | | to discard first value
* with string cache, it is not that important for 'type' to avoidRoberto Ierusalimschy2015-06-261-13/+5
| | | | 'lua_pushstring'
* detail (cast to avoid mixing types in conditional expression)Roberto Ierusalimschy2015-06-251-2/+2
|
* buffer size changed from size_t to int (it is always small) +Roberto Ierusalimschy2015-06-241-7/+10
| | | | comments + assert that printf result fits in given buffer
* detailRoberto Ierusalimschy2015-06-241-2/+2
|
* detailRoberto Ierusalimschy2015-06-211-2/+2
|
* redefine 'l_sprintf' to test correctness of buffer sizes givenRoberto Ierusalimschy2015-06-181-1/+10
| | | | to 'snprintf'
* using 'snprintf' in C99 (both for documentation of buffer sizesRoberto Ierusalimschy2015-06-183-26/+39
| | | | and some complains from tools)
* using 'lua_longassert' to avoid warningsRoberto Ierusalimschy2015-06-181-2/+2
|
* better implementation for buffers (reallocated memory directlyRoberto Ierusalimschy2015-06-181-8/+52
| | | | with allocation function; generates much less garbage)
* detail (i + 1 > exp is simply i >= exp)Roberto Ierusalimschy2015-06-181-2/+2
|
* details (use original type when saving variable's value)Roberto Ierusalimschy2015-06-182-4/+4
|
* missing ']]' in long stringRoberto Ierusalimschy2015-06-181-0/+2
|
* bug in order NaN x int (tests must ensure that NaN does not getv5.3.1Roberto Ierusalimschy2015-06-091-11/+12
| | | | converted to integer)
* using macros ('rttype' and 'settt_') to access "private" field 'tt_'Roberto Ierusalimschy2015-06-091-3/+3
|
* comment (FALLTHROUGH position)Roberto Ierusalimschy2015-06-091-3/+3
|
* commentRoberto Ierusalimschy2015-06-091-6/+6
|
* new release number (5.3.1)Roberto Ierusalimschy2015-06-031-2/+2
|
* When comparing integers with floats, use float as common type whenRoberto Ierusalimschy2015-06-021-52/+69
| | | | | | possible (i.e., when integer fits in a float without losses); seems to be more efficient in architectures with native support for used Lua numbers
* 'strcache' elements as arrays of 1 element hints that cache canRoberto Ierusalimschy2015-06-012-11/+11
| | | | be n-way (instead of direct mapped)
* bug: return hook may not see correct values for active local variablesRoberto Ierusalimschy2015-05-221-0/+13
| | | | when function returns
* dependencies updatedRoberto Ierusalimschy2015-05-221-17/+17
|
* bug: interpreter cannot pop activation frame before calling returnRoberto Ierusalimschy2015-05-223-14/+13
| | | | | hook (as it may want to access local variables active by the end of the function)
* reuse of 'addinfo' by lexical errorsRoberto Ierusalimschy2015-05-223-19/+21
|
* 'l <= r' for numbers has its own function, instead of usingRoberto Ierusalimschy2015-05-201-14/+30
| | | | 'not (r < l)' (seems to be slightly more efficient)
* new configuration macro 'l_mathlim' (simplifies some dependenciesRoberto Ierusalimschy2015-05-202-16/+17
| | | | on float type)
* new semantics for numerical order (following math regardlessRoberto Ierusalimschy2015-05-201-28/+90
| | | | representation)
* detail (removed useless '#include')Roberto Ierusalimschy2015-05-201-2/+1
|
* new semantics for equality int-floatRoberto Ierusalimschy2015-04-291-5/+3
|
* error message ("too complex" -> "too many registers") + MAXREGSRoberto Ierusalimschy2015-04-291-4/+5
| | | | changed to 255 (no reason not to use maximum allowed)
* patch for last bug corrected to be against last released versionRoberto Ierusalimschy2015-04-131-15/+15
| | | | (and not against last version in RCS...)
* some details in 'luaO_int2fb' + more consistent use of the localeRoberto Ierusalimschy2015-04-111-10/+20
| | | | decimal point
* Bug: suspended '__le' metamethod can give wrong resultRoberto Ierusalimschy2015-04-103-12/+90
|
* re-organization of initial configuration optionsRoberto Ierusalimschy2015-04-101-27/+40
|