Sébastien Helleu
46cea77585
relay: synchronize nick modes with IRC client upon connection ( closes #1984 )
2023-08-13 16:38:29 +02:00
Sébastien Helleu
4290876e64
script: allow commands /script autoload|noautoload|toggleautoload with scripts not present in the repository ( closes #1980 )
2023-08-13 10:22:06 +02:00
Sébastien Helleu
2f1de098bd
irc: add buffer for /list reply ( closes #1972 )
...
New options:
- irc.color.list_buffer_line_selected
- irc.color.list_buffer_line_selected_bg
- irc.look.list_buffer_sort
- irc.look.list_buffer_scroll_horizontal
- irc.look.new_list_position
- irc.look.list_buffer_topic_strip_colors
2023-08-12 13:05:49 +02:00
Sébastien Helleu
d25a4213fe
irc: fix redirection of command /list when the reply doesn't start with message 321 (start of /list)
2023-08-10 08:13:54 +02:00
Sébastien Helleu
17674f7b11
irc: add missing tags on multiline messages ( closes #1987 )
2023-08-09 14:53:03 +02:00
Sébastien Helleu
356712f44d
core: add version 4.0.3
2023-08-08 22:10:29 +02:00
Sébastien Helleu
c6b18e9654
relay: fix display of IRC CTCP messages received from client (issue #1986 )
2023-08-08 09:38:54 +02:00
Sébastien Helleu
ff41a79aa9
core: update ChangeLog (issue #1988 )
2023-08-08 07:17:08 +02:00
Sébastien Helleu
03daae3059
irc: fix display of outgoing notice with channel when capability "echo-message" is enabled ( closes #1991 )
2023-08-01 22:35:21 +02:00
Sébastien Helleu
b0549e4d09
irc: add channel in "autojoin" server option only when the channel is actually joined ( closes #1990 )
2023-08-01 21:45:28 +02:00
Sébastien Helleu
c198e875ce
core: remove CMake option "ENABLE_DOC_WARN_LOCALE" (issue #1985 )
2023-07-31 22:01:34 +02:00
Sébastien Helleu
36ab9d97e4
core: fix styles in ChangeLog
2023-07-31 21:27:46 +02:00
Sébastien Helleu
8bfd25e2e6
doc: stop build of docs if a locale is missing, add CMake option "ENABLE_DOC_WARN_LOCALE" ( closes #1985 )
2023-07-31 21:27:16 +02:00
Sébastien Helleu
4fc90b86bf
irc: fix switch to channel manually joined ( closes #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:03:50 +02:00
Sébastien Helleu
63f9289769
core: fix input length and crash after delete of line ( closes #1989 )
2023-07-28 07:21:22 +02:00
Sébastien Helleu
13241cdca5
irc: fix memory leak in IRC message parser
...
Bug was introduced in WeeChat 3.4 by commit
c4b4d80936 .
2023-07-20 08:49:23 +02:00
Sébastien Helleu
874a24956c
irc: fix display of self CTCP message containing bold attribute ( closes #1981 )
2023-07-18 18:48:48 +02:00
Sébastien Helleu
622410a64e
core: add version 4.0.2
2023-07-12 20:51:21 +02:00
Sébastien Helleu
7c805aa699
irc: remove default CTCP replies FINGER and USERINFO (issue #1974 )
2023-07-12 19:13:40 +02:00
Sébastien Helleu
9237852b26
irc: build dynamically the list of CTCPs supported in reply to "CTCP CLIENTINFO" (issue #1974 )
2023-07-12 18:58:51 +02:00
Sébastien Helleu
f46f759975
irc: evaluate options irc.ctcp.* (issue #1974 )
2023-07-12 18:58:30 +02:00
Sébastien Helleu
5d222c8d5c
irc: create default options irc.ctcp.* when file irc.conf is created (issue #1974 )
2023-07-11 19:40:04 +02:00
Sébastien Helleu
ba6f21d910
irc: add missing "account-tag" in list of supported capabilities
2023-07-10 14:08:19 +02:00
Sébastien Helleu
2a02bb10e5
core: fix renaming of options with command /item rename ( closes #1978 )
...
The options `weechat.custom_bar_item.xxx.*` are now properly renamed to the new
item name.
This fixes a save issue (item saved with old name in config) and a crash if a
new item is created with the old name.
2023-07-10 07:31:28 +02:00
Sébastien Helleu
107f83c923
irc: remove Git revision and compilation date from CTCP VERSION/FINGER reply (issue #1974 )
2023-07-08 21:40:21 +02:00
Sébastien Helleu
1d5433485c
fset: add variable allowed_values in options, add two color options
...
New options:
- fset.color.allowed_values
- fset.color.allowed_values_selected
2023-07-08 16:50:42 +02:00
Sébastien Helleu
8985607951
fset: fix mouse actions when second format is used
...
The mouse actions now properly handle the case where options are displayed on
multiple lines to calculate the option index in list.
2023-07-08 13:56:22 +02:00
Sébastien Helleu
89137552a7
core: display focus hashtable for debug even if no key is matching
2023-07-08 13:31:36 +02:00
Sébastien Helleu
5b2cf75f6e
fset: allow long type name in type filter
2023-07-08 13:30:37 +02:00
Sébastien Helleu
66cb9f6ea2
core: add option type "enum" ( closes #1973 )
...
The type "enum" replaces type "integer" when used with string values.
For compatibility, any option created with type "integer" and string values is
automatically created to "enum" on creation, with no error.
2023-07-08 13:28:40 +02:00
Sébastien Helleu
f1e372b5e2
fset: remove extra spaces between min and max values when second format is used
2023-07-06 22:05:11 +02:00
Sébastien Helleu
d7a6fcba5f
buflist: increase max number of buflist items from 3 to 5 ( closes #1703 )
2023-07-04 22:03:05 +02:00
Sébastien Helleu
f811621611
script: fix buffer used by command /script list -i|-il|-o|-ol
...
The command is now executed on the buffer where it is received instead of the
current buffer (in most cases this is the same buffer, but could be different
sometimes).
2023-07-04 21:57:41 +02:00
Sébastien Helleu
6c8d6eef58
script: fix cursor position after /script list -i or /script list -il
2023-07-04 21:56:52 +02:00
Sébastien Helleu
59cdade5f0
core: fix cursor position after /plugin list -i or /plugin list -il
2023-07-04 21:56:22 +02:00
Sébastien Helleu
e5586e14d9
trigger: add options -o, -ol, -i and -il in command /trigger list ( closes #1953 )
2023-07-04 21:55:21 +02:00
Sébastien Helleu
20560f0a63
core: keep keys ctrl-H and ctrl-? (in lower case) if they were manually bound to custom commands in a previous version
2023-07-04 19:10:04 +02:00
Sébastien Helleu
e36b066dc8
core: add key ctrl-backspace in /help key (issue #1975 )
2023-07-04 18:45:11 +02:00
Sébastien Helleu
7340fd1637
core: update ChangeLog
2023-07-03 23:02:58 +02:00
Sébastien Helleu
a80f4c7681
tests: fix hdata tests failure on Alpine 3.18
2023-07-01 09:53:03 +02:00
Sébastien Helleu
930b42aecf
tests/relay: fix crash in tests on Alpine 3.18
2023-07-01 09:43:56 +02:00
Sébastien Helleu
c84274cd2b
build: fix detection of PHP 8.2 on Alpine 3.18
2023-07-01 09:15:00 +02:00
Sébastien Helleu
b13ed3b816
core: add version 4.0.1 in ChangeLog and release notes
2023-07-01 09:12:51 +02:00
Sébastien Helleu
b52047c69e
guile: fix crash on quit with Guile < 3 (issue #1965 )
2023-06-27 21:45:15 +02:00
Trygve Aaberge
b551d6f247
core: check for newline characters in string_is_whitespace_char
...
This fixes a bug where if you had multiple lines in the input and
pressed ctrl-w when the cursor was after the first word of any line but
the first, it would delete both the word before the cursor and the last
word on the preceding line.
2023-06-27 21:28:24 +02:00
Sébastien Helleu
fc41ad336d
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:34 +02:00
Sébastien Helleu
1d4509ddd8
irc: fix display of country code in message 344 received as whois geo info (issue #1736 )
2023-06-26 22:12:31 +02:00
Sébastien Helleu
b4da825f60
irc: sent "QUIT" message to servers connected with TLS on /upgrade
2023-06-26 22:06:46 +02:00
Sébastien Helleu
ca35b67307
irc: display commands 716/717 in private buffer (if present) ( closes #146 )
...
Commands 716/717 are returned if the target user has mode +g, they look like
this:
:server 716 my_nick bob :is in +g mode and must manually allow you to message them. Your message was discarded.
:server 717 my_nick bob :has been informed that you messaged them.
2023-06-26 21:59:55 +02:00
Sébastien Helleu
f62022e812
core: add variables "_chat_focused_line_bol" and "_chat_focused_line_eol" in focus data ( closes #1955 )
...
These variables are the same as "_chat_bol" and "_chat_eol" except that they
stop at the beginning of the focused line (not the whole message displayed, in
case message has multiple lines separated by "\n").
2023-06-26 21:55:48 +02:00