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

Proposed by Albert Astals Cid
Status: Superseded
Proposed branch: lp:~aacid/unity8/new_and_old_audio_role
Merge into: lp:unity8
Diff against target: 6899 lines (+986/-846)
353 files modified
CMakeLists.txt (+7/-7)
debian/control (+5/-5)
plugins/Dash/CardAttributes.qml (+3/-3)
plugins/Dash/CardCreator.js (+6/-6)
plugins/Dash/CardCreatorCache.qml (+1/-1)
plugins/Dash/CroppedImageMinimumSourceSize.qml (+1/-1)
plugins/Dash/ScopeStyle.qml (+2/-2)
plugins/Dash/abstractdashview.h (+0/-4)
plugins/Dash/horizontaljournal.cpp (+0/-4)
plugins/Dash/horizontaljournal.h (+0/-4)
plugins/Dash/organicgrid.cpp (+0/-4)
plugins/Dash/organicgrid.h (+0/-4)
plugins/Dash/verticaljournal.cpp (+0/-4)
plugins/Dash/verticaljournal.h (+0/-4)
qml/Components/Background.qml (+2/-2)
qml/Components/BaseCarouselDelegate.qml (+2/-2)
qml/Components/Carousel.qml (+2/-2)
qml/Components/Circle.qml (+1/-1)
qml/Components/DelayedLockscreen.qml (+2/-2)
qml/Components/Dialogs.qml (+2/-2)
qml/Components/DragHandle.qml (+2/-2)
qml/Components/DraggingArea.qml (+2/-2)
qml/Components/EdgeDragEvaluator.qml (+2/-2)
qml/Components/Header.qml (+2/-2)
qml/Components/InputMethod.qml (+2/-2)
qml/Components/LazyImage.qml (+2/-2)
qml/Components/ListItems/Header.qml (+2/-2)
qml/Components/ListItems/ThinDivider.qml (+1/-1)
qml/Components/Lockscreen.qml (+3/-3)
qml/Components/NotificationAudio.qml (+42/-0)
qml/Components/PanelState/PanelState.qml (+1/-1)
qml/Components/PassphraseLockscreen.qml (+2/-2)
qml/Components/PhysicalKeysMapper.qml (+1/-1)
qml/Components/PinLockscreen.qml (+3/-3)
qml/Components/PinPadButton.qml (+2/-2)
qml/Components/Rating.qml (+2/-2)
qml/Components/RatingStyle.qml (+2/-2)
qml/Components/ResponsiveGridView.qml (+2/-2)
qml/Components/ResponsiveVerticalJournal.qml (+2/-2)
qml/Components/ScreenGrabber.qml (+2/-4)
qml/Components/ScrollCalculator.qml (+2/-2)
qml/Components/SearchHistoryModel/SearchHistoryModel.qml (+1/-1)
qml/Components/ShellDialog.qml (+3/-3)
qml/Components/Showable.qml (+1/-1)
qml/Components/StandardAnimation.qml (+1/-1)
qml/Components/UbuntuShapeForItem.qml (+2/-2)
qml/Components/Unity8Settings.qml (+1/-1)
qml/Components/UnityInputInfo/UnityInputInfo.qml (+2/-2)
qml/Components/WindowControlButtons.qml (+2/-2)
qml/Components/WindowScreenshot.qml (+1/-1)
qml/Components/WrongPasswordAnimation.qml (+1/-1)
qml/Components/ZoomableImage.qml (+2/-2)
qml/Dash/CardCarousel.qml (+2/-2)
qml/Dash/CardGrid.qml (+1/-1)
qml/Dash/CardHorizontalList.qml (+2/-2)
qml/Dash/CardTool.qml (+1/-1)
qml/Dash/CardVerticalJournal.qml (+2/-2)
qml/Dash/Dash.qml (+2/-2)
qml/Dash/DashApplication.qml (+4/-3)
qml/Dash/DashBackground.qml (+1/-1)
qml/Dash/DashCategoryBase.qml (+2/-2)
qml/Dash/DashContent.qml (+2/-2)
qml/Dash/DashContentTabBarStyle.qml (+1/-1)
qml/Dash/DashNavigation.qml (+4/-4)
qml/Dash/DashNavigationButton.qml (+4/-4)
qml/Dash/DashNavigationList.qml (+5/-5)
qml/Dash/DashPageHeader.qml (+12/-16)
qml/Dash/DashRenderer.qml (+1/-1)
qml/Dash/GenericScopeView.qml (+6/-6)
qml/Dash/PreviewListView.qml (+3/-3)
qml/Dash/Previews/Preview.qml (+2/-2)
qml/Dash/Previews/PreviewActionButton.qml (+2/-2)
qml/Dash/Previews/PreviewActionCombo.qml (+4/-4)
qml/Dash/Previews/PreviewActions.qml (+4/-4)
qml/Dash/Previews/PreviewAudioPlayback.qml (+6/-6)
qml/Dash/Previews/PreviewComment.qml (+2/-2)
qml/Dash/Previews/PreviewCommentInput.qml (+2/-2)
qml/Dash/Previews/PreviewExpandable.qml (+5/-5)
qml/Dash/Previews/PreviewHeader.qml (+4/-4)
qml/Dash/Previews/PreviewIconActions.qml (+2/-2)
qml/Dash/Previews/PreviewImageGallery.qml (+2/-2)
qml/Dash/Previews/PreviewOverlay.qml (+4/-4)
qml/Dash/Previews/PreviewPayments.qml (+2/-2)
qml/Dash/Previews/PreviewProgress.qml (+2/-2)
qml/Dash/Previews/PreviewRatingDisplay.qml (+4/-4)
qml/Dash/Previews/PreviewRatingEdit.qml (+2/-2)
qml/Dash/Previews/PreviewRatingInput.qml (+6/-6)
qml/Dash/Previews/PreviewRatingSingleDisplay.qml (+1/-1)
qml/Dash/Previews/PreviewTable.qml (+5/-5)
qml/Dash/Previews/PreviewTextSummary.qml (+5/-5)
qml/Dash/Previews/PreviewVideoPlayback.qml (+2/-2)
qml/Dash/Previews/PreviewWidget.qml (+1/-1)
qml/Dash/Previews/PreviewWidgetFactory.qml (+1/-1)
qml/Dash/Previews/PreviewZoomableImage.qml (+2/-2)
qml/Dash/PullToRefreshScopeStyle.qml (+3/-3)
qml/Dash/ScopeListView.qml (+1/-1)
qml/Dash/ScopeSettings/ScopeSetting.qml (+2/-2)
qml/Dash/ScopeSettings/ScopeSettingBoolean.qml (+5/-5)
qml/Dash/ScopeSettings/ScopeSettingList.qml (+3/-3)
qml/Dash/ScopeSettings/ScopeSettingNumber.qml (+1/-1)
qml/Dash/ScopeSettings/ScopeSettingString.qml (+6/-6)
qml/Dash/ScopeSettings/ScopeSettingsWidgetFactory.qml (+1/-1)
qml/Dash/ScopeSettingsPage.qml (+3/-3)
qml/Dash/ScopesList.qml (+2/-2)
qml/Dash/ScopesListCategory.qml (+4/-4)
qml/Dash/ScopesListCategoryItem.qml (+2/-2)
qml/DeviceConfiguration.qml (+1/-1)
qml/Greeter/Clock.qml (+2/-2)
qml/Greeter/CoverPage.qml (+2/-2)
qml/Greeter/Dot.qml (+1/-1)
qml/Greeter/Greeter.qml (+2/-2)
qml/Greeter/Infographics.qml (+2/-2)
qml/Greeter/IntegratedLightDMImpl.qml (+1/-1)
qml/Greeter/LightDM.qml (+1/-1)
qml/Greeter/LoginList.qml (+2/-2)
qml/Greeter/NarrowView.qml (+2/-2)
qml/Greeter/ObjectPositioner.qml (+2/-2)
qml/Greeter/ShimGreeter.qml (+1/-1)
qml/Greeter/WideView.qml (+2/-2)
qml/Launcher/FoldingLauncherDelegate.qml (+2/-2)
qml/Launcher/Launcher.qml (+2/-2)
qml/Launcher/LauncherDelegate.qml (+2/-2)
qml/Launcher/LauncherPanel.qml (+4/-4)
qml/Notifications/Notification.qml (+8/-9)
qml/Notifications/NotificationMenuItemFactory.qml (+2/-2)
qml/Notifications/Notifications.qml (+2/-2)
qml/Notifications/OptionToggle.qml (+6/-6)
qml/Notifications/ShapedIcon.qml (+3/-3)
qml/Notifications/SwipeToAct.qml (+2/-2)
qml/OrientedShell.qml (+3/-3)
qml/Panel/ActiveCallHint.qml (+2/-2)
qml/Panel/Handle.qml (+2/-2)
qml/Panel/IndicatorItem.qml (+2/-2)
qml/Panel/IndicatorItemRow.qml (+2/-2)
qml/Panel/IndicatorPage.qml (+2/-2)
qml/Panel/Indicators/IndicatorBase.qml (+1/-1)
qml/Panel/Indicators/IndicatorDelegate.qml (+1/-1)
qml/Panel/Indicators/IndicatorsLight.qml (+1/-1)
qml/Panel/Indicators/MenuItemFactory.qml (+5/-5)
qml/Panel/Indicators/MessageMenuItemFactory.qml (+1/-1)
qml/Panel/Indicators/ModemInfoItem.qml (+6/-6)
qml/Panel/Indicators/RoamingIndication.qml (+4/-4)
qml/Panel/Indicators/client/IndicatorRepresentation.qml (+3/-3)
qml/Panel/Indicators/client/IndicatorsClient.qml (+4/-4)
qml/Panel/Indicators/client/IndicatorsList.qml (+3/-3)
qml/Panel/Indicators/client/IndicatorsTree.qml (+2/-2)
qml/Panel/IndicatorsBar.qml (+2/-2)
qml/Panel/IndicatorsMenu.qml (+2/-2)
qml/Panel/MenuContent.qml (+2/-2)
qml/Panel/Panel.qml (+2/-2)
qml/Panel/PanelBackground.qml (+1/-1)
qml/Panel/PanelSeparatorLine.qml (+1/-1)
qml/Panel/PanelVelocityCalculator.qml (+1/-1)
qml/Rotation/HalfLoopRotationAnimation.qml (+1/-1)
qml/Rotation/ImmediateRotationAction.qml (+1/-1)
qml/Rotation/NinetyRotationAnimation.qml (+1/-1)
qml/Rotation/RotationStates.qml (+2/-2)
qml/ScopeTool.qml (+3/-3)
qml/Shell.qml (+5/-5)
qml/Stages/Animations/BaseSessionAnimation.qml (+1/-1)
qml/Stages/Animations/SwipeFromBottomAnimation.qml (+2/-2)
qml/Stages/ApplicationWindow.qml (+2/-2)
qml/Stages/DecoratedWindow.qml (+2/-2)
qml/Stages/DesktopSpread.qml (+1/-1)
qml/Stages/DesktopSpreadDelegate.qml (+2/-2)
qml/Stages/DesktopStage.qml (+1/-1)
qml/Stages/MainViewStyle.qml (+36/-28)
qml/Stages/OrientationChangeAnimation.qml (+1/-1)
qml/Stages/PageHeadStyle.qml (+3/-3)
qml/Stages/PhoneStage.qml (+2/-2)
qml/Stages/SessionContainer.qml (+1/-1)
qml/Stages/ShimStage.qml (+2/-2)
qml/Stages/Splash.qml (+12/-12)
qml/Stages/SpreadDelegate.qml (+3/-3)
qml/Stages/SpreadMaths.qml (+2/-2)
qml/Stages/SurfaceContainer.qml (+2/-2)
qml/Stages/TabletStage.qml (+2/-2)
qml/Stages/TransformedSpreadDelegate.qml (+2/-2)
qml/Stages/TransformedTabletSpreadDelegate.qml (+2/-2)
qml/Stages/WindowDecoration.qml (+2/-2)
qml/Stages/WindowResizeArea.qml (+2/-2)
qml/Tutorial/Arrow.qml (+2/-2)
qml/Tutorial/Slider.qml (+2/-2)
qml/Tutorial/Tick.qml (+2/-2)
qml/Tutorial/Tutorial.qml (+2/-2)
qml/Tutorial/TutorialBottom.qml (+2/-2)
qml/Tutorial/TutorialBottomFinish.qml (+2/-2)
qml/Tutorial/TutorialContent.qml (+2/-2)
qml/Tutorial/TutorialLeft.qml (+2/-2)
qml/Tutorial/TutorialLeftFinish.qml (+2/-2)
qml/Tutorial/TutorialPage.qml (+2/-2)
qml/Tutorial/TutorialRight.qml (+2/-2)
qml/Wizard/CheckableSetting.qml (+5/-5)
qml/Wizard/Page.qml (+4/-4)
qml/Wizard/Pages.qml (+2/-2)
qml/Wizard/Pages/10-welcome.qml (+3/-3)
qml/Wizard/Pages/20-sim.qml (+2/-2)
qml/Wizard/Pages/30-passwd-type.qml (+7/-7)
qml/Wizard/Pages/40-wifi.qml (+3/-3)
qml/Wizard/Pages/50-location.qml (+4/-4)
qml/Wizard/Pages/60-reporting.qml (+2/-2)
qml/Wizard/Pages/80-finished.qml (+2/-2)
qml/Wizard/Pages/here-terms.qml (+4/-4)
qml/Wizard/Pages/passwd-confirm.qml (+2/-2)
qml/Wizard/Pages/passwd-set.qml (+2/-2)
qml/Wizard/StackButton.qml (+4/-4)
qml/Wizard/Wizard.qml (+2/-2)
tests/CMakeLists.txt (+1/-0)
tests/autopilot/unity8/dash.py (+3/-3)
tests/imports/CMakeLists.txt (+5/-0)
tests/imports/check_imports.py (+125/-0)
tests/mocks/MeeGo/QOfono/MockOfonoSimManager.qml (+1/-1)
tests/mocks/QMenuModel/QDBusActionGroup.qml (+2/-2)
tests/mocks/QMenuModel/UnityMenuAction.qml (+1/-1)
tests/mocks/Ubuntu/SystemSettings/LanguagePlugin/MockLanguagePlugin.qml (+1/-1)
tests/mocks/Ubuntu/Web/WebView.qml (+1/-1)
tests/mocks/Unity/Application/resources/MirSurfaceItem.qml (+1/-1)
tests/mocks/Unity/Application/resources/VirtualKeyboard.qml (+1/-1)
tests/mocks/Unity/Indicators/ActionRootState.qml (+1/-1)
tests/mocks/Unity/Indicators/IndicatorsModel.qml (+1/-1)
tests/mocks/Unity/Indicators/ModelActionRootState.qml (+1/-1)
tests/mocks/Utils/HomeKeyWatcher.qml (+1/-1)
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/cardcreatortest.qml (+1/-1)
tests/plugins/Dash/horizontaljournaltest.qml (+1/-1)
tests/plugins/Dash/horizontaljournaltry.qml (+1/-1)
tests/plugins/Dash/listviewwithpageheadertest.qml (+1/-1)
tests/plugins/Dash/listviewwithpageheadertestsection.qml (+1/-1)
tests/plugins/Dash/listviewwithpageheadertestsectionexternalmodel.qml (+1/-1)
tests/plugins/Dash/organicgridtest.qml (+1/-1)
tests/plugins/Dash/organicgridtry.qml (+1/-1)
tests/plugins/Dash/tst_CardAttributes.qml (+1/-1)
tests/plugins/Dash/tst_CroppedImageMinimumSourceSize.qml (+2/-2)
tests/plugins/Dash/tst_ListViewWithPageHeaderQML.qml (+1/-1)
tests/plugins/Dash/tst_ScopeStyle.qml (+2/-2)
tests/plugins/Dash/verticaljournaltest.qml (+1/-1)
tests/plugins/Dash/verticaljournaltry.qml (+1/-1)
tests/plugins/IntegratedLightDM/greeter.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/DownwardsLauncher.qml (+2/-2)
tests/plugins/Ubuntu/Gestures/LeftwardsLauncher.qml (+2/-2)
tests/plugins/Ubuntu/Gestures/RightwardsLauncher.qml (+2/-2)
tests/plugins/Ubuntu/Gestures/UpwardsLauncher.qml (+2/-2)
tests/plugins/Ubuntu/Gestures/empty.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/touchGateExample.qml (+1/-1)
tests/plugins/Ubuntu/Gestures/tst_DirectionalDragArea.qml (+2/-2)
tests/plugins/Ubuntu/Gestures/tst_FloatingFlickable.qml (+2/-2)
tests/plugins/Ubuntu/Gestures/tst_PressedOutsideNotifier.qml (+2/-2)
tests/plugins/Ubuntu/Gestures/tst_TouchGate.cpp (+1/-5)
tests/plugins/Utils/tst_UtilsStyle.qml (+1/-1)
tests/qmltests/CMakeLists.txt (+1/-1)
tests/qmltests/Components/tst_Background.qml (+1/-1)
tests/qmltests/Components/tst_Carousel.qml (+1/-1)
tests/qmltests/Components/tst_Dialogs.qml (+3/-3)
tests/qmltests/Components/tst_DragHandle.qml (+2/-2)
tests/qmltests/Components/tst_DragHandle/BidirectionalShowable.qml (+2/-2)
tests/qmltests/Components/tst_DragHandle/HorizontalShowable.qml (+2/-2)
tests/qmltests/Components/tst_DragHandle/VerticalShowable.qml (+2/-2)
tests/qmltests/Components/tst_DraggingArea.qml (+1/-1)
tests/qmltests/Components/tst_EdgeDragEvaluator.qml (+1/-1)
tests/qmltests/Components/tst_LazyImage.qml (+4/-4)
tests/qmltests/Components/tst_LazyImage/ImageControls.qml (+2/-2)
tests/qmltests/Components/tst_Lockscreen.qml (+2/-2)
tests/qmltests/Components/tst_PhysicalKeysMapper.qml (+1/-1)
tests/qmltests/Components/tst_Rating.qml (+4/-4)
tests/qmltests/Components/tst_ResponsiveGridView.qml (+3/-3)
tests/qmltests/Components/tst_ResponsiveVerticalJournal.qml (+3/-3)
tests/qmltests/Components/tst_Showable.qml (+2/-2)
tests/qmltests/Components/tst_ZoomableImage.qml (+1/-1)
tests/qmltests/Dash/Previews/MockPreviewWidget.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_Preview.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewActions.qml (+2/-2)
tests/qmltests/Dash/Previews/tst_PreviewAudioPlayback.qml (+4/-4)
tests/qmltests/Dash/Previews/tst_PreviewComment.qml (+2/-2)
tests/qmltests/Dash/Previews/tst_PreviewCommentInput.qml (+2/-2)
tests/qmltests/Dash/Previews/tst_PreviewExpandable.qml (+4/-4)
tests/qmltests/Dash/Previews/tst_PreviewHeader.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_PreviewIconActions.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewImageGallery.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_PreviewPayments.qml (+2/-2)
tests/qmltests/Dash/Previews/tst_PreviewProgress.qml (+2/-2)
tests/qmltests/Dash/Previews/tst_PreviewRatingDisplay.qml (+4/-4)
tests/qmltests/Dash/Previews/tst_PreviewRatingEdit.qml (+4/-4)
tests/qmltests/Dash/Previews/tst_PreviewRatingInput.qml (+4/-4)
tests/qmltests/Dash/Previews/tst_PreviewTable.qml (+4/-4)
tests/qmltests/Dash/Previews/tst_PreviewTextSummary.qml (+4/-4)
tests/qmltests/Dash/Previews/tst_PreviewVideoPlayback.qml (+1/-1)
tests/qmltests/Dash/Previews/tst_PreviewWidgetFactory.qml (+3/-3)
tests/qmltests/Dash/Previews/tst_PreviewZoomableImage.qml (+1/-1)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingBoolean.qml (+2/-2)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingList.qml (+2/-2)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingNumber.qml (+2/-2)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingString.qml (+2/-2)
tests/qmltests/Dash/ScopeSettings/tst_ScopeSettingsWidgetFactory.qml (+2/-2)
tests/qmltests/Dash/tst_Card.qml (+4/-4)
tests/qmltests/Dash/tst_CardBenchmark.qml (+2/-2)
tests/qmltests/Dash/tst_CardTool.qml (+2/-2)
tests/qmltests/Dash/tst_Dash.qml (+3/-3)
tests/qmltests/Dash/tst_DashContent.qml (+6/-6)
tests/qmltests/Dash/tst_DashPageHeader.qml (+5/-5)
tests/qmltests/Dash/tst_GenericScopeView.qml (+5/-5)
tests/qmltests/Dash/tst_PreviewListView.qml (+5/-5)
tests/qmltests/Greeter/TestView.qml (+2/-2)
tests/qmltests/Greeter/tst_Clock.qml (+2/-2)
tests/qmltests/Greeter/tst_Greeter.qml (+2/-2)
tests/qmltests/Greeter/tst_Infographics.qml (+2/-2)
tests/qmltests/Greeter/tst_NarrowView.qml (+2/-2)
tests/qmltests/Greeter/tst_WideView.qml (+2/-2)
tests/qmltests/Launcher/tst_Launcher.qml (+2/-2)
tests/qmltests/Notifications/tst_Notifications.qml (+1/-1)
tests/qmltests/Notifications/tst_OptionToggle.qml (+2/-3)
tests/qmltests/Notifications/tst_SwipeToAct.qml (+1/-1)
tests/qmltests/Notifications/tst_VisualSnapDecisionsQueue.qml (+2/-2)
tests/qmltests/Panel/IndicatorTest.qml (+2/-2)
tests/qmltests/Panel/Indicators/tst_IndicatorsLight.qml (+2/-2)
tests/qmltests/Panel/Indicators/tst_MenuItemFactory.qml (+1/-1)
tests/qmltests/Panel/Indicators/tst_MessageMenuItemFactory.qml (+1/-1)
tests/qmltests/Panel/tst_ActiveCallHint.qml (+1/-1)
tests/qmltests/Panel/tst_IndicatorItem.qml (+2/-2)
tests/qmltests/Panel/tst_IndicatorItemRow.qml (+2/-2)
tests/qmltests/Panel/tst_IndicatorPage.qml (+1/-1)
tests/qmltests/Panel/tst_IndicatorsBar.qml (+2/-2)
tests/qmltests/Panel/tst_IndicatorsMenu.qml (+2/-2)
tests/qmltests/Panel/tst_MenuContent.qml (+1/-1)
tests/qmltests/Panel/tst_Panel.qml (+2/-2)
tests/qmltests/Stages/ApplicationCheckBox.qml (+2/-2)
tests/qmltests/Stages/RecursingChildSessionControl.qml (+2/-2)
tests/qmltests/Stages/tst_ApplicationWindow.qml (+3/-3)
tests/qmltests/Stages/tst_DesktopStage.qml (+3/-3)
tests/qmltests/Stages/tst_PhoneStage.qml (+2/-2)
tests/qmltests/Stages/tst_SessionContainer.qml (+2/-2)
tests/qmltests/Stages/tst_Splash.qml (+2/-2)
tests/qmltests/Stages/tst_SpreadDelegate.qml (+3/-3)
tests/qmltests/Stages/tst_SurfaceContainer.qml (+2/-2)
tests/qmltests/Stages/tst_TabletStage.qml (+3/-3)
tests/qmltests/Stages/tst_WindowResizeArea.qml (+3/-3)
tests/qmltests/Tutorial/tst_Tutorial.qml (+2/-2)
tests/qmltests/Wizard/tst_Wizard.qml (+3/-3)
tests/qmltests/tst_OrientedShell.qml (+3/-3)
tests/qmltests/tst_Shell.qml (+3/-3)
tests/qmltests/tst_ShellWithPin.qml (+2/-2)
tests/qmltests/utils/Unity/Test/MockObjectForInstanceOfTest.qml (+1/-1)
tests/qmltests/utils/Unity/Test/MockObjectForInstanceOfTestChild.qml (+1/-1)
tests/qmltests/utils/Unity/Test/tst_UnityTest.qml (+1/-1)
tests/utils/modules/Unity/Test/MouseTouchEmulationCheckbox.qml (+2/-2)
tests/utils/modules/Unity/Test/TouchEventSequenceWrapper.cpp (+0/-2)
tests/utils/modules/Unity/Test/UnityTestCase.qml (+2/-2)
To merge this branch: bzr merge lp:~aacid/unity8/new_and_old_audio_role
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Michał Sawicz code Approve
Timo Jyrinki Approve
Review via email: mp+275365@code.launchpad.net

This proposal has been superseded by a proposal from 2015-10-26.

Commit message

Add an Item that proxies for old and new audio roles

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.
2005. By Albert Astals Cid

Add an item that proxies for old and new audio roles

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :
review: Approve
Revision history for this message
Michał Sawicz (saviq) :
review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:2005
http://jenkins.qa.ubuntu.com/job/unity8-ci/6516/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-vivid-touch/4772
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-wily-touch/899
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-vivid/1228
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-wily/544
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-amd64-ci/1123
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-i386-ci/1124
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-wily-amd64-ci/755
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-wily-i386-ci/756
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-vivid-mako/3848
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/4769
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/4769/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/24476
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-wily-mako/531
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-wily-armhf/899
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-wily-armhf/899/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/24480

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/6516/rebuild

review: Needs Fixing (continuous-integration)
2006. By Albert Astals Cid

NotificationRole instead of AlarmRole

2007. By Albert Astals Cid

Rename the item to Notification too

Revision history for this message
Albert Astals Cid (aacid) wrote :

> This should be Notification, not Alarm.
Fixed

Revision history for this message
Albert Astals Cid (aacid) wrote :

> Could make that a binding instead of onCompleted, wdyt?
I think the code is harder to understand since you need to see that the binding code will only be executed once which is not trivial with a binding but quite clear with onCompleted.

I'd prefer to leave it like this.

2008. By Albert Astals Cid

Make the else branch use 5.0 instead of 5.4

It's what the mock provides and also what our intial patches provided
Also move from onCompleted to a binding

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:2007
http://jenkins.qa.ubuntu.com/job/unity8-ci/6523/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-vivid-touch/4782
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-wily-touch/906
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-vivid/1235
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-wily/551
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-amd64-ci/1130
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-i386-ci/1131
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-wily-amd64-ci/762
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-wily-i386-ci/763
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-vivid-mako/3854
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/4779
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/4779/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/24494
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-wily-mako/534
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-wily-armhf/906
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-wily-armhf/906/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/24496

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/6523/rebuild

review: Needs Fixing (continuous-integration)
2009. By Albert Astals Cid

Saviq doesn't like the two properties approach

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:2008
http://jenkins.qa.ubuntu.com/job/unity8-ci/6526/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-vivid-touch/4787
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-wily-touch/909/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-vivid/1238
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-wily/554
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-amd64-ci/1133
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-i386-ci/1134
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-wily-amd64-ci/765
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-wily-i386-ci/766
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-vivid-mako/3859
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/4784
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/4784/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/24514
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-wily-mako/537/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-wily-armhf/909
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-wily-armhf/909/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/24515

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/6526/rebuild

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

FAILED: Continuous integration, rev:2009
http://jenkins.qa.ubuntu.com/job/unity8-ci/6530/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-vivid-touch/4796
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-wily-touch/913/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-vivid/1242
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-wily/558
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-amd64-ci/1137
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-vivid-i386-ci/1138
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-wily-amd64-ci/769
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-wily-i386-ci/770
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-vivid-mako/3864
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/4793
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/4793/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/24525
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-wily-mako/539/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-wily-armhf/913
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-wily-armhf/913/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/24527

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/6530/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Michał Sawicz (saviq) :
review: Approve (code)
2010. By Albert Astals Cid

Merge

2011. By Albert Astals Cid

Merge use_quick_24

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
2012. By Albert Astals Cid

log--

Unmerged revisions

Preview Diff

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

Subscribers

People subscribed via source and target branches