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

59 commits

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