Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | no optimizations in test mode + no more compat with 5.2 + a few more | Roberto Ierusalimschy | 2018-02-27 | 1 | -10/+11 |
| | | | | options in comments | ||||
* | metamethods for 'removekey'/'keyin' | Roberto Ierusalimschy | 2018-02-27 | 4 | -18/+46 |
| | |||||
* | better names for macros for tags and types. | Roberto Ierusalimschy | 2018-02-26 | 8 | -49/+49 |
| | | | | | rttype -> rawtt; ttyperaw -> withvariant; ttype -> ttypetag; tnov -> ttype | ||||
* | special compact representation for userdata with no user values | Roberto Ierusalimschy | 2018-02-26 | 2 | -12/+44 |
| | | | | (a common case) | ||||
* | using 'offsetof' to compute the size of parts of a structure | Roberto Ierusalimschy | 2018-02-25 | 1 | -5/+5 |
| | |||||
* | avoid variant tags with the same value of the original type | Roberto Ierusalimschy | 2018-02-25 | 1 | -9/+9 |
| | | | | (to expose bugs more easily) | ||||
* | first (parcial) implementation of 'keyin'/'removekey' | Roberto Ierusalimschy | 2018-02-25 | 5 | -43/+98 |
| | | | | (still no metamethods, no raw verssions) | ||||
* | added check in 'obj2gco' to prevent its use in non Lua-object pointers | Roberto Ierusalimschy | 2018-02-25 | 1 | -3/+6 |
| | | | | (otherwise its cast is blind, casting any value given to it) | ||||
* | in 'clearbykeys', clear keys of just-removed entries too | Roberto Ierusalimschy | 2018-02-23 | 1 | -3/+3 |
| | |||||
* | first version of empty entries in tables | Roberto Ierusalimschy | 2018-02-23 | 11 | -99/+146 |
| | | | | (so that, in the future, tables can contain regular nil entries) | ||||
* | some reorganization in 'lobject.h' | Roberto Ierusalimschy | 2018-02-22 | 2 | -188/+224 |
| | | | | (just moving stuff around) | ||||
* | conditional jumps "deunified" | Roberto Ierusalimschy | 2018-02-21 | 1 | -15/+28 |
| | | | | (if a jump table is used, the unification may harm jump prediction.) | ||||
* | removed coercion string->number in bitwise operations | Roberto Ierusalimschy | 2018-02-21 | 1 | -59/+1 |
| | | | | (can be done with a Lua module) | ||||
* | details (comments) | Roberto Ierusalimschy | 2018-02-21 | 1 | -19/+26 |
| | |||||
* | new opcodes OP_GTI/OP_GEI | Roberto Ierusalimschy | 2018-02-21 | 5 | -45/+50 |
| | |||||
* | using new 'lua_newuserdatauv' instead of 'lua_newuserdata' | Roberto Ierusalimschy | 2018-02-21 | 3 | -6/+6 |
| | |||||
* | 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 |
| |