Hello community,

here is the log from the commit of package oxygen-gtk3 for openSUSE:Factory 
checked in at 2013-04-24 16:07:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/oxygen-gtk3 (Old)
 and      /work/SRC/openSUSE:Factory/.oxygen-gtk3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "oxygen-gtk3", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/oxygen-gtk3/oxygen-gtk3.changes  2013-01-31 
10:27:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.oxygen-gtk3.new/oxygen-gtk3.changes     
2013-04-24 16:07:25.000000000 +0200
@@ -1,0 +2,13 @@
+Tue Apr 23 15:30:47 UTC 2013 - [email protected]
+
+- Update to version 1.1.3
+  * Detect aurora as a XUL app (kde#315163)
+  * Bump needed cairo version for cairo_surface_create_for_rectangle()
+    (kde#316066)
+  * Only check pixmap list size in ::isValid (kde#304381) 
+  * Check cursor shape before accepting event for window dragging 
+    (kde#317292)
+  * Fix crash in pidgin when enabling debug (kde#318002)
+  * Fixed memory leaks (kde#318002)
+
+-------------------------------------------------------------------

Old:
----
  oxygen-gtk3-1.1.2.tar.bz2

New:
----
  oxygen-gtk3-1.1.3.tar.bz2

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

Other differences:
------------------
++++++ oxygen-gtk3.spec ++++++
--- /var/tmp/diff_new_pack.nmZqAW/_old  2013-04-24 16:07:31.000000000 +0200
+++ /var/tmp/diff_new_pack.nmZqAW/_new  2013-04-24 16:07:31.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           oxygen-gtk3
-Version:        1.1.2
+Version:        1.1.3
 Release:        0
 Summary:        A Port of the default KDE Widget Theme (Oxygen), to GTK 3.x
 License:        LGPL-2.1+

++++++ oxygen-gtk3-1.1.2.tar.bz2 -> oxygen-gtk3-1.1.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oxygen-gtk3-1.1.2/CMakeLists.txt 
new/oxygen-gtk3-1.1.3/CMakeLists.txt
--- old/oxygen-gtk3-1.1.2/CMakeLists.txt        2013-01-29 13:55:41.000000000 
+0100
+++ new/oxygen-gtk3-1.1.3/CMakeLists.txt        2013-04-22 20:26:36.000000000 
+0200
@@ -13,7 +13,7 @@
 set( CPACK_PACKAGE_VENDOR "[email protected]" )
 set( CPACK_PACKAGE_VERSION_MAJOR "1" )
 set( CPACK_PACKAGE_VERSION_MINOR "1" )
-set( CPACK_PACKAGE_VERSION_PATCH "2" )
+set( CPACK_PACKAGE_VERSION_PATCH "3" )
 set( CPACK_SOURCE_IGNORE_FILES "build" "^${PROJECT_SOURCE_DIR}.*/.git/" )
 
 ##################################
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oxygen-gtk3-1.1.2/src/animations/oxygenanimations.cpp 
new/oxygen-gtk3-1.1.3/src/animations/oxygenanimations.cpp
--- old/oxygen-gtk3-1.1.2/src/animations/oxygenanimations.cpp   2013-01-29 
13:55:21.000000000 +0100
+++ new/oxygen-gtk3-1.1.3/src/animations/oxygenanimations.cpp   2013-04-22 
20:26:36.000000000 +0200
@@ -157,7 +157,7 @@
         if( _allWidgets.find( widget ) != _allWidgets.end() ) return false;
 
         #if OXYGEN_DEBUG
-        std::cerr << "Oxygen::Animations::registerWidget - " << widget << " (" 
<< G_OBJECT_TYPE_NAME( widget ) << ")" << std::endl;
+        std::cerr << "Oxygen::Animations::registerWidget - " << widget << " (" 
<< (widget ? G_OBJECT_TYPE_NAME( widget ):"0x0") << ")" << std::endl;
         #endif
 
         Signal destroyId;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oxygen-gtk3-1.1.2/src/animations/oxygeninnershadowdata.cpp 
new/oxygen-gtk3-1.1.3/src/animations/oxygeninnershadowdata.cpp
--- old/oxygen-gtk3-1.1.2/src/animations/oxygeninnershadowdata.cpp      
2013-01-29 13:55:21.000000000 +0100
+++ new/oxygen-gtk3-1.1.3/src/animations/oxygeninnershadowdata.cpp      
2013-04-22 20:26:36.000000000 +0200
@@ -184,7 +184,6 @@
 
         #if ENABLE_INNER_SHADOWS_HACK
         GtkWidget* child( gtk_bin_get_child( GTK_BIN( widget ) ) );
-        GdkWindow* window( gtk_widget_get_window( widget ) );
         GdkWindow* childWindow( gtk_widget_get_window( child ) );
 
         #if OXYGEN_DEBUG
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oxygen-gtk3-1.1.2/src/oxygengtkicons.cpp 
new/oxygen-gtk3-1.1.3/src/oxygengtkicons.cpp
--- old/oxygen-gtk3-1.1.2/src/oxygengtkicons.cpp        2013-01-29 
13:55:21.000000000 +0100
+++ new/oxygen-gtk3-1.1.3/src/oxygengtkicons.cpp        2013-04-22 
20:26:36.000000000 +0200
@@ -229,6 +229,7 @@
 
                 // add source to iconSet
                 gtk_icon_set_add_source( iconSet, iconSource );
+                gtk_icon_source_free( iconSource );
                 break;
 
             }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oxygen-gtk3-1.1.2/src/oxygenqtsettings.cpp 
new/oxygen-gtk3-1.1.3/src/oxygenqtsettings.cpp
--- old/oxygen-gtk3-1.1.2/src/oxygenqtsettings.cpp      2013-01-29 
13:55:21.000000000 +0100
+++ new/oxygen-gtk3-1.1.3/src/oxygenqtsettings.cpp      2013-04-22 
20:26:36.000000000 +0200
@@ -265,11 +265,12 @@
         PathList out;
 
         // load icon install prefix
-        char* path = 0L;
+        gchar* path = 0L;
         if( g_spawn_command_line_sync( "kde4-config --path config", &path, 0L, 
0L, 0L ) && path )
         {
 
             out.split( path );
+            g_free( path );
 
         } else {
 
@@ -296,7 +297,10 @@
         PathList out;
         char* path = 0L;
         if( g_spawn_command_line_sync( "kde4-config --path icon", &path, 0L, 
0L, 0L ) && path )
-        { out.split( path ); }
+        {
+            out.split( path );
+            g_free( path );
+        }
 
         // make sure defaultKdeIconPath is included in the list
         if( std::find( out.begin(), out.end(), _defaultKdeIconPath ) == 
out.end() )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oxygen-gtk3-1.1.2/src/oxygenrgba.cpp 
new/oxygen-gtk3-1.1.3/src/oxygenrgba.cpp
--- old/oxygen-gtk3-1.1.2/src/oxygenrgba.cpp    2013-01-18 11:03:49.000000000 
+0100
+++ new/oxygen-gtk3-1.1.3/src/oxygenrgba.cpp    2013-04-22 16:34:33.000000000 
+0200
@@ -84,7 +84,8 @@
         {
 
             // convert to hex number
-            std::istringstream in( g_match_info_fetch( matchInfo, 1 ) );
+            gchar* matchedString( g_match_info_fetch( matchInfo, 1 ) );
+            std::istringstream in( matchedString );
             int colorValue = 0;
             in >> std::hex >> colorValue;
 
@@ -92,12 +93,15 @@
             out.setGreen( double( (colorValue>>=8)&0xff)/255 );
             out.setRed( double( (colorValue>>=8)&0xff)/255 );
 
+            g_free( matchedString );
+
         } else if( matchCount >= 5 ) {
 
             for( int index = 0; index < matchCount-2; ++index )
             {
 
-                std::istringstream in( g_match_info_fetch( matchInfo, index+2 
) );
+                gchar* matchedString( g_match_info_fetch( matchInfo, index+2 ) 
);
+                std::istringstream in( matchedString );
                 int colorValue;
                 if( !(in >> colorValue) ) break;
 
@@ -106,6 +110,8 @@
                 else if( index == 2 ) out.setBlue( double(colorValue)/255 );
                 else if( index == 3 ) out.setAlpha( double(colorValue)/255 );
 
+                g_free( matchedString );
+
             }
 
         }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oxygen-gtk3-1.1.2/src/oxygentileset.cpp 
new/oxygen-gtk3-1.1.3/src/oxygentileset.cpp
--- old/oxygen-gtk3-1.1.2/src/oxygentileset.cpp 2012-07-08 13:25:21.000000000 
+0200
+++ new/oxygen-gtk3-1.1.3/src/oxygentileset.cpp 2013-04-22 20:26:36.000000000 
+0200
@@ -181,7 +181,8 @@
 
             } else {
 
-                #if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 10, 0)
+                // Bug 316066
+                #if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 12, 4)
                 Cairo::Surface tile( cairo_surface_create_for_rectangle( 
source, sx, sy, sw, sh ) );
                 #else
                 Cairo::Surface tile( cairo_surface_create_similar( source, 
CAIRO_CONTENT_COLOR_ALPHA, sw, sh ) );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oxygen-gtk3-1.1.2/src/oxygentileset.h 
new/oxygen-gtk3-1.1.3/src/oxygentileset.h
--- old/oxygen-gtk3-1.1.2/src/oxygentileset.h   2012-07-08 13:25:21.000000000 
+0200
+++ new/oxygen-gtk3-1.1.3/src/oxygentileset.h   2013-04-22 16:34:33.000000000 
+0200
@@ -109,7 +109,7 @@
 
         //! is valid
         bool isValid( void ) const
-        { return width() > 0  && height() > 0 && _surfaces.size() == 9; }
+        { return _surfaces.size() == 9; }
 
         /*!
         Fills the specified rect with tiled chunks. Corners are never tiled,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oxygen-gtk3-1.1.2/src/oxygenwindowmanager.cpp 
new/oxygen-gtk3-1.1.3/src/oxygenwindowmanager.cpp
--- old/oxygen-gtk3-1.1.2/src/oxygenwindowmanager.cpp   2013-01-29 
13:55:21.000000000 +0100
+++ new/oxygen-gtk3-1.1.3/src/oxygenwindowmanager.cpp   2013-04-22 
20:26:36.000000000 +0200
@@ -632,14 +632,20 @@
             if( !( event && withinWidget( childWidget, event ) ) )
             { continue; }
 
+            // do not propagate if widget's cursor is currently modified,
+            // since it is usually indicative of mouse action
+            GdkCursor* cursor = gdk_window_get_cursor( window );
+            if( cursor && gdk_cursor_get_cursor_type( cursor ) != GDK_ARROW )
+            { usable = false; }
+
             // check special cases for which grab should not be enabled
-            if(
-                ( widgetIsBlackListed( childWidget ) ) ||
+            if( usable && (
+                widgetIsBlackListed( childWidget ) ||
                 ( GTK_IS_NOTEBOOK( widget ) && Gtk::gtk_notebook_is_tab_label( 
GTK_NOTEBOOK( widget ), childWidget ) ) ||
                 ( GTK_IS_BUTTON( childWidget ) && gtk_widget_get_state( 
childWidget ) != GTK_STATE_INSENSITIVE ) ||
                 ( gtk_widget_get_events ( childWidget ) & 
(GDK_BUTTON_PRESS_MASK|GDK_BUTTON_RELEASE_MASK) ) ||
                 ( GTK_IS_MENU_ITEM( childWidget ) ) ||
-                ( GTK_IS_SCROLLED_WINDOW( childWidget ) && ( !inNoteBook || 
gtk_widget_is_focus( childWidget ) ) ) )
+                ( GTK_IS_SCROLLED_WINDOW( childWidget ) && ( !inNoteBook || 
gtk_widget_is_focus( childWidget ) ) ) ) )
             { usable = false; }
 
             // if child is a container and event has been accepted so far, 
also check it, recursively

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

Reply via email to