Commit graph

1732 commits

Author SHA1 Message Date
Darcy Wong
1bc6e6a06f chore(common): Update crowdin strings for 16.0 2022-10-25 11:33:44 +07:00
Darcy Wong
bdbbf17c6b
Merge pull request #7507 from keymanapp/chore/android/whatsnew-16
chore(android): Update help whatsnew for 16.0
2022-10-25 10:16:51 +07:00
Darcy Wong
8b781cdcff chore(common): Update crowdin strings for Amharic 2022-10-25 09:39:56 +07:00
Darcy Wong
297c57cc4b chore(android): Update top help page 2022-10-21 08:07:09 +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
5004c0ea5d chore(android): Update help for 16.0 2022-10-20 13:19:37 +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
c254580747
Merge pull request #7466 from keymanapp/chore/android/keyman-reference
chore(android/engine): Update Keyman references in android-host.js
2022-10-19 14:01:54 +07:00
Darcy Wong
a2270ee451
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-10-19 13:13:20 +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
1c885c2a94 chore(android/engine): Update additional references 2022-10-18 07:39:53 +07:00
Darcy Wong
1f458c9cb8
Update android/KMEA/app/src/main/assets/android-host.js
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-10-18 07:01:59 +07:00
Darcy Wong
8b2b4a670d chore(android/engine): Update Keyman references in android-host.js 2022-10-17 13:10:06 +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
f21ffde0fc fix(android/engine): Add language name when installing lexical-model 2022-09-22 14:28:54 +07:00
Darcy Wong
5baf4eac89 fix(android/engine): Check listview for setting keyboard selection 2022-09-19 14:26:19 +07:00
Darcy Wong
11afaf03f8 test(android): Add final keyboard to test K_ENTER 2022-09-16 11:39:42 +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
4a3aca8a05 chore(android): disable keyman-staging tests 2022-09-08 14:47:44 +10: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
Darcy Wong
987e2d37d2 fix(android/engine): Lower the max height for landscape orientation 2022-08-24 15:44:28 +07:00
Marc Durdin
6644697eec
Merge pull request #7001 from keymanapp/fix/android/6899-verify-browser-for-links
fix(android): verify browser before starting activity
2022-08-23 17:07:51 -05:00
Marc Durdin
f90eaee6dd fix(android): add toast when browser fails to open 2022-08-23 07:41:56 +10:00
Marc Durdin
c1118d908c
Merge branch 'master' into chore/common/builder-script-target-and-option-support 2022-07-29 10:37:18 +10:00
Marc Durdin
bdb7b5e45a fix(android): verify browser before starting activity
Fixes #6899.
2022-07-27 15:16:02 +10:00
Marc Durdin
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +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
Marc Durdin
2bc73c1af0 chore(android): disable sendError for js errors 2022-07-07 09:52:25 +10:00