Hello community,

here is the log from the commit of package kcachegrind for openSUSE:Factory 
checked in at 2015-01-08 23:16:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kcachegrind (Old)
 and      /work/SRC/openSUSE:Factory/.kcachegrind.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kcachegrind"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kcachegrind/kcachegrind.changes  2014-11-19 
20:25:07.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kcachegrind.new/kcachegrind.changes     
2015-01-08 23:16:27.000000000 +0100
@@ -1,0 +2,7 @@
+Wed Dec 17 20:34:08 UTC 2014 - [email protected]
+
+- Update to KDE Applications 14.12.0
+   * KDE Applications 14.12.0
+   * See https://www.kde.org/announcements/announce-applications-14.12.0.php
+
+-------------------------------------------------------------------

Old:
----
  kcachegrind-4.14.3.tar.xz

New:
----
  kcachegrind-14.12.0.tar.xz

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

Other differences:
------------------
++++++ kcachegrind.spec ++++++
--- /var/tmp/diff_new_pack.Nv1L9q/_old  2015-01-08 23:16:27.000000000 +0100
+++ /var/tmp/diff_new_pack.Nv1L9q/_new  2015-01-08 23:16:27.000000000 +0100
@@ -22,7 +22,7 @@
 License:        GPL-2.0 and BSD-4-Clause and GFDL-1.2
 Group:          Development/Tools/Other
 Url:            http://www.kde.org/
-Version:        4.14.3
+Version:        14.12.0
 Release:        0
 Source0:        %{name}-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ kcachegrind-4.14.3.tar.xz -> kcachegrind-14.12.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcachegrind-4.14.3/libviews/callgraphview.cpp 
new/kcachegrind-14.12.0/libviews/callgraphview.cpp
--- old/kcachegrind-4.14.3/libviews/callgraphview.cpp   2014-07-23 
23:36:47.000000000 +0200
+++ new/kcachegrind-14.12.0/libviews/callgraphview.cpp  2014-10-14 
20:38:43.000000000 +0200
@@ -950,7 +950,7 @@
  * If on a further visit of the node/edge the limit is reached,
  * we use the whole node/edge cost and continue search.
  */
-void GraphExporter::buildGraph(TraceFunction* f, int d, bool toCallees,
+void GraphExporter::buildGraph(TraceFunction* f, int depth, bool toCallees,
                                double factor)
 {
 #if DEBUG_GRAPH
@@ -974,7 +974,9 @@
        // A negative depth limit means "unlimited"
        int maxDepth = toCallees ? _go->maxCalleeDepth()
                : _go->maxCallerDepth();
-       if ((maxDepth>=0) && (d >= maxDepth)) {
+       // Never go beyound a depth of 100
+       if ((maxDepth < 0) || (maxDepth>100)) maxDepth = 100;
+       if (depth >= maxDepth) {
                if (0)
                        qDebug("  Cutoff, max depth reached");
                return;
@@ -1080,7 +1082,7 @@
                        s = f2->inclusive()->subCost(_eventType);
                SubCost v = call->subCost(_eventType);
                // FIXME: Can s be 0?
-               buildGraph(f2, d+1, toCallees, factor * v / s);
+               buildGraph(f2, depth+1, toCallees, factor * v / s);
        }
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcachegrind-4.14.3/libviews/listutils.cpp 
new/kcachegrind-14.12.0/libviews/listutils.cpp
--- old/kcachegrind-4.14.3/libviews/listutils.cpp       2014-07-23 
23:36:47.000000000 +0200
+++ new/kcachegrind-14.12.0/libviews/listutils.cpp      2014-10-14 
20:38:43.000000000 +0200
@@ -73,6 +73,9 @@
 {
   int iw, ix1, ih, iy1, iy2;
 
+  // at max, draw 100%
+  if (percent > 100) percent = 100;
+
   // inner rectangle to fill with bar
   if (framed) {
     iw = w-2, ix1 = 1;

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to