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

3500 commits

Author SHA1 Message Date
Gaston Dombiak
87fb2df3ec Check that roster is not null when disconnecting (fixed NPE).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7221 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-20 18:48:26 +00:00
Thiago Camargo
e9fc529ac9 Add Jingle jars Ant build
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7218 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-20 17:50:29 +00:00
Derek DeMoro
1f8cb4452b 1 - Small fix in Roster to return unavailable presence with from.
2 - Throw exception if parsing of vCard fails.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7217 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-20 17:02:39 +00:00
Matt Tucker
0bd96e5156 Moving variable to private. Why was it protected?
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7199 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 22:24:07 +00:00
Matt Tucker
470cd1245c Javadoc fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7198 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 22:17:27 +00:00
Matt Tucker
11141e1110 Updated changelog.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7188 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 08:59:58 +00:00
Matt Tucker
695d05cc3b Code cleanup on SMACK-199.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7187 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 08:59:33 +00:00
Matt Tucker
3aa94b2a4e Set connected to false before closing reader and writer (SMACK-196).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7186 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 08:38:19 +00:00
Matt Tucker
2e5f42aa39 Added support for offline presence, code cleanup (SMACK-74, SMACK-201).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7185 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 08:35:05 +00:00
Matt Tucker
fb0cb0476a Improved clean-up logic.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7184 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 08:25:20 +00:00
Matt Tucker
3e4a1ed5b5 Optimized concurrency in packet writer, better job of cleanup on disconnect.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7183 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 05:48:57 +00:00
Matt Tucker
319dcd408f Added convenience methods (SMACK-200).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7179 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-17 19:43:44 +00:00
Thiago Camargo
34f3389a1e Jar Building
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7178 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-17 06:03:05 +00:00
Thiago Camargo
42d1ecf83b PacketFilter Remotion Test Case
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7169 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-16 01:59:01 +00:00
Matt Tucker
e155c302ad Another collection change.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7168 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-16 01:56:16 +00:00
Gaston Dombiak
7ebaba10e2 Fixed test cases to consider that an unavailable presence is now returned for offline users or non-existent users.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7160 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-16 00:13:18 +00:00
Matt Tucker
7c847dad6a Switched from volatile collection to copy on write array. Fixes concurrency bugs and leaking resources, but may have performance ramifications.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7159 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-16 00:12:17 +00:00
Derek DeMoro
4cfbf00e48 SMACK-199 MultiUserChat invitation listeners are no longer removed on disconnect.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7148 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-15 22:27:56 +00:00
Alex Wenckus
0e85f25129 Outputstream may not have been properly closed in case of error. SMACK-198
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7144 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-15 17:33:44 +00:00
Thiago Camargo
9d598f1398 Remove superfluous trace
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7142 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-15 14:28:39 +00:00
Thiago Camargo
a4cc45f75d Jingle Refactoring - Remove superfluous property
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7140 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-15 05:27:10 +00:00
Thiago Camargo
81ad05d49b Jingle Refactoring
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7114 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-14 20:50:37 +00:00
Gaston Dombiak
f5834d3ed5 Fixed case of resource.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7112 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-14 19:53:18 +00:00
Thiago Camargo
4a856a497f git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7105 b35dd754-fafc-0310-a699-88a17e54d16e 2007-02-14 02:35:22 +00:00
Thiago Camargo
ed660f73e9 git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7104 b35dd754-fafc-0310-a699-88a17e54d16e 2007-02-14 02:35:04 +00:00
Matt Tucker
858b84d912 Removed ant so that build file works more consistently (including in source release). (SMACK-197)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7103 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-14 01:56:49 +00:00
Derek DeMoro
76087c3928 Unable to remove avatar in current model. This is now fixed.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7084 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-13 17:00:44 +00:00
Matt Tucker
5d30c8ac26 Fixed another possible null case.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7083 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-13 16:21:24 +00:00
Matt Tucker
1303db9703 Fixed a case where null was returned.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7082 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-13 16:19:26 +00:00
Matt Tucker
322292cad9 Added ability to sign off with a custom presence packet (SMACK-195).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7081 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-13 02:23:28 +00:00
Matt Tucker
5f9456db0d Close trust store after loading (SMACK-188).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7074 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 03:08:40 +00:00
Matt Tucker
7329435c8e Javadoc cleanup.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7073 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 01:14:30 +00:00
Matt Tucker
b25b9d5d7c Default to null presence mode (SMACK-193).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7072 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 01:11:09 +00:00
Matt Tucker
98bf0d8cfb Copyright update.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7071 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 00:59:05 +00:00
Matt Tucker
5c1fc7f8b7 * Roster.getPresence now forces bare JID (SMACK-192).
* RosterListner API changes (SMACK-191).

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7070 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 00:56:47 +00:00
Matt Tucker
274ef0cd51 RosterListener now uses generics.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7069 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-09 06:21:29 +00:00
Thiago Camargo
877afcd3ba Terminate a session instead Decline with an Error packet
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7063 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-09 03:49:43 +00:00
Thiago Camargo
5102acc985 Changes to decline a session
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7062 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-09 03:48:58 +00:00
Thiago Camargo
94a7762d9d Echo Test Added
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7052 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-08 22:39:09 +00:00
Thiago Camargo
754d47fedf Remove Echo
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7051 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-08 22:38:46 +00:00
Thiago Camargo
8f0b41d8b1 Remove Echo
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7050 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-08 22:38:14 +00:00
Thiago Camargo
23d27b9ffc Fixes in Echo
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7049 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-08 22:36:54 +00:00
Thiago Camargo
2cc661a189 Reduce negociation time
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7048 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-08 22:35:36 +00:00
Thiago Camargo
749916aa8a Fixes
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7047 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-08 22:35:17 +00:00
Gaston Dombiak
2db477145d 1) Use #notifyAll to notify all waiting threads on listenethread. SMACK-189
2) Added try/catch while notifying listener to recover gracefully from potential errors. SMACK-190

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7043 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-08 18:23:44 +00:00
Matt Tucker
85dcb0a5c4 Updated for new API. Thanks to Michael Hunter.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7042 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-08 06:12:01 +00:00
Thiago Camargo
a5a6697496 Echo Cancel Fixed
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7035 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-07 04:57:23 +00:00
Thiago Camargo
85387aa360 Close Echo when Session Closed
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7034 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-07 04:31:33 +00:00
Thiago Camargo
8115930299 Close Echo listener before trigger Session Established
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7032 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-07 04:15:53 +00:00
Thiago Camargo
78c6e3438b Only relay session if the Transport is Relayed
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7031 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-07 04:13:37 +00:00