summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-nick.c
AgeCommit message (Collapse)Author
2019-05-14irc: add extra check on argument "nick" in functions "irc_nick_set_*"Sébastien Helleu
2019-05-10irc: add bar items "irc_nick", "irc_host" and "irc_nick_host"Sébastien Helleu
2019-05-10irc: add variable "nick_host" in server structureSébastien Helleu
2019-04-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-04-02irc: always set nick away status on WHO response (sent manually or ↵Sébastien Helleu
automatically with server option "away_check")
2018-04-02irc: allocate the string "prefix" in nickSébastien Helleu
This fixes a crash when calling the function hdata_string on the "prefix" variable in the nick.
2018-01-07core: fix some stylesSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-08-19Revert "irc: do not use away color for nicks in nicklist if option ↵Sébastien Helleu
irc.look.color_nicks_in_nicklist is on" This reverts commit 0c86e742c588cf38a93f2f89dea5f96c48e7d0f9.
2017-08-19irc: do not use away color for nicks in nicklist if option ↵Sébastien Helleu
irc.look.color_nicks_in_nicklist is on
2017-06-20irc: fix update of nick prefixes when the names are received in message 353 ↵Sébastien Helleu
(closes #1022) This regression was introduced by commit fadee506642ee80f42027816cc6cb758dcb68011 (issue #1019)
2017-06-17irc: don't reset nick properties (prefixes/away/account/realname) on /names ↵Sébastien Helleu
when the nick already exists (closes #1019)
2017-06-10core, plugins: fix conditions to insert elements in linked listsSébastien Helleu
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-01-01core: update copyright datesSébastien Helleu
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-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-01-01core: update copyright datesSébastien Helleu
2015-12-20irc: add missing field realname in function irc_nick_print_log()Sébastien Helleu
2015-12-20Merge remote-tracking branch 'origin/pr/351'Sébastien Helleu
2015-07-04core: add missing comments before functions when the result must be freed ↵Sébastien Helleu
after use
2015-03-07irc: track realnames using extended-join and WHOMax Teufel
2015-01-25irc: add "account" in irc_nick_print_log()Sébastien Helleu
2015-01-25irc: add "account" in irc_nick hdataSébastien Helleu
2015-01-25irc: remove useless save of variables in irc_nick_new() when updating nickSébastien Helleu
2015-01-25irc: change type of "account" parameter to "const char *" in irc_nick_new()Sébastien Helleu
2015-01-24irc: add support for CAP account-notifyMax Teufel
2015-01-01core: update copyright datesSébastien Helleu
2014-11-01irc: reformat some code to make it more readableSébastien Helleu
2014-11-01irc: add argument "server_message" in function irc_nick_color_for_msgSébastien Helleu
2014-08-10irc: free nick immediately in case of malloc errorSébastien Helleu
2014-03-30irc: allow "$ident" in option irc.network.ban_mask_default (closes #18)Sébastien Helleu
2014-03-30irc: add support of "away-notify" capability (closes #12)Sébastien Helleu
2014-01-09core: optimize xxx_valid() functions: return immediately if pointer is NULLSebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-12-08irc: don't return a default ban mask if option is not set or if host is not ↵Sebastien Helleu
found
2013-12-07irc: rename option irc.look.ban_mask_default to irc.network.ban_mask_defaultSebastien Helleu
2013-12-07irc: add option irc.look.ban_mask_default (bug #26571)Sebastien Helleu
2013-11-07irc: fix groups in channel nicklist when reconnecting to a server that ↵Sebastien Helleu
supports more nick prefixes than the previously connected server
2013-07-19irc: fix self nick color in server messages after nick is changed with /nick ↵Sebastien Helleu
(bug #39415)
2013-06-29irc: fix uninitialized variable "color" when hashing nickname to find colorSebastien Helleu
2013-06-02irc: add option irc.look.nick_color_hash: hash algorithm to find nick color ↵Sebastien Helleu
(patch #8062)
2013-04-29core: make nick prefix/suffix dynamic (move options from irc plugin to core, ↵Sebastien Helleu
add logger options) (bug #37531)
2013-04-23irc: add support of UHNAMES (capability "userhost-in-names") (task #9353)Sebastien Helleu
2013-03-21irc: fix prefix color for nick when the prefix is not in ↵Sebastien Helleu
irc.color.nick_prefixes: use default color (key "*") Problem was happening on a server which has "PREFIX=(Yqaohv)!~&@%+". Users with prefix "!" were displayed as lightred (color for "~") instead of lightblue (default key "*"). When a prefix was not found, WeeChat was looping on other prefixes (in order). Now if color is not found, WeeChat uses immediately the fallback color.
2013-03-17core: fix typos in many comments and some stringsSebastien Helleu
2013-01-25irc: add color in output of /names when result is on server buffer (channel ↵Sebastien Helleu
not joined) (bug #38070)
2013-01-01core: update copyright datesSebastien Helleu
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu