Commit Graph

4990 Commits

Author SHA1 Message Date
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
Matt Tucker f5c5213e61 Privacy and error test cases.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4651 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-23 22:15:43 +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
Gaston Dombiak 1716c6ed22 Added method description.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4551 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-18 21: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
Gaston Dombiak f520dfe02e Fixed potential endless loop.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4527 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-17 19:38:37 +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 e304af9122 Fixing host name.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4524 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-17 15:29:55 +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
Gaston Dombiak 6cb31089f1 Added new test case when a user has many resources and new contacts are added/removed.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4280 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-06 18:55:29 +00:00
Alex Wenckus 386b0abcdd After 2 failed connection attempts file transfer will black list a stream host for 2 hours. SMACK-138
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4261 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-05 18:34:11 +00:00
Alex Wenckus 58254d82aa 1) SOCKS5 listening thread and socket should now be closed properly. SMACK-148
2) PacketCollectors are now properly timed-out.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4260 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-05 17:45:59 +00:00
Gaston Dombiak 0bc5b7b404 Searh for records of type SRV and class IN. SMACK-146
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4084 b35dd754-fafc-0310-a699-88a17e54d16e
2006-06-23 17:47:23 +00:00
Alex Wenckus 8fe7e46330 1) Created bookmark manager to facilitate the management of bookmarks. SMACK-144
2) Added RSS attribute to URLs. SMACK-136

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4007 b35dd754-fafc-0310-a699-88a17e54d16e
2006-06-16 22:58:24 +00:00
Gaston Dombiak ae97f5fd6a Updated for 2.2.1.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3975 b35dd754-fafc-0310-a699-88a17e54d16e
2006-06-12 21:05:23 +00:00
Gaston Dombiak 7bef86a2ae Updated for 2.2.1.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3973 b35dd754-fafc-0310-a699-88a17e54d16e
2006-06-12 19:10:46 +00:00
Gaston Dombiak 3252a2a77c keep alive final fixes. SMACK-141
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3972 b35dd754-fafc-0310-a699-88a17e54d16e
2006-06-12 16:32:18 +00:00
Gaston Dombiak 6e49d6cb05 Temp fix for SSL exception problem until we finish final solution that consists of changing the keep alive thread to send a hearbeat when the connection is idle (i.e. nothing has been sent for a while). SMACK-141
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3968 b35dd754-fafc-0310-a699-88a17e54d16e
2006-06-09 23:24:54 +00:00
Matt Tucker f7e4817f12 Javadoc work.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3930 b35dd754-fafc-0310-a699-88a17e54d16e
2006-05-30 21:53:50 +00:00
Alex Wenckus ed0f4a8a65 Added remove method for private data provider
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3929 b35dd754-fafc-0310-a699-88a17e54d16e
2006-05-26 22:42:07 +00:00
Gaston Dombiak 3e1056efe9 Fixed JDK compatibility issue.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3905 b35dd754-fafc-0310-a699-88a17e54d16e
2006-05-16 18:16:16 +00:00
Derek DeMoro e96b6e7e38 Added support for JEP-0048: Bookmark Storage. This implementation allows for the storage of bookmarks of conference rooms and other entities in a Jabber user's account.
SMACK-136 - Add support for Bookmark Storage.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3866 b35dd754-fafc-0310-a699-88a17e54d16e
2006-05-09 22:02:29 +00:00
Gaston Dombiak 2b8b0183c9 Deleting class per Alex request. :)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3830 b35dd754-fafc-0310-a699-88a17e54d16e
2006-05-03 21:41:26 +00:00
Alex Wenckus 6f832ddb99 Added avatar test.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3829 b35dd754-fafc-0310-a699-88a17e54d16e
2006-05-03 21:23:18 +00:00
Alex Wenckus c22f731c6d Changed base64 implementation. SMACK-135
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3828 b35dd754-fafc-0310-a699-88a17e54d16e
2006-05-03 21:13:25 +00:00
Alex Wenckus bed5b81ee7 VCard will now be saved if the avatar is the only element. SMACK-134
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3827 b35dd754-fafc-0310-a699-88a17e54d16e
2006-05-03 17:43:35 +00:00
Pete Matern 8398c6f4a9 Re-applied fix for SMACK-120
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3823 b35dd754-fafc-0310-a699-88a17e54d16e
2006-05-01 16:34:41 +00:00
Alex Wenckus bd6b9e6b26 1) Illegal characters in group name will no longer crash a connection. SMACK-133
2) Fixed warnings.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3811 b35dd754-fafc-0310-a699-88a17e54d16e
2006-04-20 18:52:28 +00:00
Alex Wenckus 912e8ad25e Setter for response timeout was not static.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3775 b35dd754-fafc-0310-a699-88a17e54d16e
2006-04-14 22:36:42 +00:00
Alex Wenckus e8c0266740 Illegal XML characters in presence status would crash connection. SMACK-132
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3766 b35dd754-fafc-0310-a699-88a17e54d16e
2006-04-13 20:18:26 +00:00
Alex Wenckus f70e9b894d Illegal XML characters in presence status would crash connection. SMACK-131
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3761 b35dd754-fafc-0310-a699-88a17e54d16e
2006-04-12 17:40:32 +00:00
Alex Wenckus a5b061d187 Increased file transfer buffer size.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3701 b35dd754-fafc-0310-a699-88a17e54d16e
2006-04-04 20:44:39 +00:00
Alex Wenckus 8d3bf139c6 Updated VCard test to test illegal XML characters.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3699 b35dd754-fafc-0310-a699-88a17e54d16e
2006-04-04 20:38:10 +00:00
Alex Wenckus b88871c409 VCards data was not being escaped and unescaped properly. SMACK-130
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3691 b35dd754-fafc-0310-a699-88a17e54d16e
2006-04-04 01:15:02 +00:00
Alex Wenckus aa4b965001 Initial transfer status was not being set.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3634 b35dd754-fafc-0310-a699-88a17e54d16e
2006-03-27 22:49:24 +00:00
Alex Wenckus 422317e238 File transfer progress was not being rounded correctly. SMACK-127
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3598 b35dd754-fafc-0310-a699-88a17e54d16e
2006-03-20 17:59:01 +00:00
Gaston Dombiak 3709f51db0 Added votes information.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3542 b35dd754-fafc-0310-a699-88a17e54d16e
2006-03-09 02:37:57 +00:00