Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-01 | core: update copyright dates | Sébastien Helleu | |
2022-01-17 | core: update copyright dates | Sébastien Helleu | |
2021-05-11 | core: move directory/file functions from wee-util.c to wee-dir.c (issue #1285) | Sébastien Helleu | |
2021-03-16 | core: 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-02 | core: update copyright dates | Sébastien Helleu | |
2020-11-17 | core: fix and normalize error messages | Sébastien Helleu | |
2020-04-21 | core: restore signal "signal_sighup", and if eaten do not reload configuration | Sébastien Helleu | |
2020-02-02 | core: rename function util_get_uptime to util_get_time_diff | Sé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-04 | core: update copyright dates | Sébastien Helleu | |
2019-06-15 | api: add argument "strip_items" in function string_split | Sébastien Helleu | |
2019-04-01 | tests: add tests on function util_signal_search | Sébastien Helleu | |
2019-03-29 | core: move parsing of /wait delay in a separate function, with unit tests | Sébastien Helleu | |
2019-03-10 | core: replace argument "keep_eol" by "flags" in function string_split ↵ | Sébastien Helleu | |
(closes #1322) | |||
2019-01-01 | core: update copyright dates | Sébastien Helleu | |
2018-11-29 | core: use https for links to GNU GPL license | Sébastien Helleu | |
2018-11-17 | core: add command line option "-t" (or "--temp-dir") to create a temporary ↵ | Sébastien Helleu | |
WeeChat home (deleted on exit) | |||
2018-01-07 | core: fix some styles | Sébastien Helleu | |
2018-01-05 | core: update copyright dates | Sébastien Helleu | |
2017-11-04 | core: add missing includes of stdio.h | Sébastien Helleu | |
2017-09-23 | core, plugins: check return code of strftime function | Sébastien Helleu | |
2017-07-05 | core: add constant WEECHAT_EXTRA_LIBDIR | Sébastien Helleu | |
2017-07-05 | core: search WEECHAT_EXTRA_LIBDIR for plugins (closes #971, issue #979) | Linus Heckemann | |
In addition to searching the statically configured WEECHAT_LIBDIR (weechat's installation directory) for plugins, search the path given in the environment variable WEECHAT_EXTRA_LIBDIR. This makes departing from the FHS standard while keeping the plugins packaged separately easier. This change was made specifically with the Nix package manager in mind, but can easily be used by others. | |||
2017-07-04 | core: use PATH_MAX for size of variable with complete filename in exec_on_files | Sébastien Helleu | |
2017-07-04 | api: add argument "recurse_subdirs" in function exec_on_files() | Sébastien Helleu | |
2017-01-01 | core: update copyright dates | Sébastien Helleu | |
2016-12-31 | api: add info "uptime" (WeeChat uptime) | Sébastien Helleu | |
2016-10-08 | core: fix integer overflow in calls to realloc (issue #809) | Sébastien Helleu | |
2016-08-13 | core: free file pointer in case of memory error in util_file_get_content() | Sébastien Helleu | |
2016-03-21 | core: 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-01 | core: update copyright dates | Sébastien Helleu | |
2015-07-04 | api: fix type of value returned by function util_get_time_string | Sébastien Helleu | |
2015-07-04 | api: fix type of value returned by functions utf8_prev_char, utf8_next_char ↵ | Sébastien Helleu | |
and utf8_add_offset | |||
2015-04-30 | core: add comments after some #endif | Sébastien Helleu | |
2015-01-19 | core: check that filename is not NULL in function util_file_get_content | Sébastien Helleu | |
2015-01-01 | core: update copyright dates | Sébastien Helleu | |
2014-08-29 | api: use microseconds instead of milliseconds in functions util_timeval_diff ↵ | Sébastien Helleu | |
and util_timeval_add | |||
2014-07-05 | core: check that timeval arguments are not NULL in timeval functions | Sébastien Helleu | |
2014-03-11 | api: add option "signal" in function hook_set to send a signal to the child ↵ | Sebastien Helleu | |
process | |||
2014-02-26 | core: fix size used in some snprintf | Sebastien Helleu | |
2014-01-01 | core: update copyright dates | Sebastien Helleu | |
2013-01-01 | core: update copyright dates | Sebastien Helleu | |
2012-12-15 | core: move comments with description of C file to top of files | Sebastien Helleu | |
2012-12-13 | core: reformat comments for functions | Sebastien Helleu | |
2012-08-01 | core: add option weechat.startup.sys_rlimit to set system resource limits ↵ | Sebastien Helleu | |
for WeeChat process | |||
2012-02-19 | core: fix memory leak in function util_search_full_lib_name | Sebastien Helleu | |
2012-01-08 | core: update copyright dates | Sebastien Helleu | |
2011-11-27 | core: check pointer returned by function localtime | Sebastien Helleu | |
2011-11-27 | irc: fix crash when signon time in message 317 (whois, idle) is invalid (too ↵ | Sebastien Helleu | |
large) (bug #34905) | |||
2011-11-15 | core: allow list for option weechat.plugin.extension (makes weechat.conf ↵ | Sebastien Helleu | |
portable accross Un*x and Windows) (task #11479) | |||
2011-11-03 | core: fix typo: occured -> occurred | Sebastien Helleu | |