Commit Graph

287 Commits

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