summaryrefslogtreecommitdiff
path: root/src/plugins/irc
AgeCommit message (Collapse)Author
2016-08-30irc: fix display of service notice mask (message 008) (closes #429)Sébastien Helleu
2016-08-13irc: fix NULL pointer derefence in case of memory error in irc_sasl_dh()Sébastien Helleu
2016-08-07irc: remove evil tabSébastien Helleu
2016-08-07core: irc, xfer: do not check return code of res_init()Sébastien Helleu
If the call to res_init() fails, the connection may be OK anyway or in worst case it will fail (with an appropriate error) if the name can not be resolved.
2016-08-07core, irc, xfer: add missing includes for function res_init()Sébastien Helleu
2016-08-07core/plugins: Use res_init before getaddrinfo.Raghavendra Prabhu
With weechat, if the network changes in anyway that causes resolv.conf to be updated, that is not picked up, resulting in irc: connecting to server XXXX.com/1026 (SSL)... irc: address "XXX.com" not found irc: error: Name or service not known irc: reconnecting to server in 30 seconds This happens, especially when one connects to an irc server behind a VPN. This can also happen when there is no network connectivity weechat was started but later network is connected to. The fix is simple, it relies on calling res_init (3) before getaddrinfo in network_connect_child and other places. res_init reloads the resolv.conf and getaddrinfo does not fail with address resolution error.
2016-08-02Merge pull request #738 from scumjr/masterSébastien Helleu
irc: fix NULL pointer dereference in 734 command callback
2016-07-17irc: rename server options "default_msg_*" to "msg_*", evaluate themSébastien Helleu
2016-07-09irc: fix typo in a commentSébastien Helleu
2016-06-18api: remove functions printf_date() and printf_tags()Sébastien Helleu
2016-05-27core, irc, xfer: display more information in memory allocation errors (issue ↵Sébastien Helleu
#573)
2016-05-19irc: fix NULL pointer dereference in 734 command callbackscumjr
2016-05-01irc: fix typo in IRC_SERVER_OPTION_SASL_KEY comment (#724)Lieuwe Rooijakkers
2016-04-24irc: fix first message displayed in raw buffer when the message is modified ↵Sébastien Helleu
by a modifier (closes #719)
2016-04-05core: move nick coloring from irc plugin to core (closes #262)Sébastien Helleu
Options moved from irc.conf to weechat.conf: * "irc.look.nick_color_force" moved to "weechat.look.nick_color_force" * "irc.look.nick_color_hash" moved to "weechat.look.nick_color_hash" * "irc.look.nick_color_stop_chars" moved to "weechat.look.nick_color_stop_chars" New info (for API function "info_get"): * "nick_color" (replaces "irc_nick_color") * "nick_color_name" (replaced "irc_nick_color_name") Info "irc_nick_color" and "irc_nick_color_name" are now deprecated. And a bug has been fixed in nick coloring: stop chars are removed before looking at a forced color.
2016-03-21irc: fix crash in SSL connection to the serverSébastien Helleu
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-03-05relay: do not execute any command received from an irc relay client (closes ↵Sébastien Helleu
#699)
2016-02-25irc: complete help of SASL fail optionsSébastien Helleu
2016-02-24core: update translationsSébastien Helleu
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-15core: move irc bar item "away" and two options to core (closes #692)Sébastien Helleu
Options moved: * "irc.look.item_away_message" --> "weechat.look.item_away_message" * "irc.color.item_away" --> "weechat.color.item_away".
2016-02-11irc: use upper case for SASL in messages displayedSébastien Helleu
2016-01-17irc: add missing completion "*" for target in command /msgSébastien Helleu
2016-01-17irc: fix /msg command with multiple targets including "*"Sébastien Helleu
2016-01-17irc: add examples in /help ctcpSébastien Helleu
2016-01-17irc: add a constant with list of supported CTCPs for completion in command /ctcpSébastien Helleu
2016-01-17irc: add missing completion "*" for target in command /ctcpSébastien Helleu
2016-01-17irc: do not exit from function in case of error with "ctcp *"Sébastien Helleu
When "*" is a target in the middle of a list, for example "#chan1,*,#chan2", if there's an error with "*", the CTCP should be sent to #chan1 and #chan2, even if "*" fails (and not only #chan1 like it was previously).
2016-01-17irc: free allocated memory in case of early exit from the functionSébastien Helleu
2016-01-17irc: fix code styleSébastien Helleu
2016-01-17Merge remote-tracking branch 'origin/pr/493'Sé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-03irc: remove argument "clear" from command /cap (issue #8, closes #641)Sébastien Helleu
2016-01-02irc: evaluate content of server option "addresses"Sébastien Helleu
2016-01-01core: update copyright datesSébastien Helleu
2015-12-24irc: fix typoSébastien Helleu
2015-12-24irc: move option irc.network.alternate_nick into servers (closes #633)Sébastien Helleu
2015-12-24core: add a parent name in options (closes #629)Sébastien Helleu
Inherited values are now displayed in /set output when the value is null, if a parent option name is defined in option. New option: weechat.color.chat_value_null
2015-12-20irc: add default color for +y mode prefixChristine Dodrill
2015-12-20irc: add missing field realname in function irc_nick_print_log()Sébastien Helleu
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-11-24irc: add a condition for colon before the password in PASS message (issue #602)Sébastien Helleu
Some weird IRC servers may refuse a PASS command with a colon, so we send a colon only if the password contains spaces or begins with a colon.
2015-11-24irc: add a missing colon before the password in PASS message (closes #602)Sébastien Helleu
2015-11-17irc: use current channel and current server channels first in completions ↵Sébastien Helleu
"irc_channels" and "irc_server_channels" (closes #392)
2015-11-16irc: use current channel first in completion "irc_channels" (task #12923, ↵Sébastien Helleu
issue #392)
2015-11-07irc: disallow /quiet, /unquiet on servers without supportSimmo Saan