Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bug: Lua does not check GC when creating error messages | Roberto Ierusalimschy | 2017-07-27 | 1 | -9/+54 |
| | |||||
* | no more reference 'memerrmsg' + new reference to "n" | Roberto Ierusalimschy | 2017-07-27 | 5 | -16/+24 |
| | | | | | | (both can be retrieved by 'luaS_newliteral' without creating anything, because they are fixed, but "n" deserves fast access while 'memerrmsg' does not) | ||||
* | new version (5.4) | Roberto Ierusalimschy | 2017-07-27 | 1 | -4/+4 |
| | |||||
* | bug: Lua does not check GC when creating error messages | Roberto Ierusalimschy | 2017-07-10 | 1 | -1/+2 |
| | |||||
* | coercion string->number in arithmetic operations moved to string | Roberto Ierusalimschy | 2017-07-07 | 5 | -19/+111 |
| | | | | library | ||||
* | 'OP_VARARG' has the vararg parameter as an operand | Roberto Ierusalimschy | 2017-06-29 | 4 | -9/+10 |
| | |||||
* | new type 'StackValue' for stack elements | Roberto Ierusalimschy | 2017-06-29 | 20 | -351/+409 |
| | | | | (we may want to put extra info there in the future) | ||||
* | new constant 'LUA_GNAME' for the name of the global table "_G" | Roberto Ierusalimschy | 2017-06-27 | 5 | -10/+14 |
| | |||||
* | dumping ints and size_ts compacted | Roberto Ierusalimschy | 2017-06-27 | 2 | -20/+38 |
| | |||||
* | 'lineinfo' in prototypes saved as differences instead of absolute | Roberto Ierusalimschy | 2017-06-27 | 11 | -33/+195 |
| | | | | | | values, so that the array can use bytes instead of ints, reducing its size. (A new array 'abslineinfo' is used when line differences do not fit in a byte.) | ||||
* | new type 'ls_byte' for signed bytes | Roberto Ierusalimschy | 2017-06-27 | 1 | -1/+2 |
| | |||||
* | no more 'DEADKEY'. Table traversals do not need to consider dead keys; | Roberto Ierusalimschy | 2017-06-12 | 5 | -66/+49 |
| | | | | | | if the key is dead, it cannot be given to 'next'. Instead, we now use a 'table' tag without the collectable bit, which makes it a unique tag good enough to reserve space. | ||||
* | detail | Roberto Ierusalimschy | 2017-06-09 | 2 | -4/+4 |
| | | | | (removed empty spaces at the end of lines) | ||||
* | in hash nodes, keys are stored in separate pieces to avoid wasting | Roberto Ierusalimschy | 2017-06-09 | 6 | -110/+201 |
| | | | | space with alignments | ||||
* | when assigning to a 'TValue', better assign only exact fields, | Roberto Ierusalimschy | 2017-06-01 | 1 | -6/+6 |
| | | | | to allow us to put stuff after the 'TValuefields' if needed | ||||
* | macro 'setobj2t' may not be an expression | Roberto Ierusalimschy | 2017-06-01 | 1 | -2/+3 |
| | |||||
* | macro 'luaV_fastget' may need protection ({}) to be used inside | Roberto Ierusalimschy | 2017-06-01 | 2 | -8/+14 |
| | | | | 'if's | ||||
* | avoid overflows in computation of step size | Roberto Ierusalimschy | 2017-06-01 | 2 | -3/+12 |
| | |||||
* | updated GC states in function 'T.gcstate' | Roberto Ierusalimschy | 2017-05-31 | 1 | -5/+7 |
| | |||||
* | revamping the incremental collector | Roberto Ierusalimschy | 2017-05-26 | 7 | -198/+208 |
| | | | | | | Some simplifications (not counting bytes, couting only slots visited; no more 'gcfinnum'); more GC parameters; using vararg in 'lua_gc' to set parameters in different GC modes | ||||
* | include first standard header files | Roberto Ierusalimschy | 2017-05-24 | 1 | -2/+3 |
| | | | | | (Some broken compiler has problems with 'signal.h' being included without a definition for 'size_t'.) | ||||
* | bug: cannot reuse a dying upvalue | Roberto Ierusalimschy | 2017-05-24 | 1 | -2/+2 |
| | |||||
* | assert removed in 'luaO_arith' | Roberto Ierusalimschy | 2017-05-24 | 1 | -2/+1 |
| | | | | (nobody calls it with L==NULL) | ||||
* | details (using proper version of 'setobj') | Roberto Ierusalimschy | 2017-05-23 | 2 | -5/+5 |
| | |||||
* | detail (extra closing brackets) | Roberto Ierusalimschy | 2017-05-22 | 1 | -3/+2 |
| | |||||
* | handling of inf, -inf, and NaN by string.format'%q' | Roberto Ierusalimschy | 2017-05-19 | 1 | -14/+28 |
| | |||||
* | bug: Lua crashes when building sequences with more than 2^30 elements. | Roberto Ierusalimschy | 2017-05-19 | 1 | -2/+51 |
| | | | | | bug: Table length computation overflows for sequences larger than 2^31 elements.. | ||||
* | BUG: in 'computesizes', 'twotoi' overflows when a sequence has | Roberto Ierusalimschy | 2017-05-19 | 1 | -3/+6 |
| | | | | more than 2^30 elements. | ||||
* | 'luaH_getn' must return 'lua_Unsigned' (or 'lua_Integer'), to | Roberto Ierusalimschy | 2017-05-19 | 1 | -2/+2 |
| | | | | | allow the boundary-search algorithm to use 'maxinteger' when it cannot find a good upper bound. | ||||
* | better implementation for 'hash_search', without using 'size_t' | Roberto Ierusalimschy | 2017-05-19 | 1 | -28/+36 |
| | | | | (simpler to implement and to explain) | ||||
* | table field names for dedicated opcodes can be restricted to | Roberto Ierusalimschy | 2017-05-18 | 2 | -8/+8 |
| | | | | small strings for slightly faster access | ||||
* | details in OP_CALL + comments | Roberto Ierusalimschy | 2017-05-18 | 1 | -9/+12 |
| | |||||
* | 'lua_rawlen' returns 'lua_Unsigned' instead of 'size_t'. (Real | Roberto Ierusalimschy | 2017-05-18 | 2 | -4/+4 |
| | | | | | length of strings and userdata are limited by Lua integers, but table length is hard to compute limiting it to 'size_t'.) | ||||
* | reimplementation of 'luaH_getn', trying to handle numeric limits | Roberto Ierusalimschy | 2017-05-16 | 1 | -33/+44 |
| | | | | properly. | ||||
* | no more field 'base' in CallInfo (base is always equal to 'func + 1', | Roberto Ierusalimschy | 2017-05-13 | 4 | -23/+19 |
| | | | | with old/new vararg implementation) | ||||
* | back to old-style vararg system (with vararg table collecting extra | Roberto Ierusalimschy | 2017-05-13 | 7 | -72/+74 |
| | | | | arguments) | ||||
* | revamp of fast track for table access (table set uses the same | Roberto Ierusalimschy | 2017-05-11 | 3 | -94/+81 |
| | | | | macros as table get + new macro for integer keys) | ||||
* | more integer fast tracks (for OP_LT, OP_LE, OP_SETTABLE, and OP_GETTABLE) | Roberto Ierusalimschy | 2017-05-10 | 1 | -17/+51 |
| | |||||
* | detail ('1' -> '1u' in unsigned operation) | Roberto Ierusalimschy | 2017-05-09 | 1 | -2/+2 |
| | |||||
* | details (direct access to 'Ck' bit in instructions) | Roberto Ierusalimschy | 2017-05-08 | 2 | -4/+7 |
| | |||||
* | detail ('luaT_callbinTM' does not need to be extern) | Roberto Ierusalimschy | 2017-05-08 | 2 | -8/+6 |
| | |||||
* | 'luaV_execute' keeps local copy of program counter and hook mask, | Roberto Ierusalimschy | 2017-05-05 | 1 | -29/+62 |
| | | | | to avoid excessive access to globals. | ||||
* | bug: Wrong code for a goto followed by a label inside an 'if' | Roberto Ierusalimschy | 2017-05-05 | 1 | -2/+34 |
| | |||||
* | barrier for prototype's cache (with new gray list 'protogray' to keep | Roberto Ierusalimschy | 2017-05-04 | 7 | -22/+95 |
| | | | | prototypes to have their caches visited again) + constant 'MAXMISS' | ||||
* | added 'cachemiss' field to prototype to avoid wasting time checking | Roberto Ierusalimschy | 2017-04-30 | 4 | -6/+15 |
| | | | | hits that fail too often | ||||
* | bug: cannot "skip" labels after if-goto before the jump over the | Roberto Ierusalimschy | 2017-04-29 | 1 | -2/+2 |
| | | | | 'then' part | ||||
* | details in 'findsetreg' | Roberto Ierusalimschy | 2017-04-29 | 1 | -19/+17 |
| | |||||
* | new opcodes for table access with constant keys (strings and integers) | Roberto Ierusalimschy | 2017-04-28 | 7 | -99/+245 |
| | |||||
* | new opcode OP_ADDI (for immediate integer operand) (Experimental) | Roberto Ierusalimschy | 2017-04-26 | 5 | -11/+65 |
| | |||||
* | detail (using unsigned comparison in range check for LOADI) | Roberto Ierusalimschy | 2017-04-25 | 1 | -2/+2 |
| |