Philipp Balzarek
ec08ba5833
shape documentation
13 years ago
Jon Kristensen
3b688e0380
minor documentation and formatting changes
13 years ago
Jon Kristensen
354335fd9d
minor correction
14 years ago
Jon Kristensen
31633cfbde
remove any expectations for received xml:lang tag
...
the way i understand rfc 6120, clients will not have any assumptions
about the received xml:lang tag
14 years ago
Jon Kristensen
f9324a0c72
accept missing to header from server
...
Interoperability Note: It is possible that implementations based on
[RFC3920] will not include the 'to' address on stream headers; an entity
SHOULD be liberal in accepting such stream headers.
14 years ago
Philipp Balzarek
bcbe68bcac
Update to xml-picklers 0.2.2 Add LangTag to Network.Xmpp re-export list
14 years ago
Philipp Balzarek
aec8b3e2c3
update to conduit 0.5 and xml-conduit 1.0
14 years ago
Philipp Balzarek
786b8cd487
unsplit picklers
14 years ago
Jon Kristensen
f53abf0176
stream id now stored in connection state
14 years ago
Jon Kristensen
67a37371be
XmppConnection fields for jid to put in outgoing stream `from'
...
validate incoming stream `to'
using Jid instead of Text in pickleOutStream
don't read xmlns:stream attribute on incoming stream
close the stream after sending the stream errors
save `from' as specified by the server
documentation corrections
14 years ago
Jon Kristensen
cd9f42e58f
extended stream pickling and validation
...
pickleStream now (liberal) pickleInStream and (strict) pickleOutStream
xmppStream validates most of the stream element received and throws errors
connect catches the errors thrown by xmppStream, generates stream errors
made it possible to have the prefered language for the stream in the state
communicate the prefered stream language if it's set
extract stream language from incoming stream
exported langTag function in Types
14 years ago
Philipp Balzarek
fe5da1a5bc
fix xpLangTag
...
add language tag to stream pickler
14 years ago
Jon Kristensen
f0e8e2d4eb
send xml declaration
14 years ago
Jon Kristensen
d46caa7afa
i was wrong about the possibility of encountering an empty
...
stream:features element
14 years ago
Jon Kristensen
e7eff3ea50
fixed stream features unpickle bug that appeared when no stream:features
...
element was provided by the server
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
Jon Kristensen
4e39e60247
minor formatting and documentation additions
14 years ago
Philipp Balzarek
d5cdc74f23
Add connectionClosedHandler
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
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
716e4476ee
Warning clean
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
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
dd1aeb4be1
prepare merge
14 years ago
Jon Kristensen
9f96c71145
started using xml-conduit instead of xml-enumerator, but because of what seems to be a bug in parseBytes we can't actually read anything
14 years ago
Jon Kristensen
f4a0c41eaa
new dummy xmppt (statet-based) api, enumerator code commented and many features disabled, but pontarius with example now compiles, updated readme file, new credits file
14 years ago
Jon Kristensen
e7b661976e
name, nejla and license change updates
14 years ago
Jon Kristensen
1adf789309
moved around source code and reconfigured the eclipsefp project a bit
14 years ago
jonkri
02e4a7819e
configured the project for eclipsefp and committed it "as is"
14 years ago
Jon Kristensen
542520e4d5
initial work on the new Session module; defines a XMPPT monad that derives from Monad and MonadReader, shows what events there are, how hooks are set, and provides a convenience function for connecting
14 years ago
Jon Kristensen
e3929e7ab0
cleaned up the TLS and Stream modules
15 years ago
Jon Kristensen
72925feb72
rewrote xmlReader (now eventConsumer), its depending functions and some enumeration-related types
15 years ago
Jon Kristensen
bc5de2fb60
added functions to convert message and iq stanzas to xml elements
15 years ago
Jon Kristensen
2fd8a6d10a
made a nice function to convert an internal presence to an xml element, including presence errors
15 years ago
Jon Kristensen
1cf6a09413
implemented xml-enumerator-based elementToString functions, re-arranged the stanza types, rewrote parts of the Stream module
15 years ago
Jon Kristensen
be7a4b9c49
added Stream.hs again
15 years ago
Jon Kristensen
d385c4a533
implemented a xmpp version datatype, a parsec validator and parser, and ord and show functions
15 years ago
Jon Kristensen
d61361e342
implemented a language tag datatype, a parsec validator and parser, and equal and show functions
15 years ago
Jon Kristensen
6c98ccebf7
modified the headers to reflect the new license
15 years ago
Jon Kristensen
e0234fece9
started using the presence and message types again
15 years ago
Jon Kristensen
8674d20d6b
removed types having to do with XMPP IM
15 years ago
Jon Kristensen
4ac7e32dab
inserted Haddock comments to hide the non-Network.XMPP modules, fixed some Haddock problems
15 years ago
Jon Kristensen
5e0bee18c5
initial import, copy of darcs repository
15 years ago