summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)Author
2015-02-21Fix “cleanely” typoFlorent Le Coz
2014-07-02Add a level of inheritance above SocketHandlerFlorent Le Coz
SocketHandler has been renamed to TCPSocketHandler SocketHandler is now a simple interface with a few methods, used only by Poller. This way we can inherite from the new SocketHandler class, to handle other types of sockets, and still make them manageable by the poller without any change in the Poller class.
2014-05-30TimedEventsManager is now a singletonFlorent Le Coz
2014-05-28Use a timed event to force the exit 2 seconds after an exit signal is receivedFlorent Le Coz
fix #2469
2014-05-27SocketHandlers own the poller and add themself into it only when the socket ↵Florent Le Coz
is created We want to call socket() with the parameters provided by getaddrinfo, so we can’t addd the fd into the poller immediately. We need to wait the connection attempt, and then the SocketHandler can call add_socket_handler itself, if the connection succeeds, or is in progress.
2014-03-24Introduce two new bool, to know if the xmpp component should try to reconnectFlorent Le Coz
If we never succeeded our connection+auth process, means we should probably not attempt any-more, and just give up. If we ever did, this means a reconnect is a good idea
2014-03-24Reconnected immediately to the XMPP whenever it closes the connectionFlorent Le Coz
2014-02-24Use store() instead of operator=() for std::atomic<bool> objectsFlorent Le Coz
2014-02-22Connection to servers does not block the process anymoreFlorent Le Coz
2014-02-19Set sigaction.sa_flags to 0Florent Le Coz
2014-02-19Reload the conf on SIGUSR1/2Florent Le Coz
2014-01-04Remove disconnected IrcClientsFlorent Le Coz
2014-01-04Shutdown cleanly on SIGINTFlorent Le Coz
2013-12-24Do not mismatch password and hostname in the config error help messageFlorent Le Coz
2013-11-12Read the served hostname from the config fileFlorent Le Coz
2013-11-10Add a Config module, and use it to get the password from a fileFlorent Le Coz
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-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-03Rename libirc and libxmpp to irc and xmppFlorent Le Coz
2013-11-02Add some dummy mainFlorent Le Coz