summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-03-18Correcting "la" to "kab"HEADmasterButterflyOfFire2-1/+2
2024-02-21fr(bepo_afnor): Remove unnecessary includePierre Le Marre1-2/+0
`pc(pc105)` is included implicitly when the rules resolve. This include also have side effects when the layout is not used in first position. Indeed, options usually only set symbols for the first group and rely on having the other groups not setting them for the relevant keys.
2024-02-20Purge the old macs from our rulesPeter Hutterer11-449/+0
See the previous commits, none of these machines need the latest xkeyboard-config.
2024-02-20Purge the macbook 78/79 from our rulesPeter Hutterer4-254/+0
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.
2024-02-20Purge the Intel Classmate from our rulesPeter Hutterer7-169/+0
Released in 2008 we expect few of these devices still exist and those that do probably don't need the latest xkeyboard-config release.
2024-02-20Purge a few old Nokia devices from our rules filesPeter Hutterer14-2264/+0
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.
2024-02-19Add caps:digits_row option for Azerty layoutsPierre Le Marre7-0/+33
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.
2024-02-17Add a triage-policies filePeter Hutterer1-0/+37
This adds the bugbot::too-exotic label with a template for merge requests that are too exotic.
2024-02-15rules: add a few existing bindings to the base.xml filesPeter Hutterer1-0/+42
We have the rules in place for this, let's expose those. Fixes #445
2024-02-15rules: remove {lshift|rshift}_both_capslock{_cancel}Peter Hutterer1-6/+0
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
2024-02-15rules: remove lv5:lsgt_switch_lock_cancel and friendsPeter Hutterer2-42/+0
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
2024-02-16meson.build: Drop special handling for Makefile.amPeter Hutterer1-3/+1
No longer needed after we dropped autotools in fb7139bd591.
2024-02-15Tidy up .gitignorePeter Hutterer1-91/+2
With meson all our build artefacts are in the build directory so short of any detritus left by the editors the git tree should always be clean.
2024-02-15Improve description of caps:ctrl_modifierLuis Javier Merino Morán2-2/+4
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
2024-02-14Add option `eurosign:E`Pierre Le Marre3-1/+16
2024-02-14fr(oss): Update behaviour of space key to match doc (Closes #439)Aymeric Agon-Rambosson1-1/+1
The documentation of the layout was inconsistent with its actual behaviour. The documentation implied that AltGr + <SPCE> would output nbsp and AltGr + Shift + <SPCE> would output nnbsp, whereas in reality AltGr + <SPCE> did output space and AltGr + Shift + <SPCE> did output nbsp. This fixes the inconsistency by making the layout follow the partial layout implied by nbsp(level3n), as promised by the documentation.
2024-02-13symbols: rename vmods to virtualModsPeter Hutterer1-1/+1
That is what libxkbcommon prints out when you dump the keymap with xkbcli compile-keymap, let's keep those in sync. No functional change, "vmods" and "virtualmods" and "virtualmodifiers" are all aliases to each other.
2024-02-05Release 2.41xkeyboard-config-2.41Sergey Udaltsov2-1/+3
2024-02-05Updated translations before releaseSergey Udaltsov10-13476/+13392
2024-01-26Prerelease version bump for translationsSergey Udaltsov1-1/+1
2024-01-12Fix typo in Portuguese Colemak layoutDaniel Sousa1-1/+1
2024-01-11Minor formattingPierre Le Marre1-11/+11
2024-01-11Properly remove hu/oldhunPierre Le Marre1-11/+1
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.
2024-01-10ci: Fix missing python-jinja packagePierre Le Marre1-2/+2
xkbcommon now requires Jinja2 to work. Update `FDO_DISTRIBUTION_TAG` to force container rebuild.
2024-01-08Revert "Fix media keys lag on ABNT2 keyboard"Peter Hutterer1-0/+2
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.
2024-01-07rules: fix iso639 codes after removalsPeter Hutterer2-5/+13
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
2024-01-07tests: fix a few python deprecation warningsPeter Hutterer1-4/+4
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.
2023-12-26basic "Old Hungarian" layout deprecatedKovács halomházi Viktor2-15/+9
On branch master Your branch is up to date with 'origin/master'. Changes to be committed: modified: rules/base.extras.xml modified: symbols/hu
2023-12-20CI: drop black, use ruff-format insteadPeter Hutterer3-18/+25
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.
2023-12-20pre-commit: update to latest versionsPeter Hutterer1-3/+3
2023-11-20meson: use builtin install_symlinkwael1-4/+10
use the builtin `install_symlink` target provided by meson instead of providing on external `ln` and `sh`.
2023-11-13meson: make native language support optionalChristos Margiolis2-5/+11
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.
2023-11-05symbols: correct three paths and one include in three vendor filesBenno Schulenberg3-3/+6
This addresses the second part of issue #418. Reported-by: Daniel Kochmański Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
2023-11-05symbols: remove from vendor files variants that are gone from main filesBenno Schulenberg5-41/+1
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>
2023-10-30symbols/it: move Sicilian layout out of EXTRASDavid Paleino1-26/+26
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>
2023-10-29symbols/it: add schwa to Sicilian layoutDavid Paleino1-1/+2
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>
2023-10-28scripts/symbols-tree: switch to a dataclassPeter Hutterer1-5/+9
Makes the code slightly nicer and possibly easier to refactor in the future.
2023-10-28scripts/symbols-tree: remove an unused argument and add type annotationsPeter Hutterer1-3/+3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-10-28scripts/symbols-tree: print a better --helpPeter Hutterer1-1/+10
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-10-28scripts/symbols-tree: gracefully handle a KeyboardInterruptPeter Hutterer1-6/+9
No need to print a stack trace here. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-10-28delete the Greek `extended` variant, as it does not extend `basic` at allBenno Schulenberg4-67/+2
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>
2023-10-27symbols/gr: add two symbols from the polytonic layout to the basic variantBenno Schulenberg1-1/+3
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.)
2023-10-27symbols/gr: add three semi-useful symbols (•, ‰, …) to the basic layoutBenno Schulenberg1-3/+3
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.
2023-10-27symbols/gr: add two symbols from the extended layout to the basic variantBenno Schulenberg1-0/+3
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.
2023-10-27symbols/tr: set the key type explicitly for keys that contain dotless `i`Benno Schulenberg1-2/+2
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>
2023-10-27symbols/it: change two acute accents to grave accents in Sicilian layoutDavid Paleino1-6/+0
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>
2023-10-27revert the previous commit in order to redo it properlyBenno Schulenberg1-0/+6
2023-10-25symbols/it(scn): change acute accents to grave onesDavid Paleino1-6/+0
2023-10-22symbols/it: delete the mistaken `intl` layoutBenno Schulenberg2-33/+0
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>
2023-10-19symbols/de: make three dead symbols undead in `mac_nodeadkeys` variantBenno Schulenberg1-1/+4
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>