summaryrefslogtreecommitdiff
path: root/tests/unit/core/test-core-util.cpp
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-04-21core: restore signal "signal_sighup", and if eaten do not reload configurationSébastien Helleu
2020-02-03tests: add unit tests on function util_file_get_contentSébastien Helleu
2020-02-02tests: add unit tests on function util_get_time_diffSébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-04-01tests: add tests on function util_signal_searchSébastien Helleu
2019-04-01tests: add tests on util_timeval functionsSébastien Helleu
2019-04-01tests: add tests on function util_parse_delay with unit "ms" (milliseconds)Sébastien Helleu
2019-03-29core: move parsing of /wait delay in a separate function, with unit testsSébastien Helleu
2019-01-11tests: add tests on function irc_config_check_autojoinSébastien Helleu