spiegel-keyman/core/include/keyman
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
..
keyman_core_api.h fix(core): make km_core_state_get_actions() idempotent 2024-02-01 11:28:08 +07:00
keyman_core_api_actions.h chore(core): move action apis into keyman_core_api_actions.h 2024-01-31 11:32:09 +07:00
keyman_core_api_bits.h chore(linux): Rename KMN_CORE to KM_CORE_LIBRARY 2023-10-19 08:51:29 +02:00
keyman_core_api_consts.h chore: rename KM_KBP_ to KM_CORE_ 2023-10-09 14:53:22 +07:00
keyman_core_api_context.h feat(developer): make context_get and context_length public again 2024-01-26 06:37:09 +07:00
keyman_core_api_debug.h chore: rename KM_KBP_ to KM_CORE_ 2023-10-09 14:53:22 +07:00
keyman_core_api_version.h.in chore: rename KM_KBP_ to KM_CORE_ 2023-10-09 14:53:22 +07:00
keyman_core_api_vkeys.h chore: rename KM_KBP_ to KM_CORE_ 2023-10-09 14:53:22 +07:00
meson.build chore(core): move action apis into keyman_core_api_actions.h 2024-01-31 11:32:09 +07:00