Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-06 | trigger: add regex command "y" to translate chars, set default regex command ↵ | Sébastien Helleu | |
to "s" (regex replace) (closes #1510) | |||
2022-10-20 | trigger: execute trigger command on appropriate buffer (closes #1841) | Sébastien Helleu | |
This affects the following hook types: - command - command_run - line - modifier - print This fixes a regression introduced in WeeChat 3.7 by commit 0f67f55098db564c82c848262540704985790129. | |||
2022-09-30 | trigger: add variable `${tg_hook_type}` (closes #1765) | Sébastien Helleu | |
2022-08-15 | trigger: add elapsed time for trigger execution on monitor buffer when ↵ | Sébastien Helleu | |
trigger debug is set (closes #1806) | |||
2022-07-20 | api: add arguments "index_start" and "index_end" in function ↵ | Sébastien Helleu | |
string_rebuild_split_string | |||
2022-07-20 | api: rename function string_build_with_split_string to ↵ | Sébastien Helleu | |
string_rebuild_split_string | |||
2022-01-17 | core: update copyright dates | Sébastien Helleu | |
2021-12-30 | trigger: add variables `${tg_tag_irc_xxx}` containing IRC message tags ↵ | Sébastien Helleu | |
(issue #1680) | |||
2021-04-06 | trigger: add variables "${tg_shell_argc}" and "${tg_shell_argvN}" in command ↵ | Sébastien Helleu | |
trigger evaluated strings (closes #1624) | |||
2021-01-02 | core: update copyright dates | Sébastien Helleu | |
2020-10-21 | trigger: add variable "tg_argc" in data set by command trigger (closes #1576) | Sébastien Helleu | |
2020-10-10 | trigger: add a function to set variables common to all triggers (issue #1567) | Sébastien Helleu | |
2020-10-10 | trigger: add tg_trigger_name variable to all triggers (closes #1567) | Simmo Saan | |
2020-07-31 | trigger: fix recursive calls to triggers using regex (closes #1546) | Sébastien Helleu | |
2020-05-17 | trigger: add (void) before calls to trigger_callback_execute when the ↵ | Sébastien Helleu | |
returned value is ignored | |||
2020-05-17 | trigger: only return trigger's return code when condition evaluates to true | Simmo Saan | |
2020-05-09 | api: use buffer pointer in argument "modifier_data" sent to weechat_print ↵ | Sébastien Helleu | |
modifier callback (closes #42) | |||
2020-01-04 | core: update copyright dates | Sébastien Helleu | |
2019-06-15 | api: add argument "strip_items" in function string_split | Sébastien Helleu | |
2019-04-13 | trigger: add hook "info_hashtable" | Sébastien Helleu | |
2019-04-13 | trigger: add hook "info" | Sébastien Helleu | |
2019-03-10 | core: replace argument "keep_eol" by "flags" in function string_split ↵ | Sébastien Helleu | |
(closes #1322) | |||
2019-01-01 | core: update copyright dates | Sébastien Helleu | |
2018-11-29 | core: use https for links to GNU GPL license | Sébastien Helleu | |
2018-10-01 | core: replace "long unsigned int" by "unsigned long" | Sébastien Helleu | |
2018-08-17 | trigger: add variables "tg_prefix_nocolor" and "tg_message_nocolor" in line ↵ | Sébastien Helleu | |
trigger | |||
2018-08-17 | trigger: rename variable "tg_tags" to "tags" in line trigger | Sébastien Helleu | |
2018-08-16 | trigger: allow creation of temporary variables with the regex | Sébastien Helleu | |
2018-08-15 | trigger: add missing initialization of variable "tags" in hook line callback | Sébastien Helleu | |
2018-08-15 | trigger: fix memory leak in hook_line trigger callback | Sébastien Helleu | |
2018-08-12 | api: add function hook_line | Sébastien Helleu | |
2018-01-05 | core: update copyright dates | Sébastien Helleu | |
2017-09-23 | core, plugins: check return code of strftime function | Sébastien Helleu | |
2017-06-10 | trigger: if hashmap creation failed, don't use tags | Neui | |
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-02 | trigger: add "irc_server" and "irc_channel" pointers in data for IRC ↵ | Sébastien Helleu | |
signal/modifier hooks | |||
2017-01-01 | core: update copyright dates | Sébastien Helleu | |
2016-06-18 | api: remove functions printf_date() and printf_tags() | Sébastien Helleu | |
2016-03-21 | core: 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-01 | core: update copyright dates | Sébastien Helleu | |
2015-07-04 | core: add missing comments before functions when the result must be freed ↵ | Sébastien Helleu | |
after use | |||
2015-01-01 | core: update copyright dates | Sébastien Helleu | |
2014-10-26 | trigger: evaluate and replace regex groups at same time, new format for ↵ | Sébastien Helleu | |
regex option in triggers (incompatible with version 1.0) (closes #224) | |||
2014-04-12 | trigger: add variable "tg_tag_host" (from tag "host_xxx" in message) | Sébastien Helleu | |
2014-04-01 | trigger: add filter in trigger monitor buffer | Sébastien Helleu | |
The filter can be set with /trigger monitor <filter> or by entering data in the trigger monitor input. | |||
2014-03-16 | trigger: fix build of hashtable in hsignal callback when values have type ↵ | Sebastien Helleu | |
"string" | |||
2014-03-13 | api: add callback in function string_replace_regex | Sebastien Helleu | |
2014-03-02 | trigger: add variable "tg_notify" (notify level of a message, if different ↵ | Sebastien Helleu | |
from "none") | |||
2014-02-22 | trigger: fix potential uninitialized pointer in signal hook callback | Sebastien Helleu | |
2014-02-22 | trigger: fix crash when a signal is received with type "int" and NULL ↵ | Sebastien Helleu | |
pointer in signal_data | |||
2014-02-14 | trigger: fix return code of focus callback | Sebastien Helleu | |