Commit graph

29 commits

Author SHA1 Message Date
4a016c271f Prefix all ivars with an underscore. 2013-02-12 22:36:39 +01:00
Florian Zeitz
26bf6e94d8 Fix roster versioning
This fixes two things:
1) We reset the version we stored for the roster, even though it was
   still up to date
2) Since we make mutable copies of the items dictionary in
   XMPP_updateRosterItem our memory was rather high.
   Use a AutoreleasePool around it for now.
2013-02-10 17:09:34 +01:00
00a064a4a5 Make method names more consistent with ObjFW. 2012-12-13 23:09:30 +01:00
Florian Zeitz
89b1f86a4d XMPPRoster: Notify delegates before updating roster 2012-12-13 22:20:34 +01:00
e8e70ff3fb XMPPRoster: Add getter for the connection. 2012-11-11 12:21:34 +01:00
f590ff46fe Don't access isa directly. 2012-07-12 05:34:20 +02:00
39ffa3fc62 Only broadcast if we have a roster item. 2012-04-20 21:25:24 +02:00
d314c1b32d Update URL in copyright. 2012-03-21 11:56:56 +01:00
19fcc192d7 Having a category for each delegate is not required anymore.
This is thanks to XMPPMulticastDelegate.
2012-02-17 18:17:10 +01:00
d8dbb5a5e2 Don't import old roster if we got a complete roster by the server. 2012-02-06 16:53:45 +01:00
2cae99ef60 Fix a few bugs in roster versioning. 2012-02-06 16:33:50 +01:00
cf420076c2 Implement roster versioning.
Still needs some testing.
2012-02-06 16:17:37 +01:00
04b9740263 Prevent changing the data storage after the roster has been requested. 2012-02-06 15:23:26 +01:00
af04bf7088 Add storage to the connection and roster. 2012-02-06 14:32:20 +01:00
4a02854dec Oops, forgot a few changes. 2012-02-04 13:57:49 +01:00
d1dc839333 Make use of multicast delegates in XMPPRoster. 2012-01-30 18:45:43 +01:00
cb43292ca0 Remove the roster delegate if it gets deallocated.
Maybe it's not a good idea altogether to add/remove the roster
automatically?
2012-01-30 14:35:50 +01:00
Florian Zeitz
0815f46784 Decouple XMPPRoster and XMPPConnection 2012-01-28 01:43:31 +01:00
7fb28f25c8 Add multicast delegates. 2012-01-27 00:23:04 +01:00
1c4befa4c4 Fix a retain cycle. 2012-01-27 00:03:37 +01:00
ec3e12b62a Check for res_ndestroy. 2011-05-26 22:42:16 +02:00
Florian Zeitz
7d3796c62f Add methods to generate error and result replies for IQ stanzas 2011-05-12 23:04:49 +02:00
39d57946d9 Move namespaces to namespaces.h and add missing files to Xcode project. 2011-05-12 22:51:55 +02:00
f651384d81 Move all roster handling code to XMPPRoster. 2011-04-25 19:48:30 +02:00
f504246a1b Change how roster items are stored. 2011-04-01 03:09:04 +02:00
5b16eaa1f0 Port to ObjC 1. 2011-03-29 03:46:20 +02:00
993d0a7596 Add -[XMPPRoster deleteRosterItem:] and -[XMPPRosterItem copy]. 2011-03-28 18:15:48 +02:00
823ea0eb5e Move namespace definitions and add -[XMPPRoster addRosterItem:]. 2011-03-28 17:30:40 +02:00
915d5b5cab Add XMPPRoster class. 2011-03-28 15:14:27 +02:00