Commit graph

856 commits

Author SHA1 Message Date
Helium314
beb52d322f safeguard against potential issues with custom currency key 2024-06-30 09:03:13 +02:00
b02860de585071a2
2150b399aa
Extend existing superscript symbols on popup keys (#902) 2024-06-30 08:49:55 +02:00
Devy Ballard
05e9af9bc6
Reduce longpress timeout for shift (caps lock) and symbols (for numpad) (#924) 2024-06-30 08:39:08 +02:00
Devy Ballard
57b99e27b0
Upscale the d-pad arrows globally (#934) 2024-06-30 08:35:12 +02:00
Helium314
f7d82b9589 allow customizing currency keys, fixes #353 2024-06-29 20:34:32 +02:00
Helium314
d7cb655c21 reload keyboard when next-word suggestion setting is changed
fixes #76
2024-06-29 17:25:24 +02:00
Devy Ballard
efd7d53ca1
Option to customize start lag for gestures during fast typing (#894)
fixes #882
2024-06-26 21:00:06 +02:00
Helium314
4aac81391e set random (but fixed) default colors for "all colors", see #903 2024-06-25 18:42:26 +02:00
Helium314
3b30864b00 correctly set placeholder default width 2024-06-24 20:58:12 +02:00
Helium314
d0983e6c3b stick to language key setting
don't show langauge switch key in comma popups when there is nothing to switch
fixes #897
2024-06-24 20:48:34 +02:00
Helium314
4255dc2ce8 remove fillGapsWithSpacers
was only necessary for old AOSP keyboard parser
2024-06-24 19:44:46 +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
4a9dc6bff6 reload theme on orientation change
should actually happen anyway, but possibly not for newer android versions?
could help with #401
2024-06-23 16:12:40 +02:00
Helium314
08f194a369 block key swiping while using sliding key input
fixes #892, which also contains the fix by @devycarol
2024-06-21 15:13:13 +02:00
Helium314
3e74a29f2e improve popup key handling and update tests
remove outdated part from layouts.md
fixes #883
2024-06-19 22:42:36 +02:00
Helium314
5b7f4dae4c clarify error messages when layout can't be saved, see #887 2024-06-18 17:51:03 +02:00
Helium314
0b9fb7334d reload the cursor position from text field when in doubt 2024-06-18 00:38:07 +02:00
Helium314
9efb22bd0c fix #881 and improve related tests 2024-06-17 16:05:22 +02:00
Helium314
4ab7e8b78e use fallback layout when custom layout file can't be opened 2024-06-17 15:12:05 +02:00
Helium314
3961060710 add logging that should help with #829 2024-06-15 22:28:18 +02:00
Helium314
0da6f6e4da Revert "adjust alphabet for AlphabetIndexer"
This reverts commit bc1e4d52a8.
see discussion in #803: the commit makes things worse
2024-06-15 22:06:12 +02:00
Helium314
c064ba199c move that special handling for emoji and language switch keys into layouts
for that, a new keyboard_state_selector is added
this allows modifying functional key layouts without having to manually adjust those keys
2024-06-15 21:54:47 +02:00
Helium314
17f30ad6d6 fix typo in split distace (6000 -> 600)
and increase max split distance for high dp devices
fixes #869
2024-06-14 22:01:15 +02:00
Helium314
f7b12757ed set correct icon when voice input key is on keyboard, but no voice input method is available 2024-06-14 18:59:37 +02:00
Helium314
5d0341195e fix newly added layout file not loaded 2024-06-14 18:26:42 +02:00
Helium314
753e5fa6a2 properly open json files
not sure why it works now, while it apparently did not before
2024-06-14 18:17:26 +02:00
Helium314
3eafce9265 update key labels
remove emoji label, not necessary any more as it's a toolbar key
access toolbar labels via enum map
allow CLIPBOARD_CUT key(code)
2024-06-14 17:44:32 +02:00
Helium314
61cff40d3c only use alt-code-while-typing when not clearly inside key
and add alt code to emoji and clipboard keys
fixes #630
2024-06-14 17:08:49 +02:00
Helium314
d1c2ad0a39 fix system sometimes enabling wrong subtype 2024-06-13 20:36:04 +02:00
Helium314
237adc991b properly update toolbar prefs 2024-06-13 20:08:40 +02:00
Helium314
5ccb79a078 disable preview popup for language switch and emoji keys 2024-06-12 23:59:33 +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
d91350524a move cursor in whole codepoints on space / delete swipe
and when space-swiping across emoji, send fake arrow keypress instead (discouraged, but avoids e.g. splitting pirate flag emoji and thus justified)
fixes #859
2024-06-12 22:46:42 +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
ce30c3b294 fix issue with text being inserted when deleting quicky in joplin (and probably other apps) 2024-06-10 22:53:41 +02:00
Helium314
d596c028a1 more logging 2024-06-09 12:12:38 +02:00
Helium314
9c926911fc set preview popup icons as left drawable instead of bottom
fixes #811

remaining issue:
when pressing a key with icon and preview popup before a letter popup, preview and popup height is too low
but this should only trigger rarely, and is not worse than the fixed issue
2024-06-09 11:25:34 +02:00
Helium314
743874f74c remove icon name "undefined" and use null instead 2024-06-08 11:47:42 +02:00
Helium314
a297b6037c fix missing preview popups for keys with icon and negative code 2024-06-08 11:31:40 +02:00
codokie
d11237ba23
add emoji toolbar key (#845) 2024-06-07 08:21:13 +02:00
Helium314
a841777b92 improve currency popup handling 2024-06-06 22:18:53 +02:00
Helium314
bdc418cb70 improve popup key compatibility woith codes and labels 2024-06-06 21:53:23 +02:00
Helium314
1ea8d936a4 upgrade dependencies 2024-06-03 19:07:39 +02:00
Helium314
7b7fcb18c4 disable auto-show/hide toolbar by default
to be consistent with previous behavior
2024-06-02 14:04:53 +02:00
Helium314
53c66b8b84 fix toolbar being visible when device is locked and auto-show toolbar is on 2024-06-02 14:03:09 +02:00
Helium314
bc1e4d52a8 adjust alphabet for AlphabetIndexer, might help with #803 2024-06-01 23:15:41 +02:00
Helium314
a1d32b84fd separate language switch key behavior from key enablement 2024-06-01 22:27:41 +02:00
codokie
b9451e4f09
auto show / hide toolbar (#674)
Co-authored-by: codokie <@>
Co-authored-by: Helium314 <helium314@disroot.org>
Co-authored-by: Helium314 <helium314@mailbox.org>
2024-06-01 14:32:12 +02:00
codokie
e357f84572
Add toast notification when copying from clipboard (#752)
and use the toast for showing dictionary on double-long-press word: switch from one ugly workaround (popup menu) to another (hiding more suggestions panel)

Co-authored-by: codokie <@>
Co-authored-by: Helium314 <helium314@mailbox.org>
2024-05-31 17:01:50 +02:00