]> git.pld-linux.org Git - packages/firefox.git/commitdiff
- obsolate
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Fri, 14 Apr 2006 17:15:28 +0000 (17:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mozilla-firefox-dumpstack.patch -> 1.2
    mozilla-firefox-pango-typo.patch -> 1.2

mozilla-firefox-dumpstack.patch [deleted file]
mozilla-firefox-pango-typo.patch [deleted file]

diff --git a/mozilla-firefox-dumpstack.patch b/mozilla-firefox-dumpstack.patch
deleted file mode 100644 (file)
index 40a5952..0000000
+++ /dev/null
@@ -1,203 +0,0 @@
-Index: xpcom/base/nsTraceRefcntImpl.cpp
-===================================================================
-RCS file: /cvs/mozilla/xpcom/base/nsTraceRefcntImpl.cpp,v
-retrieving revision 1.98
-diff -p -u -1 -2 -r1.98 nsTraceRefcntImpl.cpp
---- xpcom/base/nsTraceRefcntImpl.cpp   3 Feb 2006 19:35:14 -0000       1.98
-+++ xpcom/base/nsTraceRefcntImpl.cpp   6 Feb 2006 20:30:53 -0000
-@@ -41,37 +41,24 @@
- #include "nsISupports.h"
- #include "nsVoidArray.h"
- #include "prprf.h"
- #include "prlog.h"
- #include "plstr.h"
- #include <stdlib.h>
- #include "nsCOMPtr.h"
- #include "nsCRT.h"
- #include <math.h>
- #if defined(_WIN32)
- #include <windows.h>
--#elif defined(linux) && defined(__GLIBC__) && (defined(__i386) || defined(PPC))
--#include <setjmp.h>
--
--//
--// On glibc 2.1, the Dl_info api defined in <dlfcn.h> is only exposed
--// if __USE_GNU is defined.  I suppose its some kind of standards
--// adherence thing.
--//
--#if (__GLIBC_MINOR__ >= 1) && !defined(__USE_GNU)
--#define __USE_GNU
--#endif
--
--#include <dlfcn.h>
- #endif
- #ifdef HAVE_LIBDL
- #include <dlfcn.h>
- #endif
- ////////////////////////////////////////////////////////////////////////////////
- NS_COM void 
- NS_MeanAndStdDev(double n, double sumOfValues, double sumOfSquaredValues,
-                  double *meanResult, double *stdDevResult)
- {
-@@ -451,25 +438,25 @@ static PRIntn PR_CALLBACK DumpSerialNumb
-                             record->COMPtrCount);
- #else
-   fprintf((FILE*) aClosure, "%d (%d references)\n",
-                             record->serialNumber,
-                             record->refCount);
- #endif
-   return HT_ENUMERATE_NEXT;
- }
- #endif /* NS_BUILD_REFCNT_LOGGING */
--nsresult
-+NS_COM nsresult
- nsTraceRefcntImpl::DumpStatistics(StatisticsType type, FILE* out)
- {
-   nsresult rv = NS_OK;
- #ifdef NS_BUILD_REFCNT_LOGGING
-   if (gBloatLog == nsnull || gBloatView == nsnull) {
-     return NS_ERROR_FAILURE;
-   }
-   if (out == nsnull) {
-     out = gBloatLog;
-   }
-   LOCK_TRACELOG();
-@@ -528,25 +515,25 @@ nsTraceRefcntImpl::DumpStatistics(Statis
-   if (gSerialNumbers) {
-     fprintf(out, "\n\nSerial Numbers of Leaked Objects:\n");
-     PL_HashTableEnumerateEntries(gSerialNumbers, DumpSerialNumbers, out);
-   }
- done:
-   gLogging = wasLogging;
-   UNLOCK_TRACELOG();
- #endif
-   return rv;
- }
--void
-+NS_COM void
- nsTraceRefcntImpl::ResetStatistics()
- {
- #ifdef NS_BUILD_REFCNT_LOGGING
-   LOCK_TRACELOG();
-   if (gBloatView) {
-     PL_HashTableDestroy(gBloatView);
-     gBloatView = nsnull;
-   }
-   UNLOCK_TRACELOG();
- #endif
- }
-@@ -812,43 +799,43 @@ static void InitTraceLog(void)
-   if (gBloatLog || gRefcntsLog || gAllocLog || gLeakyLog || gCOMPtrLog) {
-     gLogging = PR_TRUE;
-   }
-   gTraceLock = PR_NewLock();
- }
- #endif
- #if defined(_WIN32) && defined(_M_IX86) && !defined(WINCE) // WIN32 x86 stack walking code
- #include "nsStackFrameWin.h"
--void
-+NS_COM void
- nsTraceRefcntImpl::WalkTheStack(FILE* aStream)
- {
-   DumpStackToFile(aStream);
- }
- // WIN32 x86 stack walking code
- // i386 or PPC Linux stackwalking code or Solaris
--#elif (defined(linux) && defined(__GLIBC__) && (defined(__i386) || defined(PPC))) || (defined(__sun) && (defined(__sparc) || defined(sparc) || defined(__i386) || defined(i386)))
-+#elif (defined(linux) && defined(__GNUC__) && (defined(__i386) || defined(PPC))) || (defined(__sun) && (defined(__sparc) || defined(sparc) || defined(__i386) || defined(i386)))
- #include "nsStackFrameUnix.h"
--void
-+NS_COM void
- nsTraceRefcntImpl::WalkTheStack(FILE* aStream)
- {
-   DumpStackToFile(aStream);
- }
- #else // unsupported platform.
--void
-+NS_COM void
- nsTraceRefcntImpl::WalkTheStack(FILE* aStream)
- {
-       fprintf(aStream, "write me, dammit!\n");
- }
- #endif
- //----------------------------------------------------------------------
- // This thing is exported by libstdc++
- // Yes, this is a gcc only hack
- #if defined(MOZ_DEMANGLE_SYMBOLS)
-Index: xpcom/base/nsStackFrameUnix.cpp
-===================================================================
-RCS file: /cvs/mozilla/xpcom/base/nsStackFrameUnix.cpp,v
-retrieving revision 1.14
-diff -p -u -1 -2 -r1.14 nsStackFrameUnix.cpp
---- xpcom/base/nsStackFrameUnix.cpp    3 Feb 2006 19:35:14 -0000       1.14
-+++ xpcom/base/nsStackFrameUnix.cpp    6 Feb 2006 20:28:06 -0000
-@@ -74,43 +74,33 @@ void DemangleSymbol(const char * aSymbol
-     /* See demangle.h in the gcc source for the voodoo */
-     char * demangled = abi::__cxa_demangle(aSymbol,0,0,0);
-     
-     if (demangled)
-     {
-         strncpy(aBuffer,demangled,aBufLen);
-         free(demangled);
-     }
- #endif // MOZ_DEMANGLE_SYMBOLS
- }
--#if defined(linux) && defined(__GLIBC__) && (defined(__i386) || defined(PPC)) // i386 or PPC Linux stackwalking code
-+#if defined(linux) && defined(__GNUC__) && (defined(__i386) || defined(PPC)) // i386 or PPC Linux stackwalking code
--#include <setjmp.h>
--//
- void DumpStackToFile(FILE* aStream)
- {
--  jmp_buf jb;
--  setjmp(jb);
--
-   // Stack walking code courtesy Kipp's "leaky".
--  // Get the frame pointer out of the jmp_buf
--  void **bp = (void**)
--#if defined(__i386) 
--    (jb[0].__jmpbuf[JB_BP]);
--#elif defined(PPC)
--    (jb[0].__jmpbuf[JB_GPR1]);
--#endif
-+  // Get the frame pointer
-+  void **bp = (void**) __builtin_frame_address(0);
-   int skip = 2;
-   for ( ; (void**)*bp > bp; bp = (void**)*bp) {
-     void *pc = *(bp+1);
-     if (--skip <= 0) {
-       Dl_info info;
-       int ok = dladdr(pc, &info);
-       if (!ok) {
-         fprintf(aStream, "UNKNOWN %p\n", pc);
-         continue;
-       }
-
-
diff --git a/mozilla-firefox-pango-typo.patch b/mozilla-firefox-pango-typo.patch
deleted file mode 100644 (file)
index fcc0ef4..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-https://bugzilla.mozilla.org/show_bug.cgi?id=322928
-
-Index: gfx/src/gtk/nsFontMetricsPango.cpp
-===================================================================
-RCS file: /cvsroot/mozilla/gfx/src/gtk/nsFontMetricsPango.cpp,v
-retrieving revision 1.16.2.2
-diff -d -u -p -r1.16.2.2 nsFontMetricsPango.cpp
---- gfx/src/gtk/nsFontMetricsPango.cpp 16 Sep 2005 06:16:02 -0000      1.16.2.2
-+++ gfx/src/gtk/nsFontMetricsPango.cpp 20 Feb 2006 19:15:19 -0000
-@@ -981,7 +981,7 @@ nsFontMetricsPango::GetPosition(const PR
-     // Jump to the end if it's not found.
-     if (!found) {
--        if (inx = 0)
-+        if (inx == 0)
-             retval = 0;
-         else if (trailing)
-             retval = aLength;
This page took 0.044087 seconds and 4 git commands to generate.