aboutsummaryrefslogtreecommitdiff
path: root/lmem.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-17macros 'getaddrstr' and 'getstr' unified (they do the same thing)Roberto Ierusalimschy4-11/+11
2015-09-09'tablib' does not try to use raw operations when possible: fastRoberto Ierusalimschy1-87/+78
track should make standard operations fast enough to forgo raw accesses
2015-09-09'setobj2t' incorporated into 'luaV_fastset' + 'invalidateTMcache'Roberto Ierusalimschy1-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
2015-09-09'setobj2t' incorporated into 'luaV_fastset' + 'invalidateTMcache'Roberto Ierusalimschy2-17/+24
is not needed in the fast track (as it does not create new entries)
2015-09-08new definition for macro 'checkliveness'Roberto Ierusalimschy1-2/+2
2015-09-08detail in macro 'checkliveness' + macro 'setobj2t' defined as anRoberto Ierusalimschy1-15/+16
expression (to be used in macro 'luaV_fastset')
2015-09-08'lua_longassert' defined as an expression (instead of a command)Roberto Ierusalimschy1-2/+2
2015-09-08small janitor workRoberto Ierusalimschy1-28/+23
2015-09-08long strings are created directly in final position when possibleRoberto Ierusalimschy11-58/+62
(instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there)
2015-08-25added assert for NULL pointer in 'lua_pushlstring'Roberto Ierusalimschy1-1/+6
2015-08-14added ';' at the end of "expression lines" ("return exp;") so thatRoberto Ierusalimschy1-12/+8
an extra ";" at the end is enough to stop Lua printing the result ("return exp;;" is not valid)
2015-08-03'invalidateTMcache' not needed in all 'settable' usesRoberto Ierusalimschy3-6/+7
2015-08-03fast track for 'settable'Roberto Ierusalimschy3-39/+67
2015-08-03barrier macros rewritten as expressionsRoberto Ierusalimschy1-13/+13
2015-07-23new entry should not be commented outRoberto Ierusalimschy1-2/+0
2015-07-20implementation of fast track for gettable operationsRoberto Ierusalimschy3-38/+70
2015-07-20bug: 'io.lines' does not check maximum number of optionsRoberto Ierusalimschy1-0/+35
2015-07-20in 'lua_number2strx', use the call to 'l_sprintf' to add exponentRoberto Ierusalimschy1-4/+3
to result directly
2015-07-15'lua_Number' added to 'L_Umaxalign' unionRoberto Ierusalimschy1-2/+8
2015-07-15bug: 'io.lines' does not check maximum number of optionsRoberto Ierusalimschy1-1/+8
2015-07-13avoid overflows (detected with 'clang -ftrapv')Roberto Ierusalimschy2-7/+14
2015-07-07detail (comment)Roberto Ierusalimschy1-2/+2
2015-07-06'strftime' puts its result directly into 'lua_Buffer'Roberto Ierusalimschy1-5/+9
2015-07-04better treatment for integer overflows + all errors throw an errorRoberto Ierusalimschy1-23/+37
(instead of returning nil)
2015-07-04because of debt, 'totalbytes' can be negative (and therefore itsRoberto Ierusalimschy1-3/+3
type must be signed)
2015-07-04avoid possibility of subtle arith. overflowRoberto Ierusalimschy1-2/+2
2015-07-04avoid subtle possibility of arithmetic overflowRoberto Ierusalimschy1-5/+5
2015-07-04computations in numerical for loop must avoid overflows tooRoberto Ierusalimschy1-3/+3
2015-07-01using 'clang' by default + changes in warnings ('old-style-declaration'Roberto Ierusalimschy1-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)
2015-07-01detailRoberto Ierusalimschy2-4/+4
2015-06-26simpler code for 'luaO_fb2int'Roberto Ierusalimschy1-4/+2
2015-06-26tiny bug: 'randomseed' was calling 'rand' (instead of 'l_rand')Roberto Ierusalimschy1-2/+2
to discard first value
2015-06-26with string cache, it is not that important for 'type' to avoidRoberto Ierusalimschy1-13/+5
'lua_pushstring'
2015-06-25detail (cast to avoid mixing types in conditional expression)Roberto Ierusalimschy1-2/+2
2015-06-24buffer size changed from size_t to int (it is always small) +Roberto Ierusalimschy1-7/+10
comments + assert that printf result fits in given buffer
2015-06-24detailRoberto Ierusalimschy1-2/+2
2015-06-21detailRoberto Ierusalimschy1-2/+2
2015-06-18redefine 'l_sprintf' to test correctness of buffer sizes givenRoberto Ierusalimschy1-1/+10
to 'snprintf'
2015-06-18using 'snprintf' in C99 (both for documentation of buffer sizesRoberto Ierusalimschy3-26/+39
and some complains from tools)
2015-06-18using 'lua_longassert' to avoid warningsRoberto Ierusalimschy1-2/+2
2015-06-18better implementation for buffers (reallocated memory directlyRoberto Ierusalimschy1-8/+52
with allocation function; generates much less garbage)
2015-06-18detail (i + 1 > exp is simply i >= exp)Roberto Ierusalimschy1-2/+2
2015-06-18details (use original type when saving variable's value)Roberto Ierusalimschy2-4/+4
2015-06-18missing ']]' in long stringRoberto Ierusalimschy1-0/+2
2015-06-09bug in order NaN x int (tests must ensure that NaN does not getv5.3.1Roberto Ierusalimschy1-11/+12
converted to integer)
2015-06-09using macros ('rttype' and 'settt_') to access "private" field 'tt_'Roberto Ierusalimschy1-3/+3
2015-06-09comment (FALLTHROUGH position)Roberto Ierusalimschy1-3/+3
2015-06-09commentRoberto Ierusalimschy1-6/+6
2015-06-03new release number (5.3.1)Roberto Ierusalimschy1-2/+2
2015-06-02When comparing integers with floats, use float as common type whenRoberto Ierusalimschy1-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