Commit graph

915 commits

Author SHA1 Message Date
Eberhard Beilharz
fd15bf4eb3
fix(linux): Fix Makefile and instructions for building
Building km-config now requires an additional step so that
generates `lang_tags_map.py`. During a package build this happens in
`reconf.sh`. This change updates the documentation, and also adds
this build step to the Makefile, so that the file gets generated
when building from the command line.

Closes #5074.
2021-05-27 18:39:01 +02:00
Eberhard Beilharz
9c01ef9536
Merge pull request #5146 from keymanapp/chore/linux/updchangelog
chore(linux): Update changelogs 🍒
2021-05-26 10:44:37 +02:00
Eberhard Beilharz
c7cbb7cae4
docs(linux): Update readme
- remove mention of `scim_kmfl_imengine` which we recently removed
- reformat list of required packages
2021-05-25 14:35:24 +02:00
Eberhard Beilharz
6d1adee2ee
chore(linux): Update changelogs
(cherry picked from commit d2532fa335)
2021-05-25 14:28:55 +02:00
Eberhard Beilharz
2d225f65a0
Merge pull request #5115 from keymanapp/chore/linux/issue-4768
chore(linux): Remove unnecessary dependency on kmflcomp
2021-05-20 08:41:45 +02:00
Eberhard Beilharz
adad64fa60
Merge pull request #5113 from keymanapp/chore/linux/moredependency
chore(linux): Swap order of dependency
2021-05-20 08:41:18 +02:00
Eberhard Beilharz
0bde18d118
Merge pull request #4932 from keymanapp/refactor/linux/InstallKmp
refactor(linux): Refactor `install_kmp.py`
2021-05-20 08:41:05 +02:00
Darcy Wong
d7ab98f3d6
Merge pull request #5102 from keymanapp/chore/common/crowdin-am
chore(common): Check in crowdin strings for Amharic
2021-05-20 05:46:41 +07:00
Eberhard Beilharz
8c8823f7ab
chore(linux): Swap order of dependency
This was already partially done in 4dd0a48b2, but we missed this
line.
2021-05-19 17:11:45 +02:00
Eberhard Beilharz
13a31f4079
chore(linux): Remove unnecessary dependency on kmflcomp
Closes #4768.
2021-05-19 17:07:06 +02:00
Darcy Wong
f31edd8b52 chore(common): Check in crowdin strings for Amharic 2021-05-19 09:12:39 +07:00
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
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
01a9c36d53
fix(linux): Fix Caps Lock
Closes #4542.
2021-05-11 17:51:01 +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
Darcy Wong
99c036eec6
Merge pull request #4992 from keymanapp/chore/common/crowdin-az
chore(common): Check in crowdin files for Azerbaijani
2021-05-07 13:41:59 +07:00
Eberhard Beilharz
3ef4b99406
chore(linux): Add support for Ubuntu 21.04 (hirsute)
Closes #5021.
2021-05-05 10:49:03 +02:00
Darcy Wong
923d8be745 fix(common): Remove whitespace for formatting 2021-04-30 09:08:41 +07:00
Darcy Wong
fa72dc5506 chore(common): Update some more strings 2021-04-28 23:15:59 +07:00
Darcy Wong
ab7e7f7ff1 chorre(common): Check in crowdin files for Azerbaijani 2021-04-28 15:17:25 +07:00
Eberhard Beilharz
3adc8e8695
Merge pull request #4971 from keymanapp/fix/linux/issue-4908
fix(linux): Fix crash with incomplete metadata (#4908)
2021-04-26 00:01:13 -07:00
Eberhard Beilharz
31a0de32fe
fix(linux): Fix crash with incomplete metadata (#4908) 2021-04-23 11:39:27 +02:00
Eberhard Beilharz
319b7d20ee
fix(linux): Don't crash if kmp file vanishes (fixes #4907) 2021-04-23 11:13:46 +02:00
Eberhard Beilharz
599b602603
chore(linux): Merge branch 'master' into feat/linux/sentry
# Conflicts:
#	linux/keyman-config/keyman_config/handle_install.py
2021-04-20 11:49:43 +02:00
Eberhard Beilharz
9fcddb8afa
fix(linux): Set userid instead of username
Username expects a string, so we set the userid instead.
2021-04-20 11:46:15 +02:00
Eberhard Beilharz
9d7be1b6b5
feat(linux): Log some errors as critical
Some errors we want to be reported on Sentry, so we change those
to critical.
2021-04-20 11:45:07 +02:00
Eberhard Beilharz
68f9fd315e
feat(linux): Use hash of username 2021-04-20 11:14:23 +02:00
Eberhard Beilharz
4ac6b83088
Merge pull request #4913 from keymanapp/chore/linux/cleanup
chore(linux): Remove experimental scripts
2021-04-20 02:09:07 -07:00
Eberhard Beilharz
0845a9d6c8
Merge pull request #4912 from keymanapp/fix/linux/issue-4911
fix(linux): Don't crash on network problem (fixes #4911)
2021-04-20 02:03:18 -07:00
Eberhard Beilharz
09fe5e86a5
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
- log username in crash report
2021-04-19 18:56:06 +02:00
Eberhard Beilharz
28347053b3
chore(linux): Remove experimental scripts 2021-04-19 18:09:56 +02:00
Eberhard Beilharz
1c04d5200c
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.
2021-04-19 18:06:14 +02:00
Eberhard Beilharz
801810f72c
fix(linux): don't crash on legacy non-Unicode files
If we encounter a legacy non-Unicode file we now simply ignore the
file instead of crashing.

This fixes #4876.

(cherry picked from commit 59c45c4671)
2021-04-19 16:14:41 +02:00
Eberhard Beilharz
0e3c672b63
fix(linux): Fix crash if <kbd>.json doesn't contain description
This fixes #4823. Cherry-pick of PR #4835.

(cherry picked from commit ebe49cfc6f)
2021-04-01 12:26:16 +02:00
Darcy Wong
41745a7b0d chore(common): Check in crowdin for Fulah 2021-04-01 09:12:31 +07:00
Eberhard Beilharz
5c1c114e5d
fix(linux): Fix crash if query doesn't contain bcp47 tag (#4800)
(cherry picked from commit c9de93d478)
2021-03-29 09:14:38 +02:00
Marc Durdin
77e71df81b chore: Merge branch 'master' into chore/B14S8-beta-to-master 2021-03-22 06:16:44 +11:00
Eberhard Beilharz
044e53198a
fix(linux): Fix switching to keyboard in middle of line (#4678)
Don't re-set context if it changed because the cursor location was
wrong. When the user switches to the EuroLatin keyboard in the
middle of the line, we're getting a wrong cursor location. This will
be fixed with the next keypress, but it leads to the context string
suddenly having more characters added to the front. If we re-set the
context because it's different now we will loose the information we
previously added to the context.

We now compare the end of the string. If the new context string ends
with the old context string we assume that the cursor position got
updated and don't re-set the context.

This fixes #4678.
2021-03-18 17:29:21 +01:00
Eberhard Beilharz
16dd9f9369
chore(linux): Ignore buildtools in keyman-config tarball
`buildtools/build-langtags.py` gets executed before creating the
source tarball, so we don't need it in the source package. Excluding
it reduces confusion because the files it requires are not found
in the source package.
2021-03-15 12:44:41 +01:00
Darcy Wong
be6a906f79
Merge pull request #4672 from keymanapp/chore/common/crowdin-de-b14s8-utf8
chore(android/app,ios/app): Update crowdin for de
2021-03-15 13:58:03 +07:00
Darcy Wong
abfb1657eb chore(common): Update crowdin for de 2021-03-15 13:16:34 +07:00
Darcy Wong
718279b574 chore(common): Update crowdin for km 2021-03-15 13:11:17 +07:00
Eberhard Beilharz
9a4b9f0bca
chore(linux): Move signature files as well
This will take care of another lintian warning on Debian.
2021-03-11 17:09:19 +01:00
Eberhard Beilharz
3a092d4998
chore(linux): Update readme 2021-03-09 16:59:16 +01:00
Marc Durdin
9f7134427b chore: merge master into branch 2021-03-09 09:33:14 +11:00
Eberhard Beilharz
4599ce9912
Update linux/LICENSE.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-03-08 20:46:20 +01: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