aboutsummaryrefslogtreecommitdiffstats
path: root/util/xmppstream.lua (follow)
Commit message (Expand)AuthorAgeFilesLines
* util.xmppstream: Allow dynamically configuring the stanza size limit for a streamMatthew Wild2021-05-101-0/+3
* util.xmppstream: Mark bytes for stream closure as handledMatthew Wild2021-05-101-0/+3
* util.xmppstream: Reduce default xmppstream limit to 1MBMatthew Wild2021-05-101-1/+1
* util.xmppstream: Explicitly release old parser object on stream resetMatthew Wild2018-07-311-1/+6
* util.xmppstream: Perfom validation of XML declaration parametersMatthew Wild2018-07-111-10/+13
* vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-281-0/+1
* util: Various minor changes to please [luacheck]Kim Alvefur2017-11-101-4/+10
* util.xmppstream: Remove namespace tracking, it's broken as implementedMatthew Wild2016-03-051-23/+0
* 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 Wild2015-12-081-0/+23
* util.*: Remove use of module() function, make all module functions local and return them in a table at the endKim Alvefur2015-02-211-7/+9
* Merge 0.9->0.10Matthew Wild2014-08-281-1/+1
|\
| * util.xmppstream: When error is 'no-stream', pass the received tagname to the error handlerMatthew Wild2014-08-231-1/+1
* | util.xmppstream: Don't include empty stream ID in stream header (got here from mod_c2s)Kim Alvefur2014-08-271-1/+1
* | util.xmppstream: Check for callback that may add stream header attributesKim Alvefur2014-04-181-0/+3
* | mod_c2s, mod_s2s, mod_component, util.xmppstream: Move all session:open_stream() functions to util.xmppstreamKim Alvefur2014-04-101-0/+16
* | Merge 0.9->0.10Matthew Wild2014-04-021-12/+12
|\ \ | |/ |/|
| * Remove all trailing whitespaceFlorian Zeitz2013-08-091-12/+12
* | util.xmppstream: Also disable CharacterData merging after stream restartsMatthew Wild2014-04-021-1/+1
* | util.xmppstream: Disable LuaExpat's buffering (if possible)Matthew Wild2014-04-021-3/+3
* | util.xmppstream: Implement stanza size limiting, default limit 10MBMatthew Wild2014-03-301-6/+80
|/
* util.xmppstream: Include error stanza in error message if no error handler is available.Waqas Hussain2013-01-261-1/+1
* util.xmppstream: Optimize attribute processing.Waqas Hussain2012-01-251-10/+9
* util.xmppstream: Have faith in the XML parser matching start and end tags.Waqas Hussain2012-01-251-10/+2
* util.xmppstream: Remove some unnecessary code.Waqas Hussain2012-01-251-2/+0
* util.dependencies, util.xmppstream: Move LuaExpat version checking to util.dependencies.Waqas Hussain2011-11-221-7/+0
* util.xmppstream: A little cleanup.Waqas Hussain2011-11-221-8/+2
* Merge 0.8->trunkMatthew Wild2011-06-051-1/+1
|\
| * util.xmppstream: Check to make sure parser.stop is present before calling it.Waqas Hussain2011-06-051-1/+1
* | Merge 0.8->trunkMatthew Wild2011-06-021-2/+5
|\|
| * Merge 0.7->0.8Matthew Wild2011-06-021-2/+5
* | Merge 0.8->trunkMatthew Wild2011-06-021-1/+0
|\|
| * Merge 0.7->0.8Matthew Wild2011-06-021-1/+0
| * util.xmppstream: Reject XML comments, processing instructions and (if supported by LuaExpat) DTDs. If not supported, log a warning.Matthew Wild2011-06-011-0/+21
| * util.xmppstream: Allow stream_ns = "" for parsing streams with no xmlnsMatthew Wild2010-12-211-1/+4
| * util.xmppstream: Expose ns_separator and ns_patternMatthew Wild2010-12-071-0/+3
| * util.xmppstream: Fix logger name.Waqas Hussain2010-12-031-1/+1
* | util.xmppstream: Reject XML comments, processing instructions and (if supported by LuaExpat) DTDs. If not supported, log a warning.Matthew Wild2011-06-011-0/+21
* | util.xmppstream: Optimized stanza building by bypassing the stanza API.Waqas Hussain2010-12-291-7/+16
* | util.xmppstream: Allow stream_ns = "" for parsing streams with no xmlnsMatthew Wild2010-12-211-1/+4
* | util.xmppstream: Expose ns_separator and ns_patternMatthew Wild2010-12-071-0/+3
* | util.xmppstream: Fix logger name.Waqas Hussain2010-12-031-1/+1
|/
* 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 Hussain2010-11-261-1/+2
* util.xmppstream: Preserve the stream content namespace on descendents of elements which are in another namespace.Waqas Hussain2010-11-201-1/+7
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-161-2/+2
* util.xmppstream: Removed some useless property assignments.Waqas Hussain2010-08-031-4/+0
* util.xmppstream: Add set_session() method to change the session that a stream is associated withMatthew Wild2010-08-021-2/+8
* util.xmppstream: Stream objects now just have feed/reset methodsMatthew Wild2010-05-091-4/+22
* Merge 0.7->trunkMatthew Wild2010-03-221-2/+2
* util.xmppstream: new() now returns a parser objectMatthew Wild2010-03-221-4/+9
* util.xmppstream: Initial commitMatthew Wild2010-03-221-0/+145