Philipp Balzarek
484b049cd8
add remaining lenses for roster types
12 years ago
Philipp Balzarek
c88c5c5ffa
add lenses for instant messages
12 years ago
Philipp Balzarek
c9f511ebfe
more work on lenses
...
rename stanza classes
add traversable for payload
change sid lens to point to Maybe Text
export pluginsL
12 years ago
Philipp Balzarek
3f22f8d9d6
improve plugin interface
...
Plugins will now be handed the xmpp session once it is created so they can tie the knot if necessary
12 years ago
Philipp Balzarek
022b8885f4
yet more lenses
12 years ago
Philipp Balzarek
c4822899ec
add messagS and presenceS stanza template
12 years ago
Philipp Balzarek
7225f2cdbc
more lenses
12 years ago
Philipp Balzarek
88efc46cdb
improve, document and export lenses
12 years ago
Philipp Balzarek
df146e3975
add plugin interface
12 years ago
Philipp Balzarek
030ea4d02b
correct some documentation errors
12 years ago
Philipp Balzarek
c495a3d17e
export all modules for easier reuse
12 years ago
Philipp Balzarek
a7d5ccf9cd
export writeStanza
12 years ago
Philipp Balzarek
61c5f0dda9
make stanza handler plugins more flexible
...
stanza handlers used to return a Boolean value to indicate whether stanza processing should continue. Now the return lists of stanzas instead. This facilitates plugins that transform stranzas (e.g. encryption)
12 years ago
Michael Snoyman
193e79c051
network 2.3.1.0 support
12 years ago
Michael Snoyman
050a3d83c3
dns 1.0 support
12 years ago
Philipp Balzarek
a00d155739
update to tls >= 1.1.3
12 years ago
Jon Kristensen
47d8fcac49
Apply some additional minor Haddock fixes
12 years ago
Jon Kristensen
7f2146025c
Clear Haddock warnings, create jidQ and newStanzaID Haddock
12 years ago
Philipp Balzarek
5adbe2784a
close stream after failed connection attempt (including exceptions)
12 years ago
Jon Kristensen
e7a6c7cd07
Remove the `StanzaID' type and the `IdGenerator' newtype
12 years ago
Philipp Balzarek
d153c217b0
replace xpPrim with xpJid in ServiceDiscovery
12 years ago
Philipp Balzarek
7d5007096e
clean up some minor problems
12 years ago
Jon Kristensen
f620784a62
Hide Remove Subscription constructor
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
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
Philipp Balzarek
bd90cbe903
add tlsConnect function
12 years ago
Michael Snoyman
57944095ab
Support for containers 0.4
12 years ago
Philipp Balzarek
40639bfcf9
add generic connection method
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
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
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
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