summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
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().
2023-09-25core: fix TOTP moving factor on big-endian systemsLuK1337
2023-09-16core: properly terminate thread and release memory in url hookSébastien Helleu
2023-09-16api: add function hook_urlSébastien Helleu
2023-09-13core: add algorithms `sha512-224`, `sha512-256`, `sha3-*`, blake2b-*` and ↵Sébastien Helleu
`blake2s-*` in option sec.crypt.hash_algo (closes #2008)
2023-09-13api: add algorithms `sha512-224`, `sha512-256`, blake2b-*` and `blake2s-*` ↵Sébastien Helleu
in hash functions (issue #2008)
2023-09-12core: translate error messages (issue #2013)Sébastien Helleu
2023-09-12core: automatically backup config file read if it has an unsupported version ↵Sébastien Helleu
(closes #2013)
2023-09-11core: add path in message displayed when a config file is updated to a newer ↵Sébastien Helleu
version
2023-09-11core: display a message when a configuration file is updated to a newer versionSébastien Helleu
2023-09-07core: add completion "eval_variables", used in completion of `/eval`Sébastien Helleu
2023-09-07core: fix comment on function eval_replace_vars_cbSébastien Helleu
2023-09-05core: add note for translators on command arguments (issue #2005)Sébastien Helleu
Only text between angle brackets (eg: "<name>") must be translated.
2023-09-01doc: fix alignment of command arguments in auto-generated file when command ↵Sébastien Helleu
name contains wide chars
2023-08-30core: do not evaluate properties "key_bind_xxx" and "key_unbind_xxx" in ↵Sébastien Helleu
options weechat.buffer.* (issue #352)
2023-08-29api: add support of path to variable and hashtable comparison in function ↵Sébastien Helleu
hdata_compare (closes #1066)
2023-08-29core: remove unused variable old_valueSébastien Helleu
2023-08-29core: check that property is not NULL before calling freeSébastien Helleu
2023-08-28core: add missing include of unistd.hSébastien Helleu
2023-08-28core: move sys filename and functionsSébastien Helleu
2023-08-28core: update translationsSébastien Helleu
2023-08-28core: add key ctrl+z to suspend WeeChat process (closes #985)Sébastien Helleu
2023-08-28core: add command `/sys` to show resource limits and usageSébastien Helleu
2023-08-27core: add support of quotes in commands `/key bind` and `/key bindctxt`Sébastien Helleu
2023-08-27core: add countdown example in `/help repeat` (issue #2007)Sébastien Helleu
2023-08-27core: evaluate command given to `/repeat` with contextual variables (closes ↵Sébastien Helleu
#2007)
2023-08-26core: add variable ${property} in evaluation of options weechat.buffer.* ↵Sébastien Helleu
(issue #352)
2023-08-25core: add option `callbacks` in command `/debug`Sébastien Helleu
2023-08-25core: add function util_get_microseconds_stringSébastien Helleu
2023-08-25core: add microseconds precision in function util_parse_delaySébastien Helleu
2023-08-24core: add buffer local keys in completion "buffer_properties_setauto"Sébastien Helleu
2023-08-24api: add infos "nick_color_ignore_case" and "nick_color_name_ignore_case" ↵Sébastien Helleu
(issue #194)
2023-08-24core: add option `setauto` in command `/buffer` (issue #352)Sébastien Helleu
2023-08-24core: add options weechat.buffer.* to save buffer properties set by user ↵Sébastien Helleu
(issue #352)
2023-08-18core: add name of section in warning message for invalid value when reading ↵Sébastien Helleu
config
2023-08-17core: fix increment/decrement of options weechat.notify.*Sébastien Helleu
2023-08-17core: fix integer overflow when setting integer option with `++N` or `--N`Sébastien Helleu
2023-08-16core: fix /help cursor (issue #1282)Sébastien Helleu
2023-08-16core: add parameters and key bindings to move to edges of current area with ↵Sébastien Helleu
commands `/cursor go` and `/cursor move` (closes #1282)
2023-07-31core: remove CMake option "ENABLE_DOC_WARN_LOCALE" (issue #1985)Sébastien Helleu
2023-07-31core: fix typoSébastien Helleu