Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +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
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
d068fe0de5
core: add option -save in command /upgrade ( closes #1630 )
2022-08-07 16:48:12 +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
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +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
b7765ed960
trigger: fix truncated trigger command with commands /trigger input|output|recreate
2020-05-07 08:19:31 +02:00
Sébastien Helleu
8bdd540df7
trigger: evaluate arguments of command when the trigger is created ( closes #1472 )
2020-04-12 09:30:56 +02:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
9178156354
api: add argument "strip_items" in function string_split
2019-06-15 20:47:14 +02:00
Sébastien Helleu
30768d4d24
trigger: add hook "info_hashtable"
2019-04-13 13:53:16 +02:00
Sébastien Helleu
8bc06ea101
trigger: add hook "info"
2019-04-13 08:52:40 +02:00
Sébastien Helleu
2b70d71aa1
core: replace argument "keep_eol" by "flags" in function string_split ( closes #1322 )
2019-03-10 18:29:16 +01:00
Sébastien Helleu
6d217ca8c5
doc: fix regex examples to be compatible with FreeBSD
...
The following special sequences are not supported in regular expressions on
FreeBSD:
- "\w": replaced with "[a-zA-Z0-9_]"
- "\S": replaced with "[^ ]" (it should be "[^ \t\n\r\f\v]", but in practice
only spaces could be a problem when we use this sequence).
2019-01-26 10:15:35 +01:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
cb8b60028b
trigger: fix /help trigger
2018-08-15 12:35:42 +02:00
Sébastien Helleu
42be1a74a0
api: add function hook_line
2018-08-12 21:45:00 +02:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
338e05a2f4
trigger: fix typo in /help trigger
2017-11-15 07:25:17 +01:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
db76d6a097
trigger: add missing step with post action in /help trigger
2016-08-10 22:31:49 +02:00
Sébastien Helleu
73db57f245
trigger: add post action in command line built by /trigger input|output|recreate
2016-08-09 22:12:17 +02:00
Sébastien Helleu
de7dc59c87
trigger: rename "once action" to "post action"
2016-08-09 21:35:39 +02:00
Sébastien Helleu
810077fc12
Merge remote-tracking branch 'origin/pr/509'
2016-08-09 21:05:34 +02:00
Sébastien Helleu
20c86db0d8
api: remove functions printf_date() and printf_tags()
2016-06-18 08:49:35 +02:00
Sébastien Helleu
cf6aca1619
core: add pointer in some callbacks ( closes #406 )
...
This pointer is the first argument received by callbacks, and the
existing argument "data" is now automatically freed by WeeChat when the
object containing the callback is removed.
With this new pointer, the linked list of callbacks in scripts has been
removed. This will improve speed of scripts (using a lot of hooks),
reduce memory used by scripts and reduce time to unload scripts.
Following functions are affected in the C API:
* exec_on_files
* config_new
* config_new_section
* config_new_option
* hook_command
* hook_command_run
* hook_timer
* hook_fd
* hook_process
* hook_process_hashtable
* hook_connect
* hook_print
* hook_signal
* hook_hsignal
* hook_config
* hook_completion
* hook_modifier
* hook_info
* hook_info_hashtable
* hook_infolist
* hook_hdata
* hook_focus
* unhook_all_plugin
* buffer_new
* bar_item_new
* upgrade_new
* upgrade_read
2016-03-21 18:11:21 +01:00
Sébastien Helleu
fe0c9dbc93
trigger: add info in error messages
2016-01-05 07:53:38 +01:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Simmo Saan
1d3a75333e
trigger: add support for one-time triggers ( closes #399 )
2015-08-22 12:22:51 +03:00
Sébastien Helleu
1054339be7
trigger: do not hook anything if the trigger is disabled ( closes #405 )
2015-04-18 10:04:26 +02:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
1ef3237b6b
api: return value in function command(), remove WeeChat error after command callback if return code is WEECHAT_RC_ERROR
2014-11-22 08:14:29 +01:00
Sébastien Helleu
e0810ae6d5
trigger: fix trigger example "effects" in /help trigger (update regex to new format)
2014-11-01 20:34:52 +01:00
Sébastien Helleu
d1b4281d20
trigger: do not allow any changes on a trigger when it is currently running ( closes #189 )
2014-09-20 14:51:09 +02:00
Sébastien Helleu
2ae5660cc3
trigger: add option "restore" in command /trigger
2014-08-23 09:11:13 +02:00
Sébastien Helleu
34723d2acc
api: allow wildcard "*" inside the mask in function string_match
2014-04-12 23:07:06 +02:00
Sébastien Helleu
3b32d62fa6
trigger: add filter in trigger monitor buffer
...
The filter can be set with /trigger monitor <filter> or by entering data
in the trigger monitor input.
2014-04-01 14:26:02 +02:00
Sebastien Helleu
acb24d9d2a
trigger: add plugin name in error messages
2014-03-10 21:10:23 +01:00
Sebastien Helleu
ddf3e9043b
trigger: do not create the trigger with /trigger add if the regex is invalid
2014-03-02 08:32:05 +01:00
Sebastien Helleu
8f0294f8d0
trigger: fix typo in /help trigger
2014-03-01 19:00:54 +01:00
Sebastien Helleu
7a1798a7fb
trigger: fix typo in /help trigger
2014-03-01 17:42:28 +01:00
Sebastien Helleu
44b8447ff0
trigger: make optional the alignment on second and max calls (in hook timer)
2014-03-01 17:25:48 +01:00
Sebastien Helleu
13b0a88f21
trigger: allow empty return code in command /trigger {add|addoff|addreplace}
2014-02-28 11:48:59 +01:00
Sebastien Helleu
3847318497
core: update translations
2014-02-21 16:32:34 +01:00
Sebastien Helleu
d6e7c9fda6
trigger: return WEECHAT_RC_ERROR in command /trigger if arguments are wrong/missing
2014-02-21 14:48:23 +01:00
Sebastien Helleu
b400be0486
trigger: add option "addreplace" in command /trigger (used by /trigger recreate)
...
Now the command "/trigger recreate" does not delete the trigger any more.
Instead the option "addreplace" is used in input, so the existing trigger
is overwritten if the command is sent.
2014-02-20 11:20:23 +01:00