Commit graph

302 commits

Author SHA1 Message Date
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
06315a4c00 .hgignore -> .gitignore 2012-03-19 23:21:34 +01:00
8426de51d7 Fix small typos in configure.ac. 2012-02-21 18:22:28 +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
db1a84295d Oops, forgot to adjust tests. 2012-02-04 13:32:11 +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
788a35838e Hide undocumented classes again (oops) 2012-02-03 16:37:03 +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
a9f8c084c4 Update Xcode project. 2012-02-03 15:36:00 +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
5386fb6e0b Fix forgotten -[addBody:] -> -[setBody:] in the test. 2012-02-03 11:28:51 +01:00
618f432abc Add -Wno-deprecated-declarations to fix building with OpenSSL on Lion. 2012-02-03 11:27:56 +01:00
da97470a1d Add \cond internal for private methods. 2012-02-03 10:46:42 +01:00
Florian Zeitz
a2e8b90ef2 Document XMPPRoster and XMPPRosterDelegate 2012-02-03 09:32:43 +01:00
Florian Zeitz
4501435604 Fix typo 2012-02-03 08:50:26 +01:00
939364cb75 Merge. 2012-02-03 10:40:34 +01:00
d6c5f1d91e Change -[XMPPMessage addBody:] to -[XMPPMessage setBody:]. 2012-02-03 09:05:51 +01:00
3d5d7564a7 Clean up properties. 2012-02-03 09:04:54 +01:00
753757e1cb Update .hgignore. 2012-02-03 09:04:00 +01:00
Florian Zeitz
b6e0e916e1 Document XMPPMulticastDelegate 2012-02-01 01:26:06 +01:00
Florian Zeitz
064827b96c Document XMPPConnectionDelegate 2012-01-30 23:39:15 +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