Commit Graph

29 Commits

Author SHA1 Message Date
Florian Schmaus bd709dc323 SMACK-452 Correctly parse stream error packets
Modified PacketParserUtils.parseStreamError() to take into account that
there may be an optional text element and an optional application
specific element.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_2@13767 b35dd754-fafc-0310-a699-88a17e54d16e
2013-10-09 17:02:34 +00:00
Florian Schmaus 30bc5afa2b SMACK-425 Introduced smack.parsing.ParsingExceptionCallback, a callback invoked when a exception is thrown while parsing a stanza. Smack is now able to either rethrow the exception ulitmatly causing a disconnect *or* log/ignore the exception and resume parsing after the faulty stanza.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_1@13688 b35dd754-fafc-0310-a699-88a17e54d16e
2013-06-22 17:01:40 +00:00
Florian Schmaus 1cdb86989a SMACK-423 Parse unhandled IQ stanzas of type 'request' to dummy IQ class, so that the contents can be examined later on.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13539 b35dd754-fafc-0310-a699-88a17e54d16e
2013-03-05 10:35:04 +00:00
rcollier fc3ec2ab8a SMACK-390 Log exception in parsing extensions of Presence. Valid Presence will still be returned with extensions missing.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13326 b35dd754-fafc-0310-a699-88a17e54d16e
2012-10-30 01:53:44 +00:00
rcollier e08c8afe44 SMACK-363 Applied code cleanup patches for many generics related issues.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13325 b35dd754-fafc-0310-a699-88a17e54d16e
2012-10-26 10:47:55 +00:00
Henning Staib 7a3818783b add support for localized Message subjects (fixes SMACK-310)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11825 b35dd754-fafc-0310-a699-88a17e54d16e
2010-08-15 15:45:57 +00:00
Henning Staib cb5310c984 improve Message parser robustness and I18N for Message bodies (fixes SMACK-207 and SMACK-307)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11824 b35dd754-fafc-0310-a699-88a17e54d16e
2010-08-15 15:13:05 +00:00
Günther Niess 5cb76891ba small fix (SMACK-294)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11644 b35dd754-fafc-0310-a699-88a17e54d16e
2010-02-18 15:37:16 +00:00
Günther Niess 379b119d12 SMACK-294: Improve handling for empty groups
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11643 b35dd754-fafc-0310-a699-88a17e54d16e
2010-02-18 14:33:45 +00:00
Günther Niess a441d856f8 SMACK-293: Support optional roster subscription attribute
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11642 b35dd754-fafc-0310-a699-88a17e54d16e
2010-02-18 14:24:52 +00:00
Günther Niess e3efee2e8f SMACK-280: The SASL mechanisms work transparent with packet listeners
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11615 b35dd754-fafc-0310-a699-88a17e54d16e
2010-02-09 12:24:24 +00:00
Günther Niess ad65a76e77 SMACK-281: Move more packet parsing code to PacketParserUtils
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11614 b35dd754-fafc-0310-a699-88a17e54d16e
2010-02-09 12:11:39 +00:00
Michael Will 0b7421eae3 implement a simple macro parser
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11418 b35dd754-fafc-0310-a699-88a17e54d16e
2009-11-25 16:51:29 +00:00
Alex Wenckus 8e08a8ba4a Added support for multiple message bodies and language on the message. SMACK-99
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8113 b35dd754-fafc-0310-a699-88a17e54d16e
2007-04-26 06:22:55 +00:00
Matt Tucker 98bf0d8cfb Copyright update.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7071 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 00:59:05 +00:00
Thiago Camargo 469b5c2a0a Initialization with String no longer needed. Due last changes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6341 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-08 17:48:00 +00:00
Gaston Dombiak 69b36d5861 ProviderManager is no longer static. SMACK-182
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6128 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-16 19:31:30 +00:00
Derek DeMoro d4147e012b 1) Escape values in form field to prevent error.
2) Check for null value in error type to handle invalid error types.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5737 b35dd754-fafc-0310-a699-88a17e54d16e
2006-10-17 13:15:35 +00:00
Thiago Camargo 819b32ec95 Assigned a default value to the "type" instance variable. SMACK-176
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5676 b35dd754-fafc-0310-a699-88a17e54d16e
2006-10-10 22:03:22 +00:00
Matt Tucker 48fac74878 Protect against bad xmpp error types.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5458 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-20 16:43:40 +00:00
Gaston Dombiak 1df8baa6f7 Refactoring work.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5361 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-13 20:56:47 +00:00
Gaston Dombiak c13766569e Fixed freezing when parsing error. SMACK-166
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5061 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-25 20:18:54 +00:00
Matt Tucker 47abf627b7 Added privacy list support and improved error handling from Francisco (SMACK-121, SMACK-31).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4603 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-19 19:24:00 +00:00
Matt Tucker bbbfe09c31 Phase 1 of large refactoring. Removing dead code, bug fixes, updates to JDK 1.5.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4511 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-17 08:39:08 +00:00
Gaston Dombiak 7b62abf071 Assume Presence priority to be zero when priority is out of range. SMACK-60
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2518 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-03 02:42:53 +00:00
Gaston Dombiak aaa723ffaf #parseProperties is now public. SMACK-68
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2517 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-03 02:32:02 +00:00
Gaston Dombiak 3157a29d28 Public API for parsing Messages and Presences. SMACK-47
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2462 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-23 03:32:10 +00:00
Matt Tucker fdb4b017ff Updated to Apache 2.0 license.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2408 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-02 23:53:30 +00:00
Gaston Dombiak cf75ce471f Initial version
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2265 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:42:32 +00:00