Commit Graph

47 Commits (a00a7f76bc8bbc8a0174bfda7b7962e981e984df)

Author SHA1 Message Date
Matthew Wild 70c975bfe0 util.stanza: Add stanza:get_child(name, xmlns) to find a child tag given a name/xmlns 16 years ago
Waqas Hussain 316bc45e71 Changed separator between attribute names and prefixes from '|' to '\1' (optimization and cleanup). 16 years ago
Matthew Wild 555d09e324 util.stanza: Don't add xmlns to tags when serializing if same as the parent tag's xmlns. Should hopefully shut up Gajim once and for all :) 16 years ago
Matthew Wild 7c81eebb01 util.stanza: Remove silly dependency on util.logger 16 years ago
Matthew Wild 2f726a9d3b util.stanza: Soften dependency on util.termcolours 16 years ago
Matthew Wild 7b3fe9ce14 util.stanza: Make xml_escape publicly accessible 16 years ago
Matthew Wild b1f5f214b1 util.stanza: Add __type to metatable 16 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Matthew Wild 825d03cc43 util.stanza: Convert spaces to tabs 17 years ago
Waqas Hussain 852c7a62b1 util.stanza: Serializer optimizations, and nicer output for empty elements 17 years ago
Matthew Wild 49f2cc3baa util.stanza: Add stanza:get_text() to retrieve all child text nodes #api 17 years ago
Waqas Hussain 1ce4a34f68 util.stanza: Rewrote stanza_mt.__tostring. 20-30% faster stanza serialization. - #optimization 17 years ago
Waqas Hussain 3a8c1a3f6c util.stanza: Remove numeric attributes while deserializing 17 years ago
Waqas Hussain fa8aeaf04f util.stanza: Omit unused clone parameter from error_reply() 17 years ago
Matthew Wild ed0da8eb56 util.stanza: stanza:reset() method to reset building state 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Waqas Hussain 0fe02618e5 util/stanza: Added clone function 17 years ago
Matthew Wild 0a8bd35ceb util.stanza: Temporary fix for serializing attributes with namespaces 17 years ago
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago
Matthew Wild f2d020191f 0.2->0.3 17 years ago
Matthew Wild bf3b96204d GPL->MIT! 17 years ago
Matthew Wild 937375dda1 Add child_with_ns() method to stanza elements, and fix child_with_name() to iterate tags rather than all children 17 years ago
Matthew Wild c1e6b94266 Restore fix for missing last_add on deserialized stanzas. Thanks to tsing for discovering. 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Matthew Wild 8e253779f9 New, faster, stanza serialization 17 years ago
Waqas Hussain 7677430ce2 Optimized stanza_mt.__tostring (called when doing tostring(stanza)) 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Matthew Wild 208dde8105 Add helper function for adding message bodies to stanzas 17 years ago
Matthew Wild b32558393f Don't forget to escape XML in attributes. Thanks to the Postgres Q&A room on conference.jabber.org :) 17 years ago
Matthew Wild d67940a1d7 A treat for Linux users ;) 17 years ago
Waqas Hussain a3018d6421 Fixed stanza deserialization 17 years ago
Matthew Wild 6bb0a34965 Add new top_tag() method to stanzas 17 years ago
Matthew Wild 643f53f3e0 Part one of internal component support 17 years ago
Waqas Hussain 97853af1a8 Foxed: Copy stanza type in reply for presence and message stanzas 17 years ago
Matthew Wild e8ecd95917 Don't set cursor inside added child when using add_child() 17 years ago
Matthew Wild cd77265014 Make add_child() behave as expected. Old add_child() is now add_direct_child() 17 years ago
Matthew Wild eb8e9997e0 dialback keys now verified 17 years ago
Waqas Hussain cbabb9cdb4 Fixed: util.stanza.deserialize now handles nil stanzas 17 years ago
Matthew Wild 5ec7a9c8b4 Stanza preserialize/deserialize helpers, to strip and restore stanzas respectively. Fixed mod_vcard to use these. 17 years ago
Waqas Hussain 55e20d98bd Fixed typo in variable name 17 years ago
Waqas Hussain 9536785929 User registration, etc (jabber:iq:register) 17 years ago
Waqas Hussain 0e013c0d63 Removed unused functions 17 years ago
Matthew Wild a53395e6b7 Huge commit to: 18 years ago
bt 2e735c5b6c Some docs written by Thorns. Need reviewing. 18 years ago
matthew 5ea14b6295 Added all the files to please hg :/ 18 years ago
matthew dfe21804fe Presence unavailable on disconnect 18 years ago
matthew b7e9b10cce Working presence! 18 years ago
matthew 78739d9638 Switched to new connection framework, courtesy of the luadch project 18 years ago
matthew d0a4f8f2fb First commit, where do you want to go tomorrow? 18 years ago