summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-09Check UTF-8 encoding, and convert strings to UTF-8Florent Le Coz
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-07Send and receive messagesFlorent Le Coz
Also correctly respond to PING with the id, escape some XML content, but not always
2013-11-06Add make_unique.hpp and split.hppFlorent Le Coz
2013-11-06Implement the Bridge class to translate between the two protocolsFlorent Le Coz
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-03Add FindCryptoPP to the cmake search stufFlorent Le Coz
2013-11-03Exit the poller when it handles no connection at allFlorent Le Coz
2013-11-03Add a basic XMPP component implementation, doing the authenticationFlorent Le Coz
2013-11-03Add an XmppParser, and Stanza classesFlorent Le Coz
Generate events on stanza and stream open/close. Create Stanza and serialize them. Note: XML namespaces are not handled yet.
2013-11-03Rename libirc and libxmpp to irc and xmppFlorent Le Coz
2013-11-02Add initial CMakeLists.txt that compiles the current codeFlorent Le Coz
2013-11-02Move the basic socket implementation into the SocketHandler classFlorent Le Coz
(that is, the read/write/connect/etc) Because this code is actually common for both the IrcClient and XmppComponent class. These two classes have to implement some higher level callbacks (parsing the data provided in the buffers, doing stuff when the connection is done) instead of doing the read/write/connect low level things.
2013-11-02Add irc_message.hppFlorent Le Coz
2013-11-02Basic IRC message parsing/sendingFlorent Le Coz
2013-11-02Add some dummy mainFlorent Le Coz
2013-11-02First step of the connection skeletonFlorent Le Coz
Basic connect, socket creating, polling, recving, etc.