Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | new experimental syntax using reserved word 'undef' | Roberto Ierusalimschy | 2018-03-07 | 11 | -43/+113 |
| | |||||
* | better modularization of the code for the REPL | Roberto Ierusalimschy | 2018-03-06 | 1 | -198/+203 |
| | |||||
* | updated to use jump tables | Roberto Ierusalimschy | 2018-03-05 | 1 | -3/+2 |
| | |||||
* | both 'fTransfer' and 'nTransfer' may not fit in a 'char' | Roberto Ierusalimschy | 2018-03-05 | 1 | -3/+3 |
| | |||||
* | added casts (warnings in VS) | Roberto Ierusalimschy | 2018-03-05 | 1 | -3/+3 |
| | |||||
* | typo in comment | Roberto Ierusalimschy | 2018-03-05 | 1 | -2/+2 |
| | |||||
* | 'math.random' using the xorshift128+ algorithm | Roberto Ierusalimschy | 2018-03-05 | 1 | -36/+195 |
| | |||||
* | using jump tables when available | Roberto Ierusalimschy | 2018-03-02 | 1 | -1/+14 |
| | |||||
* | Jump Table for the interpreter | Roberto Ierusalimschy | 2018-03-02 | 1 | -0/+98 |
| | |||||
* | 'LUA_USE_READLINE' moved to the make file | Roberto Ierusalimschy | 2018-03-02 | 2 | -4/+2 |
| | |||||
* | back to one format per argument | Roberto Ierusalimschy | 2018-03-02 | 1 | -30/+26 |
| | |||||
* | year in copyright changed to 2018 | Roberto Ierusalimschy | 2018-03-02 | 1 | -3/+3 |
| | |||||
* | 'lua_setiuservalue' removes value from the stack even in case of error | Roberto Ierusalimschy | 2018-02-27 | 1 | -2/+2 |
| | |||||
* | removed compatibility code with older versions | Roberto Ierusalimschy | 2018-02-27 | 10 | -342/+25 |
| | |||||
* | module has been deprecated. | Roberto Ierusalimschy | 2018-02-27 | 1 | -228/+2 |
| | |||||
* | no more 'bitlib' | Roberto Ierusalimschy | 2018-02-27 | 1 | -3/+2 |
| |