Commit graph

990 commits

Author SHA1 Message Date
Darcy Wong
2dcd40f67e fix(android/engine): Remove unneeded keyboardPickerEnabled var 2021-08-17 10:03:07 +07:00
Darcy Wong
a027277ed7 chore(android/engine): Address additional review comments 2021-08-17 09:37:03 +07:00
Darcy Wong
5214c75aab
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-08-17 08:10:01 +07:00
Darcy Wong
c69dddf8a8 chore(android/engine): Refactor globe key actions 2021-08-09 14:53:39 +07:00
Darcy Wong
d9a5d05cbc fix(android/engine): Override keyboard switch when only 1 installed 2021-08-09 14:53:39 +07:00
Darcy Wong
21059f8dfa
Merge pull request #5541 from keymanapp/fix/android/back-destroy-progress-dialog
fix(android/app): Fix cleanup when progress dialog cancelled
2021-08-06 10:28:06 +07:00
Darcy Wong
ebb04697e4
Merge pull request #5520 from keymanapp/feat/android/prompt-webview-update
feat(android): Add API for checking Chrome version
2021-08-06 09:37:10 +07:00
Marc Durdin
515391c453
Merge pull request #5423 from keymanapp/fix/android/5397-graceful-failure-web-keyboard
fix(android): gracefully handle errors in KMW keyboards
2021-08-05 16:05:49 +10:00
Darcy Wong
3502d6ffa5 fix(android): Notify when download cancelled 2021-08-05 11:11:25 +07:00
Marc Durdin
7ac7c4b290 feat(android): click on body reloads keyboard 2021-08-05 11:36:57 +10:00
Darcy Wong
b4fabeec90 feat(android/engine): Pass WebView as parameter 2021-08-02 10:03:47 +07:00
Darcy Wong
c70458a770 chore(android/engine): Cleanup regex
Also revert root package-lock.json file
2021-08-02 09:43:49 +07:00
Darcy Wong
9f713b5169 chore(android/engine): Cleanup for review comments 2021-08-02 09:31:08 +07:00
Darcy Wong
89c3b70195 feat(android): Add banner for prompting Chrome install 2021-07-31 10:00:02 +07:00
Darcy Wong
ca2a7c2ef4 feat(android): Add API for checking Chrome version 2021-07-29 14:22:13 +07:00
Marc Durdin
b7f60b397c chore(android): log fontpath error 2021-07-29 16:41:58 +10:00
Darcy Wong
a792b44620 fix(android/engine): Clear globe key state 2021-07-27 07:33:34 +07:00
Darcy Wong
b7c932d64f
Update android/KMEA/app/src/main/java/com/tavultesoft/kmea/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-07-27 06:43:08 +07:00
Darcy Wong
5d1a91e477 Merge remote-tracking branch 'origin/master' into feat/android/improve-globe-key 2021-07-23 13:13:36 +07:00
Marc Durdin
a3254c84b1 chore(android): improve error reporting for kmw
Reports the actual error message instead of 'sendKMWError' as the primary message to Sentry.
2021-07-20 07:40:16 +10:00
Darcy Wong
9e8fed7dcd Merge remote-tracking branch 'origin/master' into feat/android/improve-globe-key 2021-07-09 06:32:23 +07:00
Darcy Wong
1778fa27d4
Merge pull request #5439 from keymanapp/fix/android/switch-next-keyboard
fix(android/engine): register lexical model in switchToNextKeyboard
2021-07-09 06:30:45 +07:00
Darcy Wong
c40783624a chore(android/engine): Revert test code 2021-07-09 06:29:25 +07:00
Darcy Wong
d9a7fac833 chore(android/engine): Clean up system keyboard globe 2021-07-08 15:54:45 +07:00
Darcy Wong
a9eb8863ce feat(android): Refactor globe key functions 2021-07-08 15:34:09 +07:00
Darcy Wong
d2dc6145a2 chore(web): Change syntax for clone 2021-07-08 14:18:00 +07:00
Darcy Wong
fcc0e867c9
Update android/KMEA/app/src/main/java/com/tavultesoft/kmea/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-07-08 09:00:15 +07:00
Darcy Wong
2e30605a29 fix(android/engine): Use globe key state to determine action 2021-07-07 16:08:02 +07:00
Darcy Wong
4e881dca55 fix(android): Start tracking globe key state 2021-07-07 14:35:08 +07:00
Darcy Wong
bd9773a715 fix(android/engine): register lexical model in switchToNextKeyboard 2021-07-07 09:35:28 +07:00
Darcy Wong
ec40487d99 fix(android/engine): Fix namespacing for setActiveKeyboard() 2021-07-07 08:49:39 +07:00
Darcy Wong
7fe4b73b48 chore(android/engine): Rename "Close Keyman" button 2021-07-07 07:58:20 +07:00
Darcy Wong
232ec83dc2 feat(android/engine): Add longpress globe key action 2021-07-07 07:45:52 +07:00
Darcy Wong
fe9715127f fix(android/engine): Display dictionary help link 2021-07-06 11:29:11 +07:00
Darcy Wong
0d0e264d2c fix(android/engine): Fix font file path 2021-07-05 15:52:04 +07:00
Marc Durdin
df9e47d1d5 fix(android): gracefully handle errors in KMW keyboards
Fixes #5397.

This disables the fallback to default keyboard in Keyman Engine for
Android, and prevents a toast from appearing more than once for a given
error. The first five errors will be reported to Sentry and then
subsequent errors will be ignored, until a different keyboard is
selected, to prevent spamming the error log and wasting bandwidth for
the user.
2021-07-05 10:42:58 +10:00
Marc Durdin
2e6fda2d0e
Merge pull request #5349 from keymanapp/feat/android/949-spacebar-text-controls
feat(android): Spacebar text controls
2021-07-02 14:30:15 +10:00
Marc Durdin
19b1b0db2c
Merge pull request #5338 from keymanapp/refactor/android/setKeyboardCall
refactor(android): setKeyboard and setKeymanLanguage
2021-06-28 15:59:39 +10:00
Marc Durdin
76d21d4344 chore: address review comments 2021-06-28 15:40:51 +10:00
Marc Durdin
85940888fb feat(android): hide textarea for perf
Relates to #5258.

Unnecessary layout recalc eliminated by hiding the backing
textarea with `display:none`. This improved performance by roughly
20%.
2021-06-28 04:57:01 +10:00
Marc Durdin
78c8ecc5bf fix(android): small tweaks
Fixes some edge cases and behaviour on reload
of web page.
2021-06-25 12:52:47 +10:00
jahorton
11fb004614 fix(android): nextlayer for subkeys with customized layer setting 2021-06-24 08:10:21 +07:00
Marc Durdin
a3ec34a3ce feat(android): Spacebar text controls
Relates to #949.

* Adds setSpacebarText() API to Keyman Engine for Android
* Adds displayName API to Keyman Engine for Android
* Adds Preference for spacebar text to Keyman for Android
* Sets default spacebar text to keyboard name for FirstVoices Keyboards
2021-06-24 10:58:26 +10:00
Marc Durdin
0ebe6c9e12 refactor(android): setKeyboard and setKeymanLanguage
This refactors the cross-boundary call to `setKeymanLanguage` to use
JSON wrapping for the content. This is (a) safer, and (b) less mucking
around anyway.
2021-06-23 13:41:07 +10:00
Darcy Wong
2fd6995ec7 chore(android/engine): Add Spanish - Latin America 2021-06-11 07:33:56 +07:00
Darcy Wong
5552ee4aad chore(common): Check in crowdin strings for Spanish (Latin America) 2021-06-11 07:33:56 +07:00
Marc Durdin
55b201306f feat(android): silent vs welcomeonly vs full installs 2021-06-09 09:32:07 +10:00
Marc Durdin
a04aaad13c feat(android): silent install for referred kbd
Relates to #5230, #5219.

[Draft]

Adds a silent parameter to the `downloadKMP` function and makes the
install silent for referred keyboards.

However, this is incomplete:

1. We need to be able to control silent levels:
   * Completely silent
   * Only welcome
   * Full install

2. When silentInstall is true, currently welcome is still shown, but the
   paging controls are not configured correctly and a blank screen is
   shown after install.
2021-06-09 08:13:28 +10:00
Darcy Wong
9176b8a776 fix(android/engine): Missed parens 2021-06-08 09:02:15 +07:00
Darcy Wong
52b14f7ed5 chore(android/engine): Revert keyboard.html file 2021-06-08 09:00:58 +07:00