Commit Graph

14998 Commits

Author SHA1 Message Date
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
Aleksandras Kostarevas
b3d12fc7a1 Remove duplicate moreKeys 2024-07-23 19:29:59 +03:00
Aleksandras Kostarevas
b182a9cc4e Fix incorrect QWERTZ morekeys 2024-07-23 19:19:03 +03:00
Aleksandras Kostarevas
b2d3107357 Fix Arabic missing diacritics 2024-07-23 17:11:04 +03:00
Aleksandras Kostarevas
b4a3e72961 Add helper button to initialize empty action category 2024-07-23 12:39:39 +03:00
Aleksandras Kostarevas
8a13804faf Add Edit Actions submenu in settings 2024-07-23 12:23:33 +03:00
Aleksandras Kostarevas
52084de79b Update "More Actions" menu to "All Actions" 2024-07-23 12:23:33 +03:00
Aleksandras Kostarevas
4ee33fb365 Fix action key not being set by default 2024-07-23 12:23:33 +03:00
Aleksandras Kostarevas
34e48e4290 Fix bepo 2024-07-22 05:51:27 +03:00
Aleksandras Kostarevas
3a0c7b121f Fix incorrect action in bepo layout 2024-07-22 05:50:40 +03:00
Aleksandras Kostarevas
7a86251b2c Update submenu title 2024-07-22 05:46:01 +03:00
Aleksandras Kostarevas
9c37a40006 Add missing 1dp separator to some action bar components 2024-07-22 01:43:06 +03:00
Aleksandras Kostarevas
02388e7388 Update emoji search to handle aliases with underscores 2024-07-22 01:32:11 +03:00
Aleksandras Kostarevas
6144d3ca47 Show message if more actions is empty 2024-07-22 01:26:58 +03:00
Aleksandras Kostarevas
4011ea365c Update theme action icon 2024-07-22 01:24:24 +03:00
Aleksandras Kostarevas
4db0ea6833 Add more debug info to the debug action 2024-07-22 01:24:15 +03:00
Aleksandras Kostarevas
26de44f979 Optimize method for obtaining DataStore values in Compose 2024-07-21 21:51:46 +03:00
Aleksandras Kostarevas
e53ef1094a Add option for old action bar 2024-07-21 21:20:32 +03:00
Aleksandras Kostarevas
9355b32466 Refresh keyboard on changing action key 2024-07-21 21:10:31 +03:00
Emre Eren
270ff11fea Add Turkish keyboard layout
Closes #242 on GitHub

Signed-off-by: Aleksandras Kostarevas <aleks076@protonmail.com>
2024-07-21 19:52:43 +03:00
rava
0eb8d28c1b Add Central Kurdish layout
Closes #194 on GitHub

Signed-off-by: Aleksandras Kostarevas <aleks076@protonmail.com>
2024-07-21 19:47:20 +03:00
Aleksandras Kostarevas
856bbb4609 Add contributor section to Credits menu 2024-07-21 19:43:41 +03:00
Aleksandras Kostarevas
88735e3289 Add Reorderable credit 2024-07-21 00:43:04 +03:00
Aleksandras Kostarevas
5c11fa4e3f Update action editor 2024-07-21 00:12:39 +03:00
Aleksandras Kostarevas
9985f2a715 Add option to hide action bar 2024-07-20 23:46:41 +03:00
Aleksandras Kostarevas
8bd334e919 Fix bug in some apps hiding keyboard when input is modal 2024-07-20 23:34:13 +03:00
Aleksandras Kostarevas
cee9548995 Hide some special actions from editor 2024-07-20 23:27:52 +03:00
Aleksandras Kostarevas
d2f1b1e358 Add unique clipboard manager icon 2024-07-20 23:16:04 +03:00
Aleksandras Kostarevas
b41b42fabc Close action editor when keyboard is closed 2024-07-20 22:54:54 +03:00
Aleksandras Kostarevas
5aaad74d3c Implement new ActionBar and editor 2024-07-20 22:49:10 +03:00
Aleksandras Kostarevas
e306c29ccd Show a toast when language switching occurs with only one language active 2024-07-20 22:38:06 +03:00
Aleksandras Kostarevas
ed7d990224 Update emoji search to use levenshtein distance 2024-07-19 19:07:11 +03:00
Aleksandras Kostarevas
a1fd7c59a0 Add a special error when a wordlist is being imported 2024-07-19 18:28:55 +03:00
Aleksandras Kostarevas
d1abf44bc0 Update shouldSuppressSuggestions to be less suppressive 2024-07-19 03:16:16 +03:00
Aleksandras Kostarevas
58a21d7782 Optimize Context.dataStore 2024-07-16 22:17:30 +03:00
Aleksandras Kostarevas
b359c0f3d3 Add language dictionary tip 2024-07-15 17:27:29 +03:00
Aleksandras Kostarevas
90aa0c2eae Implement missing functionality for new languages screen 2024-07-15 17:22:07 +03:00
Aleksandras Kostarevas
7fd33bace7 Fix emoji searchbar text color 2024-07-15 12:03:19 +03:00
Aleksandras Kostarevas
d52b5ddfdd Add option to swipe spacebar to change language 2024-07-14 16:19:36 +03:00
Aleksandras Kostarevas
6613e3e57f Add delete whole words during backspace option 2024-07-14 15:36:43 +03:00
Aleksandras Kostarevas
e181717692 Add basic emoji search using string matching 2024-07-13 12:41:42 +03:00
Aleksandras Kostarevas
b6206e3059 Add support for Direct Boot by loading default preferences for first unlock 2024-07-13 07:24:48 +03:00
Aleksandras Kostarevas
7d492897cc Update number row to use language-specific numbers (Persian) 2024-07-13 04:49:39 +03:00
Aleksandras Kostarevas
d19c3da314 Update incorrect email address in string 2024-07-13 04:47:53 +03:00
Aleksandras Kostarevas
df6efc760e Mitigate Talkback crash 2024-07-13 04:47:07 +03:00
Aleksandras Kostarevas
593ac9e35e Fix "Unknown character" for action key with Talkback 2024-07-13 04:39:43 +03:00
Aleksandras Kostarevas
4c04bb8375 Add missing superscripts and subscripts 2024-07-13 04:20:04 +03:00
Aleksandras Kostarevas
1756bde713 Update some popular layouts with new moreKeys system 2024-07-13 03:53:25 +03:00
Aleksandras Kostarevas
dd0ba32804 Update settings categories. Add option for customizing long-press key layout. Draw icon key hints
The texts for more keys have been updated:
* morekeys_a should now include only letters relevant to the active language
* morekeys_misc_a should include misc letters (accents, etc) not specifically needed for typing in the language

The above still needs to be applied to most other languages. Only QWERTY has been updated with the new morekeys system. Other layouts still need to be updated.
2024-07-07 21:25:36 +03:00
Aleksandras Kostarevas
4cba419737 Fix blank row in symbols when number row is active 2024-07-07 20:58:10 +03:00
Aleksandras Kostarevas
4a6f99c977 Display number row in password field 2024-07-07 20:06:28 +03:00
Aleksandras Kostarevas
a32f2ff775 Respect flag for no personalized learning 2024-07-06 22:03:07 +03:00
Aleksandras Kostarevas
3d6963bbda Disable saving keyboard state on hide 2024-07-06 21:35:08 +03:00
Aleksandras Kostarevas
91b1b28e1c Add Google Play payment 2024-07-05 20:17:37 +03:00
Aleksandras Kostarevas
49ec4a4a99 Update Pre-Alpha to Alpha wording 2024-07-01 20:55:04 +03:00
Aleksandras Kostarevas
8374cb14f0 Update setup wording 2024-07-01 14:53:11 +03:00
Aleksandras Kostarevas
1f99878e2b Fix incorrect logic in saving bluetooth setting 2024-07-01 14:51:24 +03:00
Aleksandras Kostarevas
798a8f0b5e Fix an issue where locale extensions are unexpectedly appearing 2024-07-01 14:51:07 +03:00
Aleksandras Kostarevas
9f70a84dc8 Work on new language screen components 2024-06-25 19:14:02 +03:00
Aleksandras Kostarevas
6bf523010d Create Python version of the make-keyboard-text tool
The Python version uses json files, separate from the xml files. Comments haven't been migrated still.

I'm still not very happy with the way the keyboard texts are managed and that it requires running a separate tool to generate a .java file. It's at least better than manually editing an autogenerated file as before, and python3 is more widely available than the archaic Android build system
2024-06-25 12:55:24 +03:00
Aleksandras Kostarevas
89b437d93a Add some common actions into moreKeys 2024-06-22 22:17:43 +03:00
Aleksandras Kostarevas
75d0f66024 Fix crashes in clipboard history 2024-06-22 15:56:45 +03:00
Aleksandras Kostarevas
f5507d186a Fix action moreKeys vertical positioning 2024-06-21 23:56:36 +03:00
Aleksandras Kostarevas
4bada6e34d Update moreKeys for Enter key with some actions 2024-06-21 23:49:31 +03:00
Aleksandras Kostarevas
bf47b3f17c Add option to replace emoji key with different action 2024-06-21 20:12:11 +03:00
Aleksandras Kostarevas
0b48de4ac9 Update key icon IDs to use Strings 2024-06-21 19:16:59 +03:00
Aleksandras Kostarevas
aa025b92e8 Fix removing active clipboard item 2024-06-20 23:25:08 +03:00
Aleksandras Kostarevas
ed550eec4b Add a button to clear clipboard history 2024-06-20 23:20:46 +03:00
Aleksandras Kostarevas
1ae29aa9f1 Clear active clipboard on removal, disallow removing pinned clipboard item without unpinning 2024-06-20 22:26:33 +03:00
Aleksandras Kostarevas
87e44075e7 Rename Spanish layout to QWERTY+ 2024-06-20 22:16:55 +03:00
Aleksandras Kostarevas
74a2fb371d Fix a crash in getNgramContextFromNthPreviousWord 2024-06-19 00:44:23 +03:00
Aleksandras Kostarevas
8063677705 Update activity navigation logic 2024-06-19 00:38:03 +03:00