Commit graph

7871 commits

Author SHA1 Message Date
Eddie Antonio Santos
42bc0197fb
fix(common/lmlayer): arrow fn -> fn expr (IE11 compat) 2020-04-06 11:52:14 -06:00
Eddie Antonio Santos
aa1552fbe8
fix(common/lmlayer): use IE11-friendly syntax 2020-04-06 11:30:50 -06:00
Eddie Antonio Santos
e659d4df0d
fix(common/lmlayer): correct Unicode range in default key fn 2020-04-06 10:24:33 -06:00
Eddie Antonio Santos
77596b2c5c
test(common/lmlayer): reproduce issue reported in community forum
https://community.software.sil.org/t/search-term-to-key-in-lexical-model-not-working-both-ways-by-default/3133
2020-04-06 09:30:28 -06:00
Eddie Antonio Santos
fea6026f71
test(common/lmlayer): add regression test for searchTermToKey 2020-04-06 09:25:50 -06:00
Darcy Wong
04266290a9
Merge pull request #2946 from keymanapp/fix/android/security-exception
fix(android): Add check for WRITE_EXTERNAL_STORAGE permission
2020-04-06 13:55:24 +07:00
Keyman Server
1127413d3f
Merge pull request #2948 from keymanapp/auto/version-master-14.0.46
auto: increment master version to 14.0.46
2020-04-06 04:01:35 +10:00
Keyman Build Agent
2cc698b61d auto: increment master version to 14.0.46 2020-04-05 14:00:38 -04:00
Darcy Wong
1d1b2c69e1
Merge pull request #2947 from keymanapp/dependabot/npm_and_yarn/web/testing/regression-tests/minimist-1.2.3
chore(deps-dev): bump minimist from 1.2.2 to 1.2.3 in /web/testing/regression-tests
2020-04-05 08:15:48 +07:00
dependabot[bot]
af9a4d69c4
chore(deps-dev): bump minimist in /web/testing/regression-tests
Bumps [minimist](https://github.com/substack/minimist) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.2...1.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-04 17:27:29 +00:00
Darcy Wong
984d907c92 fix(android): Add check for WRITE_EXTERNAL_STORAGE permissions 2020-04-04 15:37:47 +07:00
Keyman Server
5baad104a6
Merge pull request #2945 from keymanapp/auto/version-master-14.0.45
auto: increment master version to 14.0.45
2020-04-04 05:01:34 +11:00
Keyman Build Agent
744dae7072 auto: increment master version to 14.0.45 2020-04-03 14:00:40 -04:00
Darcy Wong
528df281fe
Merge pull request #2944 from keymanapp/feat/android/select-language-kmp
feat(android): Propagate languageID when downloading kmp
2020-04-03 17:26:47 +07:00
Darcy Wong
349246a0d7 chore(android): Document rationale for appending to url 2020-04-03 17:26:26 +07:00
Darcy Wong
a21078327b feat(android): Propagate languageID when downloading kmp
This updates how the Keyman app handles URLs for downloading kmp files (in preparation for keyboard picker revamp).

If the URL contains "language" or "platform", those values are propagated for when the kmp gets downloaded.  The "languageID" is then used during kmp installation.

Also fixed a few things with URL handling:
* Catch UnsupportedOperationException if the original URL has invalid query parameters
* Handle DownloadIntentService fails

### User Testing:
Load the Keyman app.
Open a Chrome browser and go to the link:
```
keyman://?filename=sil_cameroon_qwerty.kmp&url=https://keyman.com/keyboard/download?id=sil_cameroon_qwerty&language=bbj-Latn&platform=android
```

The KMP should install and use the specified `bbj-Latn` language (Ghomálá').
Normally, sil_cameroon_qwerty defaults to `aal` (Afade).
2020-04-03 14:37:53 +07:00
Darcy Wong
84c37add13
Merge pull request #2943 from keymanapp/fix/keyboardharness-build-sh
fix(android): Change KeyboardHarness/build.sh to not rebuild KMEA
2020-04-03 13:29:38 +07:00
Darcy Wong
d3610ce746 fix(android): Change KeyboardHarness/build.sh to not rebuild KMEA
On CI, the `android/` folder was getting locked because KeyboardHarness/build.sh would rebuild KMEA without passing `-no-daemon`.

This PR updates KeyboardHarness/build.sh to follow KMAPro and Sample apps build.sh scripts and not build KMEA.

KMEA/build.sh also updated to directly copy the artifact to the KeyboardHarness project
2020-04-03 13:14:20 +07:00
Joshua Horton
d511f0eb15
Merge pull request #2938 from keymanapp/refactor/web/engine/keyboard-api-dom-split-start
refactor(web/engine): relocates DOM-only parts of Processor
2020-04-03 08:31:09 +07:00
Joshua Horton
b438291cb0
Merge branch 'master' into refactor/web/engine/keyboard-api-dom-split-start 2020-04-03 08:26:45 +07:00
Joshua Horton
8efdd9616d
Merge pull request #2927 from keymanapp/fix/web/539-active-element-tracking
fix(web): fixes activeElement typing
2020-04-03 08:17:30 +07:00
Joshua Horton
8801779166
Merge pull request #2926 from keymanapp/refactor/web/engine/variable-store-storage-abstraction
refactor(web/engine): variable store storage abstraction
2020-04-03 08:16:31 +07:00
Joshua Horton
11dcd65864
Merge pull request #2925 from keymanapp/refactor/web/engine/processor-callbacks
refactor(web/engine):  RuleBehavior now headless
2020-04-03 08:16:05 +07:00
Joshua Horton
09847c6a7c
Merge pull request #2920 from keymanapp/refactor/web/engine/layer-system-store
refactor(web/engine): Processor now manages current layer; OSK listens via callback
2020-04-03 08:15:46 +07:00
Joshua Horton
887c308ad3
Merge pull request #2919 from keymanapp/refactor/web/engine/systemStores
refactor(web/engine): start of system store abstraction
2020-04-03 08:15:29 +07:00
Joshua Horton
c13b359530
Merge pull request #2922 from keymanapp/refactor/web/engine/processor-cleanup
refactor(web/engine): relocates DOM-only parts of Processor
2020-04-03 08:10:18 +07:00
Joshua Horton
d65d1a411f
Merge pull request #2915 from keymanapp/refactor/web/engine/keyboard-api-dom-split-start
refactor(web/engine): begins formally removing DOM-aware keyboard API functions from web-core KeyboardInterface
2020-04-03 08:09:50 +07:00
jahorton
75886e1755 fix(web/engine): null check for chirality layouts 2020-04-03 08:09:14 +07:00
jahorton
9fc95260ac chore(web/engine): Merge branch 'master' into refactor/web/engine/keyboard-api-dom-split-start 2020-04-03 08:08:37 +07:00
Keyman Server
163c80ebc4
Merge pull request #2937 from keymanapp/auto/version-master-14.0.44
auto: increment master version to 14.0.44
2020-04-03 05:01:44 +11:00
Keyman Build Agent
27bb654eaa auto: increment master version to 14.0.44 2020-04-02 14:00:59 -04:00
jahorton
85c7ecf908 refactor(web/engine): headless layout retrieval for text prediction 2020-04-02 22:03:26 +07:00
Darcy Wong
8d35295766
Merge pull request #2935 from keymanapp/modify/android/sample-kmp
modify(android): Update sample and test projects to install asset kmp's
2020-04-02 20:46:50 +07:00
Darcy Wong
5a38814696 feat(android): Add project and package source file for keyboardharness 2020-04-02 16:18:37 +07:00
Darcy Wong
6fcc297348
Merge pull request #2933 from keymanapp/fix/android/resource-update-tool-crash
fix(android): Fix exception in ResourcesUpdateTool
2020-04-02 15:37:07 +07:00
Darcy Wong
a9fd474684 fix(android): revert FORCE_RESOURCE_UPDATE that was used for testing 2020-04-02 15:35:58 +07:00
Joshua Horton
19babd8203
Merge pull request #2936 from keymanapp/fix/web/engine/chiral-default-layouts
fix(web/engine): default layout fix for chiral keyboards
2020-04-02 14:47:36 +07:00
jahorton
09454956e9 fix(web/engine): default layout fix for chiral keyboards 2020-04-02 13:48:48 +07:00
Darcy Wong
152168ba8c modify(android): Update sample and test projects to install asset kmp's
Follow-on to #2928 for KMSample1, KMSample2, and keyboardharness projects.

For KMSample1 and KMSample2, also changed keyboard from deprecated legacy [tamil99m](https://keyman.com/keyboards/tamil99m) to release [basic_kbdtam99]
(https://keyman.com/keyboards/basic_kbdtam99).

For Keyboardharness, manually assembled keyboards into a package.
2020-04-02 10:26:48 +07:00
Keyman Server
c7d2b63627
Merge pull request #2934 from keymanapp/auto/version-master-14.0.43
auto: increment master version to 14.0.43
2020-04-02 05:01:38 +11:00
Keyman Build Agent
24ded97560 auto: increment master version to 14.0.43 2020-04-01 14:00:56 -04:00
Darcy Wong
8a5756d59f fix(android): Fix exception in ResourcesUpdateTool
Fixes crashlytic issue
https://console.firebase.google.com/u/1/project/kmapro-ee779/crashlytics/app/android:com.tavultesoft.kmapro/issues/5abd6c9831c913e93eb75d28da472079

which affected many users.

The primary fix was checking the context isn't null.

While updating ResourcesUpdateTool(), also added a cleanup method to clear the notification bar when exiting Keyman.
2020-04-01 15:16:25 +07:00
Joshua A. Horton
f7ea6dbeb4 fix(web/engine): Fixes assignment reference 2020-04-01 10:39:02 +07:00
jahorton
0a2f09766e fix(web/engine): unit-test check for saveStore 2020-04-01 09:55:43 +07:00
Darcy Wong
a6717bce1e
Merge pull request #2928 from keymanapp/modify/android/sil-eurolatin
modify(android) Install default asset kmp's
2020-04-01 09:11:04 +07:00
Darcy Wong
3a13ab7a60
Merge pull request #2930 from keymanapp/fix/android/globe-button-2786
fix(android): Fix globe button crash on 3rd party apps
2020-04-01 08:51:26 +07:00
Darcy Wong
26b296f2b0 fix(android): Fix globe button crash on 3rd party apps
Fixes #2786 as reported by user
2020-04-01 07:06:04 +07:00
Darcy Wong
e2155605ae feat(android): Add utility to get lexical model package version 2020-04-01 06:01:21 +07:00
Keyman Server
ecf8f30c20
Merge pull request #2929 from keymanapp/auto/version-master-14.0.42
auto: increment master version to 14.0.42
2020-04-01 05:01:23 +11:00
Keyman Build Agent
22a3d6087f auto: increment master version to 14.0.42 2020-03-31 14:00:33 -04:00