Hello community,

here is the log from the commit of package cinnamon for openSUSE:Factory 
checked in at 2018-09-24 13:11:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cinnamon (Old)
 and      /work/SRC/openSUSE:Factory/.cinnamon.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cinnamon"

Mon Sep 24 13:11:43 2018 rev:33 rq:636732 version:3.8.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/cinnamon/cinnamon.changes        2018-07-26 
10:18:20.627930846 +0200
+++ /work/SRC/openSUSE:Factory/.cinnamon.new/cinnamon.changes   2018-09-24 
13:11:48.377860242 +0200
@@ -1,0 +2,15 @@
+Tue Sep 18 17:27:47 UTC 2018 - [email protected]
+
+- Update to version 3.8.9:
+  * cs_sound.py: Gracefully handle input streams that don't have a
+    name, ignore streams created by sound effects and a11y
+    utilities, and don't add the same source id more than once.
+  * menu applet: Make sure the menu is fully reset when the search
+    entry is cleared (thru any means) and don't let the favourites
+    Del key handler steal keystrokes from an active search.
+  * popupMenu: Fix undefined _delegate property warning.
+  * deskletManager: Fix launcher-list gsetting resetting on desklet
+    snap grid width change.
+  * Spices.py: Fix connection to a server with certain connections.
+
+-------------------------------------------------------------------

Old:
----
  Cinnamon-3.8.8.tar.gz

New:
----
  Cinnamon-3.8.9.tar.gz

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

Other differences:
------------------
++++++ cinnamon.spec ++++++
--- /var/tmp/diff_new_pack.DkFgt7/_old  2018-09-24 13:11:48.945859239 +0200
+++ /var/tmp/diff_new_pack.DkFgt7/_new  2018-09-24 13:11:48.945859239 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,7 +21,7 @@
 %define _name   Cinnamon
 %define _version 3.8.0
 Name:           cinnamon
-Version:        3.8.8
+Version:        3.8.9
 Release:        0
 Summary:        GNU/Linux Desktop featuring a traditional layout
 License:        GPL-2.0-or-later AND LGPL-2.1-only
@@ -258,11 +258,7 @@
 %endif
 
 %files
-%if 0%{?suse_version} >= 1500
 %license COPYING
-%else
-%doc COPYING
-%endif
 %doc AUTHORS README.rst debian/changelog
 %dir %{_sysconfdir}/xdg/menus/
 %config %{_sysconfdir}/xdg/menus/%{name}-applications.menu

++++++ Cinnamon-3.8.8.tar.gz -> Cinnamon-3.8.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cinnamon-3.8.8/configure.ac 
new/Cinnamon-3.8.9/configure.ac
--- old/Cinnamon-3.8.8/configure.ac     2018-07-17 09:41:42.000000000 +0200
+++ new/Cinnamon-3.8.9/configure.ac     2018-09-11 15:40:35.000000000 +0200
@@ -1,5 +1,5 @@
 AC_PREREQ(2.63)
-AC_INIT([cinnamon],[3.8.8],[https://github.com/linuxmint/Cinnamon/issues],[cinnamon])
+AC_INIT([cinnamon],[3.8.9],[https://github.com/linuxmint/Cinnamon/issues],[cinnamon])
 
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_SRCDIR([src/cinnamon-global.c])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cinnamon-3.8.8/debian/changelog 
new/Cinnamon-3.8.9/debian/changelog
--- old/Cinnamon-3.8.8/debian/changelog 2018-07-17 09:41:42.000000000 +0200
+++ new/Cinnamon-3.8.9/debian/changelog 2018-09-11 15:40:35.000000000 +0200
@@ -1,3 +1,18 @@
+cinnamon (3.8.9) tara; urgency=medium
+
+  [ Michael Webster ]
+  * cs_sound.py: Gracefully handle input streams that don't have a name, 
ignore streams created by sound effects and a11y utilities, and don't add the 
same source id more than once.
+  * menu applet: Make sure the menu is fully reset when the search entry is 
cleared (thru any means) and don't let the favorites Del key handler steal 
keystrokes from an active search.
+
+  [ Jason Hicks ]
+  * popupMenu: Fix undefined _delegate property warning (#7706)
+  * deskletManager: Fix launcher-list gsetting resetting on desklet snap grid 
width change
+
+  [ Clement Lefebvre ]
+  * Spices.py: Fix connection to server with certain connexions
+
+ -- Clement Lefebvre <[email protected]>  Tue, 11 Sep 2018 14:39:40 +0100
+
 cinnamon (3.8.8) tara; urgency=medium
 
   [ Michael Webster ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Cinnamon-3.8.8/files/usr/share/cinnamon/applets/[email protected]/applet.js 
new/Cinnamon-3.8.9/files/usr/share/cinnamon/applets/[email protected]/applet.js
--- 
old/Cinnamon-3.8.8/files/usr/share/cinnamon/applets/[email protected]/applet.js 
    2018-07-17 09:41:42.000000000 +0200
+++ 
new/Cinnamon-3.8.9/files/usr/share/cinnamon/applets/[email protected]/applet.js 
    2018-09-11 15:40:35.000000000 +0200
@@ -1832,7 +1832,7 @@
                 if (item_actor._delegate instanceof ApplicationButton || 
item_actor._delegate instanceof RecentButton)
                     item_actor._delegate.activateContextMenus();
                 return true;
-            } else if (this._activeContainer === this.favoritesBox && symbol 
=== Clutter.Delete) {
+            } else if (!this.searchActive && this._activeContainer === 
this.favoritesBox && symbol === Clutter.Delete) {
                 item_actor = 
this.favoritesBox.get_child_at_index(this._selectedItemIndex);
                 if (item_actor._delegate instanceof FavoritesButton) {
                     let favorites = 
AppFavorites.getAppFavorites().getFavorites();
@@ -3062,11 +3062,6 @@
 
     resetSearch(){
         this.searchEntry.set_text("");
-        this._previousSearchPattern = "";
-        this.searchActive = false;
-        this._clearAllSelections(true);
-        this._setCategoriesButtonActive(true);
-        global.stage.set_key_focus(this.searchEntry);
     }
 
     _onSearchTextChanged (se, prop) {
@@ -3091,6 +3086,7 @@
                         }));
                 }
                 this._setCategoriesButtonActive(false);
+                this.lastSelectedCategory = "search"
                 this._doSearch();
             } else {
                 if (this._searchIconClickedId > 0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Cinnamon-3.8.8/files/usr/share/cinnamon/cinnamon-settings/bin/Spices.py 
new/Cinnamon-3.8.9/files/usr/share/cinnamon/cinnamon-settings/bin/Spices.py
--- old/Cinnamon-3.8.8/files/usr/share/cinnamon/cinnamon-settings/bin/Spices.py 
2018-07-17 09:41:42.000000000 +0200
+++ new/Cinnamon-3.8.9/files/usr/share/cinnamon/cinnamon-settings/bin/Spices.py 
2018-09-11 15:40:35.000000000 +0200
@@ -19,7 +19,8 @@
     print(detail)
     sys.exit(1)
 
-from urllib.request import urlopen
+from http.client import HTTPSConnection
+from urllib.parse import urlparse
 
 try:
     import json
@@ -381,21 +382,26 @@
         #interrupted.
         count = 0
         blockSize = 1024 * 8
+        parsed_url = urlparse(url)
+        host = parsed_url.netloc
         try:
-            with urlopen(url, timeout=15) as urlobj:
-                assert urlobj.getcode() == 200
-
-                totalSize = int(urlobj.info()['content-length'])
-
-                while not self._is_aborted():
-                    data = urlobj.read(blockSize)
-                    count += 1
-                    if not data:
-                        break
-                    if not binary:
-                        data = data.decode("utf-8")
-                    outfd.write(data)
-                    ui_thread_do(reporthook, count, blockSize, totalSize)
+            connection = HTTPSConnection(host, timeout=15)
+            headers = { "Accept-Encoding": "identity", "Host": host, 
"User-Agent": "Python/3" }
+            connection.request("GET", parsed_url.path, headers=headers)
+            urlobj = connection.getresponse()
+            assert urlobj.getcode() == 200
+
+            totalSize = int(urlobj.info()['content-length'])
+
+            while not self._is_aborted():
+                data = urlobj.read(blockSize)
+                count += 1
+                if not data:
+                    break
+                if not binary:
+                    data = data.decode("utf-8")
+                outfd.write(data)
+                ui_thread_do(reporthook, count, blockSize, totalSize)
         except Exception as e:
             raise e
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Cinnamon-3.8.8/files/usr/share/cinnamon/cinnamon-settings/modules/cs_sound.py
 
new/Cinnamon-3.8.9/files/usr/share/cinnamon/cinnamon-settings/modules/cs_sound.py
--- 
old/Cinnamon-3.8.8/files/usr/share/cinnamon/cinnamon-settings/modules/cs_sound.py
   2018-07-17 09:41:42.000000000 +0200
+++ 
new/Cinnamon-3.8.9/files/usr/share/cinnamon/cinnamon-settings/modules/cs_sound.py
   2018-09-11 15:40:35.000000000 +0200
@@ -772,7 +772,28 @@
         stream = self.controller.lookup_stream_id(id)
 
         if stream in self.controller.get_sink_inputs():
-            self.appList[id] = VolumeBar(self.controller.get_vol_max_norm(), 
100, stream.props.name + ": ", stream.get_gicon())
+            name = stream.props.name
+
+            # FIXME: We use to filter out by PA_PROP_APPLICATION_ID.  But
+            # most streams report this as null now... why??
+            if name in ("speech-dispatcher", "libcanberra"):
+                # speech-dispatcher: orca/speechd/spd-say
+                # libcanberra: cinnamon effects, test sounds
+                return
+
+            if id in self.appList.keys():
+                # Don't add an input more than once
+                return
+
+            if name == None:
+                name = _("Unknown")
+
+            label = "%s: " % name
+
+            self.appList[id] = VolumeBar(self.controller.get_vol_max_norm(),
+                                         100,
+                                         label,
+                                         stream.get_gicon())
             self.appList[id].setStream(stream)
             self.appSettings.add_row(self.appList[id])
             self.appSettings.list_box.invalidate_headers()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cinnamon-3.8.8/js/ui/deskletManager.js 
new/Cinnamon-3.8.9/js/ui/deskletManager.js
--- old/Cinnamon-3.8.8/js/ui/deskletManager.js  2018-07-17 09:41:42.000000000 
+0200
+++ new/Cinnamon-3.8.9/js/ui/deskletManager.js  2018-09-11 15:40:35.000000000 
+0200
@@ -393,8 +393,9 @@
 
         enabledDesklets[i] = elements.join(":");
     }
-
+    global.settings.disconnect(deskletChangeKey);
     global.settings.set_strv(ENABLED_DESKLETS_KEY, enabledDesklets);
+    deskletChangeKey = global.settings.connect('changed::' + 
ENABLED_DESKLETS_KEY, _onEnabledDeskletsChanged);
     return;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cinnamon-3.8.8/js/ui/popupMenu.js 
new/Cinnamon-3.8.9/js/ui/popupMenu.js
--- old/Cinnamon-3.8.8/js/ui/popupMenu.js       2018-07-17 09:41:42.000000000 
+0200
+++ new/Cinnamon-3.8.9/js/ui/popupMenu.js       2018-09-11 15:40:35.000000000 
+0200
@@ -2045,7 +2045,8 @@
 
     _getMenuItems: function() {
         return this.box.get_children().reduce((children, actor) => {
-            if (actor._delegate instanceof PopupBaseMenuItem || 
actor._delegate instanceof PopupMenuSection)
+            if (actor._delegate &&
+                (actor._delegate instanceof PopupBaseMenuItem || 
actor._delegate instanceof PopupMenuSection))
                 children.push(actor._delegate);
             return children;
         }, []);


Reply via email to