Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-04-20 | Reset the signal handlers when SIGINT or SIGTERM is received | Florent Le Coz | |
To avoid doing a double exit when receiving bot SIGINT and SIGTERM | |||
2015-04-13 | Re-order a few things in main.cpp | Florent Le Coz | |
2015-03-04 | Set the default value to biboumi.cfg | Florent Le Coz | |
2015-02-27 | Remove all the libs that are now in louloulibs | Florent Le Coz | |
2015-02-24 | Add a reload add-hoc command | Florent Le Coz | |
2015-02-23 | Implement async DNS resolution using c-ares | Florent Le Coz | |
fix #2533 | |||
2015-02-21 | Use a timer to try reconnecting to the XMPP server only each 2 seconds | Florent Le Coz | |
When the connection is lost, immediately try to reconnect, then try to reconnect every 2 seconds. This is much better than the previous “Try to re-connect as fast as possible”. | |||
2015-02-21 | Fix “connections” typo | Florent Le Coz | |
2015-02-21 | Fix “cleanely” typo | Florent Le Coz | |
2014-07-02 | Add a level of inheritance above SocketHandler | Florent 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-30 | TimedEventsManager is now a singleton | Florent Le Coz | |
2014-05-28 | Use a timed event to force the exit 2 seconds after an exit signal is received | Florent Le Coz | |
fix #2469 | |||
2014-05-27 | SocketHandlers 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-24 | Introduce two new bool, to know if the xmpp component should try to reconnect | Florent 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-24 | Reconnected immediately to the XMPP whenever it closes the connection | Florent Le Coz | |
2014-02-24 | Use store() instead of operator=() for std::atomic<bool> objects | Florent Le Coz | |
2014-02-22 | Connection to servers does not block the process anymore | Florent Le Coz | |
2014-02-19 | Set sigaction.sa_flags to 0 | Florent Le Coz | |
2014-02-19 | Reload the conf on SIGUSR1/2 | Florent Le Coz | |
2014-01-04 | Remove disconnected IrcClients | Florent Le Coz | |
2014-01-04 | Shutdown cleanly on SIGINT | Florent Le Coz | |
2013-12-24 | Do not mismatch password and hostname in the config error help message | Florent Le Coz | |
2013-11-12 | Read the served hostname from the config file | Florent Le Coz | |
2013-11-10 | Add a Config module, and use it to get the password from a file | Florent Le Coz | |
2013-11-09 | Check UTF-8 encoding, and convert strings to UTF-8 | Florent 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-06 | Implement the Bridge class to translate between the two protocols | Florent 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-03 | Rename libirc and libxmpp to irc and xmpp | Florent Le Coz | |
2013-11-02 | Add some dummy main | Florent Le Coz | |