Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | details | Roberto Ierusalimschy | 2015-11-13 | 1 | -18/+18 | |
| | ||||||
* | added separator for bugs in 5.3.1 | Roberto Ierusalimschy | 2015-11-13 | 1 | -0/+4 | |
| | ||||||
* | new release number (5.3.2) | Roberto Ierusalimschy | 2015-11-13 | 1 | -2/+2 | |
| | ||||||
* | trying to optimize a little 'luaD_poscall' | Roberto Ierusalimschy | 2015-11-13 | 3 | -25/+56 | |
| | ||||||
* | removed field 'n' from 'CallInfo' (not being used right now) | Roberto Ierusalimschy | 2015-11-13 | 2 | -16/+12 | |
| | ||||||
* | macro with empty argument can be seen as macro with no argument; better | Roberto Ierusalimschy | 2015-11-12 | 1 | -3/+3 | |
| | | | | to avoid that | |||||
* | in 'table.sort': tighter checks for invalid order function + | Roberto Ierusalimschy | 2015-11-12 | 1 | -5/+22 | |
| | | | | | "random" pivot for larger intervals (to avoid attacks with bad data) | |||||
* | avoid the use of deprecated functions 'luaL_checkunsigned'/ | Roberto Ierusalimschy | 2015-11-11 | 1 | -21/+25 | |
| | | | | 'lua_pushunsigned' | |||||
* | janitor work on 'table.sort': added comments, partition code moved | Roberto Ierusalimschy | 2015-11-06 | 1 | -54/+76 | |
| | | | | | to a separated function, code conventions updated, etc. No changes at all in the logic/algorithm | |||||
* | no need for a special case to get long strings (not that common) | Roberto Ierusalimschy | 2015-11-03 | 1 | -22/+16 | |
| | ||||||
* | allow 'set' macros to be used when 'L' is not available (as it was | Roberto Ierusalimschy | 2015-11-03 | 1 | -2/+2 | |
| | | | | needed only for assertions) | |||||
* | added comment and assert about dead keys | Roberto Ierusalimschy | 2015-11-03 | 2 | -5/+11 | |
| | ||||||
* | bug: despite its name, 'luaH_getstr' did not work for strings in | Roberto Ierusalimschy | 2015-11-03 | 3 | -20/+44 | |
| | | | | general, but only for short strings | |||||
* | new function 'luaS_hashlongstr' | Roberto Ierusalimschy | 2015-11-03 | 2 | -2/+13 | |
| | ||||||
* | in 'luaD_call', use two functions instead of one with fixed boolean | Roberto Ierusalimschy | 2015-11-02 | 1 | -10/+29 | |
| | | | | | argument + stack error handling in 'luaD_call' moved to a separated function | |||||
* | in 'luaD_call', use two functions instead of one with fixed boolean | Roberto Ierusalimschy | 2015-11-02 | 6 | -21/+26 | |
| | | | | argument | |||||
* | now that we have a counter for CallInfos, use it for a more | Roberto Ierusalimschy | 2015-11-02 | 1 | -2/+3 | |
| | | | | accurate value for the memory used by a thread | |||||
* | macro 'incr_top' replaced by function 'luaD_inctop'. (It is not used | Roberto Ierusalimschy | 2015-11-02 | 5 | -11/+24 | |
| | | | | in critical time pathes, can save a few bytes without the macro) | |||||
* | added counters for total and individual CallInfo entries (to allow | Roberto Ierusalimschy | 2015-11-02 | 2 | -9/+19 | |
| | | | | better syncronization between CallInfo size and stack size) | |||||
* | in 'luaD_precall', in vararg functions, complete missing parameters | Roberto Ierusalimschy | 2015-11-02 | 2 | -25/+21 | |
| | | | | | only after moving them to final place (avoids checking the stack again) | |||||
* | 'luaO_pushvfstring' now uses 'incr_top' to increment top. | Roberto Ierusalimschy | 2015-11-02 | 1 | -10/+10 | |
| | ||||||
* | using more "conventional" loops in 'luaD_poscall' (probably a little | Roberto Ierusalimschy | 2015-11-02 | 1 | -7/+13 | |
| | | | | more efficient?) | |||||
* | flag CIST_REENTRY changed to CIST_FRESH (its negation); fresh invocations | Roberto Ierusalimschy | 2015-11-02 | 2 | -6/+6 | |
| | | | | | seem to be less frequent than reentries. (So, avoid setting flag on the frequent case.) | |||||
* | with 'fast tracks', there is no need to do raw accesses in 'ipairs' | Roberto Ierusalimschy | 2015-10-29 | 1 | -19/+6 | |
| | ||||||
* | corrected comparisons of signed (int) with unsigned (size_t) | Roberto Ierusalimschy | 2015-10-29 | 1 | -3/+3 | |
| | ||||||
* | macro 'buff2num' replaced by its body (it caused more harm than good | Roberto Ierusalimschy | 2015-10-28 | 1 | -5/+3 | |
| | | | | to readability) | |||||
* | option 'c' in 'string.pack' accepts any string size (truncating | Roberto Ierusalimschy | 2015-10-28 | 1 | -3/+8 | |
| | | | | if larger and padding if smaller) | |||||
* | function prepares vararg only if it really uses them (chunks | Roberto Ierusalimschy | 2015-10-28 | 3 | -7/+8 | |
| | | | | are always declared vararg but seldom uses them) | |||||
* | OP_SELF can use 'luaV_fastget' specialized for strings, as it | Roberto Ierusalimschy | 2015-10-28 | 1 | -3/+8 | |
| | | | | is applied only to string keys | |||||
* | comments for luaD_precall/luaD_poscall | Roberto Ierusalimschy | 2015-10-28 | 1 | -2/+12 | |
| | ||||||
* | details (avoid 'case' inside block + avoid using one variable for | Roberto Ierusalimschy | 2015-10-28 | 1 | -5/+5 | |
| | | | | two roles) | |||||
* | use macro 'hasjumps' to test whether expression has jumps... | Roberto Ierusalimschy | 2015-10-26 | 1 | -2/+2 | |
| | ||||||
* | hook test in 'luaV_execute' reduced to minimum (rest done in | Roberto Ierusalimschy | 2015-10-22 | 1 | -8/+8 | |
| | | | | | | 'luaG_traceexec'; no difference in performance for the non-hook case, but keeps 'luaV_execute' a little simpler) + 'base' updates replaced by 'Protect' (which serves this rule) | |||||
* | hook test in 'luaV_execute' reduced to minimum (rest done in | Roberto Ierusalimschy | 2015-10-22 | 1 | -2/+4 | |
| | | | | 'luaG_traceexec' | |||||
* | small changes to allow 'precall' to spend time preserving 'func' | Roberto Ierusalimschy | 2015-10-21 | 3 | -28/+42 | |
| | | | | only when needed (that is, when stack actually changes) | |||||
* | generic definitions for float types moved to before variable definitions | Roberto Ierusalimschy | 2015-10-21 | 1 | -20/+26 | |
| | | | | | (so that specific cases can redefine these generic definitions if needed) | |||||
* | 'condchangemem' also may need to run 'pre'/'pos' | Roberto Ierusalimschy | 2015-10-21 | 1 | -2/+3 | |
| | ||||||
* | added comments | Roberto Ierusalimschy | 2015-10-20 | 1 | -1/+8 | |
| | ||||||
* | cleaner definition for 'luaC_condGC', using 'pre'/'pos' parameters | Roberto Ierusalimschy | 2015-10-20 | 2 | -9/+9 | |
| | ||||||
* | 'Protect' in table operations is not needed in the fast track | Roberto Ierusalimschy | 2015-10-20 | 1 | -20/+37 | |
| | | | | + removal of a few dead macros | |||||
* | macro 'addbuff' was using external variable name, instead of using | Roberto Ierusalimschy | 2015-10-20 | 1 | -2/+2 | |
| | | | | its parameter name inside the macro. | |||||
* | '*' as a number means stack size, so that "return *" returns | Roberto Ierusalimschy | 2015-10-12 | 1 | -1/+6 | |
| | | | | all values in the stack. | |||||
* | avoid (undefined behavior) integer 'overflow' in left shift | Roberto Ierusalimschy | 2015-10-08 | 1 | -5/+4 | |
| | ||||||
* | avoid calling write function with empty block | Roberto Ierusalimschy | 2015-10-08 | 1 | -2/+2 | |
| | ||||||
* | detail (added assertion) | Roberto Ierusalimschy | 2015-10-08 | 1 | -1/+2 | |
| | ||||||
* | detail (removed unreacheable 'break') | Roberto Ierusalimschy | 2015-10-08 | 1 | -2/+2 | |
| | ||||||
* | allow NULL string when length is zero in 'lua_pushlstring' and | Roberto Ierusalimschy | 2015-10-06 | 2 | -9/+11 | |
| | | | | 'luaL_addlstring' | |||||
* | detail (string cache a bit smaller by default) | Roberto Ierusalimschy | 2015-10-06 | 1 | -2/+2 | |
| | ||||||
* | in 'luaL_traceback', print correct number of levels even when | Roberto Ierusalimschy | 2015-10-02 | 1 | -9/+11 | |
| | | | | initial level is not 1. | |||||
* | detail (ensure subtraction is done unsigned) | Roberto Ierusalimschy | 2015-10-02 | 1 | -2/+2 | |
| |