1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-20 17:47:57 +01:00
Commit graph

455 commits

Author SHA1 Message Date
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
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
d8c7f6164f Element name and namespace available statically.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2158 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-23 20:21:32 +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
Gaston Dombiak
943497731f Added disco support
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2142 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-13 23:10:15 +00:00
Gaston Dombiak
420ce10ed9 Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2141 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-13 23:05:06 +00:00
Gaston Dombiak
a136f1066e Initial check-in
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2140 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-13 22:57:25 +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
8e83a092db Added support for group chat invitations (SMACK-95).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2135 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-12 04:40:08 +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
9a1e6f1308 escapes for XML the appended text
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2112 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-28 03:13:45 +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