summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-05-01core: keep only first message line in hook line when input_multiline is not ↵Sébastien Helleu
set in buffer
2023-04-27irc: add `${username}` in server options "nicks" and "username", change ↵Sébastien Helleu
their default values to use it
2023-04-27fset: change default value of option fset.color.value_selected from 80 to ↵Sébastien Helleu
159 (issue #1920)
2023-04-26irc: change default colors (issue #1920)Sébastien Helleu
Default values changed: - irc.color.reason_quit: default -> 244 - irc.color.topic_new: white -> 36 - irc.color.topic_old: default -> 244
2023-04-26core: enable option weechat.look.color_inactive_time by default (issue #1920)Sébastien Helleu
2023-04-26core: 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-26logger: change default colors (issue #1920)Sébastien Helleu
Default values changed: - logger.color.backlog_end: default -> 246 - logger.color.backlog_line: default -> 246
2023-04-26script: change default colors (issue #1920)Sébastien Helleu
Default values changed: - script.color.status_autoloaded: cyan -> 39 - script.color.text_bg_selected: red -> 24 - script.color.text_date: default -> 65 - script.color.text_date_selected: white -> 50 - script.color.text_delimiters: default -> 240 - script.color.text_description: default -> 249 - script.color.text_extension: default -> 242 - script.color.text_extension_selected: white -> 248 - script.color.text_name: cyan -> 73 - script.color.text_name_selected: lightcyan -> 51 - script.color.text_version: magenta -> 180 - script.color.text_version_loaded: default -> 246 - script.color.text_version_selected: lightmagenta -> 224
2023-04-26fset: enable option fset.look.use_color_value by default (issue #1920)Sébastien Helleu
2023-04-26fset: add options fset.color.color_name and fset.color.color_name_selected ↵Sébastien Helleu
(issue #1920)
2023-04-26fset: change default colors (issue #1920)Sébastien Helleu
Default values changed: - fset.color.description: default -> 242 - fset.color.description_selected: white -> default - fset.color.line_marked_bg1: default -> 17 - fset.color.line_marked_bg2: default -> 17 - fset.color.line_selected_bg1: blue -> 24 - fset.color.line_selected_bg2: red -> 24 - fset.color.name_changed: brown -> 185 - fset.color.type: green -> 138 - fset.color.type_selected: lightgreen -> 216 - fset.color.value: cyan -> 38 - fset.color.value_changed: brown -> 185 - fset.color.value_selected: lightcyan -> 80 - fset.format.option2: ${color:darkgray} -> ${color:244}
2023-04-26core: change default prefix_suffix char and color (issue #1920)Sébastien Helleu
Default values changed: - weechat.look.prefix_suffix: "|" -> "│" - weechat.color.chat_prefix_suffix: green -> 24
2023-04-26buflist: change default background color of current buffer (issue #1920)Sébastien Helleu
Default value changed: - buflist.format.buffer_current: "${color:,blue}${format_buffer}" -> "${color:,17}${format_buffer}"
2023-04-26core: change default color of bars and windows separators (issue #1920)Sébastien Helleu
Default value changed: - weechat.color.separator: blue -> 236
2023-04-26core: change default background color of status and title bars (issue #1920)Sébastien Helleu
Default values changed: - weechat.bar.status.color_bg: blue -> 234 - weechat.bar.status.color_bg_inactive: darkgray -> 232 - weechat.bar.title.color_bg: blue -> 234 - weechat.bar.title.color_bg_inactive: darkgray -> 232
2023-04-26core: add option weechat.color.status_name_insecure (issue #1920)Sébastien Helleu
Default value of option weechat.color.status_name_tls is set to white instead of lightgreen. Now all servers/channels connected with TLS are white, and those without TLS are lightmagenta.
2023-04-26core: always allow 256 colors, find nearest color if less colors are ↵Sébastien Helleu
available in terminal (issue #1920)
2023-04-26core: fix infinite loop on startup when running some gui commands before the ↵Sébastien Helleu
switch to core buffer is performed (closes #1917)
2023-04-26core: fix display bug when drawing partially scrolled multilineTrygve Aaberge
If you have a chat line with multiple lines that were scrolled so that part of it is rendered at the bottom of the chat area, and part of it falls below the chat area, there was a bug where the prefix_suffix would be displayed at the end of the last line. Looks like this happens because the gui_chat_display_prefix_suffix is called for the line below the last line displayed in the chat area. So we have to add a check for this so we don't add the prefix_suffix. This check is copied from gui_chat_display_word which checks for the same. Fixes #1912
2023-04-26ruby: Restore default SIGCHLD signal handler on unloadAndrew Potter
fixes #1889
2023-04-25core: add option `split_return` in command `/input` (closes #1916)Sébastien Helleu
2023-04-25core: add cursor key l to quote focused lineTrygve Aaberge
Fixes #1913
2023-04-25core: add _chat_focused_line variable to get the focused lineTrygve Aaberge
This contains the single line that you focused on, like _chat_word contains the word that you focused on. This will be equal to _chat_line_message if the chat line only contains a single line, but if the chat line has multiple lines, _chat_line_message will contain all of them, but _chat_focused_line will only contain the single line that was focused. Fixes part of #1913
2023-04-24irc: add message 742 (mode cannot be set)Sébastien Helleu
2023-04-24irc: add message 415 (cannot send message to channel)Sébastien Helleu
2023-04-23core: fix update of terminal title in some terminals like suckless terminal ↵Sébastien Helleu
(stterm) (closes #1882)
2023-04-23Revert "core: remove deprecated parameters from command `/input`"Sébastien Helleu
This reverts commit 2b7f7453692d2325e27e2464e4796b150c708aa4. Parameters removed are still used in scripts, and it's OK to keep them for a while.
2023-04-22buflist: update example in /help buflist.look.sortSébastien Helleu
2023-04-21buflist: add example to sort on hotlist activity in /help buflist.look.sortSébastien Helleu
2023-04-20core: keep only first message line in hdata update of line_data when ↵Sébastien Helleu
input_multiline is not set in buffer
2023-04-20core: do now allow buffer property "input_multiline" to be reset to 0, ↵Sébastien Helleu
except if buffer has no lines
2023-04-19core: still split on printf when input_multiline isn't setTrygve Aaberge
If we have chat lines with multiple lines in buffers without input_multiline set, there can be an issue if a trigger is run on that line. If the trigger runs a command which includes the message, then the command is split (since input_multiline isn't set), and if any of the lines in the message starts with a command, that command is executed. To prevent this, only avoid splitting on newlines in printf if input_multiline is set, so only such buffers can have chat lines with newline characters. See https://github.com/weechat/weechat/pull/1909 for more details.
2023-04-19core: don't split on newline characters in printf_date_tagsTrygve Aaberge
With support for rendering newline characters as new lines, we don't need to split the message on newline characters anymore in printf_date_tags. This allows you to print a line with multiple lines.
2023-04-19core: render newline characters in chat line messagesTrygve 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-19core: remove deprecated parameters from command `/input`Sébastien Helleu
Parameters removed: - jump_smart - jump_last_buffer - jump_last_buffer_displayed - jump_previously_visited_buffer - jump_next_visited_buffer - hotlist_clear - hotlist_remove_buffer - hotlist_restore_buffer - hotlist_restore_all - set_unread_current_buffer - set_unread - switch_active_buffer - switch_active_buffer_previous - zoom_merged_buffer
2023-04-19core: convert deprecated commands bound to keys when upgrading weechat.conf ↵Sébastien Helleu
to v2
2023-04-15api: add optional argument with version in info "version_number"Sébastien Helleu
2023-04-15doc/api: add more examples on function util_version_numberSébastien Helleu
2023-04-14core: remove unnecessary condition in comparison of timeval structuresSébastien Helleu
Ref: https://github.com/weechat/weechat-relay/pull/3
2023-04-13core: replace "SSL" by "TLS" in `/help upgrade` (issue #1903)Sébastien Helleu
2023-04-12core: update translations (issue #1903)Sébastien Helleu
2023-04-12irc: improve short description of server (issue #1903)Sébastien Helleu
2023-04-12irc: fix URL of doc on capability negotiation (issue #1903)Sébastien Helleu
2023-04-12irc: add support of RFC 7194 (default port 6697 for TLS) (issue #1903)Sébastien Helleu
2023-04-12irc: connect with TLS and port 6697 by default (issue #1903)Sébastien Helleu
2023-04-12relay: rename "ssl" options and protocol to "tls" (issue #1903)Sébastien Helleu
2023-04-12irc: rename "ssl" options to "tls" (issue #1903)Sébastien Helleu
2023-04-12core: rename option weechat.color.status_name_ssl to ↵Sébastien Helleu
weechat.color.status_name_tls (issue #1903)
2023-04-12core: replace SSL by TLS in comments (issue #1903)Sébastien Helleu
2023-04-12irc: check that IRC URL starts with "irc" (issue #1903)Sébastien Helleu