Hello community,

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

Package is "kate"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kate/kate.changes        2016-06-20 
10:58:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kate.new/kate.changes   2016-07-21 
07:44:38.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Jul  7 23:36:07 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:
----
  kate-16.04.2.tar.xz

New:
----
  kate-16.04.3.tar.xz

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

Other differences:
------------------
++++++ kate.spec ++++++
--- /var/tmp/diff_new_pack.l8ruDp/_old  2016-07-21 07:44:39.000000000 +0200
+++ /var/tmp/diff_new_pack.l8ruDp/_new  2016-07-21 07:44:39.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           kate
-Version:        16.04.2
+Version:        16.04.3
 Release:        0
 Summary:        Advanced Text Editor
 License:        GPL-2.0+

++++++ kate-16.04.2.tar.xz -> kate-16.04.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kate-16.04.2/CMakeLists.txt 
new/kate-16.04.3/CMakeLists.txt
--- old/kate-16.04.2/CMakeLists.txt     2016-06-07 14:02:43.000000000 +0200
+++ new/kate-16.04.3/CMakeLists.txt     2016-07-02 17:55:37.000000000 +0200
@@ -9,7 +9,7 @@
 # KDE Application Version, managed by release script
 set (KDE_APPLICATIONS_VERSION_MAJOR "16")
 set (KDE_APPLICATIONS_VERSION_MINOR "04")
-set (KDE_APPLICATIONS_VERSION_MICRO "2")
+set (KDE_APPLICATIONS_VERSION_MICRO "3")
 set (KDE_APPLICATIONS_VERSION 
"${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}")
 
 # we need some parts of the ECM CMake helpers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kate-16.04.2/addons/tabswitcher/tabswitcher.cpp 
new/kate-16.04.3/addons/tabswitcher/tabswitcher.cpp
--- old/kate-16.04.2/addons/tabswitcher/tabswitcher.cpp 2016-06-07 
14:02:43.000000000 +0200
+++ new/kate-16.04.3/addons/tabswitcher/tabswitcher.cpp 2016-07-02 
17:55:37.000000000 +0200
@@ -229,8 +229,10 @@
     // smaller than the max-size. This means the view will get quite high with
     // many open files but I think thats ok. Otherwise one can easily tweak the
     // max size to be only 1/2th of the central widget size
-    const QSize viewSize(std::min(m_treeView->sizeHintForColumn(0) + 
m_treeView->verticalScrollBar()->width(), viewMaxSize.width()),
-                         std::min(std::max(m_treeView->sizeHintForRow(0) * 
m_model->rowCount(), m_treeView->sizeHintForRow(0) * 6 ), 
viewMaxSize.height()));
+    const int rowHeight = m_treeView->sizeHintForRow(0);
+    const int frameWidth = m_treeView->frameWidth();
+    const QSize viewSize(std::min(m_treeView->sizeHintForColumn(0) + 2 * 
frameWidth + m_treeView->verticalScrollBar()->width(), viewMaxSize.width()),
+                         std::min(std::max(rowHeight * m_model->rowCount() + 2 
* frameWidth, rowHeight * 6 ), viewMaxSize.height()));
 
     // Position should be central over the editor area, so map to global from
     // parent of central widget since the view is positioned in global coords
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kate-16.04.2/kate/kateviewmanager.cpp 
new/kate-16.04.3/kate/kateviewmanager.cpp
--- old/kate-16.04.2/kate/kateviewmanager.cpp   2016-06-07 14:02:43.000000000 
+0200
+++ new/kate-16.04.3/kate/kateviewmanager.cpp   2016-07-02 17:55:37.000000000 
+0200
@@ -430,10 +430,10 @@
     }
 }
 
-bool KateViewManager::createView(KTextEditor::Document *doc, KateViewSpace *vs)
+KTextEditor::View *KateViewManager::createView(KTextEditor::Document *doc, 
KateViewSpace *vs)
 {
     if (m_blockViewCreationAndActivation) {
-        return false;
+        return nullptr;
     }
 
     // create doc
@@ -472,7 +472,7 @@
         activateView(view);
     }
 
-    return true;
+    return view;
 }
 
 bool KateViewManager::deleteView(KTextEditor::View *view)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kate-16.04.2/kate/kateviewmanager.h 
new/kate-16.04.3/kate/kateviewmanager.h
--- old/kate-16.04.2/kate/kateviewmanager.h     2016-06-07 14:02:43.000000000 
+0200
+++ new/kate-16.04.3/kate/kateviewmanager.h     2016-07-02 17:55:37.000000000 
+0200
@@ -113,9 +113,10 @@
 public:
     /**
      * create and activate a new view for doc, if doc == 0, then
-     * create a new document
+     * create a new document.
+     * Can return NULL.
      */
-    bool createView(KTextEditor::Document *doc = 0L, KateViewSpace *vs = 
nullptr);
+    KTextEditor::View *createView(KTextEditor::Document *doc = 0L, 
KateViewSpace *vs = nullptr);
 
 private:
     bool deleteView(KTextEditor::View *view);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kate-16.04.2/kate/kateviewspace.cpp 
new/kate-16.04.3/kate/kateviewspace.cpp
--- old/kate-16.04.2/kate/kateviewspace.cpp     2016-06-07 14:02:43.000000000 
+0200
+++ new/kate-16.04.3/kate/kateviewspace.cpp     2016-07-02 17:55:37.000000000 
+0200
@@ -653,9 +653,10 @@
             QString vgroup = QString::fromLatin1("%1 
%2").arg(groupname).arg(fn);
             KConfigGroup configGroup(config, vgroup);
 
-            viewMan->createView(doc, this);
-
-            viewMan->activeView()->readSessionConfig(configGroup);
+            auto view = viewMan->createView(doc, this);
+            if (view) {
+                view->readSessionConfig(configGroup);
+            }
         }
     }
 


Reply via email to