Commit graph

2668 commits

Author SHA1 Message Date
Sabine
88e3f16b2c feat(linux): mcompile meson add files 2023-07-18 11:58:29 +02:00
Sabine
4b653d30b3 feat(linux): mcompile KMX_saveKeyboard, KMX_WriteCompiledKeyboard 2023-07-17 13:48:19 +02:00
Sabine
99f6f7d695 feat(linux): mcompile edit Readme.h 2023-07-17 13:19:18 +02:00
Eberhard Beilharz
8624ebcfb0
Merge pull request #9245 from keymanapp/refactor/linux/refactor
refactor(linux): Refactor image loading
2023-07-13 12:32:07 +02:00
Eberhard Beilharz
e1dc9574c3
Merge pull request #9215 from keymanapp/chore/linux/newtests
chore(linux): Add unit tests for dconf_util.py
2023-07-13 12:31:26 +02:00
Sabine
44d8a4ce42 feat(linux): mcompile remove duplicate file 2023-07-12 15:07:52 +02:00
Sabine
20c380f820 feat(linux): mcompile add/remove wcout 2023-07-12 14:57:11 +02:00
Sabine
560fa6ab89 feat(linux): mcompile tidy up code 2023-07-12 14:39:33 +02:00
Eberhard Beilharz
87ccb6e945
chore(linux): Use different backend for unit tests 2023-07-11 17:36:22 +02:00
Eberhard Beilharz
8b9f3eb2c5
chore(linux): Add another test 2023-07-11 17:33:46 +02:00
Sabine
e6365d4d6d feat(linux): mcompile use loadKeyboard->CopyKeyboard for 64bit 2023-07-11 13:43:28 +02:00
Eberhard Beilharz
3cc9f09d82
fix(linux): Replace deprecated Image.ANTIALIAS
Fixes #9244.
2023-07-11 12:14:26 +02:00
Eberhard Beilharz
eedf7545c8
refactor(linux): Refactor some code 2023-07-11 12:13:45 +02:00
Sabine
30c82a7685 feat(linux): mcompile add KMX_Datatypes 2023-07-11 11:26:33 +02:00
Eberhard Beilharz
847556b176
Merge pull request #9193 from keymanapp/chore/update-data
chore: Update standards data
2023-07-11 08:59:25 +02:00
Eberhard Beilharz
74643d39ed
chore(linux): Add unit tests for dconf_util.py
Tests were generated by ChatGPT (although it didn't get it quite
right - was missing the parameter in `self.settings.reset`).
2023-07-07 18:29:31 +02:00
Eberhard Beilharz
e450e645ff
Merge pull request #9212 from keymanapp/chore/linux/tests
chore(linux): Add support for `--no-integration` flag to build files
2023-07-07 10:21:27 +02:00
Eberhard Beilharz
0f8fe48167
fix(linux): Fix Linux build
New langtags.json adds data that a test on Linux uses, so this
change adjust the test.
2023-07-06 19:47:46 +02:00
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
Sabine
c67b7d3e46 feat(linux): mcompile cosmetics 2023-07-06 13:56:41 +02:00
Eberhard Beilharz
d20cc6978c
chore(linux): Add support for --no-integration flag to build files
This allows to use the `linux/build.sh` file to specify the
`--no-integration` flag which makes it easier to specify jobs on CI
because it then doesn't need to know all subprojects.
2023-07-06 12:39:21 +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
Sabine
223865d74d feat(linux): mcompile exchange Err(), LogError(), DebugLog() with KMX_Log
use wchar for output everywhere
2023-07-05 16:52:36 +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
Sabine
d567cbdebd feat(linux): mcompile use remove unneccessary function 2023-07-03 12:49:24 +02:00
Sabine
762827c96d feat(linux): mcompile use #ifdef around main 2023-07-03 12:48:02 +02:00
Sabine
925fdb5beb feat(linux): mcompile exchange KMX_WCHART, comment out code 2023-06-27 18:45:47 +02:00
Sabine
84fc51bd3d feat(linux): mcompile loadKeyboard starts VerifyKeyboard&FixupKeyboard-still lots of comments, compiles but not fully functional yet 2023-06-27 16:03:53 +02:00
Sabine
b62a8140e4 feat(linux): mcompile copy and use filesystem.cpp/h 2023-06-27 12:26:10 +02:00
Sabine
e8cede8d4f feat(linux): mcompile add converting function, typedef 2023-06-26 15:02:14 +02:00
Sabine
3a841c2d93 feat(linux): mcompile add copies, gitignore. Readme 2023-06-26 15:01:20 +02:00
Darcy Wong
cf1a1bb4ab chore(common): Update crowdin strings for Spanish - Latin America 2023-06-19 12:35:45 -05:00