Hello community,

here is the log from the commit of package okteta for openSUSE:Factory checked 
in at 2016-11-13 23:00:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/okteta (Old)
 and      /work/SRC/openSUSE:Factory/.okteta.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "okteta"

Changes:
--------
--- /work/SRC/openSUSE:Factory/okteta/okteta.changes    2016-10-18 
10:41:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.okteta.new/okteta.changes       2016-11-13 
23:00:18.000000000 +0100
@@ -1,0 +2,7 @@
+Wed Nov  9 06:28:38 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.08.3
+  * KDE Applications 16.08.3
+  * https://www.kde.org/announcements/announce-applications-16.08.3.php
+
+-------------------------------------------------------------------

Old:
----
  okteta-16.08.2.tar.xz

New:
----
  okteta-16.08.3.tar.xz

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

Other differences:
------------------
++++++ okteta.spec ++++++
--- /var/tmp/diff_new_pack.PmVFXh/_old  2016-11-13 23:00:19.000000000 +0100
+++ /var/tmp/diff_new_pack.PmVFXh/_new  2016-11-13 23:00:19.000000000 +0100
@@ -39,7 +39,7 @@
 License:        GPL-2.0 and GFDL-1.2
 Group:          Development/Tools/Other
 Url:            http://www.kde.org/
-Version:        16.08.2
+Version:        16.08.3
 Release:        0
 Source0:        okteta-%{version}.tar.xz
 Obsoletes:      %{name}5 < %{version}

++++++ okteta-16.08.2.tar.xz -> okteta-16.08.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/controllers/view/charsetconversion/charsetconversionjob.cpp
 
new/okteta-16.08.3/kasten/controllers/view/charsetconversion/charsetconversionjob.cpp
--- 
old/okteta-16.08.2/kasten/controllers/view/charsetconversion/charsetconversionjob.cpp
       2016-09-26 12:38:29.000000000 +0200
+++ 
new/okteta-16.08.3/kasten/controllers/view/charsetconversion/charsetconversionjob.cpp
       2016-10-27 14:09:16.000000000 +0200
@@ -27,7 +27,7 @@
 #include <okteta/charcodec.h>
 #include <okteta/character.h>
 // Qt
-#include <QApplication>
+#include <QCoreApplication>
 
 
 namespace Kasten
@@ -87,7 +87,7 @@
             mResult[r++] = convertedByte;
         }
 
-        QApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
     }
 
     deleteLater(); // TODO: could be reused on next operation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/controllers/view/checksum/checksumcalculatejob.cpp 
new/okteta-16.08.3/kasten/controllers/view/checksum/checksumcalculatejob.cpp
--- 
old/okteta-16.08.2/kasten/controllers/view/checksum/checksumcalculatejob.cpp    
    2016-09-26 12:38:29.000000000 +0200
+++ 
new/okteta-16.08.3/kasten/controllers/view/checksum/checksumcalculatejob.cpp    
    2016-10-27 14:09:16.000000000 +0200
@@ -27,15 +27,12 @@
 // Okteta core
 #include <okteta/abstractbytearraymodel.h>
 // Qt
-#include <QApplication>
+#include <QCoreApplication>
 
 
 namespace Kasten
 {
 
-static const int MaxChecksumEventProcessTimeInMS = 100;
-
-
 void ChecksumCalculateJob::exec()
 {
     // check
@@ -58,7 +55,7 @@
 
 void ChecksumCalculateJob::onCalculatedBytes()
 {
-    QApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, MaxChecksumEventProcessTimeInMS );
+    QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 }
 
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/controllers/view/filter/filterjob.cpp 
new/okteta-16.08.3/kasten/controllers/view/filter/filterjob.cpp
--- old/okteta-16.08.2/kasten/controllers/view/filter/filterjob.cpp     
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/kasten/controllers/view/filter/filterjob.cpp     
2016-10-27 14:09:16.000000000 +0200
@@ -25,14 +25,12 @@
 // filter
 #include <abstractbytearrayfilter.h>
 // Qt
-#include <QApplication>
+#include <QCoreApplication>
 
 
 namespace Kasten
 {
 
-static const int FilterMaxEventProcessTimeInMS = 100;
-
 bool FilterJob::exec()
 {
     //TODO: what kind of signal could a filter send?
@@ -47,7 +45,7 @@
 
 void FilterJob::onFilteredBytes()
 {
-    QApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, FilterMaxEventProcessTimeInMS );
+    QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 }
 
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/controllers/view/info/createstatisticjob.cpp 
new/okteta-16.08.3/kasten/controllers/view/info/createstatisticjob.cpp
--- old/okteta-16.08.2/kasten/controllers/view/info/createstatisticjob.cpp      
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/kasten/controllers/view/info/createstatisticjob.cpp      
2016-10-27 14:09:16.000000000 +0200
@@ -25,7 +25,7 @@
 // Okteta core
 #include <okteta/abstractbytearraymodel.h>
 // Qt
-#include <QApplication>
+#include <QCoreApplication>
 
 
 namespace Kasten
@@ -50,7 +50,7 @@
         for( ; i<=blockEnd; ++i )
             ++mByteCount[mByteArrayModel->byte(i)];
 
-        QApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
     }
 
     deleteLater(); // TODO: could be reused on next search
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/controllers/view/print/printjob.cpp 
new/okteta-16.08.3/kasten/controllers/view/print/printjob.cpp
--- old/okteta-16.08.2/kasten/controllers/view/print/printjob.cpp       
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/kasten/controllers/view/print/printjob.cpp       
2016-10-27 14:09:16.000000000 +0200
@@ -26,15 +26,13 @@
 #include "framestopaperprinter.h"
 // #include "printthread.h"
 // Qt
-#include <QApplication>
+#include <QCoreApplication>
 // #include <QFontDatabase>
 
 
 namespace Kasten
 {
 
-static const int PrintMaxEventProcessTimeInMS = 100;
-
 #if 0
 PrintJob::PrintJob( FramesToPaperPrinter *framesPrinter, int firstPage, int 
lastPage, QPrinter *printer )
  : mPrintThread( new PrintThread(this,framesPrinter, firstPage, lastPage, 
printer) )
@@ -62,7 +60,7 @@
 
 void PrintJob::onPagePrinted()
 {
-    QApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, PrintMaxEventProcessTimeInMS );
+    QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 }
 
 #if 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/controllers/view/search/searchjob.cpp 
new/okteta-16.08.3/kasten/controllers/view/search/searchjob.cpp
--- old/okteta-16.08.2/kasten/controllers/view/search/searchjob.cpp     
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/kasten/controllers/view/search/searchjob.cpp     
2016-10-27 14:09:16.000000000 +0200
@@ -26,15 +26,12 @@
 #include <okteta/abstractbytearraymodel.h>
 #include <okteta/charcodec.h>
 // Qt
-#include <QApplication>
+#include <QCoreApplication>
 
 
 namespace Kasten
 {
 
-static const int SearchMaxEventProcessTimeInMS = 100;
-
-
 SearchJob::SearchJob( const Okteta::AbstractByteArrayModel* model,
                       const QByteArray& searchData,
                       Okteta::Address startIndex, Okteta::Address endIndex,
@@ -78,7 +75,7 @@
 
 void SearchJob::onBytesSearched()
 {
-    QApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, SearchMaxEventProcessTimeInMS );
+    QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/controllers/view/stringsextract/extractstringsjob.cpp 
new/okteta-16.08.3/kasten/controllers/view/stringsextract/extractstringsjob.cpp
--- 
old/okteta-16.08.2/kasten/controllers/view/stringsextract/extractstringsjob.cpp 
    2016-09-26 12:38:29.000000000 +0200
+++ 
new/okteta-16.08.3/kasten/controllers/view/stringsextract/extractstringsjob.cpp 
    2016-10-27 14:09:16.000000000 +0200
@@ -27,7 +27,7 @@
 #include <okteta/charcodec.h>
 #include <okteta/character.h>
 // Qt
-#include <QApplication>
+#include <QCoreApplication>
 
 
 namespace Kasten
@@ -89,7 +89,7 @@
             }
         }
 
-        QApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
     }
 
     // last string not ended?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/controllers/view/structures/examples/okteta/structures/classfile/metadata.desktop
 
new/okteta-16.08.3/kasten/controllers/view/structures/examples/okteta/structures/classfile/metadata.desktop
--- 
old/okteta-16.08.2/kasten/controllers/view/structures/examples/okteta/structures/classfile/metadata.desktop
 2016-09-26 12:38:29.000000000 +0200
+++ 
new/okteta-16.08.3/kasten/controllers/view/structures/examples/okteta/structures/classfile/metadata.desktop
 2016-10-27 14:09:16.000000000 +0200
@@ -9,6 +9,7 @@
 Name[ca@valencia]=Format de fitxer .class del Java
 Name[da]=Java .class-filformat
 Name[de]=Java-„.class“-Dateiformat
+Name[el]=Μορφή αρχείου Java .class
 Name[en_GB]=Java .class file format
 Name[es]=Formato de archivo .class de Java
 Name[et]=Java .class failivorming
@@ -40,6 +41,7 @@
 Comment[ca@valencia]=Encara està molt incomplet!
 Comment[da]=stadig langt fra færdigt!!!
 Comment[de]=Noch sehr unvollständig
+Comment[el]=ακόμα πολύ ανέτοιμο!!!
 Comment[en_GB]=still very incomplete!!!
 Comment[es]=Todavía bastante incompleto
 Comment[et]=Ikka veel väga ebatäielik!!!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/controllers/view/structures/examples/okteta/structures/testtest/metadata.desktop
 
new/okteta-16.08.3/kasten/controllers/view/structures/examples/okteta/structures/testtest/metadata.desktop
--- 
old/okteta-16.08.2/kasten/controllers/view/structures/examples/okteta/structures/testtest/metadata.desktop
  2016-09-26 12:38:29.000000000 +0200
+++ 
new/okteta-16.08.3/kasten/controllers/view/structures/examples/okteta/structures/testtest/metadata.desktop
  2016-10-27 14:09:16.000000000 +0200
@@ -10,6 +10,7 @@
 Name[cs]=Test VHD
 Name[da]=VHD-test
 Name[de]=VHD-Test
+Name[el]=έλεγχος VHD
 Name[en_GB]=VHD test
 Name[es]=Prueba VHD
 Name[et]=VHD test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/core/io/filesystem/bytearrayrawfileconnectjob.cpp 
new/okteta-16.08.3/kasten/core/io/filesystem/bytearrayrawfileconnectjob.cpp
--- old/okteta-16.08.2/kasten/core/io/filesystem/bytearrayrawfileconnectjob.cpp 
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/kasten/core/io/filesystem/bytearrayrawfileconnectjob.cpp 
2016-10-27 14:09:16.000000000 +0200
@@ -48,7 +48,7 @@
     ByteArrayRawFileWriteThread *writeThread = new 
ByteArrayRawFileWriteThread( this, byteArrayDocument, file() );
     writeThread->start();
     while( !writeThread->wait(100) )
-        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     qobject_cast<ByteArrayRawFileSynchronizer*>(synchronizer())->setDocument( 
byteArrayDocument );
     const bool success = writeThread->success();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/core/io/filesystem/bytearrayrawfileloadjob.cpp 
new/okteta-16.08.3/kasten/core/io/filesystem/bytearrayrawfileloadjob.cpp
--- old/okteta-16.08.2/kasten/core/io/filesystem/bytearrayrawfileloadjob.cpp    
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/kasten/core/io/filesystem/bytearrayrawfileloadjob.cpp    
2016-10-27 14:09:16.000000000 +0200
@@ -44,7 +44,7 @@
     ByteArrayRawFileLoadThread *loadThread = new ByteArrayRawFileLoadThread( 
this, file() );
     loadThread->start();
     while( !loadThread->wait(100) )
-        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     ByteArrayDocument* document = loadThread->document();
     qobject_cast<ByteArrayRawFileSynchronizer*>(synchronizer())->setDocument( 
document );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/core/io/filesystem/bytearrayrawfilereloadjob.cpp 
new/okteta-16.08.3/kasten/core/io/filesystem/bytearrayrawfilereloadjob.cpp
--- old/okteta-16.08.2/kasten/core/io/filesystem/bytearrayrawfilereloadjob.cpp  
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/kasten/core/io/filesystem/bytearrayrawfilereloadjob.cpp  
2016-10-27 14:09:16.000000000 +0200
@@ -46,7 +46,7 @@
     ByteArrayRawFileReloadThread* reloadThread = new 
ByteArrayRawFileReloadThread( this, /*document, */file() );
     reloadThread->start();
     while( !reloadThread->wait(100) )
-        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     bool success = reloadThread->success();
     // TODO: moved this here to avoid marshalling the change signals out of 
the thread. Good idea?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/core/io/filesystem/bytearrayrawfilewritejob.cpp 
new/okteta-16.08.3/kasten/core/io/filesystem/bytearrayrawfilewritejob.cpp
--- old/okteta-16.08.2/kasten/core/io/filesystem/bytearrayrawfilewritejob.cpp   
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/kasten/core/io/filesystem/bytearrayrawfilewritejob.cpp   
2016-10-27 14:09:16.000000000 +0200
@@ -44,7 +44,7 @@
     ByteArrayRawFileWriteThread* writeThread = new 
ByteArrayRawFileWriteThread( this, document, file() );
     writeThread->start();
     while( !writeThread->wait(100) )
-        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     const bool success = writeThread->success();
     delete writeThread;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/kasten/core/io/filesystem/bytearrayrawfilewritetojob.cpp 
new/okteta-16.08.3/kasten/core/io/filesystem/bytearrayrawfilewritetojob.cpp
--- old/okteta-16.08.2/kasten/core/io/filesystem/bytearrayrawfilewritetojob.cpp 
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/kasten/core/io/filesystem/bytearrayrawfilewritetojob.cpp 
2016-10-27 14:09:16.000000000 +0200
@@ -47,7 +47,7 @@
     ByteArrayRawFileWriteThread *writeThread = new 
ByteArrayRawFileWriteThread( this, document, file() );
     writeThread->start();
     while( !writeThread->wait(100) )
-        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     const bool success = writeThread->success();
     delete writeThread;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/libs/kasten/controllers/io/copyas/copyascontroller.cpp 
new/okteta-16.08.3/libs/kasten/controllers/io/copyas/copyascontroller.cpp
--- old/okteta-16.08.2/libs/kasten/controllers/io/copyas/copyascontroller.cpp   
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/libs/kasten/controllers/io/copyas/copyascontroller.cpp   
2016-10-27 14:09:16.000000000 +0200
@@ -147,7 +147,7 @@
         new ModelStreamEncodeThread( this, &exportDataBuffer, mModel, 
selection, encoder );
     encodeThread->start();
     while( !encodeThread->wait(100) )
-        QApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     delete encodeThread;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/libs/kasten/controllers/io/insert/insertcontroller.cpp 
new/okteta-16.08.3/libs/kasten/controllers/io/insert/insertcontroller.cpp
--- old/okteta-16.08.2/libs/kasten/controllers/io/insert/insertcontroller.cpp   
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/libs/kasten/controllers/io/insert/insertcontroller.cpp   
2016-10-27 14:09:16.000000000 +0200
@@ -143,7 +143,7 @@
         new ModelDataGenerateThread( this, generator );
     generateThread->start();
     while( !generateThread->wait(100) )
-        QApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     QMimeData* mimeData = generateThread->data();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/libs/kasten/core/io/filesystem/modelencoderfilesystemexportjob_p.cpp
 
new/okteta-16.08.3/libs/kasten/core/io/filesystem/modelencoderfilesystemexportjob_p.cpp
--- 
old/okteta-16.08.2/libs/kasten/core/io/filesystem/modelencoderfilesystemexportjob_p.cpp
     2016-09-26 12:38:29.000000000 +0200
+++ 
new/okteta-16.08.3/libs/kasten/core/io/filesystem/modelencoderfilesystemexportjob_p.cpp
     2016-10-27 14:09:16.000000000 +0200
@@ -40,7 +40,7 @@
         new ModelStreamEncodeThread( q, file(), model(), selection(), mEncoder 
);
     exportThread->start();
     while( ! exportThread->wait(100) )
-        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     const bool success = exportThread->success();
     delete exportThread;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/libs/kasten/core/tests/testdocumentfileconnectjob.cpp 
new/okteta-16.08.3/libs/kasten/core/tests/testdocumentfileconnectjob.cpp
--- old/okteta-16.08.2/libs/kasten/core/tests/testdocumentfileconnectjob.cpp    
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/libs/kasten/core/tests/testdocumentfileconnectjob.cpp    
2016-10-27 14:09:16.000000000 +0200
@@ -51,7 +51,7 @@
 
     writeThread->start();
     while( !writeThread->wait(100) )
-        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     const bool success = writeThread->success();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/libs/kasten/core/tests/testdocumentfileloadjob.cpp 
new/okteta-16.08.3/libs/kasten/core/tests/testdocumentfileloadjob.cpp
--- old/okteta-16.08.2/libs/kasten/core/tests/testdocumentfileloadjob.cpp       
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/libs/kasten/core/tests/testdocumentfileloadjob.cpp       
2016-10-27 14:09:16.000000000 +0200
@@ -46,7 +46,7 @@
         new TestDocumentFileLoadThread( this, testSynchronizer->header(), 
file() );
     loadThread->start();
     while( !loadThread->wait(100) )
-        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     TestDocument* document = loadThread->document();
     testSynchronizer->setDocument( document );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/libs/kasten/core/tests/testdocumentfilereloadjob.cpp 
new/okteta-16.08.3/libs/kasten/core/tests/testdocumentfilereloadjob.cpp
--- old/okteta-16.08.2/libs/kasten/core/tests/testdocumentfilereloadjob.cpp     
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/libs/kasten/core/tests/testdocumentfilereloadjob.cpp     
2016-10-27 14:09:16.000000000 +0200
@@ -46,7 +46,7 @@
         new TestDocumentFileReloadThread( this, testSynchronizer->header(), 
/*document, */file() );
     reloadThread->start();
     while( !reloadThread->wait(100) )
-        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     const bool success = reloadThread->success();
     // TODO: moved this here to avoid marshalling the change signals out of 
the thread. Good idea?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/libs/kasten/core/tests/testdocumentfilewritejob.cpp 
new/okteta-16.08.3/libs/kasten/core/tests/testdocumentfilewritejob.cpp
--- old/okteta-16.08.2/libs/kasten/core/tests/testdocumentfilewritejob.cpp      
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/libs/kasten/core/tests/testdocumentfilewritejob.cpp      
2016-10-27 14:09:16.000000000 +0200
@@ -46,7 +46,7 @@
     TestDocumentFileWriteThread* writeThread = new 
TestDocumentFileWriteThread( this, testSynchronizer->header(),  document, 
file() );
     writeThread->start();
     while( !writeThread->wait(100) )
-        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     const bool success = writeThread->success();
     delete writeThread;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/libs/kasten/core/tests/testdocumentfilewritetojob.cpp 
new/okteta-16.08.3/libs/kasten/core/tests/testdocumentfilewritetojob.cpp
--- old/okteta-16.08.2/libs/kasten/core/tests/testdocumentfilewritetojob.cpp    
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/libs/kasten/core/tests/testdocumentfilewritetojob.cpp    
2016-10-27 14:09:16.000000000 +0200
@@ -46,7 +46,7 @@
     TestDocumentFileWriteThread* writeThread = new 
TestDocumentFileWriteThread( this, testSynchronizer->header(), document, file() 
);
     writeThread->start();
     while( !writeThread->wait(100) )
-        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     const bool success = writeThread->success();
     delete writeThread;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/libs/kasten/gui/system/multidocumentstrategy_p.cpp 
new/okteta-16.08.3/libs/kasten/gui/system/multidocumentstrategy_p.cpp
--- old/okteta-16.08.2/libs/kasten/gui/system/multidocumentstrategy_p.cpp       
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/libs/kasten/gui/system/multidocumentstrategy_p.cpp       
2016-10-27 14:09:16.000000000 +0200
@@ -83,7 +83,7 @@
         new ModelDataGenerateThread( q, generator );
     generateThread->start();
     while( !generateThread->wait(100) )
-        QApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     QMimeData* mimeData = generateThread->data();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/okteta-16.08.2/libs/kasten/gui/system/singledocumentstrategy_p.cpp 
new/okteta-16.08.3/libs/kasten/gui/system/singledocumentstrategy_p.cpp
--- old/okteta-16.08.2/libs/kasten/gui/system/singledocumentstrategy_p.cpp      
2016-09-26 12:38:29.000000000 +0200
+++ new/okteta-16.08.3/libs/kasten/gui/system/singledocumentstrategy_p.cpp      
2016-10-27 14:09:16.000000000 +0200
@@ -132,7 +132,7 @@
         new ModelDataGenerateThread( q, generator );
     generateThread->start();
     while( !generateThread->wait(100) )
-        QApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers, 100 );
+        QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents | 
QEventLoop::ExcludeSocketNotifiers );
 
     QMimeData* mimeData = generateThread->data();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/okteta-16.08.2/parts/kpart/CMakeLists.txt 
new/okteta-16.08.3/parts/kpart/CMakeLists.txt
--- old/okteta-16.08.2/parts/kpart/CMakeLists.txt       2016-09-26 
12:38:29.000000000 +0200
+++ new/okteta-16.08.3/parts/kpart/CMakeLists.txt       2016-10-27 
14:09:16.000000000 +0200
@@ -32,3 +32,6 @@
   DESTINATION ${KXMLGUI_INSTALL_DIR}/oktetapart
 )
 
+if(BUILD_TESTING)
+    add_subdirectory(tests)
+endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/okteta-16.08.2/parts/kpart/part.cpp 
new/okteta-16.08.3/parts/kpart/part.cpp
--- old/okteta-16.08.2/parts/kpart/part.cpp     2016-09-26 12:38:29.000000000 
+0200
+++ new/okteta-16.08.3/parts/kpart/part.cpp     2016-10-27 14:09:16.000000000 
+0200
@@ -186,6 +186,9 @@
 {
     if( document )
     {
+        foreach( Kasten::AbstractXmlGuiController* controller, mControllers )
+            controller->setTargetModel( 0 );
+
         delete mByteArrayView;
         delete mDocument;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/okteta-16.08.2/parts/kpart/tests/CMakeLists.txt 
new/okteta-16.08.3/parts/kpart/tests/CMakeLists.txt
--- old/okteta-16.08.2/parts/kpart/tests/CMakeLists.txt 1970-01-01 
01:00:00.000000000 +0100
+++ new/okteta-16.08.3/parts/kpart/tests/CMakeLists.txt 2016-10-27 
14:09:16.000000000 +0200
@@ -0,0 +1,41 @@
+if (NOT Qt5Test_FOUND)
+  return()
+endif()
+
+include(ECMAddTests)
+
+include_directories(
+  ${CMAKE_CURRENT_SOURCE_DIR}/..
+)
+
+add_definitions(
+    -DTESTPATH1=\"${CMAKE_CURRENT_SOURCE_DIR}/oktetaparttest.h\"
+    -DTESTPATH2=\"${CMAKE_CURRENT_SOURCE_DIR}/oktetaparttest.cpp\"
+)
+
+# TODO: deduplicate object file generation of
+ecm_add_test(
+  ../part.cpp
+  ../browserextension.cpp
+  ../partfactory.cpp
+  oktetaparttest.cpp
+  TEST_NAME oktetaparttest
+  NAME_PREFIX kpart-
+  LINK_LIBRARIES
+  OktetaKastenControllers
+  OktetaKastenGui
+  OktetaKastenCore
+  KastenControllers
+  KastenGui
+  KastenCore
+  KF5::I18n
+  KF5::Parts
+  Qt5::Test
+)
+
+if(${KF5_VERSION} VERSION_LESS "5.16.0")
+    kcoreaddons_desktop_to_json(oktetaparttest ../oktetapart.desktop)
+else()
+    kcoreaddons_desktop_to_json(oktetaparttest ../oktetapart.desktop  
SERVICE_TYPES kpart.desktop)
+endif()
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/okteta-16.08.2/parts/kpart/tests/oktetaparttest.cpp 
new/okteta-16.08.3/parts/kpart/tests/oktetaparttest.cpp
--- old/okteta-16.08.2/parts/kpart/tests/oktetaparttest.cpp     1970-01-01 
01:00:00.000000000 +0100
+++ new/okteta-16.08.3/parts/kpart/tests/oktetaparttest.cpp     2016-10-27 
14:09:16.000000000 +0200
@@ -0,0 +1,51 @@
+/*
+    This file is part of the Okteta KPart module, made within the KDE 
community.
+
+    Copyright 2016 Friedrich W. H. Kossebau <[email protected]>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) version 3, or any
+    later version accepted by the membership of KDE e.V. (or its
+    successor approved by the membership of KDE e.V.), which shall
+    act as a proxy defined in Section 6 of version 3 of the license.
+
+    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
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library. If not, see 
<http://www.gnu.org/licenses/>.
+*/
+
+#include "oktetaparttest.h"
+
+// test object
+#include <partfactory.h>
+#include <part.h>
+// Qt
+#include <QTest>
+
+
+void OktetaPartTest::testPartReuseWithAnotherUrl()
+{
+    KPluginFactory *factory = new OktetaPartFactory();
+    KParts::ReadOnlyPart* part = factory->create<KParts::ReadOnlyPart>(0, 0);
+    QVERIFY(part != 0);
+
+    const QUrl url1 = QUrl::fromLocalFile(QStringLiteral(TESTPATH1));
+    part->openUrl(url1);
+    QCOMPARE(part->url(), url1);
+
+    const QUrl url2 = QUrl::fromLocalFile(QStringLiteral(TESTPATH2));
+    part->openUrl(url2);
+    QCOMPARE(part->url(), url2);
+
+    delete part;
+    delete factory;
+}
+
+
+QTEST_MAIN( OktetaPartTest )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/okteta-16.08.2/parts/kpart/tests/oktetaparttest.h 
new/okteta-16.08.3/parts/kpart/tests/oktetaparttest.h
--- old/okteta-16.08.2/parts/kpart/tests/oktetaparttest.h       1970-01-01 
01:00:00.000000000 +0100
+++ new/okteta-16.08.3/parts/kpart/tests/oktetaparttest.h       2016-10-27 
14:09:16.000000000 +0200
@@ -0,0 +1,37 @@
+/*
+    This file is part of the Okteta KPart module, made within the KDE 
community.
+
+    Copyright 2016 Friedrich W. H. Kossebau <[email protected]>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) version 3, or any
+    later version accepted by the membership of KDE e.V. (or its
+    successor approved by the membership of KDE e.V.), which shall
+    act as a proxy defined in Section 6 of version 3 of the license.
+
+    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
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library. If not, see 
<http://www.gnu.org/licenses/>.
+*/
+
+#ifndef OKTETAPARTTEST_H
+#define OKTETAPARTTEST_H
+
+// Qt
+#include <QObject>
+
+class OktetaPartTest : public QObject
+{
+  Q_OBJECT
+
+  private Q_SLOTS: // test functions
+    void testPartReuseWithAnotherUrl(); //bug #365523
+};
+
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/okteta-16.08.2/program/about.cpp 
new/okteta-16.08.3/program/about.cpp
--- old/okteta-16.08.2/program/about.cpp        2016-09-26 12:38:29.000000000 
+0200
+++ new/okteta-16.08.3/program/about.cpp        2016-10-27 14:09:16.000000000 
+0200
@@ -30,7 +30,7 @@
 OktetaAboutData::OktetaAboutData()
 : KAboutData( QStringLiteral("okteta"),
               i18n("Okteta"), // name
-              QStringLiteral("0.20.1"),
+              QStringLiteral("0.20.3"),
               i18n("Hex editor"), // description
               KAboutLicense::GPL_V2,
               i18n("Copyright 2006-2016 Friedrich W. H. Kossebau"), //copyright
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/okteta-16.08.2/program/program.cpp 
new/okteta-16.08.3/program/program.cpp
--- old/okteta-16.08.2/program/program.cpp      2016-09-26 12:38:29.000000000 
+0200
+++ new/okteta-16.08.3/program/program.cpp      2016-10-27 14:09:16.000000000 
+0200
@@ -77,6 +77,7 @@
         QT_UNICODE_LITERAL("kasten.okteta.controllers.structures.debug = 
true\n")));
 #endif
 
+    QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
     KLocalizedString::setApplicationDomain( "okteta" );
 }
 


Reply via email to