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

refactor(core): remove unused context APIs 🌱 #10433

Conversation

mcdurdin
Copy link
Member

@mcdurdin mcdurdin commented Jan 18, 2024

Fixes #10431.

The km_core_ prefix has been removed from internal-only functions, and these function declarations moved to context.hpp.

The functions have not been moved from km_core_context_api.cpp at this stage.

Rewrote the function documentation in Javadoc style comments for the internal use functions.

TODO: km_core_context_get is required by Developer

@keymanapp-test-bot skip

Fixes #10431.

The `km_core_` prefix has been removed from internal-only functions, and
these function declarations moved to context.hpp.

The functions have not been moved from km_core_context_api.cpp at this
stage.

Rewrote the function documentation in Javadoc style comments for the
internal use functions.
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Jan 18, 2024

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

@keymanapp-test-bot keymanapp-test-bot bot changed the title refactor(core): remove unused context APIs refactor(core): remove unused context APIs 🌱 Jan 18, 2024
@keymanapp-test-bot keymanapp-test-bot bot added this to the A17S30 milestone Jan 18, 2024
@mcdurdin mcdurdin marked this pull request as ready for review January 18, 2024 08:21
core/include/keyman/keyman_core_api_context.h Outdated Show resolved Hide resolved
core/src/context.hpp Outdated Show resolved Hide resolved
core/src/context.hpp Outdated Show resolved Hide resolved
core/tests/unit/kmnkbd/context_api.cpp Outdated Show resolved Hide resolved
core/src/context.hpp Show resolved Hide resolved
core/src/context.hpp Outdated Show resolved Hide resolved
Base automatically changed from chore/core/10424-surrogate-pair-tests to epic/core/9999-normalization January 19, 2024 02:51
@mcdurdin
Copy link
Member Author

Debian packaging failed with:

[linux/scripts] ## verify starting...
[linux/scripts] OK: libkeymancore API didn't change
[linux/scripts] ERROR: libkeymancore.symbols file got changed without changing the package version number of the symbol
[linux/scripts] Major API change: 9 lines deleted and 0 lines modified
[linux/scripts] ERROR: Major API change without updating API version number in libkeymancore.symbols file
[linux/scripts] OK: API version in .symbols file and in CORE_API_VERSION.md is the same
[linux/scripts] ## verify failed
Error: Process completed with exit code 2.

@mcdurdin mcdurdin modified the milestones: A17S30, A17S31 Jan 20, 2024
@mcdurdin
Copy link
Member Author

KeymanWeb build is flaky (#10494). Not related to anything here.

@mcdurdin mcdurdin merged commit e8e47c0 into epic/core/9999-normalization Jan 24, 2024
14 of 16 checks passed
@mcdurdin mcdurdin deleted the refactor/core/10431-remove-unused-core-context-apis branch January 24, 2024 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants