summaryrefslogtreecommitdiff
path: root/lmem.c (unfollow)
Commit message (Expand)AuthorFilesLines
2015-10-20'Protect' in table operations is not needed in the fast trackRoberto Ierusalimschy1-20/+37
2015-10-20macro 'addbuff' was using external variable name, instead of usingRoberto Ierusalimschy1-2/+2
2015-10-12'*' as a number means stack size, so that "return *" returnsRoberto Ierusalimschy1-1/+6
2015-10-08avoid (undefined behavior) integer 'overflow' in left shiftRoberto Ierusalimschy1-5/+4
2015-10-08avoid calling write function with empty blockRoberto Ierusalimschy1-2/+2
2015-10-08detail (added assertion)Roberto Ierusalimschy1-1/+2
2015-10-08detail (removed unreacheable 'break')Roberto Ierusalimschy1-2/+2
2015-10-06allow NULL string when length is zero in 'lua_pushlstring' andRoberto Ierusalimschy2-9/+11
2015-10-06detail (string cache a bit smaller by default)Roberto Ierusalimschy1-2/+2
2015-10-02in 'luaL_traceback', print correct number of levels even whenRoberto Ierusalimschy1-9/+11
2015-10-02detail (ensure subtraction is done unsigned)Roberto Ierusalimschy1-2/+2
2015-09-28'gmatch' keeps its state in a userdata (keeping the same 'MatchState'Roberto Ierusalimschy1-20/+26
2015-09-26implemented counter to abort non-linear behavior in pattern matchingRoberto Ierusalimschy1-26/+46
2015-09-22code for string cache generalized for "associative sets" (compilerRoberto Ierusalimschy4-23/+36
2015-09-17'table.move' tries to copy elements in increasing orderRoberto Ierusalimschy1-4/+10
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
2015-09-09'setobj2t' incorporated into 'luaV_fastset' + 'invalidateTMcache'Roberto Ierusalimschy1-26/+21
2015-09-09'setobj2t' incorporated into 'luaV_fastset' + 'invalidateTMcache'Roberto Ierusalimschy2-17/+24
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
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
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
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
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
2015-07-04because of debt, 'totalbytes' can be negative (and therefore itsRoberto Ierusalimschy1-3/+3
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
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
2015-06-26with string cache, it is not that important for 'type' to avoidRoberto Ierusalimschy1-13/+5
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