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

78 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Gaston Dombiak
754a927f08 Javadoc comment fixed.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2736 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 04:37:28 +00:00
Gaston Dombiak
c914101965 1. Added support for TLS. SMACK-76
2. Added support for SASL. SMACK-24
3. Modified constructors to include serviceName. SMACK-75

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2733 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 02:33:08 +00:00
Matt Tucker
0f43eb7a48 Added default constructor for unit testing.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2507 b35dd754-fafc-0310-a699-88a17e54d16e
2005-07-18 21:28:25 +00:00
Matt Tucker
93ca7bc991 Improved packet timeout logic.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2501 b35dd754-fafc-0310-a699-88a17e54d16e
2005-06-15 23:04:52 +00:00
Gaston Dombiak
41d274a5f9 Fix to let specify a custom debugger
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2497 b35dd754-fafc-0310-a699-88a17e54d16e
2005-06-07 20:41:22 +00:00
Matt Tucker
51f29937d2 Added login method to make sending presence optional (SMACK-52).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2496 b35dd754-fafc-0310-a699-88a17e54d16e
2005-06-02 04:52:40 +00:00
Matt Tucker
fb22583ea7 Better threading logic when getting a roster. Also avoid loading LiteDebugger explicitly as an attempted fix for SMACK-7.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2470 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-30 01:53:51 +00:00
Matt Tucker
a53f4da70f Lowercase username on authentication.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2417 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-15 08:08:23 +00:00
Matt Tucker
55433d1cf3 Code formatting.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2410 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-05 05:25:52 +00:00
Matt Tucker
fdb4b017ff Updated to Apache 2.0 license.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2408 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-02 23:53:30 +00:00
Gaston Dombiak
31b508cc9f 1. Closes reader and writer when the connection is closed. SMACK-156
2. Closes reader and writer and shuts down PacketReader and PacketWriter if an exception occurs while initializing the connection. SMACK-156


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2385 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-24 02:15:55 +00:00
Matt Tucker
757c7450d9 Allow custom SocketFactory to be set (SMACK-140).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2330 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-05 22:22:02 +00:00
Matt Tucker
250ab4de71 Use try/catch around System.getProperty()
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2320 b35dd754-fafc-0310-a699-88a17e54d16e
2004-06-03 01:03:56 +00:00
Matt Tucker
a958b245e6 Fixed logic bug where setting values via the API in SmackConfiguration could be overridden by the config file.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2297 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-18 18:11:26 +00:00
Matt Tucker
16f5004301 Write out error if failed to load custom debugger.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2257 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-15 22:59:03 +00:00
Gaston Dombiak
70ec10065f Prevents a NPE if DEBUG_ENABLED was set to true AFTER the connection was created
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2214 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-24 18:39:39 +00:00
Gaston Dombiak
72af76ba39 UNDO: The connection's roster can be accessed before the user actually logs in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2209 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-18 12:58:36 +00:00
Gaston Dombiak
15df277ced The connection's roster can be accessed before the user actually logs in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2195 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-02 00:31:16 +00:00
Gaston Dombiak
f7de4be1f9 The packet-reply-timeout is obtained from SmackConfiguration
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2191 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-01 23:21:49 +00:00
Gaston Dombiak
41dad8658a Allows reply timeout to be set
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2189 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-20 12:20:30 +00:00
Gaston Dombiak
129f0a0bd2 *** empty log message ***
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2188 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 18:30:58 +00:00
Gaston Dombiak
f77ad32537 Initializes Smack when the class is loaded
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2185 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 18:19:29 +00:00
Gaston Dombiak
a42e3c2742 Adds notifications of new established connections
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2181 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 17:54:38 +00:00
Gaston Dombiak
7d7c02b750 References to PacketWriterListener changed to PacketListener
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2172 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-18 17:06:47 +00:00
Gaston Dombiak
9757607447 Refactors debugger code and adds listeners for sent packets
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2168 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-15 20:23:20 +00:00
Matt Tucker
63e1d822a5 Throw exception in sendPacket if packet is null.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2151 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-20 12:46:48 +00:00
Matt Tucker
a48aaf73e8 Javdoc improvements.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2099 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-23 20:14:31 +00:00
Matt Tucker
d843cc9a77 Packet writer errors will now notify listeners of errors (SMACK-85)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2092 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-18 22:35:42 +00:00
Matt Tucker
89fa351758 Changed method and constructor from protected to default access to clean up Javadocs.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2091 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-18 21:37:52 +00:00
Matt Tucker
2962187b75 Added isSecureConnection method (SMACK-84)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2089 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-18 20:39:14 +00:00
Matt Tucker
9f687f7f1c Fix for class cast exception
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2052 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-20 20:31:47 +00:00