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