Commit graph

901 commits

Author SHA1 Message Date
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
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
Darcy Wong
86d6980975 fix(android/engine): Revert keyboard.html 2021-06-03 06:49:42 +07:00
Darcy Wong
2b549a0a62 fix(android/engine): Adjust default OSK landscape size 2021-05-31 15:27:00 +07:00
Darcy Wong
db17557ad3 chore(android): Update targetSDKVersion to 30
To comply with upcoming Play Store requirement, this updates targetSDKVersion to 30.

* Also sets appropriate webView permissions to access local file (except for WebBrowserActivity, the in-app browser).
2021-05-21 08:28:43 +07:00
Darcy Wong
c66682c2b9
Merge pull request #5098 from keymanapp/chore/android/gradle-dependencies
chore(android): Update Gradle and other dependencies
2021-05-21 08:17:34 +07:00
Darcy Wong
f31edd8b52 chore(common): Check in crowdin strings for Amharic 2021-05-19 09:12:39 +07:00
Darcy Wong
f14cf89672 fix(android/engine): Skip tests for missing resource errors 2021-05-18 12:00:32 +07:00
Darcy Wong
a3338f6ecf chore(android/engine): Update dependencies
Also change from BuildConfig.VERSION_NAME to BuildConfig.KEYMAN_ENGINE_VERSION_NAME since Gradle removes them from libraries.
2021-05-18 10:08:05 +07:00
Darcy Wong
755d3da0df fix(android/engine): Disable suggestions if file doesn't exist 2021-05-13 06:56:10 +07:00
Darcy Wong
3d7029aa36 fix(android/engine): Check lexical-model file exists before using 2021-05-12 15:48:42 +07:00
Darcy Wong
e5bbce8c94 feat(android/app): Add telemetry for launching WebBrowserActivity 2021-05-10 10:23:50 +07:00
Darcy Wong
06b125dc6f Merge branch 'master' into chore/common/crowdin-az 2021-05-03 07:42:36 +07:00
Darcy Wong
a42368f873
Update android/KMEA/app/src/main/assets/keyboard.html
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-04-29 12:48:44 +07:00
Darcy Wong
fb9f3c7cfa fix(android/engine): Add additional null check 2021-04-29 12:36:36 +07:00
Darcy Wong
fa72dc5506 chore(common): Update some more strings 2021-04-28 23:15:59 +07:00
Darcy Wong
ab7e7f7ff1 chorre(common): Check in crowdin files for Azerbaijani 2021-04-28 15:17:25 +07:00
Darcy Wong
9f8acae7de fix(android/engine): Fix toHex() for null string 2021-04-28 09:22:38 +07:00