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

505 commits

Author SHA1 Message Date
Daniel Henninger
5c92ced702 Checking for PKCS support in java and punting if it doesn't exist.
Using bytestream config instead of full config.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9689 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-27 16:15:57 +00:00
Daniel Henninger
048e5b679c [SMACK-235] Switched to a much faster, but also thread safe, concurrenthashmap for entries list.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9687 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-27 15:54:56 +00:00
Daniel Henninger
0a455fe195 This hasn't been updated to the proper version in a while.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9673 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-26 01:28:22 +00:00
Daniel Henninger
e5791ee5c6 Added ability to force an immediate reconnection. Not sure I'm fond of it, but it's doing the trick.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9669 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-23 23:25:02 +00:00
Daniel Henninger
882d47fb6c Silenced some stderr messages.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9552 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-04 03:14:32 +00:00
Daniel Henninger
bad22775e9 Fixed spelling for unsubscription_pending variable.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9548 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-03 00:00:03 +00:00
Daniel Henninger
c5507a5a28 Removed accidental commit.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9547 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-01 02:45:52 +00:00
Daniel Henninger
bf93dd6aee [SMACK-175] Returning UNSUBSCRIPTION_PENDING instead of SUBSCRIPTION_PENDING when the pending state is set to unsubscribe
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9546 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-01 02:45:11 +00:00
Jay Kline
e51e9432f2 Fixed a problem where not fully setting up PKI results in
failed logins.


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9543 b35dd754-fafc-0310-a699-88a17e54d16e
2007-11-30 22:11:04 +00:00
Jay Kline
1b5203d24e Fix some ordering.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9539 b35dd754-fafc-0310-a699-88a17e54d16e
2007-11-30 20:02:01 +00:00
Jay Kline
d3ee0e2f3e Added support for key and trust stores when making SSL/TLS connections
that require the client authenticate itself.  This supports PKCS#11 devices.


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9538 b35dd754-fafc-0310-a699-88a17e54d16e
2007-11-30 19:40:31 +00:00
Jay Kline
13b8d313ba Big change for authentication, which now supports more SASL mechanisms and
callbacks.  This should address issues SMACK-210 and SMACK-142, as well as 
set the stage for SMACK-234. 



git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9498 b35dd754-fafc-0310-a699-88a17e54d16e
2007-11-14 16:27:47 +00:00
Matt Tucker
85a92b600b License header fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9227 b35dd754-fafc-0310-a699-88a17e54d16e
2007-09-26 23:14:51 +00:00
Matt Tucker
0971f5fffd Fix for SMACK-224.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8503 b35dd754-fafc-0310-a699-88a17e54d16e
2007-06-07 17:35:26 +00:00
Matt Tucker
466b7e2d08 Fix offline presence info, including test case (SMACK-219).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8275 b35dd754-fafc-0310-a699-88a17e54d16e
2007-05-10 22:48:24 +00:00
Matt Tucker
bdc61a2db2 Use the FQDN for SASL auth -- fixes GSSAPI (SMACK-224).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8272 b35dd754-fafc-0310-a699-88a17e54d16e
2007-05-10 21:45:26 +00:00
Alex Wenckus
ff2900653c Fixed possible NPE
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8187 b35dd754-fafc-0310-a699-88a17e54d16e
2007-05-04 18:35:47 +00:00
Matt Tucker
5dbf96d109 Fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8177 b35dd754-fafc-0310-a699-88a17e54d16e
2007-05-03 23:59:09 +00:00
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