Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Corrected error message in 'table.remove' | Roberto Ierusalimschy | 2022-09-07 | 1 | -1/+1 |
| | |||||
* | Avoid overflows when incrementing parameters in C | Roberto Ierusalimschy | 2021-09-22 | 1 | -1/+2 |
| | | | | | | Any C function can receive maxinteger as an integer argument, and therefore cannot increment it without some care (e.g., doing unsigned arithmetic as the core does). | ||||
* | Details | Roberto Ierusalimschy | 2021-03-29 | 1 | -1/+1 |
| | | | | Comments and small improvements in the manual. | ||||
* | Broadening the use of branch hints | Roberto Ierusalimschy | 2021-02-24 | 1 | -4/+5 |
| | | | | | | More uses of macros 'likely'/'unlikely' (renamed to 'l_likely'/'l_unlikely'), both in range (extended to the libraries) and in scope (extended to hooks, stack growth). | ||||
* | Bug: 'string.concat' error message uses wrong format | Roberto Ierusalimschy | 2021-02-15 | 1 | -1/+1 |
| | |||||
* | Details (typos in comments) | Roberto Ierusalimschy | 2019-07-05 | 1 | -1/+1 |
| | |||||
* | Details | Roberto Ierusalimschy | 2019-06-03 | 1 | -1/+1 |
| | | | | | Several small changes from feedback on 5.4 alhpa rc1 (warnings, typos in the manual, and the like) | ||||
* | Details | Roberto Ierusalimschy | 2019-05-13 | 1 | -1/+1 |
| | | | | | | - 'luaL_setfuncs' avoids creating closures for placeholders. - Fixed some warnings about unused values in comma expressions. - Comments. | ||||
* | Small optimizations in range checks | Roberto Ierusalimschy | 2019-03-27 | 1 | -2/+6 |
| | | | | | | | | Checks of the form '1 <= x && x <= M' were rewritten in the form '(unsigned)x - 1 < (unsigned)M', which is usually more efficient. (Other similar checks have similar translations.) Although some compilers do these optimizations, that does not happen for all compilers or all cases. | ||||
* | Removed extra information from RCS keyword strings | Roberto Ierusalimschy | 2018-08-23 | 1 | -1/+1 |
| | | | | | Version numbers and dates (mostly wrong) from RCS keyword strings removed from all source files; only the file name are kept. | ||||
* | no more nil-in-table | Roberto Ierusalimschy | 2018-04-04 | 1 | -3/+3 |
| | |||||
* | avoid functions named 'pack' | Roberto Ierusalimschy | 2018-03-16 | 1 | -5/+5 |
| | | | | (name too common, may collide when doing 'onelua.c') | ||||
* | removed compatibility code with older versions | Roberto Ierusalimschy | 2018-02-27 | 1 | -27/+1 |
| | |||||
* | first (parcial) implementation of 'keyin'/'removekey' | Roberto Ierusalimschy | 2018-02-25 | 1 | -3/+3 |
| | | | | (still no metamethods, no raw verssions) | ||||
* | 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 |
| |