Add ForwardingHeaders to wtf for DumpRenderTree.
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Nov 2007 02:54:45 +0000 (02:54 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Nov 2007 02:54:45 +0000 (02:54 +0000)
        Reviewed by Mark Rowe.

        * DumpRenderTree/DumpRenderTree.h:
        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
        * DumpRenderTree/ForwardingHeaders: Added.
        * DumpRenderTree/ForwardingHeaders/wtf: Added.
        * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
        * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
        * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
        * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
        * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
        * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
        * DumpRenderTree/LayoutTestController.cpp:
        * DumpRenderTree/WorkQueue.cpp:
        * DumpRenderTree/mac/DumpRenderTree.mm:
        * DumpRenderTree/mac/FrameLoadDelegate.mm:
        * DumpRenderTree/mac/JavaScriptThreading.cpp:
        * DumpRenderTree/mac/LayoutTestControllerMac.mm:
        * DumpRenderTree/mac/ObjCController.m:
        * DumpRenderTree/mac/UIDelegate.mm:
        * DumpRenderTree/mac/WorkQueueItemMac.mm:

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

18 files changed:
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/DumpRenderTree.h
WebKitTools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj
WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/Assertions.h [new file with mode: 0644]
WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h [new file with mode: 0644]
WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h [new file with mode: 0644]
WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/Platform.h [new file with mode: 0644]
WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h [new file with mode: 0644]
WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h [new file with mode: 0644]
WebKitTools/DumpRenderTree/LayoutTestController.cpp
WebKitTools/DumpRenderTree/WorkQueue.cpp
WebKitTools/DumpRenderTree/mac/DumpRenderTree.mm
WebKitTools/DumpRenderTree/mac/FrameLoadDelegate.mm
WebKitTools/DumpRenderTree/mac/JavaScriptThreading.cpp
WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm
WebKitTools/DumpRenderTree/mac/ObjCController.m
WebKitTools/DumpRenderTree/mac/UIDelegate.mm
WebKitTools/DumpRenderTree/mac/WorkQueueItemMac.mm

index 242ad546dc74286c8e45bd7279b25e257b832aac..bdf6ffa980c7e7821ae7d3c66b12e3b5e38dced2 100644 (file)
@@ -1,3 +1,29 @@
+2007-11-25  Sam Weinig  <sam@webkit.org>
+
+        Add ForwardingHeaders to wtf for DumpRenderTree.
+
+        Reviewed by Mark Rowe.
+
+        * DumpRenderTree/DumpRenderTree.h:
+        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
+        * DumpRenderTree/ForwardingHeaders: Added.
+        * DumpRenderTree/ForwardingHeaders/wtf: Added.
+        * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
+        * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
+        * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
+        * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
+        * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
+        * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
+        * DumpRenderTree/LayoutTestController.cpp:
+        * DumpRenderTree/WorkQueue.cpp:
+        * DumpRenderTree/mac/DumpRenderTree.mm:
+        * DumpRenderTree/mac/FrameLoadDelegate.mm:
+        * DumpRenderTree/mac/JavaScriptThreading.cpp:
+        * DumpRenderTree/mac/LayoutTestControllerMac.mm:
+        * DumpRenderTree/mac/ObjCController.m:
+        * DumpRenderTree/mac/UIDelegate.mm:
+        * DumpRenderTree/mac/WorkQueueItemMac.mm:
+
 2007-11-25  Adam Roben  <aroben@apple.com>
 
         Fix some test failures caused by r28019
index 3a8219ca0267b2e398e961fbd42904b642562e55..696839820c37480fe6119cc1cb830e5506d496a0 100644 (file)
@@ -29,7 +29,7 @@
 #ifndef DumpRenderTree_h
 #define DumpRenderTree_h
 
-#include <JavaScriptCore/Platform.h>
+#include <wtf/Platform.h>
 
 #if PLATFORM(MAC)
 #include "DumpRenderTreeMac.h"
index 4eb75f5a64b55f79b679ce5e948801ff44658b67..eb1dbd828b68afaf2b1ee489eb4117949ec17f53 100644 (file)
                A8B91BF70CF522B4008F91FF /* CheckedMalloc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CheckedMalloc.cpp; path = mac/CheckedMalloc.cpp; sourceTree = "<group>"; };
                A8B91BF80CF522B4008F91FF /* JavaScriptThreading.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = JavaScriptThreading.cpp; path = mac/JavaScriptThreading.cpp; sourceTree = "<group>"; };
                A8B91BF90CF522B4008F91FF /* CheckedMalloc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CheckedMalloc.h; path = mac/CheckedMalloc.h; sourceTree = "<group>"; };
-               AA7F10C20CB3C1030003BDC9 /* AHEM____.TTF */ = {isa = PBXFileReference; lastKnownFileType = file; name = "AHEM____.TTF"; path = "qt/fonts/AHEM____.TTF"; sourceTree = "<group>"; };
+               AA7F10C20CB3C1030003BDC9 /* AHEM____.TTF */ = {isa = PBXFileReference; lastKnownFileType = file; name = AHEM____.TTF; path = qt/fonts/AHEM____.TTF; sourceTree = "<group>"; };
                AE8257EF08D22389000507AB /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
                B5A7526708AF4A4A00138E45 /* ImageDiff */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ImageDiff; sourceTree = BUILT_PRODUCTS_DIR; };
                B5A752A108AF5D1F00138E45 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = /System/Library/Frameworks/QuartzCore.framework; sourceTree = "<absolute>"; };
                08FB7793FE84155DC02AAC07 /* Project object */ = {
                        isa = PBXProject;
                        buildConfigurationList = 149C29C308902C6D008A9EFC /* Build configuration list for PBXProject "DumpRenderTree" */;
-                       compatibilityVersion = "Xcode 2.4";
                        hasScannedForEncodings = 1;
                        mainGroup = 08FB7794FE84155DC02AAC07 /* DumpRenderTree */;
                        productRefGroup = 9340995508540CAF007F3BC8 /* Products */;
                                        "-sectcreate",
                                        __DATA,
                                        Ahem,
-                                       "qt/fonts/AHEM____.TTF",
+                                       qt/fonts/AHEM____.TTF,
                                );
                                PRODUCT_NAME = DumpRenderTree;
                                VALID_ARCHS = "ppc7400 ppc970 i386 ppc";
                                        "-sectcreate",
                                        __DATA,
                                        Ahem,
-                                       "qt/fonts/AHEM____.TTF",
+                                       qt/fonts/AHEM____.TTF,
                                );
                                PRODUCT_NAME = DumpRenderTree;
                                VALID_ARCHS = "ppc7400 ppc970 i386 ppc";
                                GCC_TREAT_WARNINGS_AS_ERRORS = YES;
                                GCC_WARN_UNUSED_FUNCTION = YES;
                                GCC_WARN_UNUSED_VARIABLE = YES;
+                               HEADER_SEARCH_PATHS = ForwardingHeaders;
                                MACOSX_DEPLOYMENT_TARGET = "$(MACOSX_DEPLOYMENT_TARGET_$(MAC_OS_X_VERSION_MAJOR))";
                                MACOSX_DEPLOYMENT_TARGET_ = 10.4;
                                MACOSX_DEPLOYMENT_TARGET_1040 = 10.4;
                                GCC_TREAT_WARNINGS_AS_ERRORS = YES;
                                GCC_WARN_UNUSED_FUNCTION = YES;
                                GCC_WARN_UNUSED_VARIABLE = YES;
+                               HEADER_SEARCH_PATHS = ForwardingHeaders;
                                MACOSX_DEPLOYMENT_TARGET = "$(MACOSX_DEPLOYMENT_TARGET_$(MAC_OS_X_VERSION_MAJOR))";
                                MACOSX_DEPLOYMENT_TARGET_ = 10.4;
                                MACOSX_DEPLOYMENT_TARGET_1040 = 10.4;
diff --git a/WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/Assertions.h b/WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/Assertions.h
new file mode 100644 (file)
index 0000000..2144410
--- /dev/null
@@ -0,0 +1 @@
+#include <JavaScriptCore/Assertions.h>
diff --git a/WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h b/WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h
new file mode 100644 (file)
index 0000000..f8484d2
--- /dev/null
@@ -0,0 +1 @@
+#include <JavaScriptCore/Noncopyable.h>
diff --git a/WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h b/WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h
new file mode 100644 (file)
index 0000000..9211d38
--- /dev/null
@@ -0,0 +1 @@
+#include <JavaScriptCore/OwnPtr.h>
diff --git a/WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/Platform.h b/WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/Platform.h
new file mode 100644 (file)
index 0000000..3b22955
--- /dev/null
@@ -0,0 +1 @@
+#include <JavaScriptCore/Platform.h>
diff --git a/WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h b/WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h
new file mode 100644 (file)
index 0000000..65fc27b
--- /dev/null
@@ -0,0 +1 @@
+#include <JavaScriptCore/RetainPtr.h>
diff --git a/WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h b/WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h
new file mode 100644 (file)
index 0000000..063d500
--- /dev/null
@@ -0,0 +1 @@
+#include <JavaScriptCore/StringExtras.h>
index 9c056c73257dcb0c790db195ece4deaca4a0111a..e59b37a565e3c750826886604fbb81ad9bb824b2 100644 (file)
@@ -29,9 +29,9 @@
 #include "DumpRenderTree.h"
 #include "LayoutTestController.h"
 
-#include <JavaScriptCore/Assertions.h>
 #include <JavaScriptCore/JSObjectRef.h>
 #include <JavaScriptCore/JSRetainPtr.h>
+#include <wtf/Assertions.h>
 
 LayoutTestController::LayoutTestController(bool testRepaintDefault, bool testRepaintSweepHorizontallyDefault)
     : m_dumpAsText(false)
index 0e053fe7786aad5147fbde3b4df9eb7788f2b889..87c7af5c8002810424b0bdfc30e2990e5d720338 100644 (file)
@@ -30,8 +30,7 @@
 #include "WorkQueue.h"
 
 #include "WorkQueueItem.h"
-
-#include <JavaScriptCore/Assertions.h>
+#include <wtf/Assertions.h>
 
 static const unsigned queueLength = 1024;
 
index 14324ab55797cd65837b331b866e23f61135be09..076593e3adab5f9232700154f5ea1648f33b3875 100644 (file)
@@ -46,9 +46,7 @@
 #import "UIDelegate.h"
 #import "WorkQueue.h"
 #import "WorkQueueItem.h"
-
 #import <CoreFoundation/CoreFoundation.h>
-#import <JavaScriptCore/Assertions.h>
 #import <WebKit/DOMElementPrivate.h>
 #import <WebKit/DOMExtensions.h>
 #import <WebKit/DOMRange.h>
@@ -67,7 +65,8 @@
 #import <WebKit/WebViewPrivate.h>
 #import <getopt.h>
 #import <mach-o/getsect.h>
-#import <objc/objc-runtime.h>                       // for class_poseAs
+#import <objc/objc-runtime.h>
+#import <wtf/Assertions.h>
 
 @interface DumpRenderTreeEvent : NSEvent
 @end
index ade7f08ea5339f4bd78741f3ab0a6b9f7f95d833..c39139e8a89afd32a828ba299604fb60c05803c2 100644 (file)
 #import "TextInputController.h"
 #import "WorkQueue.h"
 #import "WorkQueueItem.h"
-#import <JavaScriptCore/Assertions.h>
 #import <JavaScriptCore/JavaScriptCore.h>
 #import <WebKit/WebFramePrivate.h>
 #import <WebKit/WebHTMLViewPrivate.h>
 #import <WebKit/WebKit.h>
 #import <WebKit/WebNSURLExtras.h>
+#import <wtf/Assertions.h>
 
 @interface NSURLRequest (PrivateThingsWeShouldntReallyUse)
 +(void)setAllowsAnyHTTPSCertificate:(BOOL)allow forHost:(NSString *)host;
index 7f1bfd71bfa6aff0ac7f5e5412634459aba2b60a..c382203dabe818b449d72d6c2236b04d66c24268 100644 (file)
  
 #import "JavaScriptThreading.h"
 
-#import <JavaScriptCore/Assertions.h>
-#import <JavaScriptCore/JavaScriptCore.h>
-
 #import <CoreFoundation/CoreFoundation.h>
-
+#import <JavaScriptCore/JavaScriptCore.h>
 #import <pthread.h>
+#import <wtf/Assertions.h>
 
 static pthread_mutex_t javaScriptThreadsMutex = PTHREAD_MUTEX_INITIALIZER;
 static bool javaScriptThreadsShouldTerminate;
index b54eb03c4fb30e90388d8dab0991883a3533dae8..0f352f49bc1f0734c6a238de094e739527fa9b81 100644 (file)
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#import "DumpRenderTree.h"
 #import "LayoutTestController.h"
 
-#import "DumpRenderTree.h"
 #import "EditingDelegate.h"
 #import "WorkQueue.h"
 #import "WorkQueueItem.h"
+#import <Foundation/Foundation.h>
 #import <JavaScriptCore/JSRetainPtr.h>
 #import <JavaScriptCore/JSStringRef.h>
 #import <JavaScriptCore/JSStringRefCF.h>
-#import <JavaScriptCore/RetainPtr.h>
 #import <WebKit/WebBackForwardList.h>
 #import <WebKit/WebFrame.h>
 #import <WebKit/WebHTMLViewPrivate.h>
@@ -44,7 +44,7 @@
 #import <WebKit/WebPreferences.h>
 #import <WebKit/WebView.h>
 #import <WebKit/WebViewPrivate.h>
-#import <Foundation/Foundation.h>
+#import <wtf/RetainPtr.h>
 
 LayoutTestController::~LayoutTestController()
 {
index c3c04e241ee058981193a83eb3aa9a1f506a4f80..b5f2c42879316001fe44fb816a04a45605596c79 100644 (file)
 
 #import "ObjCController.h"
 
-#import <JavaScriptCore/Assertions.h>
+#import <WebKit/DOMAbstractView.h>
 #import <WebKit/WebScriptObject.h>
 #import <WebKit/WebView.h>
-#import <WebKit/DOMAbstractView.h>
+#import <wtf/Assertions.h>
 
 @implementation ObjCController
 
index 2d9e8f6ff5aaef3c41a050dd480fe3a8b91d7f82..27d790bbfb4d1357bc002e384fd004ab6747b31d 100644 (file)
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#import "DumpRenderTree.h"
 #import "UIDelegate.h"
 
-#import "DumpRenderTree.h"
 #import "DumpRenderTreeDraggingInfo.h"
-#import "LayoutTestController.h"
 #import "EventSendingController.h"
+#import "LayoutTestController.h"
 #import <WebKit/WebFramePrivate.h>
 #import <WebKit/WebHTMLViewPrivate.h>
 #import <WebKit/WebView.h>
-#import <JavaScriptCore/Assertions.h>
+#import <wtf/Assertions.h>
 
 DumpRenderTreeDraggingInfo *draggingInfo = nil;
 
index 7216056348d7885dfbcd2a951b1bedf124278c82..3a7b0e29887b931357b08ebe4e3a85bbb368588b 100644 (file)
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#import "DumpRenderTree.h"
 #import "WorkQueueItem.h"
 
-#import "DumpRenderTree.h"
 #import <JavaScriptCore/JSStringRef.h>
 #import <JavaScriptCore/JSStringRefCF.h>
-#import <JavaScriptCore/RetainPtr.h>
 #import <WebKit/WebBackForwardList.h>
 #import <WebKit/WebFrame.h>
 #import <WebKit/WebScriptObject.h>
 #import <WebKit/WebView.h>
+#import <wtf/RetainPtr.h>
 
 void LoadItem::invoke() const
 {