Commit graph

244 commits

Author SHA1 Message Date
Florian Zeitz
8d6c591fa2 Fix XMPPJID's domain getter 2013-01-06 19:38:20 +01:00
Florian Zeitz
b2b72dd1ed Import XMPPStreamManagement in ObjXMPP.h 2013-01-04 20:19:40 +01:00
Florian Zeitz
6f1bcd5c6b Make various XMPPConnection setter accept nil 2013-01-03 23:02:57 +01:00
Florian Zeitz
a1645303f7 Adjust to recent ObjFW changes. 2013-01-03 22:27:26 +01:00
77543c786d Adjust to recent ObjFW changes. 2012-12-22 17:41:23 +01:00
Florian Zeitz
1d0067f2f4 Update documentation 2012-12-22 14:55:27 +01:00
20e111024e Adjust to recent ObjFW changes. 2012-12-19 22:36:14 +01:00
4978c42916 Add -[asyncConnectAndHandle]. 2012-12-13 23:29:12 +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
Florian Zeitz
6331f5695f Make reconnecting possible. 2012-12-13 22:20:34 +01:00
Florian Zeitz
1445c7654c Fix typo intenral -> internal 2012-12-09 21:53:33 +01:00
6a89ab76d0 Make it possible to get exceptions in async mode. 2012-11-24 01:36:29 +01:00
64dd03952d Make rosterItems a property. 2012-11-11 12:30:24 +01:00
e8e70ff3fb XMPPRoster: Add getter for the connection. 2012-11-11 12:21:34 +01:00
f9912bd3ad Fix an evil typo. 2012-11-09 22:00:06 +01:00
3c8dcd510d Update buildsys. 2012-11-08 12:56:35 +01:00
1602ca3148 Close connection when an exception occurs. 2012-10-17 22:24:03 +02:00
d4ebc7ed17 Adjust to recent ObjFW changes. 2012-10-14 13:04:42 +02:00
8f2cdce7b4 Handle the connection in the run loop. 2012-09-20 02:35:14 +02:00
Florian Zeitz
72bc705800 Add very basic Stream Management (XEP-0198) support
This implementation only counts incomming stanzas and
sends ACKs on request.
While basic this already allows servers to write
messages to offline storage that were sent to,
but never received by a client.
2012-08-10 14:08:23 +02:00
Florian Zeitz
882b088fbb Close the stream when restricted XML is received 2012-08-10 14:08:23 +02:00
f590ff46fe Don't access isa directly. 2012-07-12 05:34:20 +02:00
867450105e Adjust to latest ObjFW API changes. 2012-06-07 14:19:03 +02:00
Florian Zeitz
45806a4f08 Add missing header files
gcc complains about missing interfaces without this.
2012-06-02 00:16:56 +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
d0a3e35780 Add missing method in interface. 2012-02-06 15:18:47 +01:00
f6c537a9e9 Detect support for roster versioning. 2012-02-06 14:49:37 +01:00
af04bf7088 Add storage to the connection and roster. 2012-02-06 14:32:20 +01:00
f777a11d7f Fix a missing #ifdef HAVE_CONFIG_H. 2012-02-06 12:42:29 +01:00
640fdb7da8 Add XMPPStorage and XMPPJSONFileStorage. 2012-02-06 12:40:00 +01:00
4a02854dec Oops, forgot a few changes. 2012-02-04 13:57:49 +01:00
39e245987c Add the XMPPConnection to xmpp_calback_block_t. 2012-02-04 12:52:49 +01:00
6ddf416e50 Add xml:lang support. 2012-02-03 17:26:34 +01:00
1b9c63195a Let -[checkCertificate] return a BOOL and a reason.
Throwing an exception there was strange.
2012-02-03 16:46:06 +01:00
Florian Zeitz
91ac419c48 Fix typo \end -> \endcond 2012-02-03 16:35:39 +01:00
6d572f17be More documentation improvements. 2012-02-03 16:20:17 +01:00
0da29ac529 Documentation improvements. 2012-02-03 16:12:04 +01:00
Florian Zeitz
ed82ae1799 Add missing import 2012-02-03 16:00:33 +01:00
066a1644f0 Comments and PIs are not allowed in XMPP -> throw an exception. 2012-02-03 15:35:28 +01:00
33969934b2 Allow IDNs for server and not only domain. 2012-02-03 11:54:23 +01:00
643552d5d9 Hide instance variables from the documentation. 2012-02-03 11:43:44 +01:00
2efeee1a0d Make the body of a message a property. 2012-02-03 11:31:45 +01:00
212dac3107 Remove streamOpen property (an ivar is enough). 2012-02-03 11:29:06 +01:00