Sébastien Helleu
39b629550b
irc: evaluate options irc.server_default.ssl_cert and irc.server.xxx.ssl_cert (issue #1285 )
2021-05-11 21:06:19 +02:00
Sébastien Helleu
d7d594873b
irc: evaluate options irc.server_default.sasl_key and irc.server.xxx.sasl_key (issue #1285 )
2021-05-11 21:06:17 +02:00
Sébastien Helleu
f923524a21
core: evaluate option weechat.plugin.path (issue #1285 )
2021-05-11 21:06:13 +02:00
Sébastien Helleu
9f0e7fb47e
xfer: make file transfer fail when option xfer.file.auto_rename is off and file already exists ( closes #1633 )
2021-04-26 20:51:17 +02:00
Sébastien Helleu
5d30e0faac
doc: mark info "python2_bin" as deprecated since version 2.6 (plugin API reference)
2021-04-11 09:31:49 +02:00
Sébastien Helleu
1f0636bab6
irc: remove unused variable ptr_address and dead code
2021-04-10 14:11:11 +02:00
Sébastien Helleu
7bd23700de
irc: remove dead assignment on variable pos_message
2021-04-10 13:26:46 +02:00
Sébastien Helleu
937ecb62c4
trigger: remove useless test
2021-04-10 12:21:16 +02:00
Sébastien Helleu
2e67b13edd
trigger: check that option is not NULL in function trigger_search_with_option
2021-04-09 21:36:12 +02:00
Sébastien Helleu
7c5cbefd51
trigger: fix description of function trigger_name_valid
2021-04-08 20:56:37 +02:00
Sébastien Helleu
b6b78df3d2
trigger: check that trigger is not NULL in functions trigger_rename and trigger_copy
2021-04-08 20:55:37 +02:00
Sébastien Helleu
fae9bdf8f8
trigger: add variables "${tg_shell_argc}" and "${tg_shell_argvN}" in command trigger evaluated strings ( closes #1624 )
2021-04-06 18:37:22 +02:00
Sébastien Helleu
4f606ceb64
buflist: improve help on option buflist.look.sort
2021-03-21 09:34:40 +01:00
Trygve Aaberge
6b23d855d8
buflist: Fix wrong pointers being used in hdata_compare
...
This used pointer1 and pointer2 which are pointers to the buffers, but
it should use ptr_hotlist1 and ptr_hotlist1 which are pointers to the
hotlists it is trying to compare.
2021-03-21 08:59:37 +01:00
Sébastien Helleu
bb41de8c02
api: add info "weechat_daemon"
2021-03-14 14:11:06 +01:00
Sébastien Helleu
8c793fe7cc
fset: add fset bar on configuration reload (issue #1618 )
2021-03-14 10:56:24 +01:00
Sébastien Helleu
35b5adbc4c
buflist: always add buflist bar when plugin is loaded, hide bar by default if buflist is disabled (issue #1618 )
2021-03-14 10:55:48 +01:00
Sébastien Helleu
a4440ba8e5
buflist: add buflist bar on configuration reload (issue #1618 )
2021-03-14 10:55:24 +01:00
Sébastien Helleu
c49255a851
core: add missing include of sys/time.h in C headers
2021-03-07 13:21:24 +01:00
Sébastien Helleu
0f71b4ccc8
irc: add bar item "irc_nick_prefix"
2021-02-27 13:44:24 +01:00
Sébastien Helleu
83379469aa
irc: fix separator between nick and host in bar item "irc_nick_host"
...
Use "!" instead of "@" to separate nick from host, like it is done in IRC
protocol.
The nick and host is now displayed as "nick!user@host" instead of
"nick@user@host".
2021-02-27 09:02:09 +01:00
Sébastien Helleu
6a7da6d473
fset: fix description of function fset_bar_item_fset_cb
2021-02-27 08:57:32 +01:00
Sébastien Helleu
630fe0581f
buflist: add option buflist.look.use_items to speed up display of buflist ( closes #1613 )
2021-02-09 20:34:56 +01:00
Sébastien Helleu
a34959a619
irc: add info "irc_is_message_ignored"
2021-02-03 18:30:32 +01:00
Sébastien Helleu
691c9a0a0f
irc: add function irc_server_get_chantypes
2021-01-30 10:34:23 +01:00
Sébastien Helleu
0c98b0cfa4
irc: use server option "default_chantypes" as fallback in function irc_nick_is_nick
2021-01-30 09:59:04 +01:00
Sébastien Helleu
dd589cd141
irc: use server option "default_chantypes" as fallback when automatically adding channel type on join
2021-01-30 09:31:31 +01:00
Sébastien Helleu
ec2ffedab6
irc: improve help on server option "default_chantypes"
2021-01-30 09:25:06 +01:00
Sébastien Helleu
293402143b
irc: fix name of option "default_chantypes" in list of server options
2021-01-30 09:24:34 +01:00
Sébastien Helleu
e74dd22707
irc: simplify code in function irc_channel_is_channel
2021-01-30 09:05:49 +01:00
Matti Virkkunen
bad6dc8a57
irc: make default chantypes configurable
2021-01-30 01:01:51 +02:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
df4b9170f1
irc: remove obsolete comment on translation
2021-01-02 15:22:02 +01:00
Sébastien Helleu
b8acaf8a14
irc: fix ambiguity on translation of word "server"
...
This fixes the following warning:
/usr/bin/xgettext: warning: msgid 'server' is used without plural and with plural.
./src/plugins/irc/irc-bar-item.c:136: Here is the occurrence without plural.
./src/plugins/irc/irc.c:154: Here is the occurrence with plural.
Workaround: If the msgid is a sentence, change the wording of the sentence; otherwise, use contexts for disambiguation.
2021-01-02 15:18:26 +01:00
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
13e4af7b46
script: add status of scripts in output of command /script list in /help script
2020-12-15 20:41:13 +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
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