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
Matt Tucker
c58b84a6e2
Use error codes on connection creation failure (SMACK-78).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2042 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-19 16:32:13 +00:00
Matt Tucker
a6e5b853e9
Anonymous login support, better way to get user's XMPP address.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2020 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-12 19:30:51 +00:00
Matt Tucker
b8602b80c0
Renamed debug tabs.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2005 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-04 21:05:29 +00:00
Matt Tucker
ff078af815
Added ability to copy and clear from debug window. Code by Gato.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1992 b35dd754-fafc-0310-a699-88a17e54d16e
2003-07-31 14:18:54 +00:00
Matt Tucker
1bee6a7e60
Fixed bug where presence packets lost due to roster being created too late.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1988 b35dd754-fafc-0310-a699-88a17e54d16e
2003-07-26 23:07:43 +00:00
Matt Tucker
40624c9c0b
Small tweaks.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1986 b35dd754-fafc-0310-a699-88a17e54d16e
2003-07-16 02:49:04 +00:00
Matt Tucker
b25380282c
Added ConnectionListener support.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1983 b35dd754-fafc-0310-a699-88a17e54d16e
2003-07-09 16:05:43 +00:00
loki
f4b6fa0e9a
backed out my rev 1.20 changes so we're back with the 1.19 version of this
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1960 b35dd754-fafc-0310-a699-88a17e54d16e
2003-06-17 18:14:20 +00:00
loki
1be8dd417b
i broke down and added buttons to the debug window to allow copying of the various xml output window contents to the system clipboard so they could be pasted into things like email for more accurate debugging and blah blah.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1957 b35dd754-fafc-0310-a699-88a17e54d16e
2003-06-16 04:11:38 +00:00
Matt Tucker
aabb62c1b1
Removed unused imports.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1939 b35dd754-fafc-0310-a699-88a17e54d16e
2003-05-15 17:37:24 +00:00
Matt Tucker
000100a149
Fixed setting debug enabled via a system property.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1919 b35dd754-fafc-0310-a699-88a17e54d16e
2003-05-05 05:02:31 +00:00
Matt Tucker
dcf5d1ea72
Do a permission check before getting a Java system property.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1909 b35dd754-fafc-0310-a699-88a17e54d16e
2003-04-29 05:32:34 +00:00
Matt Tucker
33e3e0d232
Use newer swing call.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1900 b35dd754-fafc-0310-a699-88a17e54d16e
2003-04-25 20:19:49 +00:00
Matt Tucker
db806f8a6d
Comment fixes.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1895 b35dd754-fafc-0310-a699-88a17e54d16e
2003-04-18 04:38:27 +00:00
Matt Tucker
af4ea681ee
Wait for server response before returning roster.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1867 b35dd754-fafc-0310-a699-88a17e54d16e
2003-04-07 05:40:28 +00:00
Matt Tucker
36e0744c60
Fix for ClassCastException with bad username.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1858 b35dd754-fafc-0310-a699-88a17e54d16e
2003-03-25 16:24:03 +00:00
Matt Tucker
023cffb95a
More implementation work.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1847 b35dd754-fafc-0310-a699-88a17e54d16e
2003-03-09 23:06:59 +00:00
Matt Tucker
7fa5b3608e
Initial account manager functionality.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1846 b35dd754-fafc-0310-a699-88a17e54d16e
2003-03-08 23:09:48 +00:00
Matt Tucker
6fce8ec9f0
Fixes.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1844 b35dd754-fafc-0310-a699-88a17e54d16e
2003-03-07 19:50:24 +00:00
Matt Tucker
b2127ce982
Initial roster support.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1835 b35dd754-fafc-0310-a699-88a17e54d16e
2003-02-10 05:01:01 +00:00
Matt Tucker
5a1f449f03
Cleaned up connection close operation.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1829 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-27 15:56:21 +00:00
Matt Tucker
1f325771ab
Fixed license header.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1811 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-17 20:34:50 +00:00
Matt Tucker
8322f022cc
Use listener for debug tool.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1807 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-17 18:26:52 +00:00
Matt Tucker
5e4d91c269
Packet reader and writer are now hidden.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1799 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-17 07:11:33 +00:00
Matt Tucker
642396a100
Use new presence types.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1794 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-16 15:41:57 +00:00
Matt Tucker
b08a4cb125
Added login method so that setting the resource is supported.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1789 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-16 01:01:27 +00:00
Matt Tucker
4e8a84834f
Improved login method.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1780 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-15 14:54:11 +00:00
Matt Tucker
f3837581f8
Importing.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1777 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-13 16:58:47 +00:00