summaryrefslogtreecommitdiff
path: root/src/plugins/trigger/trigger-command.c
AgeCommit message (Collapse)Author
2022-11-06trigger: display failing regex in trigger creation errorSébastien Helleu
2022-09-18trigger: escape arguments with double quotes in output of `/trigger ↵Sébastien Helleu
input|output|recreate` (closes #190)
2022-08-07core: add option `-save` in command `/upgrade` (closes #1630)Sébastien Helleu
2022-05-27trigger: fix completion of command `/trigger add` when there are spaces in ↵Sébastien Helleu
the following arguments
2022-05-27trigger: fix memory leak in command `/trigger addinput`Sébastien Helleu
2022-01-17core: update copyright datesSébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-11-14trigger: add variable "${tg_trigger_name}" in command trigger evaluated ↵Sébastien Helleu
strings (closes #1580) ${tg_trigger_name} is replaced by the trigger name in these command strings: - description - arguments - description of arguments - completion
2020-05-07trigger: fix truncated trigger command with commands /trigger ↵Sébastien Helleu
input|output|recreate
2020-04-12trigger: evaluate arguments of command when the trigger is created (closes ↵Sébastien Helleu
#1472)
2020-01-04core: update copyright datesSébastien Helleu
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-04-13trigger: add hook "info_hashtable"Sébastien Helleu
2019-04-13trigger: add hook "info"Sébastien Helleu
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-01-26doc: fix regex examples to be compatible with FreeBSDSébastien Helleu
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-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-08-15trigger: fix /help triggerSébastien Helleu
2018-08-12api: add function hook_lineSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-11-15trigger: fix typo in /help triggerSébastien Helleu
2017-01-01core: update copyright datesSébastien Helleu
2016-08-10trigger: add missing step with post action in /help triggerSébastien Helleu
2016-08-09trigger: add post action in command line built by /trigger input|output|recreateSébastien Helleu
2016-08-09trigger: rename "once action" to "post action"Sébastien Helleu
2016-08-09Merge remote-tracking branch 'origin/pr/509'Sébastien Helleu
2016-06-18api: remove functions printf_date() and printf_tags()Sébastien Helleu
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
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-01-05trigger: add info in error messagesSébastien Helleu
2016-01-01core: update copyright datesSébastien Helleu
2015-08-22trigger: add support for one-time triggers (closes #399)Simmo Saan
2015-04-18trigger: do not hook anything if the trigger is disabled (closes #405)Sébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-11-22api: return value in function command(), remove WeeChat error after command ↵Sébastien Helleu
callback if return code is WEECHAT_RC_ERROR
2014-11-01trigger: fix trigger example "effects" in /help trigger (update regex to new ↵Sébastien Helleu
format)
2014-09-20trigger: do not allow any changes on a trigger when it is currently running ↵Sébastien Helleu
(closes #189)
2014-08-23trigger: add option "restore" in command /triggerSébastien Helleu
2014-04-12api: allow wildcard "*" inside the mask in function string_matchSébastien Helleu
2014-04-01trigger: add filter in trigger monitor bufferSébastien Helleu
The filter can be set with /trigger monitor <filter> or by entering data in the trigger monitor input.
2014-03-10trigger: add plugin name in error messagesSebastien Helleu
2014-03-02trigger: do not create the trigger with /trigger add if the regex is invalidSebastien Helleu
2014-03-01trigger: fix typo in /help triggerSebastien Helleu
2014-03-01trigger: fix typo in /help triggerSebastien Helleu
2014-03-01trigger: make optional the alignment on second and max calls (in hook timer)Sebastien Helleu
2014-02-28trigger: allow empty return code in command /trigger {add|addoff|addreplace}Sebastien Helleu
2014-02-21core: update translationsSebastien Helleu
2014-02-21trigger: return WEECHAT_RC_ERROR in command /trigger if arguments are ↵Sebastien Helleu
wrong/missing
2014-02-20trigger: add option "addreplace" in command /trigger (used by /trigger recreate)Sebastien Helleu
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-16trigger: add option "addoff" in command /trigger (add a trigger in disabled ↵Sebastien Helleu
state)