]> jfr.im git - irc/weechat/weechat.git/log
irc/weechat/weechat.git
6 months agocore, plugins: set error to NULL before calling strtol() origin/4.1
Sébastien Helleu [Wed, 1 Nov 2023 13:17:15 +0000 (14:17 +0100)] 
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.

6 months agocore: fix memory leak when config version is invalid or not supported
Sébastien Helleu [Mon, 30 Oct 2023 11:25:28 +0000 (12:25 +0100)] 
core: fix memory leak when config version is invalid or not supported

6 months agocore: check that buffer is not NULL in function gui_chat_printf_date_tags_internal
Sébastien Helleu [Mon, 30 Oct 2023 11:16:31 +0000 (12:16 +0100)] 
core: check that buffer is not NULL in function gui_chat_printf_date_tags_internal

6 months agocore: fix use NULL pointer when a config file has no options
Sébastien Helleu [Mon, 30 Oct 2023 11:13:55 +0000 (12:13 +0100)] 
core: fix use NULL pointer when a config file has no options

6 months agologger: remove dead assignment
Sébastien Helleu [Mon, 30 Oct 2023 11:11:02 +0000 (12:11 +0100)] 
logger: remove dead assignment

6 months agoxfer: fix use of uninitialized variable when adding a new xfer
Sébastien Helleu [Mon, 30 Oct 2023 11:28:00 +0000 (12:28 +0100)] 
xfer: fix use of uninitialized variable when adding a new xfer

6 months agoxfer: fix use of NULL pointer in strrchr()
Sébastien Helleu [Mon, 30 Oct 2023 11:09:57 +0000 (12:09 +0100)] 
xfer: fix use of NULL pointer in strrchr()

6 months agocore: fix crash when "config_version" is present in a configuration file without...
Sébastien Helleu [Mon, 30 Oct 2023 07:55:47 +0000 (08:55 +0100)] 
core: fix crash when "config_version" is present in a configuration file without a value

6 months agocore: display an error on startup if environment variable "HOME" is not set
Sébastien Helleu [Mon, 30 Oct 2023 07:48:36 +0000 (08:48 +0100)] 
core: display an error on startup if environment variable "HOME" is not set

6 months agotests: check that environment variable "HOME" is set before using it
Sébastien Helleu [Mon, 30 Oct 2023 07:45:44 +0000 (08:45 +0100)] 
tests: check that environment variable "HOME" is set before using it

6 months agoruby: fix use of NULL variable when displaying exception
Sébastien Helleu [Mon, 30 Oct 2023 07:29:55 +0000 (08:29 +0100)] 
ruby: fix use of NULL variable when displaying exception

6 months agoVersion 4.1.2-dev
Sébastien Helleu [Mon, 30 Oct 2023 22:24:34 +0000 (23:24 +0100)] 
Version 4.1.2-dev

6 months agoci: uninstall php8.1-imagick before build (issue #2009)
Sébastien Helleu [Sat, 28 Oct 2023 07:07:56 +0000 (09:07 +0200)] 
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.

6 months agoVersion 4.1.1 v4.1.1
Sébastien Helleu [Thu, 26 Oct 2023 19:13:53 +0000 (21:13 +0200)] 
Version 4.1.1

6 months agoVersion 4.1.1-dev
Sébastien Helleu [Thu, 26 Oct 2023 19:12:39 +0000 (21:12 +0200)] 
Version 4.1.1-dev

6 months agocore: add version 4.0.6 in ChangeLog and release notes
Sébastien Helleu [Thu, 26 Oct 2023 19:11:07 +0000 (21:11 +0200)] 
core: add version 4.0.6 in ChangeLog and release notes

6 months agocore: fix crash when a custom bar item name is already used by a default bar item...
Sébastien Helleu [Mon, 23 Oct 2023 11:11:02 +0000 (13:11 +0200)] 
core: fix crash when a custom bar item name is already used by a default bar item (issue #2034)

6 months agocore: fix random timeouts when a lot of concurrent processes are launched with hook_p...
Sébastien Helleu [Fri, 20 Oct 2023 19:00:22 +0000 (21:00 +0200)] 
core: fix random timeouts when a lot of concurrent processes are launched with hook_process (issue #2033)

7 months agocore: update translations (issue #194, issue #2032)
Sébastien Helleu [Thu, 19 Oct 2023 21:57:25 +0000 (23:57 +0200)] 
core: update translations (issue #194, issue #2032)

7 months agoirc: revert compute of nick colors to case sensitive way, deprecate again IRC nick...
Sébastien Helleu [Thu, 19 Oct 2023 21:31:49 +0000 (23:31 +0200)] 
irc: revert compute of nick colors to case sensitive way, deprecate again IRC nick color infos (issue #194, issue #2032)

7 months agocore: make libintl.h required if CMake option ENABLE_NLS is enabled (issue #2031)
Sébastien Helleu [Sun, 15 Oct 2023 12:58:26 +0000 (14:58 +0200)] 
core: make libintl.h required if CMake option ENABLE_NLS is enabled (issue #2031)

7 months agocore: update French translations
Sébastien Helleu [Sun, 15 Oct 2023 13:47:04 +0000 (15:47 +0200)] 
core: update French translations

7 months agoVersion 4.1.0 v4.1.0
Sébastien Helleu [Sun, 15 Oct 2023 07:02:57 +0000 (09:02 +0200)] 
Version 4.1.0

7 months agodebian: update changelog
Sébastien Helleu [Sun, 15 Oct 2023 06:46:45 +0000 (08:46 +0200)] 
debian: update changelog

7 months agocore: call curl init and cleanup functions
Sébastien Helleu [Fri, 13 Oct 2023 21:03:00 +0000 (23:03 +0200)] 
core: call curl init and cleanup functions

This is to prevent issues when these functions are not thread-safe.

7 months agocore: only print hook_url errors when debug is enabled
Trygve Aaberge [Fri, 13 Oct 2023 07:33:36 +0000 (09:33 +0200)] 
core: only print hook_url errors when debug is enabled

Errors from hook_url should be handled by the caller, so don't print
them to the core buffer by default. Only print them when
weechat_debug_core is enabled. This was already the behavior for the
timeout error.

7 months agocore: add error codes to output in hook_url
Trygve Aaberge [Fri, 13 Oct 2023 07:26:00 +0000 (09:26 +0200)] 
core: add error codes to output in hook_url

When hook_url fails, add an error_code field in the output in addition
to the error field. This is so the caller can get which error happened
programatically, without having to parse the (possibly translated) error
string.

It uses the same error codes as the return_code in hook_process, and in
addition adds 5 for an error from pthread_create and 6 for a timeout
error. If the error is from pthread_create, an additional field
`error_code_pthread` with the error code from pthread_create is added.
If the error is from curl, an additional field `error_code_curl` with
the error code from curl is added.

7 months agocore: run hook_url callback when pthread_create failed
Trygve Aaberge [Fri, 13 Oct 2023 07:25:39 +0000 (09:25 +0200)] 
core: run hook_url callback when pthread_create failed

7 months agocore: set "error" field of "output" hashtable in hook_url in case of transfer timeout
Sébastien Helleu [Fri, 13 Oct 2023 06:14:31 +0000 (08:14 +0200)] 
core: set "error" field of "output" hashtable in hook_url in case of transfer timeout

7 months agocore: update German translations
Nils Görs [Wed, 11 Oct 2023 05:52:02 +0000 (07:52 +0200)] 
core: update German translations

7 months agocore: fix zombie processes remaining after the end of forked processes (closes #1994)
Sébastien Helleu [Tue, 10 Oct 2023 17:23:43 +0000 (19:23 +0200)] 
core: fix zombie processes remaining after the end of forked processes (closes #1994)

The clean of processes with waitpid() is now delayed after the kill(), so that
there are no more zombies.

In addition, this can be done manually if needed with `/sys waitpid`.

7 months agoirc: move value `-all` at the end of completions for command `/ignore del`
Sébastien Helleu [Mon, 9 Oct 2023 18:06:52 +0000 (20:06 +0200)] 
irc: move value `-all` at the end of completions for command `/ignore del`

7 months agoirc: fix memory leak when joining channels with keys
Sébastien Helleu [Sat, 7 Oct 2023 18:33:42 +0000 (20:33 +0200)] 
irc: fix memory leak when joining channels with keys

7 months agocore: fix build error if CMake option ENABLE_NLS is turned to off or if required...
Sébastien Helleu [Thu, 5 Oct 2023 17:05:02 +0000 (19:05 +0200)] 
core: fix build error if CMake option ENABLE_NLS is turned to off or if required dependencies are not found (closes #2026)

7 months agocore: use larger buffer for errors when creating a filter
Sébastien Helleu [Thu, 5 Oct 2023 17:02:38 +0000 (19:02 +0200)] 
core: use larger buffer for errors when creating a filter

7 months agocore: update German translations
Nils Görs [Thu, 5 Oct 2023 06:44:28 +0000 (08:44 +0200)] 
core: update German translations

7 months agocore: update ChangeLog (issue #2024)
Sébastien Helleu [Sun, 1 Oct 2023 14:43:48 +0000 (16:43 +0200)] 
core: update ChangeLog (issue #2024)

7 months agocore: make zstd dependency optional (closes #2024)
Sébastien Helleu [Sun, 1 Oct 2023 14:36:32 +0000 (16:36 +0200)] 
core: make zstd dependency optional (closes #2024)

7 months agobuflist: rename completions with items
Sébastien Helleu [Sun, 1 Oct 2023 10:14:03 +0000 (12:14 +0200)] 
buflist: rename completions with items

Completions renamed:

- "buflist_all_items" -> "buflist_items"
- "buflist_used_items" -> "buflist_items_used"

7 months agobuflist: add support of item names in command `/buflist refresh`
Sébastien Helleu [Sun, 1 Oct 2023 07:58:19 +0000 (09:58 +0200)] 
buflist: add support of item names in command `/buflist refresh`

7 months agocore, relay: make inet_pton() return value checks more strict
LuK1337 [Tue, 26 Sep 2023 15:14:37 +0000 (17:14 +0200)] 
core, relay: make inet_pton() return value checks more strict

inet_pton() can return values < 0.

7 months agocore: add contributor
Sébastien Helleu [Tue, 26 Sep 2023 15:14:10 +0000 (17:14 +0200)] 
core: add contributor

7 months agocore: replace inet_addr() with inet_pton()
LuK1337 [Tue, 26 Sep 2023 13:33:36 +0000 (15:33 +0200)] 
core: replace inet_addr() with inet_pton()

man pages as well as rpminspect suggest that we shouldn't be using
inet_addr().

7 months agocore: update ChangeLog
Sébastien Helleu [Mon, 25 Sep 2023 11:50:32 +0000 (13:50 +0200)] 
core: update ChangeLog

7 months agocore: fix TOTP moving factor on big-endian systems
LuK1337 [Sun, 24 Sep 2023 19:36:11 +0000 (21:36 +0200)] 
core: fix TOTP moving factor on big-endian systems

7 months agotests: use correct data type method in hdata tests
LuK1337 [Sun, 24 Sep 2023 18:40:54 +0000 (20:40 +0200)] 
tests: use correct data type method in hdata tests

7 months agotests: cast infolist time variable value to the correct data type
LuK1337 [Sun, 24 Sep 2023 18:39:36 +0000 (20:39 +0200)] 
tests: cast infolist time variable value to the correct data type

7 months agocore: add version 4.0.5
Sébastien Helleu [Sun, 24 Sep 2023 08:24:26 +0000 (10:24 +0200)] 
core: add version 4.0.5

7 months agoirc: display "owner" for +q and "admin" for +a in output of `/names` (closes #2020...
Sébastien Helleu [Fri, 22 Sep 2023 21:21:22 +0000 (23:21 +0200)] 
irc: display "owner" for +q and "admin" for +a in output of `/names` (closes #2020, issue #97)

7 months agocore: update translations
Sébastien Helleu [Fri, 22 Sep 2023 21:12:32 +0000 (23:12 +0200)] 
core: update translations

7 months agoscript: only check if return value of plugin_script_search_path is NULL (issue #2019)
Sébastien Helleu [Fri, 22 Sep 2023 20:58:51 +0000 (22:58 +0200)] 
script: only check if return value of plugin_script_search_path is NULL (issue #2019)

7 months agoscript: fix removal of script in system directory while trying to install a script...
Sébastien Helleu [Fri, 22 Sep 2023 20:51:44 +0000 (22:51 +0200)] 
script: fix removal of script in system directory while trying to install a script (closes #2019)

7 months agoscript: fix autoload of multiple scripts at once with `/script autoload` (closes...
Sébastien Helleu [Wed, 20 Sep 2023 18:05:49 +0000 (20:05 +0200)] 
script: fix autoload of multiple scripts at once with `/script autoload` (closes #2018)

8 months agotests: fix condition on libgcrypt version for algorithms `sha512-224` and `sha512...
Sébastien Helleu [Wed, 20 Sep 2023 04:56:56 +0000 (06:56 +0200)] 
tests: fix condition on libgcrypt version for algorithms `sha512-224` and `sha512-256` (issue #2008)

8 months agodoc/api: use a table for file_in/file_out options in function hook_url
Sébastien Helleu [Sat, 16 Sep 2023 10:55:32 +0000 (12:55 +0200)] 
doc/api: use a table for file_in/file_out options in function hook_url

8 months agodoc/api: add link to hook_url in hook_process_hashtable for Curl options
Sébastien Helleu [Sat, 16 Sep 2023 08:28:08 +0000 (10:28 +0200)] 
doc/api: add link to hook_url in hook_process_hashtable for Curl options

8 months agocore: properly terminate thread and release memory in url hook
Sébastien Helleu [Fri, 15 Sep 2023 06:12:02 +0000 (08:12 +0200)] 
core: properly terminate thread and release memory in url hook

8 months agodoc/api: add function hook_url
Sébastien Helleu [Fri, 8 Sep 2023 15:07:24 +0000 (17:07 +0200)] 
doc/api: add function hook_url

8 months agoscripts: add function hook_url in scripting API
Sébastien Helleu [Fri, 8 Sep 2023 15:07:03 +0000 (17:07 +0200)] 
scripts: add function hook_url in scripting API

8 months agoscript: replace hook_process_hashtable by hook_url to download scripts and list of...
Sébastien Helleu [Fri, 8 Sep 2023 09:35:12 +0000 (11:35 +0200)] 
script: replace hook_process_hashtable by hook_url to download scripts and list of scripts (closes #1723)

8 months agoapi: add function hook_url
Sébastien Helleu [Fri, 8 Sep 2023 09:34:56 +0000 (11:34 +0200)] 
api: add function hook_url

8 months agodoc/faq: add question about move of WeeChat config to another device
Sébastien Helleu [Sat, 16 Sep 2023 07:46:50 +0000 (09:46 +0200)] 
doc/faq: add question about move of WeeChat config to another device

8 months agodoc/faq: add question about keys like Enter and version 4.0.0
Sébastien Helleu [Fri, 15 Sep 2023 16:57:00 +0000 (18:57 +0200)] 
doc/faq: add question about keys like Enter and version 4.0.0

8 months agocore: update German translations
Nils Görs [Fri, 15 Sep 2023 10:48:22 +0000 (12:48 +0200)] 
core: update German translations

8 months agoscript: rename parameters up/down/go to -up/-down/-go in command `/script`
Sébastien Helleu [Fri, 15 Sep 2023 06:43:37 +0000 (08:43 +0200)] 
script: rename parameters up/down/go to -up/-down/-go in command `/script`

8 months agoxfer: fix crash on `/dcc chat`
Sébastien Helleu [Thu, 14 Sep 2023 18:48:58 +0000 (20:48 +0200)] 
xfer: fix crash on `/dcc chat`

8 months agoirc: add option irc.look.open_pv_buffer_echo_msg (issue #2016)
Sébastien Helleu [Thu, 14 Sep 2023 18:19:05 +0000 (20:19 +0200)] 
irc: add option irc.look.open_pv_buffer_echo_msg (issue #2016)

8 months agoirc: update title in query buffer when remote nick is myself (issue #2016)
Sébastien Helleu [Thu, 14 Sep 2023 14:15:09 +0000 (16:15 +0200)] 
irc: update title in query buffer when remote nick is myself (issue #2016)

8 months agoirc: fix title of query buffer for own messages received (issue #2016)
Sébastien Helleu [Thu, 14 Sep 2023 13:22:11 +0000 (15:22 +0200)] 
irc: fix title of query buffer for own messages received (issue #2016)

8 months agoirc: open a query buffer on PRIVMSG received from self nick when capability echo...
Sébastien Helleu [Thu, 14 Sep 2023 12:51:50 +0000 (14:51 +0200)] 
irc: open a query buffer on PRIVMSG received from self nick when capability echo-message is NOT enabled (issue #2016)

8 months agoirc: don't open a new private buffer on `/msg` command when capability echo-message...
Sébastien Helleu [Thu, 14 Sep 2023 09:10:17 +0000 (11:10 +0200)] 
irc: don't open a new private buffer on `/msg` command when capability echo-message is enabled (closes #2016)

8 months agocore: move ChangeLog entry to the appropriate version
Sébastien Helleu [Thu, 14 Sep 2023 09:07:42 +0000 (11:07 +0200)] 
core: move ChangeLog entry to the appropriate version

8 months agocore: update German translations
Nils Görs [Thu, 14 Sep 2023 06:45:01 +0000 (08:45 +0200)] 
core: update German translations

8 months agoirc: fix title of private buffers wrongly set to own address when capability echo...
Sébastien Helleu [Thu, 14 Sep 2023 06:04:44 +0000 (08:04 +0200)] 
irc: fix title of private buffers wrongly set to own address when capability echo-message is enabled (issue #2016)

8 months agocore: add algorithms `sha512-224`, `sha512-256`, `sha3-*`, blake2b-*` and `blake2s...
Sébastien Helleu [Wed, 13 Sep 2023 13:10:19 +0000 (15:10 +0200)] 
core: add algorithms `sha512-224`, `sha512-256`, `sha3-*`, blake2b-*` and `blake2s-*` in option sec.crypt.hash_algo (closes #2008)

8 months agoapi: add algorithms `sha512-224`, `sha512-256`, blake2b-*` and `blake2s-*` in hash...
Sébastien Helleu [Sun, 10 Sep 2023 12:02:58 +0000 (14:02 +0200)] 
api: add algorithms `sha512-224`, `sha512-256`, blake2b-*` and `blake2s-*` in hash functions (issue #2008)

8 months agocore: update German translations
Nils Görs [Wed, 13 Sep 2023 08:19:54 +0000 (10:19 +0200)] 
core: update German translations

8 months agocore: translate error messages (issue #2013)
Sébastien Helleu [Tue, 12 Sep 2023 13:09:00 +0000 (15:09 +0200)] 
core: translate error messages (issue #2013)

8 months agocore: automatically backup config file read if it has an unsupported version (closes...
Sébastien Helleu [Tue, 12 Sep 2023 12:59:25 +0000 (14:59 +0200)] 
core: automatically backup config file read if it has an unsupported version (closes #2013)

8 months agoxfer: fix memory leak on plugin unload
Sébastien Helleu [Tue, 12 Sep 2023 11:38:14 +0000 (13:38 +0200)] 
xfer: fix memory leak on plugin unload

8 months agodoc/api: fix return values for callback_read in config_new_section
Sébastien Helleu [Tue, 12 Sep 2023 11:35:02 +0000 (13:35 +0200)] 
doc/api: fix return values for callback_read in config_new_section

8 months agoirc: fix unexpected message sent to server when part of the second line of an IRC...
Sébastien Helleu [Tue, 12 Sep 2023 06:14:23 +0000 (08:14 +0200)] 
irc: fix unexpected message sent to server when part of the second line of an IRC command (closes #1992)

8 months agocore: add path in message displayed when a config file is updated to a newer version
Sébastien Helleu [Mon, 11 Sep 2023 20:49:21 +0000 (22:49 +0200)] 
core: add path in message displayed when a config file is updated to a newer version

8 months agoirc: fix autojoin of channels when private buffers are opened (closes #2012)
Sébastien Helleu [Mon, 11 Sep 2023 19:41:47 +0000 (21:41 +0200)] 
irc: fix autojoin of channels when private buffers are opened (closes #2012)

8 months agoirc: reset filter and sort when /list buffer is closed (issue #1972)
Sébastien Helleu [Mon, 11 Sep 2023 14:40:45 +0000 (16:40 +0200)] 
irc: reset filter and sort when /list buffer is closed (issue #1972)

8 months agocore: update German translations
Nils Görs [Mon, 11 Sep 2023 09:21:54 +0000 (11:21 +0200)] 
core: update German translations

8 months agocore: display a message when a configuration file is updated to a newer version
Sébastien Helleu [Mon, 11 Sep 2023 07:53:17 +0000 (09:53 +0200)] 
core: display a message when a configuration file is updated to a newer version

8 months agocore: update German translations
Nils Görs [Mon, 11 Sep 2023 06:44:14 +0000 (08:44 +0200)] 
core: update German translations

8 months agobuflist: add missing items buflist4 and buflist5 in help on command/options and user...
Sébastien Helleu [Mon, 11 Sep 2023 05:55:54 +0000 (07:55 +0200)] 
buflist: add missing items buflist4 and buflist5 in help on command/options and user's guide

8 months agocore: update German translations
Nils Görs [Sat, 9 Sep 2023 19:03:38 +0000 (21:03 +0200)] 
core: update German translations

8 months agodoc/user: add missing actions on script buffer
Sébastien Helleu [Sat, 9 Sep 2023 09:26:04 +0000 (11:26 +0200)] 
doc/user: add missing actions on script buffer

8 months agodoc/user: add missing key alt+L (input `L`) on script buffer
Sébastien Helleu [Sat, 9 Sep 2023 09:10:50 +0000 (11:10 +0200)] 
doc/user: add missing key alt+L (input `L`) on script buffer

8 months agoscripts: add functions config_enum and config_enum_default in scripting API (issue...
Sébastien Helleu [Sat, 9 Sep 2023 06:54:33 +0000 (08:54 +0200)] 
scripts: add functions config_enum and config_enum_default in scripting API (issue #1973)

8 months agodoc/user: add missing actions `p` and `v` on fset buffer
Sébastien Helleu [Fri, 8 Sep 2023 18:22:59 +0000 (20:22 +0200)] 
doc/user: add missing actions `p` and `v` on fset buffer

8 months agoxfer: display an error message when opening file for read or write fails (issue ...
Sébastien Helleu [Fri, 8 Sep 2023 11:06:28 +0000 (13:06 +0200)] 
xfer: display an error message when opening file for read or write fails (issue #2010)

8 months agocore: update translations
Sébastien Helleu [Fri, 8 Sep 2023 11:02:36 +0000 (13:02 +0200)] 
core: update translations

8 months agoscript: fix up/down keys on /script buffer
Sébastien Helleu [Fri, 8 Sep 2023 08:42:00 +0000 (10:42 +0200)] 
script: fix up/down keys on /script buffer

Regression was introduced in commit 817d1eaf8e0be700bf9b61dcbaf9db7ab507d3af.

8 months agocore: update German translations
Nils Görs [Fri, 8 Sep 2023 05:56:48 +0000 (07:56 +0200)] 
core: update German translations

8 months agocore: add completion "eval_variables", used in completion of `/eval`
Sébastien Helleu [Thu, 7 Sep 2023 09:38:26 +0000 (11:38 +0200)] 
core: add completion "eval_variables", used in completion of `/eval`

8 months agocore: fix comment on function eval_replace_vars_cb
Sébastien Helleu [Thu, 7 Sep 2023 09:30:54 +0000 (11:30 +0200)] 
core: fix comment on function eval_replace_vars_cb