1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 22:12:05 +01:00
Commit graph

65 commits

Author SHA1 Message Date
Florian Schmaus
07a0b8f722 SMACK-413 fixed vCard parsing regarding the PHOTO element. Moved vCard test cases to unit-test where appropriate. Added testcases for vCard PHOTO parsing.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13586 b35dd754-fafc-0310-a699-88a17e54d16e
2013-03-23 00:30:59 +00:00
Florian Schmaus
21be8c55ee SMACK-361 Added support for Entity Capabilities.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13560 b35dd754-fafc-0310-a699-88a17e54d16e
2013-03-18 08:50:48 +00:00
Florian Schmaus
b907d606d9 SMACK-352 removed duplicated headers, fixed svn keywords
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13459 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-07 19:10:22 +00:00
Florian Schmaus
ca78c5be49 String.isEmpty() only comes with Android API level 9 (or higher). Switching back to old isEmptyString check, making Smack Android compatible again
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13432 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-04 11:04:00 +00:00
rcollier
1d36ae8db4 SMACK-391 Moved all date parsing into StringUtils and made it much more robust in handling multiple valid and invalid formats.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13428 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-04 03:45:37 +00:00
Florian Schmaus
4018fa3c7b SMACK-388 Moved PingProvider, Ping and Pong under ../smackx/ping package
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13394 b35dd754-fafc-0310-a699-88a17e54d16e
2013-01-15 19:56:25 +00:00
Florian Schmaus
8c14f0cb55 Added XEP-199 aka. "XMPP Ping" support to smack. Fixes SMACK-388.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13384 b35dd754-fafc-0310-a699-88a17e54d16e
2013-01-04 11:43:35 +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
rcollier
2115a6b545 Moved the EmbeddedExtensionProvider from smackx to smack, since it is not tied to extensions but is a simple utility for aiding in parsing of custom cabinets.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_2_0@12922 b35dd754-fafc-0310-a699-88a17e54d16e
2011-12-19 17:28:57 +00:00
Henning Staib
7e01c66374 improved Delay Information Parser (fixes SMACK-243)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11823 b35dd754-fafc-0310-a699-88a17e54d16e
2010-08-15 13:20:48 +00:00
Henning Staib
8b54f34153 merged branch improve_bytestreams in trunk
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11821 b35dd754-fafc-0310-a699-88a17e54d16e
2010-08-15 11:57:11 +00:00
rcollier
c00e7e333d Support for parsing embedded extensions from the server
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11349 b35dd754-fafc-0310-a699-88a17e54d16e
2009-10-28 22:46:47 +00:00
rcollier
7d50098c1c git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11348 b35dd754-fafc-0310-a699-88a17e54d16e 2009-10-28 22:44:38 +00:00
rcollier
46cebe5e9e Added support for SHIM headers
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11347 b35dd754-fafc-0310-a699-88a17e54d16e
2009-10-28 22:41:14 +00:00
Matt Tucker
334838d28e HTML and comment cleanup. Small API refactors. Moved use of StringBuffer to StringBuilder.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10865 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-03 16:28:57 +00:00
Matt Tucker
b7e2c5b108 Fixed Javadoc warnings.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10858 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-31 04:04:15 +00:00
Jeff Williams
4a917320aa Added a first version of Personal Event Publishing.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10853 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-30 21:29:17 +00:00
Gaston Dombiak
8d07e07379 Initial implementation of ad-hoc commands. SMACK-242
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10453 b35dd754-fafc-0310-a699-88a17e54d16e
2008-05-28 18:59:52 +00:00
Alex Wenckus
c95c8b7e3a File transfer upgrade, 1.5 and beautification.
Fixed fault tolerant negotiator. SMACK-128

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7616 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-21 04:09:52 +00:00
Derek DeMoro
1f8cb4452b 1 - Small fix in Roster to return unavailable presence with from.
2 - Throw exception if parsing of vCard fails.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7217 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-20 17:02:39 +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
Alex Wenckus
18a35e4e8f Small tweaks.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6184 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-20 23:18:14 +00:00
Alex Wenckus
1f3ab16aad Small tweaks.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6183 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-20 23:09:11 +00:00
Derek DeMoro
41a5399c39 Update VCardProvider.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5371 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 20:46:32 +00:00
Gaston Dombiak
f57ff10ad9 1. Clean up code
2. Refactoring work
3. Optimization work. SMACK-153
4. Fixed roster test cases. SMACK-154
4. Fixed vCard issue. SMACK-152

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4538 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-18 05:14:33 +00:00
Alex Wenckus
0e1c037504 Fixed VCard encoding when creating the dom object. SMACK-151
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4525 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-17 17:17:40 +00:00
Alex Wenckus
639386759a Switch or's to and's so that the exploit can't be used note that this doesn't fix the issue of invalid XML. SMACK-65
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4343 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-10 18:27:40 +00:00
Alex Wenckus
c4168bf3d7 Fixed several xhtml processing bugs:
1) <br/> will no longer produce <br/><br/>. SMACK-93
2) XML entities inside of the xhtml bodies should now be properly escaped. SMACK-145
3) XHTML processing keeps track of depth. SMACK-65

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4342 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-10 18:15:26 +00:00
Alex Wenckus
b88871c409 VCards data was not being escaped and unescaped properly. SMACK-130
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3691 b35dd754-fafc-0310-a699-88a17e54d16e
2006-04-04 01:15:02 +00:00
Derek DeMoro
3f9cf661ea 0 byte file causes file transfer to fail
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3471 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-16 20:10:20 +00:00
Alex Wenckus
d807155a29 HTML Fixes
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3405 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-08 00:29:52 +00:00
Alex Wenckus
131cd4ac15 Added license information for file transfer code
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3397 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-03 19:13:23 +00:00
Alex Wenckus
8d0db1a339 File Transfer. (SMACK-72) (SMACK-122)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3395 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-03 18:44:22 +00:00
Matt Tucker
e3c264c689 Small fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3382 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-27 22:04:36 +00:00
Gaston Dombiak
9eca04602b Initial version. SMACK-117
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3345 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-23 20:09:06 +00:00
Gaston Dombiak
237ab44301 Fixed vCard issues. SMACK-116
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3315 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 21:29:16 +00:00
Gaston Dombiak
d1cf9cd971 Fixed concurrency issue with date formatter. SMACK-111
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3180 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-08 21:12:25 +00:00
Derek DeMoro
6dbc7c285e Update to support avatars.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2813 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-13 18:55:41 +00:00
Gaston Dombiak
ebeedc148c Added new attempt to parse the date. SMACK-67
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2523 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-10 21:55:09 +00:00
Gaston Dombiak
34baa2545b Improved parsing of date considering JEP-82 format. SMACK-67
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2516 b35dd754-fafc-0310-a699-88a17e54d16e
2005-07-28 00:42:29 +00:00
Gaston Dombiak
680e57dcbf Initial version. SMACK-58
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2508 b35dd754-fafc-0310-a699-88a17e54d16e
2005-07-19 22:56:08 +00:00
Derek DeMoro
8c2ea94613 The delayed information needs to use the same tz as specified by server to allow for correct date calculation.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2463 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-02 07:31:58 +00:00
Gaston Dombiak
22d5e9835b Initial version. SMACK-41
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2450 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-28 22:59:40 +00:00
Gaston Dombiak
8b03003fd7 Added "role" attribute to MUCOwner.Item. SMACK-33
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2428 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-15 18:04:13 +00:00
Matt Tucker
e382efa52a Updated to Apache 2.0 license.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2407 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-02 23:37:00 +00:00
Gaston Dombiak
d7668b3dcc Fixed possible NPE when parsing invalid XHTML text. SMACK-3
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2401 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-31 02:46:07 +00:00
Gaston Dombiak
c396be83d1 Allows a disco#info packet to include a dataform. SMACK-153
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2382 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-19 16:20:10 +00:00
Gaston Dombiak
10e7cbb20e Fixes a bug parsing MUCOwner packets.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2380 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-12 02:12:38 +00:00
Gaston Dombiak
5289b67214 Modifies the instructions element to allow multiple instructions (JEP updated)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2299 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-26 02:33:06 +00:00
Gaston Dombiak
e1ee22207d Fixes parsing errors (#getText was replaced with #nextText)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2277 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:25:24 +00:00