Merge lp://qastaging/~alan-griffiths/unity-mir/dont-use-ApplicationSession into lp://qastaging/unity-mir

Proposed by Alan Griffiths
Status: Merged
Approved by: Alan Griffiths
Approved revision: 144
Merged at revision: 147
Proposed branch: lp://qastaging/~alan-griffiths/unity-mir/dont-use-ApplicationSession
Merge into: lp://qastaging/unity-mir
Prerequisite: lp://qastaging/~alan-griffiths/unity-mir/we-dont-need-SurfaceBuilder
Diff against target: 324 lines (+40/-42)
8 files modified
src/modules/Unity/Application/application.cpp (+3/-3)
src/modules/Unity/Application/application.h (+4/-4)
src/modules/Unity/Application/application_manager.cpp (+8/-7)
src/modules/Unity/Application/application_manager.h (+4/-5)
src/modules/Unity/Application/mirsurfacemanager.cpp (+5/-2)
src/modules/Unity/Application/mirsurfacemanager.h (+3/-3)
src/unity-mir/sessionlistener.cpp (+8/-12)
src/unity-mir/sessionlistener.h (+5/-6)
To merge this branch: bzr merge lp://qastaging/~alan-griffiths/unity-mir/dont-use-ApplicationSession
Reviewer Review Type Date Requested Status
Gerry Boland (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+195242@code.qastaging.launchpad.net

Commit message

ApplicationSession is a Mir implementation class that shouldn't be used by unity-mir, use shell::session instead

Description of the change

ApplicationSession is a Mir implementation class that shouldn't be used by unity-mir, use shell::session instead

NB this change is dependent on pending Mir changes (libmirserver-dev >= 0.1.1)

To post a comment you must log in.
140. By Alan Griffiths

Don't use mir::shell::ApplicationSession

141. By Alan Griffiths

Don't use mir::shell::ApplicationSession or SessionManager

142. By Alan Griffiths

As in Rome...

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Gerry Boland (gerboland) wrote :

I think you got everything :)

Please add explicit version dependence on libmirserver-dev to the debian/control file.

review: Needs Fixing
143. By Alan Griffiths

merge lp:unity-mir

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

> I think you got everything :)
>
> Please add explicit version dependence on libmirserver-dev to the
> debian/control file.

I was relying on something like (it didn't exist when I proposed this) https://code.launchpad.net/~kgunn72/unity-mir/bump-mir-dep-0.1.1/+merge/193521 landing first - which it has. ;)

Merging current trunk in should address that.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Gerry Boland (gerboland) wrote :

Missed stuff:

src/unity-mir/sessionlistener.cpp:
qRegisterMetaType<std::shared_ptr<msh::Session>>("std::shared_ptr<mir::shell::ApplicationSession>");
would be best to keep the Qt Metatype name matching the actual type.

src/modules/Unity/Application/application_manager.h:
you could remove the "class ApplicationSession;" here too. I don't see it being referred to anywhere.

review: Needs Fixing
144. By Alan Griffiths

tidy up stuff Gerry spotted in review

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

> Missed stuff:

sorted, thanks

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Gerry Boland (gerboland) wrote :

Works! Thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches