Commit graph

33096 commits

Author SHA1 Message Date
Eberhard Beilharz
358a4529da
refactor(linux): Remove obsolete SCIM kmfl imengine
We didn't distribute the SCIM kmfl package for the last several
versions, and SCIM got replaced by ibus in the major desktop
environments.
2021-05-17 11:06:48 +02:00
Eberhard Beilharz
c35e5ff9cc
refactor(linux): Refactor install_kmp.py
- Introduce `InstallKmp` class
- Remove unused `list_files` method
- Extract common method that `install_kmp_shared` and
  `install_kmp_user` use
- Make internal methods protected
2021-05-17 10:58:04 +02:00
jahorton
fd5e73c3b7 chore(ios): Carthage deps now linked as .xcframework 2021-05-17 15:05:21 +07:00
jahorton
7c9a596b65 chore(common): fixes link for mocha-teamcity-reporter via hoist 2021-05-17 11:00:32 +07:00
jahorton
f9af1c9673 chore(developer/compilers): updates lmc dependency, hoists ts-node 2021-05-17 10:20:49 +07:00
jahorton
6d33762aa8 chore(common): updates web submodule dependencies, hoists commons 2021-05-17 09:52:40 +07:00
jahorton
d9c1ece560 chore(web): updates web/source dependencies 2021-05-17 09:19:32 +07: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
Marc Durdin
4d969758aa chore(web): add test page for playing with CKEditor
Ref https://community.software.sil.org/t/asp-net-keyman-web-with-ckeditor/4801
2021-05-17 05:52:21 +10: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
17e8780e8e feat(developer): Add 'full copyright' field to templates
Fixes #4807.

We want to differentiate between a short copyright message and a
longer one that also contains a date. The long one is only needed in
one place in a typical keyboard project. This reduces maintenance when
making keyboard updates.
2021-05-14 16:35:44 +10:00
Marc Durdin
756e2ece13 chore: fixup paths for tests 2021-05-14 14:32:29 +10:00
Marc Durdin
8c1b034a7b chore: reorganise tests 2021-05-14 13:35:02 +10: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