Hash :
7c4c718b
Author :
Date :
2024-09-30T06:13:38
Allow only the first group in symbols sections when using RMLVO Currently `xkb_keymap_num_layouts` may return a greater number than the number of layouts configured using RMLVO, because we allow symbols sections to define various groups per key. This is unintuitive and kind of buggy: groups should be added via rules by setting an explicit `:n` modifier. Fix: when parsing a keymap using RMLVO resolution: - Get the expected layouts count from the resulting KcCGST. - Drop the groups after the first one in included symbols sections. This will ensure that a symbol section can only define one group per key. Notes: - Compiling a keymap string directly is unaffected. - RMLVO resolution may still produce more groups than the input layouts. Indeed, some legacy rules in xkeyboard-config rely on this to insert automatically a US layout before the given non-Latin one, resulting in two layouts while only one was given.
This directory contains fragments for the future NEWS file.
We use <code>towncrier</code> to produce useful, summarized news files.
There are 3 sections types:
changes/api changes/tools changes/build There are 3 news fragments types:
.breaking .feature .bugfix
Add a short description of the change in a file changes/SECTION/ID.FRAGMENT.md,
where:
SECTION and FRAGMENT values are described in the previous section. ID is the corresponding issue identifier on Github, if relevant. If there is
no such issue, then ID should start with + and some identifier that make
the file unique in the directory. Examples:
changes/api/463.bugfix.md. changes/tools/+add-verbose-opt.feature.md. Guidelines for the fragment files:
Install <code>towncrier</code> from Pypi:
python3 -m pip install towncrier
Then build the changelog:
# Only check the result. Useful after adding a new fragment.
towncrier build --draft --version 1.8.0
# Write the changelog & delete the news fragments
towncrier build --yes --version 1.8.0