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

rpms/thunderbird/FC-4 firefox-1.0-candidate-window.patch, NONE, 1.1 firefox-1.0-g-application-name.patch, NONE, 1.1 firefox-1.0-gtk-system-colors.patch, NONE, 1.1 firefox-1.0-imgloader-comarray.patch, NONE, 1.1 firefox-1.0-remote-intern-atoms.patch, NONE, 1.1 thunderbird.spec, 1.36, 1.37 firefox-1.0-execshield-nspr.patch, 1.1, NONE firefox-1.0-execshield-xpcom.patch, 1.1, NONE firefox-1.0-nspr-s390.patch, 1.1, NONE firefox-1.0-xptcall-s390.patch, 1.1, NONE



Author: caillon

Update of /cvs/dist/rpms/thunderbird/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv25178

Modified Files:
	thunderbird.spec 
Added Files:
	firefox-1.0-candidate-window.patch 
	firefox-1.0-g-application-name.patch 
	firefox-1.0-gtk-system-colors.patch 
	firefox-1.0-imgloader-comarray.patch 
	firefox-1.0-remote-intern-atoms.patch 
Removed Files:
	firefox-1.0-execshield-nspr.patch 
	firefox-1.0-execshield-xpcom.patch firefox-1.0-nspr-s390.patch 
	firefox-1.0-xptcall-s390.patch 
Log Message:
* Mon Jul 18 2005 Christopher Aillon <caillon redhat com> 1.0.6-0.1.fc4
- 1.0.6 Release Candidate


firefox-1.0-candidate-window.patch:
 nsWindow.cpp |   46 ++++++++++++++++++++++++++++++++++++++++------
 nsWindow.h   |    1 +
 2 files changed, 41 insertions(+), 6 deletions(-)

--- NEW FILE firefox-1.0-candidate-window.patch ---
--- mozilla-1.7.5.orig/widget/src/gtk2/nsWindow.cpp	2005-02-07 14:07:33.000000000 +0900
+++ mozilla-1.7.5/widget/src/gtk2/nsWindow.cpp	2005-02-07 15:21:18.000000000 +0900
@@ -211,6 +211,7 @@
                                        nsWindow *aWindow);
 static void IM_set_text_range         (const PRInt32 aLen,
                                        const gchar *aPreeditString,
+                                       const gint aCursorPos,
                                        const PangoAttrList *aFeedback,
                                        PRUint32 *aTextRangeListLengthResult,
                                        nsTextRangeArray *aTextRangeListResult);
@@ -3954,12 +3955,28 @@
 
     nsEventStatus status;
     DispatchEvent(&compEvent, status);
+
+    gint x1, y1, x2, y2;
+    GtkWidget *widget =
+        get_gtk_widget_for_gdk_window(this->mDrawingarea->inner_window);
+
+    gdk_window_get_origin(widget->window, &x1, &y1);
+    gdk_window_get_origin(this->mDrawingarea->inner_window, &x2, &y2);
+
+    GdkRectangle area;
+    area.x = compEvent.theReply.mCursorPosition.x + (x2 - x1);
+    area.y = compEvent.theReply.mCursorPosition.y + (y2 - y1);
+    area.width  = 0;
+    area.height = compEvent.theReply.mCursorPosition.height;
+
+    gtk_im_context_set_cursor_location(IMEGetContext(), &area);
 }
 
 void
 nsWindow::IMEComposeText (const PRUnichar *aText,
                           const PRInt32 aLen,
                           const gchar *aPreeditString,
+                          const gint aCursorPos,
                           const PangoAttrList *aFeedback)
 {
     // Send our start composition event if we need to
@@ -3973,7 +3990,7 @@
         textEvent.theText = (PRUnichar*)aText;
 
         if (aPreeditString && aFeedback && (aLen > 0)) {
-            IM_set_text_range(aLen, aPreeditString, aFeedback,
+            IM_set_text_range(aLen, aPreeditString, aCursorPos, aFeedback,
                               &(textEvent.rangeCount),
                               &(textEvent.rangeArray));
         }
@@ -3985,6 +4002,21 @@
     if (textEvent.rangeArray) {
         delete[] textEvent.rangeArray;
     }
+
+    gint x1, y1, x2, y2;
+    GtkWidget *widget =
+        get_gtk_widget_for_gdk_window(this->mDrawingarea->inner_window);
+
+    gdk_window_get_origin(widget->window, &x1, &y1);
+    gdk_window_get_origin(this->mDrawingarea->inner_window, &x2, &y2);
+
+    GdkRectangle area;
+    area.x = textEvent.theReply.mCursorPosition.x + (x2 - x1);
+    area.y = textEvent.theReply.mCursorPosition.y + (y2 - y1);
+    area.width  = 0;
+    area.height = textEvent.theReply.mCursorPosition.height;
+
+    gtk_im_context_set_cursor_location(IMEGetContext(), &area);
 }
 
 void
@@ -4075,6 +4107,7 @@
         return;
   
     // Should use cursor_pos ?
+    // Of course!!!
     gtk_im_context_get_preedit_string(aContext, &preedit_string,
                                       &feedback_list, &cursor_pos);
   
@@ -4083,7 +4116,7 @@
 
     if (!preedit_string || !*preedit_string) {
         LOGIM(("preedit ended\n"));
-        window->IMEComposeText(NULL, 0, NULL, NULL);
+        window->IMEComposeText(NULL, 0, NULL, 0, NULL);
         window->IMEComposeEnd();
         return;
     }
@@ -4107,7 +4140,7 @@
 
     if (uniStrLen) {
         window->IMEComposeText(NS_STATIC_CAST(const PRUnichar *, uniStr),
-                               uniStrLen, preedit_string, feedback_list);
+                               uniStrLen, preedit_string, cursor_pos, feedback_list);
     }
 
     g_free(preedit_string);
@@ -4168,7 +4201,7 @@
 
     if (uniStrLen) {
         window->IMEComposeText((const PRUnichar *)uniStr,
-                               (PRInt32)uniStrLen, NULL, NULL);
+                               (PRInt32)uniStrLen, NULL, 0, NULL);
         window->IMEComposeEnd();
     }
 
@@ -4187,6 +4220,7 @@
 void
 IM_set_text_range(const PRInt32 aLen,
                   const gchar *aPreeditString,
+                  const gint aCursorPos,
                   const PangoAttrList *aFeedback,
                   PRUint32 *aTextRangeListLengthResult,
                   nsTextRangeArray *aTextRangeListResult)
@@ -4216,8 +4250,8 @@
     
     // Set caret's postion
     SET_FEEDBACKTYPE(0, NS_TEXTRANGE_CARETPOSITION);
-    START_OFFSET(0) = aLen;
-    END_OFFSET(0) = aLen;
+    START_OFFSET(0) = aCursorPos;
+    END_OFFSET(0) = aCursorPos;
 
     int count = 0;
     PangoAttribute * aPangoAttr;
--- mozilla-1.7.5.orig/widget/src/gtk2/nsWindow.h	2005-02-07 14:07:33.000000000 +0900
+++ mozilla-1.7.5/widget/src/gtk2/nsWindow.h	2005-02-07 15:21:18.000000000 +0900
@@ -258,6 +258,7 @@
     void               IMEComposeText    (const PRUnichar *aText,
                                           const PRInt32 aLen,
                                           const gchar *aPreeditString,
+                                          const gint aCursorPos,
                                           const PangoAttrList *aFeedback);
     void               IMEComposeEnd     (void);
     GtkIMContext*      IMEGetContext     (void);

firefox-1.0-g-application-name.patch:
 nsAppRunner.cpp |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+)

--- NEW FILE firefox-1.0-g-application-name.patch ---
Index: toolkit/xre/nsAppRunner.cpp
===================================================================
RCS file: /cvsroot/mozilla/toolkit/xre/nsAppRunner.cpp,v
retrieving revision 1.68
diff -d -u -p -r1.68 nsAppRunner.cpp
--- toolkit/xre/nsAppRunner.cpp	22 Feb 2005 21:49:43 -0000	1.68
+++ toolkit/xre/nsAppRunner.cpp	28 Feb 2005 04:28:58 -0000
@@ -1456,6 +1456,11 @@ public:
 };
 #endif
 
+#ifdef MOZ_WIDGET_GTK2
+#include "prlink.h"
+typedef void (*_g_set_application_name_fn)(const gchar *application_name);
+#endif
+
 int xre_main(int argc, char* argv[], const nsXREAppData* aAppData)
 {
   nsresult rv;
@@ -1598,6 +1603,19 @@ int xre_main(int argc, char* argv[], con
 #endif
   gtk_init(&gArgc, &gArgv);
 
+#if defined(MOZ_WIDGET_GTK2)
+  // g_set_application_name () is only defined in glib2.2 and higher.
+  PRLibrary *glib2;
+  _g_set_application_name_fn _g_set_application_name =
+      (_g_set_application_name_fn)PR_FindFunctionSymbolAndLibrary("g_set_application_name", &glib2);
+  if (_g_set_application_name) {
+    _g_set_application_name(gAppData->appName);
+  }
+  if (glib2) {
+    PR_UnloadLibrary(glib2);
+  }
+#endif
+
   gtk_widget_set_default_visual(gdk_rgb_get_visual());
   gtk_widget_set_default_colormap(gdk_rgb_get_cmap());
 #endif /* MOZ_WIDGET_GTK || MOZ_WIDGET_GTK2 */

firefox-1.0-gtk-system-colors.patch:
 nsLookAndFeel.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

--- NEW FILE firefox-1.0-gtk-system-colors.patch ---
Index: widget/src/gtk2/nsLookAndFeel.cpp
===================================================================
RCS file: /cvsroot/mozilla/widget/src/gtk2/nsLookAndFeel.cpp,v
retrieving revision 1.20
diff -d -u -p -r1.20 nsLookAndFeel.cpp
--- widget/src/gtk2/nsLookAndFeel.cpp	17 Dec 2004 05:39:19 -0000	1.20
+++ widget/src/gtk2/nsLookAndFeel.cpp	22 Feb 2005 20:13:35 -0000
@@ -78,17 +78,16 @@ nsLookAndFeel::~nsLookAndFeel()
 nsresult nsLookAndFeel::NativeGetColor(const nsColorID aID, nscolor& aColor)
 {
     nsresult res = NS_OK;
-    aColor = 0; // default color black
 
     switch (aID) {
         // These colors don't seem to be used for anything anymore in Mozilla
         // (except here at least TextSelectBackground and TextSelectForeground)
         // The CSS2 colors below are used.
     case eColor_WindowBackground:
-        aColor = GDK_COLOR_TO_NS_RGB(mStyle->bg[GTK_STATE_NORMAL]);
+        aColor = GDK_COLOR_TO_NS_RGB(mStyle->base[GTK_STATE_NORMAL]);
         break;
     case eColor_WindowForeground:
-        aColor = GDK_COLOR_TO_NS_RGB(mStyle->fg[GTK_STATE_NORMAL]);
+        aColor = GDK_COLOR_TO_NS_RGB(mStyle->text[GTK_STATE_NORMAL]);
         break;
     case eColor_WidgetBackground:
         aColor = GDK_COLOR_TO_NS_RGB(mStyle->bg[GTK_STATE_NORMAL]);

firefox-1.0-imgloader-comarray.patch:
 imgLoader.cpp |   16 +++++-----------
 imgLoader.h   |    4 ++--
 2 files changed, 7 insertions(+), 13 deletions(-)

--- NEW FILE firefox-1.0-imgloader-comarray.patch ---
Index: modules/libpr0n/src/imgLoader.cpp
===================================================================
RCS file: /cvsroot/mozilla/modules/libpr0n/src/imgLoader.cpp,v
retrieving revision 1.78.2.2
diff -d -u -p -r1.78.2.2 imgLoader.cpp
--- modules/libpr0n/src/imgLoader.cpp	16 Aug 2004 18:06:37 -0000	1.78.2.2
+++ modules/libpr0n/src/imgLoader.cpp	15 Jul 2005 04:31:06 -0000
@@ -896,7 +896,7 @@ void imgCacheValidator::AddProxy(imgRequ
   // the network.
   aProxy->AddToLoadGroup();
 
-  mProxies.AppendElement(aProxy);
+  mProxies.AppendObject(aProxy);
 }
 
 /** nsIRequestObserver methods **/
@@ -909,13 +909,10 @@ NS_IMETHODIMP imgCacheValidator::OnStart
     PRBool isFromCache;
     if (NS_SUCCEEDED(cacheChan->IsFromCache(&isFromCache)) && isFromCache) {
 
-      PRUint32 count;
-      mProxies.Count(&count);
+      PRUint32 count = mProxies.Count();
       for (PRInt32 i = count-1; i>=0; i--) {
-        imgRequestProxy *proxy;
-        mProxies.GetElementAt(i, (nsISupports**)&proxy);
+        imgRequestProxy *proxy = NS_STATIC_CAST(imgRequestProxy *, mProxies[i]);
         mRequest->NotifyProxyListener(proxy);
-        NS_RELEASE(proxy);
       }
 
       mRequest->SetLoadId(mContext);
@@ -964,14 +961,11 @@ NS_IMETHODIMP imgCacheValidator::OnStart
 
   mDestListener = NS_STATIC_CAST(nsIStreamListener*, pl);
 
-  PRUint32 count;
-  mProxies.Count(&count);
+  PRUint32 count = mProxies.Count();
   for (PRInt32 i = count-1; i>=0; i--) {
-    imgRequestProxy *proxy;
-    mProxies.GetElementAt(i, (nsISupports**)&proxy);
+    imgRequestProxy *proxy = NS_STATIC_CAST(imgRequestProxy *, mProxies[i]);
     proxy->ChangeOwner(request);
     request->NotifyProxyListener(proxy);
-    NS_RELEASE(proxy);
   }
 
   NS_RELEASE(request);
Index: modules/libpr0n/src/imgLoader.h
===================================================================
RCS file: /cvsroot/mozilla/modules/libpr0n/src/imgLoader.h,v
retrieving revision 1.10.38.1
diff -d -u -p -r1.10.38.1 imgLoader.h
--- modules/libpr0n/src/imgLoader.h	16 Aug 2004 18:06:37 -0000	1.10.38.1
+++ modules/libpr0n/src/imgLoader.h	15 Jul 2005 04:31:06 -0000
@@ -90,7 +90,7 @@ private:
  * validate checker
  */
 
-#include "nsSupportsArray.h"
+#include "nsCOMArray.h"
 
 class imgCacheValidator : public nsIStreamListener
 {
@@ -109,7 +109,7 @@ private:
   nsCOMPtr<nsIStreamListener> mDestListener;
 
   imgRequest *mRequest;
-  nsSupportsArray mProxies;
+  nsCOMArray<imgIRequest> mProxies;
 
   void *mContext;
 };

firefox-1.0-remote-intern-atoms.patch:
 gtk/nsGtkMozRemoteHelper.cpp    |   45 +++++++++++++++++++++++++---------------
 gtk2/nsGtkMozRemoteHelper.cpp   |   45 +++++++++++++++++++++++++---------------
 xremoteclient/XRemoteClient.cpp |   34 +++++++++++++++++++++++-------
 3 files changed, 84 insertions(+), 40 deletions(-)

--- NEW FILE firefox-1.0-remote-intern-atoms.patch ---
? widget/src/gtk/dependentLibs.h
? widget/src/gtk2/dependentLibs.h
? widget/src/xremoteclient/dependentLibs.h
Index: widget/src/gtk/nsGtkMozRemoteHelper.cpp
===================================================================
RCS file: /cvsroot/mozilla/widget/src/gtk/nsGtkMozRemoteHelper.cpp,v
retrieving revision 1.35
diff -d -u -p -r1.35 nsGtkMozRemoteHelper.cpp
--- widget/src/gtk/nsGtkMozRemoteHelper.cpp	18 Apr 2004 22:00:16 -0000	1.35
+++ widget/src/gtk/nsGtkMozRemoteHelper.cpp	16 Feb 2005 05:10:05 -0000
@@ -62,6 +62,20 @@ Atom nsGtkMozRemoteHelper::sMozUserAtom 
 Atom nsGtkMozRemoteHelper::sMozProfileAtom  = 0;
 Atom nsGtkMozRemoteHelper::sMozProgramAtom  = 0;
 
+#define ARRAY_LENGTH(array_) (sizeof(array_)/sizeof(array_[0]))
+
+// Minimize the roundtrips to the X-server
+static char *XAtomNames[] = {
+  MOZILLA_VERSION_PROP,
+  MOZILLA_LOCK_PROP,
+  MOZILLA_COMMAND_PROP,
+  MOZILLA_RESPONSE_PROP,
+  MOZILLA_USER_PROP,
+  MOZILLA_PROFILE_PROP,
+  MOZILLA_PROGRAM_PROP
+};
+static Atom XAtoms[ARRAY_LENGTH(XAtomNames)];
+
 // XXX get this dynamically
 static const char sRemoteVersion[]   = "5.0";
 
@@ -200,23 +214,22 @@ nsGtkMozRemoteHelper::HandlePropertyChan
 void
 nsGtkMozRemoteHelper::EnsureAtoms(void)
 {
- // init our atoms if we need to
-  if (!sMozVersionAtom)
-    sMozVersionAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_VERSION_PROP, False);
-  if (!sMozLockAtom)
-    sMozLockAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_LOCK_PROP, False);
-  if (!sMozCommandAtom)
-    sMozCommandAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_COMMAND_PROP, False);
-  if (!sMozResponseAtom)
-    sMozResponseAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_RESPONSE_PROP,
-				   False);
-  if (!sMozUserAtom)
-    sMozUserAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_USER_PROP, False);
-  if (!sMozProfileAtom)
-    sMozProfileAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_PROFILE_PROP, False);
-  if (!sMozProgramAtom)
-    sMozProgramAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_PROGRAM_PROP, False);
+  // init our atoms if we need to
+  static PRBool initialized;
+  if (!initialized) {
+    XInternAtoms(GDK_DISPLAY(), XAtomNames, ARRAY_LENGTH(XAtomNames), False, XAtoms);
 
+    int i = 0;
+    sMozVersionAtom  = XAtoms[i++];
+    sMozLockAtom     = XAtoms[i++];
+    sMozCommandAtom  = XAtoms[i++];
+    sMozResponseAtom = XAtoms[i++];
+    sMozUserAtom     = XAtoms[i++];
+    sMozProfileAtom  = XAtoms[i++];
+    sMozProgramAtom  = XAtoms[i++];
+
+    initialized = PR_TRUE;
+  }
 }
 
 
Index: widget/src/gtk2/nsGtkMozRemoteHelper.cpp
===================================================================
RCS file: /cvsroot/mozilla/widget/src/gtk2/nsGtkMozRemoteHelper.cpp,v
retrieving revision 1.5
diff -d -u -p -r1.5 nsGtkMozRemoteHelper.cpp
--- widget/src/gtk2/nsGtkMozRemoteHelper.cpp	18 Apr 2004 22:00:17 -0000	1.5
+++ widget/src/gtk2/nsGtkMozRemoteHelper.cpp	16 Feb 2005 05:10:06 -0000
@@ -65,6 +65,20 @@ Atom nsGtkMozRemoteHelper::sMozUserAtom 
 Atom nsGtkMozRemoteHelper::sMozProfileAtom  = 0;
 Atom nsGtkMozRemoteHelper::sMozProgramAtom  = 0;
 
+#define ARRAY_LENGTH(array_) (sizeof(array_)/sizeof(array_[0]))
+
+// Minimize the roundtrips to the X-server
+static char *XAtomNames[] = {
+  MOZILLA_VERSION_PROP,
+  MOZILLA_LOCK_PROP,
+  MOZILLA_COMMAND_PROP,
+  MOZILLA_RESPONSE_PROP,
+  MOZILLA_USER_PROP,
+  MOZILLA_PROFILE_PROP,
+  MOZILLA_PROGRAM_PROP
+};
+static Atom XAtoms[ARRAY_LENGTH(XAtomNames)];
+
 // XXX get this dynamically
 static const char sRemoteVersion[]   = "5.0";
 
@@ -203,23 +217,22 @@ nsGtkMozRemoteHelper::HandlePropertyChan
 void
 nsGtkMozRemoteHelper::EnsureAtoms(void)
 {
- // init our atoms if we need to
-  if (!sMozVersionAtom)
-    sMozVersionAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_VERSION_PROP, False);
-  if (!sMozLockAtom)
-    sMozLockAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_LOCK_PROP, False);
-  if (!sMozCommandAtom)
-    sMozCommandAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_COMMAND_PROP, False);
-  if (!sMozResponseAtom)
-    sMozResponseAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_RESPONSE_PROP,
-				   False);
-  if (!sMozUserAtom)
-    sMozUserAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_USER_PROP, False);
-  if (!sMozProfileAtom)
-    sMozProfileAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_PROFILE_PROP, False);
-  if (!sMozProgramAtom)
-    sMozProgramAtom = XInternAtom(GDK_DISPLAY(), MOZILLA_PROGRAM_PROP, False);
+  // init our atoms if we need to
+  static PRBool initialized;
+  if (!initialized) {
+    XInternAtoms(GDK_DISPLAY(), XAtomNames, ARRAY_LENGTH(XAtomNames), False, XAtoms);
 
+    int i = 0;
+    sMozVersionAtom  = XAtoms[i++];
+    sMozLockAtom     = XAtoms[i++];
+    sMozCommandAtom  = XAtoms[i++];
+    sMozResponseAtom = XAtoms[i++];
+    sMozUserAtom     = XAtoms[i++];
+    sMozProfileAtom  = XAtoms[i++];
+    sMozProgramAtom  = XAtoms[i++];
+
+    initialized = PR_TRUE;
+  }
 }
 
 
Index: widget/src/xremoteclient/XRemoteClient.cpp
===================================================================
RCS file: /cvsroot/mozilla/widget/src/xremoteclient/XRemoteClient.cpp,v
retrieving revision 1.15
diff -d -u -p -r1.15 XRemoteClient.cpp
--- widget/src/xremoteclient/XRemoteClient.cpp	18 Apr 2004 22:00:39 -0000	1.15
+++ widget/src/xremoteclient/XRemoteClient.cpp	16 Feb 2005 05:10:06 -0000
@@ -64,6 +64,8 @@
 #define MOZILLA_PROFILE_PROP   "_MOZILLA_PROFILE"
 #define MOZILLA_PROGRAM_PROP   "_MOZILLA_PROGRAM"
 
+#define ARRAY_LENGTH(array_) (sizeof(array_)/sizeof(array_[0]))
+
 static PRLogModuleInfo *sRemoteLm = NULL;
 
 XRemoteClient::XRemoteClient()
@@ -93,6 +95,19 @@ XRemoteClient::~XRemoteClient()
 NS_IMPL_ISUPPORTS1(XRemoteClient, nsIXRemoteClient)
 #endif
 
+// Minimize the roundtrips to the X-server
+static char *XAtomNames[] = {
+  MOZILLA_VERSION_PROP,
+  MOZILLA_LOCK_PROP,
+  MOZILLA_COMMAND_PROP,
+  MOZILLA_RESPONSE_PROP,
+  "WM_STATE",
+  MOZILLA_USER_PROP,
+  MOZILLA_PROFILE_PROP,
+  MOZILLA_PROGRAM_PROP
+};
+static Atom XAtoms[ARRAY_LENGTH(XAtomNames)];
+
 NS_IMETHODIMP
 XRemoteClient::Init (void)
 {
@@ -106,14 +121,17 @@ XRemoteClient::Init (void)
     return NS_ERROR_FAILURE;
 
   // get our atoms
-  mMozVersionAtom  = XInternAtom(mDisplay, MOZILLA_VERSION_PROP, False);
-  mMozLockAtom     = XInternAtom(mDisplay, MOZILLA_LOCK_PROP, False);
-  mMozCommandAtom  = XInternAtom(mDisplay, MOZILLA_COMMAND_PROP, False);
-  mMozResponseAtom = XInternAtom(mDisplay, MOZILLA_RESPONSE_PROP, False);
-  mMozWMStateAtom  = XInternAtom(mDisplay, "WM_STATE", False);
-  mMozUserAtom     = XInternAtom(mDisplay, MOZILLA_USER_PROP, False);
-  mMozProfileAtom  = XInternAtom(mDisplay, MOZILLA_PROFILE_PROP, False);
-  mMozProgramAtom  = XInternAtom(mDisplay, MOZILLA_PROGRAM_PROP, False);
+  XInternAtoms(mDisplay, XAtomNames, ARRAY_LENGTH(XAtomNames), False, XAtoms);
+
+  int i = 0;
+  mMozVersionAtom  = XAtoms[i++];
+  mMozLockAtom     = XAtoms[i++];
+  mMozCommandAtom  = XAtoms[i++];
+  mMozResponseAtom = XAtoms[i++];
+  mMozWMStateAtom  = XAtoms[i++];
+  mMozUserAtom     = XAtoms[i++];
+  mMozProfileAtom  = XAtoms[i++];
+  mMozProgramAtom  = XAtoms[i++];
 
   mInitialized = PR_TRUE;
 


Index: thunderbird.spec
===================================================================
RCS file: /cvs/dist/rpms/thunderbird/FC-4/thunderbird.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- thunderbird.spec	13 May 2005 22:48:05 -0000	1.36
+++ thunderbird.spec	18 Jul 2005 21:58:46 -0000	1.37
@@ -7,8 +7,8 @@
 
 Summary:	Mozilla Thunderbird mail/newsgroup client
 Name:		thunderbird
-Version:	1.0.2
-Release:	6
+Version:	1.0.6
+Release:	0.1.fc4
 Epoch:		0
 URL:		http://www.mozilla.org/projects/thunderbird/
 License:	MPL
@@ -55,12 +55,12 @@
 
 # Already upstreamed
 Patch101:       thunderbird-0.8.0-pkgconfig.patch
-Patch103:       mozilla-1.7.3-xptcall-s390.patch
-Patch104:       firefox-1.0-xptcall-s390.patch
-Patch105:       firefox-1.0-nspr-s390.patch
-Patch106:       thunderbird-1.0-useragent.patch
-Patch107:       firefox-1.0-execshield-nspr.patch
-Patch108:       firefox-1.0-execshield-xpcom.patch
+Patch102:       thunderbird-1.0-useragent.patch
+Patch103:       firefox-1.0-gtk-system-colors.patch
+Patch104:       firefox-1.0-remote-intern-atoms.patch
+Patch105:       firefox-1.0-g-application-name.patch
+Patch106:       firefox-1.0-candidate-window.patch
+Patch107:       firefox-1.0-imgloader-comarray.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	libpng-devel, libjpeg-devel, gtk2-devel
@@ -114,12 +114,12 @@
 %patch43 -p0
 %patch90 -p0 -b .gtk-file-chooser-morefixes
 %patch101 -p0 -b .pkgconfig
+%patch102 -p0
 %patch103 -p0
-%patch104 -p1
+%patch104 -p0
 %patch105 -p0
-%patch106 -p0
+%patch106 -p1
 %patch107 -p0
-%patch108 -p0
 
 #===============================================================================
 
@@ -198,6 +198,9 @@
 #===============================================================================
 
 %changelog
+* Mon Jul 18 2005 Christopher Aillon <caillon redhat com> 1.0.6-0.1.fc4
+- 1.0.6 Release Candidate
+
 * Fri May 13 2005 Christopher Aillon <caillon redhat com> 1.0.2-6
 - Change the Exec line in the desktop file to `thunderbird`
 


--- firefox-1.0-execshield-nspr.patch DELETED ---


--- firefox-1.0-execshield-xpcom.patch DELETED ---


--- firefox-1.0-nspr-s390.patch DELETED ---


--- firefox-1.0-xptcall-s390.patch DELETED ---


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