Evolution AI Proofread Plugin

Hi everyone!

After switching to Evolution from another mail client, I really missed having an AI proofreading feature, so I decided to code a simple extension to address that. The basic functionality is working, and the project is currently in beta. I haven鈥檛 coded in C for a while and am new to Gnome development, so the code might be a bit rough around the edges. Any feedback, and especially pull requests, would be greatly appreciated! :slightly_smiling_face:

There鈥檚 no binary release yet, so you鈥檒l need to compile it yourself:

If you find it useful, please let me know鈥攊t鈥檒l motivate me to keep improving it!

Cheers,
Vadim

Hi,
it鈥檚 an interesting idea. I did not think of any such thing myself.

From a glance look, you currently target 3.54.x and earlier series.
The 3.55.1 development version removed the GtkUIManager (and GtkAction)
usages, thus you鈥檒l need to adapt your code for those changes when you
target 3.56.x and newer versions.

The git repository contains src/libai-proofread-plugin.so. You might
not have it there, it鈥檚 a built file, if I鈥檓 not mistaken.

Bye,
Milan

Thanks!

Since I am probably the only user, I will work on migrating the code when the new version of Evolution lands via my distro updates, and the plugin will stop working for me :slight_smile:

Are there migration guidelines for the new APIs? Or, at the very least, is there a git repo with old and new versions of the example plugin from the wiki page so I can compare the code to figure out what needs to be changed? I do not regularly develop from Gnome/Evolution, so it would require some effort on my part :frowning:

Thanks for pointing out the .so file in the repository. It has now been removed.

Vadim

Are there migration guidelines for the new APIs?

Hi,

I did not write any migration guide, but as you said, there are ways to
check what had been done to make it work for other plugins. The
evolution-ews changes can be used as a reference [1].

Or, at the very least, is there a git repo with old and new versions
of the example plugin from the wiki page so I can compare the code
to figure out what needs to be changed?

Sure, the example module page/section [2] contains sources of the both
versions, before and after 3.55.1, thus you can compare the changes
with:

   diff -upr old/ new/ >changes.patch

where the old/ and new/ are the directories where you unpacked the
example module sources for the old and the new version respectively.

Bye,
Milan

[1] Adapt to GtkUIManager removal from Evolution (9632683d) 路 Commits 路 GNOME / evolution-ews 路 GitLab
[2] Extensions 路 Wiki 路 GNOME / evolution 路 GitLab