77543c786d
Adjust to recent ObjFW changes.
2012-12-22 17:41:23 +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
6331f5695f
Make reconnecting possible.
2012-12-13 22:20:34 +01:00
6a89ab76d0
Make it possible to get exceptions in async mode.
2012-11-24 01:36:29 +01:00
f9912bd3ad
Fix an evil typo.
2012-11-09 22:00:06 +01:00
1602ca3148
Close connection when an exception occurs.
2012-10-17 22:24:03 +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
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
cf420076c2
Implement roster versioning.
...
Still needs some testing.
2012-02-06 16:17:37 +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
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
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
d1dc839333
Make use of multicast delegates in XMPPRoster.
2012-01-30 18:45:43 +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
da76528178
Style improvements.
2012-01-26 13:35:05 +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
a433727bd5
Merge XMPP*Callback into a single class
2012-01-06 20:18:33 +01:00
Florian Zeitz
2f7b349539
Add capability to register callbacks when sending IQs
2012-01-01 03:42:01 +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
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
1f0ba6b533
Use an OFSet for mechanisms.
2011-09-10 18:17:35 +02:00
Florian Zeitz
62d2bd2ba5
Add support for SCRAM-SHA-1-PLUS
2011-09-10 16:08:25 +02:00
b9f214e320
Handle any failure to get SRV records like there are none.
2011-06-16 21:00:28 +02:00
Florian Zeitz
de9b58c4a6
Don't connect to any address record if SRV records exist
2011-06-16 20:28:52 +02:00
825ee7c81f
Adjust to API change.
2011-06-05 22:07:51 +02:00
Florian Zeitz
901108dd1c
Separate server (where to connect to) and domain (what that server hosts)
2011-05-27 02:17:47 +02:00