summaryrefslogtreecommitdiff
path: root/src/plugins/trigger
AgeCommit message (Collapse)Author
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-10-21trigger: add variable "tg_argc" in data set by command trigger (closes #1576)Sébastien Helleu
2020-10-10trigger: add a function to set variables common to all triggers (issue #1567)Sébastien Helleu
2020-10-10trigger: add tg_trigger_name variable to all triggers (closes #1567)Simmo Saan
2020-07-31trigger: fix recursive calls to triggers using regex (closes #1546)Sébastien Helleu
2020-07-20trigger: check that tag "notify_none" is not present in message to run ↵Sébastien Helleu
command of default trigger beep (issue #1529)
2020-05-17trigger: add (void) before calls to trigger_callback_execute when the ↵Sébastien Helleu
returned value is ignored
2020-05-17trigger: only return trigger's return code when condition evaluates to trueSimmo Saan
2020-05-09api: use buffer pointer in argument "modifier_data" sent to weechat_print ↵Sébastien Helleu
modifier callback (closes #42)
2020-05-08core: rename functions hook_completion_{get_string|list_add} to ↵Sébastien Helleu
completion_{get_string|list_add} Old functions are kept for compatibility reasons.
2020-05-07trigger: fix truncated trigger command with commands /trigger ↵Sébastien Helleu
input|output|recreate
2020-04-18trigger: do not hide values of options with /set command in cmd_pass triggerSébastien Helleu
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-10-01core: fix style in CMake filesSébastien Helleu
2019-06-24core: auto disable upgrade process (command line option "--upgrade") if the ↵Sébastien Helleu
file weechat.upgrade is not found
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-04-25cmake: allow custom libdir (fix #1341)Ryan Farley
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR used to be set).
2019-04-13trigger: add hook "info_hashtable"Sébastien Helleu
2019-04-13trigger: add hook "info"Sébastien Helleu
2019-03-24core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage ↵Sébastien Helleu
options This option is OFF by default and should be enabled only for tests, to measure test coverage.
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-03-09core: add value -1 for keep_eol in function string_strip (issue #1322)Sébastien Helleu
The value -1 means it's a standard split, but empty items are kept, and separators are not removed at beginning/end of string.
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-10-01core: replace "long unsigned int" by "unsigned long"Sébastien Helleu
2018-08-17trigger: add variables "tg_prefix_nocolor" and "tg_message_nocolor" in line ↵Sébastien Helleu
trigger
2018-08-17trigger: rename variable "tg_tags" to "tags" in line triggerSébastien Helleu
2018-08-16trigger: allow creation of temporary variables with the regexSébastien Helleu
2018-08-15trigger: fix /help triggerSébastien Helleu
2018-08-15trigger: add missing initialization of variable "tags" in hook line callbackSébastien Helleu
2018-08-15trigger: fix memory leak in hook_line trigger callbackSébastien Helleu
2018-08-15trigger: add missing values for line triggerSébastien Helleu
2018-08-12api: add function hook_lineSébastien Helleu
2018-05-31trigger: hide password in display of command "/msg nickserv set password", ↵Sébastien Helleu
support the option "-server xxx"
2018-05-31trigger: hide password in command "/msg nickserv set password"Sébastien Helleu
2018-01-14core: reinitialize config file pointer to NULL after an error on section ↵Sébastien Helleu
creation
2018-01-05core: update copyright datesSébastien Helleu
2017-11-15trigger: fix typo in /help triggerSébastien Helleu
2017-09-23core, plugins: check return code of strftime functionSébastien Helleu
2017-08-10core: remove value for first #define in headers, add "PLUGIN" in plugin headersSébastien Helleu
2017-06-25fset: shift plugins priority to insert fset plugin between buflist and fifoSébastien Helleu
2017-06-10core, plugins: fix conditions to insert elements in linked listsSébastien Helleu
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-06-10trigger: if hashmap creation failed, don't use tagsNeui
If hashmap creation fails (eg. not enough memory), it jumps to the label "end", where it checks the pointer tags, that hadn't been initialized before. The simple fix is to initialize it before creating the hashmap.
2017-06-02trigger: add "irc_server" and "irc_channel" pointers in data for IRC ↵Sébastien Helleu
signal/modifier hooks
2017-03-25buflist: load plugin after some other plugins by shifting plugins prioritySébastien Helleu
2017-03-25trigger: check that regex pointers are not NULL in function "trigger_regex_free"Sébastien Helleu
2017-01-13tests: fix compilation of tests on FreeBSD 11Sébastien Helleu
Some includes were missing in .h files, and the tests must be linked with intl and execinfo on FreeBSD.
2017-01-01core: update copyright datesSébastien Helleu