Eberhard Beilharz
cab9ced56d
chore(linux): Update copyright
2022-03-14 12:08:09 +01:00
Eberhard Beilharz
4cad24cac3
chore(linux): Fix lintian warnings
2022-03-10 20:30:44 +01:00
Eberhard Beilharz
d9e4ad7899
feat(linux): add support for Wayland
...
This allows to use Keyman with the Wayland display server.
One thing that doesn't yet work completely with this change is
caps-lock.
Partially implements #4273 .
2022-01-20 19:21:57 +01:00
Eberhard Beilharz
ae9cb97ce6
fix(linux): Improve ibus-keyman tests
...
This change will hopefully help some tests that occasionally fail
on TC. After setting the options during the test setup we sync the
settings before running the test scenario.
2021-12-14 14:10:58 +01:00
Eberhard Beilharz
855cb9d916
refactor(linux): Refactor two core tests
...
This change refactors two tests to no longer rely on obscure internal
knowledge. This allows the tests to also run in ibus-keyman.
2021-12-03 17:23:36 +01:00
Eberhard Beilharz
e31cf4a1d8
chore(linux): add non-surrounding-text feature to tests
...
This also fixes a failing test (`048 - modifier keys keep context`)
if surrounding text is not supported. If the user presses the
capslock key we shouldn't reset the context if no rules match.
Fixes #5613 .
2021-12-03 17:23:35 +01:00
Eberhard Beilharz
30897811c0
Merge pull request #5966 from keymanapp/fix/linux/tests
...
fix(linux): Fix ibus-keyman integration tests 🎫
2021-11-29 09:55:30 +01:00
Ross
b54be8aa9b
feat(windows): add kmx_conversion.cpp to test Makefile.am
2021-11-29 10:56:53 +10:00
Eberhard Beilharz
37e20c5cbb
fix(linux): Fix ibus-keyman integration tests
...
Previously we overwrote our test data, so we basically ran the same
test repeatedly under different names.
Properly running them showed some failures which this change also
fixes or skips.
2021-11-24 15:59:44 +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
65d1a3f9a0
chore(linux): Improve run-tests.sh script
...
Part of #5613 .
2021-11-22 15:40:17 +01:00
Eberhard Beilharz
b9428c9ae8
chore(linux): Remove unused test methods
...
This change removes the pre-edit related test methods since we
don't use the pre-edit option.
2021-11-19 15:10:56 +01:00
Eberhard Beilharz
8f708a55e2
Merge pull request #5883 from keymanapp/chore/linux/comments
...
chore(linux): Update method comments
2021-11-16 07:55:54 +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
642bad8d7d
fix(linux): fix freeing of options
2021-11-08 12:38:00 +01:00
Eberhard Beilharz
be7dd09cb0
chore(linux): Address code review comments
2021-11-08 12:02:30 +01:00
Eberhard Beilharz
16ebd7e653
Merge pull request #5884 from keymanapp/chore/linux/5613-unittests
...
chore(linux): fix failing ibus-keyman tests 🎫
2021-11-08 10:16:32 +01:00
Eberhard Beilharz
65fc5efce5
Merge pull request #5885 from keymanapp/chore/linux/removetests
...
chore(linux): cleanup defunct tests 🎫
2021-11-08 10:15:35 +01:00
Eberhard Beilharz
5e6585717d
chore(linux): fix run-tests.sh script
...
Part of #5613 .
2021-11-05 22:35:09 +01:00
Eberhard Beilharz
2974ac03d7
chore(linux): Cleanup
...
Remove unnecessary functionality from test client. Part of #5613 .
2021-11-05 18:48:34 +01:00
Eberhard Beilharz
2095d98c14
chore(linux): Update method comments
2021-11-05 16:27:22 +01:00
Eberhard Beilharz
78da8aa33a
chore(linux): fix _delete_surrounding in ibus-keyman test client
...
Part of #5613 .
2021-11-05 16:26:15 +01:00
Eberhard Beilharz
2ab39581eb
chore(linux): set options before running test
...
Part of #5613 .
2021-11-05 16:26:04 +01:00
Eberhard Beilharz
ce4ced05a6
chore(linux): cleanup defunct tests
...
The previously existing ibus-keyman tests didn't work reliably and
were never executed automatically. This change removes them.
2021-11-05 15:56:37 +01:00
Eberhard Beilharz
2caaffd4e5
chore(linux): Fix build
...
# Keyman Conventional Commit suggestions:
# - Consider appending the text ". Fixes #5613 " to your commit message.
2021-11-05 12:00:37 +01:00
Eberhard Beilharz
cdee19e953
chore(linux): Add integration tests for ibus-keyman
...
This change adds integration/regression tests for ibus-keyman. It
re-uses the unit tests that we have for core.
Also modifies one test so that the context doesn't use characters
used in the keyboard. This makes it easier to setup in ibus-keyman
tests.
2021-11-04 09:22:28 +01:00
Eberhard Beilharz
db5b9db23b
refactor(linux): Remove unused variables
2021-11-03 19:05:43 +01:00
Eberhard Beilharz
29451ac5e8
chore(linux): Extract keycode_to_vk[] to separate header file
...
This will allow to use the array in unit tests.
# Keyman Conventional Commit suggestions:
# - Consider appending the text ". Fixes #5613 " to your commit message.
2021-10-29 18:22:56 +02:00
Eberhard Beilharz
b4208c90b8
chore(linux): Set correct version number on ibus component
2021-10-28 10:36:23 +02:00
Eberhard Beilharz
f0c3280517
fix(linux): Fix lost context after pressing K_SHIFT
...
This fixes typing `n>` with sil_ipa keyboard which no longer output
the expected `ŋ` because pressing the shift key reset the context.
For modifier key presses we now exit `KMX_ProcessEvent::ProcessEvent`
early.
This change also removes a redundant line from engine.c. Clearing
the context happens in `reset_context()` again if necessary.
Fixes #5591 .
2021-08-18 19:26:45 +02:00
Eberhard Beilharz
5e6de93e42
Merge pull request #5565 from keymanapp/docs/linux/ibus
...
docs(linux): Fix readme for ibus-keyman
2021-08-09 08:14:40 +02:00
Eberhard Beilharz
3f9c1a380a
docs(linux): Fix readme for ibus-keyman
...
Turns out setting `KEYMAN_PROC_CFLAGS` isn't sufficient to use header
files from source repo.
2021-08-06 16:55:02 +02:00
Eberhard Beilharz
c9497fd494
feat(common/core): Implement shiftFreesCaps and capsOnOnly
2021-08-06 16:13:58 +02:00
Eberhard Beilharz
cfeb9e820e
chore(linux): Implement Linux side of caps-lock action processing
2021-08-06 12:20:23 +02:00
Eberhard Beilharz
dabfea57ab
Merge pull request #5536 from keymanapp/chore/linux/5022-debian
...
chore(linux): Consolidate Debian source packages 📦
2021-08-06 12:02:54 +02:00
Eberhard Beilharz
43c920fec3
chore(linux): fix ibus-keyman test
2021-08-06 11:25:01 +02:00
Eberhard Beilharz
3d10e6100f
chore(linux): Remove no longer needed debian directories
...
The previous commit created a consolidated toplevel `debian`
directory.
2021-08-06 11:25:00 +02:00
Eberhard Beilharz
79f92a150c
chore(linux): Consolidate Debian source packages
...
This change consolidates the Debian packages into a single source
package, with the exception of the legacy KMFL packages.
Fixes #5022 .
2021-08-06 11:25:00 +02:00
Eberhard Beilharz
f08444019b
chore(linux): Remove compiler warning in ibus-keyman
...
This change replaces the deprecated `g_type_class_add_private`
and `G_TYPE_INSTANCE_GET_PRIVATE` with `G_DEFINE_TYPE_WITH_PRIVATE`
and the generated method `km_service_get_instance_private`.
2021-08-04 16:54:26 +02:00
Eberhard Beilharz
77d0d96480
refactor(linux): Reformat keycode_to_vk table
...
Also update comment where these values come from.
2021-08-04 12:00:36 +02:00
Marc Durdin
5a94012f01
Merge branch 'chore/common/core/debug-additional-tests' into chore/common/core/5488-delete-markers-reliably
2021-07-27 08:23:24 +10:00
Marc Durdin
796a2d4c85
chore(common/core): handle deletion of markers in actions
...
Fixes #5488 .
This updates Keyman Core, corresponding tests, and Keyman Engine for
Linux to support deletion of markers through an action, ensuring that
the action queue does not desynchronize with the context.
2021-07-26 15:23:20 +10:00
Eberhard Beilharz
0eca43d4ea
feat(common/core): Implement capsAlwaysOff system store
...
This change implements the core part in a way that makes the tests
pass. This still needs corresponding changes in the engine.
2021-07-23 10:25:28 +02:00
Eberhard Beilharz
ec03190f89
refactor(linux): reformat code
2021-07-20 10:07:42 +02:00
Eberhard Beilharz
de1d345408
refactor(linux): Re-add lost keys
2021-07-09 16:18:28 +02:00
Eberhard Beilharz
cda195390b
refactor(linux): Refactor processing actions in separate methods
2021-07-08 18:30:16 +02:00
Gunnar Hjalmarsson
194c697e17
chore(linux): Build also on riscv64 to facilitate migration on Ubuntu
...
(cherry picked from commit 5a58794f8f )
2021-06-21 11:41:36 +02:00
Eberhard Beilharz
d29ad2d4ed
chore(linux): Update changelogs to match Debian
...
The changelogs should match what got uploaded (and accepted) to
Debian so that the changelog reflects the upload history to Debian.
(cherry picked from commit f91b52d3ea )
2021-06-17 15:19:39 +02:00
Eberhard Beilharz
7509d653b4
Merge pull request #5281 from keymanapp/fix/linux/packaging
...
fix(linux): Adjust version of dependency for ibus-keyman
2021-06-16 08:39:16 +02:00