Sébastien Helleu
7e2396ade8
core: add options "setvar" and "delvar" in command /buffer, rename option "localvar" to "listvar"
...
The option "localvar" (introduced long time ago, in WeeChat 0.3.0) is still
recognized by WeeChat, to stay compatible with any extension/script calling
it (or referencing it in the documentation).
It is deprecated and will be removed in a future release.
2020-12-19 20:59:38 +01:00
Sébastien Helleu
0294b246f6
core: add buffer local variable "completion_default_template" (evaluated) ( closes #1600 )
...
When this local variable is set, it overrides the value of option
"weechat.completion.default_template".
It is evaluated, that means the global default template can be used to append
some custom completion. For example:
/buffer set localvar_set_completion_default_template ${weechat.completion.default_template}|%(my_completion)
2020-12-19 14:25:13 +01:00
Sébastien Helleu
dc5277fe89
core: add option "recreate" in command /filter
2020-12-18 20:28:16 +01:00
Sébastien Helleu
ee25c74903
irc: fix completion of commands /halfop and /dehalfop
2020-12-06 15:48:55 +01:00
Sébastien Helleu
58a94df61d
core: update ChangeLog
2020-12-05 19:57:53 +01:00
Sébastien Helleu
ee24fac586
spell: fix crash with IRC color codes in command line ( closes #1589 )
2020-11-20 21:50:05 +01:00
Sébastien Helleu
21eadc9488
core: display an error when the buffer is not found with command /command -buffer
2020-11-17 13:43:20 +01:00
Sébastien Helleu
b9c8569422
trigger: add variable "${tg_trigger_name}" in command trigger evaluated strings ( closes #1580 )
...
${tg_trigger_name} is replaced by the trigger name in these command strings:
- description
- arguments
- description of arguments
- completion
2020-11-14 09:32:24 +01:00
Sébastien Helleu
b626df72fb
core: add evaluation of conditions in evaluation of expressions with "eval_cond:" ( closes #1582 )
2020-11-14 09:28:46 +01:00
Sébastien Helleu
eb90a73fe8
spell: fix refresh of bar item "spell_suggest" when the input becomes empty ( closes #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
2020-11-13 21:30:06 +01:00
Sébastien Helleu
72936fd3be
Version 3.0
2020-11-11 08:46:53 +01:00
Sébastien Helleu
0ff08e54f5
trigger: add variable "tg_argc" in data set by command trigger ( closes #1576 )
2020-10-21 19:10:37 +02:00
Sébastien Helleu
30e48336f4
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.
2020-10-18 09:35:04 +02:00
Sébastien Helleu
fa46a2fe2d
exec: add option "-oerr" to send stderr to buffer (now disabled by default) ( closes #1566 )
2020-10-11 16:33:50 +02:00
Sébastien Helleu
72fdd689a2
core: update ChangeLog (issue #1567 )
2020-10-10 13:36:26 +02:00
Sébastien Helleu
f8403c76db
api: add optional list of colors in infos "nick_color" and "nick_color_name" ( closes #1565 )
2020-10-04 08:46:36 +02:00
Sébastien Helleu
3c987f3a1c
script: add option script.scripts.download_enabled ( closes #1548 )
2020-09-06 19:15:15 +02:00
Sébastien Helleu
9ccf62979f
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.
2020-09-02 19:22:56 +02:00
Sébastien Helleu
579af1b265
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.
2020-08-29 10:18:50 +02:00
Sébastien Helleu
e25c364790
spell: skip IRC color codes when checking words in input ( closes #1547 )
2020-08-25 19:37:42 +02:00
Sébastien Helleu
cfd221014c
api: add argument "bytes" in function string_dyn_concat
2020-08-23 23:27:57 +02:00
Sébastien Helleu
b459dab84b
spell: properly skip WeeChat color codes when checking words in input ( closes #1547 )
2020-08-22 08:56:21 +02:00
Sébastien Helleu
268aa631c6
api: add function string_color_code_size (issue #1547 )
2020-08-22 08:55:16 +02:00
Sébastien Helleu
d15db0ecbb
core: set "notify_level" to 3 if there is a highlight in the line ( closes #1529 )
2020-08-15 14:02:40 +02:00
Sébastien Helleu
1054cdf1e9
fset: add option fset.look.auto_refresh ( closes #1553 )
2020-08-09 10:56:03 +02:00
Sébastien Helleu
0cc5df6649
irc: send all channels in a single JOIN command when reconnecting to the server ( closes #1551 )
2020-08-05 20:05:36 +02:00
Sébastien Helleu
00c34b0ba8
core: replace "unit" by module for changes in unit tests
2020-08-05 07:22:38 +02:00
Sébastien Helleu
8cf56dfdf9
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
2020-08-04 23:42:20 +02:00
Sébastien Helleu
26085575d5
core: disable debug by default in autotools build
2020-08-01 01:41:40 +02:00
Sébastien Helleu
7412f5815c
trigger: fix recursive calls to triggers using regex ( closes #1546 )
2020-07-31 20:50:33 +02:00
Sébastien Helleu
3e6c8b6a88
core: update ChangeLog (issue #1535 , issue #1538 )
2020-07-21 08:29:03 +02:00
Sébastien Helleu
84e30438d4
irc: allow to send text on buffers with commands /allchan, /allpv and /allserv
2020-07-20 22:39:28 +02:00
Sébastien Helleu
ee3a4a1fc0
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
2020-07-20 22:20:22 +02:00
Sébastien Helleu
e0e905ca7f
trigger: check that tag "notify_none" is not present in message to run command of default trigger beep (issue #1529 )
2020-07-20 21:08:59 +02:00
Sébastien Helleu
2b16036f08
core: do not add line with highlight and tag "notify_none" to hotlist ( closes #1529 )
2020-07-20 09:26:36 +02:00
Sébastien Helleu
c096750e96
Version 2.9
2020-07-18 13:59:02 +02:00
Sébastien Helleu
19e98e7599
core: update ChangeLog (issue #1537 )
2020-07-07 20:27:57 +02:00
Sébastien Helleu
b17e1bcf89
api: add pointer "_bar_window" in hashtable sent to hook focus callback ( closes #1450 )
2020-06-30 20:16:19 +02:00
Sébastien Helleu
acfb5a7638
relay: add missing field "notify_level" in message "_buffer_line_added" (issue #1529 )
2020-06-26 08:03:15 +02:00
Sébastien Helleu
b0ecbdbf1d
core: add bar option "color_bg_inactive" (issue #732 )
2020-06-21 18:59:54 +02:00
Sébastien Helleu
4a42cda3a5
irc: change default chantypes from "#&+!" to "#&"
...
The default chantypes was conflicting with
irc_server_prefix_chars_default ("@+").
2020-06-21 10:22:04 +02:00
Sébastien Helleu
12051a506d
irc: add support of UTF8MAPPING, add support of optional server in info "irc_is_nick" ( closes #1528 )
2020-06-20 17:28:28 +02:00
Sébastien Helleu
bf964de939
tests: add tests on IRC function irc_channel_is_channel
2020-06-20 12:04:40 +02:00
Sébastien Helleu
340d6646a6
javascript: disable build by default and remove Debian packaging of JavaScript plugin (issue #360 )
2020-06-13 14:34:13 +02:00
Sébastien Helleu
99a324b76f
buflist: add "window" pointer in bar item evaluation only if it's not NULL (if bar type is "window")
2020-06-10 20:39:07 +02:00
Sébastien Helleu
fad07d1ff2
core: update ChangeLog (issue #1514 )
2020-06-07 11:10:06 +02:00
Sébastien Helleu
e784a994b5
api: fix use of pointer after free in function key_unbind
2020-06-07 09:11:24 +02:00
Sébastien Helleu
196a4e28aa
irc: fix add of ignore with flags in regex, display full ignore mask in list of ignores ( closes #1518 )
2020-06-04 08:05:57 +02:00
Sébastien Helleu
e80bf16d4a
core: update ChangeLog (issue #1250 )
2020-06-03 07:59:04 +02:00
Sébastien Helleu
1f2d90b643
core: update ChangeLog (issue #1517 )
2020-06-02 23:33:27 +02:00