Jon Kristensen
52961a70a4
IQ.hs: Set default time-out value to 30 instead of 3
13 years ago
Jon Kristensen
57bb2a1d21
Utilities.hs: Implemented `IO [Int]' function for reconnection waiting
13 years ago
Jon Kristensen
ea567c7843
Change LangTag Show/Read instances, add parseLangTag, fix __GLASGOW...
13 years ago
Jon Kristensen
f7415bea47
Replace additional `xpPrim' calls
...
Moved and started using `xpSaslError'.
Added `xpShow' and `xpPriority'.
13 years ago
Jon Kristensen
932953274d
Change Read/Show instances, update picklers and change LangTag exports
...
The reason for removing these instances are the same as in #24 .
Affected types are: StanzaID, IQRequestType, MessageType,
PresenceType, StanzaErrorType, StanzaErrorCondition, SaslError,
StreamErrorCondition, Version, and LangTag.
It's quite boilerplate and ugly, but I think that it will do for now.
13 years ago
Jon Kristensen
9f53fb1246
Specify Conduit >=1.0.1 dependency
...
Fixes #36 .
13 years ago
Jon Kristensen
adedc3079a
Disable TH for GHC <7.6
...
When `template-haskell' has been built against `containers' <0.5 (as is the case
with GHC <7.6), building Pontarius XMPP (that requires `containers' >= 0.5) will
force a rebuild of `template-haskell'. This seems to break GHC (and might likely
also break `template-haskell').
13 years ago
Philipp Balzarek
381d98ca93
ignore whitespaces between elements
13 years ago
Philipp Balzarek
2c80c6f479
Merge branch 'master' into upstream
13 years ago
Philipp Balzarek
4b7d7cfe26
fix Jid Show instance not quoting '"' and '\'
13 years ago
Philipp Balzarek
2168283315
improve error reporting in case of leading or trailign white spaces in a quoted JID
13 years ago
Philipp Balzarek
ae41225d54
add reconnect function
13 years ago
Philipp Balzarek
08390cc32a
rename field of Item data type
13 years ago
Philipp Balzarek
900cbe415e
add jid quasi quoter (jidQ)
13 years ago
Jon Kristensen
a3c8547099
Remove (broken) Travis CI integration; add Prerequisites section
13 years ago
Philipp Balzarek
d3aa719e35
fix tryIOError
13 years ago
Jon Kristensen
3a4983f52f
Merge pull request #34 from jonkri/master
...
Fix GHC 7.0 build errors, update `Tested-With', and update example
13 years ago
Jon Kristensen
b7fc1a137c
pontarius-xmpp.cabal: Update `Tested-With' for new test environment
...
I have now finished setting up a Debian Wheezy testing environment for
building Pontarius XMPP against all GHC 7.0+ versions.
13 years ago
Jon Kristensen
b64266e63b
Update example for new `sendMessage' return value
13 years ago
Jon Kristensen
1fcb94eb6a
Conditional dependencies for GHC 7.0.1 and README.md note
13 years ago
Jon Kristensen
ecdcfc0081
Stream.hs: Add `tryIOError', not available in `base-4.2'
13 years ago
Jon Kristensen
699a5cef99
Specify and mention `cabal-install' dependency
...
The `cabal-install' dependency needs to be at least 1.14 so that the
build of `lifted-base' will not fail with an "unrecognized option:
--disable-benchmarks" error.
13 years ago
Jon Kristensen
2a712a80d3
Cap `bytestring' dependency
...
For some reason, `bytestring' versions above 0.9.2.1 causes (at least)
GHC 7.0.1 to panic, so I capped the version while investigating the
issue.
13 years ago
Philipp Balzarek
3f76bdbfe6
add support for non-standard options element in roster versioning stream feature
13 years ago
Philipp Balzarek
1551e4c984
drop outbound stanza buffering
...
Stanza send functionality now directly sends the stanzas over the wire and returns appropriate notification whether the sent succeeded (as far as we can tell)
13 years ago
Philipp Balzarek
92746237a9
check for roster versioning stream feature and disable roster versioning unless present
13 years ago
Philipp Balzarek
4d5343037c
quell ghc warnings
13 years ago
Philipp Balzarek
65137386b1
remove to prefix from toLocalpart, toDomainpart and toResourcePart
13 years ago
Philipp Balzarek
425535dcc0
Merge remote-tracking branch 'upstream/master' into upstream
13 years ago
Philipp Balzarek
789881254e
avoid direct use of PU constructor
...
Building picklers from predefined combinators is more robust against possible future API changes.
13 years ago
Jon Kristensen
330030a57f
Merge pull request #33 from jonkri/master
...
Add some `Jid' utility functions; don't allow construction of `Jid'
13 years ago
Jon Kristensen
f561c9aea3
Add some `Jid' utility functions; don't allow construction of `Jid'
...
Fixes #32 .
13 years ago
Philipp Balzarek
87c83080e2
add travis-ci support
13 years ago
Philipp Balzarek
5f1e2f6c3f
Merge branch 'master' into upstream
13 years ago
Philipp Balzarek
5ad6c7f7c0
add a test case for closed connection
13 years ago
Jon Kristensen
32a18eecea
Merge pull request #31 from jonkri/master
...
Provide access to StanzaID generator in Network.Xmpp (`newStanzaID')
13 years ago
Jon Kristensen
8f00c6f7d9
Provide access to StanzaID generator in Network.Xmpp (`newStanzaID')
...
Fixes #22 .
13 years ago
Jon Kristensen
343bc90d97
Merge pull request #30 from jonkri/master
...
Wrap `AuthFailure' in `XmppAuthFailure'
13 years ago
Jon Kristensen
78b9c68c3a
Wrap `AuthFailure' in `XmppAuthFailure'
...
Moved `AuthFailure' to Network.Xmpp.Types.
Fixes #11 .
13 years ago
Philipp Balzarek
6c2830f852
fix log messages in Network.Xmpp.Stream (XMPP => Xmpp)
13 years ago
Philipp Balzarek
e0821567de
run connectionClosedHandler on calls of closeConnection
13 years ago
Philipp Balzarek
53b73bc905
allow read Worker to close streams on read failure and prevent it from stopping itself in this case
13 years ago
Philipp Balzarek
f0d558a528
reinstate withConnection and fix closeConnection
13 years ago
Philipp Balzarek
c56f9c88cd
fix documentation type in Network.Xmpp.Types
13 years ago
Philipp Balzarek
c5f8886152
rename sessionClosedHandler configuration option to onConnectionClosed
13 years ago
Philipp Balzarek
24a97e84eb
remove duplicate export of InstantMessage in Network.Xmpp.IM
13 years ago
Philipp Balzarek
414aa33f86
change loggers in Network.Xmpp.Tls to log to Pontarius.Xmpp.Tls (was Pontarius.Xmpp)
13 years ago
Philipp Balzarek
3ac2079f27
add Finished state to ConnectionState
13 years ago
Philipp Balzarek
2aab7710e1
move SessionConfiguration to Network.Xmpp.Concurrent.Types
13 years ago
Philipp Balzarek
34e80d8fe2
export setConnectionClosedHandler
13 years ago