spiegel-keyman/mac/KeymanEngine4Mac
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
..
KeymanEngine4Mac fix(core): make km_core_state_get_actions() idempotent 2024-02-01 11:28:08 +07:00
KeymanEngine4Mac.xcodeproj load persisted options and enable unit test 2023-12-18 15:50:39 +07:00
KeymanEngine4MacTests refactor(mac): remove legacy Core context API calls 2024-01-17 14:44:07 +11:00