Hello community,

here is the log from the commit of package filelight for openSUSE:Factory 
checked in at 2019-07-17 13:15:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/filelight (Old)
 and      /work/SRC/openSUSE:Factory/.filelight.new.1887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "filelight"

Wed Jul 17 13:15:22 2019 rev:98 rq:715051 version:19.04.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/filelight/filelight.changes      2019-06-14 
20:25:24.762781234 +0200
+++ /work/SRC/openSUSE:Factory/.filelight.new.1887/filelight.changes    
2019-07-17 13:15:22.671815670 +0200
@@ -1,0 +2,12 @@
+Sat Jul 13 07:26:33 UTC 2019 - [email protected]
+
+- Update to 19.04.3
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-19.04.3.php
+- Changes since 19.04.2:
+  * update documentation
+  * add a note about why append does not forward the size to parents
+  * properly update children when removing Files
+
+-------------------------------------------------------------------

Old:
----
  filelight-19.04.2.tar.xz

New:
----
  filelight-19.04.3.tar.xz

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

Other differences:
------------------
++++++ filelight.spec ++++++
--- /var/tmp/diff_new_pack.xJvLnY/_old  2019-07-17 13:15:24.379814841 +0200
+++ /var/tmp/diff_new_pack.xJvLnY/_new  2019-07-17 13:15:24.415814823 +0200
@@ -21,7 +21,7 @@
 %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 %bcond_without lang
 Name:           filelight
-Version:        19.04.2
+Version:        19.04.3
 Release:        0
 Summary:        Graphical disk usage viewer
 License:        GPL-2.0-only OR GPL-3.0-only

++++++ filelight-19.04.2.tar.xz -> filelight-19.04.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/filelight-19.04.2/CMakeLists.txt 
new/filelight-19.04.3/CMakeLists.txt
--- old/filelight-19.04.2/CMakeLists.txt        2019-06-04 02:07:41.000000000 
+0200
+++ new/filelight-19.04.3/CMakeLists.txt        2019-07-09 02:09:42.000000000 
+0200
@@ -22,7 +22,7 @@
 # KDE Application Version, managed by release script
 set(KDE_APPLICATIONS_VERSION_MAJOR "19")
 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}")
 set(SPECTACLE_VERSION ${KDE_APPLICATIONS_VERSION})
 # minimum requirements
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/filelight-19.04.2/po/nl/docs/filelight/index.docbook 
new/filelight-19.04.3/po/nl/docs/filelight/index.docbook
--- old/filelight-19.04.2/po/nl/docs/filelight/index.docbook    2019-06-04 
02:07:41.000000000 +0200
+++ new/filelight-19.04.3/po/nl/docs/filelight/index.docbook    2019-07-09 
02:09:41.000000000 +0200
@@ -555,8 +555,8 @@
       <para
 >Programma copyright 2008-2013 Martin Sandsmark <email
 >[email protected]</email
-></para>
-&underGPL; </sect1>
+></para
+>&underGPL; </sect1>
    <sect1 id="Documentation">
       <title
 >Documentatie</title>
@@ -568,8 +568,7 @@
 >Documentatie copyright 2009 Martin Sandsmark <email
 >[email protected]</email
 ></para>
-      &meld.fouten;&vertaling.freek; 
-&underFDL; </sect1>
+      &meld.fouten;&vertaling.freek; &underFDL; </sect1>
 </chapter>
 
 &documentation.index;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/filelight-19.04.2/src/fileTree.h 
new/filelight-19.04.3/src/fileTree.h
--- old/filelight-19.04.2/src/fileTree.h        2019-05-31 12:28:48.000000000 
+0200
+++ new/filelight-19.04.3/src/fileTree.h        2019-07-06 11:27:24.000000000 
+0200
@@ -88,8 +88,8 @@
     File(const char *name, FileSize size, Folder *parent) : m_parent(parent), 
m_name(qstrdup(name)), m_size(size) {}
 
     Folder *m_parent; //0 if this is treeRoot
-    char      *m_name;
-    FileSize   m_size;   //in units of KiB
+    char *m_name; // partial path name (e.g. 'boot/' or 'foo.svg')
+    FileSize m_size; // in units of bytes; sum of all children's sizes
 
 private:
     File(const File&);
@@ -134,6 +134,7 @@
 
         for (Folder *d = this; d; d = d->parent()) {
             d->m_size -= f->size();
+            d->m_children--;
         }
     }
 
@@ -142,6 +143,10 @@
 private:
     void append(File *p)
     {
+        // This is also called by append(Folder), but only once all its 
children
+        // were scanned. We do not need to forward the size change to our 
parent
+        // since in turn we too only are added to our parent when we are have
+        // been scanned already.
         m_children++;
         m_size += p->size();
         files.append(p);


Reply via email to