aboutsummaryrefslogtreecommitdiffstats
path: root/util/stanza.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.stanza: Optimisation, remove useless if...then in stanza:children() ↵Matthew Wild2010-08-291-2/+1
| | | | iterator
* 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 ↵Matthew Wild2009-11-301-0/+11
| | | | | | | | name/xmlns
* | 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 ↵Matthew Wild2010-01-291-0/+26
| | | | | | | | stanza error
* | util.stanza: Trailing whitespaceMatthew Wild2010-01-211-7/+5
| |
* | util.stanza: Add stanza:get_child(name, xmlns) to find a child tag given a ↵Matthew Wild2009-11-301-0/+11
|/ | | | name/xmlns
* Changed separator between attribute names and prefixes from '|' to '\1' ↵Waqas Hussain2009-11-121-5/+16
| | | | (optimization and cleanup).
* util.stanza: Don't add xmlns to tags when serializing if same as the parent ↵Matthew Wild2009-10-171-4/+5
| | | | tag's xmlns. Should hopefully shut up Gajim once and for all :)
* 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 ↵Waqas Hussain2009-06-251-32/+18
| | | | serialization. - #optimization
* 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
|
* Add child_with_ns() method to stanza elements, and fix child_with_name() to ↵Matthew Wild2009-01-111-1/+7
| | | | iterate tags rather than all children
* Restore fix for missing last_add on deserialized stanzas. Thanks to tsing ↵Matthew Wild2009-01-091-0/+3
| | | | for discovering.
* Merge from waqasMatthew Wild2008-12-161-0/+1
|\
| * Optimized stanza_mt.__tostring (called when doing tostring(stanza))Waqas Hussain2008-12-101-11/+26
| |
* | 0.1 -> 0.2Matthew Wild2008-12-101-1/+1
| |
* | New, faster, stanza serializationMatthew Wild2008-12-101-12/+26
|/
* Insert copyright/license headersMatthew Wild2008-12-031-0/+20
|
* Add helper function for adding message bodies to stanzasMatthew Wild2008-11-221-0/+5
|
* Don't forget to escape XML in attributes. Thanks to the Postgres Q&amp;A ↵Matthew Wild2008-11-191-2/+2
| | | | room on conference.jabber.org :)
* A treat for Linux users ;)Matthew Wild2008-11-141-4/+44
|
* Merge from waqasMatthew Wild2008-11-131-0/+3
|\
| * Fixed stanza deserializationWaqas Hussain2008-11-131-0/+3
| |
* | Add new top_tag() method to stanzasMatthew Wild2008-11-131-0/+8
|/
* Part one of internal component supportMatthew Wild2008-11-041-1/+1
|
* Don't set cursor inside added child when using add_child()Matthew Wild2008-10-261-1/+0
|
* Make add_child() behave as expected. Old add_child() is now add_direct_child()Matthew Wild2008-10-261-4/+10
|
* dialback keys now verifiedMatthew Wild2008-10-241-1/+6
|
* Fixed: util.stanza.deserialize now handles nil stanzasWaqas Hussain2008-10-091-11/+13
|
* Stanza preserialize/deserialize helpers, to strip and restore stanzas ↵Matthew Wild2008-10-091-1/+36
| | | | respectively. Fixed mod_vcard to use these.