Reviewed by Tim Hatcher.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Jul 2006 05:20:17 +0000 (05:20 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Jul 2006 05:20:17 +0000 (05:20 +0000)
commitbea500ceaa135fe21e5c784c6e9fe96730ce453e
treed87f2532b0c98645eb069695ab88edc9b6845c00
parentc5835b63dd5abfb177ff71dff30c2d80cc0626f0
    Reviewed by Tim Hatcher.

        - put more into the WebCore namespace
        - removed unused code for plain text fields

        Put more classes, class templates, enums, functions, and constants into
        the WebCore namespace, including all the headers in the platform directory.

        Removed lots of unneeded "WebCore::" qualifiers and "using" directives.

        Added some "WebCore::" qualifiers in a few places.

        Removed "uses WebCore::" in headers that we said we'd remove "when
        everything is in the WebCore namespace".

        * bindings/js/JSDOMParser.cpp:
        * bindings/js/JSHTMLElementWrapperFactory.cpp:
        * bindings/js/JSXSLTProcessor.cpp:
        * bindings/js/kjs_binding.cpp:
        * bindings/js/kjs_css.cpp:
        * bindings/js/kjs_dom.cpp:
        * bindings/js/kjs_dom.h:
        * bindings/js/kjs_events.cpp:
        * bindings/js/kjs_proxy.h:
        * bindings/js/kjs_window.h:
        * bindings/objc/DOM.mm:
        * bridge/History.h:
        * bridge/JavaAppletWidget.h:
        * bridge/mac/FormDataMac.h:
        * bridge/mac/FormDataMac.mm:
        * bridge/mac/WebCoreAXObject.mm:
        * bridge/mac/WebCoreEncodings.mm:
        * bridge/mac/WebCoreFrameBridge.h:
        * bridge/mac/WebCoreIconDatabaseBridge.mm:
        * bridge/mac/WebCorePageState.h:
        * bridge/mac/WebCoreScriptDebugger.mm:
        * bridge/mac/WebCoreSettings.h:
        * css/CSSGrammar.y:
        * css/CSSPageRule.cpp:
        * css/CSSPageRule.h:
        * css/MediaList.cpp:
        * css/cssstyleselector.h:
        * dom/Clipboard.h:
        * dom/Document.cpp:
        * dom/Document.h:
        * dom/EventTargetNode.h:
        * dom/Node.cpp:
        * dom/Node.h:
        * dom/Position.h:
        * dom/Range.cpp:
        * dom/XMLTokenizer.cpp:
        * editing/AppendNodeCommand.h:
        * editing/ApplyStyleCommand.cpp:
        * editing/BreakBlockquoteCommand.cpp:
        * editing/BreakBlockquoteCommand.h:
        * editing/CompositeEditCommand.cpp:
        * editing/CompositeEditCommand.h:
        * editing/CreateLinkCommand.h:
        * editing/DeleteFromTextNodeCommand.h:
        * editing/DeleteSelectionCommand.h:
        * editing/FormatBlockCommand.h:
        * editing/HTMLInterchange.cpp:
        * editing/HTMLInterchange.h:
        * editing/IndentOutdentCommand.h:
        * editing/InsertIntoTextNodeCommand.h:
        * editing/InsertLineBreakCommand.h:
        * editing/InsertListCommand.h:
        * editing/InsertNodeBeforeCommand.h:
        * editing/InsertTextCommand.cpp:
        * editing/InsertTextCommand.h:
        * editing/JSEditor.cpp:
        * editing/JSEditor.h:
        * editing/JoinTextNodesCommand.h:
        * editing/MergeIdenticalElementsCommand.cpp:
        * editing/MergeIdenticalElementsCommand.h:
        * editing/ModifySelectionListLevel.h:
        * editing/MoveSelectionCommand.h:
        * editing/RebalanceWhitespaceCommand.h:
        * editing/RemoveNodeAttributeCommand.h:
        * editing/RemoveNodeCommand.h:
        * editing/RemoveNodePreservingChildrenCommand.h:
        * editing/ReplaceSelectionCommand.h:
        * editing/SetNodeAttributeCommand.h:
        * editing/SplitElementCommand.cpp:
        * editing/SplitElementCommand.h:
        * editing/SplitTextNodeCommand.cpp:
        * editing/SplitTextNodeCommand.h:
        * editing/SplitTextNodeContainingElementCommand.h:
        * editing/TypingCommand.cpp:
        * editing/TypingCommand.h:
        * editing/UnlinkCommand.h:
        * editing/VisiblePosition.cpp:
        * editing/WrapContentsInDummySpanCommand.cpp:
        * editing/WrapContentsInDummySpanCommand.h:
        * editing/markup.cpp:
        * editing/markup.h:
        * html/HTMLAnchorElement.cpp:
        * html/HTMLBodyElement.cpp:
        * html/HTMLButtonElement.h:
        * html/HTMLCollection.h:
        * html/HTMLDocument.h:
        * html/HTMLEmbedElement.cpp:
        * html/HTMLFormElement.cpp:
        * html/HTMLFormElement.h:
        * html/HTMLFrameElement.cpp:
        * html/HTMLFrameSetElement.cpp:
        * html/HTMLKeygenElement.cpp:
        * html/HTMLLabelElement.cpp:
        * html/HTMLObjectElement.cpp:
        * html/HTMLObjectElement.h:
        * html/HTMLTableElement.cpp:
        * html/HTMLTablePartElement.cpp:
        * icon/IconDatabase.h:
        * kcanvas/KCanvasPath.h:
        * kcanvas/KCanvasResources.cpp:
        * kcanvas/KCanvasResources.h:
        * kcanvas/KCanvasTreeDebug.cpp:
        * kcanvas/KCanvasTreeDebug.h:
        * kcanvas/RenderSVGContainer.cpp:
        * kcanvas/RenderSVGText.h:
        * kcanvas/device/KRenderingPaintServer.h:
        * kcanvas/device/KRenderingPaintServerGradient.h:
        * kcanvas/device/KRenderingPaintServerSolid.cpp:
        * ksvg2/misc/SVGImageLoader.cpp:
        * ksvg2/svg/SVGElement.cpp:
        * ksvg2/svg/SVGElement.h:
        * ksvg2/svg/SVGForeignObjectElement.cpp:
        * ksvg2/svg/SVGForeignObjectElement.h:
        * ksvg2/svg/SVGImageElement.cpp:
        * ksvg2/svg/SVGPoint.h:
        * ksvg2/svg/SVGStylable.h:
        * ksvg2/svg/SVGTRefElement.cpp:
        * ksvg2/svg/SVGTRefElement.h:
        * ksvg2/svg/SVGTSpanElement.cpp:
        * ksvg2/svg/SVGTSpanElement.h:
        * ksvg2/svg/SVGTextElement.h:
        * ksvg2/svg/svgpathparser.cpp:
        * ksvg2/svg/svgpathparser.h:
        * loader/Cache.h:
        * loader/DocLoader.h:
        * loader/LoaderFunctions.h:
        * loader/mac/LoaderFunctionsMac.mm:
        * page/Frame.h:
        * page/FrameView.h:
        * page/Page.h:
        * page/Settings.h:
        * platform/AffineTransform.cpp:
        * platform/AffineTransform.h:
        * platform/Arena.cpp:
        * platform/Arena.h:
        * platform/CookieJar.h:
        * platform/DeprecatedCString.cpp:
        * platform/DeprecatedCString.h:
        * platform/DeprecatedPtrList.h:
        * platform/DeprecatedPtrListImpl.cpp:
        * platform/DeprecatedPtrListImpl.h:
        * platform/DeprecatedPtrQueue.h:
        * platform/DeprecatedString.cpp:
        * platform/DeprecatedString.h:
        * platform/DeprecatedStringList.cpp:
        * platform/DeprecatedStringList.h:
        * platform/DeprecatedValueList.h:
        * platform/DeprecatedValueListImpl.cpp:
        * platform/DeprecatedValueListImpl.h:
        * platform/FileButton.h:
        * platform/FloatPoint.h:
        * platform/FloatRect.h:
        * platform/FloatSize.h:
        * platform/FontData.h:
        * platform/FontFallbackList.h:
        * platform/GraphicsContext.h:
        * platform/IntPoint.h:
        * platform/IntRect.h:
        * platform/IntSize.h:
        * platform/KURL.cpp:
        * platform/KURL.h:
        * platform/ListBox.h:
        * platform/Logging.cpp:
        * platform/Logging.h:
        * platform/Pen.h:
        * platform/PopUpButton.h:
        * platform/RegularExpression.cpp:
        * platform/RegularExpression.h:
        * platform/SSLKeyGenerator.h:
        * platform/ScrollBar.h:
        * platform/SegmentedString.h:
        * platform/Shared.h:
        * platform/Slider.h:
        * platform/StringImpl.h:
        * platform/TextBox.h:
        * platform/TextField.h:
        * platform/TextStream.cpp:
        * platform/TextStream.h:
        * platform/TransferJob.h:
        * platform/TransferJobClient.h:
        * platform/Widget.h:
        * platform/cg/AffineTransformCG.cpp:
        * platform/mac/ClipboardMac.h:
        * platform/mac/ClipboardMac.mm:
        * platform/mac/DeprecatedStringListMac.mm:
        * platform/mac/FontCacheMac.mm:
        * platform/mac/KURLMac.mm:
        * platform/mac/ListBoxMac.mm:
        * platform/mac/PopUpButtonMac.mm:
        * platform/mac/SSLKeyGeneratorMac.mm:
        * platform/mac/TextBoxMac.mm:
        * platform/mac/TextFieldMac.mm:
        * platform/mac/WebCoreTextArea.h:
        * platform/mac/WebCoreTextArea.mm:
        * platform/mac/WebCoreTextField.h:
        * platform/mac/WebCoreTextField.mm:
        * rendering/DeprecatedRenderSelect.h:
        * rendering/RenderArena.cpp:
        * rendering/RenderArena.h:
        * rendering/RenderBlock.cpp:
        * rendering/RenderBox.cpp:
        * rendering/RenderContainer.cpp:
        * rendering/RenderFlexibleBox.cpp:
        * rendering/RenderFlow.cpp:
        * rendering/RenderLayer.cpp:
        * rendering/RenderLineEdit.cpp:
        * rendering/RenderObject.h:
        * rendering/RenderStyle.cpp:
        * rendering/RenderStyle.h:
        * rendering/RenderText.cpp:
        * rendering/RenderTextFragment.cpp:
        * rendering/RenderTheme.h:
        * rendering/RenderTreeAsText.cpp:
        * rendering/RenderTreeAsText.h:
        * rendering/RenderView.h:
        * rendering/bidi.h:
        * xml/XSLStyleSheet.cpp:
        * xml/XSLTProcessor.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
219 files changed:
WebCore/ChangeLog
WebCore/bindings/js/JSDOMParser.cpp
WebCore/bindings/js/JSHTMLElementWrapperFactory.cpp
WebCore/bindings/js/JSXSLTProcessor.cpp
WebCore/bindings/js/kjs_binding.cpp
WebCore/bindings/js/kjs_css.cpp
WebCore/bindings/js/kjs_dom.cpp
WebCore/bindings/js/kjs_dom.h
WebCore/bindings/js/kjs_events.cpp
WebCore/bindings/js/kjs_proxy.h
WebCore/bindings/js/kjs_window.h
WebCore/bindings/objc/DOM.mm
WebCore/bridge/History.h
WebCore/bridge/JavaAppletWidget.h
WebCore/bridge/mac/FormDataMac.h
WebCore/bridge/mac/FormDataMac.mm
WebCore/bridge/mac/WebCoreAXObject.mm
WebCore/bridge/mac/WebCoreEncodings.mm
WebCore/bridge/mac/WebCoreFrameBridge.h
WebCore/bridge/mac/WebCoreIconDatabaseBridge.mm
WebCore/bridge/mac/WebCorePageState.h
WebCore/bridge/mac/WebCoreScriptDebugger.mm
WebCore/bridge/mac/WebCoreSettings.h
WebCore/css/CSSGrammar.y
WebCore/css/CSSPageRule.cpp
WebCore/css/CSSPageRule.h
WebCore/css/MediaList.cpp
WebCore/css/cssstyleselector.h
WebCore/dom/Clipboard.h
WebCore/dom/Document.cpp
WebCore/dom/Document.h
WebCore/dom/EventTargetNode.h
WebCore/dom/Node.cpp
WebCore/dom/Node.h
WebCore/dom/Position.h
WebCore/dom/Range.cpp
WebCore/dom/XMLTokenizer.cpp
WebCore/editing/AppendNodeCommand.h
WebCore/editing/ApplyStyleCommand.cpp
WebCore/editing/BreakBlockquoteCommand.cpp
WebCore/editing/BreakBlockquoteCommand.h
WebCore/editing/CompositeEditCommand.cpp
WebCore/editing/CompositeEditCommand.h
WebCore/editing/CreateLinkCommand.h
WebCore/editing/DeleteFromTextNodeCommand.h
WebCore/editing/DeleteSelectionCommand.h
WebCore/editing/FormatBlockCommand.h
WebCore/editing/HTMLInterchange.cpp
WebCore/editing/HTMLInterchange.h
WebCore/editing/IndentOutdentCommand.h
WebCore/editing/InsertIntoTextNodeCommand.h
WebCore/editing/InsertLineBreakCommand.h
WebCore/editing/InsertListCommand.h
WebCore/editing/InsertNodeBeforeCommand.h
WebCore/editing/InsertTextCommand.cpp
WebCore/editing/InsertTextCommand.h
WebCore/editing/JSEditor.cpp
WebCore/editing/JSEditor.h
WebCore/editing/JoinTextNodesCommand.h
WebCore/editing/MergeIdenticalElementsCommand.cpp
WebCore/editing/MergeIdenticalElementsCommand.h
WebCore/editing/ModifySelectionListLevel.h
WebCore/editing/MoveSelectionCommand.h
WebCore/editing/RebalanceWhitespaceCommand.h
WebCore/editing/RemoveNodeAttributeCommand.h
WebCore/editing/RemoveNodeCommand.h
WebCore/editing/RemoveNodePreservingChildrenCommand.h
WebCore/editing/ReplaceSelectionCommand.h
WebCore/editing/SetNodeAttributeCommand.h
WebCore/editing/SplitElementCommand.cpp
WebCore/editing/SplitElementCommand.h
WebCore/editing/SplitTextNodeCommand.cpp
WebCore/editing/SplitTextNodeCommand.h
WebCore/editing/SplitTextNodeContainingElementCommand.h
WebCore/editing/TypingCommand.cpp
WebCore/editing/TypingCommand.h
WebCore/editing/UnlinkCommand.h
WebCore/editing/VisiblePosition.cpp
WebCore/editing/WrapContentsInDummySpanCommand.cpp
WebCore/editing/WrapContentsInDummySpanCommand.h
WebCore/editing/markup.cpp
WebCore/editing/markup.h
WebCore/html/HTMLAnchorElement.cpp
WebCore/html/HTMLBodyElement.cpp
WebCore/html/HTMLButtonElement.h
WebCore/html/HTMLCollection.h
WebCore/html/HTMLDocument.h
WebCore/html/HTMLEmbedElement.cpp
WebCore/html/HTMLFormElement.cpp
WebCore/html/HTMLFormElement.h
WebCore/html/HTMLFrameElement.cpp
WebCore/html/HTMLFrameSetElement.cpp
WebCore/html/HTMLKeygenElement.cpp
WebCore/html/HTMLLabelElement.cpp
WebCore/html/HTMLObjectElement.cpp
WebCore/html/HTMLObjectElement.h
WebCore/html/HTMLTableElement.cpp
WebCore/html/HTMLTablePartElement.cpp
WebCore/icon/IconDatabase.h
WebCore/kcanvas/KCanvasPath.h
WebCore/kcanvas/KCanvasResources.cpp
WebCore/kcanvas/KCanvasResources.h
WebCore/kcanvas/KCanvasTreeDebug.cpp
WebCore/kcanvas/KCanvasTreeDebug.h
WebCore/kcanvas/RenderSVGContainer.cpp
WebCore/kcanvas/RenderSVGText.h
WebCore/kcanvas/device/KRenderingPaintServer.h
WebCore/kcanvas/device/KRenderingPaintServerGradient.h
WebCore/kcanvas/device/KRenderingPaintServerSolid.cpp
WebCore/ksvg2/misc/SVGImageLoader.cpp
WebCore/ksvg2/svg/SVGElement.cpp
WebCore/ksvg2/svg/SVGElement.h
WebCore/ksvg2/svg/SVGForeignObjectElement.cpp
WebCore/ksvg2/svg/SVGForeignObjectElement.h
WebCore/ksvg2/svg/SVGImageElement.cpp
WebCore/ksvg2/svg/SVGPoint.h
WebCore/ksvg2/svg/SVGStylable.h
WebCore/ksvg2/svg/SVGTRefElement.cpp
WebCore/ksvg2/svg/SVGTRefElement.h
WebCore/ksvg2/svg/SVGTSpanElement.cpp
WebCore/ksvg2/svg/SVGTSpanElement.h
WebCore/ksvg2/svg/SVGTextElement.h
WebCore/ksvg2/svg/svgpathparser.cpp
WebCore/ksvg2/svg/svgpathparser.h
WebCore/loader/Cache.h
WebCore/loader/DocLoader.h
WebCore/loader/LoaderFunctions.h
WebCore/loader/mac/LoaderFunctionsMac.mm
WebCore/page/Frame.h
WebCore/page/FrameView.h
WebCore/page/Page.h
WebCore/page/Settings.h
WebCore/platform/AffineTransform.cpp
WebCore/platform/AffineTransform.h
WebCore/platform/Arena.cpp
WebCore/platform/Arena.h
WebCore/platform/CookieJar.h
WebCore/platform/DeprecatedCString.cpp
WebCore/platform/DeprecatedCString.h
WebCore/platform/DeprecatedPtrList.h
WebCore/platform/DeprecatedPtrListImpl.cpp
WebCore/platform/DeprecatedPtrListImpl.h
WebCore/platform/DeprecatedPtrQueue.h
WebCore/platform/DeprecatedString.cpp
WebCore/platform/DeprecatedString.h
WebCore/platform/DeprecatedStringList.cpp
WebCore/platform/DeprecatedStringList.h
WebCore/platform/DeprecatedValueList.h
WebCore/platform/DeprecatedValueListImpl.cpp
WebCore/platform/DeprecatedValueListImpl.h
WebCore/platform/FileButton.h
WebCore/platform/FloatPoint.h
WebCore/platform/FloatRect.h
WebCore/platform/FloatSize.h
WebCore/platform/FontData.h
WebCore/platform/FontFallbackList.h
WebCore/platform/GraphicsContext.h
WebCore/platform/IntPoint.h
WebCore/platform/IntRect.h
WebCore/platform/IntSize.h
WebCore/platform/KURL.cpp
WebCore/platform/KURL.h
WebCore/platform/ListBox.h
WebCore/platform/Logging.cpp
WebCore/platform/Logging.h
WebCore/platform/Pen.h
WebCore/platform/PopUpButton.h
WebCore/platform/RegularExpression.cpp
WebCore/platform/RegularExpression.h
WebCore/platform/SSLKeyGenerator.h
WebCore/platform/ScrollBar.h
WebCore/platform/SegmentedString.h
WebCore/platform/Shared.h
WebCore/platform/Slider.h
WebCore/platform/StringImpl.h
WebCore/platform/TextBox.h
WebCore/platform/TextField.h
WebCore/platform/TextStream.cpp
WebCore/platform/TextStream.h
WebCore/platform/TransferJob.h
WebCore/platform/TransferJobClient.h
WebCore/platform/Widget.h
WebCore/platform/cg/AffineTransformCG.cpp
WebCore/platform/mac/ClipboardMac.h
WebCore/platform/mac/ClipboardMac.mm
WebCore/platform/mac/DeprecatedStringListMac.mm
WebCore/platform/mac/FontCacheMac.mm
WebCore/platform/mac/KURLMac.mm
WebCore/platform/mac/ListBoxMac.mm
WebCore/platform/mac/PopUpButtonMac.mm
WebCore/platform/mac/SSLKeyGeneratorMac.mm
WebCore/platform/mac/TextBoxMac.mm
WebCore/platform/mac/TextFieldMac.mm
WebCore/platform/mac/WebCoreTextArea.h
WebCore/platform/mac/WebCoreTextArea.mm
WebCore/platform/mac/WebCoreTextField.h
WebCore/platform/mac/WebCoreTextField.mm
WebCore/rendering/DeprecatedRenderSelect.h
WebCore/rendering/RenderArena.cpp
WebCore/rendering/RenderArena.h
WebCore/rendering/RenderBlock.cpp
WebCore/rendering/RenderBox.cpp
WebCore/rendering/RenderContainer.cpp
WebCore/rendering/RenderFlexibleBox.cpp
WebCore/rendering/RenderFlow.cpp
WebCore/rendering/RenderLayer.cpp
WebCore/rendering/RenderLineEdit.cpp
WebCore/rendering/RenderObject.h
WebCore/rendering/RenderStyle.cpp
WebCore/rendering/RenderStyle.h
WebCore/rendering/RenderText.cpp
WebCore/rendering/RenderTextFragment.cpp
WebCore/rendering/RenderTheme.h
WebCore/rendering/RenderTreeAsText.cpp
WebCore/rendering/RenderTreeAsText.h
WebCore/rendering/RenderView.h
WebCore/rendering/bidi.h
WebCore/xml/XSLStyleSheet.cpp
WebCore/xml/XSLTProcessor.cpp