Merge 0.10->trunk
|
Kim Alvefur |
Sun, 08 Jul 2018 19:12:17 +0200 |
util.stanza: Add method for removing all children with a specific name, xmlns
|
Kim Alvefur |
Sun, 08 Jul 2018 16:48:59 +0200 |
util.stanza: Remove redundant check from :text now done in :add_direct_child
|
Kim Alvefur |
Fri, 08 Jun 2018 17:44:44 +0200 |
util.stanza: Verify that other objects added as children are valid strings
|
Kim Alvefur |
Fri, 08 Jun 2018 17:06:21 +0200 |
util.stanza: Verify that child tags added are really stanzas (closes #1165)
|
Kim Alvefur |
Fri, 08 Jun 2018 17:04:47 +0200 |
util.stanza: Add :text_tag(), a shortcut for adding nodes with text
|
Kim Alvefur |
Wed, 21 Mar 2018 23:20:26 +0100 |
util.stanza: Allow :text(nil) and :text("") as harmless nops
|
Matthew Wild |
Wed, 21 Mar 2018 22:04:20 +0000 |
util.stanza: Switch from asserts to if's, improve performance, errors and tests
|
Matthew Wild |
Sun, 18 Mar 2018 11:32:00 +0000 |
util.stanza: Add stricter validation for data passed to stanza builder API
|
Matthew Wild |
Fri, 16 Mar 2018 14:51:24 +0000 |
vairious: Add annotation when an empty environment is set [luacheck]
|
Kim Alvefur |
Wed, 28 Feb 2018 20:06:26 +0100 |
util.stanza: Change __type to __name as this is used by Lua 5.3 in some error reporting functions
|
Kim Alvefur |
Fri, 16 Feb 2018 08:16:38 +0100 |
util: Various minor changes to please [luacheck]
|
Kim Alvefur |
Fri, 10 Nov 2017 05:42:32 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Fri, 02 Dec 2016 11:13:05 +0100 |
util.stanza: Add an is_stanza() function to check if an object is a stanza
|
Kim Alvefur |
Mon, 28 Nov 2016 07:30:21 +0100 |
Merge 0.10->trunk
|
Matthew Wild |
Wed, 09 Mar 2016 13:19:38 +0000 |
util.stanza: Some code cleanup [luacheck]
|
Matthew Wild |
Wed, 09 Mar 2016 12:37:56 +0000 |
util.stanza, util.xml, util.xmppstream: Add support for tracking defined namespaces and their prefix (stanza.namespaces), knowing/preserving prefix names is required for some applications (thanks daurnimator)
|
Matthew Wild |
Tue, 08 Dec 2015 23:15:42 +0000 |
util.stanza: Export xml_escape (missed during removal of module() calls)
|
Kim Alvefur |
Thu, 03 Sep 2015 23:39:00 +0200 |
util.*: Remove use of module() function, make all module functions local and return them in a table at the end
|
Kim Alvefur |
Sat, 21 Feb 2015 10:36:37 +0100 |
Merge 0.9->0.10
|
Kim Alvefur |
Sun, 26 Oct 2014 20:57:06 +0100 |
Backout changeset 6e67c73f730c: not a major fix and it breaks interop with at least Isode M-Link, and possibly standards, while it's not clear it actually fixes the original problem either.
0.9.7
|
Matthew Wild |
Fri, 24 Oct 2014 23:20:06 +0100 |
Merge 0.9->0.10
|
Waqas Hussain |
Wed, 08 Oct 2014 18:42:33 -0400 |
util.stanza: Escape newlines and tabs (\r\n\t) when serializing stanzas. \r\n transforms into \n otherwise, and \r\n\t in attributes transforms into spaces.
|
Waqas Hussain |
Wed, 08 Oct 2014 15:56:11 -0400 |
Remove all trailing whitespace
|
Florian Zeitz |
Fri, 09 Aug 2013 17:48:21 +0200 |
util.stanza: Use correct index when replacing the tag in .tags (thanks daurnimator)
|
Matthew Wild |
Fri, 05 Apr 2013 19:59:48 +0100 |
util.stanza: Add stanza:find(), a light weight XPath-like method
|
Kim Alvefur |
Thu, 04 Apr 2013 20:05:35 +0200 |
util.stanza: :maptags(): Fixes to make loop more robust on item removal
|
Matthew Wild |
Wed, 03 Apr 2013 13:38:27 +0100 |
util.stanza: Use ipairs instead of childtags (behavior changed in 92c86e11fd44)
|
Kim Alvefur |
Tue, 21 Aug 2012 15:33:07 +0200 |
util.stanza: Make stanza:childtags() behave like :get_child()
|
Kim Alvefur |
Thu, 05 Jul 2012 17:58:47 +0200 |
util.stanza: Remove unused function imports
|
Matthew Wild |
Sat, 28 Apr 2012 02:38:56 +0100 |
util.stanza: Remove unused __add metamethod
|
Matthew Wild |
Wed, 21 Dec 2011 07:58:22 +0000 |
Merge 0.8->trunk
|
Matthew Wild |
Thu, 24 Feb 2011 02:04:56 +0000 |
util.stanza: Whitespace fix after merge (complicated)
|
Matthew Wild |
Thu, 24 Feb 2011 02:04:38 +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: 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 |
util.stanza: Fixed a nil global access.
|
Waqas Hussain |
Thu, 01 Apr 2010 19:08:25 +0500 |
Merge 0.6->0.7
|
Matthew Wild |
Mon, 22 Mar 2010 17:24:55 +0000 |
Update copyright headers for 2010
|
Matthew Wild |
Mon, 22 Mar 2010 17:06:15 +0000 |
util.stanza: stanza.error_reply(): Fix to put the correct namespace on <text>
|
Matthew Wild |
Sun, 31 Jan 2010 19:27:52 +0000 |
util.stanza: Fixed nil global accesses.
|
Waqas Hussain |
Tue, 02 Mar 2010 00:50:54 +0500 |
util.stanza: stanza.error_reply(): Fix to put the correct namespace on <text>
|
Matthew Wild |
Sun, 31 Jan 2010 19:27:52 +0000 |
util.stanza: Add stanza:get_error() to return type, condition and text of a stanza error
|
Matthew Wild |
Fri, 29 Jan 2010 14:22:03 +0000 |
util.stanza: Trailing whitespace
|
Matthew Wild |
Thu, 21 Jan 2010 13:22:41 +0000 |
util.stanza: Add stanza:get_child(name, xmlns) to find a child tag given a name/xmlns
|
Matthew Wild |
Mon, 30 Nov 2009 16:39:27 +0000 |
Changed separator between attribute names and prefixes from '|' to '\1' (optimization and cleanup).
|
Waqas Hussain |
Thu, 12 Nov 2009 13:42:44 +0500 |
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 :)
|
Matthew Wild |
Sat, 17 Oct 2009 19:47:01 +0100 |
util.stanza: Remove silly dependency on util.logger
|
Matthew Wild |
Thu, 08 Oct 2009 20:06:07 +0100 |
util.stanza: Soften dependency on util.termcolours
|
Matthew Wild |
Tue, 06 Oct 2009 19:17:28 +0100 |
util.stanza: Make xml_escape publicly accessible
|
Matthew Wild |
Tue, 06 Oct 2009 18:05:31 +0100 |
util.stanza: Add __type to metatable
|
Matthew Wild |
Sun, 04 Oct 2009 14:03:08 +0100 |
Remove version number from copyright headers
|
Matthew Wild |
Fri, 10 Jul 2009 03:11:45 +0100 |
util.stanza: Convert spaces to tabs
|
Matthew Wild |
Fri, 10 Jul 2009 02:25:14 +0100 |
util.stanza: Serializer optimizations, and nicer output for empty elements
|
Waqas Hussain |
Sat, 27 Jun 2009 08:38:52 +0500 |
util.stanza: Add stanza:get_text() to retrieve all child text nodes #api
|
Matthew Wild |
Fri, 26 Jun 2009 05:54:55 +0100 |
util.stanza: Rewrote stanza_mt.__tostring. 20-30% faster stanza serialization. - #optimization
|
Waqas Hussain |
Thu, 25 Jun 2009 17:22:53 +0500 |
util.stanza: Remove numeric attributes while deserializing
|
Waqas Hussain |
Thu, 25 Jun 2009 17:19:13 +0500 |
util.stanza: Omit unused clone parameter from error_reply()
|
Waqas Hussain |
Fri, 15 May 2009 06:39:53 +0500 |
util.stanza: stanza:reset() method to reset building state
|
Matthew Wild |
Wed, 08 Apr 2009 20:12:40 +0100 |
0.3->0.4
|
Matthew Wild |
Fri, 20 Mar 2009 20:16:25 +0000 |
util/stanza: Added clone function
|
Waqas Hussain |
Fri, 20 Feb 2009 02:18:07 +0500 |
util.stanza: Temporary fix for serializing attributes with namespaces
|
Matthew Wild |
Wed, 11 Feb 2009 16:09:48 +0000 |
Update copyright notices for 2009
|
Matthew Wild |
Fri, 30 Jan 2009 17:59:26 +0000 |
0.2->0.3
|
Matthew Wild |
Fri, 30 Jan 2009 17:40:25 +0000 |
GPL->MIT!
|
Matthew Wild |
Fri, 30 Jan 2009 17:22:56 +0000 |
Add child_with_ns() method to stanza elements, and fix child_with_name() to iterate tags rather than all children
|
Matthew Wild |
Sun, 11 Jan 2009 06:27:57 +0000 |
Restore fix for missing last_add on deserialized stanzas. Thanks to tsing for discovering.
|
Matthew Wild |
Fri, 09 Jan 2009 17:27:53 +0000 |
Merge from waqas
|
Matthew Wild |
Tue, 16 Dec 2008 02:40:29 +0000 |
Optimized stanza_mt.__tostring (called when doing tostring(stanza))
|
Waqas Hussain |
Wed, 10 Dec 2008 06:58:56 +0500 |
0.1 -> 0.2
|
Matthew Wild |
Wed, 10 Dec 2008 15:44:03 +0000 |
New, faster, stanza serialization
|
Matthew Wild |
Wed, 10 Dec 2008 15:32:13 +0000 |
Insert copyright/license headers
|
Matthew Wild |
Wed, 03 Dec 2008 14:39:07 +0000 |
Add helper function for adding message bodies to stanzas
|
Matthew Wild |
Sat, 22 Nov 2008 19:07:41 +0000 |
Don't forget to escape XML in attributes. Thanks to the Postgres Q&A room on conference.jabber.org :)
|
Matthew Wild |
Wed, 19 Nov 2008 05:02:13 +0000 |
A treat for Linux users ;)
|
Matthew Wild |
Fri, 14 Nov 2008 16:03:33 +0000 |
Merge from waqas
|
Matthew Wild |
Thu, 13 Nov 2008 16:58:29 +0000 |
Fixed stanza deserialization
|
Waqas Hussain |
Thu, 13 Nov 2008 12:07:53 +0500 |
Add new top_tag() method to stanzas
|
Matthew Wild |
Thu, 13 Nov 2008 03:47:44 +0000 |
Part one of internal component support
|
Matthew Wild |
Tue, 04 Nov 2008 18:15:56 +0000 |
Don't set cursor inside added child when using add_child()
|
Matthew Wild |
Sun, 26 Oct 2008 14:39:52 +0000 |
Make add_child() behave as expected. Old add_child() is now add_direct_child()
|
Matthew Wild |
Sun, 26 Oct 2008 14:27:10 +0000 |
dialback keys now verified
s2s
|
Matthew Wild |
Fri, 24 Oct 2008 03:06:55 +0100 |
Fixed: util.stanza.deserialize now handles nil stanzas
|
Waqas Hussain |
Thu, 09 Oct 2008 22:19:35 +0500 |
Stanza preserialize/deserialize helpers, to strip and restore stanzas respectively. Fixed mod_vcard to use these.
|
Matthew Wild |
Thu, 09 Oct 2008 00:50:45 +0100 |
Fixed typo in variable name
|
Waqas Hussain |
Wed, 08 Oct 2008 03:38:07 +0500 |
Merged mod_InBandRegistration from waqas
|
Matthew Wild |
Sun, 05 Oct 2008 01:32:43 +0100 |
User registration, etc (jabber:iq:register)
|
Waqas Hussain |
Sun, 05 Oct 2008 04:55:45 +0500 |
Removed unused functions
|
Waqas Hussain |
Sat, 04 Oct 2008 19:51:59 +0500 |
Huge commit to:
|
Matthew Wild |
Tue, 30 Sep 2008 19:52:00 +0100 |
Some docs written by Thorns. Need reviewing.
|
bt |
Wed, 17 Sep 2008 22:20:08 +0300 |
Merged 2 heads o_O
|
matthew |
Sun, 24 Aug 2008 18:08:04 +0100 |
Added all the files to please hg :/
|
matthew |
Sun, 24 Aug 2008 18:01:20 +0100 |
Presence unavailable on disconnect
|
matthew |
Sun, 24 Aug 2008 14:52:02 +0000 |
Working presence!
|
matthew |
Sun, 24 Aug 2008 04:34:01 +0000 |
Switched to new connection framework, courtesy of the luadch project
|
matthew |
Sun, 24 Aug 2008 01:51:02 +0000 |
First commit, where do you want to go tomorrow?
|
matthew |
Fri, 22 Aug 2008 21:09:04 +0000 |