-
-
Notifications
You must be signed in to change notification settings - Fork 111
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,linux,developer,windows): implement loading KMX from blob 🍒 #12721
feat(core,linux,developer,windows): implement loading KMX from blob 🍒 #12721
Conversation
- split keyboard loading into loading KMX file into blob and then loading the keyboard processor from the blob. - deprecate `km_core_keyboard_load` - move file access next to deprecated method. This is now the only place that loads a file in Core; unit tests have some more places that load files. - introduce GTest and add unit tests for loading from blob Cherry-picked from `epic/web-core` branch. Cherry-Pick-Commit: 1deaa32 Cherry-Pick-Commit: 59019cc Cherry-Pick-Commit: bc46458 Cherry-Pick-Commit: d06aa29 Cherry-Pick-Commit: 1c88166 Cherry-Pick-Commit: 069cd21 Cherry-Pick-Commit: 052ae2e Cherry-Pick-Commit: 11a2a3b Part-of: #11293 Part-of: #8093
User Test ResultsTest specification and instructions User tests are not required Test Artifacts
|
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
We'll need to do at least one more cherry-pick for mac engine when that is done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Changes in this pull request will be available for download in Keyman version 18.0.148-alpha |
static bool is_kmxplus_file( | ||
path const & kb_path, | ||
std::vector<uint8_t>& data | ||
const std::vector<uint8_t> & data | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NB: the declaration here was left even though the implementation is gone - I'll fix it in #12644
This is a cherry-pick from
epic/web-core
of the new Core API for loading a KMX keyboard from a blob so that it can be included in Keyman 18.loading the keyboard processor from the blob.
that loads a file in Core; unit tests have some more places that
load files.
Cherry-picked from
epic/web-core
branch.Cherry-Pick-Commit: 1deaa32
Cherry-Pick-Commit: 59019cc
Cherry-Pick-Commit: bc46458
Cherry-Pick-Commit: d06aa29
Cherry-Pick-Commit: 1c88166
Cherry-Pick-Commit: 069cd21
Cherry-Pick-Commit: 052ae2e
Cherry-Pick-Commit: 11a2a3b
Part-of: #11293
Part-of: #8093
Fixes: #12498
Cherry-pick: #12683
Fixes: #12690
Cherry-pick: #12711
Fixes: #12500
Cherry-pick: #12684
@keymanapp-test-bot skip