summaryrefslogtreecommitdiff
path: root/src/core/wee-util.h
AgeCommit message (Collapse)Author
2023-01-01core: update copyright datesSébastien Helleu
2022-01-17core: update copyright datesSébastien Helleu
2021-05-11core: move directory/file functions from wee-util.c to wee-dir.c (issue #1285)Sébastien Helleu
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-03-07core: add missing include of sys/time.h in C headersSébastien Helleu
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-02core: rename function util_get_uptime to util_get_time_diffSébastien Helleu
The two times must be sent as parameters, which makes the function not specific to uptime. It is now easier to test the function in unit tests.
2020-01-04core: update copyright datesSébastien Helleu
2019-04-01tests: add tests on function util_signal_searchSébastien Helleu
2019-03-29core: move parsing of /wait delay in a separate function, with unit testsSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-11-17core: add command line option "-t" (or "--temp-dir") to create a temporary ↵Sébastien Helleu
WeeChat home (deleted on exit)
2018-01-05core: update copyright datesSébastien Helleu
2017-08-10core: remove value for first #define in headers, add "PLUGIN" in plugin headersSébastien Helleu
2017-07-04api: add argument "recurse_subdirs" in function exec_on_files()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-12-31api: add info "uptime" (WeeChat uptime)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-01core: update copyright datesSébastien Helleu
2015-07-04api: fix type of value returned by function util_get_time_stringSébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-08-29api: use microseconds instead of milliseconds in functions util_timeval_diff ↵Sébastien Helleu
and util_timeval_add
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-03-11api: add option "signal" in function hook_set to send a signal to the child ↵Sebastien Helleu
process
2014-01-01core: update copyright datesSebastien Helleu
2013-01-01core: update copyright datesSebastien Helleu
2012-08-01core: add option weechat.startup.sys_rlimit to set system resource limits ↵Sebastien Helleu
for WeeChat process
2012-01-08core: update copyright datesSebastien Helleu
2011-01-01Update copyright datesSebastien Helleu
2010-12-07Add color support in option weechat.look.buffer_time_formatSebastien Helleu
2010-06-25Update comments after #endif in C headersSebastien Helleu
2010-06-22Update licenses and copyrights, add missing author names in sourcesSebastien Helleu
2010-02-10Add "version_number" for API function weechat_info_get to get WeeChat ↵Sebastien Helleu
version as number
2010-02-09Add new option weechat.look.time_format to customize default format for ↵Sebastien Helleu
date/time displayed (localized date by default), add function weechat_util_get_time_string in plugin API (patch #6914)
2010-01-03Update copyright datesSebastien Helleu
2009-11-07Check SSL certificates and use self-signed certificate to auto identify on ↵Sebastien Helleu
IRC server (CertFP) (task #7492) (patch from kolter)
2009-06-14Do not auto-load hidden files in script plugins (bug #21390)Sebastien Helleu
2009-06-12Remove variable with "WeeChat required version" in plugins, do not compare ↵Sebastien Helleu
version any more (API comparison is enough)
2009-01-03Update copyright datesSebastien Helleu
2008-10-30Add new features to logger plugin (command /logger, log level, level by ↵Sebastien Helleu
buffer, mask by buffer, ..), fix some bugs New features: - new command /logger - log level, to log only some messages, according to importance (task #8592) - level by buffer: custom level for some buffers (or group of buffers) - log filename mask by buffer (or group of buffers) - marker line is added after display of backlog - add "delete" callback for config file sections - add "mkdir_parents" function to plugin API - remove old log options in IRC plugin Bug fix: - marker line is set only when user switches buffer (not when a plugin force switch, like IRC plugin does when opening server or channel buffer) - backlog fixed (sometimes lines were not properly displayed)
2008-09-05Many changes in docSebastien Helleu
2008-06-03Add "const" keyword for some "char *" function arguments (core and plugins API)Sebastien Helleu
2008-03-23Check plugin version when loading it, to prevent crash when loading old pluginsSebastien Helleu
2008-01-02Update of year in some copyrightsSebastien Helleu
2008-01-01Added group support for nicklist, fixed some bugs in plugins API and IRC pluginSebastien Helleu
Added group support for nicklist (with subgroups). Partial changes in IRC protocol functions (new arguments with argv and argv_eol). Fixed some bugs: - nicklist in plugins API - problem in main loop with select() when SIGWINCH is received (terminal resize) - bug in string explode function - bug in infobar countdown.
2007-12-17New backlog option in logger plugin, added variable names in .h files, ↵Sebastien Helleu
replaced "void *" pointers by structures
2007-12-14Improved main loop (less CPU usage), better precision for timers, use of one ↵Sebastien Helleu
list by hook type (for fast search in hooks)