summaryrefslogtreecommitdiff
path: root/src/plugins/trigger/trigger.c
AgeCommit message (Collapse)Author
2018-01-05core: update copyright datesSé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-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-01core: update copyright datesSé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-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-15core: add priority in plugins to initialize them in orderSébastien Helleu
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer, irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-01core: update copyright datesSébastien Helleu
2014-10-26trigger: fix memory leak when allocating a new trigger with several regexSébastien Helleu
2014-08-02trigger: fix hook count on 32-bit systemsSébastien Helleu
2014-07-23trigger: update commentSébastien Helleu
2014-07-22trigger: refuse triggers with . in their nameAndrew Potter
2014-04-12trigger: interpret escaped chars in regexSébastien Helleu
2014-04-12trigger: remove obsolete commentSé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-17trigger: set default variable "tg_remaining_calls" for regex in timer callbackSebastien Helleu
2014-03-10trigger: add plugin name in error messagesSebastien Helleu
2014-03-09trigger: remove unneeded code to make C compiler happySebastien Helleu
2014-03-04trigger: update description of trigger pluginSebastien Helleu
2014-03-02trigger: allow chars '\' and '(' as delimiter in regexSebastien Helleu
2014-03-02trigger: do not create the trigger with /trigger add if the regex is invalidSebastien Helleu
2014-03-01trigger: make optional the alignment on second and max calls (in hook timer)Sebastien Helleu
2014-02-14trigger: add option trigger.look.enabled (can be changed with /trigger ↵Sebastien Helleu
enable|disable|toggle)
2014-02-14trigger: add option "copy" in command /triggerSebastien Helleu
2014-02-13trigger: escape chars in regex replacement (when trigger is created)Sebastien Helleu
2014-02-13trigger: evaluate regex replacement on execution of trigger (and not when ↵Sebastien Helleu
creating the trigger)
2014-02-13trigger: add hook focusSebastien Helleu
2014-02-13trigger: add hook commandSebastien Helleu
2014-02-10trigger: add hook configSebastien Helleu
2014-02-09trigger: add default triggersSebastien Helleu
2014-02-09trigger: split trigger command on creation, not when executing the callbackSebastien Helleu
2014-02-09trigger: add option "addinput" in command /triggerSebastien Helleu
2014-02-09trigger: add missing value in trigger_hook_default_regexSebastien Helleu
2014-02-09trigger: reorder internal trigger varsSebastien Helleu
2014-02-09trigger: add hook command_runSebastien Helleu
2014-02-09trigger: use case insensitive comparison when searching for a trigger nameSebastien Helleu
2014-02-09trigger: remove the timer hook pointer during the last timer callSebastien Helleu
2014-02-09trigger: add completion for all arguments of command /trigger addSebastien Helleu
2014-02-09trigger: sort triggers by nameSebastien Helleu
2014-02-09trigger: split arguments like shell in "/trigger add", to create a whole ↵Sebastien Helleu
trigger with one command
2014-02-09trigger: add timerSebastien Helleu
2014-02-09trigger: add support of variable in regex optionSebastien Helleu
Examples with new format: /regex/text/ /regex/text/var /regex1/text1/ /regex2/text2/ /regex1/text1/var /regex2/text2/var
2014-02-09trigger: add option "rename" in command /triggerSebastien Helleu