Commit Graph

34 Commits (5c1d94de1b67353da7e2c348379c8a8509a9e66a)

Author SHA1 Message Date
Matthew Wild 1bb5caff25 util.xmppstream: When error is 'no-stream', pass the received tagname to the error handler 12 years ago
Matthew Wild ae885de6a2 util.xmppstream: Also disable CharacterData merging after stream restarts 12 years ago
Matthew Wild 507456f883 util.xmppstream: Disable LuaExpat's buffering (if possible) 12 years ago
Matthew Wild 16a37370eb util.xmppstream: Implement stanza size limiting, default limit 10MB 12 years ago
Waqas Hussain 0767f24153 util.xmppstream: Include error stanza in error message if no error handler is available. 13 years ago
Waqas Hussain 19bcbcde9c util.xmppstream: Optimize attribute processing. 14 years ago
Waqas Hussain 36936e4b05 util.xmppstream: Have faith in the XML parser matching start and end tags. 14 years ago
Waqas Hussain 5b8670c951 util.xmppstream: Remove some unnecessary code. 14 years ago
Waqas Hussain 56975d6c63 util.dependencies, util.xmppstream: Move LuaExpat version checking to util.dependencies. 14 years ago
Waqas Hussain 0c22db44a1 util.xmppstream: A little cleanup. 14 years ago
Waqas Hussain 57683f24cf util.xmppstream: Check to make sure parser.stop is present before calling it. 15 years ago
Matthew Wild a587c56a9f util.xmppstream: Reject XML comments, processing instructions and (if supported by LuaExpat) DTDs. If not supported, log a warning. 15 years ago
Matthew Wild ad47950b37 util.xmppstream: Reject XML comments, processing instructions and (if supported by LuaExpat) DTDs. If not supported, log a warning. 15 years ago
Waqas Hussain fb331b2a58 util.xmppstream: Optimized stanza building by bypassing the stanza API. 15 years ago
Matthew Wild bfc6ce8561 util.xmppstream: Allow stream_ns = "" for parsing streams with no xmlns 15 years ago
Matthew Wild def542a8fe util.xmppstream: Allow stream_ns = "" for parsing streams with no xmlns 15 years ago
Matthew Wild c662c73374 util.xmppstream: Expose ns_separator and ns_pattern 15 years ago
Matthew Wild 0c8d2cefc7 util.xmppstream: Expose ns_separator and ns_pattern 15 years ago
Waqas Hussain f79be6e720 util.xmppstream: Fix logger name. 15 years ago
Waqas Hussain 00171e2bb5 util.xmppstream: Fix logger name. 15 years ago
Waqas Hussain 539b221189 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. 15 years ago
Waqas Hussain 22ee83cf0c util.xmppstream: Preserve the stream content namespace on descendents of elements which are in another namespace. 15 years ago
Waqas Hussain b7e51a203d Monster whitespace commit (beware the whitespace monster). 15 years ago
Waqas Hussain 0efcfb0a8a util.xmppstream: Removed some useless property assignments. 16 years ago
Matthew Wild 48b695c7e5 util.xmppstream: Add set_session() method to change the session that a stream is associated with 16 years ago
Matthew Wild aa0ed5d64b util.xmppstream: Stream objects now just have feed/reset methods 16 years ago
Matthew Wild 2c597f0fa4 util.xmppstream: new() now returns a parser object 16 years ago
Matthew Wild 1f06159ffa util.xmppstream: Initial commit 16 years ago
Waqas Hussain 32befbdd6e xmlhandlers: Removed unused variables. 16 years ago
Waqas Hussain b713b42e1b xmlhandlers: A little optimization. 16 years ago
Waqas Hussain 05f3218e10 xmlhandlers: Rearranged a little code. 16 years ago
Waqas Hussain e8b118df7d xmlhandlers: Fixed indentation and added some semicolons. 16 years ago
Matthew Wild 9858c0f2fc xmlhandlers: Move stream-error detection to somewhere more appropriate (it was never reached) - s2s stream errors now reported properly 16 years ago
Matthew Wild a1ca8f3d8a xmlhandlers: More refactoring, split up stream_ns and stream_tag, add stream_error_tag so that callers don't need to be so worried about the separator we use 16 years ago
Matthew Wild 0f8fb8c50f xmlhandlers: Define ns_separator and ns_pattern to save repeating it in literal form throughout the file 16 years ago
Waqas Hussain beb6fa2f21 core.xmlhandlers: Fixed processing of empty namespaces (which caused an issue with jwchat). 16 years ago
Waqas Hussain 316bc45e71 Changed separator between attribute names and prefixes from '|' to '\1' (optimization and cleanup). 16 years ago
Matthew Wild 0664ac358a xmlhandlers: Reset state on error or stream close, fixes possible traceback 16 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Waqas Hussain 4730388db7 xmlhandlers: Remove numeric attributes 17 years ago
Waqas Hussain b3c0964aa1 xmlhandlers: Removed another unnecessary check 17 years ago
Waqas Hussain 7bfd9cc259 xmlhandlers: Removed an unnecessary check 17 years ago
Waqas Hussain 49f84f6dbf core.xmlhandlers: Removed unused variables 17 years ago
Matthew Wild 82a3b3c3eb xmlhandlers: Fix tag pattern again for the default namespace 17 years ago
Matthew Wild 05fbcb767c core.xmlhandlers: expat is the XML parser, not us. Don't reject valid XML. 17 years ago
Matthew Wild e49d269b88 core.xmlhandlers: Filter out default stream namespace from stanzas 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Matthew Wild 219c84da4a core.xmlhandlers: Remove redundant check in condition 17 years ago
Matthew Wild 2aa35ba40d core.xmlhandlers: Optimise completed stanza logic 17 years ago
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago