summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-05-28Change the way the namespaces are handled in the XmlNode classFlorent Le Coz
2014-05-28Move the logging + config test on first positionFlorent 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-28Introduce the timed eventsFlorent Le Coz
2014-05-28On connection in-progress, save the whole addrinfo struct, not just ai_addrFlorent Le Coz
2014-05-28Send an error presence when the connection to the IRC server failsFlorent Le Coz
2014-05-27Only close/unmanage the socket if we are connected/connectingFlorent Le Coz
Since the socket is now only created and managed whenever the connection is being established, we only close the socket and if it was created (we use -1 to denote the fact that is not yet created, or has been closed) and we only unmanage the socket if it is effectively managed. fix #2529
2014-05-27Fix a by-one error in the CHANTYPES parsingFlorent Le Coz
2014-05-27Use the CHANTYPES values to differentiate channel or user noticesFlorent Le Coz
It also happens to fix #2517 because this used to create buggy channels named "auth" and stuf like that.
2014-05-27Add support for CHANTYPES isupport element, to know the prefixes of channelsFlorent Le Coz
2014-05-27Support IPv6 connectionsFlorent Le Coz
fix #2522
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-05-26If both write and read events are available on a socket, only do the readFlorent Le Coz
Because the read handler may discover that the connection has been closed, and then remove the socket from the poller. It that case it is no longer valid to try to call the write handler (which may try to reconnect, but since that socket is no longer managed, this is not OK).
2014-05-25Also do that cut of message on \n for private messages, and handle /meFlorent Le Coz
2014-05-25Split the messages on \n when sending them back to the XMPP userFlorent Le Coz
2014-05-15Only call get_last_child() if the node has childrenFlorent Le Coz
Explain that the behaviour is otherwise undefined, in the comment.
2014-05-15"Chat message" is not the same as "any kind of message"Florent Le Coz
2014-05-15Stanza:get_name() only returns the name of the tag, without the namespaceFlorent Le Coz
2014-05-15Disconnect the user from all its IRC servers whenever he returns an errorFlorent Le Coz
fix #2524
2014-05-14Correctly handle the usage of ! as a IRC user mode indicatorFlorent Le Coz
Since “!” is also the separator between the nickname and the user hostname, having “!” as the user mode (e.g. !nick!~some@host.bla) would cause the nick to be empty. Now we skip it if it is a valid user mode indicator.
2014-05-07Forward iq version results to IRCFlorent Le Coz
2014-05-06Correctly do the error handling when we receive an iqFlorent Le Coz
2014-05-06Forward CTCP version request to XMPPFlorent Le Coz
2014-05-06Implement next_id() toFlorent Le Coz
2014-04-29Add missing std::string_literalsFlorent Le Coz
2014-04-29Fix a little indentationFlorent Le Coz
2014-04-29Use C++14 string_literalsFlorent Le Coz
2014-04-28Remove binary.hpp and use the c++14 feature 0bFlorent Le Coz
2014-04-28Upgrade to C++14Florent Le Coz
2014-04-25Include the xhtml-im element in private messages tooFlorent Le Coz
2014-04-25The author name from messages from the server are now nicely formatedFlorent Le Coz
2014-04-25NOTICE from channels are displayed in the channel, with a green "[notice]"Florent Le Coz
2014-04-24Respond to a disco query the gateway jid itselfFlorent Le Coz
2014-04-22Fix the kick by correctly using the from and to attributesFlorent Le Coz
2014-04-21The logging test is less ambiguousFlorent Le Coz
2014-04-21Improve the test on jidprepFlorent Le Coz
2014-04-21test.cfg file is now created by the test suiteFlorent Le Coz
2014-04-21Remove unused action_prefix_len variableFlorent Le Coz
2014-04-18Actually do the last commit, but completely this timeFlorent Le Coz
2014-04-17No more missing text when converting IRC colors to xhtml-imFlorent Le Coz
fix #2496
2014-04-15Add support for systemd-daemonFlorent Le Coz
2014-04-15Call on_connection_failed() when the connection fails to be establishedFlorent Le Coz
2014-04-15Remove a useless debug log lineFlorent Le Coz
2014-04-15Add an explanatory topic on the dummy channelFlorent Le Coz
2014-04-15Joining the dummy channel connects to the irc serverFlorent Le Coz
2014-04-15Do not disconnect from the IRC server if the dummy channel is joinedFlorent Le Coz
2014-04-15Better way to leave the dummy roomFlorent Le Coz
2014-04-15Merge branch 'master' into dummy_chanFlorent Le Coz
2014-04-15Fix the leave-muc presence stanzaFlorent Le Coz
2014-04-15Ability to leave the dummy channelFlorent Le Coz