Review Request 119972: Enable loading plugins using KPluginLoader::findPlugins()
Alexander Richardson
arichardson.kde at gmail.com
Thu Aug 28 12:58:47 UTC 2014
> On Aug. 28, 2014, 2:10 nachm., Milian Wolff wrote:
> > shell/plugincontroller.cpp, line 267
> > <https://git.reviewboard.kde.org/r/119972/diff/1/?file=307976#file307976line267>
> >
> > this should be the only search method then, no? i.e. the block below could/should be removed?
Yes definitively, however there will still be some unported plugins. Therefore I thought we should warn for a while so that that unported plugins can easily be found.
Obviously in the long run this should be removed.
- Alexander
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119972/#review65424
-----------------------------------------------------------
On Aug. 28, 2014, 1:41 nachm., Alexander Richardson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119972/
> -----------------------------------------------------------
>
> (Updated Aug. 28, 2014, 1:41 nachm.)
>
>
> Review request for KDevelop.
>
>
> Repository: kdevplatform
>
>
> Description
> -------
>
> This iterates over all plugins in the kdevplatform/$KDEVPLATFORM_VERSION
> subdirectories of QCoreApplication::libraryPaths and will then include
> all plugins that contain "KDevelop/Plugin" in their service types.
>
> This meta data is now embedded directly in the shared libraries, there
> is no more need for kbuildsycoca and .desktop files.
>
> This means we now require KCoreAddons 5.2 and KService 5.2
>
>
> For testing I converted KDevWelcomepage to the new JSON metadata and it
> loads fine. If this approach is deemed correct I will convert the other plugins.
>
>
> It requires https://git.reviewboard.kde.org/r/119970/ to get committed first.
>
>
> Diffs
> -----
>
> plugins/welcomepage/CMakeLists.txt 34ee3302fadd8a85a66dd2f5b776f0aa09468afb
> plugins/welcomepage/kdevwelcomepageplugin.desktop.cmake
> plugins/welcomepage/welcomepageplugin.cpp d24317e7767600d2774972ace8a4f1f708c565d1
> shell/plugincontroller.cpp 1acb54b5cd6aad61abbb515bb7b4a6aa536c7d22
>
> Diff: https://git.reviewboard.kde.org/r/119972/diff/
>
>
> Testing
> -------
>
> Welcomepage loads fine when opening kdevelop. It new finds 1 new style plugin and 43 old style ones instead of 44 oldstyle ones
>
> KDEVELOP_PLUGIN_VERSION should probably get incremented once this (and the conversion of plugins to JSON) lands so that old remaining .desktop files are not found.
>
>
> Thanks,
>
> Alexander Richardson
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140828/b4b2e979/attachment.html>
More information about the KDevelop-devel
mailing list