aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 'table.move' tries to copy elements in increasing orderRoberto Ierusalimschy2015-09-171-4/+10
| | | | whenever possible
* macros 'getaddrstr' and 'getstr' unified (they do the same thing)Roberto Ierusalimschy2015-09-174-11/+11
|
* 'tablib' does not try to use raw operations when possible: fastRoberto Ierusalimschy2015-09-091-87/+78
| | | | | track should make standard operations fast enough to forgo raw accesses
* 'setobj2t' incorporated into 'luaV_fastset' + 'invalidateTMcache'Roberto Ierusalimschy2015-09-091-26/+21
| | | | | | is not needed in the fast track (as it does not create new entries) + small bug in 'auxsetstr' (calling barrier with wrong object) + using 'setobj2t' without side effects in its arguments
* 'setobj2t' incorporated into 'luaV_fastset' + 'invalidateTMcache'Roberto Ierusalimschy2015-09-092-17/+24
| | | | | is not needed in the fast track (as it does not create new entries)
* new definition for macro 'checkliveness'Roberto Ierusalimschy2015-09-081-2/+2
|
* detail in macro 'checkliveness' + macro 'setobj2t' defined as anRoberto Ierusalimschy2015-09-081-15/+16
| | | | expression (to be used in macro 'luaV_fastset')
* 'lua_longassert' defined as an expression (instead of a command)Roberto Ierusalimschy2015-09-081-2/+2
|
* small janitor workRoberto Ierusalimschy2015-09-081-28/+23
|
* long strings are created directly in final position when possibleRoberto Ierusalimschy2015-09-0811-58/+62
| | | | | (instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there)
* added assert for NULL pointer in 'lua_pushlstring'Roberto Ierusalimschy2015-08-251-1/+6
|
* added ';' at the end of "expression lines" ("return exp;") so thatRoberto Ierusalimschy2015-08-141-12/+8
| | | | | an extra ";" at the end is enough to stop Lua printing the result ("return exp;;" is not valid)
* 'invalidateTMcache' not needed in all 'settable' usesRoberto Ierusalimschy2015-08-033-6/+7
|
* fast track for 'settable'Roberto Ierusalimschy2015-08-033-39/+67
|
* barrier macros rewritten as expressionsRoberto Ierusalimschy2015-08-031-13/+13
|
* new entry should not be commented outRoberto Ierusalimschy2015-07-231-2/+0
|
* 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
|