JavaScriptCore:
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 May 2006 09:27:55 +0000 (09:27 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 May 2006 09:27:55 +0000 (09:27 +0000)
        Rubber stamped by Anders.

        - renamed kxmlcore to wtf

        kxmlcore --> wtf
        KXMLCore --> WTF
        WKC --> WTF

        * JavaScriptCore.xcodeproj/project.pbxproj:
        * bindings/c/c_instance.cpp:
        * bindings/objc/WebScriptObject.mm:
        * kjs/JSImmediate.h:
        * kjs/Parser.cpp:
        * kjs/Parser.h:
        * kjs/array_object.cpp:
        * kjs/collector.cpp:
        (KJS::Collector::registerThread):
        * kjs/collector.h:
        * kjs/config.h:
        * kjs/function.cpp:
        (KJS::isStrWhiteSpace):
        * kjs/function.h:
        * kjs/identifier.cpp:
        * kjs/internal.cpp:
        * kjs/internal.h:
        * kjs/lexer.cpp:
        (Lexer::shift):
        (Lexer::isWhiteSpace):
        (Lexer::isIdentStart):
        (Lexer::isIdentPart):
        * kjs/lookup.cpp:
        * kjs/nodes.cpp:
        * kjs/nodes.h:
        * kjs/number_object.cpp:
        * kjs/object.h:
        * kjs/property_map.cpp:
        * kjs/property_map.h:
        * kjs/string_object.cpp:
        (StringProtoFunc::callAsFunction):
        * kjs/testkjs.cpp:
        (testIsInteger):
        * kjs/ustring.cpp:
        * kjs/ustring.h:
        * kxmlcore: Removed.
        * kxmlcore/AlwaysInline.h: Removed.
        * kxmlcore/Assertions.cpp: Removed.
        * kxmlcore/Assertions.h: Removed.
        * kxmlcore/FastMalloc.cpp: Removed.
        * kxmlcore/FastMalloc.h: Removed.
        * kxmlcore/FastMallocInternal.h: Removed.
        * kxmlcore/Forward.h: Removed.
        * kxmlcore/HashCountedSet.h: Removed.
        * kxmlcore/HashFunctions.h: Removed.
        * kxmlcore/HashMap.h: Removed.
        * kxmlcore/HashSet.h: Removed.
        * kxmlcore/HashTable.cpp: Removed.
        * kxmlcore/HashTable.h: Removed.
        * kxmlcore/HashTraits.h: Removed.
        * kxmlcore/ListRefPtr.h: Removed.
        * kxmlcore/Noncopyable.h: Removed.
        * kxmlcore/OwnArrayPtr.h: Removed.
        * kxmlcore/OwnPtr.h: Removed.
        * kxmlcore/PassRefPtr.h: Removed.
        * kxmlcore/Platform.h: Removed.
        * kxmlcore/RefPtr.h: Removed.
        * kxmlcore/TCPageMap.h: Removed.
        * kxmlcore/TCSpinLock.h: Removed.
        * kxmlcore/TCSystemAlloc.cpp: Removed.
        * kxmlcore/TCSystemAlloc.h: Removed.
        * kxmlcore/UnusedParam.h: Removed.
        * kxmlcore/Vector.h: Removed.
        * kxmlcore/VectorTraits.h: Removed.
        * kxmlcore/unicode: Removed.
        * kxmlcore/unicode/Unicode.h: Removed.
        * kxmlcore/unicode/UnicodeCategory.h: Removed.
        * kxmlcore/unicode/icu: Removed.
        * kxmlcore/unicode/icu/UnicodeIcu.h: Removed.
        * kxmlcore/unicode/posix: Removed.
        * kxmlcore/unicode/qt3: Removed.
        * kxmlcore/unicode/qt4: Removed.
        * kxmlcore/unicode/qt4/UnicodeQt4.h: Removed.
        * pcre/pcre_get.c:
        * wtf: Added.
        * wtf/Assertions.cpp:
        * wtf/Assertions.h:
        * wtf/FastMalloc.cpp:
        (WTF::TCMalloc_ThreadCache::Scavenge):
        (WTF::do_malloc):
        (WTF::do_free):
        (WTF::TCMallocGuard::TCMallocGuard):
        (WTF::malloc):
        (WTF::free):
        (WTF::calloc):
        (WTF::cfree):
        (WTF::realloc):
        * wtf/FastMalloc.h:
        * wtf/FastMallocInternal.h:
        * wtf/Forward.h:
        * wtf/HashCountedSet.h:
        * wtf/HashFunctions.h:
        * wtf/HashMap.h:
        * wtf/HashSet.h:
        * wtf/HashTable.cpp:
        * wtf/HashTable.h:
        * wtf/HashTraits.h:
        * wtf/ListRefPtr.h:
        * wtf/Noncopyable.h:
        * wtf/OwnArrayPtr.h:
        * wtf/OwnPtr.h:
        * wtf/PassRefPtr.h:
        * wtf/RefPtr.h:
        * wtf/TCSystemAlloc.cpp:
        (TCMalloc_SystemAlloc):
        * wtf/Vector.h:
        * wtf/VectorTraits.h:
        * wtf/unicode/UnicodeCategory.h:
        * wtf/unicode/icu/UnicodeIcu.h:

JavaScriptGlue:

        Rubber stamped by Anders.

        - renamed kxmlcore to wtf

        kxmlcore --> wtf
        KXMLCore --> WTF
        WKC --> WTF

        * config.h:
        * kxmlcore: Removed.
        * kxmlcore/AlwaysInline.h: Removed.
        * kxmlcore/Assertions.h: Removed.
        * kxmlcore/FastMalloc.h: Removed.
        * kxmlcore/Forward.h: Removed.
        * kxmlcore/HashCountedSet.h: Removed.
        * kxmlcore/HashSet.h: Removed.
        * kxmlcore/Noncopyable.h: Removed.
        * kxmlcore/OwnArrayPtr.h: Removed.
        * kxmlcore/OwnPtr.h: Removed.
        * kxmlcore/PassRefPtr.h: Removed.
        * kxmlcore/Platform.h: Removed.
        * kxmlcore/RefPtr.h: Removed.
        * kxmlcore/Vector.h: Removed.
        * wtf: Added.

WebCore:

        Rubber stamped by Anders.

        - renamed kxmlcore to wtf

        kxmlcore --> wtf
        KXMLCore --> WTF
        WKC --> WTF

        * ForwardingHeaders/kxmlcore: Removed.
        * ForwardingHeaders/kxmlcore/AlwaysInline.h: Removed.
        * ForwardingHeaders/kxmlcore/Assertions.h: Removed.
        * ForwardingHeaders/kxmlcore/FastMalloc.h: Removed.
        * ForwardingHeaders/kxmlcore/Forward.h: Removed.
        * ForwardingHeaders/kxmlcore/HashCountedSet.h: Removed.
        * ForwardingHeaders/kxmlcore/HashMap.h: Removed.
        * ForwardingHeaders/kxmlcore/HashSet.h: Removed.
        * ForwardingHeaders/kxmlcore/HashTraits.h: Removed.
        * ForwardingHeaders/kxmlcore/Noncopyable.h: Removed.
        * ForwardingHeaders/kxmlcore/OwnArrayPtr.h: Removed.
        * ForwardingHeaders/kxmlcore/OwnPtr.h: Removed.
        * ForwardingHeaders/kxmlcore/PassRefPtr.h: Removed.
        * ForwardingHeaders/kxmlcore/Platform.h: Removed.
        * ForwardingHeaders/kxmlcore/RefPtr.h: Removed.
        * ForwardingHeaders/kxmlcore/Vector.h: Removed.
        * ForwardingHeaders/wtf: Added.
        * bindings/js/JSHTMLElementWrapperFactory.h:
        * bindings/js/kjs_binding.cpp:
        * bindings/js/kjs_window.h:
        * bindings/objc/DOMImplementationFront.h:
        * bridge/JavaAppletWidget.h:
        * bridge/mac/WebCoreFrameNamespaces.mm:
        * bridge/mac/WebCorePageBridge.mm:
        (initializeLogChannel):
        * bridge/mac/WebCoreStringTruncator.mm:
        * bridge/mac/WebCoreViewFactory.m:
        * config.h:
        * css/css_base.h:
        * css/css_valueimpl.h:
        * css/csshelper.cpp:
        * css/cssparser.h:
        * dom/DOMImplementation.h:
        * dom/Document.h:
        * dom/NamedNodeMap.h:
        * dom/Node.h:
        * dom/NodeList.h:
        * dom/QualifiedName.cpp:
        * dom/Range.h:
        * dom/StyledElement.cpp:
        * dom/dom2_traversalimpl.h:
        * dom/xml_tokenizer.h:
        * editing/RebalanceWhitespaceCommand.cpp:
        * editing/RemoveCSSPropertyCommand.cpp:
        * editing/RemoveNodeAttributeCommand.cpp:
        * editing/RemoveNodeCommand.cpp:
        * editing/RemoveNodePreservingChildrenCommand.cpp:
        * editing/ReplaceSelectionCommand.h:
        * editing/Selection.cpp:
        * editing/SetNodeAttributeCommand.cpp:
        * editing/SplitElementCommand.cpp:
        * editing/SplitTextNodeCommand.cpp:
        * editing/SplitTextNodeContainingElementCommand.cpp:
        * editing/TextIterator.h:
        * editing/htmlediting.h:
        * editing/markup.h:
        * html/CanvasGradient.h:
        * html/CanvasRenderingContext2D.h:
        * html/CanvasStyle.cpp:
        * html/HTMLCollection.h:
        * html/HTMLElementFactory.h:
        * kcanvas/KCanvasFilters.cpp:
        * kcanvas/KCanvasPath.h:
        * kcanvas/RenderPath.cpp:
        * kcanvas/RenderSVGImage.cpp:
        * kcanvas/RenderSVGText.cpp:
        * kcanvas/device/quartz/KCanvasItemQuartz.mm:
        * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
        * kcanvas/device/quartz/QuartzSupport.mm:
        * ksvg2/misc/KSVGTimeScheduler.h:
        * ksvg2/misc/SVGDocumentExtensions.h:
        * ksvg2/scripts/make_names.pl:
        * ksvg2/svg/SVGDOMImplementation.cpp:
        * ksvg2/svg/SVGExternalResourcesRequired.h:
        * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
        * ksvg2/svg/SVGForeignObjectElement.cpp:
        * ksvg2/svg/SVGImageElement.cpp:
        * ksvg2/svg/SVGMaskElement.cpp:
        * ksvg2/svg/SVGStyledElement.cpp:
        * ksvg2/svg/SVGTests.h:
        * ksvg2/svg/SVGTransform.h:
        * ksvg2/svg/SVGTransformable.cpp:
        * kwq/AccessibilityObjectCache.h:
        * kwq/KWQCString.cpp:
        * kwq/KWQFormData.mm:
        * kwq/KWQListBox.mm:
        * kwq/KWQResourceLoader.mm:
        * kwq/KWQTextEdit.mm:
        * loader/Cache.h:
        * loader/CachedObject.h:
        * loader/CachedObjectClientWalker.h:
        * loader/Decoder.h:
        * loader/DocLoader.h:
        * loader/loader.cpp:
        * loader/loader.h:
        * page/DOMWindow.h:
        * page/Frame.h:
        * page/FramePrivate.h:
        * page/FrameTree.cpp:
        * page/Page.cpp:
        * page/Page.h:
        * page/Plugin.h:
        * platform/Arena.cpp:
        * platform/ArrayImpl.h:
        * platform/AtomicString.cpp:
        * platform/CharsetNames.cpp:
        * platform/Color.cpp:
        * platform/DeprecatedPtrListImpl.cpp:
        * platform/DeprecatedValueListImpl.h:
        * platform/FontFallbackList.h:
        * platform/GraphicsContext.h:
        * platform/GraphicsTypes.cpp:
        * platform/Image.h:
        * platform/KURL.cpp:
        * platform/Logging.cpp:
        * platform/Logging.h:
        * platform/PlatformString.h:
        * platform/PlugInInfoStore.h:
        * platform/StreamingTextDecoder.cpp:
        * platform/StreamingTextDecoder.h:
        * platform/String.cpp:
        * platform/StringHash.h:
        * platform/StringImpl.cpp:
        * platform/StringImpl.h:
        * platform/TextEncoding.cpp:
        * platform/Timer.cpp:
        * platform/Timer.h:
        * platform/TransferJob.h:
        * platform/TransferJobInternal.h:
        * platform/mac/BlockExceptions.mm:
        * platform/mac/ColorMac.mm:
        * platform/mac/FontData.mm:
        * platform/mac/KURLMac.mm:
        * platform/mac/QStringMac.mm:
        * platform/mac/SharedTimerMac.cpp:
        * platform/mac/TextEncodingMac.cpp:
        * platform/mac/WebCoreImageRendererFactory.m:
        * platform/mac/WebCoreKeyGenerator.m:
        * platform/mac/WebCoreTextArea.mm:
        * platform/mac/WebCoreTextField.mm:
        * platform/mac/WebTextRendererFactory.h:
        * platform/mac/WebTextRendererFactory.mm:
        * platform/win/TemporaryLinkStubs.cpp:
        (JavaAppletWidget::JavaAppletWidget):
        * rendering/InlineTextBox.cpp:
        * rendering/RenderText.cpp:
        * rendering/RenderTreeAsText.cpp:
        * rendering/bidi.cpp:
        * xml/XSLTProcessor.h:
        * xpath/impl/XPathExpressionNode.h:
        * xpath/impl/XPathParser.h:
        * xpath/impl/XPathPath.h:
        * xpath/impl/XPathUtil.h:

WebKit:

        Rubber stamped by Anders.

        - renamed kxmlcore to wtf

        kxmlcore --> wtf
        KXMLCore --> WTF
        WKC --> WTF

        * Misc/WebKitLogging.h:
        * Misc/WebKitLogging.m:
        (initializeLogChannel):

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

229 files changed:
JavaScriptCore/ChangeLog
JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
JavaScriptCore/bindings/c/c_instance.cpp
JavaScriptCore/bindings/objc/WebScriptObject.mm
JavaScriptCore/kjs/JSImmediate.h
JavaScriptCore/kjs/Parser.cpp
JavaScriptCore/kjs/Parser.h
JavaScriptCore/kjs/array_object.cpp
JavaScriptCore/kjs/collector.cpp
JavaScriptCore/kjs/collector.h
JavaScriptCore/kjs/config.h
JavaScriptCore/kjs/function.cpp
JavaScriptCore/kjs/function.h
JavaScriptCore/kjs/identifier.cpp
JavaScriptCore/kjs/internal.cpp
JavaScriptCore/kjs/internal.h
JavaScriptCore/kjs/lexer.cpp
JavaScriptCore/kjs/lookup.cpp
JavaScriptCore/kjs/nodes.cpp
JavaScriptCore/kjs/nodes.h
JavaScriptCore/kjs/number_object.cpp
JavaScriptCore/kjs/object.h
JavaScriptCore/kjs/property_map.cpp
JavaScriptCore/kjs/property_map.h
JavaScriptCore/kjs/string_object.cpp
JavaScriptCore/kjs/testkjs.cpp
JavaScriptCore/kjs/ustring.cpp
JavaScriptCore/kjs/ustring.h
JavaScriptCore/pcre/pcre_get.c
JavaScriptCore/wtf/AlwaysInline.h [moved from JavaScriptCore/kxmlcore/AlwaysInline.h with 100% similarity]
JavaScriptCore/wtf/Assertions.cpp [moved from JavaScriptCore/kxmlcore/Assertions.cpp with 90% similarity]
JavaScriptCore/wtf/Assertions.h [moved from JavaScriptCore/kxmlcore/Assertions.h with 82% similarity]
JavaScriptCore/wtf/FastMalloc.cpp [moved from JavaScriptCore/kxmlcore/FastMalloc.cpp with 98% similarity]
JavaScriptCore/wtf/FastMalloc.h [moved from JavaScriptCore/kxmlcore/FastMalloc.h with 92% similarity]
JavaScriptCore/wtf/FastMallocInternal.h [moved from JavaScriptCore/kxmlcore/FastMallocInternal.h with 98% similarity]
JavaScriptCore/wtf/Forward.h [moved from JavaScriptCore/kxmlcore/Forward.h with 88% similarity]
JavaScriptCore/wtf/HashCountedSet.h [moved from JavaScriptCore/kxmlcore/HashCountedSet.h with 99% similarity]
JavaScriptCore/wtf/HashFunctions.h [moved from JavaScriptCore/kxmlcore/HashFunctions.h with 96% similarity]
JavaScriptCore/wtf/HashMap.h [moved from JavaScriptCore/kxmlcore/HashMap.h with 99% similarity]
JavaScriptCore/wtf/HashSet.h [moved from JavaScriptCore/kxmlcore/HashSet.h with 99% similarity]
JavaScriptCore/wtf/HashTable.cpp [moved from JavaScriptCore/kxmlcore/HashTable.cpp with 97% similarity]
JavaScriptCore/wtf/HashTable.h [moved from JavaScriptCore/kxmlcore/HashTable.h with 99% similarity]
JavaScriptCore/wtf/HashTraits.h [moved from JavaScriptCore/kxmlcore/HashTraits.h with 98% similarity]
JavaScriptCore/wtf/ListRefPtr.h [moved from JavaScriptCore/kxmlcore/ListRefPtr.h with 95% similarity]
JavaScriptCore/wtf/Noncopyable.h [moved from JavaScriptCore/kxmlcore/Noncopyable.h with 91% similarity]
JavaScriptCore/wtf/OwnArrayPtr.h [moved from JavaScriptCore/kxmlcore/OwnArrayPtr.h with 94% similarity]
JavaScriptCore/wtf/OwnPtr.h [moved from JavaScriptCore/kxmlcore/OwnPtr.h with 93% similarity]
JavaScriptCore/wtf/PassRefPtr.h [moved from JavaScriptCore/kxmlcore/PassRefPtr.h with 97% similarity]
JavaScriptCore/wtf/Platform.h [moved from JavaScriptCore/kxmlcore/Platform.h with 100% similarity]
JavaScriptCore/wtf/RefPtr.h [moved from JavaScriptCore/kxmlcore/RefPtr.h with 97% similarity]
JavaScriptCore/wtf/TCPageMap.h [moved from JavaScriptCore/kxmlcore/TCPageMap.h with 100% similarity]
JavaScriptCore/wtf/TCSpinLock.h [moved from JavaScriptCore/kxmlcore/TCSpinLock.h with 100% similarity]
JavaScriptCore/wtf/TCSystemAlloc.cpp [moved from JavaScriptCore/kxmlcore/TCSystemAlloc.cpp with 98% similarity]
JavaScriptCore/wtf/TCSystemAlloc.h [moved from JavaScriptCore/kxmlcore/TCSystemAlloc.h with 100% similarity]
JavaScriptCore/wtf/UnusedParam.h [moved from JavaScriptCore/kxmlcore/UnusedParam.h with 100% similarity]
JavaScriptCore/wtf/Vector.h [moved from JavaScriptCore/kxmlcore/Vector.h with 99% similarity]
JavaScriptCore/wtf/VectorTraits.h [moved from JavaScriptCore/kxmlcore/VectorTraits.h with 97% similarity]
JavaScriptCore/wtf/unicode/Unicode.h [moved from JavaScriptCore/kxmlcore/unicode/Unicode.h with 100% similarity]
JavaScriptCore/wtf/unicode/UnicodeCategory.h [moved from JavaScriptCore/kxmlcore/unicode/UnicodeCategory.h with 99% similarity]
JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h [moved from JavaScriptCore/kxmlcore/unicode/icu/UnicodeIcu.h with 99% similarity]
JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h [moved from JavaScriptCore/kxmlcore/unicode/qt4/UnicodeQt4.h with 100% similarity]
JavaScriptGlue/ChangeLog
JavaScriptGlue/config.h
JavaScriptGlue/wtf/AlwaysInline.h [moved from JavaScriptGlue/kxmlcore/AlwaysInline.h with 100% similarity]
JavaScriptGlue/wtf/Assertions.h [moved from JavaScriptGlue/kxmlcore/Assertions.h with 100% similarity]
JavaScriptGlue/wtf/FastMalloc.h [moved from JavaScriptGlue/kxmlcore/FastMalloc.h with 100% similarity]
JavaScriptGlue/wtf/Forward.h [moved from JavaScriptGlue/kxmlcore/Forward.h with 100% similarity]
JavaScriptGlue/wtf/HashCountedSet.h [moved from JavaScriptGlue/kxmlcore/HashCountedSet.h with 100% similarity]
JavaScriptGlue/wtf/HashSet.h [moved from JavaScriptGlue/kxmlcore/HashSet.h with 100% similarity]
JavaScriptGlue/wtf/Noncopyable.h [moved from JavaScriptGlue/kxmlcore/Noncopyable.h with 100% similarity]
JavaScriptGlue/wtf/OwnArrayPtr.h [moved from JavaScriptGlue/kxmlcore/OwnArrayPtr.h with 100% similarity]
JavaScriptGlue/wtf/OwnPtr.h [moved from JavaScriptGlue/kxmlcore/OwnPtr.h with 100% similarity]
JavaScriptGlue/wtf/PassRefPtr.h [moved from JavaScriptGlue/kxmlcore/PassRefPtr.h with 100% similarity]
JavaScriptGlue/wtf/Platform.h [moved from JavaScriptGlue/kxmlcore/Platform.h with 100% similarity]
JavaScriptGlue/wtf/RefPtr.h [moved from JavaScriptGlue/kxmlcore/RefPtr.h with 100% similarity]
JavaScriptGlue/wtf/Vector.h [moved from JavaScriptGlue/kxmlcore/Vector.h with 100% similarity]
WebCore/ChangeLog
WebCore/ForwardingHeaders/wtf/AlwaysInline.h [moved from WebCore/ForwardingHeaders/kxmlcore/AlwaysInline.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/Assertions.h [moved from WebCore/ForwardingHeaders/kxmlcore/Assertions.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/FastMalloc.h [moved from WebCore/ForwardingHeaders/kxmlcore/FastMalloc.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/Forward.h [moved from WebCore/ForwardingHeaders/kxmlcore/Forward.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/HashCountedSet.h [moved from WebCore/ForwardingHeaders/kxmlcore/HashCountedSet.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/HashMap.h [moved from WebCore/ForwardingHeaders/kxmlcore/HashMap.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/HashSet.h [moved from WebCore/ForwardingHeaders/kxmlcore/HashSet.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/HashTraits.h [moved from WebCore/ForwardingHeaders/kxmlcore/HashTraits.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/Noncopyable.h [moved from WebCore/ForwardingHeaders/kxmlcore/Noncopyable.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/OwnArrayPtr.h [moved from WebCore/ForwardingHeaders/kxmlcore/OwnArrayPtr.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/OwnPtr.h [moved from WebCore/ForwardingHeaders/kxmlcore/OwnPtr.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/PassRefPtr.h [moved from WebCore/ForwardingHeaders/kxmlcore/PassRefPtr.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/Platform.h [moved from WebCore/ForwardingHeaders/kxmlcore/Platform.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/RefPtr.h [moved from WebCore/ForwardingHeaders/kxmlcore/RefPtr.h with 100% similarity]
WebCore/ForwardingHeaders/wtf/Vector.h [moved from WebCore/ForwardingHeaders/kxmlcore/Vector.h with 100% similarity]
WebCore/bindings/js/JSHTMLElementWrapperFactory.h
WebCore/bindings/js/kjs_binding.cpp
WebCore/bindings/js/kjs_window.h
WebCore/bindings/objc/DOMImplementationFront.h
WebCore/bridge/JavaAppletWidget.h
WebCore/bridge/mac/WebCoreFrameNamespaces.mm
WebCore/bridge/mac/WebCorePageBridge.mm
WebCore/bridge/mac/WebCoreStringTruncator.mm
WebCore/bridge/mac/WebCoreViewFactory.m
WebCore/config.h
WebCore/css/css_base.h
WebCore/css/css_valueimpl.h
WebCore/css/csshelper.cpp
WebCore/css/cssparser.h
WebCore/dom/DOMImplementation.h
WebCore/dom/Document.h
WebCore/dom/NamedNodeMap.h
WebCore/dom/Node.h
WebCore/dom/NodeList.h
WebCore/dom/QualifiedName.cpp
WebCore/dom/Range.h
WebCore/dom/StyledElement.cpp
WebCore/dom/dom2_traversalimpl.h
WebCore/dom/xml_tokenizer.h
WebCore/editing/RebalanceWhitespaceCommand.cpp
WebCore/editing/RemoveCSSPropertyCommand.cpp
WebCore/editing/RemoveNodeAttributeCommand.cpp
WebCore/editing/RemoveNodeCommand.cpp
WebCore/editing/RemoveNodePreservingChildrenCommand.cpp
WebCore/editing/ReplaceSelectionCommand.h
WebCore/editing/Selection.cpp
WebCore/editing/SetNodeAttributeCommand.cpp
WebCore/editing/SplitElementCommand.cpp
WebCore/editing/SplitTextNodeCommand.cpp
WebCore/editing/SplitTextNodeContainingElementCommand.cpp
WebCore/editing/TextIterator.h
WebCore/editing/htmlediting.h
WebCore/editing/markup.h
WebCore/html/CanvasGradient.h
WebCore/html/CanvasRenderingContext2D.h
WebCore/html/CanvasStyle.cpp
WebCore/html/HTMLCollection.h
WebCore/html/HTMLElementFactory.h
WebCore/kcanvas/KCanvasFilters.cpp
WebCore/kcanvas/KCanvasPath.h
WebCore/kcanvas/RenderPath.cpp
WebCore/kcanvas/RenderSVGImage.cpp
WebCore/kcanvas/RenderSVGText.cpp
WebCore/kcanvas/device/quartz/KCanvasItemQuartz.mm
WebCore/kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm
WebCore/kcanvas/device/quartz/QuartzSupport.mm
WebCore/ksvg2/misc/KSVGTimeScheduler.h
WebCore/ksvg2/misc/SVGDocumentExtensions.h
WebCore/ksvg2/scripts/make_names.pl
WebCore/ksvg2/svg/SVGDOMImplementation.cpp
WebCore/ksvg2/svg/SVGExternalResourcesRequired.h
WebCore/ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp
WebCore/ksvg2/svg/SVGForeignObjectElement.cpp
WebCore/ksvg2/svg/SVGImageElement.cpp
WebCore/ksvg2/svg/SVGMaskElement.cpp
WebCore/ksvg2/svg/SVGStyledElement.cpp
WebCore/ksvg2/svg/SVGTests.h
WebCore/ksvg2/svg/SVGTransform.h
WebCore/ksvg2/svg/SVGTransformable.cpp
WebCore/kwq/AccessibilityObjectCache.h
WebCore/kwq/KWQCString.cpp
WebCore/kwq/KWQFormData.mm
WebCore/kwq/KWQListBox.mm
WebCore/kwq/KWQResourceLoader.mm
WebCore/kwq/KWQTextEdit.mm
WebCore/loader/Cache.h
WebCore/loader/CachedObject.h
WebCore/loader/CachedObjectClientWalker.h
WebCore/loader/Decoder.h
WebCore/loader/DocLoader.h
WebCore/loader/loader.cpp
WebCore/loader/loader.h
WebCore/page/DOMWindow.h
WebCore/page/Frame.h
WebCore/page/FramePrivate.h
WebCore/page/FrameTree.cpp
WebCore/page/Page.cpp
WebCore/page/Page.h
WebCore/page/Plugin.h
WebCore/platform/Arena.cpp
WebCore/platform/ArrayImpl.h
WebCore/platform/AtomicString.cpp
WebCore/platform/CharsetNames.cpp
WebCore/platform/Color.cpp
WebCore/platform/DeprecatedPtrListImpl.cpp
WebCore/platform/DeprecatedValueListImpl.h
WebCore/platform/FontFallbackList.h
WebCore/platform/GraphicsContext.h
WebCore/platform/GraphicsTypes.cpp
WebCore/platform/Image.h
WebCore/platform/KURL.cpp
WebCore/platform/Logging.cpp
WebCore/platform/Logging.h
WebCore/platform/PlatformString.h
WebCore/platform/PlugInInfoStore.h
WebCore/platform/StreamingTextDecoder.cpp
WebCore/platform/StreamingTextDecoder.h
WebCore/platform/String.cpp
WebCore/platform/StringHash.h
WebCore/platform/StringImpl.cpp
WebCore/platform/StringImpl.h
WebCore/platform/TextEncoding.cpp
WebCore/platform/Timer.cpp
WebCore/platform/Timer.h
WebCore/platform/TransferJob.h
WebCore/platform/TransferJobInternal.h
WebCore/platform/mac/BlockExceptions.mm
WebCore/platform/mac/ColorMac.mm
WebCore/platform/mac/FontData.mm
WebCore/platform/mac/KURLMac.mm
WebCore/platform/mac/QStringMac.mm
WebCore/platform/mac/SharedTimerMac.cpp
WebCore/platform/mac/TextEncodingMac.cpp
WebCore/platform/mac/WebCoreImageRendererFactory.m
WebCore/platform/mac/WebCoreKeyGenerator.m
WebCore/platform/mac/WebCoreTextArea.mm
WebCore/platform/mac/WebCoreTextField.mm
WebCore/platform/mac/WebTextRendererFactory.h
WebCore/platform/mac/WebTextRendererFactory.mm
WebCore/platform/win/TemporaryLinkStubs.cpp
WebCore/rendering/InlineTextBox.cpp
WebCore/rendering/RenderText.cpp
WebCore/rendering/RenderTreeAsText.cpp
WebCore/rendering/bidi.cpp
WebCore/xml/XSLTProcessor.h
WebCore/xpath/impl/XPathExpressionNode.h
WebCore/xpath/impl/XPathParser.h
WebCore/xpath/impl/XPathPath.h
WebCore/xpath/impl/XPathUtil.h
WebKit/ChangeLog
WebKit/Misc/WebKitLogging.h
WebKit/Misc/WebKitLogging.m

index 279ffed..ef3ff8b 100644 (file)
@@ -1,3 +1,123 @@
+2006-05-09  Maciej Stachowiak  <mjs@apple.com>
+
+        Rubber stamped by Anders.
+        
+        - renamed kxmlcore to wtf
+        
+        kxmlcore --> wtf
+        KXMLCore --> WTF
+        WKC --> WTF
+
+        * JavaScriptCore.xcodeproj/project.pbxproj:
+        * bindings/c/c_instance.cpp:
+        * bindings/objc/WebScriptObject.mm:
+        * kjs/JSImmediate.h:
+        * kjs/Parser.cpp:
+        * kjs/Parser.h:
+        * kjs/array_object.cpp:
+        * kjs/collector.cpp:
+        (KJS::Collector::registerThread):
+        * kjs/collector.h:
+        * kjs/config.h:
+        * kjs/function.cpp:
+        (KJS::isStrWhiteSpace):
+        * kjs/function.h:
+        * kjs/identifier.cpp:
+        * kjs/internal.cpp:
+        * kjs/internal.h:
+        * kjs/lexer.cpp:
+        (Lexer::shift):
+        (Lexer::isWhiteSpace):
+        (Lexer::isIdentStart):
+        (Lexer::isIdentPart):
+        * kjs/lookup.cpp:
+        * kjs/nodes.cpp:
+        * kjs/nodes.h:
+        * kjs/number_object.cpp:
+        * kjs/object.h:
+        * kjs/property_map.cpp:
+        * kjs/property_map.h:
+        * kjs/string_object.cpp:
+        (StringProtoFunc::callAsFunction):
+        * kjs/testkjs.cpp:
+        (testIsInteger):
+        * kjs/ustring.cpp:
+        * kjs/ustring.h:
+        * kxmlcore: Removed.
+        * kxmlcore/AlwaysInline.h: Removed.
+        * kxmlcore/Assertions.cpp: Removed.
+        * kxmlcore/Assertions.h: Removed.
+        * kxmlcore/FastMalloc.cpp: Removed.
+        * kxmlcore/FastMalloc.h: Removed.
+        * kxmlcore/FastMallocInternal.h: Removed.
+        * kxmlcore/Forward.h: Removed.
+        * kxmlcore/HashCountedSet.h: Removed.
+        * kxmlcore/HashFunctions.h: Removed.
+        * kxmlcore/HashMap.h: Removed.
+        * kxmlcore/HashSet.h: Removed.
+        * kxmlcore/HashTable.cpp: Removed.
+        * kxmlcore/HashTable.h: Removed.
+        * kxmlcore/HashTraits.h: Removed.
+        * kxmlcore/ListRefPtr.h: Removed.
+        * kxmlcore/Noncopyable.h: Removed.
+        * kxmlcore/OwnArrayPtr.h: Removed.
+        * kxmlcore/OwnPtr.h: Removed.
+        * kxmlcore/PassRefPtr.h: Removed.
+        * kxmlcore/Platform.h: Removed.
+        * kxmlcore/RefPtr.h: Removed.
+        * kxmlcore/TCPageMap.h: Removed.
+        * kxmlcore/TCSpinLock.h: Removed.
+        * kxmlcore/TCSystemAlloc.cpp: Removed.
+        * kxmlcore/TCSystemAlloc.h: Removed.
+        * kxmlcore/UnusedParam.h: Removed.
+        * kxmlcore/Vector.h: Removed.
+        * kxmlcore/VectorTraits.h: Removed.
+        * kxmlcore/unicode: Removed.
+        * kxmlcore/unicode/Unicode.h: Removed.
+        * kxmlcore/unicode/UnicodeCategory.h: Removed.
+        * kxmlcore/unicode/icu: Removed.
+        * kxmlcore/unicode/icu/UnicodeIcu.h: Removed.
+        * kxmlcore/unicode/posix: Removed.
+        * kxmlcore/unicode/qt3: Removed.
+        * kxmlcore/unicode/qt4: Removed.
+        * kxmlcore/unicode/qt4/UnicodeQt4.h: Removed.
+        * pcre/pcre_get.c:
+        * wtf: Added.
+        * wtf/Assertions.cpp:
+        * wtf/Assertions.h:
+        * wtf/FastMalloc.cpp:
+        (WTF::TCMalloc_ThreadCache::Scavenge):
+        (WTF::do_malloc):
+        (WTF::do_free):
+        (WTF::TCMallocGuard::TCMallocGuard):
+        (WTF::malloc):
+        (WTF::free):
+        (WTF::calloc):
+        (WTF::cfree):
+        (WTF::realloc):
+        * wtf/FastMalloc.h:
+        * wtf/FastMallocInternal.h:
+        * wtf/Forward.h:
+        * wtf/HashCountedSet.h:
+        * wtf/HashFunctions.h:
+        * wtf/HashMap.h:
+        * wtf/HashSet.h:
+        * wtf/HashTable.cpp:
+        * wtf/HashTable.h:
+        * wtf/HashTraits.h:
+        * wtf/ListRefPtr.h:
+        * wtf/Noncopyable.h:
+        * wtf/OwnArrayPtr.h:
+        * wtf/OwnPtr.h:
+        * wtf/PassRefPtr.h:
+        * wtf/RefPtr.h:
+        * wtf/TCSystemAlloc.cpp:
+        (TCMalloc_SystemAlloc):
+        * wtf/Vector.h:
+        * wtf/VectorTraits.h:
+        * wtf/unicode/UnicodeCategory.h:
+        * wtf/unicode/icu/UnicodeIcu.h:
+
 2006-05-08  Timothy Hatcher  <timothy@apple.com>
 
         Reviewed by Tim O.
index 6f48ca7..f31d0ae 100644 (file)
                        children = (
                                937B63CC09E766D200A671DD /* DerivedSources.make */,
                                65417200039E01BA0058BFEB /* kjs */,
-                               65162EF108E6A21C007556CD /* kxmlcore */,
+                               65162EF108E6A21C007556CD /* wtf */,
                                51856D950562EE9C008B9D83 /* bindings */,
                                65417203039E01F90058BFEB /* pcre */,
                                650FDF8D09D0FCA700769E54 /* Derived Sources */,
                        path = DerivedSources/JavaScriptCore;
                        sourceTree = BUILT_PRODUCTS_DIR;
                };
-               65162EF108E6A21C007556CD /* kxmlcore */ = {
+               65162EF108E6A21C007556CD /* wtf */ = {
                        isa = PBXGroup;
                        children = (
                                E195678D09E7CF1200B89D13 /* unicode */,
                                6592C316098B7DE10003D4F6 /* Vector.h */,
                                6592C317098B7DE10003D4F6 /* VectorTraits.h */,
                        );
-                       path = kxmlcore;
+                       path = wtf;
                        sourceTree = "<group>";
                };
                65417200039E01BA0058BFEB /* kjs */ = {
index 96a6f83..2b1e8ac 100644 (file)
@@ -31,7 +31,7 @@
 #include "c_utility.h"
 #include "list.h"
 #include "npruntime_impl.h"
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 
 namespace KJS {
 namespace Bindings {
index 9b4711e..5afb6da 100644 (file)
@@ -28,7 +28,7 @@
 
 #import "objc_instance.h"
 #import "runtime_object.h"
-#import <kxmlcore/UnusedParam.h>
+#import <wtf/UnusedParam.h>
 
 using namespace KJS;
 using namespace KJS::Bindings;
index 44150fa..fde639f 100644 (file)
@@ -23,7 +23,7 @@
 #define KJS_JS_IMMEDIATE_H
 
 #include "JSType.h"
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 #include <stdint.h>
 #include <stdlib.h>
 
index 1692ef6..c599217 100644 (file)
@@ -27,8 +27,8 @@
 
 #include "lexer.h"
 #include "nodes.h"
-#include <kxmlcore/HashSet.h>
-#include <kxmlcore/Vector.h>
+#include <wtf/HashSet.h>
+#include <wtf/Vector.h>
 
 extern int kjsyyparse();
 
index b2d1f08..f8c1507 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef Parser_h
 #define Parser_h
 
-#include <kxmlcore/Forward.h>
+#include <wtf/Forward.h>
 
 namespace KJS {
 
index e3977d1..455c648 100644 (file)
@@ -28,7 +28,7 @@
 #include "lookup.h"
 #include "operations.h"
 #include "reference_list.h"
-#include <kxmlcore/HashSet.h>
+#include <wtf/HashSet.h>
 #include <stdio.h>
 
 #include "array_object.lut.h"
index 1718f55..74b5444 100644 (file)
@@ -22,9 +22,9 @@
 #include "config.h"
 #include "collector.h"
 
-#include <kxmlcore/FastMalloc.h>
-#include <kxmlcore/FastMallocInternal.h>
-#include <kxmlcore/HashCountedSet.h>
+#include <wtf/FastMalloc.h>
+#include <wtf/FastMallocInternal.h>
+#include <wtf/HashCountedSet.h>
 #include "internal.h"
 #include "list.h"
 #include "value.h"
@@ -235,7 +235,7 @@ void Collector::registerThread()
 
   if (!pthread_getspecific(registeredThreadKey)) {
     pthread_t pthread = pthread_self();
-    KXMLCore::fastMallocRegisterThread(pthread);
+    WTF::fastMallocRegisterThread(pthread);
     Collector::Thread *thread = new Collector::Thread(pthread, pthread_mach_thread_np(pthread));
     thread->next = registeredThreads;
     registeredThreads = thread;
index 7a8a72b..5f5fc72 100644 (file)
@@ -25,7 +25,7 @@
 #define KJSCOLLECTOR_H_
 
 #include "value.h"
-#include <kxmlcore/HashCountedSet.h>
+#include <wtf/HashCountedSet.h>
 
 #define KJS_MEM_LIMIT 500000
 
index d3fbe21..ca2cadf 100644 (file)
@@ -1,4 +1,4 @@
-#include <kxmlcore/Platform.h>
+#include <wtf/Platform.h>
 
 #if PLATFORM(DARWIN)
 
 #define HAVE_STDINT_H 1
 #define HAVE_STRING_H 1
 
-#define KXC_CHANGES 1
+#define WTF_CHANGES 1
 
 #ifdef __cplusplus
 #undef new
 #undef delete
-#include <kxmlcore/FastMalloc.h>
+#include <wtf/FastMalloc.h>
 #endif
index a5278b6..62d2c10 100644 (file)
@@ -40,7 +40,7 @@
 #include <string.h>
 #include <ctype.h>
 
-#include <kxmlcore/unicode/Unicode.h>
+#include <wtf/unicode/Unicode.h>
 
 namespace KJS {
 
@@ -661,7 +661,7 @@ static bool isStrWhiteSpace(unsigned short c)
         case 0x2029:
             return true;
         default:
-            return KXMLCore::Unicode::isSeparatorSpace(c);
+            return WTF::Unicode::isSeparatorSpace(c);
     }
 }
 
index 18bb3a0..e9b205e 100644 (file)
@@ -25,7 +25,7 @@
 #define KJS_FUNCTION_H
 
 #include "internal.h"
-#include <kxmlcore/OwnPtr.h>
+#include <wtf/OwnPtr.h>
 
 namespace KJS {
 
index 8344a76..1afe000 100644 (file)
 
 #include "identifier.h"
 
-#include <kxmlcore/FastMalloc.h>
-#include <kxmlcore/HashSet.h>
+#include <wtf/FastMalloc.h>
+#include <wtf/HashSet.h>
 #include <string.h> // for strlen
 #include <new> // for placement new
 
-namespace KXMLCore {
+namespace WTF {
 
     template<typename T> class DefaultHash;
     template<typename T> class StrHash;
index 1ed9690..7e077cf 100644 (file)
@@ -42,9 +42,9 @@
 #include "regexp_object.h"
 #include "string_object.h"
 #include <assert.h>
-#include <kxmlcore/HashMap.h>
-#include <kxmlcore/HashSet.h>
-#include <kxmlcore/Vector.h>
+#include <wtf/HashMap.h>
+#include <wtf/HashSet.h>
+#include <wtf/Vector.h>
 #include <math.h>
 #include <stdio.h>
 
index 0f85f6e..f6f5411 100644 (file)
@@ -33,7 +33,7 @@
 #include "types.h"
 #include "ustring.h"
 
-#include <kxmlcore/Noncopyable.h>
+#include <wtf/Noncopyable.h>
 
 #define I18N_NOOP(s) s
 
index deb156e..954e85e 100644 (file)
@@ -29,7 +29,7 @@
 #include "interpreter.h"
 #include "nodes.h"
 #include "lookup.h"
-#include <kxmlcore/unicode/Unicode.h>
+#include <wtf/unicode/Unicode.h>
 
 static bool isDecimalDigit(unsigned short c);
 
@@ -129,7 +129,7 @@ void Lexer::shift(unsigned int p)
         break;
       }
       next3 = code[pos++].uc;
-    } while (KXMLCore::Unicode::isFormatChar(next3));
+    } while (WTF::Unicode::isFormatChar(next3));
   }
 }
 
@@ -564,7 +564,7 @@ int Lexer::lex()
 
 bool Lexer::isWhiteSpace() const
 {
-  return current == '\t' || current == 0x0b || current == 0x0c || KXMLCore::Unicode::isSeparatorSpace(current);
+  return current == '\t' || current == 0x0b || current == 0x0c || WTF::Unicode::isSeparatorSpace(current);
 }
 
 bool Lexer::isLineTerminator()
@@ -580,25 +580,25 @@ bool Lexer::isLineTerminator()
 
 bool Lexer::isIdentStart(unsigned short c)
 {
-  return (KXMLCore::Unicode::category(c) & (KXMLCore::Unicode::Letter_Uppercase
-        | KXMLCore::Unicode::Letter_Lowercase
-        | KXMLCore::Unicode::Letter_Titlecase
-        | KXMLCore::Unicode::Letter_Modifier
-        | KXMLCore::Unicode::Letter_Other))
+  return (WTF::Unicode::category(c) & (WTF::Unicode::Letter_Uppercase
+        | WTF::Unicode::Letter_Lowercase
+        | WTF::Unicode::Letter_Titlecase
+        | WTF::Unicode::Letter_Modifier
+        | WTF::Unicode::Letter_Other))
     || c == '$' || c == '_';
 }
 
 bool Lexer::isIdentPart(unsigned short c)
 {
-  return (KXMLCore::Unicode::category(c) & (KXMLCore::Unicode::Letter_Uppercase
-        | KXMLCore::Unicode::Letter_Lowercase
-        | KXMLCore::Unicode::Letter_Titlecase
-        | KXMLCore::Unicode::Letter_Modifier
-        | KXMLCore::Unicode::Letter_Other
-        | KXMLCore::Unicode::Mark_NonSpacing
-        | KXMLCore::Unicode::Mark_SpacingCombining
-        | KXMLCore::Unicode::Number_DecimalDigit
-        | KXMLCore::Unicode::Punctuation_Connector))
+  return (WTF::Unicode::category(c) & (WTF::Unicode::Letter_Uppercase
+        | WTF::Unicode::Letter_Lowercase
+        | WTF::Unicode::Letter_Titlecase
+        | WTF::Unicode::Letter_Modifier
+        | WTF::Unicode::Letter_Other
+        | WTF::Unicode::Mark_NonSpacing
+        | WTF::Unicode::Mark_SpacingCombining
+        | WTF::Unicode::Number_DecimalDigit
+        | WTF::Unicode::Punctuation_Connector))
     || c == '$' || c == '_';
 }
 
index 890976e..73c387f 100644 (file)
@@ -25,7 +25,7 @@
 #include <string.h>
 
 #include "lookup.h"
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 using namespace KJS;
 
index 1cea76f..d99041c 100644 (file)
@@ -36,8 +36,8 @@
 #include "lexer.h"
 #include "operations.h"
 #include "reference_list.h"
-#include <kxmlcore/HashSet.h>
-#include <kxmlcore/HashCountedSet.h>
+#include <wtf/HashSet.h>
+#include <wtf/HashCountedSet.h>
 
 using namespace KJS;
 
index 98b9dbe..c909298 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "Parser.h"
 #include "internal.h"
-#include <kxmlcore/ListRefPtr.h>
+#include <wtf/ListRefPtr.h>
 
 namespace KJS {
 
index 63c9971..e4090b9 100644 (file)
@@ -26,7 +26,7 @@
 #include "error_object.h"
 #include "lookup.h"
 #include "operations.h"
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 #include <math.h>
 
 #include "number_object.lut.h"
index 2833970..115af08 100644 (file)
@@ -30,7 +30,7 @@
 #include "property_map.h"
 #include "property_slot.h"
 #include "scope_chain.h"
-#include <kxmlcore/AlwaysInline.h>
+#include <wtf/AlwaysInline.h>
 
 namespace KJS {
 
index 88ceccf..fa400d8 100644 (file)
@@ -26,8 +26,8 @@
 #include "protect.h"
 #include "reference_list.h"
 #include <algorithm>
-#include <kxmlcore/FastMalloc.h>
-#include <kxmlcore/Vector.h>
+#include <wtf/FastMalloc.h>
+#include <wtf/Vector.h>
 
 using std::max;
 
index b002976..8f9de08 100644 (file)
@@ -24,7 +24,7 @@
 #define KJS_PROPERTY_MAP_H_
 
 #include "identifier.h"
-#include <kxmlcore/OwnArrayPtr.h>
+#include <wtf/OwnArrayPtr.h>
 
 namespace KJS {
 
index cab65ad..884638e 100644 (file)
@@ -28,7 +28,7 @@
 #include "operations.h"
 #include "reference_list.h"
 #include "regexp_object.h"
-#include <kxmlcore/unicode/Unicode.h>
+#include <wtf/unicode/Unicode.h>
 
 #include "string_object.lut.h"
 
@@ -626,7 +626,7 @@ JSValue *StringProtoFunc::callAsFunction(ExecState *exec, JSObject *thisObj, con
     uint16_t* dataPtr = reinterpret_cast<uint16_t*>(u.rep()->data());
     uint16_t* destIfNeeded;
 
-    int len = KXMLCore::Unicode::toLower(dataPtr, u.size(), destIfNeeded);
+    int len = WTF::Unicode::toLower(dataPtr, u.size(), destIfNeeded);
     if (len >= 0)
         result = jsString(UString(reinterpret_cast<UChar *>(destIfNeeded ? destIfNeeded : dataPtr), len));
     else
@@ -642,7 +642,7 @@ JSValue *StringProtoFunc::callAsFunction(ExecState *exec, JSObject *thisObj, con
     uint16_t* dataPtr = reinterpret_cast<uint16_t*>(u.rep()->data());
     uint16_t* destIfNeeded;
 
-    int len = KXMLCore::Unicode::toUpper(dataPtr, u.size(), destIfNeeded);
+    int len = WTF::Unicode::toUpper(dataPtr, u.size(), destIfNeeded);
     if (len >= 0)
         result = jsString(UString(reinterpret_cast<UChar *>(destIfNeeded ? destIfNeeded : dataPtr), len));
     else
index d696a39..e6fbe07 100644 (file)
@@ -44,7 +44,7 @@
 #endif
 
 using namespace KJS;
-using namespace KXMLCore;
+using namespace WTF;
 
 static void testIsInteger();
 static char* createStringWithContentsOfFile(const char* fileName);
@@ -275,8 +275,8 @@ int kjsmain(int argc, char** argv)
 
 static void testIsInteger()
 {
-  // Unit tests for KXMLCore::IsInteger. Don't have a better place for them now.
-  // FIXME: move these once we create a unit test directory for KXMLCore.
+  // Unit tests for WTF::IsInteger. Don't have a better place for them now.
+  // FIXME: move these once we create a unit test directory for WTF.
 
   assert(IsInteger<bool>::value);
   assert(IsInteger<char>::value);
index ae2c0a8..df2c1b8 100644 (file)
@@ -40,7 +40,7 @@
 #include <math.h>
 #include "dtoa.h"
 
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 
 using std::max;
 
index 664ed57..3eb11cf 100644 (file)
@@ -24,9 +24,9 @@
 #ifndef _KJS_USTRING_H_
 #define _KJS_USTRING_H_
 
-#include <kxmlcore/FastMalloc.h>
-#include <kxmlcore/RefPtr.h>
-#include <kxmlcore/PassRefPtr.h>
+#include <wtf/FastMalloc.h>
+#include <wtf/RefPtr.h>
+#include <wtf/PassRefPtr.h>
 
 #include <stdint.h>
 
index e19406d..95a4152 100644 (file)
@@ -44,7 +44,7 @@ for these functions came from Scott Wimer. */
 
 
 #include "pcre_internal.h"
-#include <kxmlcore/UnusedParam.h>
+#include <wtf/UnusedParam.h>
 
 
 /*************************************************
similarity index 90%
rename from JavaScriptCore/kxmlcore/Assertions.cpp
rename to JavaScriptCore/wtf/Assertions.cpp
index 2a50bec..e501511 100644 (file)
@@ -62,7 +62,7 @@ static void vprintf_stderr_common(const char *format, va_list args)
         vfprintf_no_warning(stderr, format, args);
 }
 
-void KXCReportAssertionFailure(const char *file, int line, const char *function, const char *assertion)
+void WTFReportAssertionFailure(const char *file, int line, const char *function, const char *assertion)
 {
     if (assertion)
         fprintf(stderr, "=================\nASSERTION FAILED: %s (%s:%d %s)\n=================\n", assertion, file, line, function);
@@ -70,7 +70,7 @@ void KXCReportAssertionFailure(const char *file, int line, const char *function,
         fprintf(stderr, "=================\nSHOULD NEVER BE REACHED (%s:%d %s)\n=================\n", file, line, function);
 }
 
-void KXCReportAssertionFailureWithMessage(const char *file, int line, const char *function, const char *assertion, const char *format, ...)
+void WTFReportAssertionFailureWithMessage(const char *file, int line, const char *function, const char *assertion, const char *format, ...)
 {
     fprintf(stderr, "=================\nASSERTION FAILED: ");
     va_list args;
@@ -80,12 +80,12 @@ void KXCReportAssertionFailureWithMessage(const char *file, int line, const char
     fprintf(stderr, "\n%s (%s:%d %s)\n=================\n", assertion, file, line, function);
 }
 
-void KXCReportArgumentAssertionFailure(const char *file, int line, const char *function, const char *argName, const char *assertion)
+void WTFReportArgumentAssertionFailure(const char *file, int line, const char *function, const char *argName, const char *assertion)
 {
     fprintf(stderr, "=================\nARGUMENT BAD: %s, %s (%s:%d %s)\n=================\n", argName, assertion, file, line, function);
 }
 
-void KXCReportFatalError(const char *file, int line, const char *function, const char *format, ...)
+void WTFReportFatalError(const char *file, int line, const char *function, const char *format, ...)
 {
     fprintf(stderr, "=================\nFATAL ERROR: ");
     va_list args;
@@ -95,7 +95,7 @@ void KXCReportFatalError(const char *file, int line, const char *function, const
     fprintf(stderr, "\n(%s:%d %s)\n=================\n", file, line, function);
 }
 
-void KXCReportError(const char *file, int line, const char *function, const char *format, ...)
+void WTFReportError(const char *file, int line, const char *function, const char *format, ...)
 {
     fprintf(stderr, "=================\nERROR: ");
     va_list args;
@@ -105,9 +105,9 @@ void KXCReportError(const char *file, int line, const char *function, const char
     fprintf(stderr, "\n(%s:%d %s)\n=================\n", file, line, function);
 }
 
-void KXCLog(const char*, int, const char*, KXCLogChannel *channel, const char *format, ...)
+void WTFLog(const char*, int, const char*, WTFLogChannel *channel, const char *format, ...)
 {    
-    if (channel->state != KXCLogChannelOn)
+    if (channel->state != WTFLogChannelOn)
         return;
     
     va_list args;
similarity index 82%
rename from JavaScriptCore/kxmlcore/Assertions.h
rename to JavaScriptCore/wtf/Assertions.h
index d787d5a..7f76ca4 100644 (file)
 extern "C" {
 #endif
 
-typedef enum { KXCLogChannelOff, KXCLogChannelOn } KXCLogChannelState;
+typedef enum { WTFLogChannelOff, WTFLogChannelOn } WTFLogChannelState;
 
 typedef struct {
     unsigned mask;
     const char *defaultName;
-    KXCLogChannelState state;
-} KXCLogChannel;
+    WTFLogChannelState state;
+} WTFLogChannel;
 
-void KXCReportAssertionFailure(const char *file, int line, const char *function, const char *assertion);
-void KXCReportAssertionFailureWithMessage(const char *file, int line, const char *function, const char *assertion, const char *format, ...);
-void KXCReportArgumentAssertionFailure(const char *file, int line, const char *function, const char *argName, const char *assertion);
-void KXCReportFatalError(const char *file, int line, const char *function, const char *format, ...) ;
-void KXCReportError(const char *file, int line, const char *function, const char *format, ...);
-void KXCLog(const char *file, int line, const char *function, KXCLogChannel *channel, const char *format, ...);
+void WTFReportAssertionFailure(const char *file, int line, const char *function, const char *assertion);
+void WTFReportAssertionFailureWithMessage(const char *file, int line, const char *function, const char *assertion, const char *format, ...);
+void WTFReportArgumentAssertionFailure(const char *file, int line, const char *function, const char *argName, const char *assertion);
+void WTFReportFatalError(const char *file, int line, const char *function, const char *format, ...) ;
+void WTFReportError(const char *file, int line, const char *function, const char *format, ...);
+void WTFLog(const char *file, int line, const char *function, WTFLogChannel *channel, const char *format, ...);
 
 #ifdef __cplusplus
 }
@@ -113,18 +113,18 @@ void KXCLog(const char *file, int line, const char *function, KXCLogChannel *cha
 
 #define ASSERT(assertion) do \
     if (!(assertion)) { \
-        KXCReportAssertionFailure(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, #assertion); \
+        WTFReportAssertionFailure(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, #assertion); \
         CRASH(); \
     } \
 while (0)
 #define ASSERT_WITH_MESSAGE(assertion, ...) do \
     if (!(assertion)) { \
-        KXCReportAssertionFailureWithMessage(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, #assertion, __VA_ARGS__); \
+        WTFReportAssertionFailureWithMessage(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, #assertion, __VA_ARGS__); \
         CRASH(); \
     } \
 while (0)
 #define ASSERT_NOT_REACHED() do { \
-    KXCReportAssertionFailure(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, 0); \
+    WTFReportAssertionFailure(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, 0); \
     CRASH(); \
 } while (0)
 
@@ -140,7 +140,7 @@ while (0)
 
 #define ASSERT_ARG(argName, assertion) do \
     if (!(assertion)) { \
-        KXCReportArgumentAssertionFailure(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, #argName, #assertion); \
+        WTFReportArgumentAssertionFailure(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, #argName, #assertion); \
         CRASH(); \
     } \
 while (0)
@@ -153,7 +153,7 @@ while (0)
 #define FATAL(...) ((void)0)
 #else
 #define FATAL(...) do { \
-    KXCReportFatalError(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, __VA_ARGS__); \
+    WTFReportFatalError(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, __VA_ARGS__); \
     CRASH(); \
 } while (0)
 #endif
@@ -163,7 +163,7 @@ while (0)
 #if ERROR_DISABLED
 #define LOG_ERROR(...) ((void)0)
 #else
-#define LOG_ERROR(...) KXCReportError(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, __VA_ARGS__)
+#define LOG_ERROR(...) WTFReportError(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, __VA_ARGS__)
 #endif
 
 // LOG
@@ -171,7 +171,7 @@ while (0)
 #if LOG_DISABLED
 #define LOG(channel, ...) ((void)0)
 #else
-#define LOG(channel, ...) KXCLog(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, &JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, channel), __VA_ARGS__)
+#define LOG(channel, ...) WTFLog(__FILE__, __LINE__, KXMLCORE_PRETTY_FUNCTION, &JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, channel), __VA_ARGS__)
 #define JOIN_LOG_CHANNEL_WITH_PREFIX(prefix, channel) JOIN_LOG_CHANNEL_WITH_PREFIX_LEVEL_2(prefix, channel)
 #define JOIN_LOG_CHANNEL_WITH_PREFIX_LEVEL_2(prefix, channel) prefix ## channel
 #endif
similarity index 98%
rename from JavaScriptCore/kxmlcore/FastMalloc.cpp
rename to JavaScriptCore/wtf/FastMalloc.cpp
index 0d3de8a..54a5722 100644 (file)
@@ -80,7 +80,7 @@
     #include <pthread.h>
 #endif
 
-namespace KXMLCore {
+namespace WTF {
     
 void *fastMalloc(size_t n) 
 {
@@ -108,7 +108,7 @@ void fastMallocRegisterThread(pthread_t)
 }
 #endif
 
-} // namespace KXMLCore
+} // namespace WTF
 
 #else
 
@@ -134,8 +134,8 @@ void fastMallocRegisterThread(pthread_t)
 #include <string.h>
 #include <unistd.h>
 
-#if KXC_CHANGES
-namespace KXMLCore {
+#if WTF_CHANGES
+namespace WTF {
 
 #define malloc fastMalloc
 #define calloc fastCalloc
@@ -536,7 +536,7 @@ static ALWAYS_INLINE bool DLL_IsEmpty(const Span* list) {
   return list->next == list;
 }
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 static int DLL_Length(const Span* list) {
   int result = 0;
   for (Span* s = list->next; s != list; s = s->next) {
@@ -653,7 +653,7 @@ class TCMalloc_PageHeap {
   }
 
   // Dump state to stderr
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
   void Dump(TCMalloc_Printer* out);
 #endif
 
@@ -857,7 +857,7 @@ void TCMalloc_PageHeap::RegisterSizeClass(Span* span, size_t sc) {
   }
 }
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 void TCMalloc_PageHeap::Dump(TCMalloc_Printer* out) {
   int nonempty_sizes = 0;
   for (int s = 0; s < kMaxPages; s++) {
@@ -1370,7 +1370,7 @@ inline void TCMalloc_ThreadCache::Scavenge() {
   // that situation by dropping L/2 nodes from the free list.  This
   // may not release much memory, but if so we will call scavenge again
   // pretty soon and the low-water marks will be high on that call.
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
   int64 start = CycleClock::Now();
 #endif
 
@@ -1384,7 +1384,7 @@ inline void TCMalloc_ThreadCache::Scavenge() {
     list->clear_lowwatermark();
   }
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
   int64 finish = CycleClock::Now();
   CycleTimer ct;
   MESSAGE("GC: %.0f ns\n", ct.CyclesToUsec(finish-start)*1000.0);
@@ -1588,7 +1588,7 @@ struct TCMallocStats {
   uint64_t metadata_bytes;      // Bytes alloced for metadata
 };
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 // Get stats into "r".  Also get per-size-class counts if class_count != NULL
 static void ExtractStats(TCMallocStats* r, uint64_t* class_count) {
   r->central_bytes = 0;
@@ -1622,7 +1622,7 @@ static void ExtractStats(TCMallocStats* r, uint64_t* class_count) {
 }
 #endif
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 // WRITE stats to "out"
 static void DumpStats(TCMalloc_Printer* out, int level) {
   TCMallocStats stats;
@@ -1726,7 +1726,7 @@ static void** DumpStackTraces() {
 }
 #endif
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 
 // TCMalloc's support for extra malloc interfaces
 class TCMallocImplementation : public MallocExtension {
@@ -1817,7 +1817,7 @@ class TCMallocImplementation : public MallocExtension {
 //
 // We hack around this problem by disabling all deallocations
 // after a global object destructor in this module has been called.
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 static bool tcmalloc_is_destroyed = false;
 #endif
 
@@ -1825,7 +1825,7 @@ static bool tcmalloc_is_destroyed = false;
 // Helpers for the exported routines below
 //-------------------------------------------------------------------
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 
 static Span* DoSampledAllocation(size_t size) {
   SpinLockHolder h(&pageheap_lock);
@@ -1856,12 +1856,12 @@ static Span* DoSampledAllocation(size_t size) {
 
 static ALWAYS_INLINE void* do_malloc(size_t size) {
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
   if (TCMallocDebug::level >= TCMallocDebug::kVerbose) 
     MESSAGE("In tcmalloc do_malloc(%" PRIuS")\n", size);
 #endif
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
   // The following call forces module initialization
   TCMalloc_ThreadCache* heap = TCMalloc_ThreadCache::GetCache();
   if (heap->SampleAllocation(size)) {
@@ -1882,7 +1882,7 @@ static ALWAYS_INLINE void* do_malloc(size_t size) {
     if (span == NULL) return NULL;
     return reinterpret_cast<void*>(span->start << kPageShift);
   } else {
-#ifdef KXC_CHANGES
+#ifdef WTF_CHANGES
       TCMalloc_ThreadCache* heap = TCMalloc_ThreadCache::GetCache();
 #endif
       return heap->Allocate(size);
@@ -1890,13 +1890,13 @@ static ALWAYS_INLINE void* do_malloc(size_t size) {
 }
 
 static ALWAYS_INLINE void do_free(void* ptr) {
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
   if (TCMallocDebug::level >= TCMallocDebug::kVerbose) 
     MESSAGE("In tcmalloc do_free(%p)\n", ptr);
 #endif
-#if KXC_CHANGES
+#if WTF_CHANGES
   if (ptr == NULL) return;
-#else KXC_CHANGES
+#else WTF_CHANGES
   if (ptr == NULL || tcmalloc_is_destroyed) return;
 #endif
 
@@ -1904,7 +1904,7 @@ static ALWAYS_INLINE void do_free(void* ptr) {
   const PageID p = reinterpret_cast<uintptr_t>(ptr) >> kPageShift;
   Span* span = pageheap->GetDescriptor(p);
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
   if (span == NULL) {
     // We've seen systems where a piece of memory allocated using the
     // allocator built in to libc is deallocated using free() and
@@ -1943,7 +1943,7 @@ static ALWAYS_INLINE void do_free(void* ptr) {
   }
 }
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 // For use by exported routines below that want specific alignments
 //
 // Note: this code can be slow, and can significantly fragment memory.
@@ -2033,7 +2033,7 @@ static void* do_memalign(size_t align, size_t size) {
 class TCMallocGuard {
  public:
   TCMallocGuard() {
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
     char *envval;
     if ((envval = getenv("TCMALLOC_DEBUG"))) {
       TCMallocDebug::level = atoi(envval);
@@ -2043,12 +2043,12 @@ class TCMallocGuard {
     do_free(do_malloc(1));
     TCMalloc_ThreadCache::InitTSD();
     do_free(do_malloc(1));
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
     MallocExtension::Register(new TCMallocImplementation);
 #endif
   }
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
   ~TCMallocGuard() {
     const char* env = getenv("MALLOCSTATS");
     if (env != NULL) {
@@ -2072,28 +2072,28 @@ static TCMallocGuard module_enter_exit_hook;
 //         heap-checker.cc depends on this to start a stack trace from
 //         the call to the (de)allocation function.
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 extern "C" 
 #endif
 void* malloc(size_t size) {
   void* result = do_malloc(size);
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
   MallocHook::InvokeNewHook(result, size);
 #endif
   return result;
 }
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 extern "C" 
 #endif
 void free(void* ptr) {
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
   MallocHook::InvokeDeleteHook(ptr);
 #endif
   do_free(ptr);
 }
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 extern "C" 
 #endif
 void* calloc(size_t n, size_t elem_size) {
@@ -2101,35 +2101,35 @@ void* calloc(size_t n, size_t elem_size) {
   if (result != NULL) {
     memset(result, 0, n * elem_size);
   }
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
   MallocHook::InvokeNewHook(result, n * elem_size);
 #endif
   return result;
 }
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 extern "C" 
 #endif
 void cfree(void* ptr) {
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
     MallocHook::InvokeDeleteHook(ptr);
 #endif
   do_free(ptr);
 }
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 extern "C" 
 #endif
 void* realloc(void* old_ptr, size_t new_size) {
   if (old_ptr == NULL) {
     void* result = do_malloc(new_size);
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
     MallocHook::InvokeNewHook(result, new_size);
 #endif
     return result;
   }
   if (new_size == 0) {
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
     MallocHook::InvokeDeleteHook(old_ptr);
 #endif
     free(old_ptr);
@@ -2154,11 +2154,11 @@ void* realloc(void* old_ptr, size_t new_size) {
     if (new_ptr == NULL) {
       return NULL;
     }
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
     MallocHook::InvokeNewHook(new_ptr, new_size);
 #endif
     memcpy(new_ptr, old_ptr, ((old_size < new_size) ? old_size : new_size));
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
     MallocHook::InvokeDeleteHook(old_ptr);
 #endif
     free(old_ptr);
@@ -2176,7 +2176,7 @@ void* realloc(void* old_ptr, size_t new_size) {
 #define OPDELETE_THROW throw()
 #endif
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 
 void* operator new(size_t size) OPNEW_THROW {
   void* p = do_malloc(size);
@@ -2319,8 +2319,8 @@ extern "C" {
 
 #endif
 
-#if KXC_CHANGES
-} // namespace KXMLCore
+#if WTF_CHANGES
+} // namespace WTF
 #endif
 
 #endif // USE_SYSTEM_MALLOC
similarity index 92%
rename from JavaScriptCore/kxmlcore/FastMalloc.h
rename to JavaScriptCore/wtf/FastMalloc.h
index 194bf9a..12c4aa2 100644 (file)
 #include <stdlib.h>
 #include <new>
 
-namespace KXMLCore {
+namespace WTF {
 
     void *fastMalloc(size_t n);
     void *fastCalloc(size_t n_elements, size_t element_size);
     void fastFree(void* p);
     void *fastRealloc(void* p, size_t n);
 
-} // namespace KXMLCore
+} // namespace WTF
 
-using KXMLCore::fastMalloc;
-using KXMLCore::fastCalloc;
-using KXMLCore::fastRealloc;
-using KXMLCore::fastFree;
+using WTF::fastMalloc;
+using WTF::fastCalloc;
+using WTF::fastRealloc;
+using WTF::fastFree;
 
 #if PLATFORM(GCC) && PLATFORM(DARWIN)
 #define KXMLCORE_PRIVATE_INLINE __private_extern__ inline __attribute__((always_inline))
similarity index 98%
rename from JavaScriptCore/kxmlcore/FastMallocInternal.h
rename to JavaScriptCore/wtf/FastMallocInternal.h
index e94b3f6..37f03bb 100644 (file)
@@ -27,7 +27,7 @@
 
 #include <pthread.h>
 
-namespace KXMLCore {
+namespace WTF {
     void fastMallocRegisterThread(pthread_t thread);
 }
 
similarity index 88%
rename from JavaScriptCore/kxmlcore/Forward.h
rename to JavaScriptCore/wtf/Forward.h
index fbe9772..9690b0b 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <stddef.h>
 
-namespace KXMLCore {
+namespace WTF {
     template<typename T> class ListRefPtr;
     template<typename T> class OwnArrayPtr;
     template<typename T> class OwnPtr;
@@ -31,10 +31,10 @@ namespace KXMLCore {
     template<typename T> class RefPtr;
 }
 
-using KXMLCore::ListRefPtr;
-using KXMLCore::OwnArrayPtr;
-using KXMLCore::OwnPtr;
-using KXMLCore::PassRefPtr;
-using KXMLCore::RefPtr;
+using WTF::ListRefPtr;
+using WTF::OwnArrayPtr;
+using WTF::OwnPtr;
+using WTF::PassRefPtr;
+using WTF::RefPtr;
 
 #endif
similarity index 99%
rename from JavaScriptCore/kxmlcore/HashCountedSet.h
rename to JavaScriptCore/wtf/HashCountedSet.h
index 7b882a0..5ebb648 100644 (file)
@@ -26,7 +26,7 @@
 #include "Assertions.h"
 #include "HashMap.h"
 
-namespace KXMLCore {
+namespace WTF {
 
     template<typename Value, typename HashFunctions = typename DefaultHash<Value>::Hash,
         typename Traits = HashTraits<Value> > class HashCountedSet {
@@ -173,6 +173,6 @@ namespace KXMLCore {
 
 } // namespace khtml
 
-using KXMLCore::HashCountedSet;
+using WTF::HashCountedSet;
 
 #endif /* KXMLCORE_HASH_COUNTED_SET_H */
similarity index 96%
rename from JavaScriptCore/kxmlcore/HashFunctions.h
rename to JavaScriptCore/wtf/HashFunctions.h
index 26f030e..d0728d0 100644 (file)
@@ -26,7 +26,7 @@
 #include "RefPtr.h"
 #include <stdint.h>
 
-namespace KXMLCore {
+namespace WTF {
 
     template<size_t size> struct IntTypes;
     template<> struct IntTypes<1> { typedef int8_t SignedType; typedef uint8_t UnsignedType; };
@@ -96,10 +96,10 @@ namespace KXMLCore {
     template<typename P> struct DefaultHash<P*> { typedef PtrHash<P*> Hash; };
     template<typename P> struct DefaultHash<RefPtr<P> > { typedef PtrHash<RefPtr<P> > Hash; };
 
-} // namespace KXMLCore
+} // namespace WTF
 
-using KXMLCore::DefaultHash;
-using KXMLCore::IntHash;
-using KXMLCore::PtrHash;
+using WTF::DefaultHash;
+using WTF::IntHash;
+using WTF::PtrHash;
 
 #endif // KXLMCORE_HASH_FUNCTIONS_H
similarity index 99%
rename from JavaScriptCore/kxmlcore/HashMap.h
rename to JavaScriptCore/wtf/HashMap.h
index 262dcbf..563587b 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "HashTable.h"
 
-namespace KXMLCore {
+namespace WTF {
 
     template<typename PairType> struct PairFirstExtractor;
 
@@ -320,8 +320,8 @@ namespace KXMLCore {
         deleteAllPairSeconds<typename HashMap<T, U, V, W, X>::MappedType>(collection);
     }
 
-} // namespace KXMLCore
+} // namespace WTF
 
-using KXMLCore::HashMap;
+using WTF::HashMap;
 
 #endif /* KXMLCORE_HASH_MAP_H */
similarity index 99%
rename from JavaScriptCore/kxmlcore/HashSet.h
rename to JavaScriptCore/wtf/HashSet.h
index 5c0b56b..308c25e 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "HashTable.h"
 
-namespace KXMLCore {
+namespace WTF {
 
     template<typename T> struct IdentityExtractor;
 
@@ -306,8 +306,8 @@ namespace KXMLCore {
         deleteAllValues<typename HashSet<T, U, V>::ValueType>(collection.m_impl);
     }
 
-} // namespace KXMLCore
+} // namespace WTF
 
-using KXMLCore::HashSet;
+using WTF::HashSet;
 
 #endif /* KXMLCORE_HASH_SET_H */
similarity index 97%
rename from JavaScriptCore/kxmlcore/HashTable.cpp
rename to JavaScriptCore/wtf/HashTable.cpp
index 2779df2..ba45aee 100644 (file)
@@ -22,7 +22,7 @@
 #include "config.h"
 #include "HashTable.h"
 
-namespace KXMLCore {
+namespace WTF {
 
 #if DUMP_HASHTABLE_STATS
 
@@ -59,4 +59,4 @@ void HashTableStats::recordCollisionAtCount(int count)
 
 #endif
 
-} // namespace KXMLCore
+} // namespace WTF
similarity index 99%
rename from JavaScriptCore/kxmlcore/HashTable.h
rename to JavaScriptCore/wtf/HashTable.h
index 0d9f251..4e07eec 100644 (file)
@@ -27,7 +27,7 @@
 #include "HashTraits.h"
 #include <assert.h>
 
-namespace KXMLCore {
+namespace WTF {
 
 #define DUMP_HASHTABLE_STATS 0
 #define CHECK_HASHTABLE_CONSISTENCY 0
@@ -930,6 +930,6 @@ namespace KXMLCore {
         static void derefAll(HashTableType& table) { Base::derefAll(table); }
     };
 
-} // namespace KXMLCore
+} // namespace WTF
 
 #endif // KXMLCORE_HASH_TABLE_H
similarity index 98%
rename from JavaScriptCore/kxmlcore/HashTraits.h
rename to JavaScriptCore/wtf/HashTraits.h
index e3cf269..bdc77e6 100644 (file)
@@ -26,7 +26,7 @@
 #include "HashFunctions.h"
 #include <utility>
 
-namespace KXMLCore {
+namespace WTF {
 
     using std::pair;
     using std::make_pair;
@@ -187,9 +187,9 @@ namespace KXMLCore {
         typedef HashTraits<IntType> Traits;
     };
 
-} // namespace KXMLCore
+} // namespace WTF
 
-using KXMLCore::HashTraits;
-using KXMLCore::PairHashTraits;
+using WTF::HashTraits;
+using WTF::PairHashTraits;
 
 #endif // KXMLCORE_HASH_TRAITS_H
similarity index 95%
rename from JavaScriptCore/kxmlcore/ListRefPtr.h
rename to JavaScriptCore/wtf/ListRefPtr.h
index 00fc2f5..60966a6 100644 (file)
@@ -23,9 +23,9 @@
 #ifndef KXMLCORE_LIST_REF_PTR_H
 #define KXMLCORE_LIST_REF_PTR_H
 
-#include <kxmlcore/RefPtr.h>
+#include <wtf/RefPtr.h>
 
-namespace KXMLCore {
+namespace WTF {
 
     // Specialized version of RefPtr desgined for use in singly-linked lists. 
     // Derefs the list iteratively to avoid recursive derefing that can overflow the stack.
@@ -51,8 +51,8 @@ namespace KXMLCore {
         template <typename U> ListRefPtr& operator=(const PassRefPtr<U>& o) { RefPtr<T>::operator=(o); return *this; }
     };
 
-} // namespace KXMLCore
+} // namespace WTF
 
-using KXMLCore::ListRefPtr;
+using WTF::ListRefPtr;
 
 #endif // KXMLCORE_LIST_REF_PTR_H
similarity index 91%
rename from JavaScriptCore/kxmlcore/Noncopyable.h
rename to JavaScriptCore/wtf/Noncopyable.h
index 1004d7b..b69bd88 100644 (file)
 #ifndef KXMLCORE_NONCOPYABLE
 #define KXMLCORE_NONCOPYABLE
 
-// We don't want argument-dependent lookup to pull in everything from the KXMLCore
+// We don't want argument-dependent lookup to pull in everything from the WTF
 // namespace when you use Noncopyable, so put it in its own namespace.
 
-namespace KXMLCoreNoncopyable {
+namespace WTFNoncopyable {
 
     class Noncopyable {
         Noncopyable(const Noncopyable&);
@@ -35,8 +35,8 @@ namespace KXMLCoreNoncopyable {
         ~Noncopyable() { }
     };
 
-} // namespace KXMLCoreNoncopyable
+} // namespace WTFNoncopyable
 
-using KXMLCoreNoncopyable::Noncopyable;
+using WTFNoncopyable::Noncopyable;
 
 #endif // KXMLCORE_NONCOPYABLE
similarity index 94%
rename from JavaScriptCore/kxmlcore/OwnArrayPtr.h
rename to JavaScriptCore/wtf/OwnArrayPtr.h
index ebc6b32..bfe85f2 100644 (file)
 #define KXMLCORE_OWN_ARRAY_PTR_H
 
 #include <algorithm>
-#include <kxmlcore/Assertions.h>
-#include <kxmlcore/Noncopyable.h>
+#include <wtf/Assertions.h>
+#include <wtf/Noncopyable.h>
 
-namespace KXMLCore {
+namespace WTF {
 
     template <typename T> class OwnArrayPtr : Noncopyable {
     public:
@@ -60,8 +60,8 @@ namespace KXMLCore {
     
     template <typename T> inline void swap(OwnArrayPtr<T>& a, OwnArrayPtr<T>& b) { a.swap(b); }
 
-} // namespace KXMLCore
+} // namespace WTF
 
-using KXMLCore::OwnArrayPtr;
+using WTF::OwnArrayPtr;
 
 #endif // KXMLCORE_OWN_ARRAY_PTR_H
similarity index 93%
rename from JavaScriptCore/kxmlcore/OwnPtr.h
rename to JavaScriptCore/wtf/OwnPtr.h
index 3746163..51dd44b 100644 (file)
 #define KXMLCORE_OWN_PTR_H
 
 #include <algorithm>
-#include <kxmlcore/Assertions.h>
-#include <kxmlcore/Noncopyable.h>
+#include <wtf/Assertions.h>
+#include <wtf/Noncopyable.h>
 
-namespace KXMLCore {
+namespace WTF {
 
     template <typename T> class OwnPtr : Noncopyable {
     public:
@@ -58,8 +58,8 @@ namespace KXMLCore {
     
     template <typename T> inline void swap(OwnPtr<T>& a, OwnPtr<T>& b) { a.swap(b); }
 
-} // namespace KXMLCore
+} // namespace WTF
 
-using KXMLCore::OwnPtr;
+using WTF::OwnPtr;
 
 #endif // KXMLCORE_OWN_PTR_H
similarity index 97%
rename from JavaScriptCore/kxmlcore/PassRefPtr.h
rename to JavaScriptCore/wtf/PassRefPtr.h
index 46996cf..d086ef6 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef KXMLCORE_PASS_REF_PTR_H
 #define KXMLCORE_PASS_REF_PTR_H
 
-namespace KXMLCore {
+namespace WTF {
 
     template<typename T> class RefPtr;
     template<typename T> class PassRefPtr;
@@ -178,11 +178,11 @@ namespace KXMLCore {
         return adoptRef(const_cast<T *>(p.release())); 
     }
 
-} // namespace KXMLCore
+} // namespace WTF
 
-using KXMLCore::PassRefPtr;
-using KXMLCore::adoptRef;
-using KXMLCore::static_pointer_cast;
-using KXMLCore::const_pointer_cast;
+using WTF::PassRefPtr;
+using WTF::adoptRef;
+using WTF::static_pointer_cast;
+using WTF::const_pointer_cast;
 
 #endif // KXMLCORE_PASS_REF_PTR_H
similarity index 97%
rename from JavaScriptCore/kxmlcore/RefPtr.h
rename to JavaScriptCore/wtf/RefPtr.h
index 0ca95d0..4ffdd13 100644 (file)
@@ -25,7 +25,7 @@
 
 #include <algorithm>
 
-namespace KXMLCore {
+namespace WTF {
 
     template <typename T> class PassRefPtr;
 
@@ -175,10 +175,10 @@ namespace KXMLCore {
         return RefPtr<T>(const_cast<T *>(p.get())); 
     }
 
-} // namespace KXMLCore
+} // namespace WTF
 
-using KXMLCore::RefPtr;
-using KXMLCore::static_pointer_cast;
-using KXMLCore::const_pointer_cast;
+using WTF::RefPtr;
+using WTF::static_pointer_cast;
+using WTF::const_pointer_cast;
 
 #endif // KXMLCORE_REF_PTR_H
similarity index 98%
rename from JavaScriptCore/kxmlcore/TCSystemAlloc.cpp
rename to JavaScriptCore/wtf/TCSystemAlloc.cpp
index 4c787fa..e32cb38 100644 (file)
@@ -68,7 +68,7 @@ static size_t pagesize = 0;
 // For 2.2 kernels, it looks like the sbrk address space (500MBish) and
 // the mmap address space (1300MBish) are disjoint, so we need both allocators
 // to get as much virtual memory as possible.
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 static bool use_devmem = false;
 #endif
 static bool use_sbrk = false;
@@ -79,7 +79,7 @@ static bool devmem_failure = false;
 static bool sbrk_failure = false;
 static bool mmap_failure = false;
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 DEFINE_int32(malloc_devmem_start, 0,
              "Physical memory starting location in MB for /dev/mem allocation."
              "  Setting this to 0 disables /dev/mem allocation");
@@ -172,7 +172,7 @@ static void* TryMmap(size_t size, size_t alignment) {
 
 #endif /* HAVE(MMAP) */
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
 static void* TryDevMem(size_t size, size_t alignment) {
   static bool initialized = false;
   static off_t physmem_base;  // next physical memory address to allocate
@@ -246,7 +246,7 @@ static void* TryDevMem(size_t size, size_t alignment) {
 #endif
 
 void* TCMalloc_SystemAlloc(size_t size, size_t alignment) {
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
   if (TCMallocDebug::level >= TCMallocDebug::kVerbose) {
     MESSAGE("TCMalloc_SystemAlloc(%" PRIuS ", %" PRIuS")\n", 
             size, alignment);
@@ -261,7 +261,7 @@ void* TCMalloc_SystemAlloc(size_t size, size_t alignment) {
   // more trying all allocators even if they failed before.
   for (int i = 0; i < 2; i++) {
 
-#ifndef KXC_CHANGES
+#ifndef WTF_CHANGES
     if (use_devmem && !devmem_failure) {
       void* result = TryDevMem(size, alignment);
       if (result != NULL) return result;
similarity index 99%
rename from JavaScriptCore/kxmlcore/Vector.h
rename to JavaScriptCore/wtf/Vector.h
index 935b07f..4dd90ce 100644 (file)
@@ -33,7 +33,7 @@
 // We should use NOMINMAX instead.
 #undef max
 
-namespace KXMLCore {
+namespace WTF {
 
     using std::min;
     using std::max;
@@ -586,8 +586,8 @@ namespace KXMLCore {
             delete *it;
     }
 
-} // namespace KXMLCore
+} // namespace WTF
 
-using KXMLCore::Vector;
+using WTF::Vector;
 
 #endif // KXMLCORE_VECTOR_H
similarity index 97%
rename from JavaScriptCore/kxmlcore/VectorTraits.h
rename to JavaScriptCore/wtf/VectorTraits.h
index b79eb68..949a984 100644 (file)
@@ -28,7 +28,7 @@
 
 using std::pair;
 
-namespace KXMLCore {
+namespace WTF {
 
     template <typename T> struct IsPod           { static const bool value = false; };
     template <> struct IsPod<bool>               { static const bool value = true; };
@@ -105,9 +105,9 @@ namespace KXMLCore {
         static const bool canFillWithMemset = false;
     };
 
-} // namespace KXMLCore
+} // namespace WTF
 
-using KXMLCore::VectorTraits;
-using KXMLCore::SimpleClassVectorTraits;
+using WTF::VectorTraits;
+using WTF::SimpleClassVectorTraits;
 
 #endif // KXMLCORE_VECTOR_TRAITS_H
@@ -23,7 +23,7 @@
 #ifndef KJS_UNICODE_CATEGORY_H
 #define KJS_UNICODE_CATEGORY_H
 
-namespace KXMLCore {
+namespace WTF {
   namespace Unicode {
     enum CharCategory {
       NoCategory = 0,
@@ -29,7 +29,7 @@
 
 #include "../UnicodeCategory.h"
 
-namespace KXMLCore {
+namespace WTF {
   namespace Unicode {
 
     inline int toLower(uint16_t* str, int strLength, uint16_t*& destIfNeeded)
index b00944d..a75884e 100644 (file)
@@ -1,3 +1,30 @@
+2006-05-09  Maciej Stachowiak  <mjs@apple.com>
+
+        Rubber stamped by Anders.
+        
+        - renamed kxmlcore to wtf
+        
+        kxmlcore --> wtf
+        KXMLCore --> WTF
+        WKC --> WTF
+
+        * config.h:
+        * kxmlcore: Removed.
+        * kxmlcore/AlwaysInline.h: Removed.
+        * kxmlcore/Assertions.h: Removed.
+        * kxmlcore/FastMalloc.h: Removed.
+        * kxmlcore/Forward.h: Removed.
+        * kxmlcore/HashCountedSet.h: Removed.
+        * kxmlcore/HashSet.h: Removed.
+        * kxmlcore/Noncopyable.h: Removed.
+        * kxmlcore/OwnArrayPtr.h: Removed.
+        * kxmlcore/OwnPtr.h: Removed.
+        * kxmlcore/PassRefPtr.h: Removed.
+        * kxmlcore/Platform.h: Removed.
+        * kxmlcore/RefPtr.h: Removed.
+        * kxmlcore/Vector.h: Removed.
+        * wtf: Added.
+
 2006-04-11  Darin Adler  <darin@apple.com>
 
         - try to fix Windows build
index f97f32b..c91c906 100644 (file)
@@ -1,2 +1,2 @@
-#include <kxmlcore/Platform.h>
+#include <wtf/Platform.h>
 
index 12f98ea..a146a1c 100644 (file)
@@ -1,3 +1,167 @@
+2006-05-09  Maciej Stachowiak  <mjs@apple.com>
+
+        Rubber stamped by Anders.
+        
+        - renamed kxmlcore to wtf
+        
+        kxmlcore --> wtf
+        KXMLCore --> WTF
+        WKC --> WTF
+
+        * ForwardingHeaders/kxmlcore: Removed.
+        * ForwardingHeaders/kxmlcore/AlwaysInline.h: Removed.
+        * ForwardingHeaders/kxmlcore/Assertions.h: Removed.
+        * ForwardingHeaders/kxmlcore/FastMalloc.h: Removed.
+        * ForwardingHeaders/kxmlcore/Forward.h: Removed.
+        * ForwardingHeaders/kxmlcore/HashCountedSet.h: Removed.
+        * ForwardingHeaders/kxmlcore/HashMap.h: Removed.
+        * ForwardingHeaders/kxmlcore/HashSet.h: Removed.
+        * ForwardingHeaders/kxmlcore/HashTraits.h: Removed.
+        * ForwardingHeaders/kxmlcore/Noncopyable.h: Removed.
+        * ForwardingHeaders/kxmlcore/OwnArrayPtr.h: Removed.
+        * ForwardingHeaders/kxmlcore/OwnPtr.h: Removed.
+        * ForwardingHeaders/kxmlcore/PassRefPtr.h: Removed.
+        * ForwardingHeaders/kxmlcore/Platform.h: Removed.
+        * ForwardingHeaders/kxmlcore/RefPtr.h: Removed.
+        * ForwardingHeaders/kxmlcore/Vector.h: Removed.
+        * ForwardingHeaders/wtf: Added.
+        * bindings/js/JSHTMLElementWrapperFactory.h:
+        * bindings/js/kjs_binding.cpp:
+        * bindings/js/kjs_window.h:
+        * bindings/objc/DOMImplementationFront.h:
+        * bridge/JavaAppletWidget.h:
+        * bridge/mac/WebCoreFrameNamespaces.mm:
+        * bridge/mac/WebCorePageBridge.mm:
+        (initializeLogChannel):
+        * bridge/mac/WebCoreStringTruncator.mm:
+        * bridge/mac/WebCoreViewFactory.m:
+        * config.h:
+        * css/css_base.h:
+        * css/css_valueimpl.h:
+        * css/csshelper.cpp:
+        * css/cssparser.h:
+        * dom/DOMImplementation.h:
+        * dom/Document.h:
+        * dom/NamedNodeMap.h:
+        * dom/Node.h:
+        * dom/NodeList.h:
+        * dom/QualifiedName.cpp:
+        * dom/Range.h:
+        * dom/StyledElement.cpp:
+        * dom/dom2_traversalimpl.h:
+        * dom/xml_tokenizer.h:
+        * editing/RebalanceWhitespaceCommand.cpp:
+        * editing/RemoveCSSPropertyCommand.cpp:
+        * editing/RemoveNodeAttributeCommand.cpp:
+        * editing/RemoveNodeCommand.cpp:
+        * editing/RemoveNodePreservingChildrenCommand.cpp:
+        * editing/ReplaceSelectionCommand.h:
+        * editing/Selection.cpp:
+        * editing/SetNodeAttributeCommand.cpp:
+        * editing/SplitElementCommand.cpp:
+        * editing/SplitTextNodeCommand.cpp:
+        * editing/SplitTextNodeContainingElementCommand.cpp:
+        * editing/TextIterator.h:
+        * editing/htmlediting.h:
+        * editing/markup.h:
+        * html/CanvasGradient.h:
+        * html/CanvasRenderingContext2D.h:
+        * html/CanvasStyle.cpp:
+        * html/HTMLCollection.h:
+        * html/HTMLElementFactory.h:
+        * kcanvas/KCanvasFilters.cpp:
+        * kcanvas/KCanvasPath.h:
+        * kcanvas/RenderPath.cpp:
+        * kcanvas/RenderSVGImage.cpp:
+        * kcanvas/RenderSVGText.cpp:
+        * kcanvas/device/quartz/KCanvasItemQuartz.mm:
+        * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
+        * kcanvas/device/quartz/QuartzSupport.mm:
+        * ksvg2/misc/KSVGTimeScheduler.h:
+        * ksvg2/misc/SVGDocumentExtensions.h:
+        * ksvg2/scripts/make_names.pl:
+        * ksvg2/svg/SVGDOMImplementation.cpp:
+        * ksvg2/svg/SVGExternalResourcesRequired.h:
+        * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
+        * ksvg2/svg/SVGForeignObjectElement.cpp:
+        * ksvg2/svg/SVGImageElement.cpp:
+        * ksvg2/svg/SVGMaskElement.cpp:
+        * ksvg2/svg/SVGStyledElement.cpp:
+        * ksvg2/svg/SVGTests.h:
+        * ksvg2/svg/SVGTransform.h:
+        * ksvg2/svg/SVGTransformable.cpp:
+        * kwq/AccessibilityObjectCache.h:
+        * kwq/KWQCString.cpp:
+        * kwq/KWQFormData.mm:
+        * kwq/KWQListBox.mm:
+        * kwq/KWQResourceLoader.mm:
+        * kwq/KWQTextEdit.mm:
+        * loader/Cache.h:
+        * loader/CachedObject.h:
+        * loader/CachedObjectClientWalker.h:
+        * loader/Decoder.h:
+        * loader/DocLoader.h:
+        * loader/loader.cpp:
+        * loader/loader.h:
+        * page/DOMWindow.h:
+        * page/Frame.h:
+        * page/FramePrivate.h:
+        * page/FrameTree.cpp:
+        * page/Page.cpp:
+        * page/Page.h:
+        * page/Plugin.h:
+        * platform/Arena.cpp:
+        * platform/ArrayImpl.h:
+        * platform/AtomicString.cpp:
+        * platform/CharsetNames.cpp:
+        * platform/Color.cpp:
+        * platform/DeprecatedPtrListImpl.cpp:
+        * platform/DeprecatedValueListImpl.h:
+        * platform/FontFallbackList.h:
+        * platform/GraphicsContext.h:
+        * platform/GraphicsTypes.cpp:
+        * platform/Image.h:
+        * platform/KURL.cpp:
+        * platform/Logging.cpp:
+        * platform/Logging.h:
+        * platform/PlatformString.h:
+        * platform/PlugInInfoStore.h:
+        * platform/StreamingTextDecoder.cpp:
+        * platform/StreamingTextDecoder.h:
+        * platform/String.cpp:
+        * platform/StringHash.h:
+        * platform/StringImpl.cpp:
+        * platform/StringImpl.h:
+        * platform/TextEncoding.cpp:
+        * platform/Timer.cpp:
+        * platform/Timer.h:
+        * platform/TransferJob.h:
+        * platform/TransferJobInternal.h:
+        * platform/mac/BlockExceptions.mm:
+        * platform/mac/ColorMac.mm:
+        * platform/mac/FontData.mm:
+        * platform/mac/KURLMac.mm:
+        * platform/mac/QStringMac.mm:
+        * platform/mac/SharedTimerMac.cpp:
+        * platform/mac/TextEncodingMac.cpp:
+        * platform/mac/WebCoreImageRendererFactory.m:
+        * platform/mac/WebCoreKeyGenerator.m:
+        * platform/mac/WebCoreTextArea.mm:
+        * platform/mac/WebCoreTextField.mm:
+        * platform/mac/WebTextRendererFactory.h:
+        * platform/mac/WebTextRendererFactory.mm:
+        * platform/win/TemporaryLinkStubs.cpp:
+        (JavaAppletWidget::JavaAppletWidget):
+        * rendering/InlineTextBox.cpp:
+        * rendering/RenderText.cpp:
+        * rendering/RenderTreeAsText.cpp:
+        * rendering/bidi.cpp:
+        * xml/XSLTProcessor.h:
+        * xpath/impl/XPathExpressionNode.h:
+        * xpath/impl/XPathParser.h:
+        * xpath/impl/XPathPath.h:
+        * xpath/impl/XPathUtil.h:
+
 2006-05-09  Anders Carlsson  <acarlsson@apple.com>
 
         Reviewed by Maciej.
index d876c91..f76de8d 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef JSHTMLELEMENTWRAPPERFACTORY_H
 #define JSHTMLELEMENTWRAPPERFACTORY_H
 
-#include <kxmlcore/Forward.h>
+#include <wtf/Forward.h>
 
 namespace KJS {
     class DOMNode;
index d641d4d..3af9528 100644 (file)
@@ -36,7 +36,7 @@
 #include "kjs_window.h"
 #include <kjs/collector.h>
 #include <kjs/internal.h> // for InterpreterImp
-#include <kxmlcore/HashMap.h>
+#include <wtf/HashMap.h>
 
 using namespace WebCore;
 using namespace EventNames;
index 2ff7013..ef102d4 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "DeprecatedString.h"
 #include "kjs_binding.h"
-#include <kxmlcore/HashMap.h>
+#include <wtf/HashMap.h>
 
 namespace WebCore {
     class AtomicString;
index 33c6965..3a8bdc9 100644 (file)
@@ -27,7 +27,7 @@
 // we should consider increasing the minimum required version of gcc to build
 // WebCore, and rolling the change that introduced this file back.
 
-#include <kxmlcore/Forward.h>
+#include <wtf/Forward.h>
 
 namespace WebCore {
 
index 679ca80..bf16373 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "StringHash.h"
 #include "Widget.h"
-#include <kxmlcore/HashMap.h>
+#include <wtf/HashMap.h>
 
 namespace WebCore {
     class Element;
index 02386db..6ae48b7 100644 (file)
@@ -30,7 +30,7 @@
 #import "WebCoreFrameNamespaces.h"
 
 #import "Page.h"
-#import <kxmlcore/HashSet.h>
+#import <wtf/HashSet.h>
 
 using namespace WebCore;
 
index 0c2c75f..1a2a88d 100644 (file)
@@ -35,16 +35,16 @@ using namespace WebCore;
 
 @implementation WebCorePageBridge
 
-static inline void initializeLogChannel(KXCLogChannel &channel)
+static inline void initializeLogChannel(WTFLogChannel &channel)
 {
-    channel.state = KXCLogChannelOff;
+    channel.state = WTFLogChannelOff;
     NSString *logLevelString = [[NSUserDefaults standardUserDefaults] objectForKey:[NSString stringWithUTF8String:channel.defaultName]];
     if (logLevelString) {
         unsigned logLevel;
         if (![[NSScanner scannerWithString:logLevelString] scanHexInt:&logLevel])
             NSLog(@"unable to parse hex value for %s (%@), logging is off", channel.defaultName, logLevelString);
         if ((logLevel & channel.mask) == channel.mask)
-            channel.state = KXCLogChannelOn;
+            channel.state = WTFLogChannelOn;
     }
 }
 
index 09586c8..595be80 100644 (file)
@@ -31,7 +31,7 @@
 
 #import <Cocoa/Cocoa.h>
 
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 #import "WebTextRendererFactory.h"
 #import "FontData.h"
 
index 75b9171..5398989 100644 (file)
@@ -24,7 +24,7 @@
  */
 #include "config.h"
 #import "WebCoreViewFactory.h"
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 
 @implementation WebCoreViewFactory
 
index cc34c2e..f44eb1b 100644 (file)
@@ -18,7 +18,7 @@
  *
  */
 
-#include <kxmlcore/Platform.h>
+#include <wtf/Platform.h>
 
 #define KHTML_NO_XBL 1
 #define KHTML_XSLT 1
@@ -57,7 +57,7 @@ typedef float CGFloat;
 // Helps us catch if anyone uses new or delete by accident in code and doesn't include "config.h".
 #undef new
 #undef delete
-#include <kxmlcore/FastMalloc.h>
+#include <wtf/FastMalloc.h>
 
 #endif
 
index a9e971b..caecd3e 100644 (file)
@@ -25,7 +25,7 @@
 #define CSS_BASE_H
 
 #include "QualifiedName.h"
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 
 namespace WebCore {
 
index 3b96cd1..6969705 100644 (file)
@@ -27,7 +27,7 @@
 #include "css_base.h"
 #include "DeprecatedPtrList.h"
 #include "DeprecatedValueList.h"
-#include <kxmlcore/PassRefPtr.h>
+#include <wtf/PassRefPtr.h>
 
 class QPaintDeviceMetrics;
 
index 7638108..ba3c42e 100644 (file)
@@ -25,7 +25,7 @@
 #include "csshelper.h"
 
 #include "PlatformString.h"
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 
 namespace WebCore {
 
index 60910ab..a1754c5 100644 (file)
@@ -25,8 +25,8 @@
 
 #include "AtomicString.h"
 #include "Color.h"
-#include <kxmlcore/HashSet.h>
-#include <kxmlcore/Vector.h>
+#include <wtf/HashSet.h>
+#include <wtf/Vector.h>
 
 namespace WebCore {
 
index b91a853..a8c2f6b 100644 (file)
@@ -27,7 +27,7 @@
 #define DOM_DOMImplementationImpl_h
 
 #include "Shared.h"
-#include <kxmlcore/Forward.h>
+#include <wtf/Forward.h>
 
 namespace WebCore {
 
index 9faa16a..7c443f7 100644 (file)
@@ -35,7 +35,7 @@
 #include "Timer.h"
 #include "Decoder.h"
 #include "dom2_traversalimpl.h"
-#include <kxmlcore/HashCountedSet.h>
+#include <wtf/HashCountedSet.h>
 #include "DeprecatedPtrList.h"
 
 class RenderArena;
@@ -128,7 +128,7 @@ struct FormElementKeyHash {
     static bool equal(const FormElementKey& a, const FormElementKey& b) { return a == b; }
 };
 
-struct FormElementKeyHashTraits : KXMLCore::GenericHashTraits<FormElementKey> {
+struct FormElementKeyHashTraits : WTF::GenericHashTraits<FormElementKey> {
     static FormElementKey deletedValue();
 };
 
index a45bd05..b729bf9 100644 (file)
@@ -27,7 +27,7 @@
 #define DOM_NamedNodeMapImpl_h
 
 #include "Shared.h"
-#include <kxmlcore/PassRefPtr.h>
+#include <wtf/PassRefPtr.h>
 
 namespace WebCore {
 
index e01b4a9..d023523 100644 (file)
@@ -28,9 +28,9 @@
 
 #include "DocPtr.h"
 #include "PlatformString.h"
-#include <kxmlcore/Assertions.h>
-#include <kxmlcore/HashSet.h>
-#include <kxmlcore/PassRefPtr.h>
+#include <wtf/Assertions.h>
+#include <wtf/HashSet.h>
+#include <wtf/PassRefPtr.h>
 
 class DeprecatedStringList;
 class QTextStream;
index bf18997..bca2905 100644 (file)
@@ -27,8 +27,8 @@
 #define DOM_NodeList_h
 
 #include "Shared.h"
-#include <kxmlcore/Forward.h>
-#include <kxmlcore/RefPtr.h>
+#include <wtf/Forward.h>
+#include <wtf/RefPtr.h>
 
 namespace WebCore {
 
index 3a5b6cd..87c810d 100644 (file)
@@ -29,8 +29,8 @@
 
 #include "QualifiedName.h"
 #include "StaticConstructors.h"
-#include <kxmlcore/Assertions.h>
-#include <kxmlcore/HashSet.h>
+#include <wtf/Assertions.h>
+#include <wtf/HashSet.h>
 
 namespace WebCore {
 
index 54a219c..5b306fc 100644 (file)
@@ -28,8 +28,8 @@
 #define DOM2_RangeImpl_h_
 
 #include "Shared.h"
-#include <kxmlcore/Forward.h>
-#include <kxmlcore/RefPtr.h>
+#include <wtf/Forward.h>
+#include <wtf/RefPtr.h>
 
 namespace WebCore {
 
index 57e9d32..aa7bbd2 100644 (file)
@@ -48,7 +48,7 @@ struct MappedAttributeKey {
 static inline bool operator==(const MappedAttributeKey& a, const MappedAttributeKey& b)
     { return a.type == b.type && a.name == b.name && a.value == b.value; } 
 
-struct MappedAttributeKeyTraits : KXMLCore::GenericHashTraits<MappedAttributeKey> {
+struct MappedAttributeKeyTraits : WTF::GenericHashTraits<MappedAttributeKey> {
     static const bool emptyValueIsZero = true;
     static const bool needsDestruction = false;
     static MappedAttributeKey deletedValue() { return eLastEntry; }
index 4bd3f4f..2505581 100644 (file)
@@ -27,9 +27,9 @@
 #define dom2_traversal_h
 
 #include "Shared.h"
-#include <kxmlcore/Forward.h>
-#include <kxmlcore/Noncopyable.h>
-#include <kxmlcore/RefPtr.h>
+#include <wtf/Forward.h>
+#include <wtf/Noncopyable.h>
+#include <wtf/RefPtr.h>
 
 namespace WebCore {
 
index ba2ca69..1c829bc 100644 (file)
@@ -25,7 +25,7 @@
 #define XML_Tokenizer_h_
 
 #include "StringHash.h"
-#include <kxmlcore/HashMap.h>
+#include <wtf/HashMap.h>
 
 namespace WebCore {
 
index d0dc70c..0bd8ee4 100644 (file)
@@ -29,7 +29,7 @@
 #include "Document.h"
 #include "htmlediting.h"
 #include "TextIterator.h"
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 namespace WebCore {
 
index 6bd2c83..8f7539c 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "css_valueimpl.h"
 
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 namespace WebCore {
 
index 344ab48..af7a72f 100644 (file)
@@ -27,7 +27,7 @@
 #include "RemoveNodeAttributeCommand.h"
 #include "Element.h"
 
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 namespace WebCore {
 
index b21b778..53f08aa 100644 (file)
@@ -27,7 +27,7 @@
 #include "RemoveNodeCommand.h"
 
 #include "Node.h"
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 namespace WebCore {
 
index bfe192f..10d1d69 100644 (file)
@@ -27,7 +27,7 @@
 #include "RemoveNodePreservingChildrenCommand.h"
 
 #include "Node.h"
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 namespace WebCore {
 
index aeb6b32..ce75f09 100644 (file)
@@ -27,8 +27,8 @@
 #define replace_selection_command_h__
 
 #include "CompositeEditCommand.h"
-#include <kxmlcore/HashMap.h>
-#include <kxmlcore/Vector.h>
+#include <wtf/HashMap.h>
+#include <wtf/Vector.h>
 
 namespace WebCore {
 
index a9a5acd..bba4149 100644 (file)
@@ -32,7 +32,7 @@
 #include "VisiblePosition.h"
 #include "visible_units.h"
 #include "Range.h"
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 namespace WebCore {
 
index 71b79a8..59b25aa 100644 (file)
@@ -27,7 +27,7 @@
 #include "SetNodeAttributeCommand.h"
 #include "Element.h"
 
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 namespace WebCore {
 
index 1c9532c..ea61549 100644 (file)
@@ -27,7 +27,7 @@
 #include "SplitElementCommand.h"
 #include "Element.h"
 
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 namespace WebCore {
 
index 56ff37a..841a8af 100644 (file)
@@ -29,7 +29,7 @@
 #include "Document.h"
 #include "Text.h"
 
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 using WebCore::Document;
 using WebCore::Text;
index 6848bb7..fe0f4db 100644 (file)
@@ -29,7 +29,7 @@
 #include "Element.h"
 #include "Text.h"
 #include "RenderObject.h"
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 namespace WebCore {
 
index 04d92fd..592cc31 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "InlineTextBox.h"
 #include "Range.h"
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 
 namespace WebCore {
 
index df0a294..c1de062 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef htmlediting_h
 #define htmlediting_h
 
-#include <kxmlcore/Forward.h>
+#include <wtf/Forward.h>
 
 namespace WebCore {
 
index df62f0f..11277aa 100644 (file)
@@ -27,7 +27,7 @@
 #define KHTML_EDITING_MARKUP_H
 
 #include "HTMLInterchange.h"
-#include <kxmlcore/Forward.h>
+#include <wtf/Forward.h>
 
 template <class T> class DeprecatedPtrList;
 
index b19b286..3c96078 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "FloatPoint.h"
 #include "Shared.h"
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 
 #if __APPLE__
 typedef struct CGShading* CGShadingRef;
index 79ba15b..4859069 100644 (file)
@@ -30,7 +30,7 @@
 #include "GraphicsTypes.h"
 #include "Path.h"
 #include "PlatformString.h"
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 
 #if __APPLE__
 #include <ApplicationServices/ApplicationServices.h>
index feab486..c0ef868 100644 (file)
@@ -30,7 +30,7 @@
 #include "CanvasPattern.h"
 #include "GraphicsContext.h"
 #include "cssparser.h"
-#include <kxmlcore/PassRefPtr.h>
+#include <wtf/PassRefPtr.h>
 
 namespace WebCore {
 
index 22b1a1a..10ebd80 100644 (file)
@@ -26,9 +26,9 @@
 #define HTMLCollectionImpl_H
 
 #include "Shared.h"
-#include <kxmlcore/Forward.h>
-#include <kxmlcore/HashMap.h>
-#include <kxmlcore/Vector.h>
+#include <wtf/Forward.h>
+#include <wtf/HashMap.h>
+#include <wtf/Vector.h>
 
 template <typename T> class DeprecatedValueList;
 
index 2b2eaae..b2cba89 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef HTMLELEMENTFACTORY_H
 #define HTMLELEMENTFACTORY_H
 
-#include <kxmlcore/Forward.h>
+#include <wtf/Forward.h>
 
 namespace WebCore {
 
index df33e6e..bcbd404 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "KWQTextStream.h"
 #include "KCanvasTreeDebug.h"
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 namespace WebCore {
 
index 59473ea..963936f 100644 (file)
@@ -26,7 +26,7 @@
 #if SVG_SUPPORT
 
 #include "DeprecatedValueList.h"
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 #include "Shared.h"
 #include "FloatRect.h"
 
index 800cf3b..3e40f3e 100644 (file)
@@ -31,7 +31,7 @@
 #include "KRenderingFillPainter.h"
 #include "KRenderingStrokePainter.h"
 #include "SVGStyledElement.h"
-#include <kxmlcore/OwnPtr.h>
+#include <wtf/OwnPtr.h>
 
 namespace WebCore {
 
index a768db1..a65f0bc 100644 (file)
@@ -35,7 +35,7 @@
 #include "SVGImageElement.h"
 #include "SVGImageElement.h"
 #include "ksvg.h"
-#include <kxmlcore/OwnPtr.h>
+#include <wtf/OwnPtr.h>
 
 namespace WebCore {
 
index a73a40f..110d7ff 100644 (file)
@@ -31,7 +31,7 @@
 #include "KRenderingDevice.h"
 #include "SVGAnimatedLengthList.h"
 #include "SVGTextElement.h"
-#include <kxmlcore/OwnPtr.h>
+#include <wtf/OwnPtr.h>
 
 namespace WebCore {
 
index 1b310b9..d9aca0b 100644 (file)
@@ -28,7 +28,7 @@
 #if SVG_SUPPORT
 #import "KCanvasItemQuartz.h"
 
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 
 #import "kcanvas/RenderPath.h"
 #import "KCanvasRenderingStyle.h"
index 8626483..e95395e 100644 (file)
@@ -42,7 +42,7 @@
 #import "KCanvasResourcesQuartz.h"
 #import "KCanvasImage.h"
 
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 
 namespace WebCore {
     
index 7cdceda..e0f5b4d 100644 (file)
@@ -33,7 +33,7 @@
 #import "KRenderingFillPainter.h"
 #import "KRenderingStrokePainter.h"
 #import "KCanvasRenderingStyle.h"
-#import "kxmlcore/Assertions.h"
+#import "wtf/Assertions.h"
 
 #import <QuartzCore/CoreImage.h>
 
index dfbd205..71ad357 100644 (file)
@@ -25,7 +25,7 @@
 #define KSVG_TimeScheduler_H
 #if SVG_SUPPORT
 
-#include <kxmlcore/HashSet.h>
+#include <wtf/HashSet.h>
 
 namespace WebCore {
     class Document;
index 505e93a..7f82c29 100644 (file)
@@ -24,7 +24,7 @@
 
 #if SVG_SUPPORT
 
-#include <kxmlcore/Forward.h>
+#include <wtf/Forward.h>
 
 namespace WebCore {
 
index 2ec4d98..8f36992 100755 (executable)
@@ -363,13 +363,13 @@ END
 printElementIncludes(@tags);
 
 print <<END
-#include <kxmlcore/HashMap.h>
+#include <wtf/HashMap.h>
 
 using namespace WebCore;
 using namespace ${cppNamespace}::${namespace}Names;
 
 typedef ${namespace}Element *(*ConstructorFunc)(Document *doc, bool createdByParser);
-typedef KXMLCore::HashMap<AtomicStringImpl*, ConstructorFunc> FunctionMap;
+typedef WTF::HashMap<AtomicStringImpl*, ConstructorFunc> FunctionMap;
 
 static FunctionMap *gFunctionMap = 0;
 
index c85cd70..3f64c0a 100644 (file)
@@ -34,7 +34,7 @@
 #include "SVGSVGElement.h"
 #include "css_stylesheetimpl.h"
 #include "ksvg.h"
-#include <kxmlcore/HashSet.h>
+#include <wtf/HashSet.h>
 
 using namespace WebCore;
 
index f392776..6631e86 100644 (file)
@@ -24,7 +24,7 @@
 #define KSVG_SVGExternalResourcesRequiredImpl_H
 #if SVG_SUPPORT
 
-#include <kxmlcore/RefPtr.h>
+#include <wtf/RefPtr.h>
 
 namespace WebCore {
     class MappedAttribute;
index 812e23c..ad8fb80 100644 (file)
@@ -23,7 +23,7 @@
 #include "config.h"
 #if SVG_SUPPORT
 #include "Attr.h"
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 #include "ksvg.h"
 #include "SVGNames.h"
index c7469e7..8fb0cc7 100644 (file)
@@ -29,7 +29,7 @@
 #include "SVGAnimatedLength.h"
 #include "RenderForeignObject.h"
 
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 #include "CSSPropertyNames.h"
 
index 1c1a306..b0d7391 100644 (file)
@@ -41,7 +41,7 @@
 #include <kcanvas/KCanvasCreator.h>
 #include <kcanvas/KCanvasImage.h>
 #include <kcanvas/KCanvasPath.h>
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 using namespace WebCore;
 
index 4ffda2c..385eafe 100644 (file)
@@ -37,7 +37,7 @@
 #include "cssstyleselector.h"
 #include "ksvg.h"
 #include "Attr.h"
-#include <kxmlcore/OwnPtr.h>
+#include <wtf/OwnPtr.h>
 
 namespace WebCore {
 
index ad7605a..81e9adf 100644 (file)
@@ -43,7 +43,7 @@
 #include "ksvgcssproperties.h"
 #include <kcanvas/KCanvasCreator.h>
 #include <kcanvas/device/KRenderingDevice.h>
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 namespace WebCore {
 
index 3c7461d..d2af80b 100644 (file)
@@ -24,7 +24,7 @@
 #define KSVG_SVGTestsImpl_H
 #if SVG_SUPPORT
 
-#include <kxmlcore/RefPtr.h>
+#include <wtf/RefPtr.h>
 
 namespace WebCore
 {
index 4f26ed5..e275117 100644 (file)
@@ -25,7 +25,7 @@
 #if SVG_SUPPORT
 
 #include "Shared.h"
-#include <kxmlcore/RefPtr.h>
+#include <wtf/RefPtr.h>
 
 namespace WebCore {
 
index 471ffaf..2c44c1c 100644 (file)
@@ -24,7 +24,7 @@
 #if SVG_SUPPORT
 #include "RegularExpression.h"
 #include "DeprecatedStringList.h"
-#include <kxmlcore/RefPtr.h>
+#include <wtf/RefPtr.h>
 
 #include "Attr.h"
 
index c83cb39..45c3f38 100644 (file)
@@ -26,8 +26,8 @@
 #ifndef AccessibilityObjectCache_h
 #define AccessibilityObjectCache_h
 
-#include <kxmlcore/HashMap.h>
-#include <kxmlcore/HashSet.h>
+#include <wtf/HashMap.h>
+#include <wtf/HashSet.h>
 
 #ifdef __OBJC__
 @class WebCoreAXObject;
@@ -45,7 +45,7 @@ namespace WebCore {
 
     typedef unsigned AXID;
 
-    struct AXIDHashTraits : KXMLCore::GenericHashTraits<unsigned> {
+    struct AXIDHashTraits : WTF::GenericHashTraits<unsigned> {
         static TraitType deletedValue() { return UINT_MAX; }
     };
 
index e65cbef..fd3e524 100644 (file)
@@ -26,7 +26,7 @@
 #include "config.h"
 #include "KWQCString.h"
 
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 #include <ctype.h>
 
 DeprecatedCString::DeprecatedCString()
index db9d4e1..ff4fa06 100644 (file)
@@ -26,7 +26,7 @@
 #include "config.h"
 #import "KWQFormData.h"
 
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 #import "FormData.h"
 
 using WebCore::FormData;
index 9fb9af7..5222c12 100644 (file)
@@ -32,7 +32,7 @@
 #import "FontData.h"
 #import "WebTextRendererFactory.h"
 #import "WebCoreWidgetHolder.h"
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 
 #import "render_form.h"
 
index e099611..5fd91a3 100644 (file)
@@ -29,7 +29,7 @@
 #import "TransferJob.h"
 #import "KURL.h"
 #import "loader.h"
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 
 using namespace WebCore;
 
index 46feb59..8cf13a2 100644 (file)
@@ -32,7 +32,7 @@
 #import "KWQLineEdit.h"
 #import "WebCoreTextArea.h"
 #import "WidgetClient.h"
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 
 using namespace WebCore;
 
index c912938..f314589 100644 (file)
@@ -30,7 +30,7 @@
 #include "PlatformString.h"
 #include "KWQKIOGlobal.h"
 #include "DeprecatedPtrList.h"
-#include <kxmlcore/HashSet.h>
+#include <wtf/HashSet.h>
 
 class KURL;
 
index 2fa59aa..2f45ad3 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "PlatformString.h"
 #include "KWQKIOGlobal.h"
-#include <kxmlcore/HashSet.h>
+#include <wtf/HashSet.h>
 #include <time.h>
 
 #if __OBJC__
index d2b36ea..7c37843 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef KHTML_CachedObjectClientWalker_h
 #define KHTML_CachedObjectClientWalker_h
 
-#include <kxmlcore/HashSet.h>
+#include <wtf/HashSet.h>
 
 namespace WebCore {
 
index e04039b..cbd0203 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef KHTMLDECODER_H
 #define KHTMLDECODER_H
 
-#include <kxmlcore/OwnPtr.h>
+#include <wtf/OwnPtr.h>
 #include "TextEncoding.h"
 
 namespace WebCore {
index c8ca163..79f5d73 100644 (file)
@@ -31,7 +31,7 @@
 #include "KWQKIOGlobal.h"
 #include "DeprecatedPtrList.h"
 #include "DeprecatedStringList.h"
-#include "kxmlcore/HashMap.h"
+#include "wtf/HashMap.h"
 #include "StringHash.h"
 
 class KURL;
index 1ccb627..1766dab 100644 (file)
@@ -38,8 +38,8 @@
 #include "HTMLDocument.h"
 #include "TransferJob.h"
 #include "TransferJob.h"
-#include <kxmlcore/Assertions.h>
-#include <kxmlcore/Vector.h>
+#include <wtf/Assertions.h>
+#include <wtf/Vector.h>
 
 namespace WebCore {
 
index f6bedd2..7f84837 100644 (file)
@@ -28,7 +28,7 @@
 #define KHTML_Loader_h
 
 #include "TransferJobClient.h"
-#include <kxmlcore/HashMap.h>
+#include <wtf/HashMap.h>
 #include "DeprecatedPtrList.h"
 
 #if __OBJC__
index fd24680..4242a8e 100644 (file)
@@ -27,8 +27,8 @@
 #define DOMWindow_h
 
 #include "Shared.h"
-#include <kxmlcore/Noncopyable.h>
-#include <kxmlcore/PassRefPtr.h>
+#include <wtf/Noncopyable.h>
+#include <wtf/PassRefPtr.h>
 
 namespace WebCore {
     class CSSRuleList;
index e557fa7..853cabd 100644 (file)
@@ -38,7 +38,7 @@
 #include "TextAffinity.h"
 #include "TextGranularity.h"
 #include "TransferJobClient.h"
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 #include "RenderObject.h"
 
 class KHTMLSettings;
index fc6004c..5b2d43f 100644 (file)
@@ -37,7 +37,7 @@
 #include "css_valueimpl.h"
 #include "kjs_proxy.h"
 #include "KWQKIOGlobal.h"
-#include <kxmlcore/HashMap.h>
+#include <wtf/HashMap.h>
 
 namespace WebCore {
 
index d8d0b9f..00e2bcf 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "Frame.h"
 #include "Page.h"
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 #include <stdarg.h>
 
 using std::swap;
index d8462a6..0caf88d 100644 (file)
@@ -26,7 +26,7 @@
 #include "StringHash.h"
 #include <kjs/collector.h>
 #include <kjs/JSLock.h>
-#include <kxmlcore/HashMap.h>
+#include <wtf/HashMap.h>
 
 using namespace KJS;
 
index a1a7992..801ab6d 100644 (file)
@@ -22,7 +22,7 @@
 #define PAGE_H
 
 #include "PlatformString.h"
-#include <kxmlcore/HashSet.h>
+#include <wtf/HashSet.h>
 
 #if __APPLE__
 #ifdef __OBJC__
index 84bec22..17d5214 100644 (file)
@@ -22,7 +22,7 @@
 #define PLUGIN_H
 
 #include "Shared.h"
-#include <kxmlcore/Noncopyable.h>
+#include <wtf/Noncopyable.h>
 
 namespace WebCore {
 
index 6e1f966..c0af2b9 100644 (file)
@@ -49,7 +49,7 @@
 #include <algorithm>
 #include <stdlib.h>
 #include <string.h>
-#include <kxmlcore/FastMalloc.h>
+#include <wtf/FastMalloc.h>
 #include <assert.h>
 
 using std::max;
index 3337264..1fc6566 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef ARRAY_IMPL_H
 #define ARRAY_IMPL_H
 
-#include <kxmlcore/RefPtr.h>
+#include <wtf/RefPtr.h>
 #include "Shared.h"
 
 namespace WebCore {
index 80f2b75..fe919bf 100644 (file)
@@ -31,7 +31,7 @@
 #include "StaticConstructors.h"
 #include "StringHash.h"
 #include <kjs/identifier.h>
-#include <kxmlcore/HashSet.h>
+#include <wtf/HashSet.h>
 
 using namespace KJS;
 
index ba2cf37..045ae7d 100644 (file)
 #include "CharsetNames.h"
 
 #include "CharsetData.h"
-#include <kxmlcore/HashMap.h>
+#include <wtf/HashMap.h>
 #include <unicode/ucnv.h>
 #include <unicode/utypes.h>
 
-using namespace KXMLCore;
+using namespace WTF;
 using namespace WebCore;
 
 namespace WebCore {
@@ -43,7 +43,7 @@ struct TextEncodingIDHashTraits : GenericHashTraits<TextEncodingID> {
 
 }
 
-namespace KXMLCore {
+namespace WTF {
 
 template<> struct HashKeyStorageTraits<IntHash<TextEncodingID>, TextEncodingIDHashTraits> {
     typedef IntTypes<sizeof(TextEncodingID)>::SignedType IntType;
index 0d0f8e5..2d7b7ba 100644 (file)
@@ -27,7 +27,7 @@
 #include "Color.h"
 
 #include "PlatformString.h"
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 #include "ColorData.c"
 
index 963185e..523f6b0 100644 (file)
@@ -28,7 +28,7 @@
 
 #include <cstddef>
 #include <algorithm>
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 class KWQListNode
 {
index 3d0482f..6e714b3 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef KWQVALUELIST_H_
 #define KWQVALUELIST_H_
 
-#include <kxmlcore/RefPtr.h>
+#include <wtf/RefPtr.h>
 
 class DeprecatedValueListImplNode;
 
index 2cb6e91..f0b59e2 100644 (file)
@@ -24,7 +24,7 @@
 // This file has no guards on purpose in order to detect redundant includes. This is a private header
 // and so this should catch anyone trying to include this file in public cpp files.
 
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 
 namespace WebCore {
 
index 8552ced..d847718 100644 (file)
@@ -31,7 +31,7 @@
 #include "IntRect.h"
 #include "Pen.h"
 #include "TextDirection.h"
-#include <kxmlcore/Noncopyable.h>
+#include <wtf/Noncopyable.h>
 
 #if __APPLE__
 typedef struct CGContext PlatformGraphicsContext;
index ff466d8..736356f 100644 (file)
@@ -27,7 +27,7 @@
 #include "GraphicsTypes.h"
 
 #include "PlatformString.h"
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 namespace WebCore {
 
index efca128..04462f7 100644 (file)
@@ -31,8 +31,8 @@
 #include "ImageSource.h"
 #include "IntSize.h"
 #include "FloatSize.h"
-#include <kxmlcore/Noncopyable.h>
-#include <kxmlcore/Vector.h>
+#include <wtf/Noncopyable.h>
+#include <wtf/Vector.h>
 
 #if __APPLE__
 #if __OBJC__
@@ -49,7 +49,7 @@ namespace WebCore {
 // This complicated-looking declaration tells the framedata Vector that it can copy without
 // having to invoke our copy constructor. This allows us to not have to worry about ref counting
 // the native frames.
-namespace KXMLCore { 
+namespace WTF { 
     template<> class VectorTraits<WebCore::FrameData> : public SimpleClassVectorTraits {};
 }
 
index 7634432..3f2f3e9 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "PlatformString.h"
 #include "RegularExpression.h"
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 #include <unicode/uidna.h>
 #include <assert.h>
 
index 9ec09a2..77ff95f 100644 (file)
 #include "config.h"
 #include "Logging.h"
 
-KXCLogChannel LogNotYetImplemented = { 0x00000001, "WebCoreLogLevel", KXCLogChannelOff };
+WTFLogChannel LogNotYetImplemented = { 0x00000001, "WebCoreLogLevel", WTFLogChannelOff };
 
-KXCLogChannel LogFrames =            { 0x00000010, "WebCoreLogLevel", KXCLogChannelOff };
-KXCLogChannel LogLoading =           { 0x00000020, "WebCoreLogLevel", KXCLogChannelOff };
+WTFLogChannel LogFrames =            { 0x00000010, "WebCoreLogLevel", WTFLogChannelOff };
+WTFLogChannel LogLoading =           { 0x00000020, "WebCoreLogLevel", WTFLogChannelOff };
 
-KXCLogChannel LogPopupBlocking =     { 0x00000040, "WebCoreLogLevel", KXCLogChannelOff };
+WTFLogChannel LogPopupBlocking =     { 0x00000040, "WebCoreLogLevel", WTFLogChannelOff };
 
-KXCLogChannel LogEvents =            { 0x00000080, "WebCoreLogLevel", KXCLogChannelOff };
-KXCLogChannel LogEditing =           { 0x00000100, "WebCoreLogLevel", KXCLogChannelOff };
-KXCLogChannel LogTextConversion =    { 0x00000200, "WebCoreLogLevel", KXCLogChannelOff };
-KXCLogChannel LogXPath =             { 0x00000400, "WebCoreLogLevel", KXCLogChannelOff };
+WTFLogChannel LogEvents =            { 0x00000080, "WebCoreLogLevel", WTFLogChannelOff };
+WTFLogChannel LogEditing =           { 0x00000100, "WebCoreLogLevel", WTFLogChannelOff };
+WTFLogChannel LogTextConversion =    { 0x00000200, "WebCoreLogLevel", WTFLogChannelOff };
+WTFLogChannel LogXPath =             { 0x00000400, "WebCoreLogLevel", WTFLogChannelOff };
index 50b9d8a..d3cb4a6 100644 (file)
 #ifndef Logging_H
 #define Logging_H
 
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 #ifndef LOG_CHANNEL_PREFIX
 #define LOG_CHANNEL_PREFIX Log
 #endif
 
-extern KXCLogChannel LogNotYetImplemented;
+extern WTFLogChannel LogNotYetImplemented;
 
-extern KXCLogChannel LogFrames;
-extern KXCLogChannel LogLoading;
-extern KXCLogChannel LogPopupBlocking;
-extern KXCLogChannel LogEvents;
-extern KXCLogChannel LogEditing;
-extern KXCLogChannel LogTextConversion;
-extern KXCLogChannel LogXPath;
+extern WTFLogChannel LogFrames;
+extern WTFLogChannel LogLoading;
+extern WTFLogChannel LogPopupBlocking;
+extern WTFLogChannel LogEvents;
+extern WTFLogChannel LogEditing;
+extern WTFLogChannel LogTextConversion;
+extern WTFLogChannel LogXPath;
 
 #endif
index b8b28f7..c57bbc4 100644 (file)
@@ -168,7 +168,7 @@ inline bool operator!=(const DeprecatedString& b, const String& a ) { return !(a
 
 }
 
-namespace KXMLCore {
+namespace WTF {
 
     // StrHash is the default hash for String
     template<typename T> struct DefaultHash;
index 622f1c6..6a36953 100644 (file)
@@ -27,7 +27,7 @@
 #define PlugInInfoStore_H
 
 #include "PlatformString.h"
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 
 namespace WebCore {
 
index 0d7a256..416d558 100644 (file)
@@ -26,7 +26,7 @@
 #include "config.h"
 #include "StreamingTextDecoder.h"
 
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 using std::min;
 
index 5727b38..a395ed7 100644 (file)
@@ -27,7 +27,7 @@
 #define StreamingTextDecoder_H
 
 #include "TextEncoding.h"
-#include <kxmlcore/Noncopyable.h>
+#include <wtf/Noncopyable.h>
 #include <unicode/ucnv.h>
 #include <unicode/utypes.h>
 
index 4a13a11..a1bb5f7 100644 (file)
@@ -24,7 +24,7 @@
 #include "PlatformString.h"
 
 #include <kjs/identifier.h>
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 #include <stdarg.h>
 
 using namespace KJS;
index b5b45fa..119444b 100644 (file)
@@ -23,9 +23,9 @@
 
 #include "AtomicStringImpl.h"
 #include "PlatformString.h"
-#include <kxmlcore/HashTraits.h>
+#include <wtf/HashTraits.h>
 
-namespace KXMLCore {
+namespace WTF {
 
     template<typename T> struct StrHash;
 
@@ -211,6 +211,6 @@ namespace KXMLCore {
 
 }
 
-using KXMLCore::CaseInsensitiveHash;
+using WTF::CaseInsensitiveHash;
 
 #endif
index fe27cfe..c7c4ed1 100644 (file)
 #include "Length.h"
 #include "StringHash.h"
 #include <kjs/identifier.h>
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 #include <unicode/ubrk.h>
 #include <assert.h>
 
 using namespace KJS;
-using namespace KXMLCore;
+using namespace WTF;
 
 namespace WebCore {
 
index 02da493..14cd72a 100644 (file)
@@ -25,8 +25,8 @@
 #define StringImpl_h
 
 #include "DeprecatedString.h"
-#include <kxmlcore/Forward.h>
-#include <kxmlcore/Noncopyable.h>
+#include <wtf/Forward.h>
+#include <wtf/Noncopyable.h>
 #include <limits.h>
 
 #if __OBJC__
@@ -141,7 +141,7 @@ bool equalIgnoringCase(const char*, const StringImpl*);
 
 }
 
-namespace KXMLCore {
+namespace WTF {
 
     // StrHash is the default hash for StringImpl* and RefPtr<StringImpl>
     template<typename T> struct DefaultHash;
index 33cf82e..e32b79c 100644 (file)
@@ -27,8 +27,8 @@
 #include "TextEncoding.h"
 
 #include "CharsetNames.h"
-#include <kxmlcore/Assertions.h>
-#include <kxmlcore/HashSet.h>
+#include <wtf/Assertions.h>
+#include <wtf/HashSet.h>
 #include "StreamingTextDecoder.h"
 #include <unicode/unorm.h>
 
index a666807..f08f8eb 100644 (file)
@@ -29,8 +29,8 @@
 #include "SharedTimer.h"
 #include "SystemTime.h"
 #include <math.h>
-#include <kxmlcore/HashSet.h>
-#include <kxmlcore/Vector.h>
+#include <wtf/HashSet.h>
+#include <wtf/Vector.h>
 
 using namespace std;
 
index 0f8c7e4..581ee82 100644 (file)
@@ -26,8 +26,8 @@
 #ifndef TIMER_H
 #define TIMER_H
 
-#include <kxmlcore/Noncopyable.h>
-#include <kxmlcore/Vector.h>
+#include <wtf/Noncopyable.h>
+#include <wtf/Vector.h>
 
 namespace WebCore {
 
index f5bc1ff..e408403 100644 (file)
@@ -29,7 +29,7 @@
 #include "StringHash.h"
 #include "Timer.h"
 #include "TransferJobClient.h" // for PlatformResponse
-#include <kxmlcore/HashMap.h>
+#include <wtf/HashMap.h>
 
 #ifdef WIN32
 typedef unsigned long DWORD;
index a424958..4dd5396 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "KURL.h"
 #include "FormData.h"
-#include <kxmlcore/HashMap.h>
+#include <wtf/HashMap.h>
 
 #ifdef WIN32
 typedef void* HANDLE;
index e0bcddf..da55e34 100644 (file)
@@ -25,7 +25,7 @@
 
 #import "config.h"
 #import "BlockExceptions.h"
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 
 void ReportBlockedObjCException(NSException *localException)
 {
index b2dfc06..086898b 100644 (file)
@@ -26,7 +26,7 @@
 #import "config.h"
 #import "Color.h"
 
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 
 @interface WebCoreControlTintObserver : NSObject
 + (void)controlTintDidChange;
index 4f35f93..36130b3 100644 (file)
@@ -32,7 +32,7 @@
 #import "Color.h"
 #import "WebCoreTextRenderer.h"
 
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 
 #import <ApplicationServices/ApplicationServices.h>
 #import <Cocoa/Cocoa.h>
index a1029d7..a3c2f07 100644 (file)
@@ -27,8 +27,8 @@
 #import "KURL.h"
 
 #import "FoundationExtras.h"
-#import <kxmlcore/Assertions.h>
-#import <kxmlcore/Vector.h>
+#import <wtf/Assertions.h>
+#import <wtf/Vector.h>
 
 // KURL
 
index a5ca8d0..266fb73 100644 (file)
@@ -26,7 +26,7 @@
 #include "config.h"
 #include "DeprecatedString.h"
 
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 #import <Foundation/Foundation.h>
 #import "TextEncoding.h"
 
index d9ad159..4b5f21a 100644 (file)
@@ -27,7 +27,7 @@
 #import "SharedTimer.h"
 
 #include <CoreFoundation/CoreFoundation.h>
-#include <kxmlcore/Assertions.h>
+#include <wtf/Assertions.h>
 
 namespace WebCore {
 
index 3e65750..83584cc 100644 (file)
@@ -26,8 +26,8 @@
 #include "config.h"
 #include "TextEncoding.h"
 
-#include <kxmlcore/Assertions.h>
-#include <kxmlcore/HashSet.h>
+#include <wtf/Assertions.h>
+#include <wtf/HashSet.h>
 #include "StreamingTextDecoder.h"
 
 namespace WebCore {
index 8fc5b2e..83f6e06 100644 (file)
@@ -25,7 +25,7 @@
 
 #import "config.h"
 #import "WebCoreImageRendererFactory.h"
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 #import "RenderTreeAsText.h"
 
 @implementation WebCoreImageRendererFactory
index f44cbc8..c1004a7 100644 (file)
@@ -26,7 +26,7 @@
 #import "config.h"
 #import "WebCoreKeyGenerator.h"
 
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 
 static WebCoreKeyGenerator *sharedGenerator;
 
index 3940bce..95cd1f8 100644 (file)
@@ -35,7 +35,7 @@
 #import "FrameMac.h"
 #import "WebCoreFrameBridge.h"
 #import "render_replaced.h"
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 
 using namespace std;
 using namespace WebCore;
index 0c5c507..7dd42db 100644 (file)
@@ -32,7 +32,7 @@
 #import "WebCoreFrameBridge.h"
 #import "WebCoreWidgetHolder.h"
 #import "render_form.h"
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 
 using namespace WebCore;
 
index 3f7783b..99018e9 100644 (file)
@@ -57,7 +57,7 @@
 class NSFont;
 #endif
 
-#include <kxmlcore/HashMap.h>
+#include <wtf/HashMap.h>
 
 namespace WebCore {
     class FontData;
index 4a30a9b..cb8dc48 100644 (file)
@@ -36,7 +36,7 @@
 #import "Page.h"
 #import "WebCoreFrameBridge.h"
 #import "WebCoreStringTruncator.h"
-#import <kxmlcore/Assertions.h>
+#import <wtf/Assertions.h>
 
 #import <mach-o/dyld.h>
 
index 5e419f7..da53a13 100644 (file)
@@ -104,7 +104,7 @@ void Widget::disableFlushDrawing() { notImplemented(); }
 GraphicsContext* Widget::lockDrawingFocus() { notImplemented(); return 0; }
 void Widget::unlockDrawingFocus(GraphicsContext*) { notImplemented(); }
 
-JavaAppletWidget::JavaAppletWidget(IntSize const&,Element*,KXMLCore::HashMap<String,String> const&) { notImplemented(); }
+JavaAppletWidget::JavaAppletWidget(IntSize const&,Element*,WTF::HashMap<String,String> const&) { notImplemented(); }
 
 void QLineEdit::selectAll() { notImplemented(); }
 void QLineEdit::addSearchResult() { notImplemented(); }
index 2e95547..2ae422a 100644 (file)
@@ -32,7 +32,7 @@
 #include "break_lines.h"
 #include "Range.h"
 #include "RenderArena.h"
-#include <kxmlcore/AlwaysInline.h>
+#include <wtf/AlwaysInline.h>
 
 using namespace std;
 
index df3564f..a4e99b7 100644 (file)
@@ -32,7 +32,7 @@
 #include "break_lines.h"
 #include "Range.h"
 #include "RenderArena.h"
-#include <kxmlcore/AlwaysInline.h>
+#include <wtf/AlwaysInline.h>
 #include <unicode/ubrk.h>
 
 using namespace std;
index 73342db..7e00863 100644 (file)
@@ -35,7 +35,7 @@
 #include "RenderTableCell.h"
 #include "SelectionController.h"
 #include "render_replaced.h"
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 
 #if SVG_SUPPORT
 #include "KCanvasTreeDebug.h"
index 2b2feac..986c1f9 100644 (file)
@@ -31,7 +31,7 @@
 #include "RenderArena.h"
 #include "RenderCanvas.h"
 #include "break_lines.h"
-#include <kxmlcore/AlwaysInline.h>
+#include <wtf/AlwaysInline.h>
 
 using namespace std;
 
index ac78a06..08e8e41 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "StringHash.h"
 #include "XSLStyleSheet.h"
-#include <kxmlcore/HashMap.h>
+#include <wtf/HashMap.h>
 #include <libxml/parserInternals.h>
 #include <libxslt/documents.h>
 
index 9e3d96d..1d19bc6 100644 (file)
@@ -31,8 +31,8 @@
 #include "XPathValue.h"
 
 #include "StringHash.h"
-#include <kxmlcore/HashMap.h>
-#include <kxmlcore/Vector.h>
+#include <wtf/HashMap.h>
+#include <wtf/Vector.h>
 
 namespace WebCore {
 class XPathNSResolver;
index a503516..8c6ec64 100644 (file)
@@ -28,7 +28,7 @@
 
 #if XPATH_SUPPORT
 
-#include <kxmlcore/Noncopyable.h>
+#include <wtf/Noncopyable.h>
 
 #include "StringHash.h"
 #include "PlatformString.h"
index da1aa1d..9341d23 100644 (file)
@@ -31,7 +31,7 @@
 #include "XPathExpressionNode.h"
 #include "XPathStep.h"
 
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 
 extern int xpathyyparse(void*);
 
index 20308ba..a10f6dd 100644 (file)
@@ -31,7 +31,7 @@
 #include "PlatformString.h"
 #include "Node.h"
 
-#include <kxmlcore/Vector.h>
+#include <wtf/Vector.h>
 
 namespace WebCore {
 
index afbde8b..869f5ad 100644 (file)
@@ -1,3 +1,17 @@
+2006-05-09  Maciej Stachowiak  <mjs@apple.com>
+
+        Rubber stamped by Anders.
+        
+        - renamed kxmlcore to wtf
+        
+        kxmlcore --> wtf
+        KXMLCore --> WTF
+        WKC --> WTF
+
+        * Misc/WebKitLogging.h:
+        * Misc/WebKitLogging.m:
+        (initializeLogChannel):
+
 2006-05-09  Timothy Hatcher  <timothy@apple.com>
 
         Reviewed by Anders.
index 310cb8b..4f51d28 100644 (file)
 #define LOG_CHANNEL_PREFIX WebKitLog
 #endif
 
-extern KXCLogChannel WebKitLogTiming;
-extern KXCLogChannel WebKitLogLoading;
-extern KXCLogChannel WebKitLogFontCache;
-extern KXCLogChannel WebKitLogFontSubstitution;
-extern KXCLogChannel WebKitLogFontSelection;
-extern KXCLogChannel WebKitLogDownload;
-extern KXCLogChannel WebKitLogDocumentLoad;
-extern KXCLogChannel WebKitLogPlugins;
-extern KXCLogChannel WebKitLogEvents;
-extern KXCLogChannel WebKitLogView;
-extern KXCLogChannel WebKitLogRedirect;
-extern KXCLogChannel WebKitLogPageCache;
-extern KXCLogChannel WebKitLogCacheSizes;
-extern KXCLogChannel WebKitLogFormDelegate;
-extern KXCLogChannel WebKitLogFileDatabaseActivity;
-extern KXCLogChannel WebKitLogHistory;
-extern KXCLogChannel WebKitLogBindings;
-extern KXCLogChannel WebKitLogEncoding;
-extern KXCLogChannel WebKitLogLiveConnect;
-extern KXCLogChannel WebKitLogBackForward;
-extern KXCLogChannel WebKitLogProgress;
-extern KXCLogChannel WebKitLogPluginEvents;
+extern WTFLogChannel WebKitLogTiming;
+extern WTFLogChannel WebKitLogLoading;
+extern WTFLogChannel WebKitLogFontCache;
+extern WTFLogChannel WebKitLogFontSubstitution;
+extern WTFLogChannel WebKitLogFontSelection;
+extern WTFLogChannel WebKitLogDownload;
+extern WTFLogChannel WebKitLogDocumentLoad;
+extern WTFLogChannel WebKitLogPlugins;
+extern WTFLogChannel WebKitLogEvents;
+extern WTFLogChannel WebKitLogView;
+extern WTFLogChannel WebKitLogRedirect;
+extern WTFLogChannel WebKitLogPageCache;
+extern WTFLogChannel WebKitLogCacheSizes;
+extern WTFLogChannel WebKitLogFormDelegate;
+extern WTFLogChannel WebKitLogFileDatabaseActivity;
+extern WTFLogChannel WebKitLogHistory;
+extern WTFLogChannel WebKitLogBindings;
+extern WTFLogChannel WebKitLogEncoding;
+extern WTFLogChannel WebKitLogLiveConnect;
+extern WTFLogChannel WebKitLogBackForward;
+extern WTFLogChannel WebKitLogProgress;
+extern WTFLogChannel WebKitLogPluginEvents;
 
 void WebKitInitializeLoggingChannelsIfNecessary(void);
index 331dd37..05bac1c 100644 (file)
 
 #import "WebKitLogging.h"
 
-KXCLogChannel WebKitLogTiming =                { 0x00000020, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogLoading =               { 0x00000040, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogFontCache =             { 0x00000100, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogFontSubstitution =      { 0x00000200, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogDownload =              { 0x00000800, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogDocumentLoad =          { 0x00001000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogPlugins =               { 0x00002000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogEvents =                { 0x00010000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogView =                  { 0x00020000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogRedirect =              { 0x00040000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogPageCache =              { 0x00080000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogCacheSizes =             { 0x00100000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogFormDelegate =          { 0x00200000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogFileDatabaseActivity =   { 0x00400000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogHistory =                { 0x00800000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogBindings =               { 0x01000000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogFontSelection =         { 0x02000000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogEncoding =               { 0x04000000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogLiveConnect =            { 0x08000000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogBackForward =            { 0x10000000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogProgress =               { 0x20000000, "WebKitLogLevel", KXCLogChannelOff };
-KXCLogChannel WebKitLogPluginEvents =           { 0x40000000, "WebKitLogLevel", KXCLogChannelOff };
+WTFLogChannel WebKitLogTiming =                { 0x00000020, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogLoading =               { 0x00000040, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogFontCache =             { 0x00000100, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogFontSubstitution =      { 0x00000200, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogDownload =              { 0x00000800, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogDocumentLoad =          { 0x00001000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogPlugins =               { 0x00002000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogEvents =                { 0x00010000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogView =                  { 0x00020000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogRedirect =              { 0x00040000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogPageCache =              { 0x00080000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogCacheSizes =             { 0x00100000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogFormDelegate =          { 0x00200000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogFileDatabaseActivity =   { 0x00400000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogHistory =                { 0x00800000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogBindings =               { 0x01000000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogFontSelection =         { 0x02000000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogEncoding =               { 0x04000000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogLiveConnect =            { 0x08000000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogBackForward =            { 0x10000000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogProgress =               { 0x20000000, "WebKitLogLevel", WTFLogChannelOff };
+WTFLogChannel WebKitLogPluginEvents =           { 0x40000000, "WebKitLogLevel", WTFLogChannelOff };
 
-static void initializeLogChannel(KXCLogChannel *channel)
+static void initializeLogChannel(WTFLogChannel *channel)
 {
-    channel->state = KXCLogChannelOff;
+    channel->state = WTFLogChannelOff;
     NSString *logLevelString = [[NSUserDefaults standardUserDefaults] objectForKey:[NSString stringWithUTF8String:channel->defaultName]];
     if (logLevelString) {
         unsigned logLevel;
         if (![[NSScanner scannerWithString:logLevelString] scanHexInt:&logLevel])
             NSLog(@"unable to parse hex value for %s (%@), logging is off", channel->defaultName, logLevelString);
         if ((logLevel & channel->mask) == channel->mask)
-            channel->state = KXCLogChannelOn;
+            channel->state = WTFLogChannelOn;
     }
 }