Commits
master
Name already in use
Commits on Sep 8, 2023
-
Removed test for "corrupted binary dump"
Test is too non portable. (For instance, it does not work for different number types.)
-
Avoid casts from unsigned long to floating-point
Old Microsoft compilers do not support those casts.
Commits on Aug 25, 2023
Commits on Aug 23, 2023
-
Registry field "LUA_NOENV" (that signals to libraries that option -E is on) now part of the "official" API of Lua stand-alone.
-
Commits on Aug 17, 2023
-
More disciplined use of 'getstr' and 'tsslen'
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
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).
Commits on Jul 25, 2023
-
Bug: Call hook may be called twice when count hook yields
Took the opportunity and moved the code that controls call hooks in 'luaV_execute' into a function.
Commits on Jul 13, 2023
-
Thread stacks resized in the atomic phase
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.
Commits on Jul 3, 2023
Commits on Jun 21, 2023
-
Removed redundancy in definitions of version/release
String rendering now derived from the numeric original definitions.
Commits on Jun 16, 2023
Commits on Jun 14, 2023
-
Bug: read overflow in 'l_strcmp'
Equality according to 'strcoll' does not imply that strings have the same length.
Commits on May 22, 2023
-
Several functions turned 'static'
Several functions that were already being used only inside their own file have been declared as 'static'.
Commits on May 15, 2023
-
Option '-l' discards version sufix from file name
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.
-
-
- Better comments about short strings in opcodes. - luaH_newkey made static.
Commits on May 2, 2023
-
'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.
Commits on Apr 18, 2023
Commits on Mar 31, 2023
-
Also, small tweak in makefile. (-Wsign-compare is already enabled by -Wextra.)
Commits on Mar 27, 2023
Commits on Mar 24, 2023
Commits on Mar 17, 2023
-
Bug: Loading a corrupted binary file can segfault
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.
Commits on Mar 9, 2023
-
Corrected support for 16-bit systems
We still need access to a 16-bit system to correctly test these changes.
Commits on Feb 8, 2023
-
Bug: Wrong line in error message for arith. errors
It also causes 'L->top' to be wrong when the error happens, triggering an 'assert'.
Commits on Feb 7, 2023
-
Simpler definition for LUA_STRFTIMEOPTIONS
There is no need for those intermediate definitions.
Commits on Feb 2, 2023
-
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
When converting from pointer to integer, use 'uintptr_t' if available; otherwise try 'uintmax_t', and use 'size_t' as last resource.
Commits on Jan 24, 2023
-
Fix absence of 'system' in iOS
Despite claiming to be ISO, the C library in some Apple platforms does not implement 'system'.
Commits on Dec 28, 2022
-
Avoid excessive name pollution in test files
Test files are more polite regarding the use of globals when locals would do, and when globals are necessary deleting them after use.
Commits on Dec 23, 2022
-
Detail in make file for testes/libs
Everything depends on the Lua version (as given by 'lua.h')
Commits on Dec 15, 2022
-
Small change in barrier macros
Reuse macros for objects when defining the macros for values.
-
Small improvements in 'lmem.c'
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.)
Commits on Dec 14, 2022
-
Identifier LUA_NUMTAGS was deprecated (changed to LUA_NUMTYPES) + better handling of some inclusion loops.