aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* no optimizations in test mode + no more compat with 5.2 + a few moreRoberto Ierusalimschy2018-02-271-10/+11
| | | | options in comments
* metamethods for 'removekey'/'keyin'Roberto Ierusalimschy2018-02-274-18/+46
|
* better names for macros for tags and types.Roberto Ierusalimschy2018-02-268-49/+49
| | | | | rttype -> rawtt; ttyperaw -> withvariant; ttype -> ttypetag; tnov -> ttype
* special compact representation for userdata with no user valuesRoberto Ierusalimschy2018-02-262-12/+44
| | | | (a common case)
* using 'offsetof' to compute the size of parts of a structureRoberto Ierusalimschy2018-02-251-5/+5
|
* avoid variant tags with the same value of the original typeRoberto Ierusalimschy2018-02-251-9/+9
| | | | (to expose bugs more easily)
* first (parcial) implementation of 'keyin'/'removekey'Roberto Ierusalimschy2018-02-255-43/+98
| | | | (still no metamethods, no raw verssions)
* added check in 'obj2gco' to prevent its use in non Lua-object pointersRoberto Ierusalimschy2018-02-251-3/+6
| | | | (otherwise its cast is blind, casting any value given to it)
* in 'clearbykeys', clear keys of just-removed entries tooRoberto Ierusalimschy2018-02-231-3/+3
|
* first version of empty entries in tablesRoberto Ierusalimschy2018-02-2311-99/+146
| | | | (so that, in the future, tables can contain regular nil entries)
* some reorganization in 'lobject.h'Roberto Ierusalimschy2018-02-222-188/+224
| | | | (just moving stuff around)
* conditional jumps "deunified"Roberto Ierusalimschy2018-02-211-15/+28
| | | | (if a jump table is used, the unification may harm jump prediction.)