commit kdeclarative for openSUSE:Factory
Hello community, here is the log from the commit of package kdeclarative for openSUSE:Factory checked in at 2016-01-20 09:42:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdeclarative (Old) and /work/SRC/openSUSE:Factory/.kdeclarative.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kdeclarative" Changes: -------- --- /work/SRC/openSUSE:Factory/kdeclarative/kdeclarative.changes 2015-12-29 12:51:44.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.kdeclarative.new/kdeclarative.changes 2016-01-20 09:42:06.000000000 +0100 @@ -1,0 +2,9 @@ +Sat Jan 2 17:42:30 UTC 2016 - hrvoje.senjan@gmail.com + +- Update to 5.18.0 + * [DragArea] Add dragActive property + * [KQuickControlsAddons MimeDatabase] Expose QMimeType comment + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.18.0.php + +------------------------------------------------------------------- Old: ---- kdeclarative-5.17.0.tar.xz New: ---- kdeclarative-5.18.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdeclarative.spec ++++++ --- /var/tmp/diff_new_pack.g3elBV/_old 2016-01-20 09:42:07.000000000 +0100 +++ /var/tmp/diff_new_pack.g3elBV/_new 2016-01-20 09:42:07.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package kdeclarative # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,9 +18,9 @@ %bcond_without lang %define lname libKF5Declarative5 -%define _tar_path 5.17 +%define _tar_path 5.18 Name: kdeclarative -Version: 5.17.0 +Version: 5.18.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 2.8.12 ++++++ kdeclarative-5.17.0.tar.xz -> kdeclarative-5.18.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.17.0/CMakeLists.txt new/kdeclarative-5.18.0/CMakeLists.txt --- old/kdeclarative-5.17.0/CMakeLists.txt 2015-12-06 22:21:30.000000000 +0100 +++ new/kdeclarative-5.18.0/CMakeLists.txt 2016-01-02 17:29:11.000000000 +0100 @@ -4,15 +4,15 @@ # Dependencies include(FeatureSummary) -find_package(ECM 5.17.0 NO_MODULE) +find_package(ECM 5.18.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) set(REQUIRED_QT_VERSION "5.3.0") -set(KF5_VERSION "5.17.0") # handled by release scripts -set(KF5_DEP_VERSION "5.17.0") # handled by release scripts +set(KF5_VERSION "5.18.0") # handled by release scripts +set(KF5_DEP_VERSION "5.18.0") # handled by release scripts find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Qml Quick Gui) include(KDEInstallDirs) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.17.0/po/lt/kdeclarative5.po new/kdeclarative-5.18.0/po/lt/kdeclarative5.po --- old/kdeclarative-5.17.0/po/lt/kdeclarative5.po 2015-12-06 22:21:30.000000000 +0100 +++ new/kdeclarative-5.18.0/po/lt/kdeclarative5.po 2016-01-02 17:29:11.000000000 +0100 @@ -7,14 +7,15 @@ # Remigijus Jarmalavičius <remigijus@jarmalavicius.lt>, 2011. # Liudas Ališauskas <liudas.alisauskas@gmail.com>, 2011, 2012, 2013, 2014. # Liudas Alisauskas <liudas@akmc.lt>, 2013, 2015. +# Mindaugas Baranauskas <opensuse.lietuviu.kalba@gmail.com>, 2015. msgid "" msgstr "" "Project-Id-Version: kdelibs4\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2015-07-22 08:34+0000\n" -"PO-Revision-Date: 2015-01-28 10:24+0200\n" -"Last-Translator: Liudas Ališauskas <liudas@akmc.lt>\n" -"Language-Team: Lithuanian <kde-i18n-lt@kde.org>\n" +"PO-Revision-Date: 2015-12-30 18:08+0200\n" +"Last-Translator: Mindaugas Baranauskas <opensuse.lietuviu.kalba@gmail.com>\n" +"Language-Team: lt <kde-i18n-lt@kde.org>\n" "Language: lt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -46,7 +47,7 @@ msgstr "" "Spauskite mygtuką, tada įveskite klavišų derinį taip, tarsi būtumėte " "programoje.\n" -"Pavyzdžiui kombinacijai Ctrl+A: laikykite Ctrl ir spauskite A." +"Pavyzdžiui kombinacijai Vald+A: laikykite Vald ir spauskite A." #: qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:275 msgid "Reserved Shortcut" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.17.0/src/calendarevents/CMakeLists.txt new/kdeclarative-5.18.0/src/calendarevents/CMakeLists.txt --- old/kdeclarative-5.17.0/src/calendarevents/CMakeLists.txt 2015-12-06 22:21:30.000000000 +0100 +++ new/kdeclarative-5.18.0/src/calendarevents/CMakeLists.txt 2016-01-02 17:29:11.000000000 +0100 @@ -28,6 +28,6 @@ install (FILES calendareventsplugin.h - calendarevents_export.h + ${CMAKE_CURRENT_BINARY_DIR}/calendarevents_export.h DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/KDeclarative/calendarevents COMPONENT Devel ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.17.0/src/calendarevents/calendarevents_export.h new/kdeclarative-5.18.0/src/calendarevents/calendarevents_export.h --- old/kdeclarative-5.17.0/src/calendarevents/calendarevents_export.h 2015-12-06 22:21:30.000000000 +0100 +++ new/kdeclarative-5.18.0/src/calendarevents/calendarevents_export.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,37 +0,0 @@ -/* This file is part of the KDE project - * Copyright (C) 2007 David Faure <faure@kde.org> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#ifndef CALENDAREVENTS_EXPORT_H -#define CALENDAREVENTS_EXPORT_H - -#include <QtCore/QtGlobal> - -#ifndef CALENDAREVENTS_EXPORT -/* We are building this library */ -# define CALENDAREVENTS_EXPORT __attribute__((visibility("default"))) -# else -/* We are using this library */ -# define CALENDAREVENTS_EXPORT __attribute__((visibility("default"))) -#endif - -# ifndef CALENDAREVENTS_EXPORT_DEPRECATED -# define CALENDAREVENTS_EXPORT_DEPRECATED Q_DECL_DEPRECATED CALENDAREVENTS_EXPORT -# endif - -#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.17.0/src/qmlcontrols/draganddrop/DeclarativeDragArea.cpp new/kdeclarative-5.18.0/src/qmlcontrols/draganddrop/DeclarativeDragArea.cpp --- old/kdeclarative-5.17.0/src/qmlcontrols/draganddrop/DeclarativeDragArea.cpp 2015-12-06 22:21:30.000000000 +0100 +++ new/kdeclarative-5.18.0/src/qmlcontrols/draganddrop/DeclarativeDragArea.cpp 2016-01-02 17:29:11.000000000 +0100 @@ -47,6 +47,7 @@ m_target(0), m_enabled(true), m_draggingJustStarted(false), + m_dragActive(false), m_supportedActions(Qt::MoveAction), m_defaultAction(Qt::MoveAction), m_data(new DeclarativeMimeData()) // m_data is owned by us, and we shouldn't pass it to Qt directly as it will automatically delete it after the drag and drop. @@ -110,6 +111,11 @@ setSource(0); } +bool DeclarativeDragArea::dragActive() const +{ + return m_dragActive; +} + // target QQuickItem* DeclarativeDragArea::target() const { @@ -304,11 +310,17 @@ //drag->setHotSpot(QPoint(drag->pixmap().width()/2, drag->pixmap().height()/2)); // TODO: Make a property for that //setCursor(Qt::OpenHandCursor); //TODO? Make a property for the cursor + m_dragActive = true; + emit dragActiveChanged(); emit dragStarted(); Qt::DropAction action = drag->exec(m_supportedActions, m_defaultAction); setKeepMouseGrab(false); + + m_dragActive = false; + emit dragActiveChanged(); emit drop(action); + ungrabMouse(); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.17.0/src/qmlcontrols/draganddrop/DeclarativeDragArea.h new/kdeclarative-5.18.0/src/qmlcontrols/draganddrop/DeclarativeDragArea.h --- old/kdeclarative-5.17.0/src/qmlcontrols/draganddrop/DeclarativeDragArea.h 2015-12-06 22:21:30.000000000 +0100 +++ new/kdeclarative-5.18.0/src/qmlcontrols/draganddrop/DeclarativeDragArea.h 2016-01-02 17:29:11.000000000 +0100 @@ -86,6 +86,13 @@ */ Q_PROPERTY(QVariant delegateImage READ delegateImage WRITE setDelegateImage NOTIFY delegateImageChanged) + /** + * Whether a drag currently originates from this drag area. + * + * @since 5.19 + */ + Q_PROPERTY(bool dragActive READ dragActive NOTIFY dragActiveChanged) + public: DeclarativeDragArea(QQuickItem *parent=0); ~DeclarativeDragArea(); @@ -101,6 +108,8 @@ void setSource(QQuickItem* source); void resetSource(); + bool dragActive() const; + bool isEnabled() const; void setEnabled(bool enabled); @@ -120,6 +129,7 @@ Q_SIGNALS: void dragStarted(); void delegateChanged(); + void dragActiveChanged(); void sourceChanged(); void targetChanged(); void dataChanged(); @@ -142,6 +152,7 @@ QQuickItem* m_target; bool m_enabled; bool m_draggingJustStarted; + bool m_dragActive; Qt::DropActions m_supportedActions; Qt::DropAction m_defaultAction; DeclarativeMimeData* const m_data; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.17.0/src/qmlcontrols/kquickcontrolsaddons/mimedatabase.cpp new/kdeclarative-5.18.0/src/qmlcontrols/kquickcontrolsaddons/mimedatabase.cpp --- old/kdeclarative-5.17.0/src/qmlcontrols/kquickcontrolsaddons/mimedatabase.cpp 2015-12-06 22:21:30.000000000 +0100 +++ new/kdeclarative-5.18.0/src/qmlcontrols/kquickcontrolsaddons/mimedatabase.cpp 2016-01-02 17:29:11.000000000 +0100 @@ -30,6 +30,7 @@ QJsonObject ret; ret["name"] = type.name(); ret["iconName"] = type.iconName(); + ret["comment"] = type.comment(); return ret; }
participants (1)
-
root@hilbert.suse.de