Files
plainleaf/client
Matouš Jan Fialka cc931319d7 [Space Lua] Align table.pack and table.unpack with Lua semantics
`table.pack` now routes element writes through `luaSet` so `__newindex`
metamethods are honoured, matching the exact Lua 5.4 semantics.  The `n`
field is still written with `rawSet`, also matching Lua.

`table.unpack` now returns an empty `LuaMultiRes` instead of `null` for
an empty range `(i > j)`. Returning `null` would inject a single `nil`
argument at the call site; an empty `LuaMultiRes` correctly contributes
zero values, matching the exact Lua semantics.

The global `unpack` shim (for Lua 5.1 compatibility) has been removed
from `luaBuildStandardEnv`. Users who need the short alias can set it up
in `space-script` with a single line stating `unpack = table.unpack`.

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>
2026-02-23 08:16:09 +01:00
..
2025-09-19 13:23:20 +02:00
2026-01-31 17:07:35 +01:00
2025-09-19 13:23:20 +02:00
2025-10-22 15:35:37 +02:00
2025-09-19 13:23:20 +02:00
2026-01-07 11:00:32 +01:00
2026-01-29 11:07:28 +01:00
2025-10-31 09:13:24 +01:00
2025-10-31 09:13:24 +01:00
2025-09-19 13:23:20 +02:00
2025-09-19 13:23:20 +02:00
2025-09-19 13:23:20 +02:00
2025-09-29 15:30:38 +02:00
WIP
2026-01-20 13:48:15 +01:00

SilverBullet-specific code that is shared between server and client