Commit graph

12076 commits

Author SHA1 Message Date
Keyman Server
53b60bf072
Merge pull request #5094 from keymanapp/auto/version-master-15.0.49
auto: increment master version to 15.0.49
2021-05-18 04:02:15 +10:00
Keyman Build Agent
1da6247061 auto: increment master version to 15.0.49 2021-05-17 14:01:33 -04:00
Joshua Horton
2c4ce9c687
Merge pull request #5075 from keymanapp/fix/web/popup-key-positioning
fix(web): position popups correctly in landscape mode on Android and during Chrome emulation
2021-05-17 08:16:24 +07:00
Darcy Wong
5849d86bae
Merge pull request #5087 from keymanapp/chore/common/A15S4-history
chore(common): Update stable history for 14.0.274
2021-05-17 07:13:09 +07:00
Darcy Wong
c361f5c270 chore(common): Update stable history for 14.0.274
End of A15S4 sprint task
2021-05-16 06:10:12 +07:00
Keyman Server
07d108c92a
Merge pull request #5086 from keymanapp/auto/version-master-15.0.48
auto: increment master version to 15.0.48
2021-05-15 04:02:06 +10:00
Keyman Build Agent
975439fa7b auto: increment master version to 15.0.48 2021-05-14 14:01:26 -04:00
Marc Durdin
2871e818c0
Merge pull request #5082 from keymanapp/fix/developer/kmconvert-cmdline-and-wine
fix(developer): kmconvert commandline and deploy
2021-05-14 13:09:56 +10:00
Marc Durdin
c8d6e4fe6f fix(developer): kmconvert commandline and deploy
A few fixes and improvements:
* kmconvert was missing a command line parameter for `-target` to
  specify the platform targets for a project
* kmconvert should avoid throwing unhandled exceptions, rather if
  sentry is not present then just write to console.
* Include kmconvert and its data files in the deployment of kmcomp.zip,
  which is done on the build agent (just need to make sure files are
  in the right place here.)
* Side fix: also made sure kmcomp would emit the exception message to
  console if sentry is not present.
2021-05-14 10:56:58 +10:00
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
jahorton
3102435314 fix(web): reuses OSK width calc 2021-05-13 11:54:02 +07:00
jahorton
a1d989c6c1 fix(web): popup key positioning logic 2021-05-13 09:02:54 +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