Commit graph

33096 commits

Author SHA1 Message Date
Darcy Wong
8bb8fe4c92 feat(android/oem): Add nrc.str.sencoten to FV app
* Update FV build to download nrc.str.sencoten.model.kmp
* Update FV app to install the model
* Rebuild active keyboards list using keyboard info from kmp.json
2020-07-10 08:55:53 +07:00
Keyman Server
17c7868ac0
Merge pull request #3330 from keymanapp/auto/version-master-14.0.109
auto: increment master version to 14.0.109
2020-07-10 04:01:39 +10:00
Keyman Build Agent
57bca99479 auto: increment master version to 14.0.109 2020-07-09 14:00:59 -04:00
Darcy Wong
2252c93a59
Merge pull request #3323 from keymanapp/fix/android/set-fallback-keyboard
fix(android/oem): Add a fallback keyboard to FV Android app
2020-07-09 13:02:03 +07:00
jahorton
8e81f77bb5 chore(ios/engine): Merge branch 'master' into refactor/ios/engine/download-model-package 2020-07-09 12:02:24 +07:00
Joshua Horton
4fcc16177e
Merge pull request #3299 from keymanapp/refactor/ios/engine/download-package-for-fullid
refactor(ios/engine): Centralized package download utility function
2020-07-09 12:01:41 +07:00
jahorton
45c1fea011 docs(ios/engine): documents downloadPackage 2020-07-09 11:38:08 +07:00
Darcy Wong
303873b64f fix(android): Add to KMManager API
Add getDefaultKeyboard() and setDefaultKeyboard() to KMManager API.
2020-07-09 10:55:41 +07:00
jahorton
464cc3f7e1 feat(ios/engine): unit test for legacy model downloads, related fixes 2020-07-09 10:53:00 +07:00
Darcy Wong
2e240591a3 chore(android): Address review comments
getDefaultKeyboard()
* Assert `context`is not null

setDefaultKeyboard()
* Allow null Keyboard to revert to sil_euro_latin

FV MainActivity
* Define constant for default package ID
2020-07-09 10:52:09 +07:00
Darcy Wong
3f21471739 chore(android): Merge remote-tracking branch 'origin/master' into fix/android/set-fallback-keyboard 2020-07-09 10:36:11 +07:00
jahorton
269bc2eed5 refactor(ios/engine): for legacy downloadLexicalModel API 2020-07-09 10:21:53 +07:00
Marc Durdin
0006d80c0e refactor: move kmshell-specific xml to utilkmshell
This was causing a cascade of dependencies and I realised that
the xml in question would only ever be consumed by kmshell, so
moved the two functions to utilkmshell and avoided the cascade.
2020-07-09 12:55:46 +10:00
Marc Durdin
717fd9335a fix: kmcomp build 2020-07-09 12:10:52 +10:00
jahorton
c563bfac51 refactor(ios/engine): removes refs to old model API pattern 2020-07-09 09:10:27 +07:00
jahorton
dfc9ec0a64 refactor(ios/engine): for Settings model downloads 2020-07-09 09:02:06 +07:00
jahorton
243177daee refactor(ios/engine): for chained model downloads (triggered by keyboard dl) 2020-07-09 08:28:01 +07:00
Marc Durdin
503ec6b6d6 fix: buildpkg build 2020-07-09 11:00:21 +10:00
Marc Durdin
ccad703c82 chore: cleanup 2020-07-09 10:21:42 +10:00
Marc Durdin
56d7846a47 feat(windows): cleanup server names
This makes server URLs version agnostic and works with
tiers and debug overrides in all URLs. This is groundwork
for universal links and integrated new keyboard search.

Also uses /windows/ instead of /desktop/ where possible.
2020-07-09 10:16:21 +10:00
Darcy Wong
853e12c2f0
Merge pull request #3322 from keymanapp/oem/android/download-keyboards-with-params
feat(android): Use build-download-resources.sh for KMApro and FV apps
2020-07-09 07:13:55 +07:00
Marc Durdin
57b0602e24
Merge pull request #3304 from keymanapp/feat/windows/setup-online-bootstrap
feat(windows): Keyman Setup online bootstrap
2020-07-09 09:01:07 +10:00
Marc Durdin
935a1bcea8
Merge pull request #3315 from keymanapp/feat/windows/setup-code-cleanup
chore: cleanup global ExtPath
2020-07-09 09:00:45 +10:00
Marc Durdin
262b02767e
Merge branch 'feat/windows/setup-online-bootstrap' into feat/windows/setup-code-cleanup 2020-07-09 09:00:36 +10:00
Marc Durdin
02925c1612
Merge pull request #3316 from keymanapp/feat/windows/setup-logging
chore: Cleanup logging in Windows Setup
2020-07-09 08:59:57 +10:00
Marc Durdin
619bc1b734
Merge pull request #3317 from keymanapp/chore/windows/setup-i18n
chore(windows): update setup i18n
2020-07-09 08:59:49 +10:00
Marc Durdin
6c896cb680
Merge pull request #3320 from keymanapp/chore/windows/cleanup-constants
chore(windows): code cleanup
2020-07-09 08:59:41 +10:00
Marc Durdin
119005d97a
Merge pull request #3321 from keymanapp/refactor/windows/packages-only-parameter
refactor(windows): PackagesOnly parameter
2020-07-09 08:59:34 +10:00
Marc Durdin
f3a2abce8f chore: alpha version points to staging
To allow testing of the alpha version, we point it to
the staging server instead of the live server.
2020-07-09 07:18:15 +10:00
Keyman Server
281b89abd8
Merge pull request #3324 from keymanapp/auto/version-master-14.0.108
auto: increment master version to 14.0.108
2020-07-09 04:01:37 +10:00
Keyman Build Agent
3621292490 auto: increment master version to 14.0.108 2020-07-08 14:00:53 -04:00
Darcy Wong
ec016f850f fix(android/oem): Add a fallback keyboard to FV Android app
The FV Android app has a workflow where it's possible on a fresh install for the user to set FV as a system keyboard before checking (adding) any of the FV keyboards.

This makes the keyboard list empty, and KMManager throws an exception trying to set a keyboard.

This PR adds `Keyboard.setDefaultKeyboard()` so an app can specify a fallback keyboard. If never set, KMEA uses sil_euro_latin/sil_euro_latin.

The FV app will fall back to fv_all/sil_euro_latin
2020-07-08 16:23:07 +07:00
jahorton
0b366e9915 refactor(ios/engine): starts Queries.LexicalModel, related unit test 2020-07-08 15:55:11 +07:00
Darcy Wong
ef11647b5a feat(android): Use build-download-resources.sh for KMApro and FV apps
Follow-on to #3300

* Update the FV Android app to use the same build script to download its default keyboard package. (fv_all.kmp)
    * This means downloading fv_all.kmp is the only valid option for the build (remove option to copy/rebuild keyboards)
* Reduce the number of exports in the Bash scripts
* Also removes sil_euro_latin.kmp since the app will fallback to fv_all/sil_euro_latin (in a future PR)
2020-07-08 14:03:02 +07:00
jahorton
291113ebfc refactor(ios/engine): lexical model download batches 2020-07-08 13:53:21 +07:00
Darcy Wong
a0800ed23b
Merge pull request #3319 from keymanapp/feat/android/keyboards-list-sentry
feat(android): Add additional info on installed keyboards exceptions
2020-07-08 13:17:39 +07:00
Darcy Wong
95c4b914d4 chore(android): Remove unused import of JSONArray 2020-07-08 13:17:03 +07:00
Marc Durdin
af4630f449 refactor(windows): PackagesOnly parameter 2020-07-08 15:54:46 +10:00
jahorton
4754410787 refactor(ios/engine): better file-handling assertions 2020-07-08 11:57:02 +07:00
jahorton
96532c2026 feat(ios/engine): package download failure test 2020-07-08 11:50:21 +07:00
Darcy Wong
6b0e280b08 fix(android): Update logger to handle generic object
Per review comment, make logger `LogExceptionWithData` to handle generic Object. This will print out the object as a string in the error log to Sentry.
2020-07-08 10:36:54 +07:00
jahorton
61d510a77d feat(ios/engine): finishes download success tests 2020-07-08 10:30:41 +07:00
jahorton
271a6e9ef6 refactor(ios/engine): keyboard KMP queue support 2020-07-08 10:18:25 +07:00
jahorton
3482f86d54 fix(ios/engine): HTTPDownloader download error handling 2020-07-08 10:06:40 +07:00
Marc Durdin
5926b3c635 chore: remove old todo comment 2020-07-08 11:07:26 +10:00
Marc Durdin
4cbaca5c3e chore(windows): code cleanup
Fixup constant strings; remove old dependencies; add update param
2020-07-08 11:05:52 +10:00
Marc Durdin
8a1d7517e8 chore(windows): address review comments 2020-07-08 07:15:48 +10:00
Darcy Wong
7a5b9e8069 feat(android): Add additional info on installed keyboards exceptions 2020-07-07 15:35:14 +07:00
Marc Durdin
0afe5067e6 chore(windows): update setup i18n
Also inserted updated Keyman Setup logo (this may
cause trouble for localisation though...)
2020-07-07 12:03:18 +10:00
Marc Durdin
77e1edb485 chore: more logging cleanup 2020-07-07 07:30:40 +10:00