Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-24 | core: display when zstd is not available in output of `/debug libs` | Sébastien Helleu | |
2023-12-14 | core: fix style | Sébastien Helleu | |
2023-11-23 | core: fix evaluation of `${raw_hl:...}` with escaped prefix inside | Sébastien Helleu | |
Now `${raw_hl:\${` returns `\${` instead of `${`. | |||
2023-11-23 | core: evaluate expressions even when the suffix is missing (issue #2042, ↵ | Sébastien Helleu | |
issue #1714) | |||
2023-11-23 | core: add syntax highlighting in evaluation of expressions, add option ↵ | Sébastien Helleu | |
weechat.color.eval_syntax_colors (issue #2042) Syntax highlighting (raw string without evaluation): `${raw_hl:xxx}` Syntax highlighting: `${hl:xxx}` | |||
2023-11-11 | core: add key ctrl+o to send command found and insert next one in input ↵ | Sébastien Helleu | |
(issue #2040) | |||
2023-11-11 | core: add incremental search in commands history (issue #2040) | Sébastien Helleu | |
Changes: - move key ctrl+r to ctrl+s - add key ctrl+r to search in commands history - add option `search_history` in command `/input` - add key context "histsearch" - add option weechat.look.buffer_search_history - add buffer variables "text_search_direction", "text_search_history" and "text_search_ptr_history" | |||
2023-11-04 | core: fix double call to hook config when an option is unset | Sébastien Helleu | |
2023-11-03 | core: call hook config when options are freed by unset or when file/section ↵ | Sébastien Helleu | |
is freed This fixes a refresh issue on the fset buffer when a plugin is unloaded: now the options displayed that are freed are properly removed from the fset buffer. | |||
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-11-01 | core: display an error with command `/history N` when N is not a valid integer | Sébastien Helleu | |
2023-10-30 | core: fix memory leak when config version is invalid or not supported | Sébastien Helleu | |
2023-10-30 | core: fix memory leak when infolist variable can not be created | Sébastien Helleu | |
2023-10-30 | core: fix use NULL pointer when a config file has no options | Sébastien Helleu | |
2023-10-30 | core: fix crash when "config_version" is present in a configuration file ↵ | Sébastien Helleu | |
without a value | |||
2023-10-30 | core: display an error on startup if environment variable "HOME" is not set | Sébastien Helleu | |
2023-10-26 | core: display only version with command `/version`, add options `-o` and ↵ | Sébastien Helleu | |
`-ol` in command `/upgrade` | |||
2023-10-23 | core: fix crash when a custom bar item name is already used by a default bar ↵ | Sébastien Helleu | |
item (closes #2034) | |||
2023-10-22 | core: add number of processes in command `/sys waitpid` | 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-20 | core: add description for examples in help on some commands (issue #2005) | Sébastien Helleu | |
Help is updated on these commands: - `/allbuf` - `/bar` - `/print` - `/repeat` - `/secure` - `/wait` | |||
2023-10-17 | core: format and translate commands line by line (issue #2005) | Sébastien Helleu | |
2023-10-17 | api: add support of format/translation of command arguments description line ↵ | Sébastien Helleu | |
by line (issue #2005) | |||
2023-10-17 | api: add function string_concat (issue #2005) | Sébastien Helleu | |
2023-10-15 | core: allow wildcard in command `/proxy del` (issue #1956) | Sébastien Helleu | |
2023-10-15 | core: allow wildcard in command `/item del` (issue #1956) | Sébastien Helleu | |
2023-10-15 | core: allow wildcard in command `/bar del` (issue #1956) | Sébastien Helleu | |
2023-10-15 | core: allow wildcard in command `/filter` (issue #1956) | Sébastien Helleu | |
A mask with wildcards is now allowed in the following commands: - `/filter enable` - `/filter disable` - `/filter toggle` - `/filter del` | |||
2023-10-15 | core: make libintl.h required if CMake option ENABLE_NLS is enabled (issue ↵ | Sébastien Helleu | |
#2031) | |||
2023-10-13 | core: call curl init and cleanup functions | Sébastien Helleu | |
This is to prevent issues when these functions are not thread-safe. | |||
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-10-01 | core: make zstd dependency optional (closes #2024) | Sébastien Helleu | |
2023-09-26 | core, relay: make inet_pton() return value checks more strict | LuK1337 | |
inet_pton() can return values < 0. | |||
2023-09-26 | core: replace inet_addr() with inet_pton() | LuK1337 | |
man pages as well as rpminspect suggest that we shouldn't be using inet_addr(). | |||
2023-09-25 | core: fix TOTP moving factor on big-endian systems | LuK1337 | |
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-09-13 | core: add algorithms `sha512-224`, `sha512-256`, `sha3-*`, blake2b-*` and ↵ | Sébastien Helleu | |
`blake2s-*` in option sec.crypt.hash_algo (closes #2008) | |||
2023-09-13 | api: add algorithms `sha512-224`, `sha512-256`, blake2b-*` and `blake2s-*` ↵ | Sébastien Helleu | |
in hash functions (issue #2008) | |||
2023-09-12 | core: translate error messages (issue #2013) | Sébastien Helleu | |
2023-09-12 | core: automatically backup config file read if it has an unsupported version ↵ | Sébastien Helleu | |
(closes #2013) | |||
2023-09-11 | core: add path in message displayed when a config file is updated to a newer ↵ | Sébastien Helleu | |
version | |||
2023-09-11 | core: display a message when a configuration file is updated to a newer version | Sébastien Helleu | |
2023-09-07 | core: add completion "eval_variables", used in completion of `/eval` | Sébastien Helleu | |
2023-09-07 | core: fix comment on function eval_replace_vars_cb | Sébastien Helleu | |
2023-09-05 | core: add note for translators on command arguments (issue #2005) | Sébastien Helleu | |
Only text between angle brackets (eg: "<name>") must be translated. |