From kde-panel-devel Fri Aug 29 15:25:11 2014 From: "Aaron J. Seigo" Date: Fri, 29 Aug 2014 15:25:11 +0000 To: kde-panel-devel Subject: Re: Review Request 119992: PackageStructure plugin loading and tidy up of DataEngien plugin loading Message-Id: <20140829152511.11205.51691 () probe ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=140932594131947 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============4547272693765919149==" --===============4547272693765919149== Content-Type: multipart/alternative; boundary="===============6620314855847087276==" --===============6620314855847087276== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/119992/ ----------------------------------------------------------- (Updated Aug. 29, 2014, 3:25 p.m.) Status ------ This change has been marked as submitted. Review request for KDE Frameworks and Plasma. Repository: plasma-framework Description ------- This patch removes dead code (ContainmentPackage), clean up DataEngine plugin loading and updates PackageStructure plugin loading. Open question: which plugin loading mechanism is to be used: a) KServiceTypeTrader b) KPluginTrader c) KPlugintTrader with a KServiceTypeTrade fallback d) KServiceTypeTrader with a KPluginTrader fallback DataEngine is currently (b), complete with a #define in the header that won't work as expected. In this patch PackageStructure is moved to (b) as well. (There is an open RR for a correponding patch set in plasma-workspace). Everything else seems to use (a). Some plugins are not used in Plasma 5 due to changes with QML, and I guess that some of this confusion is due to the decreased use of some of these plugins. A decision needs to be made, however about what they should be now and in the future. Diffs ----- src/plasma/pluginloader.cpp d2ba5ca2d3a96fe6f1ce26be41df3b0954b924df src/plasma/private/packages.cpp 5eb6f0021392257634dfd958c940b2945989e48b src/plasma/private/packages_p.h 0833a4ed1b5704efffccade5e52589878e8b4957 src/plasma/package.cpp 6ad332167bb83c2f794f9f5d059e9f369ad33841 src/plasma/packagestructure.h fb32c22a6e7df1528b3d7a5b30b94c60a85a93e3 Diff: https://git.reviewboard.kde.org/r/119992/diff/ Testing ------- Ran a Plasma Desktop 5 session with these changes. Thanks, Aaron J. Seigo --===============6620314855847087276== MIME-Version: 1.0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/119992/

This change has been marked as submitted.


Review request for KDE Frameworks and Plasma.
By Aaron J. Seigo.

Updated Aug. 29, 2014, 3:25 p.m.

Repository: plasma-framework

Description

This patch removes dead code (ContainmentPackage), clean up DataEngine plugin loading and updates PackageStructure plugin loading.

Open question: which plugin loading mechanism is to be used:

a) KServiceTypeTrader
b) KPluginTrader
c) KPlugintTrader with a KServiceTypeTrade fallback
d) KServiceTypeTrader with a KPluginTrader fallback

DataEngine is currently (b), complete with a #define in the header that won't work as expected.
In this patch PackageStructure is moved to (b) as well. (There is an open RR for a correponding patch set in plasma-workspace).
Everything else seems to use (a).

Some plugins are not used in Plasma 5 due to changes with QML, and I guess that some of this confusion is due to the decreased use of some of these plugins. A decision needs to be made, however about what they should be now and in the future.

Testing

Ran a Plasma Desktop 5 session with these changes.

Diffs

  • src/plasma/pluginloader.cpp (d2ba5ca2d3a96fe6f1ce26be41df3b0954b924df)
  • src/plasma/private/packages.cpp (5eb6f0021392257634dfd958c940b2945989e48b)
  • src/plasma/private/packages_p.h (0833a4ed1b5704efffccade5e52589878e8b4957)
  • src/plasma/package.cpp (6ad332167bb83c2f794f9f5d059e9f369ad33841)
  • src/plasma/packagestructure.h (fb32c22a6e7df1528b3d7a5b30b94c60a85a93e3)

View Diff

--===============6620314855847087276==-- --===============4547272693765919149== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============4547272693765919149==--