Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qt6-mqtt for openSUSE:Factory 
checked in at 2023-01-11 14:33:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qt6-mqtt (Old)
 and      /work/SRC/openSUSE:Factory/.qt6-mqtt.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qt6-mqtt"

Wed Jan 11 14:33:57 2023 rev:18 rq:1057265 version:6.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/qt6-mqtt/qt6-mqtt.changes        2022-11-21 
15:29:06.580500285 +0100
+++ /work/SRC/openSUSE:Factory/.qt6-mqtt.new.32243/qt6-mqtt.changes     
2023-01-11 14:34:54.213179723 +0100
@@ -1,0 +2,6 @@
+Fri Jan  6 16:46:43 UTC 2023 - Christophe Marin <[email protected]>
+
+- Update to 6.4.2:
+  * https://www.qt.io/blog/qt-6.4.2-released
+
+-------------------------------------------------------------------

Old:
----
  qtmqtt-everywhere-src-6.4.1.tar.xz

New:
----
  qtmqtt-everywhere-src-6.4.2.tar.xz

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

Other differences:
------------------
++++++ qt6-mqtt.spec ++++++
--- /var/tmp/diff_new_pack.rk4GMv/_old  2023-01-11 14:34:54.657182233 +0100
+++ /var/tmp/diff_new_pack.rk4GMv/_new  2023-01-11 14:34:54.665182279 +0100
@@ -16,7 +16,7 @@
 #
 
 
-%define real_version 6.4.1
+%define real_version 6.4.2
 %define short_version 6.4
 %define tar_name qtmqtt-everywhere-src
 %define tar_suffix %{nil}
@@ -27,7 +27,7 @@
 %endif
 #
 Name:           qt6-mqtt%{?pkg_suffix}
-Version:        6.4.1
+Version:        6.4.2
 Release:        0
 Summary:        Qt 6 Module to implement MQTT protocol version 3.1 and 3.1.1
 License:        GPL-3.0-only WITH Qt-GPL-exception-1.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.rk4GMv/_old  2023-01-11 14:34:54.709182528 +0100
+++ /var/tmp/diff_new_pack.rk4GMv/_new  2023-01-11 14:34:54.713182550 +0100
@@ -1,9 +1,9 @@
 <services>
   <service name="tar_scm" mode="disabled">
    <param name="changesgenerate">disable</param>
-   <param name="version">6.4.1</param>
+   <param name="version">6.4.2</param>
    <param name="url">git://code.qt.io/qt/qtmqtt.git</param>
-   <param name="revision">v6.4.1</param>
+   <param name="revision">v6.4.2</param>
    <param name="scm">git</param>
    <param name="filename">qtmqtt-everywhere-src</param>
   </service>

++++++ qtmqtt-everywhere-src-6.4.1.tar.xz -> qtmqtt-everywhere-src-6.4.2.tar.xz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtmqtt-everywhere-src-6.4.1/.cmake.conf 
new/qtmqtt-everywhere-src-6.4.2/.cmake.conf
--- old/qtmqtt-everywhere-src-6.4.1/.cmake.conf 2022-11-08 19:49:51.000000000 
+0100
+++ new/qtmqtt-everywhere-src-6.4.2/.cmake.conf 2022-12-12 18:12:22.000000000 
+0100
@@ -1,2 +1,2 @@
-set(QT_REPO_MODULE_VERSION "6.4.1")
+set(QT_REPO_MODULE_VERSION "6.4.2")
 set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtmqtt-everywhere-src-6.4.1/dependencies.yaml 
new/qtmqtt-everywhere-src-6.4.2/dependencies.yaml
--- old/qtmqtt-everywhere-src-6.4.1/dependencies.yaml   2022-11-08 
19:49:51.000000000 +0100
+++ new/qtmqtt-everywhere-src-6.4.2/dependencies.yaml   2022-12-12 
18:12:22.000000000 +0100
@@ -1,7 +1,7 @@
 dependencies:
   ../qtbase:
-    ref: 905755304a474c942346774d930b92e3665c1bab
+    ref: e3e40c44d3f998a433a6a1080297c5f28e9a768f
     required: true
   ../qtdeclarative:
-    ref: a514640b2a38391fceaaac3ca01b390ad3d62f31
+    ref: 1b58f30087eedf42f16572d8ae1d6a5b18f3d698
     required: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.4.1/examples/mqtt/websocketsubscription/websocketiodevice.cpp
 
new/qtmqtt-everywhere-src-6.4.2/examples/mqtt/websocketsubscription/websocketiodevice.cpp
--- 
old/qtmqtt-everywhere-src-6.4.1/examples/mqtt/websocketsubscription/websocketiodevice.cpp
   2022-11-08 19:49:51.000000000 +0100
+++ 
new/qtmqtt-everywhere-src-6.4.2/examples/mqtt/websocketsubscription/websocketiodevice.cpp
   2022-12-12 18:12:22.000000000 +0100
@@ -5,6 +5,8 @@
 
 #include <QtCore/QDebug>
 
+#include <QtWebSockets/qwebsockethandshakeoptions.h>
+
 WebSocketIODevice::WebSocketIODevice(QObject *parent)
     : QIODevice(parent)
 {
@@ -14,13 +16,10 @@
 
 bool WebSocketIODevice::open(QIODevice::OpenMode mode)
 {
-    // Cannot use an URL because of missing sub protocol support
-    // Have to use QNetworkRequest, see QTBUG-38742
-    QNetworkRequest request;
-    request.setUrl(m_url);
-    request.setRawHeader("Sec-WebSocket-Protocol", m_protocol.constData());
+    QWebSocketHandshakeOptions options;
+    options.setSubprotocols({m_protocol});
 
-    m_socket.open(request);
+    m_socket.open(m_url, options);
 
     return QIODevice::open(mode);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.4.1/src/mqtt/qmqttconnection.cpp 
new/qtmqtt-everywhere-src-6.4.2/src/mqtt/qmqttconnection.cpp
--- old/qtmqtt-everywhere-src-6.4.1/src/mqtt/qmqttconnection.cpp        
2022-11-08 19:49:51.000000000 +0100
+++ new/qtmqtt-everywhere-src-6.4.2/src/mqtt/qmqttconnection.cpp        
2022-12-12 18:12:22.000000000 +0100
@@ -1599,7 +1599,7 @@
 {
     // String topic
     QMqttTopicName topic = readBufferTyped<QString>(&m_missingData);
-    const int topicLength = topic.name().length();
+    const int topicLength = topic.name().size();
 
     quint16 id = 0;
     if (m_currentPublish.qos > 0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.4.1/tests/auto/qmqttclient/tst_qmqttclient.cpp 
new/qtmqtt-everywhere-src-6.4.2/tests/auto/qmqttclient/tst_qmqttclient.cpp
--- old/qtmqtt-everywhere-src-6.4.1/tests/auto/qmqttclient/tst_qmqttclient.cpp  
2022-11-08 19:49:51.000000000 +0100
+++ new/qtmqtt-everywhere-src-6.4.2/tests/auto/qmqttclient/tst_qmqttclient.cpp  
2022-12-12 18:12:22.000000000 +0100
@@ -220,7 +220,7 @@
 
         QSignalSpy publishSpy(&publisher, SIGNAL(messageSent(qint32)));
         publisher.publish(testTopic, testMessage, 1, i == 1 ? true : false);
-        QTRY_COMPARE(publishSpy.count(), 1);
+        QTRY_COMPARE(publishSpy.size(), 1);
 
         VersionClient(mqttVersion, sub);
         sub.setClientId(QLatin1String("SubA"));
@@ -310,7 +310,7 @@
         else
             willClient.disconnectFromHost();
         QTest::qWait(500);
-        QTRY_COMPARE(messageSpy.count(), i);
+        QTRY_COMPARE(messageSpy.size(), i);
     }
 }
 
@@ -665,7 +665,7 @@
 
     QSignalSpy publishSpy(&client, &QMqttClient::messageSent);
     client.publish(topic, QByteArray("someContent"), quint8(qos));
-    QTRY_VERIFY2(publishSpy.count() == 1, "Could not publish message");
+    QTRY_VERIFY2(publishSpy.size() == 1, "Could not publish message");
     QTRY_VERIFY2(expectedStatus.isEmpty(), "Did not receive all status 
updates.");
 }
 
@@ -718,8 +718,8 @@
     QSignalSpy receiveSpy(&subscriber, &QMqttClient::messageReceived);
 
     publisher.publish(topic, QByteArray("someContent"), quint8(qos));
-    QTRY_VERIFY2(publishSpy.count() == 1, "Could not publish message");
-    QTRY_VERIFY2(receiveSpy.count() == 1, "Did not receive message");
+    QTRY_VERIFY2(publishSpy.size() == 1, "Could not publish message");
+    QTRY_VERIFY2(receiveSpy.size() == 1, "Did not receive message");
 
     QTRY_VERIFY2(expectedStatus.isEmpty(), "Did not receive all status 
updates.");
 }
@@ -803,7 +803,7 @@
 
     QSignalSpy publishSpy(&pub, &QMqttClient::messageSent);
     pub.publish(topic, "SomeData", 1);
-    QTRY_VERIFY2(publishSpy.count() == 1, "Could not finalize publication.");
+    QTRY_VERIFY2(publishSpy.size() == 1, "Could not finalize publication.");
     QTRY_VERIFY2(receiveBCounter == 0, "Did not receive both messages.");
     QTRY_VERIFY2(receiveB2Counter == 0, "Did not receive both messages.");
     QTRY_VERIFY2(receiveACounter == 1, "Did not receive non-overlapping 
message.");
@@ -848,7 +848,7 @@
 
     // Verify auto keep alive works
     QSignalSpy spy(&client, &QMqttClient::pingResponseReceived);
-    QTRY_VERIFY_WITH_TIMEOUT(spy.count() == 5, keepAlive * 1000 * 5 * 2);
+    QTRY_VERIFY_WITH_TIMEOUT(spy.size() == 5, keepAlive * 1000 * 5 * 2);
     spy.clear();
 
     client.disconnectFromHost();
@@ -880,7 +880,7 @@
     client.connectToHost();
     QTRY_COMPARE(client.state(), QMqttClient::Connected);
 
-    QTRY_VERIFY_WITH_TIMEOUT(spy.count() == 5, keepAlive * 1000 * 5 * 2);
+    QTRY_VERIFY_WITH_TIMEOUT(spy.size() == 5, keepAlive * 1000 * 5 * 2);
 
     client.disconnectFromHost();
     QTRY_COMPARE(client.state(), QMqttClient::Disconnected);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.4.1/tests/auto/qmqttconnectionproperties/tst_qmqttconnectionproperties.cpp
 
new/qtmqtt-everywhere-src-6.4.2/tests/auto/qmqttconnectionproperties/tst_qmqttconnectionproperties.cpp
--- 
old/qtmqtt-everywhere-src-6.4.1/tests/auto/qmqttconnectionproperties/tst_qmqttconnectionproperties.cpp
      2022-11-08 19:49:51.000000000 +0100
+++ 
new/qtmqtt-everywhere-src-6.4.2/tests/auto/qmqttconnectionproperties/tst_qmqttconnectionproperties.cpp
      2022-12-12 18:12:22.000000000 +0100
@@ -189,17 +189,17 @@
 
     QSignalSpy publishSpy(&client, SIGNAL(messageSent(qint32)));
     client.publish(topic, shortData, 1);
-    QTRY_COMPARE(publishSpy.count(), 1);
+    QTRY_COMPARE(publishSpy.size(), 1);
 
-    QTRY_COMPARE(subscribeSpy.count(), 1);
+    QTRY_COMPARE(subscribeSpy.size(), 1);
 
     client.publish(topic, overFlowData, 1);
-    QTRY_COMPARE(publishSpy.count(), 1);
+    QTRY_COMPARE(publishSpy.size(), 1);
 
     // We defined maximum size to receive is 500, hence the message should not 
be sent back
     // to us. Wait for some time and verify no message got sent to subscriber
     QTest::qWait(3000);
-    QTRY_COMPARE(subscribeSpy.count(), 1);
+    QTRY_COMPARE(subscribeSpy.size(), 1);
 }
 
 void tst_QMqttConnectionProperties::maximumTopicAlias()
@@ -240,9 +240,9 @@
 
         QMqttTopicName topic(topicBase + QString::number(i));
         client.publish(topic, msgContent, 1);
-        QTRY_VERIFY(publishSpy.count() == 1);
+        QTRY_VERIFY(publishSpy.size() == 1);
 
-        QVERIFY(transportSpy.count() == 1);
+        QVERIFY(transportSpy.size() == 1);
         const int dataSize = transportSpy.at(0).at(0).toInt();
         if (publishTransportSize == 0) {
             publishTransportSize = dataSize;
@@ -256,8 +256,8 @@
     QSignalSpy fullSpy(&client, SIGNAL(messageSent(qint32)));
     transportSpy.clear();
     
client.publish(QLatin1String("Qt/connprop/alias/full/with/long/topic/to/verify/bigger/size"),
 msgContent, 1);
-    QTRY_VERIFY(fullSpy.count() == 1);
-    QVERIFY(transportSpy.count() == 1);
+    QTRY_VERIFY(fullSpy.size() == 1);
+    QVERIFY(transportSpy.size() == 1);
     QVERIFY(transportSpy.at(0).at(0).toInt() > publishTransportSize);
 
     // Verify alias is used at sending second time
@@ -265,8 +265,8 @@
     fullSpy.clear();
 
     client.publish(topicBase + QLatin1String("0"), msgContent, 1);
-    QTRY_VERIFY(fullSpy.count() == 1);
-    QVERIFY(transportSpy.count() == 1);
+    QTRY_VERIFY(fullSpy.size() == 1);
+    QVERIFY(transportSpy.size() == 1);
     int usageSize = transportSpy.at(0).at(0).toInt();
     QVERIFY(usageSize < publishTransportSize);
 
@@ -277,16 +277,16 @@
     fullSpy.clear();
     transportSpy.clear();
     client.publish(overwrite, overProp, msgContent, 1);
-    QTRY_VERIFY(fullSpy.count() == 1);
-    QVERIFY(transportSpy.count() == 1);
+    QTRY_VERIFY(fullSpy.size() == 1);
+    QVERIFY(transportSpy.size() == 1);
     const int overwriteSize = transportSpy.at(0).at(0).toInt();
     QVERIFY(overwriteSize > publishTransportSize);
     // After resend new alias should be used and msg size reduced
     fullSpy.clear();
     transportSpy.clear();
     client.publish(overwrite, msgContent, 1);
-    QTRY_VERIFY(fullSpy.count() == 1);
-    QVERIFY(transportSpy.count() == 1);
+    QTRY_VERIFY(fullSpy.size() == 1);
+    QVERIFY(transportSpy.size() == 1);
     usageSize = transportSpy.at(0).at(0).toInt();
     QVERIFY(usageSize < overwriteSize);
 }
@@ -333,12 +333,12 @@
     QSignalSpy publishSpy(&client, &QMqttClient::messageSent);
     //QLoggingCategory::setFilterRules("qt.mqtt.connection*=true");
     client.publish(topic, msgContent, 1);
-    QTRY_VERIFY2(publishSpy.count() == 1, "Could not publish");
+    QTRY_VERIFY2(publishSpy.size() == 1, "Could not publish");
     QTRY_VERIFY2(receiveCounter == 1, "Did not receive initial message");
 
     publishSpy.clear();
     client.publish(topic, msgContent, 1);
-    QTRY_VERIFY2(publishSpy.count() == 1, "Could not publish");
+    QTRY_VERIFY2(publishSpy.size() == 1, "Could not publish");
     QTRY_VERIFY2(receiveCounter == 2, "Did not receive second aliases 
message");
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qtmqtt-everywhere-src-6.4.1/tests/auto/qmqttpublishproperties/tst_qmqttpublishproperties.cpp
 
new/qtmqtt-everywhere-src-6.4.2/tests/auto/qmqttpublishproperties/tst_qmqttpublishproperties.cpp
--- 
old/qtmqtt-everywhere-src-6.4.1/tests/auto/qmqttpublishproperties/tst_qmqttpublishproperties.cpp
    2022-11-08 19:49:51.000000000 +0100
+++ 
new/qtmqtt-everywhere-src-6.4.2/tests/auto/qmqttpublishproperties/tst_qmqttpublishproperties.cpp
    2022-12-12 18:12:22.000000000 +0100
@@ -159,8 +159,8 @@
     QSignalSpy subscribeSpy(sub, SIGNAL(messageReceived(QMqttMessage)));
     client.publish(testTopic, pubProp, QByteArray("Some Content"), 1);
 
-    QTRY_COMPARE(publishSpy.count(), 1);
-    QTRY_COMPARE(subscribeSpy.count(), 1);
+    QTRY_COMPARE(publishSpy.size(), 1);
+    QTRY_COMPARE(subscribeSpy.size(), 1);
 
     auto msg = subscribeSpy.at(0).at(0).value<QMqttMessage>();
 

Reply via email to