rpms/kdelibs/F-9 kdelibs-4.1.1-kde#858795-mimeassoc.patch, NONE, 1.1 kdelibs-4.1.1-kde#860095-khtml-scroll-crash.patch, NONE, 1.1 kdelibs.spec, 1.351, 1.352

Lukas Tinkl ltinkl at fedoraproject.org
Thu Sep 18 12:28:51 UTC 2008


Author: ltinkl

Update of /cvs/extras/rpms/kdelibs/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4747

Modified Files:
	kdelibs.spec 
Added Files:
	kdelibs-4.1.1-kde#858795-mimeassoc.patch 
	kdelibs-4.1.1-kde#860095-khtml-scroll-crash.patch 
Log Message:
more fixes from the 4.1 branch


kdelibs-4.1.1-kde#858795-mimeassoc.patch:

--- NEW FILE kdelibs-4.1.1-kde#858795-mimeassoc.patch ---
Index: kded/kmimeassociations.cpp
===================================================================
--- kded/kmimeassociations.cpp	(revision 858794)
+++ kded/kmimeassociations.cpp	(revision 858795)
@@ -62,7 +62,7 @@
         const QString mimeappsFile = mimeappsIter.previous();
         kDebug(7021) << "Parsing" << mimeappsFile;
         parseMimeAppsList(mimeappsFile, basePreference);
-        basePreference -= 50;
+        basePreference += 50;
     }
     return true;
 }

kdelibs-4.1.1-kde#860095-khtml-scroll-crash.patch:

--- NEW FILE kdelibs-4.1.1-kde#860095-khtml-scroll-crash.patch ---
Index: khtml/rendering/render_layer.cpp
===================================================================
--- khtml/rendering/render_layer.cpp	(revision 860094)
+++ khtml/rendering/render_layer.cpp	(revision 860095)
@@ -715,9 +715,6 @@
     for (RenderLayer* child = firstChild(); child; child = child->nextSibling())
         child->updateLayerPositions(rootLayer);
     
-    // Fire the scroll DOM event.
-    m_object->element()->dispatchHTMLEvent(EventImpl::SCROLL_EVENT, true, false);
-
     // Just schedule a full repaint of our object.
     if (repaint)
         m_object->repaint(RealtimePriority);
@@ -728,6 +725,9 @@
         if (m_vBar)
             m_vBar->setValue(m_scrollY);
     }
+
+    // Fire the scroll DOM event. Do this the very last thing, since the handler may kill us.
+    m_object->element()->dispatchHTMLEvent(EventImpl::SCROLL_EVENT, true, false);    
 }
 
 void RenderLayer::updateScrollPositionFromScrollbars()


Index: kdelibs.spec
===================================================================
RCS file: /cvs/extras/rpms/kdelibs/F-9/kdelibs.spec,v
retrieving revision 1.351
retrieving revision 1.352
diff -u -r1.351 -r1.352
--- kdelibs.spec	16 Sep 2008 21:44:35 -0000	1.351
+++ kdelibs.spec	18 Sep 2008 12:28:21 -0000	1.352
@@ -2,7 +2,7 @@
 
 Summary: K Desktop Environment 4 - Libraries
 Version: 4.1.1
-Release: 9%{?dist}
+Release: 10%{?dist}
 
 %if 0%{?fedora} > 8
 Name: kdelibs
@@ -88,6 +88,8 @@
 Patch102: kdelibs-4.1.1-kde#856403-urlnav.patch
 Patch103: kdelibs-4.1.1-kutils-fixes.patch
 Patch104: kdelibs-4.1.1-kdeui-widgets-fixes.patch
+Patch105: kdelibs-4.1.1-kde#858795-mimeassoc.patch
+Patch106: kdelibs-4.1.1-kde#860095-khtml-scroll-crash.patch
 
 BuildRequires: qt4-devel >= 4.4.0
 Requires: qt4 >= %{_qt4_version} 
@@ -221,6 +223,8 @@
 %patch102 -p0 -b .kde#856403-urlnav
 %patch103 -p0 -b .kutils-fixes
 %patch104 -p0 -b .kdeui-widgets-fixes
+%patch105 -p0 -b .kde#858795-mimeassoc
+%patch106 -p0 -b .kde#860095-khtml-scroll-crash
 
 %build
 
@@ -381,6 +385,11 @@
 
 
 %changelog
+* Thu Sep 18 2008 Lukáš Tinkl <ltinkl at redhat.com> 4.1.1-10
+- Fix file association bug, the global mimeapps.list file had priority
+  over the local one.
+- khtml scroll crash fix (kdebug:170880)
+
 * Tue Sep 16 2008 Than Ngo <than at redhat.com> 4.1.1-9
 - #461725, revert the patch to fix the regression
 




More information about the fedora-extras-commits mailing list