abouttreesummaryrefslogcommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2023-07-29Add option to disable pin entry layoutJules Aguillon19-9/+51
The pin entry layout might be inferior for some usecases and people might be more used to the numeric layout.
2023-07-23Correct Kurdish layout name (#407)KuRa KuRd2-2/+2
Correct layout name to Kurdish because Kurdish and Arabic are totally two different language.
2023-07-20Updated Spanish translation (#404)adu3-51/+57
2023-07-19Refactor: Centralize logging in a static classJules Aguillon3-18/+40
This new class will help write more logs. The LogPrinter is no longer created everytime the keyboard is opened. An error log is added if failing to load the custom extra keys.
2023-07-19Add custom extra keys preferenceJules Aguillon24-2/+211
This is a new section in the extra keys option that allows to enter arbitrary strings which are then added to the keyboard. A new string is needed for the title of the section, Android's icons and strings are used as much as possible to avoid adding more strings. Keys are stored in the preferences as a JSON array of strings.
2023-07-19Refactor: Make KeyValue.makeStringKey publicJules Aguillon1-9/+10
2023-07-19Refactor: Use a PreferenceCategory for extra keysJules Aguillon19-10/+19
This removes the need for a layout definition and adds a title before the prefs. It's a prerequise for the custom keys preference.
2023-07-17Improve the Persian layout (#397)Reza Hosseinzadeh1-21/+20
Change some characters' position
2023-07-09Refactor: Don't define extra keys in xmlJules Aguillon5-147/+143
The current approach is hard to maintain, for example the last key "autofill" was not displayed. This implements a PreferenceGroup that contains the check boxes for every extra keys without involving listing the preferences in settings.xml. A custom layout is used to remove the 'title' text view. The list of extra keys is moved into the new class. 'ExtraKeyCheckBoxPreference' becomes a nested class.
2023-07-09Add symbol ₴ to Fn+h and to UkrainianJules Aguillon2-1/+2
2023-07-05Remove use of `Arrays.copyOf`Jules Aguillon1-1/+2
The function has been added in API 9.
2023-07-02Updated/Added Czech translation + 2 common Fn keys (#387)Validbit2-40/+42
2023-07-01Fix descriptionsJules Aguillon3-2/+3
Short description can't exceed 80 characters. Removed trailing space.
2023-07-01Release 1.23.0 (35)Jules Aguillon2-1/+10
2023-07-01New default Czech layout (#380)frimdo4-29/+71
The previous default layout is renamed `latn_qwertz_cz_multifunctional`.
2023-07-01Add extra keys to NorwegianJules Aguillon2-4/+4
The added keys are also placed on the Dvorak layout.
2023-06-28Accept some escaped keys in custom layoutsJules Aguillon1-0/+8
These symbols have special meaning when in `res/xml` and are escaped in standard layouts. The backslash is not stripped when parsed from the custom layout option. Treat these backslashed keys specifically to allow standard layouts to be passed back to the custom layout option.
2023-06-28Fix crash when the layout has less than 3 rowsJules Aguillon1-1/+1
2023-06-25Add hardcoded charmaps for most accentsJules Aguillon1-10/+174
`KeyCharacterMap.getDeadChar` may not be aware of the same dead keys in older version of Android. Hardcoded charmaps are more predictable.
2023-06-25CI: Check that 'gen_layouts.py' output is uptodateJules Aguillon1-0/+19
2023-06-25Update guidelines about adding layoutsJules Aguillon2-7/+20
to reflect the recent changes. Also, change `gen_layouts.py` to not generate warnings for file that are known not to be layouts.
2023-06-25Use generated arrays in Config.layout_of_stringJules Aguillon3-49/+73
This function is no longer an hardcoded list of layout ids. It's replaced by a linear scan of the previously generated array and a new corresponding array of resource ids.
2023-06-25Generate layouts arrays used in settingsJules Aguillon41-119/+190
`gen_layouts.py` lists the layouts in `res/xml` and generate the `pref_layout_values` and `pref_layout_entries` arrays into `res/values/layouts.xml`. These arrays are hard to maintain as the order has to match, which is fragile. This relies on every layouts having a `name` attribute.
2023-06-25Standard layout names (#386)Jules Aguillon41-195/+206
The names are comprised of: script, layout name, country code. Co-authored-by: grim <verdastelo9604@hotmail.com>
2023-06-25Added Romanian layout and translations with special romanian characters (#358)Vasile Chelban9-0/+136
Added Romanian characters to the keyboard layout and changed the positioning corner for the secondary characters that were conflicting with the newly-introduced romanian characters Added Romanian translations
2023-06-25Update check_layout.outputJules Aguillon1-1/+5
2023-06-25Add Bengali Provat Layout (#357)Sabbir5-3/+46
* Add Bengali Provat Layout I added bengali_provat layout and renamed old bengali to actual layout name.
2023-06-24Specify the script of every layouts and localesJules Aguillon35-131/+98
This new information will avoid showing é on a cyrillic layout and ґ on a latin layout.
2023-06-24Per-script extra keysJules Aguillon3-29/+66
Allows to define a locale's script in 'method.xml' and use that to add the extra keys for a locale to layouts of the same script only. A locale of an undefined script will add its extra keys to every layouts. A layout of an undefined script will have the extra keys of all the enabled locales.
2023-06-22Allow to specify a layout scriptJules Aguillon3-43/+91
Add the `script` attribute, which will be used to implement script-specific extra keys.