summaryrefslogtreecommitdiff
path: root/src/plugins/trigger
AgeCommit message (Collapse)Author
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
2016-11-19trigger: add comments above default triggersSébastien Helleu
2016-11-19trigger: do not hide email in command "/msg nickserv register password ↵Sébastien Helleu
email" (closes #849)
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: add quotes around completions of post actionSé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-02-05trigger: fix long linesSébastien Helleu
2016-02-05Merge pull request #511 from juanfra684/patch-1Sébastien Helleu
trigger: add recover to cmd_pass/msg_auth, and regain to msg_auth
2016-01-15Add extern keyword several places to link in osxLuis Colorado
2016-01-05trigger: add info in error messagesSébastien Helleu
2016-01-01core: update copyright datesSébastien Helleu
2015-08-31trigger: add recover to cmd_pass/msg_auth, and regain to msg_authJuan Francisco Cantero Hurtado
2015-08-22trigger: add support for one-time triggers (closes #399)Simmo Saan
2015-07-04core: add missing comments before functions when the result must be freed ↵Sébastien Helleu
after use
2015-04-18trigger: do not hook anything if the trigger is disabled (closes #405)Sébastien Helleu
2015-03-22trigger: hide password when messaging NickServ through default alias /m ↵Simmo Saan
(closes #367)
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-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-10-26trigger: fix memory leak when allocating a new trigger with several regexSébastien Helleu
2014-10-26trigger: 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-09-28trigger: fix typo in default conditions of "beep" triggerSébastien Helleu
2014-09-28trigger: add "${tg_displayed}" in conditions of default trigger "beep"Sébastien Helleu
The command of "beep" trigger is now executed only if the message is displayed (not filtered with /filter).
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-08-22trigger: fix regex used in default triggers to hide passwords (closes #172)Sébastien Helleu
"\S" is not supported on *BSD, so it is replaced by "[^ ]" (which should be enough, since there should be no tabs or other whitespace different from spaces in command line).
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-12api: allow wildcard "*" inside the mask in function string_matchSébastien Helleu
2014-04-12core: use lower case for CMake keywordsSébastien Helleu
2014-04-12trigger: add variable "tg_tag_host" (from tag "host_xxx" in message)Sébastien Helleu
2014-04-12trigger: interpret escaped chars in regexSébastien Helleu
2014-04-12trigger: remove obsolete commentSébastien Helleu
2014-04-02trigger: add a comma in title of trigger monitor bufferSé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-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-03-17trigger: set default variable "tg_remaining_calls" for regex in timer callbackSebastien Helleu
2014-03-16trigger: fix build of hashtable in hsignal callback when values have type ↵Sebastien Helleu
"string"