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
Sébastien Helleu
d6e4e87faf
script: fix removal of script in system directory while trying to install a script ( closes #2019 )
2023-09-22 22:51:44 +02:00
Sébastien Helleu
12106ae7ba
script: fix autoload of multiple scripts at once with /script autoload ( closes #2018 )
2023-09-20 20:05:49 +02:00
Sébastien Helleu
f0e4494205
core: properly terminate thread and release memory in url hook
2023-09-16 13:00:03 +02:00
Sébastien Helleu
fb00bc1f4b
scripts: add function hook_url in scripting API
2023-09-16 13:00:03 +02:00
Sébastien Helleu
24d2ba3338
script: replace hook_process_hashtable by hook_url to download scripts and list of scripts ( closes #1723 )
2023-09-16 12:58:57 +02:00
Sébastien Helleu
63922ca038
api: add function hook_url
2023-09-16 10:19:51 +02:00
Sébastien Helleu
85b5bacfe3
script: rename parameters up/down/go to -up/-down/-go in command /script
2023-09-15 08:43:37 +02:00
Sébastien Helleu
e62ff286ff
xfer: fix crash on /dcc chat
2023-09-14 20:48:58 +02:00
Sébastien Helleu
cb680ef9df
irc: add option irc.look.open_pv_buffer_echo_msg (issue #2016 )
2023-09-14 20:19:05 +02:00
Sébastien Helleu
63fc9aace8
irc: update title in query buffer when remote nick is myself (issue #2016 )
2023-09-14 16:15:09 +02:00
Sébastien Helleu
a2c3322df7
irc: fix title of query buffer for own messages received (issue #2016 )
2023-09-14 15:22:11 +02:00
Sébastien Helleu
049e9d23c5
irc: open a query buffer on PRIVMSG received from self nick when capability echo-message is NOT enabled (issue #2016 )
2023-09-14 14:51:50 +02:00
Sébastien Helleu
4c3ab508c7
irc: don't open a new private buffer on /msg command when capability echo-message is enabled ( closes #2016 )
2023-09-14 11:10:17 +02:00
Sébastien Helleu
4e173c1972
irc: fix title of private buffers wrongly set to own address when capability echo-message is enabled (issue #2016 )
2023-09-14 08:04:44 +02:00
Sébastien Helleu
ef99d544fa
core: add algorithms sha512-224, sha512-256, sha3-*, blake2b-* and blake2s-*` in option sec.crypt.hash_algo ( closes #2008 )
2023-09-13 15:10:19 +02:00
Sébastien Helleu
684bfd64c6
api: add algorithms sha512-224, sha512-256, blake2b-* and blake2s-*` in hash functions (issue #2008 )
2023-09-13 15:09:34 +02:00
Sébastien Helleu
d100d62a72
core: translate error messages (issue #2013 )
2023-09-12 15:09:00 +02:00
Sébastien Helleu
3021b2f9c5
core: automatically backup config file read if it has an unsupported version ( closes #2013 )
2023-09-12 14:59:25 +02:00
Sébastien Helleu
6fcdb50dab
xfer: fix memory leak on plugin unload
2023-09-12 13:38:14 +02:00
Sébastien Helleu
c4c58e0914
irc: fix unexpected message sent to server when part of the second line of an IRC command ( closes #1992 )
2023-09-12 08:14:23 +02:00
Sébastien Helleu
8eb2604704
core: add path in message displayed when a config file is updated to a newer version
2023-09-11 22:49:21 +02:00
Sébastien Helleu
ddd859886e
irc: fix autojoin of channels when private buffers are opened ( closes #2012 )
2023-09-11 21:41:47 +02:00
Sébastien Helleu
ae50f6688e
irc: reset filter and sort when /list buffer is closed (issue #1972 )
2023-09-11 16:40:45 +02:00
Sébastien Helleu
82372115ae
core: display a message when a configuration file is updated to a newer version
2023-09-11 09:53:17 +02:00
Sébastien Helleu
79d0a134e3
buflist: add missing items buflist4 and buflist5 in help on command/options and user's guide
2023-09-11 07:55:54 +02:00
Sébastien Helleu
d9555cc567
scripts: add functions config_enum and config_enum_default in scripting API (issue #1973 )
2023-09-09 08:54:33 +02:00
Sébastien Helleu
46b76af645
xfer: display an error message when opening file for read or write fails (issue #2010 )
2023-09-08 13:06:28 +02:00
Sébastien Helleu
2c251cd285
script: fix up/down keys on /script buffer
...
Regression was introduced in commit 817d1eaf8e .
2023-09-08 10:47:46 +02:00
Sébastien Helleu
374262a8d7
core: add completion "eval_variables", used in completion of /eval
2023-09-07 11:38:26 +02:00
Sébastien Helleu
89739421cf
core: fix comment on function eval_replace_vars_cb
2023-09-07 11:30:54 +02:00
Sébastien Helleu
6eb3f5672f
xfer: fix code style (issue #2004 )
2023-09-06 19:10:47 +02:00
Sébastien Helleu
1f1416dd50
irc: fix code style (issue #2004 )
2023-09-06 19:10:41 +02:00
Mario Campos
1ee3bad88b
xfer: update command/config docs with passive DCC support.
2023-09-06 14:11:35 +02:00
Mario Campos
7f0f947667
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.
2023-09-06 14:11:35 +02:00
Mario Campos
23d70b5101
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.
2023-09-06 14:11:35 +02:00
Mario Campos
2a40743ed0
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".
2023-09-06 14:11:35 +02:00
Sébastien Helleu
e1ecf992f3
irc: fix comments on CTCP evaluated variables (issue #1974 )
2023-09-06 14:05:10 +02:00
Sébastien Helleu
722cb27d04
core: add note for translators on command arguments (issue #2005 )
...
Only text between angle brackets (eg: "<name>") must be translated.
2023-09-05 13:28:26 +02:00
Sébastien Helleu
13ce1147fc
doc: fix alignment of command arguments in auto-generated file when command name contains wide chars
2023-09-01 08:58:36 +02:00
Sébastien Helleu
2b3fb62065
core: do not evaluate properties "key_bind_xxx" and "key_unbind_xxx" in options weechat.buffer.* (issue #352 )
2023-08-30 17:25:21 +02:00
Sébastien Helleu
8b3311860b
api: add support of path to variable and hashtable comparison in function hdata_compare ( closes #1066 )
2023-08-29 10:22:17 +02:00
Sébastien Helleu
58d61cb153
core: remove unused variable old_value
2023-08-29 09:53:08 +02:00
Sébastien Helleu
32f52ae236
core: check that property is not NULL before calling free
2023-08-29 09:52:17 +02:00
Sébastien Helleu
aa4bc616b9
core: add missing include of unistd.h
2023-08-28 17:57:46 +02:00
Sébastien Helleu
b203c4109b
core: move sys filename and functions
2023-08-28 17:55:54 +02:00
Sébastien Helleu
a16b3d25ce
core: update translations
2023-08-28 17:47:21 +02:00
Sébastien Helleu
cc2b44a8ec
core: add key ctrl+z to suspend WeeChat process ( closes #985 )
2023-08-28 17:39:33 +02:00
Sébastien Helleu
5ecb1adc34
core: add command /sys to show resource limits and usage
2023-08-28 12:30:32 +02:00
Sébastien Helleu
711d3afa5c
script: fix crash when a /script command triggers another /script command (issue #923 )
2023-08-27 17:19:01 +02:00