Commit graph

2668 commits

Author SHA1 Message Date
Sabine
e2af2d0d34 feat(linux): mcompile-dk looking at this->SC() vs. KMX_get_KeyCodeUnderlying_From_KeycodeUS_GDK 2024-02-19 20:47:50 +01:00
Eberhard Beilharz
1834c55e52
chore(linux): Fix debian.sh by removing quotes
We want `EXTRA_ARGS` to be split so that we end up with different
arguments.
2024-02-19 19:41:16 +01:00
Eberhard Beilharz
5dd953f085
docs(linux): Update screenshots and FAQ 2024-02-19 16:47:07 +01:00
Eberhard Beilharz
a8543892eb
chore(linux): Move cat-file to wrapper methods
This addresses suggestions from code review.
2024-02-19 16:34:13 +01:00
Eberhard Beilharz
4079b1be12
chore(linux): Improve readability of test names
This change adds an additional underscore between the tested method name
and the description of the test.
2024-02-19 15:25:15 +01:00
Marc Durdin
c166bb41ea
Merge pull request #10749 from keymanapp/chore/merge-master-into-linux-mcompile
chore: merge master into linux-mcompile 🐘
2024-02-17 15:31:58 +07:00
Sabine
d0c7d348f3 feat(linux): mcompile-dk remove mc_savekeyboard 2024-02-15 12:37:33 +01:00
Sabine
da4ea69fde feat(linux): mcompile-dk remove helpers.cpp/h 2024-02-15 12:09:47 +01:00
Marc Durdin
7c8f109c33 chore: update doc versions to 18.0 2024-02-15 09:51:36 +07:00
Sabine
ed603820ca feat(linux): mcompile-dk replace KMX_LogError 2024-02-14 19:05:18 +01:00
Sabine
41e4803869 feat(linux): mcompile-dk rename function 2024-02-14 15:55:21 +01:00
Sabine
0675a5df9c feat(linux): mcompile-dk remove unneccessary function 2024-02-14 15:29:33 +01:00
Sabine
07b1d5d1e3 feat(linux): mcompile-dk remove func 2 2024-02-14 14:50:03 +01:00
Sabine
8704c7ee80 feat(linux): mcompile-dk remove a function 2024-02-14 14:48:15 +01:00
Sabine
3211a0c31a feat(linux): mcompile-dk gerneral tidy up 2024-02-14 14:33:44 +01:00
Sabine
3662839708 feat(linux): mcompile-dk check warnings 2024-02-14 12:45:55 +01:00
Sabine
beaa25047e feat(linux): mcompile-dk remove dublicate lines after rebasing 2024-02-14 12:25:58 +01:00
Sabine
8e0f7ffbbb feat(linux): mcompile-dk more replacing,renaming solved con 2024-02-14 11:41:10 +01:00
Sabine
4aec162e49 feat(linux): again resolve mcompile-dk rename even more functions 2024-02-14 11:36:52 +01:00
Sabine
cdeeec9e63 feat(linux): res. conf mcompile-dk rename more functions 2024-02-14 11:35:49 +01:00
Sabine
80e044e106 feat(linux): again resolce conflict mcompile-dk remove KMX_get_FFFF_Underlying_according_to_keycode_and_Shiftstate_GDK_dw 2024-02-14 11:33:41 +01:00
Sabine
b49f28f3ef feat(linux): resolve conflicts mcompile-dk remove unused functions, consolidate Datatypes 2024-02-14 11:29:53 +01:00
Sabine
3c9ccc0e57 feat(linux): mcompile-dk createAlDead out of loop 2024-02-14 11:25:43 +01:00
Sabine
d2cee893f2 feat(linux): mcompile-dk resolved problem for deadkey(2) 2024-02-12 15:30:20 +01:00
Sabine
f19ec9dca1 feat(linux): mcompile-dk found problem for deadkey(2) 2024-02-09 22:10:47 +01:00
Eberhard Beilharz
4bad36089f
fix(linux): Use temp dir if we can't create cache dir
If we can't create the cache dir, e.g. if `~/.cache` doesn't exist or
if we don't have enough permissions, we now return a temporary directory.

Fixes #10033.
2024-02-09 18:01:40 +01:00
Eberhard Beilharz
b5c2edd52b
refactor(linux): Use git cat-file instead of checkout
Addresses code review comments.
2024-02-09 15:45:08 +01:00
Eberhard Beilharz
1348afbe07
chore(linux): Add tests for renamed .symbols file 2024-02-09 15:45:08 +01:00
Sabine
fb47917974 feat(linux): mcompile-dk alDead sorted & in right order as win version 2024-02-09 10:32:43 +01:00
Eberhard Beilharz
3ad7710216
chore(linux): Update symbols file with current version
The new API methods landed in `master` with the merge of the epic branch.
This change updates the version numbers to the current version.
2024-02-08 10:22:23 +01:00
Eberhard Beilharz
426bc52404
chore(linux): Ignore missing .symbols file in stable branch
This fixes a bug in the API verification if the stable branch doesn't
have the expected .symbols file.
2024-02-08 10:21:19 +01:00
Eberhard Beilharz
a08fbd1346
fix(linux): Ignore keys with IBUS_MOD4_MASK set
If we process keys that have the (Super/Meta/Windows) IBUS_MOD4_MASK
modifier set we ignore the key. Core doesn't handle the Meta modifier
state and so would treat it as regular key. This fixes switching keyboards
in Ubuntu 23.10/24.04 on Wayland.

Fixes #10476.
2024-02-07 18:14:05 +01:00
Sabine
9c83fd0264 feat(linux): mcompile-dk [K_?00] resolved 2024-02-07 10:29:44 +01:00
Marc Durdin
94f8d17ab4
Merge pull request #10652 from keymanapp/fix/linux/warning
fix(linux): Use raw string for regex
2024-02-07 16:02:04 +11:00
Sabine
b345e6cda6 feat(linux): mcompile-dk tidy up 2024-02-06 20:07:33 +01:00
Sabine
38ce7ab87b feat(linux): mcompile-dk new KMX_toUnicodeEx 2024-02-06 18:24:59 +01:00
Eberhard Beilharz
6722faab4d
fix(linux): Use raw string for regex
This change fixes a syntax warning with Python 3.12. See
https://stackoverflow.com/a/50504635/487503 and
https://docs.python.org/3/whatsnew/3.12.html#other-language-changes.
2024-02-06 17:01:59 +01:00
Sabine
5ab1dcd727 feat(linux): mcompile-dk reduce nr of functions using gdk_keymap_translate_keyboard_state 2024-02-05 14:40:16 +01:00
Marc Durdin
70ba1d1c1e
Merge branch 'chore/core/10520-hide-old-action-apis' into fix/core/10582-km_core_state_get_actions-idempotency 2024-02-05 13:44:47 +11:00
Eberhard Beilharz
883b9fc4c8
chore(linux): Fix API check if lines got removed in .symbols file
If lines got removed in the .symbols file we won't find the current
version number in the .symbols file. This change fixes the expectations.

Also, if a major API change happens during the Alpha cycle we don't expect
another API version increment if one already happened since we released
the stable version.

This change also adds some unit tests for the new functionality. These
can be run manually and won't run during CI builds.

Fixes #10453.
2024-02-02 20:15:22 +01:00
Sabine
dcf49b9f08 feat(linux): mcompile-dk tidy up 2024-02-02 17:55:07 +01:00
Sabine
78e736722a feat(linux): mcompile-dk doublicate functions 2024-02-02 16:36:49 +01:00
Eberhard Beilharz
97bbcee3ef
Merge pull request #10596 from keymanapp/chore/linux/cherry-pick/changelog
chore(linux): Update debian changelog 🍒
2024-02-02 09:28:53 +01:00
Marc Durdin
8156a8b19d
Merge pull request #10576 from keymanapp/fix/linux/9593_version-comparison
fix(linux): Fix version comparison
2024-02-02 09:47:37 +11:00
Sabine
463fe2fe88 feat(linux): mcompile-dk tidy up 2024-02-01 18:15:44 +01:00
Eberhard Beilharz
13eb1002ae
refactor(linux): Deal with invalid version numbers 2024-02-01 17:26:38 +01:00
Eberhard Beilharz
df24cfda0a
chore(linux): Use correct format specifier for g_utf8_strlen
The package build on armhf failed because of the wrong format specifier
which expects a `size_t` instead of `glong` that `g_utf8_strlen` returns.
2024-02-01 16:51:10 +01:00
Sabine
6af536a174 feat(linux): mcompile-dk more shiftstates in KMX_get_CharsUnderlying_according_to_keycode_and_Shiftstate_GDK 2024-02-01 16:16:16 +01:00
Eberhard Beilharz
a5e0ce0702
chore(linux): Update debian changelog
(cherry picked from commit 8d0f102936)
2024-02-01 12:58:21 +01:00
Eberhard Beilharz
f3efb244dc 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-02-01 14:55:36 +07:00