Skip to content

Conversation

@kaiwk
Copy link
Contributor

@kaiwk kaiwk commented Aug 21, 2020

  • Tested on all platforms changed
    • Tested on Mac
  • Compilation warnings were addressed
  • cargo fmt has been run on this branch
  • cargo doc builds successfully
  • Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • Created or updated an example program if it would help users understand this functionality
  • Updated feature matrix, if new features were added or implemented

see: #1497

* WIP: add composition event suppor prototype

This change requires x11-dl crate
Also, I should send actual string in IME

* send actual preedit string

* run cargo fmt

* update cargo.toml

* remove warning

* address comments in PR

* follow web spec

After the discussion on the PR, I decided to follow the Web
specification for the composition events. I added a few states to filter
out unnecessary events.

* remove println

* fix cursor pos calc

* Re-run CI

Co-authored-by: Murarth <murarth@gmail.com>
@kchibisov kchibisov self-requested a review October 10, 2020 17:48
@kchibisov
Copy link
Member

I'll take a look on it once we figure out renaming and preferred event structure on #1622, if you have any concerns or questions you can chime in.

@kaiwk kaiwk force-pushed the composition-event branch from 698f925 to 3f2e088 Compare November 22, 2020 15:56
Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
@kchibisov
Copy link
Member

We've updated the composition branch, so if you can update your PR based on that it'll be nice.

@kaiwk kaiwk force-pushed the composition-event branch from 3f2e088 to 964c269 Compare November 24, 2020 12:34
Closes servo/core-foundation-rs#405, seems we don't need InputMethodKit bindings.
@kaiwk kaiwk force-pushed the composition-event branch from 964c269 to 1484cc7 Compare December 1, 2020 13:05
@kchibisov
Copy link
Member

Note, you'd need to send IME::Enable at some point, though, given that both X11 and macOS doesn't have such information I may end up removing this even entirely.

@kaiwk
Copy link
Contributor Author

kaiwk commented Dec 3, 2020

Not sure why CI failed.

@ArturKovacs ArturKovacs mentioned this pull request Mar 21, 2021
8 tasks
@maroider maroider added the DS - appkit Affects the AppKit/macOS backend label May 7, 2021
@komi1230 komi1230 mentioned this pull request Aug 6, 2021
8 tasks
@madsmtm
Copy link
Member

madsmtm commented Feb 4, 2022

Moved to #2147, thanks for your work on this @kaiwk!

@madsmtm madsmtm closed this Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DS - appkit Affects the AppKit/macOS backend

Development

Successfully merging this pull request may close these issues.

5 participants