1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-05 11:45:58 +01:00
Commit graph

580 commits

Author SHA1 Message Date
Alex Wenckus
8d0db1a339 File Transfer. (SMACK-72) (SMACK-122)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3395 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-03 18:44:22 +00:00
Matt Tucker
96796a82b4 Added methods to remove providers (SMACK-118).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3381 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-27 18:44:17 +00:00
Alex Wenckus
e7c89235ba -shutting down the listener thread properly {SMACK-120}
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3367 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-26 18:31:35 +00:00
Gaston Dombiak
18677279f2 Removed #toLowecase() calls wherever possible. SMACK-109
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3349 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-24 18:14:41 +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
b522c42c8b 1. Modified default values for certificates verification
2. Implements Cloneable interface.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3313 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 21:27:44 +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
c00abdeffd Comment updated. SMACK-27
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3310 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 20:03:11 +00:00
Gaston Dombiak
10c59457ca Initial version. SMACK-27
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3309 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 20:02:34 +00:00
Gaston Dombiak
1528e75d7e Initial version. SMACK-113 SMACK-113 SMACK-27
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3308 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 20:02:11 +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
72c67e7baa Changing name to Wildfire.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3213 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-13 22:43:24 +00:00
Gaston Dombiak
38f7e5bba7 Refactoring work.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3179 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-08 21:10:41 +00:00
Gaston Dombiak
647d6323ca Request resource binding or session establishment only if they were provided by the server. SMACK-110
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3178 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-08 21:10:04 +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
bc6f3a0776 Updated for Smack 2.1.0.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3099 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-17 18:47:22 +00:00
Gaston Dombiak
c23b4f20db Added stream errors support. SMACK-107
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3042 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-08 20:10:33 +00:00
Gaston Dombiak
cb06777500 Initial version. SMACK-107
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3041 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-08 20:09:04 +00:00
Gaston Dombiak
254c4a450a Do not broadcast events for empty collections. SMACK-106
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3033 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-04 19:51:29 +00:00
Gaston Dombiak
e5ea043798 Modified RosterListener to fire more specific events when entries are added, deleted or modified. SMACK-106
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3032 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-04 18:31:21 +00:00
Gaston Dombiak
1cdefcc796 Added RosterEntry#getStatus. SMACK-105
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3026 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-03 16:53:07 +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
Gaston Dombiak
dd57b64570 Initial version. SMACK-104
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3019 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-01 23:47:02 +00:00
Gaston Dombiak
6a7f7826cd Added automatic acknowledge receipt for the unsubscribe notification. SMACK-98
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2998 b35dd754-fafc-0310-a699-88a17e54d16e
2005-10-27 15:22:14 +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
Gaston Dombiak
5449a6177c Include roster group when adding new entry to group. SMACK-92
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2970 b35dd754-fafc-0310-a699-88a17e54d16e
2005-10-14 19:45:14 +00:00
Derek DeMoro
a5991bfa94 Commiting UserSearch
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2855 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-20 21:02:30 +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
5ab6d22c9d Forgot to replace refactored code in non-anonymous sasl....arggg... SMACK-85
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2827 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-16 15:52:45 +00:00
Gaston Dombiak
d61e2e5c59 Don't include version=1.0 when using old SSL connections. SMACK-90
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2818 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-13 20:09:28 +00:00
Gaston Dombiak
283b0f33f5 Throw an XMPPException if SASL authentication fails. SMACK-89
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2817 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-13 20:05:29 +00:00
Gaston Dombiak
bb0a864be9 Return any string value when the server sends a challenge to the client.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2816 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-13 19:48:57 +00:00
Gaston Dombiak
fbe77866c5 Allow to send empty responses.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2815 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-13 19:43:22 +00:00
Matt Tucker
3b75e10675 Improved Javadoc.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2809 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-12 20:13:26 +00:00
Gaston Dombiak
953faca41c Fixed typo.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2791 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-08 23:34:36 +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
Gaston Dombiak
391e7269e6 Allow to perform SASL authentication over plain connections. SMACK-83
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2784 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 22:03:47 +00:00
Gaston Dombiak
b94d041bba 1. Added anonymous authentication. SMACK-84
2. Fixed possible delay waiting for server reply. SMACK-85

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2783 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 22:00:16 +00:00
Gaston Dombiak
6d6fdcf9b6 Added anonymous authentication. SMACK-84
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2782 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 21:57:33 +00:00
Gaston Dombiak
5b1eea6833 Improved methods comments.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2781 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 21:38:40 +00:00
Gaston Dombiak
5a7c902ef3 Initial version. SMACK-84
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2780 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 21:37:27 +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
Matt Tucker
afd7e6f2d6 Improved Javadoc.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2751 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-01 04:24:53 +00:00
Gaston Dombiak
c74d96359a Preparing for Smack 2.2.0.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2737 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 04:38:29 +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
7e4c808746 Initial version.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2735 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 02:43:24 +00:00
Gaston Dombiak
76bf1a1944 1. Modified constructors to include serviceName. SMACK-75
2. Replaced DummyTrustManager with OpenTrustManager.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2734 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 02:34:19 +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
Gaston Dombiak
ad6be5887c 1. Added support for TLS. SMACK-76
2. Added support for SASL. SMACK-24

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2732 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 02:29:04 +00:00
Gaston Dombiak
59e393e2ef Replaced #getHost with #getServiceName. SMACK-75
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2731 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 02:24:38 +00:00
Gaston Dombiak
523beeac55 Added option to recreate wrappers of new reader and writer. SMACK-76
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2730 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 02:23:36 +00:00
Gaston Dombiak
42fd837376 Initial version. SMACK-24, SMACK-77 and SMACK-78.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2728 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 00:05:56 +00:00
Gaston Dombiak
34048361dc Initial version. SMACK-24
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2727 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 00:04:58 +00:00
Gaston Dombiak
dabdb088a9 Initial version. SMACK-79
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2726 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 00:03:39 +00:00
Gaston Dombiak
461a407b82 Initial version.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2725 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 00:03:10 +00:00
Gaston Dombiak
d8a9a7a07c Initial version. SMACK-24
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2724 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 00:02:01 +00:00
Gaston Dombiak
2dcb64cfb8 Initial version. SMACK-78
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2722 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-26 23:59:42 +00:00
Gaston Dombiak
5c5adca906 Initial version. SMACK-77
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2721 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-26 23:59:05 +00:00
Matt Tucker
0c848916b7 New encodeHex.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2720 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-26 16:49:25 +00:00
Gaston Dombiak
ca9c6aea93 Add/remove the local entry to/from only if the server didn't answer an error to the request. SMACK-73
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2707 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-23 00:01:04 +00:00
Gaston Dombiak
5a912c0158 Preparing for 1.5.1 release.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2633 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-12 19:23:23 +00:00
Gaston Dombiak
e3e541d333 Initial version. SMACK-71
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2521 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-10 04:49:54 +00:00
Gaston Dombiak
56bcd54883 Modified #addEntry and #removeEntry to throw an XMPPException if the server replied with an error. SMACK-69
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2519 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-03 03:03:20 +00:00
Gaston Dombiak
7b62abf071 Assume Presence priority to be zero when priority is out of range. SMACK-60
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2518 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-03 02:42:53 +00:00
Gaston Dombiak
aaa723ffaf #parseProperties is now public. SMACK-68
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2517 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-03 02:32:02 +00:00
Gaston Dombiak
49847ac1c6 Print the exception for which the connection was closed.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2511 b35dd754-fafc-0310-a699-88a17e54d16e
2005-07-23 15:56:06 +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
Gaston Dombiak
4376cf5639 Fixed notification problem with Roster that was making XMPPConnection#getRoster() to take too long. SMACK-63
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2506 b35dd754-fafc-0310-a699-88a17e54d16e
2005-06-28 17:48:04 +00:00
Gaston Dombiak
2b22cde400 1. Username and password are optional in Registration. SMACK-62
2. Added try/catch block when invoking packet listeners.


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2504 b35dd754-fafc-0310-a699-88a17e54d16e
2005-06-17 22:29:33 +00:00
Gaston Dombiak
2271ca730e Username and password are optional in Registration. SMACK-62
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2503 b35dd754-fafc-0310-a699-88a17e54d16e
2005-06-17 22:28:12 +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
d64eb0ffdb Print date in the log.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2500 b35dd754-fafc-0310-a699-88a17e54d16e
2005-06-08 22:00:08 +00:00
Gaston Dombiak
3c4441db96 Added logging when connection is closed.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2499 b35dd754-fafc-0310-a699-88a17e54d16e
2005-06-08 02:55:09 +00:00
Gaston Dombiak
a669771a4e Initial version.SMACK-61
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2498 b35dd754-fafc-0310-a699-88a17e54d16e
2005-06-07 20:43:02 +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
Gaston Dombiak
19941dc809 Updated version 1.5.0.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2474 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-31 04:14:23 +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
92869fa583 Better threading logic when waiting for a connection (SMACK-37).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2469 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-29 19:54:29 +00:00
Gaston Dombiak
be8535765a Include error element in #toXML. SMACK-50
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2468 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-28 16:54:49 +00:00
Gaston Dombiak
3f83402148 Modified to be compatible with latest minimal version of XPP. SMACK-49
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2466 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-23 02:36:19 +00:00
Gaston Dombiak
941b9e752f Remove any pending packet listener from the connection. SMACK-48
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2464 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-07 22:01:18 +00:00
Gaston Dombiak
3157a29d28 Public API for parsing Messages and Presences. SMACK-47
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2462 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-23 03:32:10 +00:00
Gaston Dombiak
3fe4678384 Modified to assume an error code of -1 if the received error does not include a code. SMACK-44
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2454 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-03 01:03:10 +00:00
Matt Tucker
81d647af56 Javadoc spelling fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2436 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-26 18:53:17 +00:00
Gaston Dombiak
1e36bdd143 Removed system classloader for finding resources. SMACK-32
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2423 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-27 02:04:43 +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
d800f901a9 Enforce valid range for priority.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2412 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-05 17:44:05 +00:00
Matt Tucker
a951bf8ba9 Resource is included in roster events (SMACK-28).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2411 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-05 17:43:46 +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
e1f47c181f Code cleanup.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2409 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-05 05:25:24 +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
af03dfb7c9 Updated for 1.4.1 release.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2405 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-31 14:23:27 +00:00
Derek DeMoro
f206a82119 Removed enum variable.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2398 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-29 15:09:04 +00:00
Gaston Dombiak
a654adc588 Added ability to obtain the value of a given account attribute. SMACK-164
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2397 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-23 17:10:50 +00:00
Gaston Dombiak
8704d5ac7b Fixed problem parsing the server name of addresses with this format <domain>
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2395 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-23 05:09:41 +00:00
Gaston Dombiak
c4e971c350 Modified in order to hold any valid JID format. SMACK-152
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2394 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-23 05:07:12 +00:00
Gaston Dombiak
444306f7cd Treat XMPP addresses as case insensitive. SMACK-157
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2388 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-30 01:00:56 +00:00
Gaston Dombiak
cd8f9f5682 Allows to remove a connection listener while notifying that the connection is being closed. SMACK-162
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2386 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-24 20:40:51 +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
Gaston Dombiak
aaf6cf0ca9 Adds security checks to ensure that PacketReplyTime is always greater than 0.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2384 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-24 02:12:47 +00:00
Gaston Dombiak
5ab0c1b7e7 Replaces a hardcoded value in #startup with one provided by SmackConfiguration.getPacketReplyTimeout. SMACK-156
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2383 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-24 02:11:49 +00:00
Gaston Dombiak
f103a16a07 Allows registration entries with blank values. SMACK-151
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2381 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-16 14:42:23 +00:00
Matt Tucker
727b4d5016 Initial check-in.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2366 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-10 21:32:43 +00:00
Gaston Dombiak
3c80abdf45 Moved identityName and identityType from SmackConfiguration to ServiceDiscoveryManager.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2359 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-09 22:09:20 +00:00
Matt Tucker
7877a29af0 Renamed variable.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2357 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-09 21:47:00 +00:00
Matt Tucker
785e319e7c Cleanup of listener logic, now possible to get count of listeners.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2355 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-09 21:15:04 +00:00
Matt Tucker
0553ef7e65 Updated version number, fixed Javadoc issue.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2354 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-09 21:13:36 +00:00
Gaston Dombiak
e45c4a6805 Adds ability to set the identity name and type of a Smack client. SMACK-149
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2347 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-04 19:52:11 +00:00
Gaston Dombiak
287c54a6ac Changes the way the properties are parsed.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2346 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-17 17:50:18 +00:00
Gaston Dombiak
d53f0e9492 Cancel opened collectors. SMACK-145
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2344 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-16 20:46:16 +00:00
Gaston Dombiak
ae17aca127 Updates the comment of #createEntry.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2342 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-15 02:34:45 +00:00
Gaston Dombiak
1d169dff08 Fixes error parsing properties. SMACK-138
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2341 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-13 19:15:06 +00:00
Matt Tucker
677b389ccc Fixed closing ObjectOutputStream (SMACK-143).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2340 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-13 00:39:30 +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
Gaston Dombiak
2bb363b898 Skips CRs while parsing packet properties. SMACK-138
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2321 b35dd754-fafc-0310-a699-88a17e54d16e
2004-06-03 16:18:30 +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
a1af5c79e7 Flush writer during keep-alives.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2319 b35dd754-fafc-0310-a699-88a17e54d16e
2004-06-02 16:51:19 +00:00
Gaston Dombiak
7905307d5f Escapes invalid charactes of the "to" and "from" fields in #toXML. SMACK-135
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2315 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-22 22:53:21 +00:00
Matt Tucker
693d0013ac Remove cached presence info when deleting a user from the roster (SMACK-131).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2298 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-21 21:10:42 +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
Gaston Dombiak
ad3b8a23d9 Prints an exception to the console in case an error occurs while parsing the document
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2296 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-18 14:27:20 +00:00
Matt Tucker
147288ed74 Use notifyAll() (Smack-130)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2288 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-07 23:49:00 +00:00
Gaston Dombiak
cf75ce471f Initial version
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2265 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:42:32 +00:00
Gaston Dombiak
476d694eaf 1. Allows Registration packets to include extensions (DataForms)
2. Some parse methods were factored out to PacketParserUtils


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2264 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:37:24 +00:00
Gaston Dombiak
e11081b60d Modified #getChildElementXML to include possible extensions
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2263 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:32:41 +00:00
Gaston Dombiak
1c424c3449 Allows IQ packets to include extensions
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2262 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:31:52 +00:00
Gaston Dombiak
46f339d8db Modified comment that said the IQ packets couldn't have extensions
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2261 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:31:08 +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
Matt Tucker
2f0c000c82 Fixed regression.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2256 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-15 22:58:48 +00:00
Matt Tucker
d8b5522ce1 Don't set L&F (SMACK-124).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2255 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-15 21:56:56 +00:00
Matt Tucker
167d40ac20 Work on keep-alive interval. Fixes SMACK-123 and SMACK-121. Also general work on SmackConfiguration class.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2253 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-15 18:59:41 +00:00
Matt Tucker
a7e7152b52 Javadoc fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2252 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-15 18:58:34 +00:00
Matt Tucker
279aabc049 Javdoc fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2243 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-11 15:55:44 +00:00
Matt Tucker
613f4b388b Javdoc fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2242 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-11 15:43:43 +00:00
Matt Tucker
5847d27098 Renamed Chat.getChatID to Chat.getThreadID and improved logic around setting thread mode (SMACK-120).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2241 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-11 15:43:21 +00:00
Gaston Dombiak
777f8937e4 Prevents adding items to groups with no name (NULL)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2239 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-11 14:33:48 +00:00
Gaston Dombiak
0b26452666 1. The packet id is parsed while parsing Messages
2. Parsed Messages and Presences could now have EMPTY ids


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2224 b35dd754-fafc-0310-a699-88a17e54d16e
2004-02-10 15:39:36 +00:00
Gaston Dombiak
627b38fe5b Handles packets with no (explicit) id
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2223 b35dd754-fafc-0310-a699-88a17e54d16e
2004-02-10 15:36:57 +00:00
Gaston Dombiak
15c6d3d49b Do not print the packet id in #toXML when the id is null
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2222 b35dd754-fafc-0310-a699-88a17e54d16e
2004-02-10 15:36:05 +00:00
Gaston Dombiak
5168a66d71 Answers a "not implemented" error when the IQ is not understood
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2220 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-29 22:02:50 +00:00
Matt Tucker
14896e4d31 Implemented keep-alives.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2219 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-28 21:30:37 +00:00
Matt Tucker
37b56c9370 Small fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2218 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-28 21:30:13 +00:00
Gaston Dombiak
465100fdc6 Stops collecting data when the debugger gets closed
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2216 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-27 12:22:53 +00:00
Gaston Dombiak
b1c2865ecd Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2215 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-27 12:15:06 +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
e718ed796f Fixed bad "defaulSubscriptionMode" spelling
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2213 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-19 18:52:43 +00:00
Gaston Dombiak
cd1abe75c0 1. UNDO: Protects the access for certain methods by waiting a few seconds when the roster has not been initialized yet
2. Provides a static method to set default subscription mode
3. Modifies RosterPacketListener to remove empty groups caused by local entry removals


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2212 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-18 14:17:13 +00:00
Gaston Dombiak
0264b3987c Modifies #removeEntry to remove the entry immediately (locally)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2210 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-18 13:04:49 +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
3abb8b109c Fixes a problem that prevented to remove listeners
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2207 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-15 13:05:44 +00:00
Gaston Dombiak
d25d36448e Stops printing exceptions to the console when a class to load at start-up is not found
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2206 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-13 18:20:18 +00:00
Gaston Dombiak
4dfb2b08fa Fixes a problem that didn't allow to terminate daemon threads
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2205 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-13 18:13:23 +00:00
Gaston Dombiak
1fa6a8e9fb Fixes problems when waiting a few seconds when the roster has not been initialized yet
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2202 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-12 16:04:23 +00:00
Gaston Dombiak
d78e1d3e59 Modifies #getPresences(String) to return an iterator on Presences instead of an iterator on Map.Entries
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2201 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-05 18:26:13 +00:00
Gaston Dombiak
bb597cf3ca Protects the access for certain methods by waiting a few seconds when the roster has not been initialized yet
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2196 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-02 00:32:40 +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
b6f3741854 Answers a default timeout value if timeout value has not been initialized yet
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2194 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-02 00:29:41 +00:00
Gaston Dombiak
76c0e90f18 Throws an exception when trying to create entries using a non-initialized roster.
The packet-reply-timeout is obtained from SmackConfiguration


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2192 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-01 23:27:56 +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
36cb521334 Packet-reply-timeout is unique in the environment and the configuration filename was renamed to smack-config.xml
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2190 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-01 23:19:37 +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
f462850768 Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2184 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 18:17:36 +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
7f25821f8b Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2180 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 17:46:48 +00:00
Gaston Dombiak
554f4fb1ec Fixes bug parsing server name
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2179 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-17 13:59:20 +00:00
Gaston Dombiak
b194d99054 Fixes a problem renaming a RosterGroup
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2176 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-02 01:53:39 +00:00
Gaston Dombiak
b73060d000 Adds the ability to handle multiple presences of a user
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2175 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-28 21:49:25 +00:00
Matt Tucker
414f9faef1 A null type is equivalent to GET.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2173 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-19 16:51:19 +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
Gaston Dombiak
24f965ead7 Adds notification for sent packets
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2167 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-15 19:24:00 +00:00
Gaston Dombiak
da49a174c3 Refactors existing debugger code
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2166 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-15 19:21:15 +00:00
Gaston Dombiak
870eb08da3 Removes the track of the number of packets read.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2165 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-12 17:49:07 +00:00
Gaston Dombiak
cc5802998f Remove and add entry methods comment updated
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2164 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-05 17:53:19 +00:00
Gaston Dombiak
9b9fdb9791 Remove entry method updated
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2163 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-05 17:51:06 +00:00
Gaston Dombiak
a063ecd602 Allows to filter messages by message type and sender or by thread
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2162 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-05 17:46:34 +00:00
Gaston Dombiak
7b8c9d1780 *** empty log message ***
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2161 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-05 17:44:00 +00:00
Gaston Dombiak
d9aa18a34c Fixes an error while parsing an error message with another format
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2160 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-05 16:47:32 +00:00
Matt Tucker
7f2753f78d Fixed bad XML in toXML method (SMACK-103).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2159 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-29 18:57:17 +00:00
Matt Tucker
10b6f964e9 Small fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2156 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-23 16:48:10 +00:00
Matt Tucker
f65b410766 Added methods to get Iterators for IQ and PacketExtension providers.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2155 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-23 16:16:53 +00:00
Matt Tucker
d4d351aae2 Use multiple class loaders to try to load smack.providers file.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2154 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-23 15:38:16 +00:00
Matt Tucker
8688966ca6 Keeps track of the number of packets written.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2153 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-21 17:39:18 +00:00
Matt Tucker
88eb8090e6 Keeps track of the number of packets read.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2152 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-21 17:39:04 +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
62c74384c8 Fixed bad spelling (SMACK-97).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2148 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-16 04:02:49 +00:00
Gaston Dombiak
26023650af Removed not used imports
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2145 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-13 23:44:14 +00:00
Gaston Dombiak
8783efddba Remove not used imports
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2144 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-13 23:43:15 +00:00
Matt Tucker
3451c8880d Added getMessage() method, improved stack traces.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2139 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-13 20:42:22 +00:00
Matt Tucker
357ec5c13f AndFilter and OrFilter now work over more than two packets (SMACK-96).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2136 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-13 00:40:11 +00:00
Matt Tucker
41d5c4637e Improved Javadocs on getPresence method.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2132 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-03 19:30:45 +00:00
Matt Tucker
889a908873 Removed unused import.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2129 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-03 00:47:51 +00:00
Matt Tucker
fbaf772bc8 Use host value from server (SMACK-94).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2128 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-03 00:47:45 +00:00
Matt Tucker
7423a62429 Improved Javadocs.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2127 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-03 00:31:29 +00:00
Gaston Dombiak
8264ebdfb5 do not escape for XML characters encoded with unicode equivalents
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2111 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-28 03:11:18 +00:00
Matt Tucker
104e47cb3e Fixed registration packet parsing (SMACK-88)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2109 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-27 17:27:40 +00:00
Matt Tucker
ac2166a62f Added support for registration instructions (SMACK-90)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2108 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-27 17:26:53 +00:00
Matt Tucker
1ba31fd633 Adding back isJoined method, which got deleted somehow...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2107 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-25 16:17:39 +00:00
Gaston Dombiak
48611ac2f5 updates roster entries with remote notifications
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2106 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-25 13:00:48 +00:00
Matt Tucker
d48175560d Improved toString() method
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2105 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-24 19:06:27 +00:00
Gaston Dombiak
78c4cd9c3c changed removal roster entries logic
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2103 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-24 18:08:18 +00:00
Gaston Dombiak
5286cb3895 added functionality for removing roster entries
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2102 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-24 18:07:02 +00:00
Gaston Dombiak
5d628f4d36 fix for NPE in setName
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2101 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-24 18:03:33 +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
f8d3c5f4b5 Better toString() method.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2095 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-19 15:28:53 +00:00
Matt Tucker
7f6f5a07a6 Added isJoined method (SMACK-86)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2094 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-19 15:28:19 +00:00
Matt Tucker
276c3191e2 Added toString method.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2093 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-19 07:54:34 +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
690ba2f345 Added Javadoc note about single thread used for all listeners.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2088 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-18 20:38:12 +00:00
Matt Tucker
3564612171 Improved Javadocs and error handling code on join method.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2083 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-11 21:13:20 +00:00
Matt Tucker
23eecbf102 Added additional convenience methods (SMACK-82).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2080 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-03 03:00:45 +00:00
Matt Tucker
b8a72c2f04 Small formatting fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2072 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-28 18:39:38 +00:00
Gaston Dombiak
e4c122209f comment updated
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2071 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-27 21:53:56 +00:00
Matt Tucker
948ab3cbb8 Added toString method.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2063 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-24 03:59:54 +00:00
Matt Tucker
4bec02e810 Fixed notification of presence unavailable packets.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2062 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-24 03:59:42 +00:00
Matt Tucker
170c14e6f3 Fixed method name.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2061 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-24 01:58:05 +00:00
Matt Tucker
aa3920da05 Fixes for roster presence notification.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2060 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-23 23:09:18 +00:00
Matt Tucker
224d0a17a7 Added new contains method.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2059 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-23 23:08:58 +00:00
Matt Tucker
368674eca4 Small tweak.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2057 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-23 22:09:13 +00:00
Matt Tucker
31854b21a3 Added method to parse the address without resource, fixed parsing of name (SMACK-80)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2056 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-23 14:59:09 +00:00
Matt Tucker
27499b0fba Support for new roster listener method, added methods to get more info about entries.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2054 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-21 03:31:50 +00:00
Matt Tucker
d0ce3d5687 Added method to allow tracking presence updates in the roster.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2053 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-21 03:30:25 +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
334cfd8c3a Fix connection closing notifications on error.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2050 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-20 16:29:46 +00:00
Matt Tucker
60b74246c4 Small fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2043 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-19 16:53:24 +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
1d555165b0 Javadoc fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2039 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-19 14:43:01 +00:00
Matt Tucker
dd1256c9b7 Javadoc fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2031 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-18 14:46:32 +00:00
Matt Tucker
66a47b8367 Javadoc improvements.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2027 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-15 19:36:20 +00:00
Matt Tucker
848a1d725b Variable name changes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2022 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-12 19:31:54 +00:00
Matt Tucker
1d1a60c00a Use new XMPP connection method.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2021 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-12 19:31:19 +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
3168514591 Correctly serizlize error sub-packet.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2015 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-05 19:39:16 +00:00
Matt Tucker
6812eea1e0 Support for entry count and getting all entries.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2013 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-05 02:33:11 +00:00
Matt Tucker
6101d85a00 Now an abstract class.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2010 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-04 21:59:07 +00:00
Matt Tucker
2aeb58b776 Noted that IQ packets can't have extensions.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2009 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-04 21:58:53 +00:00
Matt Tucker
8ed06a4f06 Cleanup of IQ parsing.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2008 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-04 21:58:31 +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
5a84b12904 Minor changes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1995 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-01 21:14:51 +00:00
Matt Tucker
92f2652b52 Added comments.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1993 b35dd754-fafc-0310-a699-88a17e54d16e
2003-07-31 20:46:52 +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
5e2c814e31 Allow providers to be set through API. Load providers file from META-INF instead of WEB-INF.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1991 b35dd754-fafc-0310-a699-88a17e54d16e
2003-07-31 02:28:16 +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
e256a1d149 Better connection closing notification logic.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1987 b35dd754-fafc-0310-a699-88a17e54d16e
2003-07-16 02:49:43 +00:00