JavaScriptCore:
authorggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Nov 2007 00:30:19 +0000 (00:30 +0000)
committerggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Nov 2007 00:30:19 +0000 (00:30 +0000)
commitf4e899eec9bca58c3b69cf145c7821b47e3d4d2b
tree0dbedfcc1de7d9e25ee803aa219a4e231e52896d
parente24032418c00abaf76db4972cad1cf05cb963ee5
JavaScriptCore:

        Reviewed by Sam Weinig.

        Moved Shared.h into wtf so it could be used in more places. Deployed
        Shared in places where JSCore previously had hand-rolled ref-counting
        classes.

        * API/JSClassRef.cpp:
        (OpaqueJSClass::OpaqueJSClass):
        * API/JSClassRef.h:
        * API/JSObjectRef.cpp:
        (JSClassRetain):
        (JSClassRelease):
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * kjs/interpreter.cpp:
        (KJS::Interpreter::init):
        * kjs/interpreter.h:
        * kjs/regexp.cpp:
        (KJS::RegExp::RegExp):
        * kjs/regexp.h:
        * wtf/Shared.h: Copied from WebCore/platform/Shared.h.

JavaScriptGlue:

        Reviewed by Sam Weinig.

        Moved Shared.h into wtf so it could be used in more places.

        * ForwardingHeaders/wtf/Shared.h: Added.

WebCore:

        Reviewed by Sam Weinig.

        Moved Shared.h into wtf so it could be used in more places. Retained
        TreeShared, but moved it to its own file, TreeShared.h.

        * ForwardingHeaders/wtf/Shared.h: Added.
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSSVGPODTypeWrapper.h:
        * css/CSSFontFace.h:
        * css/CSSRuleList.h:
        * css/Counter.h:
        * css/Pair.h:
        * css/Rect.h:
        * css/StyleBase.h:
        * css/StyleSheetList.h:
        * dom/Clipboard.h:
        * dom/DOMImplementation.h:
        * dom/Event.h:
        * dom/EventListener.h:
        * dom/NamedNodeMap.h:
        * dom/NodeFilterCondition.h:
        * dom/NodeList.h:
        * dom/Range.h:
        * dom/RangeException.h:
        * dom/RegisteredEventListener.h:
        * dom/Traversal.h:
        * history/BackForwardList.h:
        * history/CachedPage.h:
        * history/HistoryItem.h:
        * html/CanvasGradient.h:
        * html/CanvasPattern.h:
        * html/HTMLCollection.h:
        * html/MediaError.h:
        * html/TimeRanges.h:
        * html/VoidCallback.h:
        * ksvg2/css/SVGRenderStyleDefs.h:
        * ksvg2/svg/SVGAnimatedTemplate.h:
        * ksvg2/svg/SVGElementInstanceList.h:
        * ksvg2/svg/SVGList.h:
        * ksvg2/svg/SVGPathSeg.h:
        * ksvg2/svg/SVGPreserveAspectRatio.h:
        * ksvg2/svg/SVGRenderingIntent.h:
        * ksvg2/svg/SVGTransform.h:
        * ksvg2/svg/SVGUnitTypes.h:
        * loader/DocumentLoader.h:
        * loader/FormState.h:
        * loader/ResourceLoader.h:
        * loader/TextResourceDecoder.h:
        * loader/icon/IconRecord.h:
        * page/BarInfo.h:
        * page/Console.h:
        * page/DOMSelection.h:
        * page/DOMWindow.h:
        * page/History.h:
        * page/InspectorController.cpp:
        * page/Plugin.h:
        * page/Screen.h:
        * platform/ArrayImpl.h:
        * platform/CString.h:
        * platform/DeprecatedValueListImpl.cpp:
        * platform/FontFallbackList.h:
        * platform/FontFamily.h:
        * platform/FontSelector.h:
        * platform/GlyphPageTreeNode.h:
        * platform/PopupMenu.h:
        * platform/RegularExpression.cpp:
        * platform/ScrollBar.h:
        * platform/Shared.h: Removed.
        * platform/SharedBuffer.h:
        * platform/StringImpl.h:
        * platform/graphics/Icon.h:
        * platform/graphics/svg/SVGResource.h:
        * platform/network/FormData.h:
        * platform/network/ResourceHandleClient.h:
        * rendering/RenderStyle.h:
        * rendering/SVGCharacterLayoutInfo.h:
        * storage/SQLResultSetRowList.h:
        * xml/DOMParser.h:
        * xml/XMLSerializer.h:
        * xml/XPathEvaluator.h:
        * xml/XPathExpression.h:
        * xml/XPathNSResolver.h:
        * xml/XPathResult.h:

WebKit/mac:

        Reviewed by Sam Weinig.

        Moved Shared.h into wtf so it could be used in more places.

        * ChangeLog:
        * WebCoreSupport/WebContextMenuClient.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
97 files changed:
JavaScriptCore/API/JSClassRef.cpp
JavaScriptCore/API/JSClassRef.h
JavaScriptCore/API/JSObjectRef.cpp
JavaScriptCore/ChangeLog
JavaScriptCore/JavaScriptCore.vcproj/WTF/WTF.vcproj
JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
JavaScriptCore/kjs/interpreter.cpp
JavaScriptCore/kjs/interpreter.h
JavaScriptCore/kjs/regexp.cpp
JavaScriptCore/kjs/regexp.h
JavaScriptCore/wtf/Shared.h [new file with mode: 0644]
JavaScriptGlue/ChangeLog
JavaScriptGlue/ForwardingHeaders/wtf/Shared.h [new file with mode: 0644]
WebCore/ChangeLog
WebCore/ForwardingHeaders/wtf/Shared.h [new file with mode: 0644]
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/JSSVGPODTypeWrapper.h
WebCore/css/CSSFontFace.h
WebCore/css/CSSRuleList.h
WebCore/css/Counter.h
WebCore/css/Pair.h
WebCore/css/Rect.h
WebCore/css/StyleBase.h
WebCore/css/StyleSheetList.h
WebCore/dom/Clipboard.h
WebCore/dom/DOMImplementation.h
WebCore/dom/Event.h
WebCore/dom/EventListener.h
WebCore/dom/NamedNodeMap.h
WebCore/dom/Node.h
WebCore/dom/NodeFilterCondition.h
WebCore/dom/NodeList.h
WebCore/dom/Range.h
WebCore/dom/RangeException.h
WebCore/dom/RegisteredEventListener.h
WebCore/dom/Traversal.h
WebCore/history/BackForwardList.h
WebCore/history/CachedPage.h
WebCore/history/HistoryItem.h
WebCore/html/CanvasGradient.h
WebCore/html/CanvasPattern.h
WebCore/html/HTMLCollection.h
WebCore/html/MediaError.h
WebCore/html/TimeRanges.h
WebCore/html/VoidCallback.h
WebCore/ksvg2/css/SVGRenderStyleDefs.h
WebCore/ksvg2/svg/SVGAnimatedTemplate.h
WebCore/ksvg2/svg/SVGElementInstanceList.h
WebCore/ksvg2/svg/SVGList.h
WebCore/ksvg2/svg/SVGPathSeg.h
WebCore/ksvg2/svg/SVGPreserveAspectRatio.h
WebCore/ksvg2/svg/SVGRenderingIntent.h
WebCore/ksvg2/svg/SVGTransform.h
WebCore/ksvg2/svg/SVGUnitTypes.h
WebCore/loader/DocumentLoader.h
WebCore/loader/FormState.h
WebCore/loader/ResourceLoader.h
WebCore/loader/TextResourceDecoder.h
WebCore/loader/icon/IconRecord.h
WebCore/page/BarInfo.h
WebCore/page/Console.h
WebCore/page/DOMSelection.h
WebCore/page/DOMWindow.h
WebCore/page/History.h
WebCore/page/InspectorController.cpp
WebCore/page/Plugin.h
WebCore/page/Screen.h
WebCore/platform/ArrayImpl.h
WebCore/platform/CString.h
WebCore/platform/DeprecatedValueListImpl.cpp
WebCore/platform/FontFallbackList.h
WebCore/platform/FontFamily.h
WebCore/platform/FontSelector.h
WebCore/platform/GlyphPageTreeNode.h
WebCore/platform/PopupMenu.h
WebCore/platform/RegularExpression.cpp
WebCore/platform/ScrollBar.h
WebCore/platform/SharedBuffer.h
WebCore/platform/StringImpl.h
WebCore/platform/TreeShared.h [moved from WebCore/platform/Shared.h with 76% similarity]
WebCore/platform/graphics/Icon.h
WebCore/platform/graphics/svg/SVGResource.h
WebCore/platform/network/FormData.h
WebCore/platform/network/ResourceHandleClient.h
WebCore/rendering/RenderStyle.h
WebCore/rendering/SVGCharacterLayoutInfo.h
WebCore/storage/SQLResultSetRowList.h
WebCore/xml/DOMParser.h
WebCore/xml/XMLSerializer.h
WebCore/xml/XPathEvaluator.h
WebCore/xml/XPathExpression.h
WebCore/xml/XPathNSResolver.h
WebCore/xml/XPathResult.h
WebKit/mac/ChangeLog
WebKit/mac/ForwardingHeaders/wtf/Shared.h [new file with mode: 0644]
WebKit/mac/WebCoreSupport/WebContextMenuClient.h