Log

util/stanza.lua @ 9997:7c4631d7b6fb

description author age
util.stanza: Fix :top_tag() handling of namespaced attributes Matthew Wild 2019-03-25
util.stanza: Require a type attribute for iq stanzas Kim Alvefur 2018-12-28
util.stanza: Deserialize stanza without mutating input (fixes #711) 0.11 Kim Alvefur 2018-12-01
util.stanza: Validate input to clone() (with brief tests) 0.11 Kim Alvefur 2018-11-17
util.stanza: Set preserialize as freeze metamethod Kim Alvefur 2018-10-11
util.stanza: Don't automatically generate ids for iq stanzas Matthew Wild 2018-09-13
util.stanza + tests: Bail out of loop if we are iterating too far, fixes #981 Matthew Wild 2018-08-19
Merge 0.10->trunk Kim Alvefur 2018-07-08
util.stanza: Add method for removing all children with a specific name, xmlns Kim Alvefur 2018-07-08
util.stanza: Remove redundant check from :text now done in :add_direct_child Kim Alvefur 2018-06-08
util.stanza: Verify that other objects added as children are valid strings Kim Alvefur 2018-06-08
util.stanza: Verify that child tags added are really stanzas (closes #1165) Kim Alvefur 2018-06-08
util.stanza: Add :text_tag(), a shortcut for adding nodes with text Kim Alvefur 2018-03-21
util.stanza: Allow :text(nil) and :text("") as harmless nops Matthew Wild 2018-03-21
util.stanza: Switch from asserts to if's, improve performance, errors and tests Matthew Wild 2018-03-18
util.stanza: Add stricter validation for data passed to stanza builder API Matthew Wild 2018-03-16
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur 2018-02-28
util.stanza: Change __type to __name as this is used by Lua 5.3 in some error reporting functions Kim Alvefur 2018-02-16
util: Various minor changes to please [luacheck] Kim Alvefur 2017-11-10
Merge 0.10->trunk Kim Alvefur 2016-12-02
util.stanza: Add an is_stanza() function to check if an object is a stanza Kim Alvefur 2016-11-28
Merge 0.10->trunk Matthew Wild 2016-03-09
util.stanza: Some code cleanup [luacheck] Matthew Wild 2016-03-09
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) Matthew Wild 2015-12-08
util.stanza: Export xml_escape (missed during removal of module() calls) Kim Alvefur 2015-09-03
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur 2015-02-21
Merge 0.9->0.10 Kim Alvefur 2014-10-26
Backout changeset 6e67c73f730c: not a major fix and it breaks interop with at least Isode M-Link, and possibly standards, while it's not clear it actually fixes the original problem either. 0.9.7 Matthew Wild 2014-10-24
Merge 0.9->0.10 Waqas Hussain 2014-10-08
util.stanza: Escape newlines and tabs (\r\n\t) when serializing stanzas. \r\n transforms into \n otherwise, and \r\n\t in attributes transforms into spaces. Waqas Hussain 2014-10-08