1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-23 14:52:06 +01:00
Commit graph

85 commits

Author SHA1 Message Date
Matt Tucker
8e750912a7 Re-worked security settings, clean-up of connection config, fixed concurrency when shutting down the packet writer.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6666 b35dd754-fafc-0310-a699-88a17e54d16e
2007-01-11 19:01:24 +00:00
Matt Tucker
92d1de2dce Initial cut of constructor re-factor (SMACK-184).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6532 b35dd754-fafc-0310-a699-88a17e54d16e
2007-01-04 23:00:58 +00:00
Gaston Dombiak
3915eae215 Small fixes and update to latest Chat API.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6531 b35dd754-fafc-0310-a699-88a17e54d16e
2007-01-04 22:34:06 +00:00
Gaston Dombiak
d63a4f1fbe Improved teardown logic. An error while deleting an account does no longer stop the tear down process (i.e. deletion of the other accounts).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6530 b35dd754-fafc-0310-a699-88a17e54d16e
2007-01-04 22:32:45 +00:00
Alex Wenckus
f1972c2571 small tweak
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6484 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-28 02:48:35 +00:00
Alex Wenckus
7d9189e490 test of sending message after sending a directed presence.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6481 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-27 20:02:59 +00:00
Alex Wenckus
f40cb8bfbf Generics
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6331 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-07 03:25:39 +00:00
Gaston Dombiak
74016aa553 Commeted out test case with invalid XML since some servers will just close the connection.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6309 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-05 08:08:11 +00:00
Alex Wenckus
ae6065d7cc Created new chat manager which handles the creation of Chats.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6213 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-22 22:55:37 +00:00
Alex Wenckus
0537629ee9 Spellcheck.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6106 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-14 21:58:03 +00:00
Gaston Dombiak
53c97378d3 1) Fixed reconnection when connection was using compression.
2) Fixed conflict error while reconnecting (reconnection was not keeping track of resource and sendPresence.
3) Improved javadoc (and checking) that reconnectionlisteners should be added once connected.
4) Added new reconnection test case for reconnection and multiple resources.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6050 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-10 19:06:33 +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
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
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
0c71fe2624 Added more test cases for multiple resources.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5358 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-13 17:30:28 +00:00
Gaston Dombiak
9182eb38fd Renamed to PresenceTest.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5356 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-13 16:31:57 +00:00
Gaston Dombiak
e92c22ab98 Added more test cases.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5355 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-13 16:31:28 +00:00
Gaston Dombiak
8576a13de7 Added new test case for offline messages with invalid XML characters.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5069 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-25 22:58:23 +00:00
Gaston Dombiak
727304b25e Added new test case for errors text with no description. SMACK-165
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5062 b35dd754-fafc-0310-a699-88a17e54d16e
2006-08-25 20:20:39 +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
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
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
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
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
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
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
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
Gaston Dombiak
eb0c5e282d Added new anonymous test case and improved assertions of existing one.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3493 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-27 20:01:30 +00:00
Gaston Dombiak
204ffb915c Changing group name to "" does not remove it from list of groups.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3350 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-24 18:16:29 +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
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
6dc7d05a5d Fixed test case.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3176 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-08 21:05:12 +00:00
Gaston Dombiak
ee6cedcea7 Fixed test case when cleaning up roster.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3132 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-01 04:29:08 +00:00
Gaston Dombiak
66c30903d0 Removed enable/disable debugger.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3131 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-01 04:28:15 +00:00
Gaston Dombiak
3db31f9169 Fixed test case (now uses threadID when creating Chats).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3130 b35dd754-fafc-0310-a699-88a17e54d16e
2005-12-01 02:23:42 +00:00
Marilyn Daum
03b8362dd2 Add func-test target: will be run by Anthill
one more timing tweak to RosterTest

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2996 b35dd754-fafc-0310-a699-88a17e54d16e
2005-10-25 17:14:52 +00:00
Marilyn Daum
922ae8688b Tweaks to get tests to pass more frequently.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2995 b35dd754-fafc-0310-a699-88a17e54d16e
2005-10-25 01:27:35 +00:00
Gaston Dombiak
dd9731f1a9 Added new test case #testAddEntryToNewGroup. SMACK-92
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2971 b35dd754-fafc-0310-a699-88a17e54d16e
2005-10-14 19:46:31 +00:00
Matt Tucker
ab474ea063 Added DNS SRV support (SMACK-29).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2832 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-17 22:01:24 +00:00
Gaston Dombiak
283b0f33f5 Throw an XMPPException if SASL authentication fails. SMACK-89
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2817 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-13 20:05:29 +00:00
Matt Tucker
06b7a0eacc New logic for delivering messages without a thread ID to a Chat object. This improves compatibility with clients that don't support thread ID. Also some misc formatting updates.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2779 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-05 20:00:45 +00:00
Gaston Dombiak
991e958097 Replaced #getHost with #getServiceName. SMACK-75
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2729 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 02:21:24 +00:00
Gaston Dombiak
8a48d3d11e Improved timeout logic.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2502 b35dd754-fafc-0310-a699-88a17e54d16e
2005-06-17 22:24:33 +00:00
Gaston Dombiak
4fee4feb5a Minor fixes (and some new test cases).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2486 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-15 21:46:53 +00:00
Gaston Dombiak
9caf660bc0 Added more cases to #testEscapeForXML.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2485 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-15 00:56:37 +00:00
Gaston Dombiak
0f8bb65755 Added test for huge messages over an SSL connection.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2484 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-15 00:51:52 +00:00
Gaston Dombiak
d87a0fe615 Added #testLoginWithNoResource for testing that a resource is always required by the server.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2483 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-14 03:24:04 +00:00
Gaston Dombiak
85ecc4b776 Added #testHugeMessage for testing sending of messages with a body of 4k.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2482 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-14 02:09:46 +00:00