Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-19 | core: use a fixed size buffer to create a bar option | Sébastien Helleu | |
2023-03-19 | core: use a fixed size buffer to rename a bar | 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: run config hooks only when value or default value is actually changed ↵ | Sébastien Helleu | |
in set/reset/unset functions | |||
2023-03-19 | core: optimize commands `/reset` and `/unset` with a mask | Sébastien Helleu | |
2023-03-19 | core: add command `/reset` to reset options to their default values | Sébastien Helleu | |
2023-03-19 | core: don't translate the key context (default/search/cursor/mouse) | Sébastien Helleu | |
2023-03-18 | core: bump version to 4.0.0-dev, follow "practical" semantic versioning | Sébastien Helleu | |
2023-03-17 | core: also display mouse codes with `/debug key` | 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: split gui-curses.h into multiple headers | Sébastien Helleu | |
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: set insert_ok to 0 for backspace key | Sébastien Helleu | |
2023-03-17 | core: remove "%s" from translated message for key debug | Sébastien Helleu | |
2023-03-17 | core: add note about "shift-" modifier in /help key | Sébastien Helleu | |
The modifier "shift-" can only be used with the key names, not with simple chars. | |||
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: replace "\x01" by "^" and add color for delimiters in output of /debug key | Sébastien Helleu | |
2023-03-17 | core: add modifiers, key names and combos in /help key | Sébastien Helleu | |
2023-03-17 | core: use order returned by gui_key_expand in gui_key_modifier_list | Sébastien Helleu | |
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 | core: remove mention to list of keys being displayed without arguments in ↵ | Sébastien Helleu | |
/help key Now when fset plugin is loaded, the keys are displayed in fset buffer. In core commands like /set or /key, the fset plugin is not mentioned as WeeChat can run without it. | |||
2023-03-16 | buflist: do not display keys added in default context on first load | Sébastien Helleu | |
Keys added in mouse context were already hidden, so it makes sense to not display keys in default context as well. These keys added by the default plugins are documented anyway. | |||
2023-03-16 | core: display a specific error when trying to bind a key without area in ↵ | Sébastien Helleu | |
mouse context | |||
2023-03-16 | api: change also default value of new key options with function key_bind | Sébastien Helleu | |
2023-03-16 | core: display a warning if the config version read is newer than supported ↵ | Sébastien Helleu | |
version | |||
2023-03-16 | core: move keyboard debug mode from `/key debug` to `/debug key` | Sébastien Helleu | |
2023-03-16 | core: split alias list into two lists | Sébastien Helleu | |
2023-03-16 | tests: add extra test on function gui_key_legacy_to_alias | Sébastien Helleu | |
2023-03-16 | api: change default value of existing key options with function key_bind | Sébastien Helleu | |
With this fix, fset buffer shows the key as modified only if the user actually changed the command bound to the key. | |||
2023-03-16 | core: add function config_file_option_set_default | Sébastien Helleu | |
2023-03-16 | fset: hook command /key | Sébastien Helleu | |
When command /key is called without arguments, and if fset plugin is loaded, fset displays all key options (filter: `weechat.key*`). | |||
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: optimize search of key by reducing the number of splits into chunks | Sébastien Helleu | |
2023-03-16 | core: add key alt-K (alt+shift+k) to grab raw key and its command | 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: fix display of key with command `/key bindctxt <context> <key>` | Sébastien Helleu | |
2023-03-16 | core: add configuration version, add API function config_set_version | Sébastien Helleu | |
2023-03-16 | core: simplify function config_file_read_internal | Sébastien Helleu | |
2023-03-16 | core: display new key name using aliases in output of `/key` command | 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-16 | core: add keyboard debug mode with command `/key debug` | Sébastien Helleu | |
2023-03-16 | fset: remove scroll to top of fset buffer when options are added or removed ↵ | Sébastien Helleu | |
(closes #1892) | |||
2023-03-12 | core: revert case sensitive Curl constants and options (issue #1872) | Sébastien Helleu | |
This is a partial revert of fca78ca823e147665687d6cb0a6fe9a4694ba61b. | |||
2023-03-12 | core: check that parameters are not NULL in URL functions | Sébastien Helleu | |
2023-03-10 | core: simplify /help eval, move examples with the other examples (issue #1888) | Sébastien Helleu | |