aboutsummaryrefslogtreecommitdiffstats
path: root/util/stanza.lua
Commit message (Expand)AuthorAgeFilesLines
* Backout changeset 6e67c73f730c: not a major fix and it breaks interop with at...vault/0.9.7Matthew Wild2014-10-241-13/+2
* util.stanza: Escape newlines and tabs (\r\n\t) when serializing stanzas. \r\n...Waqas Hussain2014-10-081-2/+13
* util.stanza: Use correct index when replacing the tag in .tags (thanks daurni...Matthew Wild2013-04-051-1/+1
* util.stanza: Add stanza:find(), a light weight XPath-like methodKim Alvefur2013-04-041-0/+26
* util.stanza: :maptags(): Fixes to make loop more robust on item removalMatthew Wild2013-04-031-2/+4
* util.stanza: Use ipairs instead of childtags (behavior changed in 92c86e11fd44)Kim Alvefur2012-08-211-1/+1
* util.stanza: Make stanza:childtags() behave like :get_child()Kim Alvefur2012-07-051-2/+2
* util.stanza: Remove unused function importsMatthew Wild2012-04-281-6/+0
* util.stanza: Remove unused __add metamethodMatthew Wild2011-12-211-5/+0
* util.stanza: Remove childtags and rename matching_tags -> childtags (they are...Matthew Wild2011-02-221-18/+9
* util.stanza: Rewrite clone() to be more optimized.Waqas Hussain2011-02-201-15/+12
* util.stanza: Make some globals local, so they don't clutter the global checki...Waqas Hussain2011-02-031-0/+2
* util.stanza: Add get_child_text() method to get the text of the specified chi...Matthew Wild2011-01-311-0/+8
* util.stanza: Iterate on childtags instead of all childs.Kim Alvefur2010-12-171-1/+1
* util.stanza: Change get_error() to return nil rather than '' for no textMatthew Wild2010-12-111-1/+1
* util.stanza, util.xmppstream, core.xmlhandlers: Allow stanza.last_add to be n...Waqas Hussain2010-11-261-13/+12
* util.stanza: Make the current element <message> instead of <body> when body t...Waqas Hussain2010-09-211-1/+1
* util.stanza: stanza:matched_children() -> stanza:matching_tags()Matthew Wild2010-08-301-1/+1
* util.stanza: Add stanza:maptags() to apply a function over child tags (return...Matthew Wild2010-08-301-0/+24
* util.stanza: Optimisation, remove useless if...then in stanza:children() iter...Matthew Wild2010-08-291-2/+1
* util.stanza: Add stanza:matched_children(name, xmlns) [name suggestions welcome]Matthew Wild2010-08-291-0/+17
* Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| * util.stanza: stanza.error_reply(): Fix to put the correct namespace on <text>Matthew Wild2010-01-311-7/+10
| * util.stanza: Add stanza:get_child(name, xmlns) to find a child tag given a na...Matthew Wild2009-11-301-0/+11
* | util.stanza: Fixed nil global accesses.Waqas Hussain2010-03-021-3/+3
* | util.stanza: stanza.error_reply(): Fix to put the correct namespace on <text>Matthew Wild2010-01-311-7/+10
* | util.stanza: Add stanza:get_error() to return type, condition and text of a s...Matthew Wild2010-01-291-0/+26
* | util.stanza: Trailing whitespaceMatthew Wild2010-01-211-7/+5
* | util.stanza: Add stanza:get_child(name, xmlns) to find a child tag given a na...Matthew Wild2009-11-301-0/+11
|/
* Changed separator between attribute names and prefixes from '|' to '\1' (opti...Waqas Hussain2009-11-121-5/+16
* util.stanza: Don't add xmlns to tags when serializing if same as the parent t...Matthew Wild2009-10-171-4/+5
* util.stanza: Remove silly dependency on util.loggerMatthew Wild2009-10-081-2/+0
* util.stanza: Soften dependency on util.termcoloursMatthew Wild2009-10-061-2/+9
* util.stanza: Make xml_escape publicly accessibleMatthew Wild2009-10-061-3/+6
* util.stanza: Add __type to metatableMatthew Wild2009-10-041-1/+1
* Remove version number from copyright headersMatthew Wild2009-07-101-1/+1
* util.stanza: Convert spaces to tabsMatthew Wild2009-07-101-20/+21
* util.stanza: Serializer optimizations, and nicer output for empty elementsWaqas Hussain2009-06-271-12/+19
* util.stanza: Add stanza:get_text() to retrieve all child text nodes #apiMatthew Wild2009-06-261-0/+6
* util.stanza: Rewrote stanza_mt.__tostring. 20-30% faster stanza serialization...Waqas Hussain2009-06-251-32/+18
* util.stanza: Remove numeric attributes while deserializingWaqas Hussain2009-06-251-0/+2
* util.stanza: Omit unused clone parameter from error_reply()Waqas Hussain2009-05-151-2/+1
* util.stanza: stanza:reset() method to reset building stateMatthew Wild2009-04-081-0/+8
* 0.3->0.4Matthew Wild2009-03-201-1/+1
* util/stanza: Added clone functionWaqas Hussain2009-02-201-1/+20
* util.stanza: Temporary fix for serializing attributes with namespacesMatthew Wild2009-02-111-1/+13
* Update copyright notices for 2009Matthew Wild2009-01-301-2/+2
* 0.2->0.3Matthew Wild2009-01-301-1/+1
* GPL->MIT!Matthew Wild2009-01-301-13/+2