Sébastien Helleu
d79342dafd
tests: add tests on IRC message 337
2023-11-07 21:59:52 +01:00
Sébastien Helleu
999ba00ac6
irc: fix target buffer of IRC message 337 (whois reply: "is hiding their idle time")
2023-11-07 21:51:55 +01:00
Sébastien Helleu
df7a428454
core: fix value of buffer variable "num_history" when the value defined in option weechat.history.max_commands is reached
2023-11-04 17:02:23 +01:00
Sébastien Helleu
1d6eb273c6
relay: close properly connection with the IRC client in case of server disconnection (issue #2038 )
2023-11-04 09:07:24 +01:00
Sébastien Helleu
ae93fa1fef
core: remove incorrect warning when binding keys F10 to F20 (issue #2039 )
2023-11-04 08:38:37 +01:00
Sébastien Helleu
7fabd8068f
core, plugins: set error to NULL before calling strtol()
...
This is not strictly necessary, just in case the function strtol() doesn't
update the pointer.
2023-11-01 14:22:32 +01:00
Sébastien Helleu
a48dd9d481
core: fix memory leak when config version is invalid or not supported
2023-10-30 23:23:58 +01:00
Sébastien Helleu
2ee71c7699
core: check that buffer is not NULL in function gui_chat_printf_date_tags_internal
2023-10-30 23:23:58 +01:00
Sébastien Helleu
c7cf41c357
core: fix use NULL pointer when a config file has no options
2023-10-30 23:23:57 +01:00
Sébastien Helleu
7c21c6b993
logger: remove dead assignment
2023-10-30 23:23:57 +01:00
Sébastien Helleu
563654901c
core: fix crash when "config_version" is present in a configuration file without a value
2023-10-30 23:23:57 +01:00
Sébastien Helleu
517c04ae65
core: display an error on startup if environment variable "HOME" is not set
2023-10-30 23:23:57 +01:00
Sébastien Helleu
a317d0823a
tests: check that environment variable "HOME" is set before using it
2023-10-30 23:07:41 +01:00
Sébastien Helleu
a399d3f68c
ruby: fix use of NULL variable when displaying exception
2023-10-30 23:07:20 +01:00
Sébastien Helleu
b0e4e20205
Version 4.0.7-dev
2023-10-30 23:05:02 +01:00
Sébastien Helleu
5df21f38f3
ci: uninstall php8.1-imagick before build (issue #2009 )
...
When php imagick is installed and when WeeChat is compiled with gcc, there's a
crash when the php plugin is loaded. Newer versions of gcc should fix the
issue, but as in CI we can't easily use them, uninstalling imagick avoids the
crash.
2023-10-28 09:20:08 +02:00
Sébastien Helleu
90e7857e62
Version 4.0.6
v4.0.6
2023-10-26 21:01:46 +02:00
Sébastien Helleu
480d603eb5
core: fix crash when a custom bar item name is already used by a default bar item (issue #2034 )
2023-10-23 13:11:02 +02:00
Sébastien Helleu
3184bb92e6
core: make libintl.h required if CMake option ENABLE_NLS is enabled (issue #2031 )
2023-10-15 14:58:26 +02:00
Sébastien Helleu
753a2adffc
irc: move value -all at the end of completions for command /ignore del
2023-10-09 20:07:39 +02:00
Sébastien Helleu
020c8145b6
irc: fix memory leak when joining channels with keys
2023-10-07 20:34:41 +02:00
Sébastien Helleu
a33f0d2132
core: fix build error if CMake option ENABLE_NLS is turned to off or if required dependencies are not found (issue #2026 )
2023-10-05 19:05:02 +02:00
Sébastien Helleu
7a3ae654be
core: use larger buffer for errors when creating a filter
2023-10-05 19:02:38 +02:00
LuK1337
64403cefc1
core: fix TOTP moving factor on big-endian systems
2023-09-25 13:52:00 +02:00
LuK1337
9621c4381b
tests: use correct data type method in hdata tests
2023-09-25 13:51:05 +02:00
LuK1337
0ff08971aa
tests: cast infolist time variable value to the correct data type
2023-09-25 13:50:58 +02:00
Sébastien Helleu
19bb049325
Version 4.0.6-dev
2023-09-24 09:34:52 +02:00
Sébastien Helleu
e33da6292d
Version 4.0.5
v4.0.5
2023-09-24 09:30:58 +02:00
Sébastien Helleu
be6b27c8f9
core: fix style in ChangeLog
2023-09-24 09:12:21 +02:00
Sébastien Helleu
2d9b133c77
script: only check if return value of plugin_script_search_path is NULL (issue #2019 )
2023-09-22 22:59:21 +02:00
Sébastien Helleu
6c36836182
script: fix removal of script in system directory while trying to install a script (issue #2019 )
2023-09-22 22:53:29 +02:00
Sébastien Helleu
15214f9538
script: fix autoload of multiple scripts at once with /script autoload (issue #2018 )
2023-09-20 20:07:01 +02:00
Sébastien Helleu
7f13bdb51a
irc: add option irc.look.open_pv_buffer_echo_msg (issue #2016 )
2023-09-14 20:22:43 +02:00
Sébastien Helleu
49bbc53d7c
irc: update title in query buffer when remote nick is myself (issue #2016 )
2023-09-14 16:16:39 +02:00
Sébastien Helleu
eb17fa24ee
irc: fix title of query buffer for own messages received (issue #2016 )
2023-09-14 15:30:10 +02:00
Sébastien Helleu
c7d03668f1
irc: open a query buffer on PRIVMSG received from self nick when capability echo-message is NOT enabled (issue #2016 )
2023-09-14 14:54:21 +02:00
Sébastien Helleu
8575546aa2
irc: don't open a new private buffer on /msg command when capability echo-message is enabled (issue #2016 )
2023-09-14 11:21:25 +02:00
Sébastien Helleu
2c716e8154
core: move ChangeLog entry to the appropriate version
2023-09-14 11:12:16 +02:00
Sébastien Helleu
49b1cb06b5
irc: fix title of private buffers wrongly set to own address when capability echo-message is enabled (issue #2016 )
2023-09-14 08:09:34 +02:00
Sébastien Helleu
75a0755107
core: translate error messages (issue #2013 )
2023-09-12 15:12:15 +02:00
Sébastien Helleu
79b03d0680
core: automatically backup config file read if it has an unsupported version (issue #2013 )
2023-09-12 15:03:18 +02:00
Sébastien Helleu
f43ed913f5
xfer: fix memory leak on plugin unload
2023-09-12 15:03:18 +02:00
Sébastien Helleu
1fcbdb3bd9
doc/api: fix return values for callback_read in config_new_section
2023-09-12 15:03:18 +02:00
Sébastien Helleu
1aab82f20b
core: add path in message displayed when a config file is updated to a newer version
2023-09-11 22:50:11 +02:00
Sébastien Helleu
58141bde79
irc: fix autojoin of channels when private buffers are opened (issue #2012 )
2023-09-11 21:43:35 +02:00
Sébastien Helleu
7f6e626122
core: display a message when a configuration file is updated to a newer version
2023-09-11 09:33:39 +02:00
Sébastien Helleu
15860532f3
core: fix style for keys in ChangeLog
2023-08-29 12:32:59 +02:00
Sébastien Helleu
8b7513e883
script: fix crash when a /script command triggers another /script command (issue #923 )
2023-08-27 17:22:09 +02:00
Sébastien Helleu
2566fca78c
irc: use str_nicks only if not NULL in callback of message 353
2023-08-27 17:20:32 +02:00
Trygve Aaberge
a82bfa0e7e
Add compatibility with Python < 3.10 in weechat.pyi
...
The | syntax for unions is only supported in Python 3.10 and later.
Since Python 3.8 and 3.9 are still supported upstream for a while and we
had a user reporting on IRC that they couldn't use the stub file since
they are using 3.8, change to the old syntax for unions to support this.
There aren't really any drawbacks of this. It's just a bit more verbose,
and a typing import is necessary, but neither of those really matters in
a generated stub file.
2023-08-24 19:12:53 +02:00