Commit graph

273 commits

Author SHA1 Message Date
Florian Zeitz
aa5109a788 Fix a use after free() bug in XMPPSCRAMAuth 2013-03-26 19:11:15 +01:00
Florian Zeitz
441a9e4472 DiscoEntity: Answer to requests send to the caps node 2013-03-24 16:33:42 +01:00
Florian Zeitz
56e3aef482 Add XMPPDisco*.h to ObjXMPP.h, remove debug code 2013-03-23 23:06:41 +01:00
Florian Zeitz
beeb3e617e Add support for calculating caps hashes 2013-03-23 19:59:26 +01:00
Florian Zeitz
6ddb1571ca Add classes to support Service Discovery 2013-03-23 18:21:05 +01:00
Florian Zeitz
f5f60f7722 Fix up -[XMPPJID isEqual:] and -[XMPPJID hash] 2013-03-03 17:30:58 +01:00
005771ec2e Rename XMPPJSONFileStorage to XMPPFileStorage.
It uses BinaryPack instead of JSON now.
2013-02-23 14:49:32 +01:00
d80dbedd1b Adjust to recent ObjFW changes. 2013-02-19 00:16:20 +01:00
f186c4f302 Improve documentation. 2013-02-15 15:32:44 +01:00
9b49f04239 Fix a bunch of warnings. 2013-02-15 15:15:21 +01:00
856ac1bd1a Fix a small documentation bug. 2013-02-14 03:11:03 +01:00
46f2007247 Fix missing ivars missing the underscore prefix. 2013-02-14 00:24:13 +01:00
869b122a15 Don't cache the description of exceptions.
This was pretty pointless, as it's usually only used once.
2013-02-14 00:18:20 +01:00
4a016c271f Prefix all ivars with an underscore. 2013-02-12 22:36:39 +01:00
Florian Zeitz
b96b4bb86d XMPPPresence: Treat no priority element as a priority of 0 2013-02-10 23:24:30 +01:00
Florian Zeitz
dc9d18f536 XMPPContact: Handle presences without resource 2013-02-10 23:23:56 +01:00
Florian Zeitz
c59185013e Fix selector for exception handling in XMPPConnection 2013-02-10 18:01:20 +01:00
Florian Zeitz
a221f4bd38 Implement -hash for XMPPJID 2013-02-10 17:31:27 +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
Florian Zeitz
96b72e570e Fix initialization of XMPPContact 2013-02-02 22:59:24 +01:00
Florian Zeitz
5554e3a51f Never send starttls when the connection is already encrypted 2013-01-31 15:16:30 +01:00
Florian Zeitz
b7d92694ba Implement -initWithElement: for XMPPPresence 2013-01-29 20:46:58 +01:00
Florian Zeitz
9bac8bc19f Add XMPPContact{,Manager} for tracking contacts 2013-01-27 18:01:08 +01:00
Florian Zeitz
e239af4117 Fix Makefile 2013-01-19 00:38:44 +01:00
Florian Zeitz
e951bacb3b Make XMPPPresence comparable 2013-01-14 21:18:09 +01:00
Florian Zeitz
1e6f98c6df Adjust to recent ObjFW changes. 2013-01-12 23:47:49 +01:00
Florian Zeitz
089f994131 Remove redundant IDNAToASCII 2013-01-09 19:32:57 +01:00
Florian Zeitz
178627a652 Make status/show/priority of XMPPPresence properties 2013-01-09 00:36:21 +01:00
Florian Zeitz
b976d0280c Implement isEqual: for XMPPJID 2013-01-06 19:42:00 +01:00
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