aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-02-29 22:24:40 +0800
committerChristian Persch <chpe@src.gnome.org>2004-02-29 22:24:40 +0800
commitcbbf7c86bcc83b0225dd37272d4c1740641a2980 (patch)
tree5b2916ace75056b43dc4731c273d8ccf864fdf74 /embed
parent29e6bdcbc9eda0694e67689eabc97070f0911437 (diff)
downloadgsoc2013-epiphany-cbbf7c86bcc83b0225dd37272d4c1740641a2980.tar
gsoc2013-epiphany-cbbf7c86bcc83b0225dd37272d4c1740641a2980.tar.gz
gsoc2013-epiphany-cbbf7c86bcc83b0225dd37272d4c1740641a2980.tar.bz2
gsoc2013-epiphany-cbbf7c86bcc83b0225dd37272d4c1740641a2980.tar.lz
gsoc2013-epiphany-cbbf7c86bcc83b0225dd37272d4c1740641a2980.tar.xz
gsoc2013-epiphany-cbbf7c86bcc83b0225dd37272d4c1740641a2980.tar.zst
gsoc2013-epiphany-cbbf7c86bcc83b0225dd37272d4c1740641a2980.zip
Add debug output in ctors and dtors.
2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/PrintingPromptService.cpp: Add debug output in ctors and dtors.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/ContentHandler.cpp4
-rw-r--r--embed/mozilla/EphyHeaderSniffer.cpp6
-rw-r--r--embed/mozilla/FilePicker.cpp4
-rw-r--r--embed/mozilla/GtkNSSClientAuthDialogs.cpp3
-rw-r--r--embed/mozilla/GtkNSSKeyPairDialogs.cpp4
-rw-r--r--embed/mozilla/PrintingPromptService.cpp3
6 files changed, 16 insertions, 8 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index a92965638..88f7b5bad 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -59,12 +59,12 @@ NS_IMPL_ISUPPORTS1(GContentHandler, nsIHelperAppLauncherDialog)
GContentHandler::GContentHandler() : mMimeType(nsnull)
{
- LOG ("GContentHandler ctor")
+ LOG ("GContentHandler ctor (%p)", this)
}
GContentHandler::~GContentHandler()
{
- LOG ("GContentHandler dtor")
+ LOG ("GContentHandler dtor (%p)", this)
nsMemory::Free (mMimeType);
}
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp
index 35af9763f..80eca4174 100644
--- a/embed/mozilla/EphyHeaderSniffer.cpp
+++ b/embed/mozilla/EphyHeaderSniffer.cpp
@@ -86,12 +86,12 @@ EphyHeaderSniffer::EphyHeaderSniffer (nsIWebBrowserPersist* aPersist, MozillaEmb
{
mPrompt = do_GetService("@mozilla.org/embedcomp/prompt-service;1");
- LOG ("EphyHeaderSniffer constructor")
+ LOG ("EphyHeaderSniffer ctor (%p)", this)
}
EphyHeaderSniffer::~EphyHeaderSniffer()
{
- LOG ("EphyHeaderSniffer destructor")
+ LOG ("EphyHeaderSniffer dtor (%p)", this)
}
NS_IMPL_ISUPPORTS2(EphyHeaderSniffer, nsIWebProgressListener, nsIAuthPrompt)
@@ -250,7 +250,7 @@ nsresult EphyHeaderSniffer::PerformSave (nsIURI* inOriginalURI)
do_GetService("@mozilla.org/network/mime-hdrparam;1");
if (mimehdrpar)
- {g_print ("Using nsIMIMEHeaderParam!\n");
+ {
nsCAutoString fallbackCharset;
if (mURL)
{
diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp
index 2c7150ebd..d8e2e15a1 100644
--- a/embed/mozilla/FilePicker.cpp
+++ b/embed/mozilla/FilePicker.cpp
@@ -63,7 +63,7 @@ NS_IMPL_ISUPPORTS1(GFilePicker, nsIFilePicker)
GFilePicker::GFilePicker()
{
- LOG ("GFilePicker constructor")
+ LOG ("GFilePicker ctor (%p)", this)
mDialog = EPHY_FILE_CHOOSER (g_object_new (EPHY_TYPE_FILE_CHOOSER, NULL));
@@ -76,7 +76,7 @@ GFilePicker::GFilePicker()
GFilePicker::~GFilePicker()
{
- LOG ("GFilePicker destructor")
+ LOG ("GFilePicker dtor (%p)", this)
if (mDialog)
{
diff --git a/embed/mozilla/GtkNSSClientAuthDialogs.cpp b/embed/mozilla/GtkNSSClientAuthDialogs.cpp
index a46874c3a..141a7ca18 100644
--- a/embed/mozilla/GtkNSSClientAuthDialogs.cpp
+++ b/embed/mozilla/GtkNSSClientAuthDialogs.cpp
@@ -58,14 +58,17 @@
#include "GtkNSSClientAuthDialogs.h"
#include "ephy-state.h"
+#include "ephy-debug.h"
GtkNSSClientAuthDialogs::GtkNSSClientAuthDialogs()
{
+ LOG ("GtkNSSClientAuthDialogs ctor (%p)", this)
}
GtkNSSClientAuthDialogs::~GtkNSSClientAuthDialogs()
{
+ LOG ("GtkNSSClientAuthDialogs dtor (%p)", this)
}
NS_IMPL_THREADSAFE_ISUPPORTS1 (GtkNSSClientAuthDialogs,
diff --git a/embed/mozilla/GtkNSSKeyPairDialogs.cpp b/embed/mozilla/GtkNSSKeyPairDialogs.cpp
index 941bcebe3..031f3b822 100644
--- a/embed/mozilla/GtkNSSKeyPairDialogs.cpp
+++ b/embed/mozilla/GtkNSSKeyPairDialogs.cpp
@@ -60,14 +60,16 @@
#include <libgnome/gnome-i18n.h>
#include "GtkNSSKeyPairDialogs.h"
-
+#include "ephy-debug.h"
GtkNSSKeyPairDialogs::GtkNSSKeyPairDialogs ()
{
+ LOG ("GtkNSSKeyPairDialogs ctor (%p)", this)
}
GtkNSSKeyPairDialogs::~GtkNSSKeyPairDialogs ()
{
+ LOG ("GtkNSSKeyPairDialogs dtor (%p)", this)
}
NS_IMPL_ISUPPORTS1 (GtkNSSKeyPairDialogs,
diff --git a/embed/mozilla/PrintingPromptService.cpp b/embed/mozilla/PrintingPromptService.cpp
index 85c885592..16dc3c2e9 100644
--- a/embed/mozilla/PrintingPromptService.cpp
+++ b/embed/mozilla/PrintingPromptService.cpp
@@ -32,6 +32,7 @@
#include "PrintingPromptService.h"
#include "eel-gconf-extensions.h"
#include "ephy-prefs.h"
+#include "ephy-debug.h"
#include <nsIPrintSettings.h>
#include <nsCOMPtr.h>
@@ -43,10 +44,12 @@ NS_IMPL_ISUPPORTS1(GPrintingPromptService, nsIPrintingPromptService)
GPrintingPromptService::GPrintingPromptService()
{
+ LOG ("GPrintingPromptService ctor (%p)", this)
}
GPrintingPromptService::~GPrintingPromptService()
{
+ LOG ("GPrintingPromptService dtor (%p)", this)
}
/* void showPrintDialog (in nsIDOMWindow parent, in nsIWebBrowserPrint webBrowserPrint, in nsIPrintSettings printSettings); */