-
16b8511b
by Killercat103 at 2023-02-04T19:05:25+01:00
Add the Colemak-DH-Wide keyboard layout.
-
6d9f17da
by Milos Kozak at 2023-02-05T14:14:42+00:00
Czech layout following to what is actually printed on the keyboard
-
57894f08
by Wismill at 2023-02-09T05:48:15+00:00
rules: add an option to use custom types & add locale to custom layout
A custom layout may define its own types or a user may want to
overwrite existing types. This option activates the `custom`
types file, which is user-provided.
This is a follow-up to 5ca9f8aea2876fe6926fc27f564d36eaf5ca5c8d.
-
bc4e4120
by Evandro at 2023-02-16T10:37:38+00:00
Added Russian phonetic ABNT2
-
058f3f2b
by Benno Schulenberg at 2023-03-07T16:33:03+01:00
symbols/fr: add a space before combining characters, to align them better
Also, remove a redundant include -- the AFNOR layout defines all keys.
-
3ab04f15
by Benno Schulenberg at 2023-03-07T16:38:46+01:00
symbols/us: remove a pointless include from the basic Workman layout
All alphanumeric keys in this basic Workman layout are defined with
just two levels, so it makes no sense to include a third-level chooser.
And the one key that had four levels (CAPS) had the same symbols on the
upper levels as on the first, so those levels provided nothing extra,
and are now removed.
This closes issue #362.
Reported-by: Jing Wang
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
43cec619
by jmcwilliams403 at 2023-03-07T16:59:53+00:00
Add `trademark` to level4 of two intl variants
-
f2c14935
by 800147 at 2023-03-07T17:08:41+00:00
Add Russian-Tatar United keyboard layout
-
50291124
by Benno Schulenberg at 2023-03-10T09:41:26+01:00
symbols/ir: fold one partial keyboard definition into another
The basic part and the extension part were always used together,
so just fold the latter into the former, for clarity.
-
89a7cd11
by Benno Schulenberg at 2023-03-10T11:54:33+01:00
symbols/ir: elide four includes, for a little more clarity
The several includes obscured what the actual standard Persian layout is
and how the "with keypad" variant differs from the standard.
-
c280c8ac
by Mujeeb Cpy at 2023-03-10T13:59:37+00:00
Add Malayalam Poorna, extended InScript Layout
Poorna layout includes all Malayalam unicode characters which are not
found in other layouts. One important use case is typesetting an old
book (Malayalam bible for example) that requires characters not present
in the other layouts. This layout also makes it easy to type
punctuations and other special characters without switching layouts.
For more details see https://poorna.smc.org.in
-
af8512fa
by Benno Schulenberg at 2023-03-13T13:06:46+01:00
symbols/ee: improve the basic Estonian layout
This brings the layout closer to the one that Windows has, and
puts some mildly useful characters in the place of duplicates.
* Replace two copies of the useless `¬` with `•` and `·`.
* Replace the duplicate `½` with the `€` that Windows has.
* Replace the duplicate `'` with a dead cedilla, so that
four characters from the neighbour Latvia can be typed.
* Replace the useless `ſ` with the German `ß`, and the
duplicate `§` with `Σ` (because it resembles a `W`).
* Replace the duplicate dead caron with a dead circumflex.
* Replace the duplicate `>` with the missing `«`.
* Replace the useless `˙` with a dead abovedot that can
be used to type the Polish `ż`.
The duplicate `@`, `₤`, `$`, and `dead_acute` are left
in place, as there are no compelling alternatives.
This addresses and closes issue #340.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
a9f7e474
by Dmytro Poltavchenko at 2023-03-14T11:19:14+00:00
Remove obsolete RSTU keyboard layout and rename RUU
-
9f1d607b
by Benno Schulenberg at 2023-03-14T13:27:54+01:00
symbols/by: add the Ukrainian ghe_with_upturn to the upper levels of GHE
If the user wishes to type this character, however, they will
have to configure a level3 chooser themselves.
This kind-of addresses issue #99.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
1bb09834
by Benno Schulenberg at 2023-03-14T16:50:50+01:00
move two names to after an include, to override the latter's name
Also, remove some redundant includes (that are redundant because the
other include already includes it) and some superfluous blank lines,
and properly align a few key definitions.
-
75c3e615
by Benno Schulenberg at 2023-03-14T16:50:51+01:00
symbols/cm: use two includes instead of respecifying two existing layouts
-
735909e1
by Benno Schulenberg at 2023-03-14T17:21:17+01:00
symbols: replace some mistaken keypad keysyms with the intended symbols
The KP_n symbols on the second level in the 'azerty' layout for Cameroon
still make some sense: the keys get the type FOUR_LEVEL_KEYPAD so that
the digits will be produced when NumLock is engaged. But in the 'dvorak'
layout the KP_n symbols were on the first level, which would lead to the
symbols from the second level to be produced when NumLock is engaged --
which is not what NumLock is supposed to do. (Truly, NumLock is meant
only for the numeric keypad, but... let's not disturb current users.)
-
561998a8
by Benno Schulenberg at 2023-03-14T17:22:46+01:00
symbols/cm: rewrap some overlong comments to fit within 140 columns
Also trim some verbosity (changelogs should be in commit messages),
reshuffle comments to be closer to what they apply to, remove an
unneeded include, and trim some unneeded key-definition details.
-
5025f957
by Benno Schulenberg at 2023-03-14T17:22:46+01:00
symbols/dz: harmonize whitespace and transform to Uxxxx codes
Also reshuffle some comments and complete the "graphic layout".
-
08fd8228
by Benno Schulenberg at 2023-03-15T12:37:02+01:00
revert commit a9f7e47487, in order to redo it with a full commit message
-
b896a52c
by Dmytro Poltavchenko at 2023-03-17T09:02:17+01:00
Remove the obsolete RSTU keyboard layout, fix the name of RUU
* The RSTU 2019-91 standard was developed in the Ukrainian SSR back in 1991
in consideration of electronic typewriters and therefore was not officially
used in computer technology. After the collapse of the Soviet Union,
in independent Ukraine in 1996, the DSTU 3470-96 standard has been adopted.
Despite the fact that the RSTU layout was added to this repository in 2004,
officially this standard has been dead since 1991. Also, it is almost
impossible to connect old keyboards with 5-pin DIN connectors to modern
computers.
* The RUU layout is slightly renamed, as the official name of the country
is Belarus, not Belorussia.
-
73b3e33c
by jmcwilliams403 at 2023-03-17T08:22:00+00:00
symbols/us: add remaining diaeresis vowels to intl
Adds `ediaeresis` to the AltGr levels of F and
`idiaeresis` to the AltGr levels of J, which are
the nearest unbound keys to E and I on a QWERTY
layout.
-
4611e2e4
by Benno Schulenberg at 2023-03-20T09:17:15+01:00
symbols/ca: fix the key type of the top row in multix, to ignore CapsLock
CapsLock should affect only keys with letters (alphabetic characters),
not keys with only symbols or digits. In other words: it should not
behave like ShiftLock. So the key type for those top thirteen keys
should be EIGHT_LEVEL, not EIGHT_LEVEL_SEMIALPHABETIC.
Also looking at the Canadian Multilingual layout in Windows [1][2],
it is clear that the digits row should not be affected by CapsLock.
[1] https://kbdlayout.info/kbdcan
[2] https://kbdlayout.info/kbdcan/download/cldr
Problem existed since the CSA layout was added in commit 075eed027d,
eighteen years ago. (It could have been fixed last year, by commit
16b9510f49, which fixed the key type for AB08 and AB09, but... it
escaped me.)
This fixes issue #369.
Reported-by: Jérémie Galarneau
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
e1893452
by cs127 at 2023-03-20T09:55:43+00:00
Add Microsoft Windows variant for Persian
-
aab23529
by Benno Schulenberg at 2023-03-20T12:08:16+01:00
hide the Czech typographic layout, as it is useless on its own
The layout assigns characters only to the third and fourth levels,
so it is useful only when combined with a proper, normal layout.
This addresses and closes issue #368.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
f9f8a7f3
by Fabio Tomat at 2023-03-20T20:48:05+00:00
Add left/right quotation marks for Friulian layout
-
e09f9f53
by jmcwilliams403 at 2023-03-21T09:51:36+00:00
symbols/us: add `plusminus` to level4 of M on us-intl + variants
The `plusminus` keysym is the last Latin-1 mathematical operator left
unbound on the standard us-intl layout, and likewise, M is the last
key position whose level4 shift state is the same as its level3 shift
state. This patch binds `plusminus` to the level4 shift state of M,
to go with a plausible phonetic nomenclature of plus«M»inus going on
M for Minus, just as how «m»icro is bound.
-
eb3d0dae
by cs127 at 2023-03-21T10:08:03+00:00
Add Persian digits to the Windows Persian variant
In Windows, the Persian layout has Latin (ASCII) digits only, and
some programs convert them to Persian digits as they are typed.
This type of conversion does not exist on most systems, including
freedesktop-based systems, making it impossible to type Persian digits
when using the Windows variant of the Persian keyboard layout.
This commit adds Persian digits to the third level of the number keys
on row E (AE01 - AE10).
-
a5f8db4e
by Benno Schulenberg at 2023-03-21T16:41:47+01:00
symbols/ir: replace 0x100nnnn with Unnnn, and add some comments for these
Also harmonize some whitespace, and replace "VoidSymbol" with "none".
-
c89e1f37
by Benno Schulenberg at 2023-03-22T12:24:49+01:00
symbols/us: use an include for Colemak DH, instead of a full definition
-
67160d2c
by Benno Schulenberg at 2023-03-22T12:24:49+01:00
symbols: mention the target country at the top of most layout files
Also replace some 0x100nnnn codes with Unnnn, and tweak some comments.
-
ff1e32b3
by Benno Schulenberg at 2023-03-22T12:30:17+01:00
symbols/ru: fix the names of two niche layouts
The name "Russian (typographic)" made it sound as if the layout was
useful only for a very neat, typographical kind of Russian.
The word "layout" in the other name was copied from the mistaken name
of the RUU layout, which was corrected last week in commit b896a52c55.
-
07bcda33
by Benno Schulenberg at 2023-03-22T12:30:17+01:00
correct the name of the basic Australian layout
Between the parenthesis after the language name should be either
a country name or the name of a specific type of layout.
(Also correct the comment for the 'en' short code.)
-
76a152fc
by Benno Schulenberg at 2023-03-22T12:31:48+01:00
drop the Spanish 'mac' variant that is exactly the same as the basic one
When something isn't actually a variant, there is no point in offering
it as a choice.
-
3dac4290
by Benno Schulenberg at 2023-03-22T17:14:01+01:00
rules: normalize some indentation, and swap two choices for consistency
-
82f54da0
by Benno Schulenberg at 2023-03-23T09:30:36+01:00
symbols: replace some 0x10000nn codes with their symbolic name
-
35dfe517
by Benno Schulenberg at 2023-03-24T12:33:05+01:00
symbols/gr: harmonize and condense whitespace, unwrap some definitions
Also, remove the marker `alternate_group` -- a leftover from the time
that the upper levels were meant to be accessed in a subsequent group
via `Mode_switch`.
Furthermore, replace `NoSymbol` with `any`, and amend the graphical
depiction of the Extended layout (which, by the way, is less extended
than the basic layout).
-
7943adb7
by Benno Schulenberg at 2023-03-24T12:44:27+01:00
symbols/de: correct the key type of the letter keys in the E1 layout
In the E1 layout, the keys with letters on the first two levels
contain symbols (not letters) on the third level, and nothing on
the fourth level. So, CapsLock should not affect the third level,
otherwise AltGr plus a letter key would do nothing when CapsLock
is engaged.
This fixes issue #333.
Problem existed since the E1 layout was introduced three years ago
in commit b9063591ec.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
30cb97fd
by Benno Schulenberg at 2023-03-24T19:02:18+01:00
symbols/de: condense some comments, and provide a better E1 reference URL
Also, replace "NoSymbol" with the equivalent but shorter "any",
and reshuffle the LSGT key into its usual place.
-
67a3e8a9
by Benno Schulenberg at 2023-03-24T19:02:24+01:00
symbols/gr: condense some comments, and reshuffle keys into normal order
Also, elide a "hidden" include that is used just once --
includes that just make things harder to grasp are not useful.
-
28169a24
by Benno Schulenberg at 2023-03-26T18:01:58+02:00
force the CAPS key to have one level (for options that affect that key)
In olden times, there were no layouts that redefined the CAPS key,
so having options that overwrote the single symbol that it contained
worked fine. However, some modern layouts, like Colemak and Workman,
define the CAPS key to have multiple levels, which causes some of the
XKB options to fail to overwrite the upper levels of that key.
Indirectly-reported-by: Vinícius dos Santos Oliveira
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
6581270f
by Benno Schulenberg at 2023-03-28T16:52:32+02:00
symbols/ctrl: specify CAPS precisely, trim redundant modifier mappings
-
70ac6953
by Benno Schulenberg at 2023-03-28T17:09:02+02:00
symbols/nbsp: condense definitions onto single lines, improve comments
-
54a5aeb0
by Benno Schulenberg at 2023-03-28T17:42:17+02:00
elide an unexposed non-breaking-space option that was used just once
The option 'nb2zwnj3s' was added twelve years ago in commit 0a247a4cdd,
for the sole benefit of the Sri Lankan phonetic layout. But using an
include does not make things clearer, especially not when its name is
hard to grasp. Also, the option was never exposed in any rules file,
and was thus not really accessible for anyone. So: just drop it.
-
f54b3279
by Benno Schulenberg at 2023-03-28T17:42:25+02:00
symbols/lk: improve some comments, and reshuffle keys into normal order
-
6605bb67
by Benno Schulenberg at 2023-03-30T12:00:03+02:00
symbols/pk: replace mistaken 'any' with 'none' in the "Navees" layout
Last year, commit 57e35d41d8 mistakenly replaced 'VoidSymbol' with 'any'
instead of with 'none', causing for example Shift+AC09 and AltGr+AC09
to produce a symbol when those combinations should produce nothing.
(In practice, though, this was more or less harmless.)
Reported-by: Harshula Jayasuriya
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
669688a2
by Benno Schulenberg at 2023-03-30T12:03:59+02:00
symbols/cz: replace mistaken 'none' with 'any' in the typographic overlay
Last year, commit 1bf140a683 mistakenly replaced 'NoSymbol' with 'none'
instead of with 'any', blanking out the first two levels of some twenty
keys, making the 'prog_typo' layout completely unusable. Oops! :|
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
9e2b1483
by Harshula Jayasuriya at 2023-03-30T12:18:55+02:00
symbols/lk: fix incorrect use of "NoSymbol" by replacing with "none"
The intention was for the relevant levels to produce no symbol at all.
This fixes issue #374.
Signed-off-by: Harshula Jayasuriya <harshula@hj.id.au>
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
b7553bb8
by Benno Schulenberg at 2023-04-02T11:59:13+02:00
symbols/ru: harmonize some whitespace, and replace some codes with names
-
72c1b0d3
by Benno Schulenberg at 2023-04-02T11:59:20+02:00
symbols/fr: align some columns, trim comments, condense whitespace
Also drop a pointless include, as the 'oss' layout defines all keys.
-
dfb4c6e1
by Benno Schulenberg at 2023-04-02T11:59:20+02:00
symbols/ara: condense whitespace, and improve some column alignment
-
6b94eea1
by Benno Schulenberg at 2023-04-02T11:59:20+02:00
symbols/ara: add Persian digits on fourth level of Arabic keypad
The fourth level (reached with Shift+AltGr) was empty, so this
gives it some marginal usefulness. Also, it allows eliding a
hidden partial variant.
-
2dadc751
by Benno Schulenberg at 2023-04-02T11:59:20+02:00
symbols/az: remove three redundant definitions
The definitions are the same as the ones in the included layout.
(The level3 switch is redundant too, but it will be needed again later.)
-
6fe79e67
by Benno Schulenberg at 2023-04-02T11:59:20+02:00
symbols/az: shrink and harmonize some whitespace, and reorder a line
-
e31cff1a
by Benno Schulenberg at 2023-04-02T17:01:36+02:00
symbols/az: add four missing key definitions to the Cyrillic layout
Also, add `@` on AltGr+2 and `₼` on AltGr+4, to match what Windows has.
(Not that it matters much, because Azerbaijani is written with the
Latin alphabet nowadays, but it's nice to have things working right.)
This fixes issue #376.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
476b32cf
by Benno Schulenberg at 2023-04-03T08:39:04+00:00
rules: add two missing codes (ng, pk) for files that have OLPC layouts
Sixteen years ago commit a8551efb70 added OLPC layouts
for nine countries but added just seven country codes.
Also, sort the code for India alphabetically.
-
cef0994b
by Benno Schulenberg at 2023-04-04T17:09:27+02:00
types: improve the naming of the levels, distinguishing AltGr from Alt
Types like "CTRL+ALT" and "FOUR_LEVEL_X" use both AltGr and Alt
as modifiers -- it is then confusing to refer to both as "Alt".
Also, using the word "Base" in the name for any level above the
base level is not helpful, so drop those.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
1b7d667a
by Benno Schulenberg at 2023-04-04T17:55:18+02:00
symbols/ng: shorten Unicode codes, add comments, improve alignment
-
23e76bd3
by Benno Schulenberg at 2023-04-05T11:33:40+02:00
symbols/be: shrink whitespace, improve alignment, trim redundant comments
-
31c0b37d
by Benno Schulenberg at 2023-04-05T16:27:36+02:00
symbols/ua: shrink whitespace, improve alignment, trim a redundant line
The 'phonetic' layout does not need to define AB10, as the 'include'
already does. The 'homophonic' layout lacked just one definition to
be complete in itself and not need an 'include'.
-
920d23c0
by Benno Schulenberg at 2023-04-06T16:28:26+02:00
CI: allow "Group1" to be spelt with a lowercase "g"
Also improve a comment, trim a trailing space, and update the legend.
-
5d75d2ae
by Benno Schulenberg at 2023-04-09T09:36:22+02:00
symbols/az: fix the numerosign (№) on Shift+3, and add two other symbols
The U2166 (Ⅶ ) was a mistyping of U2116 (№) that has existed since
the original commit d8181925b2 from nineteen years ago.
Also add the @ and the ₼ (manat sign) that Windows has on level 3
of the two neighbour keys.
This fixes issue #375.
Acked-by: Adil Aliyev
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
29e88019
by Benno Schulenberg at 2023-04-10T11:57:39+02:00
types: group the basic four-level keypad type next to its sister
Seventeen years ago, commit e3a93b0f51 wanted to distinguish between
a normal keypad and a Mac keypad by redefining the FOUR_LEVEL_KEYPAD
type when a Mac was used. Five years later, commit 566b887f8e removed
this tweaked type again, causing the types in types/numpad to always
include 'extra(keypad)'. Avoid these repetitive includes and group
the FOUR_LEVEL_KEYPAD type (which, by the way, is not used anywhere)
before its FOUR_LEVEL_MIXED_KEYPAD variant.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
afe56408
by Benno Schulenberg at 2023-04-10T11:58:54+02:00
types/level5: drop the Lock modifier when it does nothing
When a modifier should not have any effect on which level is chosen
by the other modifiers, then the easiest way is to not mention this
modifier amongst the modifiers that the type uses -- see for example
the various non-alphabetic four-level types.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
fa7f8eb5
by Benno Schulenberg at 2023-04-10T12:12:23+02:00
rename two eight-level types to be more readable
The "EIGHT_LEVEL_LEVEL_FIVE_LOCK" name was too condensed to make sense.
With "EIGHT_LEVEL_WITH_LEVEL5_LOCK" the reader has at least a chance
of understanding it.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
28c542c1
by Benno Schulenberg at 2023-04-10T12:26:59+02:00
types: sort the includes mostly according to increasing number of levels
This looks better when doing `xkbcomp :0 - | less`.
The 'mousekeys' is placed last because the type is rather special
and irrelevant (used only in three vendor layouts) and related to
the numeric keypad.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
ccd00929
by Benno Schulenberg at 2023-04-10T12:39:53+02:00
types: move an 8-level type to the file with the other 8-level types
Also rename it, so that the name is more descriptive.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
5e97fe10
by Benno Schulenberg at 2023-04-10T17:06:23+02:00
symbols/ro: improve some comments, and tighten the alignment a bit
-
54457f7b
by Benno Schulenberg at 2023-04-10T17:10:30+02:00
symbols/level*: contract each key definition onto one line, when possible
This makes it easier to see where which symbols are assigned to a key
when grepping for its code.
Also improve a couple of comments.
-
b518555e
by Benno Schulenberg at 2023-04-11T13:23:47+02:00
compat,types: harmonize some whitespace, and reshuffle some lines
Also, add some level specifications for clarity, although unneeded.
-
c1d3ff4b
by Benno Schulenberg at 2023-04-12T16:07:24+02:00
symbols/jp: improve comments, unwrap key definitions, harmonize blanks
-
9d55d7e7
by Benno Schulenberg at 2023-04-12T16:22:18+02:00
symbols/jp: order the two main layouts first, the three options last
-
cc916a73
by Benno Schulenberg at 2023-04-12T16:50:41+02:00
symbols/tj: condense comments, reshuffle keys into their normal order
-
1cb71819
by Benno Schulenberg at 2023-04-18T11:54:00+02:00
symbols/pc: map the Super modifier to the LWIN/RWIN keys, not to symbols
When a modifier is mapped to a symbol, then it will effectively be
mapped to the first-found key that contains the relevant symbol,
and that key might not be the key that the modifier is usually
mapped to, leaving this latter key without a mapping.
So, map the Super modifier to `<LWIN>` and `<RWIN>` instead of to
`Super_L` and `Super_R` -- the Windows keys will then not lack their
Super modifier when some other key is made into a Super key too.
This fixes issue #81.
Reported-by: Josh Triplett
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
a1d41a4e
by Benno Schulenberg at 2023-04-18T11:59:29+02:00
symbols: map three real modifiers to keys instead of to symbols
Mapping a modifier to a symbol had the tiny advantage of not needing
to explicitly specify a modifier mapping when putting the symbol onto
some other key through some option. But it had the disadvantage of
risking to lose the modifier mapping for the original key when the
other key was just an addition and not a replacement.
This generalizes the fix from the previous commit.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
43a35342
by cs127 at 2023-04-18T10:11:54+00:00
Add U+06C0 to the Persian layout
In Persian, an isolated form of the letter Ye is added after nouns
that are connected to adjectives, and if the noun ends with the
letter He, it is often merged with the following Ye, into the letter
He with Ye above (U+06C0).
This character exists on the second level of AC05 in the Persian
layout of Microsoft Windows, but not in the standard layout.
This commit extends the standard layout to include U+06C0 on the
third level of AC05.
-
e66a0ed3
by Benno Schulenberg at 2023-04-20T16:20:58+02:00
rules: put the `grp:` rules last, as they should have the last word
When using a `grp:` option, one doesn't want other options to interfere
with this option, so the rules for `grp:` options should come last in
the list.
This fixes issue #383.
Reported-by: Sergey Stolyarov
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
265a9bfd
by Benno Schulenberg at 2023-04-21T16:46:19+02:00
revert commit 1cb7181936 plus the offending part of a1d41a4ef6
Mapping modifiers to keys instead of to symbols causes problems when
those keys carry symbols that are associated with *other* modifiers,
as this leads to two or more modifiers getting linked together and
thus activated in unison -- which one normally doesn't want.
This fixes issue #382.
(Issue #81 will have to be addressed in some other way.)
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
a8dc5635
by Benno Schulenberg at 2023-04-23T08:55:20+02:00
rules: put also the general `grp:` rules last, so they overrule others
Arguably, when options conflict, the group-switching options should
overrule others, because when one has multiple groups one definitely
wants to be able to switch.
This fixes issue #384.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
5076a469
by Benno Schulenberg at 2023-04-23T10:46:58+02:00
rules: group the options for level3, keypad, and sundry things together
This looks better and should mostly have no effect as the options are
largely independent. Only the moved `lv3:` options will now overrule
some of the `caps:`, `ctrl:` and `compose:` options, instead of being
overruled by them. In my opinion this is more consistent: all level3
options overrule most other options.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
aca77abb
by Benno Schulenberg at 2023-04-23T11:50:17+02:00
rules: harmonize whitespace to tabs and improve alignment
-
dfce90b2
by Benno Schulenberg at 2023-04-24T08:11:05+00:00
symbols/group: leave two first levels undefined, to allow combining
Many people do not need the CapsLock functionality, so leaving the
first level of the `<CAPS>` key undefined in these two options allows
users to combine `grp:shift_caps_toggle` or `grp:alt_caps_toggle` with
most of the one-level `caps:` options, for more versatility.
(Because of the order of the rules, any `caps:` option will be applied
first, and then the `grp:` option will add a second level.)
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
8877d052
by Benno Schulenberg at 2023-04-24T11:46:16+02:00
rules: make the `Shifts` group toggle override any layout's Shift keys
In order to make the option `grp:shifts_toggle` effective also with
the few layouts that define the Shift keys too, the option should be
applied to each group separately, and the option should specify the
key type explicitly.
This fixes issue #380.
Problem existed since the T3 layout was added in 2013,
and worsened when the E1 layout was added in 2020.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
d2d2b7ba
by Benno Schulenberg at 2023-04-25T08:55:37+02:00
improve the names of two Czech and two Slovak variants
Nineteen years ago, commit 8e1e2d8195 baptized these four variants with
the words "extended backslash". Nine months later, commit 999e981f4c
synced these names to the relevant symbol files.
But just two days later, commit 3ad7cee7c5 changed one of the names to
read "with <\|> key", in response to https://bugs.freedesktop.org/2319.
(A week later, commit 1b8556fe6f synced this name to the XML file.)
This gave one of the four very similar variants a deviant name.
The string "with <\|> key" is difficult for translators. For a long
time I have thought that "<" and ">" were the relevant symbols, and
that the "|" was an OR symbol, escaped by the "\". In other words:
I thought that the string referred to the LSGT key. :/
What the four variants actually do is: put the backslash and vertical
bar characters on the BKSL key (replacing the dead diaeresis and the
apostrophe), for those keyboards that lack the LSGT key, to make typing
"\" and "|" more straightforward -- these symbols are present also on
the third level of the Q and W keys. So what those variants do is:
add an *extra* backslash and vertical bar character to the layout,
for easier access, at the cost of having the apostrophe accessible
only via AltGr and the dead diaeresis only via Shift+AltGr.
So... name all four variants more fittingly and in the same manner.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
662c8721
by Benno Schulenberg at 2023-04-25T11:47:42+02:00
symbols/gh: improve alignment, shorten to Unnnn codes, shrink whitespace
Also add comments after the Unnnn codes, and drop redundant includes.
-
8486d6f0
by Benno Schulenberg at 2023-04-25T11:47:42+02:00
symbols/ch: improve alignment, shrink whitespace, unwrap definitions
Also, reshuffle a few keys into their normal order.
-
558087e8
by Benno Schulenberg at 2023-04-25T11:47:42+02:00
symbols/ch: add three symbols (on Mac) that comments say should be there
Also delete three pointless NoSymbol specifications, and tweak comments.
-
cd594101
by Benno Schulenberg at 2023-04-25T11:47:42+02:00
symbols: miscellaneous small edits
-
f8f1a1cd
by Benno Schulenberg at 2023-04-25T11:47:42+02:00
symbols/ie: trim superfluous comments, replace a few 0x100nnnn codes
-
f9290e15
by Benno Schulenberg at 2023-04-25T11:47:42+02:00
symbols/ie: reshuffle keys into normal order, use shorter Unnnn codes
-
600a2124
by Benno Schulenberg at 2023-04-25T11:47:42+02:00
symbols/la: use Unnnn codes, shrink whitespace, trim comments
-
19d68f7b
by Benno Schulenberg at 2023-04-25T11:47:42+02:00
symbols/th: trim obsolete comments, use Unnnn codes, shrink whitespace
-
c729b509
by Benno Schulenberg at 2023-04-25T11:47:42+02:00
symbols/th: use an include instead of repeating almost an entire layout
-
43a420f0
by Benno Schulenberg at 2023-04-25T11:47:42+02:00
symbols/ca: condense whitespace, use Unnnn codes, improve alignment
Also reshuffle three keys into order, and drop an unneeded redefinition.
-
9089e59b
by Benno Schulenberg at 2023-04-25T16:00:06+02:00
symbols: give the remaining country files a good header line
-
db45bd75
by Benno Schulenberg at 2023-04-25T16:10:39+02:00
rules/compat: delete some remappings that are more than fifteen years old
Users have had enough time to get used to the new names.
-
1f6ab8ff
by Benno Schulenberg at 2023-04-27T09:21:02+02:00
types/level5: correct two specifications, to not swap levels 3 and 4
Just like Lock does not swap levels 3 and 4 when just LevelThree and
maybe Shift are in effect for EIGHT_LEVEL_ALPHABETIC_WITH_LEVEL5_LOCK,
Lock should *also* not swap those levels when also the LevelFive-Lock
(NumLock) *and* LevelFive itself are in effect.
This fixes issue #381.
Problem existed since the EIGHT_LEVEL_ALPHABETIC_WITH_LEVEL5_LOCK type
was introduced, in commit 39124ccf14, thirteen years ago.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
191e0690
by Benno Schulenberg at 2023-04-27T12:11:46+02:00
add a layout for the Gothic script
This Gothic layout is put in a new symbols file, called 'ancient',
so that there will be a place for other layouts for antique scripts.
The name "ancient" is chosen because that is how Gothic is marked
in https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes.
This fulfills issue #55.
Proposed-by: Tim Nelson
Original-patch-by: Tim Nelson
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
52f836db
by Benno Schulenberg at 2023-04-27T16:26:25+02:00
move the Ugaritic layout from the Arab file to the Ancient file
-
ab543856
by Benno Schulenberg at 2023-04-27T16:28:40+02:00
move the Avestan layout from the Persian file to the Ancient file
-
59fbdb51
by Peter Hutterer at 2023-04-28T09:13:21+10:00
CI: add new workflow rules
Required to run pipelines after some infrastructure changes, see
https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/540
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
4669e788
by Pierre Le Marre at 2023-04-27T23:42:20+00:00
CI: fix yaml-to-junit-xml script
Additionally, report successful tests count.
-
470ad2cd
by Benno Schulenberg at 2023-04-29T11:50:13+02:00
rules/compat: delete more old remappings
(This should have been part of commit db45bd75 from four days ago.)
-
bfd7a660
by Benno Schulenberg at 2023-04-29T16:17:05+02:00
symbols/al: reshuffle a definition, shrink whitespace
Also, replace two Unnnn codes with the corresponding symbolic names.
-
2ed26294
by Benno Schulenberg at 2023-04-29T16:42:21+02:00
symbols/md: correct a name, drop an unneeded include, reshuffle a line
Also, adjust some whitespace, delete two stray characters from the
"graphical" representation, correct one, and add a missing one.
-
5bead34c
by Benno Schulenberg at 2023-04-29T17:20:35+02:00
symbols/ca: restore a redefinition that was dropped by misunderstanding
Four days ago commit 43a420f003 dropped the redefinition of `AB09` from
the Canadian OLPC layout, thinking that the Unicode HYPHEN (U+2010) is
the same as keysym 'hyphen'. But the latter is U+00AD, the SOFT HYPHEN.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
e9118545
by Benno Schulenberg at 2023-04-29T17:37:10+02:00
make the name of the Gagauz layout conform to "Language (Country)" format
-
6d7067ed
by Benno Schulenberg at 2023-04-30T18:03:15+02:00
build: allow any blanks between file and variant names, not just tabs
-
7061fd7e
by Pierre Le Marre at 2023-05-02T00:35:37+00:00
Add regression tests
- Create Python bindings to xkbcommon.
- Create a regression test framework using pytest.
- Add regression tests for issues 90, 346, 382 and 383.
- Document how to write tests.
- CI: Create a separate job for the libxkbcommon build that share
its artifacts.
- CI: Add the tests to the keymap_tests job.
-
abacdb2c
by Benno Schulenberg at 2023-05-04T16:33:17+02:00
adjust the wording of some comments in the regression-test script
Fix spelling, add helpful little word, s/pressing/releasing/,
drop duplicate word, and improve punctuation.
-
626cc211
by Pierre Le Marre at 2023-05-09T07:15:51+02:00
CI: improve xkbcommon artifact
-
fae233aa
by Pierre Le Marre at 2023-05-09T07:16:38+02:00
Tests: improve keycode check
-
3533f033
by Benno Schulenberg at 2023-05-15T10:51:38+02:00
rules: match the phrasing for the 5th-level chooser with the two others
Six years ago, commit 10cf5acd90 added the word "the" in the phrase
"Key to choose the 3rd level", but not in its sister phrase, the one
for the 5th-level chooser.
To compare, run: `grep -R "Key to choose"`
-
e0407f7d
by Benno Schulenberg at 2023-05-15T09:55:10+00:00
symbols/ancient: make Ugaritic the default ancient layout
For most people a cuneiform script like Ugaritic is more likely to
represent the "canonical" ancient script than something like Gothic.
-
68948043
by Benno Schulenberg at 2023-05-17T17:02:51+02:00
correct the name of the Russian layout for a Czech keyboard
All other such layouts are named in this manner: Language (Country).
-
6258e8b9
by Benno Schulenberg at 2023-05-17T17:17:12+00:00
symbols/et: use dead-vowel symbols instead of mistaken Unicode codepoints
When twelve years ago, in commit c28367a15, the code points 0x100FE67
and further were added for "dead a" and such, the intention was that
they were raw key codes (0xfe67 and further), not Unicode codepoints.
See the original patch that requested adding very similar key codes
to xorgproto three years earlier:
https://bugs.freedesktop.org/attachment.cgi?id=18679
The compose sequences in libX11 have been updated to use the dead-vowel
symbols instead of the erroneous Unicode codepoints (most of which are
valid codepoints for certain characters, that thus became unusable in
the Amharic locale), so now it's time to update the keyboard layout.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
229867d6
by Benno Schulenberg at 2023-05-17T17:20:43+00:00
add a missing comma to the name of a niche layout, to match similar names
-
b636a843
by Alan Coopersmith at 2023-05-21T11:13:39-07:00
README.config: import Xorg updates
Changes from https://gitlab.freedesktop.org/xorg/doc/xorg-docs/-/blob/master/general/input/XKB-Config.xml
to document modern Xorg configuration instead of ancient XFree86.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
69ea9929
by Sergey Udaltsov at 2023-05-21T22:06:49+01:00
Release 2.38.99
-
5e44d5dc
by Vladimir Gorelov at 2023-06-04T22:54:17+07:00
Add RU Winkeys-P (Programmer) layout missing (question, bar) keys
-
91140a9b
by Aliaksandr Trush at 2023-06-08T23:39:04+00:00
Extend Belarusian keyboard layout with additional symbols
-
214da7dc
by Sergey Udaltsov at 2023-06-09T01:19:32+01:00
Pre-release translations sync
Regular pull from TP
-
2f4a02fe
by Sergey Udaltsov at 2023-06-09T01:21:46+01:00
Release 2.39
-
651f1c01
by Benno Schulenberg at 2023-06-10T11:47:07+02:00
symbols/se: remove a variant that does not differ from its parent
The "rus_nodeadkeys" variant included se(nodeadkeys), but then it
also included se(rus) which includes se(basic) which overwrites all
the non-dead symbols with dead symbols again.
In the eighteen years that these Russian variants existed no one has
complained about the dead keys in the "rus_nodeadkeys" variant, so...
just delete it, as it is identical to the "rus" variant.
-
eb4d0284
by jmcwilliams403 at 2023-06-11T23:15:23+00:00
symbols/us: Add `periodcentered`, `dead_stroke` to us-intl variants
`dead_stroke` is required to type four letters (eight characters) of
Latin Extended-A. Additionally, `periodcentered` is a standard
alternative multiplication symbol within the context of algebra in
the United States. Both of which are put on the 3rd and 4th levels of
`x` with the nomenclature "multiply" and "cross-out". However, for
variants whose `x` position is already occupied, namely us-altgr-intl
and capalx-intl, they are instead given the nearest unused key
position.
-
0200592e
by Benno Schulenberg at 2023-06-12T07:34:18+02:00
rules: correct the grammar of a comment
Six years ago, commit 10cf5acd90 somehow mangled this comment.
-
9a44d3e1
by Benno Schulenberg at 2023-06-12T07:34:18+02:00
symbols/lv: trim down some comments, and harmonize some spelling
-
6add0f16
by Benno Schulenberg at 2023-06-12T07:34:18+02:00
symbols/fo: remove five key redefinitions that change nothing
(The intent was probably to clear some levels of the relevant keys,
but since using `NoSymbol` or leaving the level empty does not have
that effect, just drop these no-op definitions.)
-
d204038a
by Benno Schulenberg at 2023-06-12T07:34:18+02:00
symbols/fo: improve alignment of the columns
-
4cf9a52e
by Benno Schulenberg at 2023-06-12T07:34:19+02:00
symbols/et: use Unnnn codes, and shrink whitespace
Also, use "none" instead of "VoidSymbol".
-
3f3838c2
by Benno Schulenberg at 2023-06-12T08:27:32+02:00
symbols: replace the remaining dead symbols in most "nodeadkeys" variants
This leaves one dead symbol in the Finnish "nodeadkeys" variant,
and five dead symbols in the Hungarian one, but... they are all
on the fourth level, so... let them be.
The upper-level dead symbols are replaced with the marginally useful
ezh (`ʒ`), dagger (`†`), radical (`√`), and ellipsis (`…`).
This partially addresses and closes issue #339.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
d18ce75e
by Aliaksandr Trush at 2023-06-18T14:48:07+02:00
Fix a mistaken keycode in the Belarusian Latin layout
-
590eff4b
by Benno Schulenberg at 2023-06-21T12:18:00+00:00
symbols/fr: add the missing half-guillemets in the Mac layout
(The original author of the layout seems not to have known
how to use a Unicode code when there is no keysym for it.)
Also, replace the invalid keysyms in its parent layout.
-
da39f10d
by Benno Schulenberg at 2023-06-21T12:18:00+00:00
symbols/fr: fill in some more missing symbols in the Mac layout
Seventeen years ago, commit abb0ca5beb copied the Mac layouts from
the vendor folder to the main symbols files. But just four months
later, commit a1d5b68925 improved the vendor's French Mac layout,
but forgot to do the same for its copy.
Also, a further improvement from https://bugs.freedesktop.org/9865
(adding half-guillemets and removing the unneeded redefinitions of
basic keys like ESC and TAB) was never applied.
So... copy most of the extensions from the vendor French Mac layout
to its descendant, fill in some more missing symbols with educated
guesses, and remove obsolete comments.
(By the way, the placement in this layout of the letters with grave,
circumflex, and diaeresis is absolutely atrocious: without any logic.
Also: why have Igrave and Ograve when 1) French does not use those,
and 2) the lowercase igrave and ograve are missing? Furthermore,
French does sometimes use ü and Ü, but these characters are absent
in this layout. :/ )
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
6fc9f904
by Benno Schulenberg at 2023-06-21T12:18:00+00:00
symbols/fr: replace a duplicated symbol with a missing one in Mac layout
The French Mac layout contained an uppercase Ÿ on the fourth level of
`TLDE` *and* on the fourth level of `AD06`, whereas the lowercase ÿ was
missing. Even though Ÿ and ÿ are extremely rare in French, this makes
no sense, so... replace that first copy of Ÿ with ÿ, because when this
ÿ is not what the user wanted, then the most logical place to search
for Ÿ is the upper levels of `AD06`, the Y key.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
72a4f69f
by Benno Schulenberg at 2023-06-21T12:22:20+00:00
symbols/ru: add a duplicate symbol on upper level of key in Yakut layout
It seems that many speakers of Yakut will use the Cyrillic_softsign
in lieu of the Cyrillic_shha when the keyboard layout doesn't support
the Yakut language. When the layout *does* support all Yakut letters,
these speakers are somewhat likely to try and type the Cyrillic_shha
via the upper levels of the Cyrillic_softsign key.
Requested by: Prokopii Ivanov
This supersedes merge request !507.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
37998672
by Benno Schulenberg at 2023-06-21T12:37:02+00:00
symbols/se: replace duplicated upper-level symbols with semi-useful ones
This especially replaces the `§` symbol on the fourth level of `AD02`
because it already exists on the first level of `TLDE`, which makes it
somewhat likely to be used in a shortcut, which can lead to the other
symbols on `AD02` getting filtered out in some desktop environments.
(The latter is of course a problem in those desktop environments,
but there's is no harm in preventing the problem from occurring
by eliminating the duplicate symbol.)
It further replaces a duplicated `¢` with `‰`, a useless `⅝` with `√`
(because ⅛, ⅜ and ⅞ are absent), a duplicate `@` with `ω`, a useless
`ſ` with `σ`, the duplicated `§` with `Σ`, a duplicate `®` with `™`,
two duplicated thorns with `π` and `Π`, a duplicated `&` with `†`,
a duplicate `©` with `🄯`, and a duplicate dead abovedot with `…`.
This fixes issue #388.
Reported-by: Markus Hartung
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
e1e5d0f6
by Mohamed Akram at 2023-06-21T12:43:49+00:00
symbols/ara: add the Mac phonetic layout
This layout is an improvement over Buckwalter which has dead keys as well as
missing symbols on the second level, and requires the Shift key for common
letters such as alef, hah and ain. The Mac layout has no dead keys and makes
use of four levels, with a straightforward mapping where the first level
matches vocalization or letter shape, and the second provides the dotted form.
Higher levels provide diacritics and other symbols. Providing a layout already
available on a major platform allows users to move between platforms with ease.
-
77c11159
by Benno Schulenberg at 2023-06-21T16:20:36+02:00
rules: uniformize some inconsistent indentation
(The inconsistency was found by accident, grepping for "<description>".)
-
2505a3ec
by Benno Schulenberg at 2023-06-21T16:20:36+02:00
symbols: replace most U2030 codes with the `permille` symbolic name
The two are equivalent, but the latter is clearer.
-
69d9f7f5
by Benno Schulenberg at 2023-06-22T14:32:45+02:00
symbols/fi: add a missing comment, and delete two superfluous ones
The last three layouts in the Finnish file are in `base.extras.xml`,
not in `base.xml`, so the "EXTRAS:" comment was missing.
The deleted two comments didn't say anything useful.
-
c0134bf5
by Benno Schulenberg at 2023-06-22T14:48:01+02:00
symbols/latin: replace a duplicate symbol in type3 with a semi-useful one
Both the third and the fourth level of the N key in the type3 layout
had `}` on it, but the corresponding `{` was only on the third level
of the neighboring B key, so the `}` on the fourth level of N was
unbalanced and alone. Replace that lonely and duplicate symbol with
an acute accent, which the layout did not have yet and which builds
a nice symmetry with the grave accent and the apostrophe to its left.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
d271db40
by Benno Schulenberg at 2023-06-22T15:20:56+02:00
symbols/{al,pl}: replace another duplicated symbol with semi-useful one
Two years ago, commit 9aceb34058 replaced a duplicated `Ł` with a `§`
that was moved from the `S` key. It did this not only for the Latin
type1 layout but also for the type3 layout. But two of the three
layouts that include latin(type3) already force `§` to be on the
fourth level of `S` (which is obviously more mnemonic), so the `§`
on the fourth level of `W` is a pointless duplicate for those two
layouts. Replace the duplicate `§` with the semi-useful `Σ`.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
d8fc53c7
by Pierre Le Marre at 2023-06-22T13:49:48+00:00
Clarify comment in compat/misc(assign_shift_left_action)
-
6ef41058
by Pierre Le Marre at 2023-06-22T13:49:48+00:00
Force Shift_R to always set the Shift modifier
There was a quirk for Shift_L but not for Shift_R.
Fixes #393
-
e54a8531
by Peter Hutterer at 2023-06-22T22:47:59+00:00
man: drop the non-existing "left" option from the man tables
This option doesn't seem to exist:
tbl:<standard input>:1030: unrecognised global option 'left'
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
6fe8c0c9
by Peter Hutterer at 2023-06-22T22:47:59+00:00
man: shut up line width warnings in the tables
This is a GNU extension but supported (if ignored) by the BSD
implementation according to [1]. Either way, it means we can pipe our
man page into grep without excessive warnings.
[1] https://man.openbsd.org/tbl.7
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
61d5e059
by Peter Hutterer at 2023-06-22T22:47:59+00:00
man: use text entries for the option descriptions
These may exceed the terminal width by quite a bit, so let's add those
as text entries that can be wrapped. To have this work properly, we need
to expand ('x') this column into the available space - whatever roff
decides that space is. This way at least it doesnt try to wrap after
single word or two.
Output of a table entry changes from
foo some description
to this:
foo T{
some description
T}
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
fc5a7ea8
by Peter Hutterer at 2023-06-22T22:47:59+00:00
man: expand the option name min width to 25
This way the tables align a little bit nicer in the man page instead of
every group having its own alignment.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
023bf7da
by Peter Hutterer at 2023-06-23T08:56:52+10:00
man: remove empty trailing cells from rows
This __ line is actually the specifier for how many cells are in the
table - our tables all have two elements only so let's shorten this and
thus have the tables waste less space on-screen.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
49d963c5
by Peter Hutterer at 2023-06-23T08:56:52+10:00
man: fix the last lines of the various tables
For the Layouts, we use the XSL position()!=last() check to add the
divider lines for all but the last element - this gets rid of the empty
box after the custom layout. Also remove a superfluous empty lines at
the top of each indidviual country code box.
For all the other tables, remove the added line break before .TE which
removes the last empty line in each table.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
8d6725a7
by Benno Schulenberg at 2023-06-25T18:47:48+02:00
man: add three blank lines, to separate the sections a little better
-
fe2ff633
by Benno Schulenberg at 2023-06-26T09:07:32+02:00
drop the inconsistent word "flavour" from the names of two Czech layouts
All the other `winkeys` variants just mention "Windows", nothing more.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
4aaad50f
by Satish BD at 2023-06-26T08:43:58+00:00
update URLs for KaGaPa layouts
Also, add a comma to the name of Modi KaGaPa layout to keep it
consistent with others.
-
bc67fb3e
by Satish BD at 2023-06-26T08:43:58+00:00
symbols: add KaGaPa layout for Bengali
-
99329ef8
by Satish BD at 2023-06-26T08:43:58+00:00
symbols: add KaGaPa layout for Assamese
-
d74c7598
by Benno Schulenberg at 2023-06-26T11:16:01+02:00
symbols/cz: change an include, reduce a full definition to nine overrides
The recent Czech `winkeys` variant is just a slight variation of the
default Czech `basic` layout, differing only in the upper levels of
nine keys on the righthand side of the keyboard.
So... let the `winkeys` layout include the `basic` layout and then
just redefine the nine relevant keys, instead of doing a complete
definition of all keys.
Also, shrink a verbose comment and delete a repeated one.
Also, this `winkeys` layout only *mostly* conforms to what is printed
on actual keyboards in Czechia: the example image that was linked to
has `comma` and `period` on level 1 and level 3 of AB08 and AB09, and
`less` and `greater` on level 4, but this layout has levels 3 and 4 on
those keys swapped. The latter is arguably somewhat more convenient,
so... let it be. But the original commit (6d9f17da14) should have
mentioned this discrepancy.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
1bde52e2
by Benno Schulenberg at 2023-06-29T11:33:21+02:00
symbols: replace some of the remaining U2030 codes with `permille`
And adjust the column alignment in two nearby lines.
-
3e3eb1e9
by Benno Schulenberg at 2023-07-02T10:34:02+02:00
symbols/tr: use two includes instead of repeating the top row twice
Also, replace some 0x100nnnn codes with Unnnn, and improve comments.
(Better not call things "Hmhm layout", because it gives the impression
that it is an existing official or historical layout. But in these
cases they are just fancy, invented layouts.)
-
af65b770
by Benno Schulenberg at 2023-07-02T11:11:02+02:00
symbols/tr: replace `NoSymbol` with `any` and `VoidSymbol` with `none`
But in one layout replace `NoSymbol` with `none`,
as that seems to have been the intention.
Also shrink some whitespace and inprove the alignment.
-
3e519a90
by Vajda Máté at 2023-07-03T14:45:38+00:00
add a Hungarian layout for a US keyboard
-
99e4e719
by Benno Schulenberg at 2023-07-03T17:01:33+02:00
reshuffle two Czech layouts, closer to the ones they are related to
Now all the ones that are based on `cz(basic)` are grouped together.
(Also, seize the opportunity to align the columns better.)
-
93a72289
by Benno Schulenberg at 2023-07-03T17:01:33+02:00
symbols/cz: improve alignment of the columns, and shrink some comments
-
91543863
by Benno Schulenberg at 2023-07-04T17:14:17+02:00
rules: move four fancy Turkish layouts from base to extras
They are defined at the end of the `symbols/tr` file, after the
//EXTRAS comment. And they are fancy, invented layouts -- nobody
uses these for any real work.
-
56b0e9ce
by Benno Schulenberg at 2023-07-04T17:14:17+02:00
symbols/tr: move an exotic layout to after the //EXTRAS comment
It is listed in `base.extras.xml`, not in `base.xml`.
Also shorten the name of this layout, dropping its superfluous
elements. And correct the type of one of its keys.
Furthermore, drop a duplicate entry for the Old Turkic layout.
-
6334af40
by Benno Schulenberg at 2023-07-04T17:14:17+02:00
symbols/tr: drop several unneeded key-type specifications
The requested key types are inferred fine by `xkbcomp`.
-
209ecb53
by Benno Schulenberg at 2023-07-04T17:14:17+02:00
symbols/tr: shrink some whitespace, replace `VoidSymbol` with `none`
-
872d95cd
by Benno Schulenberg at 2023-07-04T17:14:17+02:00
symbols: replace code `U0259` with `schwa`, and code `018F` with `SCHWA`
The two code points have equivalent keysyms, whose names show much
better which symbols are meant.
-
0a6b8e2f
by Benno Schulenberg at 2023-07-04T17:14:17+02:00
symbols: replace code `U0292` with `ezh`, and code `01B7` with `EZH`
The keysyms ezh (`ʒ`) and EZH (`Ʒ`) are clearer than their codes.
-
b86177c2
by Benno Schulenberg at 2023-07-04T17:14:17+02:00
symbols/latam: improve alignment, and reshuffle a line
-
9e3af2e2
by Benno Schulenberg at 2023-07-04T17:14:17+02:00
symbols/in: improve the alignment of the Indic IPA layout
-
f72156b4
by Peter Hutterer at 2023-07-05T22:58:43+00:00
CI: add a job to check the commit message
Without any special flags, ci-fairy checks for leftover fixup and squash
commits as well as the commit message format (80 chars wide).
-
f7e5a8c0
by Peter Hutterer at 2023-07-05T23:07:02+00:00
meson: run the pytest test suite as part of meson test
If pytest is available, run the test suite during meson test.
This requires a bit of fiddling around because the test suite expects
the XKB directory to be properly laid out but that doesn't happen with
meson until install. Luckily all we need to do here is copy our KcCGST
directories over to the build directory and then we can use that as
XKB_CONFIG_ROOT for pytest.
An optional hook for pytest-xdist is integrated too - on my machine the
test run goes from 25s to 10s with xdist on -n auto. This does require
a conftest.py so we don't hog all the cores available on the CI runners.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
2acc0302
by Peter Hutterer at 2023-07-06T09:11:50+10:00
tests: remove the shortDescriptions test
This test is obsolete - has been broken ever since
commit 2fe6ff02d093 "Improve descriptions (us set)"
changed the codes from three-letter ISO3166 to a mix of two-letter and
three-letter codes. See https://bugs.freedesktop.org/show_bug.cgi?id=35653.
We started integrating the actual ISO 3166 and 639 codes as separate
items in the XML, so just testing the shortDescription is now wrong.
This is properly tested since d92310acd "test: add a test case for ISO
codes" as part of our pytest suite.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
f9338b93
by Peter Hutterer at 2023-07-06T09:11:50+10:00
tests: fix a few shellcheck complaints
Quotes and one backticks to $() change
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
6cf6c953
by Peter Hutterer at 2023-07-06T09:11:50+10:00
tests: make genLists4Comparison work in a tmpdir
Better than polluting our source tree and it means we can leave our
temporary files around for later debugging.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
34509105
by Peter Hutterer at 2023-07-06T09:11:50+10:00
tests: rename genLists4Comparison to verify-group-names.sh
Because that way it's easier to guess what it does.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
c8d76c43
by Peter Hutterer at 2023-07-06T09:11:50+10:00
test: comment the group name comparison test
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
592d9681
by Peter Hutterer at 2023-07-06T09:11:50+10:00
tests: xsltproc can take multiple files
We can supply both base.xml and base.extras.xml to xsltproc, getting rid
of one temporary file and a name redirection. And in the process rename
the files so it's more obvious to read.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
c0710391
by Peter Hutterer at 2023-07-06T09:11:50+10:00
meson: if xsltproc is available, run the compare-group-names test
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
fd8acbc1
by Mohamed Akram at 2023-07-06T06:44:01+00:00
symbols/ara: replace mistaken symbol with placeholder
The newly created `mac-phonetic` layout should have a dead hamza symbol
on the BKSL key. An adequate keysym does not exist yet, so for now put
a placeholder there, instead of the mistaken `Arabic_hamza` symbol.
-
320ac997
by Peter Hutterer at 2023-07-06T14:55:12+00:00
Remove mxkbledpanel - not updated since 2007
It's still using an Imakefile which suggests it's not actually in use
anywhere. Let's drop this, someone interested in this can move it to its
own package.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
f92a3f0e
by Peter Hutterer at 2023-07-06T14:55:12+00:00
Remove the ruby test scripts
Not updated since 2008 which suggests they're no longer used. Let's drop
them and revive them if needed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
f5ed0cf8
by Peter Hutterer at 2023-07-06T14:55:12+00:00
Remove the perl-based RMLVO tests
These have not worked since e8026f673ec where base.xml.in was renamed
to base.xml. Given than apparently no-one has run them in 4 years, let's
remove them.
Best I can tell from a look at the code this is (partially?) covered by
the test_rules_xml.py script - or the bits that are not are probably
easy to add there.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
a4e699e5
by Peter Hutterer at 2023-07-10T08:53:14+10:00
po: drop two unused files
git tracks changes for us and the Makevars file has been obsolete since
(at least) we dropped autotools in fb7139bd591.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
562c5b1e
by Benno Schulenberg at 2023-07-11T10:34:21+02:00
symbols/in: rename a layout, by mentioning the script instead of the font
"Eeyek" is the name of a font [1], not the name of the relevant script.
The script is called "Meitei" [2], like the language and the people.
The official name of the language is "Manipuri", and its code `mni`.
[1] https://sources.debian.org/patches/fonts-eeyek/
[2] https://en.wikipedia.org/wiki/Meitei_script
So, rename and re-identify the layout accordingly, and add an alias
from `eeyek` to `mni`.
Also, drop the third-level chooser, as the layout does not contain
anything above the two base levels.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
83dc2939
by Benno Schulenberg at 2023-07-12T21:57:39+00:00
symbols/lt: add a `{` and a `»` to make the "ibm" layout more consistent
The `]` and `}` on level 3 of AE09 and AE10 (inherited from the included
"latin") were meant to match with `{` and `[` on AE07 and AE08, but the
"ibm" layout overwrites the latter two with `&` and `*`, leaving the `]`
and `}` unmatched. Match this `}` by replacing the unpaired `]` on AE09
with `{`. (A pair of `[` and `]` are present on level 3 of AD11/AD12.)
Furthermore, the "ibm" layout had only a `«`, not any `»`, whereas the
unpaired `<` that was on AB01 is already present on two other keys (LSGT
and AB08) where it *is* paired. So, replace that lonely `<` with `»`.
Also, drop the "LST 1205-92" from the name of the layout, to avoid the
impression that it faithfully follows the standard, and put the "IBM"
part between backquotes, to indicate it's not really the IBM layout.
This addresses and closes issue #398.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
ab7cd599
by Peter Hutterer at 2023-07-12T22:16:47+00:00
Format all our python code with black
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>
-
9db3b1fb
by Peter Hutterer at 2023-07-12T22:16:47+00:00
Remove trailing whitespaces in all files
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
df19ec3a
by Peter Hutterer at 2023-07-12T22:16:47+00:00
Fix ruff complaints about unused imports/variables
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
103d8df4
by Peter Hutterer at 2023-07-12T22:16:47+00:00
Add pre-commit hooks for black and ruff
`pre-commit install` will enable the various hooks, after which they
will take effect when committing. The hooks enabled right now are black
and ruff (Python linter) and a few whitespace fixers.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
5256f3db
by Benno Schulenberg at 2023-07-13T17:54:43+02:00
symbols: drop the redundant zero in three U0nnnn codes, to ease grepping
-
bc595efb
by Benno Schulenberg at 2023-07-13T17:54:43+02:00
symbols/ara: improve the alignment of the niche "Buckwalter" layout
Also, use named keysyms where available, change intercalated comments
to end-of-line comments, and replace `VoidSymbol` with `none`.
-
8922eca7
by Benno Schulenberg at 2023-07-13T17:54:43+02:00
symbols/pk: replace some U003n codes with their corresponding keysym
The symbolic names are way easier to understand.
-
c651b9c3
by Benno Schulenberg at 2023-07-22T13:24:52+02:00
symbols/se: tweak comments, shrink whitespace, use U10nnnn codes
(The `swl` layout is weird, though: it uses code points in the
Supplementary Private Use Area B. Supposedly the linked font
implements the corresponding glyphs?)
-
3b128582
by Benno Schulenberg at 2023-07-22T15:14:12+02:00
symbols/{se,us}: correct the comments of two phonetic Russian layouts
Eighteen years ago, in response to https://bugs.freedesktop.org/2582,
commit abf223b22c added two phonetic layouts for typing Russian on a
Swedish and on an American keyboard. The original patch had all the
Swedish and American letters on the third and fourth level, but for
the most part only the first two levels were committed. The comments,
though, were not adjusted to what was committed. Do that now.
Also, remove a mistaken key type that made the upper-level symbols
react to the Lock modifier, which they shouldn't.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
7ccbf9e1
by Benno Schulenberg at 2023-07-24T11:26:40+02:00
symbols/lt: move minor includes to the end of each layout
At the top of the layout, before the specification of its name, only
the main include should be given, the layout from which the current
one inherits most of its key definitions.
-
d663b753
by Benno Schulenberg at 2023-07-24T11:26:40+02:00
symbols/lt: drop the unsightly and unclear backticks around "IBM"
The backticks are not used anywhere else, and no one will understand
what they are supposed to convey anyway.
-
8b1a54bb
by Benno Schulenberg at 2023-07-24T12:09:31+02:00
symbols/se: add the missing `€` sign to the Swedish Mac layout
Seventeen years ago, commit dd045f6082 added the missing Euro symbol
to a few vendor layouts, but forgot to do this also for one of the
layouts that were copied three weeks earlier in commit abb0ca5beb.
(Denis in https://bugs.freedesktop.org/1576#c15 was mistaken that
only `symbols/it` needed an extra update.)
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
0e57b03b
by Benno Schulenberg at 2023-07-31T09:39:47+02:00
symbols/de: replace the mistaken cedi sign (`₵`) with the cent sign (`¢`)
The Sorbian layouts were added fifteen years ago in commit 775b0342af,
with the Euro sign (`€`) on level 4 of the `T` key, and the Ghanaian
cedi sign (`₵`, U+20B5) on level 3. It is obvious that the cent sign
(`¢`) was meant instead, as Sorbian has nothing to do with Ghana.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
607bb218
by Benno Schulenberg at 2023-07-31T10:52:19+00:00
correct the name of the Elfdalian layout, to obey "Language (Country)"
-
e455f0c5
by Benno Schulenberg at 2023-08-01T08:15:55+02:00
symbols/fr: tweak comments by not using combining accents when not needed
Also correct the description of how to type the dead tilde,
and trim some pointless ASCII art.
-
6e041092
by Benno Schulenberg at 2023-08-01T08:17:04+02:00
symbols/de: drop a redundant include and a dead URL from "Polish" layout
The included `de(nodeadkeys)` variant includes `de(basic)` which already
includes `latin(type4)`, so there is no need to include the latter here.
-
ecd5c06f
by Benno Schulenberg at 2023-08-01T08:18:42+02:00
symbols/lt: make a comment more accurate
-
403db735
by Benno Schulenberg at 2023-08-01T10:53:29+02:00
symbols/kg: shrink and harmonize whitespace
-
382470bc
by Benno Schulenberg at 2023-08-01T11:14:03+02:00
symbols/de: improve alignment of the three layouts with Cyrillics
-
fb649905
by Benno Schulenberg at 2023-08-01T13:48:07+02:00
add a missing comma in a layout's name, and spell "NoSymbol" consistently
-
0bf372df
by Benno Schulenberg at 2023-08-01T14:14:53+02:00
symbols/ru: delete a redundant phonetic variant
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>
-
1384609c
by Benno Schulenberg at 2023-08-03T15:52:01+02:00
symbols/fr: make use of six dedicated keysyms for the Breton layout
Recent libX11-1.8.5 added six compose sequences to support the Breton
layout: to allow the user to type three trigraphs (c’h, C’h, and C’H)
and three digraphs (ch, Ch, and CH) with a single keystroke each.
So, use the keysyms that trigger those compose sequences, instead of
hijacking six private-use Unicode code points and requiring the user
to put custom compose sequences for these in their ~/.XCompose file.
(The relevant keysyms were added to Xorgproto twelve years ago.)
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
6f37d779
by Vladimir Gorelov at 2023-08-03T14:57:05+00:00
Add three missing symbols to the Russian programmer's layout
-
a66e5f6b
by Benno Schulenberg at 2023-08-04T18:08:37+02:00
symbols: reshuffle jumbled phonetic layouts into normal key order
-
8ce164d7
by Benno Schulenberg at 2023-08-06T16:59:58+02:00
symbols: harmonize whitespace, order, and codes of some phonetic layouts
This seems to change key <AE12> in the `phonetic_azerty` layout, but
the first two levels of that key got redefined forty lines down.
-
ad678802
by Benno Schulenberg at 2023-08-07T11:10:22+02:00
symbols: replace most <LatK> key names with the stabler <AXnn> names
Key names of the form <AXnn> always refer to the same keys, whereas
names like <LatA>, <LatM>, and <LatZ> can refer to different keys,
depending on whether the first group is Qwerty, Azerty, or Qwertz.
For <LatA>, <LatQ>, <LatW>, <LatY>, and <LatZ> this is fine as they
get aliased always to other _letter_ keys. But for <LatM> this is
troublesome as for Azerty layouts it gets aliased to <AC10>, which
in most layouts is a punctuation key, which means that either the
punctuation sign or the phonetic equivalent of the letter M is lost
when a "phonetic" layout is used together with the Azerty aliases.
Resolve this by using almost always the <AXnn> key names -- keeping
only the five non-troublesome aliases, where appropriate, in order to
not change anything for people who use a second-group phonetic layout
together with a first-group Qwertz layout.
This fixes issue #401.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
6bdab399
by Benno Schulenberg at 2023-08-08T10:08:51+02:00
symbols/il: improve alignment, shrink whitespace, improve some comments
-
2f20727e
by Benno Schulenberg at 2023-08-08T10:09:03+02:00
symbols/il: reshuffle into normal key order, and improve some comments
-
99bf10e2
by Benno Schulenberg at 2023-08-08T10:43:07+02:00
symbols/il: wipe some second levels of Lyx layout, as comment says so
The comment said that the intention was to leave the second level of
keys with a duplicated symbol blank, but the author did not know how.
Do it for them.
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
bc7cc235
by Benno Schulenberg at 2023-08-08T16:30:03+02:00
rules/base.xml: correct some comments and some short description tags
Also add a few missing comments.
-
bf0dab2b
by Benno Schulenberg at 2023-08-12T17:24:18+02:00
symbols/in: rename a layout, after the language instead of the script
"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>
-
571531bb
by Benno Schulenberg at 2023-08-13T08:11:50+02:00
symbols/cd: change 0x0100nnnn codes to Unnnn, and add trailing comments
-
a527b02f
by Benno Schulenberg at 2023-08-13T08:11:50+02:00
symbols/it: improve alignment, and trim or improve some comments
Also, replace a few Unicode codes with named keysyms.
-
5e7c7443
by Benno Schulenberg at 2023-08-13T08:11:50+02:00
symbols/it: drop three key definitions that don't change anything
-
c2defca5
by Benno Schulenberg at 2023-08-13T11:31:13+02:00
improve the names of the two layouts for Ladin, making them clearer
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>
-
8f01968d
by Benno Schulenberg at 2023-08-16T17:00:56+02:00
rules/base.xml: sort the model names alphabetically on the description
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).
-
a1c73960
by Benno Schulenberg at 2023-08-19T07:57:28+02:00
symbols/il: add the variant from the Israeli SI-1452-2 standard
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>
-
ca04148d
by Benno Schulenberg at 2023-08-19T12:49:41+02:00
rules/base.xml: improve the sorting of the layout names per country code
Also, correct a few misindentations of `<variant>` tags and similar.
-
bc59d43f
by Benno Schulenberg at 2023-08-19T12:49:58+02:00
rules/base.xml: sort the layout names alphabetically on first description
This reduces the chaos in the second table of `man xkeyboard-config`,
especially near the end where things were added seemingly randomly.
-
b468f2c1
by Benno Schulenberg at 2023-08-20T17:33:55+00:00
rules: delete four models that do not refer to anything
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>
-
52ae59bb
by Benno Schulenberg at 2023-08-20T17:33:55+00:00
rules: delete three rules that refer to a non-existent section
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>
-
19f48ef5
by Benno Schulenberg at 2023-08-21T07:33:14+02:00
rules/base.xml: correct the ISO 639 code for Dari, from `drs` to `prs`
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>
-
99b2612d
by Benno Schulenberg at 2023-08-21T11:27:12+00:00
harmonize the name of the Iraqi Arabic layout with similar ones
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>
-
214d4e5a
by Benno Schulenberg at 2023-08-22T17:05:35+02:00
delete two Arabic variants that are identical to two others
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>
-
28dae8ff
by Benno Schulenberg at 2023-08-25T08:48:26+02:00
set Arabic as the default layout for Egypt
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>
-
9143edaf
by Benno Schulenberg at 2023-08-25T10:49:22+02:00
move the layout for Maori to a file for New Zealand
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>
-
03383213
by Benno Schulenberg at 2023-08-25T10:49:22+02:00
set the US standard layout as the default layout for New Zealand
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>
-
61d596f6
by Benno Schulenberg at 2023-08-25T12:52:16+02:00
symbols/tz: convert U066n codes to named keysyms, and add some comments
Also, replace `VoidSymbol` with the equivalent but shorter `none`.
-
5c8affa8
by Benno Schulenberg at 2023-08-25T13:21:09+02:00
rules/base.xml: sort Iraq's and New Zealand's main layouts better
Also, sort the main layout for the US strictly alphabetically
among the English layouts.
-
32b2ba03
by Benno Schulenberg at 2023-08-25T13:21:32+02:00
rules/base.xml: normalize the indentation of some fifty deviant lines
-
5a5861d2
by Shai Berger at 2023-08-27T05:55:11+00:00
Change identifier for the SI-1452-2 layout variant
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".
-
b615e54f
by Benno Schulenberg at 2023-08-30T07:35:44+02:00
symbols/de: make the "mac" layout match what older Macs actually had
This follows https://iks.cs.ovgu.de/~elkner/keyboard/mac/germankbd.html,
level 3: https://iks.cs.ovgu.de/~elkner/keyboard/mac/german-option.gif,
level 4: https://iks.cs.ovgu.de/~elkner/keyboard/mac/german-alt.gif.
This fixes issue #304.
Reported-by: Laszlo Lebrun
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
5552ec77
by Benno Schulenberg at 2023-08-30T21:14:58+00:00
symbols/my: harmonize the specification of the Zawgyi encoding
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>
-
1178baea
by Kajetan Puchalski at 2023-09-08T02:14:57+01:00
symbols/pl: Add ccedilla to dvp
The pl/dvp layout overwrites ccedilla on AltGr+c from dvp with the
Polish 'ć' symbol. This makes ccedilla the only symbol commonly used
when typing in French unavailable on this keyboard layout.
Since the 'g' key is right next to 'c' and currently unoccupied, this
commit puts the ccedilla symbol under ALtGr+g.
Signed-off-by: Kajetan Puchalski <kajetan.puchalski@tuta.io>
-
e81abca7
by Kovács Viktor at 2023-09-13T09:41:48+00:00
Update hu
-
bd89650a
by Sergey Udaltsov at 2023-09-24T17:54:53+00:00
pushing the version before release
-
733b9087
by Pierre Le Marre at 2023-09-26T18:03:35+02:00
Update keycodes
Add latest available keycodes.
-
cc5310b4
by Pierre Le Marre at 2023-09-28T06:49:32+02:00
Update keysyms from xorgproto master
-
75c4e182
by Sergey Udaltsov at 2023-10-05T19:21:26+00:00
Updated translations
Usual prerelease procedure
-
5ff20c6a
by Sergey Udaltsov at 2023-10-05T19:26:07+00:00
Release 2.40
New release
-
0cedb87f
by psykose at 2023-10-06T03:28:17+00:00
tests: fix mktemp -d call on musl
mktemp -d can call mkdtemp(3), which:
The mkdtemp() function generates a uniquely named temporary directory
from template. The last six characters of template must be XXXXXX and
these are replaced with a string that makes the directory name unique.
on glibc fewer characters are permitted, but musl hard requires the 6
X's as minimum.
avoids a:
stderr:
mktemp: mkdtemp failed on xkeyboard-config.XXXX: Invalid argument
-
f5cf32f4
by Benno Schulenberg at 2023-10-19T08:47:00+02:00
symbols/de: make three dead symbols undead in `mac_nodeadkeys` variant
A "nodeadkeys" variant had better not contain any dead symbols.
(This should have been part of commit b615e54f02, to compensate
the including layout for the changes in the included one.)
This fixes issue #420.
Reported-by: Fabian Bläse
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
160e2db5
by Benno Schulenberg at 2023-10-22T13:40:58+02:00
symbols/it: delete the mistaken `intl` layout
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>
-
6092bfdd
by David Paleino at 2023-10-25T20:19:42+00:00
symbols/it(scn): change acute accents to grave ones
-
61720fc8
by Benno Schulenberg at 2023-10-27T13:38:24+02:00
revert the previous commit in order to redo it properly
-
5a144bab
by David Paleino at 2023-10-27T13:52:06+02:00
symbols/it: change two acute accents to grave accents in Sicilian layout
Since around 2019 the Cademia Siciliana no longer uses acute accents
in the ortography of the Sicilian language, to make it easier to type
this language on the common Italian keyboard, which most speakers of
Sicilian use.
Thus drop the two key definitions with letters with acute accents,
so that they fall back to the grave-accented letters of the default
Italian layout.
Signed-off-by: David Paleino <david@cademiasiciliana.org>
-
535d8cf7
by Benno Schulenberg at 2023-10-27T12:17:11+00:00
symbols/tr: set the key type explicitly for keys that contain dotless `i`
This makes CapsLock behave in a predictable manner for all levels that
contain letter symbols.
This fixes issue #419.
Reported-by: Berker Sal
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
191e7150
by Benno Schulenberg at 2023-10-27T16:18:25+02:00
symbols/gr: add two symbols from the extended layout to the basic variant
The two symbols were added to the `extended` variant two years ago,
in commit 9350c7347a. As they look semi-useful (`§` and `―`), add
them to the basic variant too, in free and unused spots.
-
3748be6a
by Benno Schulenberg at 2023-10-27T16:18:25+02:00
symbols/gr: add three semi-useful symbols (•, ‰, …) to the basic layout
They are placed on the third or fourth level, in free and unused spots,
and are somewhat related to a symbol from the first two levels.
-
7e86f93e
by Benno Schulenberg at 2023-10-27T16:18:25+02:00
symbols/gr: add two symbols from the polytonic layout to the basic variant
The Archaic Koppa and the Greek Yot were added to the polytonic variant
two years ago, in commit 9350c7347a. They are of questionable utility,
but adding them to the basic variant (in free places) won't hurt.
(Also, fix the comment of some other line.)
-
18e3a2ad
by Benno Schulenberg at 2023-10-28T12:47:47+02:00
delete the Greek `extended` variant, as it does not extend `basic` at all
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>
-
b39d2560
by Peter Hutterer at 2023-10-28T11:53:20+00:00
scripts/symbols-tree: gracefully handle a KeyboardInterrupt
No need to print a stack trace here.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
336b9bcf
by Peter Hutterer at 2023-10-28T11:53:20+00:00
scripts/symbols-tree: print a better --help
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
a94a76f7
by Peter Hutterer at 2023-10-28T11:53:20+00:00
scripts/symbols-tree: remove an unused argument and add type annotations
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
ef9e12fa
by Peter Hutterer at 2023-10-28T11:53:20+00:00
scripts/symbols-tree: switch to a dataclass
Makes the code slightly nicer and possibly easier to refactor in the
future.
-
70b66b9e
by David Paleino at 2023-10-29T23:06:30+01:00
symbols/it: add schwa to Sicilian layout
Adds schwa, which is mainly used in phonetic writing, and was dropped
with `it(intl)`, on `<AD02>`.
Also, minor update to the author comment.
Signed-off-by: David Paleino <david@cademiasiciliana.org>
-
cb87616f
by David Paleino at 2023-10-30T21:17:16+01:00
symbols/it: move Sicilian layout out of EXTRAS
Since its inclusion, the Sicilian `scn` layout has been available in
`base.xml`, and it was misplaced after the EXTRAS comment in the symbols file.
This commit fixes the misplacement, by moving the `scn` layout where it's
been available to users in the last 6 years.
Signed-off-by: David Paleino <david@cademiasiciliana.org>
-
414186ff
by Benno Schulenberg at 2023-11-05T11:35:59+01:00
symbols: remove from vendor files variants that are gone from main files
And adjust the name in the include for the one variant that was renamed.
(This should have been done in the commits that removed or renamed the
variants in the main symbol files.)
This addresses the first part of issue #418.
Reported-by: Daniel Kochmański
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
a3e0b406
by Benno Schulenberg at 2023-11-05T11:36:42+01:00
symbols: correct three paths and one include in three vendor files
This addresses the second part of issue #418.
Reported-by: Daniel Kochmański
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-
1e3b3592
by Christos Margiolis at 2023-11-13T00:58:11+00:00
meson: make native language support optional
Since commit fb7139bd ("Drop autotools"), optional NLS was automatically
removed as a side-effect, which means .po files are installed by
default, although many users do not want that. Bring back the option for
NLS and have it enabled by default in order to be backwards compatible.
-
57239f5d
by wael at 2023-11-20T06:20:56+00:00
meson: use builtin install_symlink
use the builtin `install_symlink` target provided by meson instead of providing on external `ln` and `sh`.
-
6cd55ec6
by Peter Hutterer at 2023-12-20T14:30:11+10:00
pre-commit: update to latest versions
-
3998ddde
by Peter Hutterer at 2023-12-20T14:30:11+10:00
CI: drop black, use ruff-format instead
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.
-
7baca6a9
by Kovács halomházi Viktor at 2023-12-26T09:44:35+00:00
basic "Old Hungarian" layout deprecated
On branch master
Your branch is up to date with 'origin/master'.
Changes to be committed:
modified: rules/base.extras.xml
modified: symbols/hu
-
4481eb0f
by Peter Hutterer at 2024-01-07T23:01:45+00:00
tests: fix a few python deprecation warnings
DeprecationWarning: Testing an element's truth value will raise an exception in future versions.
Use specific 'len(elem)' or 'elem is not None' test instead.
-
d6e607fa
by Peter Hutterer at 2024-01-07T23:01:45+00:00
rules: fix iso639 codes after removals
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
-
02b571e9
by Peter Hutterer at 2024-01-08T11:37:02+10:00
Revert "Fix media keys lag on ABNT2 keyboard"
>From xkeyboard-config!555:
That solution was a workaround to fix a bug in Ubuntu 22.04. The bug is described in:
- https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/1895486
- https://askubuntu.com/questions/906723/fn-media-keys-slow-delayed-on-ubuntu-gnome-17-04
As the xkeyboard-config is not the cause of that bug, the Scroll Lock
key must return because many users use this key in some apps.
This reverts commit f3a759524b01b3c8fbe27a8fa3ee76ed30d3adb9.
-
12481a6d
by Pierre Le Marre at 2024-01-10T19:18:23+01:00
ci: Fix missing python-jinja package
xkbcommon now requires Jinja2 to work.
Update `FDO_DISTRIBUTION_TAG` to force container rebuild.
-
b0aeddb0
by Pierre Le Marre at 2024-01-11T11:17:25+01:00
Properly remove hu/oldhun
Commit 7baca6a9347b7a620d936eab38c5d8e53d4ec195 aimed to remove
`hu/oldhun` but has two minor issues:
- The actual code of the layout is only commented, not deleted.
- The comment mentions that the layout is deprecated, when it is actually
removed.
Fixed both issues.
-
734b96f5
by Pierre Le Marre at 2024-01-11T11:20:34+01:00
Minor formatting
-
571aca12
by Daniel Sousa at 2024-01-12T18:18:27+00:00
Fix typo in Portuguese Colemak layout
-
d4b847c9
by Sergey Udaltsov at 2024-01-26T18:11:28+00:00
Prerelease version bump for translations
-
0ea367c4
by Sergey Udaltsov at 2024-02-05T01:17:21+00:00
Updated translations before release
-
2426c599
by Sergey Udaltsov at 2024-02-05T01:24:20+00:00
Release 2.41
-
38fdd4b8
by Timo Aaltonen at 2024-02-07T15:47:42+02:00
Merge branch 'upstream-unstable' into debian-unstable
-
83929aa2
by Timo Aaltonen at 2024-02-07T18:02:01+02:00
version bump
-
f0fcc857
by Timo Aaltonen at 2024-02-07T18:04:06+02:00
docs.diff: Dropped, upstream.
-
96526f86
by Timo Aaltonen at 2024-02-07T18:05:51+02:00
control: Add gawk to build-depends.
-
db9649b6
by Timo Aaltonen at 2024-02-07T18:06:08+02:00
release to sid