Commit graph

612 commits

Author SHA1 Message Date
Helium314
ca3790b519 add keyboard parser for more complicated layouts
parsing mostly taken from FlorisBoard, thus json files are compatible
some small modifications
added json files for missing latin layouts
2023-11-24 12:19:29 +01:00
Helium314
dc0490a0e1 improve suggestion infos and make them optional 2023-11-22 23:22:38 +01:00
Helium314
48e0b05d26 tune language weights for multilingual typing 2023-11-22 22:41:41 +01:00
Helium314
38fde35890 fix broken parsing of labels and extra keys 2023-11-22 22:18:16 +01:00
Helium314
e1a89c811c debug mode extension
make it available on all build variants
show multilingual typing confidences on space bar
2023-11-22 21:51:48 +01:00
Helium314
9ef79821f4 more thoroughly test added dictionaries 2023-11-22 20:32:04 +01:00
Helium314
800fb29f21 update correct preview when setting colors, fixes #284 2023-11-21 14:07:18 +01:00
Helium314
4af0f2d3a1 update readme and todos 2023-11-21 12:30:22 +01:00
Helium314
d3d1f25c7f get suggestions when typing with cursor in front of composing word, fixes #265 2023-11-20 15:27:58 +01:00
Helium314
43a914f270 fix npe 2023-11-20 14:45:35 +01:00
Helium314
e337f742b2 close toolbar when hiding keyboard, fixes #185 2023-11-20 14:27:40 +01:00
Helium314
24d771f89a disable learning only if explicitly requested by the input field
related to #266, but can't be a fix for always incognito
2023-11-20 13:46:55 +01:00
Helium314
5a15e4f8f2 remove clipboard and settings keys while device is locked
fixes #271
only works with new parser, so issue still applies with some layouts
2023-11-20 13:43:06 +01:00
Helium314
b2ae020d7e hide "show app icon" setting on android 11+
leave open #256, need feedback for android 10
2023-11-20 12:18:20 +01:00
Helium314
a31b408351 show warning that disabling persinalized suggestions will clear learned words 2023-11-20 10:49:15 +01:00
Helium314
92815c6af6 fix npe 2023-11-20 10:15:48 +01:00
Helium314
6ec03290a5 avoid unnecessary dictionary facilitator resets
a reset also resets confidence values for multilingual typing, which is most likely unwanted
2023-11-20 09:44:52 +01:00
Helium314
0002ed63eb enable validSpellingWordCache for spell checker 2023-11-20 01:11:06 +01:00
Helium314
0187beeae5 add test & fix for another url detection auto-space issue 2023-11-20 00:48:26 +01:00
Helium314
ea17006570 update keyboard when input field restarts with change in force ascii flag 2023-11-20 00:22:03 +01:00
Helium314
907c307c2b don't offer locales without any own dictionary for multilingual typing 2023-11-20 00:12:56 +01:00
Helium314
7d2dad3862 remove unused extracted main dictionaries 2023-11-20 00:06:03 +01:00
Helium314
50ba6e3129 properly set text size for "internal main dictionary", so it should work for all devices 2023-11-19 23:04:28 +01:00
Helium314
c2f4b617b3 replace some dividers with shape drawables, avoids them turning green depending on some display settings 2023-11-19 22:00:31 +01:00
Helium314
cbfa934721
Switch most latin layouts to use the simple parser (#276)
And do some tweaks so it works better
2023-11-19 21:16:23 +01:00
BlackyHawky
da6dcece7f
Gesture input color can be customized (#269)
and don't show all colors by default, rather have a menu option for this

---------

Co-authored-by: Helium314 <helium314@mailbox.org>
2023-11-17 07:50:58 +01:00
Helium314
9f67113216
Add keyboard parser for simple layout definitions (#270)
and one example layout
and some todos containing the further plan
2023-11-13 11:44:40 +01:00
Helium314
1e79e3e2f6 fix white icon color for zwnj (only available on few layouts) 2023-11-06 16:11:14 +01:00
Helium314
fce6805018 dont try loading user-supplied library if it doesn't exist 2023-11-04 14:01:56 +01:00
Helium314
2dc9b12b13 store pinned clips in shared prferences instead of separate file 2023-11-04 13:38:24 +01:00
Helium314
aad8c68bf9 fix potential crash 2023-11-04 12:05:23 +01:00
Helium314
6968488e45 add settings to backup 2023-11-04 12:05:01 +01:00
Helium314
7ae0d0783d reduce code duplication, remove useless string 2023-11-03 17:03:07 +01:00
BlackyHawky
e1da2ffdc1
Add Rounded style (#260) 2023-11-03 16:41:49 +01:00
Helium314
c2a48b27fe add setting from bottom padding scale 2023-11-03 14:24:43 +01:00
Helium314
fec5bc97b4 improve automatic text color selection 2023-11-03 12:59:23 +01:00
Helium314
f8165e5505 remove traces old name theme family/variant 2023-11-03 12:42:23 +01:00
Helium314
1c0fb0c672
Allow splitting all layouts instead of having to define split layouts in xml (#258) 2023-11-03 12:28:00 +01:00
Helium314
230d5fcb03 switch from deprecated startActivityForResult to registerForActivityResult 2023-11-02 21:02:11 +01:00
Helium314
b8f4f589e8 add backup / restore option
and convert AdvancedSettingsFragment to kotlin
fixes #200
2023-10-31 12:06:44 +01:00
Helium314
99081527ad enable use of more than a single background thread 2023-10-31 07:50:05 +01:00
Helium314
51c906863d comment (currently) unused color filters 2023-10-30 22:19:50 +01:00
Helium314
d4a47508cd set suggestion strip layout direction on changing layout 2023-10-30 22:15:37 +01:00
Helium314
309f121848 properly set relative key(board) params 2023-10-27 13:19:57 +02:00
Helium314
69b4fa494f split keyboard builder and (xml) keyboard parser
another step towards #216
2023-10-25 12:21:38 +02:00
Helium314
b326011e0c prepare for splitting parsing and building of keyboards
one step towards #216
2023-10-24 22:52:36 +02:00
Helium314
bf1cf1b91a fix adding words to personal dictionary, remove logging 2023-10-24 16:07:03 +02:00
Helium314
66927e1990 possibly fix #247 2023-10-24 11:32:57 +02:00
Helium314
c7a8548921 fix isInsideDoubleQuoteOrAfterDigit not determining inside quote status correctly
happened because only quotes followed or preceded by space can be identified correctly

previously unclear quotes, e.g. followed by comma, were ignored
now the number of ignored quotes is counted and taken into account

fixes ##230
2023-10-24 01:06:34 +02:00
Helium314
f1de1a6410 allow setting alpha for all colors except keyboard background 2023-10-24 00:36:24 +02:00