Commit graph

27982 commits

Author SHA1 Message Date
Darcy Wong
41626650f5 fix(common/core/web): Add keyboard check for scriptObject 2021-03-10 14:56:29 +07:00
jahorton
8999eecfc9 fix(web): event handling for TouchAliasElement's blinking caret 2021-03-10 13:12:30 +07:00
Darcy Wong
b820df3ef3 fix(android/engine): Reset in-app context when selection changes 2021-03-10 09:35:58 +07:00
Marc Durdin
67bfdb970b fix(windows): Handle disabled profiles and invalid language ids
Fixes #4490.
Fixes #4435.

There are three parts to this:

1. Ensure that transient language profiles associated with a disabled
   keyboard are enumerated correctly
2. Stop trusting `LocaleNameToLCID` when it returns a transient language
   id, as it sometimes reports out-of-date values. We don't need to
   trust it in these cases anyway, because we have already collected the
   relevant transient language data from Win8Languages.
3. Finally, setting the profile GUID to `GUID_NULL` is simply tidyup,
   which does not have impact on the running code currently but makes
   state consistent.

I believe that part 2 fixes #4435 because the symptoms are identical.
But as I am unable to repro that particular issue on my machine thus
far, that is an assumption. Hopefully we can get a good test result from
@MakaraSok.
2021-03-10 10:34:55 +11:00
Marc Durdin
591fffce36 fix(windows): fix name of app in help title 2021-03-10 10:32:52 +11:00
Eberhard Beilharz
c83f595622
Merge pull request #4633 from keymanapp/chore/linux/readme
chore(linux): Update readme
2021-03-09 20:31:19 +01:00
Keyman Server
ae6068557e
Merge pull request #4634 from keymanapp/auto/version-master-15.0.20
auto: increment master version to 15.0.20
2021-03-10 05:14:01 +11:00
Keyman Build Agent
fcda8a66ed auto: increment master version to 15.0.20 2021-03-09 13:13:10 -05:00
Eberhard Beilharz
3a092d4998
chore(linux): Update readme 2021-03-09 16:59:16 +01:00
Keyman Server
aef047f0cc
Merge pull request #4632 from keymanapp/auto/version-beta-14.0.256
auto: increment beta version to 14.0.256
2021-03-10 01:25:52 +11:00
Keyman Build Agent
ec65b1e9b9 auto: increment beta version to 14.0.256 2021-03-09 09:25:01 -05:00
Eberhard Beilharz
9c61e05496
Merge pull request #4631 from keymanapp/chore/common/readme
chore(common): Update readme
2021-03-09 14:58:40 +01:00
Eberhard Beilharz
ac9a77f0da
chore(common): Update readme 2021-03-09 12:10:36 +01:00
Keyman Server
09a83442d2
Merge pull request #4630 from keymanapp/auto/version-beta-14.0.255
auto: increment beta version to 14.0.255
2021-03-09 19:22:33 +11:00
Keyman Build Agent
a833579785 auto: increment beta version to 14.0.255 2021-03-09 03:21:45 -05:00
Marc Durdin
fedbb1e025
Merge pull request #4624 from keymanapp/chore/beta-to-alpha-B14S7
chore: beta to alpha merge, B14S7
2021-03-09 16:56:41 +11:00
Marc Durdin
24ba51ad70
Merge pull request #4627 from keymanapp/fix/windows/4437-ensure-valid-base-layout-on-install
fix(windows): ensure valid base layout on install
2021-03-09 16:56:36 +11:00
Marc Durdin
8f16d1a19f
Merge pull request #4623 from keymanapp/fix/windows/4409-show-version-selector-for-msi
fix(windows): show version selector for Keyman in installer
2021-03-09 16:56:25 +11:00
Marc Durdin
fb1c600a6b
Merge pull request #4622 from keymanapp/fix/windows/4557-represerve-keys-on-setfocus
fix(windows): represerve keys on setfocus
2021-03-09 16:56:17 +11:00
Marc Durdin
5c8d21b204 fix(windows): hotkeys correctly ignore right modifier keys
Fixes #4619.

The hotkey check in keyman32 would ignore right modifier keys, but the
behaviour was not quite right: it actually needs to take the modifier
into account, but just not treat it as a valid modifier.

While fixing this, I noticed that some of the tests in the
`KeyLanguageSwitchPress` function were using the wrong modifier flags. I
wish I had fewer different modifier flag sets but that ship has probably
sailed.
2021-03-09 16:02:14 +11:00
Marc Durdin
1536a5fe1c chore(windows): address review comments 2021-03-09 15:48:52 +11:00
Marc Durdin
54e7b6c8d2 fix(windows): ensure valid base layout on install
Fixes #4437.

Makes sure that we don't end up with a base layout that is not using
Latin script at install time.
2021-03-09 15:17:21 +11:00
Marc Durdin
8376eeea27 chore: add global to lua 2021-03-09 14:32:18 +11:00
Joshua Horton
c2fc6109be
Merge pull request #4625 from keymanapp/docs/ios/whatsnew-l10ns
docs(ios): adds supported l10ns to help/about/whatsnew
2021-03-09 08:58:26 +07:00
Marc Durdin
9fd5e11e62 fix(windows): context help links
Fixes #4558.

This makes a number of fixes to get the context help working correctly
in Keyman 14:

1. Adds support for `redirect:` header in help .md files so that we can
   do redirects for the context content in Keyman for Windows help in the
   lua filters.
2. Renames Keyman for Windows help files to .htm, because that's what
   the .chm format is expecting, and what Delphi assumes for its .chm
   integration, and thus splits the html and htm lua filters.
3. Renames and makes more consistent the various context help pages.
4. Adds redirects for all pages that have sufficient content on other
   pages.
5. Fixes the instantiation of help in various Keyman for Windows forms.
6. Defaults to opening help from the Keyman source repo if the calling
   app is running in the source repo (this is just a development-side
   tweak that simplifies my life).
2021-03-09 12:35:43 +11:00
jahorton
989a171756 docs(ios): adds supported l10ns to help/about/whatsnew 2021-03-09 08:23:01 +07:00
Marc Durdin
9f7134427b chore: merge master into branch 2021-03-09 09:33:14 +11:00
Marc Durdin
12a7d818bc fix(windows): show version selector for Keyman in installer
Fixes #4409.

If a user attempts to install an older version of Keyman, they need to
be able to choose to install the older version, and not the newer one
offered to them from online. However, the selector was hidden in the
Install Options dialog, even when it should have been accessible.
2021-03-09 08:42:33 +11:00
Marc Durdin
4a74d4767f fix(windows): represerve keys on setfocus
Fixes #4557.

When focus changes, we need to re-run `_PreserveAltKeys` as settings may
have changed, meaning we have to preserve a different set of keys. I
also made the `_PreserveAltKeys` function idempotent so that we don't
have to worry about cleanup before calling it -- by calling the cleanup
function internally instead.
2021-03-09 08:19:23 +11:00
Eberhard Beilharz
d3cf2374aa
Merge pull request #4621 from keymanapp/chore/linux/debian
chore(linux): Fix some lintian warnings for Debian package
2021-03-08 20:46:38 +01:00
Eberhard Beilharz
4599ce9912
Update linux/LICENSE.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-03-08 20:46:20 +01:00
Marc Durdin
9bc6beb6e7
Merge pull request #4620 from keymanapp/fix/web/4566-undefined-in-ui-toolbar-menu
fix(web): use language code correctly in toolbar
2021-03-09 06:05:42 +11:00
Eberhard Beilharz
337039639b
chore(linux): Force signature verification
The previous setting didn't complain if uscan didn't find a signature
which doesn't help security wise. It would still allow an attacker
to modify the source package. This change now requires a valid
signature for the source package.
2021-03-08 19:42:07 +01:00
Eberhard Beilharz
e371fcb8b8
chore(linux): Verify signed source packages 2021-03-08 19:29:27 +01:00
Eberhard Beilharz
ec6ddf7e97
chore(linux): Fix more lintian warnings 2021-03-08 18:27:11 +01:00
Eberhard Beilharz
22ba0d6866
chore(linux): Clarify licenses 2021-03-08 18:26:50 +01:00
Eberhard Beilharz
3a78ef4be1
chore(linux): Fix some lintian warnings for Debian package 2021-03-08 17:38:28 +01:00
Marc Durdin
968c825787 fix(web): use language code correctly in toolbar
Fixes #4566.

When the toolbar shows a differentiation for the language code, it was
not using the correct minification-safe property name, which resulted in
`[undefined]` being displayed instead.
2021-03-08 21:39:16 +11:00
Keyman Server
ff8ae8b04b
Merge pull request #4618 from keymanapp/auto/version-beta-14.0.254
auto: increment beta version to 14.0.254
2021-03-06 05:03:47 +11:00
Keyman Build Agent
56af93f82f auto: increment beta version to 14.0.254 2021-03-05 13:02:56 -05:00
Marc Durdin
44be3541af
Merge pull request #4606 from keymanapp/fix/developer/4583-expand-file-names-before-load
fix(developer): Expand filenames before load
2021-03-05 19:38:54 +11:00
Eberhard Beilharz
6a0dac5af8
Merge pull request #4589 from keymanapp/chore/linux/sentry
chore(linux): Improve Sentry environment setting
2021-03-05 08:49:29 +01:00
Darcy Wong
a3054859b4
Merge pull request #4610 from keymanapp/docs/android/localized-languages
chore(android/app): Update whatsnew with available display languages
2021-03-05 11:50:49 +07:00
Darcy Wong
125999efb8 chore(android): Move KMEA breaking changes to help repo 2021-03-05 10:44:33 +07:00
Marc Durdin
791edee8ba
Merge pull request #4596 from keymanapp/fix/windows/4591-incxstr-potential-buffer-overrun
fix(windows): incxstr could run over buffer with malformed data
2021-03-05 14:18:02 +11:00
Darcy Wong
c47a6d1972 chore(android): Update whatsnew
* List available display languages
* Add KMEA breaking changes
2021-03-05 10:01:32 +07:00
Marc Durdin
c10b010d59 fix(developer): Expand filenames before load
Fixes #4583.
2021-03-05 13:44:55 +11:00
Joshua Horton
361f5685cd
Merge pull request #4568 from keymanapp/fix/ios/2197-app-browser-pkg-downloads
fix(ios): support for direct downloads of .kmp packages from within the in-app browser
2021-03-05 09:15:22 +07:00
Marc Durdin
a190cc6ff0
Merge pull request #4592 from keymanapp/fix/developer/2241-expansions-cleanup
fix(developer): tidy up expansions tests
2021-03-05 13:14:43 +11:00
Marc Durdin
be2d969775
Merge pull request #4595 from keymanapp/fix/windows/preserved-keymap-mapuschartovk
fix(windows): PreservedKeyMap::MapUSCharToVK line order bug
2021-03-05 13:12:35 +11:00