[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/firefox/devel firefox-1.1-uriloader.patch, 1.1, 1.2 firefox.spec, 1.76, 1.77



Author: caillon

Update of /cvs/dist/rpms/firefox/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv29530

Modified Files:
	firefox-1.1-uriloader.patch firefox.spec 
Log Message:
* Wed Jul 20 2005 Christopher Aillon <caillon redhat com> 1.1-0.2.3-deerpark.alpha2
- Update firefox-1.1-uriloader.patch to fix crashes when calling into gnome-vfs2


firefox-1.1-uriloader.patch:
 Makefile.in                   |    2 
 unix/nsGNOMERegistry.cpp      |   28 ++++--
 unix/nsGNOMERegistry.h        |   11 +-
 unix/nsMIMEInfoUnix.cpp       |  196 ++++++++++++++++++++++++++++++++++++++++++
 unix/nsMIMEInfoUnix.h         |   50 ++++++++++
 unix/nsOSHelperAppService.cpp |   27 ++---
 6 files changed, 287 insertions(+), 27 deletions(-)

Index: firefox-1.1-uriloader.patch
===================================================================
RCS file: /cvs/dist/rpms/firefox/devel/firefox-1.1-uriloader.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- firefox-1.1-uriloader.patch	18 Jul 2005 20:27:41 -0000	1.1
+++ firefox-1.1-uriloader.patch	21 Jul 2005 03:13:36 -0000	1.2
@@ -1,10 +1,26 @@
+Index: uriloader/exthandler/Makefile.in
+===================================================================
+RCS file: /cvsroot/mozilla/uriloader/exthandler/Makefile.in,v
+retrieving revision 1.60
+diff -d -u -p -r1.60 Makefile.in
+--- uriloader/exthandler/Makefile.in	2 May 2005 16:30:03 -0000	1.60
++++ uriloader/exthandler/Makefile.in	21 Jul 2005 03:07:39 -0000
+@@ -102,7 +102,7 @@ endif
+ LOCAL_INCLUDES = -I$(srcdir)
+ 
+ ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
+-OSHELPER	+= nsGNOMERegistry.cpp
++OSHELPER	+= nsMIMEInfoUnix.cpp nsGNOMERegistry.cpp
+ endif
+ 
+ ifeq ($(MOZ_WIDGET_TOOLKIT),beos)
 Index: uriloader/exthandler/unix/nsGNOMERegistry.cpp
 ===================================================================
 RCS file: /cvsroot/mozilla/uriloader/exthandler/unix/nsGNOMERegistry.cpp,v
 retrieving revision 1.10
 diff -d -u -p -r1.10 nsGNOMERegistry.cpp
 --- uriloader/exthandler/unix/nsGNOMERegistry.cpp	16 Oct 2004 13:46:17 -0000	1.10
-+++ uriloader/exthandler/unix/nsGNOMERegistry.cpp	20 Jun 2005 09:48:02 -0000
++++ uriloader/exthandler/unix/nsGNOMERegistry.cpp	21 Jul 2005 03:07:40 -0000
 @@ -42,7 +42,7 @@
  #include "nsString.h"
  #include "nsIComponentManager.h"
@@ -47,7 +63,7 @@
  nsGNOMERegistry::GetFromType(const char *aMIMEType)
  {
    if (!gconfLib)
-@@ -296,7 +296,7 @@ nsGNOMERegistry::GetFromType(const char 
+@@ -296,9 +296,11 @@ nsGNOMERegistry::GetFromType(const char 
    if (!handlerApp)
      return nsnull;
  
@@ -55,8 +71,12 @@
 +  nsRefPtr<nsMIMEInfoUnix> mimeInfo = new nsMIMEInfoUnix(aMIMEType);
    NS_ENSURE_TRUE(mimeInfo, nsnull);
  
++  mimeInfo->SetDefaultGnomeVFSMimeApplication(handlerApp);
++
    // Get the list of extensions and append then to the mimeInfo.
-@@ -320,11 +320,21 @@ nsGNOMERegistry::GetFromType(const char 
+   GList *extensions = _gnome_vfs_mime_get_extensions_list(aMIMEType);
+   for (GList *extension = extensions; extension; extension = extension->next)
+@@ -320,11 +322,21 @@ nsGNOMERegistry::GetFromType(const char 
      return nsnull;
    }
  
@@ -79,7 +99,7 @@
      _gnome_vfs_mime_application_free(handlerApp);
      return nsnull;
    }
-@@ -342,7 +352,7 @@ nsGNOMERegistry::GetFromType(const char 
+@@ -342,7 +354,7 @@ nsGNOMERegistry::GetFromType(const char 
  
    _gnome_vfs_mime_application_free(handlerApp);
  
@@ -94,7 +114,7 @@
 retrieving revision 1.3
 diff -d -u -p -r1.3 nsGNOMERegistry.h
 --- uriloader/exthandler/unix/nsGNOMERegistry.h	16 Oct 2004 13:46:17 -0000	1.3
-+++ uriloader/exthandler/unix/nsGNOMERegistry.h	20 Jun 2005 09:48:02 -0000
++++ uriloader/exthandler/unix/nsGNOMERegistry.h	21 Jul 2005 03:07:40 -0000
 @@ -35,10 +35,13 @@
   *
   * ***** END LICENSE BLOCK ***** */
@@ -127,7 +147,7 @@
 RCS file: uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
 diff -N uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
 --- /dev/null	1 Jan 1970 00:00:00 -0000
-+++ uriloader/exthandler/unix/nsMIMEInfoUnix.cpp	20 Jun 2005 09:48:02 -0000
++++ uriloader/exthandler/unix/nsMIMEInfoUnix.cpp	21 Jul 2005 03:07:40 -0000
 @@ -0,0 +1,196 @@
 +/* ***** BEGIN LICENSE BLOCK *****
 + * Version: MPL 1.1
@@ -330,8 +350,8 @@
 RCS file: uriloader/exthandler/unix/nsMIMEInfoUnix.h
 diff -N uriloader/exthandler/unix/nsMIMEInfoUnix.h
 --- /dev/null	1 Jan 1970 00:00:00 -0000
-+++ uriloader/exthandler/unix/nsMIMEInfoUnix.h	20 Jun 2005 09:48:02 -0000
-@@ -0,0 +1,48 @@
++++ uriloader/exthandler/unix/nsMIMEInfoUnix.h	21 Jul 2005 03:07:40 -0000
+@@ -0,0 +1,50 @@
 +/* ***** BEGIN LICENSE BLOCK *****
 + * Version: MPL 1.1
 + *
@@ -371,6 +391,8 @@
 +  nsMIMEInfoUnix(const char* aType = "") : nsMIMEInfoImpl(aType), mDefaultVFSApplication(nsnull) {}
 +  nsMIMEInfoUnix(const nsACString& aMIMEType) : nsMIMEInfoImpl(aMIMEType) {};
 +
++  virtual ~nsMIMEInfoUnix();
++
 +  void SetDefaultGnomeVFSMimeApplication(GnomeVFSMimeApplication *app);
 +
 +protected:
@@ -386,7 +408,7 @@
 retrieving revision 1.58
 diff -d -u -p -r1.58 nsOSHelperAppService.cpp
 --- uriloader/exthandler/unix/nsOSHelperAppService.cpp	25 Oct 2004 07:46:01 -0000	1.58
-+++ uriloader/exthandler/unix/nsOSHelperAppService.cpp	20 Jun 2005 09:48:02 -0000
++++ uriloader/exthandler/unix/nsOSHelperAppService.cpp	21 Jul 2005 03:07:40 -0000
 @@ -44,6 +44,7 @@
  #include "nsOSHelperAppService.h"
  #ifdef MOZ_WIDGET_GTK2


Index: firefox.spec
===================================================================
RCS file: /cvs/dist/rpms/firefox/devel/firefox.spec,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- firefox.spec	20 Jul 2005 04:34:32 -0000	1.76
+++ firefox.spec	21 Jul 2005 03:13:36 -0000	1.77
@@ -10,7 +10,7 @@
 Summary:        Mozilla Firefox Web browser.
 Name:           firefox
 Version:        1.1
-Release:        0.2.2.deerpark.alpha2
+Release:        0.2.3.deerpark.alpha2
 URL:            http://www.mozilla.org/projects/firefox/
 License:        MPL/LGPL
 Group:          Applications/Internet
@@ -254,6 +254,9 @@
 #---------------------------------------------------------------------
 
 %changelog
+* Wed Jul 20 2005 Christopher Aillon <caillon redhat com> 1.1-0.2.3-deerpark.alpha2
+- Update firefox-1.1-uriloader.patch to fix crashes when calling into gnome-vfs2
+
 * Tue Jul 19 2005 Christopher Aillon <caillon redhat com> 1.1-0.2.2-deerpark.alpha2
 - Do away with firefox-rebuild-databases.pl
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]