abouttreesummaryrefslogcommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-08-16LayoutsPreference: Modify custom layoutJules Aguillon2-7/+25
Clicking on a custom layout opens a dialog for modifying the layout description instead of the dialog for selecting a layout.
2023-08-16Remove unused class LayoutListPreferenceJules Aguillon2-28/+0
This class is not used since the introduction of [LayoutsPreference].
2023-08-16ListGroupPreference: Fix change itemsJules Aguillon2-11/+18
[Preference.onClick] is apparently not called on [Item]s, though it is on [AddButton]. Workaround this by listening on click events on the view.
2023-08-16Allow multiple custom layoutsJules Aguillon21-107/+194
This merges the "Layouts" option with the "Custom layout" option. A custom layout becomes an item in the "Layouts" list among the other layouts. It's possible to add several custom layouts. Selecting the "Custom layout" item in the list opens a second dialog for entering the layout description. Layouts are serialized as JSON object and are decoded solely in the LayoutsPreference class.
2023-08-16CustomExtraKeysPreference: Reusable edit text layoutJules Aguillon3-7/+7
This layout is generically used by CustomExtraKeysPreference and LayoutsPreference.
2023-08-16ListGroupPreference.Serializer: Allow exceptionsJules Aguillon1-3/+9
(De)serializing might raise exceptions, which are handled by dropping the failing item.
2023-08-16ListGroupPreference: Make items abstractJules Aguillon3-35/+70
Allow items to be of any class instead of strings. Item serialization and deserialization methods are in a separate class because they are also used in a static context.
2023-08-15Update German Strings (#430)polyctena1-29/+29
Co-authored-by: Benjamin <f.weiss@stud.uni-goettingen.de>
2023-08-08Add missing Latvian translations (#425)Edgars1-33/+35
2023-08-07Updated pl (Polish) translation (#424)Chasm Solacer1-15/+15
2023-08-07Updated Czech translation (#421)Validbit1-26/+26
2023-08-07Update pt-Br translationssdrapha1-11/+11
2023-08-07Add Superscript and Subscript letterssdrapha1-3/+39
2023-08-07Add superscript, subscript, ª and º to optional extrakeysRapha17-0/+72
And add description strings.
2023-08-07Add ordinals to ptbr extrakeysRapha1-1/+1
2023-08-07Don't elide label of non-string keysJules Aguillon1-1/+5
Several non-string keys can have a large label that shouldn't be elided, for example ctrl, meta, send. Also, change the cutoff to 3 characters as labels are easily colliding.
2023-08-06check_layout: Warn about duplicate keysJules Aguillon2-8/+18
2023-08-06LayoutsPreference: Show layout display namesJules Aguillon1-4/+7
The internal name of layouts was rendered.
2023-08-06Describe editing keysJules Aguillon17-0/+186
The new strings are used in the "Add keys to the keyboard" option.
2023-08-06Add glyphs for editing keysJules Aguillon11-13/+41
All from Material Design Icons.
2023-08-06Elide custom keys labelsJules Aguillon2-2/+3
Make the font smaller for custom keys with a length above 1. Draw up to 4 characters on keys.
2023-08-06Don't replace user selected dead keysJules Aguillon2-5/+8
Don't replace dead-keys selected in the "Add keys to the keyboard" option by an alternative.
2023-08-06Remove the Accents optionJules Aguillon20-93/+4
This option makes less sense since per-script extra keys. It's also getting in the way of an eventual "dead-key or accented-letters" option.
2023-08-06Replace dead-keys when there's one alternativeJules Aguillon2-25/+58
The dead-key is replaced by its alternative if there's only one specified. Extra keys from every subtypes must be merged together to be able to make this check.
2023-08-06method.xml: Specify extra keys alternativesJules Aguillon1-15/+15
2023-08-06Extra keys alternativesJules Aguillon3-32/+75
For each extra key, a list of alternative can be specified. An extra key won't be added to the keyboard if all its alternatives are already present on it. This is useful to avoid having the dead key for an accent and the accented letters at the same time.
2023-08-06Update translations pt-br (#420)Rapha1-18/+18
2023-08-06Updated pl (Polish) translation (#419)Chasm Solacer1-9/+9
2023-08-05Add esc and tab to the Persian layoutJules Aguillon2-4/+3
2023-08-05Add Persian to method.xmlJules Aguillon1-0/+1
2023-08-05Modify arabic and persian numbers info function keysJules Aguillon4-8/+28
And add function keys placeholders in the layouts.
2023-08-05Tweak check_layout.pyJules Aguillon2-39/+33
- Warn about missing esc, tab, f11_placeholder and f12_placeholder. - Don't check non-layout files and special layouts.
2023-08-05docs: mention Calculator++ (#418)Stephen Karl Larroque1-0/+3
* docs: mention Calculator++ Signed-off-by: Stephen L. <LRQ3000@gmail.com>
2023-08-05sync_translations.py: Report number of missing stringsJules Aguillon1-16/+26
2023-08-05Update French translationsJules Aguillon1-9/+9
2023-08-05Translatable key descriptionsJules Aguillon18-23/+67
Key descriptions are shown in the "extra keys" option and can now be translated.
2023-08-04LauncherActivity: Visible, clickable and untranslatable linkJules Aguillon17-17/+18
The link to Github was not clickable and couldn't easily be made so in its current form. Render the link in its own paragraph and do not hide the URL.
2023-08-04Correct Farsi stringsJules Aguillon1-1/+1
2023-08-02Settings: Increase vibration valuesJules Aguillon1-3/+3
2023-08-02font: Move glyphs into the PUAJules Aguillon3-41/+42
Glyphs in the Private Use Area at uE000 will no longer conflict with fallback fonts in the "extra keys" option.
2023-08-02Settings: Move "extra keys" higher on the pageJules Aguillon1-3/+3
And "Accents" lower.
2023-08-02check_layout.py: Warn about editing and function keysJules Aguillon1-0/+9
2023-07-31Update check_layout.outputJules Aguillon1-8/+10
2023-07-30ListGroupPreference: Allow to modify itemsJules Aguillon1-7/+25
2023-07-30Allow more than 2 layoutsJules Aguillon28-85/+172
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-07-30ListGroupPreference: Allow hide the "remove" buttonJules Aguillon1-9/+21
2023-07-30ListGroupPreference: Overrideable "add" buttonJules Aguillon1-2/+17
2023-07-29Refactor: Split out ListGroupPreferenceJules Aguillon8-149/+226
Split out the implementation of a string-list preference from CustomExtraKeysPreference. Allows to share the implementation with future preferences.
2023-07-29Add dagger, double dagger, section mark, and pilcrow as extra keys on ↵Ben Slusky20-30/+33
QWERTY-like layouts (#410) * Add section mark as an extra key in QWERTY-like layouts that don't have it already * Add dagger (also double dagger) as an extra key in QWERTY-like layouts
2023-07-29Add '=' to pin entry layoutJules Aguillon1-1/+1
Might be useful in spreadsheets.