Sébastien Helleu
35660f8b1d
trigger: allow wildcard in command /trigger (issue #1956 )
...
A mask with wildcards is now allowed in the following commands:
- `/trigger enable`
- `/trigger disable`
- `/trigger toggle`
- `/trigger restart`
- `/trigger del`
- `/trigger restore`
2023-10-15 16:15:50 +02:00
Sébastien Helleu
722cb27d04
core: add note for translators on command arguments (issue #2005 )
...
Only text between angle brackets (eg: "<name>") must be translated.
2023-09-05 13:28:26 +02:00
Sébastien Helleu
481e8f197d
core: use type "enum" in options
2023-07-08 13:29:45 +02:00
Sébastien Helleu
e5586e14d9
trigger: add options -o, -ol, -i and -il in command /trigger list ( closes #1953 )
2023-07-04 21:55:21 +02:00
Sébastien Helleu
1145d9f188
trigger: add completions "trigger_names_disabled" and "trigger_names_enabled"
...
They are used in completion of commands `/trigger disable` and
`/trigger enable`.
2023-06-10 20:30:52 +02:00
Sébastien Helleu
db931b7806
trigger: create buffer with function buffer_new_props (issue #1942 )
...
With this function, buffer properties are set when the buffer is created and
can be read immediately by other plugins/scripts, for example in a callback of
signal "buffer_opened".
2023-05-20 17:08:31 +02:00
Sébastien Helleu
6d32a99d50
trigger: make default triggers compatible with multiline input ( closes #1935 )
...
Changed triggers:
- cmd_pass
- cmd_pass_register
- server_pass
2023-05-16 21:34:30 +02:00
Sébastien Helleu
2c22626106
trigger: use new format for IRC tags in messages
2023-05-15 07:57:16 +02:00
Sébastien Helleu
6415c09a07
core: add quotes around paths in CMake files ( closes #29 )
2023-05-13 11:59:18 +02:00
Sébastien Helleu
21f972b0a5
trigger: add translation for first line of displayed triggers
2023-05-01 21:44:37 +02:00
Sébastien Helleu
385b1d0133
core: remove options trigger.color.trigger and trigger.color.trigger_disabled (issue #1820 )
...
These options are used instead:
- weechat.color.chat_status_disabled
- weechat.color.chat_status_enabled
2023-05-01 20:16:59 +02:00
Sébastien Helleu
4aabe8681f
core, plugins: set options to NULL by default, refactor config init functions
2023-04-01 20:56:11 +02:00
Sébastien Helleu
fbeab26a35
core, plugins: replace calls to string_str(n)cmp by str(n)cmp (issue #1872 )
2023-01-28 15:14:24 +01:00
Sébastien Helleu
f9a80e7d4d
trigger: make trigger names/options/types/return codes/post actions case sensitive (issue #1872 )
2023-01-28 15:14:20 +01:00
Sébastien Helleu
f0415c8ec3
core, plugins: make commands, hook command_run, completions and aliases case sensitive (issue #1872 )
2023-01-28 15:13:48 +01:00
Sébastien Helleu
202b4d82c0
plugins: set priority in calls to weechat_config_new (issue #1872 )
2023-01-28 15:13:34 +01:00
Sébastien Helleu
754ab33946
core: remove build with autotools
...
CMake is now the only way to build WeeChat.
2023-01-08 14:19:41 +01:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
a67556907d
api: rename char comparison functions "utf8_char*" to "string_char*"
2022-12-24 17:33:22 +01:00
Sébastien Helleu
1bfc8b9cf8
trigger: fix variables sent to focus callback ( closes #1858 )
...
This fixes a regression introduced in WeeChat 3.7 by commit
0f67f55098 .
2022-12-10 22:30:24 +01:00
Sébastien Helleu
b636f55b8b
trigger: properly initialize variable "value" to NULL
2022-11-19 20:29:02 +01:00
Sébastien Helleu
55b5549054
trigger: display failing regex in trigger creation error
2022-11-06 09:14:18 +01:00
Sébastien Helleu
b2605902db
trigger: use explicit command "s" in regex of default triggers
2022-11-06 09:14:18 +01:00
Sébastien Helleu
7555993bbc
trigger: add regex command "y" to translate chars, set default regex command to "s" (regex replace) ( closes #1510 )
2022-11-06 09:14:14 +01:00
Sébastien Helleu
cf5a9a0db5
trigger: execute trigger command on appropriate buffer ( closes #1841 )
...
This affects the following hook types:
- command
- command_run
- line
- modifier
- print
This fixes a regression introduced in WeeChat 3.7 by commit
0f67f55098 .
2022-10-20 20:19:37 +02:00
Sébastien Helleu
ae61137216
trigger: add variable ${tg_hook_type} ( closes #1765 )
2022-09-30 21:32:27 +02:00
Sébastien Helleu
389f9f436b
trigger: escape arguments with double quotes in output of /trigger input|output|recreate ( closes #190 )
2022-09-18 17:44:05 +02:00
Sébastien Helleu
0f67f55098
trigger: add elapsed time for trigger execution on monitor buffer when trigger debug is set ( closes #1806 )
2022-08-15 12:44:16 +02:00
Sébastien Helleu
1ce2d7f56d
trigger: fix error on monitor buffer creation when trigger debug is >= 1 and monitor buffer is closed
2022-08-15 12:42:26 +02:00
Sébastien Helleu
d068fe0de5
core: add option -save in command /upgrade ( closes #1630 )
2022-08-07 16:48:12 +02:00
Sébastien Helleu
b7441bd7a3
api: add arguments "index_start" and "index_end" in function string_rebuild_split_string
2022-07-20 13:16:35 +02:00
Sébastien Helleu
62e68f965f
api: rename function string_build_with_split_string to string_rebuild_split_string
2022-07-20 12:14:40 +02:00
Sébastien Helleu
a1a9303b14
trigger: fix completion of command /trigger add when there are spaces in the following arguments
2022-05-27 22:16:58 +02:00
Sébastien Helleu
5876a8335f
trigger: fix memory leak in command /trigger addinput
2022-05-27 17:53:56 +02:00
Sébastien Helleu
b7f3127bf8
api: allow to catch multiple signals in functions hook_signal and hook_hsignal ( closes #1780 )
2022-04-24 22:09:15 +02:00
Sébastien Helleu
2a2428902b
trigger: check that buffer notify is not "none" to run command of default trigger beep
2022-04-23 14:15:41 +02:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
dee7313fcc
trigger: fix search of triggers with UTF-8 chars in name (issue #1739 )
2022-01-15 09:36:02 +01:00
Sébastien Helleu
532d46bb93
trigger: add variables ${tg_tag_irc_xxx} containing IRC message tags (issue #1680 )
2021-12-30 21:22:37 +01:00
Sébastien Helleu
05d31b476b
trigger: hide key and password in command "/msg nickserv setpass nick key password"
2021-11-13 15:41:31 +01:00
Sébastien Helleu
7cad1230e6
trigger: add comments with list of all commands in default triggers
2021-11-12 21:20:14 +01:00
Sébastien Helleu
997559e55b
trigger: split default triggers on multiple lines
2021-11-12 21:08:39 +01:00
Sébastien Helleu
f2ad57ceb9
trigger: add support of option "-server" when hiding passwords in command /msg nickserv register
2021-11-12 20:52:14 +01:00
Sébastien Helleu
dccf605e66
typing: add typing plugin
2021-07-04 13:27:32 +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
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00