Review Request: Return 80% functionality to PMC, further evolving of state architecture
Alessandro Diaferia
alediaferia at gmail.com
Sun May 9 12:04:24 CEST 2010
2010/5/4 Christophe Olinger <olingerc at binarylooks.com>
>
>
> > On 2010-05-03 14:36:29, Alessandro Diaferia wrote:
> > >
>
> Applied all the suggestions. Thanks for the QFlags idea.
> For the next patch I'll review all my functions and variables for "const"
> and "virtual" and pure virtual. It'll also include all the stuff that I
> showed in my blog post.
>
>
> - Christophe
>
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/3552/#review5322
> -----------------------------------------------------------
>
>
> On 2010-04-27 16:44:10, Christophe Olinger wrote:
> >
> > -----------------------------------------------------------
> > This is an automatically generated e-mail. To reply, visit:
> > http://reviewboard.kde.org/r/3552/
> > -----------------------------------------------------------
> >
> > (Updated 2010-04-27 16:44:10)
> >
> >
> > Review request for Plasma and Alessandro Diaferia.
> >
> >
> > Summary
> > -------
> >
> > The state calsses now have less functions. Only one for connections and
> one for configuration. The first one is only called once at PMC
> initialization, the second one is called at each state switch. Some
> connections can conflict between states. Those are connected at entry() and
> disconnected at exit(). Thanks to Alessandr's work we can now also configure
> the layout from within the state class (I only had to correct some namespace
> stuff in the medialayout class, I hope that was correct).
> > This patch also gets basic functionality back. The modes are not really
> useful yet. Video mode is the most complete and can be used to view
> everything at th moment.
> > Next step: Clean this up a bit
> > Think about subclassing plasma widgets to get the widget type into the
> widget. This is necessary to be able to tell the controller to layout into
> zones.
> > Start work on information bar.
> >
> >
> > Diffs
> > -----
> >
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/CMakeLists.txt
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/abstractmediaitemview.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/abstractmediaitemview.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/mediabrowser.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/mediabrowser.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/mediabrowserlibs/modelpackage.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/CMakeLists.txt
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localfiles/CMakeLists.txt
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localfiles/localconfig.ui
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localfiles/localfiles.desktop
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localfiles/localfilespackage.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localfiles/localfilespackage.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localmusic/CMakeLists.txt
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localmusic/localmusic.desktop
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localmusic/localmusicconfig.ui
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localmusic/localmusicpackage.h
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localmusic/localmusicpackage.cpp
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localpictures/CMakeLists.txt
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localpictures/localpictures.desktop
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localpictures/localpicturesconfig.ui
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localpictures/localpicturespackage.h
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localpictures/localpicturespackage.cpp
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localvideos/CMakeLists.txt
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localvideos/localvideos.desktop
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localvideos/localvideosconfig.ui
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localvideos/localvideospackage.h
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/modelpackages/localvideos/localvideospackage.cpp
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/viewitem.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediabrowser/viewitem.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediacontroller/controller.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediacontroller/controller.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediainfobar/CMakeLists.txt
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediainfobar/mediainfobar.h
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediainfobar/mediainfobar.cpp
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediainfobar/plasma-applet-mediainfobar.desktop
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediaplayer/config.ui
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediaplayer/mediaplayer.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/mediaplayer/mediaplayer.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/playlist/playlistapplet.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/playlist/playlistapplet.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/playlist/playlistwidget.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/applets/playlist/playlistwidget.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/containments/mediacontainment/mediacontainment.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/containments/mediacontainment/mediacontainment.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/CMakeLists.txt
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/browser.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/browser.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/homestate.h
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/homestate.cpp
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/infodisplay.h
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/infodisplay.cpp
> PRE-CREATION
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/mediacenter.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/mediacenterstate.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/mediacenterstate.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/medialayout.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/medialayout.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/musicstate.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/musicstate.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/picturestate.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/picturestate.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/playbackcontrol.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/playbackcontrol.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/player.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/player.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/playlist.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/videostate.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/libs/mediacenter/videostate.cpp
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/shells/plasmediacenter/mainwindow.h
> 1117494
> >
> trunk/playground/base/plasma/MediaCenterComponents/shells/plasmediacenter/mainwindow.cpp
> 1117494
> >
> > Diff: http://reviewboard.kde.org/r/3552/diff
> >
> >
> > Testing
> > -------
> >
> > Lots and lots. Seems to be quite slow, but I think that is a problem in
> the player. It always iterates over all the queue even if it should only
> show a picture.
> >
> >
> > Thanks,
> >
> > Christophe
> >
> >
>
>
What's the state of this patch? I'd like you to apply this as soon as it is
in an acceptable state and then start sending more specific patches. With
this i mean you should start sending different patches for the applets,
dataengines, library, backends, etc sub-fields. This way other devs can work
on PMC with a lower risk of breaking what you are working on. I say this
also to help Hayri, the GSoC student, to start hacking directly on PMC.
Cheers
--
Alessandro Diaferia
KDE Developer
KDE e.V. member
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20100509/42519ef3/attachment.htm
More information about the Plasma-devel
mailing list