Merge lp:~aacid/unity8/use_sdk_13 into lp:unity8

Proposed by Albert Astals Cid
Status: Superseded
Proposed branch: lp:~aacid/unity8/use_sdk_13
Merge into: lp:unity8
Diff against target: 4481 lines (+537/-419)
246 files modified
plugins/Dash/CardAttributes.qml (+2/-2)
plugins/Dash/CardCreator.js (+5/-5)
plugins/Dash/ScopeStyle.qml (+1/-1)
qml/Components/Background.qml (+1/-1)
qml/Components/BaseCarouselDelegate.qml (+1/-1)
qml/Components/Carousel.qml (+1/-1)
qml/Components/DelayedLockscreen.qml (+1/-1)
qml/Components/Dialogs.qml (+1/-1)
qml/Components/DragHandle.qml (+1/-1)
qml/Components/DraggingArea.qml (+1/-1)
qml/Components/EdgeDragEvaluator.qml (+1/-1)
qml/Components/Header.qml (+2/-2)
qml/Components/InputMethod.qml (+1/-1)
qml/Components/LazyImage.qml (+1/-1)
qml/Components/ListItems/Header.qml (+1/-1)
qml/Components/Lockscreen.qml (+2/-2)
qml/Components/PassphraseLockscreen.qml (+1/-1)
qml/Components/PinLockscreen.qml (+2/-2)
qml/Components/PinPadButton.qml (+1/-1)
qml/Components/Rating.qml (+1/-1)
qml/Components/RatingStyle.qml (+1/-1)
qml/Components/ResponsiveGridView.qml (+1/-1)
qml/Components/ResponsiveVerticalJournal.qml (+1/-1)
qml/Components/ScrollCalculator.qml (+1/-1)
qml/Components/ShellDialog.qml (+2/-2)
qml/Components/UbuntuShapeForItem.qml (+1/-1)
qml/Components/WindowControlButtons.qml (+1/-1)
qml/Components/ZoomableImage.qml (+1/-1)
qml/Dash/CardCarousel.qml (+1/-1)
qml/Dash/CardHorizontalList.qml (+1/-1)
qml/Dash/CardVerticalJournal.qml (+1/-1)
qml/Dash/Dash.qml (+1/-1)
qml/Dash/DashApplication.qml (+3/-2)
qml/Dash/DashCategoryBase.qml (+1/-1)
qml/Dash/DashContent.qml (+1/-1)
qml/Dash/DashContentTabBarStyle.qml (+1/-1)
qml/Dash/DashNavigation.qml (+3/-3)
qml/Dash/DashNavigationButton.qml (+3/-3)
qml/Dash/DashNavigationList.qml (+3/-3)
qml/Dash/GenericScopeView.qml (+4/-4)
qml/Dash/PageHeader.qml (+8/-11)
qml/Dash/PreviewListView.qml (+1/-1)
qml/Dash/Previews/Preview.qml (+1/-1)
qml/Dash/Previews/PreviewActionButton.qml (+1/-1)
qml/Dash/Previews/PreviewActionCombo.qml (+3/-3)
qml/Dash/Previews/PreviewActions.qml (+3/-3)
qml/Dash/Previews/PreviewAudioPlayback.qml (+5/-5)
qml/Dash/Previews/PreviewComment.qml (+1/-1)
qml/Dash/Previews/PreviewCommentInput.qml (+1/-1)
qml/Dash/Previews/PreviewExpandable.qml (+4/-4)
qml/Dash/Previews/PreviewHeader.qml (+3/-3)
qml/Dash/Previews/PreviewImageGallery.qml (+1/-1)
qml/Dash/Previews/PreviewOverlay.qml (+3/-3)
qml/Dash/Previews/PreviewPayments.qml (+1/-1)
qml/Dash/Previews/PreviewProgress.qml (+1/-1)
qml/Dash/Previews/PreviewRatingDisplay.qml (+3/-3)
qml/Dash/Previews/PreviewRatingEdit.qml (+2/-2)
qml/Dash/Previews/PreviewRatingInput.qml (+5/-5)
qml/Dash/Previews/PreviewRatingSingleDisplay.qml (+1/-1)
qml/Dash/Previews/PreviewTable.qml (+4/-4)
qml/Dash/Previews/PreviewTextSummary.qml (+4/-4)
qml/Dash/Previews/PreviewVideoPlayback.qml (+1/-1)
qml/Dash/Previews/PreviewZoomableImage.qml (+1/-1)
qml/Dash/PullToRefreshScopeStyle.qml (+2/-2)
qml/Dash/ScopeSettings/ScopeSetting.qml (+1/-1)
qml/Dash/ScopeSettings/ScopeSettingBoolean.qml (+4/-4)
qml/Dash/ScopeSettings/ScopeSettingList.qml (+2/-2)
qml/Dash/ScopeSettings/ScopeSettingString.qml (+5/-5)
qml/Dash/ScopeSettingsPage.qml (+1/-1)
qml/Dash/ScopesListCategory.qml (+3/-3)
qml/Dash/ScopesListCategoryItem.qml (+1/-1)
qml/Greeter/Clock.qml (+1/-1)
qml/Greeter/CoverPage.qml (+1/-1)
qml/Greeter/Greeter.qml (+1/-1)
qml/Greeter/Infographics.qml (+1/-1)
qml/Greeter/LoginList.qml (+1/-1)
qml/Greeter/NarrowView.qml (+1/-1)
qml/Greeter/ObjectPositioner.qml (+1/-1)
qml/Greeter/WideView.qml (+1/-1)
qml/Launcher/FoldingLauncherDelegate.qml (+1/-1)
qml/Launcher/Launcher.qml (+1/-1)
qml/Launcher/LauncherDelegate.qml (+1/-1)
qml/Launcher/LauncherPanel.qml (+3/-3)
qml/Notifications/Notification.qml (+6/-6)
qml/Notifications/NotificationMenuItemFactory.qml (+1/-1)
qml/Notifications/Notifications.qml (+1/-1)
qml/Notifications/OptionToggle.qml (+5/-5)
qml/Notifications/ShapedIcon.qml (+2/-2)
qml/Notifications/SwipeToAct.qml (+1/-1)
qml/Panel/ActiveCallHint.qml (+1/-1)
qml/Panel/Handle.qml (+1/-1)
qml/Panel/IndicatorItem.qml (+1/-1)
qml/Panel/IndicatorItemRow.qml (+1/-1)
qml/Panel/IndicatorPage.qml (+1/-1)
qml/Panel/Indicators/MenuItemFactory.qml (+6/-6)
qml/Panel/Indicators/MessageMenuItemFactory.qml (+1/-1)
qml/Panel/Indicators/ModemInfoItem.qml (+5/-5)
qml/Panel/Indicators/RoamingIndication.qml (+3/-3)
qml/Panel/Indicators/client/IndicatorRepresentation.qml (+2/-2)
qml/Panel/Indicators/client/IndicatorsClient.qml (+3/-3)
qml/Panel/Indicators/client/IndicatorsList.qml (+2/-2)
qml/Panel/Indicators/client/IndicatorsTree.qml (+1/-1)
qml/Panel/IndicatorsBar.qml (+1/-1)
qml/Panel/IndicatorsMenu.qml (+1/-1)
qml/Panel/MenuContent.qml (+1/-1)
qml/Panel/Panel.qml (+1/-1)
qml/Rotation/RotationStates.qml (+1/-1)
qml/ScopeTool.qml (+2/-2)
qml/Shell.qml (+3/-3)
qml/Stages/Animations/SwipeFromBottomAnimation.qml (+1/-1)
qml/Stages/ApplicationWindow.qml (+1/-1)
qml/Stages/DecoratedWindow.qml (+1/-1)
qml/Stages/DesktopStage.qml (+1/-1)
qml/Stages/MainViewStyle.qml (+2/-3)
qml/Stages/PageHeadStyle.qml (+2/-2)
qml/Stages/PhoneStage.qml (+1/-1)
qml/Stages/ShimStage.qml (+1/-1)
qml/Stages/Splash.qml (+10/-10)
qml/Stages/SpreadDelegate.qml (+1/-1)
qml/Stages/SurfaceContainer.qml (+1/-1)
qml/Stages/TabletStage.qml (+1/-1)
qml/Stages/TransformedSpreadDelegate.qml (+1/-1)
qml/Stages/TransformedTabletSpreadDelegate.qml (+1/-1)
qml/Stages/WindowDecoration.qml (+1/-1)
qml/Stages/WindowMoveResizeArea.qml (+1/-1)
qml/Tutorial/Arrow.qml (+1/-1)
qml/Tutorial/Slider.qml (+1/-1)
qml/Tutorial/Tick.qml (+1/-1)
qml/Tutorial/Tutorial.qml (+1/-1)
qml/Tutorial/TutorialBottom.qml (+1/-1)
qml/Tutorial/TutorialBottomFinish.qml (+1/-1)
qml/Tutorial/TutorialContent.qml (+1/-1)
qml/Tutorial/TutorialLeft.qml (+1/-1)
qml/Tutorial/TutorialLeftFinish.qml (+1/-1)
qml/Tutorial/TutorialPage.qml (+1/-1)
qml/Tutorial/TutorialRight.qml (+1/-1)
qml/Wizard/CheckableSetting.qml (+4/-4)
qml/Wizard/Page.qml (+3/-3)
qml/Wizard/Pages.qml (+1/-1)
qml/Wizard/Pages/10-welcome.qml (+2/-2)
qml/Wizard/Pages/20-sim.qml (+1/-1)
qml/Wizard/Pages/30-passwd-type.qml (+6/-6)
qml/Wizard/Pages/40-wifi.qml (+2/-2)
qml/Wizard/Pages/50-location.qml (+3/-3)
qml/Wizard/Pages/60-reporting.qml (+1/-1)
qml/Wizard/Pages/80-finished.qml (+1/-1)
qml/Wizard/Pages/here-terms.qml (+3/-3)
qml/Wizard/Pages/passwd-confirm.qml (+1/-1)
qml/Wizard/Pages/passwd-set.qml (+1/-1)
qml/Wizard/StackButton.qml (+3/-3)
qml/Wizard/Wizard.qml (+1/-1)
tests/CMakeLists.txt (+1/-0)
tests/plugins/Dash/cardcreator/1.res (+1/-1)
tests/plugins/Dash/cardcreator/2.res (+2/-2)
tests/plugins/Dash/cardcreator/3.res (+2/-2)
tests/plugins/Dash/cardcreator/4.res (+2/-2)
tests/plugins/Dash/cardcreator/5.res (+2/-2)
tests/plugins/Dash/cardcreator/6.res (+3/-3)
tests/plugins/Dash/cardcreator/7.res (+3/-3)
tests/plugins/Dash/cardcreator/8.res (+1/-1)
tests/plugins/Dash/tst_CroppedImageMinimumSourceSize.qml (+1/-1)
tests/plugins/Dash/tst_ScopeStyle.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/DownwardsLauncher.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/LeftwardsLauncher.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/RightwardsLauncher.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/UpwardsLauncher.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/tst_FloatingFlickable.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/tst_PressedOutsideNotifier.qml (+1/-1)
tests/qmltests/Components/tst_Dialogs.qml (+1/-1)
tests/qmltests/Components/tst_DragHandle.qml (+1/-1)
tests/qmltests/Components/tst_DragHandle/BidirectionalShowable.qml (+1/-1)
tests/qmltests/Components/tst_DragHandle/HorizontalShowable.qml (+1/-1)
tests/qmltests/Components/tst_DragHandle/VerticalShowable.qml (+1/-1)
tests/qmltests/Components/tst_LazyImage.qml (+3/-3)
tests/qmltests/Components/tst_LazyImage/ImageControls.qml (+1/-1)
tests/qmltests/Components/tst_Lockscreen.qml (+1/-1)
tests/qmltests/Components/tst_Rating.qml (+3/-3)
tests/qmltests/Components/tst_ResponsiveGridView.qml (+2/-2)
tests/qmltests/Components/tst_ResponsiveVerticalJournal.qml (+2/-2)
tests/qmltests/Components/tst_Showable.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_Preview.qml (+2/-2)
tests/qmltests/Dash/Previews/tst_PreviewActions.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_PreviewAudioPlayback.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewComment.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_PreviewCommentInput.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_PreviewExpandable.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewPayments.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_PreviewProgress.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_PreviewRatingDisplay.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewRatingEdit.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewRatingInput.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewTable.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewTextSummary.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewWidgetFactory.qml (+2/-2)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingBoolean.qml (+1/-1)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingList.qml (+1/-1)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingNumber.qml (+1/-1)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingString.qml (+1/-1)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingsWidgetFactory.qml (+1/-1)
tests/qmltests/Dash/tst_Card.qml (+3/-3)
tests/qmltests/Dash/tst_CardBenchmark.qml (+1/-1)
tests/qmltests/Dash/tst_CardTool.qml (+1/-1)
tests/qmltests/Dash/tst_Dash.qml (+2/-2)
tests/qmltests/Dash/tst_DashContent.qml (+1/-1)
tests/qmltests/Dash/tst_GenericScopeView.qml (+4/-4)
tests/qmltests/Dash/tst_PageHeader.qml (+3/-3)
tests/qmltests/Dash/tst_PreviewListView.qml (+3/-3)
tests/qmltests/Greeter/TestView.qml (+1/-1)
tests/qmltests/Greeter/tst_Clock.qml (+1/-1)
tests/qmltests/Greeter/tst_Greeter.qml (+1/-1)
tests/qmltests/Greeter/tst_Infographics.qml (+1/-1)
tests/qmltests/Greeter/tst_NarrowView.qml (+1/-1)
tests/qmltests/Greeter/tst_WideView.qml (+1/-1)
tests/qmltests/Launcher/tst_Launcher.qml (+1/-1)
tests/qmltests/Notifications/tst_Notifications.qml (+1/-1)
tests/qmltests/Notifications/tst_OptionToggle.qml (+1/-1)
tests/qmltests/Notifications/tst_SwipeToAct.qml (+1/-1)
tests/qmltests/Notifications/tst_VisualSnapDecisionsQueue.qml (+1/-1)
tests/qmltests/Panel/IndicatorTest.qml (+1/-1)
tests/qmltests/Panel/Indicators/tst_IndicatorsLight.qml (+1/-1)
tests/qmltests/Panel/tst_IndicatorItem.qml (+1/-1)
tests/qmltests/Panel/tst_IndicatorItemRow.qml (+1/-1)
tests/qmltests/Panel/tst_IndicatorsBar.qml (+1/-1)
tests/qmltests/Panel/tst_IndicatorsMenu.qml (+1/-1)
tests/qmltests/Panel/tst_Panel.qml (+1/-1)
tests/qmltests/Stages/ApplicationCheckBox.qml (+1/-1)
tests/qmltests/Stages/RecursingChildSessionControl.qml (+1/-1)
tests/qmltests/Stages/tst_ApplicationWindow.qml (+2/-2)
tests/qmltests/Stages/tst_DesktopStage.qml (+2/-2)
tests/qmltests/Stages/tst_PhoneStage.qml (+1/-1)
tests/qmltests/Stages/tst_SessionContainer.qml (+1/-1)
tests/qmltests/Stages/tst_Splash.qml (+1/-1)
tests/qmltests/Stages/tst_SpreadDelegate.qml (+2/-2)
tests/qmltests/Stages/tst_SurfaceContainer.qml (+1/-1)
tests/qmltests/Stages/tst_TabletStage.qml (+2/-2)
tests/qmltests/Stages/tst_WindowMoveResizeArea.qml (+2/-2)
tests/qmltests/Tutorial/tst_Tutorial.qml (+1/-1)
tests/qmltests/Wizard/tst_Wizard.qml (+2/-2)
tests/qmltests/tst_OrientedShell.qml (+2/-2)
tests/qmltests/tst_Shell.qml (+2/-2)
tests/qmltests/tst_ShellWithPin.qml (+1/-1)
tests/sdk/CMakeLists.txt (+6/-0)
tests/sdk/check_sdk.py (+114/-0)
tests/utils/modules/Unity/Test/MouseTouchEmulationCheckbox.qml (+1/-1)
tests/utils/modules/Unity/Test/UnityTestCase.qml (+1/-1)
To merge this branch: bzr merge lp:~aacid/unity8/use_sdk_13
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Mirco Müller (community) Abstain
Andrea Cimitan (community) Needs Fixing
Review via email: mp+264392@code.launchpad.net

This proposal has been superseded by a proposal from 2015-07-28.

Commit message

Use SDK 1.3 across all files

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

To post a comment you must log in.
lp:~aacid/unity8/use_sdk_13 updated
1818. By Albert Astals Cid

Make this property readonly

1819. By Albert Astals Cid

Add test to check the sdk versions are aligned

1820. By Albert Astals Cid

Give the test a proper name

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Mirco Müller (macslow) wrote :

Code looks ok.

* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes.

Ran on mako and everything looked ok. My krillin is dead atm.

Checked the SDK-test by injecting a wrong import using 1.2 and it was correctly caught by the script.

* Did CI run pass? If not, please explain why.
No, because multiple autopilot errors occurred due to unity8 process probably crashing -> "psutil.NoSuchProcess: no process found with pid..."

ERROR: unity8.greeter.tests.test_args.GreeterArgsTest.test_shell_mode
ERROR: unity8.shell.tests.test_helpers.DashHelperTestCase.test_open_scope_to_the_right(Nexus 4)
ERROR: unity8.indicators.tests.test_display_indicator.DisplayIndicatorTestCase.test_indicator_icon_must_not_be_visible_after_rotation_unlocked(Nexus 4)
ERROR: unity8.shell.tests.test_helpers.GenericScopeViewHelperTestCase.test_open_preview(Nexus 4)
ERROR: unity8.indicators.tests.test_action_latency.TestServerValueUpdate.test_switch_reaches_server_value(Low,Nexus 4)
ERROR: unity8.indicators.tests.test_action_latency.TestServerValueUpdate.test_switch_reaches_server_value(Medium,Nexus 4)
ERROR: unity8.indicators.tests.test_action_latency.TestServerValueUpdate.test_switch_reaches_server_value(High,Nexus 4)
ERROR: unity8.shell.tests.test_helpers.DashHelperTestCase.test_open_applications_scope(Nexus 4)

* Did you make sure that the branch does not contain spurious tags?
Yes, all clean

review: Approve
lp:~aacid/unity8/use_sdk_13 updated
1821. By Albert Astals Cid

Merge lp:unity8

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~aacid/unity8/use_sdk_13 updated
1822. By Albert Astals Cid

Merge lp:unity8

1823. By Albert Astals Cid

Remove unexisting property

Revision history for this message
Andrea Cimitan (cimi) wrote :

Needs some testing, just found out there is a weird static line on top of the dash, might be page header styling or so...

review: Needs Fixing
lp:~aacid/unity8/use_sdk_13 updated
1824. By Albert Astals Cid

workaround horizontal line in the dash

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Mirco Müller (macslow) wrote :

I just test-ran r1824 and r1823 of this branch on the mako and can verify that the visual issue in the dash is gone.

review: Abstain
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~aacid/unity8/use_sdk_13 updated
1825. By Albert Astals Cid

Merge lp:unity8

1826. By Albert Astals Cid

Fix versions after merge

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~aacid/unity8/use_sdk_13 updated
1827. By Albert Astals Cid

1.3 headers are smaller

1828. By Albert Astals Cid

Actaully let the SDK component decide the size

Revision history for this message
Michael Zanetti (mzanetti) wrote :

Ok, looks good to me now after the header changes.

Once the current silo lands this will need a merge for sure...

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~aacid/unity8/use_sdk_13 updated
1829. By Albert Astals Cid

header height changed

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/Dash/CardAttributes.qml'
2--- plugins/Dash/CardAttributes.qml 2015-02-12 16:28:36 +0000
3+++ plugins/Dash/CardAttributes.qml 2015-07-22 14:32:16 +0000
4@@ -16,7 +16,7 @@
5
6 import QtQuick 2.2
7 import QtQuick.Layouts 1.1
8-import Ubuntu.Components 1.1
9+import Ubuntu.Components 1.3
10
11 GridLayout {
12 id: grid
13@@ -27,7 +27,7 @@
14 columns: 2 + repeater.count % 2
15 rowSpacing: units.gu(.5)
16 property alias model: repeater.model
17- property color color: Theme.palette.normal.baseText
18+ property color color: theme.palette.normal.baseText
19 property real fontScale: 1.0
20
21 Repeater {
22
23=== modified file 'plugins/Dash/CardCreator.js'
24--- plugins/Dash/CardCreator.js 2015-07-02 16:09:39 +0000
25+++ plugins/Dash/CardCreator.js 2015-07-22 14:32:16 +0000
26@@ -480,20 +480,20 @@
27 }
28 }
29
30- var summaryColorWithBackground = 'backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white")';
31+ var summaryColorWithBackground = 'backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white")';
32
33 var hasTitleContainer = hasTitle && (hasEmblem || (hasMascot && (hasSubtitle || hasAttributes)));
34 var titleSubtitleCode = '';
35 if (hasTitle) {
36 var titleColor;
37 if (headerAsOverlay) {
38- titleColor = 'root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white")';
39+ titleColor = 'root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white")';
40 } else if (hasSummary) {
41 titleColor = 'summary.color';
42 } else if (hasBackground) {
43 titleColor = summaryColorWithBackground;
44 } else {
45- titleColor = 'root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText';
46+ titleColor = 'root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText';
47 }
48
49 var titleAnchors;
50@@ -649,7 +649,7 @@
51 if (hasBackground) {
52 summaryColor = summaryColorWithBackground;
53 } else {
54- summaryColor = 'root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText';
55+ summaryColor = 'root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText';
56 }
57
58 var summaryTopMargin = (hasMascot || hasSubtitle || hasAttributes ? 'anchors.margins' : '0');
59@@ -698,7 +698,7 @@
60
61 function createCardComponent(parent, template, components) {
62 var imports = 'import QtQuick 2.2; \n\
63- import Ubuntu.Components 1.1; \n\
64+ import Ubuntu.Components 1.3; \n\
65 import Ubuntu.Settings.Components 0.1; \n\
66 import Dash 0.1;\n\
67 import Utils 0.1;\n';
68
69=== modified file 'plugins/Dash/ScopeStyle.qml'
70--- plugins/Dash/ScopeStyle.qml 2014-11-20 11:44:44 +0000
71+++ plugins/Dash/ScopeStyle.qml 2015-07-22 14:32:16 +0000
72@@ -16,7 +16,7 @@
73
74 import QtQuick 2.2
75 import Utils 0.1
76-import Ubuntu.Components 1.1
77+import Ubuntu.Components 1.3
78
79 /*! \brief Helper for processing scope customization options.
80
81
82=== modified file 'qml/Components/Background.qml'
83--- qml/Components/Background.qml 2014-08-29 08:47:21 +0000
84+++ qml/Components/Background.qml 2015-07-22 14:32:16 +0000
85@@ -15,7 +15,7 @@
86 */
87
88 import QtQuick 2.0
89-import Ubuntu.Components 1.1
90+import Ubuntu.Components 1.3
91 import Utils 0.1 as Utils
92
93 Loader {
94
95=== modified file 'qml/Components/BaseCarouselDelegate.qml'
96--- qml/Components/BaseCarouselDelegate.qml 2014-07-08 17:49:18 +0000
97+++ qml/Components/BaseCarouselDelegate.qml 2015-07-22 14:32:16 +0000
98@@ -15,7 +15,7 @@
99 */
100
101 import QtQuick 2.0
102-import Ubuntu.Components 0.1
103+import Ubuntu.Components 1.3
104
105 /*!
106 \brief Base delegate for use with the Carousel component
107
108=== modified file 'qml/Components/Carousel.qml'
109--- qml/Components/Carousel.qml 2015-01-14 09:51:39 +0000
110+++ qml/Components/Carousel.qml 2015-07-22 14:32:16 +0000
111@@ -15,7 +15,7 @@
112 */
113
114 import QtQuick 2.3
115-import Ubuntu.Components 0.1
116+import Ubuntu.Components 1.3
117 import "carousel.js" as CarouselJS
118
119 /*! The Carousel component presents the items of a model in a carousel view. It's similar to a
120
121=== modified file 'qml/Components/DelayedLockscreen.qml'
122--- qml/Components/DelayedLockscreen.qml 2015-02-12 14:48:06 +0000
123+++ qml/Components/DelayedLockscreen.qml 2015-07-22 14:32:16 +0000
124@@ -15,7 +15,7 @@
125 */
126
127 import QtQuick 2.0
128-import Ubuntu.Components 0.1
129+import Ubuntu.Components 1.3
130 import "../Components"
131
132 Item {
133
134=== modified file 'qml/Components/Dialogs.qml'
135--- qml/Components/Dialogs.qml 2015-03-26 15:24:04 +0000
136+++ qml/Components/Dialogs.qml 2015-07-22 14:32:16 +0000
137@@ -18,7 +18,7 @@
138
139 import Unity.Application 0.1
140 import Unity.Session 0.1
141-import Ubuntu.Components 1.1
142+import Ubuntu.Components 1.3
143 import LightDM 0.1 as LightDM
144
145 Item {
146
147=== modified file 'qml/Components/DragHandle.qml'
148--- qml/Components/DragHandle.qml 2015-04-10 21:16:37 +0000
149+++ qml/Components/DragHandle.qml 2015-07-22 14:32:16 +0000
150@@ -15,7 +15,7 @@
151 */
152
153 import QtQuick 2.0
154-import Ubuntu.Components 0.1
155+import Ubuntu.Components 1.3
156 import Ubuntu.Gestures 0.1
157
158 /*
159
160=== modified file 'qml/Components/DraggingArea.qml'
161--- qml/Components/DraggingArea.qml 2014-07-11 09:22:59 +0000
162+++ qml/Components/DraggingArea.qml 2015-07-22 14:32:16 +0000
163@@ -15,7 +15,7 @@
164 */
165
166 import QtQuick 2.0
167-import Ubuntu.Components 0.1
168+import Ubuntu.Components 1.3
169
170 MouseArea {
171 id: draggingArea
172
173=== modified file 'qml/Components/EdgeDragEvaluator.qml'
174--- qml/Components/EdgeDragEvaluator.qml 2015-04-27 15:30:18 +0000
175+++ qml/Components/EdgeDragEvaluator.qml 2015-07-22 14:32:16 +0000
176@@ -15,7 +15,7 @@
177 */
178
179 import QtQuick 2.0
180-import Ubuntu.Components 0.1
181+import Ubuntu.Components 1.3
182 import Ubuntu.Gestures 0.1
183
184 /*
185
186=== modified file 'qml/Components/Header.qml'
187--- qml/Components/Header.qml 2014-08-01 16:13:53 +0000
188+++ qml/Components/Header.qml 2015-07-22 14:32:16 +0000
189@@ -14,8 +14,8 @@
190 * along with this program. If not, see <http://www.gnu.org/licenses/>.
191 */
192
193-import Ubuntu.Components 1.1
194-import Ubuntu.Components.Themes.Ambiance 1.1
195+import Ubuntu.Components 1.3
196+import Ubuntu.Components.Themes.Ambiance 1.3
197
198 PageHeadStyle {
199 id: root
200
201=== modified file 'qml/Components/InputMethod.qml'
202--- qml/Components/InputMethod.qml 2014-10-01 13:20:32 +0000
203+++ qml/Components/InputMethod.qml 2015-07-22 14:32:16 +0000
204@@ -16,7 +16,7 @@
205
206 import QtQuick 2.0
207 import Unity.Application 0.1
208-import Ubuntu.Components 0.1
209+import Ubuntu.Components 1.3
210 import Ubuntu.Gestures 0.1
211
212 Item {
213
214=== modified file 'qml/Components/LazyImage.qml'
215--- qml/Components/LazyImage.qml 2014-09-29 20:55:54 +0000
216+++ qml/Components/LazyImage.qml 2015-07-22 14:32:16 +0000
217@@ -18,7 +18,7 @@
218 */
219
220 import QtQuick 2.0
221-import Ubuntu.Components 0.1
222+import Ubuntu.Components 1.3
223
224 Item {
225 id: root
226
227=== modified file 'qml/Components/ListItems/Header.qml'
228--- qml/Components/ListItems/Header.qml 2014-07-16 16:30:15 +0000
229+++ qml/Components/ListItems/Header.qml 2015-07-22 14:32:16 +0000
230@@ -16,7 +16,7 @@
231
232 import QtQuick 2.0
233 import QtQuick.Layouts 1.1
234-import Ubuntu.Components 0.1
235+import Ubuntu.Components 1.3
236
237 Item {
238 property alias text: label.text
239
240=== modified file 'qml/Components/Lockscreen.qml'
241--- qml/Components/Lockscreen.qml 2015-03-18 17:27:30 +0000
242+++ qml/Components/Lockscreen.qml 2015-07-22 14:32:16 +0000
243@@ -15,8 +15,8 @@
244 */
245
246 import QtQuick 2.0
247-import Ubuntu.Components 1.0
248-import Ubuntu.Components.Popups 1.0
249+import Ubuntu.Components 1.3
250+import Ubuntu.Components.Popups 1.3
251 import Ubuntu.Telephony 0.1 as Telephony
252
253 Showable {
254
255=== modified file 'qml/Components/PassphraseLockscreen.qml'
256--- qml/Components/PassphraseLockscreen.qml 2015-03-18 17:27:30 +0000
257+++ qml/Components/PassphraseLockscreen.qml 2015-07-22 14:32:16 +0000
258@@ -15,7 +15,7 @@
259 */
260
261 import QtQuick 2.0
262-import Ubuntu.Components 0.1
263+import Ubuntu.Components 1.3
264 import "../Components"
265
266 Item {
267
268=== modified file 'qml/Components/PinLockscreen.qml'
269--- qml/Components/PinLockscreen.qml 2015-05-28 07:42:09 +0000
270+++ qml/Components/PinLockscreen.qml 2015-07-22 14:32:16 +0000
271@@ -15,8 +15,8 @@
272 */
273
274 import QtQuick 2.0
275-import Ubuntu.Components 0.1
276-import Ubuntu.Components.ListItems 0.1
277+import Ubuntu.Components 1.3
278+import Ubuntu.Components.ListItems 1.3
279 import "../Components"
280
281 Item {
282
283=== modified file 'qml/Components/PinPadButton.qml'
284--- qml/Components/PinPadButton.qml 2015-03-18 17:27:30 +0000
285+++ qml/Components/PinPadButton.qml 2015-07-22 14:32:16 +0000
286@@ -15,7 +15,7 @@
287 */
288
289 import QtQuick 2.0
290-import Ubuntu.Components 1.1
291+import Ubuntu.Components 1.3
292
293 AbstractButton {
294 id: root
295
296=== modified file 'qml/Components/Rating.qml'
297--- qml/Components/Rating.qml 2014-02-13 17:00:06 +0000
298+++ qml/Components/Rating.qml 2015-07-22 14:32:16 +0000
299@@ -15,7 +15,7 @@
300 */
301
302 import QtQuick 2.0
303-import Ubuntu.Components 0.1
304+import Ubuntu.Components 1.3
305
306 /*! Rating widget bar. */
307
308
309=== modified file 'qml/Components/RatingStyle.qml'
310--- qml/Components/RatingStyle.qml 2014-02-13 17:00:06 +0000
311+++ qml/Components/RatingStyle.qml 2015-07-22 14:32:16 +0000
312@@ -15,7 +15,7 @@
313 */
314
315 import QtQuick 2.0
316-import Ubuntu.Components 0.1
317+import Ubuntu.Components 1.3
318
319 Row {
320 anchors.fill: parent
321
322=== modified file 'qml/Components/ResponsiveGridView.qml'
323--- qml/Components/ResponsiveGridView.qml 2014-10-23 11:59:22 +0000
324+++ qml/Components/ResponsiveGridView.qml 2015-07-22 14:32:16 +0000
325@@ -15,7 +15,7 @@
326 */
327
328 import QtQuick 2.3
329-import Ubuntu.Components 0.1
330+import Ubuntu.Components 1.3
331
332 /*
333 Essentially a GridView where you can specify the maximum number of columns it can have.
334
335=== modified file 'qml/Components/ResponsiveVerticalJournal.qml'
336--- qml/Components/ResponsiveVerticalJournal.qml 2015-05-12 10:05:52 +0000
337+++ qml/Components/ResponsiveVerticalJournal.qml 2015-07-22 14:32:16 +0000
338@@ -15,7 +15,7 @@
339 */
340
341 import QtQuick 2.0
342-import Ubuntu.Components 0.1
343+import Ubuntu.Components 1.3
344 import "../Components"
345 import Dash 0.1
346
347
348=== modified file 'qml/Components/ScrollCalculator.qml'
349--- qml/Components/ScrollCalculator.qml 2014-10-13 15:09:46 +0000
350+++ qml/Components/ScrollCalculator.qml 2015-07-22 14:32:16 +0000
351@@ -15,7 +15,7 @@
352 */
353
354 import QtQuick 2.2
355-import Ubuntu.Components 1.1
356+import Ubuntu.Components 1.3
357
358 Item {
359 id: scrollArea
360
361=== modified file 'qml/Components/ShellDialog.qml'
362--- qml/Components/ShellDialog.qml 2014-12-08 13:39:01 +0000
363+++ qml/Components/ShellDialog.qml 2015-07-22 14:32:16 +0000
364@@ -16,8 +16,8 @@
365
366 import QtQuick 2.0
367
368-import Ubuntu.Components 1.1
369-import Ubuntu.Components.Popups 0.1
370+import Ubuntu.Components 1.3
371+import Ubuntu.Components.Popups 1.3
372
373 /*
374 A Dialog configured for use as a proper in-scene Dialog
375
376=== modified file 'qml/Components/UbuntuShapeForItem.qml'
377--- qml/Components/UbuntuShapeForItem.qml 2014-10-06 07:39:42 +0000
378+++ qml/Components/UbuntuShapeForItem.qml 2015-07-22 14:32:16 +0000
379@@ -15,7 +15,7 @@
380 */
381
382 import QtQuick 2.0
383-import Ubuntu.Components 0.1
384+import Ubuntu.Components 1.3
385
386 /* FIXME: This component is duplicating the UbuntuShape from the SDK, but shapes more
387 * general (Item-based) components. This ability should be incorporated into the SDK's
388
389=== modified file 'qml/Components/WindowControlButtons.qml'
390--- qml/Components/WindowControlButtons.qml 2014-11-24 11:21:38 +0000
391+++ qml/Components/WindowControlButtons.qml 2015-07-22 14:32:16 +0000
392@@ -17,7 +17,7 @@
393 */
394
395 import QtQuick 2.3
396-import Ubuntu.Components 1.1
397+import Ubuntu.Components 1.3
398
399 Row {
400 id: root
401
402=== modified file 'qml/Components/ZoomableImage.qml'
403--- qml/Components/ZoomableImage.qml 2015-05-06 15:05:06 +0000
404+++ qml/Components/ZoomableImage.qml 2015-07-22 14:32:16 +0000
405@@ -15,7 +15,7 @@
406 */
407
408 import QtQuick 2.0
409-import Ubuntu.Components 0.1
410+import Ubuntu.Components 1.3
411 import "../Components"
412
413 /*! \brief Zoomable for image.
414
415=== modified file 'qml/Dash/CardCarousel.qml'
416--- qml/Dash/CardCarousel.qml 2015-05-13 10:21:18 +0000
417+++ qml/Dash/CardCarousel.qml 2015-07-22 14:32:16 +0000
418@@ -15,7 +15,7 @@
419 */
420
421 import QtQuick 2.0
422-import Ubuntu.Components 0.1
423+import Ubuntu.Components 1.3
424 import "../Components"
425
426 DashRenderer {
427
428=== modified file 'qml/Dash/CardHorizontalList.qml'
429--- qml/Dash/CardHorizontalList.qml 2015-05-13 10:21:18 +0000
430+++ qml/Dash/CardHorizontalList.qml 2015-07-22 14:32:16 +0000
431@@ -15,7 +15,7 @@
432 */
433
434 import QtQuick 2.3
435-import Ubuntu.Components 1.1
436+import Ubuntu.Components 1.3
437 import "../Components"
438
439 DashRenderer {
440
441=== modified file 'qml/Dash/CardVerticalJournal.qml'
442--- qml/Dash/CardVerticalJournal.qml 2015-05-13 10:21:18 +0000
443+++ qml/Dash/CardVerticalJournal.qml 2015-07-22 14:32:16 +0000
444@@ -15,7 +15,7 @@
445 */
446
447 import QtQuick 2.0
448-import Ubuntu.Components 0.1
449+import Ubuntu.Components 1.3
450 import "../Components"
451
452 DashRenderer {
453
454=== modified file 'qml/Dash/Dash.qml'
455--- qml/Dash/Dash.qml 2015-05-18 23:04:12 +0000
456+++ qml/Dash/Dash.qml 2015-07-22 14:32:16 +0000
457@@ -15,7 +15,7 @@
458 */
459
460 import QtQuick 2.2
461-import Ubuntu.Components 0.1
462+import Ubuntu.Components 1.3
463 import Ubuntu.Gestures 0.1
464 import Unity 0.2
465 import Utils 0.1
466
467=== modified file 'qml/Dash/DashApplication.qml'
468--- qml/Dash/DashApplication.qml 2015-05-12 14:39:11 +0000
469+++ qml/Dash/DashApplication.qml 2015-07-22 14:32:16 +0000
470@@ -15,14 +15,15 @@
471 */
472
473 import QtQuick 2.2
474-import Ubuntu.Components 1.0
475+import Ubuntu.Components 1.3
476 import Ubuntu.Thumbnailer 0.1 // Register support for image://thumbnailer/ and image://albumart/
477
478 MainView {
479 implicitWidth: units.gu(40)
480 implicitHeight: units.gu(68)
481
482- useDeprecatedToolbar: false
483+ // Workaround bug #1475643
484+ headerColor: Qt.rgba(0, 0, 0, 0)
485
486 Dash {
487 anchors.fill: parent
488
489=== modified file 'qml/Dash/DashCategoryBase.qml'
490--- qml/Dash/DashCategoryBase.qml 2014-10-09 17:41:49 +0000
491+++ qml/Dash/DashCategoryBase.qml 2015-07-22 14:32:16 +0000
492@@ -15,7 +15,7 @@
493 */
494
495 import QtQuick 2.0
496-import Ubuntu.Components 0.1
497+import Ubuntu.Components 1.3
498
499 Item {
500 width: parent.width
501
502=== modified file 'qml/Dash/DashContent.qml'
503--- qml/Dash/DashContent.qml 2015-03-19 15:25:45 +0000
504+++ qml/Dash/DashContent.qml 2015-07-22 14:32:16 +0000
505@@ -15,7 +15,7 @@
506 */
507
508 import QtQuick 2.0
509-import Ubuntu.Components 0.1
510+import Ubuntu.Components 1.3
511 import Unity 0.2
512 import Utils 0.1
513 import "../Components"
514
515=== modified file 'qml/Dash/DashContentTabBarStyle.qml'
516--- qml/Dash/DashContentTabBarStyle.qml 2014-02-19 13:30:38 +0000
517+++ qml/Dash/DashContentTabBarStyle.qml 2015-07-22 14:32:16 +0000
518@@ -14,7 +14,7 @@
519 * along with this program. If not, see <http://www.gnu.org/licenses/>.
520 */
521
522-import Ubuntu.Components.Themes.Ambiance 0.1
523+import Ubuntu.Components.Themes.Ambiance 1.3
524
525 TabBarStyle {
526 indicatorImageSource: "graphics/tabbarchevron.png"
527
528=== modified file 'qml/Dash/DashNavigation.qml'
529--- qml/Dash/DashNavigation.qml 2015-01-05 15:08:04 +0000
530+++ qml/Dash/DashNavigation.qml 2015-07-22 14:32:16 +0000
531@@ -1,5 +1,5 @@
532 /*
533- * Copyright (C) 2014 Canonical, Ltd.
534+ * Copyright (C) 2014,2015 Canonical, Ltd.
535 *
536 * This program is free software; you can redistribute it and/or modify
537 * it under the terms of the GNU General Public License as published by
538@@ -15,7 +15,7 @@
539 */
540
541 import QtQuick 2.2
542-import Ubuntu.Components 1.1
543+import Ubuntu.Components 1.3
544 import Dash 0.1
545 import "../Components"
546
547@@ -48,7 +48,7 @@
548 id: d
549 readonly property color foregroundColor: root.scopeStyle
550 ? root.scopeStyle.getTextColor(backgroundItem.luminance)
551- : Theme.palette.normal.baseText
552+ : theme.palette.normal.baseText
553 readonly property bool bothVisible: altNavigationButton.visible && navigationButton.visible
554 readonly property real navigationWidth: root.width >= units.gu(60) ? units.gu(40) : root.width
555 readonly property real buttonWidth: navigationWidth / (bothVisible ? 2 : 1)
556
557=== modified file 'qml/Dash/DashNavigationButton.qml'
558--- qml/Dash/DashNavigationButton.qml 2015-01-05 15:08:04 +0000
559+++ qml/Dash/DashNavigationButton.qml 2015-07-22 14:32:16 +0000
560@@ -1,5 +1,5 @@
561 /*
562- * Copyright (C) 2014 Canonical, Ltd.
563+ * Copyright (C) 2014,2015 Canonical, Ltd.
564 *
565 * This program is free software; you can redistribute it and/or modify
566 * it under the terms of the GNU General Public License as published by
567@@ -15,7 +15,7 @@
568 */
569
570 import QtQuick 2.2
571-import Ubuntu.Components 1.1
572+import Ubuntu.Components 1.3
573
574 AbstractButton {
575 id: root
576@@ -24,7 +24,7 @@
577 // Set by parent
578 property var scope: null
579 property var scopeStyle: null
580- property color foregroundColor: Theme.palette.normal.baseText
581+ property color foregroundColor: theme.palette.normal.baseText
582 property bool isAltNavigation: false
583 property bool showDivider: false
584
585
586=== modified file 'qml/Dash/DashNavigationList.qml'
587--- qml/Dash/DashNavigationList.qml 2014-10-23 11:59:22 +0000
588+++ qml/Dash/DashNavigationList.qml 2015-07-22 14:32:16 +0000
589@@ -1,5 +1,5 @@
590 /*
591- * Copyright (C) 2014 Canonical, Ltd.
592+ * Copyright (C) 2014,2015 Canonical, Ltd.
593 *
594 * This program is free software; you can redistribute it and/or modify
595 * it under the terms of the GNU General Public License as published by
596@@ -15,7 +15,7 @@
597 */
598
599 import QtQuick 2.2
600-import Ubuntu.Components 1.1
601+import Ubuntu.Components 1.3
602 import "../Components"
603
604 Item {
605@@ -23,7 +23,7 @@
606 property var navigation: null
607 property var currentNavigation: null
608 property var scopeStyle: null
609- property color foregroundColor: Theme.palette.normal.baseText
610+ property color foregroundColor: theme.palette.normal.baseText
611 signal enterNavigation(var newNavigationId, bool hasChildren)
612 signal goBackToParentClicked()
613 signal allNavigationClicked()
614
615=== modified file 'qml/Dash/GenericScopeView.qml'
616--- qml/Dash/GenericScopeView.qml 2015-07-03 14:24:08 +0000
617+++ qml/Dash/GenericScopeView.qml 2015-07-22 14:32:16 +0000
618@@ -15,7 +15,7 @@
619 */
620
621 import QtQuick 2.0
622-import Ubuntu.Components 1.1
623+import Ubuntu.Components 1.3
624 import Utils 0.1
625 import Unity 0.2
626 import Dash 0.1
627@@ -543,7 +543,7 @@
628 }
629 fontSize: "small"
630 font.weight: Font.Bold
631- color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
632+ color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
633 }
634 }
635
636@@ -580,7 +580,7 @@
637 width: categoryView.width
638 height: section != "" ? units.gu(5) : 0
639 text: section
640- color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
641+ color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
642 iconName: delegate && delegate.headerLink ? "go-next" : ""
643 onClicked: {
644 if (delegate.headerLink) scopeView.scope.performQuery(delegate.headerLink);
645@@ -701,7 +701,7 @@
646 }
647 fontSize: "small"
648 font.weight: Font.Bold
649- color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
650+ color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
651 }
652
653 Connections {
654
655=== modified file 'qml/Dash/PageHeader.qml'
656--- qml/Dash/PageHeader.qml 2015-03-13 10:07:57 +0000
657+++ qml/Dash/PageHeader.qml 2015-07-22 14:32:16 +0000
658@@ -1,5 +1,5 @@
659 /*
660- * Copyright (C) 2013 Canonical, Ltd.
661+ * Copyright (C) 2013,2015 Canonical, Ltd.
662 *
663 * This program is free software; you can redistribute it and/or modify
664 * it under the terms of the GNU General Public License as published by
665@@ -15,10 +15,10 @@
666 */
667
668 import QtQuick 2.2
669-import Ubuntu.Components 1.1
670-import Ubuntu.Components.Themes.Ambiance 1.1
671-import Ubuntu.Components.Popups 1.0
672-import Ubuntu.Components.ListItems 1.0
673+import Ubuntu.Components 1.3
674+import Ubuntu.Components.Themes.Ambiance 1.3
675+import Ubuntu.Components.Popups 1.3
676+import Ubuntu.Components.ListItems 1.3
677 import "../Components"
678 import "../Components/SearchHistoryModel"
679
680@@ -136,7 +136,7 @@
681 objectName: "headerContainer"
682 clip: contentY < height
683 anchors { left: parent.left; top: parent.top; right: parent.right }
684- height: units.gu(7)
685+ height: header.contentHeight
686 contentHeight: headersColumn.height
687 interactive: false
688 contentY: showSearch ? 0 : height
689@@ -171,8 +171,6 @@
690 PageHeadStyle {
691 id: searchHeader
692 anchors { left: parent.left; right: parent.right }
693- height: headerContainer.height
694- contentHeight: height
695 opacity: headerContainer.clip || headerContainer.showSearch ? 1 : 0 // setting visible false cause column to relayout
696 __separator_visible: false
697 // Required to keep PageHeadStyle noise down as it expects the Page's properties around.
698@@ -182,7 +180,7 @@
699 property color panelColor: background.topColor
700 panelForegroundColor: config.foregroundColor
701 property var config: PageHeadConfiguration {
702- foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : Theme.palette.normal.baseText
703+ foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : theme.palette.normal.baseText
704 backAction: Action {
705 iconName: "back"
706 onTriggered: {
707@@ -247,7 +245,6 @@
708 objectName: "innerPageHeader"
709 anchors { left: parent.left; right: parent.right }
710 height: headerContainer.height
711- contentHeight: height
712 opacity: headerContainer.clip || !headerContainer.showSearch ? 1 : 0 // setting visible false cause column to relayout
713 __separator_visible: false
714 property var styledItem: header
715@@ -256,7 +253,7 @@
716 property color panelColor: background.topColor
717 panelForegroundColor: config.foregroundColor
718 property var config: PageHeadConfiguration {
719- foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : Theme.palette.normal.baseText
720+ foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : theme.palette.normal.baseText
721 backAction: Action {
722 iconName: backIsClose ? "close" : "back"
723 visible: root.showBackButton
724
725=== modified file 'qml/Dash/PreviewListView.qml'
726--- qml/Dash/PreviewListView.qml 2014-10-23 11:59:22 +0000
727+++ qml/Dash/PreviewListView.qml 2015-07-22 14:32:16 +0000
728@@ -15,7 +15,7 @@
729 */
730
731 import QtQuick 2.0
732-import Ubuntu.Components 0.1
733+import Ubuntu.Components 1.3
734 import Unity 0.2
735 import "../Components"
736 import "Previews" as Previews
737
738=== modified file 'qml/Dash/Previews/Preview.qml'
739--- qml/Dash/Previews/Preview.qml 2015-02-12 10:44:27 +0000
740+++ qml/Dash/Previews/Preview.qml 2015-07-22 14:32:16 +0000
741@@ -15,7 +15,7 @@
742 */
743
744 import QtQuick 2.0
745-import Ubuntu.Components 0.1
746+import Ubuntu.Components 1.3
747
748 /*! \brief This component constructs the Preview UI.
749 *
750
751=== modified file 'qml/Dash/Previews/PreviewActionButton.qml'
752--- qml/Dash/Previews/PreviewActionButton.qml 2014-08-14 12:01:03 +0000
753+++ qml/Dash/Previews/PreviewActionButton.qml 2015-07-22 14:32:16 +0000
754@@ -15,7 +15,7 @@
755 */
756
757 import QtQuick 2.0
758-import Ubuntu.Components 1.1
759+import Ubuntu.Components 1.3
760
761 Button {
762 signal triggeredAction(var actionData)
763
764=== modified file 'qml/Dash/Previews/PreviewActionCombo.qml'
765--- qml/Dash/Previews/PreviewActionCombo.qml 2014-08-15 08:40:36 +0000
766+++ qml/Dash/Previews/PreviewActionCombo.qml 2015-07-22 14:32:16 +0000
767@@ -1,5 +1,5 @@
768 /*
769- * Copyright (C) 2014 Canonical, Ltd.
770+ * Copyright (C) 2014,2015 Canonical, Ltd.
771 *
772 * This program is free software; you can redistribute it and/or modify
773 * it under the terms of the GNU General Public License as published by
774@@ -15,7 +15,7 @@
775 */
776
777 import QtQuick 2.0
778-import Ubuntu.Components 1.1
779+import Ubuntu.Components 1.3
780
781 Item {
782 id: root
783@@ -33,7 +33,7 @@
784
785 objectName: "moreLessButton"
786 text: !expanded ? i18n.tr("More...") : i18n.tr("Less...")
787- strokeColor: Theme.palette.normal.baseText
788+ strokeColor: theme.palette.normal.baseText
789 onClicked: expanded = !expanded
790 width: parent.width
791 }
792
793=== modified file 'qml/Dash/Previews/PreviewActions.qml'
794--- qml/Dash/Previews/PreviewActions.qml 2015-02-12 10:44:27 +0000
795+++ qml/Dash/Previews/PreviewActions.qml 2015-07-22 14:32:16 +0000
796@@ -1,5 +1,5 @@
797 /*
798- * Copyright (C) 2014 Canonical, Ltd.
799+ * Copyright (C) 2014,2015 Canonical, Ltd.
800 *
801 * This program is free software; you can redistribute it and/or modify
802 * it under the terms of the GNU General Public License as published by
803@@ -15,7 +15,7 @@
804 */
805
806 import QtQuick 2.1
807-import Ubuntu.Components 1.1
808+import Ubuntu.Components 1.3
809
810 /*! This preview widget shows either one button, two buttons or one button
811 * and a combo button depending on the number of items in widgetData["actions"].
812@@ -50,7 +50,7 @@
813 Binding {
814 target: loader.item
815 property: "strokeColor"
816- value: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText
817+ value: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
818 }
819 Connections {
820 target: loader.item
821
822=== modified file 'qml/Dash/Previews/PreviewAudioPlayback.qml'
823--- qml/Dash/Previews/PreviewAudioPlayback.qml 2014-08-13 10:29:21 +0000
824+++ qml/Dash/Previews/PreviewAudioPlayback.qml 2015-07-22 14:32:16 +0000
825@@ -1,5 +1,5 @@
826 /*
827- * Copyright (C) 2014 Canonical, Ltd.
828+ * Copyright (C) 2014,2015 Canonical, Ltd.
829 *
830 * This program is free software; you can redistribute it and/or modify
831 * it under the terms of the GNU General Public License as published by
832@@ -16,7 +16,7 @@
833
834 import QtQuick 2.0
835 import QtMultimedia 5.0
836-import Ubuntu.Components 0.1
837+import Ubuntu.Components 1.3
838
839 /*! \brief Preview widget for audio tracks.
840
841@@ -139,7 +139,7 @@
842 objectName: "trackTitleLabel"
843 anchors { top: parent.top; left: parent.left; right: parent.right }
844 opacity: 0.9
845- color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
846+ color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
847 fontSize: "small"
848 horizontalAlignment: Text.AlignLeft
849 text: modelData["title"]
850@@ -152,7 +152,7 @@
851 anchors { top: trackTitleLabel.bottom; left: parent.left; right: parent.right }
852 visible: text !== ""
853 opacity: 0.9
854- color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
855+ color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
856 font.weight: Font.Light
857 fontSize: "small"
858 horizontalAlignment: Text.AlignLeft
859@@ -193,7 +193,7 @@
860 anchors.verticalCenter: parent.verticalCenter
861 width: parent.column3Width
862 opacity: 0.9
863- color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
864+ color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
865 fontSize: "small"
866 horizontalAlignment: Text.AlignRight
867 text: audio.lengthToString(modelData["length"])
868
869=== modified file 'qml/Dash/Previews/PreviewComment.qml'
870--- qml/Dash/Previews/PreviewComment.qml 2015-07-06 15:33:11 +0000
871+++ qml/Dash/Previews/PreviewComment.qml 2015-07-22 14:32:16 +0000
872@@ -15,7 +15,7 @@
873 */
874
875 import QtQuick 2.0
876-import Ubuntu.Components 1.2
877+import Ubuntu.Components 1.3
878
879 /*! \brief Preview widget for comments.
880
881
882=== modified file 'qml/Dash/Previews/PreviewCommentInput.qml'
883--- qml/Dash/Previews/PreviewCommentInput.qml 2015-07-06 13:14:35 +0000
884+++ qml/Dash/Previews/PreviewCommentInput.qml 2015-07-22 14:32:16 +0000
885@@ -15,7 +15,7 @@
886 */
887
888 import QtQuick 2.0
889-import Ubuntu.Components 1.1
890+import Ubuntu.Components 1.3
891 import "../../Components"
892
893 /*! \brief Preview widget for commenting.
894
895=== modified file 'qml/Dash/Previews/PreviewExpandable.qml'
896--- qml/Dash/Previews/PreviewExpandable.qml 2014-08-26 10:54:49 +0000
897+++ qml/Dash/Previews/PreviewExpandable.qml 2015-07-22 14:32:16 +0000
898@@ -1,5 +1,5 @@
899 /*
900- * Copyright (C) 2014 Canonical, Ltd.
901+ * Copyright (C) 2014,2015 Canonical, Ltd.
902 *
903 * This program is free software; you can redistribute it and/or modify
904 * it under the terms of the GNU General Public License as published by
905@@ -15,7 +15,7 @@
906 */
907
908 import QtQuick 2.3
909-import Ubuntu.Components 1.1
910+import Ubuntu.Components 1.3
911 import "../../Components"
912
913 /*! \brief Preview widget for expandable widgets.
914@@ -41,7 +41,7 @@
915 right: expandButton.left
916 }
917 fontSize: "large"
918- color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText
919+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
920 visible: text !== ""
921 opacity: .8
922 text: widgetData["title"] || ""
923@@ -62,7 +62,7 @@
924 width: units.gu(3)
925 height: units.gu(3)
926 name: root.expanded ? "view-collapse" : "view-expand"
927- color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText
928+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
929 }
930 }
931
932
933=== modified file 'qml/Dash/Previews/PreviewHeader.qml'
934--- qml/Dash/Previews/PreviewHeader.qml 2015-05-06 15:05:06 +0000
935+++ qml/Dash/Previews/PreviewHeader.qml 2015-07-22 14:32:16 +0000
936@@ -1,5 +1,5 @@
937 /*
938- * Copyright (C) 2014 Canonical, Ltd.
939+ * Copyright (C) 2014,2015 Canonical, Ltd.
940 *
941 * This program is free software; you can redistribute it and/or modify
942 * it under the terms of the GNU General Public License as published by
943@@ -15,7 +15,7 @@
944 */
945
946 import QtQuick 2.0
947-import Ubuntu.Components 0.1
948+import Ubuntu.Components 1.3
949 import Dash 0.1
950 import "../"
951
952@@ -40,7 +40,7 @@
953 readonly property string title: root.widgetData["title"] || ""
954 readonly property string subtitle: root.widgetData["subtitle"] || ""
955 readonly property var attributes: root.widgetData["attributes"] || null
956- readonly property color fontColor: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText
957+ readonly property color fontColor: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
958
959 // Rewire the source since we may have unwired it on onStatusChanged
960 onMascotChanged: if (mascotShapeLoader.item) mascotShapeLoader.item.image.source = mascot;
961
962=== modified file 'qml/Dash/Previews/PreviewImageGallery.qml'
963--- qml/Dash/Previews/PreviewImageGallery.qml 2015-05-06 15:05:06 +0000
964+++ qml/Dash/Previews/PreviewImageGallery.qml 2015-07-22 14:32:16 +0000
965@@ -15,7 +15,7 @@
966 */
967
968 import QtQuick 2.0
969-import Ubuntu.Components 1.1
970+import Ubuntu.Components 1.3
971 import "../../Components"
972
973 /*! This preview widget shows a horizontal list of images.
974
975=== modified file 'qml/Dash/Previews/PreviewOverlay.qml'
976--- qml/Dash/Previews/PreviewOverlay.qml 2015-03-10 12:23:46 +0000
977+++ qml/Dash/Previews/PreviewOverlay.qml 2015-07-22 14:32:16 +0000
978@@ -1,5 +1,5 @@
979 /*
980- * Copyright (C) 2014 Canonical, Ltd.
981+ * Copyright (C) 2014,2015 Canonical, Ltd.
982 *
983 * This program is free software; you can redistribute it and/or modify
984 * it under the terms of the GNU General Public License as published by
985@@ -15,7 +15,7 @@
986 */
987
988 import QtQuick 2.0
989-import Ubuntu.Components 1.1
990+import Ubuntu.Components 1.3
991 import "../../Components"
992
993 Rectangle {
994@@ -158,7 +158,7 @@
995 anchors.centerIn: parent
996 width: units.gu(2.5)
997 height: width
998- color: Theme.palette.normal.foregroundText
999+ color: theme.palette.normal.foregroundText
1000 name: "close"
1001 }
1002 }
1003
1004=== modified file 'qml/Dash/Previews/PreviewPayments.qml'
1005--- qml/Dash/Previews/PreviewPayments.qml 2014-11-20 11:44:44 +0000
1006+++ qml/Dash/Previews/PreviewPayments.qml 2015-07-22 14:32:16 +0000
1007@@ -15,7 +15,7 @@
1008 */
1009
1010 import QtQuick 2.1
1011-import Ubuntu.Components 0.1
1012+import Ubuntu.Components 1.3
1013 import Ubuntu.Payments 0.1
1014
1015 /*! \brief Preview widget for a purchase button.
1016
1017=== modified file 'qml/Dash/Previews/PreviewProgress.qml'
1018--- qml/Dash/Previews/PreviewProgress.qml 2014-04-30 10:51:30 +0000
1019+++ qml/Dash/Previews/PreviewProgress.qml 2015-07-22 14:32:16 +0000
1020@@ -15,7 +15,7 @@
1021 */
1022
1023 import QtQuick 2.1
1024-import Ubuntu.Components 0.1
1025+import Ubuntu.Components 1.3
1026 import Ubuntu.DownloadDaemonListener 0.1
1027
1028 /*! \brief Preview widget for a progress bar.
1029
1030=== modified file 'qml/Dash/Previews/PreviewRatingDisplay.qml'
1031--- qml/Dash/Previews/PreviewRatingDisplay.qml 2015-05-11 07:33:41 +0000
1032+++ qml/Dash/Previews/PreviewRatingDisplay.qml 2015-07-22 14:32:16 +0000
1033@@ -1,5 +1,5 @@
1034 /*
1035- * Copyright (C) 2014 Canonical, Ltd.
1036+ * Copyright (C) 2014,2015 Canonical, Ltd.
1037 *
1038 * This program is free software; you can redistribute it and/or modify
1039 * it under the terms of the GNU General Public License as published by
1040@@ -15,7 +15,7 @@
1041 */
1042
1043 import QtQuick 2.0
1044-import Ubuntu.Components 0.1
1045+import Ubuntu.Components 1.3
1046 import "../../Components"
1047
1048 /*! \brief Preview widget for rating display.
1049@@ -60,7 +60,7 @@
1050 urlIconEmpty: widgetData["rating-icon-empty"]
1051 urlIconFull: widgetData["rating-icon-full"]
1052 urlIconHalf: widgetData["rating-icon-half"]
1053- labelColor: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
1054+ labelColor: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
1055 }
1056 }
1057 }
1058
1059=== modified file 'qml/Dash/Previews/PreviewRatingEdit.qml'
1060--- qml/Dash/Previews/PreviewRatingEdit.qml 2015-05-08 13:12:02 +0000
1061+++ qml/Dash/Previews/PreviewRatingEdit.qml 2015-07-22 14:32:16 +0000
1062@@ -15,7 +15,7 @@
1063 */
1064
1065 import QtQuick 2.4
1066-import Ubuntu.Components 0.1
1067+import Ubuntu.Components 1.3
1068 import "../../Components"
1069
1070 /*! \brief Preview widget for editable rating.
1071@@ -56,7 +56,7 @@
1072 urlIconEmpty: widgetData["rating-icon-empty"]
1073 urlIconFull: widgetData["rating-icon-full"]
1074 urlIconHalf: widgetData["rating-icon-half"]
1075- labelColor: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
1076+ labelColor: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
1077 }
1078
1079 PreviewRatingInput {
1080
1081=== modified file 'qml/Dash/Previews/PreviewRatingInput.qml'
1082--- qml/Dash/Previews/PreviewRatingInput.qml 2015-05-08 13:12:02 +0000
1083+++ qml/Dash/Previews/PreviewRatingInput.qml 2015-07-22 14:32:16 +0000
1084@@ -1,5 +1,5 @@
1085 /*
1086- * Copyright (C) 2014 Canonical, Ltd.
1087+ * Copyright (C) 2014,2015 Canonical, Ltd.
1088 *
1089 * This program is free software; you can redistribute it and/or modify
1090 * it under the terms of the GNU General Public License as published by
1091@@ -15,7 +15,7 @@
1092 */
1093
1094 import QtQuick 2.0
1095-import Ubuntu.Components 0.1
1096+import Ubuntu.Components 1.3
1097 import "../../Components"
1098
1099 /*! \brief Preview widget for rating.
1100@@ -79,7 +79,7 @@
1101 verticalCenter: parent.verticalCenter
1102 left: parent.left
1103 }
1104- color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText
1105+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
1106 opacity: .8
1107 text: widgetData["rating-label"] || i18n.tr("Rate this")
1108 }
1109@@ -124,7 +124,7 @@
1110 left: parent.left
1111 right: parent.right
1112 }
1113- color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText
1114+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
1115 opacity: .8
1116 text: widgetData["review-label"] || i18n.tr("Add a review")
1117 }
1118@@ -165,7 +165,7 @@
1119 top: parent.top
1120 right: parent.right
1121 }
1122- color: readyToSubmit ? Theme.palette.selected.base : Theme.palette.normal.base
1123+ color: readyToSubmit ? theme.palette.selected.base : theme.palette.normal.base
1124 text: widgetData["submit-label"] || i18n.tr("Send")
1125 onClicked: {
1126 if (readyToSubmit) root.submit()
1127
1128=== modified file 'qml/Dash/Previews/PreviewRatingSingleDisplay.qml'
1129--- qml/Dash/Previews/PreviewRatingSingleDisplay.qml 2015-05-08 13:12:02 +0000
1130+++ qml/Dash/Previews/PreviewRatingSingleDisplay.qml 2015-07-22 14:32:16 +0000
1131@@ -15,7 +15,7 @@
1132 */
1133
1134 import QtQuick 2.4
1135-import Ubuntu.Components 0.1
1136+import Ubuntu.Components 1.3
1137 import "../../Components"
1138
1139 Column {
1140
1141=== modified file 'qml/Dash/Previews/PreviewTable.qml'
1142--- qml/Dash/Previews/PreviewTable.qml 2015-04-13 10:37:41 +0000
1143+++ qml/Dash/Previews/PreviewTable.qml 2015-07-22 14:32:16 +0000
1144@@ -1,5 +1,5 @@
1145 /*
1146- * Copyright (C) 2014 Canonical, Ltd.
1147+ * Copyright (C) 2014,2015 Canonical, Ltd.
1148 *
1149 * This program is free software; you can redistribute it and/or modify
1150 * it under the terms of the GNU General Public License as published by
1151@@ -16,7 +16,7 @@
1152
1153 import QtQuick 2.0
1154 import QtQuick.Layouts 1.1
1155-import Ubuntu.Components 0.1
1156+import Ubuntu.Components 1.3
1157 import "../../Components"
1158
1159 /*! \brief Preview widget for table.
1160@@ -48,7 +48,7 @@
1161 }
1162 height: visible ? implicitHeight : 0
1163 fontSize: "large"
1164- color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText
1165+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
1166 visible: text !== ""
1167 opacity: .8
1168 text: widgetData["title"] || ""
1169@@ -72,7 +72,7 @@
1170 fontSize: "small"
1171 text: perRowRepeater.model[index]
1172 visible: root.expanded || rowIndex < maximumCollapsedRowCount
1173- color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText
1174+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
1175 font.bold: index == 0
1176 wrapMode: Text.Wrap
1177 Layout.alignment: Qt.AlignTop
1178
1179=== modified file 'qml/Dash/Previews/PreviewTextSummary.qml'
1180--- qml/Dash/Previews/PreviewTextSummary.qml 2014-10-10 10:37:03 +0000
1181+++ qml/Dash/Previews/PreviewTextSummary.qml 2015-07-22 14:32:16 +0000
1182@@ -1,5 +1,5 @@
1183 /*
1184- * Copyright (C) 2014 Canonical, Ltd.
1185+ * Copyright (C) 2014,2015 Canonical, Ltd.
1186 *
1187 * This program is free software; you can redistribute it and/or modify
1188 * it under the terms of the GNU General Public License as published by
1189@@ -15,7 +15,7 @@
1190 */
1191
1192 import QtQuick 2.0
1193-import Ubuntu.Components 0.1
1194+import Ubuntu.Components 1.3
1195 import "../../Components"
1196
1197 /*! \brief Preview widget for text.
1198@@ -39,7 +39,7 @@
1199 }
1200 height: visible ? implicitHeight : 0
1201 fontSize: "large"
1202- color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText
1203+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
1204 visible: text !== ""
1205 opacity: .8
1206 text: widgetData["title"] || ""
1207@@ -61,7 +61,7 @@
1208 clip: true
1209 fontSize: "small"
1210 lineHeight: 1.2
1211- color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText
1212+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText
1213 opacity: .8
1214 text: widgetData["text"] || ""
1215 wrapMode: Text.Wrap
1216
1217=== modified file 'qml/Dash/Previews/PreviewVideoPlayback.qml'
1218--- qml/Dash/Previews/PreviewVideoPlayback.qml 2014-03-31 13:06:36 +0000
1219+++ qml/Dash/Previews/PreviewVideoPlayback.qml 2015-07-22 14:32:16 +0000
1220@@ -15,7 +15,7 @@
1221 */
1222
1223 import QtQuick 2.0
1224-import Ubuntu.Components 0.1
1225+import Ubuntu.Components 1.3
1226 import Ubuntu.Thumbnailer 0.1
1227 import "../../Components"
1228
1229
1230=== modified file 'qml/Dash/Previews/PreviewZoomableImage.qml'
1231--- qml/Dash/Previews/PreviewZoomableImage.qml 2015-05-06 15:05:06 +0000
1232+++ qml/Dash/Previews/PreviewZoomableImage.qml 2015-07-22 14:32:16 +0000
1233@@ -15,7 +15,7 @@
1234 */
1235
1236 import QtQuick 2.0
1237-import Ubuntu.Components 0.1
1238+import Ubuntu.Components 1.3
1239 import "../../Components"
1240
1241 /*! \brief Preview widget for image.
1242
1243=== modified file 'qml/Dash/PullToRefreshScopeStyle.qml'
1244--- qml/Dash/PullToRefreshScopeStyle.qml 2014-09-30 14:22:22 +0000
1245+++ qml/Dash/PullToRefreshScopeStyle.qml 2015-07-22 14:32:16 +0000
1246@@ -15,8 +15,8 @@
1247 */
1248
1249 import QtQuick 2.3
1250-import Ubuntu.Components 1.1
1251-import Ubuntu.Components.Styles 1.1
1252+import Ubuntu.Components 1.3
1253+import Ubuntu.Components.Styles 1.3
1254
1255 /**
1256 * TODO: Once the SDK version of PullToRefreshStyle doesn't have bug 1375799
1257
1258=== modified file 'qml/Dash/ScopeSettings/ScopeSetting.qml'
1259--- qml/Dash/ScopeSettings/ScopeSetting.qml 2014-08-26 12:27:36 +0000
1260+++ qml/Dash/ScopeSettings/ScopeSetting.qml 2015-07-22 14:32:16 +0000
1261@@ -15,7 +15,7 @@
1262 */
1263
1264 import QtQuick 2.2
1265-import Ubuntu.Components 1.1
1266+import Ubuntu.Components 1.3
1267
1268 /*! Interface for settings widgets. */
1269
1270
1271=== modified file 'qml/Dash/ScopeSettings/ScopeSettingBoolean.qml'
1272--- qml/Dash/ScopeSettings/ScopeSettingBoolean.qml 2015-02-10 11:35:11 +0000
1273+++ qml/Dash/ScopeSettings/ScopeSettingBoolean.qml 2015-07-22 14:32:16 +0000
1274@@ -1,5 +1,5 @@
1275 /*
1276- * Copyright (C) 2014 Canonical, Ltd.
1277+ * Copyright (C) 2015 Canonical, Ltd.
1278 *
1279 * This program is free software; you can redistribute it and/or modify
1280 * it under the terms of the GNU General Public License as published by
1281@@ -15,8 +15,8 @@
1282 */
1283
1284 import QtQuick 2.2
1285-import Ubuntu.Components 1.1
1286-import Ubuntu.Components.ListItems 1.0 as ListItem
1287+import Ubuntu.Components 1.3
1288+import Ubuntu.Components.ListItems 1.3 as ListItem
1289
1290 ScopeSetting {
1291 id: root
1292@@ -44,7 +44,7 @@
1293 elide: Text.ElideMiddle
1294 maximumLineCount: 2
1295 wrapMode: Text.Wrap
1296- color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
1297+ color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
1298 }
1299
1300 CheckBox {
1301
1302=== modified file 'qml/Dash/ScopeSettings/ScopeSettingList.qml'
1303--- qml/Dash/ScopeSettings/ScopeSettingList.qml 2014-08-26 12:33:32 +0000
1304+++ qml/Dash/ScopeSettings/ScopeSettingList.qml 2015-07-22 14:32:16 +0000
1305@@ -15,8 +15,8 @@
1306 */
1307
1308 import QtQuick 2.2
1309-import Ubuntu.Components 1.1
1310-import Ubuntu.Components.ListItems 1.0 as ListItem
1311+import Ubuntu.Components 1.3
1312+import Ubuntu.Components.ListItems 1.3 as ListItem
1313
1314 ScopeSetting {
1315 id: root
1316
1317=== modified file 'qml/Dash/ScopeSettings/ScopeSettingString.qml'
1318--- qml/Dash/ScopeSettings/ScopeSettingString.qml 2014-08-26 12:27:36 +0000
1319+++ qml/Dash/ScopeSettings/ScopeSettingString.qml 2015-07-22 14:32:16 +0000
1320@@ -1,5 +1,5 @@
1321 /*
1322- * Copyright (C) 2014 Canonical, Ltd.
1323+ * Copyright (C) 2015 Canonical, Ltd.
1324 *
1325 * This program is free software; you can redistribute it and/or modify
1326 * it under the terms of the GNU General Public License as published by
1327@@ -15,8 +15,8 @@
1328 */
1329
1330 import QtQuick 2.2
1331-import Ubuntu.Components 1.1
1332-import Ubuntu.Components.ListItems 1.0 as ListItem
1333+import Ubuntu.Components 1.3
1334+import Ubuntu.Components.ListItems 1.3 as ListItem
1335
1336 ScopeSetting {
1337 id: root
1338@@ -44,7 +44,7 @@
1339 elide: Text.ElideMiddle
1340 maximumLineCount: 2
1341 wrapMode: Text.Wrap
1342- color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
1343+ color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
1344 }
1345
1346 TextField {
1347@@ -57,7 +57,7 @@
1348 }
1349 width: root.mode == "number" ? units.gu(8) : units.gu(12)
1350 text: widgetData.value
1351- color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.fieldText
1352+ color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.fieldText
1353 validator: root.mode == "number" ? doubleValidator : null
1354 hasClearButton: root.mode == "number" ? false : true
1355
1356
1357=== modified file 'qml/Dash/ScopeSettingsPage.qml'
1358--- qml/Dash/ScopeSettingsPage.qml 2014-10-23 11:59:22 +0000
1359+++ qml/Dash/ScopeSettingsPage.qml 2015-07-22 14:32:16 +0000
1360@@ -15,7 +15,7 @@
1361 */
1362
1363 import QtQuick 2.2
1364-import Ubuntu.Components 1.1
1365+import Ubuntu.Components 1.3
1366 import Unity 0.2
1367 import "../Components"
1368 import "ScopeSettings"
1369
1370=== modified file 'qml/Dash/ScopesListCategory.qml'
1371--- qml/Dash/ScopesListCategory.qml 2015-04-24 07:33:59 +0000
1372+++ qml/Dash/ScopesListCategory.qml 2015-07-22 14:32:16 +0000
1373@@ -1,5 +1,5 @@
1374 /*
1375- * Copyright (C) 2014 Canonical, Ltd.
1376+ * Copyright (C) 2014,2015 Canonical, Ltd.
1377 *
1378 * This program is free software; you can redistribute it and/or modify
1379 * it under the terms of the GNU General Public License as published by
1380@@ -15,7 +15,7 @@
1381 */
1382
1383 import QtQuick 2.3
1384-import Ubuntu.Components 1.1
1385+import Ubuntu.Components 1.3
1386 import Dash 0.1
1387 import "../Components/ListItems" as ListItems
1388
1389@@ -43,7 +43,7 @@
1390 id: header
1391 width: root.width
1392 height: units.gu(5)
1393- color: scopeStyle ? scopeStyle.foreground : Theme.palette.normal.baseText
1394+ color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
1395 }
1396
1397 readonly property double listItemHeight: units.gu(6)
1398
1399=== modified file 'qml/Dash/ScopesListCategoryItem.qml'
1400--- qml/Dash/ScopesListCategoryItem.qml 2015-02-13 12:03:32 +0000
1401+++ qml/Dash/ScopesListCategoryItem.qml 2015-07-22 14:32:16 +0000
1402@@ -16,7 +16,7 @@
1403
1404 import QtQuick 2.3
1405 import QtQuick.Layouts 1.1
1406-import Ubuntu.Components 1.1
1407+import Ubuntu.Components 1.3
1408
1409 MouseArea {
1410 id: root
1411
1412=== modified file 'qml/Greeter/Clock.qml'
1413--- qml/Greeter/Clock.qml 2014-12-11 14:10:18 +0000
1414+++ qml/Greeter/Clock.qml 2015-07-22 14:32:16 +0000
1415@@ -15,7 +15,7 @@
1416 */
1417
1418 import QtQuick 2.0
1419-import Ubuntu.Components 0.1
1420+import Ubuntu.Components 1.3
1421 import "../Panel/Indicators"
1422 import Unity.Indicators 0.1 as Indicators
1423
1424
1425=== modified file 'qml/Greeter/CoverPage.qml'
1426--- qml/Greeter/CoverPage.qml 2015-05-11 14:36:03 +0000
1427+++ qml/Greeter/CoverPage.qml 2015-07-22 14:32:16 +0000
1428@@ -15,7 +15,7 @@
1429 */
1430
1431 import QtQuick 2.3
1432-import Ubuntu.Components 1.1
1433+import Ubuntu.Components 1.3
1434 import Ubuntu.Gestures 0.1
1435 import "../Components"
1436
1437
1438=== modified file 'qml/Greeter/Greeter.qml'
1439--- qml/Greeter/Greeter.qml 2015-06-12 16:07:43 +0000
1440+++ qml/Greeter/Greeter.qml 2015-07-22 14:32:16 +0000
1441@@ -17,7 +17,7 @@
1442 import QtQuick 2.3
1443 import AccountsService 0.1
1444 import LightDM 0.1 as LightDM
1445-import Ubuntu.Components 1.1
1446+import Ubuntu.Components 1.3
1447 import Ubuntu.SystemImage 0.1
1448 import Unity.Launcher 0.1
1449 import "../Components"
1450
1451=== modified file 'qml/Greeter/Infographics.qml'
1452--- qml/Greeter/Infographics.qml 2015-02-12 14:48:06 +0000
1453+++ qml/Greeter/Infographics.qml 2015-07-22 14:32:16 +0000
1454@@ -17,7 +17,7 @@
1455 import "../Components"
1456 import "Gradient.js" as Gradient
1457 import QtQuick 2.0
1458-import Ubuntu.Components 0.1
1459+import Ubuntu.Components 1.3
1460
1461 Item {
1462 id: infographic
1463
1464=== modified file 'qml/Greeter/LoginList.qml'
1465--- qml/Greeter/LoginList.qml 2015-02-01 19:53:29 +0000
1466+++ qml/Greeter/LoginList.qml 2015-07-22 14:32:16 +0000
1467@@ -15,7 +15,7 @@
1468 */
1469
1470 import QtQuick 2.3
1471-import Ubuntu.Components 1.1
1472+import Ubuntu.Components 1.3
1473 import "../Components"
1474
1475 Item {
1476
1477=== modified file 'qml/Greeter/NarrowView.qml'
1478--- qml/Greeter/NarrowView.qml 2015-03-04 13:23:34 +0000
1479+++ qml/Greeter/NarrowView.qml 2015-07-22 14:32:16 +0000
1480@@ -15,7 +15,7 @@
1481 */
1482
1483 import QtQuick 2.3
1484-import Ubuntu.Components 1.1
1485+import Ubuntu.Components 1.3
1486 import "../Components"
1487
1488 FocusScope {
1489
1490=== modified file 'qml/Greeter/ObjectPositioner.qml'
1491--- qml/Greeter/ObjectPositioner.qml 2013-06-05 22:03:08 +0000
1492+++ qml/Greeter/ObjectPositioner.qml 2015-07-22 14:32:16 +0000
1493@@ -15,7 +15,7 @@
1494 */
1495
1496 import QtQuick 2.0
1497-import Ubuntu.Components 0.1
1498+import Ubuntu.Components 1.3
1499
1500 Item {
1501 property int count
1502
1503=== modified file 'qml/Greeter/WideView.qml'
1504--- qml/Greeter/WideView.qml 2015-03-04 13:23:34 +0000
1505+++ qml/Greeter/WideView.qml 2015-07-22 14:32:16 +0000
1506@@ -15,7 +15,7 @@
1507 */
1508
1509 import QtQuick 2.3
1510-import Ubuntu.Components 1.1
1511+import Ubuntu.Components 1.3
1512
1513 FocusScope {
1514 id: root
1515
1516=== modified file 'qml/Launcher/FoldingLauncherDelegate.qml'
1517--- qml/Launcher/FoldingLauncherDelegate.qml 2013-08-27 18:30:55 +0000
1518+++ qml/Launcher/FoldingLauncherDelegate.qml 2015-07-22 14:32:16 +0000
1519@@ -15,7 +15,7 @@
1520 */
1521
1522 import QtQuick 2.0
1523-import Ubuntu.Components 0.1
1524+import Ubuntu.Components 1.3
1525
1526 LauncherDelegate {
1527 id: root
1528
1529=== modified file 'qml/Launcher/Launcher.qml'
1530--- qml/Launcher/Launcher.qml 2015-04-15 20:21:11 +0000
1531+++ qml/Launcher/Launcher.qml 2015-07-22 14:32:16 +0000
1532@@ -16,7 +16,7 @@
1533
1534 import QtQuick 2.0
1535 import "../Components"
1536-import Ubuntu.Components 0.1
1537+import Ubuntu.Components 1.3
1538 import Ubuntu.Gestures 0.1
1539 import Unity.Launcher 0.1
1540
1541
1542=== modified file 'qml/Launcher/LauncherDelegate.qml'
1543--- qml/Launcher/LauncherDelegate.qml 2014-10-14 12:28:07 +0000
1544+++ qml/Launcher/LauncherDelegate.qml 2015-07-22 14:32:16 +0000
1545@@ -15,7 +15,7 @@
1546 */
1547
1548 import QtQuick 2.0
1549-import Ubuntu.Components 0.1
1550+import Ubuntu.Components 1.3
1551
1552 Item {
1553 id: root
1554
1555=== modified file 'qml/Launcher/LauncherPanel.qml'
1556--- qml/Launcher/LauncherPanel.qml 2015-07-01 11:39:49 +0000
1557+++ qml/Launcher/LauncherPanel.qml 2015-07-22 14:32:16 +0000
1558@@ -15,10 +15,10 @@
1559 */
1560
1561 import QtQuick 2.3
1562-import Ubuntu.Components 1.1
1563-import Ubuntu.Components.ListItems 1.0 as ListItems
1564+import Ubuntu.Components 1.3
1565+import Ubuntu.Components.ListItems 1.3 as ListItems
1566 import Unity.Launcher 0.1
1567-import Ubuntu.Components.Popups 0.1
1568+import Ubuntu.Components.Popups 1.3
1569 import "../Components/ListItems"
1570 import "../Components/"
1571
1572
1573=== modified file 'qml/Notifications/Notification.qml'
1574--- qml/Notifications/Notification.qml 2015-01-21 17:19:13 +0000
1575+++ qml/Notifications/Notification.qml 2015-07-22 14:32:16 +0000
1576@@ -1,5 +1,5 @@
1577 /*
1578- * Copyright (C) 2013 Canonical, Ltd.
1579+ * Copyright (C) 2013,2015 Canonical, Ltd.
1580 *
1581 * This program is free software; you can redistribute it and/or modify
1582 * it under the terms of the GNU General Public License as published by
1583@@ -16,12 +16,12 @@
1584
1585 import QtQuick 2.0
1586 import QtMultimedia 5.0
1587-import Ubuntu.Components 1.1
1588+import Ubuntu.Components 1.3
1589 import Unity.Notifications 1.0
1590 import QMenuModel 0.1
1591 import Utils 0.1
1592
1593-import Ubuntu.Components.ListItems 0.1 as ListItem
1594+import Ubuntu.Components.ListItems 1.3 as ListItem
1595
1596 Item {
1597 id: notification
1598@@ -269,7 +269,7 @@
1599 }
1600 visible: type !== Notification.Confirmation
1601 fontSize: "medium"
1602- color: darkOnBright ? sdFontColor : Theme.palette.selected.backgroundText
1603+ color: darkOnBright ? sdFontColor : theme.palette.selected.backgroundText
1604 elide: Text.ElideRight
1605 textFormat: Text.PlainText
1606 }
1607@@ -284,7 +284,7 @@
1608 }
1609 visible: body != "" && type !== Notification.Confirmation
1610 fontSize: "small"
1611- color: darkOnBright ? sdFontColor : Theme.palette.selected.backgroundText
1612+ color: darkOnBright ? sdFontColor : theme.palette.selected.backgroundText
1613 wrapMode: Text.WordWrap
1614 maximumLineCount: type == Notification.SnapDecision ? 12 : 2
1615 elide: Text.ElideRight
1616@@ -325,7 +325,7 @@
1617 anchors.horizontalCenter: parent.horizontalCenter
1618 visible: type === Notification.Confirmation && body !== ""
1619 fontSize: "medium"
1620- color: darkOnBright ? sdFontColor : Theme.palette.selected.backgroundText
1621+ color: darkOnBright ? sdFontColor : theme.palette.selected.backgroundText
1622 wrapMode: Text.WordWrap
1623 maximumLineCount: 1
1624 elide: Text.ElideRight
1625
1626=== modified file 'qml/Notifications/NotificationMenuItemFactory.qml'
1627--- qml/Notifications/NotificationMenuItemFactory.qml 2014-11-17 13:46:56 +0000
1628+++ qml/Notifications/NotificationMenuItemFactory.qml 2015-07-22 14:32:16 +0000
1629@@ -18,7 +18,7 @@
1630 */
1631
1632 import QtQuick 2.0
1633-import Ubuntu.Components 0.1
1634+import Ubuntu.Components 1.3
1635 import QMenuModel 0.1
1636 import "../Components"
1637
1638
1639=== modified file 'qml/Notifications/Notifications.qml'
1640--- qml/Notifications/Notifications.qml 2015-07-01 11:41:38 +0000
1641+++ qml/Notifications/Notifications.qml 2015-07-22 14:32:16 +0000
1642@@ -15,7 +15,7 @@
1643 */
1644
1645 import QtQuick 2.0
1646-import Ubuntu.Components 0.1
1647+import Ubuntu.Components 1.3
1648 import Unity.Notifications 1.0 as UnityNotifications
1649 import Utils 0.1
1650 import "../Components"
1651
1652=== modified file 'qml/Notifications/OptionToggle.qml'
1653--- qml/Notifications/OptionToggle.qml 2014-11-07 10:55:22 +0000
1654+++ qml/Notifications/OptionToggle.qml 2015-07-22 14:32:16 +0000
1655@@ -1,5 +1,5 @@
1656 /*
1657- * Copyright (C) 2014 Canonical, Ltd.
1658+ * Copyright (C) 2014,2015 Canonical, Ltd.
1659 *
1660 * This program is free software; you can redistribute it and/or modify
1661 * it under the terms of the GNU General Public License as published by
1662@@ -15,9 +15,9 @@
1663 */
1664
1665 import QtQuick 2.0
1666-import Ubuntu.Components 0.1
1667-import Ubuntu.Components.ListItems 0.1 as ListItem
1668-import Ubuntu.Components.Popups 0.1
1669+import Ubuntu.Components 1.3
1670+import Ubuntu.Components.ListItems 1.3 as ListItem
1671+import Ubuntu.Components.Popups 1.3
1672
1673 UbuntuShape {
1674 id: optionToggle
1675@@ -29,7 +29,7 @@
1676
1677 signal triggered(string id)
1678
1679- color: Theme.palette.normal.base
1680+ color: theme.palette.normal.base
1681 borderSource: "none"
1682 height: expanded ? (optionToggleRepeater.count - startIndex) * itemHeight : itemHeight
1683 width: parent.width
1684
1685=== modified file 'qml/Notifications/ShapedIcon.qml'
1686--- qml/Notifications/ShapedIcon.qml 2015-05-08 14:09:26 +0000
1687+++ qml/Notifications/ShapedIcon.qml 2015-07-22 14:32:16 +0000
1688@@ -1,5 +1,5 @@
1689 /*
1690- * Copyright (C) 2013 Canonical, Ltd.
1691+ * Copyright (C) 2013,2015 Canonical, Ltd.
1692 *
1693 * This program is free software; you can redistribute it and/or modify
1694 * it under the terms of the GNU General Public License as published by
1695@@ -15,7 +15,7 @@
1696 */
1697
1698 import QtQuick 2.3
1699-import Ubuntu.Components 1.2
1700+import Ubuntu.Components 1.3
1701
1702 Item {
1703 property string fileSource
1704
1705=== modified file 'qml/Notifications/SwipeToAct.qml'
1706--- qml/Notifications/SwipeToAct.qml 2015-03-17 11:02:43 +0000
1707+++ qml/Notifications/SwipeToAct.qml 2015-07-22 14:32:16 +0000
1708@@ -15,7 +15,7 @@
1709 */
1710
1711 import QtQuick 2.3
1712-import Ubuntu.Components 1.1
1713+import Ubuntu.Components 1.3
1714
1715 Item {
1716 id: swipeToAct
1717
1718=== modified file 'qml/Panel/ActiveCallHint.qml'
1719--- qml/Panel/ActiveCallHint.qml 2014-10-08 21:05:50 +0000
1720+++ qml/Panel/ActiveCallHint.qml 2015-07-22 14:32:16 +0000
1721@@ -16,7 +16,7 @@
1722
1723 import QtQuick 2.0
1724 import Ubuntu.Telephony 0.1 as Telephony
1725-import Ubuntu.Components 0.1
1726+import Ubuntu.Components 1.3
1727 import Unity.Application 0.1
1728 import "../Components"
1729
1730
1731=== modified file 'qml/Panel/Handle.qml'
1732--- qml/Panel/Handle.qml 2014-10-09 12:01:57 +0000
1733+++ qml/Panel/Handle.qml 2015-07-22 14:32:16 +0000
1734@@ -15,7 +15,7 @@
1735 */
1736
1737 import QtQuick 2.2
1738-import Ubuntu.Components 1.1
1739+import Ubuntu.Components 1.3
1740
1741 Rectangle {
1742 id: handle
1743
1744=== modified file 'qml/Panel/IndicatorItem.qml'
1745--- qml/Panel/IndicatorItem.qml 2015-07-01 11:08:59 +0000
1746+++ qml/Panel/IndicatorItem.qml 2015-07-22 14:32:16 +0000
1747@@ -15,7 +15,7 @@
1748 */
1749
1750 import QtQuick 2.2
1751-import Ubuntu.Components 1.1
1752+import Ubuntu.Components 1.3
1753 import Ubuntu.Settings.Components 0.1
1754 import "Indicators"
1755
1756
1757=== modified file 'qml/Panel/IndicatorItemRow.qml'
1758--- qml/Panel/IndicatorItemRow.qml 2014-10-17 14:55:35 +0000
1759+++ qml/Panel/IndicatorItemRow.qml 2015-07-22 14:32:16 +0000
1760@@ -15,7 +15,7 @@
1761 */
1762
1763 import QtQuick 2.2
1764-import Ubuntu.Components 1.1
1765+import Ubuntu.Components 1.3
1766
1767 Item {
1768 id: root
1769
1770=== modified file 'qml/Panel/IndicatorPage.qml'
1771--- qml/Panel/IndicatorPage.qml 2014-11-17 23:04:48 +0000
1772+++ qml/Panel/IndicatorPage.qml 2015-07-22 14:32:16 +0000
1773@@ -15,7 +15,7 @@
1774 */
1775
1776 import QtQuick 2.0
1777-import Ubuntu.Components 0.1 as Components
1778+import Ubuntu.Components 1.3 as Components
1779 import Unity.Indicators 0.1 as Indicators
1780 import "Indicators"
1781
1782
1783=== modified file 'qml/Panel/Indicators/MenuItemFactory.qml'
1784--- qml/Panel/Indicators/MenuItemFactory.qml 2015-06-13 11:30:34 +0000
1785+++ qml/Panel/Indicators/MenuItemFactory.qml 2015-07-22 14:32:16 +0000
1786@@ -1,5 +1,5 @@
1787 /*
1788- * Copyright 2013 Canonical Ltd.
1789+ * Copyright 2013,2015 Canonical Ltd.
1790 *
1791 * This program is free software; you can redistribute it and/or modify
1792 * it under the terms of the GNU Lesser General Public License as published by
1793@@ -22,8 +22,8 @@
1794 import Ubuntu.Settings.Components 0.1
1795 import QMenuModel 0.1
1796 import Utils 0.1 as Utils
1797-import Ubuntu.Components.ListItems 0.1 as ListItems
1798-import Ubuntu.Components 1.1
1799+import Ubuntu.Components.ListItems 1.3 as ListItems
1800+import Ubuntu.Components 1.3
1801
1802 Item {
1803 id: menuFactory
1804@@ -245,7 +245,7 @@
1805 name: "settings"
1806 height: units.gu(3)
1807 width: height
1808- color: Theme.palette.selected.backgroundText
1809+ color: theme.palette.selected.backgroundText
1810 }
1811 }
1812 }
1813@@ -277,7 +277,7 @@
1814 source: menuData.icon
1815 height: units.gu(3)
1816 width: height
1817- color: Theme.palette.selected.backgroundText
1818+ color: theme.palette.selected.backgroundText
1819 }
1820 }
1821 }
1822@@ -836,7 +836,7 @@
1823 enabled: menuData && menuData.sensitive || false
1824 highlightWhenPressed: false
1825 text: menuData && menuData.label || ""
1826- foregroundColor: Theme.palette.normal.backgroundText
1827+ foregroundColor: theme.palette.normal.backgroundText
1828
1829 onMenuModelChanged: {
1830 loadAttributes();
1831
1832=== modified file 'qml/Panel/Indicators/MessageMenuItemFactory.qml'
1833--- qml/Panel/Indicators/MessageMenuItemFactory.qml 2015-03-13 10:07:57 +0000
1834+++ qml/Panel/Indicators/MessageMenuItemFactory.qml 2015-07-22 14:32:16 +0000
1835@@ -19,7 +19,7 @@
1836 */
1837
1838 import QtQuick 2.0
1839-import Ubuntu.Components 0.1
1840+import Ubuntu.Components 1.3
1841 import Ubuntu.Settings.Menus 0.1 as Menus
1842 import QMenuModel 0.1 as QMenuModel
1843 import Utils 0.1 as Utils
1844
1845=== modified file 'qml/Panel/Indicators/ModemInfoItem.qml'
1846--- qml/Panel/Indicators/ModemInfoItem.qml 2014-07-31 13:31:32 +0000
1847+++ qml/Panel/Indicators/ModemInfoItem.qml 2015-07-22 14:32:16 +0000
1848@@ -1,5 +1,5 @@
1849 /*
1850- * Copyright 2014 Canonical Ltd.
1851+ * Copyright 2014,2015 Canonical Ltd.
1852 *
1853 * This program is free software; you can redistribute it and/or modify
1854 * it under the terms of the GNU Lesser General Public License as published by
1855@@ -16,8 +16,8 @@
1856
1857 import QtQuick 2.0
1858 import QtQuick.Layouts 1.1
1859-import Ubuntu.Components 0.1
1860-import Ubuntu.Components.ListItems 0.1 as ListItem
1861+import Ubuntu.Components 1.3
1862+import Ubuntu.Components.ListItems 1.3 as ListItem
1863
1864 ListItem.Empty {
1865 id: menu
1866@@ -65,7 +65,7 @@
1867 height: parent.height
1868 Icon {
1869 id: statusIcon
1870- color: Theme.palette.selected.backgroundText
1871+ color: theme.palette.selected.backgroundText
1872
1873 Layout.preferredHeight: parent.height
1874 Layout.preferredWidth: Layout.preferredHeight
1875@@ -75,7 +75,7 @@
1876
1877 Icon {
1878 id: iconConnectivity
1879- color: Theme.palette.selected.backgroundText
1880+ color: theme.palette.selected.backgroundText
1881
1882 Layout.preferredHeight: parent.height
1883 Layout.preferredWidth: Layout.preferredHeight
1884
1885=== modified file 'qml/Panel/Indicators/RoamingIndication.qml'
1886--- qml/Panel/Indicators/RoamingIndication.qml 2014-07-31 13:31:32 +0000
1887+++ qml/Panel/Indicators/RoamingIndication.qml 2015-07-22 14:32:16 +0000
1888@@ -1,5 +1,5 @@
1889 /*
1890- * Copyright 2014 Canonical Ltd.
1891+ * Copyright 2014,2015 Canonical Ltd.
1892 *
1893 * This program is free software; you can redistribute it and/or modify
1894 * it under the terms of the GNU Lesser General Public License as published by
1895@@ -16,7 +16,7 @@
1896
1897 import QtQuick 2.0
1898 import QtQuick.Layouts 1.1
1899-import Ubuntu.Components 0.1
1900+import Ubuntu.Components 1.3
1901
1902 RowLayout {
1903 spacing: units.gu(0.5)
1904@@ -30,7 +30,7 @@
1905
1906 Icon {
1907 id: iconRoaming
1908- color: Theme.palette.selected.backgroundText
1909+ color: theme.palette.selected.backgroundText
1910
1911 Layout.preferredHeight: parent.height
1912 Layout.preferredWidth: Layout.preferredHeight
1913
1914=== modified file 'qml/Panel/Indicators/client/IndicatorRepresentation.qml'
1915--- qml/Panel/Indicators/client/IndicatorRepresentation.qml 2014-10-03 10:10:31 +0000
1916+++ qml/Panel/Indicators/client/IndicatorRepresentation.qml 2015-07-22 14:32:16 +0000
1917@@ -19,8 +19,8 @@
1918 */
1919
1920 import QtQuick 2.0
1921-import Ubuntu.Components 0.1
1922-import Ubuntu.Components.ListItems 0.1 as ListItem
1923+import Ubuntu.Components 1.3
1924+import Ubuntu.Components.ListItems 1.3 as ListItem
1925 import "../.."
1926
1927 Page {
1928
1929=== modified file 'qml/Panel/Indicators/client/IndicatorsClient.qml'
1930--- qml/Panel/Indicators/client/IndicatorsClient.qml 2014-07-25 17:52:39 +0000
1931+++ qml/Panel/Indicators/client/IndicatorsClient.qml 2015-07-22 14:32:16 +0000
1932@@ -18,15 +18,15 @@
1933 */
1934
1935 import QtQuick 2.0
1936-import Ubuntu.Components 0.1
1937-import Ubuntu.Components.ListItems 0.1 as ListItem
1938+import Ubuntu.Components 1.3
1939+import Ubuntu.Components.ListItems 1.3 as ListItem
1940
1941 Rectangle {
1942 color: "black"
1943 id: root
1944
1945 Component.onCompleted: {
1946- Theme.name = "Ubuntu.Components.Themes.SuruGradient"
1947+ theme.name = "Ubuntu.Components.Themes.SuruGradient"
1948 }
1949
1950 PageStack {
1951
1952=== modified file 'qml/Panel/Indicators/client/IndicatorsList.qml'
1953--- qml/Panel/Indicators/client/IndicatorsList.qml 2015-03-11 08:07:31 +0000
1954+++ qml/Panel/Indicators/client/IndicatorsList.qml 2015-07-22 14:32:16 +0000
1955@@ -18,8 +18,8 @@
1956 */
1957
1958 import QtQuick 2.0
1959-import Ubuntu.Components 0.1
1960-import Ubuntu.Components.ListItems 0.1 as ListItem
1961+import Ubuntu.Components 1.3
1962+import Ubuntu.Components.ListItems 1.3 as ListItem
1963 import Unity.Indicators 0.1 as Indicators
1964 import "../.."
1965
1966
1967=== modified file 'qml/Panel/Indicators/client/IndicatorsTree.qml'
1968--- qml/Panel/Indicators/client/IndicatorsTree.qml 2014-11-11 15:28:13 +0000
1969+++ qml/Panel/Indicators/client/IndicatorsTree.qml 2015-07-22 14:32:16 +0000
1970@@ -18,7 +18,7 @@
1971 */
1972
1973 import QtQuick 2.0
1974-import Ubuntu.Components 0.1
1975+import Ubuntu.Components 1.3
1976 import Unity.Indicators 0.1 as Indicators
1977 import ".."
1978
1979
1980=== modified file 'qml/Panel/IndicatorsBar.qml'
1981--- qml/Panel/IndicatorsBar.qml 2014-12-03 10:57:01 +0000
1982+++ qml/Panel/IndicatorsBar.qml 2015-07-22 14:32:16 +0000
1983@@ -15,7 +15,7 @@
1984 */
1985
1986 import QtQuick 2.2
1987-import Ubuntu.Components 1.1
1988+import Ubuntu.Components 1.3
1989 import "../Components"
1990
1991 Item {
1992
1993=== modified file 'qml/Panel/IndicatorsMenu.qml'
1994--- qml/Panel/IndicatorsMenu.qml 2015-05-18 23:04:12 +0000
1995+++ qml/Panel/IndicatorsMenu.qml 2015-07-22 14:32:16 +0000
1996@@ -15,7 +15,7 @@
1997 */
1998
1999 import QtQuick 2.2
2000-import Ubuntu.Components 1.1
2001+import Ubuntu.Components 1.3
2002 import Ubuntu.Gestures 0.1
2003 import "../Components"
2004 import "Indicators"
2005
2006=== modified file 'qml/Panel/MenuContent.qml'
2007--- qml/Panel/MenuContent.qml 2014-11-17 23:04:48 +0000
2008+++ qml/Panel/MenuContent.qml 2015-07-22 14:32:16 +0000
2009@@ -16,7 +16,7 @@
2010
2011 import QtQuick 2.2
2012 import QtQuick.Layouts 1.1
2013-import Ubuntu.Components 1.1
2014+import Ubuntu.Components 1.3
2015 import Unity.Indicators 0.1 as Indicators
2016 import Utils 0.1
2017 import "../Components"
2018
2019=== modified file 'qml/Panel/Panel.qml'
2020--- qml/Panel/Panel.qml 2015-04-15 11:37:00 +0000
2021+++ qml/Panel/Panel.qml 2015-07-22 14:32:16 +0000
2022@@ -15,7 +15,7 @@
2023 */
2024
2025 import QtQuick 2.2
2026-import Ubuntu.Components 1.1
2027+import Ubuntu.Components 1.3
2028 import Unity.Application 0.1
2029 import "../Components"
2030 import "../Components/PanelState"
2031
2032=== modified file 'qml/Rotation/RotationStates.qml'
2033--- qml/Rotation/RotationStates.qml 2015-05-11 14:36:03 +0000
2034+++ qml/Rotation/RotationStates.qml 2015-07-22 14:32:16 +0000
2035@@ -15,7 +15,7 @@
2036 */
2037
2038 import QtQuick 2.0
2039-import Ubuntu.Components 1.1
2040+import Ubuntu.Components 1.3
2041 import Powerd 0.1
2042
2043 // Why the state machine is done that way:
2044
2045=== modified file 'qml/ScopeTool.qml'
2046--- qml/ScopeTool.qml 2014-08-07 15:29:12 +0000
2047+++ qml/ScopeTool.qml 2015-07-22 14:32:16 +0000
2048@@ -15,8 +15,8 @@
2049 */
2050
2051 import QtQuick 2.0
2052-import Ubuntu.Components 0.1
2053-import Ubuntu.Components.Popups 0.1
2054+import Ubuntu.Components 1.3
2055+import Ubuntu.Components.Popups 1.3
2056 import Ubuntu.Thumbnailer 0.1 // Register support for image://thumbnailer/ and image://albumart/
2057 import Utils 0.1
2058 import Unity 0.2
2059
2060=== modified file 'qml/Shell.qml'
2061--- qml/Shell.qml 2015-07-10 14:44:55 +0000
2062+++ qml/Shell.qml 2015-07-22 14:32:16 +0000
2063@@ -19,8 +19,8 @@
2064 import AccountsService 0.1
2065 import GSettings 1.0
2066 import Unity.Application 0.1
2067-import Ubuntu.Components 0.1
2068-import Ubuntu.Components.Popups 1.0
2069+import Ubuntu.Components 1.3
2070+import Ubuntu.Components.Popups 1.3
2071 import Ubuntu.Gestures 0.1
2072 import Ubuntu.Telephony 0.1 as Telephony
2073 import Unity.Connectivity 0.1
2074@@ -160,7 +160,7 @@
2075 }
2076
2077 Component.onCompleted: {
2078- Theme.name = "Ubuntu.Components.Themes.SuruGradient"
2079+ theme.name = "Ubuntu.Components.Themes.SuruGradient"
2080 if (ApplicationManager.count > 0) {
2081 ApplicationManager.focusApplication(ApplicationManager.get(0).appId);
2082 }
2083
2084=== modified file 'qml/Stages/Animations/SwipeFromBottomAnimation.qml'
2085--- qml/Stages/Animations/SwipeFromBottomAnimation.qml 2014-09-01 12:46:31 +0000
2086+++ qml/Stages/Animations/SwipeFromBottomAnimation.qml 2015-07-22 14:32:16 +0000
2087@@ -15,7 +15,7 @@
2088 */
2089
2090 import QtQuick 2.0
2091-import Ubuntu.Components 1.1
2092+import Ubuntu.Components 1.3
2093
2094 BaseSessionAnimation {
2095 id: animation
2096
2097=== modified file 'qml/Stages/ApplicationWindow.qml'
2098--- qml/Stages/ApplicationWindow.qml 2015-07-10 15:55:50 +0000
2099+++ qml/Stages/ApplicationWindow.qml 2015-07-22 14:32:16 +0000
2100@@ -15,7 +15,7 @@
2101 */
2102
2103 import QtQuick 2.0
2104-import Ubuntu.Components 1.1
2105+import Ubuntu.Components 1.3
2106 import Unity.Application 0.1
2107
2108 FocusScope {
2109
2110=== modified file 'qml/Stages/DecoratedWindow.qml'
2111--- qml/Stages/DecoratedWindow.qml 2015-04-24 17:42:11 +0000
2112+++ qml/Stages/DecoratedWindow.qml 2015-07-22 14:32:16 +0000
2113@@ -17,7 +17,7 @@
2114 */
2115
2116 import QtQuick 2.3
2117-import Ubuntu.Components 1.1
2118+import Ubuntu.Components 1.3
2119 import Unity.Application 0.1
2120
2121 FocusScope {
2122
2123=== modified file 'qml/Stages/DesktopStage.qml'
2124--- qml/Stages/DesktopStage.qml 2015-06-12 16:07:43 +0000
2125+++ qml/Stages/DesktopStage.qml 2015-07-22 14:32:16 +0000
2126@@ -17,7 +17,7 @@
2127 */
2128
2129 import QtQuick 2.3
2130-import Ubuntu.Components 1.1
2131+import Ubuntu.Components 1.3
2132 import Unity.Application 0.1
2133 import "../Components/PanelState"
2134
2135
2136=== modified file 'qml/Stages/MainViewStyle.qml'
2137--- qml/Stages/MainViewStyle.qml 2014-09-12 20:16:54 +0000
2138+++ qml/Stages/MainViewStyle.qml 2015-07-22 14:32:16 +0000
2139@@ -14,7 +14,7 @@
2140 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2141 */
2142 import QtQuick 2.0
2143-import Ubuntu.Components 1.1
2144+import Ubuntu.Components 1.3
2145
2146 // FIXME: copied with slight modifications from Ubuntu UI Toolkit's Ambiance's theme
2147 Item {
2148@@ -65,8 +65,7 @@
2149
2150 Qt bug: https://bugreports.qt-project.org/browse/QTBUG-11712
2151 */
2152- property string theme: (ColorUtils.luminance(styledItem.backgroundColor) >= 0.85) ? "Ambiance" :
2153- (isGradient ? "SuruGradient" : "SuruDark")
2154+ property string theme: (ColorUtils.luminance(styledItem.backgroundColor) >= 0.85) ? "Ambiance" : "SuruDark"
2155 }
2156
2157 // automatically select the appropriate theme depending on the background colors
2158
2159=== modified file 'qml/Stages/PageHeadStyle.qml'
2160--- qml/Stages/PageHeadStyle.qml 2014-08-27 18:50:43 +0000
2161+++ qml/Stages/PageHeadStyle.qml 2015-07-22 14:32:16 +0000
2162@@ -14,8 +14,8 @@
2163 * along with this program. If not, see <http://www.gnu.org/licenses/>.
2164 */
2165 import QtQuick 2.2
2166-import Ubuntu.Components 1.1
2167-import Ubuntu.Components.Styles 1.1 as Style
2168+import Ubuntu.Components 1.3
2169+import Ubuntu.Components.Styles 1.3 as Style
2170
2171 // FIXME: copied with large modifications from Ubuntu UI Toolkit's Ambiance's theme
2172 Style.PageHeadStyle {
2173
2174=== modified file 'qml/Stages/PhoneStage.qml'
2175--- qml/Stages/PhoneStage.qml 2015-07-10 14:44:55 +0000
2176+++ qml/Stages/PhoneStage.qml 2015-07-22 14:32:16 +0000
2177@@ -15,7 +15,7 @@
2178 */
2179
2180 import QtQuick 2.2
2181-import Ubuntu.Components 0.1
2182+import Ubuntu.Components 1.3
2183 import Ubuntu.Gestures 0.1
2184 import Unity.Application 0.1
2185 import Unity.Session 0.1
2186
2187=== modified file 'qml/Stages/ShimStage.qml'
2188--- qml/Stages/ShimStage.qml 2015-04-21 19:43:25 +0000
2189+++ qml/Stages/ShimStage.qml 2015-07-22 14:32:16 +0000
2190@@ -15,7 +15,7 @@
2191 */
2192
2193 import QtQuick 2.3
2194-import Ubuntu.Components 0.1
2195+import Ubuntu.Components 1.3
2196
2197 Rectangle {
2198 id: shimStage
2199
2200=== modified file 'qml/Stages/Splash.qml'
2201--- qml/Stages/Splash.qml 2015-07-10 15:55:50 +0000
2202+++ qml/Stages/Splash.qml 2015-07-22 14:32:16 +0000
2203@@ -15,11 +15,11 @@
2204 */
2205
2206 import QtQuick 2.2
2207-import Ubuntu.Components 1.1
2208-import Ubuntu.Components.Themes 0.1
2209+import Ubuntu.Components 1.3
2210+import Ubuntu.Components.Themes 1.3
2211 import "../Components"
2212
2213-import Ubuntu.Components.Themes.Ambiance 1.1 as Ambiance
2214+import Ubuntu.Components.Themes.Ambiance 1.3 as Ambiance
2215
2216 Item {
2217 id: root
2218@@ -62,17 +62,17 @@
2219 : root.footerColor
2220
2221 // FIXME: fake a Theme object as to expose the Palette corresponding to the backgroundColor (see MainViewStyle.qml)
2222- property var theme: QtObject {
2223+ readonly property var fakeTheme: QtObject {
2224 property string name
2225 property Palette palette: Qt.createQmlObject("import QtQuick 2.2;\
2226- import Ubuntu.Components.Themes.%1 1.1;\
2227- Palette {}".arg(styledItem.theme.name),
2228+ import Ubuntu.Components.Themes.%1 1.3;\
2229+ Palette {}".arg(styledItem.fakeTheme.name),
2230 styledItem, "dynamicPalette");
2231 }
2232
2233 // FIXME: should instead use future toolkit API:
2234 // style: theme.createStyleComponent("MainViewStyle.qml", styledItem)
2235- style: Component { MainViewStyle {theme: styledItem.theme} }
2236+ style: Component { MainViewStyle {theme: styledItem.fakeTheme} }
2237 }
2238
2239 StyledItem {
2240@@ -89,13 +89,13 @@
2241 property string title
2242 property var tabsModel
2243 property var config: QtObject {
2244- property color foregroundColor: styledItem.theme.palette.selected.backgroundText
2245+ property color foregroundColor: styledItem.fakeTheme.palette.selected.backgroundText
2246 property var sections: QtObject {}
2247 }
2248
2249 // FIXME: should instead use future toolkit API:
2250 // style: theme.createStyleComponent("PageHeadStyle.qml", header)
2251- style: Component { PageHeadStyle {theme: styledItem.theme} }
2252+ style: Component { PageHeadStyle {theme: styledItem.fakeTheme} }
2253 }
2254
2255 Image {
2256@@ -139,7 +139,7 @@
2257 anchors.topMargin: units.gu(2)
2258 fontSize: "large"
2259
2260- color: styledItem.theme.palette.selected.backgroundText
2261+ color: styledItem.fakeTheme.palette.selected.backgroundText
2262 visible: d.showIcon
2263 }
2264
2265
2266=== modified file 'qml/Stages/SpreadDelegate.qml'
2267--- qml/Stages/SpreadDelegate.qml 2015-07-10 15:55:50 +0000
2268+++ qml/Stages/SpreadDelegate.qml 2015-07-22 14:32:16 +0000
2269@@ -19,7 +19,7 @@
2270
2271 import QtQuick 2.0
2272 import QtQuick.Window 2.0
2273-import Ubuntu.Components 1.1
2274+import Ubuntu.Components 1.3
2275 import "../Components"
2276
2277 FocusScope {
2278
2279=== modified file 'qml/Stages/SurfaceContainer.qml'
2280--- qml/Stages/SurfaceContainer.qml 2015-04-15 11:37:00 +0000
2281+++ qml/Stages/SurfaceContainer.qml 2015-07-22 14:32:16 +0000
2282@@ -15,7 +15,7 @@
2283 */
2284
2285 import QtQuick 2.0
2286-import Ubuntu.Components 1.1
2287+import Ubuntu.Components 1.3
2288 import Ubuntu.Gestures 0.1 // For TouchGate
2289 import Utils 0.1 // for InputWatcher
2290
2291
2292=== modified file 'qml/Stages/TabletStage.qml'
2293--- qml/Stages/TabletStage.qml 2015-06-23 14:20:23 +0000
2294+++ qml/Stages/TabletStage.qml 2015-07-22 14:32:16 +0000
2295@@ -15,7 +15,7 @@
2296 */
2297
2298 import QtQuick 2.0
2299-import Ubuntu.Components 0.1
2300+import Ubuntu.Components 1.3
2301 import Ubuntu.Gestures 0.1
2302 import Unity.Application 0.1
2303 import Utils 0.1
2304
2305=== modified file 'qml/Stages/TransformedSpreadDelegate.qml'
2306--- qml/Stages/TransformedSpreadDelegate.qml 2015-04-28 20:20:23 +0000
2307+++ qml/Stages/TransformedSpreadDelegate.qml 2015-07-22 14:32:16 +0000
2308@@ -18,7 +18,7 @@
2309
2310 import QtQuick 2.0
2311 import Utils 0.1
2312-import Ubuntu.Components 0.1
2313+import Ubuntu.Components 1.3
2314
2315 SpreadDelegate {
2316 id: root
2317
2318=== modified file 'qml/Stages/TransformedTabletSpreadDelegate.qml'
2319--- qml/Stages/TransformedTabletSpreadDelegate.qml 2015-03-06 04:44:11 +0000
2320+++ qml/Stages/TransformedTabletSpreadDelegate.qml 2015-07-22 14:32:16 +0000
2321@@ -18,7 +18,7 @@
2322
2323 import QtQuick 2.0
2324 import Utils 0.1
2325-import Ubuntu.Components 0.1
2326+import Ubuntu.Components 1.3
2327 import Unity.Application 0.1
2328
2329 SpreadDelegate {
2330
2331=== modified file 'qml/Stages/WindowDecoration.qml'
2332--- qml/Stages/WindowDecoration.qml 2015-03-13 19:18:35 +0000
2333+++ qml/Stages/WindowDecoration.qml 2015-07-22 14:32:16 +0000
2334@@ -17,7 +17,7 @@
2335 */
2336
2337 import QtQuick 2.3
2338-import Ubuntu.Components 1.1
2339+import Ubuntu.Components 1.3
2340 import "../Components"
2341
2342 Item {
2343
2344=== modified file 'qml/Stages/WindowMoveResizeArea.qml'
2345--- qml/Stages/WindowMoveResizeArea.qml 2015-03-13 19:01:32 +0000
2346+++ qml/Stages/WindowMoveResizeArea.qml 2015-07-22 14:32:16 +0000
2347@@ -17,7 +17,7 @@
2348 */
2349
2350 import QtQuick 2.3
2351-import Ubuntu.Components 1.1
2352+import Ubuntu.Components 1.3
2353 import Utils 0.1
2354
2355 MouseArea {
2356
2357=== modified file 'qml/Tutorial/Arrow.qml'
2358--- qml/Tutorial/Arrow.qml 2014-12-18 23:32:42 +0000
2359+++ qml/Tutorial/Arrow.qml 2015-07-22 14:32:16 +0000
2360@@ -15,7 +15,7 @@
2361 */
2362
2363 import QtQuick 2.3
2364-import Ubuntu.Components 1.1
2365+import Ubuntu.Components 1.3
2366
2367 Item {
2368 id: root
2369
2370=== modified file 'qml/Tutorial/Slider.qml'
2371--- qml/Tutorial/Slider.qml 2015-01-09 21:51:24 +0000
2372+++ qml/Tutorial/Slider.qml 2015-07-22 14:32:16 +0000
2373@@ -15,7 +15,7 @@
2374 */
2375
2376 import QtQuick 2.3
2377-import Ubuntu.Components 1.1
2378+import Ubuntu.Components 1.3
2379
2380 Item {
2381 id: root
2382
2383=== modified file 'qml/Tutorial/Tick.qml'
2384--- qml/Tutorial/Tick.qml 2015-01-06 14:46:52 +0000
2385+++ qml/Tutorial/Tick.qml 2015-07-22 14:32:16 +0000
2386@@ -15,7 +15,7 @@
2387 */
2388
2389 import QtQuick 2.3
2390-import Ubuntu.Components 1.1
2391+import Ubuntu.Components 1.3
2392
2393 MouseArea {
2394 implicitHeight: tick.height
2395
2396=== modified file 'qml/Tutorial/Tutorial.qml'
2397--- qml/Tutorial/Tutorial.qml 2015-04-03 14:23:02 +0000
2398+++ qml/Tutorial/Tutorial.qml 2015-07-22 14:32:16 +0000
2399@@ -15,7 +15,7 @@
2400 */
2401
2402 import QtQuick 2.3
2403-import Ubuntu.Components 1.1
2404+import Ubuntu.Components 1.3
2405
2406 Item {
2407 id: root
2408
2409=== modified file 'qml/Tutorial/TutorialBottom.qml'
2410--- qml/Tutorial/TutorialBottom.qml 2015-04-10 21:16:37 +0000
2411+++ qml/Tutorial/TutorialBottom.qml 2015-07-22 14:32:16 +0000
2412@@ -15,7 +15,7 @@
2413 */
2414
2415 import QtQuick 2.3
2416-import Ubuntu.Components 1.1
2417+import Ubuntu.Components 1.3
2418 import Ubuntu.Gestures 0.1
2419 import "../Components"
2420 import "." as LocalComponents
2421
2422=== modified file 'qml/Tutorial/TutorialBottomFinish.qml'
2423--- qml/Tutorial/TutorialBottomFinish.qml 2015-01-06 14:46:52 +0000
2424+++ qml/Tutorial/TutorialBottomFinish.qml 2015-07-22 14:32:16 +0000
2425@@ -15,7 +15,7 @@
2426 */
2427
2428 import QtQuick 2.3
2429-import Ubuntu.Components 1.1
2430+import Ubuntu.Components 1.3
2431 import "." as LocalComponents
2432
2433 TutorialPage {
2434
2435=== modified file 'qml/Tutorial/TutorialContent.qml'
2436--- qml/Tutorial/TutorialContent.qml 2015-04-03 14:23:02 +0000
2437+++ qml/Tutorial/TutorialContent.qml 2015-07-22 14:32:16 +0000
2438@@ -15,7 +15,7 @@
2439 */
2440
2441 import QtQuick 2.3
2442-import Ubuntu.Components 1.1
2443+import Ubuntu.Components 1.3
2444
2445 Item {
2446 id: root
2447
2448=== modified file 'qml/Tutorial/TutorialLeft.qml'
2449--- qml/Tutorial/TutorialLeft.qml 2015-06-16 22:25:29 +0000
2450+++ qml/Tutorial/TutorialLeft.qml 2015-07-22 14:32:16 +0000
2451@@ -15,7 +15,7 @@
2452 */
2453
2454 import QtQuick 2.3
2455-import Ubuntu.Components 1.1
2456+import Ubuntu.Components 1.3
2457 import "." as LocalComponents
2458
2459 TutorialPage {
2460
2461=== modified file 'qml/Tutorial/TutorialLeftFinish.qml'
2462--- qml/Tutorial/TutorialLeftFinish.qml 2015-01-06 14:46:52 +0000
2463+++ qml/Tutorial/TutorialLeftFinish.qml 2015-07-22 14:32:16 +0000
2464@@ -15,7 +15,7 @@
2465 */
2466
2467 import QtQuick 2.3
2468-import Ubuntu.Components 1.1
2469+import Ubuntu.Components 1.3
2470 import "." as LocalComponents
2471
2472 TutorialPage {
2473
2474=== modified file 'qml/Tutorial/TutorialPage.qml'
2475--- qml/Tutorial/TutorialPage.qml 2015-01-09 21:51:24 +0000
2476+++ qml/Tutorial/TutorialPage.qml 2015-07-22 14:32:16 +0000
2477@@ -15,7 +15,7 @@
2478 */
2479
2480 import QtQuick 2.3
2481-import Ubuntu.Components 1.1
2482+import Ubuntu.Components 1.3
2483 import "../Components"
2484
2485 Showable {
2486
2487=== modified file 'qml/Tutorial/TutorialRight.qml'
2488--- qml/Tutorial/TutorialRight.qml 2015-02-18 21:31:54 +0000
2489+++ qml/Tutorial/TutorialRight.qml 2015-07-22 14:32:16 +0000
2490@@ -15,7 +15,7 @@
2491 */
2492
2493 import QtQuick 2.3
2494-import Ubuntu.Components 1.1
2495+import Ubuntu.Components 1.3
2496 import Ubuntu.Gestures 0.1
2497 import Unity.Application 0.1
2498 import "../Components"
2499
2500=== modified file 'qml/Wizard/CheckableSetting.qml'
2501--- qml/Wizard/CheckableSetting.qml 2014-11-14 17:47:00 +0000
2502+++ qml/Wizard/CheckableSetting.qml 2015-07-22 14:32:16 +0000
2503@@ -1,5 +1,5 @@
2504 /*
2505- * Copyright (C) 2014 Canonical, Ltd.
2506+ * Copyright (C) 2014,2015 Canonical, Ltd.
2507 *
2508 * This program is free software; you can redistribute it and/or modify
2509 * it under the terms of the GNU General Public License as published by
2510@@ -15,8 +15,8 @@
2511 */
2512
2513 import QtQuick 2.3
2514-import Ubuntu.Components 1.1
2515-import Ubuntu.Components.ListItems 1.0 as ListItem
2516+import Ubuntu.Components 1.3
2517+import Ubuntu.Components.ListItems 1.3 as ListItem
2518
2519 ListItem.Empty {
2520 id: listItem
2521@@ -77,7 +77,7 @@
2522 rightMargin: listItem.rightMargin
2523 }
2524 wrapMode: Text.Wrap
2525- linkColor: Theme.palette.normal.foregroundText
2526+ linkColor: theme.palette.normal.foregroundText
2527 onLinkActivated: listItem.linkActivated(link)
2528 }
2529 }
2530
2531=== modified file 'qml/Wizard/Page.qml'
2532--- qml/Wizard/Page.qml 2015-03-13 10:07:57 +0000
2533+++ qml/Wizard/Page.qml 2015-07-22 14:32:16 +0000
2534@@ -1,5 +1,5 @@
2535 /*
2536- * Copyright (C) 2013 Canonical, Ltd.
2537+ * Copyright (C) 2013,2015 Canonical, Ltd.
2538 *
2539 * This program is free software; you can redistribute it and/or modify
2540 * it under the terms of the GNU General Public License as published by
2541@@ -15,7 +15,7 @@
2542 */
2543
2544 import QtQuick 2.3
2545-import Ubuntu.Components 1.1
2546+import Ubuntu.Components 1.3
2547
2548 Item {
2549 readonly property real buttonMargin: units.gu(2)
2550@@ -57,7 +57,7 @@
2551 }
2552 wrapMode: Text.Wrap
2553 text: title
2554- color: Theme.palette.normal.baseText
2555+ color: theme.palette.normal.baseText
2556 font.pixelSize: units.gu(4)
2557 }
2558
2559
2560=== modified file 'qml/Wizard/Pages.qml'
2561--- qml/Wizard/Pages.qml 2015-03-03 14:42:10 +0000
2562+++ qml/Wizard/Pages.qml 2015-07-22 14:32:16 +0000
2563@@ -15,7 +15,7 @@
2564 */
2565
2566 import QtQuick 2.3
2567-import Ubuntu.Components 1.1
2568+import Ubuntu.Components 1.3
2569 import Ubuntu.SystemSettings.SecurityPrivacy 1.0
2570 import Wizard 0.1
2571 import "../Components"
2572
2573=== modified file 'qml/Wizard/Pages/10-welcome.qml'
2574--- qml/Wizard/Pages/10-welcome.qml 2014-11-21 19:28:16 +0000
2575+++ qml/Wizard/Pages/10-welcome.qml 2015-07-22 14:32:16 +0000
2576@@ -15,8 +15,8 @@
2577 */
2578
2579 import QtQuick 2.3
2580-import Ubuntu.Components 1.1
2581-import Ubuntu.Components.ListItems 0.1
2582+import Ubuntu.Components 1.3
2583+import Ubuntu.Components.ListItems 1.3
2584 import Ubuntu.SystemSettings.LanguagePlugin 1.0
2585 import Wizard 0.1
2586 import ".." as LocalComponents
2587
2588=== modified file 'qml/Wizard/Pages/20-sim.qml'
2589--- qml/Wizard/Pages/20-sim.qml 2015-05-19 18:56:17 +0000
2590+++ qml/Wizard/Pages/20-sim.qml 2015-07-22 14:32:16 +0000
2591@@ -16,7 +16,7 @@
2592
2593 import QtQuick 2.0
2594 import MeeGo.QOfono 0.2
2595-import Ubuntu.Components 0.1
2596+import Ubuntu.Components 1.3
2597 import ".." as LocalComponents
2598
2599 LocalComponents.Page {
2600
2601=== modified file 'qml/Wizard/Pages/30-passwd-type.qml'
2602--- qml/Wizard/Pages/30-passwd-type.qml 2015-03-13 10:07:57 +0000
2603+++ qml/Wizard/Pages/30-passwd-type.qml 2015-07-22 14:32:16 +0000
2604@@ -1,5 +1,5 @@
2605 /*
2606- * Copyright (C) 2014 Canonical, Ltd.
2607+ * Copyright (C) 2014,2015 Canonical, Ltd.
2608 *
2609 * This program is free software; you can redistribute it and/or modify
2610 * it under the terms of the GNU General Public License as published by
2611@@ -15,8 +15,8 @@
2612 */
2613
2614 import QtQuick 2.3
2615-import Ubuntu.Components 1.1
2616-import Ubuntu.Components.ListItems 1.0
2617+import Ubuntu.Components 1.3
2618+import Ubuntu.Components.ListItems 1.3
2619 import Ubuntu.SystemSettings.SecurityPrivacy 1.0
2620 import ".." as LocalComponents
2621
2622@@ -111,13 +111,13 @@
2623
2624 Component.onCompleted: {
2625 // A visible selected background looks bad in ListItem widgets with our theme
2626- originalBackground = Theme.palette.selected.background
2627- Theme.palette.selected.background = "transparent"
2628+ originalBackground = theme.palette.selected.background
2629+ theme.palette.selected.background = "transparent"
2630 }
2631
2632 Component.onDestruction: {
2633 // Restore original theme background
2634- Theme.palette.selected.background = originalBackground
2635+ theme.palette.selected.background = originalBackground
2636 }
2637 }
2638 }
2639
2640=== modified file 'qml/Wizard/Pages/40-wifi.qml'
2641--- qml/Wizard/Pages/40-wifi.qml 2015-02-03 15:00:26 +0000
2642+++ qml/Wizard/Pages/40-wifi.qml 2015-07-22 14:32:16 +0000
2643@@ -17,8 +17,8 @@
2644 import QtQuick 2.0
2645 import QMenuModel 0.1 as QMenuModel
2646 import QtSystemInfo 5.0
2647-import Ubuntu.Components 0.1
2648-import Ubuntu.Components.ListItems 0.1 as ListItem
2649+import Ubuntu.Components 1.3
2650+import Ubuntu.Components.ListItems 1.3 as ListItem
2651 import Ubuntu.Settings.Menus 0.1 as Menus
2652 import ".." as LocalComponents
2653
2654
2655=== modified file 'qml/Wizard/Pages/50-location.qml'
2656--- qml/Wizard/Pages/50-location.qml 2015-06-22 10:01:15 +0000
2657+++ qml/Wizard/Pages/50-location.qml 2015-07-22 14:32:16 +0000
2658@@ -1,5 +1,5 @@
2659 /*
2660- * Copyright (C) 2013,2014 Canonical, Ltd.
2661+ * Copyright (C) 2013-2015 Canonical, Ltd.
2662 *
2663 * This program is free software; you can redistribute it and/or modify
2664 * it under the terms of the GNU General Public License as published by
2665@@ -18,7 +18,7 @@
2666 import AccountsService 0.1
2667 import QMenuModel 0.1 as QMenuModel
2668 import Qt.labs.folderlistmodel 2.1
2669-import Ubuntu.Components 1.1
2670+import Ubuntu.Components 1.3
2671 import ".." as LocalComponents
2672
2673 LocalComponents.Page {
2674@@ -98,7 +98,7 @@
2675 anchors.leftMargin: hereCheck.labelOffset
2676 anchors.right: parent.right
2677 wrapMode: Text.Wrap
2678- linkColor: Theme.palette.normal.foregroundText
2679+ linkColor: theme.palette.normal.foregroundText
2680 // Translators: HERE is a trademark for Nokia's location service, you probably shouldn't translate it
2681 text: i18n.tr("By selecting this option you agree to the Nokia HERE <a href='#'>terms and conditions</a>.")
2682 onLinkActivated: pageStack.load(Qt.resolvedUrl("here-terms.qml"))
2683
2684=== modified file 'qml/Wizard/Pages/60-reporting.qml'
2685--- qml/Wizard/Pages/60-reporting.qml 2014-11-21 19:28:16 +0000
2686+++ qml/Wizard/Pages/60-reporting.qml 2015-07-22 14:32:16 +0000
2687@@ -15,7 +15,7 @@
2688 */
2689
2690 import QtQuick 2.0
2691-import Ubuntu.Components 0.1
2692+import Ubuntu.Components 1.3
2693 import ".." as LocalComponents
2694
2695 LocalComponents.Page {
2696
2697=== modified file 'qml/Wizard/Pages/80-finished.qml'
2698--- qml/Wizard/Pages/80-finished.qml 2014-11-21 19:28:16 +0000
2699+++ qml/Wizard/Pages/80-finished.qml 2015-07-22 14:32:16 +0000
2700@@ -15,7 +15,7 @@
2701 */
2702
2703 import QtQuick 2.0
2704-import Ubuntu.Components 0.1
2705+import Ubuntu.Components 1.3
2706 import ".." as LocalComponents
2707
2708 LocalComponents.Page {
2709
2710=== modified file 'qml/Wizard/Pages/here-terms.qml'
2711--- qml/Wizard/Pages/here-terms.qml 2014-11-21 19:28:16 +0000
2712+++ qml/Wizard/Pages/here-terms.qml 2015-07-22 14:32:16 +0000
2713@@ -1,5 +1,5 @@
2714 /*
2715- * Copyright (C) 2014 Canonical, Ltd.
2716+ * Copyright (C) 2014,2015 Canonical, Ltd.
2717 *
2718 * This program is free software; you can redistribute it and/or modify
2719 * it under the terms of the GNU General Public License as published by
2720@@ -17,7 +17,7 @@
2721 import QtQuick 2.3
2722 import AccountsService 0.1
2723 import Qt.labs.folderlistmodel 2.1
2724-import Ubuntu.Components 1.1
2725+import Ubuntu.Components 1.3
2726 import Ubuntu.Web 0.2
2727 import ".." as LocalComponents
2728
2729@@ -102,7 +102,7 @@
2730 anchors.left: parent.left
2731 anchors.right: parent.right
2732 wrapMode: Text.Wrap
2733- linkColor: Theme.palette.normal.foregroundText
2734+ linkColor: theme.palette.normal.foregroundText
2735 onLinkActivated: {
2736 webview.url = link
2737 termsLabel.visible = false
2738
2739=== modified file 'qml/Wizard/Pages/passwd-confirm.qml'
2740--- qml/Wizard/Pages/passwd-confirm.qml 2014-11-21 19:28:16 +0000
2741+++ qml/Wizard/Pages/passwd-confirm.qml 2015-07-22 14:32:16 +0000
2742@@ -15,7 +15,7 @@
2743 */
2744
2745 import QtQuick 2.3
2746-import Ubuntu.Components 1.1
2747+import Ubuntu.Components 1.3
2748 import Ubuntu.SystemSettings.SecurityPrivacy 1.0
2749 import ".." as LocalComponents
2750 import "../../Components" as UnityComponents
2751
2752=== modified file 'qml/Wizard/Pages/passwd-set.qml'
2753--- qml/Wizard/Pages/passwd-set.qml 2014-11-21 19:28:16 +0000
2754+++ qml/Wizard/Pages/passwd-set.qml 2015-07-22 14:32:16 +0000
2755@@ -15,7 +15,7 @@
2756 */
2757
2758 import QtQuick 2.3
2759-import Ubuntu.Components 1.1
2760+import Ubuntu.Components 1.3
2761 import Ubuntu.SystemSettings.SecurityPrivacy 1.0
2762 import ".." as LocalComponents
2763 import "../../Components" as UnityComponents
2764
2765=== modified file 'qml/Wizard/StackButton.qml'
2766--- qml/Wizard/StackButton.qml 2014-11-14 17:47:00 +0000
2767+++ qml/Wizard/StackButton.qml 2015-07-22 14:32:16 +0000
2768@@ -1,5 +1,5 @@
2769 /*
2770- * Copyright (C) 2014 Canonical, Ltd.
2771+ * Copyright (C) 2014,2015 Canonical, Ltd.
2772 *
2773 * This program is free software; you can redistribute it and/or modify
2774 * it under the terms of the GNU General Public License as published by
2775@@ -15,7 +15,7 @@
2776 */
2777
2778 import QtQuick 2.3
2779-import Ubuntu.Components 1.1
2780+import Ubuntu.Components 1.3
2781
2782 AbstractButton {
2783 id: stackButton
2784@@ -32,7 +32,7 @@
2785 anchors.verticalCenter: parent.verticalCenter
2786 anchors.left: parent.left
2787 anchors.right: parent.right
2788- color: enabled ? Theme.palette.selected.backgroundText : Qt.darker(Theme.palette.selected.backgroundText, 1.5)
2789+ color: enabled ? theme.palette.selected.backgroundText : Qt.darker(theme.palette.selected.backgroundText, 1.5)
2790 text: {
2791 if (backArrow) {
2792 // Translators: This is the arrow for "Back" buttons
2793
2794=== modified file 'qml/Wizard/Wizard.qml'
2795--- qml/Wizard/Wizard.qml 2015-03-11 14:48:45 +0000
2796+++ qml/Wizard/Wizard.qml 2015-07-22 14:32:16 +0000
2797@@ -15,7 +15,7 @@
2798 */
2799
2800 import QtQuick 2.3
2801-import Ubuntu.Components 1.1
2802+import Ubuntu.Components 1.3
2803 import Wizard 0.1
2804 import "../Components"
2805
2806
2807=== modified file 'tests/CMakeLists.txt'
2808--- tests/CMakeLists.txt 2015-07-09 20:22:36 +0000
2809+++ tests/CMakeLists.txt 2015-07-22 14:32:16 +0000
2810@@ -126,3 +126,4 @@
2811 add_subdirectory(plugins)
2812 add_subdirectory(qmltests)
2813 add_subdirectory(whitespace)
2814+add_subdirectory(sdk)
2815
2816=== modified file 'tests/plugins/Dash/cardcreator/1.res'
2817--- tests/plugins/Dash/cardcreator/1.res 2015-06-22 08:29:55 +0000
2818+++ tests/plugins/Dash/cardcreator/1.res 2015-07-22 14:32:16 +0000
2819@@ -87,7 +87,7 @@
2820 wrapMode: Text.Wrap;
2821 maximumLineCount: 2;
2822 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2823- color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;
2824+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText;
2825 visible: showHeader ;
2826 width: undefined;
2827 text: root.title;
2828
2829=== modified file 'tests/plugins/Dash/cardcreator/2.res'
2830--- tests/plugins/Dash/cardcreator/2.res 2015-06-22 08:29:55 +0000
2831+++ tests/plugins/Dash/cardcreator/2.res 2015-07-22 14:32:16 +0000
2832@@ -88,7 +88,7 @@
2833 wrapMode: Text.Wrap;
2834 maximumLineCount: 2;
2835 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2836- color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
2837+ color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
2838 visible: showHeader ;
2839 width: undefined;
2840 text: root.title;
2841@@ -108,7 +108,7 @@
2842 maximumLineCount: 1;
2843 fontSize: "x-small";
2844 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2845- color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
2846+ color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
2847 visible: titleLabel.visible && titleLabel.text;
2848 text: cardData && cardData["subtitle"] || "";
2849 font.weight: Font.Light;
2850
2851=== modified file 'tests/plugins/Dash/cardcreator/3.res'
2852--- tests/plugins/Dash/cardcreator/3.res 2015-06-22 08:29:55 +0000
2853+++ tests/plugins/Dash/cardcreator/3.res 2015-07-22 14:32:16 +0000
2854@@ -87,7 +87,7 @@
2855 wrapMode: Text.Wrap;
2856 maximumLineCount: 2;
2857 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2858- color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;
2859+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText;
2860 visible: showHeader ;
2861 width: undefined;
2862 text: root.title;
2863@@ -107,7 +107,7 @@
2864 maximumLineCount: 1;
2865 fontSize: "x-small";
2866 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2867- color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;
2868+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText;
2869 visible: titleLabel.visible && titleLabel.text;
2870 text: cardData && cardData["subtitle"] || "";
2871 font.weight: Font.Light;
2872
2873=== modified file 'tests/plugins/Dash/cardcreator/4.res'
2874--- tests/plugins/Dash/cardcreator/4.res 2015-06-22 08:29:55 +0000
2875+++ tests/plugins/Dash/cardcreator/4.res 2015-07-22 14:32:16 +0000
2876@@ -72,7 +72,7 @@
2877 wrapMode: Text.Wrap;
2878 maximumLineCount: 2;
2879 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2880- color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;
2881+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText;
2882 visible: showHeader ;
2883 width: undefined;
2884 text: root.title;
2885@@ -92,7 +92,7 @@
2886 maximumLineCount: 1;
2887 fontSize: "x-small";
2888 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2889- color: root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText;
2890+ color: root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText;
2891 visible: titleLabel.visible && titleLabel.text;
2892 text: cardData && cardData["subtitle"] || "";
2893 font.weight: Font.Light;
2894
2895=== modified file 'tests/plugins/Dash/cardcreator/5.res'
2896--- tests/plugins/Dash/cardcreator/5.res 2015-06-22 08:29:55 +0000
2897+++ tests/plugins/Dash/cardcreator/5.res 2015-07-22 14:32:16 +0000
2898@@ -131,7 +131,7 @@
2899 wrapMode: Text.Wrap;
2900 maximumLineCount: 2;
2901 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2902- color: root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
2903+ color: root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
2904 visible: showHeader && overlayLoader.active;
2905 width: undefined;
2906 text: root.title;
2907@@ -152,7 +152,7 @@
2908 maximumLineCount: 1;
2909 fontSize: "x-small";
2910 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2911- color: root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
2912+ color: root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
2913 visible: titleLabel.visible && titleLabel.text;
2914 text: cardData && cardData["subtitle"] || "";
2915 font.weight: Font.Light;
2916
2917=== modified file 'tests/plugins/Dash/cardcreator/6.res'
2918--- tests/plugins/Dash/cardcreator/6.res 2015-06-22 08:29:55 +0000
2919+++ tests/plugins/Dash/cardcreator/6.res 2015-07-22 14:32:16 +0000
2920@@ -67,7 +67,7 @@
2921 wrapMode: Text.Wrap;
2922 maximumLineCount: 2;
2923 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2924- color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
2925+ color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
2926 visible: showHeader ;
2927 width: undefined;
2928 text: root.title;
2929@@ -87,7 +87,7 @@
2930 maximumLineCount: 1;
2931 fontSize: "x-small";
2932 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2933- color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
2934+ color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
2935 visible: titleLabel.visible && titleLabel.text;
2936 text: cardData && cardData["subtitle"] || "";
2937 font.weight: Font.Light;
2938@@ -101,7 +101,7 @@
2939 rightMargin: units.gu(1);
2940 }
2941 source: cardData && cardData["emblem"] || "";
2942- color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
2943+ color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
2944 height: source != "" ? titleLabel.font.pixelSize : 0;
2945 width: implicitWidth > 0 && implicitHeight > 0 ? (implicitWidth / implicitHeight * height) : implicitWidth;
2946 }
2947
2948=== modified file 'tests/plugins/Dash/cardcreator/7.res'
2949--- tests/plugins/Dash/cardcreator/7.res 2015-06-22 08:29:55 +0000
2950+++ tests/plugins/Dash/cardcreator/7.res 2015-07-22 14:32:16 +0000
2951@@ -89,7 +89,7 @@
2952 wrapMode: Text.Wrap;
2953 maximumLineCount: 2;
2954 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2955- color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
2956+ color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
2957 visible: showHeader ;
2958 width: undefined;
2959 text: root.title;
2960@@ -109,7 +109,7 @@
2961 maximumLineCount: 1;
2962 fontSize: "x-small";
2963 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2964- color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
2965+ color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
2966 visible: titleLabel.visible && titleLabel.text;
2967 text: cardData && cardData["subtitle"] || "";
2968 font.weight: Font.Light;
2969@@ -122,7 +122,7 @@
2970 rightMargin: units.gu(1);
2971 top: subtitleLabel.bottom;
2972 }
2973- color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
2974+ color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
2975 fontScale: root.fontScale;
2976 model: cardData && cardData["attributes"];
2977 }
2978
2979=== modified file 'tests/plugins/Dash/cardcreator/8.res'
2980--- tests/plugins/Dash/cardcreator/8.res 2015-06-22 08:29:55 +0000
2981+++ tests/plugins/Dash/cardcreator/8.res 2015-07-22 14:32:16 +0000
2982@@ -80,7 +80,7 @@
2983 wrapMode: Text.Wrap;
2984 maximumLineCount: 2;
2985 font.pixelSize: Math.round(FontUtils.sizeToPixels(fontSize) * fontScale);
2986- color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white");
2987+ color: backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white");
2988 visible: showHeader ;
2989 width: parent.width - x;
2990 text: root.title;
2991
2992=== modified file 'tests/plugins/Dash/tst_CroppedImageMinimumSourceSize.qml'
2993--- tests/plugins/Dash/tst_CroppedImageMinimumSourceSize.qml 2014-10-31 15:13:24 +0000
2994+++ tests/plugins/Dash/tst_CroppedImageMinimumSourceSize.qml 2015-07-22 14:32:16 +0000
2995@@ -16,7 +16,7 @@
2996
2997 import QtQuick 2.3
2998 import QtTest 1.0
2999-import Ubuntu.Components 1.1
3000+import Ubuntu.Components 1.3
3001 import Dash 0.1
3002
3003 Rectangle {
3004
3005=== modified file 'tests/plugins/Dash/tst_ScopeStyle.qml'
3006--- tests/plugins/Dash/tst_ScopeStyle.qml 2014-11-20 11:44:44 +0000
3007+++ tests/plugins/Dash/tst_ScopeStyle.qml 2015-07-22 14:32:16 +0000
3008@@ -17,7 +17,7 @@
3009 import QtQuick 2.2
3010 import QtTest 1.0
3011 import Dash 0.1
3012-import Ubuntu.Components 1.1
3013+import Ubuntu.Components 1.3
3014 import Utils 0.1
3015
3016 Rectangle {
3017
3018=== modified file 'tests/plugins/Ubuntu/Gestures/DownwardsLauncher.qml'
3019--- tests/plugins/Ubuntu/Gestures/DownwardsLauncher.qml 2015-04-10 21:16:37 +0000
3020+++ tests/plugins/Ubuntu/Gestures/DownwardsLauncher.qml 2015-07-22 14:32:16 +0000
3021@@ -16,7 +16,7 @@
3022
3023 import QtQuick 2.0
3024 import Ubuntu.Gestures 0.1
3025-import Ubuntu.Components 0.1
3026+import Ubuntu.Components 1.3
3027
3028 Item {
3029
3030
3031=== modified file 'tests/plugins/Ubuntu/Gestures/LeftwardsLauncher.qml'
3032--- tests/plugins/Ubuntu/Gestures/LeftwardsLauncher.qml 2015-04-10 21:16:37 +0000
3033+++ tests/plugins/Ubuntu/Gestures/LeftwardsLauncher.qml 2015-07-22 14:32:16 +0000
3034@@ -16,7 +16,7 @@
3035
3036 import QtQuick 2.0
3037 import Ubuntu.Gestures 0.1
3038-import Ubuntu.Components 0.1
3039+import Ubuntu.Components 1.3
3040
3041 Item {
3042 id: root
3043
3044=== modified file 'tests/plugins/Ubuntu/Gestures/RightwardsLauncher.qml'
3045--- tests/plugins/Ubuntu/Gestures/RightwardsLauncher.qml 2015-04-10 21:16:37 +0000
3046+++ tests/plugins/Ubuntu/Gestures/RightwardsLauncher.qml 2015-07-22 14:32:16 +0000
3047@@ -16,7 +16,7 @@
3048
3049 import QtQuick 2.0
3050 import Ubuntu.Gestures 0.1
3051-import Ubuntu.Components 0.1
3052+import Ubuntu.Components 1.3
3053
3054 Item {
3055 objectName: "rightwardsLauncher"
3056
3057=== modified file 'tests/plugins/Ubuntu/Gestures/UpwardsLauncher.qml'
3058--- tests/plugins/Ubuntu/Gestures/UpwardsLauncher.qml 2015-04-10 21:16:37 +0000
3059+++ tests/plugins/Ubuntu/Gestures/UpwardsLauncher.qml 2015-07-22 14:32:16 +0000
3060@@ -16,7 +16,7 @@
3061
3062 import QtQuick 2.0
3063 import Ubuntu.Gestures 0.1
3064-import Ubuntu.Components 0.1
3065+import Ubuntu.Components 1.3
3066
3067 Item {
3068 id: root
3069
3070=== modified file 'tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.qml'
3071--- tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.qml 2015-04-10 21:16:37 +0000
3072+++ tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.qml 2015-07-22 14:32:16 +0000
3073@@ -15,7 +15,7 @@
3074 */
3075
3076 import QtQuick 2.0
3077-import Ubuntu.Components 0.1
3078+import Ubuntu.Components 1.3
3079 import Unity.Test 0.1
3080
3081 Rectangle {
3082
3083=== modified file 'tests/plugins/Ubuntu/Gestures/tst_FloatingFlickable.qml'
3084--- tests/plugins/Ubuntu/Gestures/tst_FloatingFlickable.qml 2015-04-17 14:21:43 +0000
3085+++ tests/plugins/Ubuntu/Gestures/tst_FloatingFlickable.qml 2015-07-22 14:32:16 +0000
3086@@ -15,7 +15,7 @@
3087 */
3088
3089 import QtQuick 2.0
3090-import Ubuntu.Components 0.1
3091+import Ubuntu.Components 1.3
3092 import Ubuntu.Gestures 0.1
3093 import Unity.Test 0.1
3094
3095
3096=== modified file 'tests/plugins/Ubuntu/Gestures/tst_PressedOutsideNotifier.qml'
3097--- tests/plugins/Ubuntu/Gestures/tst_PressedOutsideNotifier.qml 2013-11-22 13:43:40 +0000
3098+++ tests/plugins/Ubuntu/Gestures/tst_PressedOutsideNotifier.qml 2015-07-22 14:32:16 +0000
3099@@ -15,7 +15,7 @@
3100 */
3101
3102 import QtQuick 2.0
3103-import Ubuntu.Components 0.1
3104+import Ubuntu.Components 1.3
3105 import Ubuntu.Gestures 0.1
3106
3107 /*
3108
3109=== modified file 'tests/qmltests/Components/tst_Dialogs.qml'
3110--- tests/qmltests/Components/tst_Dialogs.qml 2015-03-26 15:39:30 +0000
3111+++ tests/qmltests/Components/tst_Dialogs.qml 2015-07-22 14:32:16 +0000
3112@@ -16,7 +16,7 @@
3113
3114 import QtQuick 2.2
3115 import QtTest 1.0
3116-import Ubuntu.Components 1.1
3117+import Ubuntu.Components 1.3
3118 import Unity.Test 0.1
3119
3120 import "../../../qml/Components"
3121
3122=== modified file 'tests/qmltests/Components/tst_DragHandle.qml'
3123--- tests/qmltests/Components/tst_DragHandle.qml 2015-04-10 21:16:37 +0000
3124+++ tests/qmltests/Components/tst_DragHandle.qml 2015-07-22 14:32:16 +0000
3125@@ -17,7 +17,7 @@
3126 import QtQuick 2.0
3127 import "../../../qml/Components"
3128 import "tst_DragHandle"
3129-import Ubuntu.Components 0.1
3130+import Ubuntu.Components 1.3
3131 import Ubuntu.Gestures 0.1
3132 import Unity.Test 0.1
3133
3134
3135=== modified file 'tests/qmltests/Components/tst_DragHandle/BidirectionalShowable.qml'
3136--- tests/qmltests/Components/tst_DragHandle/BidirectionalShowable.qml 2015-04-10 21:16:37 +0000
3137+++ tests/qmltests/Components/tst_DragHandle/BidirectionalShowable.qml 2015-07-22 14:32:16 +0000
3138@@ -16,7 +16,7 @@
3139
3140 import QtQuick 2.0
3141 import "../../../../qml/Components"
3142-import Ubuntu.Components 0.1
3143+import Ubuntu.Components 1.3
3144 import Ubuntu.Gestures 0.1
3145
3146 Item {
3147
3148=== modified file 'tests/qmltests/Components/tst_DragHandle/HorizontalShowable.qml'
3149--- tests/qmltests/Components/tst_DragHandle/HorizontalShowable.qml 2015-04-10 21:16:37 +0000
3150+++ tests/qmltests/Components/tst_DragHandle/HorizontalShowable.qml 2015-07-22 14:32:16 +0000
3151@@ -16,7 +16,7 @@
3152
3153 import QtQuick 2.0
3154 import "../../../../qml/Components"
3155-import Ubuntu.Components 0.1
3156+import Ubuntu.Components 1.3
3157 import Ubuntu.Gestures 0.1
3158
3159 Showable {
3160
3161=== modified file 'tests/qmltests/Components/tst_DragHandle/VerticalShowable.qml'
3162--- tests/qmltests/Components/tst_DragHandle/VerticalShowable.qml 2015-04-10 21:16:37 +0000
3163+++ tests/qmltests/Components/tst_DragHandle/VerticalShowable.qml 2015-07-22 14:32:16 +0000
3164@@ -16,7 +16,7 @@
3165
3166 import QtQuick 2.0
3167 import "../../../../qml/Components"
3168-import Ubuntu.Components 0.1
3169+import Ubuntu.Components 1.3
3170 import Ubuntu.Gestures 0.1
3171
3172 Showable {
3173
3174=== modified file 'tests/qmltests/Components/tst_LazyImage.qml'
3175--- tests/qmltests/Components/tst_LazyImage.qml 2014-08-13 10:29:21 +0000
3176+++ tests/qmltests/Components/tst_LazyImage.qml 2015-07-22 14:32:16 +0000
3177@@ -1,5 +1,5 @@
3178 /*
3179- * Copyright 2013 Canonical Ltd.
3180+ * Copyright 2013,2015 Canonical Ltd.
3181 *
3182 * This program is free software; you can redistribute it and/or modify
3183 * it under the terms of the GNU General Public License as published by
3184@@ -17,7 +17,7 @@
3185 import QtQuick 2.0
3186 import QtTest 1.0
3187 import "../../../qml/Components"
3188-import Ubuntu.Components 0.1
3189+import Ubuntu.Components 1.3
3190 import Unity.Test 0.1 as UT
3191 import "tst_LazyImage"
3192
3193@@ -32,7 +32,7 @@
3194 rightMargin: 2 * parent.width / 3
3195 }
3196
3197- color: Theme.palette.normal.baseText
3198+ color: theme.palette.normal.baseText
3199
3200 Column {
3201 anchors { fill: parent; margins: units.gu(5) }
3202
3203=== modified file 'tests/qmltests/Components/tst_LazyImage/ImageControls.qml'
3204--- tests/qmltests/Components/tst_LazyImage/ImageControls.qml 2013-12-17 16:04:47 +0000
3205+++ tests/qmltests/Components/tst_LazyImage/ImageControls.qml 2015-07-22 14:32:16 +0000
3206@@ -15,7 +15,7 @@
3207 */
3208
3209 import QtQuick 2.0
3210-import Ubuntu.Components 0.1
3211+import Ubuntu.Components 1.3
3212 import "../../../../qml/Components"
3213
3214 Row {
3215
3216=== modified file 'tests/qmltests/Components/tst_Lockscreen.qml'
3217--- tests/qmltests/Components/tst_Lockscreen.qml 2015-03-18 12:32:08 +0000
3218+++ tests/qmltests/Components/tst_Lockscreen.qml 2015-07-22 14:32:16 +0000
3219@@ -18,7 +18,7 @@
3220 import QtTest 1.0
3221 import ".."
3222 import "../../../qml/Components"
3223-import Ubuntu.Components 0.1
3224+import Ubuntu.Components 1.3
3225 import Unity.Test 0.1 as UT
3226
3227 Rectangle {
3228
3229=== modified file 'tests/qmltests/Components/tst_Rating.qml'
3230--- tests/qmltests/Components/tst_Rating.qml 2014-02-13 17:00:06 +0000
3231+++ tests/qmltests/Components/tst_Rating.qml 2015-07-22 14:32:16 +0000
3232@@ -1,5 +1,5 @@
3233 /*
3234- * Copyright 2013 Canonical Ltd.
3235+ * Copyright 2013,2015 Canonical Ltd.
3236 *
3237 * This program is free software; you can redistribute it and/or modify
3238 * it under the terms of the GNU General Public License as published by
3239@@ -17,14 +17,14 @@
3240 import QtQuick 2.0
3241 import QtTest 1.0
3242 import "../../../qml/Components"
3243-import Ubuntu.Components 0.1
3244+import Ubuntu.Components 1.3
3245 import Unity.Test 0.1 as UT
3246
3247 Rectangle {
3248 id: root
3249 width: units.gu(40)
3250 height: units.gu(10)
3251- color: Theme.palette.selected.background
3252+ color: theme.palette.selected.background
3253
3254 Rating {
3255 id: rating
3256
3257=== modified file 'tests/qmltests/Components/tst_ResponsiveGridView.qml'
3258--- tests/qmltests/Components/tst_ResponsiveGridView.qml 2014-01-27 18:03:45 +0000
3259+++ tests/qmltests/Components/tst_ResponsiveGridView.qml 2015-07-22 14:32:16 +0000
3260@@ -18,8 +18,8 @@
3261 import QtTest 1.0
3262 import ".."
3263 import "../../../qml/Components"
3264-import Ubuntu.Components.ListItems 0.1 as ListItem
3265-import Ubuntu.Components 0.1
3266+import Ubuntu.Components.ListItems 1.3 as ListItem
3267+import Ubuntu.Components 1.3
3268 import Unity.Test 0.1 as UT
3269
3270 Item {
3271
3272=== modified file 'tests/qmltests/Components/tst_ResponsiveVerticalJournal.qml'
3273--- tests/qmltests/Components/tst_ResponsiveVerticalJournal.qml 2014-12-19 14:51:35 +0000
3274+++ tests/qmltests/Components/tst_ResponsiveVerticalJournal.qml 2015-07-22 14:32:16 +0000
3275@@ -18,8 +18,8 @@
3276 import QtTest 1.0
3277 import ".."
3278 import "../../../qml/Components"
3279-import Ubuntu.Components.ListItems 0.1 as ListItem
3280-import Ubuntu.Components 0.1
3281+import Ubuntu.Components.ListItems 1.3 as ListItem
3282+import Ubuntu.Components 1.3
3283 import Utils 0.1
3284 import Unity.Test 0.1 as UT
3285
3286
3287=== modified file 'tests/qmltests/Components/tst_Showable.qml'
3288--- tests/qmltests/Components/tst_Showable.qml 2015-04-10 15:10:51 +0000
3289+++ tests/qmltests/Components/tst_Showable.qml 2015-07-22 14:32:16 +0000
3290@@ -16,7 +16,7 @@
3291
3292 import QtQuick 2.0
3293 import QtTest 1.0
3294-import Ubuntu.Components 0.1
3295+import Ubuntu.Components 1.3
3296 import Unity.Test 0.1 as UT
3297 import ".."
3298 import "../../../qml/Components"
3299
3300=== modified file 'tests/qmltests/Dash/Previews/tst_Preview.qml'
3301--- tests/qmltests/Dash/Previews/tst_Preview.qml 2015-03-12 16:08:14 +0000
3302+++ tests/qmltests/Dash/Previews/tst_Preview.qml 2015-07-22 14:32:16 +0000
3303@@ -1,5 +1,5 @@
3304 /*
3305- * Copyright 2014 Canonical Ltd.
3306+ * Copyright 2014,2015 Canonical Ltd.
3307 *
3308 * This program is free software; you can redistribute it and/or modify
3309 * it under the terms of the GNU General Public License as published by
3310@@ -24,7 +24,7 @@
3311 id: root
3312 width: units.gu(60)
3313 height: units.gu(60)
3314- color: Theme.palette.selected.background
3315+ color: theme.palette.selected.background
3316
3317 Item {
3318 id: shell
3319
3320=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewActions.qml'
3321--- tests/qmltests/Dash/Previews/tst_PreviewActions.qml 2015-01-09 09:15:45 +0000
3322+++ tests/qmltests/Dash/Previews/tst_PreviewActions.qml 2015-07-22 14:32:16 +0000
3323@@ -18,7 +18,7 @@
3324 import QtTest 1.0
3325 import "../../../../qml/Dash/Previews"
3326 import Unity.Test 0.1 as UT
3327-import Ubuntu.Components 0.1
3328+import Ubuntu.Components 1.3
3329
3330
3331 Rectangle {
3332
3333=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewAudioPlayback.qml'
3334--- tests/qmltests/Dash/Previews/tst_PreviewAudioPlayback.qml 2015-01-09 09:15:45 +0000
3335+++ tests/qmltests/Dash/Previews/tst_PreviewAudioPlayback.qml 2015-07-22 14:32:16 +0000
3336@@ -1,5 +1,5 @@
3337 /*
3338- * Copyright 2014 Canonical Ltd.
3339+ * Copyright 2014,2015 Canonical Ltd.
3340 *
3341 * This program is free software; you can redistribute it and/or modify
3342 * it under the terms of the GNU General Public License as published by
3343@@ -16,7 +16,7 @@
3344
3345 import QtQuick 2.0
3346 import QtTest 1.0
3347-import Ubuntu.Components 0.1
3348+import Ubuntu.Components 1.3
3349 import "../../../../qml/Dash/Previews"
3350 import Unity.Test 0.1 as UT
3351 import QtMultimedia 5.0
3352@@ -25,7 +25,7 @@
3353 id: root
3354 width: units.gu(60)
3355 height: units.gu(80)
3356- color: Theme.palette.selected.background
3357+ color: theme.palette.selected.background
3358
3359 property var tracksModel0: {
3360 "tracks": [ ]
3361
3362=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewComment.qml'
3363--- tests/qmltests/Dash/Previews/tst_PreviewComment.qml 2015-07-01 15:48:29 +0000
3364+++ tests/qmltests/Dash/Previews/tst_PreviewComment.qml 2015-07-22 14:32:16 +0000
3365@@ -16,7 +16,7 @@
3366
3367 import QtQuick 2.0
3368 import QtTest 1.0
3369-import Ubuntu.Components 1.1
3370+import Ubuntu.Components 1.3
3371 import "../../../../qml/Dash/Previews"
3372 import Unity.Test 0.1 as UT
3373
3374
3375=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewCommentInput.qml'
3376--- tests/qmltests/Dash/Previews/tst_PreviewCommentInput.qml 2015-07-06 11:15:25 +0000
3377+++ tests/qmltests/Dash/Previews/tst_PreviewCommentInput.qml 2015-07-22 14:32:16 +0000
3378@@ -16,7 +16,7 @@
3379
3380 import QtQuick 2.0
3381 import QtTest 1.0
3382-import Ubuntu.Components 1.1
3383+import Ubuntu.Components 1.3
3384 import "../../../../qml/Dash/Previews"
3385 import Unity.Test 0.1 as UT
3386
3387
3388=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewExpandable.qml'
3389--- tests/qmltests/Dash/Previews/tst_PreviewExpandable.qml 2015-01-09 09:15:45 +0000
3390+++ tests/qmltests/Dash/Previews/tst_PreviewExpandable.qml 2015-07-22 14:32:16 +0000
3391@@ -1,5 +1,5 @@
3392 /*
3393- * Copyright 2014 Canonical Ltd.
3394+ * Copyright 2014,2015 Canonical Ltd.
3395 *
3396 * This program is free software; you can redistribute it and/or modify
3397 * it under the terms of the GNU General Public License as published by
3398@@ -16,7 +16,7 @@
3399
3400 import QtQuick 2.0
3401 import QtTest 1.0
3402-import Ubuntu.Components 0.1
3403+import Ubuntu.Components 1.3
3404 import "../../../../qml/Dash/Previews"
3405 import Unity.Test 0.1 as UT
3406
3407@@ -24,7 +24,7 @@
3408 id: root
3409 width: units.gu(40)
3410 height: units.gu(80)
3411- color: Theme.palette.selected.background
3412+ color: theme.palette.selected.background
3413
3414 property string longText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.\nPhasellus a mi vitae augue rhoncus lobortis ut rutrum metus.\nCurabitur tortor leo, tristique sed mollis quis, condimentum venenatis nibh.\nLorem ipsum dolor sit amet, consectetur adipiscing elit.\nPhasellus a mi vitae augue rhoncus lobortis ut rutrum metus.\nCurabitur tortor leo, tristique sed mollis quis, condimentum venenatis nibh."
3415 property string longText2: "This is a very very very long text. 1 This is a very very very long text. 2 This is a very very very long text. 3 This is a very very very long text. 4 This is a very very very long text. 5 This is a very very very long text. 6 This is a very very very long text. 7 This is a very very very long text. 8 This is a very very very long text. 9 This is a very very very long text. 10 This is a very very very long text. 11 This is a very very very long text."
3416
3417=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewPayments.qml'
3418--- tests/qmltests/Dash/Previews/tst_PreviewPayments.qml 2015-01-09 09:40:52 +0000
3419+++ tests/qmltests/Dash/Previews/tst_PreviewPayments.qml 2015-07-22 14:32:16 +0000
3420@@ -18,7 +18,7 @@
3421 import QtTest 1.0
3422 import "../../../../qml/Dash/Previews"
3423 import Unity.Test 0.1 as UT
3424-import Ubuntu.Components 0.1
3425+import Ubuntu.Components 1.3
3426
3427 Rectangle {
3428 id: root
3429
3430=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewProgress.qml'
3431--- tests/qmltests/Dash/Previews/tst_PreviewProgress.qml 2014-02-12 16:28:08 +0000
3432+++ tests/qmltests/Dash/Previews/tst_PreviewProgress.qml 2015-07-22 14:32:16 +0000
3433@@ -18,7 +18,7 @@
3434 import QtTest 1.0
3435 import "../../../../qml/Dash/Previews"
3436 import Unity.Test 0.1 as UT
3437-import Ubuntu.Components 0.1
3438+import Ubuntu.Components 1.3
3439
3440 Rectangle {
3441 id: root
3442
3443=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewRatingDisplay.qml'
3444--- tests/qmltests/Dash/Previews/tst_PreviewRatingDisplay.qml 2015-01-09 09:15:45 +0000
3445+++ tests/qmltests/Dash/Previews/tst_PreviewRatingDisplay.qml 2015-07-22 14:32:16 +0000
3446@@ -1,5 +1,5 @@
3447 /*
3448- * Copyright 2014 Canonical Ltd.
3449+ * Copyright 2014,2015 Canonical Ltd.
3450 *
3451 * This program is free software; you can redistribute it and/or modify
3452 * it under the terms of the GNU General Public License as published by
3453@@ -16,7 +16,7 @@
3454
3455 import QtQuick 2.0
3456 import QtTest 1.0
3457-import Ubuntu.Components 0.1
3458+import Ubuntu.Components 1.3
3459 import "../../../../qml/Dash/Previews"
3460 import Unity.Test 0.1 as UT
3461
3462@@ -24,7 +24,7 @@
3463 id: root
3464 width: units.gu(40)
3465 height: units.gu(80)
3466- color: Theme.palette.selected.background
3467+ color: theme.palette.selected.background
3468
3469 property var reviewsModel0: {
3470 "reviews": [ ]
3471
3472=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewRatingEdit.qml'
3473--- tests/qmltests/Dash/Previews/tst_PreviewRatingEdit.qml 2015-05-08 13:12:02 +0000
3474+++ tests/qmltests/Dash/Previews/tst_PreviewRatingEdit.qml 2015-07-22 14:32:16 +0000
3475@@ -1,5 +1,5 @@
3476 /*
3477- * Copyright 2014 Canonical Ltd.
3478+ * Copyright 2014,2015 Canonical Ltd.
3479 *
3480 * This program is free software; you can redistribute it and/or modify
3481 * it under the terms of the GNU General Public License as published by
3482@@ -16,7 +16,7 @@
3483
3484 import QtQuick 2.0
3485 import QtTest 1.0
3486-import Ubuntu.Components 0.1
3487+import Ubuntu.Components 1.3
3488 import "../../../../qml/Dash/Previews"
3489 import Unity.Test 0.1 as UT
3490
3491@@ -24,7 +24,7 @@
3492 id: root
3493 width: units.gu(40)
3494 height: units.gu(80)
3495- color: Theme.palette.selected.background
3496+ color: theme.palette.selected.background
3497
3498 property var widgetData0: { "visible": "both", "required": "both", author: "Some dude", rating: 4.5, review: "Very cool app" }
3499
3500
3501=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewRatingInput.qml'
3502--- tests/qmltests/Dash/Previews/tst_PreviewRatingInput.qml 2015-02-17 15:06:33 +0000
3503+++ tests/qmltests/Dash/Previews/tst_PreviewRatingInput.qml 2015-07-22 14:32:16 +0000
3504@@ -1,5 +1,5 @@
3505 /*
3506- * Copyright 2014 Canonical Ltd.
3507+ * Copyright 2014,2015 Canonical Ltd.
3508 *
3509 * This program is free software; you can redistribute it and/or modify
3510 * it under the terms of the GNU General Public License as published by
3511@@ -16,7 +16,7 @@
3512
3513 import QtQuick 2.0
3514 import QtTest 1.0
3515-import Ubuntu.Components 0.1
3516+import Ubuntu.Components 1.3
3517 import "../../../../qml/Dash/Previews"
3518 import Unity.Test 0.1 as UT
3519
3520@@ -24,7 +24,7 @@
3521 id: root
3522 width: units.gu(40)
3523 height: units.gu(80)
3524- color: Theme.palette.selected.background
3525+ color: theme.palette.selected.background
3526
3527 property real validInputRating: 1
3528 property real invalidInputRating: -1
3529
3530=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewTable.qml'
3531--- tests/qmltests/Dash/Previews/tst_PreviewTable.qml 2015-04-13 11:08:53 +0000
3532+++ tests/qmltests/Dash/Previews/tst_PreviewTable.qml 2015-07-22 14:32:16 +0000
3533@@ -1,5 +1,5 @@
3534 /*
3535- * Copyright 2014 Canonical Ltd.
3536+ * Copyright 2014,2015 Canonical Ltd.
3537 *
3538 * This program is free software; you can redistribute it and/or modify
3539 * it under the terms of the GNU General Public License as published by
3540@@ -16,7 +16,7 @@
3541
3542 import QtQuick 2.0
3543 import QtTest 1.0
3544-import Ubuntu.Components 0.1
3545+import Ubuntu.Components 1.3
3546 import "../../../../qml/Dash/Previews"
3547 import Unity.Test 0.1 as UT
3548
3549@@ -24,7 +24,7 @@
3550 id: root
3551 width: units.gu(40)
3552 height: units.gu(80)
3553- color: Theme.palette.selected.background
3554+ color: theme.palette.selected.background
3555
3556 property var widgetDataComplete: {
3557 "title": "Title here longa long long long long long long long long long long",
3558
3559=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewTextSummary.qml'
3560--- tests/qmltests/Dash/Previews/tst_PreviewTextSummary.qml 2014-08-01 09:55:04 +0000
3561+++ tests/qmltests/Dash/Previews/tst_PreviewTextSummary.qml 2015-07-22 14:32:16 +0000
3562@@ -1,5 +1,5 @@
3563 /*
3564- * Copyright 2014 Canonical Ltd.
3565+ * Copyright 2014,2015 Canonical Ltd.
3566 *
3567 * This program is free software; you can redistribute it and/or modify
3568 * it under the terms of the GNU General Public License as published by
3569@@ -16,7 +16,7 @@
3570
3571 import QtQuick 2.0
3572 import QtTest 1.0
3573-import Ubuntu.Components 0.1
3574+import Ubuntu.Components 1.3
3575 import "../../../../qml/Dash/Previews"
3576 import Unity.Test 0.1 as UT
3577
3578@@ -24,7 +24,7 @@
3579 id: root
3580 width: units.gu(40)
3581 height: units.gu(80)
3582- color: Theme.palette.selected.background
3583+ color: theme.palette.selected.background
3584
3585 property var widgetDataComplete: {
3586 "title": "Title here",
3587
3588=== modified file 'tests/qmltests/Dash/Previews/tst_PreviewWidgetFactory.qml'
3589--- tests/qmltests/Dash/Previews/tst_PreviewWidgetFactory.qml 2015-07-01 15:48:29 +0000
3590+++ tests/qmltests/Dash/Previews/tst_PreviewWidgetFactory.qml 2015-07-22 14:32:16 +0000
3591@@ -1,5 +1,5 @@
3592 /*
3593- * Copyright 2014 Canonical Ltd.
3594+ * Copyright 2014,2015 Canonical Ltd.
3595 *
3596 * This program is free software; you can redistribute it and/or modify
3597 * it under the terms of the GNU General Public License as published by
3598@@ -23,7 +23,7 @@
3599 id: root
3600 width: units.gu(60)
3601 height: units.gu(80)
3602- color: Theme.palette.selected.background
3603+ color: theme.palette.selected.background
3604
3605 PreviewWidgetFactory {
3606 id: factory
3607
3608=== modified file 'tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingBoolean.qml'
3609--- tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingBoolean.qml 2015-01-09 09:15:45 +0000
3610+++ tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingBoolean.qml 2015-07-22 14:32:16 +0000
3611@@ -15,7 +15,7 @@
3612 */
3613
3614 import QtQuick 2.0
3615-import Ubuntu.Components 1.1
3616+import Ubuntu.Components 1.3
3617 import QtTest 1.0
3618 import "../../../../qml/Dash/ScopeSettings"
3619 import Unity.Test 0.1 as UT
3620
3621=== modified file 'tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingList.qml'
3622--- tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingList.qml 2014-08-27 08:07:33 +0000
3623+++ tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingList.qml 2015-07-22 14:32:16 +0000
3624@@ -15,7 +15,7 @@
3625 */
3626
3627 import QtQuick 2.0
3628-import Ubuntu.Components 1.1
3629+import Ubuntu.Components 1.3
3630 import QtTest 1.0
3631 import "../../../../qml/Dash/ScopeSettings"
3632 import Unity.Test 0.1 as UT
3633
3634=== modified file 'tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingNumber.qml'
3635--- tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingNumber.qml 2015-01-09 09:15:45 +0000
3636+++ tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingNumber.qml 2015-07-22 14:32:16 +0000
3637@@ -15,7 +15,7 @@
3638 */
3639
3640 import QtQuick 2.0
3641-import Ubuntu.Components 1.1
3642+import Ubuntu.Components 1.3
3643 import QtTest 1.0
3644 import "../../../../qml/Dash/ScopeSettings"
3645 import Unity.Test 0.1 as UT
3646
3647=== modified file 'tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingString.qml'
3648--- tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingString.qml 2015-01-09 09:15:45 +0000
3649+++ tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingString.qml 2015-07-22 14:32:16 +0000
3650@@ -15,7 +15,7 @@
3651 */
3652
3653 import QtQuick 2.0
3654-import Ubuntu.Components 1.1
3655+import Ubuntu.Components 1.3
3656 import QtTest 1.0
3657 import "../../../../qml/Dash/ScopeSettings"
3658 import Unity.Test 0.1 as UT
3659
3660=== modified file 'tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingsWidgetFactory.qml'
3661--- tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingsWidgetFactory.qml 2014-08-26 14:21:29 +0000
3662+++ tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingsWidgetFactory.qml 2015-07-22 14:32:16 +0000
3663@@ -15,7 +15,7 @@
3664 */
3665
3666 import QtQuick 2.0
3667-import Ubuntu.Components 1.1
3668+import Ubuntu.Components 1.3
3669 import QtTest 1.0
3670 import "../../../../qml/Dash/ScopeSettings"
3671 import Unity.Test 0.1 as UT
3672
3673=== modified file 'tests/qmltests/Dash/tst_Card.qml'
3674--- tests/qmltests/Dash/tst_Card.qml 2015-07-08 09:11:50 +0000
3675+++ tests/qmltests/Dash/tst_Card.qml 2015-07-22 14:32:16 +0000
3676@@ -1,5 +1,5 @@
3677 /*
3678- * Copyright (C) 2013 Canonical, Ltd.
3679+ * Copyright (C) 2013,2015 Canonical, Ltd.
3680 *
3681 * This program is free software; you can redistribute it and/or modify
3682 * it under the terms of the GNU General Public License as published by
3683@@ -16,7 +16,7 @@
3684
3685 import QtQuick 2.0
3686 import QtTest 1.0
3687-import Ubuntu.Components 0.1
3688+import Ubuntu.Components 1.3
3689 import Unity.Test 0.1 as UT
3690 import "../../../qml/Dash"
3691 import "CardHelpers.js" as Helpers
3692@@ -522,7 +522,7 @@
3693
3694 background.color = data.tag;
3695
3696- var fontColor = data.dark ? Theme.palette.normal.baseText : "white";
3697+ var fontColor = data.dark ? theme.palette.normal.baseText : "white";
3698
3699 tryCompareFunction(function() { return Qt.colorEqual(summary.color, fontColor); }, true);
3700 tryCompareFunction(function() { return Qt.colorEqual(title.color, fontColor); }, true);
3701
3702=== modified file 'tests/qmltests/Dash/tst_CardBenchmark.qml'
3703--- tests/qmltests/Dash/tst_CardBenchmark.qml 2014-05-02 14:57:27 +0000
3704+++ tests/qmltests/Dash/tst_CardBenchmark.qml 2015-07-22 14:32:16 +0000
3705@@ -16,7 +16,7 @@
3706
3707 import QtQuick 2.0
3708 import QtTest 1.0
3709-import Ubuntu.Components 0.1
3710+import Ubuntu.Components 1.3
3711 import Unity.Test 0.1 as UT
3712 import "../../../qml/Dash"
3713 import "CardHelpers.js" as Helpers
3714
3715=== modified file 'tests/qmltests/Dash/tst_CardTool.qml'
3716--- tests/qmltests/Dash/tst_CardTool.qml 2015-07-08 09:00:00 +0000
3717+++ tests/qmltests/Dash/tst_CardTool.qml 2015-07-22 14:32:16 +0000
3718@@ -16,7 +16,7 @@
3719
3720 import QtQuick 2.0
3721 import QtTest 1.0
3722-import Ubuntu.Components 0.1
3723+import Ubuntu.Components 1.3
3724 import Unity.Test 0.1 as UT
3725 import "../../../qml/Dash"
3726 import "CardHelpers.js" as Helpers
3727
3728=== modified file 'tests/qmltests/Dash/tst_Dash.qml'
3729--- tests/qmltests/Dash/tst_Dash.qml 2015-03-27 12:30:24 +0000
3730+++ tests/qmltests/Dash/tst_Dash.qml 2015-07-22 14:32:16 +0000
3731@@ -17,7 +17,7 @@
3732 import QtQuick 2.0
3733 import QtTest 1.0
3734 import "../../../qml/Dash"
3735-import Ubuntu.Components 0.1
3736+import Ubuntu.Components 1.3
3737 import Unity.Test 0.1 as UT
3738
3739 Item {
3740@@ -319,7 +319,7 @@
3741
3742 // Click on the store
3743 var scopesListPageHeader = findChild(scopesList, "pageHeader");
3744- var searchButton = findChild(scopesListPageHeader, "store_header_button");
3745+ var searchButton = findChild(scopesListPageHeader, "store_action_button");
3746 mouseClick(searchButton);
3747
3748 spy.wait();
3749
3750=== modified file 'tests/qmltests/Dash/tst_DashContent.qml'
3751--- tests/qmltests/Dash/tst_DashContent.qml 2015-05-07 10:32:17 +0000
3752+++ tests/qmltests/Dash/tst_DashContent.qml 2015-07-22 14:32:16 +0000
3753@@ -18,7 +18,7 @@
3754 import QtTest 1.0
3755 import "../../../qml/Dash"
3756 import "../../../qml/Components"
3757-import Ubuntu.Components 0.1
3758+import Ubuntu.Components 1.3
3759 import Unity 0.2
3760 import Unity.Test 0.1 as UT
3761 import Utils 0.1
3762
3763=== modified file 'tests/qmltests/Dash/tst_GenericScopeView.qml'
3764--- tests/qmltests/Dash/tst_GenericScopeView.qml 2015-07-08 09:24:12 +0000
3765+++ tests/qmltests/Dash/tst_GenericScopeView.qml 2015-07-22 14:32:16 +0000
3766@@ -20,7 +20,7 @@
3767 import ".."
3768 import "../../../qml/Dash"
3769 import "../../../qml/Components"
3770-import Ubuntu.Components 1.1
3771+import Ubuntu.Components 1.3
3772 import Unity.Test 0.1 as UT
3773
3774 Item {
3775@@ -429,7 +429,7 @@
3776 // open
3777 tryCompare(testCase.subPageLoader, "open", false);
3778 tryCompare(testCase.subPageLoader, "visible", false);
3779- var settings = findChild(innerHeader, "settings_header_button");
3780+ var settings = findChild(innerHeader, "settings_action_button");
3781 mouseClick(settings);
3782 tryCompare(testCase.subPageLoader, "open", true);
3783 tryCompareFunction(function() { return (String(subPageLoader.source)).indexOf("ScopeSettingsPage.qml") != -1; }, true);
3784@@ -500,7 +500,7 @@
3785 mouseClick(seeAll0);
3786 verify(category0.expanded);
3787 tryCompare(category0, "height", category0.item.expandedHeight + seeAll0.height);
3788- tryCompare(genericScopeView.categoryView, "contentY", units.gu(14));
3789+ tryCompare(genericScopeView.categoryView, "contentY", units.gu(13));
3790
3791 scrollToEnd();
3792
3793@@ -577,7 +577,7 @@
3794 verify(innerHeader, "Could not find the inner header");
3795
3796 expectFail("Apps", "Click scope should not have a favorite button");
3797- var favoriteAction = findChild(innerHeader, "favorite_header_button");
3798+ var favoriteAction = findChild(innerHeader, "favorite_action_button");
3799 verify(favoriteAction, "Could not find the favorite action.");
3800 mouseClick(favoriteAction);
3801
3802
3803=== modified file 'tests/qmltests/Dash/tst_PageHeader.qml'
3804--- tests/qmltests/Dash/tst_PageHeader.qml 2015-01-09 09:15:45 +0000
3805+++ tests/qmltests/Dash/tst_PageHeader.qml 2015-07-22 14:32:16 +0000
3806@@ -1,5 +1,5 @@
3807 /*
3808- * Copyright 2013 Canonical Ltd.
3809+ * Copyright 2013,2015 Canonical Ltd.
3810 *
3811 * This program is free software; you can redistribute it and/or modify
3812 * it under the terms of the GNU General Public License as published by
3813@@ -18,7 +18,7 @@
3814 import QtTest 1.0
3815 import ".."
3816 import "../../../qml/Dash"
3817-import Ubuntu.Components 0.1
3818+import Ubuntu.Components 1.3
3819 import Unity 0.2
3820 import Unity.Test 0.1 as UT
3821
3822@@ -244,7 +244,7 @@
3823 searchEntryEnabled: true
3824 title: "%^$%^%^&%^&%^$%GHR%"
3825 scopeStyle: QtObject {
3826- readonly property color foreground: Theme.palette.normal.baseText
3827+ readonly property color foreground: theme.palette.normal.baseText
3828 readonly property url headerLogo: showImageCheckBox.checked ? pageHeader.titleImageSource : ""
3829 }
3830 showBackButton: showBackButtonCheckBox.checked
3831
3832=== modified file 'tests/qmltests/Dash/tst_PreviewListView.qml'
3833--- tests/qmltests/Dash/tst_PreviewListView.qml 2015-03-20 17:31:23 +0000
3834+++ tests/qmltests/Dash/tst_PreviewListView.qml 2015-07-22 14:32:16 +0000
3835@@ -1,5 +1,5 @@
3836 /*
3837- * Copyright 2014 Canonical Ltd.
3838+ * Copyright 2014,2015 Canonical Ltd.
3839 *
3840 * This program is free software; you can redistribute it and/or modify
3841 * it under the terms of the GNU General Public License as published by
3842@@ -16,7 +16,7 @@
3843
3844 import QtQuick 2.0
3845 import QtTest 1.0
3846-import Ubuntu.Components 1.1
3847+import Ubuntu.Components 1.3
3848 import "../../../qml/Dash"
3849 import Unity.Test 0.1 as UT
3850 import Unity 0.2 as Unity
3851@@ -26,7 +26,7 @@
3852 id: root
3853 width: units.gu(60)
3854 height: units.gu(60)
3855- color: Theme.palette.selected.background
3856+ color: theme.palette.selected.background
3857
3858 Unity.MockScope {
3859 id: mockScope
3860
3861=== modified file 'tests/qmltests/Greeter/TestView.qml'
3862--- tests/qmltests/Greeter/TestView.qml 2015-02-23 15:43:41 +0000
3863+++ tests/qmltests/Greeter/TestView.qml 2015-07-22 14:32:16 +0000
3864@@ -15,7 +15,7 @@
3865 */
3866
3867 import QtQuick 2.3
3868-import Ubuntu.Components 1.1
3869+import Ubuntu.Components 1.3
3870 import "../Components"
3871
3872 Item {
3873
3874=== modified file 'tests/qmltests/Greeter/tst_Clock.qml'
3875--- tests/qmltests/Greeter/tst_Clock.qml 2014-10-17 14:55:35 +0000
3876+++ tests/qmltests/Greeter/tst_Clock.qml 2015-07-22 14:32:16 +0000
3877@@ -18,7 +18,7 @@
3878 import QtTest 1.0
3879 import ".."
3880 import "../../../qml/Greeter"
3881-import Ubuntu.Components 0.1
3882+import Ubuntu.Components 1.3
3883 import Unity.Indicators 0.1 as Indicators
3884 import Unity.Test 0.1 as UT
3885
3886
3887=== modified file 'tests/qmltests/Greeter/tst_Greeter.qml'
3888--- tests/qmltests/Greeter/tst_Greeter.qml 2015-03-02 21:34:02 +0000
3889+++ tests/qmltests/Greeter/tst_Greeter.qml 2015-07-22 14:32:16 +0000
3890@@ -18,7 +18,7 @@
3891 import QtTest 1.0
3892 import ".."
3893 import "../../../qml/Greeter"
3894-import Ubuntu.Components 0.1
3895+import Ubuntu.Components 1.3
3896 import AccountsService 0.1
3897 import LightDM 0.1 as LightDM
3898 import Unity.Test 0.1 as UT
3899
3900=== modified file 'tests/qmltests/Greeter/tst_Infographics.qml'
3901--- tests/qmltests/Greeter/tst_Infographics.qml 2015-01-20 11:50:19 +0000
3902+++ tests/qmltests/Greeter/tst_Infographics.qml 2015-07-22 14:32:16 +0000
3903@@ -18,7 +18,7 @@
3904 import QtTest 1.0
3905 import ".."
3906 import "../../../qml/Greeter"
3907-import Ubuntu.Components 0.1
3908+import Ubuntu.Components 1.3
3909 import Unity.Test 0.1 as UT
3910 import LightDM 0.1 as LightDM
3911
3912
3913=== modified file 'tests/qmltests/Greeter/tst_NarrowView.qml'
3914--- tests/qmltests/Greeter/tst_NarrowView.qml 2015-02-23 15:43:41 +0000
3915+++ tests/qmltests/Greeter/tst_NarrowView.qml 2015-07-22 14:32:16 +0000
3916@@ -19,7 +19,7 @@
3917 import ".."
3918 import "../../../qml/Greeter"
3919 import LightDM 0.1 as LightDM
3920-import Ubuntu.Components 0.1
3921+import Ubuntu.Components 1.3
3922 import Unity.Test 0.1 as UT
3923
3924 Item {
3925
3926=== modified file 'tests/qmltests/Greeter/tst_WideView.qml'
3927--- tests/qmltests/Greeter/tst_WideView.qml 2015-03-10 17:59:41 +0000
3928+++ tests/qmltests/Greeter/tst_WideView.qml 2015-07-22 14:32:16 +0000
3929@@ -19,7 +19,7 @@
3930 import ".."
3931 import "../../../qml/Greeter"
3932 import LightDM 0.1 as LightDM
3933-import Ubuntu.Components 0.1
3934+import Ubuntu.Components 1.3
3935 import Unity.Test 0.1 as UT
3936
3937 Item {
3938
3939=== modified file 'tests/qmltests/Launcher/tst_Launcher.qml'
3940--- tests/qmltests/Launcher/tst_Launcher.qml 2015-04-24 09:53:37 +0000
3941+++ tests/qmltests/Launcher/tst_Launcher.qml 2015-07-22 14:32:16 +0000
3942@@ -18,7 +18,7 @@
3943 import QtQuick.Layouts 1.1
3944 import QtTest 1.0
3945 import Unity.Test 0.1
3946-import Ubuntu.Components 1.1
3947+import Ubuntu.Components 1.3
3948 import ".."
3949 import "../../../qml/Launcher"
3950 import Unity.Launcher 0.1
3951
3952=== modified file 'tests/qmltests/Notifications/tst_Notifications.qml'
3953--- tests/qmltests/Notifications/tst_Notifications.qml 2015-02-13 11:40:07 +0000
3954+++ tests/qmltests/Notifications/tst_Notifications.qml 2015-07-22 14:32:16 +0000
3955@@ -21,7 +21,7 @@
3956 import QtTest 1.0
3957 import ".."
3958 import "../../../qml/Notifications"
3959-import Ubuntu.Components 0.1
3960+import Ubuntu.Components 1.3
3961 import Unity.Test 0.1
3962 import Unity.Notifications 1.0
3963 import QtMultimedia 5.0
3964
3965=== modified file 'tests/qmltests/Notifications/tst_OptionToggle.qml'
3966--- tests/qmltests/Notifications/tst_OptionToggle.qml 2015-01-26 14:25:29 +0000
3967+++ tests/qmltests/Notifications/tst_OptionToggle.qml 2015-07-22 14:32:16 +0000
3968@@ -21,7 +21,7 @@
3969 import QtTest 1.0
3970 import ".."
3971 import "../../../qml/Notifications"
3972-import Ubuntu.Components 0.1
3973+import Ubuntu.Components 1.3
3974 import Unity.Test 0.1
3975 import Unity.Notifications 1.0
3976 import QtMultimedia 5.0
3977
3978=== modified file 'tests/qmltests/Notifications/tst_SwipeToAct.qml'
3979--- tests/qmltests/Notifications/tst_SwipeToAct.qml 2015-01-26 12:16:11 +0000
3980+++ tests/qmltests/Notifications/tst_SwipeToAct.qml 2015-07-22 14:32:16 +0000
3981@@ -18,7 +18,7 @@
3982 import QtTest 1.0
3983 import ".."
3984 import "../../../qml/Notifications"
3985-import Ubuntu.Components 0.1
3986+import Ubuntu.Components 1.3
3987 import Unity.Test 0.1
3988 import Unity.Notifications 1.0
3989
3990
3991=== modified file 'tests/qmltests/Notifications/tst_VisualSnapDecisionsQueue.qml'
3992--- tests/qmltests/Notifications/tst_VisualSnapDecisionsQueue.qml 2015-01-09 09:15:45 +0000
3993+++ tests/qmltests/Notifications/tst_VisualSnapDecisionsQueue.qml 2015-07-22 14:32:16 +0000
3994@@ -18,7 +18,7 @@
3995 import QtTest 1.0
3996 import ".."
3997 import "../../../qml/Notifications"
3998-import Ubuntu.Components 0.1
3999+import Ubuntu.Components 1.3
4000 import Unity.Test 0.1
4001 import Unity.Notifications 1.0
4002
4003
4004=== modified file 'tests/qmltests/Panel/IndicatorTest.qml'
4005--- tests/qmltests/Panel/IndicatorTest.qml 2015-01-20 16:21:07 +0000
4006+++ tests/qmltests/Panel/IndicatorTest.qml 2015-07-22 14:32:16 +0000
4007@@ -18,7 +18,7 @@
4008 import QtQuick.Layouts 1.1
4009 import QtTest 1.0
4010 import "../../../qml/Panel"
4011-import Ubuntu.Components 0.1
4012+import Ubuntu.Components 1.3
4013 import Unity.Test 0.1 as UT
4014 import Unity.Indicators 0.1 as Indicators
4015
4016
4017=== modified file 'tests/qmltests/Panel/Indicators/tst_IndicatorsLight.qml'
4018--- tests/qmltests/Panel/Indicators/tst_IndicatorsLight.qml 2014-12-11 14:10:18 +0000
4019+++ tests/qmltests/Panel/Indicators/tst_IndicatorsLight.qml 2015-07-22 14:32:16 +0000
4020@@ -18,7 +18,7 @@
4021 import QtQuick.Layouts 1.1
4022 import Unity.Test 0.1 as UT
4023 import Unity.Indicators 0.1 as Indicators
4024-import Ubuntu.Components 1.1
4025+import Ubuntu.Components 1.3
4026 import Powerd 0.1
4027 import Lights 0.1
4028 import QMenuModel 0.1
4029
4030=== modified file 'tests/qmltests/Panel/tst_IndicatorItem.qml'
4031--- tests/qmltests/Panel/tst_IndicatorItem.qml 2014-10-06 09:17:49 +0000
4032+++ tests/qmltests/Panel/tst_IndicatorItem.qml 2015-07-22 14:32:16 +0000
4033@@ -17,7 +17,7 @@
4034 import QtQuick 2.1
4035 import QtQuick.Layouts 1.1
4036 import QtTest 1.0
4037-import Ubuntu.Components 0.1
4038+import Ubuntu.Components 1.3
4039 import Unity.Test 0.1 as UT
4040 import "../../../qml/Panel"
4041
4042
4043=== modified file 'tests/qmltests/Panel/tst_IndicatorItemRow.qml'
4044--- tests/qmltests/Panel/tst_IndicatorItemRow.qml 2014-10-17 14:55:35 +0000
4045+++ tests/qmltests/Panel/tst_IndicatorItemRow.qml 2015-07-22 14:32:16 +0000
4046@@ -18,7 +18,7 @@
4047 import QtQuick.Layouts 1.1
4048 import QtTest 1.0
4049 import "../../../qml/Panel"
4050-import Ubuntu.Components 0.1
4051+import Ubuntu.Components 1.3
4052 import Unity.Test 0.1 as UT
4053 import Unity.Indicators 0.1 as Indicators
4054
4055
4056=== modified file 'tests/qmltests/Panel/tst_IndicatorsBar.qml'
4057--- tests/qmltests/Panel/tst_IndicatorsBar.qml 2015-01-09 09:15:45 +0000
4058+++ tests/qmltests/Panel/tst_IndicatorsBar.qml 2015-07-22 14:32:16 +0000
4059@@ -18,7 +18,7 @@
4060 import QtQuick.Layouts 1.1
4061 import QtTest 1.0
4062 import "../../../qml/Panel"
4063-import Ubuntu.Components 0.1
4064+import Ubuntu.Components 1.3
4065 import Unity.Test 0.1 as UT
4066 import Unity.Indicators 0.1 as Indicators
4067
4068
4069=== modified file 'tests/qmltests/Panel/tst_IndicatorsMenu.qml'
4070--- tests/qmltests/Panel/tst_IndicatorsMenu.qml 2015-03-06 04:44:11 +0000
4071+++ tests/qmltests/Panel/tst_IndicatorsMenu.qml 2015-07-22 14:32:16 +0000
4072@@ -18,7 +18,7 @@
4073 import QtQuick.Layouts 1.1
4074 import QtTest 1.0
4075 import "../../../qml/Panel"
4076-import Ubuntu.Components 0.1
4077+import Ubuntu.Components 1.3
4078 import Unity.Test 0.1 as UT
4079 import Unity.Indicators 0.1 as Indicators
4080
4081
4082=== modified file 'tests/qmltests/Panel/tst_Panel.qml'
4083--- tests/qmltests/Panel/tst_Panel.qml 2015-04-15 11:37:00 +0000
4084+++ tests/qmltests/Panel/tst_Panel.qml 2015-07-22 14:32:16 +0000
4085@@ -18,7 +18,7 @@
4086 import QtQuick.Layouts 1.1
4087 import QtTest 1.0
4088 import Unity.Test 0.1
4089-import Ubuntu.Components 0.1
4090+import Ubuntu.Components 1.3
4091 import Unity.Indicators 0.1 as Indicators
4092 import Ubuntu.Telephony 0.1 as Telephony
4093 import "../../../qml/Panel"
4094
4095=== modified file 'tests/qmltests/Stages/ApplicationCheckBox.qml'
4096--- tests/qmltests/Stages/ApplicationCheckBox.qml 2015-06-12 16:07:43 +0000
4097+++ tests/qmltests/Stages/ApplicationCheckBox.qml 2015-07-22 14:32:16 +0000
4098@@ -16,7 +16,7 @@
4099
4100 import QtQuick 2.0
4101 import QtQuick.Layouts 1.1
4102-import Ubuntu.Components 1.1
4103+import Ubuntu.Components 1.3
4104 import Unity.Application 0.1
4105
4106 RowLayout {
4107
4108=== modified file 'tests/qmltests/Stages/RecursingChildSessionControl.qml'
4109--- tests/qmltests/Stages/RecursingChildSessionControl.qml 2015-02-12 18:58:35 +0000
4110+++ tests/qmltests/Stages/RecursingChildSessionControl.qml 2015-07-22 14:32:16 +0000
4111@@ -16,7 +16,7 @@
4112
4113 import QtQuick 2.1
4114 import QtQuick.Layouts 1.1
4115-import Ubuntu.Components 0.1
4116+import Ubuntu.Components 1.3
4117 import Unity.Application 0.1
4118
4119 ColumnLayout {
4120
4121=== modified file 'tests/qmltests/Stages/tst_ApplicationWindow.qml'
4122--- tests/qmltests/Stages/tst_ApplicationWindow.qml 2015-07-10 15:55:50 +0000
4123+++ tests/qmltests/Stages/tst_ApplicationWindow.qml 2015-07-22 14:32:16 +0000
4124@@ -20,8 +20,8 @@
4125 import Unity.Test 0.1 as UT
4126 import ".."
4127 import "../../../qml/Stages"
4128-import Ubuntu.Components 0.1
4129-import Ubuntu.Components.ListItems 1.0 as ListItem
4130+import Ubuntu.Components 1.3
4131+import Ubuntu.Components.ListItems 1.3 as ListItem
4132 import Unity.Application 0.1
4133
4134 Rectangle {
4135
4136=== modified file 'tests/qmltests/Stages/tst_DesktopStage.qml'
4137--- tests/qmltests/Stages/tst_DesktopStage.qml 2015-05-01 13:21:30 +0000
4138+++ tests/qmltests/Stages/tst_DesktopStage.qml 2015-07-22 14:32:16 +0000
4139@@ -16,8 +16,8 @@
4140
4141 import QtQuick 2.0
4142 import QtTest 1.0
4143-import Ubuntu.Components 1.1
4144-import Ubuntu.Components.ListItems 1.0 as ListItem
4145+import Ubuntu.Components 1.3
4146+import Ubuntu.Components.ListItems 1.3 as ListItem
4147 import Unity.Application 0.1
4148 import Unity.Test 0.1
4149 import Utils 0.1
4150
4151=== modified file 'tests/qmltests/Stages/tst_PhoneStage.qml'
4152--- tests/qmltests/Stages/tst_PhoneStage.qml 2015-06-23 14:20:23 +0000
4153+++ tests/qmltests/Stages/tst_PhoneStage.qml 2015-07-22 14:32:16 +0000
4154@@ -19,7 +19,7 @@
4155 import Unity.Test 0.1 as UT
4156 import ".."
4157 import "../../../qml/Stages"
4158-import Ubuntu.Components 0.1
4159+import Ubuntu.Components 1.3
4160 import Unity.Application 0.1
4161
4162 Item {
4163
4164=== modified file 'tests/qmltests/Stages/tst_SessionContainer.qml'
4165--- tests/qmltests/Stages/tst_SessionContainer.qml 2015-03-06 04:44:11 +0000
4166+++ tests/qmltests/Stages/tst_SessionContainer.qml 2015-07-22 14:32:16 +0000
4167@@ -18,7 +18,7 @@
4168 import QtQuick.Layouts 1.1
4169 import QtTest 1.0
4170 import Unity.Test 0.1 as UT
4171-import Ubuntu.Components 0.1
4172+import Ubuntu.Components 1.3
4173 import Unity.Application 0.1
4174 import "../../../qml/Stages"
4175
4176
4177=== modified file 'tests/qmltests/Stages/tst_Splash.qml'
4178--- tests/qmltests/Stages/tst_Splash.qml 2014-09-15 19:05:32 +0000
4179+++ tests/qmltests/Stages/tst_Splash.qml 2015-07-22 14:32:16 +0000
4180@@ -19,7 +19,7 @@
4181 import Unity.Test 0.1 as UT
4182 import ".."
4183 import "../../../qml/Stages"
4184-import Ubuntu.Components 0.1
4185+import Ubuntu.Components 1.3
4186 import Unity.Application 0.1
4187
4188 Rectangle {
4189
4190=== modified file 'tests/qmltests/Stages/tst_SpreadDelegate.qml'
4191--- tests/qmltests/Stages/tst_SpreadDelegate.qml 2015-03-06 04:44:11 +0000
4192+++ tests/qmltests/Stages/tst_SpreadDelegate.qml 2015-07-22 14:32:16 +0000
4193@@ -19,8 +19,8 @@
4194 import Unity.Test 0.1 as UT
4195 import ".."
4196 import "../../../qml/Stages"
4197-import Ubuntu.Components 0.1
4198-import Ubuntu.Components.ListItems 1.0 as ListItem
4199+import Ubuntu.Components 1.3
4200+import Ubuntu.Components.ListItems 1.3 as ListItem
4201 import Unity.Application 0.1
4202
4203 Rectangle {
4204
4205=== modified file 'tests/qmltests/Stages/tst_SurfaceContainer.qml'
4206--- tests/qmltests/Stages/tst_SurfaceContainer.qml 2015-06-25 19:24:41 +0000
4207+++ tests/qmltests/Stages/tst_SurfaceContainer.qml 2015-07-22 14:32:16 +0000
4208@@ -19,7 +19,7 @@
4209 import Unity.Test 0.1
4210 import ".."
4211 import "../../../qml/Stages"
4212-import Ubuntu.Components 0.1
4213+import Ubuntu.Components 1.3
4214 import Unity.Application 0.1
4215
4216 Rectangle {
4217
4218=== modified file 'tests/qmltests/Stages/tst_TabletStage.qml'
4219--- tests/qmltests/Stages/tst_TabletStage.qml 2015-06-12 16:07:43 +0000
4220+++ tests/qmltests/Stages/tst_TabletStage.qml 2015-07-22 14:32:16 +0000
4221@@ -16,8 +16,8 @@
4222
4223 import QtQuick 2.0
4224 import QtTest 1.0
4225-import Ubuntu.Components 1.1
4226-import Ubuntu.Components.ListItems 1.0 as ListItem
4227+import Ubuntu.Components 1.3
4228+import Ubuntu.Components.ListItems 1.3 as ListItem
4229 import Unity.Application 0.1
4230 import Unity.Test 0.1
4231
4232
4233=== modified file 'tests/qmltests/Stages/tst_WindowMoveResizeArea.qml'
4234--- tests/qmltests/Stages/tst_WindowMoveResizeArea.qml 2015-05-01 10:24:08 +0000
4235+++ tests/qmltests/Stages/tst_WindowMoveResizeArea.qml 2015-07-22 14:32:16 +0000
4236@@ -20,8 +20,8 @@
4237 import Unity.Test 0.1 as UT
4238 import ".."
4239 import "../../../qml/Stages"
4240-import Ubuntu.Components 0.1
4241-import Ubuntu.Components.ListItems 1.0 as ListItem
4242+import Ubuntu.Components 1.3
4243+import Ubuntu.Components.ListItems 1.3 as ListItem
4244 import Unity.Application 0.1
4245
4246 Item {
4247
4248=== modified file 'tests/qmltests/Tutorial/tst_Tutorial.qml'
4249--- tests/qmltests/Tutorial/tst_Tutorial.qml 2015-07-09 12:44:35 +0000
4250+++ tests/qmltests/Tutorial/tst_Tutorial.qml 2015-07-22 14:32:16 +0000
4251@@ -18,7 +18,7 @@
4252 import QtTest 1.0
4253 import AccountsService 0.1
4254 import LightDM 0.1 as LightDM
4255-import Ubuntu.Components 1.1
4256+import Ubuntu.Components 1.3
4257 import Unity.Application 0.1
4258 import Unity.Test 0.1 as UT
4259
4260
4261=== modified file 'tests/qmltests/Wizard/tst_Wizard.qml'
4262--- tests/qmltests/Wizard/tst_Wizard.qml 2015-03-03 14:42:10 +0000
4263+++ tests/qmltests/Wizard/tst_Wizard.qml 2015-07-22 14:32:16 +0000
4264@@ -19,7 +19,7 @@
4265 import AccountsService 0.1
4266 import MeeGo.QOfono 0.2
4267 import QMenuModel 0.1
4268-import Ubuntu.Components 1.1
4269+import Ubuntu.Components 1.3
4270 import Ubuntu.SystemSettings.SecurityPrivacy 1.0
4271 import Unity.Test 0.1 as UT
4272 import Wizard 0.1
4273@@ -96,7 +96,7 @@
4274 }
4275
4276 Component.onCompleted: {
4277- Theme.name = "Ubuntu.Components.Themes.SuruGradient";
4278+ theme.name = "Ubuntu.Components.Themes.SuruGradient";
4279 setup();
4280 }
4281
4282
4283=== modified file 'tests/qmltests/tst_OrientedShell.qml'
4284--- tests/qmltests/tst_OrientedShell.qml 2015-07-10 14:44:55 +0000
4285+++ tests/qmltests/tst_OrientedShell.qml 2015-07-22 14:32:16 +0000
4286@@ -17,8 +17,8 @@
4287 import QtQuick 2.0
4288 import QtQuick.Layouts 1.1
4289 import QtTest 1.0
4290-import Ubuntu.Components 1.1
4291-import Ubuntu.Components.ListItems 1.0 as ListItem
4292+import Ubuntu.Components 1.3
4293+import Ubuntu.Components.ListItems 1.3 as ListItem
4294 import Unity.Application 0.1
4295 import Unity.Test 0.1
4296 import LightDM 0.1 as LightDM
4297
4298=== modified file 'tests/qmltests/tst_Shell.qml'
4299--- tests/qmltests/tst_Shell.qml 2015-06-23 17:40:03 +0000
4300+++ tests/qmltests/tst_Shell.qml 2015-07-22 14:32:16 +0000
4301@@ -19,8 +19,8 @@
4302 import AccountsService 0.1
4303 import GSettings 1.0
4304 import LightDM 0.1 as LightDM
4305-import Ubuntu.Components 1.1
4306-import Ubuntu.Components.ListItems 1.0 as ListItem
4307+import Ubuntu.Components 1.3
4308+import Ubuntu.Components.ListItems 1.3 as ListItem
4309 import Ubuntu.Telephony 0.1 as Telephony
4310 import Unity.Application 0.1
4311 import Unity.Connectivity 0.1
4312
4313=== modified file 'tests/qmltests/tst_ShellWithPin.qml'
4314--- tests/qmltests/tst_ShellWithPin.qml 2015-07-14 14:46:16 +0000
4315+++ tests/qmltests/tst_ShellWithPin.qml 2015-07-22 14:32:16 +0000
4316@@ -15,7 +15,7 @@
4317 */
4318
4319 import QtQuick 2.0
4320-import Ubuntu.Components 1.0
4321+import Ubuntu.Components 1.3
4322 import QtTest 1.0
4323 import AccountsService 0.1
4324 import GSettings 1.0
4325
4326=== added directory 'tests/sdk'
4327=== added file 'tests/sdk/CMakeLists.txt'
4328--- tests/sdk/CMakeLists.txt 1970-01-01 00:00:00 +0000
4329+++ tests/sdk/CMakeLists.txt 2015-07-22 14:32:16 +0000
4330@@ -0,0 +1,6 @@
4331+
4332+#
4333+# Test that all imports for Ubuntu.Components use the wanted version
4334+#
4335+
4336+add_test(SDK ${CMAKE_CURRENT_SOURCE_DIR}/check_sdk.py ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
4337
4338=== added file 'tests/sdk/check_sdk.py'
4339--- tests/sdk/check_sdk.py 1970-01-01 00:00:00 +0000
4340+++ tests/sdk/check_sdk.py 2015-07-22 14:32:16 +0000
4341@@ -0,0 +1,114 @@
4342+#! /usr/bin/env python3
4343+
4344+#
4345+# Copyright (C) 2015 Canonical Ltd
4346+#
4347+# This program is free software: you can redistribute it and/or modify
4348+# it under the terms of the GNU General Public License version 3 as
4349+# published by the Free Software Foundation.
4350+#
4351+# This program is distributed in the hope that it will be useful,
4352+# but WITHOUT ANY WARRANTY; without even the implied warranty of
4353+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4354+# GNU General Public License for more details.
4355+#
4356+# You should have received a copy of the GNU General Public License
4357+# along with this program. If not, see <http://www.gnu.org/licenses/>.
4358+#
4359+# Authored by: Michi Henning <michi.henning@canonical.com>
4360+#
4361+
4362+#
4363+# Little helper program to test that all source files import
4364+# the wanted SDK version
4365+#
4366+# Usage: check_sdk.py directory [ignore_prefix]
4367+#
4368+# The directory specifies the (recursive) location of the source files. Any
4369+# files with a path that starts with ignore_prefix are not checked. This is
4370+# useful to exclude files that are generated into the build directory.
4371+#
4372+# See the file_pat definition below for a list of files that are checked.
4373+#
4374+
4375+from __future__ import print_function
4376+
4377+import argparse
4378+import os
4379+import re
4380+import sys
4381+
4382+
4383+# Print msg on stderr, preceded by program name and followed by newline
4384+def error(msg):
4385+ print(os.path.basename(sys.argv[0]) + ": " + msg, file=sys.stderr)
4386+
4387+
4388+# Function to raise errors encountered by os.walk
4389+def raise_error(e):
4390+ raise e
4391+
4392+# Scan lines in file_path for bad SDK version. For each file,
4393+# print the line numbers that have SDK version issues
4394+
4395+ubuntu_components_pat = re.compile(r'.*import Ubuntu.Components.*')
4396+ubuntu_good_components_pat = re.compile(r'.*import Ubuntu.Components.*1\.3.*')
4397+
4398+def scan_for_bad_sdk(file_path):
4399+ global ubuntu_components_pat
4400+ errors = []
4401+ with open(file_path, 'rt', encoding='utf-8') as ifile:
4402+ for lino, line in enumerate(ifile, start=1):
4403+ if ubuntu_components_pat.match(line) and not ubuntu_good_components_pat.match(line):
4404+ errors.append(lino)
4405+ if 0 < len(errors) <= 10:
4406+ if len(errors) > 1:
4407+ plural = 's'
4408+ else:
4409+ plural = ''
4410+ print(
4411+ "%s: bad SDK Version in line%s %s" % (
4412+ file_path, plural, ", ".join((str(i) for i in errors))))
4413+ elif errors:
4414+ print("%s: bad SDK Version in multiple lines" % file_path)
4415+ return bool(errors)
4416+
4417+# Parse args
4418+
4419+parser = argparse.ArgumentParser(
4420+ description='Test that source files contain the wanted SDK version.')
4421+parser.add_argument(
4422+ 'dir', nargs=1,
4423+ help='The directory to (recursively) search for source files')
4424+parser.add_argument(
4425+ 'ignore_prefix', nargs='?', default=None,
4426+ help='Ignore source files with a path that starts with the given prefix.')
4427+args = parser.parse_args()
4428+
4429+# Files we want to check for SDK version.
4430+
4431+file_pat = (
4432+ r'(.*\.(js|qml)$)')
4433+pat = re.compile(file_pat)
4434+
4435+# Find all the files with matching file extension in the specified
4436+# directory and check them
4437+
4438+directory = os.path.abspath(args.dir[0])
4439+ignore = args.ignore_prefix and os.path.abspath(args.ignore_prefix) or None
4440+
4441+found_bad_sdk = False
4442+try:
4443+ for root, dirs, files in os.walk(directory, onerror=raise_error):
4444+ for file in files:
4445+ path = os.path.join(root, file)
4446+ if not (ignore and path.startswith(ignore)) and pat.match(file):
4447+ if scan_for_bad_sdk(path):
4448+ found_bad_sdk = True
4449+
4450+except OSError as e:
4451+ error("cannot create file list for \"" + dir + "\": " + e.strerror)
4452+ sys.exit(1)
4453+
4454+if found_bad_sdk:
4455+ sys.exit(1)
4456
4457=== modified file 'tests/utils/modules/Unity/Test/MouseTouchEmulationCheckbox.qml'
4458--- tests/utils/modules/Unity/Test/MouseTouchEmulationCheckbox.qml 2015-04-13 13:12:18 +0000
4459+++ tests/utils/modules/Unity/Test/MouseTouchEmulationCheckbox.qml 2015-07-22 14:32:16 +0000
4460@@ -16,7 +16,7 @@
4461
4462 import QtQuick 2.0
4463 import QtQuick.Layouts 1.1
4464-import Ubuntu.Components 1.1
4465+import Ubuntu.Components 1.3
4466 import Unity.Test 0.1
4467
4468 RowLayout {
4469
4470=== modified file 'tests/utils/modules/Unity/Test/UnityTestCase.qml'
4471--- tests/utils/modules/Unity/Test/UnityTestCase.qml 2015-06-22 12:36:47 +0000
4472+++ tests/utils/modules/Unity/Test/UnityTestCase.qml 2015-07-22 14:32:16 +0000
4473@@ -16,7 +16,7 @@
4474
4475 import QtQuick 2.0
4476 import QtTest 1.0
4477-import Ubuntu.Components 0.1
4478+import Ubuntu.Components 1.3
4479 import Unity.Test 0.1 as UT
4480
4481 TestCase {

Subscribers

People subscribed via source and target branches