Commit graph

717 commits

Author SHA1 Message Date
Eberhard Beilharz
89a253b1ca
feat(linux): Enhance tab completion in km-package-install
This change adds tab completion for the bcp-47 parameter in
km-package-install.

Fixes #5361
2023-01-11 12:28:12 +01:00
Eberhard Beilharz
f79cdf8976
Merge pull request #8002 from keymanapp/chore/linux/refactor
chore(linux): Refactor completion script
2023-01-11 08:52:02 +01:00
Eberhard Beilharz
903be8738c
Merge pull request #7995 from keymanapp/feat/linux/3501_List-fonts-in-uninstall-dlg
feat(linux): List fonts in the uninstall confirmation dialog
2023-01-10 14:21:59 +01:00
Eberhard Beilharz
c5938fab8e
chore(linux): Fix more warnings 2023-01-10 12:29:45 +01:00
Eberhard Beilharz
c9fad367f8
chore(linux): Fix shellcheck warnings 2023-01-10 11:40:12 +01:00
Eberhard Beilharz
7df84301b0
chore(linux): Refactor completion script 2023-01-10 10:46:37 +01:00
Eberhard Beilharz
d54beee0ab
feat(linux): List fonts in the uninstall confirmation dialog
Fixes #3501
2023-01-09 16:52:09 +01:00
Eberhard Beilharz
fb58ddd04a
feat(linux): Add Back button to "Download Keyman Keyboards" dialog
Fixes #4828
2023-01-09 14:46:17 +01:00
Eberhard Beilharz
16067a36fd
chore(linux): Remove unnecessary variable
We can directly use `logging.error` instead of `logging.log`. Then
we don't need the `severity` variable.
2023-01-06 18:50:40 +01:00
Darcy Wong
3dbd78a0ef chore(common): Add Crowdin strings for Kannada 2023-01-03 11:10:57 +07:00
Marc Durdin
d9eae3869d
Merge branch 'master' into chore/a17s2-beta-to-master 2022-12-23 08:44:42 +11:00
Eberhard Beilharz
8873ab5bcb
chore(linux): Fix make install
Another attempt to fix #7400.
2022-12-09 12:40:40 +01:00
Eberhard Beilharz
5cf88878da docs(linux): Move Linux documentation
This change moves the Linux developer documentation to the new location
`docs/linux` as discussed in our planning meeting.
2022-12-05 18:07:10 +01:00
Darcy Wong
cd27527646
Merge branch 'beta' into chore/common/crowdin-update-zhcn 2022-11-18 16:47:28 +07:00
Eberhard Beilharz
a4abcdb831
Merge pull request #7730 from keymanapp/fix/linux/7722_replaceSharedKeyboard
fix(linux): Fix installation if shared kbd already installed
2022-11-18 08:41:46 +01:00
Darcy Wong
53debd015b
Merge pull request #7715 from keymanapp/chore/common/crowdin-update-ff-ng
chore(common): Update crowin strings for Fulfulde
2022-11-18 14:20:54 +07:00
Eberhard Beilharz
a2ce5e50d8
fix(linux): Output warning if keyboard already installed in shared
This change outputs a warning if the user tries to install a
keyboard (to his home directory) and the keyboard is already
installed in the shared area, and vice versa.
2022-11-17 16:45:11 +01:00
Eberhard Beilharz
c670977779
Merge pull request #7731 from keymanapp/feat/linux/7725_bcp47tag
feat(linux): Add optional bcp47 parameter to km-package-install
2022-11-17 15:43:25 +01:00
Eberhard Beilharz
5c63d58978
feat(linux): Add -l as short version of --bcp47 parameter 2022-11-17 10:23:11 +01:00
Eberhard Beilharz
f9b8766f3a
fix(linux): Ignore dbus exception when testing for fcitx
Fixes KEYMAN-LINUX-3H.
2022-11-16 16:08:25 +01:00
Eberhard Beilharz
fd6083fd43
feat(linux): Add optional bcp47 parameter to km-package-install
This change adds a `--bcp47 <TAG>` parameter to km-package-install.
This allows to specify a language tag which will be used to install
the keyboard for that language.

Closes #7725.
2022-11-16 16:00:32 +01:00
Eberhard Beilharz
1d5b169aca
fix(linux): Allow to install local kbd if shared installed
This is similar to PR #7730 but implements things for
km-package-install.
2022-11-16 15:59:39 +01:00
Eberhard Beilharz
d16d29dccd
Merge pull request #7728 from keymanapp/fix/linux/7723_CrashBcp47
fix(linux): Don't crash if `und` is specified without `fonipa`
2022-11-16 15:38:43 +01:00
Eberhard Beilharz
309d68375b
fix(linux): Fix installation if shared kbd already installed
Fixes #7722.
2022-11-16 12:26:18 +01:00
Eberhard Beilharz
1ce21e8ef2
fix(linux): Don't crash if und is specified without fonipa
Fixes #7723.
2022-11-15 18:30:23 +01:00
Eberhard Beilharz
734c543da6
docs(linux): Add example for keyman:// URL format
The help text for `km-config` mentioned a `keyman://` URL but we
nowhere explained how that URL should look like. This change adds
an example keyman:// URL with a bcp47 tag which should make things
clearer.
2022-11-15 17:35:15 +01:00
Darcy Wong
7ca7cb8d70 chore(common): Update crowin strings for Fulfulde 2022-11-14 10:27:30 +07:00
Darcy Wong
391eb402f3 chore(common): Update crowdin strings for Simplified Chinese 2022-11-14 09:56:52 +07:00
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