Eberhard Beilharz
3cc016fc8a
fix(linux): Fix uninstallation of shared keyboard
...
This fixes the uninstallation of shared keyboards if the
`additional-keyboards` settings doesn't exist yet.
Closes #9879 .
2023-10-27 19:26:35 +02:00
Marc Durdin
f151a34cc4
Merge pull request #9870 from keymanapp/chore/merge-master-into-linux-mcompile
...
chore: merge master into linux-mcompile 🐘
2023-10-27 18:52:06 +11:00
Sabine
652a1b56b6
feat(linux): mcompile fill rgKey 186-192, 219, 222
2023-10-26 19:54:35 +02:00
Eberhard Beilharz
30250e3d8d
chore(linux): Enhance GHA API check
...
This change adds additional checks for the symbols file:
- if a line with a method name gets changed, the package version number
in that line also needs to be updated
- for major API changes (methods renamed or removed) the API version
numbers needs to be incremented
- the API version numbers in the .symbols file and in `CORE_API_VERSION.md`
need to match
2023-10-26 18:04:43 +02:00
Eberhard Beilharz
9257750bb8
chore(linux): Refactor deb-packaging.sh script
...
Make use of builder_run_action.
2023-10-26 17:16:06 +02:00
Marc Durdin
8223792404
chore(core): rename kbp to core
2023-10-25 05:30:22 +07:00
Sabine
70163eb5fa
feat(linux): mcompile small changes wprintf+ implement+use KMX_VKUnderlyingLayoutToVKUS
2023-10-21 11:59:07 +02:00
Eberhard Beilharz
2e5e586860
chore(linux): Rename libkmnkbp0-0 package
...
Also removes the temporary libkeymancore/libkmnkbp hack that we put in
for packaging GHA.
Closes #9733 .
2023-10-20 17:31:39 +02:00
Eberhard Beilharz
8fce84bdc8
chore(linux): Merge branch 'chore/linux/9733_RenameLibknmkbp' into chore/linux/9733_RenameNamespace
2023-10-20 17:23:13 +02:00
Eberhard Beilharz
b16b7a7989
chore(linux): Merge remote-tracking branch 'origin/master' into chore/linux/9733_RenameLibknmkbp
2023-10-20 17:19:56 +02:00
Eberhard Beilharz
c0bef2581d
chore(linux): Fix build by adding one character
2023-10-20 17:15:41 +02:00
Eberhard Beilharz
7369b22599
chore(linux): Merge with chore/linux/9733_RenameLibknmkbp
...
# Conflicts:
# core/src/debuglog.h
# core/src/ldml/ldml_processor.cpp
# core/src/ldml/ldml_transforms.cpp
# core/src/ldml/ldml_transforms.hpp
# core/tests/unit/ldml/ldml.cpp
2023-10-20 12:52:38 +02:00
Eberhard Beilharz
fdc9baadb2
chore(linux): Merge remote-tracking branch 'origin/master' into chore/linux/9733_RenameLibknmkbp
2023-10-20 12:31:14 +02:00
Eberhard Beilharz
1c639e80ea
chore(linux): Update packaging GHA
...
This enhances the packaging GHA to be able to verify the renamed
core library. Since the GHA packaging build always uses the action
definition from `master` this change has to land before we can
successfully build the PR that does the actual renaming of the core
library and Debian package. Later we can remove the references to
`libkmnkbp0-0` again.
Part of #9733 .
2023-10-20 09:56:39 +02:00
Eberhard Beilharz
604fbc1a75
chore(linux): Rename namespace kbp to core
2023-10-19 10:39:55 +02:00
Eberhard Beilharz
52bb859817
chore(linux): Rename (lib)kmnkbp to (lib)keymancore
2023-10-19 10:35:09 +02:00
Eberhard Beilharz
09907b66e0
chore(linux): Additionally specify regular schemas path
2023-10-18 18:20:48 +02:00
Eberhard Beilharz
4a3556ca89
chore(linux): Allow to collect coverage on TC
2023-10-18 16:06:28 +02:00
Eberhard Beilharz
7b06beb7b9
Merge pull request #9781 from keymanapp/chore/linux/fixbuild
...
chore(linux): Fix build scripts
2023-10-18 11:38:46 +02:00
Eberhard Beilharz
2a19a2fb12
chore(linux): Fix coverage report creation for keyman-system-service
...
Since keyman-system-service is a dependency of ibus-keyman it gets
build when ibus-keyman gets build. However, in that case the `--coverage`
flag doesn't get passed through in which case the `coverage-html`
target is missing from ninja. This change fixes this problem by checking
if ninja has the `coverage-html` target. If not we remove the output
directory which causes the configure action to run again with the
`--coverage` option.
2023-10-18 10:32:41 +02:00
Eberhard Beilharz
536fc7e5f3
Merge pull request #9783 from keymanapp/chore/linux/addtests
...
chore(linux): Add missing tests
2023-10-18 08:03:04 +02:00
Eberhard Beilharz
337018a24b
chore(linux): Add missing tests
...
This adds (and fixes) two tests that were previously left out by
accident.
2023-10-17 20:29:28 +02:00
Eberhard Beilharz
08a259c6e2
chore(linux): Fix build scripts
...
Creating the coverage option to ninja previously didn't work reliably.
This change re-orders the parameters passed to `meson setup` and seems
to work better. Additionally this change refactors the scripts and makes
use of `builder_run_action`.
2023-10-17 20:01:05 +02:00
Eberhard Beilharz
46d67d944e
chore(linux): Re-enable building for Ubuntu 23.10 Mantic
...
Now that we have updated ibus packages in place we can re-enable building
for Mantic.
Fixes #9520 and #9398 .
2023-10-17 18:48:53 +02:00
Eberhard Beilharz
141d44a439
Merge pull request #9775 from keymanapp/chore/linux/9733_RenameKbp
...
chore(linux): Rename `kbp_state_get_intermediate_context` to `km_core…` 〽️
2023-10-17 18:04:32 +02:00
Eberhard Beilharz
f178959c02
Merge pull request #9774 from keymanapp/fix/linux/9773_python3.8
...
fix(linux): Fix crash initializing Sentry with Python < 3.10
2023-10-17 18:02:39 +02:00
Eberhard Beilharz
91e731a955
Merge pull request #9756 from keymanapp/feat/linux/8598_kmconfig
...
feat(linux): Allow installing keyboards with arbitrary language 🏘️
2023-10-17 18:02:19 +02:00
Eberhard Beilharz
2ab9334b82
Merge pull request #9758 from keymanapp/chore/linux/coverage
...
chore(linux): Add code coverage index page
2023-10-17 08:57:13 +02:00
Eberhard Beilharz
a76945615b
Merge pull request #9735 from keymanapp/feat/linux/8598_arbitrary-lang
...
feat(linux): Allow loading of keyboards with arbitrary language 🏘️
2023-10-16 19:48:56 +02:00
Eberhard Beilharz
965b8e5ecc
chore(linux): Rename kbp_state_get_intermediate_context to km_core_...
...
A previous rename missed this.
2023-10-16 19:39:18 +02:00
Eberhard Beilharz
d7a72e6baf
fix(linux): Fix crash initializing Sentry with Python < 3.10
...
Ubuntu 20.04 comes with Python 3.8 which doesn't have
`platform.freedesktop_os_release()`. This change catches the exception
if this happens, as well as other exceptions we might get so that the
initialization of Sentry will succeed.
Fixes #9773 .
2023-10-16 18:44:18 +02:00
Eberhard Beilharz
0eb5065bf4
chore(linux): Unnecessary to check for NULL before calling g_free
...
`g_free` will return if the parameter is NULL, so we don't have to
check for that.
See glib [documentation](https://docs.gtk.org/glib/func.free.html ).
2023-10-16 18:24:56 +02:00
Eberhard Beilharz
943370d682
chore(linux): Add --open option to open coverage reports in browser
...
This addresses code review comments.
2023-10-16 17:22:41 +02:00
Eberhard Beilharz
c56b8a72eb
chore(linux): rename parameters
...
This addresses code review comments.
2023-10-16 09:12:28 +02:00
Sabine
54b8a1f2ab
feat(linux): mcompile fill rgkey
2023-10-14 22:00:01 +02:00
Eberhard Beilharz
0ed8d35bb2
chore(linux): Add code coverage index page
...
This change adds an index page that can show the reports for the
child projects.
Also fix a path problem in the `keyman-system-service/build.sh` script.
2023-10-13 22:51:00 +02:00
Eberhard Beilharz
23cc98a690
feat(linux): Allow installing keyboards with arbitrary language 🏘️
...
- during installation add to the list of custom keyboards if necessary
- during uninstallation remove from the list of custom keyboards
- if list of custom keyboards has invalid values, remove those before
saving the list
Closes #8598 .
2023-10-13 16:57:57 +02:00
Sabine
90fb32160c
feat(linux): mcompile tidy up
2023-10-12 21:42:21 +02:00
Sabine
2ead73ba11
feat(linux): mcompile fill rgkey OEM-Keys
2023-10-12 21:29:46 +02:00
Eberhard Beilharz
303e57ba68
refactor(linux): Refactor mocks in ibus-util tests
2023-10-12 18:45:12 +02:00
Eberhard Beilharz
d92808e779
chore(linux): Speed up ibus-util tests
2023-10-12 18:34:50 +02:00
Eberhard Beilharz
b0dd74ca59
feat(linux): Ignore invalid values in custom keyboards list 🏘️
2023-10-12 18:31:42 +02:00
Eberhard Beilharz
8e1ee9ea7b
feat(linux): Allow loading of keyboards with arbitrary language 🏘️
...
Part of #8598 .
2023-10-12 18:31:42 +02:00
Eberhard Beilharz
2a7d1758ae
feat(linux): Store user-added keyboards in GSettings 🏘️
2023-10-12 18:31:41 +02:00
Eberhard Beilharz
fe81d8cc07
chore(linux): Add code coverage report for keyman-system-service
2023-10-12 10:21:18 +02:00
Eberhard Beilharz
4ad730d6f6
chore(linux): Add code coverage report for keyman-config
2023-10-12 10:21:11 +02:00
Marc Durdin
64202deb44
Merge branch 'epic/linux-mcompile' into chore/merge-master-into-linux-mcompile
2023-10-12 15:52:40 +11:00
Eberhard Beilharz
7bab603b5b
refactor(linux): Simplify adding keyboard
...
Before we add a keyboard we check if we already added this keyboard
(in a different area). If we did (with the same or newer version) we
skip this keyboard. This change now immediately returns whereas previously
we set a flag and then didn't execute the rest of the method.
2023-10-10 18:00:05 +02:00
Eberhard Beilharz
7340c6be1f
chore(linux): Improve process check
2023-10-10 15:52:52 +02:00
Eberhard Beilharz
2356a39efa
chore(linux): Add testname to log file
2023-10-10 15:52:52 +02:00