Commit Graph
110 Commits
Author SHA1 Message Date
Florent Le Coz af4fc92c21 Fix the include of the config.h 2013-11-10 03:35:31 +01:00
Florent Le Coz 5cb81cace0 And actually use the values found by cmake 2013-11-10 03:29:12 +01:00
Florent Le Coz ef014f7ddf Properly detect iconv features to compile 2013-11-10 03:18:08 +01:00
Florent Le Coz 3d92360310 Use the Expat library directly instead of relying on expatpp
And now we handle namespaces, yay.
And a nice little test.
2013-11-10 02:30:22 +01:00
Florent Le Coz ccebe901d7 Check UTF-8 encoding, and convert strings to UTF-8
Handle conversion errors properly by inserting � instead.  Add a binary
header to provide portable way to write binary literals (I like them) Also
add a test file.  ref #2404
2013-11-09 06:01:47 +01:00
Florent Le Coz bf7b05ef72 Implement the Bridge class to translate between the two protocols
Add all useful classes as well: Jid, Iid, IrcChannel, IrcUser etc to
properly keep the informations about what we receive from the IRC server.

Only handle the MUC join stanza, and send the list of users in the IRC
channel to the XMPP user, and the IRC channel’s topic, for now.
2013-11-06 21:01:18 +01:00
Florent Le Coz f2f94618fc Add a basic XMPP component implementation, doing the authentication 2013-11-03 17:51:32 +01:00
Florent Le Coz 5bbd34a3a9 Add an XmppParser, and Stanza classes
Generate events on stanza and stream open/close.
Create Stanza and serialize them.

Note: XML namespaces are not handled yet.
2013-11-03 17:19:48 +01:00
Florent Le Coz 87aaacdb42 Rename libirc and libxmpp to irc and xmpp 2013-11-03 00:22:32 +01:00
Florent Le Coz e332d7a2c0 Add initial CMakeLists.txt that compiles the current code 2013-11-02 23:49:12 +01:00