summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2024-02-11core: add WeeChat version in config update callbackSébastien Helleu
2024-02-10core: remove trailing directory separators in home directories (closes #2070)Sébastien Helleu
2024-02-01core: add support of base64url in encode/decode functions (issue #2066)Sébastien Helleu
2024-02-01relay: add "api" protocol (HTTP REST API) (issue #2066)Sébastien Helleu
2024-01-27core: use function util_strftimeval in evaluation of expression `date:xxx`Sébastien Helleu
2024-01-27api: add support of specifier `%!` for timestamp in function util_strftimevalSébastien Helleu
2024-01-24core: add support of `(?i)` for argument "name" in `/help buffer`Sébastien Helleu
2024-01-06core: add variable "opening" in buffer, do not send buffer signals when the ↵Sébastien Helleu
buffer is opening
2024-01-05core: add support of microseconds in command `/print -date` (issue #649)Sébastien Helleu
2024-01-05api: add function util_parse_time (issue #649)Sébastien Helleu
2024-01-01core: update copyright datesSébastien Helleu
2023-12-26core: store microseconds in buffer lines (closes #649)Sébastien Helleu
2023-12-24core: display when zstd is not available in output of `/debug libs`Sébastien Helleu
2023-12-14core: fix styleSébastien Helleu
2023-11-23core: fix evaluation of `${raw_hl:...}` with escaped prefix insideSébastien Helleu
Now `${raw_hl:\${` returns `\${` instead of `${`.
2023-11-23core: evaluate expressions even when the suffix is missing (issue #2042, ↵Sébastien Helleu
issue #1714)
2023-11-23core: 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-11core: add key ctrl+o to send command found and insert next one in input ↵Sébastien Helleu
(issue #2040)
2023-11-11core: 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-04core: fix double call to hook config when an option is unsetSébastien Helleu
2023-11-03core: 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-01core, 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-01core: display an error with command `/history N` when N is not a valid integerSébastien Helleu
2023-10-30core: fix memory leak when config version is invalid or not supportedSébastien Helleu
2023-10-30core: fix memory leak when infolist variable can not be createdSébastien Helleu
2023-10-30core: fix use NULL pointer when a config file has no optionsSébastien Helleu
2023-10-30core: fix crash when "config_version" is present in a configuration file ↵Sébastien Helleu
without a value
2023-10-30core: display an error on startup if environment variable "HOME" is not setSébastien Helleu
2023-10-26core: display only version with command `/version`, add options `-o` and ↵Sébastien Helleu
`-ol` in command `/upgrade`
2023-10-23core: fix crash when a custom bar item name is already used by a default bar ↵Sébastien Helleu
item (closes #2034)
2023-10-22core: add number of processes in command `/sys waitpid`Sébastien Helleu
2023-10-20core: fix random timeouts when a lot of concurrent processes are launched ↵Sébastien Helleu
with hook_process (closes #2033)
2023-10-20core: 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-17core: format and translate commands line by line (issue #2005)Sébastien Helleu
2023-10-17api: add support of format/translation of command arguments description line ↵Sébastien Helleu
by line (issue #2005)
2023-10-17api: add function string_concat (issue #2005)Sébastien Helleu
2023-10-15core: allow wildcard in command `/proxy del` (issue #1956)Sébastien Helleu
2023-10-15core: allow wildcard in command `/item del` (issue #1956)Sébastien Helleu
2023-10-15core: allow wildcard in command `/bar del` (issue #1956)Sébastien Helleu
2023-10-15core: 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-15core: make libintl.h required if CMake option ENABLE_NLS is enabled (issue ↵Sébastien Helleu
#2031)
2023-10-13core: call curl init and cleanup functionsSébastien Helleu
This is to prevent issues when these functions are not thread-safe.
2023-10-13core: only print hook_url errors when debug is enabledTrygve 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-13core: add error codes to output in hook_urlTrygve 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-13core: run hook_url callback when pthread_create failedTrygve Aaberge
2023-10-13core: set "error" field of "output" hashtable in hook_url in case of ↵Sébastien Helleu
transfer timeout
2023-10-10core: 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-01core: make zstd dependency optional (closes #2024)Sébastien Helleu
2023-09-26core, relay: make inet_pton() return value checks more strictLuK1337
inet_pton() can return values < 0.
2023-09-26core: replace inet_addr() with inet_pton()LuK1337
man pages as well as rpminspect suggest that we shouldn't be using inet_addr().