+2006-06-19 Darin Adler <darin@apple.com>
+
+ Reviewed by Brady.
+
+ - removed a few empty/unused files Brady found by tracking down the nm error message
+
+ * editing/VisibleRange.cpp: Removed.
+ * editing/VisibleRange.h: Removed.
+ * kcanvas/KCanvasImage.cpp: Removed.
+
+ * WebCore.vcproj/WebCore/WebCore.vcproj: Removed VisibleRange.cpp/h.
+ * WebCore.xcodeproj/project.pbxproj: Removed VisibleRange.cpp/h and KCanvasImage.cpp.
+ * WebCoreSources.bkl: Removed VisibleRange.cpp.
+
2006-06-19 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
<File\r
RelativePath="..\..\editing\EditCommand.h"\r
>\r
- </File>
+ </File>\r
<File\r
RelativePath="..\..\editing\FormatBlockCommand.cpp"\r
>\r
RelativePath="..\..\editing\VisiblePosition.h"\r
>\r
</File>\r
- <File\r
- RelativePath="..\..\editing\VisibleRange.cpp"\r
- >\r
- </File>\r
- <File\r
- RelativePath="..\..\editing\VisibleRange.h"\r
- >\r
- </File>\r
<File\r
RelativePath="..\..\editing\WrapContentsInDummySpanCommand.cpp"\r
>\r
93309E1E099E64920056E581 /* visible_units.h in Headers */ = {isa = PBXBuildFile; fileRef = 93309DCF099E64910056E581 /* visible_units.h */; };
93309E1F099E64920056E581 /* VisiblePosition.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93309DD0099E64910056E581 /* VisiblePosition.cpp */; };
93309E20099E64920056E581 /* VisiblePosition.h in Headers */ = {isa = PBXBuildFile; fileRef = 93309DD1099E64910056E581 /* VisiblePosition.h */; };
- 93309E21099E64920056E581 /* VisibleRange.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93309DD2099E64910056E581 /* VisibleRange.cpp */; };
- 93309E22099E64920056E581 /* VisibleRange.h in Headers */ = {isa = PBXBuildFile; fileRef = 93309DD3099E64910056E581 /* VisibleRange.h */; };
93309E23099E64920056E581 /* WrapContentsInDummySpanCommand.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93309DD4099E64910056E581 /* WrapContentsInDummySpanCommand.cpp */; };
93309E24099E64920056E581 /* WrapContentsInDummySpanCommand.h in Headers */ = {isa = PBXBuildFile; fileRef = 93309DD5099E64910056E581 /* WrapContentsInDummySpanCommand.h */; };
93309EA2099EB78C0056E581 /* SharedTimerMac.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93309E9F099EB78C0056E581 /* SharedTimerMac.cpp */; };
A88AD3BC0952486E001DD196 /* KCanvasCreator.h in Headers */ = {isa = PBXBuildFile; fileRef = A8C0FB7D089701F800BA5114 /* KCanvasCreator.h */; };
A88AD3BD0952486E001DD196 /* KCanvasFilters.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8C0FB7E089701F800BA5114 /* KCanvasFilters.cpp */; };
A88AD3BE0952486E001DD196 /* KCanvasFilters.h in Headers */ = {isa = PBXBuildFile; fileRef = A8C0FB7F089701F800BA5114 /* KCanvasFilters.h */; };
- A88AD3BF0952486E001DD196 /* KCanvasImage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8C0FB80089701F800BA5114 /* KCanvasImage.cpp */; };
A88AD3C00952486E001DD196 /* KCanvasImage.h in Headers */ = {isa = PBXBuildFile; fileRef = A8C0FB81089701F800BA5114 /* KCanvasImage.h */; };
A88AD3C10952486E001DD196 /* RenderPath.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8C0FB82089701F800BA5114 /* RenderPath.cpp */; };
A88AD3C20952486E001DD196 /* RenderPath.h in Headers */ = {isa = PBXBuildFile; fileRef = A8C0FB83089701F800BA5114 /* RenderPath.h */; };
93309DCF099E64910056E581 /* visible_units.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = visible_units.h; sourceTree = "<group>"; };
93309DD0099E64910056E581 /* VisiblePosition.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = VisiblePosition.cpp; sourceTree = "<group>"; };
93309DD1099E64910056E581 /* VisiblePosition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VisiblePosition.h; sourceTree = "<group>"; };
- 93309DD2099E64910056E581 /* VisibleRange.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = VisibleRange.cpp; sourceTree = "<group>"; };
- 93309DD3099E64910056E581 /* VisibleRange.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VisibleRange.h; sourceTree = "<group>"; };
93309DD4099E64910056E581 /* WrapContentsInDummySpanCommand.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WrapContentsInDummySpanCommand.cpp; sourceTree = "<group>"; };
93309DD5099E64910056E581 /* WrapContentsInDummySpanCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WrapContentsInDummySpanCommand.h; sourceTree = "<group>"; };
93309E9F099EB78C0056E581 /* SharedTimerMac.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SharedTimerMac.cpp; sourceTree = "<group>"; };
A8C0FB7D089701F800BA5114 /* KCanvasCreator.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = KCanvasCreator.h; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
A8C0FB7E089701F800BA5114 /* KCanvasFilters.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = KCanvasFilters.cpp; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
A8C0FB7F089701F800BA5114 /* KCanvasFilters.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = KCanvasFilters.h; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
- A8C0FB80089701F800BA5114 /* KCanvasImage.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = KCanvasImage.cpp; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
A8C0FB81089701F800BA5114 /* KCanvasImage.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = KCanvasImage.h; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
A8C0FB82089701F800BA5114 /* RenderPath.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderPath.cpp; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
A8C0FB83089701F800BA5114 /* RenderPath.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = RenderPath.h; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
93309DCF099E64910056E581 /* visible_units.h */,
93309DD0099E64910056E581 /* VisiblePosition.cpp */,
93309DD1099E64910056E581 /* VisiblePosition.h */,
- 93309DD2099E64910056E581 /* VisibleRange.cpp */,
- 93309DD3099E64910056E581 /* VisibleRange.h */,
93309DD4099E64910056E581 /* WrapContentsInDummySpanCommand.cpp */,
93309DD5099E64910056E581 /* WrapContentsInDummySpanCommand.h */,
);
A8C0FB7D089701F800BA5114 /* KCanvasCreator.h */,
A8C0FB7E089701F800BA5114 /* KCanvasFilters.cpp */,
A8C0FB7F089701F800BA5114 /* KCanvasFilters.h */,
- A8C0FB80089701F800BA5114 /* KCanvasImage.cpp */,
A8C0FB81089701F800BA5114 /* KCanvasImage.h */,
A8C0FB84089701F800BA5114 /* KCanvasMatrix.cpp */,
A8C0FB85089701F800BA5114 /* KCanvasMatrix.h */,
93309E1C099E64920056E581 /* TextIterator.h in Headers */,
93309E1E099E64920056E581 /* visible_units.h in Headers */,
93309E20099E64920056E581 /* VisiblePosition.h in Headers */,
- 93309E22099E64920056E581 /* VisibleRange.h in Headers */,
93309E24099E64920056E581 /* WrapContentsInDummySpanCommand.h in Headers */,
93309EA3099EB78C0056E581 /* SharedTimer.h in Headers */,
6550B69E099DF0270090D781 /* CDATASection.h in Headers */,
A88AD3B90952486E001DD196 /* KCanvasContainer.cpp in Sources */,
A88AD3BB0952486E001DD196 /* KCanvasCreator.cpp in Sources */,
A88AD3BD0952486E001DD196 /* KCanvasFilters.cpp in Sources */,
- A88AD3BF0952486E001DD196 /* KCanvasImage.cpp in Sources */,
A88AD3C10952486E001DD196 /* RenderPath.cpp in Sources */,
A88AD3C30952486E001DD196 /* KCanvasMatrix.cpp in Sources */,
A88AD3C60952486E001DD196 /* KCanvasPath.cpp in Sources */,
93309E1B099E64920056E581 /* TextIterator.cpp in Sources */,
93309E1D099E64920056E581 /* visible_units.cpp in Sources */,
93309E1F099E64920056E581 /* VisiblePosition.cpp in Sources */,
- 93309E21099E64920056E581 /* VisibleRange.cpp in Sources */,
93309E23099E64920056E581 /* WrapContentsInDummySpanCommand.cpp in Sources */,
93309EA2099EB78C0056E581 /* SharedTimerMac.cpp in Sources */,
93309EA4099EB78C0056E581 /* Timer.cpp in Sources */,
editing/UnlinkCommand.cpp
editing/visible_units.cpp
editing/VisiblePosition.cpp
- editing/VisibleRange.cpp
editing/WrapContentsInDummySpanCommand.cpp
</set>
+++ /dev/null
-/*
- * Copyright (C) 2004 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
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "VisibleRange.h"
-
+++ /dev/null
-/*
- * Copyright (C) 2004 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
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef KHTML_EDITING_VISIBLE_RANGE_H
-#define KHTML_EDITING_VISIBLE_RANGE_H
-
-#include "VisiblePosition.h"
-
-namespace WebCore {
-
-class VisibleRange
-{
-public:
- typedef WebCore::Node Node;
- typedef WebCore::Position Position;
- typedef WebCore::Range Range;
-
- VisibleRange() { }
- VisibleRange(Node *startContainer, int startOffset, Node *endContainer, int endOffset);
- VisibleRange(const VisiblePosition &);
- VisibleRange(const VisiblePosition &, const VisiblePosition &);
- VisibleRange(const Range *);
- VisibleRange(const Position &);
- VisibleRange(const Position &, const Position &);
-
- VisibleRange &operator=(const VisiblePosition &);
- VisibleRange &operator=(const Range *);
- VisibleRange &operator=(const Position &);
-
- VisiblePosition start() const { return m_start; }
- VisiblePosition end() const { return m_end; }
-
- RefPtr<Range> range() const;
-
- void clear() { m_start.clear(); m_end.clear(); }
-
- bool isNull() const { return m_start.isNull(); }
- bool isCollapsed() const { return m_start == m_end; }
-
- friend inline bool operator==(const VisibleRange &a, const VisibleRange &b);
-
-private:
- VisiblePosition m_start;
- VisiblePosition m_end;
-};
-
-inline bool operator==(const VisibleRange &a, const VisibleRange &b)
-{
- return a.start() == b.start() && a.end() == b.end();
-}
-
-inline bool operator!=(const VisibleRange &a, const VisibleRange &b)
-{
- return !(a == b);
-}
-
-} // namespace WebCore
-
-#endif
+++ /dev/null
-/*
- Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
- 2005 Eric Seidel <eric.seidel@kdemail.net>
-
- 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
- aint 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 "config.h"
-#if SVG_SUPPORT
-#include "KCanvasImage.h"
-
-#endif // SVG_SUPPORT
-