abouttreesummaryrefslogcommitdiff
path: root/check_layout.py
AgeCommit message (Collapse)AuthorFilesLines
2025-09-03Python script encoding fix (#1093)Autissima1-2/+2
* Changed Python scripts so they work on my machine file open() used default encoding (cp1252 on my machine) but the text is utf-8, had to specify encoding in check_layout.py
2025-05-11check_layout: Check for unknown keysJules Aguillon1-1/+21
This can spot mispelled special keys.
2025-02-04Improve the check_layout CI and outputJules Aguillon1-10/+12
Change the format of check_layout.output to avoid adding any logs for layouts that do not trigger any warning. Fix the check_layout CI, which was broken since check_layout.py was changed to take arguments.
2025-02-04check_layout.py: Adjust Shift, Tab and Esc checksJules Aguillon1-3/+5
2024-11-24layouts format: Add 'c' as a synonym for 'key0'Jules Aguillon1-3/+2
The attribute 'c' specifies the symbol in the center of a key, just like 'key0'. This adds consistency with the cardinal direction attributes and is intended to make layouts more readable.
2024-07-26check_layout.py: Handle compass-point attributesJules Aguillon1-1/+7
2024-07-06Clipboard pane (#681)Jules Aguillon1-1/+2
This adds the clipboard pane, which allows to save an arbitrary number of clipboards and to paste them later. The key can be disabled in settings. Checking the "Recently copied text" checkbox will cause the keyboard to keep a temporary history of copied text. This history can only contain 3 elements which expire after 5 minutes. If this is unchecked, no history is collected. History entries can be pinned into the persisted list of pins.
2024-06-09Automatic placement of f11/f12 placeholdersJules Aguillon1-2/+2
2024-06-09Allow to remove keys Tab and EscJules Aguillon1-1/+1
2024-01-22check_layout: Warn against whitespaces and "loc"Jules Aguillon1-0/+2
2024-01-10check_layout: Stronger bottom row key checkJules Aguillon1-11/+20
2024-01-10Fix layouts containing empty keysJules Aguillon1-0/+1
This results in a key being the empty string and do not trigger an error: key1="\" Layouts are fixed and check_layout now checks for this case.
2023-11-25Make check_layout.py independent from dir structuredeftk1-8/+8
2023-10-28Add left/right slider to the emoji paneJules Aguillon1-1/+2
This entirely changes the implementation of the bottom row in the emoji pane.
2023-09-03check_layout.py: Deterministic output orderJules Aguillon1-1/+1
2023-09-03Remove unused editing keys from the settingsJules Aguillon1-2/+1
These keys don't seem to have a purpose, which is confusing.
2023-08-06check_layout: Warn about duplicate keysJules Aguillon1-3/+8
2023-08-05Tweak check_layout.pyJules Aguillon1-3/+11
- Warn about missing esc, tab, f11_placeholder and f12_placeholder. - Don't check non-layout files and special layouts.
2023-08-02check_layout.py: Warn about editing and function keysJules Aguillon1-0/+9
2023-07-30Allow more than 2 layoutsJules Aguillon1-2/+2
The two layout selection options are replaced by a ListGroupPreference that allow to enter an arbitrary amount of layouts. The "switch_second" and "switch_second_back" keys are replaced by "switch_forward" and "switch_backward", which allow to cycle through the selected layouts in two directions. Layouts are changed to place these two key on the space bar. The backward key is not shown if there's only two layouts.
2023-06-22Allow to specify a layout scriptJules Aguillon1-0/+3
Add the `script` attribute, which will be used to implement script-specific extra keys.
2023-06-03Add automated checks on layoutsJules Aguillon1-0/+72
The script `check_layout.py` checks some properties about layouts. No check is an error. The result of running this script on every layouts is stored in the file `check_layout.output`, which is useful to track changes. Add make rules to run this script as well as `sync_translations`.