Sébastien Helleu
dc8f78163f
core: replace set -e by set -o errexit in shell scripts
2023-03-23 22:01:48 +01:00
Sébastien Helleu
29ac28f94a
core: add extra compiler options to check overflow of destination buffer and output truncation
2023-03-23 18:50:48 +01:00
Sébastien Helleu
952779a74c
core: remove autotools related files in .gitignore
2023-03-22 21:10:25 +01:00
Sébastien Helleu
98a599d079
core: move buffer functions and remove them from header file
2023-03-21 20:14:35 +01:00
Sébastien Helleu
f48f1c4700
core: remove unused function gui_buffer_is_scrolled
2023-03-21 20:01:12 +01:00
Sébastien Helleu
6edcc6ed41
core: remove unused function gui_buffer_search_by_layout_number
2023-03-21 19:58:53 +01:00
Sébastien Helleu
be64e8cddc
core: add relative move of read marker with /buffer set unread [+/-]N ( closes #1895 )
2023-03-20 20:38:24 +01:00
Sébastien Helleu
8475b216a4
doc: update German auto-generated file
2023-03-19 20:03:28 +01:00
Nils Görs
e2286a36b4
core: update German translations
2023-03-19 19:55:45 +01:00
Sébastien Helleu
dd54e26b4f
core: add function bar_new in release notes
2023-03-19 18:45:18 +01:00
Sébastien Helleu
40fa2605b1
core: update ChangeLog (issue #846 )
2023-03-19 18:25:05 +01:00
Sébastien Helleu
cee14f10d6
core: add option rename in command /bar
2023-03-19 18:24:39 +01:00
Sébastien Helleu
e4f181beb3
core: display an error with /bar add when the bar already exists
2023-03-19 17:42:12 +01:00
Sébastien Helleu
6bd49dd595
core: add value "name" in completion of /bar set <name>
2023-03-19 17:26:06 +01:00
Sébastien Helleu
b31666cc86
doc/api: fix typo
2023-03-19 17:24:07 +01:00
Sébastien Helleu
e385eec1d6
core: fix default value of options for bars added by plugins
...
When the bar name already exists, the function `bar_new` returns the pointer to
the bar (instead of NULL) and sets the default value for all options with the
values received.
2023-03-19 17:05:26 +01:00
Sébastien Helleu
3ebfe3e117
core: fix long lines in function gui_bar_use_temp_bars
2023-03-19 17:04:13 +01:00
Sébastien Helleu
b846df9e0e
core: allow any valid boolean value in command /bar set <name> separator xxx
2023-03-19 17:02:14 +01:00
Sébastien Helleu
8c4f02fe5a
core: fix typo on bar option name "separator"
2023-03-19 16:53:05 +01:00
Sébastien Helleu
c7090ae14a
core: use a fixed size buffer to create a bar option
2023-03-19 16:47:46 +01:00
Sébastien Helleu
111525792d
core: use a fixed size buffer to rename a bar
2023-03-19 16:47:46 +01:00
Sébastien Helleu
0f4ef874ca
core: do not call check callback when setting default value of option
2023-03-19 16:47:46 +01:00
Sekulum Forka
d47d9c5ed5
doc/man: call brackets correctly in the serbian translation
2023-03-19 10:08:03 +01:00
Sekulum Forka
16f2c21061
doc/man: fix grammatical mistakes in the serbian translation
2023-03-19 10:08:03 +01:00
Sébastien Helleu
ca7da2c961
core: run config hooks only when value or default value is actually changed in set/reset/unset functions
2023-03-19 09:59:33 +01:00
Sébastien Helleu
3e5d77fdff
core: optimize commands /reset and /unset with a mask
2023-03-19 08:30:32 +01:00
Sébastien Helleu
0d49ffd053
core: add command /reset to reset options to their default values
2023-03-19 08:02:10 +01:00
Sébastien Helleu
2e82c41c1a
core: don't translate the key context (default/search/cursor/mouse)
2023-03-19 07:17:44 +01:00
Sébastien Helleu
89701a3cc0
core: mention breaking changes in release notes
2023-03-18 16:09:47 +01:00
Sébastien Helleu
34e34d28db
core: bump version to 4.0.0-dev, follow "practical" semantic versioning
2023-03-18 15:59:23 +01:00
Sébastien Helleu
ff544f48fb
core: update ChangeLog and release notes ( closes #1238 )
2023-03-18 15:21:17 +01:00
Sébastien Helleu
5f475ab8cf
core: update translations
2023-03-18 15:20:31 +01:00
Sébastien Helleu
f7a6bd422a
doc: replace comma by underscore in name of option used in anchors
2023-03-18 15:19:08 +01:00
Sébastien Helleu
99ca276556
core: also display mouse codes with /debug key
2023-03-17 22:49:50 +01:00
Sébastien Helleu
64a553f91f
core: change order of modifiers in mouse keys
...
Now the modifiers for mouse keys are in the same order as other keys: `alt-`
then `ctrl-`.
2023-03-17 19:18:30 +01:00
Sébastien Helleu
3640d187b8
core: split gui-curses.h into multiple headers
2023-03-17 18:52:30 +01:00
Sébastien Helleu
313b40235a
core: fix search of commands with raw code and alias matching
...
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 18:52:30 +01:00
Sébastien Helleu
fe6b69c41c
core: set insert_ok to 0 for backspace key
2023-03-17 18:52:30 +01:00
Sébastien Helleu
e060a0e7f2
core: remove "%s" from translated message for key debug
2023-03-17 18:52:30 +01:00
Sébastien Helleu
2b1da0d910
core: add note about "shift-" modifier in /help key
...
The modifier "shift-" can only be used with the key names, not with simple
chars.
2023-03-17 18:52:30 +01:00
Sébastien Helleu
c1db5c9549
core: refactor print of keys in debug mode
...
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 18:52:30 +01:00
Sébastien Helleu
a54663d60c
core: replace "\x01" by "^" and add color for delimiters in output of /debug key
2023-03-17 18:52:30 +01:00
Sébastien Helleu
d9e084869a
core: add modifiers, key names and combos in /help key
2023-03-17 18:52:30 +01:00
Sébastien Helleu
9afbf02a42
core: use order returned by gui_key_expand in gui_key_modifier_list
2023-03-17 18:52:30 +01:00
Sébastien Helleu
0c4a5528ac
core: display a warning when trying to bind a raw key code or invalid key (missing comma)
2023-03-17 18:52:30 +01:00
Sébastien Helleu
3b8f9d4547
core: check new keys manually added with /set
2023-03-17 18:52:30 +01:00
Sébastien Helleu
042968b016
core: remove use of "meta2-" in key name
...
The raw key code is kept as-is, so for example "meta2-A" becomes "meta-[A".
2023-03-17 18:52:30 +01:00
Sébastien Helleu
8a5a778293
core: remove mention to list of keys being displayed without arguments in /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 20:42:19 +01:00
Sébastien Helleu
46ce8d7e81
buflist: do not display keys added in default context on first load
...
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 20:42:19 +01:00
Sébastien Helleu
bf51a081d9
core: display a specific error when trying to bind a key without area in mouse context
2023-03-16 20:42:19 +01:00