Gaston Dombiak
0e0f1701a4
Improved parsing of subjectDNs. SMACK-181
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5984 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-08 00:57:39 +00:00
Derek DeMoro
d4147e012b
1) Escape values in form field to prevent error.
...
2) Check for null value in error type to handle invalid error types.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5737 b35dd754-fafc-0310-a699-88a17e54d16e
2006-10-17 13:15:35 +00:00
Gaston Dombiak
43744eb09f
Added new constructor that performs DNS SRV lookups.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5726 b35dd754-fafc-0310-a699-88a17e54d16e
2006-10-16 20:45:43 +00:00
Gaston Dombiak
87e6c2aba5
Added support for returning list of identities of a hosted node. SMACK-178
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5720 b35dd754-fafc-0310-a699-88a17e54d16e
2006-10-16 17:56:48 +00:00
Thiago Camargo
819b32ec95
Assigned a default value to the "type" instance variable. SMACK-176
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5676 b35dd754-fafc-0310-a699-88a17e54d16e
2006-10-10 22:03:22 +00:00
Matt Tucker
998172b111
Removed extra synchronization (SMACK-177).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5645 b35dd754-fafc-0310-a699-88a17e54d16e
2006-10-07 23:16:20 +00:00
Matt Tucker
48fac74878
Protect against bad xmpp error types.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5458 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-20 16:43:40 +00:00
Gaston Dombiak
865d12b483
Refactoring work.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5407 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-18 20:17:33 +00:00
Gaston Dombiak
216971659a
Renamed ConnectionEstablishedListener to ConnectionCreationListener. SMACK-173
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5388 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 23:05:01 +00:00
Gaston Dombiak
03bb3c1d0a
Initial version.SMACK-173
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5386 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 23:04:09 +00:00
Gaston Dombiak
f941cd509c
Renamed to ConnectionCreationListener.SMACK-173
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5385 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 23:03:26 +00:00
Gaston Dombiak
e65ecdc913
Rolling back some JID escaping work related to SMACK-170.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5384 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 22:42:06 +00:00
Matt Tucker
6be93f4a4e
Code cleanup and refactoring.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5383 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 21:51:08 +00:00
Matt Tucker
edd7df6799
Escape on setting JID instead of getting JID.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5382 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-15 20:53:18 +00:00
Derek DeMoro
41a5399c39
Update VCardProvider.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5371 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 20:46:32 +00:00
Gaston Dombiak
29073a307a
Added reconnection support. SMACK-172
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5368 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 19:21:38 +00:00
Gaston Dombiak
3af86fd462
Added reconnection support. SMACK-172
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5367 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 19:16:40 +00:00
Gaston Dombiak
96e4201f61
1. Added reconnection support. SMACK-172
...
2. Set available contacts to offline when connection is closed. SMACK-171
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5366 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 19:14:51 +00:00
Gaston Dombiak
96e134e21a
Initial version. SMACK-172
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5365 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 19:13:35 +00:00
Derek DeMoro
85781a7158
1) SMACK-170 - Added JID escaping capabilities to SMACK.
...
2) Escaping form field values to prevent bad xml.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5363 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 15:19:39 +00:00
Gaston Dombiak
1df8baa6f7
Refactoring work.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5361 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-13 20:56:47 +00:00
Gaston Dombiak
e558ee8fa6
Replaces lock object with Semaphore. SMACK-168
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5359 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-13 17:58:28 +00:00
Gaston Dombiak
e38dc86f8d
Refactoring work. Method #getLastActivity(XMPPConnection,String) was deprecated. SMACK-94
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5222 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-04 22:05:00 +00:00
Gaston Dombiak
87b3c84f04
Initial version. SMACK-94
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5220 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-04 22:03:48 +00:00
Gaston Dombiak
8f98f71ecb
Added JID escaping support. SMACK-167
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5195 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-03 03:10:15 +00:00
Alex Wenckus
39662d3b0f
1) FileTransfer#isDone() will now return true on refused. SMACK-158
...
2) Learned to spell.
3) Changed to enums.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5163 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-01 17:38:53 +00:00
Gaston Dombiak
c13766569e
Fixed freezing when parsing error. SMACK-166
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5061 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-25 20:18:54 +00:00
Gaston Dombiak
157a1e9659
Listeners are now removed from PacketReader. SMACK-165
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4883 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-10 22:09:30 +00:00
Gaston Dombiak
469ff4d487
Roster item nickname is now escaped for XML. SMACK-164
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4882 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-10 21:35:08 +00:00
Gaston Dombiak
b34152e9f5
Use stream feature to discover whether in-band registration is available. SMACK-160
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4797 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-03 17:04:01 +00:00
Gaston Dombiak
84cc5fb1c6
Fixed casting error.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4796 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-03 17:03:19 +00:00
Gaston Dombiak
a9c3ffe64c
Fixed NPE when muc#roominfo_subject has no value. SMACK-163
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4775 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-02 22:32:45 +00:00
Gaston Dombiak
8879234bbc
Fixed potential error when #getClassLoader returns null. SMACK-162
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4774 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-02 22:31:23 +00:00
Gaston Dombiak
47cc26e234
Fixed possible delay when TLS is not supported by the server. SMACK-161
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4773 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-02 22:17:11 +00:00
Alex Wenckus
201d36e4d1
Some small refactoring to handle the rare case when a disco request may return an unknown response and could cause an NPE.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4624 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-20 17:17:19 +00:00
Matt Tucker
47abf627b7
Added privacy list support and improved error handling from Francisco (SMACK-121, SMACK-31).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4603 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-19 19:24:00 +00:00
Alex Wenckus
9ade8ac8cd
Escape filename so the Smack connection doesn't crash. SMACK-159
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4547 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-18 17:01:54 +00:00
Matt Tucker
9895123ff3
Additional refactoring work.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4539 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-18 06:47:38 +00:00
Gaston Dombiak
f57ff10ad9
1. Clean up code
...
2. Refactoring work
3. Optimization work. SMACK-153
4. Fixed roster test cases. SMACK-154
4. Fixed vCard issue. SMACK-152
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4538 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-18 05:14:33 +00:00
Gaston Dombiak
14b50d790a
Initial version. SMACK-155
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4537 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-18 05:04:47 +00:00
Matt Tucker
494cec8f9a
Syntax fix.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4533 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-18 02:42:22 +00:00
Alex Wenckus
0e1c037504
Fixed VCard encoding when creating the dom object. SMACK-151
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4525 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-17 17:17:40 +00:00
Matt Tucker
bbbfe09c31
Phase 1 of large refactoring. Removing dead code, bug fixes, updates to JDK 1.5.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4511 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-17 08:39:08 +00:00
Alex Wenckus
1a08715f67
#hashcode and #equals. SMACK-54
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4348 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-11 01:45:45 +00:00
Alex Wenckus
0fdda5bc4d
Removed invisible mode. SMACK-147
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4347 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-11 01:33:18 +00:00
Alex Wenckus
639386759a
Switch or's to and's so that the exploit can't be used note that this doesn't fix the issue of invalid XML. SMACK-65
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4343 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-10 18:27:40 +00:00
Alex Wenckus
c4168bf3d7
Fixed several xhtml processing bugs:
...
1) <br/> will no longer produce <br/><br/>. SMACK-93
2) XML entities inside of the xhtml bodies should now be properly escaped. SMACK-145
3) XHTML processing keeps track of depth. SMACK-65
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4342 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-10 18:15:26 +00:00
Gaston Dombiak
c49356052f
Added support to return disco#info features of hosted nodes. SMACK-150
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4341 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-10 16:56:14 +00:00
Gaston Dombiak
f9ecbb3297
Reuse empty slots in the collection to store new listeners/collectors. Fixed by Alex. :) SMACK-149
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4340 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-10 16:51:56 +00:00
Gaston Dombiak
97b80ac8da
Improved #toString()
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4296 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-07 15:05:00 +00:00