summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-10-15trigger: allow wildcard in command `/trigger` (issue #1956)Sébastien Helleu
A mask with wildcards is now allowed in the following commands: - `/trigger enable` - `/trigger disable` - `/trigger toggle` - `/trigger restart` - `/trigger del` - `/trigger restore`
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-09irc: move value `-all` at the end of completions for command `/ignore del`Sébastien Helleu
2023-10-07irc: fix memory leak when joining channels with keysSébastien Helleu
2023-10-05core: use larger buffer for errors when creating a filterSébastien Helleu
2023-10-01core: make zstd dependency optional (closes #2024)Sébastien Helleu
2023-10-01buflist: rename completions with itemsSébastien Helleu
Completions renamed: - "buflist_all_items" -> "buflist_items" - "buflist_used_items" -> "buflist_items_used"
2023-10-01buflist: add support of item names in command `/buflist refresh`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-22irc: display "owner" for +q and "admin" for +a in output of `/names` (closes ↵Sébastien Helleu
#2020, issue #97)
2023-09-22script: only check if return value of plugin_script_search_path is NULL ↵Sébastien Helleu
(issue #2019)
2023-09-22script: fix removal of script in system directory while trying to install a ↵Sébastien Helleu
script (closes #2019)
2023-09-20script: fix autoload of multiple scripts at once with `/script autoload` ↵Sébastien Helleu
(closes #2018)
2023-09-16core: properly terminate thread and release memory in url hookSébastien Helleu
2023-09-16scripts: add function hook_url in scripting APISébastien Helleu
2023-09-16script: replace hook_process_hashtable by hook_url to download scripts and ↵Sébastien Helleu
list of scripts (closes #1723)
2023-09-16api: add function hook_urlSébastien Helleu
2023-09-15script: rename parameters up/down/go to -up/-down/-go in command `/script`Sébastien Helleu
2023-09-14xfer: fix crash on `/dcc chat`Sébastien Helleu
2023-09-14irc: add option irc.look.open_pv_buffer_echo_msg (issue #2016)Sébastien Helleu
2023-09-14irc: update title in query buffer when remote nick is myself (issue #2016)Sébastien Helleu
2023-09-14irc: fix title of query buffer for own messages received (issue #2016)Sébastien Helleu
2023-09-14irc: open a query buffer on PRIVMSG received from self nick when capability ↵Sébastien Helleu
echo-message is NOT enabled (issue #2016)
2023-09-14irc: don't open a new private buffer on `/msg` command when capability ↵Sébastien Helleu
echo-message is enabled (closes #2016)
2023-09-14irc: fix title of private buffers wrongly set to own address when capability ↵Sébastien Helleu
echo-message is enabled (issue #2016)
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-12xfer: fix memory leak on plugin unloadSébastien Helleu
2023-09-12irc: fix unexpected message sent to server when part of the second line of ↵Sébastien Helleu
an IRC command (closes #1992)
2023-09-11core: add path in message displayed when a config file is updated to a newer ↵Sébastien Helleu
version
2023-09-11irc: fix autojoin of channels when private buffers are opened (closes #2012)Sébastien Helleu
2023-09-11irc: reset filter and sort when /list buffer is closed (issue #1972)Sébastien Helleu
2023-09-11core: display a message when a configuration file is updated to a newer versionSébastien Helleu
2023-09-11buflist: add missing items buflist4 and buflist5 in help on command/options ↵Sébastien Helleu
and user's guide
2023-09-09scripts: add functions config_enum and config_enum_default in scripting API ↵Sébastien Helleu
(issue #1973)
2023-09-08xfer: display an error message when opening file for read or write fails ↵Sébastien Helleu
(issue #2010)
2023-09-08script: fix up/down keys on /script bufferSébastien Helleu
Regression was introduced in commit 817d1eaf8e0be700bf9b61dcbaf9db7ab507d3af.
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-06xfer: fix code style (issue #2004)Sébastien Helleu