Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2023-04-12 | irc: connect with TLS and port 6697 by default (issue #1903) | Sébastien Helleu | |
2023-04-12 | irc: rename "ssl" options to "tls" (issue #1903) | Sébastien Helleu | |
2023-04-12 | irc: check that IRC URL starts with "irc" (issue #1903) | Sébastien Helleu | |
2023-04-12 | irc: set gnutls_sess, tls_cert and tls_cert_key to NULL by default in server ↵ | Sébastien Helleu | |
(issue #1903) | |||
2023-04-05 | tests: add tests on function irc_server_alloc_with_url | Sébastien Helleu | |
2023-04-03 | irc: 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-02 | irc: update autojoin option with redirected channels when autojoin_dynamic ↵ | Sébastien Helleu | |
is enabled (closes #1898) | |||
2023-03-31 | irc: fix target buffer for commands 432/433 when the nickname looks like a ↵ | Sébastien Helleu | |
channel | |||
2023-03-31 | core: fix key `meta-[O` (unfocus with xterm) (closes #1900) | Sébastien Helleu | |
2023-03-31 | core: 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-28 | core: check that infolist is not NULL in next/prev/reset_item_cursor functions | Sébastien Helleu | |
2023-03-26 | core: Implement commands for operating on a single input line | Trygve 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-26 | tests: add tests on gui bar functions | Sébastien Helleu | |
2023-03-25 | tests: add placeholder for function gui_key_paste_finish | Sébastien Helleu | |
2023-03-21 | core: move buffer functions and remove them from header file | Sébastien Helleu | |
2023-03-21 | core: remove unused function gui_buffer_is_scrolled | Sébastien Helleu | |
2023-03-21 | core: remove unused function gui_buffer_search_by_layout_number | Sébastien Helleu | |
2023-03-19 | core: do not call check callback when setting default value of option | Sébastien Helleu | |
2023-03-19 | core: add command `/reset` to reset options to their default values | Sébastien Helleu | |
2023-03-17 | core: change order of modifiers in mouse keys | Sébastien Helleu | |
Now the modifiers for mouse keys are in the same order as other keys: `alt-` then `ctrl-`. | |||
2023-03-17 | core: fix search of commands with raw code and alias matching | Sébastien Helleu | |
When raw code and alias for a key are both matching, the raw code must always have higher priority. This commit fixes this behavior and gives priority to raw code. | |||
2023-03-17 | core: refactor print of keys in debug mode | Sébastien Helleu | |
Changes: - add function gui_key_debug_print_key - change message "no key" by "no key binding" - remove messages ""insert into input" / "ignored" - add color for delimiters | |||
2023-03-17 | core: display a warning when trying to bind a raw key code or invalid key ↵ | Sébastien Helleu | |
(missing comma) | |||
2023-03-17 | core: check new keys manually added with /set | Sébastien Helleu | |
2023-03-17 | core: remove use of "meta2-" in key name | Sébastien Helleu | |
The raw key code is kept as-is, so for example "meta2-A" becomes "meta-[A". | |||
2023-03-16 | tests: add extra test on function gui_key_legacy_to_alias | Sébastien Helleu | |
2023-03-16 | core: add function config_file_option_set_default | Sébastien Helleu | |
2023-03-16 | core: create config options for all keys that can be managed with `/set` and ↵ | Sébastien Helleu | |
`/fset` commands | |||
2023-03-16 | core: fix safe list of keys | Sébastien Helleu | |
Add missing safe keys: "backspace" and "return". Add missing unsafe keys: "comma", "space". | |||
2023-03-16 | core: remove obsolete function gui_key_legacy_expand | Sébastien Helleu | |
2023-03-16 | core: use new key name in command `/key` and configuration file | Sébastien Helleu | |
Legacy keys are automatically converted to new names when loading configuration file `weechat.conf`. Examples: "ctrl-I" => "tab" "meta2-1;3A" => "meta-up" "meta2-Z" => "shift-tab" "meta-wmeta-meta2-A" => "meta-w,meta-up" "ctrl-Cb" => "ctrl-c,b" | |||
2023-03-16 | core: add configuration version, add API function config_set_version | Sébastien Helleu | |
2023-03-16 | core: fix function gui_key_legacy_to_alias with keys on areas | Sébastien Helleu | |
2023-03-16 | core: add function to expand raw key code to name with alias, use it in /key ↵ | Sébastien Helleu | |
debug | |||
2023-03-12 | tests: add tests on functions weeurl_search_constant and weeurl_search_option | Sébastien Helleu | |
2023-03-10 | core: allow /eval to get hashtable properties | Andrew Potter | |
2023-02-04 | core: optimize search of key bindings in contexts default/search/cursor | Sébastien Helleu | |
2023-02-03 | tests: add tests on function gui_key_cmp | Sébastien Helleu | |
2023-01-31 | irc: add command `/knock` (closes #7) | Sébastien Helleu | |
2023-01-30 | tests: fix comments (issue #1877) | Sébastien Helleu | |
2023-01-30 | core: add function string_get_common_bytes_count (issue #1877) | Sébastien Helleu | |
2023-01-30 | core: add function string_levenshtein (issue #1877) | Sébastien Helleu | |
2023-01-29 | core: force ctrl keys to lower case when they are added (closes #1875) | Sébastien Helleu | |
2023-01-29 | tests: add tests on gui key functions (issue #1875) | Sébastien Helleu | |
2023-01-28 | irc: make IRC server names case sensitive (issue #1872) | Sébastien Helleu | |
2023-01-28 | core: make configuration files, sections and options case sensitive (issue ↵ | Sébastien Helleu | |
#1872) |