Sébastien Helleu
58141bde79
irc: fix autojoin of channels when private buffers are opened (issue #2012 )
2023-09-11 21:43:35 +02:00
Sébastien Helleu
8b7513e883
script: fix crash when a /script command triggers another /script command (issue #923 )
2023-08-27 17:22:09 +02:00
Sébastien Helleu
2566fca78c
irc: use str_nicks only if not NULL in callback of message 353
2023-08-27 17:20:32 +02:00
Trygve Aaberge
a82bfa0e7e
Add compatibility with Python < 3.10 in weechat.pyi
...
The | syntax for unions is only supported in Python 3.10 and later.
Since Python 3.8 and 3.9 are still supported upstream for a while and we
had a user reporting on IRC that they couldn't use the stub file since
they are using 3.8, change to the old syntax for unions to support this.
There aren't really any drawbacks of this. It's just a bit more verbose,
and a typing import is necessary, but neither of those really matters in
a generated stub file.
2023-08-24 19:12:53 +02:00
Sébastien Helleu
e3f6dab366
irc: fix string comparison when CASEMAPPING is set to "ascii"
2023-08-24 09:23:30 +02:00
Sébastien Helleu
1a05f89586
irc: check that server is not NULL in function irc_server_eval_fingerprint
2023-08-24 09:23:30 +02:00
Sébastien Helleu
87e47894e6
script: adjust scroll after command /script go N
2023-08-22 11:29:37 +02:00
Sébastien Helleu
39fdb1b564
logger: remove trailing empty line in display of backlog (issue #2002 )
2023-08-21 16:02:37 +02:00
Sébastien Helleu
c5eb982424
perl: fix display of non-ASCII chars after load of a script with Perl >= 5.38 (issue #1996 )
2023-08-21 13:11:58 +02:00
Sébastien Helleu
e7bf09f4e8
irc: fix wrong time displayed for CTCP messages received from self nick (issue #2000 )
2023-08-18 23:59:42 +02:00
Sébastien Helleu
ab7b51db72
scripts: fix function string_parse_size on 32-bit systems (python and ruby) (issue #1999 )
2023-08-18 16:45:21 +02:00
Sébastien Helleu
647d7033cf
xfer: fix conversion of string to IPv4 on 32-bit systems (issue #1999 )
2023-08-18 16:44:36 +02:00
Sébastien Helleu
77911680bb
irc: fix redirection of command /list when the reply doesn't start with message 321 (start of /list)
2023-08-18 07:40:32 +02:00
Sébastien Helleu
bc5b287622
irc: add missing tags on multiline messages (issue #1987 )
2023-08-09 14:55:50 +02:00
Sébastien Helleu
a23d8f2198
relay: fix display of IRC CTCP messages received from client (issue #1986 )
2023-08-08 09:42:34 +02:00
Sébastien Helleu
f416688e84
irc: fix display of outgoing notice with channel when capability "echo-message" is enabled (issue #1991 )
2023-08-01 22:37:10 +02:00
Sébastien Helleu
b2cd9d002b
irc: fix switch to channel manually joined (issue #1982 )
...
This happens when server option autojoin_dynamic is on and option
irc.look.buffer_switch_autojoin is off.
Regression was introduced in version 4.0.0 by commit
1c3b871204 .
2023-07-31 08:05:26 +02:00
Sébastien Helleu
2ad27b41a5
irc: fix memory leak in IRC message parser
...
Bug was introduced in WeeChat 3.4 by commit
c4b4d80936 .
2023-07-20 08:57:50 +02:00
Sébastien Helleu
ef68312393
irc: fix display of self CTCP message containing bold attribute (issue #1981 )
2023-07-18 18:54:02 +02:00
Sébastien Helleu
3203ee8f05
tests/relay: fix crash in tests on Alpine 3.18
2023-07-01 09:55:01 +02:00
Sébastien Helleu
7d78be3a1b
guile: fix crash on quit with Guile < 3 ( closes #1965 )
2023-06-27 21:44:54 +02:00
Sébastien Helleu
b4d999010a
api: do not convert option name to lower case in API functions config_set_plugin and config_set_desc_plugin
2023-06-27 12:58:51 +02:00
Sébastien Helleu
9939f939aa
irc: sent "QUIT" message to servers connected with TLS on /upgrade
2023-06-26 22:08:22 +02:00
Sébastien Helleu
f546796b49
irc: reply to a CTCP request sent to self nick ( closes #1966 )
2023-06-25 22:06:52 +02:00
Sébastien Helleu
1b78cd3bd2
exec: fix URL to plugin API reference in /help exec
2023-06-15 22:07:34 +02:00
Sébastien Helleu
2d25cac44a
relay: add IPv6 example in /help relay.network.bind_address
2023-06-15 22:04:16 +02:00
Sébastien Helleu
8c73634e1b
relay: fix crash on /upgrade when at least a client is connected with weechat protocol
2023-06-11 14:33:32 +02:00
Sébastien Helleu
1145d9f188
trigger: add completions "trigger_names_disabled" and "trigger_names_enabled"
...
They are used in completion of commands `/trigger disable` and
`/trigger enable`.
2023-06-10 20:30:52 +02:00
Sébastien Helleu
5d06ab76df
exec: remove trailing "M" (carriage return) in output of commands
...
Regression was indirectly caused by commit
d18f68e497 in core that allows to display all
control chars in buffers.
But the fix is in exec plugin: end of line in command output can now be "\r\n"
in addition to a single "\n".
2023-06-10 09:51:04 +02:00
Sébastien Helleu
4185e7b9f6
guile: fix crash when plugin is loaded on GNU/Hurd ( closes #1951 )
2023-06-05 21:09:27 +02:00
Sébastien Helleu
dccd1a348c
doc: fix URLs to WeeChat docs
2023-06-05 19:08:12 +02:00
Sébastien Helleu
48b35bdc63
logger: fix display of multiline messages in backlog ( closes #1926 )
2023-06-05 07:29:21 +02:00
Sébastien Helleu
615069caef
logger: return arraylist instead of custom linked list in logger_tail_file (issue #1926 )
2023-06-05 07:29:01 +02:00
Sébastien Helleu
e04d8894a0
irc: add tag "new_host_xxx" in message displayed for command CHGHOST ( closes #1808 )
2023-06-04 09:45:47 +02:00
Trygve Aaberge
43dee8ce54
fifo: allow using escape characters
...
This allows you to use escape characters if you start the fifo command
with \ instead of *, in the same way as the escape_commands option in
the relay protocol. This allows you to send commands consisting of
multiple lines by using \n if the buffer has input_multiline set.
2023-06-03 21:31:38 +02:00
Sébastien Helleu
682fc40708
irc: add option irc.look.display_host_notice
2023-06-03 21:15:58 +02:00
Sébastien Helleu
482fe6604c
relay: add handshake option "escape_commands" in weechat protocol
2023-06-03 20:06:29 +02:00
Sébastien Helleu
498aa3256f
relay: add support of capability "echo-message" ( closes #1949 )
2023-06-03 14:15:55 +02:00
Sébastien Helleu
ac9dc3b9c8
irc: add infos "irc_server_cap" and "irc_server_cap_value" (issue #1949 )
2023-06-03 14:15:49 +02:00
Sébastien Helleu
911c976f9b
tests: add tests on relay "irc" protocol
2023-06-02 18:50:45 +02:00
Sébastien Helleu
5eb1a31552
irc: add missing "user" in documentation of functions
2023-06-02 18:50:45 +02:00
Sébastien Helleu
02a20507cb
relay: fix connection with IRC clients sending "CAP REQ :" (without capability) and not sending "CAP END" (issue #1040 , issue #1796 )
...
The bug was fixed in version 2.0 (issue #1040 ) but a regression in version 3.7
happened while using the new IRC parser for message arguments (issue #1796 ,
commit 96ed471261 ).
2023-06-02 18:50:45 +02:00
Sébastien Helleu
3d8c55722c
relay: add modifiers "relay_client_irc_in", "relay_client_irc_out1" and "relay_client_irc_out"
2023-06-02 18:50:45 +02:00
Sébastien Helleu
310af25226
ruby: fix crash in display of exception backtrace with Ruby 3 (issue #1631 , issue #1886 )
2023-05-31 20:56:14 +02:00
Sébastien Helleu
71b85f1238
core: send all command line parameters not beginning with a dash to all plugins, add info "auto_load_scripts"
...
This fixes an issue with IRC URL given on command line when it starts with
`ircs://` or `irc6://`: the server is not created at all (only `irc://` works
fine).
2023-05-30 20:56:25 +02:00
Sébastien Helleu
eda62e1218
fset: reset color immediately after the color name (issue #1920 )
2023-05-30 07:39:11 +02:00
Sébastien Helleu
a4c2d7f808
irc: fix display of CTCP ACTION sent without parameters nor space
2023-05-29 11:10:25 +02:00
Sébastien Helleu
3826d1150d
irc: remove unneeded extra check on "\01ACTION " in irc_input_user_message_display
2023-05-29 11:04:50 +02:00
Sébastien Helleu
031bcf5ff2
irc: hide password in messages to nickserv with cap echo-message enabled (issue #139 )
2023-05-29 09:49:41 +02:00
Sébastien Helleu
ea38779c85
irc: add command /action ( closes #201 , issue #1577 ), remove alias action
2023-05-29 09:44:13 +02:00