aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* detail ('l_castU2S' should only be used over lua_Unsigned values)Roberto Ierusalimschy2018-05-291-2/+2
|
* avoid possible overflows when checking sizes in 'string.unpack'Roberto Ierusalimschy2018-05-251-11/+8
|
* added patches for two bugs (5.3.4-2 and 5.3.4-3)Roberto Ierusalimschy2018-05-241-2/+51
|
* avoid circular inclusion between ltm.h <-> lstate.hRoberto Ierusalimschy2018-05-231-2/+1
|
* in 'luaD_poscall', there is no need to compute 'firstResult' when 'nres==0'Roberto Ierusalimschy2018-05-223-51/+48
|
* using some weak "randomness" (time and memory address) to initializeRoberto Ierusalimschy2018-05-161-10/+21
| | | | seeds for the PRNG
* correction on xoshiro256** algorithmRoberto Ierusalimschy2018-05-091-3/+3
| | | | (should use state[1] instead of state[0] for output)
* reorganization of '#if's for sellecting a type for 'Rand64' +Roberto Ierusalimschy2018-05-042-32/+61
| | | | comments
* minimizing the code ran by 'vmfetch' + no more 'vra'Roberto Ierusalimschy2018-05-023-125/+128
| | | | (the code is simpler without 'vra' and conversion is a no-op)
* 'luaO_pushvfstring' does not need to reallocate stackRoberto Ierusalimschy2018-04-251-10/+12
| | | | (less error cases in the API)
* no need to define 'luaP_opnames' in regular buildsRoberto Ierusalimschy2018-04-192-2/+10
|
* use test mode to test the interpreter without jump tablesRoberto Ierusalimschy2018-04-111-1/+5
|
* detail (trim constants are unsigned)Roberto Ierusalimschy2018-04-061-3/+3
|
* PRNG changed from 'xoroshiro128+' to 'xoshiro256**' + "I' renamed 'Rand64'Roberto Ierusalimschy2018-04-061-73/+109
| | | | + implementation can use integer types larger than 64 (or 32) bits
* using 'xoroshiro128+' for PRNGRoberto Ierusalimschy2018-04-041-87/+88
| | | | (plus a rotate at the final result to have better lower bits)
* no more nil-in-tableRoberto Ierusalimschy2018-04-0416-172/+23
|
* using unsigned comparison in 'l_intfitsf' (avoids one comparison)Roberto Ierusalimschy2018-04-021-9/+13
|
* definition for LUA_UNSIGNEDBITS (number of bits in a LUA_UNSIGNED)Roberto Ierusalimschy2018-04-021-1/+4
|
* in 'random', uses high-order bits instead of low-orderRoberto Ierusalimschy2018-03-261-49/+68
| | | | (better statistical properties)
* in random/'project', remove the special case for "small" intervals;Roberto Ierusalimschy2018-03-221-24/+15
| | | | it is slower than the general case.
* missing LUAI_FUNC in prototype for 'luaK_patchgoto'Roberto Ierusalimschy2018-03-191-2/+3
|
* 'fTransfer' -> 'ftransfer' / 'nTransfer' -> 'ntransfer'Roberto Ierusalimschy2018-03-165-21/+21
| | | | (keep the standard of names in lower case)
* some extra goodies for 'readline'Roberto Ierusalimschy2018-03-161-1/+5
| | | | ('rl_readline_name' and 'rl_inhibit_completion')
* FALLTHROUGH comment must be last "statement"Roberto Ierusalimschy2018-03-162-6/+5
| | | | (so it does not work when inside a block)
* cannot use 'defined' inside a macro +Roberto Ierusalimschy2018-03-161-3/+8
| | | | call to 'luaT_keydef' must be protected
* avoid functions named 'pack'Roberto Ierusalimschy2018-03-162-12/+12
| | | | (name too common, may collide when doing 'onelua.c')
* 'lu_int32' may not be 'int'Roberto Ierusalimschy2018-03-121-10/+13
|
* more explicit casts when converting an integer to a random floatRoberto Ierusalimschy2018-03-111-3/+5
| | | | (to ensure computations are done with all bits)
* details (casts between 'lua_Number' and 'double')Roberto Ierusalimschy2018-03-091-3/+3
|
* random floats of different sizes get exactly needed number of random bitsRoberto Ierusalimschy2018-03-091-30/+58
| | | | (up to 64)
* slight simplification in 'xorshift128plus'Roberto Ierusalimschy2018-03-091-9/+11
|
* fairer projection of random integers into an integer intervalRoberto Ierusalimschy2018-03-091-15/+54
|
* added definition for LUA_MAXUNSIGNEDRoberto Ierusalimschy2018-03-091-1/+4
|
* details (avoid using non-C89 '//' comment)Roberto Ierusalimschy2018-03-072-7/+7
|
* new experimental syntax using reserved word 'undef'Roberto Ierusalimschy2018-03-0711-43/+113
|
* better modularization of the code for the REPLRoberto Ierusalimschy2018-03-061-198/+203
|
* updated to use jump tablesRoberto Ierusalimschy2018-03-051-3/+2
|
* both 'fTransfer' and 'nTransfer' may not fit in a 'char'Roberto Ierusalimschy2018-03-051-3/+3
|
* added casts (warnings in VS)Roberto Ierusalimschy2018-03-051-3/+3
|
* typo in commentRoberto Ierusalimschy2018-03-051-2/+2
|
* 'math.random' using the xorshift128+ algorithmRoberto Ierusalimschy2018-03-051-36/+195
|
* using jump tables when availableRoberto Ierusalimschy2018-03-021-1/+14
|
* Jump Table for the interpreterRoberto Ierusalimschy2018-03-021-0/+98
|
* 'LUA_USE_READLINE' moved to the make fileRoberto Ierusalimschy2018-03-022-4/+2
|
* back to one format per argumentRoberto Ierusalimschy2018-03-021-30/+26
|
* year in copyright changed to 2018Roberto Ierusalimschy2018-03-021-3/+3
|
* 'lua_setiuservalue' removes value from the stack even in case of errorRoberto Ierusalimschy2018-02-271-2/+2
|
* removed compatibility code with older versionsRoberto Ierusalimschy2018-02-2710-342/+25
|
* module has been deprecated.Roberto Ierusalimschy2018-02-271-228/+2
|
* no more 'bitlib'Roberto Ierusalimschy2018-02-271-3/+2
|