1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-16 09:12:06 +01:00
Commit graph

413 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Gaston Dombiak
b7030403e2 Updated for 2.2.0.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3541 b35dd754-fafc-0310-a699-88a17e54d16e
2006-03-09 02:34:27 +00:00
Gaston Dombiak
5247fce7ca Moved resource binding parsing as a core IQ packet. SMACK-124
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3492 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-27 18:17:27 +00:00
Derek DeMoro
665bf172f7 Smack now escapes passwords.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3470 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-16 20:07:18 +00:00
Matt Tucker
d323d6db9c Removed thread from packet writer (SMACK-123).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3412 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-08 23:11:21 +00:00
Alex Wenckus
131cd4ac15 Added license information for file transfer code
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3397 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-03 19:13:23 +00:00
Alex Wenckus
8d0db1a339 File Transfer. (SMACK-72) (SMACK-122)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3395 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-03 18:44:22 +00:00
Matt Tucker
96796a82b4 Added methods to remove providers (SMACK-118).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3381 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-27 18:44:17 +00:00
Alex Wenckus
e7c89235ba -shutting down the listener thread properly {SMACK-120}
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3367 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-26 18:31:35 +00:00
Gaston Dombiak
18677279f2 Removed #toLowecase() calls wherever possible. SMACK-109
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3349 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-24 18:14:41 +00:00
Gaston Dombiak
07f5fc9ef6 1. Stream compression is now negotiated after authentication as defined in JEP-170.
2. Keep copy of ConnectionConfiguration to prevent future modifications.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3314 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 21:28:46 +00:00
Gaston Dombiak
b522c42c8b 1. Modified default values for certificates verification
2. Implements Cloneable interface.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3313 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 21:27:44 +00:00
Gaston Dombiak
39eca6ec5b Added support for configuring the connection. SMACK-113 SMACK-114
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3311 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 20:05:31 +00:00
Gaston Dombiak
c00abdeffd Comment updated. SMACK-27
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3310 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 20:03:11 +00:00
Gaston Dombiak
10c59457ca Initial version. SMACK-27
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3309 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 20:02:34 +00:00
Gaston Dombiak
1528e75d7e Initial version. SMACK-113 SMACK-113 SMACK-27
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3308 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-17 20:02:11 +00:00
Gaston Dombiak
15defec50f Added stream compression support. SMACK-112
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3306 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-16 17:34:56 +00:00
Gaston Dombiak
72c67e7baa Changing name to Wildfire.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3213 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-13 22:43:24 +00:00
Gaston Dombiak
38f7e5bba7 Refactoring work.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3179 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-08 21:10:41 +00:00
Gaston Dombiak
647d6323ca Request resource binding or session establishment only if they were provided by the server. SMACK-110
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3178 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-08 21:10:04 +00:00
Gaston Dombiak
17e97fe0ee Optimization work. SMACK-109
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3177 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-08 21:07:01 +00:00
Matt Tucker
cc40bf4bcb Javadoc updates.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3109 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-19 18:13:50 +00:00
Gaston Dombiak
bc6f3a0776 Updated for Smack 2.1.0.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3099 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-17 18:47:22 +00:00