Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lua 5.3.5 ported to gitv5.3.5 | Roberto Ierusalimschy | 2018-12-17 | 1 | -1/+1 |
| | | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2. | ||||
* | in 'table.move', destination table can be source table even if | Roberto Ierusalimschy | 2016-02-25 | 1 | -3/+3 |
| | | | | given as an explicit extra argument | ||||
* | details (removed silly use of 'luaL_opt' + better error messages | Roberto Ierusalimschy | 2016-02-08 | 1 | -3/+3 |
| | | | | in cases of "table expected") | ||||
* | in 'table.sort': 'typedef' for type of indices + removed stack check | Roberto Ierusalimschy | 2015-12-14 | 1 | -16/+17 |
| | | | | (recursion is in the C stack, not in the Lua stack!) | ||||
* | randomness in 'table.sort' used only when needed (big imbalance in | Roberto Ierusalimschy | 2015-11-25 | 1 | -38/+73 |
| | | | | partition result) + small refactoring | ||||
* | handling 'clock_t' and 'time_t' correctly in ISO C point of view | Roberto Ierusalimschy | 2015-11-24 | 1 | -5/+14 |
| | |||||
* | using unsigned int (instead of int) in 'table.sort' to avoid overflows | Roberto Ierusalimschy | 2015-11-23 | 1 | -17/+23 |
| | | | | (when computing the pivot and in original table size) | ||||
* | details (merging declarations with initialization) | Roberto Ierusalimschy | 2015-11-23 | 1 | -7/+5 |
| | |||||
* | randomness in pivot for 'table.sort' done by a macro (easier to change) | Roberto Ierusalimschy | 2015-11-20 | 1 | -11/+17 |
| | |||||
* | in 'table.sort': tighter checks for invalid order function + | Roberto Ierusalimschy | 2015-11-12 | 1 | -5/+22 |
| | | | | | "random" pivot for larger intervals (to avoid attacks with bad data) | ||||
* | janitor work on 'table.sort': added comments, partition code moved | Roberto Ierusalimschy | 2015-11-06 | 1 | -54/+76 |
| | | | | | to a separated function, code conventions updated, etc. No changes at all in the logic/algorithm | ||||
* | 'table.move' tries to copy elements in increasing order | Roberto Ierusalimschy | 2015-09-17 | 1 | -4/+10 |
| | | | | whenever possible | ||||
* | 'tablib' does not try to use raw operations when possible: fast | Roberto Ierusalimschy | 2015-09-09 | 1 | -87/+78 |
| | | | | | track should make standard operations fast enough to forgo raw accesses | ||||
* | avoid subtle possibility of arithmetic overflow | Roberto Ierusalimschy | 2015-07-04 | 1 | -5/+5 |
| | |||||
* | better check for overflows in 'table.move' (removes restriction that | Roberto Ierusalimschy | 2015-01-13 | 1 | -3/+5 |
| | | | | initial position should be positive) | ||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 |
| | | | | any other header file | ||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -3/+3 |
| | |||||
* | macros 'LUA_QL'/'LUA_QL' deprecated | Roberto Ierusalimschy | 2014-10-17 | 1 | -4/+4 |
| | |||||
* | 'luaL_getmetafield' returns type of metafield (instead of a boolean) | Roberto Ierusalimschy | 2014-09-22 | 1 | -3/+3 |
| | |||||
* | new functions 'lua_geti/lua_seti' (non raw) | Roberto Ierusalimschy | 2014-08-21 | 1 | -24/+5 |
| | |||||
* | 'table.copy' -> 'table.move' + optional parameter moved to the end + | Roberto Ierusalimschy | 2014-08-21 | 1 | -21/+22 |
| | | | | several functions operate on "virtual" tables too | ||||
* | added some casts between integral types (to avoid warnings) | Roberto Ierusalimschy | 2014-07-29 | 1 | -5/+5 |
| | |||||
* | first implementation for 'table.copy' | Roberto Ierusalimschy | 2014-07-25 | 1 | -1/+39 |
| | |||||
* | Table library now respects '__index'/'__newindex' metamethods | Roberto Ierusalimschy | 2014-07-16 | 1 | -43/+96 |
| | |||||
* | more direct implementation of 'table.pack' | Roberto Ierusalimschy | 2014-05-16 | 1 | -10/+6 |
| | |||||
* | detail (avoid "casting down" in case lua_Integer is smaller than int) | Roberto Ierusalimschy | 2014-04-12 | 1 | -2/+2 |
| | |||||
* | 'int' -> 'lua_Integer' in several functions | Roberto Ierusalimschy | 2014-04-04 | 1 | -11/+11 |
| | |||||
* | bug: compiler could optimize away overflow check (+ changing indices | Roberto Ierusalimschy | 2014-04-01 | 1 | -9/+12 |
| | | | | from 'int' to 'lua_Integer') | ||||
* | details (typos in comments) | Roberto Ierusalimschy | 2014-03-21 | 1 | -2/+2 |
| | |||||
* | no need to handle 0 as a special case in 'table.remove' | Roberto Ierusalimschy | 2013-03-07 | 1 | -3/+1 |
| | |||||
* | better error checking for 'table.insert' and 'table.remove' | Roberto Ierusalimschy | 2013-02-06 | 1 | -10/+12 |
| | |||||
* | 'table.pack' does not return 'n' (may be confusing when | Roberto Ierusalimschy | 2011-11-28 | 1 | -3/+2 |
| | | | | using table.pack as last argument in a call) | ||||
* | lint (wrong identation) | Roberto Ierusalimschy | 2011-09-30 | 1 | -2/+2 |
| | |||||
* | removed and deprecated functions really removed from the code base | Roberto Ierusalimschy | 2011-07-05 | 1 | -11/+3 |
| | |||||
* | 'table.pack' also returns 'n' + 'deprecated' changed to 'removed' | Roberto Ierusalimschy | 2011-07-02 | 1 | -15/+17 |
| | |||||
* | table library respects '#' metamethods | Roberto Ierusalimschy | 2010-12-17 | 1 | -4/+4 |
| | |||||
* | removed deprecated functions getn-foreach-foreachiv5.2-alpha | Roberto Ierusalimschy | 2010-11-23 | 1 | -53/+7 |
| | |||||
* | corrected warnings from different compilers (mostly casts and small | Roberto Ierusalimschy | 2010-10-25 | 1 | -2/+3 |
| | | | | details) | ||||
* | new module policy: C modules do not create globals and do not register | Roberto Ierusalimschy | 2010-07-02 | 1 | -2/+2 |
| | | | | | | themselves with 'require' (let 'require' do its work); new auxiliary functions luaL_newlib/luaL_newlibtable/luaL_setfuncs/luaL_requiref. Old luaL_register will be deprecated. | ||||
* | better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEX | Roberto Ierusalimschy | 2010-03-13 | 1 | -10/+10 |
| | |||||
* | table.pack was locking last result, avoiding its collection | Roberto Ierusalimschy | 2010-01-13 | 1 | -1/+3 |
| | |||||
* | 'unpack' moved to table library (and therefore "renamed" to | Roberto Ierusalimschy | 2009-12-28 | 1 | -2/+24 |
| | | | | 'table.unpack'. | ||||
* | code for error message for 'setn' removed | Roberto Ierusalimschy | 2009-12-18 | 1 | -7/+1 |
| | |||||
* | 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len' | Roberto Ierusalimschy | 2009-12-17 | 1 | -3/+3 |
| | |||||
* | new 'table.pack' function | Roberto Ierusalimschy | 2009-12-07 | 1 | -1/+25 |
| | |||||
* | 'table.maxn' deprecated | Roberto Ierusalimschy | 2009-11-26 | 1 | -2/+7 |
| | |||||
* | new mark LUAMOD_API for all luaopen_* functions | Roberto Ierusalimschy | 2009-11-24 | 1 | -2/+2 |
| | |||||
* | 'lua_lessthan' replaced by more generic 'lua_compare' | Roberto Ierusalimschy | 2009-06-17 | 1 | -2/+2 |
| | |||||
* | 'context' added to suspendable calls | Roberto Ierusalimschy | 2009-03-23 | 1 | -5/+7 |
| | |||||
* | yielding across lua_call (first version) | Roberto Ierusalimschy | 2009-03-10 | 1 | -11/+19 |
| |