1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-16 20:22:05 +01:00
Commit graph

694 commits

Author SHA1 Message Date
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
Alex Wenckus
1426964334 Add service discovery feature for chat state
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6710 b35dd754-fafc-0310-a699-88a17e54d16e
2007-01-17 17:35: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
Gaston Dombiak
dd6f76fcac Fixed loading of vcard of other users when using an anonymous connection.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6452 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-20 22:05:38 +00:00
Alex Wenckus
694c7863bd file transfer callback is now actually a callback.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6378 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-12 19:47:59 +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
Gaston Dombiak
58a3b60570 Updated to be able to compile. :(
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6288 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-02 02:15:35 +00:00
Alex Wenckus
5658fb705a Code complete chat state manager
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6283 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-01 18:42:33 +00:00
Alex Wenckus
dd754e5a7f fix for new chat manager
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6271 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-30 19:15:45 +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
Gaston Dombiak
a58e1dd0a4 Updated to be able to compile. :(
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6243 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-28 19:26:54 +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
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
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
Gaston Dombiak
87e6c2aba5 Added support for returning list of identities of a hosted node. SMACK-178
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5720 b35dd754-fafc-0310-a699-88a17e54d16e
2006-10-16 17:56:48 +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
865d12b483 Refactoring work.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5407 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-18 20:17:33 +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