Commit graph

11521 commits

Author SHA1 Message Date
jahorton
6f75842e1e feat(ios): adds a good comparison unit test for the no-defaults one 2021-03-12 15:51:51 +07:00
jahorton
28c26b03c9 chore(ios): cleans up resource-bundler 'test' 2021-03-12 15:14:52 +07:00
jahorton
a7abc7c1cf feat(ios): unit test for app update - no installed defaults 2021-03-12 15:11:33 +07:00
jahorton
5317a517ef fix(ios): properly respects user customizations from 12.0 and 13.0 during app upgrade 2021-03-11 15:16:34 +07:00
jahorton
c0d448b5e3 refactor(ios): app version migration only needs basic resource IDs 2021-03-11 14:16:37 +07:00
jahorton
40140e8ee4 fix(ios): respects customizations after v12 during version upgrades 2021-03-11 14:05:31 +07:00
Joshua Horton
27066c59da
Merge pull request #4638 from keymanapp/fix/web/4614-event-element-tracking
fix(web): event handling for TouchAliasElement's blinking caret
2021-03-11 08:09:01 +07:00
Marc Durdin
1311d100e6
Merge pull request #4635 from keymanapp/fix/windows/4490-4435-transient-profiles-and-invalid-language-codes
fix(windows): Handle disabled profiles and invalid language ids
2021-03-11 09:11:44 +11:00
Marc Durdin
7436643726
Merge pull request #4628 from keymanapp/fix/windows/4619-hotkeys-correctly-ignore-right-modifiers
fix(windows): hotkeys correctly ignore right modifier keys
2021-03-11 09:11:32 +11:00
Marc Durdin
3e45d9d1cb
Merge pull request #4626 from keymanapp/fix/windows/4558-context-help-links
fix(windows): context help links
2021-03-11 09:11:25 +11:00
Keyman Server
38521fa330
Merge pull request #4643 from keymanapp/auto/version-beta-14.0.258
auto: increment beta version to 14.0.258
2021-03-10 21:58:52 +11:00
Keyman Build Agent
7321dd8570 auto: increment beta version to 14.0.258 2021-03-10 05:58:10 -05:00
Eberhard Beilharz
00cfd4daa7
Merge pull request #4642 from keymanapp/docs/common/readme
docs(common): Update readme
2021-03-10 11:56:33 +01:00
Eberhard Beilharz
7ab906ab74
docs(common): Update readme 2021-03-10 11:41:20 +01:00
Darcy Wong
71287d93d6
Merge pull request #4640 from keymanapp/fix/common/core/web/keyboard-check-kdu
fix(common/core/web): Add keyboard check for scriptObject
2021-03-10 16:26:36 +07:00
Keyman Server
59cb41d8a7
Merge pull request #4641 from keymanapp/auto/version-beta-14.0.257
auto: increment beta version to 14.0.257
2021-03-10 19:36:56 +11:00
Keyman Build Agent
6dba7e048b auto: increment beta version to 14.0.257 2021-03-10 03:36:09 -05:00
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
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
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
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
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