Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-03 | relay: add support of capability "echo-message" (closes #1949) | Sébastien Helleu | |
2023-06-02 | tests: add tests on relay "irc" protocol | Sébastien Helleu | |
2023-05-31 | tests: create and close server buffer in tests on function irc_join_split | Sébastien Helleu | |
2023-05-31 | tests: fix close of channel buffers after tests on function irc_join_split | Sébastien Helleu | |
2023-05-29 | core: set word_end_offset to character after word | Trygve Aaberge | |
It seemed strange to me to have word_end_offset point to the last character in the word, rather than the character after the word, especially now with the word stopping before a newline character which meant word_end_offset would be -1 if there was no characters before the newline character. | |||
2023-05-29 | core: fix chat colors at certain positions not being applied | Trygve Aaberge | |
The new rendering of multiline lines had some issues with colors at certain positions not being applied. The color would not be applied if the color code was at either of these positions: - At the start of a line after a newline character - At the end of a line after a space and before a newline character - At a line by itself before a newline character The way I had done it by considering newline characters as a word in gui_chat_get_word_info with a variable specifying that it's newline characters became messy and didn't really make sense, so rather than doing this, I changed gui_chat_get_word_info to stop before the first newline character. That way, we can just check if we are at a newline character at the start of the loop, and don't need any more special handling. Fixes #1928 | |||
2023-05-29 | tests: add tests on manual CTCP ACTION sent to IRC channel | Sébastien Helleu | |
2023-05-29 | irc: hide password in messages to nickserv with cap echo-message enabled ↵ | Sébastien Helleu | |
(issue #139) | |||
2023-05-29 | irc: add command `/action` (closes #201, issue #1577), remove alias `action` | Sébastien Helleu | |
2023-05-27 | irc: add missing host tag in self messages with cap echo-message enabled ↵ | Sébastien Helleu | |
(issue #139) | |||
2023-05-27 | irc: fix display of STATUSMSG CTCP ACTION to channel with cap echo-message ↵ | Sébastien Helleu | |
enabled (issue #139, issue #1577) | |||
2023-05-27 | irc: fix display of outgoing CTCP when channel/private buffer doesn't exist | Sébastien Helleu | |
2023-05-27 | irc: fix display of outgoing STATUSMSG CTCP ACTION without arguments | Sébastien Helleu | |
2023-05-27 | irc: fix split of CTCP message with no arguments | Sébastien Helleu | |
2023-05-27 | irc: display STATUSMSG actions differently from standard actions on channels ↵ | Sébastien Helleu | |
(closes #1577, issue #139) | |||
2023-05-26 | tests: add tests on IRC message/notice/action/CTCP sent with cap ↵ | Sébastien Helleu | |
echo-message enabled (issue #139) | |||
2023-05-26 | tests: remove capabilities added after the end of tests | Sébastien Helleu | |
2023-05-26 | tests: add tests on IRC message/notice/action/CTCP sent (issue #139) | Sébastien Helleu | |
2023-05-25 | irc: fix duplicated CTCP messages displayed when capability "echo-message" ↵ | Sébastien Helleu | |
is enabled (issue #139) | |||
2023-05-23 | irc: add support of capability "echo-message" (closes #139) | Sébastien Helleu | |
2023-05-23 | irc: fix display of status privmsg/notice, add missing tags in messages ↵ | Sébastien Helleu | |
(issue #139) The status PRIVMSG and NOTICE are now displayed the same way for outgoing and received messages: Msg(alice) -> @#test: message for ops Notice(alice) -> @#test: notice for ops And any message like this is displayed with these tags if the nick is self nick (case of a bouncer or if capability "echo-message" is enabled): "self_msg", "notify_none", "no_highlight". | |||
2023-05-23 | irc: add missing tags "irc_cap" and "log3" in cap messages (client capability) | Sébastien Helleu | |
2023-05-23 | irc: add missing tag "log3" in notify messages | Sébastien Helleu | |
2023-05-23 | tests: check tags in messages displayed by IRC plugin | Sébastien Helleu | |
2023-05-22 | tests: separate prefix from message in recorded messages | Sébastien Helleu | |
The record functions are moved to tests-record.cpp. | |||
2023-05-20 | logger: add option logger.file.log_conditions (closes #1942) | Sébastien Helleu | |
2023-05-18 | alias: use dynamic string to replace alias arguments | Sébastien Helleu | |
2023-05-18 | tests: add tests on alias functions | Sébastien Helleu | |
Functions tested: - alias_valid - alias_search - alias_string_add_word - alias_string_add_word_range - alias_string_add_arguments - alias_replace_args | |||
2023-05-17 | irc: add field "utf8only" in IRC server structure | Sébastien Helleu | |
2023-05-16 | irc: update secure data when server autojoin option contains ↵ | Sébastien Helleu | |
`${sec.data.xxx}` and option autojoin_dynamic is enabled (closes #1934) | |||
2023-05-16 | irc: display command 437 on server buffer when nickname cannot change while ↵ | Sébastien Helleu | |
banned on channel (closes #88) | |||
2023-05-14 | irc: fix format of IRC tags displayed in messages (closes #1929) | Sébastien Helleu | |
Changes: - use "=" to separate key from value, add it only if value is set (any string, including empty string) - do not convert "_" to "-" in key | |||
2023-05-14 | tests: reverse arguments in calls to STRCMP_EQUAL | Sébastien Helleu | |
2023-05-14 | irc: do not display multiline message if capability "draft/multiline" is not ↵ | Sébastien Helleu | |
enabled (issue #1923) | |||
2023-05-14 | irc: ignore BATCH commands when capability "batch" is not enabled (issue #1292) | Sébastien Helleu | |
2023-05-14 | irc: do not allow send of empty messages (single line or multiline) | Sébastien Helleu | |
2023-05-14 | irc: add test of privmsg message parsing with empty text | Sébastien Helleu | |
2023-05-14 | irc: set "input_multiline" to 1 in buffers only if capability ↵ | Sébastien Helleu | |
draft/multiline is enabled (issue #1923) | |||
2023-05-14 | irc: add support of "LINELEN" in message 005 (max message length in bytes) ↵ | Sébastien Helleu | |
(closes #1927) | |||
2023-05-14 | irc: add support of capability "draft/multiline" (closes #1923) | Sébastien Helleu | |
2023-05-05 | core: fix execution of multiple commands separated by newline when there are ↵ | Sébastien Helleu | |
no spaces For example typing this on core buffer: /t1 /t2 was not executing the two commands but sent the text to the buffer instead. This is because WeeChat thinks it's a path, and the newline should indicate it's not (like a space before the next slash: "/t1 /t2" is a command, not a path, but "/t1/t2" is considered a path). | |||
2023-05-04 | api: don't split on newline by default in functions `command` and ↵ | Sébastien Helleu | |
`command_options` when input_multiline is set to 0 The API functions `command` and `command_options` (when `split_newline` = 0, which is the default value) don't split on newline and then the first line is executed and the subsequent lines (after "\n") are ignored. There are no changes when the input has multiple lines filled by the user: the split is done and multiple commands are executed (for example if the user is pasting multiple commands to execute). | |||
2023-05-03 | irc: add support of capability "batch" (closes #1292) | Sébastien Helleu | |
2023-05-01 | irc: add option `buffer` in command `/autojoin sort` (closes #1876) | Sébastien Helleu | |
2023-04-27 | irc: add `${username}` in server options "nicks" and "username", change ↵ | Sébastien Helleu | |
their default values to use it | |||
2023-04-26 | core: change default chat colors (issue #1920) | Sébastien Helleu | |
Default values changed: - weechat.color.chat_delimiters: green -> 22 - weechat.color.chat_highlight_bg: magenta -> 124 - weechat.color.chat_inactive_window: default -> 240 - weechat.color.chat_nick_colors: add many colors - weechat.color.chat_nick_offline: default -> 242 - weechat.color.chat_nick_offline_highlight_bg: blue -> 17 - weechat.color.chat_prefix_buffer: brown -> 180 - weechat.color.emphasized_bg: magenta -> 54 - weechat.color.nicklist_away: cyan -> 240 | |||
2023-04-24 | irc: add message 742 (mode cannot be set) | Sébastien Helleu | |
2023-04-24 | irc: add message 415 (cannot send message to channel) | Sébastien Helleu | |
2023-04-19 | core: render newline characters in chat line messages | Trygve Aaberge | |
If a chat line message contains a newline character (\n) it was previously rendered as J with reverse video. This commit makes it render as an actual newline instead, so messages with multiple lines become supported. The rendering is fixed in normal mode as well as bare mode both when scrolled to the bottom and when scrolled up (which is different code paths). Focus events has also been updated to support this (except for _chat_line_y which returns -1 for all lines, but the docs says this variable is only for buffers with free content). Currently, the only way to include a \n in a chat line message is with hdata_update because printf splits on \n and creates multiple separate lines, but hopefully either printf can be changed to not split on \n, or a new command which doesn't split can be added. | |||
2023-04-12 | irc: improve short description of server (issue #1903) | Sébastien Helleu | |