Sébastien Helleu
57224f4cee
irc: fix crash on /list buffer when a filter is set (issue #2197 )
2024-10-05 09:17:55 +02:00
Sébastien Helleu
70cd508cf0
irc: fix integer overflow in loops (issue #2178 )
2024-09-07 10:52:57 +02:00
Sébastien Helleu
82a425d226
core, plugins: add missing parentheses when dereferencing a pointer with an array index
2024-09-07 10:52:39 +02:00
Sébastien Helleu
6de0195d0a
irc: fix send of split messages when server option "anti_flood" set to 0 ( closes #2172 )
2024-08-15 19:41:08 +02:00
Sébastien Helleu
fc6811341a
irc: fix typo in comment
2024-08-11 11:57:35 +02:00
Sébastien Helleu
5fe3b38892
irc: convert server option ipv6 from boolean to enum (disable, auto, force) (issue #2164 )
2024-08-06 08:25:42 +02:00
Sébastien Helleu
9ece7b4d8c
core, plugins: fix typo in comments
2024-07-22 11:49:26 +02:00
Sébastien Helleu
cadd04693a
irc: add support of message 569 (whois, connecting from) ( closes #2162 )
2024-07-22 10:39:03 +02:00
Eric Lalonde
5bd581f8cf
irc: fix lag check interval comment
...
The network lag check interval is stored in irc_config_network_lag_check, which does not default to 5 seconds.
2024-07-08 21:59:49 +02:00
Sébastien Helleu
bdfa1bd51c
core, plugins: return "0x0" instead of "(nil)" for pointers formatted in strings
...
This is a partial revert of the commit
965beb37de .
2024-06-22 08:54:08 +02:00
Sébastien Helleu
a75a947f5f
irc: fix apply of custom buffer property "short_name" when a channel buffer is renamed
2024-06-19 21:43:08 +02:00
Sébastien Helleu
7cd8312bf9
irc: fix property "short_name" of channel buffer when the joined channel has a different case than the /join command
2024-06-19 20:52:02 +02:00
Sébastien Helleu
1fcf5ac5b3
core, plugins: force "short_name" in buffers to non-empty value (name by default), remove buffer property "short_name_is_set"
2024-06-18 20:34:58 +02:00
Sébastien Helleu
740aa49271
irc: rename parameter -re to -raw in command /list ( closes #2124 )
2024-06-16 09:15:03 +02:00
Sébastien Helleu
e64ab3c675
core, plugins: replace "%lx" by "%p" in calls to sscanf
2024-06-14 17:59:02 +02:00
Sébastien Helleu
26c01e30c3
core, plugins: remove unneeded break after return
2024-06-10 15:10:25 +02:00
Sébastien Helleu
920d06bd27
core, plugins: fix return code of command callbacks in case of error
2024-06-10 08:17:25 +02:00
Sébastien Helleu
8824ff7d6c
irc: add option -export in command /list, add option irc.look.list_buffer_format_export
2024-06-09 23:15:26 +02:00
Sébastien Helleu
fb86ddc770
irc: clear /list buffer when disconnecting from server ( closes #2133 )
2024-06-09 18:35:22 +02:00
Sébastien Helleu
d63553a73d
irc: display an explicit message on /list buffer when the list of channels is empty (issue #2133 )
2024-06-09 18:34:35 +02:00
Sébastien Helleu
eaead31b11
irc: add option addreplace in command /server (issue #2095 )
2024-06-09 16:58:12 +02:00
Sébastien Helleu
a8525b41b3
irc: add option addreplace in command /notify (issue #2095 )
2024-06-09 16:58:00 +02:00
Sébastien Helleu
b7d2bd5c9e
irc: add option addreplace in command /ignore (issue #2095 )
2024-06-09 16:57:44 +02:00
Sébastien Helleu
e06e4d1457
core, plugins: use variable "argv" in calls to macro COMMAND_MIN_ARGS
2024-06-09 10:53:05 +02:00
Sébastien Helleu
0b1e940829
irc: fix display of input prompt in private buffers ( closes #2128 )
2024-06-05 21:03:44 +02:00
Sébastien Helleu
f104b4119a
irc: don't return pointer to irc server if the channel or nick is not found in info "irc_buffer"
2024-06-02 22:49:41 +02:00
Sébastien Helleu
bf4e47b9f2
core: fix detection of libgcrypt ≥ 1.11 (debian #1071960 )
...
Use pkg-config to detect libgcrypt, since command `libgcrypt-config` is not
available any more.
Remove patches for Debian/Raspbian Buster and Ubuntu Bionic: detection of
libgcrypt don't work any more with version 1.8.4 on Debian Buster and 1.8.1 on
Ubuntu Bionic (both versions don't provide the file `libgcrypt.pc`).
2024-05-27 08:15:59 +02:00
Sébastien Helleu
85c02e9137
irc: close /list buffer when the server buffer is closed ( closes #2121 )
2024-05-27 07:40:03 +02:00
Sébastien Helleu
2488466b0c
irc: fix crash in split of IRC message containing a newline if the server is not given
2024-05-25 19:28:49 +02:00
Sébastien Helleu
839ffc4b0c
irc: store lag in channel and private buffers (local variable "lag"), in addition to the server buffer
2024-05-16 08:23:28 +02:00
Sébastien Helleu
878c0a5d66
irc: allow range in commands /unban and /unquiet ( closes #2113 )
2024-05-13 23:05:39 +02:00
Sébastien Helleu
8009b21803
irc: use dynamic string in function irc_command_mode_masks
2024-05-13 22:50:42 +02:00
Sébastien Helleu
dcb8fcb6ed
irc: rename option irc.color.item_channel_modes to weechat.color.status_modes
2024-05-12 12:46:32 +02:00
Sébastien Helleu
fb4d2d30f4
irc: remove redefinition of bar item "buffer_modes"
...
The new buffer property "modes" is used instead.
2024-05-12 12:46:32 +02:00
Sébastien Helleu
c1083d022d
irc: restore input prompt after upgrade on server and channel buffers
2024-05-12 01:31:54 +02:00
Sébastien Helleu
827a056790
irc: remove redefinition of bar item "input_prompt"
...
The new buffer property "input_prompt" is used instead.
2024-05-11 14:05:52 +02:00
Sébastien Helleu
e69cffd9bc
irc: fix nick comparison in function irc_server_set_nick
2024-05-10 08:27:41 +02:00
Sébastien Helleu
5991278637
irc: rename function irc_server_buffer_set_input_multiline to irc_server_set_buffer_input_multiline
2024-05-09 15:55:31 +02:00
Sébastien Helleu
d85205ca8a
irc: remove unneeded parameter in call to irc_list_alloc()
2024-05-03 07:12:34 +02:00
Sébastien Helleu
a59fa70a94
irc: remove check of NULL pointers before calling weechat_list_free() (issue #865 )
2024-04-26 21:06:47 +02:00
Sébastien Helleu
561dd92d8e
plugins: remove check of NULL pointers before calling weechat_config_option_free() (issue #865 )
2024-04-26 20:59:44 +02:00
Sébastien Helleu
7af01a56ca
plugins: remove check of NULL pointers before calling weechat_string_dyn_free() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
9a5a1fb300
plugins: remove check of NULL pointers before calling weechat_string_free_split() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
0b2d9bcb9b
plugins: remove check of NULL pointers before calling weechat_hashtable_free() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
529a22e342
plugins: remove check of NULL pointers before calling weechat_unhook() (issue #865 )
2024-04-26 08:41:44 +02:00
Sébastien Helleu
3eed74a75c
plugins: remove check of NULL pointers before calling weechat_arraylist_free() (issue #865 )
2024-04-26 07:37:22 +02:00
Sébastien Helleu
2bbf289635
irc: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
89fe540b53
core: add unique "id" in nicklist group and nick (issue #2081 )
...
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-07 13:18:14 +02:00
Sébastien Helleu
40bfded594
irc: fix display of reply for CTCP request received on a channel when capability echo-message is enabled
2024-04-06 22:44:04 +02:00
Sébastien Helleu
74729ce677
irc: display CTCP reply to a nick in server buffer instead of channel
...
When a CTCP request is received on a channel, WeeChat replies to the nick and
it is now displayed in the server buffer instead of the channel, as the target
is a nick and not a channel.
2024-04-06 16:42:15 +02:00