Hello community, here is the log from the commit of package kimap for openSUSE:Factory checked in at 2018-05-16 11:30:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kimap (Old) and /work/SRC/openSUSE:Factory/.kimap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kimap" Wed May 16 11:30:03 2018 rev:32 rq:607184 version:18.04.1 Changes: -------- --- /work/SRC/openSUSE:Factory/kimap/kimap.changes 2018-04-25 09:50:26.410857129 +0200 +++ /work/SRC/openSUSE:Factory/.kimap.new/kimap.changes 2018-05-16 11:30:05.925384389 +0200 @@ -1,0 +2,13 @@ +Fri May 11 05:17:56 UTC 2018 - [email protected] + +- Update to 18.04.1 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-18.04.1.php +- Changes since 18.04.0: + * Session: emit connectionLost when getting disconnected before the initial OK + * IMAP fake server: provide more output in case the scenario is incomplete. + * KIMAP fake server: add support for disconnect before response + * Fix ctest with CTEST_PARALLEL_LEVEL being set. + +------------------------------------------------------------------- Old: ---- kimap-18.04.0.tar.xz New: ---- kimap-18.04.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kimap.spec ++++++ --- /var/tmp/diff_new_pack.S8M8oY/_old 2018-05-16 11:30:08.621286391 +0200 +++ /var/tmp/diff_new_pack.S8M8oY/_new 2018-05-16 11:30:08.625286245 +0200 @@ -20,7 +20,7 @@ %define kf5_version 5.19.0 Name: kimap -Version: 18.04.0 +Version: 18.04.1 Release: 0 %define kf5_version 5.26.0 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) ++++++ kimap-18.04.0.tar.xz -> kimap-18.04.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kimap-18.04.0/CMakeLists.txt new/kimap-18.04.1/CMakeLists.txt --- old/kimap-18.04.0/CMakeLists.txt 2018-04-13 02:13:56.000000000 +0200 +++ new/kimap-18.04.1/CMakeLists.txt 2018-05-08 02:21:01.000000000 +0200 @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.0) -set(PIM_VERSION "5.8.0") +set(PIM_VERSION "5.8.1") project(KIMAP VERSION ${PIM_VERSION}) @@ -24,7 +24,7 @@ set(QT_REQUIRED_VERSION "5.8.0") set(KIMAP_LIB_VERSION ${PIM_VERSION}) -set(KMIME_LIBS_VERSION "5.8.0") +set(KMIME_LIBS_VERSION "5.8.1") ecm_setup_version(PROJECT VARIABLE_PREFIX KIMAP VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kimap_version.h" PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5IMAPConfigVersion.cmake" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kimap-18.04.0/autotests/CMakeLists.txt new/kimap-18.04.1/autotests/CMakeLists.txt --- old/kimap-18.04.0/autotests/CMakeLists.txt 2018-04-10 13:51:17.000000000 +0200 +++ new/kimap-18.04.1/autotests/CMakeLists.txt 2018-04-30 16:17:50.000000000 +0200 @@ -13,6 +13,7 @@ ecm_mark_as_test(${_testname}) target_link_libraries(${_testname} KF5IMAP Qt5::Test kimaptest Qt5::Network) set_target_properties(${_testname} PROPERTIES COMPILE_FLAGS -DTEST_DATA="\\"${CMAKE_CURRENT_SOURCE_DIR}\\"") + set_tests_properties(${_testname} PROPERTIES RUN_SERIAL TRUE) endforeach() endmacro() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kimap-18.04.0/autotests/kimaptest/fakeserver.cpp new/kimap-18.04.1/autotests/kimaptest/fakeserver.cpp --- old/kimap-18.04.0/autotests/kimaptest/fakeserver.cpp 2018-04-10 13:51:17.000000000 +0200 +++ new/kimap-18.04.1/autotests/kimaptest/fakeserver.cpp 2018-04-30 16:17:50.000000000 +0200 @@ -70,11 +70,16 @@ QMutexLocker locker(&m_mutex); QTcpSocket *socket = qobject_cast<QTcpSocket *>(sender()); - Q_ASSERT(socket != 0); + QVERIFY(socket != 0); int scenarioNumber = m_clientSockets.indexOf(socket); - QVERIFY(!m_scenarios[scenarioNumber].isEmpty()); + if (m_scenarios[scenarioNumber].isEmpty()) { + KIMAP::ImapStreamParser *clientParser = m_clientParsers[scenarioNumber]; + QByteArray received = "C: " + clientParser->readUntilCommandEnd().trimmed(); + qWarning() << "Scenario" << scenarioNumber << "finished, but we got command" << received; + QVERIFY(false); + } readClientPart(scenarioNumber); writeServerPart(scenarioNumber); @@ -245,7 +250,7 @@ } if (!scenario.isEmpty()) { - QVERIFY(scenario.first().startsWith("S: ")); + QVERIFY(scenario.first().startsWith("S: ") || scenario.first().startsWith("X")); } m_scenarios[scenarioNumber] = scenario; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kimap-18.04.0/autotests/testsession.cpp new/kimap-18.04.1/autotests/testsession.cpp --- old/kimap-18.04.0/autotests/testsession.cpp 2018-04-10 13:51:17.000000000 +0200 +++ new/kimap-18.04.1/autotests/testsession.cpp 2018-04-30 16:17:50.000000000 +0200 @@ -76,7 +76,6 @@ QTest::qWait(500); QCOMPARE((int)s.state(), (int)KIMAP::Session::Disconnected); QCOMPARE(spyFail.count(), 1); - QEXPECT_FAIL("", "FIXME KDE5: Don't emit connectionLost() on a failed connection", Continue); QCOMPARE(spyLost.count(), 0); QCOMPARE(spyState.count(), 0); @@ -115,8 +114,8 @@ // connectionFailed() signal should have been emitted. QTest::qWait(500); QCOMPARE((int)s.state(), (int)KIMAP::Session::Disconnected); - QCOMPARE(spyFail.count(), 1); - QCOMPARE(spyLost.count(), 0); + QCOMPARE(spyFail.count(), 0); + QCOMPARE(spyLost.count(), 1); QCOMPARE(spyState.count(), 0); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kimap-18.04.0/po/gl/libkimap5.po new/kimap-18.04.1/po/gl/libkimap5.po --- old/kimap-18.04.0/po/gl/libkimap5.po 2018-04-13 02:13:56.000000000 +0200 +++ new/kimap-18.04.1/po/gl/libkimap5.po 2018-05-08 02:21:01.000000000 +0200 @@ -6,14 +6,14 @@ # Xosé <[email protected]>, 2009. # Xosé <[email protected]>, 2009, 2011. # Adrián Chaves Fernández (Gallaecio) <[email protected]>, 2016, 2017. -# Adrián Chaves (Gallaecio) <[email protected]>, 2017. +# Adrián Chaves (Gallaecio) <[email protected]>, 2017, 2018. msgid "" msgstr "" "Project-Id-Version: libkimap\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2017-08-15 03:41+0200\n" -"PO-Revision-Date: 2017-10-22 09:46+0100\n" -"Last-Translator: Adrián Chaves (Gallaecio) <[email protected]>\n" +"PO-Revision-Date: 2018-04-20 18:59+0100\n" +"Last-Translator: Adrian Chaves <[email protected]>\n" "Language-Team: Galician <[email protected]>\n" "Language: gl\n" "MIME-Version: 1.0\n" @@ -199,7 +199,7 @@ #: movejob.cpp:54 #, kde-format msgid "Move" -msgstr "" +msgstr "Mover" #: myrightsjob.cpp:44 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kimap-18.04.0/po/zh_CN/libkimap5.po new/kimap-18.04.1/po/zh_CN/libkimap5.po --- old/kimap-18.04.0/po/zh_CN/libkimap5.po 2018-04-13 02:13:56.000000000 +0200 +++ new/kimap-18.04.1/po/zh_CN/libkimap5.po 2018-05-08 02:21:01.000000000 +0200 @@ -8,7 +8,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2017-08-15 03:41+0200\n" -"PO-Revision-Date: 2018-04-05 09:39-0400\n" +"PO-Revision-Date: 2018-04-26 06:08-0400\n" "Last-Translator: guoyunhebrave <[email protected]>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kimap-18.04.0/src/session.cpp new/kimap-18.04.1/src/session.cpp --- old/kimap-18.04.0/src/session.cpp 2018-04-10 13:51:17.000000000 +0200 +++ new/kimap-18.04.1/src/session.cpp 2018-04-30 16:17:50.000000000 +0200 @@ -393,7 +393,7 @@ logger->disconnectionOccured(); } - if (state != Session::Disconnected) { + if (isSocketConnected) { setState(Session::Disconnected); emit q->connectionLost(); } else { @@ -427,7 +427,6 @@ thread->closeSocket(); } else { emit q->connectionFailed(); - emit q->connectionLost(); // KDE5: Remove this. We shouldn't emit connectionLost() if we weren't connected in the first place clearJobQueue(); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kimap-18.04.0/src/session.h new/kimap-18.04.1/src/session.h --- old/kimap-18.04.0/src/session.h 2018-04-10 13:51:17.000000000 +0200 +++ new/kimap-18.04.1/src/session.h 2018-04-30 16:17:50.000000000 +0200 @@ -99,18 +99,11 @@ void jobQueueSizeChanged(int queueSize); /** - @deprecated - Emitted when we loose a previously established connection + Emitted when we lose a previously established connection Likely reasons: server closed the connection, loss of internet connectivity, etc... - - For historical reasons, this signal is also emitted in the event of a failed connection, but - you should not rely on this behavior. - - New implementations should use connectionFailed() to detect a failure to connect to the host, - and stateChanged() to detect a loss of connectivity. */ - KIMAP_DEPRECATED void connectionLost(); + void connectionLost(); /** Emitted when the Session couldn't connect to the host. @@ -128,8 +121,7 @@ /** Emitted when the session's state changes. - You can use this signal to detect a connection loss (ie: stateChanged is emitted with newState - == KIMAP::Session::Disconnected) + Not very useful after all... :-) If you want to receive the stateChanged arguments in your slot, you must register the State enum with @c Q_DECLARE_METATYPE(KIMAP::Session::State) and @c qRegisterMetaType<KIMAP::Session::State>();
