Commit graph

2601 commits

Author SHA1 Message Date
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
Marc Durdin
877cf207a7
Merge pull request #10587 from keymanapp/chore/merge-master-into-linux-mcompile
chore: merge master into linux-mcompile
2024-02-01 17:31:19 +11:00
Marc Durdin
1b88ab99be fix(core): make km_core_state_get_actions() idempotent
Fixes #10582.

Returned struct from the `km_core_state_get_actions()` API is now owned
by the state object. This is a change in API contract. The corresponding
`km_core_actions_dispose()` API has been made private, because there is
never any need for API consumers to call it. As this change is happening
in alpha, we won't bump the ABI version.

`state->app_context` is now guaranteed to be in sync with
`state->context` after `km_core_process_event()`, with the actions
struct populated at that point.

The next and final step in this refactor is to remove the actions queue
altogether from the Core and make that a kmn-only concept, but that will
wait until 18.0. The only consumers of the actions queue are the
kmn-specific interactive debugger in Keyman Developer, and kmn-specific
Input Method eXtensions in Keyman Engine for Windows.
2024-02-01 11:28:08 +07: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
Sabine
783dc4b6b4 feat(linux): mcompile-dk :use deadkey(dkmax) , contents of alDead sorted; KMX_ToUnicodeEx returns 0 as well 2024-01-31 12:42:10 +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
5643d2690d
Merge pull request #10561 from keymanapp/chore/linux/noble
chore(linux): Replace Lunar with Noble
2024-01-31 11:34:02 +01:00
Marc Durdin
f546c44048
Merge pull request #10390 from keymanapp/epic/core/9999-normalization
epic: Keyman Core normalization 🌱
2024-01-31 10:45:51 +11:00
Eberhard Beilharz
325ab78881
chore(linux): Replace Lunar with Noble
This change removes Ubuntu 23.04 Lunar and adds support for
Ubuntu 24.04 Noble.
2024-01-30 15:40:41 +01:00
Eberhard Beilharz
60746e02d0
chore(core): Fix compilation error 2024-01-29 18:00:14 +01:00
Eberhard Beilharz
6b5b44eddd
fix(linux): Fix packaging on Ubuntu and Debian servers
When building packages warnings are treated as errors. When building on
Ubuntu and Debian servers we don't have a patched ibus version but still
want to build the packages. So this change outputs a message instead of
a warning when building packages.
2024-01-29 17:50:04 +01:00
Eberhard Beilharz
9183185b8c
Merge pull request #10480 from keymanapp/refactor/linux/10353_actionstruct
refactor(linux): Use `km_core_actions` struct instead of queue 🌱
2024-01-29 16:59:17 +01:00
Sabine
0e849653b2 feat(linux): mcompile-dk remove difference in kmn-file (deadkey(3) + [CTRL K_SPACE] <==> [CTRL "`"] 2024-01-26 12:44:42 +01:00
Marc Durdin
41cc2f4d1e feat(developer): make context_get and context_length public again
Rolls back the privatisation of the km_core_context_get and
km_core_context_length APIs because the debugger uses them.
2024-01-26 06:37:09 +07:00
Eberhard Beilharz
a79e64b02d
chore(linux): Add more debug output 2024-01-25 20:02:22 +01:00
Sabine
0e20c3e34e feat(linux): mcompile-dk shrink contents of alDead 2024-01-24 19:12:07 +01:00
Eberhard Beilharz
e33d5effdd
chore(linux): Fix changelog
Should be a new version...
2024-01-24 17:42:41 +01:00
Eberhard Beilharz
052ac3eae3
chore(linux): Update changelog 2024-01-24 17:33:50 +01:00