summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2023-03-30doc: remove unnecessary empty lines in autogen filesSébastien Helleu
2023-03-30doc: update autogen files only if changed, add autogen dependencies on docsSébastien Helleu
2023-03-30doc: convert docgen.py to C, remove autogen files from repository, add ↵Sébastien Helleu
parameter `--doc-gen` Changes: - build of doc now requires weechat-headless, translations and all plugins - convert docgen.py to C - remove `autogen_*` files from repository - add command line parameter `--doc-gen` in `weechat-headless` to build autogen files - build .mo files with directories like the installed ones (eg: "<lang>/LC_MESSAGES/weechat.mo") - remove javascript chapter from user's guide
2023-03-28core: add separate function to get translated help for values of color optionsSébastien Helleu
2023-03-28core: check that infolist is not NULL in next/prev/reset_item_cursor functionsSébastien Helleu
2023-03-26core: Add an option to start multiline input text on a new lineTrygve Aaberge
This does the same as the lead_linebreak option in multiline.pl. That is, when the input contains more than one line, the first line will be displayed beneath the previous items in the bar. This is practical because all the lines in the input will be aligned. Related to #1498
2023-03-26core: update translations (issue #1503)Sébastien Helleu
2023-03-26core: fix code style (issue #1503)Sébastien Helleu
2023-03-26core: add keys `shift-left` and `shift-right` with same commands as `left` ↵Sébastien Helleu
and `right` (issue #1503)
2023-03-26core: revert keys `meta-r` (delete line) and `meta-R` (delete input) (issue ↵Sébastien Helleu
#1503)
2023-03-26core: Implement commands for operating on a single input lineTrygve Aaberge
This changes the commands delete_beginning_of_line, delete_end_of_line, delete_line, move_beginning_of_line and move_end_of_line to operate on the current line instead of the whole input. The commands delete_beginning_of_input, delete_end_of_input, delete_input, move_beginning_of_input and move_end_of_input are added with the previous implementations that the line commands had. Additionally, the commands move_previous_line and move_next_line are added which moves the cursor to the previous/next line and keeps the horizontal position in the line. The meta-r key is changed from delete_line to delete_input to keep the behavior, and because you probably want to delete the whole input more often than the line. The meta-R key is added for delete_line. The home, end, ctrl-u and ctrl-k keys are kept to the same commands, which means that they change behaviour. This is because having them operate on the line is consistent with other applications (vim, zsh), and I also think it's more practical. These new bindings are added: shift-home: /input move_beginning_of_input shift-end: /input move_end_of_input shift-up: /input move_previous_line shift-down: /input move_next_line meta-R: /input delete_line meta-ctrl-u: /input delete_beginning_of_input meta-ctrl-k: /input delete_end_of_input Relates to #1498
2023-03-26core: fix default value of bar optionsSébastien Helleu
The previous commit e385eec1d6116b8c87889fc1d829aa1c5192156f fixed default value for bar added by plugins and option "items" in all bars. This commit fixes the default value of all bar options.