spiegel-keyman/core/tests
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
..
kmx_test_source fix(core): add expected_context to keyboard unit tests 2023-12-15 11:20:08 +10:00
standards chore(common): move common/core/desktop/ to core/ 2022-05-18 07:22:10 +10:00
unit fix(core): make km_core_state_get_actions() idempotent 2024-02-01 11:28:08 +07:00
meson.build chore(core): split flags into standard.meson.build 2023-03-09 11:34:54 +07:00