index
:
prosody.git
0.11
0.12
master
s2s
sasl
tls
origin/0.11
origin/0.12
origin/master
origin/s2s
origin/sasl
origin/tls
origin/vault/0.11
origin/vault/master
origin/vault/s2s
origin/vault/sasl
origin/vault/tls
unofficial mirror of the prosody mercurial project
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
util
/
format.lua
Commit message (
Expand
)
Author
Age
Files
Lines
*
util: Prefix module imports with prosody namespace
Kim Alvefur
2023-03-17
1
-2
/
+2
*
util.startup: Provide a common Lua 5.3+ math.type() for Lua 5.2
Kim Alvefur
2022-10-19
1
-3
/
+1
*
compat: Use table.pack (there since Lua 5.2) over our util.table
Kim Alvefur
2022-07-11
1
-1
/
+1
*
compat: Remove handling of Lua 5.1 location of 'unpack' function
Kim Alvefur
2022-07-11
1
-1
/
+1
*
util: Remove various Lua 5.1 compatibility hacks
Kim Alvefur
2022-07-02
1
-3
/
+0
*
util.format: Fix typo in comment [codespell]
Kim Alvefur
2022-02-04
1
-1
/
+1
*
util.format: Expand explanation of purpose in comments
Kim Alvefur
2022-01-27
1
-1
/
+6
*
util.format: Skip control code escaping when doing full serialization
Kim Alvefur
2022-01-27
1
-1
/
+1
*
util.format: Optimize most common integer format
Kim Alvefur
2021-12-13
1
-0
/
+2
*
util.format: Ensure metatable __tostring results are also sanitized
Kim Alvefur
2021-12-13
1
-1
/
+2
*
util.format: Fix some formats expecting positive numbers in Lua 5.2
Kim Alvefur
2021-12-11
1
-0
/
+5
*
util.format: Fix Lua 5.1 quirks thanks to ALL THE TESTS
Kim Alvefur
2021-12-11
1
-1
/
+6
*
util.format: Also handle the %p format added in Lua 5.4
Kim Alvefur
2021-12-11
1
-3
/
+18
*
util.format: Ensure sanitation of strings passed to wrong format
Kim Alvefur
2021-12-11
1
-21
/
+37
*
util.format: Escape invalid UTF-8 by passing trough serialization
Kim Alvefur
2021-12-10
1
-1
/
+10
*
util.format: Escape ASCII control characters also in extra arguments
Kim Alvefur
2021-07-03
1
-1
/
+1
*
util.format: Allow newlines but ensure following lines are indented
Kim Alvefur
2021-07-03
1
-1
/
+1
*
util.format: Fix missing backslash in pattern
Kim Alvefur
2021-07-03
1
-1
/
+1
*
util.format: Change formatting of nil values to avoid looking like XML
Kim Alvefur
2021-06-29
1
-2
/
+2
*
util.format: Escape ASCII control characters in output
Kim Alvefur
2021-06-15
1
-1
/
+16
*
util.format: Handle integer formats the same way on Lua versions without inte...
Kim Alvefur
2019-05-30
1
-2
/
+5
*
util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371)
Kim Alvefur
2019-05-30
1
-0
/
+6
*
util.format: Serialize values for the %q format
Kim Alvefur
2018-10-12
1
-1
/
+5
*
util.format: Use pack from util.table
Kim Alvefur
2018-12-08
1
-2
/
+3
*
util.format: Tweak how nil values are handled
Kim Alvefur
2018-11-28
1
-5
/
+4
*
util.format: Import unpack from table lib in Lua 5.2+
Kim Alvefur
2017-11-23
1
-1
/
+1
*
util.format: Move tests to spec/
Kim Alvefur
2017-11-10
1
-10
/
+0
*
util: Various minor changes to please [luacheck]
Kim Alvefur
2017-11-10
1
-4
/
+4
*
util.format: A string.format wrapper that gracefully handles invalid arguments
Waqas Hussain
2017-09-10
1
-0
/
+74