Log

util/format.lua @ 13125:90394be5e6a5

description author age
util.format: Restore "freeze" serialization behavior in logging Kim Alvefur Sun, 26 Mar 2023 00:33:20 +0100
util.format: Tweak serialization of %q formatted entries Kim Alvefur Sun, 26 Mar 2023 00:18:05 +0100
util: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:16 +0100
util.startup: Provide a common Lua 5.3+ math.type() for Lua 5.2 Kim Alvefur Wed, 19 Oct 2022 16:25:05 +0200
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
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