Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): new actions APIs #9828

Merged
merged 12 commits into from
Oct 25, 2023
Merged

feat(core): new actions APIs #9828

merged 12 commits into from
Oct 25, 2023

Conversation

mcdurdin
Copy link
Member

@mcdurdin mcdurdin commented Oct 23, 2023

Fixes #9720.
Fixes #9832.

Note: this should make a number of Keyman Core context and action APIs unnecessary, except for use by IMX and debugger. Once we move over to these APIs with existing Engines, then we should audit the remaining usage and remove unnecessary APIs to reduce the maintenance burden.

@keymanapp-test-bot skip

Fixes #9720.

Note: this will deprecate a number of Keyman Core APIs -- pretty much
all existing action and context APIs. Deprecation marks will come in a
follow-up commit.
@mcdurdin mcdurdin requested a review from rc-swag as a code owner October 23, 2023 08:03
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Oct 23, 2023

@keymanapp-test-bot keymanapp-test-bot bot added this to the A17S24 milestone Oct 23, 2023
@github-actions github-actions bot added core/ Keyman Core feat labels Oct 23, 2023
Copy link
Contributor

@sgschantz sgschantz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be a nice improvement, but I have a few comments on naming and documentation of the APIs.

core/include/keyman/keyman_core_api.h Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Outdated Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Outdated Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Outdated Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Outdated Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Outdated Show resolved Hide resolved
core/src/action.cpp Outdated Show resolved Hide resolved
core/src/action.cpp Show resolved Hide resolved
core/src/action.cpp Outdated Show resolved Hide resolved
core/src/action.hpp Outdated Show resolved Hide resolved
@mcdurdin
Copy link
Member Author

Note: failed build due to #9832.

Fixes #9832. Addresses a couple of other cross-platform compile issues.
Copy link
Contributor

@sgschantz sgschantz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for making these changes -- I will be calling this code very soon!

Copy link
Contributor

@rc-swag rc-swag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

core/include/keyman/keyman_core_api.h Outdated Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Outdated Show resolved Hide resolved
core/src/km_core_state_api.cpp Outdated Show resolved Hide resolved
core/src/action.cpp Outdated Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Outdated Show resolved Hide resolved
core/include/keyman/keyman_core_api.h Show resolved Hide resolved
Copy link
Contributor

@ermshiperete ermshiperete left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes! I'm happy now 😄

@mcdurdin mcdurdin merged commit de66002 into master Oct 25, 2023
2 checks passed
@mcdurdin mcdurdin deleted the feat/core/9720-actions-apis branch October 25, 2023 08:08
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.198-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants