Hello community, here is the log from the commit of package kparts for openSUSE:Factory checked in at 2020-01-14 21:02:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kparts (Old) and /work/SRC/openSUSE:Factory/.kparts.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kparts" Tue Jan 14 21:02:58 2020 rev:73 rq:763479 version:5.66.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kparts/kparts.changes 2019-12-18 14:43:06.549795655 +0100 +++ /work/SRC/openSUSE:Factory/.kparts.new.6675/kparts.changes 2020-01-14 21:05:23.734710440 +0100 @@ -1,0 +2,12 @@ +Sun Jan 5 09:02:17 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Update to 5.66.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.66.0.php +- Changes since 5.65.0: + * Port QRegExp to QRegularExpression + * Remove endl. qCritical/qDebug already add a endl. + * Update the obsolete projects.kde.org URL + +------------------------------------------------------------------- Old: ---- kparts-5.65.0.tar.xz kparts-5.65.0.tar.xz.sig New: ---- kparts-5.66.0.tar.xz kparts-5.66.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kparts.spec ++++++ --- /var/tmp/diff_new_pack.yuzB5X/_old 2020-01-14 21:05:24.182710648 +0100 +++ /var/tmp/diff_new_pack.yuzB5X/_new 2020-01-14 21:05:24.182710648 +0100 @@ -1,7 +1,7 @@ # # spec file for package kparts # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,14 @@ %define lname libKF5Parts5 -%define _tar_path 5.65 +%define _tar_path 5.66 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang Name: kparts -Version: 5.65.0 +Version: 5.66.0 Release: 0 Summary: Plugin framework for user interface components License: LGPL-2.1-or-later ++++++ kparts-5.65.0.tar.xz -> kparts-5.66.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.65.0/CMakeLists.txt new/kparts-5.66.0/CMakeLists.txt --- old/kparts-5.65.0/CMakeLists.txt 2019-12-07 22:46:44.000000000 +0100 +++ new/kparts-5.66.0/CMakeLists.txt 2020-01-04 11:11:48.000000000 +0100 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.65.0") # handled by release scripts -set(KF5_DEP_VERSION "5.65.0") # handled by release scripts +set(KF5_VERSION "5.66.0") # handled by release scripts +set(KF5_DEP_VERSION "5.66.0") # handled by release scripts project(KParts VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.65.0 NO_MODULE) -set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules") +find_package(ECM 5.66.0 NO_MODULE) +set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) @@ -32,7 +32,7 @@ PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5PartsConfigVersion.cmake" SOVERSION 5) -set(REQUIRED_QT_VERSION 5.11.0) +set(REQUIRED_QT_VERSION 5.12.0) find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core Widgets Xml) find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) @@ -56,7 +56,7 @@ ki18n_install(po) endif() add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) -add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x053f00) +add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054100) add_definitions(-DQT_NO_FOREACH) add_subdirectory( src ) add_subdirectory(templates) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.65.0/po/ml/kparts5.po new/kparts-5.66.0/po/ml/kparts5.po --- old/kparts-5.65.0/po/ml/kparts5.po 2019-12-07 22:46:44.000000000 +0100 +++ new/kparts-5.66.0/po/ml/kparts5.po 2020-01-04 11:11:48.000000000 +0100 @@ -12,15 +12,15 @@ "Project-Id-Version: kdelibs4\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2019-11-24 02:54+0100\n" -"PO-Revision-Date: 2010-12-29 15:32+0530\n" -"Last-Translator: \n" -"Language-Team: <[email protected]>\n" +"PO-Revision-Date: 2019-12-12 21:01+0000\n" +"Last-Translator: Vivek KJ Pazhedath <[email protected]>\n" +"Language-Team: <[email protected]>\n" "Language: ml\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: KBabel 1.11.4\n" +"X-Generator: Weblate 3.9.1\n" "X-Poedit-Country: INDIA\n" #, kde-format @@ -31,9 +31,7 @@ #, kde-format msgctxt "EMAIL OF TRANSLATORS" msgid "Your emails" -msgstr "" -"[email protected], [email protected], [email protected], gnuanu@gmail." -"com, [email protected]" +msgstr "[email protected],[email protected],[email protected]" #: browserextension.cpp:240 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.65.0/src/browserextension.cpp new/kparts-5.66.0/src/browserextension.cpp --- old/kparts-5.65.0/src/browserextension.cpp 2019-12-07 22:46:44.000000000 +0100 +++ new/kparts-5.66.0/src/browserextension.cpp 2020-01-04 11:11:48.000000000 +0100 @@ -27,7 +27,7 @@ #include <QClipboard> #include <QTimer> #include <QMap> -#include <QRegExp> +#include <QRegularExpression> #include <QDebug> @@ -212,7 +212,7 @@ QString plain(QStringLiteral("plain")); QString url = QApplication::clipboard()->text(plain, QClipboard::Selection).trimmed(); // Remove linefeeds and any whitespace surrounding it. - url.remove(QRegExp(QStringLiteral("[\\ ]*\\n+[\\ ]*"))); + url.remove(QRegularExpression(QStringLiteral("[\\ ]*\\n+[\\ ]*"))); // Check if it's a URL QStringList filters = KUriFilter::self()->pluginNames(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.65.0/src/partmanager.cpp new/kparts-5.66.0/src/partmanager.cpp --- old/kparts-5.65.0/src/partmanager.cpp 2019-12-07 22:46:44.000000000 +0100 +++ new/kparts-5.66.0/src/partmanager.cpp 2020-01-04 11:11:48.000000000 +0100 @@ -358,12 +358,12 @@ if (w->focusPolicy() == Qt::NoFocus) { qWarning() << "Part '" << part->objectName() << "' has a widget " << w->objectName() << " with a focus policy of NoFocus. It should have at least a" - << "ClickFocus policy, for part activation to work well." << endl; + << "ClickFocus policy, for part activation to work well."; } if (part->widget() && part->widget()->focusPolicy() == Qt::TabFocus) { qWarning() << "Part '" << part->objectName() << "' has a widget " << w->objectName() << " with a focus policy of TabFocus. It should have at least a" - << "ClickFocus policy, for part activation to work well." << endl; + << "ClickFocus policy, for part activation to work well."; } w->setFocus(); w->show(); @@ -430,7 +430,7 @@ #ifdef DEBUG_PARTMANAGER qDebug() << "PartManager::setActivePart d->m_activePart=" << d->m_activePart << "<->part=" << part - << " d->m_activeWidget=" << d->m_activeWidget << "<->widget=" << widget << endl; + << " d->m_activeWidget=" << d->m_activeWidget << "<->widget=" << widget; #endif // don't activate twice diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.65.0/src/readwritepart.cpp new/kparts-5.66.0/src/readwritepart.cpp --- old/kparts-5.65.0/src/readwritepart.cpp 2019-12-07 22:46:44.000000000 +0100 +++ new/kparts-5.66.0/src/readwritepart.cpp 2020-01-04 11:11:48.000000000 +0100 @@ -69,7 +69,7 @@ // qDebug() << "setModified(" << (modified ? "true" : "false") << ")"; if (!d->m_bReadWrite && modified) { - qCritical() << "Can't set a read-only document to 'modified' !" << endl; + qCritical() << "Can't set a read-only document to 'modified' !"; return; } d->m_bModified = modified; @@ -169,7 +169,7 @@ Q_D(ReadWritePart); if (!url.isValid()) { - qCritical() << "saveAs: Malformed URL " << url << endl; + qCritical() << "saveAs: Malformed URL " << url; return false; } d->m_duringSaveAs = true; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.65.0/tests/partviewer.cpp new/kparts-5.66.0/tests/partviewer.cpp --- old/kparts-5.65.0/tests/partviewer.cpp 2019-12-07 22:46:44.000000000 +0100 +++ new/kparts-5.66.0/tests/partviewer.cpp 2020-01-04 11:11:48.000000000 +0100 @@ -48,8 +48,6 @@ // Set a reasonable size resize(600, 350); - - slotFileOpen(); } PartViewer::~PartViewer() @@ -67,6 +65,9 @@ this); if (m_part) { + + qDebug() << "Loaded part" << m_part << "widget" << m_part->widget(); + setCentralWidget(m_part->widget()); // Integrate its GUI createGUI(m_part); @@ -92,6 +93,8 @@ if (argc > 1) { QUrl url = QUrl::fromUserInput(QLatin1String(argv[1])); shell->openUrl(url); + } else { + shell->slotFileOpen(); } shell->show(); return app.exec(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-5.65.0/tests/partviewer.h new/kparts-5.66.0/tests/partviewer.h --- old/kparts-5.65.0/tests/partviewer.h 2019-12-07 22:46:44.000000000 +0100 +++ new/kparts-5.66.0/tests/partviewer.h 2020-01-04 11:11:48.000000000 +0100 @@ -34,7 +34,7 @@ void openUrl(const QUrl &url); -protected Q_SLOTS: +public Q_SLOTS: void slotFileOpen(); private:
