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
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
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
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
5ecb1adc34
core: add command /sys to show resource limits and usage
2023-08-28 12:30:32 +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
cc2bb4b8cf
core: add function util_get_microseconds_string
2023-08-25 11:53:23 +02:00
Sébastien Helleu
015ff084e3
core: add microseconds precision in function util_parse_delay
2023-08-25 11:23:41 +02:00
Sébastien Helleu
11943ebaaf
tests: add tests on GUI buffer functions
...
Functions tested:
- gui_buffer_is_reserved_name
- gui_buffer_get_integer
- gui_buffer_get_string
- gui_buffer_get_pointer
2023-08-25 08:16:36 +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
3aef8b7292
core: add options weechat.buffer.* to save buffer properties set by user (issue #352 )
2023-08-24 10:38:47 +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
9462c87ce5
tests: add tests on string comparison functions with range of 29 chars
2023-08-23 12:14:07 +02:00
Sébastien Helleu
ce4f4fb3fa
logger: remove trailing empty line in display of backlog ( closes #2002 )
2023-08-21 16:01:59 +02:00
Sébastien Helleu
fadfffc0b6
xfer: fix conversion of string to IPv4 on 32-bit systems (issue #1999 )
2023-08-18 15:34:06 +02:00
Sébastien Helleu
b756598070
tests: add tests on GUI buffer functions
2023-08-18 13:35:36 +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
921b7fc2d3
tests: add tests on eval ternary operator with extra colon in value
2023-08-16 21:08:55 +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
c6b18e9654
relay: fix display of IRC CTCP messages received from client (issue #1986 )
2023-08-08 09:38:54 +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
Sébastien Helleu
a457e22d57
tests: add missing include of string.h
2023-07-15 16:24:16 +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
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
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
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
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
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
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
70c41f614a
irc: reply to a CTCP request sent to self nick ( closes #1966 )
2023-06-25 22:11:34 +02:00
Sébastien Helleu
ab9b8e0b01
tests: fix checks on integers in relay irc protocol tests
2023-06-05 19:04:05 +02:00
Sébastien Helleu
7f07782208
tests: add missing include of string.h in logger tests
2023-06-05 19:02:57 +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
4e705afdf6
tests: add tests on logger tail functions (issue #1926 )
2023-06-05 07:29:10 +02:00