Merge lp:~aacid/unity8/clazy_run into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Michał Sawicz on 2015-11-27 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 2064 |
| Proposed branch: | lp:~aacid/unity8/clazy_run |
| Merge into: | lp:unity8 |
| Prerequisite: | lp:~dandrader/unity8/fallbackCursorNames |
| Diff against target: |
701 lines (+124/-127) 26 files modified
libs/UbuntuGestures/Pool.h (+0/-8) plugins/Cursor/CursorImageProvider.cpp (+64/-64) plugins/Cursor/MousePointer.cpp (+2/-2) plugins/Cursor/plugin.cpp (+1/-1) plugins/Dash/horizontaljournal.cpp (+1/-1) plugins/Dash/listviewwithpageheader.cpp (+3/-3) plugins/Dash/organicgrid.cpp (+3/-3) plugins/Dash/organicgrid.h (+2/-2) plugins/Dash/verticaljournal.cpp (+6/-6) plugins/Dash/verticaljournal.h (+1/-1) plugins/GlobalShortcut/globalshortcutregistry.cpp (+1/-1) plugins/IntegratedLightDM/liblightdm/Greeter.cpp (+1/-1) plugins/Ubuntu/DownloadDaemonListener/DownloadTracker.h (+1/-1) plugins/Ubuntu/Gestures/Damper.h (+2/-2) plugins/Ubuntu/Gestures/DirectionalDragArea.cpp (+3/-3) plugins/Ubuntu/Gestures/DirectionalDragArea_p.h (+3/-3) plugins/Unity/Launcher/asadapter.h (+3/-0) plugins/Unity/Launcher/dbusinterface.cpp (+8/-7) plugins/Unity/Platform/platform.cpp (+2/-2) plugins/Utils/constants.cpp (+1/-1) plugins/Utils/easingcurve.cpp (+1/-1) plugins/Utils/easingcurve.h (+1/-1) plugins/Utils/timezoneFormatter.cpp (+1/-1) plugins/Utils/windowstatestorage.cpp (+5/-5) plugins/Utils/windowstatestorage.h (+2/-2) src/ShellApplication.cpp (+6/-5) |
| To merge this branch: | bzr merge lp:~aacid/unity8/clazy_run |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michał Sawicz | Approve on 2015-11-27 | ||
| Lukáš Tinkl (community) | 2015-11-23 | Needs Information on 2015-11-27 | |
| Michael Zanetti (community) | Abstain on 2015-11-25 | ||
| PS Jenkins bot | continuous-integration | 2015-11-23 | Needs Fixing on 2015-11-23 |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2015-11-20.
Commit Message
clazy improvements
Pass small (<=16 bytes) and trivially-
Don't call QList::operator[]() on temporary
Fix QString(const char*) being called
Use qEnvironmentVar
Use the multiarg arg()
use Q_FOREACH for non const qt containers
delete copy constructor and assignment operator for non copyable class
remove assignment operator that does the same as the default one
[1] http://
[2] http://
[3] http://
Description of the Change
* Are there any related MPs required for this MP to build/function as expected?
No
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* Did you make sure that your branch does not contain spurious tags?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
* If you changed the UI, has there been a design review?
N/A
| Lukáš Tinkl (lukas-kde) wrote : | # |
LGTM
* 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.
Nope, not running :/
* Did you make sure that the branch does not contain spurious tags?
Yes
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2055
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2057
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Michael Zanetti (mzanetti) wrote : | # |
Why is it removing the references on QRect arguments?
| Albert Astals Cid (aacid) wrote : | # |
> Why is it removing the references on QRect arguments?
Because it fits into the "Pass small (<=16 bytes) and trivially-
- 2057. By Josh Arenson on 2015-11-26
-
Don't let IntegratedLightDM muck with the username Fixes: #1497081
Approved by: Lukáš Tinkl - 2058. By Michael Zanetti on 2015-11-26
-
move screenshots out of the Dash dir
This was consuming 2.5 megs of installed size while they really are
only used for testing.
Approved by: Albert Astals Cid - 2059. By Daniel d'Andrada on 2015-11-26
-
Don't stretch application surfaces when resizing Fixes: #1497083
Approved by: Michael Zanetti - 2060. By Lukáš Tinkl on 2015-11-26
-
Implement new visuals for panel and window decorations Fixes: #1493066, #1497095, #1511020
Approved by: Daniel d'Andrada - 2061. By Daniel d'Andrada on 2015-11-26
-
Mouse has to push against edges to show launcher or apps spread
edge-barrier-
sensitivity is the property that should show up in the System Settings GUI. edge-barrier-
min-push and edge-barrier- max-push are exposed in GSettings merely as a convenience so you can tweak those values without having to restart unity8. But they should NOT show up in system settings. Fixes: #1510969
Approved by: Michael Zanetti - 2062. By Daniel d'Andrada on 2015-11-26
-
DesktopStage: swiping from right edge shows window spread
Approved by: Lukáš Tinkl - 2063. By Daniel d'Andrada on 2015-11-26
-
Cursor: Add more fallback names, a blank and custom cursor support
Approved by: Lukáš Tinkl - 2064. By Albert Astals Cid on 2015-11-26
-
clazy improvements
Pass small (<=16 bytes) and trivially-
copyable[ 1] and trivially- destructible [2] type by value [3]
Don't call QList::operator[]() on temporary
Fix QString(const char*) being called
Use qEnvironmentVariableIsEmpty( ) instead of qgetenv().isEmpty()
Use the multiarg arg()
use Q_FOREACH for non const qt containers
delete copy constructor and assignment operator for non copyable class
remove assignment operator that does the same as the default one[1] http://
en.cppreference .com/w/ cpp/concept/ TriviallyCopyab le
[2] http://www.cplusplus. com/reference/ type_traits/ is_trivially_ destructible/
[3] http://www.macieira. org/blog/ 2012/02/ the-value- of-passing- by-value/
| Lukáš Tinkl (lukas-kde) wrote : | # |
One autopilot test failing: unity8.
| Albert Astals Cid (aacid) wrote : | # |
> One autopilot test failing:
> unity8.
> Ubuntu Edition) https:/
> runner-
It's randomly happening in various MR's see https:/
Don't think it's this MR fault, I investigated/tried to reproduce yesterday and could not get it to happen.

FAILED: Continuous integration, rev:2055 jenkins. qa.ubuntu. com/job/ unity8- ci/6758/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 5296 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- xenial- touch/173/ console jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- vivid/1471/ console jenkins. qa.ubuntu. com/job/ unity8- qmluitest- xenial- amd64/173 jenkins. qa.ubuntu. com/job/ unity8- vivid-amd64- ci/1365 jenkins. qa.ubuntu. com/job/ unity8- vivid-i386- ci/1366 jenkins. qa.ubuntu. com/job/ unity8- xenial- amd64-ci/ 172 jenkins. qa.ubuntu. com/job/ unity8- xenial- i386-ci/ 172 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-touch/ 4201 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 5316 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 5316/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 25335 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- xenial- touch/45/ console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- xenial- armhf/173 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- xenial- armhf/173/ artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 25336
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/6758/ rebuild
http://