Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-03-12 | core: remove "wee-" prefix from source files in src/core and src/core/hook | Sébastien Helleu | |
2024-01-01 | core: update copyright dates | Sébastien Helleu | |
2023-10-20 | core: fix random timeouts when a lot of concurrent processes are launched ↵ | Sébastien Helleu | |
with hook_process (closes #2033) | |||
2023-10-10 | core: fix zombie processes remaining after the end of forked processes ↵ | Sébastien Helleu | |
(closes #1994) The clean of processes with waitpid() is now delayed after the kill(), so that there are no more zombies. In addition, this can be done manually if needed with `/sys waitpid`. | |||
2023-09-16 | api: add function hook_url | Sébastien Helleu | |
2023-08-25 | core: add option `callbacks` in command `/debug` | Sébastien Helleu | |
2023-01-28 | core, plugins: replace calls to string_str(n)cmp by str(n)cmp (issue #1872) | Sébastien Helleu | |
2023-01-28 | core: make get/set object properties case sensitive (issue #1872) | Sébastien Helleu | |
2023-01-28 | core, plugins: make commands, hook command_run, completions and aliases case ↵ | Sébastien Helleu | |
sensitive (issue #1872) | |||
2023-01-28 | core: move function hook_get_priority_and_name to wee-string.c (issue #1872) | Sébastien Helleu | |
2023-01-01 | core: update copyright dates | Sébastien Helleu | |
2022-09-16 | api: add support of priority in function hook_line (closes #1821) | Sébastien Helleu | |
2022-04-24 | core: add functions to get short description of hooks | Sébastien Helleu | |
2022-01-17 | core: update copyright dates | 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-01-04 | core: update copyright dates | Sébastien Helleu | |
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-08-14 | core: split wee-hook.c into multiple sources | Sébastien Helleu | |
2018-08-12 | api: add function hook_line | Sébastien Helleu | |
2018-08-12 | core: fix check of tags in lines | Sébastien Helleu | |
All changes: - fix check of tags in lines: check lines without tags, fix check of tags with negation ("!tag") - add string functions string_split_tags and string_free_split_tags - add tests on function gui_line_match_tags | |||
2018-03-11 | Revert "core: remove colors from prefix/message only when needed in ↵ | Sébastien Helleu | |
hook_print_exec" This reverts commit bfc579cb3354cb47a224c8fa55b6a2e5684c7ab9. | |||
2018-01-07 | core: fix some styles | Sébastien Helleu | |
2018-01-05 | core: update copyright dates | Sébastien Helleu | |
2017-11-04 | core: remove colors from prefix/message only when needed in hook_print_exec | 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-08-12 | core: fix cast of time_t (to "long long" instead of "long") (closes #1051) | Sébastien Helleu | |
2017-06-25 | core: limit hook_command_run to the exact given command (when no "*" are in ↵ | Sébastien Helleu | |
command hook) | |||
2017-01-01 | core: update copyright dates | Sébastien Helleu | |
2016-12-13 | core, xfer: display more information on fork errors (issue #573) | Sébastien Helleu | |
2016-11-29 | core: add optional arguments in completion template, sent to the callback | Sébastien Helleu | |
2016-08-22 | core: fix warnings about unused variables | Sébastien Helleu | |
2016-08-19 | api: fix connection to servers with hook_connect() on Windows 10 with ↵ | Sébastien Helleu | |
Windows subsystem for Linux (issue #770) The test on socketpair() function is now made when hooks are initialized (instead of doing the test at compilation time). | |||
2016-04-23 | api: add support of functions in hook_process | 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-03-06 | core: remove plugin pointer in hooks debug messages | Sébastien Helleu | |
2016-01-01 | core: update copyright dates | Sébastien Helleu | |
2015-07-18 | core: fix crash if a file descriptor used in hook_fd() is too high (> 1024 ↵ | Sébastien Helleu | |
on Linux/BSD) (closes #465) The calls to select() are replaced by poll(), which doesn't have limitation on file descriptor number. | |||
2015-07-16 | core: fix comment in function hook_find_pos | Sébastien Helleu | |
2015-07-15 | core: add variables with count of hooks | Sébastien Helleu | |
2015-07-14 | core: reset pointers, file descriptors and child PIDs in unhook() | 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-07-04 | core: add missing comments before functions when the result must be freed ↵ | Sébastien Helleu | |
after use | |||
2015-05-01 | core: fix compilation on Cygwin | Sébastien Helleu | |
The header sys/select.h is now required for select() function. | |||
2015-04-30 | core: add comments after some #endif | Sébastien Helleu | |
2015-01-21 | core: add gnutls version in #if compiler directives | Sébastien Helleu | |
2015-01-01 | core: update copyright dates | Sébastien Helleu | |
2014-11-22 | api: fix truncated process output in hook_process() (closes #266) | Sébastien Helleu | |