summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-05-30core: send all command line parameters not beginning with a dash to all ↵Sébastien Helleu
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-30fset: reset color immediately after the color name (issue #1920)Sébastien Helleu
2023-05-29core: set word_end_offset to character after wordTrygve 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-29core: fix chat colors at certain positions not being appliedTrygve 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-29irc: fix display of CTCP ACTION sent without parameters nor spaceSébastien Helleu
2023-05-29irc: remove unneeded extra check on "\01ACTION " in ↵Sébastien Helleu
irc_input_user_message_display
2023-05-29irc: hide password in messages to nickserv with cap echo-message enabled ↵Sébastien Helleu
(issue #139)
2023-05-29irc: add command `/action` (closes #201, issue #1577), remove alias `action`Sébastien Helleu
2023-05-27alias: add option `missing` in command `/alias`Sébastien Helleu
2023-05-27alias: add alias `action` to send a CTCP ACTION to a channel or a nick ↵Sébastien Helleu
(issue #1577)
2023-05-27irc: add missing host tag in self messages with cap echo-message enabled ↵Sébastien Helleu
(issue #139)
2023-05-27irc: fix display of STATUSMSG CTCP ACTION to channel with cap echo-message ↵Sébastien Helleu
enabled (issue #139, issue #1577)
2023-05-27irc: fix display of outgoing CTCP when channel/private buffer doesn't existSébastien Helleu
2023-05-27irc: fix display of outgoing STATUSMSG CTCP ACTION without argumentsSébastien Helleu
2023-05-27irc: remove extra space in CTCP ACTION message sent without argumentsSébastien Helleu
Now when doing `/me` (without arguments), the message sent is: PRIVMSG #test :\x01ACTION\x01 instead of: PRIVMSG #test :\x01ACTION \x01
2023-05-27irc: fix split of CTCP message with no argumentsSébastien Helleu
2023-05-27irc: display STATUSMSG actions differently from standard actions on channels ↵Sébastien Helleu
(closes #1577, issue #139)
2023-05-27irc: fix send of empty action with `/me` commandSébastien Helleu
2023-05-26irc: add missing nick tag in self CTCP ACTION displayed (issue #139)Sébastien Helleu
2023-05-26irc: display CTCP ACTION to channel on the channel buffer (issue #139, ↵Sébastien Helleu
closes #207)
2023-05-25irc: display actions sent with `/me` in private buffer instead of server ↵Sébastien Helleu
buffer (issue #139)
2023-05-25irc: fix display of actions sent with `/me` (issue #139)Sébastien Helleu
2023-05-25irc: fix duplicated CTCP messages displayed when capability "echo-message" ↵Sébastien Helleu
is enabled (issue #139)
2023-05-25irc: hide messages sent with `/msg` to a nick when capability "echo-message" ↵Sébastien Helleu
is enabled (issue #139)
2023-05-25irc: hide CTCP messages sent with `/ctcp` when capability "echo-message" is ↵Sébastien Helleu
enabled (issue #139)
2023-05-25irc: hide self actions sent with `/me` when capability "echo-message" is ↵Sébastien Helleu
enabled (issue #139)
2023-05-23irc: add support of capability "echo-message" (closes #139)Sébastien Helleu
2023-05-23irc: 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-23irc: fix order of tags in outgoing messagesSébastien Helleu
The order of tags in message doesn't matter, but this is for the sake of consistency with the other messages displayed.
2023-05-23irc: add missing tags "irc_cap" and "log3" in cap messages (client capability)Sébastien Helleu
2023-05-23irc: add missing tag "log3" in notify messagesSébastien Helleu
2023-05-22script: remove trailing "J" (line feed char) in source of scripts displayedSébastien Helleu
Regression was indirectly caused by commit d18f68e497c4244404ff8f4f50de82717b178e09 in core that allows to display all control chars in buffers. But the fix is in script plugin: when the script is downloaded and read line by line, trailing "\r" and "\n" are removed, and therefore not displayed.
2023-05-20logger: add option logger.file.log_conditions (closes #1942)Sébastien Helleu
2023-05-20xfer: create buffer with function buffer_new_props (issue #1942)Sébastien Helleu
With this function, buffer properties are set when the buffer is created and can be read immediately by other plugins/scripts, for example in a callback of signal "buffer_opened".
2023-05-20trigger: create buffer with function buffer_new_props (issue #1942)Sébastien Helleu
With this function, buffer properties are set when the buffer is created and can be read immediately by other plugins/scripts, for example in a callback of signal "buffer_opened".
2023-05-20script: create buffer with function buffer_new_props (issue #1942)Sébastien Helleu
With this function, buffer properties are set when the buffer is created and can be read immediately by other plugins/scripts, for example in a callback of signal "buffer_opened".
2023-05-20relay: create buffers with function buffer_new_props (issue #1942)Sébastien Helleu
With this function, buffer properties are set when the buffer is created and can be read immediately by other plugins/scripts, for example in a callback of signal "buffer_opened".
2023-05-20fset: create buffer with function buffer_new_props (issue #1942)Sébastien Helleu
With this function, buffer properties are set when the buffer is created and can be read immediately by other plugins/scripts, for example in a callback of signal "buffer_opened".
2023-05-20exec: create buffer with function buffer_new_props (issue #1942)Sébastien Helleu
With this function, buffer properties are set when the buffer is created and can be read immediately by other plugins/scripts, for example in a callback of signal "buffer_opened".
2023-05-20irc: create server/channel/raw buffers with function buffer_new_props (issue ↵Sébastien Helleu
#1942) With this function, buffer properties are set when the buffer is created and can be read immediately by other plugins/scripts, for example in a callback of signal "buffer_opened".
2023-05-18irc: optimize and reuse irc_channel_rejoinSimmo Saan
2023-05-18irc: use key when /join-ing in open channel bufferSimmo Saan
2023-05-18alias: use dynamic string to replace alias argumentsSébastien Helleu
2023-05-18alias: return empty string instead of NULL in function alias_replace_argsSébastien Helleu
2023-05-18alias: return NULL if alias or user arguments are NULL in function ↵Sébastien Helleu
alias_replace_args
2023-05-18alias: add example in comment of function alias_replace_argsSébastien Helleu
2023-05-18alias: add "$&" in comment of function alias_replace_argsSébastien Helleu
2023-05-18alias: add auto-escaping special variablenobody
2023-05-18relay: rename variable "ptr_option" to "ptr_path"Sébastien Helleu
2023-05-18relay: make TLS certificate/key loading error handling more verbose (closes ↵Sébastien Helleu
#1558)