summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-protocol.c
AgeCommit message (Collapse)Author
2016-08-07irc: remove evil tabSébastien Helleu
2016-05-19irc: fix NULL pointer dereference in 734 command callbackscumjr
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read
2016-02-23irc: add option irc.network.sasl_fail_unavailable (closes #600)Simmo Saan
Previously SASL did not fail when it was set up for the server but wasn't supported by it. This makes no difference when the server's sasl_fail is set to "continue" but might make a difference if set to "disconnect" or "reconnect". To make sure server connection is not made under such circumstances, this patch adds an extra configurable ("on" by default) check to trigger SASL failure when it is set up but not supported by the server. Although not directly a SASL failure, this makes SASL not-authenticated scenarios all handled consistently, while providing extra security by not silently ignoring not being authenticated as requested.
2016-02-11irc: use upper case for SASL in messages displayedSébastien Helleu
2016-01-06irc: fix channel forwarding (closes #643)Sébastien Helleu
The problem happens when the option irc.look.buffer_open_before_{autojoin|join} is on.
2016-01-01core: update copyright datesSébastien Helleu
2015-12-30irc: add support for IRCv3.2 invite-notifySimmo Saan
irc: add nick tag to numeric 341 for consistency
2015-12-20irc: fix commentsSébastien Helleu
2015-12-20irc: fix long lineSébastien Helleu
2015-12-20irc: fix condition in account message callbackSébastien Helleu
2015-12-20Merge remote-tracking branch 'origin/pr/351'Sébastien Helleu
2015-10-18irc: fix code styleSébastien Helleu
2015-08-08irc: add support for CAP cap-notifyMax Teufel
2015-08-07Merge remote-tracking branch 'origin/pr/475'Sébastien Helleu
2015-08-05irc: fix update of lag item when the server lag changesSébastien Helleu
2015-07-20irc: add separate color option for current topic in channel bufferSimmo Saan
2015-07-04irc: fix type of value returned by function irc_buffer_build_nameSébastien Helleu
2015-05-04irc: avoid warnings for unsupported WHOX messagesMax Teufel
Fixes #376. This avoids warnings for WHOX messages that we do not parse/ understand yet. Previously, IRC_PROTOCOL_MIN_ARGS was 5 where it should have been 4 (which avoids warnings for WHOX commands only requesting one WHOX type). Changing the behavior to support all different WHOX types seems like a bad idea to me, as it's quite hard to figure out which information was requested with the WHOX command.
2015-04-25irc: fix color of new nick in nick changes messages when option ↵Sébastien Helleu
irc.look.color_nicks_in_server_messages is off
2015-04-13irc: fix display of PART messages on channels with +a (anonymous flag) ↵Sébastien Helleu
(closes #396) The purpose of the fix is to display any PART received on a channel, even if the nick is not found in the channel's nicklist (when channel is "+a", all PART are received from nick "anonymous").
2015-03-07irc: use NULL instead of "*" for unidentified nicksMax Teufel
2015-03-07irc: protocol: fix minor typo in an exampleMax Teufel
2015-03-07irc: track realnames using extended-join and WHOMax Teufel
2015-02-21irc: remove useless rename of channel buffer on JOIN received with different ↵Sébastien Helleu
case (closes #336) This bug was introduced by commit 624083f41a6b8abc1a566b33f54bfc226d13886f.
2015-02-15irc: format IRC message 008 (RPL_SNOMASK) (closes #144)Max Teufel
2015-02-10irc: fix crash in callback of message 354 when the nick is not found in channelSébastien Helleu
2015-01-25irc: fix set of variable "pos_account" in callback for message "354"Sébastien Helleu
2015-01-25irc: free account before changing its valueSébastien Helleu
2015-01-25irc: set away flag to 0 only if channel and nick are foundSébastien Helleu
2015-01-25irc: force host to NULL after freeSébastien Helleu
2015-01-25irc: move account callback to keep protocol callbacks sorted alphabeticallySébastien Helleu
2015-01-25irc: shorten code in account callbackSébastien Helleu
2015-01-25irc: shorten code to call irc_nick_new() in join callbackSébastien Helleu
2015-01-24irc: don't keep valid account names when account-notify is disabledMax Teufel
2015-01-24irc: add support for CAP account-notifyMax Teufel
2015-01-19irc: add support of "ecdsa-nist256p-challenge" SASL mechanism (closes #251)Sébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-12-21core: replace irc.freenode.net by chat.freenode.netMikaela Suomalainen
Freenode wants people to use chat.freenode.net instead of irc.freenode.net which is alias to chat.freenode.net.
2014-12-14irc: open channel buffers before the JOIN is received from server (autojoin ↵Sébastien Helleu
and manual joins) (closes #216) New options: - irc.look.buffer_open_before_autojoin - irc.look.buffer_open_before_join
2014-11-23irc: remove unused variableSébastien Helleu
2014-11-23irc: rename server option "sasl_disconnect_on_fail" to "sasl_fail", change ↵Sébastien Helleu
type to integer (enum) New possible values are: - "continue": ignore the SASL failed (continue connection to server without authentication) - "reconnect": disconnect and schedule a reconnection to server - "disconnect": disconnect
2014-11-22irc: add option irc.server.*.sasl_disconnect_on_fail (task #12204)Max Teufel
2014-11-22irc: handle ERR_NICKLOCKED (902)Max Teufel
2014-11-01irc: reformat some code to make it more readableSébastien Helleu
2014-11-01irc: fix display of "(null)" as real name when it is missing in extended-joinSébastien Helleu
2014-11-01irc: add support for CAP extended-joinMax Teufel
2014-11-01irc: fix display of channel exception list (348) with 6 arguments (date missing)Sébastien Helleu
2014-11-01irc: add argument "server_message" in function irc_nick_color_for_msgSébastien Helleu
2014-11-01Merge branch 'master+irc_protocol_nick_address' of ↵Sébastien Helleu
git://github.com/maxteufel/weechat into maxteufel-master+irc_protocol_nick_address