Skip to content

Conversation

@ermshiperete
Copy link
Contributor

The field of KeymanEngineBase that holds the InputProcessor used to be called core. This can be easily confused with Keyman Core, especially now that we're implementing web-core. This change therefore renames the field to inputProcessor.

Test-bot: skip

The field of `KeymanEngineBase` that holds the `InputProcessor` used to be
called `core`. This can be easily confused with Keyman Core, especially now
that we're implementing web-core. This change therefore renames the field to
`inputProcessor`.

Test-bot: skip
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Jan 8, 2026

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

  • Android
    • Keyman for Android apk - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for Android apk - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for Android apk (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
    • KeyboardHarness apk - build : all tests passed (no artifacts on BuildLevel "build")
    • Keyman for Android apk (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
    • KMSample1 apk - build : all tests passed (no artifacts on BuildLevel "build")
    • KMSample2 apk - build : all tests passed (no artifacts on BuildLevel "build")
  • Developer
    • Keyman Developer - build : all tests passed (no artifacts on BuildLevel "build")
    • Compiler Regression Tests - build : all tests passed (no artifacts on BuildLevel "build")
    • Keyman Developer (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
    • kmcomp.zip - build : all tests passed (no artifacts on BuildLevel "build")
    • kmcomp.zip (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
  • iOS
    • Keyman for iOS (simulator image) - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for iOS (simulator image) - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for iOS (simulator image) (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
    • Keyman for iOS (simulator image) (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
  • Keyboards
    • Test Keyboards - build : all tests passed (no artifacts on BuildLevel "build")
  • Web
    • KeymanWeb Test Home - build : all tests passed (no artifacts on BuildLevel "build")

@keymanapp-test-bot keymanapp-test-bot bot changed the title refactor(web): rename field core to inputProcessor refactor(web): rename field core to inputProcessor 🎼 Jan 8, 2026
@keymanapp-test-bot keymanapp-test-bot bot added this to the A19S20 milestone Jan 8, 2026
Copy link
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.

I don't disagree with your assessment, but we do have dependencies on the name core in other modules (first reference only for each file):

You should also fixup the unit tests at:

This change would need extensive testing across iOS, Android, and Developer web test.

Then, you should also fixup the Engine documentation where the "Keyman Core Module" is something else again:

This isn't a comprehensive audit of potential stumbling points. We need to be careful with JS/TS because internals can easily leak, like in this case.

If we do go ahead with this, the rename should be highlighted in release notes because even though it was an undocumented API, we used it ourselves to accomplish things, and other KeymanWeb integrators may well have done the same.

@darcywong00
Copy link
Contributor

Some additional references:

@ermshiperete
Copy link
Contributor Author

I should have checked the rest of the repo. Thanks!

Doesn't seem worth to continue at the moment, so I'm closing this PR.

@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Jan 9, 2026
@ermshiperete ermshiperete deleted the refactor/web/fieldname branch January 9, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants