2008-02-29 Mark Rowe <mrowe@apple.com>
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Feb 2008 11:25:55 +0000 (11:25 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Feb 2008 11:25:55 +0000 (11:25 +0000)
        Reviewed by Oliver Hunt.

        Don't use WKSupportsMultipartXMixedReplace on Leopard as multipart/x-mixed-replace is always handled by NSURLRequest.

        * platform/mac/WebCoreSystemInterface.h: Don't declare WKSupportsMultipartXMixedReplace on Leopard.
        * platform/mac/WebCoreSystemInterface.mm: Ditto.
        * platform/network/mac/ResourceRequestMac.mm:
        (WebCore::ResourceRequest::doUpdatePlatformRequest): Don't call WKSupportsMultipartXMixedReplace on Leopard.
        * WebCore.Tiger.exp: Move Tiger-only symbol here.
        * WebCore.base.exp:

2008-02-29  Mark Rowe  <mrowe@apple.com>

        Reviewed by Oliver Hunt.

        Don't use WKSupportsMultipartXMixedReplace on Leopard as multipart/x-mixed-replace is always handled by NSURLRequest.

        * WebKitSystemInterface.h:
        * libWebKitSystemInterfaceLeopard.a:

2008-02-29  Mark Rowe  <mrowe@apple.com>

        Reviewed by Oliver Hunt.

        Don't use WKSupportsMultipartXMixedReplace on Leopard as multipart/x-mixed-replace is always handled by NSURLRequest.

        * WebCoreSupport/WebSystemInterface.m:
        (InitWebCoreSystemInterface):

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

WebCore/ChangeLog
WebCore/WebCore.Tiger.exp
WebCore/WebCore.base.exp
WebCore/platform/mac/WebCoreSystemInterface.h
WebCore/platform/mac/WebCoreSystemInterface.mm
WebCore/platform/network/mac/ResourceRequestMac.mm
WebKit/mac/ChangeLog
WebKit/mac/WebCoreSupport/WebSystemInterface.m
WebKitLibraries/ChangeLog
WebKitLibraries/WebKitSystemInterface.h
WebKitLibraries/libWebKitSystemInterfaceLeopard.a

index 800a76c043592de9157c6211c3a2728eb7aadb76..f894b75449ac7fe5bebfa4a87372e51e19e2c54f 100644 (file)
@@ -1,3 +1,16 @@
+2008-02-29  Mark Rowe  <mrowe@apple.com>
+
+        Reviewed by Oliver Hunt.
+
+        Don't use WKSupportsMultipartXMixedReplace on Leopard as multipart/x-mixed-replace is always handled by NSURLRequest.
+
+        * platform/mac/WebCoreSystemInterface.h: Don't declare WKSupportsMultipartXMixedReplace on Leopard.
+        * platform/mac/WebCoreSystemInterface.mm: Ditto.
+        * platform/network/mac/ResourceRequestMac.mm:
+        (WebCore::ResourceRequest::doUpdatePlatformRequest): Don't call WKSupportsMultipartXMixedReplace on Leopard.
+        * WebCore.Tiger.exp: Move Tiger-only symbol here.
+        * WebCore.base.exp:
+
 2008-02-29  Mark Rowe  <mrowe@apple.com>
 
         Rubber-stamped by Eric Seidel.
index 249312e13ffbc9139536504056bf5f60675d9a62..0a25d23d78ebf30d018ff70217a05d2f82784f95 100644 (file)
@@ -1 +1,2 @@
 _wkGetFontMetrics
+_wkSupportsMultipartXMixedReplace
index ff15e5e15b53087e8de63d7b5ac53c46ae5edfc6..21888bf20789e3f43dc4252aba94ea77bf7f7e2f 100644 (file)
@@ -748,4 +748,3 @@ _wkSetUpFontCache
 _wkSignalCFReadStreamEnd
 _wkSignalCFReadStreamError
 _wkSignalCFReadStreamHasBytes
-_wkSupportsMultipartXMixedReplace
index 80321d43f8663577177b5531c6a0aea567936fba..8e79d547ce11ffc3cbf9d934e5e5fe5eb26e6bd6 100644 (file)
@@ -136,10 +136,10 @@ extern void (*wkSetUpFontCache)(size_t);
 extern void (*wkSignalCFReadStreamEnd)(CFReadStreamRef stream);
 extern void (*wkSignalCFReadStreamError)(CFReadStreamRef stream, CFStreamError *error);
 extern void (*wkSignalCFReadStreamHasBytes)(CFReadStreamRef stream);
-extern BOOL (*wkSupportsMultipartXMixedReplace)(NSMutableURLRequest *);
 
 #ifdef BUILDING_ON_TIGER
 extern void (*wkGetFontMetrics)(CGFontRef, int* ascent, int* descent, int* lineGap, unsigned* unitsPerEm);
+extern BOOL (*wkSupportsMultipartXMixedReplace)(NSMutableURLRequest *);
 #endif
 
 #ifdef __cplusplus
index bd223c74270f27e12836780aa37db171ca382f32..0b85af2a3410b78eb720beb873cffbaf6ac79747 100644 (file)
@@ -89,8 +89,8 @@ CFReadStreamRef (*wkCreateCustomCFReadStream)(void *(*formCreate)(CFReadStreamRe
 void (*wkSetNSURLConnectionDefersCallbacks)(NSURLConnection *, BOOL);
 void (*wkSetNSURLRequestShouldContentSniff)(NSMutableURLRequest *, BOOL);
 id (*wkCreateNSURLConnectionDelegateProxy)(void);
-BOOL (*wkSupportsMultipartXMixedReplace)(NSMutableURLRequest *);
 
 #ifdef BUILDING_ON_TIGER
 void (*wkGetFontMetrics)(CGFontRef, int* ascent, int* descent, int* lineGap, unsigned* unitsPerEm);
+BOOL (*wkSupportsMultipartXMixedReplace)(NSMutableURLRequest *);
 #endif
index 4be6da88a001b4e39e80d2463da12f3bc4fc9f1d..67350243f7c77d8fdf069fc78fff3914933dafea 100644 (file)
@@ -78,8 +78,10 @@ void ResourceRequest::doUpdatePlatformRequest()
         [nsRequest setURL:url()];
     else
         nsRequest = [[NSMutableURLRequest alloc] initWithURL:url()];
-    
+
+#ifdef BUILDING_ON_TIGER
     wkSupportsMultipartXMixedReplace(nsRequest);
+#endif
 
     [nsRequest setCachePolicy:(NSURLRequestCachePolicy)cachePolicy()];
     [nsRequest setTimeoutInterval:timeoutInterval()];
index f1a479ff7c46feef27065512682a217eb05fe117..26b2b35b53265e99a878c57e94d7d60fe63e9ce0 100644 (file)
@@ -1,3 +1,12 @@
+2008-02-29  Mark Rowe  <mrowe@apple.com>
+
+        Reviewed by Oliver Hunt.
+
+        Don't use WKSupportsMultipartXMixedReplace on Leopard as multipart/x-mixed-replace is always handled by NSURLRequest.
+
+        * WebCoreSupport/WebSystemInterface.m:
+        (InitWebCoreSystemInterface):
+
 2008-02-29  Mark Rowe  <mrowe@apple.com>
 
         Reviewed by Oliver Hunt.
index 382c4eafed650b12ce3756b5bee9593a6650696a..13dd0125182f6dab8b9a1e254de90b31ced34d3c 100644 (file)
@@ -87,13 +87,13 @@ void InitWebCoreSystemInterface(void)
     INIT(SignalCFReadStreamEnd);
     INIT(SignalCFReadStreamError);
     INIT(SignalCFReadStreamHasBytes);
-    INIT(SupportsMultipartXMixedReplace);
     INIT(QTMovieDataRate);
     INIT(QTMovieMaxTimeLoaded);
     INIT(QTMovieViewSetDrawSynchronously);
 
 #ifdef BUILDING_ON_TIGER
     INIT(GetFontMetrics);
+    INIT(SupportsMultipartXMixedReplace);
 #endif
 
     didInit = true;
index 04a38703b447ae3216fe4643f532a91080360b96..fe8c9187391fc75eb61d5c598678a22f1828b860 100644 (file)
@@ -1,3 +1,12 @@
+2008-02-29  Mark Rowe  <mrowe@apple.com>
+
+        Reviewed by Oliver Hunt.
+
+        Don't use WKSupportsMultipartXMixedReplace on Leopard as multipart/x-mixed-replace is always handled by NSURLRequest.
+
+        * WebKitSystemInterface.h:
+        * libWebKitSystemInterfaceLeopard.a:
+
 2008-02-29  Mark Rowe  <mrowe@apple.com>
 
         Reviewed by Oliver Hunt and Oliver Hunt.
index c82944a4dc4d435a6018b493d9a170669727cbb8..169dff26c5ef457f6484cfab494435f1e49724bc 100644 (file)
@@ -147,7 +147,11 @@ void WKNSWindowRestoreCGContext(NSWindow *, CGContextRef);
 
 void WKNSWindowMakeBottomCornersSquare(NSWindow *);
 
+#ifdef BUILDING_ON_TIGER
+// WKSupportsMultipartXMixedReplace is not required on Leopard as multipart/x-mixed-replace is always handled by NSURLRequest
 BOOL WKSupportsMultipartXMixedReplace(NSMutableURLRequest *request);
+#endif
+
 NSString* WKPathFromFont(NSFont *font);
 
 BOOL WKCGContextIsBitmapContext(CGContextRef context);
index bfdef8182371fe8d6e59f37af810006e7828bd88..acc54f9d827469ca734662ab2ef3cd3e26272fa1 100644 (file)
Binary files a/WebKitLibraries/libWebKitSystemInterfaceLeopard.a and b/WebKitLibraries/libWebKitSystemInterfaceLeopard.a differ