+++ /dev/null
-/*
- 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
+++ /dev/null
-/*
- 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
+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,
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;