Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin API #1879

Draft
wants to merge 19 commits into
base: develop
Choose a base branch
from
Draft

Plugin API #1879

wants to merge 19 commits into from

Commits on Feb 11, 2024

  1. Add first version of plugin support

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    7f7bab2 View commit details
    Browse the repository at this point in the history
  2. Rework way extensionpoints are registered

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    feee648 View commit details
    Browse the repository at this point in the history
  3. Add a pluginReload signal so UI can reload

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    d0a233a View commit details
    Browse the repository at this point in the history
  4. Make registerExtensionpoint check the base class

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    f2a597f View commit details
    Browse the repository at this point in the history
  5. Make call to QRandomGenerator using quint32 to be compatible with qt5

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    7e3f869 View commit details
    Browse the repository at this point in the history
  6. Remove usage of GCC attributes to register extension points

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    b56c9f1 View commit details
    Browse the repository at this point in the history
  7. Remove randomized cat picture when unloading catpack that's currently…

    … active; just using the first remaining one instead
    
    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    6953bf1 View commit details
    Browse the repository at this point in the history
  8. Remove nodiscard from PluginList::loadList

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    22c7076 View commit details
    Browse the repository at this point in the history
  9. Format code correctly

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    b97d61f View commit details
    Browse the repository at this point in the history
  10. Include <memory> to fix missing std::shared_ptr in qt5

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    d7391e7 View commit details
    Browse the repository at this point in the history
  11. Rename Plugin's metaurl to homepage

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    9c566e2 View commit details
    Browse the repository at this point in the history
  12. Restart requirement for plugin disable is now dynamically resolved

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    eb530c4 View commit details
    Browse the repository at this point in the history
  13. Fix PluginContribution::kind not being implemented

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    8e340fb View commit details
    Browse the repository at this point in the history
  14. Only unload native plugin when it does not require a restart

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    466c5a2 View commit details
    Browse the repository at this point in the history
  15. Fix segfault

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    8b6aabb View commit details
    Browse the repository at this point in the history
  16. Fix loading issues of native plugins with different qt versions

    Fixed by changing the plugin.json format to specify natives per qt version.
    
    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    19fc192 View commit details
    Browse the repository at this point in the history
  17. Add version property to plugins

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    319bcea View commit details
    Browse the repository at this point in the history
  18. Fix formatting

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    6311b60 View commit details
    Browse the repository at this point in the history
  19. Make plugins remove-able through the ui

    Signed-off-by: Mai-Lapyst <67418776+Mai-Lapyst@users.noreply.github.com>
    Mai-Lapyst committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    dfb9975 View commit details
    Browse the repository at this point in the history