Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Field 'Proto.is_vararg' uses only one bit | Roberto Ierusalimschy | 2023-08-30 | 8 | -13/+20 |
| | | | | So that the other bits can be used for other purposes. | ||||
* | Opcode in dumps is stored properly aligned | Roberto Ierusalimschy | 2023-08-25 | 2 | -1/+30 |
| | |||||
* | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2023-08-23 | 22 | -88/+134 |
|\ | |||||
| * | Documentation for "LUA_NOENV" | Roberto Ierusalimschy | 2023-08-23 | 1 | -0/+4 |
| | | | | | | | | | | Registry field "LUA_NOENV" (that signals to libraries that option -E is on) now part of the "official" API of Lua stand-alone. | ||||
| * | Bug: Wrong line number for function calls | Roberto Ierusalimschy | 2023-08-23 | 2 | -10/+10 |
| | | |||||
| * | More disciplined use of 'getstr' and 'tsslen' | Roberto Ierusalimschy | 2023-08-17 | 9 | -33/+37 |
| | | | | | | | | | | We may want to add other string variants in the future; this change documents better where the code may need to handle those variants. | ||||
| * | More control over encoding of test files | Roberto Ierusalimschy | 2023-08-17 | 6 | -28/+49 |
| | | | | | | | | | | The few UTF-8 test files are commented as such, and there is only one non UTF-8 test file (to test non UTF-8 sources). | ||||
| * | Bug: Call hook may be called twice when count hook yields | Roberto Ierusalimschy | 2023-07-25 | 4 | -11/+27 |
| | | | | | | | | | | Took the opportunity and moved the code that controls call hooks in 'luaV_execute' into a function. | ||||
| * | Thread stacks resized in the atomic phase | Roberto Ierusalimschy | 2023-07-13 | 1 | -3/+5 |
| | | | | | | | | | | | | | | Although stack resize can be a little expensive, it seems unusual to have too many threads needing resize during one GC cycle. On the other hand, the change allows full collections to skip the propagate phase, going straight from a pause to the atomic phase. | ||||
| * | Details | Roberto Ierusalimschy | 2023-07-03 | 2 | -3/+2 |
| | | |||||
* | | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2023-06-22 | 33 | -205/+305 |
|\| | |||||
| * | Removed redundancy in definitions of version/release | Roberto Ierusalimschy | 2023-06-21 | 1 | -11/+21 |
| | | | | | | | | String rendering now derived from the numeric original definitions. | ||||
| * | Avoid inclusion loop in 'ltm.h' | Roberto Ierusalimschy | 2023-06-16 | 1 | -3/+2 |
| | | |||||
| * | Bug: read overflow in 'l_strcmp' | Roberto Ierusalimschy | 2023-06-14 | 1 | -18/+20 |
| | | | | | | | | | | Equality according to 'strcoll' does not imply that strings have the same length. | ||||
| * | Several functions turned 'static' | Roberto Ierusalimschy | 2023-05-22 | 7 | -23/+18 |
| | | | | | | | | | | Several functions that were already being used only inside their own file have been declared as 'static'. | ||||
| * | Option '-l' discards version sufix from file name | Roberto Ierusalimschy | 2023-05-15 | 4 | -11/+26 |
| | | | | | | | | | | | | Like 'require', the command-line option '-l' discards an optional version suffix (everything after an hyphen) from a file name when creating the module name. | ||||
| * | Small improvements in tests | Roberto Ierusalimschy | 2023-05-15 | 2 | -21/+24 |
| | | |||||
| * | Details | Roberto Ierusalimschy | 2023-05-15 | 5 | -14/+14 |
| | | | | | | | | | | - Better comments about short strings in opcodes. - luaH_newkey made static. | ||||
| * | "Emergency" new version 5.4.6v5.4.6 | Roberto Ierusalimschy | 2023-05-02 | 5 | -22/+41 |
| | | | | | | | | | | | | 'lua_resetthread' is back to its original signature, to avoid incompatibilities in the ABI between releases of the same version. New function 'lua_closethread' added with the "correct" signature. | ||||
| * | Detailsv5.4.5 | Roberto Ierusalimschy | 2023-04-18 | 7 | -14/+14 |
| | | | | | | | | Typos in comments and details in the manual. | ||||
| * | New year (2023) | Roberto Ierusalimschy | 2023-03-31 | 3 | -5/+4 |
| | | | | | | | | | | Also, small tweak in makefile. (-Wsign-compare is already enabled by -Wextra.) | ||||
| * | More orderliness in casts of enumerations | Roberto Ierusalimschy | 2023-03-27 | 2 | -27/+57 |
| | | |||||
| * | More regularity in uses of enums in 'lcode.c' | Roberto Ierusalimschy | 2023-03-24 | 1 | -18/+18 |
| | | |||||
| * | Bug: Loading a corrupted binary file can segfault | Roberto Ierusalimschy | 2023-03-17 | 3 | -2/+22 |
| | | | | | | | | | | The size of the list of upvalue names are stored separated from the size of the list of upvalues, but they share the same array. | ||||
| * | Details | Roberto Ierusalimschy | 2023-03-09 | 1 | -3/+17 |
| | | | | | | | | Comments in 'onelua.c' | ||||
| * | Corrected support for 16-bit systems | Roberto Ierusalimschy | 2023-03-09 | 3 | -10/+8 |
| | | | | | | | | | | We still need access to a 16-bit system to correctly test these changes. | ||||
| * | Bug: Wrong line in error message for arith. errors | Roberto Ierusalimschy | 2023-02-08 | 2 | -0/+12 |
| | | | | | | | | | | It also causes 'L->top' to be wrong when the error happens, triggering an 'assert'. | ||||
| * | Simpler definition for LUA_STRFTIMEOPTIONS | Roberto Ierusalimschy | 2023-02-07 | 1 | -15/+6 |
| | | | | | | | | There is no need for those intermediate definitions. | ||||
* | | Clock component removed from 'luaL_makeseed' | Roberto Ierusalimschy | 2023-03-23 | 4 | -11/+9 |
| | | | | | | | | 'clock' can be quite slow on some machines. | ||||
* | | New function 'luaL_makeseed' | Roberto Ierusalimschy | 2023-03-20 | 9 | -86/+87 |
| | | | | | | | | | | | | This function unifies code from 'lua_newstate', 'math.randomseed', and 'table.sort' that tries to create a value with a minimum level of randomness. | ||||
* | | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2023-02-02 | 3 | -5/+33 |
|\| | |||||
| * | New macro LUA_USE_IOS | Roberto Ierusalimschy | 2023-02-02 | 2 | -12/+11 |
| | | | | | | | | | | Do not try to detect automatically whether system is iOS; it is simpler and more reliable to let the programmer inform that. | ||||
| * | Small changes in hash of pointers | Roberto Ierusalimschy | 2023-02-02 | 1 | -4/+17 |
| | | | | | | | | | | When converting from pointer to integer, use 'uintptr_t' if available; otherwise try 'uintmax_t', and use 'size_t' as last resource. | ||||
| * | Fix absence of 'system' in iOS | Roberto Ierusalimschy | 2023-01-24 | 1 | -1/+17 |
| | | | | | | | | | | Despite claiming to be ISO, the C library in some Apple platforms does not implement 'system'. | ||||
* | | Do not avoid major collections when GCdebt is zero | Roberto Ierusalimschy | 2022-12-29 | 1 | -5/+2 |
| | | | | | | | | | | 'collectgarbage("step")' (without an argument) does not have any special meaning, it means "do a step with some default size". | ||||
* | | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2022-12-28 | 26 | -261/+335 |
|\| | |||||
| * | Avoid excessive name pollution in test files | Roberto Ierusalimschy | 2022-12-28 | 26 | -261/+335 |
| | | | | | | | | | | Test files are more polite regarding the use of globals when locals would do, and when globals are necessary deleting them after use. | ||||
* | | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2022-12-23 | 1 | -5/+5 |
|\| | |||||
| * | Detail in make file for testes/libs | Roberto Ierusalimschy | 2022-12-23 | 1 | -5/+5 |
| | | | | | | | | Everything depends on the Lua version (as given by 'lua.h') | ||||
* | | Changes in opcodes for generic 'for' | Roberto Ierusalimschy | 2022-12-22 | 3 | -29/+38 |
| | | | | | | | | | | Again, as the control variable is read only, the code doesn't need to keep an internal copy of it. | ||||
* | | Simplification in opcodes for numerical 'for' | Roberto Ierusalimschy | 2022-12-21 | 2 | -27/+27 |
| | | | | | | | | | | As the control variable is read only, the code doesn't need to keep an internal copy of it. | ||||
* | | Control variables in for loops are read only | Roberto Ierusalimschy | 2022-12-21 | 5 | -37/+40 |
| | | |||||
* | | Towards Lua 5.5 | Roberto Ierusalimschy | 2022-12-20 | 5 | -129/+12 |
| | | |||||
* | | Dump doesn't need to reuse 'source' | Roberto Ierusalimschy | 2022-12-20 | 3 | -12/+35 |
| | | | | | | | | All strings are being reused now, including 'source'. | ||||
* | | Dump/undump reuse strings | Roberto Ierusalimschy | 2022-12-15 | 5 | -12/+77 |
| | | | | | | | | | | A repeated string in a dump is represented as an index to its first occurence, instead of another copy of the string. | ||||
* | | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2022-12-15 | 1 | -8/+9 |
|\| | |||||
| * | Small change in barrier macros | Roberto Ierusalimschy | 2022-12-15 | 1 | -8/+9 |
| | | | | | | | | Reuse macros for objects when defining the macros for values. | ||||
* | | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2022-12-15 | 1 | -27/+41 |
|\| | |||||
| * | Small improvements in 'lmem.c' | Roberto Ierusalimschy | 2022-12-15 | 1 | -27/+41 |
| | | | | | | | | | | | | Added some auxiliary macros + fixed a bug in compilation option EMERGENCYGCTESTS. (It should not try to force an emergency collection when it cannot run one.) | ||||
* | | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2022-12-14 | 3 | -11/+21 |
|\| |