Commit graph

1657 commits

Author SHA1 Message Date
Eberhard Beilharz
75d507ca83
Merge pull request #9017 from keymanapp/feat/linux/8619_multiple-languages
feat(linux): Allow to install keyboard for multiple languages
2023-07-06 16:37:28 +02:00
Eberhard Beilharz
8ae2af9d44
Merge pull request #9192 from keymanapp/chore/linux/tests
chore(linux): Allow to run tests without integration tests
2023-07-06 08:29:48 +02:00
Eberhard Beilharz
0bce446f6a
Merge pull request #9188 from keymanapp/chore/linux/docker
chore(linux): Update docker builds
2023-07-05 18:58:00 +02:00
Eberhard Beilharz
fee21869fb
chore(linux): Allow to run tests without integration tests 2023-07-05 17:08:06 +02:00
Eberhard Beilharz
6b4b4fda61
Merge pull request #9165 from keymanapp/fix/linux/4769_tags
fix(linux): Remove tags from package description
2023-07-05 16:26:29 +02:00
Eberhard Beilharz
d60f30e7d9
Merge pull request #9166 from keymanapp/fix/linux/9005_AboutPage
fix(linux): Add scrollbar to About dialog
2023-07-05 16:15:33 +02:00
Eberhard Beilharz
f7a593deac
Merge pull request #9167 from keymanapp/fix/linux/vertical_align
fix(linux): Fix vertical alignment of labels in About dialog
2023-07-05 14:53:49 +02:00
Eberhard Beilharz
55fbd1a814
Merge pull request #9168 from keymanapp/refactor/linux/extractions
refactor(linux): Extract methods
2023-07-05 14:53:33 +02:00
Eberhard Beilharz
124a0794f1
chore(linux): Update docker builds
- add keyman ppa and update to patched ibus
- install nodejs 18
- update documentation
2023-07-05 12:19:51 +02:00
Eberhard Beilharz
c6419a9e4c
chore(linux): Add clarifying comment 2023-07-05 11:57:23 +02:00
Eberhard Beilharz
9f5ac8eb4a
fix(linux): Fix uninstalling keyboard for multiple languages with ibus
After this change uninstalling a keyboard will remove all installed
language/keyboard combinations for that particular keyboard.
Previously we only uninstalled for the first language listed in the
keyboard.
2023-07-05 11:57:23 +02:00
Eberhard Beilharz
1b63cf59b4
chore(linux): Address code review comments 2023-07-05 11:56:55 +02:00
Eberhard Beilharz
e02b1514da
refactor(linux): Some refactorings 2023-07-05 11:56:54 +02:00
Eberhard Beilharz
66461b7677
feat(linux): Remove message box if same kbd version already installed
We no longer ask the user if he tries to install a keyboard that is
already installed with the same version. The only time we ask is for
downgrades.

A similar change is implemented in `km-package-install` where we
changed the logic to match `install_window.py`. We now silently
install the new version unless it's a downgrade in which case we
output a error message and exit. This change also introduces the
`--force` parameter which allows to install the downgrade. For
upgrades or re-installing the same version it will cause an
uninstall of the current version first.
2023-07-05 11:56:54 +02:00
Eberhard Beilharz
4775c522bb
refactor(linux): Allow to install keyboard for multiple languages
This change makes it possible to install the same keyboard again
for a different language. It won't be visible in the GUI if the
keyboard is installed for more than language, but it will show up
for the installed languages in the keyboard dropdown.

Closes #8619.
2023-07-05 11:56:53 +02:00
Eberhard Beilharz
9b7070b8a6
fix(linux): Remove tags from package description
This is a temporary workaround - see discussion on #8057. While
this is not the perfect solution it should improve things in most
cases.

Fixes #4769.
2023-07-05 11:43:32 +02:00
Eberhard Beilharz
76f0979f3c
fix(linux): Add scrollbar to About dialog
Fixes #9005.
2023-07-05 11:42:51 +02:00
Eberhard Beilharz
d7d5d3220e
fix(linux): Fix vertical alignment of labels in About dialog 2023-07-05 11:41:16 +02:00
Eberhard Beilharz
595b19b9a0
refactor(linux): Extract methods 2023-07-05 11:40:42 +02:00
Eberhard Beilharz
ad1919da29
refactor(linux): Revert type hints
Turns out `list[str] | None` doesn't work with Python < 3.9 which
comes with Ubuntu 20.04 Focal, so we revert that change.
2023-07-05 11:39:33 +02:00
Eberhard Beilharz
481cb4a281
refactor(linux): Code refactoring 2023-07-05 11:39:33 +02:00
Darcy Wong
cf1a1bb4ab chore(common): Update crowdin strings for Spanish - Latin America 2023-06-19 12:35:45 -05:00
Darcy Wong
ff10aaea34 chore(common): Add crowdin strings for Spanish (es) 2023-06-19 11:42:26 -05:00
Eberhard Beilharz
be5c307fc0
refactor(linux): Rename OptionsView to KeyboardOptionsView 2023-06-13 20:05:49 +02:00
Eberhard Beilharz
ead69e7ee4
refactor(linux): Extract widgets to separate classes and files 2023-06-13 20:05:48 +02:00
Eberhard Beilharz
e95948c2da
refactor(linux): Extract methods 2023-06-13 19:42:14 +02:00
Eberhard Beilharz
d4c27a4d44
chore(linux): Properly compare version numbers
We changed the comparison of version numbers a while ago, but this
one slipped through. Using string comparison for version numbers
is a bad idea... This addresses code review comments.
2023-06-12 19:43:38 +02:00
Eberhard Beilharz
8b40330ed6
fix(linux): Fix display of installed keyboard version
Previously if there was a newer version available on keyman.com
we showed that version number instead of the version number of
the installed keyboard.
2023-06-07 18:58:07 +02:00
Eberhard Beilharz
a0af6de10a
chore(linux): Refactorings 2023-06-07 18:58:06 +02:00
Eberhard Beilharz
3b95bac798 fix(linux): Fix disabling of buttons
When we recently added the new column and changed the model we
didn't adjust all the existing references for the model fields.
This change fixes this and also extract some additional methods.
2023-06-07 18:57:20 +02:00
Eberhard Beilharz
4335923707 chore(linux): Refactorings 2023-06-07 18:57:20 +02:00
Eberhard Beilharz
779417594c
chore(linux): Merge remote-tracking branch 'origin/master' into fix/linux/725_help-links 2023-06-07 10:22:49 +02:00
Eberhard Beilharz
55675e8f6d
fix(linux): address code review comment 2023-06-07 10:20:38 +02:00
Eberhard Beilharz
13a0582764
Merge pull request #8917 from keymanapp/chore/linux/srcpkg
chore(linux): Move some files to keyman-config
2023-06-07 10:19:14 +02:00
Eberhard Beilharz
82d86af91a
chore(linux): Adjust documentation 2023-06-07 10:18:58 +02:00
Eberhard Beilharz
979564f0a2
fix(linux): Fix title of reference page and links
Fixes help.keyman.com#725
2023-06-06 15:19:24 +02:00
Eberhard Beilharz
4873cda5cc
chore(linux): Address code review comments and refactor
This extracts common code in a separate function.
2023-06-06 12:04:18 +02:00
Eberhard Beilharz
5f5054b93c
chore(linux): Fix lintian warnings
- add rudimentary man page for keyman-system-service
- remove hashbang for bash completion files
- reword description for keyman-system-service

This fixes these lintian warnings:
keyman-system-service: description-is-pkg-name Keyman system service
keyman: bash-completion-with-hashbang /usr/bin/env bash
        [usr/share/bash-completion/completions/km-config:1]
keyman-system-service: no-manual-page
        [usr/libexec/keyman-system-service]
2023-06-05 17:18:55 +02:00
Eberhard Beilharz
cbc24f5421
chore(linux): Fix tests 2023-06-05 15:24:42 +02:00
Eberhard Beilharz
749112660d
chore(linux): Move some files to keyman-config
Some of the configuration files are useful for other distributions
as well. So this change moves them out of `debian/` to
`linux/keyman-config` so that they will be included in the source
tar ball.

Also remove zero-width space from one file.

Closes #8880.
2023-06-05 15:24:41 +02:00
Eberhard Beilharz
f43f808a03
feat(linux): Rename column and add tooltip
Follow-up of #8631 where I forgot to add one of the changed files.
2023-06-02 17:31:48 +02:00
Eberhard Beilharz
af6e162a27
feat(linux): Rename column and add tooltip
This renames the column from "Location" to "Area" and shows only
the area instead of the full path. This also adds a tooltip to the
row which shows the full path to the keyboard.
2023-06-01 19:16:28 +02:00
Eberhard Beilharz
d615659d5e
chore(linux): Address code review comments 2023-06-01 19:14:17 +02:00
Eberhard Beilharz
fa66b42410
feat(linux): Add column for installation location
Closes #8631.
2023-05-31 17:40:35 +02:00
Eberhard Beilharz
b6c90c67b0
chore(linux): Temporarily install schema during creation of man pages 2023-05-30 20:01:05 +02:00
Eberhard Beilharz
7f9ef0d35b
feat(linux): Add option to disable Sentry
Closes #5027.
2023-05-30 18:32:28 +02:00
Eberhard Beilharz
4a0f061d4d
feat(linux): Use StackSidebar for km-config
This change displays tabs at the left. It also adds a dummy
"Options" page which isn't implemented yet.
2023-05-30 18:32:28 +02:00
Eberhard Beilharz
c6f4541c83
feat(linux): Fix unit tests 2023-05-30 17:51:25 +02:00
Eberhard Beilharz
ccba767e2e
chore(linux): Allow to run tests when package building with sbuild 2023-05-30 17:51:25 +02:00
Eberhard Beilharz
fd562019dd
chore(linux): Use build.sh for Debian packaging 2023-05-30 17:51:24 +02:00