Florian Schmaus
65dd6c9777
Fix RosterEntry.setNames(String)
...
also mark the method synchornized, to prevent race conditions with the
name.
Fixes SMACK-662.
2015-04-30 11:43:54 +02:00
Florian Schmaus
e0bc1ccaf2
Fix memory leak in RosterEntry
...
Roster's INSTANCE map has a weak reference to XMPPConnection, which has
a field of RosterEntry(ies), and RosterEntry has a strong reference to
XMPPConnection resulting in a cycle which is preventing XMPPConnection
from getting gc'ed.
SMACK-659.
2015-04-27 07:27:40 +02:00
Florian Schmaus
5e86db4f80
Substitute 'packet' with 'stanza(/packet)' in javadoc
2015-03-21 09:36:28 +01:00
Florian Schmaus
ed4fa3390f
Add XMPPConnection.sendStanza(Stanza)
...
and deprecate sendPacket().
2015-03-04 21:46:44 +01:00
Florian Schmaus
75ec271c6c
Rename PacketListener to StanzaListener
...
and add the PacketListener as deprecated interface.
2015-03-02 15:49:56 +01:00
Florian Schmaus
d4a6d8e653
Rename PacketFilter (and implementing classes) and PacketExtension
...
to StanzaFilter and ExtensionElement.
2015-02-28 13:49:38 +01:00
Florian Schmaus
7e68bb7470
Javadoc fixes in Roster
2015-02-23 22:17:31 +01:00
Florian Schmaus
4424ec6c53
Make Roster API not leak internal state
...
Fixes SMACK-645
2015-02-23 22:16:49 +01:00
Florian Schmaus
98cfad6cc6
Add RosterLoadedListener
2015-02-17 16:56:04 +01:00
Florian Schmaus
57c1b57b7c
s/ a XMPP/ an XMPP/
2015-02-12 12:13:19 +01:00
Florian Schmaus
4698805a34
Rename 'Packet' class to 'Stanza'
...
Smack still uses the term 'Packet' in some places. This is just the
first step towards using correct XMPP terms in Smack.
2015-02-06 09:34:51 +01:00
Florian Schmaus
e493500cfe
Consider XMPP service name in isSubscribedToMyPresence()
2015-01-27 09:45:50 +01:00
Florian Schmaus
3299515b36
Make Roster.isRosterVersioningSupported public
2015-01-26 20:47:14 +01:00
Florian Schmaus
7348e8bc8b
Add Roster.getEntriesAndAddListener(RosterListener,RosterEntries)
2015-01-26 20:47:14 +01:00
Florian Schmaus
603f64166b
Improve Roster, RosterEntry and RosterGroup
...
Use final where possible, add javadoc. Fix duplicate comment in
Roster.
Use createPacketCollectorAndSend(packet).nextResultOrThrow when
possible, and only set the entry name if the IQ set is successful.
2015-01-26 16:24:32 +01:00
Florian Schmaus
763139684b
Add javadoc for Roster.reloadAndWait()/setRosterStore()
2015-01-26 11:45:25 +01:00
Florian Schmaus
dc4720a00b
Add '@Override' annotation to Roster's packet listener
2015-01-26 07:54:10 +01:00
Florian Schmaus
0581580831
Make Roster.unfiledEntries a CopyOnWriteArraySet
2015-01-26 07:54:10 +01:00
Florian Schmaus
bb85d2b437
Make Roster.rosterListeners a LinkedHashSet
2015-01-26 07:54:10 +01:00
Florian Schmaus
d5b8647d9d
Create smack-im subproject for XMPP-IM
...
Move Roster and Chat(Manager) code into their own packages within the
new smack-im subproject.
Apply Manager pattern to Roster.
Fixes SMACK-637.
2015-01-26 07:54:05 +01:00