1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-10 14:16:00 +01:00
Commit graph

727 commits

Author SHA1 Message Date
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
5199427bbd Small fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7407 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-08 05:25:42 +00:00
Matt Tucker
65b38e647b Compile fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7402 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-07 23:51:46 +00:00
Matt Tucker
fe545abeae Adding workgroup API (SMACK-185).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7400 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-07 23:38:36 +00:00
Matt Tucker
939feb9017 License header fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7398 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-07 23:03:48 +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
Alex Wenckus
2ceed95f6b added reply timeout wait for used host response.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7230 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-21 00:08:34 +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
695d05cc3b Code cleanup on SMACK-199.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7187 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 08:59:33 +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
Derek DeMoro
4cfbf00e48 SMACK-199 MultiUserChat invitation listeners are no longer removed on disconnect.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7148 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-15 22:27:56 +00:00
Alex Wenckus
0e85f25129 Outputstream may not have been properly closed in case of error. SMACK-198
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7144 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-15 17:33:44 +00:00
Derek DeMoro
76087c3928 Unable to remove avatar in current model. This is now fixed.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7084 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-13 17:00:44 +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
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