Merge lp:~stolowski/unity-scopes-shell/fix-temp-scopes into lp:unity-scopes-shell
| Status: | Merged |
|---|---|
| Approved by: | Albert Astals Cid on 2015-02-12 |
| Approved revision: | 196 |
| Merged at revision: | 196 |
| Proposed branch: | lp:~stolowski/unity-scopes-shell/fix-temp-scopes |
| Merge into: | lp:unity-scopes-shell |
| Diff against target: |
188 lines (+39/-20) 7 files modified
debian/control (+2/-1) src/Unity/CMakeLists.txt (+1/-1) src/Unity/scope.cpp (+6/-9) src/Unity/scope.h (+0/-2) src/Unity/scopes.cpp (+23/-6) src/Unity/scopes.h (+6/-0) tests/CMakeLists.txt (+1/-1) |
| To merge this branch: | bzr merge lp:~stolowski/unity-scopes-shell/fix-temp-scopes |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Albert Astals Cid (community) | 2015-02-02 | Approve on 2015-02-12 | |
| Michał Sawicz | Needs Fixing on 2015-02-11 | ||
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-02-02 | |
|
Review via email:
|
|||
Commit Message
Keep temporary scopes list in the Scopes object instances and make Scopes the partent of temp scopes instances. Temp scopes can be closed (and freed) using closeScope() method of the original scope, or by calling closeScope() method of Scopes instance.
Description of the Change
Keep temporary scopes list in the Scopes object instances and make Scopes the partent of temp scopes instances. Temp scopes can be closed (and freed) using closeScope() method of the original scope, or by calling closeScope() method of Scopes instance.
| Albert Astals Cid (aacid) wrote : | # |
Shouldn't
Q_INVOKABLE void closeScope(
go to unity::
| Paweł Stołowski (stolowski) wrote : | # |
> Shouldn't
> Q_INVOKABLE void closeScope(
> go to unity::
Ok, added, see https:/
| Albert Astals Cid (aacid) wrote : | # |
+ libunity-api-dev (>= 7.95),
libunity-api-dev (>= 7.94),
Should be a replace not an addition?
| Michał Sawicz (saviq) wrote : | # |
Please bump Provides:, too, it should be unity-shell-
| Albert Astals Cid (aacid) wrote : | # |
Can you please turn
if (!m_tempScopes.
m_tempScopes
}
into just
m_tempScopes
It's a QSet after all, inserting won't produce a duplicate anyway
- 196. By Paweł Stołowski on 2015-02-12
-
No need to check if scope exists in the set.
- 197. By Paweł Stołowski on 2015-02-12
-
Bumped required version of unity api.

FAILED: Continuous integration, rev:190 /code.launchpad .net/~stolowski /unity- scopes- shell/fix- temp-scopes/ +merge/ 248235/ +edit-commit- message
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https:/
http:// jenkins. qa.ubuntu. com/job/ unity-scopes- shell-ci/ 292/ jenkins. qa.ubuntu. com/job/ unity-scopes- shell-vivid- amd64-ci/ 34 jenkins. qa.ubuntu. com/job/ unity-scopes- shell-vivid- armhf-ci/ 34 jenkins. qa.ubuntu. com/job/ unity-scopes- shell-vivid- armhf-ci/ 34/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ unity-scopes- shell-vivid- i386-ci/ 34
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- scopes- shell-ci/ 292/rebuild
http://