Merge lp:~aacid/qtmir/clazy_run into lp:qtmir
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~aacid/qtmir/clazy_run |
| Merge into: | lp:qtmir |
| Diff against target: |
2284 lines (+439/-206) 74 files modified
CMakeLists.txt (+12/-7) debian/changelog (+25/-0) debian/control (+1/-1) demos/qml-demo-client/CMakeLists.txt (+3/-6) demos/qml-demo-shell/CMakeLists.txt (+3/-6) src/common/debughelpers.cpp (+13/-12) src/modules/Unity/Application/CMakeLists.txt (+6/-2) src/modules/Unity/Application/application.cpp (+21/-17) src/modules/Unity/Application/application.h (+6/-5) src/modules/Unity/Application/application_manager.cpp (+9/-9) src/modules/Unity/Application/application_manager.h (+1/-1) src/modules/Unity/Application/dbuswindowstack.cpp (+4/-3) src/modules/Unity/Application/mirbuffersgtexture.cpp (+1/-1) src/modules/Unity/Application/mirbuffersgtexture.h (+1/-1) src/modules/Unity/Application/mirsurface.cpp (+1/-1) src/modules/Unity/Application/mirsurfaceitem.cpp (+6/-6) src/modules/Unity/Application/mirsurfaceitem.h (+1/-1) src/modules/Unity/Application/mirsurfacelistmodel.cpp (+30/-4) src/modules/Unity/Application/mirsurfacelistmodel.h (+3/-0) src/modules/Unity/Application/mirsurfacemanager.cpp (+2/-2) src/modules/Unity/Application/mirsurfacemanager.h (+1/-1) src/modules/Unity/Application/proc_info.cpp (+1/-1) src/modules/Unity/Application/session.cpp (+29/-30) src/modules/Unity/Application/session.h (+3/-3) src/modules/Unity/Application/session_interface.h (+2/-2) src/modules/Unity/Application/sessionmanager.cpp (+1/-1) src/modules/Unity/Application/sessionmanager.h (+0/-1) src/modules/Unity/Application/sharedwakelock.cpp (+4/-4) src/modules/Unity/Application/ubuntukeyboardinfo.cpp (+3/-1) src/modules/Unity/Application/upstart/taskcontroller.cpp (+3/-3) src/modules/Unity/Screens/CMakeLists.txt (+4/-0) src/modules/Unity/Screens/qquickscreenwindow.cpp (+1/-1) src/platforms/mirserver/CMakeLists.txt (+5/-0) src/platforms/mirserver/clipboard.cpp (+3/-2) src/platforms/mirserver/creationhints.cpp (+1/-1) src/platforms/mirserver/creationhints.h (+1/-1) src/platforms/mirserver/cursor.cpp (+25/-25) src/platforms/mirserver/cursor.h (+1/-0) src/platforms/mirserver/mircursorimages.cpp (+1/-1) src/platforms/mirserver/mirwindowmanager.cpp (+1/-1) src/platforms/mirserver/nativeinterface.cpp (+2/-2) src/platforms/mirserver/nativeinterface.h (+2/-1) src/platforms/mirserver/plugin.cpp (+1/-1) src/platforms/mirserver/qteventfeeder.cpp (+1/-1) src/platforms/mirserver/screen.cpp (+7/-7) src/platforms/mirserver/screenscontroller.cpp (+2/-2) src/platforms/mirserver/screenscontroller.h (+1/-1) src/platforms/mirserver/screensmodel.cpp (+7/-7) src/platforms/mirserver/screensmodel.h (+1/-1) src/platforms/mirserver/sessionlistener.cpp (+1/-1) src/platforms/mirserver/sessionlistener.h (+1/-1) src/platforms/mirserver/surfaceobserver.cpp (+2/-2) src/platforms/mirserver/surfaceobserver.h (+2/-2) tests/framework/CMakeLists.txt (+5/-1) tests/framework/fake_session.cpp (+2/-2) tests/framework/fake_session.h (+2/-2) tests/framework/mock_mir_session.cpp (+1/-0) tests/framework/mock_session.h (+2/-2) tests/mirserver/Clipboard/CMakeLists.txt (+4/-0) tests/mirserver/QtEventFeeder/CMakeLists.txt (+4/-0) tests/mirserver/QtEventFeeder/mock_qtwindowsystem.h (+12/-1) tests/mirserver/QtEventFeeder/qteventfeeder_test.cpp (+2/-2) tests/mirserver/Screen/CMakeLists.txt (+4/-0) tests/mirserver/ScreensModel/CMakeLists.txt (+4/-0) tests/mirserver/ScreensModel/screensmodel_test.cpp (+1/-0) tests/mirserver/WindowManager/CMakeLists.txt (+4/-0) tests/modules/Application/CMakeLists.txt (+4/-1) tests/modules/Application/application_test.cpp (+32/-0) tests/modules/ApplicationManager/CMakeLists.txt (+5/-1) tests/modules/ApplicationManager/application_manager_test.cpp (+64/-0) tests/modules/SessionManager/CMakeLists.txt (+5/-1) tests/modules/SessionManager/session_test.cpp (+5/-0) tests/modules/SharedWakelock/CMakeLists.txt (+4/-0) tests/modules/SurfaceManager/CMakeLists.txt (+4/-0) |
| To merge this branch: | bzr merge lp:~aacid/qtmir/clazy_run |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Unity8 CI Bot | continuous-integration | Needs Fixing on 2016-06-07 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-12-14 | |
| Mir development team | 2015-09-08 | Pending | |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2016-06-06.
Commit Message
Improvements from running clazy over the code
* Use QStringLiterals for literals
* Add some QLatin1Strings
* Add some reserve() calls
* Change a QList to QVector since QList is not optimal on big items
* Add some const &
* Add one override
* Fix some struct/class mistmatches
clazy: https:/
Run over the src folder
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:370
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Gerry Boland (gerboland) wrote : | # |
Was this all done by the script? We've a couple of big things to land, and this will conflict with them all. Would prefer to do this when things more quiet.
| Albert Astals Cid (aacid) wrote : | # |
This is manual (acting on the tool warnings):
* Add some reserve() calls
* Change a QList to QVector since QList is not optimal on big items
* Add some const &
* Add one override
* Fix some struct/class mistmatches
This is automatic:
* Use QStringLiterals for literals
* Add some QLatin1Strings
We're working on some improvements on the tool so that QLatin1String is used in places it is better than QStringLiteral so may make sense wait for that to land.
- 372. By Daniel van Vugt on 2015-09-14
-
Stop waking up every 200ms if there's nothing to wake up for.
It's just wasting battery.This solves at least half of LP: #1479250. Although the regular
wakeup problem is solved by this, Unity8 continues to use noticeable
CPU while idle (obviously in much less frequent intervals now). Fixes: #1479250
Approved by: Gerry Boland - 373. By Daniel d'Andrada on 2015-09-14
-
MirSurfaceItem gets dirty when it's set to draw a different (or no) surface Fixes: #1492185
Approved by: Gerry Boland - 374. By Daniel d'Andrada on 2015-09-14
-
QtEventFeeder: log the pointer events it gets from Mir
Approved by: PS Jenkins bot, Gerry Boland - 375. By CI Train Bot Account on 2015-09-14
-
Releasing 0.4.6+15.
10.20150914- 0ubuntu1 - 376. By Daniel d'Andrada on 2015-09-18
-
Update surface focus when a surface enters or leaves a MirSurfaceItem
+ Refactor MirSurfaceItem so that it talks to a MirSurfaceInterface
instead of the concrete MirSurface class
+ Make MirSurface::setFocus( ) more robust Fixes: #1491034, #1495437
Approved by: PS Jenkins bot, Gerry Boland - 377. By CI Train Bot Account on 2015-09-18
-
Releasing 0.4.6+15.
10.20150918- 0ubuntu1 - 378. By Cemil Azizoglu on 2015-09-23
-
Port gl_bind_to_texture to the new TextureSource interface.
Update for Mir 0.16 release.
Approved by: Alan Griffiths - 379. By CI Train Bot Account on 2015-09-23
-
Releasing 0.4.6+15.
10.20150923- 0ubuntu1 - 380. By Michał Sawicz on 2015-09-25
-
Bump application API version
Approved by: Daniel d'Andrada - 381. By CI Train Bot Account on 2015-09-25
-
Releasing 0.4.6+15.
10.20150925- 0ubuntu1
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:372
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 : | # |
PASSED: Continuous integration, rev:373
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:374
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 382. By Daniel d'Andrada on 2015-09-30
-
MirSurfaceItem: texture must be manipulated only from the scene graph thread
Do not delete the texture from within the GUI thread ever, even if the
MirSurfaceItem is no longer holding the MirSurface that provided it.
Otherwise you run the risk of having the scene graph thread dereferencing
a pointer to a texture that no longer exists.This also fixes fd leak LP: #1495871 (which was a texture/buffer leak). Fixes: #1495871, #1499388
Approved by: Gerry Boland, PS Jenkins bot - 383. By Gerry Boland on 2015-09-30
-
Add "Closing" state to Application, use it to distinguish user-induced close from app-induced close. Don't clear QML cache if user-induced.
Much code taken from a partially-related branch by Nick Dedekind:
https://code.launchpad .net/~nick- dedekind/ qtmir/polite- close/+ merge/262188 Note there is 1 disabled test, which needs additional work to fix. Fixes: #1500372
Approved by: PS Jenkins bot - 384. By CI Train Bot Account on 2015-09-30
-
Releasing 0.4.6+15.
10.20150930. 1-0ubuntu1 - 385. By Alexandros Frantzis on 2015-10-08
-
Update for Mir 0.17 changes
- 386. By CI Train Bot Account on 2015-10-08
-
Releasing 0.4.6+15.
10.20151008. 2-0ubuntu1 - 387. By Albert Astals Cid on 2015-10-21
-
Don't search for the element again
Approved by: Gerry Boland, PS Jenkins bot
- 388. By Daniel d'Andrada on 2015-10-21
-
Shell draws its own cursor using the new Cursor QML element
Approved by: Lukáš Tinkl, Gerry Boland - 389. By Gerry Boland on 2015-10-21
-
Initial multimonitor support - react correctly to Mir DisplayConfigur
ation changes. On Mir DisplayConfigur
ation changes, QtMir now correctly:
1. blocks Mir until it has stopped all renderers and has their GL contexts released
2. reads the new DisplayConfiguration, matches any existing ScreenWindows to new DisplayBuffers should they change (as Mir may destroy and create it on us)
3. restarts all renderersThis also solves shutdown crash issues due to raciness of mir destroying the GL context backing the shell's QWindow before its renderer had stopped.
Add Unity.Screens qml module to advertise current screen state to QML. Fixes: #1436735, #1488831, #1488863
Approved by: Daniel d'Andrada - 390. By Michał Sawicz on 2015-10-21
-
MirSurfaceItem: Survive holding a surface with an empty texture
Survive having a surface whose texture holds no mir buffer at all.
Instead of crashing in such situation we simply don't render it.
Approved by: Gerry Boland - 391. By Michał Sawicz on 2015-10-21
-
Improve multimonitor support
* Removed magic:
- Don't automagically select the screen where a window will be show.
Let shell decide.
- Don't automagically focus a window. Let shell handle it.* Let shell know when a screen is about to be removed so that it has
the opportunity to move or destroy a window in it before it's too late.
- Added QGuiApplication::onScreenAbout ToBeRemoved * Added logging to key events
Approved by: Michał Sawicz - 392. By Alan Griffiths on 2015-10-21
-
Opaquify MirWindowManager to control visibility of upcoming Window Management work
Approved by: Gerry Boland, PS Jenkins bot - 393. By Lukáš Tinkl on 2015-10-21
-
React to surface modifications (window caption)
Approved by: Daniel d'Andrada - 394. By Nick Dedekind on 2015-10-21
-
Removed the manipulation of the CMAKE_INSTALL_
PREFIX from debian/rules
Approved by: Gerry Boland - 395. By Nick Dedekind on 2015-10-21
-
Added touch performance tracing and test.
Approved by: Gerry Boland - 396. By Lukáš Tinkl on 2015-10-21
-
Implement support for mouse wheel events; correctly pass around buttons Fixes: #1497091
Approved by: Gerry Boland - 397. By Gerry Boland on 2015-10-21
-
Workaround for AutoPilot input coordinate positioning being outside screen geometry
- 398. By CI Train Bot Account on 2015-10-21
-
Releasing 0.4.6+15.
10.20151021- 0ubuntu1
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:375
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:376
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 399. By Michał Sawicz on 2015-11-02
-
Clean up packaging and fix autopkgtest on armhf
Approved by: Gerry Boland - 400. By Michael Terry on 2015-11-02
-
Support new isTouchApp property to ApplicationInfo
Interface and move lifecycle policy logic out of qtmir. Now that qtmir won't decide policy for suspending anymore, we don't need all the lifecycleException handling in qtmir either. That can move to unity8.
But since the GSettings key for that was registered under the qtmir namespace (and there's no technical reason to migrate settings), I left the schema and classes dealing with GSettings alone, for future use.
- 401. By Nick Dedekind on 2015-11-02
-
Support server->client visibility change to stop rendering (lp:#1475678) Fixes: #1475678
Approved by: Daniel d'Andrada - 402. By Alan Griffiths on 2015-11-02
-
Test harness for MirWindowManager (in preparation for more intelligent window management)
Approved by: Gerry Boland - 403. By Nick Dedekind on 2015-11-02
-
Hand Qt millisecond timestamps rather than nanosecond. Fixes: #1510571, #1511076, #1511711
Approved by: Gerry Boland - 404. By CI Train Bot Account on 2015-11-02
-
Releasing 0.4.6+16.
04.20151102- 0ubuntu1 - 405. By Nick Dedekind on 2015-11-10
-
Reverted occlusion detection (lp#1514556) Fixes: #1514556
- 406. By CI Train Bot Account on 2015-11-10
-
Releasing 0.4.6+16.
04.20151110- 0ubuntu1 - 407. By Gerry Boland on 2015-11-12
-
Fix armhf builds on Xenial by using -std=gnu99 instead of c99
Fixes this FTBFS on xenial:
In file included from /usr/include/
lttng/tracepoin t-rcu.h: 26:0,
from /usr/include/ lttng/tracepoin t.h:29,
from /home/phablet/ dev/projects/ qtmir/qtmir/ BUILD-xen/ src/platforms/ mirserver/ tracepoints. h:10,
from /home/phablet/ dev/projects/ qtmir/qtmir/ BUILD-xen/ src/platforms/ mirserver/ tracepoints. c:7:
/usr/include/urcu/arch/ generic. h: In function ‘caa_get_cycles’:
/usr/include/urcu/arch/ generic. h:165:6: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)
if (caa_unlikely(clock_gettime( CLOCK_MONOTONIC , &ts)))
^
/usr/include/urcu/arch/ generic. h:165:6: note: each undeclared identifier is reported only once for each function it appears in Strictly should compile code with -std=gnu99 instead of -std=c99 to have the identifiers SIGEV_SIGNAL, sigeventStruct, and CLOCK_MONOTONIC available. These identifiers are declared when _POSIX_C_SOURCE is set to a value >= 199309L, which is the case with -std=gnu99. I could also have used -D_POSIX_
C_SOURCE= 199309L -std=c99 or have the macro defined in source code. Did not impact wily as libuctu only started looking for CLOCK_MONOTONIC in Xenial release.
Approved by: Daniel d'Andrada - 408. By CI Train Bot Account on 2015-11-12
-
Releasing 0.4.6+16.
04.20151112- 0ubuntu1 - 409. By Nick Dedekind on 2015-11-13
-
Update surface textures when dropping frames. Fixes: #1515356
Approved by: Gerry Boland - 410. By CI Train Bot Account on 2015-11-13
-
Releasing 0.4.6+16.
04.20151113- 0ubuntu1 - 411. By Gerry Boland on 2015-11-19
-
Fix use of uninitialized variable
Approved by: Daniel d'Andrada, PS Jenkins bot - 412. By Albert Astals Cid on 2015-11-19
-
Enable Efficient String Construction by default
See http://
blog.qt. io/blog/ 2011/06/ 13/string- concatenation- with-qstringbui lder/
Approved by: Gerry Boland, PS Jenkins bot - 413. By Michał Sawicz on 2015-11-19
-
Build with clang (tests/gmock fails and is unfixable on our side i'd say)
Approved by: Gerry Boland - 414. By Gerry Boland on 2015-11-19
-
Use pid_t for PIDs.
Approved by: Daniel d'Andrada, PS Jenkins bot - 415. By Loïc Molinari on 2015-11-19
-
Ensured Mir surface items with size less than or equal to zero are not rendered, as it's usually done for standard QtQuick items.
Approved by: Gerry Boland - 416. By Nick Dedekind on 2015-11-19
-
Fix a crash when dropping a surface frame before Qt draws a surface item. Fixes: #1517139
Approved by: Gerry Boland - 417. By CI Train Bot Account on 2015-11-19
-
Releasing 0.4.6+16.
04.20151119- 0ubuntu1 - 418. By Daniel d'Andrada on 2015-11-25
-
Implemented support for cursors set by client surfaces
Approved by: Lukáš Tinkl - 419. By Gerry Boland on 2015-11-25
-
Manage frameSwapped signal/slot connection with MirSurface more strictly to avoid crash.
Direct Signal/slot connections across thread boundaries incur the same risks as any cross-thread calls. While connect/disconnect are thread safe methods, it is possible for a slot to be called while the slot owner is being deconstructed - and so not yet disconnected.
So watch for the Item's window change signal and disconnect signal immediately. Also move slot ownership to MirSurfaceItem to auto-disconnect more aggressively.
Fixes: #1517571
Approved by: Daniel d'Andrada - 420. By Daniel d'Andrada on 2015-11-25
-
Forward Mir mouse wheel events to the shell cursor Fixes: #1497091
Approved by: Lukáš Tinkl - 421. By Daniel d'Andrada on 2015-11-25
-
Revert revision 415
The commit "Ensured Mir surface items with size less than or equal to zero are not rendered,
as it's usually done for standard QtQuick items." caused a regression.MirSurface.size was being kept uninitialized, as QSize(-1,-1).
- 422. By CI Train Bot Account on 2015-11-25
-
Releasing 0.4.6+16.
04.20151125- 0ubuntu1 - 423. By Timo Jyrinki on 2015-12-01
-
Rebuild against Qt 5.5.1.
- 424. By Nick Dedekind on 2015-12-10
-
Politely asks processes to close before resorting to killing Fixes: #1434584
Approved by: Daniel d'Andrada - 425. By Daniel d'Andrada on 2015-12-10
-
Add MirSurfaceItem.
fillMode and ensure items and buffer are in sync Ensure that by the time we enter the phase of updating the scene graph, all qml items are up to date regarding the size of the buffer about to be rendered.
NB: This rendering scheme needs triple buffering to work.
Approved by: Michael Zanetti - 426. By Daniel d'Andrada on 2015-12-10
-
Make Session hold multiple surfaces
+ Standardize MirSurface debug messages and account for multiple surfaces per app
Approved by: Gerry Boland - 427. By Michael Terry on 2015-12-10
-
Don't hold a wakelock on apps that are exempt from lifecycle management.
This supports the new exemptFromLifecycle flag for applications as well as bringing back the internal RunningInBackground state.
The tests were revived from the same branch that removed them when we removed RunningInBackground (revision 400) Fixes: #1518764
- 428. By CI Train Bot Account on 2015-12-10
-
Releasing 0.4.7+16.
04.20151210- 0ubuntu1
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:378
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 429. By Cemil Azizoglu on 2015-12-17
-
compatibility branch for Mir 0.18
Approved by: Gerry Boland, Michał Sawicz - 430. By CI Train Bot Account on 2015-12-17
-
Releasing 0.4.7+16.
04.20151217- 0ubuntu1 - 431. By Michał Sawicz on 2015-12-22
-
No-change rebuild to get -gles in sync
Approved by: Kevin DuBois - 432. By CI Train Bot Account on 2015-12-22
-
Releasing 0.4.7+16.
04.20151222- 0ubuntu1 - 433. By Daniel d'Andrada on 2016-01-04
-
Update Session.fullscreen properties at the right time Fixes: #1525893
Approved by: Gerry Boland - 434. By CI Train Bot Account on 2016-01-04
-
Releasing 0.4.7+16.
04.20160104- 0ubuntu1
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:378
https:/
Executed test runs:
Click here to trigger a rebuild:
https:/
- 435. By Nick Dedekind on 2016-01-22
-
Fixed issue where stopping the session while suspending was causing app close to stall. Fixes: #1536133
- 436. By CI Train Bot Account on 2016-01-22
-
Releasing 0.4.7+16.
04.20160122- 0ubuntu1 - 437. By Brandon Schaefer on 2016-01-27
-
Changes for mir 0.19.
- 438. By CI Train Bot Account on 2016-01-27
-
Releasing 0.4.7+16.
04.20160127. 1-0ubuntu1 - 439. By Nick Dedekind on 2016-02-08
-
Added fix and test for closing app during the StoppedResumable state. Fixes: #1541388
Approved by: Michael Zanetti - 440. By CI Train Bot Account on 2016-02-08
-
Releasing 0.4.7+16.
04.20160208- 0ubuntu1 - 441. By Nick Dedekind on 2016-02-12
-
Moved test framework into a static library for quicker recompilation.
Approved by: Gerry Boland - 442. By Daniel d'Andrada on 2016-02-12
-
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
Approved by: Nick Dedekind - 443. By Daniel d'Andrada on 2016-02-12
-
Let shell decide the initial surface size Fixes: #1532974
Approved by: Nick Dedekind - 444. By Daniel d'Andrada on 2016-02-12
-
Surface Size Hints
Approved by: Lukáš Tinkl - 445. By Albert Astals Cid on 2016-02-12
-
Reset start time if the timestamp travels to the past
Fixes: #1524488
Approved by: Nick Dedekind - 446. By Albert Astals Cid on 2016-02-12
-
Provide branch prediction information to the if in compressTimestamp
Approved by: Gerry Boland - 447. By Michał Sawicz on 2016-02-12
-
Use QStandardPaths to determine QML cache location
Also use temporary XDG_CACHE_HOME in ApplicationMana
gerTests so we don't pollute user's $HOME
Approved by: Unity8 CI Bot, Albert Astals Cid - 448. By Daniel d'Andrada on 2016-02-12
-
Update mir version requirement
Approved by: Nick Dedekind - 449. By Michał Sawicz on 2016-02-12
-
Bump unity-api dependencies
Approved by: Michael Terry - 450. By CI Train Bot Account on 2016-02-12
-
Releasing 0.4.7+16.
04.20160212- 0ubuntu1 - 451. By Alan Griffiths on 2016-02-19
-
Mir 0.20 Release
Approved by: Cemil Azizoglu - 452. By CI Train Bot Account on 2016-02-19
-
Releasing 0.4.7+16.
04.20160219- 0ubuntu1 - 453. By Gerry Boland on 2016-03-10
-
Allow Mir remove command line arguments it understands, before letting Qt process them.
Approved by: Daniel d'Andrada - 454. By Alan Griffiths on 2016-03-10
-
Copy the Window Management work-in-progress from Mir examples.
Approved by: Gerry Boland - 455. By Michael Zanetti on 2016-03-10
-
Add a dedicated property for the inputMethodSurface
When we're hot-plugging screens, the OSK ui might only be created after surfaceCreated() is emitted and we miss that signal. Fixes: #1545286
Approved by: Daniel d'Andrada - 456. By Gerry Boland on 2016-03-10
-
Screen: only enable orientation sensor for internal display.
It's not great, but works around orientation sensor not working after device unplug from monitor. I believe this is because QtUbuntu-Sensors and Platform-api are not dealing properly with multiple accessors of the sensors. Instead only the last accessor gets correct state, and the earlier ones get nothing. Fixes: #1545286
Approved by: Unity8 CI Bot, Michael Zanetti - 457. By Daniel d'Andrada on 2016-03-10
-
Ensure QmlEngine doesn't delete our MirSurfaces
Approved by: Gerry Boland, Unity8 CI Bot - 458. By Gerry Boland on 2016-03-10
-
Ensure ScreenWindow geometry correctly set and used after moving Screen
NB: this will conflict with lp:~unity-team/qtmir/set-display-config, from which this is a cherry-pick Fixes: #1545286
Approved by: Gerry Boland, Unity8 CI Bot - 459. By Michael Terry on 2016-03-10
-
Fix some mocks to use more realistic code paths.
Specifically, MockApplication
Controller: :doAppIdHasProc essId() was returning -1 if the appId was unknown. But that function returns a bool, so the -1 got translated into a true value. So that mocked method returned true for appIds that hadn't been registered yet. In order to fix that, I decided to rewrite doAppIdHasProcessId to call primaryPidForAppId so that it could be overridden easier in tests. And adjusted the affected tests to all set an ON_CALL(
primaryPidForAp pId). (Because otherwise the test has no way to influence the pid used for children -- why do we actually fork off a while(true) process?)
There are several other fixes here for pieces of the mocks that I found were missing while exploring solutions for the above problem:
- I'm actually not 100% clear on why this started being called, but MockSession::name() couldn't create a default value for QString and the gtest framework was bailing when it was called. So I added a default.
- Similarly, if ApplicationMana
ger::authorizeS ession( ) tries to examine an app's commandline, gtest will abort because MockProcInfo: :command_ line() doesn't have a mock return value. So I added a default. - And if authorizeSession() lasted long enough to see that the Application object already existed, it deleted the desktop reader object it had made. But the test mocks always returned the same object, so this caused a segfault. I retooled the ApplicationManager tests to return a new object each time DesktopFileRead
erFactory: :createInstance was called.
Approved by: Gerry Boland, Unity8 CI Bot - 460. By Alberto Aguirre on 2016-03-10
-
Hook MirOpenGLContex
t::doneCurrent to Screen::doneCurrent Actually unbind the opengl/egl context when requested.
Approved by: Gerry Boland - 461. By Michał Sawicz on 2016-03-10
-
Drop dummy autopkgtest
It doesn't make sense after all - DEP-8 tests are meant to test packages as-installed, not rebuild them from scratch. This meant that new Mir releases got blocked on this, because old qtmir was trying to build against new Mir, which usually fails, as needs adaptation for API changes.
Approved by: Gerry Boland - 462. By CI Train Bot Account on 2016-03-10
-
Releasing 0.4.7+16.
04.20160310. 1-0ubuntu1 - 463. By Nick Dedekind on 2016-03-22
-
Added setStage for sidestage redesign and removed ExecFlags
Approved by: Daniel d'Andrada - 464. By Michał Sawicz on 2016-03-22
-
Add support for low shell chrome. Fixes: #1535397
Approved by: Gerry Boland - 465. By Michał Sawicz on 2016-03-22
-
Support for switching keyboard layouts Fixes: #1491340, #1524400
Approved by: Michael Terry - 466. By CI Train Bot Account on 2016-03-22
-
Releasing 0.4.8+16.
04.20160322. 1-0ubuntu1
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:378
https:/
Executed test runs:
FAILURE: https:/
Click here to trigger a rebuild:
https:/
- 467. By Daniel van Vugt on 2016-03-29
-
Don't use preferred_
mode_index. Some devices like TVs don't provide a
preferred mode, so preferred_mode_index may be out of range (a clumsy
way to represent 'none'). Instead use the resolution of the current display mode, which should always be in range.Fixes LP: #1560497 Fixes: #1560497
Approved by: Gerry Boland - 468. By CI Train Bot Account on 2016-03-29
-
Releasing 0.4.8+16.
04.20160329. 1-0ubuntu1 - 469. By Michał Sawicz on 2016-03-30
-
Drop leftover Xs-Testsuite header
Approved by: Unity8 CI Bot, Gerry Boland - 470. By CI Train Bot Account on 2016-03-30
-
Releasing 0.4.8+16.
04.20160330- 0ubuntu1 - 471. By Daniel d'Andrada on 2016-04-13
-
Logging of Qt's OpenGL debug messages now must be enabled via CMake option
Approved by: Gerry Boland - 472. By Daniel d'Andrada on 2016-04-13
-
Application: improve debug logging
Minimize boilerplate in logging code, as well as standardise its format.
Approved by: Gerry Boland - 473. By Daniel d'Andrada on 2016-04-13
-
Remove application screenshot provider
It's no longer needed now that QML provides a "item-snapshot" feature.
Besides, it has no purpose in a surface-based window management.
Approved by: Lukáš Tinkl, Gerry Boland - 474. By Daniel d'Andrada on 2016-04-13
-
MirSurface: replace keymapLayout and keymapVariant with keymap
That's easier for unity8 to use, leads to declarative code.
Approved by: Lukáš Tinkl - 475. By Daniel d'Andrada on 2016-04-13
-
Surface-based window management
- Session is no longer exported to QML. It's now an internal qtmir concept.
Approved by: Gerry Boland - 476. By Michał Sawicz on 2016-04-13
-
Inline -gles packaging.
Approved by: Gerry Boland - 477. By CI Train Bot Account on 2016-04-13
-
Releasing 0.4.8+16.
04.20160413- 0ubuntu1 - 478. By Alberto Aguirre on 2016-04-26
-
Mir 0.22 compatibility
Approved by: Cemil Azizoglu, Kevin DuBois, Brandon Schaefer - 479. By CI Train Bot Account on 2016-04-26
-
Releasing 0.4.8+16.
04.20160426- 0ubuntu1 - 480. By Michael Terry on 2016-04-28
-
Use latest UbuntuAppLaunch API which supports libertine apps.
Approved by: Nick Dedekind - 481. By Lukáš Tinkl on 2016-04-28
-
Regression fix: restore window title handling Fixes: #1563522
Approved by: Nick Dedekind - 482. By CI Train Bot Account on 2016-04-28
-
Releasing 0.4.8+16.
04.20160428- 0ubuntu1 - 483. By Gerry Boland on 2016-04-29
-
Enhance ScreenController & the DisplayConfigur
ationPolicy to implement dynamic grid units. - Rename ScreenController to ScreenModel, as it just reflects current screen state, does not offer means to configure it
- ScreenController can update state of existing Screens, based on Mir DisplayConfiguration changes.
- Expand Screen to include scale & form factor properties, with getter/notifier in NativeInterface. This enables the dynamic grid units in the shell
- Add a Unity.Screens qml module to give QML better information about connected screens, and allow basic reconfiguring.
- Implement a basic display configuration policy to set suitable scale and form factor on an external display (needed for dynamic grid units) Fixes: #1573532
Approved by: Unity8 CI Bot, Daniel d'Andrada - 484. By CI Train Bot Account on 2016-04-29
-
Releasing 0.4.8+16.
04.20160429. 1-0ubuntu1
| Daniel d'Andrada (dandrader) wrote : | # |
So what's the fate of this branch?
| Albert Astals Cid (aacid) wrote : | # |
Gerry always says he wants it in when I complain, but then nothing happens. I guess at this point it probably doesn't merge correctly? I can update it if there's real desire to merge it in.
- 485. By Daniel d'Andrada on 2016-05-11
-
Session: Add a blank surface to the public list if it already has child prompt surfaces
A prompt session may come in too early, before its parent session got a chance
to draw its surface's first frame.Normally that wouldn't be a problem and we could withhold that parent surface until
it's finally drawn to. But unfortunately the application process might be blocked,
unable to draw anything, until its child prompt session gets dismissed.Because of that we have no option but to expose this blank surface to shell so that
it can display it along with the prompt surface on top of it, so that the user can
interact with it right away and finally unblock the application. Fixes: #1578665
Approved by: Unity8 CI Bot - 486. By CI Train Bot Account on 2016-05-11
-
Releasing 0.4.8+16.
04.20160511- 0ubuntu1 - 487. By Daniel d'Andrada on 2016-05-18
-
Fix ProxySurfaceLis
tModel: :countChanged signal
Approved by: Unity8 CI Bot - 488. By Daniel d'Andrada on 2016-05-18
-
Move prompt surfaces from MirSurface to Application and emit firstChanged signal
- 489. By CI Train Bot Account on 2016-05-18
-
Releasing 0.4.8+16.
04.20160518. 1-0ubuntu1 - 490. By Gerry Boland on 2016-05-20
-
UAL can throw on creating Application if invalid appId, catch instead of aborting Fixes: #1578258
Approved by: Unity8 CI Bot, Michael Terry - 491. By Daniel d'Andrada on 2016-05-20
-
Application: Don't respawn if closed while still starting up
+ refactoring of Application:
:onSessionState Changed to explicitly cover every single internal state on session stopping. Fixes: #1575577
Approved by: Gerry Boland, Unity8 CI Bot, Michael Terry - 492. By Alan Griffiths on 2016-05-20
-
Reduce coupling to MirServer - it has been misused as a context object.
Approved by: Alan Griffiths, Unity8 CI Bot, Daniel d'Andrada - 493. By Michał Sawicz on 2016-05-20
-
Centralize logging categories
The header part is already centralized. Make the cpp the same.
Moves all logging category symbols to the mirserver lib.
Enables mirserver to use logging categories that were previously declared in the Unity.Application module.
Approved by: Unity8 CI Bot, Michael Terry - 494. By Daniel d'Andrada on 2016-05-20
-
Also interpret the cursor names used by Mir client API Fixes: #1447839
Approved by: Unity8 CI Bot, Michał Sawicz - 495. By Timo Jyrinki on 2016-05-20
-
Use FindQt5Platform
Support to find platform support, other methods not available on Qt 5.6 anymore. Fixes: #1554404
Approved by: Gerry Boland - 496. By CI Train Bot Account on 2016-05-20
-
Releasing 0.4.8+16.
10.20160520. 1-0ubuntu1 - 497. By Daniel d'Andrada on 2016-05-25
-
Bump unity-api versions
Approved by: Lukáš Tinkl - 498. By Alan Griffiths on 2016-05-25
-
Drop the (unused) prototype Window Management code
Approved by: Gerry Boland, Unity8 CI Bot - 499. By Daniel d'Andrada on 2016-05-25
-
Fix mir::scene::Surface focus attribute updates
Approved by: Unity8 CI Bot - 500. By Albert Astals Cid on 2016-05-25
-
Enable workaround_
brokenFBOReadBa ck on various chipsets Gives for impressive improvements in QSGDefaultDista
nceFieldGlyphCa che::storeGlyph s
impressive = 788ms -> 6msCopied from qtubuntu
Fixes: #1581123
Approved by: Gerry Boland, Unity8 CI Bot - 501. By Alan Griffiths on 2016-05-25
-
Remove workaround for lp:1502200
Approved by: Unity8 CI Bot, Daniel d'Andrada - 502. By CI Train Bot Account on 2016-05-25
-
Releasing 0.4.8+16.
10.20160525. 2-0ubuntu1 - 503. By Michael Zanetti on 2016-06-06
-
Adding ApplicationInfo
::surfaceCount property - 504. By Albert Astals Cid on 2016-06-06
-
Add support for compiler sanitizers via ECM
- 505. By Albert Astals Cid on 2016-06-06
-
Compile with -fsanitize=
undefined - 506. By Albert Astals Cid on 2016-06-06
-
Fix leak in ScreensModelTest (LP: #1585502)
- 507. By Albert Astals Cid on 2016-06-06
-
Fix leak in SessionManager test (LP: #1585498)
- 508. By Albert Astals Cid on 2016-06-06
-
Remove unused m_sessions member
- 509. By Albert Astals Cid on 2016-06-06
-
Add missing breaks
- 510. By Albert Astals Cid on 2016-06-06
-
Initialize m_lastX and m_lastY
- 511. By Albert Astals Cid on 2016-06-06
-
Initialize m_sessionId
- 512. By Albert Astals Cid on 2016-06-06
-
Give the locker a name
- 513. By Albert Astals Cid on 2016-06-06
-
Fix memory leak in QtEventFeederTest (LP: #1585503)
- 514. By Albert Astals Cid on 2016-06-06
-
Fix leaks in application_
manager_ test (LP: #1585501) - 515. By Daniel d'Andrada on 2016-06-06
-
Improve Session debug logging
- 516. By Daniel d'Andrada on 2016-06-06
-
MirSurfaceListM
odel: prepending a surface always causes firstChanged() emission - 517. By CI Train Bot Account on 2016-06-06
-
Releasing 0.4.8+16.
10.20160606. 1-0ubuntu1 - 518. By Albert Astals Cid on 2016-06-06
-
Merge system_includes
- 519. By Albert Astals Cid on 2016-06-06
-
clazy_fixes
- 520. By Albert Astals Cid on 2016-06-06
-
build++
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:519
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
- 521. By Albert Astals Cid on 2016-06-23
-
Merge trunk
- 522. By Albert Astals Cid on 2016-07-15
-
Merge
- 523. By Albert Astals Cid on 2016-08-08
-
Merge
- 524. By Albert Astals Cid on 2016-08-08
-
Merge
- 525. By Albert Astals Cid on 2016-08-08
-
wops, remove
- 526. By Albert Astals Cid on 2016-08-08
-
spacing
- 527. By Albert Astals Cid on 2016-08-08
-
Remove change that conflicts with other branch removing this code

FAILED: Continuous integration, rev:370 jenkins. qa.ubuntu. com/job/ qtmir-ci/ 404/ jenkins. qa.ubuntu. com/job/ qtmir-wily- amd64-ci/ 137/console jenkins. qa.ubuntu. com/job/ qtmir-wily- armhf-ci/ 137/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/qtmir- ci/404/ rebuild
http://