Sébastien Helleu
4adb64284b
buffer: add property input_get_any_user_data in buffer (issue #2066 )
...
This allows buffers to get any user input, including commands, that are sent to
the buffer callback instead of being executed on the buffer.
2024-04-07 13:18:13 +02:00
Sébastien Helleu
40bfded594
irc: fix display of reply for CTCP request received on a channel when capability echo-message is enabled
2024-04-06 22:44:04 +02:00
Sébastien Helleu
2c3c9a3ee7
tests: rename variable "i" to "echo_message"
2024-04-06 18:29:42 +02:00
Sébastien Helleu
74729ce677
irc: display CTCP reply to a nick in server buffer instead of channel
...
When a CTCP request is received on a channel, WeeChat replies to the nick and
it is now displayed in the server buffer instead of the channel, as the target
is a nick and not a channel.
2024-04-06 16:42:15 +02:00
Sébastien Helleu
d81170b010
tests: add extra tests on received IRC CTCP messages
2024-04-06 16:37:40 +02:00
Sébastien Helleu
965beb37de
core: fix print of pointer values
2024-04-01 21:08:52 +02:00
Sébastien Helleu
24c4029c96
core: remove "wee-" prefix from source files in src/core and src/core/hook
2024-03-12 21:27:37 +01:00
Sébastien Helleu
90c87e7553
irc: add missing tags on self action messages when capability echo-message is enabled ( closes #2074 )
2024-02-16 20:58:31 +01:00
Sébastien Helleu
162bcb2622
irc: don't strip monospace color code 0x11 from incoming messages ( closes #2073 )
2024-02-16 19:22:28 +01:00
Sébastien Helleu
0cfc61a17e
irc: add server option "autojoin_delay" ( closes #862 )
...
The server option "autojoin_delay" adds a delay before autojoin.
The server option "command_delay" is now used to add a delay before the
execution of the command.
On upgrade from an old version, the option "command_delay" is copied to
"autojoin_delay" (in old versions, "command_delay" was applied after the
execution of command and before the autojoin).
2024-02-11 09:12:57 +01:00
Sébastien Helleu
f126255d6a
core: add support of base64url in encode/decode functions (issue #2066 )
2024-02-01 21:39:21 +01:00
Sébastien Helleu
fe52f7c78c
tests: remove extra empty line
2024-01-22 13:58:33 +01:00
Sébastien Helleu
06b4e46977
irc: fix random date displayed when a received message contains tags but no "time" ( closes #2064 )
2024-01-22 13:18:25 +01:00
Sébastien Helleu
05fdb2929f
tests: add missing format string in calls to snprintf
2024-01-21 09:17:11 +01:00
Sébastien Helleu
869fba9f74
irc: add tests on info functions (issue #2059 )
2024-01-12 17:58:36 +01:00
Sébastien Helleu
57a206287a
irc: fix display of self messages in case of message split failure
...
When the message sends inconsistent max lengths in message 005, the split of
self message fails and causes a display issue: the channel name is displayed
with the message:
nick | #channel :this is a test
instead of:
nick | this is a test
2024-01-05 21:36:58 +01:00
Sébastien Helleu
4a1e5e7eaa
irc: remove function irc_protocol_parse_time, use API function weechat_util_parse_time (issue #649 )
2024-01-05 19:28:47 +01:00
Sébastien Helleu
eecb2a997e
core: update copyright dates
2024-01-01 22:29:58 +01:00
Sébastien Helleu
9fb3d3f14c
core: store microseconds in buffer lines ( closes #649 )
2023-12-26 19:44:37 +01:00
Sébastien Helleu
b3422b96c0
irc: add option irc.look.display_host_wallops
2023-12-10 21:13:00 +01:00
Sébastien Helleu
3db8eb65ff
tests: add tests with options irc.look.display_host_{join|join_local|notice|quit} set to off
2023-12-10 21:03:33 +01:00
Sébastien Helleu
bc08d9a2b3
tests: rename tests
2023-12-02 13:32:15 +01:00
Sébastien Helleu
9711d2dc76
tests: add placeholders for new functions in irc server tests
2023-12-01 07:10:36 +01:00
Sébastien Helleu
22fcb91e8b
irc: display messages 730/731 even if command /notify was not used ( closes #2049 )
2023-11-29 18:14:37 +01:00
Sébastien Helleu
ecc900ba3a
tests: add tests on IRC message 337
2023-11-07 21:58:04 +01:00
Sébastien Helleu
f16857fc3d
irc: add option irc.color.term_remap ( closes #2025 )
2023-11-01 13:56:40 +01:00
Sébastien Helleu
082cbe519b
irc: add support of RGB colors in messages (issue #2025 )
...
This is made using standard color code '\x04' followed by text color (RGB as
hexadecimal) and optional background (RGB as hexadecimal).
2023-11-01 13:21:06 +01:00
Sébastien Helleu
21759171d2
irc: add tags "nick_xxx" and "host_xxx" in all messages, including self and server messages
2023-10-30 08:23:20 +01: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
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
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
cb680ef9df
irc: add option irc.look.open_pv_buffer_echo_msg (issue #2016 )
2023-09-14 20:19:05 +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
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
dd0c20f6b6
irc: add count for all nick modes in output of /names ( closes #97 )
2023-08-26 18:57:21 +02:00
Sébastien Helleu
3a59f2f65e
irc: add local key bindings during the /list buffer creation
...
This allows the user to bind or unbind keys by setting options
"weechat.buffer.irc.list_xxx.key_bind_*" and
"weechat.buffer.irc.list_xxx.key_unbind_*".
2023-08-24 19:03:44 +02:00
Sébastien Helleu
5d9af29024
api: add infos "nick_color_ignore_case" and "nick_color_name_ignore_case" (issue #194 )
2023-08-24 18:19:32 +02:00
Sébastien Helleu
6aa66b5363
irc: compute color in case insensitive way ( closes #194 )
...
Reintroduce infos "irc_nick_color" and "irc_nick_color_name" (that were
marked deprecated since version 1.5).
A server name is added in the two infos and is optional, for backward
compatibility.
2023-08-24 09:24:51 +02:00
Sébastien Helleu
c2426e88c9
irc: add functions to convert strings to lower/upper case (following casemapping) (issue #194 )
2023-08-24 09:24:42 +02:00
Sébastien Helleu
09eae3e2af
irc: add tests on server functions
2023-08-23 15:33:34 +02:00
Sébastien Helleu
14334880d8
tests: fix NULL pointer comparison in test of function irc_message_parse_to_hashtable
2023-08-18 13:30:38 +02:00
Sébastien Helleu
f89d4a60cd
tests: fix tests on function irc_join_compare_join_channel ( closes #1997 )
2023-08-18 07:34:52 +02:00
Sébastien Helleu
5bf78f40e5
tests: fix typo in test name
2023-08-18 07:30:20 +02:00
Sébastien Helleu
cfc734b7c5
tests: add empty function to test function irc_list_buffer_set_localvar_filter
2023-08-14 16:08:01 +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
17674f7b11
irc: add missing tags on multiline messages ( closes #1987 )
2023-08-09 14:53:03 +02:00
Sébastien Helleu
e5948b0d44
tests: add test on IRC notice sent to another nick with channel name at beginning (issue #1991 )
2023-08-01 22:48:43 +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