Commit graph

2046 commits

Author SHA1 Message Date
Helium314
7b0c511857 add logging when hiding window
may help with GH-1710
2025-06-16 19:43:32 +02:00
Eran Leshem
e062efb3d4
Always default popup VisibleOffset to keyboard.mVerticalGap (#1722) 2025-06-16 19:14:47 +02:00
lurebat
d356f9f54b
Add broadcast intent keys (#1675)
This commit introduces three new keycodes: SEND_INTENT_ONE, SEND_INTENT_TWO, and SEND_INTENT_THREE.

When these keys are pressed, a broadcast intent is sent with the action `helium314.keyboard.latin.ACTION_SEND_INTENT`. The intent includes an extra `EXTRA_NUMBER` (integer) indicating which of the three keys was pressed (1, 2, or 3).

This functionality allows external applications to react to these specific key presses.
2025-06-16 18:55:15 +02:00
Helium314
9549389be7 use different method for hiding keyboard
fixes GH-1719
2025-06-15 21:09:53 +02:00
Helium314
2dc838798d use hasLabels for TLD popups
and add documentation
2025-06-15 19:49:32 +02:00
Helium314
24a2eddc1f avoid StringIndexOutOfBoundsException when initializing stringbuilder from other stringbuilder 2025-06-15 17:43:06 +02:00
Helium314
ef3191a2eb prepare for selecting text with cursor movement keys when shift is enabled manually
not enabled, as it's not working reliably
2025-06-15 17:41:05 +02:00
Helium314
e430d13c4a improvements to hardware keyboard handling 2025-06-14 12:53:46 +02:00
Helium314
9c97a6b9bf move some key press logic from LatinIme into KeyboardActionListener 2025-06-14 12:16:29 +02:00
Helium314
a37de668c0 enable hardware keyboard handling again, with improved handling 2025-06-14 11:29:26 +02:00
Helium314
63dad1549e redirect suggestion strip view code input to KeyboardActionListener 2025-06-13 20:57:49 +02:00
Helium314
f06a553d2c make sure selection start is before end
this should not be necessary according to documentation, but apparently there are apps (even by Google!) that can't deal with documented behavior
see comments in GH-1512
2025-06-13 20:49:53 +02:00
Eran Leshem
e9e3bdac17
Display emoji descriptions in popups (#1542) 2025-06-11 22:17:26 +02:00
Eran Leshem
d5cd18ecaa
Remove regional indicator symbol letters from emoji list (#1680) 2025-06-11 22:17:05 +02:00
Eran Leshem
871ac110ad
Move non-com global TLDs to end of list (#1668) 2025-06-11 22:16:39 +02:00
Helium314
49c9d77978 try more aggressive proguard settings 2025-06-11 22:15:49 +02:00
Eran Leshem
79726f1a9d
Fix onInlineSuggestionsResponse crash (#1700) 2025-06-11 21:59:36 +02:00
Helium314
f2ec441f45 update version and translations 2025-06-11 21:57:06 +02:00
Eran Leshem
62f82d15cf
Show incognito button in all toolbar modes (#1681) 2025-06-11 21:43:04 +02:00
Eran Leshem
f8d3795302
Disable emoji view animation according to system setting (#1696) 2025-06-11 21:29:06 +02:00
Helium314
9cec401e1e don't add single letter words with AddToPersonalDictionary setting
fixes GH-1605
2025-06-11 20:01:59 +02:00
Helium314
83ff9b3345 bring up keyboard when adding a new word in personal dictionary screen
fixes GH-1663
2025-06-11 19:43:42 +02:00
Eran Leshem
8ae241b032
Only show some suggestion settings if toolbar is in compatible mode. (#1693) 2025-06-11 17:24:40 +02:00
Helium314
80ba394b95 move some code from RichInputConnection to StringUtils
so we can easily add unit tests
and maybe improve the awkward behavior
2025-06-09 20:20:27 +02:00
Helium314
52744b7427 full reload after changing icon style
should fix GH-1686
2025-06-09 16:05:41 +02:00
Helium314
af5c41c83c add NO_LANGUAGE inside remember
should fix GH-1678
2025-06-08 21:42:33 +02:00
Helium314
e21168b1d3 merge labelFlags when when replacing comma & period
so e.g. dvorak z key doesn't get .com popup hint by default
2025-06-08 11:40:38 +02:00
Helium314
11f45a6209 show PREF_EMOJI_KEY_FIT setting only if PREF_EMOJI_FONT_SCALE is not 100% 2025-06-08 11:26:23 +02:00
Helium314
c8322dd4a2 make KeyCode.IME_HIDE_UI work
fixes GH-1272
2025-06-08 11:16:00 +02:00
Helium314
896e207c5f remove the fallback to original key type when replacing comma & period
relevant e.g. for dvorak in url fields, where otherwise the q has functional key background
2025-06-08 11:07:51 +02:00
Helium314
5cd184e5c2 upgrade version 2025-06-07 23:04:18 +02:00
fakerat
e98c3210dc
fix forced dark mode issue in android 10 or later (#1671) 2025-06-07 23:03:21 +02:00
Helium314
7cec6b148c remove en-rXC files 2025-06-07 22:35:40 +02:00
Helium314
bd85498810 remove useless translations of strings marked as not translatable (because they reference other strings) 2025-06-07 22:31:48 +02:00
Md. Rifat Hasan Jihan
51a863d840
remove non-translatable string (#1651) 2025-06-07 21:59:12 +02:00
Helium314
defec4a27f update translations 2025-06-07 21:58:25 +02:00
Helium314
ccc287c4ea use CombiningRules extra value for setting the combiner
allows flexibility which is needed for the combiner suggested in GH-214
2025-06-07 21:44:14 +02:00
Helium314
48f6c21b57 fix recognition of our own inputMethod 2025-06-07 21:01:48 +02:00
Eran Leshem
9efe534c03
Fix locale_key_texts loading for he locale (#1669) 2025-06-07 20:38:38 +02:00
Eran Leshem
16ce183942
Fix NextScreenIcon direction for RTL system languages (#1667) 2025-06-07 20:34:47 +02:00
Helium314
867438fdc0 simplify the way of setting suggestions
remove the excursion to latinIME
have Suggest return suggestions instead of calling a callback
now the relevant code can be mostly found in inputLogic (except for handling batch input)
2025-06-07 20:26:06 +02:00
BlackyHawky
0787a79de4
Slightly adjust the dictionary dialog (#1656) 2025-06-03 19:27:01 +02:00
Helium314
97aec851e4 avoid dictionary re-ordering on UI interaction 2025-06-02 20:41:52 +02:00
Helium314
7dbf5ea86d
Add MultiSliderDialog (#1580) 2025-06-02 20:33:10 +02:00
Helium314
d951a1dbdd don't try to back up directories matching the file name patterns
fixes #1653
2025-06-02 17:36:06 +02:00
BlackyHawky
20d4704090
Fix unnecessary indentations in the Subtype screen (#1516) (#1648) 2025-06-02 17:12:11 +02:00
Helium314
d0787201ae get rid of warnings in SuggestionStripView
and add a comment
2025-06-01 19:53:56 +02:00
Helium314
0a961a68db consider that voice input key visibility should depend on the text field 2025-06-01 19:17:44 +02:00
Helium314
7499c38e13 add missing key codes to Key.isModifier, and move the information into KeyCode 2025-06-01 18:40:54 +02:00
Helium314
f81f6a7f7d some additional safety, so we show at least a working keyboard in case dictionary or native library loading fails 2025-06-01 17:03:16 +02:00