Log

util/format.lua @ 13270:14bbfb2cc8dd default tip

description author age
util.format: Restore "freeze" serialization behavior in logging Kim Alvefur 21 months ago
util.format: Tweak serialization of %q formatted entries Kim Alvefur 21 months ago
util: Prefix module imports with prosody namespace Kim Alvefur 21 months ago
util.startup: Provide a common Lua 5.3+ math.type() for Lua 5.2 Kim Alvefur 2022-10-19
compat: Use table.pack (there since Lua 5.2) over our util.table Kim Alvefur 2022-07-11
compat: Remove handling of Lua 5.1 location of 'unpack' function Kim Alvefur 2022-07-11
util: Remove various Lua 5.1 compatibility hacks Kim Alvefur 2022-07-02
util.format: Fix typo in comment [codespell] Kim Alvefur 2022-02-04
util.format: Expand explanation of purpose in comments Kim Alvefur 2022-01-27
util.format: Skip control code escaping when doing full serialization Kim Alvefur 2022-01-27
util.format: Optimize most common integer format Kim Alvefur 2021-12-13
util.format: Ensure metatable __tostring results are also sanitized Kim Alvefur 2021-12-13
util.format: Fix some formats expecting positive numbers in Lua 5.2 Kim Alvefur 2021-12-11
util.format: Fix Lua 5.1 quirks thanks to ALL THE TESTS Kim Alvefur 2021-12-11
util.format: Also handle the %p format added in Lua 5.4 Kim Alvefur 2021-12-11
util.format: Ensure sanitation of strings passed to wrong format Kim Alvefur 2021-12-11
util.format: Escape invalid UTF-8 by passing trough serialization Kim Alvefur 2021-12-10
util.format: Escape ASCII control characters also in extra arguments Kim Alvefur 2021-07-03
util.format: Allow newlines but ensure following lines are indented Kim Alvefur 2021-07-03
util.format: Fix missing backslash in pattern Kim Alvefur 2021-07-03
util.format: Change formatting of nil values to avoid looking like XML Kim Alvefur 2021-06-29
util.format: Escape ASCII control characters in output Kim Alvefur 2021-06-15
util.format: Handle integer formats the same way on Lua versions without integer support Kim Alvefur 2019-05-30
util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371) Kim Alvefur 2019-05-30
util.format: Serialize values for the %q format Kim Alvefur 2018-10-11
util.format: Use pack from util.table Kim Alvefur 2018-12-08
util.format: Tweak how nil values are handled Kim Alvefur 2018-11-28
util.format: Import unpack from table lib in Lua 5.2+ Kim Alvefur 2017-11-23
util.format: Move tests to spec/ Kim Alvefur 2017-11-10
util: Various minor changes to please [luacheck] Kim Alvefur 2017-11-10
util.format: A string.format wrapper that gracefully handles invalid arguments Waqas Hussain 2017-09-10