on xenial help sign in
[ CI Train Bot ]
2c7c6baJosh Arenson
CMakeLists.txt+1−1
@@ -57,7 +57,7 @@ find_package(Qt5DBus 5.2 REQUIRED)
57find_package(Qt5Concurrent 5.2 REQUIRED)
57find_package(Qt5Concurrent 5.2 REQUIRED)
58find_package(Qt5Sql 5.2 REQUIRED)
58find_package(Qt5Sql 5.2 REQUIRED)
59
59
60−pkg_check_modules(APPLICATION_API REQUIRED unity-shell-application=8)
60+pkg_check_modules(APPLICATION_API REQUIRED unity-shell-application>=8)
61
61
62# Standard install paths
62# Standard install paths
63include(GNUInstallDirs)
63include(GNUInstallDirs)
debian/changelog+22
@@ -1,3 +1,25 @@
1+unity8 (8.11+15.10.20151002-0ubuntu1) wily; urgency=medium
2+
3+ [ CI Train Bot ]
4+ * Resync trunk.
5+
6+ [ Lukáš Tinkl ]
7+ * Wizard: skip the reporting page if the system is configured not to
8+ report crashes (LP: #1494442)
9+
10+ -- Ken VanDine <ken.vandine@canonical.com> Fri, 02 Oct 2015 13:24:03 +0000
11+
12+unity8 (8.11+15.10.20151001-0ubuntu1) wily; urgency=medium
13+
14+ [ Alexandros Frantzis ]
15+ * Use power state change reason SnapDecision to turn screen on when a
16+ SnapDecision arrives (LP: #1291455)
17+
18+ [ CI Train Bot ]
19+ * New rebuild forced.
20+
21+ -- Alexandros Frantzis <alexandros.frantzis@canonical.com> Thu, 01 Oct 2015 12:04:04 +0000
22+
1unity8 (8.11+15.10.20150930.1-0ubuntu1) wily; urgency=medium
23unity8 (8.11+15.10.20150930.1-0ubuntu1) wily; urgency=medium
2
24
3 [ Albert Astals Cid ]
25 [ Albert Astals Cid ]
plugins/Powerd/Powerd.h+2
@@ -38,6 +38,8 @@ public:
38 PowerKey = 2, // Display changed state due to user pressing power key
38 PowerKey = 2, // Display changed state due to user pressing power key
39 Proximity = 3, // Display changed state due to proximity events
39 Proximity = 3, // Display changed state due to proximity events
40 Notification = 4, // Display changed state due to user notification
40 Notification = 4, // Display changed state due to user notification
41+ SnapDecision = 5, // Display changed state due to snap decision prompt
42+ CallDone = 6, // Display changed state due to voice call end
41 };
43 };
42
44
43 enum Status {
45 enum Status {
po/ug.po+4−4
@@ -8,15 +8,15 @@ msgstr ""
8"Project-Id-Version: unity\n"
8"Project-Id-Version: unity\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10"POT-Creation-Date: 2015-09-16 00:49+0200\n"
10"POT-Creation-Date: 2015-09-16 00:49+0200\n"
11−"PO-Revision-Date: 2015-09-24 05:59+0000\n"
11+"PO-Revision-Date: 2015-10-02 03:54+0000\n"
12"Last-Translator: eltikin <eltikinuyghur@hotmail.com>\n"
12"Last-Translator: eltikin <eltikinuyghur@hotmail.com>\n"
13"Language-Team: Uyghur Computer Science Association <UKIJ@yahoogroups.com>\n"
13"Language-Team: Uyghur Computer Science Association <UKIJ@yahoogroups.com>\n"
14"MIME-Version: 1.0\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
16"Content-Transfer-Encoding: 8bit\n"
17"Plural-Forms: nplurals=1; plural=0;\n"
17"Plural-Forms: nplurals=1; plural=0;\n"
18−"X-Launchpad-Export-Date: 2015-09-30 05:43+0000\n"
18+"X-Launchpad-Export-Date: 2015-10-03 05:40+0000\n"
19−"X-Generator: Launchpad (build 17768)\n"
19+"X-Generator: Launchpad (build 17783)\n"
20
20
21#: plugins/IntegratedLightDM/Greeter.cpp:112
21#: plugins/IntegratedLightDM/Greeter.cpp:112
22msgid "Password: "
22msgid "Password: "
@@ -96,7 +96,7 @@ msgstr ""
96#. en_US example: "Tomorrow\u2003%l:%M %p" --> "Tomorrow 13:00"
96#. en_US example: "Tomorrow\u2003%l:%M %p" --> "Tomorrow 13:00"
97#: plugins/Utils/relativetimeformatter.cpp:216
97#: plugins/Utils/relativetimeformatter.cpp:216
98msgid "Tomorrow %H:%M"
98msgid "Tomorrow %H:%M"
99−msgstr ""
99+msgstr "ئەتە %H:%M"
100
100
101#. Translators, please edit/rearrange these strftime(3) tokens to suit your locale!
101#. Translators, please edit/rearrange these strftime(3) tokens to suit your locale!
102#. This format string is used for showing, on a 24-hour clock, times that happened in the last week.
102#. This format string is used for showing, on a 24-hour clock, times that happened in the last week.
qml/Notifications/Notification.qml+1−1
@@ -90,7 +90,7 @@ Item {
90 // Turn on screen as needed (Powerd.Notification means the screen
90 // Turn on screen as needed (Powerd.Notification means the screen
91 // stays on for a shorter amount of time)
91 // stays on for a shorter amount of time)
92 if (type == Notification.SnapDecision) {
92 if (type == Notification.SnapDecision) {
93− Powerd.setStatus(Powerd.On, Powerd.Unknown);
93+ Powerd.setStatus(Powerd.On, Powerd.SnapDecision);
94 } else if (type != Notification.Confirmation) {
94 } else if (type != Notification.Confirmation) {
95 Powerd.setStatus(Powerd.On, Powerd.Notification);
95 Powerd.setStatus(Powerd.On, Powerd.Notification);
96 }
96 }
qml/Wizard/Pages/60-reporting.qml+10
@@ -16,14 +16,24 @@
16
16
17import QtQuick 2.0
17import QtQuick 2.0
18import Ubuntu.Components 0.1
18import Ubuntu.Components 0.1
19+import Ubuntu.SystemSettings.Diagnostics 1.0
19import ".." as LocalComponents
20import ".." as LocalComponents
20
21
21LocalComponents.Page {
22LocalComponents.Page {
23+ id: reportingPage
22 objectName: "reportingPage"
24 objectName: "reportingPage"
23
25
24 title: i18n.tr("Improving your experience")
26 title: i18n.tr("Improving your experience")
25 forwardButtonSourceComponent: forwardButton
27 forwardButtonSourceComponent: forwardButton
26
28
29+ skipValid: false
30+ skip: !diagnostics.reportCrashes // skip the page when the system is configured not to report crashes
31+
32+ UbuntuDiagnostics {
33+ id: diagnostics
34+ Component.onCompleted: reportingPage.skipValid = true;
35+ }
36+
27 Column {
37 Column {
28 id: column
38 id: column
29 anchors.fill: content
39 anchors.fill: content
tests/qmltests/Wizard/tst_Wizard.qml+13−12
@@ -164,13 +164,16 @@ Item {
164 return stack.currentPage;
164 return stack.currentPage;
165 }
165 }
166
166
167− function goToPage(name, skipSim, skipLocation) {
167+ function goToPage(name, skipSim, skipLocation, skipReporting) {
168 if (skipSim === undefined) {
168 if (skipSim === undefined) {
169 skipSim = false;
169 skipSim = false;
170 }
170 }
171 if (skipLocation === undefined) {
171 if (skipLocation === undefined) {
172 skipLocation = false;
172 skipLocation = false;
173 }
173 }
174+ if (skipReporting === undefined) {
175+ skipReporting = false;
176+ }
174
177
175 var page = waitForPage("languagePage");
178 var page = waitForPage("languagePage");
176 if (name === page.objectName) return page;
179 if (name === page.objectName) return page;
@@ -197,9 +200,11 @@ Item {
197 tap(findChild(page, "forwardButton"));
200 tap(findChild(page, "forwardButton"));
198 }
201 }
199
202
203+ if (!skipReporting) {
200− page = waitForPage("reportingPage");
204+ page = waitForPage("reportingPage");
201− if (name === page.objectName) return page;
205+ if (name === page.objectName) return page;
202− tap(findChild(page, "forwardButton"));
206+ tap(findChild(page, "forwardButton"));
207+ }
203
208
204 page = waitForPage("finishedPage");
209 page = waitForPage("finishedPage");
205 if (name === page.objectName) return page;
210 if (name === page.objectName) return page;
@@ -343,8 +348,6 @@ Item {
343 tap(findChild(page, "forwardButton"));
348 tap(findChild(page, "forwardButton"));
344 page = waitForPage("locationPage");
349 page = waitForPage("locationPage");
345 tap(findChild(page, "forwardButton"));
350 tap(findChild(page, "forwardButton"));
346− page = waitForPage("reportingPage");
347− tap(findChild(page, "forwardButton"));
348 page = waitForPage("finishedPage");
351 page = waitForPage("finishedPage");
349 tap(findChild(page, "forwardButton"));
352 tap(findChild(page, "forwardButton"));
350
353
@@ -396,8 +399,6 @@ Item {
396 tap(findChild(page, "forwardButton"));
399 tap(findChild(page, "forwardButton"));
397 page = waitForPage("locationPage");
400 page = waitForPage("locationPage");
398 tap(findChild(page, "forwardButton"));
401 tap(findChild(page, "forwardButton"));
399− page = waitForPage("reportingPage");
400− tap(findChild(page, "forwardButton"));
401 page = waitForPage("finishedPage");
402 page = waitForPage("finishedPage");
402 tap(findChild(page, "forwardButton"));
403 tap(findChild(page, "forwardButton"));
403
404
@@ -408,7 +409,7 @@ Item {
408 }
409 }
409
410
410 function test_passwdSwipe() {
411 function test_passwdSwipe() {
411− goToPage(null);
412+ goToPage(null, false, false, true);
412
413
413 tryCompare(setSecuritySpy, "count", 1);
414 tryCompare(setSecuritySpy, "count", 1);
414 compare(setSecuritySpy.signalArguments[0][0], "");
415 compare(setSecuritySpy.signalArguments[0][0], "");
@@ -418,12 +419,12 @@ Item {
418
419
419 function test_locationSkipNoPath() {
420 function test_locationSkipNoPath() {
420 AccountsService.hereLicensePath = "";
421 AccountsService.hereLicensePath = "";
421− goToPage("reportingPage", false, true);
422+ goToPage("finishedPage", false, true, true);
422 }
423 }
423
424
424 function test_locationSkipNoFiles() {
425 function test_locationSkipNoFiles() {
425 AccountsService.hereLicensePath = Qt.resolvedUrl("nolicenses");
426 AccountsService.hereLicensePath = Qt.resolvedUrl("nolicenses");
426− goToPage("reportingPage", false, true);
427+ goToPage("finishedPage", false, true, true);
427 }
428 }
428
429
429 function test_locationWaitOnPath() {
430 function test_locationWaitOnPath() {
@@ -440,7 +441,7 @@ Item {
440 compare(stack.currentPage.skipValid, false);
441 compare(stack.currentPage.skipValid, false);
441
442
442 AccountsService.hereLicensePath = "";
443 AccountsService.hereLicensePath = "";
443− waitForPage("reportingPage");
444+ waitForPage("finishedPage", false, false, true);
444 }
445 }
445
446
446 function test_locationGpsOnly() {
447 function test_locationGpsOnly() {