Age | Commit message (Collapse) | Author | |
---|---|---|---|
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) | |||
2023-01-28 | core: add function config_file_get_configs_by_priority (issue #1872) | Sébastien Helleu | |
2023-01-28 | core: sort configuration files by name, reload them by priority (issue #1872) | Sébastien Helleu | |
2023-01-28 | core: move function hook_get_priority_and_name to wee-string.c (issue #1872) | Sébastien Helleu | |
2023-01-15 | irc: update message with number of nicks when joining a channel | Sébastien Helleu | |
Changed: - "N voices" to "N voiced" - "N normals" to "N regular" | |||
2023-01-14 | tests: add tests on string comparison functions | Sébastien Helleu | |
2023-01-01 | core: update copyright dates | Sébastien Helleu | |
2023-01-01 | tests: add tests on gui input functions | Sébastien Helleu | |
2022-12-31 | core: move function gui_input_move_to_buffer to gui-buffer.c | Sébastien Helleu | |
2022-12-30 | core: fix color when the delimiter is not followed by a background color ↵ | Sébastien Helleu | |
(closes #1867) | |||
2022-12-25 | core: move `/input` buffer switch/zoom actions to command `/buffer` | Sébastien Helleu | |
Actions moved: * `/input switch_active_buffer` -> `/buffer switch` * `/input switch_active_buffer_previous` -> `/buffer switch -previous` * `/input zoom_merged_buffer` -> `/buffer zoom` | |||
2022-12-25 | core: move `/input` set_unread actions to commands `/allbuf` and `/buffer set` | Sébastien Helleu | |
Actions moved: * `/input set_unread` -> `/allbuf /buffer set unread` * `/input set_unread_current_buffer` -> `/buffer set unread` | |||
2022-12-25 | core: move `/input` hotlist actions to new command `/hotlist` | Sébastien Helleu | |
Actions moved to command `/hotlist`: * `/input hotlist_clear` -> `/hotlist clear` * `/input hotlist_remove_buffer` -> `/hotlist remove` * `/input hotlist_restore_buffer` -> `/hotlist restore` * `/input hotlist_restore_all` -> `/hotlist restore -all` | |||
2022-12-25 | core: add function gui_buffer_jump_last_visible_number | Sébastien Helleu | |
2022-12-25 | core: move `/input` jump actions to command `/buffer jump` | Sébastien Helleu | |
Actions moved to command `/buffer jump`: * `/input jump_smart` -> `/buffer jump smart` * `/input jump_previously_visited_buffer` -> `/buffer jump prev_visited` * `/input jump_next_visited_buffer` -> `/buffer jump next_visited` * `/input jump_last_buffer_displayed` -> `/buffer jump last_displayed` |