Florian Zeitz
901108dd1c
Separate server (where to connect to) and domain (what that server hosts)
2011-05-27 02:17:47 +02:00
ec3e12b62a
Check for res_ndestroy.
2011-05-26 22:42:16 +02:00
8af66a155c
Fix a warning with GCC.
2011-05-26 22:33:13 +02:00
d15fd9971c
Split XMPPSRVEnumerator into XMPPSRVLookup and XMPPSRVEnumerator.
2011-05-26 22:23:02 +02:00
1337fdded1
Shorten -[XMPPSRVEnumerator XMPP_addEntry:].
2011-05-26 18:52:27 +02:00
53a2499381
Fix accumulatedWeight and iterate priorities in the right order.
2011-05-26 18:38:37 +02:00
9fd6e76322
Get rid of an unnecessary loop.
...
The loop is not required as we recalculate each entry's
accumulatedWeight on each call, thus there is always an entry that will
be found for the random number.
2011-05-26 00:41:26 +02:00
a04917a128
Correctly handle an empty priority list.
...
It should not exist, but this is no reason to not terminate.
2011-05-26 00:13:51 +02:00
18ec0d947b
Fix XMPPSRVEnumerator by rewriting almost all of it.
2011-05-26 00:08:56 +02:00
5b9eb619d3
Ignore whitespace elements.
2011-05-26 00:03:39 +02:00
35957ae3c3
Fix completely broken exception handling in -[connect].
2011-05-24 12:27:21 +02:00
95fe343184
Link against libresolv in .xcodeproj.
2011-05-24 12:25:11 +02:00
ee361fe487
Add files added in last commit to .xcodeproj.
2011-05-24 12:18:54 +02:00
Florian Zeitz
dd4022b99c
Add support for SRV records
2011-05-24 03:01:47 +02:00
Florian Zeitz
c52bf728bc
Add dealloc for XMPPJID
2011-05-22 23:50:02 +02:00
Florian Zeitz
7d3796c62f
Add methods to generate error and result replies for IQ stanzas
2011-05-12 23:04:49 +02:00
39d57946d9
Move namespaces to namespaces.h and add missing files to Xcode project.
2011-05-12 22:51:55 +02:00
d80aa353d3
Fix namespace handling.
2011-05-12 19:49:58 +02:00
1ffd66aa92
Improve +[XMPPStanza stanzaWithElement:].
2011-04-26 01:04:34 +02:00
f651384d81
Move all roster handling code to XMPPRoster.
2011-04-25 19:48:30 +02:00
82982768bc
Correctly handle stream restart.
2011-04-24 00:41:18 +02:00
f36f92f515
Adjust to recent ObjFW changes.
2011-04-23 22:40:32 +02:00
Florian Zeitz
d3d58b7697
Don't answer to IQs of type "error" or "result"
2011-04-15 02:51:17 +02:00
Florian Zeitz
d47fdd3380
Handle stream errors
2011-04-15 02:41:23 +02:00
Florian Zeitz
683fc1e3ae
Split up XMPP_handleStanza.
...
Non-Stanzas are now handled in separate functions
2011-04-07 23:13:19 +02:00
Florian Zeitz
91b2a0b119
Clean up roster handling
2011-04-04 01:53:00 +02:00
Florian Zeitz
5fd19a3d1f
Handle roster pushs
2011-04-04 00:48:37 +02:00
a9443417bc
Add two delegates for TLS upgrades.
...
This way, an OFStreamObserver can be used even with TLS.
2011-04-03 13:48:59 +02:00
05c2784b17
Don't leak the old socket when using STARTTLS.
2011-04-02 16:07:49 +02:00
4121a434b7
Add -[socket] to XMPPConnection.
2011-04-01 04:26:54 +02:00
673daaf20b
Add -[parseBuffer:withSize:] to XMPPConnection.
2011-04-01 04:23:18 +02:00
2554b3a778
Add convenience header and method.
2011-04-01 03:14:19 +02:00
f504246a1b
Change how roster items are stored.
2011-04-01 03:09:04 +02:00
b35525fd2b
Adjust to newest ObjFW and greatly improve XML handling.
2011-03-31 14:25:41 +02:00
59cb0a7954
Set the default namespace and prefixes when creating a new XMPPStanza.
2011-03-30 20:35:02 +02:00
9547bd112f
Use OpenSSL to generate the nonce.
2011-03-30 20:12:47 +02:00
2a8547ce2b
Fail if objfw-config is missing.
2011-03-30 19:44:05 +02:00
bb31fd1112
Only set OBJC if it is empty.
...
This way, OBJC can still be overridden.
2011-03-30 13:35:22 +02:00
3f7a420b4e
Use the "js buildsys".
2011-03-30 13:29:10 +02:00
b05300b119
Get rid of warnings.
2011-03-30 13:26:12 +02:00
edb38970db
Import <bsd/stdlib.h> if not on a BSD system. Still needs LIBS=-lbsd.
2011-03-29 03:51:11 +02:00
5b16eaa1f0
Port to ObjC 1.
2011-03-29 03:46:20 +02:00
50012ba975
Get rid of unused variable useTLS.
2011-03-29 02:04:53 +02:00
dc0f6bfc69
Use ObjOpenSSL instead of ObjGnuTLS.
2011-03-28 22:43:54 +02:00
993d0a7596
Add -[XMPPRoster deleteRosterItem:] and -[XMPPRosterItem copy].
2011-03-28 18:15:48 +02:00
823ea0eb5e
Move namespace definitions and add -[XMPPRoster addRosterItem:].
2011-03-28 17:30:40 +02:00
902ab046c0
gcc 4.6 does not seem to create implicit ivars.
2011-03-28 15:56:57 +02:00
915d5b5cab
Add XMPPRoster class.
2011-03-28 15:14:27 +02:00
3e97096129
Add autorelease pools.
2011-03-28 01:55:02 +02:00
56ddb5c8de
Add XMPPRosterItem class.
2011-03-28 01:47:48 +02:00