]>
jfr.im git - irc/weechat/weechat.git/log
Sébastien Helleu [Tue, 7 Sep 2021 18:33:44 +0000 (20:33 +0200)]
core: add CVE id in ChangeLog
Sébastien Helleu [Sat, 4 Sep 2021 21:14:48 +0000 (23:14 +0200)]
core: force version 18.04 of Ubuntu in CI
Sébastien Helleu [Sat, 4 Sep 2021 21:09:19 +0000 (23:09 +0200)]
relay: fix crash when decoding a malformed websocket frame
Sébastien Helleu [Sat, 4 Sep 2021 21:06:58 +0000 (23:06 +0200)]
Version 3.0.2-dev
Sébastien Helleu [Sun, 31 Jan 2021 09:07:53 +0000 (10:07 +0100)]
Version 3.0.1
Sébastien Helleu [Sat, 5 Dec 2020 18:57:24 +0000 (19:57 +0100)]
Revert "exec: return NULL immediately if the task id is invalid"
This reverts commit
dff1bf6f0f5521cf9e23e2b32a648512e13b6a72 .
(cherry picked from commit
08ebc99dea511cccba7d810c529e5218e5a2534c )
Sébastien Helleu [Fri, 13 Nov 2020 20:26:16 +0000 (21:26 +0100)]
spell: fix refresh of bar item "spell_suggest" when the input becomes empty (issue #1586)
When the input is empty, length of string is zero: when sending zero to
function weechat_string_dyn_alloc, the function returns NULL and therefore we
return immediately instead of handling the empty input, which is a valid value.
The regression was introduced by the use of dynamic strings, commit:
299f74bfef9e0d239ad141a4df3b2dcf11a4c0da
(cherry picked from commit
eb90a73fe811e2de0e0646abf10242e639a7b1a1 )
Sébastien Helleu [Fri, 20 Nov 2020 21:14:22 +0000 (22:14 +0100)]
spell: fix crash with IRC color codes in command line (issue #1589)
(cherry picked from commit
ee24fac586201351adf6ce6dfad4e8c980129878 )
Sébastien Helleu [Fri, 20 Nov 2020 21:14:12 +0000 (22:14 +0100)]
Version 3.0.1-dev
Sébastien Helleu [Wed, 11 Nov 2020 07:46:53 +0000 (08:46 +0100)]
Version 3.0
Sébastien Helleu [Tue, 10 Nov 2020 17:32:26 +0000 (18:32 +0100)]
debian: update changelog
Sébastien Helleu [Sun, 1 Nov 2020 08:47:17 +0000 (09:47 +0100)]
Version 3.0-rc1
Nils Görs [Fri, 30 Oct 2020 11:55:53 +0000 (12:55 +0100)]
doc: update German documentation
Sébastien Helleu [Wed, 21 Oct 2020 17:10:37 +0000 (19:10 +0200)]
trigger: add variable "tg_argc" in data set by command trigger (closes #1576)
Sébastien Helleu [Sun, 18 Oct 2020 07:35:04 +0000 (09:35 +0200)]
irc: remove SASL timeout message displayed by error after successful SASL authentication (closes #1515)
The SASL timer is removed immediately when the SASL authentication is
successful or has failed.
Sébastien Helleu [Fri, 16 Oct 2020 19:15:43 +0000 (21:15 +0200)]
doc: update German auto-generated file
Nils Görs [Fri, 16 Oct 2020 14:38:50 +0000 (16:38 +0200)]
core: update German translations
Sébastien Helleu [Thu, 15 Oct 2020 18:38:43 +0000 (20:38 +0200)]
script: allow command /script list when option script.scripts.download_enabled is set to off (closes #1574)
Trygve Aaberge [Wed, 14 Oct 2020 08:39:04 +0000 (10:39 +0200)]
doc: Update hotlist example to match hotlist_prefix
hotlist_prefix defaults to "H: ", so the example should show the same to
make it easier to understand what it is.
Sébastien Helleu [Sun, 11 Oct 2020 14:33:50 +0000 (16:33 +0200)]
exec: add option "-oerr" to send stderr to buffer (now disabled by default) (closes #1566)
Sébastien Helleu [Sun, 11 Oct 2020 13:55:40 +0000 (15:55 +0200)]
exec: add missing option "-oc" in /help exec
Sébastien Helleu [Sun, 11 Oct 2020 06:52:54 +0000 (08:52 +0200)]
core: add terminal and terminal multiplexer in GitHub issue template
Sébastien Helleu [Sat, 10 Oct 2020 11:36:26 +0000 (13:36 +0200)]
core: update ChangeLog (issue #1567)
Sébastien Helleu [Sat, 10 Oct 2020 11:31:03 +0000 (13:31 +0200)]
trigger: add a function to set variables common to all triggers (issue #1567)
Sébastien Helleu [Sat, 10 Oct 2020 11:22:49 +0000 (13:22 +0200)]
doc: translate tg_trigger_name variable under triggers (issue #1567)
Simmo Saan [Sat, 10 Oct 2020 07:13:22 +0000 (10:13 +0300)]
doc: add tg_trigger_name variable under triggers (issue #1567)
Simmo Saan [Sat, 10 Oct 2020 06:59:38 +0000 (09:59 +0300)]
trigger: add tg_trigger_name variable to all triggers (closes #1567)
Sébastien Helleu [Wed, 7 Oct 2020 18:32:51 +0000 (20:32 +0200)]
doc: update German auto-generated file
Nils Görs [Mon, 5 Oct 2020 10:22:21 +0000 (12:22 +0200)]
core: update German translations
Sébastien Helleu [Sun, 4 Oct 2020 17:11:39 +0000 (19:11 +0200)]
core: use apt-get option --no-install-recommends instead of modifying config file /etc/apt/apt.conf
Sébastien Helleu [Sun, 4 Oct 2020 06:52:37 +0000 (08:52 +0200)]
tests: add missing braces around if/else in macro WEE_NICK_STRDUP_FOR_COLOR (issue #1565)
Sébastien Helleu [Sun, 4 Oct 2020 06:45:03 +0000 (08:45 +0200)]
api: add optional list of colors in infos "nick_color" and "nick_color_name" (closes #1565)
Sébastien Helleu [Sat, 3 Oct 2020 12:47:27 +0000 (14:47 +0200)]
core: add argument "num_colors" in function gui_nick_hash_color, add tests on nick functions (issue #1565)
Functions tested:
- gui_nick_hash_djb2_64
- gui_nick_hash_djb2_32
- gui_nick_hash_sum_64
- gui_nick_hash_sum_32
- gui_nick_get_forced_color
- gui_nick_strdup_for_color
- gui_nick_find_color
- gui_nick_find_color_name
Sébastien Helleu [Sat, 3 Oct 2020 12:40:59 +0000 (14:40 +0200)]
tests: run callback when resetting options in tests
Sébastien Helleu [Sat, 12 Sep 2020 16:49:42 +0000 (18:49 +0200)]
irc: fix again typo in English plural form of "normal"
Sébastien Helleu [Sat, 12 Sep 2020 16:08:13 +0000 (18:08 +0200)]
irc: fix typo in English plural form of "normal" (normals -> normal)
Sébastien Helleu [Sat, 12 Sep 2020 15:22:19 +0000 (17:22 +0200)]
doc: update German auto-generated file
Nils Görs [Tue, 8 Sep 2020 11:15:31 +0000 (13:15 +0200)]
core: update German translations
Sébastien Helleu [Sun, 6 Sep 2020 17:15:15 +0000 (19:15 +0200)]
script: add option script.scripts.download_enabled (closes #1548)
Sébastien Helleu [Wed, 2 Sep 2020 17:22:56 +0000 (19:22 +0200)]
script: do not automatically download list of scripts on startup if the file is too old (closes #1548)
The repository file is downloaded anyway if too old on any /script action.
Sébastien Helleu [Sat, 29 Aug 2020 08:18:50 +0000 (10:18 +0200)]
tests: fix compilation with CppUTest ≥ 4.0
MemoryLeakWarningPlugin::turnOnNewDeleteOverloads is replaced by
MemoryLeakWarningPlugin::turnOnThreadSafeNewDeleteOverloads, which is available
in both CppUTest 3.x and 4.0.
Sébastien Helleu [Fri, 28 Aug 2020 16:32:50 +0000 (18:32 +0200)]
spell: also skip IRC color attributes codes when checking words in input (issue #1547)
Sébastien Helleu [Tue, 25 Aug 2020 16:23:44 +0000 (18:23 +0200)]
irc: add comments in functions irc_color_decode and irc_color_encode
Sébastien Helleu [Tue, 25 Aug 2020 05:36:50 +0000 (07:36 +0200)]
spell: skip IRC color codes when checking words in input (closes #1547)
Sébastien Helleu [Mon, 24 Aug 2020 20:12:45 +0000 (22:12 +0200)]
spell: use dynamic string functions to return modified string
Sébastien Helleu [Sun, 23 Aug 2020 21:27:57 +0000 (23:27 +0200)]
api: add argument "bytes" in function string_dyn_concat
Sébastien Helleu [Sat, 22 Aug 2020 06:56:21 +0000 (08:56 +0200)]
spell: properly skip WeeChat color codes when checking words in input (closes #1547)
Sébastien Helleu [Sat, 22 Aug 2020 06:55:16 +0000 (08:55 +0200)]
api: add function string_color_code_size (issue #1547)
Sébastien Helleu [Thu, 20 Aug 2020 18:31:07 +0000 (20:31 +0200)]
fset: fix refresh of option values in fset buffer (issue #1553)
Sébastien Helleu [Mon, 17 Aug 2020 18:06:17 +0000 (20:06 +0200)]
irc: replace calls to malloc by calloc
After these calls to malloc the memory is set to zero, so it's better to call
calloc that does it already.
Sébastien Helleu [Mon, 17 Aug 2020 17:57:10 +0000 (19:57 +0200)]
core: replace calls to malloc by calloc
After these calls to malloc the memory is set to zero, so it's better to call
calloc that does it already.
Sébastien Helleu [Sun, 16 Aug 2020 10:40:41 +0000 (12:40 +0200)]
core: set notify_level to 3 if highlight is forced in gui_line_hook_update (only if tag "notify_none" is not in the line) (issue #1529)
Sébastien Helleu [Sun, 16 Aug 2020 10:40:01 +0000 (12:40 +0200)]
core: set notify_level to 3 in case of highlight in gui_line_hook_update only if tag "notify_none" is not in the line (issue #1529)
Sébastien Helleu [Sun, 16 Aug 2020 06:27:00 +0000 (08:27 +0200)]
core: set notify_level to 3 in case of highlight only if tag "notify_none" is not in the line (issue #1529)
Sébastien Helleu [Sat, 15 Aug 2020 12:02:40 +0000 (14:02 +0200)]
core: set "notify_level" to 3 if there is a highlight in the line (closes #1529)
Sébastien Helleu [Thu, 13 Aug 2020 06:38:45 +0000 (08:38 +0200)]
doc: update German auto-generated file
Nils Görs [Tue, 11 Aug 2020 16:47:46 +0000 (18:47 +0200)]
core: update German translations
Sébastien Helleu [Sun, 9 Aug 2020 08:56:03 +0000 (10:56 +0200)]
fset: add option fset.look.auto_refresh (closes #1553)
Sébastien Helleu [Wed, 5 Aug 2020 18:05:36 +0000 (20:05 +0200)]
irc: send all channels in a single JOIN command when reconnecting to the server (closes #1551)
Sébastien Helleu [Wed, 5 Aug 2020 05:28:30 +0000 (07:28 +0200)]
tests: fix name of some unit tests
Sébastien Helleu [Wed, 5 Aug 2020 05:22:38 +0000 (07:22 +0200)]
core: replace "unit" by module for changes in unit tests
Sébastien Helleu [Tue, 4 Aug 2020 21:42:20 +0000 (23:42 +0200)]
tests: add tests on GUI line functions
Functions tested:
- gui_line_lines_alloc
- gui_line_lines_free
- gui_line_tags_alloc
- gui_line_tags_free
- gui_line_is_displayed
- gui_line_has_tag_no_filter
- gui_line_search_tag_starting_with
- gui_line_get_nick_tag
Sébastien Helleu [Tue, 4 Aug 2020 21:12:18 +0000 (23:12 +0200)]
core: check that line is not NULL in functions gui_line_is_displayed and gui_line_get_nick_tag
Sébastien Helleu [Tue, 4 Aug 2020 20:56:02 +0000 (22:56 +0200)]
core: check that line_data is not NULL in functions gui_line_tags_alloc and gui_line_has_tag_no_filter
Sébastien Helleu [Tue, 4 Aug 2020 20:42:59 +0000 (22:42 +0200)]
core: rename functions to allocate/free lines
Sébastien Helleu [Sat, 1 Aug 2020 07:53:47 +0000 (09:53 +0200)]
doc: add instructions to build WeeChat with address sanitizer (user's guide)
Sébastien Helleu [Fri, 31 Jul 2020 23:41:40 +0000 (01:41 +0200)]
core: disable debug by default in autotools build
Sébastien Helleu [Fri, 31 Jul 2020 18:50:33 +0000 (20:50 +0200)]
trigger: fix recursive calls to triggers using regex (closes #1546)
Sébastien Helleu [Tue, 21 Jul 2020 16:28:38 +0000 (18:28 +0200)]
doc: update German auto-generated file
Nils Görs [Tue, 21 Jul 2020 09:36:35 +0000 (11:36 +0200)]
core: update German translations
Sébastien Helleu [Tue, 21 Jul 2020 06:29:03 +0000 (08:29 +0200)]
core: update ChangeLog (issue #1535, issue #1538)
Sébastien Helleu [Tue, 21 Jul 2020 06:28:01 +0000 (08:28 +0200)]
doc: add "irc_nick" in hashtable sent to hook_focus callback (plugin API reference) (issue #1538)
Simmo Saan [Sun, 5 Jul 2020 08:38:27 +0000 (11:38 +0300)]
irc: add pointer "irc_nick" in hashtable sent to hook focus callback (closes #1535)
Sébastien Helleu [Mon, 20 Jul 2020 20:39:28 +0000 (22:39 +0200)]
irc: allow to send text on buffers with commands /allchan, /allpv and /allserv
Sébastien Helleu [Mon, 20 Jul 2020 20:20:22 +0000 (22:20 +0200)]
irc: evaluate command executed by commands /allchan, /allpv and /allserv (closes #1536)
The extra variables are now replaced (in addition to `$server`, `$channel` and
`$nick`):
- `${irc_server.xxx}`: variable xxx in server
- `${irc_channel.xxx}`: variable xxx in channel
Sébastien Helleu [Mon, 20 Jul 2020 19:48:20 +0000 (21:48 +0200)]
doc: improve description of tags "notify_xxx" in chapter on lines tags (user's guide) (issue #1529)
Sébastien Helleu [Mon, 20 Jul 2020 19:08:59 +0000 (21:08 +0200)]
trigger: check that tag "notify_none" is not present in message to run command of default trigger beep (issue #1529)
Sébastien Helleu [Mon, 20 Jul 2020 07:26:36 +0000 (09:26 +0200)]
core: do not add line with highlight and tag "notify_none" to hotlist (closes #1529)
Sébastien Helleu [Sat, 18 Jul 2020 12:27:37 +0000 (14:27 +0200)]
Version 3.0-dev
Sébastien Helleu [Sat, 18 Jul 2020 11:59:02 +0000 (13:59 +0200)]
Version 2.9
Sébastien Helleu [Sat, 11 Jul 2020 10:23:14 +0000 (12:23 +0200)]
doc: replace wildcard command by list of included files in Makefile.am files
This fixes the `make distcheck` command.
Sébastien Helleu [Tue, 7 Jul 2020 18:29:03 +0000 (20:29 +0200)]
core: add contributor in AUTHORS.adoc (issue #1537)
Sébastien Helleu [Tue, 7 Jul 2020 18:27:57 +0000 (20:27 +0200)]
core: update ChangeLog (issue #1537)
Marco Sirabella [Fri, 3 Jul 2020 15:11:08 +0000 (11:11 -0400)]
Add $weechat_sharedir/python for global python package import
Related: #1461
Some scripts (eg weechat-matrix) ship directories that need to be
imported from the script.
Rather than globally installing the python packages to python's
`site-packages` the directories can be installed alongside the script in
`WEECHAT_SHAREDIR/python`.
This change adds that directory to the `$PYTHONPATH` to import
successfully.
Sébastien Helleu [Sun, 5 Jul 2020 21:27:57 +0000 (23:27 +0200)]
Version 2.9-rc1
Sébastien Helleu [Sat, 4 Jul 2020 15:32:55 +0000 (17:32 +0200)]
doc: update German auto-generated file
Nils Görs [Sat, 4 Jul 2020 12:10:30 +0000 (14:10 +0200)]
core: update German translations
Sébastien Helleu [Tue, 30 Jun 2020 19:01:11 +0000 (21:01 +0200)]
doc: fix description of "_chat_bol" and "_chat_eol" in function hook_focus (plugin API reference)
Sébastien Helleu [Tue, 30 Jun 2020 18:54:31 +0000 (20:54 +0200)]
doc: harmonize example of pointers in plugin API reference and relay protocol
Sébastien Helleu [Tue, 30 Jun 2020 18:16:19 +0000 (20:16 +0200)]
api: add pointer "_bar_window" in hashtable sent to hook focus callback (closes #1450)
Sébastien Helleu [Mon, 29 Jun 2020 20:08:00 +0000 (22:08 +0200)]
doc: fix typo (relay protocol)
Sébastien Helleu [Sun, 28 Jun 2020 08:26:04 +0000 (10:26 +0200)]
doc: fix flake8 errors in docgen.py
Sébastien Helleu [Fri, 26 Jun 2020 06:03:15 +0000 (08:03 +0200)]
relay: add missing field "notify_level" in message "_buffer_line_added" (issue #1529)
Sébastien Helleu [Sun, 21 Jun 2020 16:59:54 +0000 (18:59 +0200)]
core: add bar option "color_bg_inactive" (issue #732)
Sébastien Helleu [Sun, 21 Jun 2020 08:22:37 +0000 (10:22 +0200)]
irc: check that the first nick char is not a prefix char or chantype in function irc_nick_is_nick
Sébastien Helleu [Sun, 21 Jun 2020 08:21:22 +0000 (10:21 +0200)]
irc: change default chantypes from "#&+!" to "#&"
The default chantypes was conflicting with
irc_server_prefix_chars_default ("@+").
Sébastien Helleu [Sat, 20 Jun 2020 15:44:48 +0000 (17:44 +0200)]
tests: add test of function irc_nick_is_nick with invalid UTF-8 string
Sébastien Helleu [Sat, 20 Jun 2020 15:28:28 +0000 (17:28 +0200)]
irc: add support of UTF8MAPPING, add support of optional server in info "irc_is_nick" (closes #1528)
Sébastien Helleu [Sat, 20 Jun 2020 08:07:56 +0000 (10:07 +0200)]
tests: add tests on IRC function irc_channel_is_channel
Sébastien Helleu [Sat, 20 Jun 2020 08:04:40 +0000 (10:04 +0200)]
irc: return NULL in info "irc_is_channel" if arguments is NULL or empty string