Hello community,

here is the log from the commit of package messagelib for openSUSE:Factory 
checked in at 2016-07-21 07:44:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/messagelib (Old)
 and      /work/SRC/openSUSE:Factory/.messagelib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "messagelib"

Changes:
--------
--- /work/SRC/openSUSE:Factory/messagelib/messagelib.changes    2016-06-20 
10:57:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.messagelib.new/messagelib.changes       
2016-07-21 07:44:12.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Jul  7 23:29:45 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.04.3
+   * KDE Applications 16.04.3
+   * https://www.kde.org/announcements/announce-applications-16.04.3.php
+
+
+-------------------------------------------------------------------

Old:
----
  messagelib-16.04.2.tar.xz

New:
----
  messagelib-16.04.3.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ messagelib.spec ++++++
--- /var/tmp/diff_new_pack.OkpKIR/_old  2016-07-21 07:44:13.000000000 +0200
+++ /var/tmp/diff_new_pack.OkpKIR/_new  2016-07-21 07:44:13.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           messagelib
-Version:        16.04.2
+Version:        16.04.3
 Release:        0
 Summary:        Base package of kdepim
 License:        GPL-2.0 and GPL-3.0 and LGPL-2.1+

++++++ messagelib-16.04.2.tar.xz -> messagelib-16.04.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/messagelib-16.04.2/CMakeLists.txt 
new/messagelib-16.04.3/CMakeLists.txt
--- old/messagelib-16.04.2/CMakeLists.txt       2016-05-25 13:24:53.000000000 
+0200
+++ new/messagelib-16.04.3/CMakeLists.txt       2016-07-04 13:15:59.000000000 
+0200
@@ -18,7 +18,7 @@
 include(ECMQtDeclareLoggingCategory)
 include(ECMAddTests)
 
-set(MESSAGELIB_LIB_VERSION "5.2.2")
+set(MESSAGELIB_LIB_VERSION "5.2.3")
 
 set(KF5_VERSION "5.19.0")
 set(KDEPIMLIBS_LIB_VERSION "5.2.0")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/messagelib-16.04.2/messagecomposer/src/attachment/attachmentmodel.cpp 
new/messagelib-16.04.3/messagecomposer/src/attachment/attachmentmodel.cpp
--- old/messagelib-16.04.2/messagecomposer/src/attachment/attachmentmodel.cpp   
2016-05-25 13:24:53.000000000 +0200
+++ new/messagelib-16.04.3/messagecomposer/src/attachment/attachmentmodel.cpp   
2016-07-04 13:15:59.000000000 +0200
@@ -161,7 +161,7 @@
 
         QTemporaryDir *tempDir = new QTemporaryDir; // Will remove the 
directory on destruction.
         d->tempDirs.append(tempDir);
-        const QString fileName = tempDir->path() + attachmentName;
+        const QString fileName = tempDir->path() + QLatin1Char('/') + 
attachmentName;
         QFile f(fileName);
         if (!f.open(QIODevice::WriteOnly)) {
             qCWarning(MESSAGECOMPOSER_LOG) << "Cannot write attachment:" << 
f.errorString();
@@ -178,7 +178,7 @@
         QUrl url;
         url.setScheme(QStringLiteral("file"));
         url.setPath(fileName);
-        qCDebug(MESSAGECOMPOSER_LOG) << url;
+        qCDebug(MESSAGECOMPOSER_LOG) <<" temporary file " << url;
         urls.append(url);
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/messagelib-16.04.2/messagecore/src/utils/stringutil.cpp 
new/messagelib-16.04.3/messagecore/src/utils/stringutil.cpp
--- old/messagelib-16.04.2/messagecore/src/utils/stringutil.cpp 2016-05-25 
13:24:53.000000000 +0200
+++ new/messagelib-16.04.3/messagecore/src/utils/stringutil.cpp 2016-07-04 
13:15:59.000000000 +0200
@@ -533,7 +533,7 @@
     QString result;
     int numberAddresses = 0;
     bool expandableInserted = false;
-    KIdentityManagement::IdentityManager *im = new 
KIdentityManagement::IdentityManager(true);
+    KIdentityManagement::IdentityManager im(true);
 
     foreach (const KMime::Types::Mailbox &mailbox, mailboxList) {
         if (!mailbox.prettyAddress().isEmpty()) {
@@ -549,7 +549,7 @@
                           + 
QString::fromLatin1(QUrl::toPercentEncoding(KEmailAddress::encodeMailtoUrl(mailbox.prettyAddress(KMime::Types::Mailbox::QuoteWhenNecessary)).path()))
                           + QLatin1String("\" ") + cssStyle + QLatin1Char('>');
             }
-            const bool foundMe = (im->identities().count() == 1) && 
(im->identityForAddress(mailbox.prettyAddress()) != 
KIdentityManagement::Identity::null());
+            const bool foundMe = (im.identities().count() == 1) && 
(im.identityForAddress(mailbox.prettyAddress()) != 
KIdentityManagement::Identity::null());
             const QString i18nMe = i18nc("signal that this email is defined in 
my identity", "Me");
             if (display == DisplayNameOnly) {
                 if (!mailbox.name().isEmpty()) { // Fallback to the email 
address when the name is not set.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/messagelib-16.04.2/messageviewer/src/adblock/adblockmanager.cpp 
new/messagelib-16.04.3/messageviewer/src/adblock/adblockmanager.cpp
--- old/messagelib-16.04.2/messageviewer/src/adblock/adblockmanager.cpp 
2016-05-25 13:24:53.000000000 +0200
+++ new/messagelib-16.04.3/messageviewer/src/adblock/adblockmanager.cpp 
2016-07-04 13:15:59.000000000 +0200
@@ -46,8 +46,10 @@
 #include <QNetworkRequest>
 #include <QtConcurrent/QtConcurrentRun>
 #include <QFile>
+#include <QDir>
 #include <QDateTime>
 #include <QWebFrame>
+#include <QStandardPaths>
 #include <QRegularExpression>
 #include <KConfigGroup>
 
@@ -86,6 +88,8 @@
     : QObject(parent),
       d(new AdBlockManagerPrivate)
 {
+    const QString savedPath = 
QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + 
QStringLiteral("/kmail2");
+    QDir().mkpath(savedPath);
     loadSettings();
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/messagelib-16.04.2/messageviewer/src/header/grantleeheaderformatter.cpp 
new/messagelib-16.04.3/messageviewer/src/header/grantleeheaderformatter.cpp
--- old/messagelib-16.04.2/messageviewer/src/header/grantleeheaderformatter.cpp 
2016-05-25 13:24:53.000000000 +0200
+++ new/messagelib-16.04.3/messageviewer/src/header/grantleeheaderformatter.cpp 
2016-07-04 13:15:59.000000000 +0200
@@ -138,7 +138,7 @@
         headerObject.insert(QStringLiteral("ccMailbox"), 
QVariant::fromValue(message->cc()));
         const QString val = 
MessageCore::StringUtil::emailAddrAsAnchor(message->cc(), 
MessageCore::StringUtil::DisplayFullAddress,
                             QString(), MessageCore::StringUtil::ShowLink,
-                            MessageCore::StringUtil::ExpandableAddresses, 
QStringLiteral("FullToAddressList"));
+                            MessageCore::StringUtil::ExpandableAddresses, 
QStringLiteral("FullCcAddressList"));
         headerObject.insert(QStringLiteral("ccExpandable"), val);
     }
 
@@ -148,10 +148,6 @@
         headerObject.insert(QStringLiteral("bccNameOnly"), 
StringUtil::emailAddrAsAnchor(message->bcc(), StringUtil::DisplayNameOnly));
         headerObject.insert(QStringLiteral("bccStr"), 
message->bcc()->asUnicodeString());
         headerObject.insert(QStringLiteral("bccMailbox"), 
QVariant::fromValue(message->bcc()));
-        const QString val = 
MessageCore::StringUtil::emailAddrAsAnchor(message->bcc(), 
MessageCore::StringUtil::DisplayFullAddress,
-                            QString(), MessageCore::StringUtil::ShowLink,
-                            MessageCore::StringUtil::ExpandableAddresses, 
QStringLiteral("FullToAddressList"));
-        headerObject.insert(QStringLiteral("bccExpandable"), val);
     }
     headerObject.insert(QStringLiteral("fromi18n"), i18n("From:"));
     headerObject.insert(QStringLiteral("from"),  
StringUtil::emailAddrAsAnchor(message->from(), StringUtil::DisplayFullAddress));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/messagelib-16.04.2/messageviewer/src/viewer/bodypartformatter.cpp 
new/messagelib-16.04.3/messageviewer/src/viewer/bodypartformatter.cpp
--- old/messagelib-16.04.2/messageviewer/src/viewer/bodypartformatter.cpp       
2016-05-25 13:24:53.000000000 +0200
+++ new/messagelib-16.04.3/messageviewer/src/viewer/bodypartformatter.cpp       
2016-07-04 13:15:59.000000000 +0200
@@ -210,8 +210,8 @@
 
     insert("text", "html", TextHtmlBodyPartFormatter::create());
     insert("text", "rtf", AnyTypeBodyPartFormatter::create());
-    insert("text", "vcard", AnyTypeBodyPartFormatter::create());
-    insert("text", "x-vcard", AnyTypeBodyPartFormatter::create());
+    //insert("text", "vcard", AnyTypeBodyPartFormatter::create());
+    //insert("text", "x-vcard", AnyTypeBodyPartFormatter::create());
     insert("text", "plain", MailmanBodyPartFormatter::create());
     insert("text", "plain", TextPlainBodyPartFormatter::create());
     insert("text", "*", MailmanBodyPartFormatter::create());
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/messagelib-16.04.2/messageviewer/src/viewer/viewer_p.cpp 
new/messagelib-16.04.3/messageviewer/src/viewer/viewer_p.cpp
--- old/messagelib-16.04.2/messageviewer/src/viewer/viewer_p.cpp        
2016-05-25 13:24:53.000000000 +0200
+++ new/messagelib-16.04.3/messageviewer/src/viewer/viewer_p.cpp        
2016-07-04 13:15:59.000000000 +0200
@@ -1873,13 +1873,15 @@
             const QString href = mNodeHelper->asHREF(node, 
QStringLiteral("header"));
             html += QLatin1String("<a href=\"") + href +
                     QLatin1String("\">");
-            QString imageMaxSize;
+            const QString imageMaxSize = QStringLiteral("width=\"16\" 
height=\"16\"");
+#if 0
             if (!info.icon.isEmpty()) {
                 QImage tmpImg(info.icon);
                 if (tmpImg.width() > 48 || tmpImg.height() > 48) {
                     imageMaxSize = QStringLiteral("width=\"48\" 
height=\"48\"");
                 }
             }
+#endif
             html += QStringLiteral("<img %1 style=\"vertical-align:middle;\" 
src=\"").arg(imageMaxSize) + info.icon + QLatin1String("\"/>&nbsp;");
             const int elidedTextSize = headerStylePlugin()->elidedTextSize();
             if (elidedTextSize == -1) {
@@ -2288,7 +2290,7 @@
 
     link += QStringLiteral("<div style=\"text-align: %1;\">").arg(textAlign) +
             QStringLiteral("<a href=\"%1\">").arg(urlHandle) +
-            QStringLiteral("<img src=\"%1\">").arg(QUrl::fromLocalFile(imgpath 
+ imgSrc).url()) +
+            QStringLiteral("<img src=\"%1\" width=\"22\" 
height=\"22\">").arg(QUrl::fromLocalFile(imgpath + imgSrc).url()) +
             QStringLiteral("</a></div>");
 
     html.prepend(link);


Reply via email to