1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-16 17:22:06 +01:00
Commit graph

690 commits

Author SHA1 Message Date
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
Matt Tucker
37231ec646 Removed hard-coded reply timeout.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2655 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-15 15:21:02 +00:00
Gaston Dombiak
6d9e72070c Fixed javadoc comments.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2635 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-12 19:25:48 +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
ebeedc148c Added new attempt to parse the date. SMACK-67
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2523 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-10 21:55:09 +00:00
Gaston Dombiak
69c86bbeec Modified to use new FromMatchesFilter. SMACK-71
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2522 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-10 04:50:50 +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
1a3e2b3ae2 Modified to use 0-23 hour format. SMACK-70
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2520 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-09 22:25:55 +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
34baa2545b Improved parsing of date considering JEP-82 format. SMACK-67
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2516 b35dd754-fafc-0310-a699-88a17e54d16e
2005-07-28 00:42:29 +00:00
Gaston Dombiak
1ce0be62d0 Fixed since attribute and date format. SMACK-66
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2515 b35dd754-fafc-0310-a699-88a17e54d16e
2005-07-28 00:36:28 +00:00
Matt Tucker
ec230924ea Spelling fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2514 b35dd754-fafc-0310-a699-88a17e54d16e
2005-07-27 21:16:43 +00:00
Gaston Dombiak
be879863be Initial version. SMACK-25
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2512 b35dd754-fafc-0310-a699-88a17e54d16e
2005-07-26 04:57:36 +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
Gaston Dombiak
680e57dcbf Initial version. SMACK-58
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2508 b35dd754-fafc-0310-a699-88a17e54d16e
2005-07-19 22:56: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
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
1d50de1107 Make sure that #getActor does not return null even if no actor was provided.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2495 b35dd754-fafc-0310-a699-88a17e54d16e
2005-05-30 15:14:25 +00:00
Gaston Dombiak
cd3dd8eec7 Let configure the date format to use. SMACK-59
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2494 b35dd754-fafc-0310-a699-88a17e54d16e
2005-05-27 19:26:40 +00:00
Gaston Dombiak
bdd395b0dc Added JID of the room whose information was discovered. SMACK-57
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2493 b35dd754-fafc-0310-a699-88a17e54d16e
2005-05-27 18:12:52 +00:00
Gaston Dombiak
7aac6e971a Modified to include many results per column in a row. SMACK-56
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2492 b35dd754-fafc-0310-a699-88a17e54d16e
2005-05-27 02:17:15 +00:00
Gaston Dombiak
5a754d1279 Added checking to ensure that the room name does not contain uppercase letters.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2490 b35dd754-fafc-0310-a699-88a17e54d16e
2005-05-06 20:39:43 +00:00
Gaston Dombiak
b453f61673 Initial version. SMACK-53
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2487 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-22 04:24:25 +00:00
Gaston Dombiak
7668ad5ce5 Methods comments enhanced.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2480 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-04 19:50:09 +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
Derek DeMoro
8c2ea94613 The delayed information needs to use the same tz as specified by server to allow for correct date calculation.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2463 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-02 07:31:58 +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
Matt Tucker
94f7bc5103 Code out of date, new version already in use in another project.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2459 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-13 02:30:05 +00:00
Gaston Dombiak
9d3f3395ea Sorted the list of providers. SMACK-45
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2457 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-07 21:37:23 +00:00
Gaston Dombiak
d58b5a221f Initial version. SMACK-13
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2456 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-06 16:37:04 +00:00
Gaston Dombiak
6af5705ae5 Added support for discovering the rooms hosted by a MUC service. SMACK-13
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2455 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-06 16:36:23 +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
Gaston Dombiak
f5c17aa6f3 Fixed to get the nickname of an occupant based on his presence. SMACK-43
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2453 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-02 22:42:57 +00:00
Gaston Dombiak
e42ba10a3d Fixed pretty printing of XML packet. SMACK-42
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2452 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-01 01:32:24 +00:00
Gaston Dombiak
22d5e9835b Initial version. SMACK-41
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2450 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-28 22:59:40 +00:00
Gaston Dombiak
075db51590 Modified to allow sending extensions when inviting a user to a room. SMACK-40
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2444 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-11 17:35:41 +00:00
Gaston Dombiak
1bf4d2fed2 Added support for discovering MUC services. SMACK-39
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2443 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-03 02:08:23 +00:00
Gaston Dombiak
46db59cdbc Improved method comment.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2438 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-26 21:59:59 +00:00
Gaston Dombiak
d2187b7374 Added notifications of occupant joining and leaving the room. SMACK-38
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2437 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-26 21:55:41 +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
e50259f0ee Fixed to ensure that reason is not null. If no reason was provided then return an empty string. SMACK-165
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2432 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-21 20:53:35 +00:00
Gaston Dombiak
94db37b89b Added support for room management in batch mode. SMACK-4
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2430 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-15 19:03:37 +00:00
Gaston Dombiak
a159af9196 Initial version. SMACK-4
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2429 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-15 19:02:39 +00:00
Gaston Dombiak
8b03003fd7 Added "role" attribute to MUCOwner.Item. SMACK-33
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2428 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-15 18:04:13 +00:00
Gaston Dombiak
ebf6a77a2c Initial version. SMACK-11
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2425 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-15 01:44:01 +00:00
Gaston Dombiak
c5700d2257 Added support for discovering room information. SMACK-11
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2424 b35dd754-fafc-0310-a699-88a17e54d16e
2004-12-15 01:40:01 +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
Matt Tucker
e382efa52a Updated to Apache 2.0 license.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2407 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-02 23:37:00 +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
Gaston Dombiak
207c0aea02 Answer an item-not-found error when Smack receives a disco#info and node is not null. SMACK-8
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2402 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-31 03:35:20 +00:00
Gaston Dombiak
d7668b3dcc Fixed possible NPE when parsing invalid XHTML text. SMACK-3
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2401 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-31 02:46:07 +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
ef0d5c8fb8 Added #setDefaultAnswer(String) to set the default value as the current value of a given field
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2393 b35dd754-fafc-0310-a699-88a17e54d16e
2004-10-22 20:54:53 +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
c396be83d1 Allows a disco#info packet to include a dataform. SMACK-153
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2382 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-19 16:20:10 +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
Gaston Dombiak
10e7cbb20e Fixes a bug parsing MUCOwner packets.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2380 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-12 02:12:38 +00:00
Gaston Dombiak
c395074c86 Fixes incorrect namespace for granting and revoking admin/owner privileges.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2379 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-12 02:11:52 +00:00
Matt Tucker
2ac43cb6e9 Code tweaks.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2374 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-17 16:18:19 +00:00
Matt Tucker
b1150c862d Fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2373 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-17 07:48:43 +00:00
Matt Tucker
ec686f15ef Renamed.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2372 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-17 07:45:39 +00:00
Matt Tucker
280c4b5a76 First round of refactoring.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2371 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-17 07:44:36 +00:00
Matt Tucker
cf47ba95af No longer needed.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2370 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-17 07:41:00 +00:00
Matt Tucker
5d656558fd Initial check-in.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2369 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-16 00:57:36 +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
Matt Tucker
ca7b70b103 Small tweak.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2365 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-10 21:32:35 +00:00
Gaston Dombiak
1a093754e1 Fixes NPE when sending null as the node while trying to get the NodeInformationProvider for a node.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2364 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-10 13:03:15 +00:00
Gaston Dombiak
d196becbd7 Initial version.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2363 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-10 12:42:26 +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
5eb9146cb8 Fixed Javadoc issues.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2356 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-09 21:15:42 +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
ecadf0b4a8 Allows to discover whether a server supports publishing of items or not. SMACK-150
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2350 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-05 16:57:28 +00:00
Gaston Dombiak
1ce8a33af4 Answers the client identity for a disco info request. SMACK-149
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2348 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-04 19:53:39 +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
f7ccbe1421 Makes finalize more secure.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2345 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-16 21:00:07 +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
Gaston Dombiak
6427a99a64 Added support for more data types in DataForms.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2337 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-09 20:54:24 +00:00
Gaston Dombiak
bafef8947c Moved from org.jivesoftware.smackx to org.jivesoftware.smackx.muc.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2334 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-06 03:07:45 +00:00
Gaston Dombiak
9cbf692917 1. Moved from org.jivesoftware.smackx to org.jivesoftware.smackx.muc.
2. Made clearer the way to specify the amount of discussion history to receive while joining a room


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2333 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-06 03:05:37 +00:00
Gaston Dombiak
ff8dfab94e Initial version. SMACK-99
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2332 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-06 03:02:50 +00:00
Gaston Dombiak
dde93e2a3f Moved from org.jivesoftware.smackx to org.jivesoftware.smackx.muc.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2331 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-06 03:01:36 +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
0b49cbc374 Adds ability to listen for possible errors while sending the room configuration form.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2329 b35dd754-fafc-0310-a699-88a17e54d16e
2004-06-14 17:27:09 +00:00
Gaston Dombiak
0e938bfe1a Adds a method that anwwers if the connection with the server is active. SMACK-139
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2328 b35dd754-fafc-0310-a699-88a17e54d16e
2004-06-14 17:00:04 +00:00
Gaston Dombiak
9a7ad5d3cb Adds a menu item that allows to close all the tabs that have their connections not active. SMACK-139
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2327 b35dd754-fafc-0310-a699-88a17e54d16e
2004-06-14 16:58:58 +00:00
Gaston Dombiak
4f4f8c62d3 Modifies comments for javadoc
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2323 b35dd754-fafc-0310-a699-88a17e54d16e
2004-06-04 18:52:10 +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
08858284fe Adds support for banning, kicking, granting and revoking privileges. SMACK-99
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2317 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-30 16:41:12 +00:00
Gaston Dombiak
ab750062ba Initial version. SMACK-99
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2316 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-30 16:37:58 +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
Gaston Dombiak
af9f7dd469 Adds support for "Modifying room subject" . SMACK-99
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2313 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-18 17:48:25 +00:00
Gaston Dombiak
28bedcb31b Initial version. SMACK-99
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2312 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-18 17:46:03 +00:00
Gaston Dombiak
e343c571a5 1. Allows to discover joined rooms of other users
2. Allows to retrieve the Presence of a given participant
3. Fixes a bug that prevented to update an existing participant's Presence


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2309 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-13 17:42:20 +00:00
Gaston Dombiak
6793015fe9 Fixed a bug in the XML representation by adding some missing inverted commas
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2308 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-13 17:33:21 +00:00
Gaston Dombiak
1da02cbfd8 Allows to retrieve items for entity nodes. SMACK-134
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2307 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-09 19:18:02 +00:00
Gaston Dombiak
fbd6043c5c Initial version. SMACK-134
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2306 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-09 19:11:58 +00:00
Gaston Dombiak
529818b559 Fixed #getChildElementXML to include the node attribute. SMACK-133
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2305 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-09 18:52:26 +00:00
Gaston Dombiak
8e6941e95d Adds reserved room nickname discovery and sets on every connection that this client supports MUC
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2304 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-03 00:47:30 +00:00
Gaston Dombiak
13f15c5e4b Removes hardcoded packet reply timeout value
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2303 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-03 00:43:51 +00:00
Gaston Dombiak
a9f712be2f New constructor for fields of type FIXED
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2300 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-26 02:34:29 +00:00
Gaston Dombiak
5289b67214 Modifies the instructions element to allow multiple instructions (JEP updated)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2299 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-26 02:33:06 +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
Gaston Dombiak
14e7ee4e90 Adds room invitiation functionality
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2292 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-11 13:49:06 +00:00
Gaston Dombiak
3b585ba345 Changed detailed error message in #setAnswer
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2291 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-11 13:46:59 +00:00
Gaston Dombiak
8e1dc03f9f Adds room registration functionality
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2290 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-08 19:10:34 +00:00
Gaston Dombiak
0fe65190b8 Fixes javadoc warnings
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2289 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-08 19:09:19 +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
efa6d1ddd8 Modifies the #create method so that the user leaves the room if the room already existed
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2286 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-07 19:52:44 +00:00
Gaston Dombiak
6023b4fa64 Changes the fields that are included in the form to use for answering the original form.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2285 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-07 19:50:56 +00:00
Gaston Dombiak
6c7d71e9ca Adds protected method #resetValues
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2284 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-07 19:48:39 +00:00
Gaston Dombiak
6155bf2227 Adds static final TYPE_CANCEL
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2283 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:34:10 +00:00
Gaston Dombiak
b8c60f3295 Adds new "user" functionalities (e.g. invitation, change availability status, etc.)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2281 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:30:53 +00:00
Gaston Dombiak
3600aa17d4 Modified to use new FormField constructor
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2280 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:28:18 +00:00
Gaston Dombiak
3223d0f290 Adds new constructor that makes the "variable" attribute required
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2279 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:27:40 +00:00
Gaston Dombiak
06d225a337 Initial version
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2278 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:26:08 +00:00
Gaston Dombiak
e1ee22207d Fixes parsing errors (#getText was replaced with #nextText)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2277 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:25:24 +00:00
Gaston Dombiak
c34861903d 1. Adds class and methods comments
2. Fixes parsing errors (#getText was replaced with #nextText)


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2276 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:24:44 +00:00
Gaston Dombiak
06ea3eb0f7 Implements basic functionalities
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2275 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:23:27 +00:00
Gaston Dombiak
a011ddd424 Modified to use new FormField constructor
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2274 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:22:52 +00:00
Gaston Dombiak
00ffca04db Adds class and methods comments
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2273 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:21:56 +00:00
Gaston Dombiak
060f1de579 Fixes method comment
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2272 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:20:56 +00:00
Gaston Dombiak
d18a60fc6d Moved static final variables to Form class
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2271 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-05 16:18:46 +00:00
Gaston Dombiak
fab2c816cf Fixes the encoding of the password in the #toXML method
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2270 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-03 16:11:12 +00:00
Gaston Dombiak
35c1c035e8 Adds parsing for "destroy" elements
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2269 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-01 21:47:52 +00:00
Gaston Dombiak
fa8e0d0e9f 1. Adds class and methods comments
2. Removes the alt element (no longer used according the spec)
3. Adds the Destroy inner class (new element according the spec)


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2268 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-01 21:46:39 +00:00
Gaston Dombiak
c45843e8ab Adds class and methods comments
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2267 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-01 21:44:21 +00:00
Gaston Dombiak
003d73fd7d Adds #getValue(String) to the inner class Row which allows to hide the inner class Field
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2266 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-30 02:33:28 +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
Gaston Dombiak
a5b33b4118 Initial version
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2260 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:29:55 +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
14034110bf Small fix.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2254 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-15 21:56:18 +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
37a3f14d3b 1. Stops collecting data when the debugger gets closed (uses ObservableReader/Writer)
2. Adds a new packetID column to the table


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2217 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-27 12:24:16 +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
ba65acf8c5 Makes the "Smack Info" tab prettier
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2208 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-15 13:13:27 +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
4f8f6b4c17 Stops debugging the connections when the windows is closed
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2204 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-12 16:09:07 +00:00
Gaston Dombiak
878aee9043 Makes UI prettier and also allows to stop debugging a connection
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2203 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-12 16:08:03 +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
3db7e3fe4d Fixes resources not found problem using Smack under an AppServer
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2200 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-04 23:31:54 +00:00
Gaston Dombiak
29903213a3 Adds icon representations
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2199 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-02 15:13:55 +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
4f4fff1772 Gets Smack version from the SmackConfiguration class
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2186 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 18:21:16 +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
b3a4c76f1f Adds static init - Makes the XHTMLfeature available by default on every connection
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2183 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 18:00:16 +00:00
Gaston Dombiak
7eba4a484b Adds static init - Makes the disco feature available by default on every connection
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2182 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 17:59:55 +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
4a8060c209 Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2171 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-15 20:30:48 +00:00
Gaston Dombiak
b17a47a385 Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2169 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-15 20:24:42 +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