Reviewed by Eric Seidel.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Jul 2005 21:15:04 +0000 (21:15 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Jul 2005 21:15:04 +0000 (21:15 +0000)
        - removed unused files

        * kdom/impl/NodeKeeper.cc: Removed.
        * kdom/impl/NodeKeeper.h: Removed.
        * WebCore.pbproj/project.pbxproj: Remove from +SVG build.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9640 268f45cc-cd09-0410-ab3c-d52691b4dbfc

SVGSupport/kdom/core/NodeKeeper.cpp [deleted file]
SVGSupport/kdom/core/NodeKeeper.h [deleted file]
WebCore/ChangeLog-2005-08-23
WebCore/WebCore.pbproj/project.pbxproj

diff --git a/SVGSupport/kdom/core/NodeKeeper.cpp b/SVGSupport/kdom/core/NodeKeeper.cpp
deleted file mode 100644 (file)
index 22919ae..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-/*
-    Copyright (C) 2004 Nikolas Zimmermann <wildfox@kde.org>
-                                 2004 Rob Buis <buis@kde.org>
-
-    This file is part of the KDE project
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-    Boston, MA 02111-1307, USA.
-*/
-
-#include "NodeImpl.h"
-#include "NodeKeeper.h"
-
-#undef REFCOUNT_DEBUG
-
-using namespace KDOM;
-       
-NodeKeeper::NodeKeeper()
-{
-#ifdef REFCOUNT_DEBUG
-       kdDebug() << "NODEKEEPER CTOR!" << endl;
-#endif
-
-       m_destructing = false;
-       m_nodeList.setAutoDelete(false);
-}
-
-NodeKeeper::~NodeKeeper()
-{
-#ifdef REFCOUNT_DEBUG
-       kdDebug() << "NODEKEEPER DTOR!" << endl;
-#endif
-
-       m_destructing = true; // Set destruction mode
-       QPtrList<NodeImpl>::ConstIterator it = m_nodeList.begin();
-       QPtrList<NodeImpl>::ConstIterator end = m_nodeList.end();
-
-       for(; it != end; ++it)
-       {
-               NodeImpl *impl = *it;
-               Q_ASSERT(impl != 0);
-
-#ifdef REFCOUNT_DEBUG
-               kdDebug() << "-------> killNode " << impl << " ref: " << impl->refCount() << " name : " << impl->nodeName() << endl;
-#endif
-
-               impl->detach();
-               impl->deref();
-
-#ifdef REFCOUNT_DEBUG
-               kdDebug() << "-------> done with killNode " << impl << endl;
-#endif
-       }
-
-#ifdef REFCOUNT_DEBUG
-       kdDebug() << "NODEKEEPER DTOR FINISHED!" << endl;
-#endif
-}
-
-void NodeKeeper::addNode(NodeImpl *impl)
-{
-       Q_ASSERT(impl != 0);
-
-#ifdef REFCOUNT_DEBUG
-       kdDebug() << "-------> addNode " << impl << " ref: " << impl->refCount() << " name : " << impl->nodeName() << endl;
-#endif
-
-       impl->ref();
-       m_nodeList.append(impl);
-
-#ifdef REFCOUNT_DEBUG
-       kdDebug() << "-------> done with addNode " << impl << endl;
-#endif
-}
-
-void NodeKeeper::removeNode(NodeImpl *impl)
-{
-       Q_ASSERT(impl != 0);
-
-#ifdef REFCOUNT_DEBUG
-       kdDebug() << "-------> removeNode " << impl << " ref: " << impl->refCount() << " name : " << impl->nodeName() << endl;
-#endif
-
-       m_nodeList.remove(impl);
-       impl->deref();
-
-#ifdef REFCOUNT_DEBUG
-       kdDebug() << "-------> done with removeNode " << impl << endl;
-#endif
-}
-
-bool NodeKeeper::destructing() const
-{
-       return m_destructing;
-}
-
-// vim:ts=4:noet
diff --git a/SVGSupport/kdom/core/NodeKeeper.h b/SVGSupport/kdom/core/NodeKeeper.h
deleted file mode 100644 (file)
index 5f9da16..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
-    Copyright (C) 2004 Nikolas Zimmermann <wildfox@kde.org>
-                                 2004 Rob Buis <buis@kde.org>
-
-    This file is part of the KDE project
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-    Boston, MA 02111-1307, USA.
-*/
-
-#ifndef KDOM_NodeKeeper_H
-#define KDOM_NodeKeeper_H
-
-#include <qptrlist.h>
-
-namespace KDOM
-{
-       class NodeImpl;
-
-       class NodeKeeper
-       {
-       public:
-               NodeKeeper();
-               virtual ~NodeKeeper();
-
-               void addNode(NodeImpl *impl);
-               void removeNode(NodeImpl *impl);
-
-               bool destructing() const;
-
-       private:
-               bool m_destructing : 1;
-               QPtrList<NodeImpl> m_nodeList;
-       };
-};
-
-#endif
-
-// vim:ts=4:noet
index 4295c5da9789d5e2fb0f86475c8975e9e2ab9175..5b6755d961102380d779e25a58719607f8ba9064 100644 (file)
@@ -1,3 +1,13 @@
+2005-07-09  Maciej Stachowiak  <mjs@apple.com>
+
+        Reviewed by Eric Seidel.
+
+        - removed unused files
+
+        * kdom/impl/NodeKeeper.cc: Removed.
+        * kdom/impl/NodeKeeper.h: Removed.
+        * WebCore.pbproj/project.pbxproj: Remove from +SVG build.
+
 2005-07-09  David Hyatt  <hyatt@apple.com>
 
        Fix for bugzilla bug 3405, replace NodeImpl::Id with a new class,
index af14b99523e55918198fa10d5ad79c0976c373ca..f0f20cbd8f357b63b1df1fc345384b5f92011861 100644 (file)
                                A821432208794AF900677359,
                                A821432408794AF900677359,
                                A821432608794AF900677359,
-                               A821432808794AF900677359,
                                A821432A08794AF900677359,
                                A821432C08794AF900677359,
                                A821432E08794AF900677359,
                                A821432108794AF900677359,
                                A821432308794AF900677359,
                                A821432508794AF900677359,
-                               A821432708794AF900677359,
                                A821432908794AF900677359,
                                A821432B08794AF900677359,
                                A821432D08794AF900677359,
                                A8212F0C08794ABB00677359,
                                A8212F0D08794ABB00677359,
                                A8212F0E08794ABB00677359,
-                               A8212F0F08794ABB00677359,
-                               A8212F1008794ABB00677359,
                                A8212F1108794ABB00677359,
                                A8212F1208794ABB00677359,
                                A8212F1308794ABB00677359,
                        refType = 4;
                        sourceTree = "<group>";
                };
-               A8212F0F08794ABB00677359 = {
-                       fileEncoding = 4;
-                       isa = PBXFileReference;
-                       lastKnownFileType = sourcecode.cpp.cpp;
-                       path = NodeKeeper.cc;
-                       refType = 4;
-                       sourceTree = "<group>";
-               };
-               A8212F1008794ABB00677359 = {
-                       fileEncoding = 4;
-                       isa = PBXFileReference;
-                       lastKnownFileType = sourcecode.c.h;
-                       path = NodeKeeper.h;
-                       refType = 4;
-                       sourceTree = "<group>";
-               };
                A8212F1108794ABB00677359 = {
                        fileEncoding = 4;
                        isa = PBXFileReference;
                        settings = {
                        };
                };
-               A821432708794AF900677359 = {
-                       fileRef = A8212F0F08794ABB00677359;
-                       isa = PBXBuildFile;
-                       settings = {
-                       };
-               };
-               A821432808794AF900677359 = {
-                       fileRef = A8212F1008794ABB00677359;
-                       isa = PBXBuildFile;
-                       settings = {
-                       };
-               };
                A821432908794AF900677359 = {
                        fileRef = A8212F1108794ABB00677359;
                        isa = PBXBuildFile;