Hello community,
here is the log from the commit of package seamonkey
checked in at Wed Apr 9 23:42:04 CEST 2008.
--------
--- seamonkey/seamonkey.changes 2008-04-02 23:15:57.000000000 +0200
+++ seamonkey/seamonkey.changes 2008-04-09 20:09:32.392888000 +0200
@@ -1,0 +2,5 @@
+Wed Apr 9 20:13:47 CEST 2008 - maw@suse.de
+
+- Merge changes and fixes from the build service.
+
+-------------------------------------------------------------------
Old:
----
seamonkey-gcc4.3-fixes.patch
New:
----
mozilla-gcc4.3-fixes.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ seamonkey.spec ++++++
--- /var/tmp/diff_new_pack.b19284/_old 2008-04-09 23:41:41.000000000 +0200
+++ /var/tmp/diff_new_pack.b19284/_new 2008-04-09 23:41:41.000000000 +0200
@@ -32,7 +32,7 @@
License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
Provides: web_browser
Version: 1.1.9
-Release: 1
+Release: 4
Summary: The successor of the Mozilla Application Suite
Url: http://www.mozilla.org/projects/seamonkey
Group: Productivity/Networking/Web/Browsers
@@ -70,12 +70,11 @@
Patch15: autoconf.dif
Patch16: canvas-xlibs.patch
Patch17: mozilla-default-plugin-less-annoying.patch
+Patch18: mozilla-gcc4.3-fixes.patch
Patch19: mozilla-path_len.patch
Patch22: cjk-postscript-fonts.dif
Patch27: postscript.patch
Patch29: cups-paper.patch
-Patch30: seamonkey-gcc4.3-fixes.patch
-# Patch31: mozilla-missing-decl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: libstdc++ fileutils textutils /bin/sh
%define _unpackaged_files_terminate_build 0
@@ -234,7 +233,7 @@
%patch6
%patch7
%patch8
-%patch9 -p1
+%patch9
%patch10
%patch11
%patch12
@@ -243,12 +242,11 @@
%patch15
%patch16
%patch17 -p2
+%patch18
%patch19 -p1
%patch22
%patch27
%patch29
-%patch30 -p1
-#%patch31 -p1
# additional CA certificates
cd $RPM_BUILD_DIR/mozilla/security/nss/lib/ckfw/builtins
cat %{SOURCE8} >> certdata.txt
@@ -702,6 +700,8 @@
%dir %{progdir}/dictionaries
%changelog
+* Wed Apr 09 2008 maw@suse.de
+- Merge changes and fixes from the build service.
* Thu Apr 03 2008 maw@suse.de
- Security update to version 1.1.9 (bnc#370353):
+ MFSA 2008-19/CVE-2008-1241: XUL popup spoofing variant
++++++ abuild.patch ++++++
--- /var/tmp/diff_new_pack.b19284/_old 2008-04-09 23:41:41.000000000 +0200
+++ /var/tmp/diff_new_pack.b19284/_new 2008-04-09 23:41:41.000000000 +0200
@@ -1,45 +1,30 @@
-diff --git a/content/events/src/nsEventStateManager.cpp b/content/events/src/nsEventStateManager.cpp
-index 9af54ba..790116b 100644
---- a/content/events/src/nsEventStateManager.cpp
-+++ b/content/events/src/nsEventStateManager.cpp
-@@ -4326,7 +4326,7 @@ nsEventStateManager::SendFocusBlur(nsPresContext* aPresContext,
- do_QueryInterface(GetDocumentOuterWindow(mDocument));
- if (newWindow) {
- nsIFocusController *newFocusController =
-- newFocusController = newWindow->GetRootFocusController();
-+ newWindow->GetRootFocusController();
- nsCOMPtr<nsPIDOMWindow> oldWindow =
- do_QueryInterface(GetDocumentOuterWindow(gLastFocusedDocument));
- if (oldWindow) {
-diff --git a/directory/c-sdk/ldap/libraries/libldap/os-ip.c b/directory/c-sdk/ldap/libraries/libldap/os-ip.c
-index be55df1..8635ad6 100644
---- a/directory/c-sdk/ldap/libraries/libldap/os-ip.c
-+++ b/directory/c-sdk/ldap/libraries/libldap/os-ip.c
-@@ -568,6 +568,8 @@ nsldapi_try_each_host( LDAP *ld, const char *hostlist,
- struct hostent hent;
- #endif /* GETHOSTBYNAME_BUF_T */
-
-+ rc = 0;
-+ s = 0;
- connected = 0;
- parse_err = ldap_x_hostlist_first( hostlist, defport, &host, &port,
- &status );
-diff --git a/docshell/base/nsWebShell.cpp b/docshell/base/nsWebShell.cpp
-index d49e2a4..8dee938 100644
---- a/docshell/base/nsWebShell.cpp
-+++ b/docshell/base/nsWebShell.cpp
-@@ -565,6 +565,7 @@ nsWebShell::OnLinkClickSync(nsIContent *aContent,
- NS_ABORT_IF_FALSE(0,"unexpected link verb");
- return NS_ERROR_UNEXPECTED;
- }
-+ return NS_ERROR_UNEXPECTED;
- }
-
- NS_IMETHODIMP
-diff --git a/gfx/src/gtk/nsFontMetricsUtils.cpp b/gfx/src/gtk/nsFontMetricsUtils.cpp
-index 2bcd769..4ffef6a 100644
---- a/gfx/src/gtk/nsFontMetricsUtils.cpp
-+++ b/gfx/src/gtk/nsFontMetricsUtils.cpp
+From: Wolfgang Rosenauer
+Subject: Fix compiler warnings which disturb autobuild
+References:
+
+### autobuild
+... testing for serious compiler warnings
+Program is using uninitialized variables. Note the difference between "is used"
+and "may be used". Please investigate and fix.
+Problematic file(s) and their linenumbers:
+ nsUnicodeToJamoTTF.cpp: 855
+ nsObjectFrame.cpp: 1933
+###
+
+### autobuild
+... testing for serious compiler warnings
+Program returns random data in a function. Please fix.
+Problematic file(s) and their linenumbers:
+ nsWebShell.cpp: 562
+ nsOperaProfileMigrator.cpp: 831
+ Program is using uninitialized variables. Note the difference between "is used" and "may be used".
+ Please investigate and fix.
+ Problematic file(s) and their linenumbers:
+ nsFrame.cpp: 3536
+###
+
+--- gfx/src/gtk/nsFontMetricsUtils.cpp.old 2005-03-24 07:27:33.000000000 +0100
++++ gfx/src/gtk/nsFontMetricsUtils.cpp 2005-03-24 07:28:26.000000000 +0100
@@ -75,6 +75,7 @@ NS_FontMetricsGetHints(void)
#ifdef MOZ_ENABLE_COREXFONTS
return nsFontMetricsGTK::GetHints();
@@ -48,19 +33,25 @@
}
nsresult
-@@ -95,6 +96,7 @@ NS_FontMetricsFamilyExists(nsIDeviceContext *aDevice, const nsString &aName)
+@@ -95,6 +96,7 @@ NS_FontMetricsFamilyExists(nsIDeviceCont
#ifdef MOZ_ENABLE_COREXFONTS
return nsFontMetricsGTK::FamilyExists(aDevice, aName);
#endif
+ return 1;
}
- #if defined(MOZ_ENABLE_XFT) && defined(MOZ_ENABLE_COREXFONTS)
-diff --git a/intl/uconv/ucvko/nsUnicodeToJamoTTF.cpp b/intl/uconv/ucvko/nsUnicodeToJamoTTF.cpp
-index a9960b2..0879f41 100644
---- a/intl/uconv/ucvko/nsUnicodeToJamoTTF.cpp
-+++ b/intl/uconv/ucvko/nsUnicodeToJamoTTF.cpp
-@@ -842,6 +842,7 @@ PRInt16 JamoSrchReplace (const JamoNormMap* aClusters,
+ #ifdef MOZ_ENABLE_XFT
+Index: intl/uconv/ucvko/nsUnicodeToJamoTTF.cpp
+===================================================================
+RCS file: /cvsroot/mozilla/intl/uconv/ucvko/nsUnicodeToJamoTTF.cpp,v
+retrieving revision 1.10
+diff -u -p -6 -r1.10 nsUnicodeToJamoTTF.cpp
+--- intl/uconv/ucvko/nsUnicodeToJamoTTF.cpp 19 Feb 2005 07:27:54 -0000 1.10
++++ intl/uconv/ucvko/nsUnicodeToJamoTTF.cpp 7 Jun 2005 07:21:10 -0000
+@@ -842,12 +842,13 @@ PRInt16 JamoSrchReplace (const JamoNormM
+ // we don't need a separate range check here because the one in
+ // for-loop is sufficient.
+ for (PRInt32 i = start; i <= end - clusterLen; i++)
{
const JamoNormMap *match;
JamoNormMap key;
@@ -68,25 +59,76 @@
// cluster array is made up of PRUint8's to save memory
// and we have to subtract aOffset from the input before looking it up.
-diff --git a/intl/unicharutil/src/nsEntityConverter.cpp b/intl/unicharutil/src/nsEntityConverter.cpp
-index 759765a..22d76cc 100644
---- a/intl/unicharutil/src/nsEntityConverter.cpp
-+++ b/intl/unicharutil/src/nsEntityConverter.cpp
-@@ -236,7 +236,8 @@ nsEntityConverter::ConvertToEntities(const PRUnichar *inString, PRUint32 entityV
- if (IS_HIGH_SURROGATE(inString[i]) &&
- i + 2 < len &&
- IS_LOW_SURROGATE(inString[i + 1])) {
-- key.AppendInt(SURROGATE_TO_UCS4(inString[i], inString[++i]), 10);
-+ key.AppendInt(SURROGATE_TO_UCS4(inString[i], inString[i + 1]), 10);
-+ ++i;
- }
- else {
- key.AppendInt(inString[i],10);
-diff --git a/layout/base/nsCSSRendering.cpp b/layout/base/nsCSSRendering.cpp
-index 8026b96..335f2b0 100644
---- a/layout/base/nsCSSRendering.cpp
-+++ b/layout/base/nsCSSRendering.cpp
-@@ -1000,14 +1000,14 @@ const nscolor kBlackColor = NS_RGB(0,0,0);
+ key.seq[0] = aIn[i] - aOffset;
+ key.seq[1] = aIn[i + 1] - aOffset;
+ key.seq[2] = clusterLen == 3 ? (aIn[i + 2] - aOffset) : 0;
+Index: layout/generic/nsObjectFrame.cpp
+===================================================================
+RCS file: /cvsroot/mozilla/layout/generic/nsObjectFrame.cpp,v
+retrieving revision 1.505
+diff -u -p -6 -r1.505 nsObjectFrame.cpp
+--- layout/generic/nsObjectFrame.cpp 6 May 2005 03:14:31 -0000 1.505
++++ layout/generic/nsObjectFrame.cpp 7 Jun 2005 07:23:27 -0000
+@@ -1850,12 +1850,13 @@ nsObjectFrame::Paint(nsPresContext*
+ // now we need to setup the correct location for printing
+ nsresult rv;
+ nsPluginWindow window;
+ nsPoint origin;
+ float t2p;
+ window.window = nsnull;
++ window.ws_info = nsnull;
+
+ // prepare embedded mode printing struct
+ nsPluginPrint npprint;
+ npprint.mode = nsPluginMode_Embedded;
+
+ // we need to find out if we are windowless or not
+Index: docshell/base/nsWebShell.cpp
+===================================================================
+RCS file: /cvsroot/mozilla/docshell/base/nsWebShell.cpp,v
+retrieving revision 1.656.2.1
+diff -u -p -6 -r1.656.2.1 nsWebShell.cpp
+--- docshell/base/nsWebShell.cpp 16 Sep 2005 19:11:52 -0000 1.656.2.1
++++ docshell/base/nsWebShell.cpp 22 Sep 2005 06:30:30 -0000
+@@ -556,12 +556,13 @@ nsWebShell::OnLinkClickSync(nsIContent *
+ // XXX TODO Should be similar to the HTML IMG ALT attribute handling
+ // in NS 4.x
+ default:
+ NS_ABORT_IF_FALSE(0,"unexpected link verb");
+ return NS_ERROR_UNEXPECTED;
+ }
++ return NS_ERROR_UNEXPECTED;
+ }
+
+ NS_IMETHODIMP
+ nsWebShell::OnOverLink(nsIContent* aContent,
+ nsIURI* aURI,
+ const PRUnichar* aTargetSpec)
+Index: layout/generic/nsFrame.cpp
+===================================================================
+RCS file: /cvsroot/mozilla/layout/generic/nsFrame.cpp,v
+retrieving revision 3.574.2.4
+diff -u -p -6 -r3.574.2.4 nsFrame.cpp
+--- layout/generic/nsFrame.cpp 20 Sep 2005 06:32:09 -0000 3.574.2.4
++++ layout/generic/nsFrame.cpp 22 Sep 2005 06:31:42 -0000
+@@ -3528,13 +3528,13 @@ nsresult
+ nsFrame::PeekOffsetParagraph(nsPresContext* aPresContext,
+ nsPeekOffsetStruct *aPos)
+ {
+ #ifdef DEBUG_paragraph
+ printf("Selecting paragraph\n");
+ #endif
+- nsIFrame* blockFrame;
++ nsIFrame* blockFrame = NULL;
+ nsCOMPtr<nsILineIterator> iter (getter_AddRefs(GetBlockFrameAndLineIter(this, &blockFrame)));
+ if (!blockFrame || !iter)
+ return NS_ERROR_UNEXPECTED;
+
+ PRInt32 thisLine;
+ nsresult result = iter->FindLineContaining(this, &thisLine);
+--- layout/base/nsCSSRendering.cpp.orig 2006-10-25 23:59:19.000000000 +0200
++++ layout/base/nsCSSRendering.cpp 2006-10-26 00:00:04.000000000 +0200
+@@ -1000,14 +1000,14 @@
FillOrInvertRect(aContext, dashRect.x, borderOutside.y,dashRect.width, dashRect.height-adjust,isInvert);
FillOrInvertRect(aContext,dashRect.x,(borderOutside.YMost()-(dashRect.height-adjust)),dashRect.width, dashRect.height-adjust,isInvert);
currRect.y += (dashRect.height-adjust);
@@ -103,7 +145,7 @@
}
if( temp > ywidth)
-@@ -1066,14 +1066,14 @@ const nscolor kBlackColor = NS_RGB(0,0,0);
+@@ -1066,14 +1066,14 @@
FillOrInvertRect(aContext, borderOutside.x,dashRect.y,dashRect.width-adjust,dashRect.height,isInvert);
FillOrInvertRect(aContext, (borderOutside.XMost()-(dashRect.width-adjust)),dashRect.y,dashRect.width-adjust,dashRect.height,isInvert);
currRect.x += (dashRect.width-adjust);
@@ -120,36 +162,9 @@
}
-diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp
-index ac067b3..8a80f9d 100644
---- a/layout/generic/nsFrame.cpp
-+++ b/layout/generic/nsFrame.cpp
-@@ -3576,7 +3576,7 @@ nsFrame::PeekOffsetParagraph(nsPresContext* aPresContext,
- #ifdef DEBUG_paragraph
- printf("Selecting paragraph\n");
- #endif
-- nsIFrame* blockFrame;
-+ nsIFrame* blockFrame = NULL;
- nsCOMPtr<nsILineIterator> iter (getter_AddRefs(GetBlockFrameAndLineIter(this, &blockFrame)));
- if (!blockFrame || !iter)
- return NS_ERROR_UNEXPECTED;
-diff --git a/layout/generic/nsObjectFrame.cpp b/layout/generic/nsObjectFrame.cpp
-index 3cc5680..e145fc0 100644
---- a/layout/generic/nsObjectFrame.cpp
-+++ b/layout/generic/nsObjectFrame.cpp
-@@ -1848,6 +1848,7 @@ nsObjectFrame::Paint(nsPresContext* aPresContext,
- nsPoint origin;
- float t2p;
- window.window = nsnull;
-+ window.ws_info = nsnull;
-
- // prepare embedded mode printing struct
- nsPluginPrint npprint;
-diff --git a/layout/xul/base/src/nsBox.cpp b/layout/xul/base/src/nsBox.cpp
-index bf855cd..b2aa584 100644
---- a/layout/xul/base/src/nsBox.cpp
-+++ b/layout/xul/base/src/nsBox.cpp
-@@ -863,7 +863,7 @@ nsBox::SyncLayout(nsBoxLayoutState& aState)
+--- layout/xul/base/src/nsBox.cpp.orig 2006-10-26 00:00:26.000000000 +0200
++++ layout/xul/base/src/nsBox.cpp 2006-10-26 00:01:30.000000000 +0200
+@@ -863,7 +863,7 @@
while (box) {
nsRect* overflowArea = box->GetOverflowAreaProperty();
nsRect bounds = overflowArea ? *overflowArea + box->GetPosition() :
@@ -158,24 +173,32 @@
rect.UnionRect(rect, bounds);
box->GetNextBox(&box);
-diff --git a/mailnews/local/src/nsMailboxService.cpp b/mailnews/local/src/nsMailboxService.cpp
-index 406f6e4..721bf31 100644
---- a/mailnews/local/src/nsMailboxService.cpp
-+++ b/mailnews/local/src/nsMailboxService.cpp
-@@ -228,7 +228,7 @@ nsresult nsMailboxService::FetchMessage(const char* aMessageURI,
-
- // this happens with forward inline of message/rfc822 attachment
- // opened in a stand-alone msg window.
-- PRInt32 typeIndex = typeIndex = uriString.Find("&type=application/x-message-display");
-+ PRInt32 typeIndex = uriString.Find("&type=application/x-message-display");
- if (typeIndex != kNotFound)
- {
- uriString.Cut(typeIndex, sizeof("&type=application/x-message-display") - 1);
-diff --git a/netwerk/cache/src/nsDiskCacheMap.h b/netwerk/cache/src/nsDiskCacheMap.h
-index c9da1e4..866272e 100644
---- a/netwerk/cache/src/nsDiskCacheMap.h
-+++ b/netwerk/cache/src/nsDiskCacheMap.h
-@@ -168,7 +168,7 @@ public:
+--- intl/unicharutil/src/nsEntityConverter.cpp.orig 2005-04-02 20:44:00.000000000 +0200
++++ intl/unicharutil/src/nsEntityConverter.cpp 2006-10-26 00:07:24.000000000 +0200
+@@ -236,7 +236,8 @@
+ if (IS_HIGH_SURROGATE(inString[i]) &&
+ i + 2 < len &&
+ IS_LOW_SURROGATE(inString[i + 1])) {
+- key.AppendInt(SURROGATE_TO_UCS4(inString[i], inString[++i]), 10);
++ key.AppendInt(SURROGATE_TO_UCS4(inString[i], inString[i + 1]), 10);
++ ++i;
+ }
+ else {
+ key.AppendInt(inString[i],10);
+--- content/events/src/nsEventStateManager.cpp.orig 2006-08-06 00:19:17.000000000 +0200
++++ content/events/src/nsEventStateManager.cpp 2006-10-26 00:11:16.000000000 +0200
+@@ -4301,7 +4301,7 @@
+ do_QueryInterface(GetDocumentOuterWindow(mDocument));
+ if (newWindow) {
+ nsIFocusController *newFocusController =
+- newFocusController = newWindow->GetRootFocusController();
++ newWindow->GetRootFocusController();
+ nsCOMPtr<nsPIDOMWindow> oldWindow =
+ do_QueryInterface(GetDocumentOuterWindow(gLastFocusedDocument));
+ if (oldWindow) {
+--- netwerk/cache/src/nsDiskCacheMap.h.orig 2006-02-04 23:01:22.000000000 +0100
++++ netwerk/cache/src/nsDiskCacheMap.h 2006-10-26 00:15:09.000000000 +0200
+@@ -168,7 +168,7 @@
// set blockCount
NS_ASSERTION( (blockCount>=1) && (blockCount<=4),"invalid block count");
@@ -184,7 +207,7 @@
mDataLocation |= (blockCount << eExtraBlocksOffset) & eExtraBlocksMask;
mDataLocation |= eLocationInitializedMask;
-@@ -236,7 +236,7 @@ public:
+@@ -236,7 +236,7 @@
// set blockCount
NS_ASSERTION( (blockCount>=1) && (blockCount<=4),"invalid block count");
@@ -193,3 +216,16 @@
mMetaLocation |= (blockCount << eExtraBlocksOffset) & eExtraBlocksMask;
mMetaLocation |= eLocationInitializedMask;
+Index: mailnews/local/src/nsMailboxService.cpp
+===================================================================
+--- mailnews/local/src/nsMailboxService.cpp.orig
++++ mailnews/local/src/nsMailboxService.cpp
+@@ -228,7 +228,7 @@ nsresult nsMailboxService::FetchMessage(
+
+ // this happens with forward inline of message/rfc822 attachment
+ // opened in a stand-alone msg window.
+- PRInt32 typeIndex = typeIndex = uriString.Find("&type=application/x-message-display");
++ PRInt32 typeIndex = uriString.Find("&type=application/x-message-display");
+ if (typeIndex != kNotFound)
+ {
+ uriString.Cut(typeIndex, sizeof("&type=application/x-message-display") - 1);
++++++ mozilla-gcc4.3-fixes.patch ++++++
References:
https://bugzilla.mozilla.org/show_bug.cgi?id=403675
https://bugzilla.mozilla.org/show_bug.cgi?id=386362
Index: modules/libpr0n/encoders/png/nsPNGEncoder.h
===================================================================
RCS file: /cvsroot/mozilla/modules/libpr0n/encoders/png/nsPNGEncoder.h,v
retrieving revision 1.1.18.1
diff -u -p -6 -r1.1.18.1 nsPNGEncoder.h
--- modules/libpr0n/encoders/png/nsPNGEncoder.h 20 May 2006 17:20:49 -0000 1.1.18.1
+++ modules/libpr0n/encoders/png/nsPNGEncoder.h 13 Nov 2007 22:07:36 -0000
@@ -35,14 +35,16 @@
*
* ***** END LICENSE BLOCK ***** */
#include "imgIEncoder.h"
#ifdef MOZILLA_1_8_BRANCH
#define imgIEncoder imgIEncoder_MOZILLA_1_8_BRANCH
+#ifndef NS_DECL_IMGIENCODER
#define NS_DECL_IMGIENCODER NS_DECL_IMGIENCODER_MOZILLA_1_8_BRANCH
#endif
+#endif
#include
#define NS_PNGENCODER_CID \
{ /* 38d1592e-b81e-432b-86f8-471878bbfe07 */ \
0x38d1592e, \
@@ -60,12 +62,20 @@ public:
NS_DECL_ISUPPORTS
NS_DECL_IMGIENCODER
NS_DECL_NSIINPUTSTREAM
nsPNGEncoder();
+ NS_IMETHOD InitFromData(const PRUint8* aData,
+ PRUint32 aLength, // (unused, req'd by JS)
+ PRUint32 aWidth,
+ PRUint32 aHeight,
+ PRUint32 aStride,
+ PRUint32 aInputFormat,
+ const nsAString& aOutputOptions);
+
private:
~nsPNGEncoder();
protected:
void ConvertHostARGBRow(const PRUint8* aSrc, PRUint8* aDest,
PRUint32 aPixelWidth, PRBool aUseTransparency);
Index: modules/libpr0n/encoders/jpeg/nsJPEGEncoder.h
===================================================================
RCS file: /cvsroot/mozilla/modules/libpr0n/encoders/jpeg/nsJPEGEncoder.h,v
retrieving revision 1.1.14.1
diff -u -p -6 -r1.1.14.1 nsJPEGEncoder.h
--- modules/libpr0n/encoders/jpeg/nsJPEGEncoder.h 20 May 2006 17:20:48 -0000 1.1.14.1
+++ modules/libpr0n/encoders/jpeg/nsJPEGEncoder.h 13 Nov 2007 22:07:57 -0000
@@ -36,14 +36,16 @@
*
* ***** END LICENSE BLOCK ***** */
#include "imgIEncoder.h"
#ifdef MOZILLA_1_8_BRANCH
#define imgIEncoder imgIEncoder_MOZILLA_1_8_BRANCH
+#ifndef NS_DECL_IMGIENCODER
#define NS_DECL_IMGIENCODER NS_DECL_IMGIENCODER_MOZILLA_1_8_BRANCH
#endif
+#endif
// needed for JPEG library
#include
extern "C" {
#include "jpeglib.h"
@@ -66,12 +68,20 @@ public:
NS_DECL_ISUPPORTS
NS_DECL_IMGIENCODER
NS_DECL_NSIINPUTSTREAM
nsJPEGEncoder();
+ NS_IMETHOD InitFromData(const PRUint8* aData,
+ PRUint32 aLength, // (unused, req'd by JS)
+ PRUint32 aWidth,
+ PRUint32 aHeight,
+ PRUint32 aStride,
+ PRUint32 aInputFormat,
+ const nsAString& aOutputOptions);
+
private:
~nsJPEGEncoder();
protected:
void ConvertHostARGBRow(const PRUint8* aSrc, PRUint8* aDest,
Index: modules/libpr0n/public/imgIEncoder.idl
===================================================================
RCS file: /cvsroot/mozilla/modules/libpr0n/public/imgIEncoder.idl,v
retrieving revision 1.1.10.3
diff -u -p -r1.1.10.3 imgIEncoder.idl
--- modules/libpr0n/public/imgIEncoder.idl 20 May 2006 17:20:49 -0000 1.1.10.3
+++ modules/libpr0n/public/imgIEncoder.idl 14 Nov 2007 10:41:40 -0000
@@ -96,6 +96,6 @@ interface nsIFile;
[scriptable, uuid(CCC5B3AD-3E67-4e3d-97E1-B06B2E96FEF8)]
interface imgIEncoder : nsISupports
{
- void encodeClipboardImage(in nsIClipboardImage aClipboardImage, out nsIFile aImageFile);
+ /* void encodeClipboardImage(in nsIClipboardImage aClipboardImage, out nsIFile aImageFile); */
};
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org