Implement ISpellChecker backend for Windows >= 8
ClosedPublic

Authored by cullmann on Nov 10 2019, 6:28 PM.

Details

Summary

Provide ISpellChecker backend for Sonnet on Windows
This avoids to ship all the hunspell dictionaries for Windows.

Diff Detail

Repository
R246 Sonnet
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
cullmann created this revision.Nov 10 2019, 6:28 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptNov 10 2019, 6:28 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
cullmann requested review of this revision.Nov 10 2019, 6:28 PM

Some feedback?
Else I would just try that.
For me it worked fine (obviously).

Some feedback?
Else I would just try that.
For me it worked fine (obviously).

I will try it out over the weekend. It's something I planned to work on myself, but you were faster ;)

Ok, thank you!

I've tried it out and works just fine! :)

Then we can merge this, or?

vonreth added inline comments.Nov 16 2019, 9:11 PM
src/plugins/ispellchecker/ispellcheckerclient.cpp
34

is that needed? It should be handled by the qt main loop?

60

qt main loop again

cullmann marked 2 inline comments as done.Nov 17 2019, 11:45 AM
cullmann added inline comments.
src/plugins/ispellchecker/ispellcheckerclient.cpp
34

The docs state one shall do that in any case and that it stacks.
I think there is no harm to do it, just to be sure com is correctly initialized.

vonreth accepted this revision.Nov 17 2019, 1:59 PM
This revision is now accepted and ready to land.Nov 17 2019, 1:59 PM
This revision was automatically updated to reflect the committed changes.
cullmann marked an inline comment as done.

This allows to shrink e.g. the Kate installation on Windows from 431 MB to 274 MB, > 150 MB space less occupied ;=)