Log

util/stanza.lua @ 6173:1600438c0c14

description author age
Remove all trailing whitespace Florian Zeitz 2013-08-09
util.stanza: Use correct index when replacing the tag in .tags (thanks daurnimator) Matthew Wild 2013-04-05
util.stanza: Add stanza:find(), a light weight XPath-like method Kim Alvefur 2013-04-04
util.stanza: :maptags(): Fixes to make loop more robust on item removal Matthew Wild 2013-04-03
util.stanza: Use ipairs instead of childtags (behavior changed in 92c86e11fd44) Kim Alvefur 2012-08-21
util.stanza: Make stanza:childtags() behave like :get_child() Kim Alvefur 2012-07-05
util.stanza: Remove unused function imports Matthew Wild 2012-04-28
util.stanza: Remove unused __add metamethod Matthew Wild 2011-12-21
Merge 0.8->trunk Matthew Wild 2011-02-24
util.stanza: Whitespace fix after merge (complicated) Matthew Wild 2011-02-24
util.stanza: Remove childtags and rename matching_tags -> childtags (they are API-compatible) Matthew Wild 2011-02-22
util.stanza: Rewrite clone() to be more optimized. Waqas Hussain 2011-02-20
util.stanza: Clean up matching_tags() and replace :childtags() with it Matthew Wild 2011-02-19
util.stanza: Remove childtags and rename matching_tags -> childtags (they are API-compatible) Matthew Wild 2011-02-22
util.stanza: Rewrite clone() to be more optimized. Waqas Hussain 2011-02-20
util.stanza: Make some globals local, so they don't clutter the global checking script's output. It's also a minor optimization ;) Waqas Hussain 2011-02-03
util.stanza: Add get_child_text() method to get the text of the specified child element (get_child() + get_text() rolled into one step) Matthew Wild 2011-01-31
util.stanza: Iterate on childtags instead of all childs. Kim Alvefur 2010-12-17
util.stanza: Change get_error() to return nil rather than '' for no text Matthew Wild 2010-12-11
util.stanza, util.xmppstream, core.xmlhandlers: Allow stanza.last_add to be nil, and set it nil by default. Saves a table allocation per-element. 20% faster stanza building. Waqas Hussain 2010-11-26
util.stanza: Make the current element <message> instead of <body> when body text is passed to st.message(). Waqas Hussain 2010-09-21
util.stanza: stanza:matched_children() -> stanza:matching_tags() Matthew Wild 2010-08-30
util.stanza: Add stanza:maptags() to apply a function over child tags (return nil to remove tag from stanza) Matthew Wild 2010-08-30
util.stanza: Optimisation, remove useless if...then in stanza:children() iterator Matthew Wild 2010-08-29
util.stanza: Add stanza:matched_children(name, xmlns) [name suggestions welcome] Matthew Wild 2010-08-29
Merge 0.6->0.7 Matthew Wild 2010-04-03
util.stanza: Fixed some more nil global accesses. Waqas Hussain 2010-04-01
util.stanza: Fixed a nil global access. Waqas Hussain 2010-04-01
Merge 0.6->0.7 Matthew Wild 2010-03-22
Update copyright headers for 2010 Matthew Wild 2010-03-22