Up to [cvs.NetBSD.org] / pkgsrc / lang / lua54
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Update lang/lua54 to version 5.4.9.
Lua 5.4.9
That was the last release of Lua 5.4. Bugs reported later are most
probably fixed in Lua 5.5.
Lua 5.4.8 bugs:
1. New metatable in an all-weak table can fool the GC.
reported by jy l on 12 Jun 2025. existed since 5.3.0 (at least).
2. Lua raises an error when given the option '--' without a script.
reported by Jure Bagic on 04 Jul 2025. existed since 5.4.6.
3. Constructors with nils can overflow counters during parsing.
reported by Marco Schöpl on 26 Aug 2025. existed since 5.4 (at
least).
4. Possible memory leak due to finalizer being called with no stack
space.
reported by Sergey Bronnikov on 10 Dec 2025. existed since 5.4.3
(at least).
Lua 5.4.7 bugs:
1. Wrong error message when multiline input is interrupted with
end-of-file in the REPL.
reported by Eric Oertel on 04 Jul 2024. existed since 5.3.
2. Wrong code generation for indices with comparisons.
reported by toxamin on 03 Aug 2024. existed since 5.4.0.
3. Wrong limit for local variables in 16-bit systems.
reported by Marcus Lund on 07 Sep 2024. existed since 5.4.0.
4. Missing error status in panic function.
reported by Alex Grund on 04 Jan 2025. existed since 5.4.4.
5. An emergency GC can collect the __newindex of a metatable (if the
metatable is a weak table) while that field is being used in a
table update.
reported by Xmilia Hermit on 09 Mar 2025. existed since 5.4.1 (at
least).
6. 'luaD_seterrorobj' should not raise errors, because it is called
unprotected.
reported by Xmilia Hermit on 10 Mar 2025. existed since 5.1.
7. Message handler can be overwritten by a closing variable when
closing a thread.
reported by Xmilia Hermit on 10 Mar 2025.
8. Wrong error message when using fields of string "_ENV".
reported by Xmilia Hermit on 11 Mar 2025. existed since 5.4.0.
lua54: update to 5.4.7. Lua 5.4.7 released. This is a bug-fix release. See the diffs.
lua54: update to version 5.4.6 Changelog: "Emergency" new version 5.4.6 '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.
lua54: update to 5.4.4 Bugs fixed: - lua.c assumes that argv has at least one element. - Lua can generate wrong code when _ENV is <const>.
lua54: update to 5.4.3 this is a bugfix release, see https://www.lua.org/bugs.html
lua54: Update to 5.4.2. this is a bugfix release, see http://www.lua.org/work/
lua54: update to 5.4.1. This is a bug-fix release. Full diffs here: https://www.lua.org/work/diffs-lua-5.4.0-lua-5.4.1.html
lang: Add lua54. Note: this is slightly different than other Lua packages and, among other things, implements its own install target. This is becuase I wanted to minimize the amount of patching to Makefiles to make it fit into the pkgsrc world. Lua is a powerful, fast, lightweight, embeddable scripting language. Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping. This version is a preferred choice for new Lua modules.