Commit graph

1441 commits

Author SHA1 Message Date
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
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
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
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
e22ce72442
Merge pull request #5324 from keymanapp/docs/shared-build-docs
docs: start consolidation of build config docs
2021-07-01 11:57:09 +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
fe58026f1a
Merge pull request #5376 from keymanapp/feat/android/5258-hide-textarea-for-perf
feat(android): hide textarea for perf
2021-06-28 15:26:47 +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
Darcy Wong
600b564bdd chore(android): Add help on Settings option to change spacebar caption 2021-06-27 12:52:59 +07: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
Marc Durdin
4af39a58b0 docs: start consolidation of build config docs
As the build environment documentation is duplicated across each of the
Keyman platform projects, it has become somewhat convoluted and
inconsistent. This PR moves all the mac-based and shared documentation
into docs/build, with placeholders for Windows and Linux documentation
to be moved in the next PR.

The idea is that a developer can configure their box to build any of the
available projects for that platform (web and android build on all three
main dev platforms).

Keeping the build documentation in one place makes it much simpler to
keep it consistent and up-to-date as well, as well as keeping us aware
of potential dependency conflicts between projects.

The icing on the cake is the resources/devbox/macos/macos.sh script,
which I have tested and takes a bare metal mac box through to a full
Keyman development environment (except XCode, there's always something!)
2021-06-21 21:12:27 +10:00
Darcy Wong
2b4c64ae90
Merge pull request #5269 from keymanapp/chore/crowdin-es-419
chore(common): Check in crowdin strings for Spanish (Latin America)
2021-06-15 07:30:33 +07:00
Darcy Wong
49544f5b11 chore(common): Add YouTube links to Keyman 14 features 2021-06-13 10:09:52 +07: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
7969b9e06c
Merge pull request #5247 from keymanapp/fix/android/5211-rotation-not-updating-keyboard
fix(android): rotation is not updating keyboard
2021-06-11 09:30:43 +10:00
Marc Durdin
26aafc6afb fix(android): rotation fix for samples and FV Keyboards 2021-06-10 10:47:50 +10:00
Marc Durdin
64b5ab2cb7 fix(android): rotation is not updating keyboard
Fixes #5211.
2021-06-09 17:16:23 +10:00
Marc Durdin
090556846f chore(android): add docs on KmpInstallMode 2021-06-09 10:47:00 +10: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
Marc Durdin
2f30202066
Merge pull request #5230 from keymanapp/feat/android/5219-play-referrer-library
feat(android): Automatically install keyboard through Play Store
2021-06-09 07:30:38 +10:00
Marc Durdin
cc6580779b chore(android): address review comments 2021-06-08 19:52:42 +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
Marc Durdin
d0edd5175f feat(android): Automatically install keyboard through Play Store
Resolves #5219.

Uses the Google Play Install Referrer API to automatically discover the
keyboard to install together with Keyman; this keyboard is passed in a
`referrer` parameter to the Play Store page for the Keyman app from the
Keyman website.
2021-06-07 07:20:22 +10:00
Darcy Wong
86d6980975 fix(android/engine): Revert keyboard.html 2021-06-03 06:49:42 +07:00
Darcy Wong
a2433b9fe8 Merge remote-tracking branch 'origin/master' into change/android/keyboard-height-dimens 2021-06-03 06:38:35 +07:00
Darcy Wong
2b549a0a62 fix(android/engine): Adjust default OSK landscape size 2021-05-31 15:27:00 +07:00
Darcy
5b89f30b75 fix(android/samples): Set gradlew executable for Tests 2021-05-31 08:51:08 +07:00
Marc Durdin
c244eded35
Merge pull request #5175 from keymanapp/fix/common/build-script-help-param
fix(common): build script help param
2021-05-31 11:08:36 +10:00
Darcy Wong
1341fa032b
Merge pull request #5145 from keymanapp/feat/android/add-clean-flag
chore(android): Add -clean flag to build script
2021-05-28 09:39:51 +07:00
Darcy Wong
68beb6571f fix(android): Move exit 2021-05-28 09:14:06 +07:00
Marc Durdin
5fac633fb6 fix(common): build script help param
When working on a new build script, I tripped over the `-?` question
mark help parameter here, as it needs to be escaped. Opted to fix all
the instances in our scripts, although AFAICT there would not have been
current bugs arising from this, as there were no conflicting one
character options lower in the case list.
2021-05-28 09:50:40 +10:00
Darcy Wong
399fe011db fix(android): Have clean() exit 2021-05-27 10:29:57 +07:00
Darcy Wong
51872f6e4d fix(android): Add more files/dirs to clean() 2021-05-27 09:13:46 +07:00
jahorton
8f1e1dc65a feat(common): offline help css 2021-05-26 15:40:45 +07:00
Darcy Wong
26ddeffc20 fix(android/app): Add another file check 2021-05-26 14:52:00 +07:00
Darcy Wong
e2d9aed236 fix(android/app): Check if key store files exist 2021-05-26 14:34:53 +07:00
Darcy Wong
0d88b36422 fix(android): Check -clean flag if first arg 2021-05-26 09:39:57 +07:00
Darcy Wong
24a0d5831a chore(android): Close if clause 2021-05-25 15:20:18 +07:00
Darcy Wong
599c4f1981 chore(android): Add -clean flag to build script 2021-05-25 14:29:27 +07:00