Philipp Balzarek
d153c217b0
replace xpPrim with xpJid in ServiceDiscovery
12 years ago
Philipp Balzarek
7d5007096e
clean up some minor problems
12 years ago
Philipp Balzarek
29ee35b4cb
export reconnect'
12 years ago
Philipp Balzarek
e9ff7537ae
let reconnect return a Bool that indicates whether the reconnect was successful
12 years ago
Philipp Balzarek
8d555b6790
make disco code compile again
12 years ago
Philipp Balzarek
121287a3ea
split up reconnect function
12 years ago
Philipp Balzarek
f9e572e3ca
remove waitingTimes function
12 years ago
Philipp Balzarek
5f4c4d5419
twiddle with reconnect times
12 years ago
Philipp Balzarek
86a6aa5f68
export reconnectNow from Concurrent.hs
12 years ago
Philipp Balzarek
30b9910a39
Merge branch 'master' into upstream
12 years ago
Philipp Balzarek
1ce5aaf222
improve reconnect
...
rename reconnect to reconnectNow
* reconnect immediately
* function returns failure mode on error
add reconnect function
* retries when reconnect failes
* waits exponentially increasing amount of seconds between attemps
* returns last encountered error when all attempts fail
12 years ago
Jon Kristensen
1e1a114559
Bump xml-conduit due to fix mentioned in #39
12 years ago
Philipp Balzarek
3aa0b2c187
Merge branch 'master' into upstream
12 years ago
Philipp Balzarek
bd90cbe903
add tlsConnect function
12 years ago
Jon Kristensen
69fa8ab037
Merge pull request #39 from snoyberg/master
...
Support for containers 0.4
12 years ago
Michael Snoyman
57944095ab
Support for containers 0.4
12 years ago
Jon Kristensen
89e78cbd7d
Change the license to the three-clause BSD license
12 years ago
Jon Kristensen
84af52f6c1
Merge branch 'master' of git://github.com/Philonous/pontarius-xmpp
12 years ago
Philipp Balzarek
40639bfcf9
add generic connection method
12 years ago
Philipp Balzarek
4ab45a0c37
Merge branch 'master' into upstream
12 years ago
Philipp Balzarek
f7230b1aa8
add missing cases in unpickle functions
12 years ago
Philipp Balzarek
20d3d9cbf6
add flag to control use of template haskell
12 years ago
Philipp Balzarek
d859e087be
clear warnings
13 years ago
Philipp Balzarek
83c9ba0428
add LanguageTag quasi-quoter
13 years ago
Philipp Balzarek
932e8e0314
Merge branch 'master' of github.com:pontarius/pontarius-xmpp into upstream
13 years ago
Philipp Balzarek
5831a7b42f
add waitForStream
13 years ago
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