Sébastien Helleu
df1f48cc9b
core: display only version with command /version, add options -o and -ol in command /upgrade
2023-10-26 20:42:23 +02:00
Sébastien Helleu
c156fee0e1
core: fix crash when a custom bar item name is already used by a default bar item ( closes #2034 )
2023-10-23 13:11:02 +02:00
Sébastien Helleu
3cc400a9d6
core: add number of processes in command /sys waitpid
2023-10-22 21:02:41 +02:00
Sébastien Helleu
d6343020aa
core: fix random timeouts when a lot of concurrent processes are launched with hook_process ( closes #2033 )
2023-10-20 21:00:22 +02:00
Sébastien Helleu
02679e8001
logger: add description for examples in help on command /logger (issue #2005 )
2023-10-20 13:16:07 +02:00
Sébastien Helleu
fce5386d5c
irc: add description for examples in help on some commands (issue #2005 )
...
Help is updated on these commands:
- `/allchan`
- `/allpv`
- `/allserv`
2023-10-20 13:15:52 +02:00
Sébastien Helleu
96b7c60c5a
core: add description for examples in help on some commands (issue #2005 )
...
Help is updated on these commands:
- `/allbuf`
- `/bar`
- `/print`
- `/repeat`
- `/secure`
- `/wait`
2023-10-20 13:15:49 +02:00
Sébastien Helleu
a88b8f7ed2
irc: revert compute of nick colors to case sensitive way, deprecate again IRC nick color infos (issue #194 , issue #2032 )
2023-10-19 23:38:28 +02:00
Sébastien Helleu
fa1e82d500
xfer: format and translate commands line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
7702ed56ea
trigger: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
f65556f3b2
spell: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
ce5de07dbd
relay: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
efa1f44317
script: format and translate commands line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
d60859138f
logger: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
55ef9536c5
irc: format and translate commands line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
58bab65fd1
fset: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
79581019aa
fifo: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
aa32fa6d3e
exec: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
2aaa14b616
charset: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
cfa5f3324a
buflist: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
05b160b5bc
alias: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
2a4faf566b
core: format and translate commands line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
bbf42a5d09
api: add support of format/translation of command arguments description line by line (issue #2005 )
2023-10-17 18:14:53 +02:00
Sébastien Helleu
e34071131e
api: add function string_concat (issue #2005 )
2023-10-17 18:14:53 +02:00
Sébastien Helleu
9bc9df47d7
irc: add option irc.look.ignore_tag_messages ( closes #989 )
2023-10-15 18:45:11 +02:00
Sébastien Helleu
3898449dc2
irc: add structure with context sent as unique parameter to IRC protocol callbacks (issue #989 )
2023-10-15 18:40:01 +02:00
Sébastien Helleu
0c45083324
alias: allow wildcard in command /alias del (issue #1956 )
2023-10-15 16:50:26 +02:00
Sébastien Helleu
13e73d52d3
core: allow wildcard in command /proxy del (issue #1956 )
2023-10-15 16:19:31 +02:00
Sébastien Helleu
59d11533dd
core: allow wildcard in command /item del (issue #1956 )
2023-10-15 16:19:06 +02:00
Sébastien Helleu
99a56b99f2
core: allow wildcard in command /bar del (issue #1956 )
2023-10-15 16:18:51 +02:00
Sébastien Helleu
aebf6d7ab3
core: allow wildcard in command /filter (issue #1956 )
...
A mask with wildcards is now allowed in the following commands:
- `/filter enable`
- `/filter disable`
- `/filter toggle`
- `/filter del`
2023-10-15 16:18:02 +02:00
Sébastien Helleu
35660f8b1d
trigger: allow wildcard in command /trigger (issue #1956 )
...
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-15 16:15:50 +02:00
Sébastien Helleu
1d6e1fd752
core: make libintl.h required if CMake option ENABLE_NLS is enabled (issue #2031 )
2023-10-15 14:58:26 +02:00
Sébastien Helleu
9aefe4ae09
core: call curl init and cleanup functions
...
This is to prevent issues when these functions are not thread-safe.
2023-10-13 23:03:00 +02:00
Trygve Aaberge
13a057f0b2
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.
2023-10-13 21:52:15 +02:00
Trygve Aaberge
3735397a0f
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.
2023-10-13 09:26:00 +02:00
Trygve Aaberge
57b2efd82b
core: run hook_url callback when pthread_create failed
2023-10-13 09:25:39 +02:00
Sébastien Helleu
6468f7761f
core: set "error" field of "output" hashtable in hook_url in case of transfer timeout
2023-10-13 08:14:31 +02:00
Sébastien Helleu
02a05f63d5
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`.
2023-10-10 19:23:43 +02:00
Sébastien Helleu
408901d772
irc: move value -all at the end of completions for command /ignore del
2023-10-09 20:06:52 +02:00
Sébastien Helleu
bea9d5a2bf
irc: fix memory leak when joining channels with keys
2023-10-07 20:33:42 +02:00
Sébastien Helleu
b46ed5a2a2
core: use larger buffer for errors when creating a filter
2023-10-05 19:02:38 +02:00
Sébastien Helleu
6bd0c63192
core: make zstd dependency optional ( closes #2024 )
2023-10-01 16:36:32 +02:00
Sébastien Helleu
879a548bea
buflist: rename completions with items
...
Completions renamed:
- "buflist_all_items" -> "buflist_items"
- "buflist_used_items" -> "buflist_items_used"
2023-10-01 12:14:03 +02:00
Sébastien Helleu
e928bce76c
buflist: add support of item names in command /buflist refresh
2023-10-01 09:58:19 +02:00
LuK1337
8bd4994ccd
core, relay: make inet_pton() return value checks more strict
...
inet_pton() can return values < 0.
2023-09-26 17:48:20 +02:00
LuK1337
0bb5998988
core: replace inet_addr() with inet_pton()
...
man pages as well as rpminspect suggest that we shouldn't be using
inet_addr().
2023-09-26 17:12:03 +02:00
LuK1337
bcd23ff585
core: fix TOTP moving factor on big-endian systems
2023-09-25 13:48:30 +02:00
Sébastien Helleu
f72fb3be4b
irc: display "owner" for +q and "admin" for +a in output of /names ( closes #2020 , issue #97 )
2023-09-22 23:21:22 +02:00
Sébastien Helleu
c96971eebb
script: only check if return value of plugin_script_search_path is NULL (issue #2019 )
2023-09-22 22:58:51 +02:00