Age | Commit message (Collapse) | Author | Files | Lines |
|
Use in-repository-only symlinks between symbols files that help us to
resolve option mismatches, e.g. where we need to map caps:foo to
capslock(foo).
This effectively reverts
symbols: symlink the special rules prefixes to our symbols files
|
|
The vast majority of options are a straightforward foo:bar = +foo(bar)
mapping. Instead of maintaining those mappings by hand let's generate
the rules file from the files we definitely maintain by hand: the
base.xml (and base.extras.xml) files.
This also makes it clearer which ones are exceptions and need to be
filled in through other means (or ignored because the option does not
affect any symbols).
The resulting rules file is identical to the previous hand-generated
one but it is alphabetically sorted and uses different whitespacing.
For merge.py to work we need to also fix the whitespaces in
rules/compat/0041-option_symbols.part, otherwise the duplicate header
detection won't work.
|
|
This makes it immediately readable what maps to what over e.g.
ml4_s.part.
|
|
|
|
This avoids having to special-case grab:debug and srvrkeys:none in the
rules files.
|
|
These used to have a special entry in the rules file - it's easier if we
just make a section for them and have the rules-file entry map 1:1.
For ctrl:grouptoggle_capscontrol see commit 6bba53fd
|
|
On branch ohu_sk
Changes to be committed:
modified: rules/base.extras.xml
modified: symbols/hu
|
|
|
|
See the previous commits, none of these machines need the latest
xkeyboard-config.
|
|
Best I can tell these are macbooks released from 2006 to 2012 or
something. Doesn't matter too much anyway since the only effect of these
rules was a different geometry file.
Since geometry is not supported at all in libxkbcommon we won't lose
much by dropping these special cases.
|
|
Released in 2008 we expect few of these devices still exist and those
that do probably don't need the latest xkeyboard-config release.
|
|
The Nokia RX-51 (N900) came out in 2009. 15 years later we can purge
this rule, the number of devices that still exist and need latest
xkeyboard-config is too small to worry about.
The Nokia RX-44 (N810) an SU-8W were released 2007.
|
|
The Azerty keyboards used in France and Belgium have the digits on the
shift level instead of on the base level of the top row. In Windows
the corresponding layouts have the curious characteristic that CapsLock
locks also the digits, meaning that some users have acquired the habit
of engaging CapsLock when they need to type some digits.
Fix this by adding a new option `caps:digits_row` that applies only to
the `$azerty` layouts group (currently `fr` and `be`). This option
changes the key type of the digits keys to `FOUR_LEVEL_SEMIALPHABETIC`.
There are two drawbacks with this solution:
- It is not possible to type the uppercase À, È, É and Ç. Without the
option, one gets those by the internal transformation rules, done
either by the X server or xkbcommon.
- It changes the behavior of the US variants from `fr`. But we do not
expect anyone to use at the same time e.g. `fr` and `fr(us-alt)` with
the new option `caps:number_row`. Instead we expect e.g. either one
uses `fr(us-alt)` alone or `fr,us`. In the former case the option is
not needed, while in the later case the option works correctly.
|
|
We have the rules in place for this, let's expose those.
Fixes #445
|
|
These were added as rules entries in ac8fa2656 but no-one noticed for 13
years that they had no corresponding base.xml entry. Let's remove them
because they look suspiciously like "added because we can" rather than
"added because there's a need for it". Google cannot find a single
reference to it that isn't this repo or a mirror of it.
Fixes #445
|
|
These have been commented out for over 12 years because they're
apparently broken, see 569dd72bd4b and
https://bugs.freedesktop.org/show_bug.cgi?id=41621
Let's remove those, we can reinstate those if there are users that
can make these rules work.
Fixes #445
|
|
The purpose of this option is to have Caps Lock behave as a Control
modifier, but still be able to distinguish it from the Control_L and
Control_R keys in things like games and emulators.
People tend to get confused when in some programs Caps Lock with this
option doesn't behave exactly like Control. ctrl:nocaps is probably the
option they really want.
Fixes #443
|
|
|
|
https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3_Retirements.tab
ais Nataoran Amis S Split by part going to Amis [ami] and creating Sakizaya [szy] with the remaining part 2019-01-25
uun Kulon-Pazeh S Split into Kulon [uon] and Pazeh [pzh] 2022-01-20
See also the pycountry commit
https://github.com/pycountry/pycountry/commit/a2341a11df5b5fddb26519e9b9cbe1befdee74a9
Fixes #430
|
|
On branch master
Your branch is up to date with 'origin/master'.
Changes to be committed:
modified: rules/base.extras.xml
modified: symbols/hu
|
|
black is getting increasingly more difficult to use in the CI across
distribution versions (thanks to Python's messy packaging) so let's
replace it with ruff format which produces largely the same results.
|
|
use the builtin `install_symlink` target provided by meson instead of providing on external `ln` and `sh`.
|
|
Until commit 9350c7347a from two years ago, the `extended` variant
contained *fewer* symbols than the `basic` variant, and did not contain
any symbols that `basic` did not have. The extra symbols that it did
have over the `simple` variant were all present in the same locations
in the `basic` variant. So at that point the `extended` variant was
fully redundant. The mentioned commit 9350c7347a did not "perfect"
the `extended` layout but merely added some symbols in ill-considered
places. Such adjustments are stuff for the `custom` layout instead.
This addresses and closes issue #412.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
The layout is not international at all, and cannot be used to type
just German or French or Slovak either. It looks more like a first
draft of the `scn` layout.
The original contributor, David Paleino, agrees with its removal.
This addresses and closes issue #406.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
Zawgyi [1] is a font for the Burmese language where the characters
are encoded in a way that is incompatible with Unicode, so "Zawgyi"
is not part of the name of the language. Also, the addition "Tai"
for a specific version of the font is unneeded.
[1] https://en.wikipedia.org/wiki/Zawgyi_font
Furthermore, drop the `eng` marker for two layouts as no English
can be typed with them.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
In some circumstances the identifier of the variant is presented,
rather than the name. The identifier "two" is not descriptive
enough.
Thanks @benno for suggesting the name "si2".
|
|
|
|
Also, sort the main layout for the US strictly alphabetically
among the English layouts.
|
|
Seven years ago, commit 8791fd60ca added a separate entry for Australia,
to make the desired layout easier to find for Australian users. Grant
the Kiwis the same kind of ease.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
The Māori language is native to New Zealand only, not a language that
spans many countries, like Arabic or Esperanto. So it does not merit
its own, separate file.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
Three years ago, commit 20d03d7441 added an exotic layout for Coptic,
and in the process created the `symbols/eg` file, putting Coptic as
the only and default and "basic" variant, although obviously it is
a niche layout (and was added to `rules/base.extras.xml`).
Arabic is the main and official language in Egypt.
So set the Arabic standard layout as the default.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
Ideally, each list of variants should contain only things that are
actually different, not things that are merely synonyms for others.
Also, there is nothing Qwerty about these Arabic layouts (apart from
the top row), so the names are rather misleading.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
All other copies of the Arabic layout are named "Arabic (Country)",
so do that here too, to avoid the impression that Iraqi is a separate
language. (Problem existed since many layouts were renamed twelve years
ago, in commit 9a21ade574.)
Also, drop the 'kur' from the language list, as one does not want to
find this Arabic layout when searching for "Kurdish" in the layout
choosers of KDE or Cinnamon. (Problem existed since the language
lists were added fifteen years ago, in commit ffb490449e.)
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
The code `drs` is for Gedeo (also called Deresa), a language in Ethiopia.
https://en.wikipedia.org/wiki/ISO_639:d
https://en.wikipedia.org/wiki/Gedeo_language
https://en.wikipedia.org/wiki/ISO_639:p
https://en.wikipedia.org/wiki/Dari
Bug existed since many codes were added in commit 297bb51556, last year.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
Fifteen years ago, commit 85e363d819 removed the section "logicd"
from `symbols/inet`, but the rules that referred to it were left
hanging in the air.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
They don't have a section in `symbols/inet` nor any rule
in `rules/0026-base.m_s.part`.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
This reduces the chaos in the second table of `man xkeyboard-config`,
especially near the end where things were added seemingly randomly.
|
|
Also, correct a few misindentations of `<variant>` tags and similar.
|
|
Israeli standard SI-1452 part 2 (2018) describes a slight variation
of SI-1452 that removes almost all the deviations from the US layout.
But as it moves some symbols, it is added as an alternative layout.
For an image of the layout, see http://mikladot.com/.
(For conciseness, the variant defines only level 1 of the seven
changed keys, as nothing changes on the higher levels.)
This fulfills and closes issue #46.
Original-patch-by: Tzafrir Cohen <tzafrir@cohens.org.il>
Acked-by: Shai Berger <shai@platonix.com>
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
This makes the first table in `man xkeyboard-config` less chaotic.
Only the generic pc86 to pc105 models are kept at the beginning.
Also, add "Compal" to the name of the FL90 keyboard, and remove the
spurious "NEC" from the name of the Hewlett-Packard SK-2501 keyboard
(mistakenly added by commit 10cf5acd90 six years ago).
|
|
Adding the specifiers "(Italian keyboard)" and "(German keyboard)"
may look over the top, as xkeyboard-config is all about keyboards,
but it makes things the most clear for the user.
Also, move the Ladin layout for the basic German keyboard to the file
for Italy, as the places where Ladin is spoken are all there.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
"Ol Chiki" is the name of the script [1] that is used to write the
Santali language [2].
[1] https://en.wikipedia.org/wiki/Ol_Chiki_script
[2] https://en.wikipedia.org/wiki/Santali_language
Naming the layout "Santali (Ol Chiki)" follows the examples of
"Punjabi (Gurmukhi)" and "Manipuri (Meitei)". This is also how
the corresponding layouts are named in Android.
(Originally the comment near the beginning of `symbols/in` referred
to scripts, not languages, but commit b9971d9ba8 from three years ago
changed that. Whether that was a good idea...)
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
Also add a few missing comments.
|
|
The `phonetic_fr` variant differed from the `phonetic_azerty` variant
only by having some extra stuff on levels 3 + 4 (inhereted from `fr`).
Having extra stuff on the upper levels is not worth having a dedicated
variant for, especially not when this kind of layout is probably used
by just a handful of people.
So, just let the `phonetic_azerty` variant include the extra stuff
and drop the `phonetic_fr` variant, also because it's weird to have
a layout named "Russian (phonetic, French)" when one cannot type any
French on it.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
|
|
|
|
|
|
The backticks are not used anywhere else, and no one will understand
what they are supposed to convey anyway.
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Black is quite common in Python sources and ensures that all the code
has a unified look to it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|