Log

util/format.lua @ 12621:041d067de38b

description author age
compat: Use table.pack (there since Lua 5.2) over our util.table Kim Alvefur Mon, 11 Jul 2022 19:15:24 +0200
compat: Remove handling of Lua 5.1 location of 'unpack' function Kim Alvefur Mon, 11 Jul 2022 19:07:38 +0200
util: Remove various Lua 5.1 compatibility hacks Kim Alvefur Sat, 02 Jul 2022 17:31:14 +0200
util.format: Fix typo in comment [codespell] Kim Alvefur Fri, 04 Feb 2022 16:40:38 +0100
util.format: Expand explanation of purpose in comments Kim Alvefur Thu, 27 Jan 2022 21:40:13 +0100
util.format: Skip control code escaping when doing full serialization Kim Alvefur Thu, 27 Jan 2022 21:14:22 +0100
util.format: Optimize most common integer format Kim Alvefur Mon, 13 Dec 2021 16:38:33 +0100
util.format: Ensure metatable __tostring results are also sanitized Kim Alvefur Mon, 13 Dec 2021 16:34:55 +0100
util.format: Fix some formats expecting positive numbers in Lua 5.2 Kim Alvefur Sat, 11 Dec 2021 20:54:37 +0100
util.format: Fix Lua 5.1 quirks thanks to ALL THE TESTS Kim Alvefur Sat, 11 Dec 2021 20:40:23 +0100
util.format: Also handle the %p format added in Lua 5.4 Kim Alvefur Sat, 11 Dec 2021 13:39:58 +0100
util.format: Ensure sanitation of strings passed to wrong format Kim Alvefur Sat, 11 Dec 2021 13:30:34 +0100
util.format: Escape invalid UTF-8 by passing trough serialization Kim Alvefur Fri, 10 Dec 2021 22:48:45 +0100
util.format: Escape ASCII control characters also in extra arguments Kim Alvefur Sat, 03 Jul 2021 04:35:29 +0200
util.format: Allow newlines but ensure following lines are indented Kim Alvefur Sat, 03 Jul 2021 04:29:25 +0200