Commit graph

166 commits

Author SHA1 Message Date
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
Florian Zeitz
c75c7f1f91 Document the exceptions 2012-01-30 00:39:12 +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
73eeb3c507 Merge heads. 2012-01-26 23:25:46 +01:00
36c0379608 Add missing headers to Xcode project. 2012-01-26 23:22:37 +01:00
Florian Zeitz
63cf5c1845 Fix XMPPPresence's getter for type 2012-01-26 14:52:17 +01:00
da76528178 Style improvements. 2012-01-26 13:35:05 +01:00
f42623800d Update Xcode project and reexport ObjOpenSSL. 2012-01-26 13:34:07 +01:00
29966cdd13 If a presence has no type, assume "available", as per RFC 6121. 2012-01-25 21:55:23 +01:00
bacc6cd50d Fix a missing include. 2012-01-25 20:35:49 +01:00
Florian Zeitz
b91bcdd5ea Add missing files 2012-01-25 20:27:12 +01:00
Florian Zeitz
e25135106d Use strlen instead of strnlen, for compatibility with some systems 2012-01-25 18:06:36 +01:00
Florian Zeitz
30c1895a83 Perform length checking on JID parts (0 < part < 1024) 2012-01-25 17:20:28 +01:00
Florian Zeitz
ee08eadf81 Implement SASL EXTERNAL 2012-01-25 16:42:29 +01:00
Florian Zeitz
71b02af421 Generate stanza errors 2012-01-25 15:05:09 +01:00
Florian Zeitz
446490ebc5 Add -close method 2012-01-25 13:18:57 +01:00
Florian Zeitz
4efd9d8881 Better handling of remote stream close 2012-01-25 01:12:42 +01:00
Florian Zeitz
f6bfef0615 Add missing messages 2012-01-16 23:33:53 +01:00
Florian Zeitz
75354159c1 Reorder headers to avoid dependency issues (required for NetBSD) 2012-01-16 23:31:44 +01:00
Florian Zeitz
a433727bd5 Merge XMPP*Callback into a single class 2012-01-06 20:18:33 +01:00
b94a321cfa Use OF_SETTER/OF_GETTER. 2012-01-04 23:25:59 +01:00
Florian Zeitz
2f7b349539 Add capability to register callbacks when sending IQs 2012-01-01 03:42:01 +01:00
7e9672b76f Get rid of a warning. 2011-12-12 00:40:36 +01:00
f48b0ac8cd Eliminate dead code. 2011-12-12 00:39:27 +01:00
fdf33f356a Add a delegate for incoming/outgoing elements. 2011-12-12 00:27:32 +01:00
Florian Zeitz
4aaa754a4d Implement certificate checking. 2011-11-22 23:07:01 +01:00
cfb0c5f9bd Don't retain the delegate to prevent a reference cycle. 2011-10-24 20:32:44 +02:00
5a2f8ac0f4 Make use of -[OFXMLElement setStringValue:]. 2011-10-04 14:54:49 +02:00
df5e8f04b4 Adjust to recent ObjFW changes. 2011-09-23 01:38:03 +02:00
Florian Zeitz
74727c159c Fix XMPPAuthenticator to support non-optimized message flow
While RFC6120 allows and encourages sending data with the success
message it is also legal to send the same data as a challenge and
await an empty response. This rework honors that fact.
2011-09-18 21:33:19 +02:00
Florian Zeitz
64f131641f Fix salt generation code 2011-09-16 15:11:54 +02:00
616aa8b9cd Make it possible to require TLS. 2011-09-14 22:09:46 +02:00
7c35be965c Update to recent ObjFW changes. 2011-09-12 22:08:45 +02:00
Florian Zeitz
7b07a24ec4 Remove obsolete comment 2011-09-10 20:24:38 +02:00
1f0ba6b533 Use an OFSet for mechanisms. 2011-09-10 18:17:35 +02:00