Log

util/stanza.lua @ 4168:4919831b5b56

description author age
util.stanza: Clean up matching_tags() and replace :childtags() with it Matthew Wild Sat, 19 Feb 2011 02:31:06 +0000
util.stanza: Remove childtags and rename matching_tags -> childtags (they are API-compatible) Matthew Wild Tue, 22 Feb 2011 07:37:52 +0000
util.stanza: Rewrite clone() to be more optimized. Waqas Hussain Sun, 20 Feb 2011 19:16:56 +0500
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 Thu, 03 Feb 2011 13:13:49 +0500
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 Mon, 31 Jan 2011 13:05:49 +0000
util.stanza: Iterate on childtags instead of all childs. Kim Alvefur Fri, 17 Dec 2010 17:28:05 +0100
util.stanza: Change get_error() to return nil rather than '' for no text Matthew Wild Sat, 11 Dec 2010 22:34:29 +0000
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 Fri, 26 Nov 2010 05:23:37 +0500
util.stanza: Make the current element <message> instead of <body> when body text is passed to st.message(). Waqas Hussain Tue, 21 Sep 2010 17:24:25 +0500
util.stanza: stanza:matched_children() -> stanza:matching_tags() Matthew Wild Mon, 30 Aug 2010 04:55:12 +0100
util.stanza: Add stanza:maptags() to apply a function over child tags (return nil to remove tag from stanza) Matthew Wild Mon, 30 Aug 2010 04:53:41 +0100
util.stanza: Optimisation, remove useless if...then in stanza:children() iterator Matthew Wild Sun, 29 Aug 2010 15:07:00 +0100
util.stanza: Add stanza:matched_children(name, xmlns) [name suggestions welcome] Matthew Wild Sun, 29 Aug 2010 15:04:34 +0100
Merge 0.6->0.7 Matthew Wild Sat, 03 Apr 2010 23:09:11 +0100
util.stanza: Fixed some more nil global accesses. Waqas Hussain Thu, 01 Apr 2010 19:12:08 +0500