Eberhard Beilharz
3169cc0fa5
feat(linux): implement engine side of SimulateAltGr option
...
- read value from dconf
- set up Core environment
- if dconf value changes re-create the Core environment
Fixes : #7697
2024-06-21 18:27:06 +02:00
Eberhard Beilharz
d93fb6aa0b
refactor(linux): rename methods that deal with keyboard options
...
This renames the existing methods that read and write keyboard options
so that it's visible from the name that they read/write keyboard options.
This is in preparation of new methods that read and write more general
options.
2024-06-21 18:22:29 +02:00
Eberhard Beilharz
13eb1002ae
refactor(linux): Deal with invalid version numbers
2024-02-01 17:26:38 +01:00
Eberhard Beilharz
02008dc585
fix(linux): Fix version comparison
...
Implement proper comparison of versions so that 1.10 is newer than 1.9.
Fixes #9593 .
2024-01-31 14:47:35 +01:00
Eberhard Beilharz
6d5accdaa4
chore(linux): Adjust test expectations for ICU >= 73
...
ICU 73 comes with CLDR 43 which contains various corrections. This means
that we get different results when we minimize `bmf-Latn`. This change
sets the test expectations based on the ICU version and so allows tests
to pass on Ubuntu 24.04 which comes with ICU 74.
2024-01-31 12:05:14 +01:00
Eberhard Beilharz
52bb859817
chore(linux): Rename (lib)kmnkbp to (lib)keymancore
2023-10-19 10:35:09 +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
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
22126a0eef
refactor(linux): Use auto cleanup
2023-10-10 15:52:51 +02:00
Eberhard Beilharz
4ab6031d0b
chore(linux): Address code review comments
2023-09-29 10:07:11 +02:00
Eberhard Beilharz
3812a1da3b
refactor(linux): Add more tests for keymanutil.c 🏘️
2023-09-28 17:25:11 +02:00
Eberhard Beilharz
1b5a86607d
chore(linux): Check that background processes are still running
...
Before we run a test we now check that ibus and the other processes
we need are still running. If not we run test setup again.
Maybe fix #9570 .
2023-09-25 18:55:54 +02:00
Eberhard Beilharz
a03eca3d81
refactor(linux): Rename defines to clarify purpose 🏘️
2023-09-18 19:00:29 +02:00
Eberhard Beilharz
81f46e1a6d
feat(linux): Minimize tags before adding keyboards
...
This ensures that bcp47 language tags are in a form the OS
understands.
2023-07-19 16:20:27 +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
c2e6fe23bd
feat(linux): Client side
2023-05-15 09:13:58 +02:00
Eberhard Beilharz
958b7db068
chore(linux): Remove autotools related files
2023-02-14 09:51:46 +01:00
Eberhard Beilharz
e937e1395c
chore(linux): Address code review comments
...
- make use of new meson features
- some refactoring
2023-02-03 10:11:11 +01:00
Eberhard Beilharz
0367df8652
chore(linux): Fix a few bugs in meson scripts
2023-02-02 19:06:55 +01:00
Eberhard Beilharz
c176ebc6af
chore(linux): Address code review comments
2023-01-31 17:38:29 +01:00
Eberhard Beilharz
eb076c08c8
chore(linux): Build with meson instead of autotools
...
This change introduces meson for building ibus-keyman instead of
autotools.
Closes #5981 .
2023-01-30 16:32:38 +01:00
Eberhard Beilharz
8a14372e0a
chore(linux): Improve package build
...
During package builds on Debian servers the build often failed
with an error related to X11 when running the tests. This change
skips the tests in `linux/ibus-keyman/src/test` when building
packages, similar to the way we already do it for the tests in
`linux/ibus-keyman/tests`.
2022-12-07 09:00:52 +01:00
Eberhard Beilharz
f1dcb71127
chore(linux): Run ibus-keyman tests as part of build
...
Part of #5613 .
2021-11-22 15:40:37 +01:00
Eberhard Beilharz
07fb8084ee
chore(linux): Fix unit tests
...
Array has to be NULL terminated.
2021-11-22 15:40:17 +01:00
Eberhard Beilharz
d8ee425eb2
chore(linux): fix memory allocation in keymanutil.c
...
Also add unit tests for keyman_put_options_todconf.
2021-11-15 19:22:04 +01:00
Eberhard Beilharz
43c920fec3
chore(linux): fix ibus-keyman test
2021-08-06 11:25:01 +02:00
glasseyes
15be8ae436
parse more json, add test apps
...
print_kmp prints out parsed json
print_kmpdetails prints the data created from
parsing the json
2018-11-21 17:33:07 +07:00