Commit graph

277 commits

Author SHA1 Message Date
c11d1bb945 Update buildsys 2014-06-18 13:24:31 +02:00
Florian Zeitz
3dd1196bbe XMPPConnection: Don't negotiate a session feature, when marked optional
The session feature has been deprecated as of RFC 6120.
Some servers still offer it for client compatibility, but
mark it as optional. Not negotiating it in this case
saves us a round trip
2014-02-04 00:00:09 +01:00
Florian Zeitz
076abde1b8 XMPPRoster: Ensure roster pushes were sent by the server 2014-02-03 23:50:41 +01:00
Florian Zeitz
3e150f18d6 XMPPConnection: Verify origin of IQ responses 2014-02-03 23:36:13 +01:00
Florian Zeitz
358334a778 Adapt to ObjFW changes 2014-02-03 23:34:55 +01:00
d736c927f1 Adjust exceptions to ObjFW API change. 2013-11-22 21:21:56 +01:00
74a56b5359 Update buildsys. 2013-07-01 22:49:18 +02:00
ed5604447a Coding style. 2013-07-01 22:33:49 +02:00
Florian Zeitz
fac12cfde9 Fix argument checking for XMPPDiscoEntity 2013-07-01 22:07:51 +02:00
9ae39edeb4 Use instancetype. 2013-06-23 23:41:47 +02:00
4fead04d9a Prefix *all* IVars with _. 2013-06-23 22:13:43 +02:00
cd292b53fa Get rid of BOOL. 2013-06-23 21:57:46 +02:00
7f5c58ffc7 Adjust to reworked exception API. 2013-06-23 16:19:42 +02:00
Florian Zeitz
bfdfabcf40 XMPPDiscoEntity: Caps hash must be Base64 encoded SHA1 2013-06-12 14:53:05 +02:00
Florian Zeitz
bd0440b3ee XMPPContactManager: Support for handling subscription requests 2013-06-09 20:26:24 +02:00
Florian Zeitz
702a18636d XMPPContactManager: Remove contact from store after broadcasting the selector 2013-06-09 20:21:20 +02:00
Florian Zeitz
c7c58748fd XMPPContactManager: Indentation fixes 2013-06-09 12:54:21 +02:00
Florian Zeitz
b7ef74a103 XMPPDiscoEntity: Update JID on resource bind 2013-06-05 21:01:39 +02:00
Florian Zeitz
2d96126a44 XMPPMulticastDelegate: Iterate over a copy of the delegates array 2013-06-05 21:00:13 +02:00
Florian Zeitz
4ec96e63a1 Add caps namespace to namespaces.h 2013-04-03 23:16:52 +02:00
603d3bad7a Coding style. 2013-03-31 12:23:39 +02:00
2889711e69 Adjust to ObjOpenSSL changes. 2013-03-31 12:16:04 +02:00
Florian Zeitz
61654304ed XMPPMulticastDelegate: Handle modifications of the delegates array 2013-03-27 01:30:59 +01:00
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
7aa05c48bc Update and fix Xcode project. 2013-02-15 15:27:40 +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
37562d4129 Add -Wdocumentation if supported by the compiler. 2013-02-14 03:10:08 +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
f7999bda6a Add missing files to Xcode project. 2013-02-12 19:43:22 +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