Commit graph

12183 commits

Author SHA1 Message Date
Eberhard Beilharz
6d12d6a75d
Merge pull request #6053 from keymanapp/fix/linux/cherry/issue-5817_version
fix(linux): fix release version number for Sentry reporting 🍒
2021-12-16 08:53:03 +01:00
Eberhard Beilharz
dc22966aa2 fix(linux): fix release version number for Sentry reporting
Fixes #5817.

(cherry picked from commit 10c7d88eb9)
2021-12-15 10:55:55 +01:00
Eberhard Beilharz
a30f04cc05
Merge pull request #6007 from keymanapp/chore/linux/packaging
chore(linux): Update changelogs for 14.0.283 📦
2021-12-04 21:14:16 +01:00
Eberhard Beilharz
708b957bf2
chore(linux): Update changelogs for 14.0.283 2021-12-03 18:09:08 +01:00
Eberhard Beilharz
100104656e
Merge pull request #5998 from keymanapp/chore/linux/packaging
chore(linux): Allow to specify debian revision
2021-12-03 16:56:18 +01:00
Eberhard Beilharz
5be37bc939
chore(linux): Allow to specify debian revision
This change allows to specify the debian revision when creating
source packages for Debian.
2021-12-02 12:01:25 +01:00
Eberhard Beilharz
4fc88d1d75
Merge pull request #5993 from keymanapp/chore/linux/packaging
chore(linux): Remove lintian warning
2021-12-02 09:27:22 +01:00
Darcy Wong
fabda9facf
Merge pull request #5990 from keymanapp/cherrypick/android/5987-font-path
fix(android/engine): Fix font paths 🍒
2021-12-02 11:24:26 +07:00
Eberhard Beilharz
0302943c98
chore(linux): Remove lintian warning
Lintian complained "missing-build-dependency-for-dh-addon" which
I'm not entirely sure is correct. However, there is an easy
workaround by removing an unnecessary parameter.
2021-12-01 18:52:08 +01:00
Darcy Wong
c3e94beffa fix(android/engine): Fix font paths 2021-12-01 09:01:07 +07:00
Eberhard Beilharz
cb53c5213e
Merge pull request #5975 from keymanapp/fix/linux/pr-builds
fix(linux): Add test targets to Makefile 🎫
2021-11-29 08:13:47 +01:00
Eberhard Beilharz
3633ac7f05
fix(linux): Add test targets to Makefile
The test targets got added on the `master` branch and the TC
configuration adjusted so that PR builds run the tests. This change
adds these targets (but without running ibus-keyman tests) to the
stable branch, so that TC builds for PRs will work.
2021-11-26 11:02:52 +01:00
Marc Durdin
2670bc582e
Merge pull request #5948 from keymanapp/fix/web/stable/5912-popupbasekey-null-check
fix(web): popupBaseKey null check
2021-11-25 14:47:58 +11:00
Darcy Wong
e42f6df9f2
Merge pull request #5934 from keymanapp/chore/android/api-30
chore(android,oem/fv/android): Update targetSDKVersion to 30 🍒
2021-11-23 14:47:23 +07:00
Marc Durdin
da32fbc255 fix(web): popupBaseKey null check
Fixes #5912.

Corresponding alpha fix coming.
2021-11-19 13:46:15 +11:00
Darcy Wong
878651b235 chore(oem/fv/android): Update targetSDKVersion to 30 2021-11-18 08:27:42 +07:00
Darcy Wong
e7fdd6c8ff chore(android): Update targetSDKVersion to 30 2021-11-18 08:27:12 +07:00
Keyman Server
5745e886fb
Merge pull request #5931 from keymanapp/auto/version-stable-14.0-14.0.284
auto: increment stable-14.0 version to 14.0.284
2021-11-18 07:28:42 +11:00
Keyman Build Agent
6d27063b5e auto: increment stable-14.0 version to 14.0.284 2021-11-17 15:28:00 -05:00
Marc Durdin
9d27782543
Merge pull request #5916 from keymanapp/fix/web/cherry-pick/5831-remove-canvas-for-ios-compat
fix(web): remove canvas use for iOS compatibility 🍒
2021-11-18 07:23:24 +11:00
Marc Durdin
22cd0e2675 chore: avoid error when running in unit tests 2021-11-17 07:32:49 +11:00
Marc Durdin
09a7e19913 chore: remove obsolete drawPreview 2021-11-16 17:47:16 +11:00
Marc Durdin
d55df2e630 fix(web): remove canvas use for iOS compatibility 🍒
Fixes #5831.

Cherry-pick of #5915.

iOS 15 has a significant crashing bug whereby use of a canvas element
completely crashes the browser in some contexts. In particular, we have
observed this when using a WKWebView in a keyboard extension without
'Allow Full Access' switched on.

Keyman uses canvas element to draw a nice looking key preview (key tip)
on iPhones. This is a critical issue for Keyman for iPhone. Keyman for
iPad is not affected because the iPad version does not use key previews.

The resolution here is to remove use of the canvas drawing for key tips
and use a simplified pure HTML/CSS shape. I have not conditioned this
fix on platform; I have currently opted to apply this to all platforms.

This issue will be reported to Apple for resolution. The issue applies
so far to iOS 15.0, 15.1.
2021-11-16 17:30:04 +11:00
Marc Durdin
a7580a2fdf
Merge pull request #5806 from keymanapp/fix/ios/cherry-pick/sentry-cli-settings
fix(ios): move sentry settings responsibility to build agent 👮‍♂️ 🍒
2021-10-07 16:35:50 +11:00
Marc Durdin
4ac8ca9085 fix(ios): move sentry settings responsibility to build agent
The build agent already has the relevant `SENTRY_` environment variables
set in order to complete builds for all projects. Thus, we should
exclude these values from the xcode build. However, we need to ensure
that the `SENTRY_URL` and `SENTRY_ORG` variables are imported into the
xcode environment from the build agent environment.
2021-10-07 13:56:31 +11:00
Marc Durdin
627eb662c7
Merge pull request #5775 from keymanapp/fix/windows/cherry-pick/5091-default-language
fix(windows): handle edge cases using default language 🍒
2021-10-06 08:09:10 +11:00
Marc Durdin
e027341d47
Merge pull request #5788 from keymanapp/chore/cherry-pick/sentry-io
chore: sentry.io dsn 👮‍♂️ 🍒
2021-10-06 07:33:02 +11:00
Eberhard Beilharz
bc308ad42d
Merge pull request #5754 from keymanapp/fix/linux/5753
fix(linux): Don't crash with non-keyboard package file
2021-10-05 09:29:28 +02:00
Eberhard Beilharz
ef0abc5080
Merge pull request #5793 from keymanapp/chore/linux/changelog
chore(linux): Update changelog files for 14.0.282
2021-10-05 08:43:37 +02:00
Marc Durdin
f916a2cea1 chore(linux): use secret in legacy sentry setup 2021-10-05 09:30:55 +11:00
Marc Durdin
d5b337ec1c chore: remove sentry exported variables (rely on build configuration) 2021-10-05 09:27:11 +11:00
Eberhard Beilharz
b531ea187c
chore(linux): Update changelog files for 14.0.282
This updates the changelog files to match what got uploaded into
Debian unstable (sid).
2021-10-04 17:32:20 +02:00
Eberhard Beilharz
dab6b49150
Merge pull request #5757 from keymanapp/fix/linux/5756
fix(linux): Don't crash displaying keyboard details
2021-10-04 12:21:57 +02:00
Marc Durdin
2e75ed0270 chore: additional sentry.io links 2021-10-04 15:23:44 +11:00
Marc Durdin
35d1d2dde8 chore: sentry.io dsn 2021-10-04 15:23:31 +11:00
Marc Durdin
5b134219fa
Merge pull request #5783 from keymanapp/fix/common/cherry/cherry-pick
fix(common): Fix cherry-pick labeling (🍒)
2021-10-01 06:04:43 +10:00
Eberhard Beilharz
30707f6229
fix(common): Fix cherry-pick labeling
My previous commit escaped the parens which should be part of the
regex.

(cherry picked from commit 01789142bc)
2021-09-30 17:01:20 +02:00
Eberhard Beilharz
032b670385
Merge pull request #5773 from keymanapp/chore/common/cherry/cherry-pick
chore(common): Enhance cherry-pick labeling 🍒
2021-09-30 09:03:54 +02:00
Eberhard Beilharz
b1d581abb3
Merge pull request #5772 from keymanapp/fix/linux/cherry/debian
fix(linux): Fix debian package script 🍒
2021-09-30 09:03:22 +02:00
Marc Durdin
016ed586c2
Merge pull request #5764 from keymanapp/chore/copy-15-reference-to-14
chore(linux): copy Keyman for Linux 15 reference to 14
2021-09-30 14:25:59 +10:00
Marc Durdin
dac9e80c97 fix(windows): unit test os version 2021-09-30 06:23:15 +10:00
Eberhard Beilharz
f7c0a26c80
chore(common): Enhance cherry-pick labeling
So far we only check for the 🍒 emoji character to add
the cherry-pick label. GitHub now also supports emoticons as text
in PR titles. This change adds the detection of the `🍒`
text.

(cherry picked from commit cf9cdf869e)
2021-09-29 12:42:23 +02:00
Eberhard Beilharz
210718bc4b
fix(linux): Fix debian package script
(cherry picked from commit 1fd26dcf88)
2021-09-29 12:36:24 +02:00
Eberhard Beilharz
fb1768b0ac
chore: regenerate km-config reference file
km-config in version 14 has slightly different parameters. This
change regenerated (and hand-massaged) the reference help file
for 14.0
2021-09-29 12:05:29 +02:00
Marc Durdin
66ddceadda fix(windows): change canonicalization strategy for Windows 7
On Windows 7, we will no longer attempt to canonicalize BCP 47 tags in
the same was as on later OS versions, because there appear to be some
significant differences in how they work, for example, zh-CN is not
converted to zh-Hans-CN on Windows 7, whereas it is on Windows 10.

This commit also refreshes the `KLog` unit which is useful for debugging
these types of scenarios.
2021-09-29 17:30:35 +10:00
Marc Durdin
1aac15fec8 chore(windows): Apply suggestion
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2021-09-29 17:29:37 +10:00
Marc Durdin
98aa017318 fix(windows): handle edge cases using default language
Fixes #5091.

If the user has a default language that is not a minimal BCP47 tag, such
as `zh-Hans-CN` vs `zh-CN`, or if the default language does not have a
mapping in our `TLanguageCodeUtils.TranslateWindowsLanguagesToBCP47`
function, then kmshell would crash on install of a keyboard that had no
language metadata specified (i.e. neither legacy metadata in .kmx nor
modern metadata in .kmp).

This crash arose because the elevated instance of kmshell would install
a local-machine reference to `zh-CN` (as it back-translated from a
LangID), but the current user install would look for `zh-Hans-CN`, read
from the Windows registry `HKCU\Control Panel\International\User Profile`.

To further complicate matters, it is possible for the current user to
have a different default language than the elevated user on the machine.
Keyman was assuming that the default language was the same in both
cases.

This fix passes in the current user's default BCP47 and LangID to the
elevated portion of the keyboard install, so we can guarantee that
keyboard install which needs to use the default language, actually
installs for the current user's actual language code, and not a
canonicalized version (or a totally different code in the case of
elevation to an alternate admin user account).
2021-09-29 17:29:34 +10:00
Marc Durdin
7cd1a9cc40
Merge pull request #5766 from keymanapp/chore/windows/cherry-pick/help-broken-links
chore(windows): fix broken links in help 🍒
2021-09-29 12:35:11 +10:00
Marc Durdin
063cee0a1d chore(windows): fix broken links in help 2021-09-29 07:19:45 +10:00
Marc Durdin
ce28a5a29d chore: copy Keyman for Linux 15 reference to 14
As we auto-generate the reference docs for 15.0, but not 14.0, let's
just copy the version 15 docs into 14 so we have them available online.

Query: are the docs accurate for 14.0 or have options changed?
2021-09-29 06:54:43 +10:00