Hello community,

here is the log from the commit of package tint2 for openSUSE:Factory checked 
in at 2018-08-02 15:00:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tint2 (Old)
 and      /work/SRC/openSUSE:Factory/.tint2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tint2"

Thu Aug  2 15:00:36 2018 rev:15 rq:627045 version:16.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/tint2/tint2.changes      2018-01-24 
15:31:16.664192044 +0100
+++ /work/SRC/openSUSE:Factory/.tint2.new/tint2.changes 2018-08-02 
15:01:04.416574313 +0200
@@ -1,0 +2,11 @@
+Thu Aug  2 09:52:53 UTC 2018 - [email protected]
+
+- Update to 16.4:
+  * Update AUTHORS
+  * Fix leak in image loading (issue #704)
+  * Fix executors no longer log unless env var DEBUG_EXECUTORS
+    is set
+  * Fix layout in executor (issue #695)
+  * Fix Other small issues
+
+-------------------------------------------------------------------

Old:
----
  tint2-16.2.tar.gz

New:
----
  tint2-16.4.tar.gz

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

Other differences:
------------------
++++++ tint2.spec ++++++
--- /var/tmp/diff_new_pack.uFhmeH/_old  2018-08-02 15:01:05.228575688 +0200
+++ /var/tmp/diff_new_pack.uFhmeH/_new  2018-08-02 15:01:05.232575694 +0200
@@ -17,10 +17,10 @@
 
 
 Name:           tint2
-Version:        16.2
+Version:        16.4
 Release:        0
 Summary:        A lightweight X11 desktop panel and task manager
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          System/X11/Utilities
 Url:            https://gitlab.com/o9000/tint2
 Source0:        
https://gitlab.com/o9000/%{name}/repository/archive.tar.gz?ref=v%{version}#/%{name}-%{version}.tar.gz
@@ -50,7 +50,7 @@
 %lang_package
 
 %prep
-%setup -q -n %{name}-v%{version}-b810bad93ff65854137fbd2f344ad2f99338008f
+%setup -q -n %{name}-v%{version}-8a7ba9bf50d351dae94109284c868e3afddec8f8
 
 %build
 %cmake -DENABLE_EXAMPLES=ON -DDOCDIR=%{_docdir}/%{name}

++++++ tint2-16.2.tar.gz -> tint2-16.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/AUTHORS 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/AUTHORS
--- old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/AUTHORS    
2018-01-21 08:04:15.000000000 +0100
+++ new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/AUTHORS    
2018-05-03 06:06:13.000000000 +0200
@@ -6,6 +6,7 @@
 - Ovidiu M <mrovi9000 at gmail.com> : launcher, bug fixes
 - Mishael A Sibiryakov ([email protected]) : freespace
 - Sebastian Reichel <[email protected]> : battery, various fixes, debian package 
maintainer
+- Chris Lee <chrlee at protonmail> : bug fixes, maintainer starting with v16.3
 
 tint2 is based on the ttm source code (http://code.google.com/p/ttm/)
 - 2007-2008 Pål Staurland <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/ChangeLog 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/ChangeLog
--- old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/ChangeLog  
2018-01-21 08:04:15.000000000 +0100
+++ new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/ChangeLog  
2018-05-03 06:06:13.000000000 +0200
@@ -1,3 +1,14 @@
+2018-05-03 16.4
+- Update AUTHORS
+- Fixes:
+  - Fix leak in image loading (issue #704)
+  - Executors no longer log unless env var DEBUG_EXECUTORS is set
+
+2018-04-17 16.3
+- Fixes:
+  - Layout in executor (issue #695)
+  - Other small issues
+
 2018-01-21 16.2
 - Fixes:
   - Proper fix for issue #688
@@ -989,6 +1000,8 @@
 .
 .
 .
+.
+.
 .
 .
 .
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/README.md 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/README.md
--- old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/README.md  
2018-01-21 08:04:15.000000000 +0100
+++ new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/README.md  
2018-05-03 06:06:13.000000000 +0200
@@ -1,5 +1,5 @@
-# Latest stable release: 16.2
-Changes: https://gitlab.com/o9000/tint2/blob/16.2/ChangeLog
+# Latest stable release: 16.4
+Changes: https://gitlab.com/o9000/tint2/blob/16.4/ChangeLog
 
 Documentation: [doc/tint2.md](doc/tint2.md)
 
@@ -8,7 +8,7 @@
 ```
 git clone https://gitlab.com/o9000/tint2.git
 cd tint2
-git checkout 16.2
+git checkout 16.4
 mkdir build
 cd build
 cmake ..
@@ -97,4 +97,3 @@
 ## More
 
 * [Tint2 wiki](https://gitlab.com/o9000/tint2/wikis/Home)
-Home)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/doc/readme.html 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/doc/readme.html
--- old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/doc/readme.html    
2018-01-21 08:04:15.000000000 +0100
+++ new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/doc/readme.html    
2018-05-03 06:06:13.000000000 +0200
@@ -199,9 +199,9 @@
 </style>
 </head>
 <body>
-<h1 id="latest-stable-release-16-2"><span class="md2man-title">Latest</span> 
<span class="md2man-section">stable</span> <span 
class="md2man-date">release:</span> <span class="md2man-source">16.2</span><a 
name="latest-stable-release-16-2" href="#latest-stable-release-16-2" 
class="md2man-permalink" title="permalink"></a></h1><p>Changes: <a 
href="https://gitlab.com/o9000/tint2/blob/16.2/ChangeLog";>https://gitlab.com/o9000/tint2/blob/16.2/ChangeLog</a></p><p>Documentation:
 <a href="manual.html">manual.html</a></p><p>Compile it with (after you install 
the <a 
href="https://gitlab.com/o9000/tint2/wikis/Install#dependencies";>dependencies</a>):</p><pre
 class="highlight plaintext"><code>git clone https://gitlab.com/o9000/tint2.git
+<h1 id="latest-stable-release-16-4"><span class="md2man-title">Latest</span> 
<span class="md2man-section">stable</span> <span 
class="md2man-date">release:</span> <span class="md2man-source">16.4</span><a 
name="latest-stable-release-16-4" href="#latest-stable-release-16-4" 
class="md2man-permalink" title="permalink"></a></h1><p>Changes: <a 
href="https://gitlab.com/o9000/tint2/blob/16.4/ChangeLog";>https://gitlab.com/o9000/tint2/blob/16.4/ChangeLog</a></p><p>Documentation:
 <a href="manual.html">manual.html</a></p><p>Compile it with (after you install 
the <a 
href="https://gitlab.com/o9000/tint2/wikis/Install#dependencies";>dependencies</a>):</p><pre
 class="highlight plaintext"><code>git clone https://gitlab.com/o9000/tint2.git
 cd tint2
-git checkout 16.2
+git checkout 16.4
 mkdir build
 cd build
 cmake ..
@@ -269,8 +269,7 @@
 </ul>
 <h2 id="more">More<a name="more" href="#more" class="md2man-permalink" 
title="permalink"></a></h2>
 <ul>
-<li><a href="https://gitlab.com/o9000/tint2/wikis/Home";>Tint2 wiki</a>
-Home)</li>
+<li><a href="https://gitlab.com/o9000/tint2/wikis/Home";>Tint2 wiki</a></li>
 </ul>
 </body>
 </html>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/doc/tint2.1 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/doc/tint2.1
--- old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/doc/tint2.1        
2018-01-21 08:04:15.000000000 +0100
+++ new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/doc/tint2.1        
2018-05-03 06:06:13.000000000 +0200
@@ -1,4 +1,4 @@
-.TH TINT2 1 "2018\-01\-21" 16.2
+.TH TINT2 1 "2018\-05\-03" 16.4
 .SH NAME
 .PP
 tint2 \- lightweight panel/taskbar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/doc/tint2.md 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/doc/tint2.md
--- old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/doc/tint2.md       
2018-01-21 08:04:15.000000000 +0100
+++ new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/doc/tint2.md       
2018-05-03 06:06:13.000000000 +0200
@@ -1,4 +1,4 @@
-# TINT2 1 "2018-01-21" 16.2
+# TINT2 1 "2018-05-03" 16.4
 
 ## NAME
 tint2 - lightweight panel/taskbar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/new-release.py 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/new-release.py
--- old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/new-release.py     
2018-01-21 08:04:15.000000000 +0100
+++ new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/new-release.py     
2018-05-03 06:06:13.000000000 +0200
@@ -194,3 +194,9 @@
   choice = raw_input().lower()
   if choice != "y":
     run("git reset --hard HEAD~ ; git tag -d %s ; git tag -d %s" % (version, 
readable_version))
+    sys.exit(1)
+  print "Publish? [y/n]"
+  choice = raw_input().lower()
+  if choice != "y":
+    sys.exit(1)
+  run("git push origin master && git push --tags origin master")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/src/execplugin/execplugin.c
 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/src/execplugin/execplugin.c
--- 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/src/execplugin/execplugin.c
        2018-01-21 08:04:15.000000000 +0100
+++ 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/src/execplugin/execplugin.c
        2018-05-03 06:06:13.000000000 +0200
@@ -20,6 +20,8 @@
 
 #define MAX_TOOLTIP_LEN 4096
 
+bool debug_executors = false;
+
 void execp_timer_callback(void *arg);
 char *execp_get_tooltip(void *obj);
 void execp_init_fonts();
@@ -332,7 +334,7 @@
     int available_w, available_h;
     if (panel_horizontal) {
         available_w = panel->area.width;
-        available_h = area->height - 2 * *horiz_padding - 
left_right_border_width(area);
+        available_h = area->height - 2 * *vert_padding - 
left_right_border_width(area);
     } else {
         available_w = !text_next_line
                           ? area->width - *icon_w - (*icon_w ? 
*interior_padding : 0) - 2 * *horiz_padding -
@@ -635,7 +637,8 @@
         close(pipe_fd_stderr[0]);
         return;
     } else if (child == 0) {
-        fprintf(stderr, "tint2: Executing: %s\n", execp->backend->command);
+        if (debug_executors)
+            fprintf(stderr, "tint2: Executing: %s\n", execp->backend->command);
         // We are in the child
         close(pipe_fd_stdout[0]);
         dup2(pipe_fd_stdout[1], 1); // 1 is stdout
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/src/execplugin/execplugin.h
 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/src/execplugin/execplugin.h
--- 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/src/execplugin/execplugin.h
        2018-01-21 08:04:15.000000000 +0100
+++ 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/src/execplugin/execplugin.h
        2018-05-03 06:06:13.000000000 +0200
@@ -8,6 +8,8 @@
 #include "common.h"
 #include "timer.h"
 
+extern bool debug_executors;
+
 // Architecture:
 // Panel panel_config contains an array of Execp, each storing all config 
options and all the state variables.
 // Only these run commands.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/src/init.c 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/src/init.c
--- old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/src/init.c 
2018-01-21 08:04:15.000000000 +0100
+++ new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/src/init.c 
2018-05-03 06:06:13.000000000 +0200
@@ -106,6 +106,7 @@
     debug_dnd = getenv("DEBUG_DND") != NULL;
     debug_thumbnails = getenv("DEBUG_THUMBNAILS") != NULL;
     debug_timers = getenv("DEBUG_TIMERS") != NULL;
+    debug_executors = getenv("DEBUG_EXECUTORS") != NULL;
     if (debug_fps) {
         init_fps_distribution();
         char *s = getenv("TRACING_FPS_THRESHOLD");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/src/panel.c 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/src/panel.c
--- old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/src/panel.c        
2018-01-21 08:04:15.000000000 +0100
+++ new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/src/panel.c        
2018-05-03 06:06:13.000000000 +0200
@@ -229,6 +229,10 @@
             p->scale = 1;
         if (ui_scale_monitor_size_ref > 0)
             p->scale *= server.monitors[p->monitor].height / 
ui_scale_monitor_size_ref;
+        if (p->scale > 8 || p->scale < 1./8) {
+            fprintf(stderr, RED "tint2: panel %d having scale %g outside 
bounds, resetting to 1.0" RESET "\n", i + 1, p->scale);
+            p->scale = 1;
+        }
         fprintf(stderr, BLUE "tint2: panel %d uses scale %g " RESET "\n", i + 
1, p->scale);
         if (!p->area.bg)
             p->area.bg = &g_array_index(backgrounds, Background, 0);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/src/taskbar/task.c 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/src/taskbar/task.c
--- old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/src/taskbar/task.c 
2018-01-21 08:04:15.000000000 +0100
+++ new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/src/taskbar/task.c 
2018-05-03 06:06:13.000000000 +0200
@@ -758,8 +758,8 @@
     GSList *urgent_task = urgent_list;
     while (urgent_task) {
         Task *t = urgent_task->data;
-        if (t->urgent_tick < max_tick_urgent) {
-            if (t->urgent_tick++ % 2)
+        if (t->urgent_tick <= max_tick_urgent) {
+            if (++t->urgent_tick % 2)
                 set_task_state(t, TASK_URGENT);
             else
                 set_task_state(t, window_is_iconified(t->win) ? TASK_ICONIFIED 
: TASK_NORMAL);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/src/util/common.c 
new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/src/util/common.c
--- old/tint2-v16.2-b810bad93ff65854137fbd2f344ad2f99338008f/src/util/common.c  
2018-01-21 08:04:15.000000000 +0100
+++ new/tint2-v16.4-8a7ba9bf50d351dae94109284c868e3afddec8f8/src/util/common.c  
2018-05-03 06:06:13.000000000 +0200
@@ -789,11 +789,7 @@
 {
     Imlib_Image image;
 #ifdef HAVE_RSVG
-    if (cached) {
-        image = imlib_load_image_immediately(path);
-    } else {
-        image = imlib_load_image_immediately_without_cache(path);
-    }
+    image = imlib_load_image(path);
     if (!image && g_str_has_suffix(path, ".svg")) {
         char tmp_filename[128];
         snprintf(tmp_filename, sizeof(tmp_filename), "/tmp/tint2-%d.png", 
(int)getpid());
@@ -818,19 +814,17 @@
                 // Parent
                 close(fd);
                 waitpid(pid, 0, 0);
-                image = 
imlib_load_image_immediately_without_cache(tmp_filename);
+                image = imlib_load_image_immediately(tmp_filename);
                 unlink(tmp_filename);
             }
         }
     } else
 #endif
     {
-        if (cached) {
-            image = imlib_load_image_immediately(path);
-        } else {
-            image = imlib_load_image_immediately_without_cache(path);
-        }
+        image = imlib_load_image(path);
     }
+    imlib_context_set_image(image);
+    imlib_image_set_changes_on_disk();
     return image;
 }
 



Reply via email to