Jon Kristensen
00ab24c3cb
documentation clarification and some formatting
14 years ago
Philipp Balzarek
4e24d6f16a
do proper disconnects
14 years ago
Jon Kristensen
f0e8e2d4eb
send xml declaration
14 years ago
Philipp Balzarek
1d54682baa
rename JID to Jid
...
remove sUsername, aAuthzid, sResource from XmppConnection
add sJid to XmppConnection
14 years ago
Philipp Balzarek
cfb3597feb
add scram
...
add sAuthzid to XmppConnection
add sAuthzid to XmppConnection more work on sasl infrastructure
move more stuff from DigestMd5 to Common
more work on sasl infrastructure
14 years ago
Philipp Balzarek
d23ae0f149
replace XMPP with Xmpp everywhere to unify style
...
replace SASL with Sasl
replace DIGEST_MD5 with DigestMD5
replace PLAIN with Plain
14 years ago
Jon Kristensen
ce927ddcbf
moved 'src' to 'source'
14 years ago
Jon Kristensen
f0ebab5774
renames (pushN -> pushElement, push -> pushStanza, pushOpen ->
...
pushOpenElement, pullSink -> pullToSink, xpStreamEntity ->
xpStreamStanza); minor formatting and documentation additions in Monad
14 years ago
Philipp Balzarek
d5cdc74f23
Add connectionClosedHandler
14 years ago
Philipp Balzarek
10c22f41f0
changed sConPushBS to return a boolen (False on Failure, True otherwise)
14 years ago
Philipp Balzarek
f73eec93d9
stopp reader from reading from a dead connection
...
rename elementFromEvents to elements and transform it to a conduit
add proper failing case for pullElement
change pushing to dead connection to throw away element rather than throw an exception
14 years ago
Philipp Balzarek
45edfcc56f
Add conection state to connection object, rename some types
...
rename XMPPConState to XmppConnection
rename xmppZeroCon to xmppNoConnection
add XmppConnectionState
remove sHaveTLS from XmppConnection
add (sConnectionState :: XmppConnectionState) to XmppConnection
14 years ago
Philipp Balzarek
bbf90aee45
protect xmppKillConnection from exceptions
14 years ago
Philipp Balzarek
fc63b62bab
unlifted connection handling
...
exported withConnection
14 years ago
Philipp Balzarek
b4b2610880
Renamed SaslError to AuthError
...
Renamed SASLError to SaslError
added BufferedSource
Changed sources to be buffered
reader now only reads the connection state in the beginning, doesn't need to put anything back
Updated test client
14 years ago
Philipp Balzarek
f3d1a37146
protected withConnection from asynchronous exceptions (may beed more work)
...
renamed picklers to adhere to the xpPicklername schema
added xmpp stream error data type and pickler
changed fatal errors throw exceptions rather than ErrorT errors
renamed pulls to pullSink
renamed pullE pullElement
renamed pull to pullStanza
renamed sendS to sendStanza
14 years ago
Philipp Balzarek
70d9b5b47d
renamed XMPPThread to XMPP
...
renamed Thread to Session
split runThreaded in newSession and WithNewSession
14 years ago
Philipp Balzarek
716e4476ee
Warning clean
14 years ago
Philipp Balzarek
2ad95ba1b4
added EventHandlers, endSession, closeConnection
14 years ago
Philipp Balzarek
cca3a6d4d0
added error handling to Stream, TLS
...
switched to Strict State
switched to mtl
improved build script
14 years ago
Philipp Balzarek
84610776d4
removed makeshift replacements for sourceHandle and sinkHandle (fixed in upstream)
14 years ago
Philipp Balzarek
e0b97dacf8
removed sConPush, session now starts without connection, added inline connection method
...
xml-types-pickle updated
14 years ago
Philipp Balzarek
c856d332a2
removed dependency on ResourceT
...
changed withConnection to run in the caller thread
14 years ago
Philipp Balzarek
4e5dc2e31e
added test client
...
added IQ answering mechanism
improved error reporting un unpickling failures (will show offending element)
general cleanups
14 years ago
Philipp Balzarek
19a3005db6
warning clean
14 years ago
Philipp Balzarek
5eab69b427
updated example, cleanup
14 years ago
Philipp Balzarek
9fd7e8daff
conduit 0.4, switched back to xml-conduit
14 years ago
Philipp Balzarek
f54b50d609
switched to hexpat-internals
14 years ago
Philipp Balzarek
f0c05132ff
squash! some conduit weirdness (blocking where it shouldn't)
14 years ago
Philipp Balzarek
ac8e907e5c
compiles... again
14 years ago
Philipp Balzarek
f27b007520
top level types
14 years ago
Philipp Balzarek
40c40f3258
Session, some bug fixes
14 years ago
Philipp Balzarek
d11434f18f
switched to hexpat
14 years ago
Philipp Balzarek
cebc468852
bind
14 years ago
Philipp Balzarek
021a0487c3
sasl working
14 years ago
Philipp Balzarek
2193a15fba
initial
14 years ago