]> jfr.im git - irc/weechat/weechat.git/log
irc/weechat/weechat.git
19 months agoVersion 3.7 v3.7
Sébastien Helleu [Sun, 9 Oct 2022 06:06:53 +0000 (08:06 +0200)] 
Version 3.7

19 months agotests: Use LONGS_EQUAL for version number tests
Trygve Aaberge [Sat, 8 Oct 2022 15:42:22 +0000 (17:42 +0200)] 
tests: Use LONGS_EQUAL for version number tests

util_version_number returns an int, but BYTES_EQUAL only compares the
last byte of the int, so it wouldn't test the rest of the int.

I see other tests for functions returning an int use LONGS_EQUAL, so
that seems correct to use.

19 months agocore: fix compilation warning on isdigit function
Sébastien Helleu [Sat, 8 Oct 2022 10:18:09 +0000 (12:18 +0200)] 
core: fix compilation warning on isdigit function

19 months agoxfer: add missing include of netinet/in.h
Sébastien Helleu [Sat, 8 Oct 2022 10:11:12 +0000 (12:11 +0200)] 
xfer: add missing include of netinet/in.h

This fixes compilation on FreeBSD 13.0.

19 months agodebian: update changelog
Sébastien Helleu [Sat, 8 Oct 2022 09:52:44 +0000 (11:52 +0200)] 
debian: update changelog

19 months agodebian: bump Standards-Version to 4.6.1.0
Sébastien Helleu [Sat, 8 Oct 2022 09:52:14 +0000 (11:52 +0200)] 
debian: bump Standards-Version to 4.6.1.0

19 months agodoc: update German documentation
Nils Görs [Thu, 6 Oct 2022 13:02:08 +0000 (15:02 +0200)] 
doc: update German documentation

19 months agocore: fix page scroll in bare display (closes #1830)
Sébastien Helleu [Wed, 5 Oct 2022 18:33:35 +0000 (20:33 +0200)] 
core: fix page scroll in bare display (closes #1830)

19 months agopython: Include constant values in python stub
Trygve Aaberge [Sun, 2 Oct 2022 17:16:00 +0000 (19:16 +0200)] 
python: Include constant values in python stub

This is useful for two reasons:

1. When running unit tests for a script weechat needs to be mocked. By
   having the constant values available in the stub file, they can be
   loaded from that, instead of having to define the constants manually
   for the mock.

2. If you log a constant value you have to look up what it means. This
   makes it easier, in the same vein as PR #1824.

19 months agoirc: set local variable "filter" when doing `/server raw xxx` with raw buffer already...
Sébastien Helleu [Sat, 1 Oct 2022 15:06:31 +0000 (17:06 +0200)] 
irc: set local variable "filter" when doing `/server raw xxx` with raw buffer already opened (closes #1448)

19 months agotrigger: add variable `${tg_hook_type}` (closes #1765)
Sébastien Helleu [Fri, 30 Sep 2022 19:32:27 +0000 (21:32 +0200)] 
trigger: add variable `${tg_hook_type}` (closes #1765)

19 months agodoc/api: Fix config_new_option types for non English docs
Trygve Aaberge [Thu, 29 Sep 2022 19:56:49 +0000 (21:56 +0200)] 
doc/api: Fix config_new_option types for non English docs

Only English was changed in commit 197a7a01e.

19 months agoapi: change type of argument object_id in upgrade_new callback from string to integer...
Sébastien Helleu [Thu, 29 Sep 2022 19:38:04 +0000 (21:38 +0200)] 
api: change type of argument object_id in upgrade_new callback from string to integer (in scripts)

19 months agoapi: change type of argument remaining_calls in hook_timer callback from string to...
Sébastien Helleu [Thu, 29 Sep 2022 19:21:01 +0000 (21:21 +0200)] 
api: change type of argument remaining_calls in hook_timer callback from string to integer (in scripts)

19 months agodoc/api: Remove unnecessary cast in Python example
Trygve Aaberge [Wed, 28 Sep 2022 22:28:19 +0000 (00:28 +0200)] 
doc/api: Remove unnecessary cast in Python example

The highlight argument is already an int, so no point in casting it.

19 months agodoc/api: Add types for Python callbacks
Trygve Aaberge [Wed, 28 Sep 2022 22:27:51 +0000 (00:27 +0200)] 
doc/api: Add types for Python callbacks

19 months agodebian: remove ubuntu/xenial patch (distro not supported any more)
Sébastien Helleu [Thu, 29 Sep 2022 14:04:58 +0000 (16:04 +0200)] 
debian: remove ubuntu/xenial patch (distro not supported any more)

As zstd is too old in ubuntu/xenial (0.5.1 while min version is 0.8.1), this
distro is not supported any more.

19 months agocore: fix compilation with zstd < 1.4.0
Sébastien Helleu [Thu, 29 Sep 2022 13:59:01 +0000 (15:59 +0200)] 
core: fix compilation with zstd < 1.4.0

Note: zstd ≥ 0.8.1 is now required to compile WeeChat.

19 months agodoc: update German auto-generated file
Sébastien Helleu [Thu, 29 Sep 2022 09:07:38 +0000 (11:07 +0200)] 
doc: update German auto-generated file

19 months agodoc: update German documentation
Nils Görs [Thu, 29 Sep 2022 09:06:13 +0000 (11:06 +0200)] 
doc: update German documentation

19 months agocore: update German translations
Nils Görs [Thu, 29 Sep 2022 09:04:56 +0000 (11:04 +0200)] 
core: update German translations

19 months agodoc/user: remove tag "translation missing" in French user's guide
Sébastien Helleu [Thu, 29 Sep 2022 07:47:50 +0000 (09:47 +0200)] 
doc/user: remove tag "translation missing" in French user's guide

19 months agodoc/user: add chapter on log file rotation/compression
Sébastien Helleu [Thu, 29 Sep 2022 07:46:43 +0000 (09:46 +0200)] 
doc/user: add chapter on log file rotation/compression

19 months agophp: add missing arginfo_weechat_string_parse_size in legacy arginfo
Sébastien Helleu [Thu, 29 Sep 2022 05:48:55 +0000 (07:48 +0200)] 
php: add missing arginfo_weechat_string_parse_size in legacy arginfo

19 months agodoc/api: Add values for hook_process constants
Trygve Aaberge [Wed, 28 Sep 2022 17:55:39 +0000 (19:55 +0200)] 
doc/api: Add values for hook_process constants

When logging this value I just see a number so I have to look up what it
means. Previously you would have to check the code or print the value of
each of these constants to see it. Seeing the value directly in the
documentation makes this much easier.

19 months agodoc/api: add note about C API for constant WEECHAT_HOOK_PROCESS_CHILD (function hook_...
Sébastien Helleu [Wed, 28 Sep 2022 19:01:01 +0000 (21:01 +0200)] 
doc/api: add note about C API for constant WEECHAT_HOOK_PROCESS_CHILD (function hook_process)

19 months agodoc/api: fix typo
Sébastien Helleu [Wed, 28 Sep 2022 18:58:29 +0000 (20:58 +0200)] 
doc/api: fix typo

19 months agologger: add options to rotate and compress log files (closes #314)
Sébastien Helleu [Wed, 28 Sep 2022 18:32:12 +0000 (20:32 +0200)] 
logger: add options to rotate and compress log files (closes #314)

New options:

- logger.file.rotation_compression_level
- logger.file.rotation_compression_type
- logger.file.rotation_size_max

19 months agoapi: add function file_compress
Sébastien Helleu [Tue, 27 Sep 2022 18:49:12 +0000 (20:49 +0200)] 
api: add function file_compress

19 months agoapi: restrict number to integer in function string_parse_size
Sébastien Helleu [Sun, 25 Sep 2022 11:39:11 +0000 (13:39 +0200)] 
api: restrict number to integer in function string_parse_size

19 months agoapi: add function string_parse_size
Sébastien Helleu [Sun, 25 Sep 2022 08:53:37 +0000 (10:53 +0200)] 
api: add function string_parse_size

19 months agodoc: update German documentation
Nils Görs [Tue, 27 Sep 2022 08:56:11 +0000 (10:56 +0200)] 
doc: update German documentation

19 months agoirc: fix use of uninitialized variable `ptr_nick`
Sébastien Helleu [Mon, 26 Sep 2022 19:21:27 +0000 (21:21 +0200)] 
irc: fix use of uninitialized variable `ptr_nick`

19 months agodoc: update German auto-generated file
Sébastien Helleu [Tue, 20 Sep 2022 17:23:57 +0000 (19:23 +0200)] 
doc: update German auto-generated file

19 months agocore: update German translations
Nils Görs [Tue, 20 Sep 2022 17:10:13 +0000 (19:10 +0200)] 
core: update German translations

20 months agocore: add key alt+backspace, change behavior of key ctrl+w (closes #559)
Sébastien Helleu [Sun, 18 Sep 2022 21:26:49 +0000 (23:26 +0200)] 
core: add key alt+backspace, change behavior of key ctrl+w (closes #559)

The key ctrl+w now deletes one word until whitespace.

The new key alt+backspace deletes one word (same behavior as ctrl+w in previous
releases).

20 months agocore: fix style in ChangeLog
Sébastien Helleu [Sun, 18 Sep 2022 15:44:55 +0000 (17:44 +0200)] 
core: fix style in ChangeLog

20 months agotrigger: escape arguments with double quotes in output of `/trigger input|output...
Sébastien Helleu [Sun, 18 Sep 2022 15:44:05 +0000 (17:44 +0200)] 
trigger: escape arguments with double quotes in output of `/trigger input|output|recreate` (closes #190)

20 months agobuild: update version of Debian/Ubuntu distros in examples
Sébastien Helleu [Sun, 18 Sep 2022 12:39:36 +0000 (14:39 +0200)] 
build: update version of Debian/Ubuntu distros in examples

20 months agobuild: remove patches for Debian/Raspbian Stretch
Sébastien Helleu [Sun, 18 Sep 2022 12:39:02 +0000 (14:39 +0200)] 
build: remove patches for Debian/Raspbian Stretch

20 months agotests: add tests on filter functions
Sébastien Helleu [Sat, 17 Sep 2022 16:56:35 +0000 (18:56 +0200)] 
tests: add tests on filter functions

20 months agocore: fix order of filters after renaming a filter (issue #1695)
Sébastien Helleu [Sat, 17 Sep 2022 14:01:02 +0000 (16:01 +0200)] 
core: fix order of filters after renaming a filter (issue #1695)

20 months agoirc: fix message when disconnecting from server in case of high lag when server optio...
Sébastien Helleu [Sat, 17 Sep 2022 10:12:06 +0000 (12:12 +0200)] 
irc: fix message when disconnecting from server in case of high lag when server option autoreconnect is off (closes #1708)

20 months agocore: fix wrong terminal title on terminal resize (closes #1702)
Sébastien Helleu [Sat, 17 Sep 2022 09:56:03 +0000 (11:56 +0200)] 
core: fix wrong terminal title on terminal resize (closes #1702)

20 months agocore: sort filters by name (closes #1695)
Sébastien Helleu [Sat, 17 Sep 2022 09:07:22 +0000 (11:07 +0200)] 
core: sort filters by name (closes #1695)

20 months agospell: allow special dict value "-" to disable spell checking on a specific buffer...
Sébastien Helleu [Sat, 17 Sep 2022 08:44:21 +0000 (10:44 +0200)] 
spell: allow special dict value "-" to disable spell checking on a specific buffer (closes #1699)

20 months agodoc/api: add version 3.7 for priority in function hook_line
Sébastien Helleu [Sat, 17 Sep 2022 05:52:39 +0000 (07:52 +0200)] 
doc/api: add version 3.7 for priority in function hook_line

20 months agodoc: update German auto-generated file
Sébastien Helleu [Fri, 16 Sep 2022 19:06:33 +0000 (21:06 +0200)] 
doc: update German auto-generated file

20 months agoapi: add support of priority in function hook_line (closes #1821)
Sébastien Helleu [Fri, 16 Sep 2022 19:05:51 +0000 (21:05 +0200)] 
api: add support of priority in function hook_line (closes #1821)

20 months agocore: update German translations
Nils Görs [Fri, 16 Sep 2022 06:23:27 +0000 (08:23 +0200)] 
core: update German translations

20 months agoirc: add option irc.look.display_pv_nick_change
Sébastien Helleu [Thu, 15 Sep 2022 18:31:06 +0000 (20:31 +0200)] 
irc: add option irc.look.display_pv_nick_change

20 months agodoc: update auto-generated files
Sébastien Helleu [Sun, 11 Sep 2022 14:30:55 +0000 (16:30 +0200)] 
doc: update auto-generated files

20 months agocore: update German translations
Nils Görs [Sun, 11 Sep 2022 14:25:17 +0000 (16:25 +0200)] 
core: update German translations

20 months agocore: Update Serbian translation
Ivan Pešić [Mon, 5 Sep 2022 07:30:08 +0000 (11:30 +0400)] 
core: Update Serbian translation

Includes documentation update.

20 months agodoc/api: move function hook_completion in chapter on hook priority
Sébastien Helleu [Sun, 11 Sep 2022 09:45:02 +0000 (11:45 +0200)] 
doc/api: move function hook_completion in chapter on hook priority

20 months agodoc/api: update chapter on hook priority
Sébastien Helleu [Sun, 11 Sep 2022 08:52:25 +0000 (10:52 +0200)] 
doc/api: update chapter on hook priority

20 months agodoc/api: update note about priority in hook functions
Sébastien Helleu [Sun, 11 Sep 2022 07:50:47 +0000 (09:50 +0200)] 
doc/api: update note about priority in hook functions

20 months agoirc: replace chars "\01" by spaces in CTCP replies (closes #1819)
Sébastien Helleu [Sat, 10 Sep 2022 11:42:35 +0000 (13:42 +0200)] 
irc: replace chars "\01" by spaces in CTCP replies (closes #1819)

This prevents any attack due to an external security issue in the Linux
netfilter implementation (nf_conntrack_irc).

See: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2663

20 months agoxfer: use larger buffer for IP address
Sébastien Helleu [Fri, 9 Sep 2022 17:20:41 +0000 (19:20 +0200)] 
xfer: use larger buffer for IP address

This removes a gcc warning about a too small buffer.

20 months agoirc: fix display of message 350 (whois, gateway) (closes #1815)
Sébastien Helleu [Mon, 5 Sep 2022 20:12:17 +0000 (22:12 +0200)] 
irc: fix display of message 350 (whois, gateway) (closes #1815)

20 months agotests: add missing include of string.h
Sébastien Helleu [Mon, 5 Sep 2022 18:49:59 +0000 (20:49 +0200)] 
tests: add missing include of string.h

20 months agocore: remove debug print
Sébastien Helleu [Sat, 3 Sep 2022 20:38:12 +0000 (22:38 +0200)] 
core: remove debug print

20 months agoxfer: fix DCC file receive on Termux (closes #1811)
Sébastien Helleu [Sat, 3 Sep 2022 20:29:46 +0000 (22:29 +0200)] 
xfer: fix DCC file receive on Termux (closes #1811)

This fixes such error displayed on Termux when receiving a DCC file:

xfer: invalid address "96747949": error 8 hostname nor servname provided, or not known

20 months agocore: rename argument "length" to "bytes" in function string_strndup (header files)
Sébastien Helleu [Wed, 31 Aug 2022 20:51:47 +0000 (22:51 +0200)] 
core: rename argument "length" to "bytes" in function string_strndup (header files)

Argument was already renamed in commit f8915129bf2656623168c9f17846ac29759c13ef
but it was incomplete (missing header files).

20 months agoirc: fix target buffer of generic errors when they contain a target nick (closes...
Sébastien Helleu [Mon, 29 Aug 2022 20:45:28 +0000 (22:45 +0200)] 
irc: fix target buffer of generic errors when they contain a target nick (closes #1814)

21 months agoscript: use API function weechat_crypto_hash_file in script_repo_sha512sum_file
Sébastien Helleu [Tue, 16 Aug 2022 19:40:02 +0000 (21:40 +0200)] 
script: use API function weechat_crypto_hash_file in script_repo_sha512sum_file

21 months agoapi: add function crypto_hash_file
Sébastien Helleu [Tue, 16 Aug 2022 19:25:30 +0000 (21:25 +0200)] 
api: add function crypto_hash_file

21 months agoirc: fix extract of isupport value when it is last in list and without value (closes...
Sébastien Helleu [Mon, 15 Aug 2022 16:14:03 +0000 (18:14 +0200)] 
irc: fix extract of isupport value when it is last in list and without value (closes #1807)

21 months agobuflist: improve help on option buflist.look.enabled
Sébastien Helleu [Mon, 15 Aug 2022 12:43:25 +0000 (14:43 +0200)] 
buflist: improve help on option buflist.look.enabled

21 months agocore: move line from "New features" to "Bug fixes"
Sébastien Helleu [Mon, 15 Aug 2022 11:11:08 +0000 (13:11 +0200)] 
core: move line from "New features" to "Bug fixes"

21 months agocore: add new option trigger.color.identifier in ChangeLog
Sébastien Helleu [Mon, 15 Aug 2022 11:10:29 +0000 (13:10 +0200)] 
core: add new option trigger.color.identifier in ChangeLog

21 months agotrigger: add elapsed time for trigger execution on monitor buffer when trigger debug...
Sébastien Helleu [Mon, 15 Aug 2022 10:44:16 +0000 (12:44 +0200)] 
trigger: add elapsed time for trigger execution on monitor buffer when trigger debug is set (closes #1806)

21 months agotrigger: fix error on monitor buffer creation when trigger debug is >= 1 and monitor...
Sébastien Helleu [Mon, 15 Aug 2022 08:05:30 +0000 (10:05 +0200)] 
trigger: fix error on monitor buffer creation when trigger debug is >= 1 and monitor buffer is closed

21 months agoirc: display ACCOUNT command in private buffers
Sébastien Helleu [Sat, 13 Aug 2022 20:58:37 +0000 (22:58 +0200)] 
irc: display ACCOUNT command in private buffers

21 months agoirc: add options and display SETNAME command in channels and private buffers (closes...
Sébastien Helleu [Sat, 13 Aug 2022 20:47:22 +0000 (22:47 +0200)] 
irc: add options and display SETNAME command in channels and private buffers (closes #1805)

New options:

- irc.color.message_setname
- irc.look.smart_filter_setname

21 months agoirc: display CHGHOST command in private buffers
Sébastien Helleu [Sat, 13 Aug 2022 20:15:29 +0000 (22:15 +0200)] 
irc: display CHGHOST command in private buffers

21 months agodoc: update auto-generated files
Sébastien Helleu [Sat, 13 Aug 2022 17:07:56 +0000 (19:07 +0200)] 
doc: update auto-generated files

21 months agologger: improve help on option logger.file.auto_log
Sébastien Helleu [Sat, 13 Aug 2022 17:02:55 +0000 (19:02 +0200)] 
logger: improve help on option logger.file.auto_log

21 months agoirc: add missing tag "irc_numeric" in all numeric IRC commands (closes #1804)
Sébastien Helleu [Sat, 13 Aug 2022 15:34:43 +0000 (17:34 +0200)] 
irc: add missing tag "irc_numeric" in all numeric IRC commands (closes #1804)

21 months agotests: add tests on dynamic string functions with NULL string
Sébastien Helleu [Sat, 13 Aug 2022 12:38:08 +0000 (14:38 +0200)] 
tests: add tests on dynamic string functions with NULL string

21 months agocore: fix CMake warning in Python detection
Sébastien Helleu [Sat, 13 Aug 2022 12:37:00 +0000 (14:37 +0200)] 
core: fix CMake warning in Python detection

21 months agodoc: update German auto-generated file
Sébastien Helleu [Tue, 9 Aug 2022 21:35:57 +0000 (23:35 +0200)] 
doc: update German auto-generated file

21 months agocore: update German translations
Nils Görs [Mon, 8 Aug 2022 08:22:56 +0000 (10:22 +0200)] 
core: update German translations

21 months agocore: update German translations
Nils Görs [Mon, 8 Aug 2022 08:03:06 +0000 (10:03 +0200)] 
core: update German translations

21 months agotests: add tests on function xfer_file_search_crc32
Sébastien Helleu [Mon, 8 Aug 2022 06:05:47 +0000 (08:05 +0200)] 
tests: add tests on function xfer_file_search_crc32

21 months agoxfer: move and rename function xfer_filename_crc32 to xfer-file.c
Sébastien Helleu [Mon, 8 Aug 2022 04:57:39 +0000 (06:57 +0200)] 
xfer: move and rename function xfer_filename_crc32 to xfer-file.c

21 months agoirc: fix parsing of messages with trailing spaces and no trailing parameter (closes...
Sébastien Helleu [Sun, 7 Aug 2022 21:28:11 +0000 (23:28 +0200)] 
irc: fix parsing of messages with trailing spaces and no trailing parameter (closes #1803)

21 months agocore: add option `-save` in command `/upgrade` (closes #1630)
Sébastien Helleu [Sun, 7 Aug 2022 14:48:12 +0000 (16:48 +0200)] 
core: add option `-save` in command `/upgrade` (closes #1630)

21 months agoxfer: disconnect all active DCC chats and files on /upgrade
Sébastien Helleu [Sun, 7 Aug 2022 09:15:03 +0000 (11:15 +0200)] 
xfer: disconnect all active DCC chats and files on /upgrade

21 months agoxfer: fix refresh of xfer buffer after /upgrade
Sébastien Helleu [Sun, 7 Aug 2022 09:11:10 +0000 (11:11 +0200)] 
xfer: fix refresh of xfer buffer after /upgrade

21 months agorelay: fix refresh of relay buffer after /upgrade
Sébastien Helleu [Sun, 7 Aug 2022 08:04:47 +0000 (10:04 +0200)] 
relay: fix refresh of relay buffer after /upgrade

21 months agorelay: use enum type for websocket status in client
Sébastien Helleu [Sun, 7 Aug 2022 07:31:24 +0000 (09:31 +0200)] 
relay: use enum type for websocket status in client

21 months agodoc: update German auto-generated file
Sébastien Helleu [Fri, 5 Aug 2022 20:34:40 +0000 (22:34 +0200)] 
doc: update German auto-generated file

21 months agoMerge branch 'master' of https://github.com/weechat/weechat
Nils Görs [Fri, 5 Aug 2022 07:49:59 +0000 (09:49 +0200)] 
Merge branch 'master' of https://github.com/weechat/weechat

21 months agocore: update German translations
Nils Görs [Fri, 5 Aug 2022 07:49:27 +0000 (09:49 +0200)] 
core: update German translations

21 months agodoc: update German auto-generated file
Sébastien Helleu [Thu, 4 Aug 2022 20:14:28 +0000 (22:14 +0200)] 
doc: update German auto-generated file

21 months agocore: update German translations
Nils Görs [Thu, 4 Aug 2022 10:46:04 +0000 (12:46 +0200)] 
core: update German translations

21 months agoci: fix Ubuntu code name when applying Debian patch
Sébastien Helleu [Wed, 3 Aug 2022 20:05:45 +0000 (22:05 +0200)] 
ci: fix Ubuntu code name when applying Debian patch

21 months agoci: remove macOS 10.15, add macOS 12 in CI
Sébastien Helleu [Wed, 3 Aug 2022 19:57:44 +0000 (21:57 +0200)] 
ci: remove macOS 10.15, add macOS 12 in CI

21 months agocore: update ChangeLog
Sébastien Helleu [Wed, 3 Aug 2022 19:56:55 +0000 (21:56 +0200)] 
core: update ChangeLog