Commit graph

12065 commits

Author SHA1 Message Date
Keyman Server
b52d088f44
Merge pull request #5081 from keymanapp/auto/version-master-15.0.47
auto: increment master version to 15.0.47
2021-05-14 04:02:41 +10:00
Keyman Build Agent
5bd23f868c auto: increment master version to 15.0.47 2021-05-13 14:02:00 -04:00
Darcy Wong
d24dfa77c0
Merge pull request #5037 from keymanapp/dependabot/npm_and_yarn/web/testing/regression-tests/lodash-4.17.21
chore(web/resources): bump lodash from 4.17.19 to 4.17.21 in /web/testing/regression-tests
2021-05-13 13:31:39 +07:00
Darcy Wong
4ab3f54794
Merge pull request #5071 from keymanapp/fix/android/missing-model-file
fix(android/engine): Check lexical-model file exists before using
2021-05-13 11:54:20 +07:00
Marc Durdin
03c518fee8
Merge pull request #5062 from keymanapp/chore/windows/remove-unused-keymanx64-parameter
chore(windows): remove unused keymanx64 parameter
2021-05-13 10:09:47 +10:00
Darcy Wong
755d3da0df fix(android/engine): Disable suggestions if file doesn't exist 2021-05-13 06:56:10 +07:00
Keyman Server
d1e43d8d3f
Merge pull request #5073 from keymanapp/auto/version-master-15.0.46
auto: increment master version to 15.0.46
2021-05-13 04:02:52 +10:00
Keyman Build Agent
1b1074159f auto: increment master version to 15.0.46 2021-05-12 14:02:06 -04:00
Darcy Wong
3d7029aa36 fix(android/engine): Check lexical-model file exists before using 2021-05-12 15:48:42 +07:00
Eberhard Beilharz
9d7a8d649f
Merge pull request #5054 from keymanapp/fix/linux/issue-4542
fix(linux): Fix Caps Lock
2021-05-12 10:35:13 +02:00
Eberhard Beilharz
d089da8fbf
Merge pull request #5064 from keymanapp/fix/linux/debian
fix(linux): Swap order of dependencies for Debian package
2021-05-12 08:05:48 +02:00
Marc Durdin
68cf2146e5
Merge pull request #5061 from keymanapp/chore/windows/remove-kmc_changeuistate
chore(windows): remove KMC_CHANGEUISTATE
2021-05-12 07:44:16 +10:00
Marc Durdin
42cb9ebfd0
Merge pull request #5060 from keymanapp/fix/windows/5004-refactor-controller-windows
fix(windows): refactor controller windows
2021-05-12 07:37:40 +10:00
Keyman Server
bc87d4ee66
Merge pull request #5065 from keymanapp/auto/version-master-15.0.45
auto: increment master version to 15.0.45
2021-05-12 04:02:43 +10:00
Keyman Build Agent
00dd9b6155 auto: increment master version to 15.0.45 2021-05-11 14:02:00 -04:00
Eberhard Beilharz
01a9c36d53
fix(linux): Fix Caps Lock
Closes #4542.
2021-05-11 17:51:01 +02:00
Eberhard Beilharz
5ea621f4cc
Merge pull request #5053 from keymanapp/fix/core/modifiers
fix(common/core): Add values for Caps and Nocaps modifiers
2021-05-11 17:28:37 +02:00
Eberhard Beilharz
389747b096
Update common/core/desktop/include/keyman/keyboardprocessor_vkeys.h
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-05-11 17:27:51 +02:00
Eberhard Beilharz
4dd0a48b2b
fix(linux): Swap order of dependencies for Debian package
It turns out that the Debian package build system only considers
the first alternative; python3-raven isn't available on the current
Debian version, however we still need it on Ubuntu 18.04 Bionic where
python3-sentry-sdk is not available. This change swaps the
alternatives and so should work both on Debian as well as for
Bionic.
2021-05-11 16:43:22 +02:00
Marc Durdin
c078661a0f chore(windows): remove unused keymanx64 parameter
With the recent refactor in #5060, we no longer need the main form
window handle parameter in keymanx64.
2021-05-11 16:03:19 +10:00
Marc Durdin
9c01777ece chore: add missing file 2021-05-11 15:51:20 +10:00
Marc Durdin
d26b01ad99 chore(windows): remove KMC_CHANGEUISTATE
The `KMC_CHANGEUISTATE` flag for `wm_keyman_control` is no longer
processed anywhere. Removes it and the `UpdateKeymanUI` function which
called it.

The `#define` for the flag has been left, commented out, to clarify what
would otherwise be a gap in identifiers (use `git blame` to learn more).
2021-05-11 15:19:01 +10:00
Marc Durdin
fbcfd62678 fix(windows): refactor controller windows
Fixes #5004.

This cleans up the use of controller windows. A single window is now
given the responsibility of being the master controller, which receives
messages from Keyman32 and other components around UI activation, active
keyboard, etc.

The master controller is keyman.exe's `TApplication` window, which does
not get destroyed and recreated, unlike the main form window.

Any thread which has responsibility for Keyman UI (keyman.exe main
thread, keymanx64.exe main thread) is also registered as a controller
thread. A controller thread has special handling for interactions with
keyman32 around focus tracking.

Caveats:

* While keymanx64 does not have a visible window and thus probably does
  not need to be registered as a controller thread, it doesn't really
  hurt.
* Note that keymanx64 registers the 32-bit controller thread as well,
  which again is probably unnecessary as the 64-bit process cannot
  interact with the 32-bit thread.
* Keyman's main form still handles wm_keyman_control messages, as there
  are a number of other components which post to that window (e.g. text
  editor, com library visual keyboard interactions). Unlike the original
  problem trigger, the reference handle is not stored long-term and so
  there is unlikely to be a problem with main form window re-creation
  causing an issue in these contexts.

There are several TODO items in this which I will address in follow-ups,
to reduce the scope of these changes.

I hope to cherry-pick this to stable-14.0, but will run for a while in
15.0 before doing so.
2021-05-11 14:47:17 +10:00
Marc Durdin
af67d180af
Merge pull request #5031 from keymanapp/fix/developer/kmdecomp-two-issues
fix(developer): two small issues in kmdecomp
2021-05-11 11:55:15 +10:00
Marc Durdin
b3087823a4
Merge pull request #5056 from keymanapp/chore/windows/remove-utilrun
chore(windows): remove unused utilrun unit
2021-05-11 11:54:28 +10:00
Marc Durdin
c4b194c707
Merge pull request #5057 from keymanapp/chore/windows/update-fixup-missing-file
chore(windows): FixupMissingFile needed current component code
2021-05-11 10:55:24 +10:00
Marc Durdin
ed3e9caa4e chore(windows): FixupMissingFile needed current component code
UFixupMissingFile referred to an old MSI component code, which meant
that it would never actually fix the installation. This now refers to a
current component code.

I may backport this to stable-14.0 but would like to assess its
stability over time first.
2021-05-11 08:39:33 +10:00
Marc Durdin
cfea41382c chore(windows): remove unused utilrun unit 2021-05-11 08:38:07 +10:00
Keyman Server
b614ee7c53
Merge pull request #5055 from keymanapp/auto/version-master-15.0.44
auto: increment master version to 15.0.44
2021-05-11 04:03:03 +10:00
Keyman Build Agent
fe2de7e481 auto: increment master version to 15.0.44 2021-05-10 14:02:21 -04:00
Eberhard Beilharz
e871998113
fix(common/core): Add values for Caps and Nocaps modifiers
Also change the values for these to match the ones defined in
`kmx_file.h`.
2021-05-10 16:52:41 +02:00
Marc Durdin
a6a658e8bc
Merge pull request #5002 from keymanapp/fix/windows/4976-redesign-keymanx64-lifecycle
fix(windows): make keymanx64 responsible for its own lifecycle
2021-05-10 19:46:12 +10:00
Marc Durdin
39f8a8ef6f
Merge pull request #5007 from keymanapp/chore/windows/4700-get-detail-on-cefmanager-error
chore(windows): add telemetry to trace crash on exit
2021-05-10 19:35:18 +10:00
Marc Durdin
b06c8edaac
Merge pull request #5000 from keymanapp/fix/windows/4965-alternative-tips-block-activation
fix(windows): avoid disabling Keyman when speech recognition starts
2021-05-10 19:34:59 +10:00
Darcy Wong
a5c871607e
Merge pull request #5047 from keymanapp/chore/android/offline-help
chore(android/app): Always use offline help
2021-05-10 16:31:40 +07:00
Darcy Wong
e36b106052
Merge pull request #5046 from keymanapp/change/android/browser-telemmetry
feat(android/app): Add telemetry for launching WebBrowserActivity
2021-05-10 16:17:17 +07:00
Darcy Wong
05b1cab744 chore(android): Update help doc to 15.0
This commit is not to cherry-pick to stable-14.0
2021-05-10 10:53:07 +07:00
Darcy Wong
c7824ed6c2 chore(android/app): Always use offline help 2021-05-10 10:45:15 +07:00
Darcy Wong
e5bbce8c94 feat(android/app): Add telemetry for launching WebBrowserActivity 2021-05-10 10:23:50 +07:00
Marc Durdin
bf03c89a6b
Merge pull request #5030 from keymanapp/chore/mac/update-requirements
chore(mac): update requirements to include Big Sur
2021-05-10 09:14:34 +10:00
Keyman Server
6c59273edb
Merge pull request #5041 from keymanapp/auto/version-master-15.0.43
auto: increment master version to 15.0.43
2021-05-08 04:02:14 +10:00
Keyman Build Agent
b7c613c216 auto: increment master version to 15.0.43 2021-05-07 14:01:33 -04:00
Marc Durdin
23505d8e7b chore: remove extra file 2021-05-07 17:19:43 +10:00
Marc Durdin
a23266a6b9 chore: address review comments 2021-05-07 17:17:48 +10:00
Marc Durdin
492394c4f6 chore: address review comment 2021-05-07 17:08:11 +10:00
Darcy Wong
99c036eec6
Merge pull request #4992 from keymanapp/chore/common/crowdin-az
chore(common): Check in crowdin files for Azerbaijani
2021-05-07 13:41:59 +07:00
dependabot[bot]
e91e301e23
chore(deps): bump lodash in /web/testing/regression-tests
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 18:02:35 +00:00
Keyman Server
b5b674fb17
Merge pull request #5036 from keymanapp/auto/version-master-15.0.42
auto: increment master version to 15.0.42
2021-05-07 04:01:58 +10:00
Keyman Build Agent
31da22d29f auto: increment master version to 15.0.42 2021-05-06 14:01:16 -04:00
Eberhard Beilharz
933cb5a7f8
Merge pull request #5033 from keymanapp/chore/linux/hirsute
chore(linux): Add support for Ubuntu 21.04 (hirsute)
2021-05-06 08:28:27 +02:00