Commit Graph

14969 Commits

Author SHA1 Message Date
Aleksandras Kostarevas
601470747e Port Devanagari layouts 2024-09-19 09:49:08 +03:00
Aleksandras Kostarevas
0ce2c7352b Port 20 layouts to new system and fix some inconsistencies 2024-09-18 18:47:04 +03:00
Aleksandras Kostarevas
80607fc8dc Disable isSingleMoreKeyWithPreview 2024-09-18 09:18:16 +03:00
Aleksandras Kostarevas
69a74799e3 Skip keyspec shortcut if unresolvable 2024-09-18 09:17:37 +03:00
Aleksandras Kostarevas
7a01d1e6e6 Update key preview positioning and scaling, use touch origin offset for moreKey detection 2024-09-17 09:58:56 +03:00
Aleksandras Kostarevas
9e75e45056 Fix keyboard height setting and add a test 2024-09-02 20:20:01 +03:00
Aleksandras Kostarevas
778c973c60 Add back ManuallyShifted state 2024-09-02 19:39:36 +03:00
Aleksandras Kostarevas
9ac6f233d7 Validate icons and fix KeySpecParserTests 2024-08-31 19:20:06 +03:00
Aleksandras Kostarevas
f64f002e32 Rename .java to .kt 2024-08-31 19:20:06 +03:00
Aleksandras Kostarevas
6a76537d3b Make KeyboardTheme a stub, remove KeyboardThemeTests 2024-08-31 18:33:59 +03:00
Aleksandras Kostarevas
a19ce6122e Fix KeyboardLayoutTest 2024-08-31 18:13:27 +03:00
Aleksandras Kostarevas
65173aa6b2 Update tests to successfully compile again 2024-08-31 17:40:46 +03:00
Aleksandras Kostarevas
340e298fe7 Remove some of the unused classes 2024-08-31 15:56:01 +03:00
Aleksandras Kostarevas
c5d3fe9917 Update hint label color selection 2024-08-28 20:21:39 +03:00
Aleksandras Kostarevas
0c78fe5f12 Fix hints and outputText 2024-08-28 20:09:36 +03:00
Aleksandras Kostarevas
be32a25307 Specify attributes for bottom rows in layouts that need it 2024-08-28 19:57:32 +03:00
Aleksandras Kostarevas
b8fc09e25c Calculate settings/punctuation morekeys based on coord 2024-08-28 19:57:20 +03:00
Aleksandras Kostarevas
c644be00a2 Convert Key.java to Key.kt, update key background handling to be less convoluted, update moreKeys width and background 2024-08-28 09:55:17 +03:00
Aleksandras Kostarevas
4985afb348 Rename .java to .kt 2024-08-28 09:55:17 +03:00
Aleksandras Kostarevas
3d5a4151c9 Use fixed column order for xyzw morekeys 2024-08-28 09:52:00 +03:00
Aleksandras Kostarevas
e40ed52e5e Update number (letter) row in number.yaml 2024-08-25 09:11:24 +03:00
Aleksandras Kostarevas
8bfaf44288 Remove unused SuggestionStripView 2024-08-25 09:10:52 +03:00
Aleksandras Kostarevas
bc21ae55ee Rename .java to .kt 2024-08-25 09:10:51 +03:00
Aleksandras Kostarevas
0ae761faf9 Remove some unnecessary fields and add KDoc comments to some of the layout data structures 2024-08-24 18:37:09 +03:00
Aleksandras Kostarevas
942fe63d96 Update AltPages to List<Row> instead of Keyboard 2024-08-24 15:02:37 +03:00
Aleksandras Kostarevas
2e883781d5 Refactor layout definition system
Layouts are now defined in yaml files at latinime/java/assets/layouts. The new system makes simple layouts significantly easier to add.

Many layouts still need to be ported over to the new system and some bugs still remain. The old layout system and XML layouts will need to be removed.
2024-08-24 11:06:54 +03:00
Aleksandras Kostarevas
c7a6b818e6 Rename .java to .kt 2024-08-24 11:06:54 +03:00
Aleksandras Kostarevas
a8baad4877 Fix issues with some locale texts 2024-08-24 10:54:45 +03:00
Aleksandras Kostarevas
62b4bcf724 Add BugViewer action 2024-08-24 10:52:50 +03:00
Aleksandras Kostarevas
9dde4679e4 Fix bug in action keys 2024-08-24 10:51:39 +03:00
Aleksandras Kostarevas
99f87591fd Fix incorrect info for edit variations 2024-08-13 17:40:36 +03:00
Aleksandras Kostarevas
9a13c7e77d Add Unicode 15.1 emoji 2024-08-05 14:37:49 +03:00
Aleksandras Kostarevas
338cc30cda Fix Bulgarian layout not appearing as an option 2024-08-01 16:02:56 +03:00
Aleksandras Kostarevas
da25fc282d Avoid suppressing Arabic numerals as morekeys when number row is active (for languages that use Indo-Arabic numerals) 2024-08-01 15:45:57 +03:00
Aleksandras Kostarevas
084dec1a47 Add punctuation on period key for Arabic and Persian 2024-08-01 15:44:48 +03:00
Aleksandras Kostarevas
049e2c288d Add HotDog theme, tune some color choices 2024-08-01 10:15:38 +03:00
Aleksandras Kostarevas
cef7e286cd Update some composition locals to not be static 2024-07-29 20:45:25 +03:00
Aleksandras Kostarevas
a82d894a4b Add KeyboardColorScheme to supplement ColorScheme values 2024-07-29 20:41:27 +03:00
Aleksandras Kostarevas
dd8d009dbb Remove colorSchemeLoaderJob in favor of blocked loading 2024-07-25 00:03:37 +03:00
Aleksandras Kostarevas
e0bd7b2c63 Attempt to fix crash in processUpdateSuggestionStrip 2024-07-24 23:59:34 +03:00
Aleksandras Kostarevas
bdfa736e1f Mitigate crash in getSubtypeDisplayNameInSystemLocale 2024-07-24 23:57:02 +03:00
Aleksandras Kostarevas
139ec62461 Remove text|im restriction for action key 2024-07-24 23:48:48 +03:00
Aleksandras Kostarevas
7c90904eaf Fix clipboard history not reloading after unlock, and lock it on lockscreen 2024-07-24 22:45:03 +03:00
Aleksandras Kostarevas
af1bfa23ef Make LanguageKeys the default long press key 2024-07-24 22:25:25 +03:00
Aleksandras Kostarevas
02fd5e40d8 Fix incorrect hint label when redundant keys are removed 2024-07-24 22:20:10 +03:00
Aleksandras Kostarevas
7e0234cb22 Fix missing morekeys in default layout causing null to be morekey 2024-07-24 22:13:36 +03:00
Aleksandras Kostarevas
484a55f7f0 Fix bug with wide screens in languages menu 2024-07-24 21:44:51 +03:00
Aleksandras Kostarevas
c9dc656fbf Update keyboard texts for many languages to separate misc keys
This was done by looking at characters listed on the Wikipedia language recognition chart[0] for each language, finding the last character in the array that the language uses and splitting the rest off into misc. This was partially automated, but there is potential that there may be errors for some languages. All of the keys should still be there if misc keys are enabled, so the keyboard should still be usable for all affected languages even if there were errors, if misc keys are enabled.

[0] https://en.wikipedia.org/wiki/Wikipedia:Language_recognition_chart
2024-07-24 21:42:44 +03:00
Aleksandras Kostarevas
81746421a6 Remove explicit morekeys_misc and actions from keyboard layouts 2024-07-24 21:34:51 +03:00
Aleksandras Kostarevas
5c025bec86 Automatically add morekeys_misc and actions based on morekeys and qwertysyms 2024-07-24 21:33:30 +03:00