Matt Tucker
757c7450d9
Allow custom SocketFactory to be set (SMACK-140).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2330 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-05 22:22:02 +00:00
Gaston Dombiak
2bb363b898
Skips CRs while parsing packet properties. SMACK-138
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2321 b35dd754-fafc-0310-a699-88a17e54d16e
2004-06-03 16:18:30 +00:00
Matt Tucker
250ab4de71
Use try/catch around System.getProperty()
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2320 b35dd754-fafc-0310-a699-88a17e54d16e
2004-06-03 01:03:56 +00:00
Matt Tucker
a1af5c79e7
Flush writer during keep-alives.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2319 b35dd754-fafc-0310-a699-88a17e54d16e
2004-06-02 16:51:19 +00:00
Gaston Dombiak
7905307d5f
Escapes invalid charactes of the "to" and "from" fields in #toXML. SMACK-135
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2315 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-22 22:53:21 +00:00
Matt Tucker
693d0013ac
Remove cached presence info when deleting a user from the roster (SMACK-131).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2298 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-21 21:10:42 +00:00
Matt Tucker
a958b245e6
Fixed logic bug where setting values via the API in SmackConfiguration could be overridden by the config file.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2297 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-18 18:11:26 +00:00
Gaston Dombiak
ad3b8a23d9
Prints an exception to the console in case an error occurs while parsing the document
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2296 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-18 14:27:20 +00:00
Matt Tucker
147288ed74
Use notifyAll() (Smack-130)
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2288 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-07 23:49:00 +00:00
Gaston Dombiak
cf75ce471f
Initial version
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2265 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:42:32 +00:00
Gaston Dombiak
476d694eaf
1. Allows Registration packets to include extensions (DataForms)
...
2. Some parse methods were factored out to PacketParserUtils
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2264 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:37:24 +00:00
Gaston Dombiak
e11081b60d
Modified #getChildElementXML to include possible extensions
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2263 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:32:41 +00:00
Gaston Dombiak
1c424c3449
Allows IQ packets to include extensions
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2262 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:31:52 +00:00
Gaston Dombiak
46f339d8db
Modified comment that said the IQ packets couldn't have extensions
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2261 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:31:08 +00:00
Matt Tucker
16f5004301
Write out error if failed to load custom debugger.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2257 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-15 22:59:03 +00:00
Matt Tucker
2f0c000c82
Fixed regression.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2256 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-15 22:58:48 +00:00
Matt Tucker
d8b5522ce1
Don't set L&F (SMACK-124).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2255 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-15 21:56:56 +00:00
Matt Tucker
167d40ac20
Work on keep-alive interval. Fixes SMACK-123 and SMACK-121. Also general work on SmackConfiguration class.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2253 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-15 18:59:41 +00:00
Matt Tucker
a7e7152b52
Javadoc fix.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2252 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-15 18:58:34 +00:00
Matt Tucker
279aabc049
Javdoc fixes.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2243 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-11 15:55:44 +00:00
Matt Tucker
613f4b388b
Javdoc fix.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2242 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-11 15:43:43 +00:00
Matt Tucker
5847d27098
Renamed Chat.getChatID to Chat.getThreadID and improved logic around setting thread mode (SMACK-120).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2241 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-11 15:43:21 +00:00
Gaston Dombiak
777f8937e4
Prevents adding items to groups with no name (NULL)
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2239 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-11 14:33:48 +00:00
Gaston Dombiak
0b26452666
1. The packet id is parsed while parsing Messages
...
2. Parsed Messages and Presences could now have EMPTY ids
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2224 b35dd754-fafc-0310-a699-88a17e54d16e
2004-02-10 15:39:36 +00:00
Gaston Dombiak
627b38fe5b
Handles packets with no (explicit) id
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2223 b35dd754-fafc-0310-a699-88a17e54d16e
2004-02-10 15:36:57 +00:00
Gaston Dombiak
15c6d3d49b
Do not print the packet id in #toXML when the id is null
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2222 b35dd754-fafc-0310-a699-88a17e54d16e
2004-02-10 15:36:05 +00:00
Gaston Dombiak
5168a66d71
Answers a "not implemented" error when the IQ is not understood
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2220 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-29 22:02:50 +00:00
Matt Tucker
14896e4d31
Implemented keep-alives.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2219 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-28 21:30:37 +00:00
Matt Tucker
37b56c9370
Small fixes.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2218 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-28 21:30:13 +00:00
Gaston Dombiak
465100fdc6
Stops collecting data when the debugger gets closed
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2216 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-27 12:22:53 +00:00
Gaston Dombiak
b1c2865ecd
Initial check-in
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2215 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-27 12:15:06 +00:00
Gaston Dombiak
70ec10065f
Prevents a NPE if DEBUG_ENABLED was set to true AFTER the connection was created
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2214 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-24 18:39:39 +00:00
Gaston Dombiak
e718ed796f
Fixed bad "defaulSubscriptionMode" spelling
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2213 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-19 18:52:43 +00:00
Gaston Dombiak
cd1abe75c0
1. UNDO: Protects the access for certain methods by waiting a few seconds when the roster has not been initialized yet
...
2. Provides a static method to set default subscription mode
3. Modifies RosterPacketListener to remove empty groups caused by local entry removals
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2212 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-18 14:17:13 +00:00
Gaston Dombiak
0264b3987c
Modifies #removeEntry to remove the entry immediately (locally)
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2210 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-18 13:04:49 +00:00
Gaston Dombiak
72af76ba39
UNDO: The connection's roster can be accessed before the user actually logs in
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2209 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-18 12:58:36 +00:00
Gaston Dombiak
3abb8b109c
Fixes a problem that prevented to remove listeners
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2207 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-15 13:05:44 +00:00
Gaston Dombiak
d25d36448e
Stops printing exceptions to the console when a class to load at start-up is not found
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2206 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-13 18:20:18 +00:00
Gaston Dombiak
4dfb2b08fa
Fixes a problem that didn't allow to terminate daemon threads
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2205 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-13 18:13:23 +00:00
Gaston Dombiak
1fa6a8e9fb
Fixes problems when waiting a few seconds when the roster has not been initialized yet
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2202 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-12 16:04:23 +00:00
Gaston Dombiak
d78e1d3e59
Modifies #getPresences(String) to return an iterator on Presences instead of an iterator on Map.Entries
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2201 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-05 18:26:13 +00:00
Gaston Dombiak
bb597cf3ca
Protects the access for certain methods by waiting a few seconds when the roster has not been initialized yet
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2196 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-02 00:32:40 +00:00
Gaston Dombiak
15df277ced
The connection's roster can be accessed before the user actually logs in
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2195 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-02 00:31:16 +00:00
Gaston Dombiak
b6f3741854
Answers a default timeout value if timeout value has not been initialized yet
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2194 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-02 00:29:41 +00:00
Gaston Dombiak
76c0e90f18
Throws an exception when trying to create entries using a non-initialized roster.
...
The packet-reply-timeout is obtained from SmackConfiguration
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2192 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-01 23:27:56 +00:00
Gaston Dombiak
f7de4be1f9
The packet-reply-timeout is obtained from SmackConfiguration
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2191 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-01 23:21:49 +00:00
Gaston Dombiak
36cb521334
Packet-reply-timeout is unique in the environment and the configuration filename was renamed to smack-config.xml
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2190 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-01 23:19:37 +00:00
Gaston Dombiak
41dad8658a
Allows reply timeout to be set
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2189 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-20 12:20:30 +00:00
Gaston Dombiak
129f0a0bd2
*** empty log message ***
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2188 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 18:30:58 +00:00
Gaston Dombiak
f77ad32537
Initializes Smack when the class is loaded
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2185 b35dd754-fafc-0310-a699-88a17e54d16e
2003-12-19 18:19:29 +00:00