Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lua 5.3.5 ported to gitv5.3.5 | Roberto Ierusalimschy | 2018-12-17 | 1 | -1/+1 |
| | | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2. | ||||
* | new macro 'vmfetch' to help changing code to computed goto's (macro | Roberto Ierusalimschy | 2016-02-05 | 1 | -8/+13 |
| | | | | abstracts the code to run before each instruction) | ||||
* | 'luaV_fastget' only treats the real fast case (table with a non-nil | Roberto Ierusalimschy | 2016-01-05 | 1 | -24/+37 |
| | | | | value at given key, so that it does not need to check metamethods) | ||||
* | bug: Metatable may access its own dealocated field when | Roberto Ierusalimschy | 2016-01-04 | 1 | -21/+22 |
| | | | | it has a self reference in __newindex + some refactoring | ||||
* | details (comments) | Roberto Ierusalimschy | 2015-11-23 | 1 | -2/+2 |
| | |||||
* | details (typos in comments) | Roberto Ierusalimschy | 2015-11-19 | 1 | -2/+2 |
| | |||||
* | detail | Roberto Ierusalimschy | 2015-11-17 | 1 | -2/+2 |
| | |||||
* | trying to optimize a little 'luaD_poscall' | Roberto Ierusalimschy | 2015-11-13 | 1 | -2/+2 |
| | |||||
* | 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 'luaD_call', use two functions instead of one with fixed boolean | Roberto Ierusalimschy | 2015-11-02 | 1 | -2/+2 |
| | | | | argument | ||||
* | in 'luaD_precall', in vararg functions, complete missing parameters | Roberto Ierusalimschy | 2015-11-02 | 1 | -10/+8 |
| | | | | | only after moving them to final place (avoids checking the stack again) | ||||
* | flag CIST_REENTRY changed to CIST_FRESH (its negation); fresh invocations | Roberto Ierusalimschy | 2015-11-02 | 1 | -3/+3 |
| | | | | | seem to be less frequent than reentries. (So, avoid setting flag on the frequent case.) | ||||
* | 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 | ||||
* | 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) | ||||
* | cleaner definition for 'luaC_condGC', using 'pre'/'pos' parameters | Roberto Ierusalimschy | 2015-10-20 | 1 | -5/+4 |
| | |||||
* | '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 | ||||
* | macros 'getaddrstr' and 'getstr' unified (they do the same thing) | Roberto Ierusalimschy | 2015-09-17 | 1 | -2/+2 |
| | |||||
* | 'setobj2t' incorporated into 'luaV_fastset' + 'invalidateTMcache' | Roberto Ierusalimschy | 2015-09-09 | 1 | -6/+3 |
| | | | | | is not needed in the fast track (as it does not create new entries) | ||||
* | long strings are created directly in final position when possible | Roberto Ierusalimschy | 2015-09-08 | 1 | -15/+26 |
| | | | | | (instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there) | ||||
* | 'invalidateTMcache' not needed in all 'settable' uses | Roberto Ierusalimschy | 2015-08-03 | 1 | -1/+2 |
| | |||||
* | fast track for 'settable' | Roberto Ierusalimschy | 2015-08-03 | 1 | -15/+18 |
| | |||||
* | implementation of fast track for gettable operations | Roberto Ierusalimschy | 2015-07-20 | 1 | -17/+15 |
| | |||||
* | computations in numerical for loop must avoid overflows too | Roberto Ierusalimschy | 2015-07-04 | 1 | -3/+3 |
| | |||||
* | detail (cast to avoid mixing types in conditional expression) | Roberto Ierusalimschy | 2015-06-25 | 1 | -2/+2 |
| | |||||
* | bug in order NaN x int (tests must ensure that NaN does not getv5.3.1 | Roberto Ierusalimschy | 2015-06-09 | 1 | -11/+12 |
| | | | | converted to integer) | ||||
* | When comparing integers with floats, use float as common type when | Roberto Ierusalimschy | 2015-06-02 | 1 | -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 | ||||
* | bug: interpreter cannot pop activation frame before calling return | Roberto Ierusalimschy | 2015-05-22 | 1 | -3/+2 |
| | | | | | hook (as it may want to access local variables active by the end of the function) | ||||
* | 'l <= r' for numbers has its own function, instead of using | Roberto Ierusalimschy | 2015-05-20 | 1 | -14/+30 |
| | | | | 'not (r < l)' (seems to be slightly more efficient) | ||||
* | new semantics for numerical order (following math regardless | Roberto Ierusalimschy | 2015-05-20 | 1 | -28/+90 |
| | | | | representation) | ||||
* | new semantics for equality int-float | Roberto Ierusalimschy | 2015-04-29 | 1 | -5/+3 |
| | |||||
* | Bug: suspended '__le' metamethod can give wrong result | Roberto Ierusalimschy | 2015-04-10 | 1 | -11/+21 |
| | |||||
* | detail ('b + base' -> 'base + b' to follow all other similar uses) | Roberto Ierusalimschy | 2015-03-30 | 1 | -2/+2 |
| | |||||
* | always use macros to operate on lua_Numbers | Roberto Ierusalimschy | 2015-03-07 | 1 | -2/+2 |
| | |||||
* | new macros 'chgfltvalue'/'chgivalue' (numerical for loop does | Roberto Ierusalimschy | 2015-03-02 | 1 | -3/+3 |
| | | | | not need to set the type of its internal variable at each iteration) | ||||
* | 'numisinteger' (for table keys) replaced by 'luaV_tointeger' (old | Roberto Ierusalimschy | 2015-02-20 | 1 | -21/+3 |
| | | | | 'tointeger_aux'), which can do the same job. | ||||
* | macros 'luai_num*' (for float arithmetic operations) moved to | Roberto Ierusalimschy | 2015-02-05 | 1 | -1/+2 |
| | | | | llimits.h. | ||||
* | size of short strings stored in a single byte, to reduce the size | Roberto Ierusalimschy | 2015-01-16 | 1 | -13/+19 |
| | | | | of struct 'TString' | ||||
* | change in macro 'vmcase', avoding code inside it. (Code inside the | Roberto Ierusalimschy | 2014-12-27 | 1 | -97/+142 |
| | | | | macro harms tools such as debuggers.) | ||||
* | new macro 'nvalue' (to convert an object to a float when we know | Roberto Ierusalimschy | 2014-12-19 | 1 | -3/+2 |
| | | | | object is a number) | ||||
* | 'x//y' extended to floats + more comments about module and floor | Roberto Ierusalimschy | 2014-11-21 | 1 | -22/+27 |
| | | | | division operations | ||||
* | simpler definition for 'luaV_tonumber_' | Roberto Ierusalimschy | 2014-11-19 | 1 | -11/+8 |
| | |||||
* | macro to change method of conversion from float to integer (make it | Roberto Ierusalimschy | 2014-11-03 | 1 | -6/+15 |
| | | | | use floor intead of requiring an exact integral value) | ||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 |
| | | | | any other header file | ||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -9/+9 |
| | |||||
* | 'lua_numtointeger' -> 'lua_numbertointeger' | Roberto Ierusalimschy | 2014-10-24 | 1 | -2/+2 |
| | |||||
* | macros 'LUA_QL'/'LUA_QL' deprecated | Roberto Ierusalimschy | 2014-10-17 | 1 | -4/+4 |
| | |||||
* | size for array part of a table ('sizearray') changed from 'int' to | Roberto Ierusalimschy | 2014-09-04 | 1 | -2/+2 |
| | | | | 'unsigned int', which allows twice as many elements in the array part | ||||
* | new macro 'cvt2num' to better control whether strings are convertible | Roberto Ierusalimschy | 2014-07-30 | 1 | -3/+3 |
| | | | | to numbers | ||||
* | new macro 'cvt2str' to better control whether numbers are convertible | Roberto Ierusalimschy | 2014-07-30 | 1 | -33/+4 |
| | | | | to strings | ||||
* | 'iswhite' and related macros now can work directly on any object | Roberto Ierusalimschy | 2014-07-21 | 1 | -2/+2 |
| | | | | (no need to convert to 'GCObject') |