summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-nick.c
AgeCommit message (Collapse)Author
2024-04-25irc: remove check of NULL pointers before calling free() (issue #865)Sébastien Helleu
2024-04-07core: add unique "id" in nicklist group and nick (issue #2081)Sébastien Helleu
The id is a "long long" variable with the current time (microseconds precision). It is guaranteed to be unique for all groups and nicks inside the buffer, and the same number is never used again in the same buffer, during the lifetime of the process. It persists and is unchanged after `/upgrade`.
2024-04-01core: fix print of pointer valuesSébastien Helleu
2024-01-01core: update copyright datesSébastien Helleu
2023-10-19irc: revert compute of nick colors to case sensitive way, deprecate again ↵Sébastien Helleu
IRC nick color infos (issue #194, issue #2032)
2023-08-26irc: add count for all nick modes in output of `/names` (closes #97)Sébastien Helleu
2023-08-24api: add infos "nick_color_ignore_case" and "nick_color_name_ignore_case" ↵Sébastien Helleu
(issue #194)
2023-08-24irc: compute color in case insensitive way (closes #194)Sébastien Helleu
Reintroduce infos "irc_nick_color" and "irc_nick_color_name" (that were marked deprecated since version 1.5). A server name is added in the two infos and is optional, for backward compatibility.
2023-07-08core: use type "enum" in optionsSébastien Helleu
2023-01-15irc: update message with number of nicks when joining a channelSébastien Helleu
Changed: - "N voices" to "N voiced" - "N normals" to "N regular"
2023-01-01core: update copyright datesSébastien Helleu
2022-01-17core: update copyright datesSébastien Helleu
2021-01-30irc: add function irc_server_get_chantypesSébastien Helleu
2021-01-30irc: use server option "default_chantypes" as fallback in function ↵Sébastien Helleu
irc_nick_is_nick
2021-01-02core: update copyright datesSébastien Helleu
2020-06-21irc: check that the first nick char is not a prefix char or chantype in ↵Sébastien Helleu
function irc_nick_is_nick
2020-06-20irc: add support of UTF8MAPPING, add support of optional server in info ↵Sébastien Helleu
"irc_is_nick" (closes #1528)
2020-02-09irc: fix crash when a new message 005 is received with longer nick prefixesSébastien Helleu
Thanks to Stuart Nevans Locke for reporting the issue.
2020-01-04core: update copyright datesSébastien Helleu
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