Commit graph

34 commits

Author SHA1 Message Date
Helium314
f2a46cfa9a disable undo-like functionality for textInput, fixes #1019 2025-02-03 00:20:48 +01:00
Helium314
419c0d847b switch from start / stop one-handed mode key codes to a toggle code
mainly so there is no awkward state-dependent key code on the toolbar key
2025-01-26 09:48:21 +01:00
Helium314
7e3657185f prevent selected text being the first suggestion when overwriting with glide typing
fixes #1284
2025-01-12 21:02:29 +01:00
Helium314
d3bd97a104 reload text on selection updates even if selection is as expected
if composing region was changed
e.g. KDE Connect removes composing region after entering a letter, and we should be able to deal with it
this is not really a good solution, as it will reload the suggestions, which flashes the underline and has noticeable performance impact

fixes #1141
2025-01-05 13:18:14 +01:00
Helium314
6e50d6e208 perform recapitalization on shift only in alphabet mode
fixes #1256
2025-01-03 18:50:04 +01:00
Helium314
a3bc3b56ff fix clipboard suggestion being shown for a split second when starting gesture typing 2024-07-10 16:32:18 +02:00
codokie
bdab98c2c9
Clipboard suggestions (#647) 2024-07-05 23:14:54 +02:00
Devy Ballard
bcf2a52d6a
More cursor keys (#933) 2024-07-03 22:42:33 +02:00
Helium314
e57e2e8de5 dont store cursor position when it can be reloaded before actually using the position
should fix #935
also make expected selection start / end private (access still via get methods)
2024-07-03 22:30:47 +02:00
Helium314
2f6bef478e add new key codes for a bunch of hw keyboard keys (no labels except for escape)
also make sure they are handled together with meta-state (e.g. ctrl+arrow keys)
fixes #237
2024-06-30 11:27:45 +02:00
codokie
fc0d27459f
fix phantom space after double quotes (#842)
and add a bunch of related tests

---------

Co-authored-by: Helium314 <helium314@mailbox.org>
2024-06-24 18:32:16 +02:00
Helium314
0b9fb7334d reload the cursor position from text field when in doubt 2024-06-18 00:38:07 +02:00
Helium314
6a34f2c832 improve emoji detection when deleting
still has issues with hand + skin tone emojis
2024-06-12 23:54:23 +02:00
Helium314
5b1f40f0f6 do a sanity check when setting composing text on text fields that have suggestions disabled
fixes #225
could cause unnecessary text / suggestion reloads or performance regressions, though not found in testing
2024-06-12 20:24:16 +02:00
Helium314
843b8c44f7 replace old fix from 9713c4a25a with improved consistency check
and avoid somewhat unexpected crash
2024-06-11 22:02:32 +02:00
Helium314
af3d0535b2 fix issue when trying to paste text while cursor is in a word 2024-05-26 19:15:57 +02:00
Helium314
6c2a3e8b5f add tab key 2024-05-26 14:43:37 +02:00
Helium314
7d1627ffc6 adjust locale confidences in incognito mode 2024-05-26 14:17:31 +02:00
codokie
2c24f190c1
Allow clear clipboard history toolbar key in normal toolbar (#679)
Co-authored-by: codokie <@>
Co-authored-by: Helium314 <helium314@disroot.org>
2024-05-25 23:12:11 +02:00
Helium314
71727de5a0 add basic support for modifier keys, fixes #479 2024-05-17 17:24:34 +02:00
Helium314
34d8bd16f0
Migrate functional key layouts to json (#778)
Now the functional key layouts should be (mostly) compatible to FlorisBoard
Not yet customizable, this is a large step towards customizable functional key layouts
2024-05-11 15:41:00 +02:00
codokie
83fc10ff02
Add long press functions to more toolbar keys, and more clipboard history toolbar keys (#691)
Co-authored-by: codokie <@>
2024-05-01 22:44:51 +02:00
Helium314
da467a6751 mark some getText methods as nullable and avoid related issues
fixes one of the crashes in #723
2024-04-19 21:46:13 +02:00
Helium314
a9411b3631 properly re-sort the list when copying an existing clipboard entry 2024-04-12 17:35:57 +02:00
codokie
f915e46468
cut toolbar key (#678) 2024-04-12 17:05:53 +02:00
Helium314
f07c6d9c77 send key event instead of text when entering numbers in a non-text field
fixes #585
2024-03-24 07:38:51 +01:00
Helium314
7adeb408cc no need to get editorInfo for inputType 2024-03-24 07:09:35 +01:00
Helium314
4b52f2d51d properly determine length of emojis when deleting
fixes issue described in https://github.com/Helium314/HeliBoard/issues/426#issuecomment-1944132643, but not the initial problem
2024-03-03 14:48:03 +01:00
Helium314
fe5aa2c33c remove unused SYMBOL_SHIFT key 2024-03-02 21:07:27 +01:00
Helium314
a34b3f4cdd switch internal codes for functional keys to the same as florisboard
for better compatibility of layouts
also convert labels
2024-03-02 21:02:48 +01:00
Helium314
7b0ee924ae use less specific key codes 2024-03-02 18:52:55 +01:00
Helium314
5ce9e09f7d update readme and description 2024-02-15 11:13:42 +01:00
Helium314
38fd364178 work on a bunch of todos 2024-02-03 10:59:46 +01:00
Helium314
a91a90bfbd rename package
introduces weird bugs for some reason
2024-01-31 18:32:43 +01:00
Renamed from app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogic.java (Browse further)