Florian Schmaus
4bc7ce052d
Remove RCS header attributes
2014-02-10 12:33:41 +01:00
Florian Schmaus
68a570b4fe
Use WeakReference in MUC NodeInformationProvider
...
MultiUserChat's NodeInformationProvider must not hold a strong reference
to the Connection instance. Fixes SMACK-540.
2014-02-05 23:12:03 +01:00
rcollier
1b651d4939
SMACK-534 Refactored all System.out/err and printStackTrace calls with appropriate Java util logging calls.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_4_0@13887 b35dd754-fafc-0310-a699-88a17e54d16e
2014-02-02 22:39:07 +00:00
Florian Schmaus
0951420d9c
SMACK-439
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_1@13659 b35dd754-fafc-0310-a699-88a17e54d16e
2013-05-17 22:04:31 +00:00
Florian Schmaus
a934624787
SMACK-438 Avoid NPE when the weak reference is null. Add InvitationsMonitor as strong reference within getInvitationsMonitor and return it within the block so it can't get gc'ed between put() and get().
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_1@13658 b35dd754-fafc-0310-a699-88a17e54d16e
2013-05-17 22:04:04 +00:00
Florian Schmaus
21be8c55ee
SMACK-361 Added support for Entity Capabilities.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13560 b35dd754-fafc-0310-a699-88a17e54d16e
2013-03-18 08:50:48 +00:00
Florian Schmaus
b907d606d9
SMACK-352 removed duplicated headers, fixed svn keywords
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13459 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-07 19:10:22 +00:00
Florian Schmaus
a686b4c092
Update MultiUserChat to use the correct namespace according to the latest version of XEP-0045.
...
Newer versions for XEP-0045 (MUC) use muc#admin for all onwer related operations.
Fixes SMACK-371. Credits and thanks go to Colby White for reporting this.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13458 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-07 19:08:05 +00:00
rcollier
d1e9d81769
SMACK-341 Updated collectors to use concurrent classes.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13452 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-07 03:42:33 +00:00
Florian Schmaus
e75f45082b
SMACK-270 MultiUserChat relied on finalize() being called in order to remove packet listeners and the association with RoomListenerMultiplexor. The PacketListeners are referenced by Connection, which meant that MultiUserChat is always strongly reachable until the connection dies.
...
This patch introduces an new MultiUserChat.cleanup() method that is called when userHashLeft() is triggered.
Thanks to Stuart Chalmers and scgmile for reporting this.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13418 b35dd754-fafc-0310-a699-88a17e54d16e
2013-01-31 22:30:49 +00:00
rcollier
e08c8afe44
SMACK-363 Applied code cleanup patches for many generics related issues.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13325 b35dd754-fafc-0310-a699-88a17e54d16e
2012-10-26 10:47:55 +00:00
rcollier
62ce8e85dd
SMACK-362 Added check for no values on form.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_2_0@12926 b35dd754-fafc-0310-a699-88a17e54d16e
2011-12-21 14:58:48 +00:00
rcollier
da5434505b
SMACK-129 - Added a property in smack-config file for the default packet collector size and set it much lower than the previous default. Also made the max size for packet collectors configurable from the constructor.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_2_0@12509 b35dd754-fafc-0310-a699-88a17e54d16e
2011-06-18 18:18:03 +00:00
Wolf Posdorfer
0c88e19d3b
SMACK-273
...
if RoomListenerMultiplexor is null also return a new one for this connection
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_2_0@12441 b35dd754-fafc-0310-a699-88a17e54d16e
2011-06-01 07:41:17 +00:00
rcollier
8a8b8ccd79
SMACK-163 Fixed NPE in accessing form field information.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@12200 b35dd754-fafc-0310-a699-88a17e54d16e
2011-03-29 00:44:38 +00:00
Günther Niess
127319a821
SMACK-279: The XMPPConnection extends the new abstract Connection class
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11613 b35dd754-fafc-0310-a699-88a17e54d16e
2010-02-09 11:55:56 +00:00
Michael Will
37a00e98d1
make finalize method protected
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11025 b35dd754-fafc-0310-a699-88a17e54d16e
2009-06-04 13:09:25 +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
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
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
Gaston Dombiak
58a3b60570
Updated to be able to compile. :(
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6288 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-02 02:15:35 +00:00
Alex Wenckus
dd754e5a7f
fix for new chat manager
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6271 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-30 19:15:45 +00:00
Gaston Dombiak
a58e1dd0a4
Updated to be able to compile. :(
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6243 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-28 19:26:54 +00:00
Alex Wenckus
1f3ab16aad
Small tweaks.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6183 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-20 23:09:11 +00:00
Derek DeMoro
4e0397e80a
1) Added conflict check in ReconnectionManager.
...
2) Fixed compilation errors due to change in interface name.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6122 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-15 22:29:25 +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
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
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
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
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
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
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
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
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
aa97e11856
Initial version. SMACK-125
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3496 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-27 22:00:26 +00:00
Gaston Dombiak
9fcbd64d28
Added support for adding presence interceptors to new presences sent to the MUC service. SMACK-125
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3495 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-27 21:59:50 +00:00
Gaston Dombiak
f12f1c2a1e
. Modified #nicknameChanged to include old and new nicknames. SMACK-55
...
. Modified banning and kicking to include reason and actor. SMACK-81
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3038 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-08 17:15:18 +00:00
Gaston Dombiak
bcab930f28
Do not fire invitation listeners with messages of type error. SMACK-102
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3015 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-01 18:31:52 +00:00
Gaston Dombiak
07b7900b2e
Do not fire invitation rejection listeners with messages of type error. SMACK-101
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3013 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-01 15:57:00 +00:00
Derek DeMoro
db8e2870f2
#getServiceNames will not fail if an items info cannot be discovered.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3012 b35dd754-fafc-0310-a699-88a17e54d16e
2005-11-01 15:16:48 +00:00
Gaston Dombiak
74fe845eae
Fixed typo.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2909 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-29 15:58:11 +00:00
Gaston Dombiak
59e393e2ef
Replaced #getHost with #getServiceName. SMACK-75
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2731 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 02:24:38 +00:00
Gaston Dombiak
6d9e72070c
Fixed javadoc comments.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2635 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-12 19:25:48 +00:00
Gaston Dombiak
69c86bbeec
Modified to use new FromMatchesFilter. SMACK-71
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2522 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-10 04:50:50 +00:00
Gaston Dombiak
bdd395b0dc
Added JID of the room whose information was discovered. SMACK-57
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2493 b35dd754-fafc-0310-a699-88a17e54d16e
2005-05-27 18:12:52 +00:00
Gaston Dombiak
5a754d1279
Added checking to ensure that the room name does not contain uppercase letters.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2490 b35dd754-fafc-0310-a699-88a17e54d16e
2005-05-06 20:39:43 +00:00
Gaston Dombiak
941b9e752f
Remove any pending packet listener from the connection. SMACK-48
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2464 b35dd754-fafc-0310-a699-88a17e54d16e
2005-03-07 22:01:18 +00:00
Gaston Dombiak
d58b5a221f
Initial version. SMACK-13
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2456 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-06 16:37:04 +00:00