Hello community, here is the log from the commit of package oxygen-gtk2 for openSUSE:Factory checked in at 2013-04-24 16:07:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/oxygen-gtk2 (Old) and /work/SRC/openSUSE:Factory/.oxygen-gtk2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "oxygen-gtk2", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/oxygen-gtk2/oxygen-gtk2.changes 2013-02-17 17:11:18.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.oxygen-gtk2.new/oxygen-gtk2.changes 2013-04-24 16:07:13.000000000 +0200 @@ -1,0 +2,13 @@ +Tue Apr 23 15:23:20 UTC 2013 - [email protected] + +- Update to version 1.3.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-gtk2-1.3.2.1.tar.bz2 New: ---- oxygen-gtk2-1.3.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ oxygen-gtk2.spec ++++++ --- /var/tmp/diff_new_pack.wlmpnd/_old 2013-04-24 16:07:15.000000000 +0200 +++ /var/tmp/diff_new_pack.wlmpnd/_new 2013-04-24 16:07:15.000000000 +0200 @@ -17,7 +17,7 @@ Name: oxygen-gtk2 -Version: 1.3.2.1 +Version: 1.3.3 Release: 0 Summary: A Port of the default KDE Widget Theme (Oxygen), to GTK 2.x License: LGPL-2.1+ ++++++ oxygen-gtk2-1.3.2.1.tar.bz2 -> oxygen-gtk2-1.3.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oxygen-gtk2-1.3.2.1/CMakeLists.txt new/oxygen-gtk2-1.3.3/CMakeLists.txt --- old/oxygen-gtk2-1.3.2.1/CMakeLists.txt 2013-02-12 09:20:00.000000000 +0100 +++ new/oxygen-gtk2-1.3.3/CMakeLists.txt 2013-04-22 20:26:21.000000000 +0200 @@ -13,7 +13,7 @@ set( CPACK_PACKAGE_VENDOR "[email protected]" ) set( CPACK_PACKAGE_VERSION_MAJOR "1" ) set( CPACK_PACKAGE_VERSION_MINOR "3" ) -set( CPACK_PACKAGE_VERSION_PATCH "2.1" ) +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-gtk2-1.3.2.1/src/animations/oxygenanimations.cpp new/oxygen-gtk2-1.3.3/src/animations/oxygenanimations.cpp --- old/oxygen-gtk2-1.3.2.1/src/animations/oxygenanimations.cpp 2013-02-11 12:09:51.000000000 +0100 +++ new/oxygen-gtk2-1.3.3/src/animations/oxygenanimations.cpp 2013-04-22 20:26:21.000000000 +0200 @@ -164,7 +164,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-gtk2-1.3.2.1/src/oxygenapplicationname.cpp new/oxygen-gtk2-1.3.3/src/oxygenapplicationname.cpp --- old/oxygen-gtk2-1.3.2.1/src/oxygenapplicationname.cpp 2013-02-11 12:09:51.000000000 +0100 +++ new/oxygen-gtk2-1.3.3/src/oxygenapplicationname.cpp 2013-04-22 20:26:21.000000000 +0200 @@ -90,6 +90,7 @@ "icedove", "xulrunner", "komodo", + "aurora", "" }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oxygen-gtk2-1.3.2.1/src/oxygengtkicons.cpp new/oxygen-gtk2-1.3.3/src/oxygengtkicons.cpp --- old/oxygen-gtk2-1.3.2.1/src/oxygengtkicons.cpp 2013-02-05 15:28:17.000000000 +0100 +++ new/oxygen-gtk2-1.3.3/src/oxygengtkicons.cpp 2013-04-22 20:26:21.000000000 +0200 @@ -258,6 +258,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-gtk2-1.3.2.1/src/oxygenqtsettings.cpp new/oxygen-gtk2-1.3.3/src/oxygenqtsettings.cpp --- old/oxygen-gtk2-1.3.2.1/src/oxygenqtsettings.cpp 2013-02-11 12:14:06.000000000 +0100 +++ new/oxygen-gtk2-1.3.3/src/oxygenqtsettings.cpp 2013-04-22 20:26:21.000000000 +0200 @@ -267,11 +267,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 { @@ -298,7 +299,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-gtk2-1.3.2.1/src/oxygenrgba.cpp new/oxygen-gtk2-1.3.3/src/oxygenrgba.cpp --- old/oxygen-gtk2-1.3.2.1/src/oxygenrgba.cpp 2013-02-05 15:23:49.000000000 +0100 +++ new/oxygen-gtk2-1.3.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-gtk2-1.3.2.1/src/oxygentileset.cpp new/oxygen-gtk2-1.3.3/src/oxygentileset.cpp --- old/oxygen-gtk2-1.3.2.1/src/oxygentileset.cpp 2012-07-08 13:25:21.000000000 +0200 +++ new/oxygen-gtk2-1.3.3/src/oxygentileset.cpp 2013-04-22 20:26:21.000000000 +0200 @@ -64,6 +64,9 @@ initSurface( _surfaces, surface, w, _h3, _w1, _h1+h2, w2, _h3 ); initSurface( _surfaces, surface, _w3, _h3, _w1+w2, _h1+h2, _w3, _h3 ); + if(!isValid()) + std::cerr << "oxygen-gtk: BUG: created tileset looks invalid, expect resource leaks ("<<__FILE__<<":"<<__LINE__<<")\n"; + } //______________________________________________________________ @@ -181,7 +184,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-gtk2-1.3.2.1/src/oxygentileset.h new/oxygen-gtk2-1.3.3/src/oxygentileset.h --- old/oxygen-gtk2-1.3.2.1/src/oxygentileset.h 2012-07-08 13:25:21.000000000 +0200 +++ new/oxygen-gtk2-1.3.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-gtk2-1.3.2.1/src/oxygenwindowmanager.cpp new/oxygen-gtk2-1.3.3/src/oxygenwindowmanager.cpp --- old/oxygen-gtk2-1.3.2.1/src/oxygenwindowmanager.cpp 2013-02-05 15:28:49.000000000 +0100 +++ new/oxygen-gtk2-1.3.3/src/oxygenwindowmanager.cpp 2013-04-22 20:26:21.000000000 +0200 @@ -610,14 +610,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]
