Commit Graph

18 Commits (ea2f97e9ed8317dc9a62e45d9a807dca7e3700a5)

Author SHA1 Message Date
Kim Alvefur 785d327308 util.xml: Deduplicate handlers for restricted XML 4 years ago
Kim Alvefur d17619344d util.xml: Break reference to help the GC (fix #1711) 4 years ago
Jonas Schäfer 23a43df6fb util.xml: Do not allow doctypes, comments or processing instructions 4 years ago
Kim Alvefur 43531740f9 util: Prefix module imports with prosody namespace 3 years ago
Kim Alvefur 99a880ebe5 util.xml: Add an option to allow <?processing instructions?> 4 years ago
Jonas Schäfer e0b15fcba3 util.xml: Do not allow doctypes, comments or processing instructions 4 years ago
Matthew Wild 5a1aa107c3 util.xml: Use variable instead of constant for consistency (thanks Thijs) 4 years ago
Kim Alvefur f875b6f99c util.xml: Fix float formatting of line and columns in error (on Lua 5.3+) 5 years ago
Kim Alvefur 43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Waqas Hussain edcf8f0c7d util.xml: Correct stanza.namespaces table construction when duplicate prefix names are encountered in the element tree. 10 years ago
Matthew Wild dd37beeff9 util.stanza, util.xml, util.xmppstream: Add support for tracking defined namespaces and their prefix (stanza.namespaces), knowing/preserving prefix names is required for some applications (thanks daurnimator) 10 years ago
Matthew Wild ed2dc14ab3 util.xml: Remove unused parameter (thanks, luacheck) 11 years ago
Matthew Wild 7b3df2bae6 portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations 11 years ago
Kim Alvefur eaa823a597 util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Waqas Hussain 36df4aa5d6 util.xml: Fix module name. 13 years ago
Waqas Hussain 38be504b2c util.xml: Initial commit; exposes parse(), which is now the canonical way to convert a string to a stanza. 13 years ago