Commit graph

958 commits

Author SHA1 Message Date
Darcy Wong
ca75980c78 fix(android/engine): Make it easier to test keyboard updates 2022-11-21 10:00:35 +07:00
Darcy Wong
04ae2fe838
Merge pull request #7720 from keymanapp/fix/android/kmp-multiple-files
fix(android/engine): Remove duplicate file suffix when installing .kmp
2022-11-17 13:33:02 +07:00
Darcy Wong
ab8562dc9d chore(android/engine): Tweak regex again 2022-11-17 09:20:17 +07:00
Darcy Wong
dedc76f975 chore(android/engine): Update regex to end of the string 2022-11-16 09:02:46 +07:00
Darcy Wong
07ecf7839b fix(android/engine): Remove extra file suffix when installing kmp 2022-11-15 13:24:55 +07:00
Darcy Wong
3148e4cc1a chore(android/engine): Add more logging for keyboard restart 2022-11-15 09:54:18 +07:00
Darcy Wong
1647165e42
Merge pull request #7668 from keymanapp/fix/android/pm-name-not-found
fix(android/engine): Use IME package name if query permission denied
2022-11-11 06:52:45 +07:00
Darcy Wong
85877d213a chore(android/engine): Don't show Toast errors on stable tier 2022-11-10 10:49:14 +07:00
Darcy Wong
33243e3239 chore(android/engine): Apply review comments 2022-11-10 10:20:02 +07:00
Darcy Wong
b7fd1109f3 fix(android/engine): Use IME package name if query permission denied 2022-11-10 07:37:30 +07:00
Darcy Wong
3460dcf8e4 fix(android/engine): Check temporary kmp file is valid 2022-11-04 11:02:13 +07:00
Darcy Wong
ad3a088bf6
Update android/KMEA/app/src/main/java/com/tavultesoft/kmea/JSONParser.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-11-03 11:06:01 +07:00
Darcy Wong
7c7f5c315a fix(android/engine): Handle parsing empty JSONArray as JSONObject 2022-11-03 09:41:56 +07:00
Darcy Wong
6173940600 fix(android/engine): Add FLAG_ACTIVITY_NEW_TASK flag for resource update 2022-10-31 09:59:23 +07:00
Darcy Wong
7864a02056
Merge pull request #7555 from keymanapp/fix/android/subkeys-on-dismiss-keyboard
fix(android/engine): Dismiss subkeys when hiding keyboard
2022-10-28 12:07:08 +07:00
Darcy Wong
df0153f8f9
Merge pull request #7498 from keymanapp/chore/common/crowdin-nl
chore(common): Add crowdin strings for Dutch
2022-10-27 20:25:33 +07:00
Darcy Wong
ead72565ca fix(android/engine): Dismiss subkeys when hiding keyboard 2022-10-27 11:30:24 +07:00
Darcy Wong
6b52a73156
Merge pull request #7472 from keymanapp/fix/android/dismiss-subkey-on-globe
fix(android/engine): Dismiss key preview and subkeys on globe action
2022-10-20 16:59:54 +07:00
Darcy Wong
31e60be2fd fix(android/engine): Add Dutch locale 2022-10-20 09:50:33 +07:00
Darcy Wong
3cc9bb4dd2
Merge branch 'master' into fix/android/remove-help-tip 2022-10-20 07:55:46 +07:00
Darcy Wong
73911fc60d
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-10-20 07:50:47 +07:00
Darcy Wong
68fc3c6a7d chore(android/engine): Remove help tip 2022-10-18 11:22:34 +07:00
Darcy Wong
3e01e8edd0 fix(android/engine): Dismiss key preview and subkeys on globe action 2022-10-18 10:12:53 +07:00
Darcy Wong
14b306e943 modify(android/engine): Stop logging if keyboard index not found
In displaying  some language lists, it's expected for a languageID not to be found. (e.g. "Add languages to installed keyboard")
2022-10-06 15:08:04 +07:00
Darcy Wong
3a3aa806a6
Merge pull request #7388 from keymanapp/fix/android/no-basekey
fix(android/engine): Dismiss subkeys on multi-touch
2022-10-04 07:40:01 +07:00
Darcy Wong
8bd0a6ed51 fix(android/engine): Display Toast notifications on exceptions 2022-10-03 14:42:56 +07:00
Darcy Wong
b0b2e72670 chore(android/engine): Update the displayed kmp filename in the Toast 2022-10-03 10:38:24 +07:00
Darcy Wong
f8f3fe1873 chore(android): Add Toast notifications to KMLog 2022-10-03 07:55:38 +07:00
Darcy Wong
4c1651baf4 fix(android/engine): Dismiss subkeys on multi-touch 2022-09-30 14:14:02 +07:00
Darcy Wong
5baf4eac89 fix(android/engine): Check listview for setting keyboard selection 2022-09-19 14:26:19 +07:00
Darcy Wong
747d377671 fix(android/engine): Switch keyboard if uninstalling current one 2022-09-14 09:52:27 +07:00
Darcy Wong
8ca5ced03d
Merge pull request #7239 from keymanapp/fix/android/language-picker-association
fix(android): Standardize language ID in language picker menu
2022-09-10 07:04:27 +07:00
Darcy Wong
77997f4477 fix(android/engine): Cleanup toggleLanguage() 2022-09-09 08:48:55 +07:00
Darcy Wong
d27d77955b
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-09-09 07:47:58 +07:00
Darcy Wong
04906cfe0d fix(android/engine): Do similar toggle for keyboard list 2022-09-08 13:28:16 +07:00
Darcy Wong
1fb1c243ef fix(android/engine): Use BCP47.toggleLanguage 2022-09-08 13:28:16 +07:00
Darcy Wong
f90ed759cf chore(android/engine): Revert packageprocessor change 2022-09-08 13:28:16 +07:00
Darcy Wong
239da832d5 fix(android/engine): Fix language tag in language-picker menu 2022-09-08 13:28:16 +07:00
Marc Durdin
f836574cbc chore: use keyman.com instead of keyman-staging.com
Fixes #7227.

We want to use keyman.com for now even for alpha builds, as
keyman-staging.com is going to be used for transition to Docker-based
hosting, and it will be problematic to try and share that process with
alpha builds.
2022-09-08 14:32:39 +10:00
Darcy Wong
bad8806c27
Merge pull request #7156 from keymanapp/fix/android/longpress-backspace
fix(android/engine): Fix Backspace key to delete without errant subkeys
2022-09-07 06:26:14 +07:00
Darcy Wong
b81f3795d0 chore(android/engine): Apply suggestion for refactor 2022-09-02 11:00:03 +07:00
Darcy Wong
d57d77670c
Update android/KMEA/app/src/main/java/com/tavultesoft/kmea/data/CloudRepository.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-09-02 09:30:01 +07:00
Darcy Wong
ece4856253 chore(android/engine): Remove Toast when resources up to date 2022-08-31 14:26:54 +07:00
Darcy Wong
ede572a464 chore(android): Reduce Toast notification noise 2022-08-31 11:30:16 +07:00
Darcy Wong
9198ffbff0
Update android/KMEA/app/src/main/java/com/tavultesoft/kmea/KMKeyboard.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-08-31 07:39:11 +07:00
Darcy Wong
d7430c3efc fix(android/engine): Cleanup list of subkeys when dismissing window 2022-08-30 14:27:07 +07:00
Marc Durdin
f90eaee6dd fix(android): add toast when browser fails to open 2022-08-23 07:41:56 +10:00
Marc Durdin
bdb7b5e45a fix(android): verify browser before starting activity
Fixes #6899.
2022-07-27 15:16:02 +10:00
Marc Durdin
ae45b69b5f fix(android): rework longpress movement trigger
Fixes #6981.

Longpress menus were being triggered on any detected movement on keys on
Android. This would cause rapid typing to periodically fail as the user
would make a single-pixel movement while typing, which would then block
subsequent key events.

This issue was introduced in #6637, which resolved a somewhat related
problem with sticky longpress menus.

The fix is in three parts:

1. Remove the touch movement detection which caused the primary problem
2. Address some logic issues around visibility of `subkeysWindow`
3. Introduce a new 'scroll' gesture handler which detects a negative-y
   movement above a 5px threshold, to open the longpress menu.

The 5px threshold is the minimum default used by Keyman Engine for Web.
However, it may not be ideal, and we should consider moving to using the
0.25 x row height value that Keyman Engine for Web uses in a future
update. However, I do not consider this to be a reason to block this
fix, as it would require significant extra engineering.
2022-07-25 08:03:02 +10:00
Marc Durdin
1f5785f61d chore(android): tweak sendError for js errors 2022-07-07 09:52:26 +10:00