[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:37:22 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 4278bf31fe2953027b422f8258bbf6c4c4468f9c
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Sep 9 17:22:58 2002 +0000

            * khtml/misc/helper.cpp: (khtml::setNamedColor): Add a missing return I spotted.
    
            * kwq/KWQApplication.mm:
            * kwq/KWQChar.mm:
            * kwq/KWQCompletion.mm:
            * kwq/KWQCursor.mm:
            * kwq/KWQEvent.mm:
            * kwq/KWQFontInfo.mm:
            * kwq/KWQFontMetrics.mm:
            * kwq/KWQInputDialog.mm:
            * kwq/KWQKConfigBase.mm:
            * kwq/KWQKFileDialog.mm:
            * kwq/KWQKFileItem.mm:
            * kwq/KWQKGlobalSettings.mm:
            * kwq/KWQKHTMLSettings.mm:
            * kwq/KWQKIconLoader.mm:
            * kwq/KWQKMimeType.mm:
            * kwq/KWQKSimpleConfig.mm:
            * kwq/KWQKjobclasses.mm:
            * kwq/KWQKnetaccess.mm:
            * kwq/KWQLineEdit.mm:
            * kwq/KWQScrollView.mm:
            * kwq/KWQString.mm:
            * kwq/KWQWidget.mm:
            * kwq/KWQbrowserinterface.mm:
            * kwq/KWQtextstream.mm:
            * kwq/KWQxml.mm:
    	Change various LOG(NotYetImplemented) to ERROR, FATAL, or removed them entirely.
    	This will help us with the task of getting every last one either "not implemented
    	on purpose" or implemented. I'm not sure the NotYetImplemented log channel is
    	useful, because it's chock full of continuous "direction not implemented" messages.
    
            * kwq/KWQLogging.h:
            * kwq/KWQLogging.m:
    	Removed the NeverImplemented logging channel. The distinction is no longer worth
    	keeping around. We use NotYetImplemented instead.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2006 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index dff810d..18ed481 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,3 +1,42 @@
+2002-09-09  Darin Adler  <darin at apple.com>
+
+        * khtml/misc/helper.cpp: (khtml::setNamedColor): Add a missing return I spotted.
+
+        * kwq/KWQApplication.mm:
+        * kwq/KWQChar.mm:
+        * kwq/KWQCompletion.mm:
+        * kwq/KWQCursor.mm:
+        * kwq/KWQEvent.mm:
+        * kwq/KWQFontInfo.mm:
+        * kwq/KWQFontMetrics.mm:
+        * kwq/KWQInputDialog.mm:
+        * kwq/KWQKConfigBase.mm:
+        * kwq/KWQKFileDialog.mm:
+        * kwq/KWQKFileItem.mm:
+        * kwq/KWQKGlobalSettings.mm:
+        * kwq/KWQKHTMLSettings.mm:
+        * kwq/KWQKIconLoader.mm:
+        * kwq/KWQKMimeType.mm:
+        * kwq/KWQKSimpleConfig.mm:
+        * kwq/KWQKjobclasses.mm:
+        * kwq/KWQKnetaccess.mm:
+        * kwq/KWQLineEdit.mm:
+        * kwq/KWQScrollView.mm:
+        * kwq/KWQString.mm:
+        * kwq/KWQWidget.mm:
+        * kwq/KWQbrowserinterface.mm:
+        * kwq/KWQtextstream.mm:
+        * kwq/KWQxml.mm:
+	Change various LOG(NotYetImplemented) to ERROR, FATAL, or removed them entirely.
+	This will help us with the task of getting every last one either "not implemented
+	on purpose" or implemented. I'm not sure the NotYetImplemented log channel is
+	useful, because it's chock full of continuous "direction not implemented" messages.
+
+        * kwq/KWQLogging.h:
+        * kwq/KWQLogging.m:
+	Removed the NeverImplemented logging channel. The distinction is no longer worth
+	keeping around. We use NotYetImplemented instead.
+
 2002-09-08  Darin Adler  <darin at apple.com>
 
 	Switch over to new assertion/logging scheme.
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index dff810d..18ed481 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,42 @@
+2002-09-09  Darin Adler  <darin at apple.com>
+
+        * khtml/misc/helper.cpp: (khtml::setNamedColor): Add a missing return I spotted.
+
+        * kwq/KWQApplication.mm:
+        * kwq/KWQChar.mm:
+        * kwq/KWQCompletion.mm:
+        * kwq/KWQCursor.mm:
+        * kwq/KWQEvent.mm:
+        * kwq/KWQFontInfo.mm:
+        * kwq/KWQFontMetrics.mm:
+        * kwq/KWQInputDialog.mm:
+        * kwq/KWQKConfigBase.mm:
+        * kwq/KWQKFileDialog.mm:
+        * kwq/KWQKFileItem.mm:
+        * kwq/KWQKGlobalSettings.mm:
+        * kwq/KWQKHTMLSettings.mm:
+        * kwq/KWQKIconLoader.mm:
+        * kwq/KWQKMimeType.mm:
+        * kwq/KWQKSimpleConfig.mm:
+        * kwq/KWQKjobclasses.mm:
+        * kwq/KWQKnetaccess.mm:
+        * kwq/KWQLineEdit.mm:
+        * kwq/KWQScrollView.mm:
+        * kwq/KWQString.mm:
+        * kwq/KWQWidget.mm:
+        * kwq/KWQbrowserinterface.mm:
+        * kwq/KWQtextstream.mm:
+        * kwq/KWQxml.mm:
+	Change various LOG(NotYetImplemented) to ERROR, FATAL, or removed them entirely.
+	This will help us with the task of getting every last one either "not implemented
+	on purpose" or implemented. I'm not sure the NotYetImplemented log channel is
+	useful, because it's chock full of continuous "direction not implemented" messages.
+
+        * kwq/KWQLogging.h:
+        * kwq/KWQLogging.m:
+	Removed the NeverImplemented logging channel. The distinction is no longer worth
+	keeping around. We use NotYetImplemented instead.
+
 2002-09-08  Darin Adler  <darin at apple.com>
 
 	Switch over to new assertion/logging scheme.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index dff810d..18ed481 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,42 @@
+2002-09-09  Darin Adler  <darin at apple.com>
+
+        * khtml/misc/helper.cpp: (khtml::setNamedColor): Add a missing return I spotted.
+
+        * kwq/KWQApplication.mm:
+        * kwq/KWQChar.mm:
+        * kwq/KWQCompletion.mm:
+        * kwq/KWQCursor.mm:
+        * kwq/KWQEvent.mm:
+        * kwq/KWQFontInfo.mm:
+        * kwq/KWQFontMetrics.mm:
+        * kwq/KWQInputDialog.mm:
+        * kwq/KWQKConfigBase.mm:
+        * kwq/KWQKFileDialog.mm:
+        * kwq/KWQKFileItem.mm:
+        * kwq/KWQKGlobalSettings.mm:
+        * kwq/KWQKHTMLSettings.mm:
+        * kwq/KWQKIconLoader.mm:
+        * kwq/KWQKMimeType.mm:
+        * kwq/KWQKSimpleConfig.mm:
+        * kwq/KWQKjobclasses.mm:
+        * kwq/KWQKnetaccess.mm:
+        * kwq/KWQLineEdit.mm:
+        * kwq/KWQScrollView.mm:
+        * kwq/KWQString.mm:
+        * kwq/KWQWidget.mm:
+        * kwq/KWQbrowserinterface.mm:
+        * kwq/KWQtextstream.mm:
+        * kwq/KWQxml.mm:
+	Change various LOG(NotYetImplemented) to ERROR, FATAL, or removed them entirely.
+	This will help us with the task of getting every last one either "not implemented
+	on purpose" or implemented. I'm not sure the NotYetImplemented log channel is
+	useful, because it's chock full of continuous "direction not implemented" messages.
+
+        * kwq/KWQLogging.h:
+        * kwq/KWQLogging.m:
+	Removed the NeverImplemented logging channel. The distinction is no longer worth
+	keeping around. We use NotYetImplemented instead.
+
 2002-09-08  Darin Adler  <darin at apple.com>
 
 	Switch over to new assertion/logging scheme.
diff --git a/WebCore/khtml/misc/helper.cpp b/WebCore/khtml/misc/helper.cpp
index b9ebe10..5ff4aa9 100644
--- a/WebCore/khtml/misc/helper.cpp
+++ b/WebCore/khtml/misc/helper.cpp
@@ -219,6 +219,7 @@ void khtml::setNamedColor(QColor &color, const QString &_name)
 	    return;
 	}
         color.setNamedColor(name);
+        return;
 #else /* APPLE_CHANGES not defined */
         bool ok;
         int val = name.toInt(&ok, 16);
diff --git a/WebCore/kwq/KWQApplication.mm b/WebCore/kwq/KWQApplication.mm
index 15c2486..58eed53 100644
--- a/WebCore/kwq/KWQApplication.mm
+++ b/WebCore/kwq/KWQApplication.mm
@@ -62,12 +62,12 @@ QSize QApplication::globalStrut()
 
 void QApplication::setOverrideCursor(const QCursor &c)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 void QApplication::restoreOverrideCursor()
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 QStyle &QApplication::style()
diff --git a/WebCore/kwq/KWQChar.mm b/WebCore/kwq/KWQChar.mm
index 642a0a4..4629485 100644
--- a/WebCore/kwq/KWQChar.mm
+++ b/WebCore/kwq/KWQChar.mm
@@ -100,7 +100,7 @@ QChar::Direction QChar::direction() const
 bool QChar::mirrored() const
 {
     // FIXME: unimplemented because we don't do BIDI yet
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     // return whether character should be reversed if text direction is reversed
     return false;
 }
@@ -108,7 +108,7 @@ bool QChar::mirrored() const
 QChar QChar::mirroredChar() const
 {
     // FIXME: unimplemented because we don't do BIDI yet
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     // return mirrored character if it is mirrored else return itself
     return *this;
 }
diff --git a/WebCore/kwq/KWQCompletion.mm b/WebCore/kwq/KWQCompletion.mm
index 5b48c25..bc78739 100644
--- a/WebCore/kwq/KWQCompletion.mm
+++ b/WebCore/kwq/KWQCompletion.mm
@@ -28,11 +28,11 @@
 
 void KCompletion::setItems(const QStringList &)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 KCompletion *KCompletionBase::completionObject()
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return 0;
 }
diff --git a/WebCore/kwq/KWQCursor.mm b/WebCore/kwq/KWQCursor.mm
index 00e1f0e..17434a1 100644
--- a/WebCore/kwq/KWQCursor.mm
+++ b/WebCore/kwq/KWQCursor.mm
@@ -45,7 +45,7 @@ QCursor::QCursor(NSCursor *cur)
 QCursor::QCursor(const QPixmap &pixmap)
     : cursor([[NSCursor arrowCursor] retain])
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 QCursor::QCursor(const QCursor &other)
diff --git a/WebCore/kwq/KWQEvent.mm b/WebCore/kwq/KWQEvent.mm
index 6d09263..dbbd773 100644
--- a/WebCore/kwq/KWQEvent.mm
+++ b/WebCore/kwq/KWQEvent.mm
@@ -57,57 +57,57 @@ QTimerEvent::QTimerEvent(int t)
 QKeyEvent::QKeyEvent(Type t, int, int, int, const QString &, bool, ushort)
     : QEvent(t)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 int QKeyEvent::key() const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return 0;
 }
 
 Qt::ButtonState QKeyEvent::state() const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return Qt::NoButton;
 }
 
 void QKeyEvent::accept()
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 void QKeyEvent::ignore()
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 bool QKeyEvent::isAutoRepeat() const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return false;
 }
 
 QString QKeyEvent::text(void) const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString();
 }
 
 int QKeyEvent::ascii(void) const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return 0;
 }
 
 int QKeyEvent::count(void) const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return 0;
 }
 
 bool QKeyEvent::isAccepted(void) const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return false;
 }
diff --git a/WebCore/kwq/KWQFontInfo.mm b/WebCore/kwq/KWQFontInfo.mm
index 96026c1..5207f90 100644
--- a/WebCore/kwq/KWQFontInfo.mm
+++ b/WebCore/kwq/KWQFontInfo.mm
@@ -33,6 +33,6 @@ QFontInfo::QFontInfo(const QFont &f)
 
 bool QFontInfo::fixedPitch() const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return FALSE;
 }
diff --git a/WebCore/kwq/KWQFontMetrics.mm b/WebCore/kwq/KWQFontMetrics.mm
index 81933c6..996b4b2 100644
--- a/WebCore/kwq/KWQFontMetrics.mm
+++ b/WebCore/kwq/KWQFontMetrics.mm
@@ -164,12 +164,12 @@ QSize QFontMetrics::size(int, const QString &qstring) const
 
 int QFontMetrics::rightBearing(QChar) const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return 0;
 }
 
 int QFontMetrics::leftBearing(QChar) const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return 0;
 }
diff --git a/WebCore/kwq/KWQInputDialog.mm b/WebCore/kwq/KWQInputDialog.mm
index d282d7c..7922196 100644
--- a/WebCore/kwq/KWQInputDialog.mm
+++ b/WebCore/kwq/KWQInputDialog.mm
@@ -28,6 +28,6 @@
 
 QString QInputDialog::getText(const QString &, const QString &, QLineEdit::EchoMode, const QString &, bool *)
 {
-    LOG(NeverImplemented, "never implemented");
+    FATAL("not implemented");
     return QString();
 }
diff --git a/WebCore/kwq/KWQKConfigBase.mm b/WebCore/kwq/KWQKConfigBase.mm
index 6d45bd0..3da592d 100644
--- a/WebCore/kwq/KWQKConfigBase.mm
+++ b/WebCore/kwq/KWQKConfigBase.mm
@@ -61,7 +61,7 @@ void KConfig::setGroup(const QString &pGroup)
 void KConfig::writeEntry(const QString &pKey, const QStringList &rValue, 
     char sep, bool bPersistent, bool bGlobal, bool bNLS)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 QString KConfig::readEntry(const char *pKey, const QString& aDefault) const
@@ -94,7 +94,7 @@ QString KConfig::readEntry(const char *pKey, const QString& aDefault) const
         }
     }
     
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString();
 }
 
@@ -103,7 +103,7 @@ int KConfig::readNumEntry(const char *pKey, int nDefault) const
     if (impl->isPluginInfo) {
         return [[[WebCoreViewFactory sharedFactory] pluginsInfo] count];
     }
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return nDefault;
 }
 
@@ -116,14 +116,14 @@ unsigned int KConfig::readUnsignedNumEntry(const char *pKey, unsigned int nDefau
 	    return 3;
 	}
     }
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return nDefault;
 }
 
 
 bool KConfig::readBoolEntry(const char *pKey, bool nDefault) const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return nDefault;
 }
 
@@ -137,6 +137,6 @@ QColor KConfig::readColorEntry(const char *pKey, const QColor *pDefault) const
 
 QStringList KConfig::readListEntry(const QString &pKey, char sep) const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QStringList();
 }
diff --git a/WebCore/kwq/KWQKFileDialog.mm b/WebCore/kwq/KWQKFileDialog.mm
index 3fbad9f..8de1ba9 100644
--- a/WebCore/kwq/KWQKFileDialog.mm
+++ b/WebCore/kwq/KWQKFileDialog.mm
@@ -29,6 +29,6 @@
 QString KFileDialog::getOpenFileName(const QString &startDir, 
     const QString &filter, QWidget *parent, const QString &caption)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString();
 }
diff --git a/WebCore/kwq/KWQKFileItem.mm b/WebCore/kwq/KWQKFileItem.mm
index a133934..9c73d77 100644
--- a/WebCore/kwq/KWQKFileItem.mm
+++ b/WebCore/kwq/KWQKFileItem.mm
@@ -29,12 +29,12 @@
 
 KFileItem::KFileItem(const KIO::UDSEntry &, const KURL &, bool, bool)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 bool KFileItem::isDir() const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return FALSE;
 }
 
diff --git a/WebCore/kwq/KWQKGlobalSettings.mm b/WebCore/kwq/KWQKGlobalSettings.mm
index 8fa6f84..423d8d1 100644
--- a/WebCore/kwq/KWQKGlobalSettings.mm
+++ b/WebCore/kwq/KWQKGlobalSettings.mm
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2001 Apple Computer, Inc.  All rights reserved.
+ * Copyright (C) 2001, 2002 Apple Computer, Inc.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -23,34 +23,26 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#import <qfont.h>
-
 #import <kglobalsettings.h>
 
-#import <KWQLogging.h>
+#import <qfont.h>
 
 QFont KGlobalSettings::generalFont()
 {
     return QFont();
 }
 
-
 QFont KGlobalSettings::windowTitleFont()
 {
     return QFont();
 }
 
-
 QFont KGlobalSettings::menuFont()
 {
     return QFont();
 }
 
-
 int KGlobalSettings::contrast()
 {
-    LOG(NotYetImplemented, "not yet implemented");
     return 0;
 }
-
-
diff --git a/WebCore/kwq/KWQKHTMLSettings.mm b/WebCore/kwq/KWQKHTMLSettings.mm
index 670d57b..93adc9e 100644
--- a/WebCore/kwq/KWQKHTMLSettings.mm
+++ b/WebCore/kwq/KWQKHTMLSettings.mm
@@ -114,7 +114,6 @@ bool KHTMLSettings::isJavaEnabled() const
 
 bool KHTMLSettings::autoLoadImages() const
 {
-    LOG(NotYetImplemented, "not yet implemented");
     return true;
 }
 
diff --git a/WebCore/kwq/KWQKIONetAccess.mm b/WebCore/kwq/KWQKIONetAccess.mm
index 5b87988..d68727c 100644
--- a/WebCore/kwq/KWQKIONetAccess.mm
+++ b/WebCore/kwq/KWQKIONetAccess.mm
@@ -33,14 +33,14 @@ namespace KIO {
 
 bool NetAccess::stat(const KURL &, KIO::UDSEntry &)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return FALSE;
 }
 
 
 QString NetAccess::lastErrorString()
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     if (tempQString == NULL) {
 	tempQString = new QString();
     }
@@ -51,14 +51,14 @@ QString NetAccess::lastErrorString()
 
 bool NetAccess::download(const KURL &, QString &)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return FALSE;
 }
 
 
 void NetAccess::removeTempFile(const QString &)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 } // namespace KIO
diff --git a/WebCore/kwq/KWQKIconLoader.mm b/WebCore/kwq/KWQKIconLoader.mm
index 920123d..2cd4391 100644
--- a/WebCore/kwq/KWQKIconLoader.mm
+++ b/WebCore/kwq/KWQKIconLoader.mm
@@ -28,6 +28,6 @@
 
 QPixmap KIconLoader::loadIcon(const QString &name, int group, int size, int state) const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QPixmap();
 }
diff --git a/WebCore/kwq/KWQKJobClasses.mm b/WebCore/kwq/KWQKJobClasses.mm
index b336b33..2357a01 100644
--- a/WebCore/kwq/KWQKJobClasses.mm
+++ b/WebCore/kwq/KWQKJobClasses.mm
@@ -86,7 +86,7 @@ void TransferJob::setError(int e)
 QString TransferJob::errorText() const
 {
     LOG(NotYetImplemented, "not yet implemented");
-    return 0;
+    return QString::null;
 }
 
 QString TransferJob::queryMetaData(const QString &key) const
diff --git a/WebCore/kwq/KWQKMimeType.mm b/WebCore/kwq/KWQKMimeType.mm
index b2d3d28..2336a5e 100644
--- a/WebCore/kwq/KWQKMimeType.mm
+++ b/WebCore/kwq/KWQKMimeType.mm
@@ -28,40 +28,40 @@
 
 KMimeType::Ptr KMimeType::findByURL(const KURL &, mode_t, bool, bool)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return KMimeType::Ptr();
 }
 
 
 KMimeType::~KMimeType()
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 
 QString KMimeType::name() const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString();
 }
 
 QString KMimeType::comment() const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString();
 }
 
 
 KMimeType::Ptr KMimeType::mimeType(QString serviceType)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return KMimeType::Ptr();
 }
 
 
 QString KMimeType::defaultMimeType()
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString();
 }
 
diff --git a/WebCore/kwq/KWQKPartsBrowserInterface.mm b/WebCore/kwq/KWQKPartsBrowserInterface.mm
index 91c5276..c355968 100644
--- a/WebCore/kwq/KWQKPartsBrowserInterface.mm
+++ b/WebCore/kwq/KWQKPartsBrowserInterface.mm
@@ -31,7 +31,7 @@ namespace KParts {
 
 void BrowserInterface::callMethod(const char *name, const QVariant &argument)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 } // namespace KParts
diff --git a/WebCore/kwq/KWQKSimpleConfig.mm b/WebCore/kwq/KWQKSimpleConfig.mm
index ebc69c6..7f2d1dc 100644
--- a/WebCore/kwq/KWQKSimpleConfig.mm
+++ b/WebCore/kwq/KWQKSimpleConfig.mm
@@ -29,6 +29,6 @@
 
 KSimpleConfig::KSimpleConfig(const QString &s, bool bReadOnly) : KConfig (s, bReadOnly)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
diff --git a/WebCore/kwq/KWQKnetaccess.mm b/WebCore/kwq/KWQKnetaccess.mm
index 5b87988..d68727c 100644
--- a/WebCore/kwq/KWQKnetaccess.mm
+++ b/WebCore/kwq/KWQKnetaccess.mm
@@ -33,14 +33,14 @@ namespace KIO {
 
 bool NetAccess::stat(const KURL &, KIO::UDSEntry &)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return FALSE;
 }
 
 
 QString NetAccess::lastErrorString()
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     if (tempQString == NULL) {
 	tempQString = new QString();
     }
@@ -51,14 +51,14 @@ QString NetAccess::lastErrorString()
 
 bool NetAccess::download(const KURL &, QString &)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return FALSE;
 }
 
 
 void NetAccess::removeTempFile(const QString &)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 } // namespace KIO
diff --git a/WebCore/kwq/KWQLineEdit.mm b/WebCore/kwq/KWQLineEdit.mm
index 3ea7ec5..49c503f 100644
--- a/WebCore/kwq/KWQLineEdit.mm
+++ b/WebCore/kwq/KWQLineEdit.mm
@@ -97,7 +97,7 @@ void QLineEdit::setReadOnly(bool flag)
 
 bool QLineEdit::frame() const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return FALSE;
 }
 
diff --git a/WebCore/kwq/KWQLogging.h b/WebCore/kwq/KWQLogging.h
index cf2509b..7faad80 100644
--- a/WebCore/kwq/KWQLogging.h
+++ b/WebCore/kwq/KWQLogging.h
@@ -12,7 +12,6 @@
 #define LOG_CHANNEL_PREFIX KWQLog
 #endif
 
-extern KWQLogChannel KWQLogNeverImplemented;
 extern KWQLogChannel KWQLogNotYetImplemented;
 
 extern KWQLogChannel KWQLogFrames;
diff --git a/WebCore/kwq/KWQLogging.m b/WebCore/kwq/KWQLogging.m
index 4ef8528..6ab2398 100644
--- a/WebCore/kwq/KWQLogging.m
+++ b/WebCore/kwq/KWQLogging.m
@@ -8,8 +8,7 @@
 
 #import "KWQLogging.h"
 
-KWQLogChannel KWQLogNeverImplemented =  { 0x00000001, "WebCoreLogLevel", KWQLogChannelUninitialized };
-KWQLogChannel KWQLogNotYetImplemented = { 0x00000002, "WebCoreLogLevel", KWQLogChannelUninitialized };
+KWQLogChannel KWQLogNotYetImplemented = { 0x00000001, "WebCoreLogLevel", KWQLogChannelUninitialized };
 
 KWQLogChannel KWQLogFrames =            { 0x00000010, "WebCoreLogLevel", KWQLogChannelUninitialized };
 KWQLogChannel KWQLogLoading =           { 0x00000020, "WebCoreLogLevel", KWQLogChannelUninitialized };
diff --git a/WebCore/kwq/KWQScrollView.mm b/WebCore/kwq/KWQScrollView.mm
index bd9546b..21ad3ed 100644
--- a/WebCore/kwq/KWQScrollView.mm
+++ b/WebCore/kwq/KWQScrollView.mm
@@ -174,12 +174,12 @@ void QScrollView::setContentsPos(int x, int y)
 
 void QScrollView::setVScrollBarMode(ScrollBarMode)
 {
-    LOG(NeverImplemented, "never implemented");
+    LOG(NotYetImplemented, "not yet implemented");
 }
 
 void QScrollView::setHScrollBarMode(ScrollBarMode)
 {
-    LOG(NeverImplemented, "never implemented");
+    LOG(NotYetImplemented, "not yet implemented");
 }
 
 void QScrollView::addChild(QWidget* child, int x, int y)
@@ -296,7 +296,7 @@ void QScrollView::viewportToContents(int vx, int vy, int& x, int& y)
 
 void QScrollView::setStaticBackground(bool)
 {
-    LOG(NeverImplemented, "never implemented");
+    LOG(NotYetImplemented, "not yet implemented");
 }
 
 void QScrollView::resizeEvent(QResizeEvent *)
@@ -305,10 +305,10 @@ void QScrollView::resizeEvent(QResizeEvent *)
 
 void QScrollView::ensureVisible(int,int)
 {
-    LOG(NeverImplemented, "never implemented");
+    ERROR("not yet implemented");
 }
 
 void QScrollView::ensureVisible(int,int,int,int)
 {
-    LOG(NeverImplemented, "never implemented");
+    LOG(NotYetImplemented, "not yet implemented");
 }
diff --git a/WebCore/kwq/KWQString.mm b/WebCore/kwq/KWQString.mm
index 1ce82ed..5a12464 100644
--- a/WebCore/kwq/KWQString.mm
+++ b/WebCore/kwq/KWQString.mm
@@ -2411,13 +2411,13 @@ void QString::fill(QChar qc, int len)
 void QString::compose()
 {
     // FIXME: unimplemented because we don't do ligatures yet
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 QString QString::visual()
 {
     // FIXME: unimplemented because we don't do BIDI yet
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString(*this);
 }
 
diff --git a/WebCore/kwq/KWQTextStream.mm b/WebCore/kwq/KWQTextStream.mm
index 4aee41e..ef448cf 100644
--- a/WebCore/kwq/KWQTextStream.mm
+++ b/WebCore/kwq/KWQTextStream.mm
@@ -31,51 +31,51 @@
 
 QTextStream::QTextStream()
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 
 QTextStream::QTextStream(QByteArray, int)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 QTextStream::QTextStream(QString *, int)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 
 QTextStream::~QTextStream()
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 
 QTextStream &QTextStream::operator<<(char)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return *this;
 }
 
 
 QTextStream &QTextStream::operator<<(const char *)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return *this;
 }
 
 
 QTextStream &QTextStream::operator<<(const QCString &)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return *this;
 }
 
 
 QTextStream &QTextStream::operator<<(const QString &)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return *this;
 }
 
@@ -84,13 +84,13 @@ QTextStream &QTextStream::operator<<(const QString &)
 
 QTextIStream::QTextIStream(QString *)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 
 QString QTextIStream::readLine()
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString();
 }
 
@@ -99,36 +99,36 @@ QString QTextIStream::readLine()
 
 QTextOStream::QTextOStream(QString *)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 
 QTextOStream::QTextOStream(QByteArray)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 QString QTextOStream::readLine()
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString();
 }
 
 
 QTextStream &QTextStream::operator<<(QTextStream &(*const &)(QTextStream &)) 
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return *this;
 }
 
 QTextStream &QTextStream::operator<<(void const *)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return *this;
 }
 
 QTextStream &endl(QTextStream& stream)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return stream;
 }
diff --git a/WebCore/kwq/KWQWidget.mm b/WebCore/kwq/KWQWidget.mm
index a90e174..7f4164a 100644
--- a/WebCore/kwq/KWQWidget.mm
+++ b/WebCore/kwq/KWQWidget.mm
@@ -206,7 +206,7 @@ void QWidget::setFocus()
 
 void QWidget::clearFocus()
 {
-    LOG(NeverImplemented, "never implemented");
+    ERROR("not yet implemented");
 }
 
 QWidget::FocusPolicy QWidget::focusPolicy() const
@@ -315,8 +315,8 @@ bool QWidget::event(QEvent *)
 
 bool QWidget::focusNextPrevChild(bool)
 {
-    LOG(NeverImplemented, "never implemented");
-    return TRUE;
+    ERROR("not yet implemented");
+    return true;
 }
 
 bool QWidget::hasMouseTracking() const
diff --git a/WebCore/kwq/KWQXml.mm b/WebCore/kwq/KWQXml.mm
index b7fa3f2..bd42f95 100644
--- a/WebCore/kwq/KWQXml.mm
+++ b/WebCore/kwq/KWQXml.mm
@@ -31,31 +31,31 @@
 
 QString QXmlAttributes::value(const QString &) const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString();
 }
 
 int QXmlAttributes::length() const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return 0;
 }
 
 QString QXmlAttributes::localName(int index) const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString();
 }
 
 QString QXmlAttributes::value(int index) const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString();
 }
 
 QString QXmlAttributes::uri(int) const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString();
 }
 
@@ -63,55 +63,55 @@ QString QXmlAttributes::uri(int) const
 
 void QXmlInputSource::setData(const QString& data)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 void QXmlSimpleReader::setContentHandler(QXmlContentHandler *handler)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 bool QXmlSimpleReader::parse(const QXmlInputSource &input)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return FALSE;
 }
 
 void QXmlSimpleReader::setLexicalHandler(QXmlLexicalHandler *handler)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 void QXmlSimpleReader::setDTDHandler(QXmlDTDHandler *handler)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 void QXmlSimpleReader::setDeclHandler(QXmlDeclHandler *handler)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 void QXmlSimpleReader::setErrorHandler(QXmlErrorHandler *handler)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 
 QString QXmlParseException::message() const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return QString();
 }
 
 int QXmlParseException::columnNumber() const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return 0;
 }
 
 int QXmlParseException::lineNumber() const
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
     return 0;
 }
diff --git a/WebCore/kwq/KWQbrowserinterface.mm b/WebCore/kwq/KWQbrowserinterface.mm
index 91c5276..c355968 100644
--- a/WebCore/kwq/KWQbrowserinterface.mm
+++ b/WebCore/kwq/KWQbrowserinterface.mm
@@ -31,7 +31,7 @@ namespace KParts {
 
 void BrowserInterface::callMethod(const char *name, const QVariant &argument)
 {
-    LOG(NotYetImplemented, "not yet implemented");
+    ERROR("not yet implemented");
 }
 
 } // namespace KParts

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list