Merge lp:~dandrader/qtmir/initialSurfaceGeom into lp:qtmir
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Nick Dedekind on 2016-01-26 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 443 | ||||
| Proposed branch: | lp:~dandrader/qtmir/initialSurfaceGeom | ||||
| Merge into: | lp:qtmir | ||||
| Prerequisite: | lp:~dandrader/qtmir/removeUselessClass | ||||
| Diff against target: |
256 lines (+84/-16) 9 files modified
src/modules/Unity/Application/application.cpp (+16/-0) src/modules/Unity/Application/application.h (+3/-0) src/modules/Unity/Application/application_manager.cpp (+24/-1) src/modules/Unity/Application/application_manager.h (+2/-0) src/platforms/mirserver/mirserver.cpp (+8/-1) src/platforms/mirserver/mirserver.h (+3/-1) src/platforms/mirserver/mirwindowmanager.cpp (+20/-10) src/platforms/mirserver/mirwindowmanager.h (+7/-2) tests/mirserver/WindowManager/window_manager.cpp (+1/-1) |
||||
| To merge this branch: | bzr merge lp:~dandrader/qtmir/initialSurfaceGeom | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michał Sawicz | Abstain on 2016-01-27 | ||
| Nick Dedekind (community) | 2016-01-19 | Approve on 2016-01-26 | |
| Unity8 CI Bot | continuous-integration | Needs Fixing on 2016-01-22 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2016-01-22 | |
|
Review via email:
|
|||
Commit Message
Let shell decide the initial surface size
Description of the Change
* Are there any related MPs required for this MP to build/function as expected? Please list.
https:/
https:/
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:436
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:437
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:437
https:/
Executed test runs:
Click here to trigger a rebuild:
https:/
| Nick Dedekind (nick-dedekind) wrote : | # |
Really don't like the way we have to get the window manager pointer, but mir doesnt seem to offer it up except from the configuration, which i dont think we have access to either...
Perhaps caching and returning the pointer from the MirServer would be neater?
http://
Otherwise its Tested and working.
| Daniel d'Andrada (dandrader) wrote : | # |
Ok, thanks for the patch.
On 22/01/2016 14:32, Nick Dedekind wrote:
> Review: Needs Information
>
> Really don't like the way we have to get the window manager pointer, but mir doesnt seem to offer it up except from the configuration, which i dont think we have access to either...
>
> Perhaps caching and returning the pointer from the MirServer would be neater?
> http://
>
> Otherwise its Tested and working.
>
> Diff comments:
>
>> === modified file 'src/platforms/
>> --- src/platforms/
>> +++ src/platforms/
>> @@ -174,9 +184,19 @@
>> }
>> }
>>
>> -std::unique_
>> +std::shared_
>> mir::shell:
>> const std::shared_
>> {
>> - return std::make_
>> -}
>> + auto wm = std::make_
>> + m_instance = wm;
>> + return wm;
>> +}
>> +
>> +MirWindowManager *MirWindowManag
>> +{
>> + // yeah, ugly
>> + return m_instance.
> Maybe return the shared_ptr here from the weak::lock()? Bit safer.
>
>> +}
>> +
>> +std::weak_
>
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:438
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:438
https:/
Executed test runs:
Click here to trigger a rebuild:
https:/
| Nick Dedekind (nick-dedekind) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes
* Did CI run pass? If not, please explain why.
No. dependency
| Michał Sawicz (saviq) wrote : | # |
Please rebase on the rewritten prerequisite, otherwise we're conflicting:
https:/
| Daniel d'Andrada (dandrader) wrote : | # |
> Please rebase on the rewritten prerequisite, otherwise we're conflicting:
>
> https:/
Done.
- 394. By Nick Dedekind on 2016-02-01
-
merged with trunk
- 395. By Nick Dedekind on 2016-02-10
-
merged with trunk
- 396. By Daniel d'Andrada on 2016-02-11
-
Remove the useless TaskController
It was just forwarding calls between ApplicationManager and ApplicationCron
troller.
Had no logic of its own.ApplicationCron
troller was then renamed to TaskController as the latter has a better API and it also keeps ApplicationManager code more or less untouched. Tests have been improved a bit by better emulating TaskController behavior
- 397. By Daniel d'Andrada on 2016-02-11
-
Let shell decide the initial surface size

FAILED: Continuous integration, rev:436 /unity8- jenkins. ubuntu. com/job/ lp-qtmir- 1-ci/22/
https:/
Executed test runs:
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-qtmir- 1-ci/22/ rebuild
https:/