Skip to content

feat(windows): Keyman Core integration 🥑#5443

Merged
rc-swag merged 43 commits intomasterfrom
feat/windows/keyman-core-integration-2
Sep 30, 2021
Merged

feat(windows): Keyman Core integration 🥑#5443
rc-swag merged 43 commits intomasterfrom
feat/windows/keyman-core-integration-2

Conversation

@rc-swag
Copy link
Copy Markdown
Contributor

@rc-swag rc-swag commented Jul 7, 2021

Integrate the common core keyman processor into the Keyman for Windows Engine.
Fixes #5011.

@mcdurdin mcdurdin added this to the A15S8 milestone Jul 7, 2021
@mcdurdin
Copy link
Copy Markdown
Member

mcdurdin commented Jul 7, 2021

Note: I've added milestone A14S8, label windows/ (you need to have both windows/ and windows/engine/ for the category labels)

@mcdurdin mcdurdin modified the milestones: A15S8, A15S9 Jul 12, 2021
@rc-swag rc-swag force-pushed the feat/windows/keyman-core-integration-2 branch from 905b7a1 to 364a17f Compare July 14, 2021 01:24
@rc-swag rc-swag force-pushed the feat/windows/keyman-core-integration-2 branch from 2dd6767 to 306546b Compare July 21, 2021 00:56
@mcdurdin mcdurdin changed the title Feat/windows/keyman core integration 2 feat(windows): Keyman Core integration Jul 22, 2021
Copy link
Copy Markdown
Member

@mcdurdin mcdurdin left a comment

Choose a reason for hiding this comment

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

So far, so good 😉

Liking the set of changes here.

I have added a bunch of comments for a first round; I have avoided commenting on style as far as possible at this point but there's a bit of a mix of indents and brace styles which will need to be cleaned up.

Can you make sure you rollback files that are only whitespace changes? That helps to reduce the PR scope.

Looking forward to the next iteration!

@github-actions github-actions bot added the feat label Jul 26, 2021
@mcdurdin mcdurdin modified the milestones: A15S9, A15S10 Jul 26, 2021
This functions was to update the keyboard options in the
windows engine with the current options in the core

However it is not needed as first thought. This is because the options
will not be updated in first Non updatable call kmtip. This is due to
the fact the actions will not be processed. A variation on the current
core implementation. I am still pushing the branch as the unit test will
be usefull.
Add save and restore methods for saving and restoring
keyboard processor options.
@mcdurdin mcdurdin modified the milestones: A15S12, A15S13 Sep 5, 2021
@mcdurdin mcdurdin modified the milestones: A15S13, A15S14 Sep 18, 2021
Copy link
Copy Markdown
Member

@mcdurdin mcdurdin left a comment

Choose a reason for hiding this comment

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

This is getting close. Next step: user testing!

rc-swag and others added 3 commits September 20, 2021 11:34
Co-authored-by: Marc Durdin <marc@durdin.net>
Add test fixture to allow Setup and Teardown methods to be used
for all km process action tests.
Modified the DebugAssert macro to not do the early return on its own.
Co-authored-by: Marc Durdin <marc@durdin.net>
@rc-swag
Copy link
Copy Markdown
Contributor Author

rc-swag commented Sep 21, 2021

This is getting close. Next step: user testing!
I have addressed those nine changes - However, I have not updated the user testing scenarios yet.

Copy link
Copy Markdown
Member

@mcdurdin mcdurdin left a comment

Choose a reason for hiding this comment

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

LGTM, pending user testing. Exciting -- we should be able to merge this soon!

@keymanapp-test-bot keymanapp-test-bot bot added user-test-required User tests have not been completed and removed user-test-missing User tests have not yet been defined for the PR labels Sep 24, 2021
@MakaraSok
Copy link
Copy Markdown

MakaraSok commented Sep 28, 2021

SUITE_BASIC

  • TEST_LOADINGKEYBOARDS: FAILED The AltGr and Shift+AltGr layers do not output the expected character.
    In LibreOffice and Notepad, pressing AltGr+o, doesn't output ឱ, but triggered a shortcut instead.
  • TEST_KEYBOARDRULES: PASSED The transform/reordering rules work as expected.
  • TEST_DEADKEYS: PASSED All inputs with deadkey do produce the expected outputs.
  • TEST_BACKSPACE: PASSED All inputs with Backspace do produce the expected outputs.

SUITE_CONTEXT_TRACKING

  • TEST_CONTEXT_P1: PASSED Everything works consistently across the apps tested.
  • TEST_CONTEXT_P2: PASSED No obvious issue found.
  • TEST_CONTEXT_P3: PASSED No obvious issue found.

@keymanapp-test-bot keymanapp-test-bot bot removed the user-test-required User tests have not been completed label Sep 28, 2021
@rc-swag
Copy link
Copy Markdown
Contributor Author

rc-swag commented Sep 30, 2021

To cover TEST_LOADINGKEYBOARDS: Failing on key combinations such AltGr+o a new issue #5777 has been created to address the problem. We can then allow this PR to proceed with the known issue to be addressed by #5777

@rc-swag rc-swag merged commit 96da136 into master Sep 30, 2021
@rc-swag rc-swag deleted the feat/windows/keyman-core-integration-2 branch September 30, 2021 00:54
@keyman-server
Copy link
Copy Markdown
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spec(windows): Keyman Core integration 🥑

6 participants