Sébastien Helleu
ee25c74903
irc: fix completion of commands /halfop and /dehalfop
2020-12-06 15:48:55 +01:00
Sébastien Helleu
cd7947d8fc
irc: add missing parameter "-yes" in /help dehalfop
2020-12-06 15:47:52 +01:00
dotflac
4974c2f0a2
add -yes to output of /help voice
...
currently /help voice does not tell you that you need -yes if you are using *. i have changed it to match /help op, /help deop and /help devoice
2020-12-06 15:43:36 +01:00
Sébastien Helleu
08ebc99dea
Revert "exec: return NULL immediately if the task id is invalid"
...
This reverts commit dff1bf6f0f .
2020-12-05 19:57:24 +01:00
Sébastien Helleu
345bdddf62
script: increase buffer size in function script_buffer_detail_label
...
This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
2020-11-22 15:00:19 +01:00
Sébastien Helleu
d1cad18f01
core: increase buffer size in function plugin_api_info_uptime_cb
...
This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
2020-11-22 14:59:06 +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
a2266e4e3f
core: add missing cast to unsigned char on first argument to function isdigit
2020-11-19 22:20:48 +01:00
Sébastien Helleu
5cbda03fca
core: fix and normalize error messages
2020-11-17 21:54:24 +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
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:
299f74bfef
2020-11-13 21:30:06 +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
939b16230c
script: allow command /script list when option script.scripts.download_enabled is set to off ( closes #1574 )
2020-10-15 20:38:43 +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
4d696d7cc8
exec: add missing option "-oc" in /help exec
2020-10-11 15:55:40 +02:00
Sébastien Helleu
2384dbe193
trigger: add a function to set variables common to all triggers (issue #1567 )
2020-10-10 13:32:36 +02:00
Simmo Saan
8c87b7a1f0
trigger: add tg_trigger_name variable to all triggers ( closes #1567 )
2020-10-10 10:13:42 +03: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
b32f561f77
irc: fix again typo in English plural form of "normal"
2020-09-12 18:49:42 +02:00
Sébastien Helleu
1745b78b57
irc: fix typo in English plural form of "normal" (normals -> normal)
2020-09-12 18:08:13 +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
54b7c88553
spell: also skip IRC color attributes codes when checking words in input (issue #1547 )
2020-08-28 18:32:50 +02:00
Sébastien Helleu
aac14f28dd
irc: add comments in functions irc_color_decode and irc_color_encode
2020-08-25 19:37:47 +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
299f74bfef
spell: use dynamic string functions to return modified string
2020-08-24 22:12:45 +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
7dd5abd625
fset: fix refresh of option values in fset buffer (issue #1553 )
2020-08-20 20:31:07 +02:00
Sébastien Helleu
d53fb92a30
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.
2020-08-17 20:06:17 +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
7412f5815c
trigger: fix recursive calls to triggers using regex ( closes #1546 )
2020-07-31 20:50:33 +02:00
Simmo Saan
b69e47d0a2
irc: add pointer "irc_nick" in hashtable sent to hook focus callback ( closes #1535 )
2020-07-21 08:18:43 +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
Marco Sirabella
ab7104e34c
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.
2020-07-07 20:26:17 +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
5b151d1639
irc: check that the first nick char is not a prefix char or chantype in function irc_nick_is_nick
2020-06-21 10:22:37 +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
2a60a25443
irc: return NULL in info "irc_is_channel" if arguments is NULL or empty string
2020-06-20 10:04:40 +02:00
Sébastien Helleu
eba9c31da0
irc: fix display of ACCOUNT message when the account name is ":*" ( closes #1526 )
2020-06-15 23:03:58 +02:00
Sébastien Helleu
d0ae0fea49
irc: skip semicolon before account name in ACCOUNT message
2020-06-15 07:12:06 +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
08a00739f2
guile: fix compiler warning (issue #1514 )
2020-06-07 11:07:48 +02:00