summaryrefslogtreecommitdiff
path: root/src/core/hook
AgeCommit message (Collapse)Author
2021-03-16core: add options to customize commands on system signals, quit by default ↵Sébastien Helleu
on SIGHUP when not running headless (closes #1595) New options to customize behavior on signals received, with the default behavior: - weechat.signal.sighup: quit in normal mode, reload config in headless - weechat.signal.sigquit: quit - weechat.signal.sigterm: quit - weechat.signal.sigusr1: no command executed by default - weechat.signal.sigusr2: no command executed by default The signals SIGUSR1 and SIGUSR2 are introduced by this commit, so it's now possible to run commands when they are received. The SIGHUP signal makes now WeeChat quit, it was the behavior before version 2.9 of WeeChat (see commit de1e61f7cd50cbd1a99777fe6611642a51abf5f6).
2021-01-02core: update copyright datesSébastien Helleu
2020-11-17core: fix and normalize error messagesSébastien Helleu
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-04-18core: make GnuTLS a required dependencySébastien Helleu
2020-01-20core: flush stdout/stderr before forking in hook_process function (closes #1441)Sébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-12-18core: add missing variable "proxy" in function hook_connect_print_logSébastien Helleu
2019-08-31core: fix compilation with autotools on FreeBSD 12.0Sébastien Helleu
2019-08-04core: return NULL immediately if string is NULL in function hook_modifier_execSébastien Helleu
2019-06-16core: replace newlines by spaces in argument "completion" of function ↵Sébastien Helleu
hook_command (closes #538)
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-04-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-03-02core: use bitwise shift operator to define flag constantsSébastien Helleu
2019-02-27core: remove function gui_buffer_match_list_split, use function ↵Sébastien Helleu
string_match_list
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 call to gmtime by gmtime_rSébastien Helleu
2018-10-01core: add missing argument in call to log_printfSébastien Helleu
2018-08-15core: fix memory leak when removing a line hookSébastien Helleu
2018-08-14core: fix type of variables "buffer_name" and "buffer_type" sent to the ↵Sébastien Helleu
hook_line callback
2018-08-14core: split wee-hook.c into multiple sourcesSébastien Helleu