Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-01 | core: fix print of pointer values | Sébastien Helleu | |
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-12-26 | core: store microseconds in buffer lines (closes #649) | Sébastien Helleu | |
2023-11-01 | core, plugins: set error to NULL before calling strtol() | Sébastien Helleu | |
This is not strictly necessary, just in case the function strtol() doesn't update the pointer. | |||
2023-10-30 | core: fix memory leak when infolist variable can not be created | 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-17 | api: add support of format/translation of command arguments description line ↵ | Sébastien Helleu | |
by line (issue #2005) | |||
2023-10-13 | core: only print hook_url errors when debug is enabled | Trygve Aaberge | |
Errors from hook_url should be handled by the caller, so don't print them to the core buffer by default. Only print them when weechat_debug_core is enabled. This was already the behavior for the timeout error. | |||
2023-10-13 | core: add error codes to output in hook_url | Trygve Aaberge | |
When hook_url fails, add an error_code field in the output in addition to the error field. This is so the caller can get which error happened programatically, without having to parse the (possibly translated) error string. It uses the same error codes as the return_code in hook_process, and in addition adds 5 for an error from pthread_create and 6 for a timeout error. If the error is from pthread_create, an additional field `error_code_pthread` with the error code from pthread_create is added. If the error is from curl, an additional field `error_code_curl` with the error code from curl is added. | |||
2023-10-13 | core: run hook_url callback when pthread_create failed | Trygve Aaberge | |
2023-10-13 | core: set "error" field of "output" hashtable in hook_url in case of ↵ | Sébastien Helleu | |
transfer timeout | |||
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 | core: properly terminate thread and release memory in url hook | Sébastien Helleu | |
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-04-12 | core: replace SSL by TLS in comments (issue #1903) | Sébastien Helleu | |
2023-01-30 | core: update description of function hook_command_display_error_unknown | Sébastien Helleu | |
2023-01-30 | core: inform that commands are case sensitive when another command with ↵ | Sébastien Helleu | |
different case is found (issue #1877) | |||
2023-01-30 | core: improve prioritization of commands starting with same chars in similar ↵ | Sébastien Helleu | |
commands | |||
2023-01-30 | core: display similar command names when a command is unknown (closes #1877) | Sébastien Helleu | |
2023-01-29 | core: properly skip command char when it is a wide char in exec of ↵ | Sébastien Helleu | |
hook_command_run | |||
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, plugins: check that string parameters are not NULL in search functions ↵ | Sébastien Helleu | |
(issue #1872) | |||
2023-01-28 | core, plugins: make info, info_hashtable and infolist case sensitive (issue ↵ | Sébastien Helleu | |
#1872) | |||
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-07-24 | core: remove dead assignments | Sébastien Helleu | |
2022-07-20 | api: add arguments "index_start" and "index_end" in function ↵ | Sébastien Helleu | |
string_rebuild_split_string | |||
2022-07-20 | api: rename function string_build_with_split_string to ↵ | Sébastien Helleu | |
string_rebuild_split_string | |||
2022-07-02 | api: run hook_print callback also on empty messages | Sébastien Helleu | |
2022-04-24 | api: allow to catch multiple signals in functions hook_signal and ↵ | Sébastien Helleu | |
hook_hsignal (closes #1780) | |||
2022-04-24 | core: add functions to get short description of hooks | Sébastien Helleu | |
2022-03-13 | core: add function gui_buffer_new_props (issue #1759) | Sébastien Helleu | |
This function allows to create a buffer and set properties via a hashtable, before the signal "buffer_opened" is sent. | |||
2022-01-17 | core: update copyright dates | Sébastien Helleu | |
2022-01-15 | core: fix search of commands with UTF-8 chars in name when option ↵ | Sébastien Helleu | |
weechat.look.command_incomplete is on (issue #1739) | |||
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-05-08 | core: 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-18 | core: make GnuTLS a required dependency | Sébastien Helleu | |
2020-01-20 | core: flush stdout/stderr before forking in hook_process function (closes #1441) | Sébastien Helleu | |
2020-01-04 | core: update copyright dates | Sébastien Helleu | |
2019-12-18 | core: add missing variable "proxy" in function hook_connect_print_log | Sébastien Helleu | |
2019-08-31 | core: fix compilation with autotools on FreeBSD 12.0 | Sébastien Helleu | |
2019-08-04 | core: return NULL immediately if string is NULL in function hook_modifier_exec | Sébastien Helleu | |
2019-06-16 | core: replace newlines by spaces in argument "completion" of function ↵ | Sébastien Helleu | |
hook_command (closes #538) | |||
2019-06-15 | api: add argument "strip_items" in function string_split | Sébastien Helleu | |