Commit graph

928 commits

Author SHA1 Message Date
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
Marc Durdin
f916a2cea1 chore(linux): use secret in legacy sentry setup 2021-10-05 09:30:55 +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
35d1d2dde8 chore: sentry.io dsn 2021-10-04 15:23:31 +11: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
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
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
Eberhard Beilharz
3d44b9987d
fix(linux): Don't crash displaying keyboard details
At least one user got a crash trying to click on the "About" button
to display keyboard details for the ekwtamil99uni keyboard. I can't
reproduce the problem, but this change adds additional code that
should prevent the crash from happening.

Fixes #5756.
2021-09-27 17:34:36 +02:00
Eberhard Beilharz
98e1269ae2
fix(linux): Don't crash with non-keyboard package file
If a user tries to a install a model .kmp file, we now display a
message box instead of crashing.

Fixes #5753.
2021-09-27 16:58:48 +02:00
Eberhard Beilharz
d70bfd3f19
fix(linux): list packages to build in Jenkinsfile 2021-08-27 12:54:22 +02:00
Eberhard Beilharz
91b7817950
fix(linux): Use first keyboard language if none given
This fixes a bug introduced in #3290 where we added using the
language from search. Unfortunately that broke things in a lot of
other places because we didn't test for the empty string.

(cherry picked from commit fe0e423433)
2021-08-27 12:34:26 +02:00
Eberhard Beilharz
c35b7e86a3
chore(linux): Update changelog files
This updates the changelog files to match what got uploaded into
Debian unstable (sid).
2021-08-25 16:53:35 +02:00
Eberhard Beilharz
b353b65eb4
Merge pull request #5625 from keymanapp/chore/linux/cherry/sentry
chore(linux): Fix uploading to Sentry 🍒
2021-08-25 15:06:11 +02:00
Eberhard Beilharz
170d73d027
chore(linux): Fix uploading to Sentry
On local builds we shouldn't upload errors to Sentry. The
`build-utils.sh` script sets the `UPLOAD_SENTRY` environment variable
for that purpose. Also, Sentry doesn't like having an empty string
as pkgversion (which should no longer happen with the rest of this
change, but...)
2021-08-23 18:34:32 +02:00
Eberhard Beilharz
aa8a0547e8
chore(linux): Improve debian package script
- allow to specify distribution
2021-08-23 18:28:33 +02:00
Eberhard Beilharz
61ffd6222d
Merge pull request #5590 from keymanapp/fix/linux/cherry/5575-badzipfile
fix(linux): Check for valid kmp file 🍒
2021-08-19 12:02:56 +02:00
Eberhard Beilharz
2c07c99239
fix(linux): Check for valid kmp file
Before trying to install we now check if it's a valid zip file.
This fixes #5575.

(cherry-picked from PR #5583)
2021-08-17 11:51:50 +02:00
Eberhard Beilharz
ac78cc7a94
fix(linux): Handle corrupt icon file
Fixes #5584.

(cherry picked from commit c8049a0cd2)
2021-08-17 11:48:13 +02:00
Eberhard Beilharz
d10a3322d7
fix(linux): fix crash trying to display QR code
Fixes #5526.
2021-07-30 09:45:04 +02:00
Eberhard Beilharz
33a0e14e60
chore(linux): Fix dependency versions
Keyman 15 introduces breaking changes. When building Keyman 14 we
need to use the Keyman 14 dependencies to avoid broken builds.
2021-07-28 10:25:27 +02:00
Eberhard Beilharz
38821fd395
chore(linux): Remove Groovy builds
**Groovy** is end-of-life.

(cherry picked from commit 219e304d7b)
2021-07-28 09:11:05 +02:00
Eberhard Beilharz
7446d8d711
fix(linux): Don't crash with corrupt keyboard
If we try to install a keyboard that's missing some metadata
we shouldn't crash.

Fixes #5384, #5385. Cherry-pick of #5414.

(cherry picked from commit 3bd0173954)
2021-07-02 12:02:51 +02:00
Eberhard Beilharz
e2c1732e53
Merge pull request #5413 from keymanapp/fix/linux/cherry/issue-5309
fix(linux): Fix restarting ibus when running with `sudo` 🍒
2021-07-02 10:06:55 +02:00
Eberhard Beilharz
207b843508
Merge pull request #5411 from keymanapp/fix/linux/cherry/issue-5310
fix(linux): Save QR code in temporary directory 🍒
2021-07-02 10:06:44 +02:00
Eberhard Beilharz
cf03a2b2e0
fix(linux): Fix restarting ibus when running with sudo
When installing in the shared area the user has to run
`km-package-install` with sudo so that he has sufficient permissions.
In that case we have to do extra work to restart ibus for the
logged-in user instead of root.

Fixes #5309. Partial cherry-pick of #5371.

(cherry picked from commit 0a2dd29e53)
2021-07-01 11:12:37 +02:00
Eberhard Beilharz
13e02788ca
fix(linux): Save QR code in temporary directory
Fixes #5310. Partial cherry-pick of #5373.

(cherry picked from commit 768de5f66b)
2021-07-01 11:05:49 +02:00
Eberhard Beilharz
0a67c59ad5
fix(linux): Improve bitmap conversion
Converting some bitmaps fail with a truncation error. This change
allows to successfully convert the bitmap files.

Fixes #5400. Cherry-pick of #5401.

(cherry picked from commit f519c2447d)
2021-07-01 11:01:21 +02:00
Eberhard Beilharz
ea0807e259
fix(linux): Don't add duplicate entries when reinstalling keyboard
When we update/reinstall an existing keyboard we don't want to
add a new entry to the list of keyboards.

Fixes #5308.

(cherry picked from commit 70b88790df)

# Conflicts:
#	linux/keyman-config/keyman_config/install_kmp.py
2021-06-25 09:53:19 +02:00
Gunnar Hjalmarsson
12e2c4c2c1
fix(linux): Add libglib2.0-bin to keyman Depends
Fixes #5344
2021-06-24 10:46:24 +02:00
Gunnar Hjalmarsson
5a58794f8f
chore(linux): Build also on riscv64 to facilitate migration on Ubuntu 2021-06-21 11:36:48 +02:00
Eberhard Beilharz
f91b52d3ea
chore(linux): Update changelogs to match Debian
The changelogs should match what got uploaded (and accepted) to
Debian so that the changelog reflects the upload history to Debian.
2021-06-17 15:10:59 +02:00
Darcy Wong
c27d971854 chore(common): Add YouTube links to Keyman 14 features 2021-06-15 07:27:27 +07:00
Eberhard Beilharz
64b77c98e5 fix(linux): Exclude s390x from package builds for ibus-keyman
ibus-keyman depends on keyman-keyboardprocessor which we don't
build for s390x because we currently don't support big-endian.
We only build for the same architectures as keyman-keyboardprocessor.

(cherry picked from commit f0e2c848c3)
2021-06-03 13:05:53 +02:00
Eberhard Beilharz
705d56a436
Merge pull request #5114 from keymanapp/chore/linux/cherry/moredependency
chore(linux): Swap order of dependency 🍒
2021-05-20 08:41:32 +02:00
Darcy Wong
f9db2e5efe chore(common): Check in crowdin strings for Amharic 2021-05-20 05:47:59 +07:00
Eberhard Beilharz
d1829843af
chore(linux): Swap order of dependency
This was already partially done in 695ee6fde, but we missed this
line.

(cherry picked from commit 8c8823f7ab)
2021-05-19 17:16:27 +02:00
Eberhard Beilharz
d2532fa335
chore(linux): Update changelogs 2021-05-11 18:38:19 +02:00
Eberhard Beilharz
05c3980e71
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.

(cherry picked from commit 4dd0a48b2b)
2021-05-11 16:56:58 +02:00
Marc Durdin
050d13cb30
Merge pull request #5058 from keymanapp/fix/linux/cherry-pick/4542-caps-lock
fix(linux): Enable caps lock support 🍒
2021-05-11 11:50:55 +10:00
Marc Durdin
f203f6e765 fix(linux): Enable caps lock support 🍒
Cherry-pick of #5054.

Fixes #4542.

While #5054 will use a constant, for this backport I am just going to
hard code the value, at least for now.
2021-05-11 08:43:44 +10:00
Darcy Wong
3a25e5a5a3 Merge remote-tracking branch 'origin/stable-14.0' into cherrypick/common/4992-crowdin-az 2021-05-10 10:32:12 +07:00
Darcy Wong
75220054d9 chore(common): Check in crowdin files for Azerbaijani 2021-05-07 13:49:11 +07:00
Eberhard Beilharz
8420b64609
chore(linux): Add support for Ubuntu 21.04 (hirsute)
Closes #5021.

(cherry picked from commit 3ef4b99406)
2021-05-06 15:03:33 +02:00
Eberhard Beilharz
c8eccb53e9
fix(linux): Fix crash with incomplete metadata (#4908)
(cherry picked from commit 31a0de32fe)
2021-04-26 09:16:43 +02:00
Eberhard Beilharz
2773a5aa5e
fix(linux): Don't crash if kmp file vanishes (fixes #4907)
(cherry picked from commit 319b7d20ee)
2021-04-23 11:53:15 +02:00
Eberhard Beilharz
127bc02ef1
feat(linux): Improve Sentry crash reporting
- don't log regular errors - those are handled and we report them
  to the user, but don't want to create a Sentry error
- report some errors, which we want to see on Sentry, as critical
- log hash of username in crash report

(cherry-pick of PR #4914)
2021-04-22 10:12:07 +02:00
Eberhard Beilharz
a28e37f4ed
fix(linux): Don't crash on network problem (fixes #4911)
If the network is down or the server name can't be resolved we
shouldn't crash. This change logs an error instead.

(cherry picked from commit 1c04d5200c)
2021-04-20 11:04:31 +02:00