summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2023-04-12irc: add more info in description of function irc_server_alloc_with_url ↵Sébastien Helleu
(issue #1903)
2023-04-12irc: set gnutls_sess, tls_cert and tls_cert_key to NULL by default in server ↵Sébastien Helleu
(issue #1903)
2023-04-08lua: fix crash with print when the value to print is not a stringwfrsk
2023-04-07core: change default color of "mouse_status" item to lightgreenSébastien Helleu
2023-04-07core: add item "mouse_status" in default status barSébastien Helleu
2023-04-05core: fix pointer to hash and hash_temp in doc generatorSébastien Helleu
2023-04-05tests: add tests on function irc_server_alloc_with_urlSébastien Helleu
2023-04-05irc: display a warning if command name in option `irc.msgbuffer.*` is not ↵Sébastien Helleu
lower case
2023-04-05irc: display a warning if CTCP name in option `irc.ctcp.*` is not lower caseSébastien Helleu
2023-04-05irc: search options `irc.ctcp.*` with lower case ctcp stringSébastien Helleu
2023-04-03irc: don't switch to buffer of joined channel if it was not manually joined ↵Sébastien Helleu
nor present in server autojoin option
2023-04-02irc: update autojoin option with redirected channels when autojoin_dynamic ↵Sébastien Helleu
is enabled (closes #1898)
2023-04-01core, plugins: set options to NULL by default, refactor config init functionsSébastien Helleu
2023-04-01alias: rename all aliases to lower case on upgrade (issue #1872)Sébastien Helleu
2023-03-31doc: add CMake option `ENABLE_DOC_INCOMPLETE` to force build of incomplete ↵Sébastien Helleu
docs (closes #1901)
2023-03-31irc: fix target buffer for commands 432/433 when the nickname looks like a ↵Sébastien Helleu
channel
2023-03-31core: replace key `meta2-` by `meta-[` in commentsSébastien Helleu
2023-03-31core: fix key `meta-[O` (unfocus with xterm) (closes #1900)Sébastien Helleu
2023-03-31core: remove keys `meta-[I` and `meta-[G` for pgup/pgdn (issue #1900)Sébastien Helleu
It seems no terminal return such codes any more for pgup/pgdn, and `meta-[I` is conflicting with the xterm terminal "focus in" key code. The keys are also removed from config when converting old keys, but only if they are bound to the default command (`/window page_up` for `meta2-I` and `/window page_down` for `meta2-G`).
2023-03-30logger: add info "logger_log_file"Sébastien Helleu
2023-03-30spell: check buffer pointer received in info "spell_dict"Sébastien Helleu