Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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.) |