Changeset 176448 in webkit
- Timestamp:
- Nov 21, 2014, 8:40:55 AM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 16 edited
- 1 moved
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/WebCore.xcodeproj/project.pbxproj (modified) (4 diffs)
-
WebCore/loader/cocoa/SubresourceLoaderCocoa.mm (modified) (2 diffs)
-
WebCore/loader/mac/ResourceLoaderMac.mm (modified) (2 diffs)
-
WebCore/platform/audio/ios/MediaSessionManagerIOS.mm (modified) (1 diff)
-
WebCore/platform/spi/cf/CFNetworkSPI.h (modified) (1 diff)
-
WebCore/platform/spi/cg/CoreGraphicsSPI.h (modified) (1 diff)
-
WebCore/platform/spi/cocoa/QuartzCoreSPI.h (modified) (5 diffs)
-
WebCore/platform/spi/ios/MediaPlayerSPI.h (moved) (moved from trunk/Source/WebCore/platform/spi/ios/MPAVRoutingControllerSPI.h ) (2 diffs)
-
WebKit2/ChangeLog (modified) (1 diff)
-
WebKit2/NetworkProcess/mac/NetworkResourceLoaderMac.mm (modified) (1 diff)
-
WebKit2/Platform/mac/LayerHostingContext.mm (modified) (1 diff)
-
WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.h (modified) (1 diff)
-
WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.mm (modified) (1 diff)
-
WebKit2/UIProcess/API/Cocoa/WKWebView.mm (modified) (1 diff)
-
WebKit2/UIProcess/Network/NetworkProcessProxy.cpp (modified) (1 diff)
-
WebKit2/UIProcess/ios/forms/WKAirPlayRoutePicker.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r176447 r176448 1 2014-11-21 Daniel Bates <dabates@apple.com> 2 3 [iOS] WebKit2 fails to build with public SDK due to missing SPI from CFNetwork, QuartzCore, MediaPlayer, XPC 4 https://bugs.webkit.org/show_bug.cgi?id=138930 5 6 Reviewed by Anders Carlsson. 7 8 * WebCore.xcodeproj/project.pbxproj: Rename header MPAVRoutingControllerSPI.h to MediaPlayerSPI.h. 9 * loader/cocoa/SubresourceLoaderCocoa.mm: Move NSCachedURLResponse forward declarations to file 10 CFNetworkSPI.h and include header CFNetworkSPI.h. 11 * loader/mac/ResourceLoaderMac.mm: Ditto. 12 * platform/audio/ios/MediaSessionManagerIOS.mm: Substitute MediaPlayerSPI.h for MPAVRoutingControllerSPI.h. 13 * platform/spi/cf/CFNetworkSPI.h: Add more SPI. 14 * platform/spi/cg/CoreGraphicsSPI.h: Ditto. 15 * platform/spi/cocoa/QuartzCoreSPI.h: Ditto. 16 * platform/spi/ios/MediaPlayerSPI.h: Renamed from Source/WebCore/platform/spi/ios/MPAVRoutingControllerSPI.h. 17 1 18 2014-11-21 Chris Fleizach <cfleizach@apple.com> 2 19 -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r176431 r176448 5760 5760 CE12523D1A1676CD00864480 /* QuartzCoreSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE12523C1A1676CD00864480 /* QuartzCoreSPI.h */; settings = {ATTRIBUTES = (Private, ); }; }; 5761 5761 CE12523F1A16AE1200864480 /* AVKitSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE12523E1A16AE1200864480 /* AVKitSPI.h */; }; 5762 CE1252411A16B1B600864480 /* M PAVRoutingControllerSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE1252401A16B1B600864480 /* MPAVRoutingControllerSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };5762 CE1252411A16B1B600864480 /* MediaPlayerSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE1252401A16B1B600864480 /* MediaPlayerSPI.h */; settings = {ATTRIBUTES = (Private, ); }; }; 5763 5763 CE1252431A16C01A00864480 /* CoreUISPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE1252421A16C01A00864480 /* CoreUISPI.h */; }; 5764 5764 CE1252451A16C22500864480 /* DynamicLinkerSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE1252441A16C22500864480 /* DynamicLinkerSPI.h */; }; … … 13266 13266 CE12523C1A1676CD00864480 /* QuartzCoreSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QuartzCoreSPI.h; sourceTree = "<group>"; }; 13267 13267 CE12523E1A16AE1200864480 /* AVKitSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AVKitSPI.h; path = ios/AVKitSPI.h; sourceTree = "<group>"; }; 13268 CE1252401A16B1B600864480 /* M PAVRoutingControllerSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MPAVRoutingControllerSPI.h; path = ios/MPAVRoutingControllerSPI.h; sourceTree = "<group>"; };13268 CE1252401A16B1B600864480 /* MediaPlayerSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MediaPlayerSPI.h; path = ios/MediaPlayerSPI.h; sourceTree = "<group>"; }; 13269 13269 CE1252421A16C01A00864480 /* CoreUISPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CoreUISPI.h; path = ios/CoreUISPI.h; sourceTree = "<group>"; }; 13270 13270 CE1252441A16C22500864480 /* DynamicLinkerSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DynamicLinkerSPI.h; sourceTree = "<group>"; }; … … 18520 18520 CE12523E1A16AE1200864480 /* AVKitSPI.h */, 18521 18521 CE1252421A16C01A00864480 /* CoreUISPI.h */, 18522 CE1252401A16B1B600864480 /* MPAVRoutingControllerSPI.h */,18523 18522 CE1252481A16C3BC00864480 /* MobileGestaltSPI.h */, 18523 CE1252401A16B1B600864480 /* MediaPlayerSPI.h */, 18524 18524 CE1252381A166FA000864480 /* QuickLookSPI.h */, 18525 18525 ); … … 25483 25483 85031B480A44EFC700F992E0 /* MouseRelatedEvent.h in Headers */, 25484 25484 93309DFC099E64920056E581 /* MoveSelectionCommand.h in Headers */, 25485 CE1252411A16B1B600864480 /* M PAVRoutingControllerSPI.h in Headers */,25485 CE1252411A16B1B600864480 /* MediaPlayerSPI.h in Headers */, 25486 25486 FDB1700614A2BAB200A2B5D9 /* MultiChannelResampler.h in Headers */, 25487 25487 C6F0900A14327B6100685849 /* MutationCallback.h in Headers */, -
trunk/Source/WebCore/loader/cocoa/SubresourceLoaderCocoa.mm
r172811 r176448 27 27 #include "SubresourceLoader.h" 28 28 29 #include "CFNetworkSPI.h" 29 30 #include "CachedResource.h" 30 31 #include "DiskCacheMonitorCocoa.h" … … 32 33 #include "ResourceLoader.h" 33 34 #include "SharedBuffer.h" 34 35 @interface NSCachedURLResponse (Details)36 -(CFCachedURLResponseRef)_CFCachedURLResponse;37 @end38 35 39 36 namespace WebCore { -
trunk/Source/WebCore/loader/mac/ResourceLoaderMac.mm
r175549 r176448 30 30 #include "ResourceLoader.h" 31 31 32 #include "CFNetworkSPI.h" 32 33 #include "FrameLoader.h" 33 34 #include "FrameLoaderClient.h" … … 36 37 #if USE(NETWORK_CFDATA_ARRAY_CALLBACK) 37 38 #include "InspectorInstrumentation.h" 38 #endif39 40 #if USE(CFNETWORK)41 @interface NSCachedURLResponse (Details)42 -(id)_initWithCFCachedURLResponse:(CFCachedURLResponseRef)cachedResponse;43 -(CFCachedURLResponseRef)_CFCachedURLResponse;44 @end45 39 #endif 46 40 -
trunk/Source/WebCore/platform/audio/ios/MediaSessionManagerIOS.mm
r176206 r176448 30 30 31 31 #import "Logging.h" 32 #import "MPAVRoutingControllerSPI.h"33 32 #import "MediaPlayer.h" 33 #import "MediaPlayerSPI.h" 34 34 #import "MediaSession.h" 35 35 #import "SoftLinking.h" -
trunk/Source/WebCore/platform/spi/cf/CFNetworkSPI.h
r176371 r176448 62 62 #endif 63 63 64 #ifdef __OBJC__ 65 @interface NSCachedURLResponse (Details) 66 -(id)_initWithCFCachedURLResponse:(CFCachedURLResponseRef)cachedResponse; 67 -(CFCachedURLResponseRef)_CFCachedURLResponse; 68 @end 69 #endif 70 64 71 #endif // PLATFORM(WIN) || USE(APPLE_INTERNAL_SDK) 65 72 -
trunk/Source/WebCore/platform/spi/cg/CoreGraphicsSPI.h
r176149 r176448 136 136 EXTERN_C CGImageCachingFlags CGImageGetCachingFlags(CGImageRef); 137 137 138 EXTERN_C CGDataProviderRef CGPDFDocumentGetDataProvider(CGPDFDocumentRef); 139 138 140 #if PLATFORM(COCOA) 139 141 EXTERN_C CGSRegionEnumeratorObj CGSRegionEnumerator(CGRegionRef); -
trunk/Source/WebCore/platform/spi/cocoa/QuartzCoreSPI.h
r176363 r176448 29 29 30 30 #include <QuartzCore/CAColorMatrix.h> 31 #include <QuartzCore/CARenderServer.h> 31 32 32 33 #ifdef __OBJC__ … … 61 62 - (uint32_t)createImageSlot:(CGSize)size hasAlpha:(BOOL)flag; 62 63 - (void)deleteSlot:(uint32_t)name; 64 - (void)invalidate; 65 - (void)setFencePort:(mach_port_t)port; 66 @property (readonly) uint32_t contextId; 67 @property (strong) CALayer *layer; 68 @property CGColorSpaceRef colorSpace; 63 69 @end 64 70 … … 104 110 #endif 105 111 112 EXTERN_C void CARenderServerCaptureLayerWithTransform(mach_port_t serverPort, uint32_t clientId, uint64_t layerId, 113 uint32_t slotId, int32_t ox, int32_t oy, const CATransform3D *); 114 106 115 EXTERN_C NSString * const kCATiledLayerRemoveImmediately; 107 116 … … 112 121 EXTERN_C NSString * const kCAFilterColorSaturate; 113 122 EXTERN_C NSString * const kCAFilterGaussianBlur; 123 EXTERN_C NSString * const kCAFilterPlusD; 114 124 115 125 … … 128 138 129 139 EXTERN_C NSString * const kCAContextDisplayName; 140 EXTERN_C NSString * const kCAContextDisplayId; 141 EXTERN_C NSString * const kCAContextIgnoresHitTest; -
trunk/Source/WebCore/platform/spi/ios/MediaPlayerSPI.h
r176447 r176448 29 29 30 30 #import <MediaPlayer/MPAVRoutingController.h> 31 #import <MediaPlayer/MPAudioVideoRoutingActionSheet.h> 32 #import <MediaPlayer/MPAudioVideoRoutingPopoverController.h> 31 33 32 34 #else 35 36 enum { 37 MPAVItemTypeUnknown = 0, 38 MPAVItemTypeAudio = 1, 39 MPAVItemTypeVideo = 2, 40 }; 41 typedef NSUInteger MPAVItemType; 33 42 34 43 enum { … … 47 56 @end 48 57 58 @interface MPAudioVideoRoutingPopoverController : UIPopoverController 59 @end 60 61 @interface MPAudioVideoRoutingPopoverController (Details) 62 - (id)initWithType:(MPAVItemType)avItemType; 63 @end 64 65 @interface MPAudioVideoRoutingActionSheet : UIActionSheet 66 @end 67 68 @interface MPAudioVideoRoutingActionSheet (Details) 69 - (id)initWithType:(MPAVItemType)avItemType; 70 - (void)showWithValidInterfaceOrientationMaskBlock:(UIInterfaceOrientationMask (^)(void))block completionHandler:(void (^)())completionHandler; 71 @end 72 49 73 #endif -
trunk/Source/WebKit2/ChangeLog
r176441 r176448 1 2014-11-21 Daniel Bates <dabates@apple.com> 2 3 [iOS] WebKit2 fails to build with public SDK due to missing SPI from CFNetwork, QuartzCore, MediaPlayer, XPC 4 https://bugs.webkit.org/show_bug.cgi?id=138930 5 6 Reviewed by Anders Carlsson. 7 8 * NetworkProcess/mac/NetworkResourceLoaderMac.mm: Remove forward declaration for NSCachedURLResponse 9 methods as this functionality was incorporated into CFNetworkSPI.h, which is included by this file. 10 * Platform/mac/LayerHostingContext.mm: Moved QuartzCore forward declarations from this file to file 11 QuartzCoreSPI.h and included header QuartzCoreSPI.h. 12 * Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.h: Include header XPCSPI.h. 13 * Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.mm: Remove forward declarations of 14 XPC SPI since these declarations are part of XCPSPI.h, which is included by header XPCServiceEntryPoint.h. 15 * UIProcess/API/Cocoa/WKWebView.mm: Remove unnecessary include of header QuartzCore/CARenderServer.h 16 as it will be included by header QuartzCoreSPI.h. 17 * UIProcess/Network/NetworkProcessProxy.cpp: Include header XPCSPI.h when building for iOS with 18 USE(XPC_SERVICES) enabled. 19 * UIProcess/ios/forms/WKAirPlayRoutePicker.mm: Include header MediaPlayerSPI.h instead of including 20 MediaPlayer private headers directly. Also sort the list of #import directives. 21 1 22 2014-11-20 Dan Bernstein <mitz@apple.com> 2 23 -
trunk/Source/WebKit2/NetworkProcess/mac/NetworkResourceLoaderMac.mm
r176347 r176448 36 36 37 37 using namespace WebCore; 38 39 @interface NSCachedURLResponse (NSCachedURLResponseDetails)40 -(CFCachedURLResponseRef)_CFCachedURLResponse;41 @end42 38 43 39 namespace WebKit { -
trunk/Source/WebKit2/Platform/mac/LayerHostingContext.mm
r173762 r176448 27 27 #import "LayerHostingContext.h" 28 28 29 #import <WebCore/QuartzCoreSPI.h> 29 30 #import <WebKitSystemInterface.h> 30 31 #if __has_include(<QuartzCore/CAContext.h>)32 #import <QuartzCore/CAContext.h>33 #else34 @interface CAContext : NSObject35 @end36 37 @interface CAContext (Details)38 - (void)invalidate;39 @property (readonly) uint32_t contextId;40 @property (strong) CALayer *layer;41 @property CGColorSpaceRef colorSpace;42 - (void)setFencePort:(mach_port_t)port;43 + (CAContext *)remoteContextWithOptions:(NSDictionary *)dict;44 @end45 #endif46 47 extern NSString * const kCAContextIgnoresHitTest;48 31 49 32 namespace WebKit { -
trunk/Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.h
r174086 r176448 30 30 #import "WebKit2Initialize.h" 31 31 #import <wtf/OSObjectPtr.h> 32 #import <wtf/spi/darwin/XPCSPI.h> 32 33 33 34 #if HAVE(VOUCHERS) -
trunk/Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.mm
r174086 r176448 29 29 #import "SandboxUtilities.h" 30 30 #import "XPCServiceEntryPoint.h" 31 32 #if __has_include(<xpc/private.h>)33 #import <xpc/private.h>34 #else35 extern "C" xpc_object_t xpc_connection_copy_entitlement_value(xpc_connection_t connection, const char *entitlement);36 extern "C" mach_port_t xpc_dictionary_copy_mach_send(xpc_object_t, const char*);37 #endif38 31 39 32 namespace WebKit { -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm
r176408 r176448 96 96 #import <UIKit/UIPeripheralHost_Private.h> 97 97 #import <UIKit/UIWindow_Private.h> 98 #import <QuartzCore/CARenderServer.h>99 98 #import <WebCore/CoreGraphicsSPI.h> 100 99 #import <WebCore/InspectorOverlay.h> -
trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp
r174803 r176448 42 42 #endif 43 43 44 #if PLATFORM(IOS) && USE(XPC_SERVICES) 45 #include <wtf/spi/darwin/XPCSPI.h> 46 #endif 47 44 48 #define MESSAGE_CHECK(assertion) MESSAGE_CHECK_BASE(assertion, connection()) 45 49 -
trunk/Source/WebKit2/UIProcess/ios/forms/WKAirPlayRoutePicker.mm
r176441 r176448 32 32 #import "WKContentViewInteraction.h" 33 33 #import "WebPageProxy.h" 34 #import <MediaPlayer/MPAVItem.h>35 #import <MediaPlayer/MPAudioVideoRoutingActionSheet.h>36 #import <MediaPlayer/MPAudioVideoRoutingPopoverController.h>37 #import <WebCore/MPAVRoutingControllerSPI.h>38 #import <WebCore/SoftLinking.h>39 34 #import <UIKit/UIApplication_Private.h> 40 35 #import <UIKit/UIWindow_Private.h> 36 #import <WebCore/MediaPlayerSPI.h> 37 #import <WebCore/SoftLinking.h> 41 38 #import <wtf/RetainPtr.h> 42 39
Note:
See TracChangeset
for help on using the changeset viewer.