Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | simpler implementation for 'LTintfloat'/'LEintfloat' | Roberto Ierusalimschy | 2018-02-21 | 1 | -45/+71 | |
| | | | | + 'LTfloatint'/'LEfloatint' | |||||
* | small reorganization of 'luaV_flttointeger'/'luaV_tointeger' | Roberto Ierusalimschy | 2018-02-21 | 4 | -34/+39 | |
| | ||||||
* | detail (comment) | Roberto Ierusalimschy | 2018-02-20 | 1 | -7/+8 | |
| | ||||||
* | userdata can have multiple user values | Roberto Ierusalimschy | 2018-02-20 | 8 | -80/+121 | |
| | ||||||
* | more generic way to handle 'gclist' | Roberto Ierusalimschy | 2018-02-19 | 6 | -75/+63 | |
| | ||||||
* | two new fields 'fTransfer'/'nTransfer' in 'lua_Debug' structure | Roberto Ierusalimschy | 2018-02-17 | 6 | -19/+52 | |
| | | | | (for information about values being given and returned in function calls) | |||||
* | correct way to check stack space for vararg functions | Roberto Ierusalimschy | 2018-02-17 | 5 | -14/+14 | |
| | ||||||
* | in return hook, 'top' must be corrected only if smaller than 'ci->top'. | Roberto Ierusalimschy | 2018-02-17 | 1 | -2/+3 | |
| | | | | | (It may be larger when returning multiple values, and then it must be larger to preserve that stack slice.) | |||||
* | no more 'nfield' string | Roberto Ierusalimschy | 2018-02-15 | 2 | -10/+7 | |
| | ||||||
* | some simplifications/optimizations in returns from Lua functions | Roberto Ierusalimschy | 2018-02-15 | 7 | -77/+80 | |
| | ||||||
* | vararg back to '...' (but with another implementation) | Roberto Ierusalimschy | 2018-02-09 | 11 | -110/+133 | |
| | | | | new implementation should have zero overhead for non-vararg functions | |||||
* | details | Roberto Ierusalimschy | 2018-02-07 | 1 | -13/+16 | |
| | ||||||
* | new opcode 'PREPVARARG' | Roberto Ierusalimschy | 2018-02-07 | 7 | -29/+50 | |
| | | | | (avoids test for vararg function in all function calls) | |||||
* | detail | Roberto Ierusalimschy | 2018-02-07 | 1 | -6/+6 | |
| | | | | (order of 'OT' and 'IT' bits corresponds with macro 'opmode') | |||||
* | call hooks for Lua functions called by 'luaV_execute' | Roberto Ierusalimschy | 2018-02-06 | 4 | -21/+23 | |
| | ||||||
* | GC default mode for the stand-alone interpreter is generational mode | Roberto Ierusalimschy | 2018-02-06 | 1 | -1/+2 | |
| | ||||||
* | small corrections in generational mode | Roberto Ierusalimschy | 2018-02-05 | 1 | -7/+9 | |
| | | | | | (cannot call finalizers in emergency collections + should set everything before calling finalizers) | |||||
* | default for minor collection intervals a little larger | Roberto Ierusalimschy | 2018-02-05 | 1 | -4/+4 | |
| | ||||||
* | 'gcemergency' should be zero before any memory allocation | Roberto Ierusalimschy | 2018-02-05 | 1 | -2/+2 | |
| | ||||||
* | 'collectgarbage' returns old mode when changing mode | Roberto Ierusalimschy | 2018-02-05 | 2 | -6/+14 | |
| | ||||||
* | detail | Roberto Ierusalimschy | 2018-01-29 | 1 | -2/+2 | |
| | | | | (uses a reserved-format name for an internal type in the registry) | |||||
* | warnings in VS (implicit casts from ptrdiff_t to int) | Roberto Ierusalimschy | 2018-01-29 | 3 | -6/+6 | |
| | ||||||
* | janitor work on casts | Roberto Ierusalimschy | 2018-01-28 | 18 | -76/+83 | |
| | ||||||
* | bug in tailcall of vararg functions | Roberto Ierusalimschy | 2018-01-28 | 3 | -24/+26 | |
| | | | | (when adjusting missing parameters) | |||||
* | calling a vararg function needs to check GC | Roberto Ierusalimschy | 2018-01-28 | 2 | -8/+10 | |
| | | | | (because it creates a new table) | |||||
* | detail (comment) | Roberto Ierusalimschy | 2018-01-28 | 1 | -2/+2 | |
| | ||||||
* | OP_CONCAT does not move its result (to simplify its execution) | Roberto Ierusalimschy | 2018-01-27 | 3 | -51/+61 | |
| | ||||||
* | comments | Roberto Ierusalimschy | 2018-01-18 | 1 | -11/+13 | |
| | ||||||
* | 'OP_TAILCALL' calling C functions finishes the call and returns | Roberto Ierusalimschy | 2018-01-14 | 1 | -5/+10 | |
| | | | | (instead of waiting for following 'OP_RETURN') | |||||
* | 'luaD_tryfuncTM' can ensure it does not change the stack | Roberto Ierusalimschy | 2018-01-10 | 3 | -13/+8 | |
| | ||||||
* | error handler in protected calls must be a function | Roberto Ierusalimschy | 2018-01-10 | 2 | -3/+4 | |
| | ||||||
* | avoid jumping into a variable scope (C++ does not allow that) | Roberto Ierusalimschy | 2018-01-09 | 1 | -8/+8 | |
| | ||||||
* | keep more opcode arguments byte-aligned | Roberto Ierusalimschy | 2018-01-09 | 3 | -24/+28 | |
| | ||||||
* | typos in comments | Roberto Ierusalimschy | 2017-12-30 | 3 | -8/+8 | |
| | ||||||
* | new command 'print' (to print literal strings) in mini-language | Roberto Ierusalimschy | 2017-12-29 | 1 | -2/+6 | |
| | ||||||
* | another try with table resize. | Roberto Ierusalimschy | 2017-12-29 | 1 | -41/+55 | |
| | | | | | (Old version was leaving some elements unanchored while allocating new memory) | |||||
* | by-one error when filling missing arguments in a tail call | Roberto Ierusalimschy | 2017-12-29 | 1 | -3/+3 | |
| | ||||||
* | keep control of stack top in Lua functions concentrated in 'luaV_execute' | Roberto Ierusalimschy | 2017-12-28 | 4 | -48/+40 | |
| | ||||||
* | when calling a hook, cannot decrease 'ci->top' (to preserve stack | Roberto Ierusalimschy | 2017-12-28 | 1 | -6/+6 | |
| | | | | size if the stack is reallocated) | |||||
* | comment | Roberto Ierusalimschy | 2017-12-28 | 1 | -3/+2 | |
| | ||||||
* | assert cannot use instruction after the last | Roberto Ierusalimschy | 2017-12-22 | 1 | -2/+2 | |
| | ||||||
* | new macros 'isOT'/'isIT' | Roberto Ierusalimschy | 2017-12-22 | 5 | -94/+104 | |
| | | | | | (plus exchanged parameters of OP_VARARG to make it similar to other 'isOT' instructions) | |||||
* | when running Lua code, there is no need to keep 'L->top' "correct"; | Roberto Ierusalimschy | 2017-12-20 | 5 | -41/+53 | |
| | | | | set it only when needed. | |||||
* | new macro 'isLuacode' (to distinguish regular Lua code from | Roberto Ierusalimschy | 2017-12-19 | 4 | -11/+16 | |
| | | | | hooks, where C code can run inside a Lua function). | |||||
* | no need to save 'pc' in case of allocation errors | Roberto Ierusalimschy | 2017-12-19 | 1 | -3/+1 | |
| | | | | (allocation errors do not call message handlers) | |||||
* | new opcodes 'FORLOOP1'/'FORPREP1' for "basic for" (integer variable | Roberto Ierusalimschy | 2017-12-18 | 4 | -18/+73 | |
| | | | | with increment of 1) | |||||
* | new auxiliary function 'luaK_isKint' + removal of 'luaK_needclose', | Roberto Ierusalimschy | 2017-12-18 | 2 | -18/+12 | |
| | | | | which was not being used anywhere. | |||||
* | default now is compiling without compatibility options + smaller | Roberto Ierusalimschy | 2017-12-18 | 1 | -14/+14 | |
| | | | | | stack size in debug mode (clang uses still more stack space when debugging). | |||||
* | 'rehash' -> 'tablerehash' | Roberto Ierusalimschy | 2017-12-18 | 1 | -6/+6 | |
| | | | | (to avoid name colisions when compiling Lua as a single file) | |||||
* | details (cleaning uses of 'exp1') | Roberto Ierusalimschy | 2017-12-18 | 1 | -8/+5 | |
| |