Commit graph

6 commits

Author SHA1 Message Date
Björn Daase
1d02b8b70b *: fix spelling mistakes found by codespell 2020-08-19 09:34:58 +02:00
Michael Gratton
544289688a src/client: Fix warnings and errors reported by valadoc 2020-04-08 12:07:05 +10:00
Michael Gratton
1e8f60a9e2 Plugin:NotificationContext: Remove FolderStore accessor method
Now that FolderExtension exists, plugins can just get an instance of
the folder store by implementing that.
2020-03-30 21:45:26 +11:00
Michael Gratton
fd09105136 Plugin:NotificationContext: Remove EmailStore accessor method
Now that EmailExtenion exists, plugins can just get an instance of
the email store by implementing that.
2020-03-30 21:45:26 +11:00
Michael Gratton
45d05dd3f6 Plugin: Fix some bad API docs 2020-03-21 17:03:47 +11:00
Michael Gratton
154bb2d2c5 Rework and clean up how plugin extensions work
Since libpeas doesn't allow a single plugin instance to have multiple
extensions, define a single libpeas extension as a base class for all
plugins and define extensions as non-libpeas interfaces shared by a
single plugin. Manage loading/unloading these ourselves.

This also defines a new trusted extension interface for plugins that
need access to Geary's internals, new error domain for plugis, and
made the notification context a plugin interface that is implemented by
the application object.
2020-03-17 19:23:24 +11:00