Log

util/format.lua @ 12067:97c377de8083

description author age
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
util.format: Fix missing backslash in pattern Kim Alvefur Sat, 03 Jul 2021 04:24:13 +0200
util.format: Change formatting of nil values to avoid looking like XML Kim Alvefur Tue, 29 Jun 2021 16:18:31 +0200
util.format: Escape ASCII control characters in output Kim Alvefur Tue, 15 Jun 2021 23:24:23 +0200
util.format: Handle integer formats the same way on Lua versions without integer support Kim Alvefur Thu, 30 May 2019 13:54:11 +0200
util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371) Kim Alvefur Thu, 30 May 2019 13:41:05 +0200
util.format: Serialize values for the %q format Kim Alvefur Fri, 12 Oct 2018 01:29:34 +0200