Commit graph

27982 commits

Author SHA1 Message Date
Darcy Wong
349246a0d7 chore(android): Document rationale for appending to url 2020-04-03 17:26:26 +07:00
jahorton
57b7a0b3b0 refactor(web/engine): adds build-inner-core.sh, successful compilation 2020-04-03 15:47:21 +07:00
jahorton
09d38f81a5 refactor(web/engine): globalThis retrieval 2020-04-03 15:28:42 +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
jahorton
b1edfaf90f chore(web/engine): Merge branch 'refactor/web/engine/dom-functionality-split' into refactor/web/engine/processor-split 2020-04-03 11:15:49 +07:00
jahorton
7c81862c2d fix(web/engine): reverts temp edit that slipped through 2020-04-03 11:14:13 +07:00
jahorton
1a23a43105 refactor(web/engine): starts inner-core build config 2020-04-03 10:59:07 +07:00
jahorton
227062ba56 refactor(web/engine): InputProcessor/KeyboardProcessor split 2020-04-03 10:50:58 +07:00
jahorton
52e3f7e977 refactor(web): adds intermediate DOM-aware OutputTarget abstraction 2020-04-03 10:31:35 +07:00
jahorton
11c1ed5bf2 refactor(web/engine): embedded adjustments, defaultOutput split 2020-04-03 10:08:03 +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
Marc Durdin
17cbc37f8c fix(windows): fixup missing sentry config 2020-04-02 17:11:45 +11: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
Marc Durdin
7715c1a5b9 fix(windows): refactor compile.pas for early load
We want the compiler to load early so that Sentry will
include it in the module list. DRYed out the compiler load
code at the same time.
2020-04-02 06:16:51 +11:00
Marc Durdin
e1d3a25f3b fix(windows): update sentry to latest master
Sentry 0.2.2 had a bug with initialization that stopped the random
number generator from working.
2020-04-02 06:15:05 +11: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
Marc Durdin
e194076d40 fix(windows): fix certificate tests 2020-04-01 15:35:18 +11: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
Marc Durdin
1413615e1d fix(windows): use safe strcat 2020-04-01 13:27:22 +11: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
Marc Durdin
5928052d93 feat(windows): use crashpad and better call stacks
Also moves to sentry native 2.0.
2020-04-01 12:02:26 +11: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