Darcy Wong
df0153f8f9
Merge pull request #7498 from keymanapp/chore/common/crowdin-nl
...
chore(common): Add crowdin strings for Dutch
2022-10-27 20:25:33 +07:00
Darcy Wong
1bc6e6a06f
chore(common): Update crowdin strings for 16.0
2022-10-25 11:33:44 +07:00
Darcy Wong
8b781cdcff
chore(common): Update crowdin strings for Amharic
2022-10-25 09:39:56 +07:00
Darcy Wong
081c23c798
chore(common): Add crowdin strings for Dutch
2022-10-20 09:42:56 +07:00
Eberhard Beilharz
c891f870b6
fix(linux): Fix make install
...
Several fixes for building and installing locally.
Fixes #7397 . Closes #7398 . Closes #7400 .
2022-10-12 12:28:46 +02:00
Eberhard Beilharz
34b8e136b0
fix(linux): Fix ignored error
...
Previously we ignored an error that showed in the build logs
because the eval line got executed before calling reconf.sh which
created the version file. I think despite this error things worked,
but it didn't look nice to have and ignore a build error in the
build log.
Fixes #7275 .
2022-09-13 16:01:10 +02:00
Marc Durdin
f836574cbc
chore: use keyman.com instead of keyman-staging.com
...
Fixes #7227 .
We want to use keyman.com for now even for alpha builds, as
keyman-staging.com is going to be used for transition to Docker-based
hosting, and it will be problematic to try and share that process with
alpha builds.
2022-09-08 14:32:39 +10:00
Eberhard Beilharz
b1d201a3d7
feat(linux): Replace deprecated distutils
...
Fixes #6955
2022-08-08 16:38:35 +02:00
Eberhard Beilharz
6ee11d6b9b
fix(linux): Fix build on Bionic
...
Python 3.6 (used in Bionic) accepts `@dbus.service.signal(BUS_NAME)`,
and it accepts the `-> None` syntax, but not both together!?
2022-07-22 09:47:37 +02:00
Eberhard Beilharz
ac763ed9bd
fix(linux): Implement refresh after keyboard installation
...
This will refresh the list of installed keyboards even when we
install a keyboard from a command line tool, or from a second
km-config instance.
Closes #6785 .
2022-07-22 09:47:34 +02:00
Eberhard Beilharz
34f29bae76
Merge pull request #6968 from keymanapp/fix/linux/6967-permissions
...
fix(linux): Catch PermissionError exception
2022-07-22 06:43:40 +02:00
Eberhard Beilharz
9dc56edf07
Merge pull request #6963 from keymanapp/fix/linux/6962-uninstall
...
fix(linux): Fix uninstallation when using fcitx5
2022-07-20 09:10:42 +02:00
Eberhard Beilharz
ee03538a99
fix(linux): Catch PermissionError exception
...
If the user doesn't have the permission to create a directory we
now log an error.
Fixes #6967
2022-07-18 19:09:02 +02:00
Eberhard Beilharz
e9d12bd7f2
fix(linux): Fix previous commit
2022-07-18 17:40:05 +02:00
Eberhard Beilharz
d9d6e6de11
chore(linux): More import sorting
2022-07-18 17:10:01 +02:00
Eberhard Beilharz
28bd7d2055
fix(linux): Fix uninstallation when using fcitx5
...
Fixes #6962
2022-07-18 15:21:06 +02:00
Eberhard Beilharz
117ef77160
chore(linux): Sorting of imports
2022-07-18 15:19:50 +02:00
Eberhard Beilharz
0944d83f97
chore(linux): Code cleanup
...
Some reformatting.
2022-07-15 20:44:47 +02:00
Eberhard Beilharz
3180fc0c4e
Merge pull request #6841 from keymanapp/fix/linux/6813-KeyboardInterrupt-cherrypick
...
fix(linux): Catch KeyboardInterrupt 🍒
2022-06-27 09:33:55 +02:00
Eberhard Beilharz
d18d720687
fix(linux): Catch KeyboardInterrupt
...
When the user cancels km-config by pressing Ctrl-C we don't want
this to be reported on Sentry.
Fixes #6813 .
(cherry picked from commit 978c24e270 )
2022-06-24 08:48:26 +02:00
Eberhard Beilharz
afef8193d6
fix(linux): Deal with non-existing files
...
This change deals with files that are referenced in the keyboard
package but don't actually exist.
Fixes #6811 .
(cherry picked from commit b837a7fb86 )
2022-06-24 08:48:04 +02:00
Darcy Wong
7c3de5bbc3
chore(common): Merge remote-tracking branch 'origin/beta' into chore/common/crowdin-pl
2022-05-11 14:28:50 +07:00
Darcy Wong
7773cdfe22
chore(common): Add crowdin strings for Polish
2022-05-09 12:41:36 +07:00
Darcy Wong
384f8befcb
chore(common): Add crowdin strings for Italian
2022-05-09 11:04:12 +07:00
Darcy Wong
04985017ab
Merge pull request #6562 from keymanapp/chore/common/crowdin-ff-2
...
chore(common): Update Crowdin strings for Fula
2022-04-29 14:15:08 +07:00
Eberhard Beilharz
2d09619d51
fix(linux): Fix shared keyboard (un-)installation in Bionic
...
Ubuntu 18.04 Bionic comes with an older Python version (3.6) that
doesn't support the `capture_output` parameter on `subprocess.run`
which leads to a crash when installing or uninstalling keyboads to
the shared area. This change works around the problem by calling
a different method on Bionic.
Fixes #6564 .
2022-04-25 18:04:30 +02:00
Darcy Wong
e3e8e63a27
chore(common): Update Crowdin strings for Fula
2022-04-25 14:34:44 +07:00
Eberhard Beilharz
1cb0d48671
Merge pull request #6529 from keymanapp/chore/linux/l10n
...
chore(linux): Fix l10n language mappings
2022-04-14 09:13:02 +02:00
Darcy Wong
1e42d360c6
Merge pull request #6509 from keymanapp/chore/common/crowdin-pt
...
chore(common): Add Crowdin strings for Portuguese (pt-PT)
2022-04-14 06:11:02 +07:00
Eberhard Beilharz
6388afadce
chore(linux): Fix l10n language mappings
...
Also rename the .po files to match the new mappings:
- `bwr_NT.po` -> `brw_NG.po`: the language shows up as `bwr-ng` in
Crowdin, and there's no `NT` country code.
- `ha_HG.po` -> `ha.po`: the language shows up as `ha` in Crowdin and
there's no `HG` country code.
- `shu_latn.po` -> `shu@latin.po`: the convention seems to be to put
the script after `@` sign.
2022-04-13 11:44:06 +02:00
Eberhard Beilharz
5eb82d70a2
Merge pull request #6522 from keymanapp/fix/linux/6256-fileVersion
...
fix(linux): test fileVersion during package install
2022-04-13 10:10:02 +02:00
Eberhard Beilharz
4c1f6e7be2
fix(linux): Refactor and fix tests
...
- patch `is_fcitx_running()` so that tests will work without X11
- move common test code to methods
- move some tests to subtests
2022-04-12 12:09:55 +02:00
Eberhard Beilharz
ad2a6b713f
fix(linux): test fileVersion during package install
...
Fixes #6256
2022-04-11 18:22:46 +02:00
Eberhard Beilharz
3eb4b58a58
fix(linux): Remove tab completion warning
...
This is done by replacing the deprecated `imp` module.
Fixes #6227 .
2022-04-11 16:30:22 +02:00
Darcy Wong
6b2a71a76e
Merge pull request #6501 from keymanapp/chore/common/crowdin-km-spacebar
...
chore(common): Update km strings
2022-04-11 15:12:19 +07:00
Darcy Wong
f0e41833c4
chore(common): Add Crowdin strings for Portuguese
2022-04-08 11:36:18 +07:00
Darcy Wong
8770c705cb
chore(common): Update Crowding strings for Azerbaijani
2022-04-08 10:01:23 +07:00
Darcy Wong
45ca87dae1
chore(common): Update km strings
2022-04-07 21:58:07 +07:00
Darcy Wong
5bcac1b1bf
chore(common): Update crowdin strings for km
2022-03-31 20:59:07 +07:00
Darcy Wong
2d52719a00
chore(common): Update Hausa strings
2022-03-18 08:24:55 +07:00
Eberhard Beilharz
27c7ed025f
Merge pull request #6283 from keymanapp/fix/linux/6237-ibus
...
fix(linux): Don't start ibus-daemon multiple times 🚌
2022-03-15 18:55:28 +01:00
Eberhard Beilharz
0c78e44eda
chore(linux): Remove debug output
2022-03-15 17:53:46 +01:00
Eberhard Beilharz
cc0317af2c
fix(linux): Don't use restart option of exit()
...
Instead of trying to restart ibus by passing True to bus.exit()
we now exit ibus and then let verify_ibus_daemon() start it again.
Also added additional checks to verify that we're not running
multiple ibus-daemons at the start of km-config and before
restarting.
2022-03-11 18:14:02 +01:00
Eberhard Beilharz
412a9ea2fc
chore(linux): Fix another lintian warning
2022-03-11 09:24:38 +01:00
Eberhard Beilharz
4cad24cac3
chore(linux): Fix lintian warnings
2022-03-10 20:30:44 +01:00
Eberhard Beilharz
e6cf0327b7
chore(linux): Small improvements
...
- output error if more than one ibus-daemon is running
- log Keyman version after starting km-config
2022-03-09 18:37:59 +01:00
Eberhard Beilharz
92395ec1f6
fix(linux): Add some debug output
2022-03-08 17:43:19 +01:00
Eberhard Beilharz
e30c00733a
fix(linux): Don't start ibus-daemon multiple times
...
This change adds a 1s sleep after restarting ibus before checking
that it actually runs. Hopefully this will solve the problem. Since
this bug is hard to reproduce, we also log a critical error for the
other code path this could happen.
Fixes #6237 .
2022-03-07 18:22:06 +01:00
Marc Durdin
19d8faa077
Merge pull request #6287 from keymanapp/fix/linux/6285-makedirs
...
fix(linux): Gracefully handle makedirs failures
2022-03-02 09:02:09 +11:00
Eberhard Beilharz
e5b9b81806
fix(linux): Gracefully handle makedirs failures
...
This change catches the exception we're getting if we try to create
a directory but e.g. there is already a file with that name. In this
case we now output an error message. This change also gracefully
handles failures when linking files.
Fixes #6285 .
2022-02-24 18:13:03 +01:00