Commit graph

371 commits

Author SHA1 Message Date
Helium314
25ad4a3178 add toolbar to suggestion strip
arrow to expand
long-press keys to pin them (replaces old voice and clipboard key settings)
fixes #139
2023-09-24 21:31:37 +02:00
Helium314
0497bf4702 make popup hint optional for both styles 2023-09-23 13:02:56 +02:00
Helium314
f27baef12e set background on each emoji / clipboard start instead of onFinishInflate
fixes #171 and apparently #169 too
2023-09-21 07:28:21 +02:00
BlackyHawky
2e12c161cc
Holo style: set color of default number pad spacebar icon (#172) 2023-09-20 22:35:21 +02:00
Helium314
3147d22a18 fix crash 2023-09-20 22:13:08 +02:00
Helium314
454727eaeb warn instead of crashing 2023-09-20 21:12:26 +02:00
Helium314
90b4c60dd0 fix appcompat error messages, some formatting 2023-09-20 21:05:59 +02:00
Helium314
82d0d46ca3 properly remove capitalized suggestions, fixes #170 2023-09-20 20:07:17 +02:00
BlackyHawky
ff8a2e74e4
Replace shift icons with white ones and use normal color filter (#173) 2023-09-20 19:24:03 +02:00
Helium314
424420b1af
Add URL detection (#157)
* detect all as one word if it contains one of `.`, `:`, `_`, `@` (and no whitespace)
* resume word suggestions after entering a non-space after one of the characters above
2023-09-20 19:10:01 +02:00
Helium314
9bd6c2403e make InputLogicTest mostly work 2023-09-20 11:45:23 +02:00
Helium314
70f419efe5 add unit tests for input logic (wip very much) 2023-09-19 19:39:47 +02:00
Helium314
c007366966 replace InputConnectionCompatUtils by API check 2023-09-18 21:27:53 +02:00
Helium314
c7751423a1 fix hangul issue, some formatting 2023-09-17 22:00:06 +02:00
Helium314
c4781e3da0 attempt to fix issue in https://github.com/Helium314/openboard/issues/99#issuecomment-1722394199
and some formatting
2023-09-17 15:24:36 +02:00
Helium314
67c328ec1f formatting, remove unused functionality 2023-09-17 12:55:59 +02:00
Helium314
dbc6a83366 set suggestions to use transparent background when not pressed, use this also for clear clipboard key 2023-09-16 22:47:16 +02:00
Helium314
14b3158289 remove some unused / outdated resources 2023-09-16 22:18:31 +02:00
Helium314
9c272fd881 remove unused key popup animation code already marked for removal 2023-09-16 21:50:17 +02:00
Helium314
017c057585 address some warnings 2023-09-16 21:30:12 +02:00
Helium314
4377effa9e clear touch listeners when updating suggestions, fixes #164 2023-09-16 20:29:39 +02:00
Helium314
5861c892bf fix messed-up default icon height scale 2023-09-16 20:18:37 +02:00
Helium314
6e46f5c9f6 more readable kotlin files, get rid of much !! 2023-09-16 20:12:47 +02:00
Helium314
9c091e7f31 Merge branch 'new' into hangul_update 2023-09-16 10:48:06 +02:00
Helium314
5f8ed528ab fix hangul combiner being used for symbols input 2023-09-16 10:46:20 +02:00
Helium314
a7fdf6c700 fix the combiner chain issue 2023-09-16 09:19:47 +02:00
Helium314
7bd960e1a7 mostly fix that bug for latin
still happens for the first word after language switch (also breaks korean)
more precisely: until first reset of combinerChain
2023-09-15 20:14:38 +02:00
Helium314
baa7df8cda some comments, re-arrange hangul related part in inputLogic 2023-09-15 19:26:19 +02:00
Helium314
4cdabe2680 add file to create keyboardTextsTable (looks like it works), some formatting
and slight adjustment to korean handling in latinIme
2023-09-15 18:40:40 +02:00
Helium314
a7a3465e9b some formatting 2023-09-15 16:36:25 +02:00
Helium314
9b39101bae shrink icons when keyboard scale is below 80% 2023-09-15 12:35:59 +02:00
Helium314
bca519efe4 don't align keys off-center if hints are disabled, fixes #155 2023-09-15 11:16:55 +02:00
Helium314
3d0e590852 address some potential nullability issues in dictionary facilitator 2023-09-15 10:55:47 +02:00
Helium314
41a24295ae fix some minor glitches in language settings 2023-09-15 10:07:12 +02:00
Helium314
eee94f2924 make it compile (again, why did it work before?) 2023-09-14 19:21:54 +02:00
Helium314
cf17b4984a Merge branch 'new' into hangul_update 2023-09-14 13:43:15 +02:00
Helium314
92283f415c make it compile 2023-09-14 13:23:07 +02:00
Helium314
d56f241b82 add bulgarian script to attrs
according to description, it should be aligned with scripts in ScriptUtils, but bulgarian was missing for some reason
2023-09-14 11:43:42 +02:00
Helium314
217749857d better fix for issues with wrapper view 2023-09-13 21:42:01 +02:00
Helium314
81d422fdc6
Show delete button when long-pressing suggestion (#148)
remove old style of removing suggestions via popup menu
2023-09-13 18:09:53 +02:00
Helium314
8fbb0ce0c7 fix 9713c4a25a not working when word ends with two equal codepoints 2023-09-13 18:05:18 +02:00
Helium314
c78e729daa provide the correct dictionary name (used for debugging only) 2023-09-13 17:09:23 +02:00
Helium314
f321de326a set background color filters for icons in suggestion strip, hopefully fixes #141 2023-09-13 14:12:24 +02:00
Helium314
726e923f79 brighten a bit more when color is really dark 2023-09-13 12:33:48 +02:00
Helium314
7d7d983471 some more todos updated, revert use of ?android:colorForeground 2023-09-13 09:22:22 +02:00
Helium314
b68bfcfd4c enable language switch when sliding upwards on space 2023-09-12 22:53:14 +02:00
Helium314
131a813a54 remove padding for ColorPickerView to fix issues with selecting a color outside the view 2023-09-12 19:22:03 +02:00
Helium314
042bd14a71 rename language settings fragment 2023-09-12 14:50:36 +02:00
Helium314
d867eb13bf fix returning to main fragment after screen orientation change 2023-09-12 14:46:19 +02:00
Helium314
2ade6b3b09 fix wrong day/night theme showing in ColorsSettingsFragment
and run the keyboard reload in background to avoid visual glitches
2023-09-12 14:43:50 +02:00