1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-14 11:42:04 +01:00
Commit graph

478 commits

Author SHA1 Message Date
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