]>
jfr.im git - irc/weechat/weechat.git/log
Sébastien Helleu [Fri, 13 Oct 2023 22:08:38 +0000 (00:08 +0200)]
alias: allow wildcard in command `/alias del`
Sébastien Helleu [Fri, 13 Oct 2023 21:54:19 +0000 (23:54 +0200)]
core: allow wildcard in command `/proxy del`
Sébastien Helleu [Fri, 13 Oct 2023 21:49:38 +0000 (23:49 +0200)]
core: allow wildcard in command `/item del`
Sébastien Helleu [Fri, 13 Oct 2023 21:28:57 +0000 (23:28 +0200)]
core: allow wildcard in command `/bar del`
Sébastien Helleu [Fri, 13 Oct 2023 19:46:22 +0000 (21:46 +0200)]
core: allow wildcard in command `/filter`
A mask with wildcards is now allowed in the following commands:
- `/filter enable`
- `/filter disable`
- `/filter toggle`
- `/filter del`
Sébastien Helleu [Thu, 12 Oct 2023 16:10:22 +0000 (18:10 +0200)]
trigger: allow wildcard in command `/trigger`
A mask with wildcards is now allowed in the following commands:
- `/trigger enable`
- `/trigger disable`
- `/trigger toggle`
- `/trigger restart`
- `/trigger del`
- `/trigger restore`
Sébastien Helleu [Fri, 13 Oct 2023 21:03:00 +0000 (23:03 +0200)]
core: call curl init and cleanup functions
This is to prevent issues when these functions are not thread-safe.
Trygve Aaberge [Fri, 13 Oct 2023 07:33:36 +0000 (09:33 +0200)]
core: only print hook_url errors when debug is enabled
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.
Trygve Aaberge [Fri, 13 Oct 2023 07:26:00 +0000 (09:26 +0200)]
core: add error codes to output in hook_url
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.
Trygve Aaberge [Fri, 13 Oct 2023 07:25:39 +0000 (09:25 +0200)]
core: run hook_url callback when pthread_create failed
Sébastien Helleu [Fri, 13 Oct 2023 06:14:31 +0000 (08:14 +0200)]
core: set "error" field of "output" hashtable in hook_url in case of transfer timeout
Nils Görs [Wed, 11 Oct 2023 05:52:02 +0000 (07:52 +0200)]
core: update German translations
Sébastien Helleu [Tue, 10 Oct 2023 17:23:43 +0000 (19:23 +0200)]
core: fix zombie processes remaining after the end of forked processes (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`.
Sébastien Helleu [Mon, 9 Oct 2023 18:06:52 +0000 (20:06 +0200)]
irc: move value `-all` at the end of completions for command `/ignore del`
Sébastien Helleu [Sat, 7 Oct 2023 18:33:42 +0000 (20:33 +0200)]
irc: fix memory leak when joining channels with keys
Sébastien Helleu [Thu, 5 Oct 2023 17:05:02 +0000 (19:05 +0200)]
core: fix build error if CMake option ENABLE_NLS is turned to off or if required dependencies are not found (closes #2026)
Sébastien Helleu [Thu, 5 Oct 2023 17:02:38 +0000 (19:02 +0200)]
core: use larger buffer for errors when creating a filter
Nils Görs [Thu, 5 Oct 2023 06:44:28 +0000 (08:44 +0200)]
core: update German translations
Sébastien Helleu [Sun, 1 Oct 2023 14:43:48 +0000 (16:43 +0200)]
core: update ChangeLog (issue #2024)
Sébastien Helleu [Sun, 1 Oct 2023 14:36:32 +0000 (16:36 +0200)]
core: make zstd dependency optional (closes #2024)
Sébastien Helleu [Sun, 1 Oct 2023 10:14:03 +0000 (12:14 +0200)]
buflist: rename completions with items
Completions renamed:
- "buflist_all_items" -> "buflist_items"
- "buflist_used_items" -> "buflist_items_used"
Sébastien Helleu [Sun, 1 Oct 2023 07:58:19 +0000 (09:58 +0200)]
buflist: add support of item names in command `/buflist refresh`
LuK1337 [Tue, 26 Sep 2023 15:14:37 +0000 (17:14 +0200)]
core, relay: make inet_pton() return value checks more strict
inet_pton() can return values < 0.
Sébastien Helleu [Tue, 26 Sep 2023 15:14:10 +0000 (17:14 +0200)]
core: add contributor
LuK1337 [Tue, 26 Sep 2023 13:33:36 +0000 (15:33 +0200)]
core: replace inet_addr() with inet_pton()
man pages as well as rpminspect suggest that we shouldn't be using
inet_addr().
Sébastien Helleu [Mon, 25 Sep 2023 11:50:32 +0000 (13:50 +0200)]
core: update ChangeLog
LuK1337 [Sun, 24 Sep 2023 19:36:11 +0000 (21:36 +0200)]
core: fix TOTP moving factor on big-endian systems
LuK1337 [Sun, 24 Sep 2023 18:40:54 +0000 (20:40 +0200)]
tests: use correct data type method in hdata tests
LuK1337 [Sun, 24 Sep 2023 18:39:36 +0000 (20:39 +0200)]
tests: cast infolist time variable value to the correct data type
Sébastien Helleu [Sun, 24 Sep 2023 08:24:26 +0000 (10:24 +0200)]
core: add version 4.0.5
Sébastien Helleu [Fri, 22 Sep 2023 21:21:22 +0000 (23:21 +0200)]
irc: display "owner" for +q and "admin" for +a in output of `/names` (closes #2020, issue #97)
Sébastien Helleu [Fri, 22 Sep 2023 21:12:32 +0000 (23:12 +0200)]
core: update translations
Sébastien Helleu [Fri, 22 Sep 2023 20:58:51 +0000 (22:58 +0200)]
script: only check if return value of plugin_script_search_path is NULL (issue #2019)
Sébastien Helleu [Fri, 22 Sep 2023 20:51:44 +0000 (22:51 +0200)]
script: fix removal of script in system directory while trying to install a script (closes #2019)
Sébastien Helleu [Wed, 20 Sep 2023 18:05:49 +0000 (20:05 +0200)]
script: fix autoload of multiple scripts at once with `/script autoload` (closes #2018)
Sébastien Helleu [Wed, 20 Sep 2023 04:56:56 +0000 (06:56 +0200)]
tests: fix condition on libgcrypt version for algorithms `sha512-224` and `sha512-256` (issue #2008)
Sébastien Helleu [Sat, 16 Sep 2023 10:55:32 +0000 (12:55 +0200)]
doc/api: use a table for file_in/file_out options in function hook_url
Sébastien Helleu [Sat, 16 Sep 2023 08:28:08 +0000 (10:28 +0200)]
doc/api: add link to hook_url in hook_process_hashtable for Curl options
Sébastien Helleu [Fri, 15 Sep 2023 06:12:02 +0000 (08:12 +0200)]
core: properly terminate thread and release memory in url hook
Sébastien Helleu [Fri, 8 Sep 2023 15:07:24 +0000 (17:07 +0200)]
doc/api: add function hook_url
Sébastien Helleu [Fri, 8 Sep 2023 15:07:03 +0000 (17:07 +0200)]
scripts: add function hook_url in scripting API
Sébastien Helleu [Fri, 8 Sep 2023 09:35:12 +0000 (11:35 +0200)]
script: replace hook_process_hashtable by hook_url to download scripts and list of scripts (closes #1723)
Sébastien Helleu [Fri, 8 Sep 2023 09:34:56 +0000 (11:34 +0200)]
api: add function hook_url
Sébastien Helleu [Sat, 16 Sep 2023 07:46:50 +0000 (09:46 +0200)]
doc/faq: add question about move of WeeChat config to another device
Sébastien Helleu [Fri, 15 Sep 2023 16:57:00 +0000 (18:57 +0200)]
doc/faq: add question about keys like Enter and version 4.0.0
Nils Görs [Fri, 15 Sep 2023 10:48:22 +0000 (12:48 +0200)]
core: update German translations
Sébastien Helleu [Fri, 15 Sep 2023 06:43:37 +0000 (08:43 +0200)]
script: rename parameters up/down/go to -up/-down/-go in command `/script`
Sébastien Helleu [Thu, 14 Sep 2023 18:48:58 +0000 (20:48 +0200)]
xfer: fix crash on `/dcc chat`
Sébastien Helleu [Thu, 14 Sep 2023 18:19:05 +0000 (20:19 +0200)]
irc: add option irc.look.open_pv_buffer_echo_msg (issue #2016)
Sébastien Helleu [Thu, 14 Sep 2023 14:15:09 +0000 (16:15 +0200)]
irc: update title in query buffer when remote nick is myself (issue #2016)
Sébastien Helleu [Thu, 14 Sep 2023 13:22:11 +0000 (15:22 +0200)]
irc: fix title of query buffer for own messages received (issue #2016)
Sébastien Helleu [Thu, 14 Sep 2023 12:51:50 +0000 (14:51 +0200)]
irc: open a query buffer on PRIVMSG received from self nick when capability echo-message is NOT enabled (issue #2016)
Sébastien Helleu [Thu, 14 Sep 2023 09:10:17 +0000 (11:10 +0200)]
irc: don't open a new private buffer on `/msg` command when capability echo-message is enabled (closes #2016)
Sébastien Helleu [Thu, 14 Sep 2023 09:07:42 +0000 (11:07 +0200)]
core: move ChangeLog entry to the appropriate version
Nils Görs [Thu, 14 Sep 2023 06:45:01 +0000 (08:45 +0200)]
core: update German translations
Sébastien Helleu [Thu, 14 Sep 2023 06:04:44 +0000 (08:04 +0200)]
irc: fix title of private buffers wrongly set to own address when capability echo-message is enabled (issue #2016)
Sébastien Helleu [Wed, 13 Sep 2023 13:10:19 +0000 (15:10 +0200)]
core: add algorithms `sha512-224`, `sha512-256`, `sha3-*`, blake2b-*` and `blake2s-*` in option sec.crypt.hash_algo (closes #2008)
Sébastien Helleu [Sun, 10 Sep 2023 12:02:58 +0000 (14:02 +0200)]
api: add algorithms `sha512-224`, `sha512-256`, blake2b-*` and `blake2s-*` in hash functions (issue #2008)
Nils Görs [Wed, 13 Sep 2023 08:19:54 +0000 (10:19 +0200)]
core: update German translations
Sébastien Helleu [Tue, 12 Sep 2023 13:09:00 +0000 (15:09 +0200)]
core: translate error messages (issue #2013)
Sébastien Helleu [Tue, 12 Sep 2023 12:59:25 +0000 (14:59 +0200)]
core: automatically backup config file read if it has an unsupported version (closes #2013)
Sébastien Helleu [Tue, 12 Sep 2023 11:38:14 +0000 (13:38 +0200)]
xfer: fix memory leak on plugin unload
Sébastien Helleu [Tue, 12 Sep 2023 11:35:02 +0000 (13:35 +0200)]
doc/api: fix return values for callback_read in config_new_section
Sébastien Helleu [Tue, 12 Sep 2023 06:14:23 +0000 (08:14 +0200)]
irc: fix unexpected message sent to server when part of the second line of an IRC command (closes #1992)
Sébastien Helleu [Mon, 11 Sep 2023 20:49:21 +0000 (22:49 +0200)]
core: add path in message displayed when a config file is updated to a newer version
Sébastien Helleu [Mon, 11 Sep 2023 19:41:47 +0000 (21:41 +0200)]
irc: fix autojoin of channels when private buffers are opened (closes #2012)
Sébastien Helleu [Mon, 11 Sep 2023 14:40:45 +0000 (16:40 +0200)]
irc: reset filter and sort when /list buffer is closed (issue #1972)
Nils Görs [Mon, 11 Sep 2023 09:21:54 +0000 (11:21 +0200)]
core: update German translations
Sébastien Helleu [Mon, 11 Sep 2023 07:53:17 +0000 (09:53 +0200)]
core: display a message when a configuration file is updated to a newer version
Nils Görs [Mon, 11 Sep 2023 06:44:14 +0000 (08:44 +0200)]
core: update German translations
Sébastien Helleu [Mon, 11 Sep 2023 05:55:54 +0000 (07:55 +0200)]
buflist: add missing items buflist4 and buflist5 in help on command/options and user's guide
Nils Görs [Sat, 9 Sep 2023 19:03:38 +0000 (21:03 +0200)]
core: update German translations
Sébastien Helleu [Sat, 9 Sep 2023 09:26:04 +0000 (11:26 +0200)]
doc/user: add missing actions on script buffer
Sébastien Helleu [Sat, 9 Sep 2023 09:10:50 +0000 (11:10 +0200)]
doc/user: add missing key alt+L (input `L`) on script buffer
Sébastien Helleu [Sat, 9 Sep 2023 06:54:33 +0000 (08:54 +0200)]
scripts: add functions config_enum and config_enum_default in scripting API (issue #1973)
Sébastien Helleu [Fri, 8 Sep 2023 18:22:59 +0000 (20:22 +0200)]
doc/user: add missing actions `p` and `v` on fset buffer
Sébastien Helleu [Fri, 8 Sep 2023 11:06:28 +0000 (13:06 +0200)]
xfer: display an error message when opening file for read or write fails (issue #2010)
Sébastien Helleu [Fri, 8 Sep 2023 11:02:36 +0000 (13:02 +0200)]
core: update translations
Sébastien Helleu [Fri, 8 Sep 2023 08:42:00 +0000 (10:42 +0200)]
script: fix up/down keys on /script buffer
Regression was introduced in commit
817d1eaf8e0be700bf9b61dcbaf9db7ab507d3af .
Nils Görs [Fri, 8 Sep 2023 05:56:48 +0000 (07:56 +0200)]
core: update German translations
Sébastien Helleu [Thu, 7 Sep 2023 09:38:26 +0000 (11:38 +0200)]
core: add completion "eval_variables", used in completion of `/eval`
Sébastien Helleu [Thu, 7 Sep 2023 09:30:54 +0000 (11:30 +0200)]
core: fix comment on function eval_replace_vars_cb
Sébastien Helleu [Wed, 6 Sep 2023 17:14:52 +0000 (19:14 +0200)]
core: update translations (issue #2004)
Sébastien Helleu [Wed, 6 Sep 2023 17:10:06 +0000 (19:10 +0200)]
core: add contributor (issue #2004)
Sébastien Helleu [Wed, 6 Sep 2023 17:09:54 +0000 (19:09 +0200)]
core: update ChangeLog (issue #2004)
Sébastien Helleu [Wed, 6 Sep 2023 15:25:38 +0000 (17:25 +0200)]
xfer: fix code style (issue #2004)
Sébastien Helleu [Wed, 6 Sep 2023 15:25:33 +0000 (17:25 +0200)]
irc: fix code style (issue #2004)
Mario Campos [Thu, 24 Aug 2023 13:34:46 +0000 (08:34 -0500)]
xfer: update command/config docs with passive DCC support.
Mario Campos [Tue, 22 Aug 2023 23:59:59 +0000 (18:59 -0500)]
xfer: add passive DCC support.
This commit also includes support for passive DCC RESUME.
There was also a potential segfault with calling `atoi(pos_token)` when `pos_token` is NULL, so `token` is set to be stored as a string. Although it is an integer, we don't need to store it as such. That's really more of an implementation detail.
Mario Campos [Fri, 18 Aug 2023 15:07:23 +0000 (10:07 -0500)]
xfer: add and identify active/passive xfer types.
Before making any significant changes, let's identify the existing xfer types by either active or passive.
Mario Campos [Fri, 18 Aug 2023 14:34:34 +0000 (09:34 -0500)]
xfer: reverse DCC parsing from RtL to LtR.
This makes it easier to handle the optional "token" argument at the (right) end, which will be necessary to support passive DCC.
Incidentally, this is RtL parsing order is the reason why you'd get a cryptic "0" address error when attempting to do passive DCC: the "token" argument gets misinterpreted as the "size" argument. Every argument "shifts" over by one, leaving an address (port) of "0".
Sébastien Helleu [Wed, 6 Sep 2023 12:10:56 +0000 (14:10 +0200)]
irc: remove default CTCP replies FINGER and USERINFO from user's guide (issue #1974)
Sébastien Helleu [Wed, 6 Sep 2023 12:05:10 +0000 (14:05 +0200)]
irc: fix comments on CTCP evaluated variables (issue #1974)
Ivan Pešić [Wed, 6 Sep 2023 07:40:48 +0000 (11:40 +0400)]
doc: Update Serbian documentation
Ivan Pešić [Wed, 6 Sep 2023 07:39:23 +0000 (11:39 +0400)]
core: Update Serbian translation
Sébastien Helleu [Tue, 5 Sep 2023 06:13:13 +0000 (08:13 +0200)]
core: add note for translators on command arguments (issue #2005)
Only text between angle brackets (eg: "<name>") must be translated.
Sébastien Helleu [Fri, 1 Sep 2023 06:58:36 +0000 (08:58 +0200)]
doc: fix alignment of command arguments in auto-generated file when command name contains wide chars
Nils Görs [Fri, 1 Sep 2023 05:29:20 +0000 (07:29 +0200)]
core: update German translations
Sébastien Helleu [Wed, 30 Aug 2023 15:33:50 +0000 (17:33 +0200)]
doc/user: add section "buffer" in chapter on WeeChat options (issue #352)
Sébastien Helleu [Wed, 30 Aug 2023 15:25:21 +0000 (17:25 +0200)]
core: do not evaluate properties "key_bind_xxx" and "key_unbind_xxx" in options weechat.buffer.* (issue #352)