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(developer): warn on usage of virtual keys in rule output #10062

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

mcdurdin
Copy link
Member

Fixes #10059.

Use of the unsupported and undocumented virtual key output, that doesn't work in recent Keyman versions, at all, now results in a build warning.

Only a warning, because it did kinda work in old versions of Keyman.

Sample output:

$ ./build.sh --compiler /c/Projects/keyman/app/developer/src/kmc/build/src/kmc.js build -k release/g/gandhari/
...
gandhari.kmn:118 - warn KM020AF: Virtual keys are not supported in output
...

@keymanapp-test-bot skip

Fixes #10059.

Use of the unsupported and undocumented virtual key output, that doesn't
work in recent Keyman versions, at all, now results in a build warning.

Only a warning, because it did kinda work in old versions of Keyman.
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Nov 23, 2023

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

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

@mcdurdin mcdurdin merged commit a47137b into master Nov 24, 2023
5 checks passed
@mcdurdin mcdurdin deleted the feat/developer/warn-on-vk-in-output branch November 24, 2023 01:02
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.217-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.

chore(developer): add warning or error if virtual key used in output of rule
3 participants