Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[buteo-syncfw] Rework buteo plugin API for out-of-process-plugins API…
… and add buteo-oopp-runner. JB#52916 The current out-of-process plugin API requires plugins to compile in various .cpp files that are bundled in the devel package headers. This means all plugins compile in the same source files when they could just link in some plugin header files instead, and be launched by a plugin helper binary. Move the plugin helper files into oopp-runner and add a buteo-oopp-runner binary that launches out-of-process plugins. This breaks source compatibility for plugins as they now need to add a Buteo::SyncPluginLoader or Buteo::StoragePluginLoader subclass that creates and destroys the plugin class as necessary. DummyClient and DummyServer in unittests/dummyplugins have been updated to reflect the changes. The template generation tools have been removed as they are no longer used and were also generating code for outdated API. Plugins are now determined to be out-of-process purely based on whether they are installed in /usr/lib/buteo-plugins-qt5 (in-process) or /usr/lib/buteo-plugins-qt5/oopp (out-of-process).
- Loading branch information
Showing
49 changed files
with
838 additions
and
3,613 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.