Log

util/format.lua @ 12035:dc7ab05005e8

description author age
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
util.format: Use pack from util.table Kim Alvefur Sat, 08 Dec 2018 16:35:39 +0100
util.format: Tweak how nil values are handled Kim Alvefur Wed, 28 Nov 2018 20:36:53 +0100
util.format: Import unpack from table lib in Lua 5.2+ Kim Alvefur Thu, 23 Nov 2017 20:55:21 +0100
util.format: Move tests to spec/ Kim Alvefur Fri, 10 Nov 2017 05:46:39 +0100
util: Various minor changes to please [luacheck] Kim Alvefur Fri, 10 Nov 2017 05:42:32 +0100
util.format: A string.format wrapper that gracefully handles invalid arguments Waqas Hussain Sun, 10 Sep 2017 12:42:05 -0400