]> jfr.im git - irc/weechat/weechat.git/log
irc/weechat/weechat.git
6 months agoirc: update help on color remap options, update translations (issue #2025) origin/HEAD origin/master
Sébastien Helleu [Wed, 1 Nov 2023 13:29:25 +0000 (14:29 +0100)] 
irc: update help on color remap options, update translations (issue #2025)

6 months agoirc: add option irc.color.term_remap (closes #2025)
Sébastien Helleu [Wed, 1 Nov 2023 12:56:40 +0000 (13:56 +0100)] 
irc: add option irc.color.term_remap (closes #2025)

6 months agoirc: add support of RGB colors in messages (issue #2025)
Sébastien Helleu [Wed, 1 Nov 2023 12:21:06 +0000 (13:21 +0100)] 
irc: add support of RGB colors in messages (issue #2025)

This is made using standard color code '\x04' followed by text color (RGB as
hexadecimal) and optional background (RGB as hexadecimal).

6 months agocore, plugins: set error to NULL before calling strtol()
Sébastien Helleu [Wed, 1 Nov 2023 08:53:38 +0000 (09:53 +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: display an error with command `/history N` when N is not a valid integer
Sébastien Helleu [Wed, 1 Nov 2023 08:09:00 +0000 (09:09 +0100)] 
core: display an error with command `/history N` when N is not a valid integer

6 months agotrigger: rename local variable "trigger_filter" to "filter" on monitor buffer (closes...
Sébastien Helleu [Mon, 30 Oct 2023 22:41:28 +0000 (23:41 +0100)] 
trigger: rename local variable "trigger_filter" to "filter" on monitor buffer (closes #2037)

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: fix memory leak when infolist variable can not be created
Sébastien Helleu [Mon, 30 Oct 2023 11:20:01 +0000 (12:20 +0100)] 
core: fix memory leak when infolist variable can not be created

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 agoirc: add tags "nick_xxx" and "host_xxx" in all messages, including self and server...
Sébastien Helleu [Mon, 30 Oct 2023 07:23:20 +0000 (08:23 +0100)] 
irc: add tags "nick_xxx" and "host_xxx" in all messages, including self and server messages

6 months agoci: uninstall php8.1-imagick before build (issue #2009) master
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 agocore: add version 4.1.1
Sébastien Helleu [Thu, 26 Oct 2023 19:25:45 +0000 (21:25 +0200)] 
core: add version 4.1.1

6 months agocore: add version 4.0.6
Sébastien Helleu [Thu, 26 Oct 2023 19:22:53 +0000 (21:22 +0200)] 
core: add version 4.0.6

6 months agocore: display only version with command `/version`, add options `-o` and `-ol` in...
Sébastien Helleu [Thu, 26 Oct 2023 18:42:23 +0000 (20:42 +0200)] 
core: display only version with command `/version`, add options `-o` and `-ol` in command `/upgrade`

6 months agocore: update German translations
Nils Görs [Tue, 24 Oct 2023 14:56:23 +0000 (16:56 +0200)] 
core: update German translations

6 months agocore: update German translations
Nils Görs [Tue, 24 Oct 2023 07:22:48 +0000 (09:22 +0200)] 
core: update German translations

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 (closes #2034)

6 months agocore: update German translations
Nils Görs [Mon, 23 Oct 2023 09:28:58 +0000 (11:28 +0200)] 
core: update German translations

6 months agocore: add number of processes in command `/sys waitpid`
Sébastien Helleu [Sun, 22 Oct 2023 19:02:41 +0000 (21:02 +0200)] 
core: add number of processes in command `/sys waitpid`

7 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 (closes #2033)

7 months agocore: update translations (issue #2005)
Sébastien Helleu [Fri, 20 Oct 2023 11:16:40 +0000 (13:16 +0200)] 
core: update translations (issue #2005)

7 months agologger: add description for examples in help on command `/logger` (issue #2005)
Sébastien Helleu [Fri, 20 Oct 2023 11:16:07 +0000 (13:16 +0200)] 
logger: add description for examples in help on command `/logger` (issue #2005)

7 months agoirc: add description for examples in help on some commands (issue #2005)
Sébastien Helleu [Fri, 20 Oct 2023 11:15:07 +0000 (13:15 +0200)] 
irc: add description for examples in help on some commands (issue #2005)

Help is updated on these commands:

- `/allchan`
- `/allpv`
- `/allserv`

7 months agocore: add description for examples in help on some commands (issue #2005)
Sébastien Helleu [Fri, 20 Oct 2023 11:13:27 +0000 (13:13 +0200)] 
core: add description for examples in help on some commands (issue #2005)

Help is updated on these commands:

- `/allbuf`
- `/bar`
- `/print`
- `/repeat`
- `/secure`
- `/wait`

7 months agocore: update translations (issue #194, issue #2032)
Sébastien Helleu [Thu, 19 Oct 2023 21:59:15 +0000 (23:59 +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: update translations (issue #2005)
Sébastien Helleu [Mon, 16 Oct 2023 21:38:55 +0000 (23:38 +0200)] 
core: update translations (issue #2005)

7 months agoxfer: format and translate commands line by line (issue #2005)
Sébastien Helleu [Sat, 9 Sep 2023 19:21:55 +0000 (21:21 +0200)] 
xfer: format and translate commands line by line (issue #2005)

7 months agotrigger: format and translate command line by line (issue #2005)
Sébastien Helleu [Sat, 9 Sep 2023 19:20:17 +0000 (21:20 +0200)] 
trigger: format and translate command line by line (issue #2005)

7 months agospell: format and translate command line by line (issue #2005)
Sébastien Helleu [Sat, 9 Sep 2023 19:13:10 +0000 (21:13 +0200)] 
spell: format and translate command line by line (issue #2005)

7 months agorelay: format and translate command line by line (issue #2005)
Sébastien Helleu [Sat, 9 Sep 2023 16:31:59 +0000 (18:31 +0200)] 
relay: format and translate command line by line (issue #2005)

7 months agoscript: format and translate commands line by line (issue #2005)
Sébastien Helleu [Sat, 9 Sep 2023 16:14:09 +0000 (18:14 +0200)] 
script: format and translate commands line by line (issue #2005)

7 months agologger: format and translate command line by line (issue #2005)
Sébastien Helleu [Sat, 9 Sep 2023 08:38:32 +0000 (10:38 +0200)] 
logger: format and translate command line by line (issue #2005)

7 months agoirc: format and translate commands line by line (issue #2005)
Sébastien Helleu [Fri, 8 Sep 2023 19:21:43 +0000 (21:21 +0200)] 
irc: format and translate commands line by line (issue #2005)

7 months agofset: format and translate command line by line (issue #2005)
Sébastien Helleu [Fri, 8 Sep 2023 18:35:22 +0000 (20:35 +0200)] 
fset: format and translate command line by line (issue #2005)

7 months agofifo: format and translate command line by line (issue #2005)
Sébastien Helleu [Fri, 8 Sep 2023 15:23:08 +0000 (17:23 +0200)] 
fifo: format and translate command line by line (issue #2005)

7 months agoexec: format and translate command line by line (issue #2005)
Sébastien Helleu [Fri, 8 Sep 2023 15:21:13 +0000 (17:21 +0200)] 
exec: format and translate command line by line (issue #2005)

7 months agocharset: format and translate command line by line (issue #2005)
Sébastien Helleu [Thu, 7 Sep 2023 14:05:48 +0000 (16:05 +0200)] 
charset: format and translate command line by line (issue #2005)

7 months agobuflist: format and translate command line by line (issue #2005)
Sébastien Helleu [Thu, 7 Sep 2023 09:48:57 +0000 (11:48 +0200)] 
buflist: format and translate command line by line (issue #2005)

7 months agoalias: format and translate command line by line (issue #2005)
Sébastien Helleu [Thu, 7 Sep 2023 07:35:55 +0000 (09:35 +0200)] 
alias: format and translate command line by line (issue #2005)

7 months agocore: format and translate commands line by line (issue #2005)
Sébastien Helleu [Thu, 7 Sep 2023 07:34:41 +0000 (09:34 +0200)] 
core: format and translate commands line by line (issue #2005)

7 months agoapi: add support of format/translation of command arguments description line by line...
Sébastien Helleu [Mon, 4 Sep 2023 21:15:29 +0000 (23:15 +0200)] 
api: add support of format/translation of command arguments description line by line (issue #2005)

7 months agoapi: add function string_concat (issue #2005)
Sébastien Helleu [Sat, 2 Sep 2023 09:53:56 +0000 (11:53 +0200)] 
api: add function string_concat (issue #2005)

7 months agoirc: add option irc.look.ignore_tag_messages (closes #989)
Sébastien Helleu [Mon, 9 Oct 2023 18:03:49 +0000 (20:03 +0200)] 
irc: add option irc.look.ignore_tag_messages (closes #989)

7 months agoirc: add structure with context sent as unique parameter to IRC protocol callbacks...
Sébastien Helleu [Mon, 9 Oct 2023 11:58:42 +0000 (13:58 +0200)] 
irc: add structure with context sent as unique parameter to IRC protocol callbacks (issue #989)

7 months agocore: update ChangeLog (closes #1956)
Sébastien Helleu [Sun, 15 Oct 2023 16:00:30 +0000 (18:00 +0200)] 
core: update ChangeLog (closes #1956)

7 months agocore: update translations (issue #1956)
Sébastien Helleu [Sun, 15 Oct 2023 14:47:53 +0000 (16:47 +0200)] 
core: update translations (issue #1956)

7 months agoalias: allow wildcard in command `/alias del` (issue #1956)
Sébastien Helleu [Fri, 13 Oct 2023 22:08:38 +0000 (00:08 +0200)] 
alias: allow wildcard in command `/alias del` (issue #1956)

7 months agocore: allow wildcard in command `/proxy del` (issue #1956)
Sébastien Helleu [Fri, 13 Oct 2023 21:54:19 +0000 (23:54 +0200)] 
core: allow wildcard in command `/proxy del` (issue #1956)

7 months agocore: allow wildcard in command `/item del` (issue #1956)
Sébastien Helleu [Fri, 13 Oct 2023 21:49:38 +0000 (23:49 +0200)] 
core: allow wildcard in command `/item del` (issue #1956)

7 months agocore: allow wildcard in command `/bar del` (issue #1956)
Sébastien Helleu [Fri, 13 Oct 2023 21:28:57 +0000 (23:28 +0200)] 
core: allow wildcard in command `/bar del` (issue #1956)

7 months agocore: allow wildcard in command `/filter` (issue #1956)
Sébastien Helleu [Fri, 13 Oct 2023 19:46:22 +0000 (21:46 +0200)] 
core: allow wildcard in command `/filter` (issue #1956)

A mask with wildcards is now allowed in the following commands:

- `/filter enable`
- `/filter disable`
- `/filter toggle`
- `/filter del`

7 months agotrigger: allow wildcard in command `/trigger` (issue #1956)
Sébastien Helleu [Thu, 12 Oct 2023 16:10:22 +0000 (18:10 +0200)] 
trigger: allow wildcard in command `/trigger` (issue #1956)

A mask with wildcards is now allowed in the following commands:

- `/trigger enable`
- `/trigger disable`
- `/trigger toggle`
- `/trigger restart`
- `/trigger del`
- `/trigger restore`

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

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 agoVersion 4.2.0-dev
Sébastien Helleu [Sun, 15 Oct 2023 07:06:12 +0000 (09:06 +0200)] 
Version 4.2.0-dev

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