Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | new field 'nilvalue' in struct 'global_State' to avoid the use of | Roberto Ierusalimschy | 2018-06-15 | 5 | -22/+17 | |
| | | | | addresses of static variables | |||||
* | removed unused macros 'isstackindex'/'api_checkstackindex' + | Roberto Ierusalimschy | 2018-06-15 | 1 | -10/+2 | |
| | | | | macro 'api_checkvalidindex' (used only once) expanded and removed | |||||
* | detail (removed unused definition for 'LUA_QS') | Roberto Ierusalimschy | 2018-06-15 | 1 | -10/+2 | |
| | ||||||
* | warning (comparison between signed and unsigned integers) | Roberto Ierusalimschy | 2018-06-15 | 1 | -2/+3 | |
| | ||||||
* | field 'sizearray' in struct 'Table' changed to 'alimit', which can | Roberto Ierusalimschy | 2018-06-15 | 7 | -54/+201 | |
| | | | | be used as a hint for '#t' | |||||
* | new macro 'ispow2' | Roberto Ierusalimschy | 2018-06-15 | 1 | -1/+7 | |
| | ||||||
* | type 'Rand64' may not be long long, so it should not use 'LL' in its | Roberto Ierusalimschy | 2018-06-14 | 1 | -4/+5 | |
| | | | | constants | |||||
* | no more 'TESTGRAYBIT' (to free this bit for real uses) | Roberto Ierusalimschy | 2018-06-11 | 2 | -24/+8 | |
| | ||||||
* | detail in comment | Roberto Ierusalimschy | 2018-06-08 | 1 | -2/+2 | |
| | ||||||
* | added 'const' to 'Proto*' when possible | Roberto Ierusalimschy | 2018-06-08 | 4 | -23/+24 | |
| | ||||||
* | added patch for bug 5.3.4-7 | Roberto Ierusalimschy | 2018-06-08 | 1 | -2/+40 | |
| | ||||||
* | no more 'luaO_nilobject' to avoid comparison of global variable addresses | Roberto Ierusalimschy | 2018-06-01 | 5 | -20/+12 | |
| | | | | (now uses static variables) | |||||
* | no more 'luaH_emptyobject' and comparisons of addresses of global variables | Roberto Ierusalimschy | 2018-06-01 | 5 | -30/+46 | |
| | | | | | (instead, use a different kind of nil to signal the fake entry returned when a key is not found in a table) | |||||
* | avoid craches when loading tampered code with NULL as a string constant | Roberto Ierusalimschy | 2018-06-01 | 1 | -6/+20 | |
| | ||||||
* | new macros 'likely'/'unlikely' with hints for jump predictions | Roberto Ierusalimschy | 2018-05-30 | 6 | -48/+78 | |
| | | | | (used only in errors for now) | |||||
* | macro 'luai_makeseed' now controls the whole process of making the seed | Roberto Ierusalimschy | 2018-05-29 | 1 | -17/+17 | |
| | ||||||
* | detail ('l_castU2S' should only be used over lua_Unsigned values) | Roberto Ierusalimschy | 2018-05-29 | 1 | -2/+2 | |
| | ||||||
* | avoid possible overflows when checking sizes in 'string.unpack' | Roberto Ierusalimschy | 2018-05-25 | 1 | -11/+8 | |
| | ||||||
* | added patches for two bugs (5.3.4-2 and 5.3.4-3) | Roberto Ierusalimschy | 2018-05-24 | 1 | -2/+51 | |
| | ||||||
* | avoid circular inclusion between ltm.h <-> lstate.h | Roberto Ierusalimschy | 2018-05-23 | 1 | -2/+1 | |
| | ||||||
* | in 'luaD_poscall', there is no need to compute 'firstResult' when 'nres==0' | Roberto Ierusalimschy | 2018-05-22 | 3 | -51/+48 | |
| | ||||||
* | using some weak "randomness" (time and memory address) to initialize | Roberto Ierusalimschy | 2018-05-16 | 1 | -10/+21 | |
| | | | | seeds for the PRNG | |||||
* | correction on xoshiro256** algorithm | Roberto Ierusalimschy | 2018-05-09 | 1 | -3/+3 | |
| | | | | (should use state[1] instead of state[0] for output) | |||||
* | reorganization of '#if's for sellecting a type for 'Rand64' + | Roberto Ierusalimschy | 2018-05-04 | 2 | -32/+61 | |
| | | | | comments | |||||
* | minimizing the code ran by 'vmfetch' + no more 'vra' | Roberto Ierusalimschy | 2018-05-02 | 3 | -125/+128 | |
| | | | | (the code is simpler without 'vra' and conversion is a no-op) | |||||
* | 'luaO_pushvfstring' does not need to reallocate stack | Roberto Ierusalimschy | 2018-04-25 | 1 | -10/+12 | |
| | | | | (less error cases in the API) | |||||
* | no need to define 'luaP_opnames' in regular builds | Roberto Ierusalimschy | 2018-04-19 | 2 | -2/+10 | |
| | ||||||
* | use test mode to test the interpreter without jump tables | Roberto Ierusalimschy | 2018-04-11 | 1 | -1/+5 | |
| | ||||||
* | detail (trim constants are unsigned) | Roberto Ierusalimschy | 2018-04-06 | 1 | -3/+3 | |
| | ||||||
* | PRNG changed from 'xoroshiro128+' to 'xoshiro256**' + "I' renamed 'Rand64' | Roberto Ierusalimschy | 2018-04-06 | 1 | -73/+109 | |
| | | | | + implementation can use integer types larger than 64 (or 32) bits | |||||
* | using 'xoroshiro128+' for PRNG | Roberto Ierusalimschy | 2018-04-04 | 1 | -87/+88 | |
| | | | | (plus a rotate at the final result to have better lower bits) | |||||
* | no more nil-in-table | Roberto Ierusalimschy | 2018-04-04 | 16 | -172/+23 | |
| | ||||||
* | using unsigned comparison in 'l_intfitsf' (avoids one comparison) | Roberto Ierusalimschy | 2018-04-02 | 1 | -9/+13 | |
| | ||||||
* | definition for LUA_UNSIGNEDBITS (number of bits in a LUA_UNSIGNED) | Roberto Ierusalimschy | 2018-04-02 | 1 | -1/+4 | |
| | ||||||
* | in 'random', uses high-order bits instead of low-order | Roberto Ierusalimschy | 2018-03-26 | 1 | -49/+68 | |
| | | | | (better statistical properties) | |||||
* | in random/'project', remove the special case for "small" intervals; | Roberto Ierusalimschy | 2018-03-22 | 1 | -24/+15 | |
| | | | | it is slower than the general case. | |||||
* | missing LUAI_FUNC in prototype for 'luaK_patchgoto' | Roberto Ierusalimschy | 2018-03-19 | 1 | -2/+3 | |
| | ||||||
* | 'fTransfer' -> 'ftransfer' / 'nTransfer' -> 'ntransfer' | Roberto Ierusalimschy | 2018-03-16 | 5 | -21/+21 | |
| | | | | (keep the standard of names in lower case) | |||||
* | some extra goodies for 'readline' | Roberto Ierusalimschy | 2018-03-16 | 1 | -1/+5 | |
| | | | | ('rl_readline_name' and 'rl_inhibit_completion') | |||||
* | FALLTHROUGH comment must be last "statement" | Roberto Ierusalimschy | 2018-03-16 | 2 | -6/+5 | |
| | | | | (so it does not work when inside a block) | |||||
* | cannot use 'defined' inside a macro + | Roberto Ierusalimschy | 2018-03-16 | 1 | -3/+8 | |
| | | | | call to 'luaT_keydef' must be protected | |||||
* | avoid functions named 'pack' | Roberto Ierusalimschy | 2018-03-16 | 2 | -12/+12 | |
| | | | | (name too common, may collide when doing 'onelua.c') | |||||
* | 'lu_int32' may not be 'int' | Roberto Ierusalimschy | 2018-03-12 | 1 | -10/+13 | |
| | ||||||
* | more explicit casts when converting an integer to a random float | Roberto Ierusalimschy | 2018-03-11 | 1 | -3/+5 | |
| | | | | (to ensure computations are done with all bits) | |||||
* | details (casts between 'lua_Number' and 'double') | Roberto Ierusalimschy | 2018-03-09 | 1 | -3/+3 | |
| | ||||||
* | random floats of different sizes get exactly needed number of random bits | Roberto Ierusalimschy | 2018-03-09 | 1 | -30/+58 | |
| | | | | (up to 64) | |||||
* | slight simplification in 'xorshift128plus' | Roberto Ierusalimschy | 2018-03-09 | 1 | -9/+11 | |
| | ||||||
* | fairer projection of random integers into an integer interval | Roberto Ierusalimschy | 2018-03-09 | 1 | -15/+54 | |
| | ||||||
* | added definition for LUA_MAXUNSIGNED | Roberto Ierusalimschy | 2018-03-09 | 1 | -1/+4 | |
| | ||||||
* | details (avoid using non-C89 '//' comment) | Roberto Ierusalimschy | 2018-03-07 | 2 | -7/+7 | |
| |