Sébastien Helleu
79f7c1cf83
fset: hook command /key
...
When command /key is called without arguments, and if fset plugin is loaded,
fset displays all key options (filter: `weechat.key*`).
2023-03-16 20:42:19 +01:00
Sébastien Helleu
ccc649d06c
core: create config options for all keys that can be managed with /set and /fset commands
2023-03-16 20:42:19 +01:00
Sébastien Helleu
c82df8f22e
core: fix safe list of keys
...
Add missing safe keys: "backspace" and "return".
Add missing unsafe keys: "comma", "space".
2023-03-16 20:42:19 +01:00
Sébastien Helleu
c647d540a7
core: remove obsolete function gui_key_legacy_expand
2023-03-16 20:42:19 +01:00
Sébastien Helleu
d1adec29f9
core: optimize search of key by reducing the number of splits into chunks
2023-03-16 20:42:19 +01:00
Sébastien Helleu
5b5c9afa29
core: add key alt-K (alt+shift+k) to grab raw key and its command
2023-03-16 20:42:19 +01:00
Sébastien Helleu
1f5c791c37
core: use new key name in command /key and configuration file
...
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 20:42:19 +01:00
Sébastien Helleu
5b5ccb236f
core: fix display of key with command /key bindctxt <context> <key>
2023-03-16 20:42:18 +01:00
Sébastien Helleu
66571a0b63
core: add configuration version, add API function config_set_version
2023-03-16 20:42:18 +01:00
Sébastien Helleu
7b8e5b36c0
core: simplify function config_file_read_internal
2023-03-16 20:42:18 +01:00
Sébastien Helleu
31bf962bba
core: display new key name using aliases in output of /key command
2023-03-16 20:42:18 +01:00
Sébastien Helleu
15587ac72f
core: fix function gui_key_legacy_to_alias with keys on areas
2023-03-16 20:42:18 +01:00
Sébastien Helleu
21910b7050
core: add function to expand raw key code to name with alias, use it in /key debug
2023-03-16 20:42:18 +01:00
Sébastien Helleu
0781f29726
core: add keyboard debug mode with command /key debug
2023-03-16 20:42:18 +01:00
Sébastien Helleu
5441c52d64
fset: remove scroll to top of fset buffer when options are added or removed ( closes #1892 )
2023-03-16 20:41:05 +01:00
Sébastien Helleu
b21bc63313
tests: add tests on functions weeurl_search_constant and weeurl_search_option
2023-03-12 08:02:47 +01:00
Sébastien Helleu
7ba9f9ac7b
core: revert case sensitive Curl constants and options (issue #1872 )
...
This is a partial revert of fca78ca823 .
2023-03-12 08:00:51 +01:00
Sébastien Helleu
e36eda5404
core: check that parameters are not NULL in URL functions
2023-03-12 07:58:00 +01:00
Sébastien Helleu
a5aa3304a4
doc/api: add hashtable methods in function string_eval_expression
2023-03-10 21:04:34 +01:00
Sébastien Helleu
7cda6cfd49
core: update translations (issue #1888 )
2023-03-10 20:52:53 +01:00
Sébastien Helleu
5f5535b466
core: simplify /help eval, move examples with the other examples (issue #1888 )
2023-03-10 20:52:28 +01:00
Sébastien Helleu
eb71880e18
core: update ChangeLog (issue #1888 )
2023-03-10 20:21:49 +01:00
Sébastien Helleu
f604cf19c7
core: rename variable open_paren to pos_open_paren
2023-03-10 20:19:24 +01:00
Andrew Potter
e3f588679c
core: allow /eval to get hashtable properties
2023-03-10 20:19:03 +01:00
Sébastien Helleu
dd65e91a75
ci: fix macOS CI
2023-02-22 21:53:25 +01:00
Sébastien Helleu
fb0248f557
core: fix crash in case of NULL message sent to function gui_chat_printf_y_date_tags ( closes #1883 )
2023-02-22 20:38:56 +01:00
Nils Görs
f6fdecb846
doc: update German documentation
2023-02-21 12:25:23 +01:00
Sébastien Helleu
188583256e
doc/user: make XDG directory fallback more clear in table
2023-02-16 21:39:02 +01:00
Sébastien Helleu
2cfecc2e2d
core: update ChangeLog (issue #603 )
2023-02-11 14:18:13 +01:00
Sébastien Helleu
3466c716ae
doc/user: move "Upgrade" chapter after "Running WeeChat"
2023-02-10 19:00:01 +01:00
Sébastien Helleu
46935b859c
core: update ChangeLog (issue #1881 )
2023-02-10 18:59:39 +01:00
Robin Jarry
9b9ec62a8e
core: allow /input move_next_word going to the end of line
...
When the input buffer contains non word characters at the end, /input
move_next_word will stop moving at the end of the last word. This is
a bit confusing and not in line with what readline does (think bash).
When there are no words left in the input buffer, make /input
move_next_word go to the end of line.
Signed-off-by: Robin Jarry <robin@jarry.cc >
2023-02-10 18:56:43 +01:00
rj1
69a3dd21dc
fix: various code comments
2023-02-04 11:50:44 +01:00
Sébastien Helleu
6d4471b6db
core: optimize search of key bindings in contexts default/search/cursor
2023-02-04 10:45:57 +01:00
Sébastien Helleu
587e2882ac
core: simplify function gui_key_cmp
2023-02-03 22:52:07 +01:00
Sébastien Helleu
1f073fe949
tests: add tests on function gui_key_cmp
2023-02-03 22:50:32 +01:00
Sébastien Helleu
68a5a71b55
core: remove extra spaces before comma
2023-02-02 22:01:46 +01:00
Sébastien Helleu
48a51c9f6e
doc: update auto-generated files
2023-02-01 20:32:00 +01:00
Ivan Pešić
314d9c0ce9
core/doc Update Serbian translations
...
Update messages and documentation translations.
2023-02-01 20:31:19 +01:00
Nils Görs
98917539b2
core: update German translations
2023-02-01 11:05:36 +01:00
Sébastien Helleu
30fa647700
irc: add command /rules ( closes #1864 )
2023-01-31 18:43:07 +01:00
Sébastien Helleu
9f5ca3b1a9
irc: add command /knock ( closes #7 )
2023-01-31 18:37:27 +01:00
Sébastien Helleu
4c0d2ab3b1
doc: update German auto-generated file
2023-01-31 07:55:36 +01:00
Nils Görs
f2e149e489
core: update German translations
2023-01-31 07:52:53 +01:00
Sébastien Helleu
7ad4f7b29c
core: update description of function hook_command_display_error_unknown
2023-01-30 23:27:25 +01:00
Sébastien Helleu
e78d96686c
core: inform that commands are case sensitive when another command with different case is found (issue #1877 )
2023-01-30 22:09:36 +01:00
Sébastien Helleu
4370f75ce6
core: improve prioritization of commands starting with same chars in similar commands
2023-01-30 21:51:32 +01:00
Sébastien Helleu
b02a10aa48
core: display similar command names when a command is unknown ( closes #1877 )
2023-01-30 21:44:38 +01:00
Sébastien Helleu
74154d972d
tests: fix comments (issue #1877 )
2023-01-30 21:44:09 +01:00
Sébastien Helleu
69a635412d
core: add function string_get_common_bytes_count (issue #1877 )
2023-01-30 21:44:03 +01:00