Matt Tucker
eb56f8a557
GSSAPI work by Jay Kline (SMACK-218).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8155 b35dd754-fafc-0310-a699-88a17e54d16e
2007-05-02 23:11:10 +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
b858614843
Javadoc.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8087 b35dd754-fafc-0310-a699-88a17e54d16e
2007-04-21 20:14:40 +00:00
Gaston Dombiak
eb3d196bce
Use Integer.MIN_VALUE as default value to indicate that no priority presence has been set. SMACK-214
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7962 b35dd754-fafc-0310-a699-88a17e54d16e
2007-04-10 18:44:08 +00:00
Matt Tucker
a86cb5a5d3
Removing method (doesn't help with anything).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7687 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-24 20:49:57 +00:00
Derek DeMoro
93766ee788
Changed flushing type of jzlib to fix hang in client.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7613 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-20 22:09:15 +00:00
Matt Tucker
c7fc4734b8
Added ability to get the local network address that connects to the server.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7525 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-15 02:53:01 +00:00
Alex Wenckus
6bb444fdaf
NULL thread IDs no longer an issue. SMACK-203
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7424 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-09 17:27:20 +00:00
Matt Tucker
e9f049adc9
Adding max queue size to throttle traffic (avoids OOM). (SMACK-208).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7419 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-09 02:02:27 +00:00
Matt Tucker
2c0984815b
Javadoc tweak.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7334 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-01 18:44:08 +00:00
Matt Tucker
0f0c423480
Small tweak.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7234 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-21 17:38:05 +00:00
Matt Tucker
1eb4841970
New listener implementation for packet reader (SMACK-205).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7232 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-21 00:57:31 +00:00
Gaston Dombiak
87fb2df3ec
Check that roster is not null when disconnecting (fixed NPE).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7221 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-20 18:48:26 +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
0bd96e5156
Moving variable to private. Why was it protected?
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7199 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 22:24:07 +00:00
Matt Tucker
3aa94b2a4e
Set connected to false before closing reader and writer (SMACK-196).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7186 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 08:38:19 +00:00
Matt Tucker
2e5f42aa39
Added support for offline presence, code cleanup (SMACK-74, SMACK-201).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7185 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 08:35:05 +00:00
Matt Tucker
3e4a1ed5b5
Optimized concurrency in packet writer, better job of cleanup on disconnect.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7183 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 05:48:57 +00:00
Matt Tucker
319dcd408f
Added convenience methods (SMACK-200).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7179 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-17 19:43:44 +00:00
Matt Tucker
e155c302ad
Another collection change.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7168 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-16 01:56:16 +00:00
Matt Tucker
7c847dad6a
Switched from volatile collection to copy on write array. Fixes concurrency bugs and leaking resources, but may have performance ramifications.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7159 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-16 00:12:17 +00:00
Matt Tucker
5d30c8ac26
Fixed another possible null case.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7083 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-13 16:21:24 +00:00
Matt Tucker
1303db9703
Fixed a case where null was returned.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7082 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-13 16:19:26 +00:00
Matt Tucker
322292cad9
Added ability to sign off with a custom presence packet (SMACK-195).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7081 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-13 02:23:28 +00:00
Matt Tucker
5f9456db0d
Close trust store after loading (SMACK-188).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7074 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 03:08:40 +00:00
Matt Tucker
7329435c8e
Javadoc cleanup.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7073 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 01:14:30 +00:00
Matt Tucker
b25b9d5d7c
Default to null presence mode (SMACK-193).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7072 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 01:11:09 +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
Matt Tucker
5c1fc7f8b7
* Roster.getPresence now forces bare JID (SMACK-192).
...
* RosterListner API changes (SMACK-191).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7070 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 00:56:47 +00:00
Matt Tucker
274ef0cd51
RosterListener now uses generics.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7069 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-09 06:21:29 +00:00
Gaston Dombiak
2db477145d
1) Use #notifyAll to notify all waiting threads on listenethread. SMACK-189
...
2) Added try/catch while notifying listener to recover gracefully from potential errors. SMACK-190
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7043 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-08 18:23:44 +00:00
Matt Tucker
bf02dbe3da
Added unique identifier to each thread name (SMACK-51).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6948 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-04 20:52:45 +00:00
Matt Tucker
2407d9e30f
Fixing documentation (SMACK-183).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6947 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-04 18:50:38 +00:00
Matt Tucker
bf6471e76b
Fixes
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6945 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-04 06:17:15 +00:00
Alex Wenckus
da9a0e4543
Update to track last chat state of a chat so that the user is not updated more than once, and the XEP is not violated.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6711 b35dd754-fafc-0310-a699-88a17e54d16e
2007-01-17 19:36:45 +00:00
Matt Tucker
8e750912a7
Re-worked security settings, clean-up of connection config, fixed concurrency when shutting down the packet writer.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6666 b35dd754-fafc-0310-a699-88a17e54d16e
2007-01-11 19:01:24 +00:00
Matt Tucker
5a57e2390a
Javadoc fixes, builds now go to target directory.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6616 b35dd754-fafc-0310-a699-88a17e54d16e
2007-01-07 23:03:16 +00:00
Matt Tucker
92d1de2dce
Initial cut of constructor re-factor (SMACK-184).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6532 b35dd754-fafc-0310-a699-88a17e54d16e
2007-01-04 23:00:58 +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
Alex Wenckus
f40cb8bfbf
Generics
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6331 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-07 03:25:39 +00:00
Gaston Dombiak
5273e6c73d
Improved logic to find correct chat. If search for threadID fails then fallback to sender of message.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6319 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-05 18:07:35 +00:00
Gaston Dombiak
f31411c997
A FROM value was not always present in messages sent as part of the chat.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6308 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-05 07:46:29 +00:00
Gaston Dombiak
07f89a78ac
Fixed concurrency error.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6303 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-04 23:52:59 +00:00
Alex Wenckus
7a16b8ff95
1.5
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6262 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-29 23:32:04 +00:00
Alex Wenckus
c3aad4dec1
Redundant
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6261 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-29 23:22:29 +00:00
Alex Wenckus
4279a4acf8
Added ability to create a chat with a prior specified threadID.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6241 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-28 18:46:40 +00:00
Alex Wenckus
88ea6cf037
ChatState mostly code complete.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6217 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-23 21:10:59 +00:00
Alex Wenckus
3269d65591
Initial work on ChatState.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6215 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-23 01:51:00 +00:00
Alex Wenckus
ae6065d7cc
Created new chat manager which handles the creation of Chats.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6213 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-22 22:55:37 +00:00
Derek DeMoro
b34d338b31
Make sure that reconnect does not occur on conflict error.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6178 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-20 18:03:53 +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
aa92ee9942
Minor update to reconnection logic.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6123 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-15 22:33:48 +00:00
Derek DeMoro
4e0397e80a
1) Added conflict check in ReconnectionManager.
...
2) Fixed compilation errors due to change in interface name.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6122 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-15 22:29:25 +00:00
Alex Wenckus
f5371f42a7
Fix
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6107 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-14 21:59:39 +00:00
Alex Wenckus
0537629ee9
Spellcheck.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6106 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-14 21:58:03 +00:00
Alex Wenckus
8d5225c6a9
Spellcheck.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6105 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-14 21:51:03 +00:00
Gaston Dombiak
53c97378d3
1) Fixed reconnection when connection was using compression.
...
2) Fixed conflict error while reconnecting (reconnection was not keeping track of resource and sendPresence.
3) Improved javadoc (and checking) that reconnectionlisteners should be added once connected.
4) Added new reconnection test case for reconnection and multiple resources.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6050 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-10 19:06:33 +00:00
Gaston Dombiak
97824ebc1c
Type enum is now public.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6026 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-09 23:19:54 +00:00
Gaston Dombiak
0e0f1701a4
Improved parsing of subjectDNs. SMACK-181
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5984 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-08 00:57:39 +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
Gaston Dombiak
43744eb09f
Added new constructor that performs DNS SRV lookups.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5726 b35dd754-fafc-0310-a699-88a17e54d16e
2006-10-16 20:45:43 +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
998172b111
Removed extra synchronization (SMACK-177).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5645 b35dd754-fafc-0310-a699-88a17e54d16e
2006-10-07 23:16:20 +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
216971659a
Renamed ConnectionEstablishedListener to ConnectionCreationListener. SMACK-173
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5388 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 23:05:01 +00:00
Gaston Dombiak
03bb3c1d0a
Initial version.SMACK-173
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5386 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 23:04:09 +00:00
Gaston Dombiak
f941cd509c
Renamed to ConnectionCreationListener.SMACK-173
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5385 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 23:03:26 +00:00
Gaston Dombiak
e65ecdc913
Rolling back some JID escaping work related to SMACK-170.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5384 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 22:42:06 +00:00
Matt Tucker
6be93f4a4e
Code cleanup and refactoring.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5383 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 21:51:08 +00:00
Matt Tucker
edd7df6799
Escape on setting JID instead of getting JID.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5382 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 20:53:18 +00:00
Gaston Dombiak
29073a307a
Added reconnection support. SMACK-172
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5368 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 19:21:38 +00:00
Gaston Dombiak
3af86fd462
Added reconnection support. SMACK-172
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5367 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 19:16:40 +00:00
Gaston Dombiak
96e4201f61
1. Added reconnection support. SMACK-172
...
2. Set available contacts to offline when connection is closed. SMACK-171
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5366 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 19:14:51 +00:00
Gaston Dombiak
96e134e21a
Initial version. SMACK-172
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5365 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 19:13:35 +00:00
Derek DeMoro
85781a7158
1) SMACK-170 - Added JID escaping capabilities to SMACK.
...
2) Escaping form field values to prevent bad xml.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5363 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 15:19:39 +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
e558ee8fa6
Replaces lock object with Semaphore. SMACK-168
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5359 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-13 17:58:28 +00:00
Gaston Dombiak
8f98f71ecb
Added JID escaping support. SMACK-167
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5195 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-03 03:10:15 +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
Gaston Dombiak
157a1e9659
Listeners are now removed from PacketReader. SMACK-165
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4883 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-10 22:09:30 +00:00
Gaston Dombiak
469ff4d487
Roster item nickname is now escaped for XML. SMACK-164
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4882 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-10 21:35:08 +00:00
Gaston Dombiak
b34152e9f5
Use stream feature to discover whether in-band registration is available. SMACK-160
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4797 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-03 17:04:01 +00:00
Gaston Dombiak
84cc5fb1c6
Fixed casting error.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4796 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-03 17:03:19 +00:00
Gaston Dombiak
8879234bbc
Fixed potential error when #getClassLoader returns null. SMACK-162
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4774 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-02 22:31:23 +00:00
Gaston Dombiak
47cc26e234
Fixed possible delay when TLS is not supported by the server. SMACK-161
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4773 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-02 22:17:11 +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
9895123ff3
Additional refactoring work.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4539 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-18 06:47:38 +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
Matt Tucker
494cec8f9a
Syntax fix.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4533 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-18 02:42:22 +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
Alex Wenckus
0fdda5bc4d
Removed invisible mode. SMACK-147
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4347 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-11 01:33:18 +00:00
Gaston Dombiak
f9ecbb3297
Reuse empty slots in the collection to store new listeners/collectors. Fixed by Alex. :) SMACK-149
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4340 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-10 16:51:56 +00:00
Gaston Dombiak
97b80ac8da
Improved #toString()
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4296 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-07 15:05:00 +00:00
Gaston Dombiak
0bc5b7b404
Searh for records of type SRV and class IN. SMACK-146
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4084 b35dd754-fafc-0310-a699-88a17e54d16e
2006-06-23 17:47:23 +00:00
Gaston Dombiak
7bef86a2ae
Updated for 2.2.1.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3973 b35dd754-fafc-0310-a699-88a17e54d16e
2006-06-12 19:10:46 +00:00
Gaston Dombiak
3252a2a77c
keep alive final fixes. SMACK-141
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3972 b35dd754-fafc-0310-a699-88a17e54d16e
2006-06-12 16:32:18 +00:00
Gaston Dombiak
6e49d6cb05
Temp fix for SSL exception problem until we finish final solution that consists of changing the keep alive thread to send a hearbeat when the connection is idle (i.e. nothing has been sent for a while). SMACK-141
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3968 b35dd754-fafc-0310-a699-88a17e54d16e
2006-06-09 23:24:54 +00:00
Matt Tucker
f7e4817f12
Javadoc work.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3930 b35dd754-fafc-0310-a699-88a17e54d16e
2006-05-30 21:53:50 +00:00
Alex Wenckus
c22f731c6d
Changed base64 implementation. SMACK-135
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3828 b35dd754-fafc-0310-a699-88a17e54d16e
2006-05-03 21:13:25 +00:00
Pete Matern
8398c6f4a9
Re-applied fix for SMACK-120
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3823 b35dd754-fafc-0310-a699-88a17e54d16e
2006-05-01 16:34:41 +00:00
Alex Wenckus
bd6b9e6b26
1) Illegal characters in group name will no longer crash a connection. SMACK-133
...
2) Fixed warnings.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3811 b35dd754-fafc-0310-a699-88a17e54d16e
2006-04-20 18:52:28 +00:00
Alex Wenckus
f70e9b894d
Illegal XML characters in presence status would crash connection. SMACK-131
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3761 b35dd754-fafc-0310-a699-88a17e54d16e
2006-04-12 17:40:32 +00:00
Gaston Dombiak
b7030403e2
Updated for 2.2.0.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3541 b35dd754-fafc-0310-a699-88a17e54d16e
2006-03-09 02:34:27 +00:00
Gaston Dombiak
5247fce7ca
Moved resource binding parsing as a core IQ packet. SMACK-124
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3492 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-27 18:17:27 +00:00
Derek DeMoro
665bf172f7
Smack now escapes passwords.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3470 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-16 20:07:18 +00:00
Matt Tucker
d323d6db9c
Removed thread from packet writer (SMACK-123).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3412 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-08 23:11:21 +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
96796a82b4
Added methods to remove providers (SMACK-118).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3381 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-27 18:44:17 +00:00
Alex Wenckus
e7c89235ba
-shutting down the listener thread properly {SMACK-120}
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3367 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-26 18:31:35 +00:00
Gaston Dombiak
18677279f2
Removed #toLowecase() calls wherever possible. SMACK-109
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3349 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-24 18:14:41 +00:00
Gaston Dombiak
07f5fc9ef6
1. Stream compression is now negotiated after authentication as defined in JEP-170.
...
2. Keep copy of ConnectionConfiguration to prevent future modifications.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3314 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 21:28:46 +00:00
Gaston Dombiak
b522c42c8b
1. Modified default values for certificates verification
...
2. Implements Cloneable interface.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3313 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 21:27:44 +00:00
Gaston Dombiak
39eca6ec5b
Added support for configuring the connection. SMACK-113 SMACK-114
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3311 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 20:05:31 +00:00
Gaston Dombiak
c00abdeffd
Comment updated. SMACK-27
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3310 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 20:03:11 +00:00
Gaston Dombiak
10c59457ca
Initial version. SMACK-27
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3309 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 20:02:34 +00:00
Gaston Dombiak
1528e75d7e
Initial version. SMACK-113 SMACK-113 SMACK-27
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3308 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 20:02:11 +00:00
Gaston Dombiak
15defec50f
Added stream compression support. SMACK-112
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3306 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-16 17:34:56 +00:00
Gaston Dombiak
72c67e7baa
Changing name to Wildfire.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3213 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-13 22:43:24 +00:00
Gaston Dombiak
38f7e5bba7
Refactoring work.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3179 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-08 21:10:41 +00:00
Gaston Dombiak
647d6323ca
Request resource binding or session establishment only if they were provided by the server. SMACK-110
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3178 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-08 21:10:04 +00:00
Gaston Dombiak
17e97fe0ee
Optimization work. SMACK-109
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3177 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-08 21:07:01 +00:00
Matt Tucker
cc40bf4bcb
Javadoc updates.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3109 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-19 18:13:50 +00:00
Gaston Dombiak
bc6f3a0776
Updated for Smack 2.1.0.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3099 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-17 18:47:22 +00:00
Gaston Dombiak
c23b4f20db
Added stream errors support. SMACK-107
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3042 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-08 20:10:33 +00:00
Gaston Dombiak
cb06777500
Initial version. SMACK-107
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3041 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-08 20:09:04 +00:00
Gaston Dombiak
254c4a450a
Do not broadcast events for empty collections. SMACK-106
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3033 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-04 19:51:29 +00:00
Gaston Dombiak
e5ea043798
Modified RosterListener to fire more specific events when entries are added, deleted or modified. SMACK-106
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3032 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-04 18:31:21 +00:00
Gaston Dombiak
1cdefcc796
Added RosterEntry#getStatus. SMACK-105
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3026 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-03 16:53:07 +00:00
Gaston Dombiak
d67b49289b
Added support for PacketInterceptors. SMACK-104
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3020 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-01 23:49:07 +00:00
Gaston Dombiak
dd57b64570
Initial version. SMACK-104
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3019 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-01 23:47:02 +00:00
Gaston Dombiak
6a7f7826cd
Added automatic acknowledge receipt for the unsubscribe notification. SMACK-98
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2998 b35dd754-fafc-0310-a699-88a17e54d16e
2005-10-27 15:22:14 +00:00
Matt Tucker
c2cc92943a
Synchronize chats map.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2994 b35dd754-fafc-0310-a699-88a17e54d16e
2005-10-24 19:37:37 +00:00
Gaston Dombiak
5449a6177c
Include roster group when adding new entry to group. SMACK-92
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2970 b35dd754-fafc-0310-a699-88a17e54d16e
2005-10-14 19:45:14 +00:00
Derek DeMoro
a5991bfa94
Commiting UserSearch
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2855 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-20 21:02:30 +00:00
Matt Tucker
ab474ea063
Added DNS SRV support (SMACK-29).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2832 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-17 22:01:24 +00:00
Gaston Dombiak
5ab6d22c9d
Forgot to replace refactored code in non-anonymous sasl....arggg... SMACK-85
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2827 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-16 15:52:45 +00:00
Gaston Dombiak
d61e2e5c59
Don't include version=1.0 when using old SSL connections. SMACK-90
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2818 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-13 20:09:28 +00:00
Gaston Dombiak
283b0f33f5
Throw an XMPPException if SASL authentication fails. SMACK-89
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2817 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-13 20:05:29 +00:00
Gaston Dombiak
bb0a864be9
Return any string value when the server sends a challenge to the client.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2816 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-13 19:48:57 +00:00
Gaston Dombiak
fbe77866c5
Allow to send empty responses.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2815 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-13 19:43:22 +00:00
Matt Tucker
3b75e10675
Improved Javadoc.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2809 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-12 20:13:26 +00:00
Gaston Dombiak
953faca41c
Fixed typo.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2791 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-08 23:34:36 +00:00
Gaston Dombiak
2303fa33c9
1. Allow to perform SASL authentication over plain connections. SMACK-83
...
2. Added support for ANONYMOUS SASL authentication. SMACK-84
3. Fixed isSecureConnection to return true when using TLS.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2785 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 22:06:40 +00:00
Gaston Dombiak
391e7269e6
Allow to perform SASL authentication over plain connections. SMACK-83
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2784 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 22:03:47 +00:00
Gaston Dombiak
b94d041bba
1. Added anonymous authentication. SMACK-84
...
2. Fixed possible delay waiting for server reply. SMACK-85
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2783 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 22:00:16 +00:00
Gaston Dombiak
6d6fdcf9b6
Added anonymous authentication. SMACK-84
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2782 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 21:57:33 +00:00
Gaston Dombiak
5b1eea6833
Improved methods comments.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2781 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 21:38:40 +00:00
Gaston Dombiak
5a7c902ef3
Initial version. SMACK-84
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2780 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 21:37:27 +00:00
Matt Tucker
06b7a0eacc
New logic for delivering messages without a thread ID to a Chat object. This improves compatibility with clients that don't support thread ID. Also some misc formatting updates.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2779 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 20:00:45 +00:00