WebKit Bugzilla
Attachment 343561 Details for
Bug 187024
: Enable WebKit iOS 12 build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-187024-20180625170615.patch (text/plain), 30.52 KB, created by
Jonathan Bedard
on 2018-06-25 17:06:15 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jonathan Bedard
Created:
2018-06-25 17:06:15 PDT
Size:
30.52 KB
patch
obsolete
>Index: Source/WTF/ChangeLog >=================================================================== >--- Source/WTF/ChangeLog (revision 233145) >+++ Source/WTF/ChangeLog (working copy) >@@ -1,3 +1,13 @@ >+2018-06-25 Jonathan Bedard <jbedard@apple.com> >+ >+ Enable WebKit iOS 12 build >+ https://bugs.webkit.org/show_bug.cgi?id=187024 >+ <rdar://problem/39759057> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * wtf/spi/darwin/XPCSPI.h: Add endpoint and connection declarations. >+ > 2018-06-22 Darin Adler <darin@apple.com> > > [Cocoa] Convert the small bit of Objective-C++ code in WTF to ARC >Index: Source/WTF/wtf/FeatureDefines.h >=================================================================== >--- Source/WTF/wtf/FeatureDefines.h (revision 233145) >+++ Source/WTF/wtf/FeatureDefines.h (working copy) >@@ -174,7 +174,7 @@ the public iOS SDK. See <https://webkit. > > #if !defined(ENABLE_WKPDFVIEW) > #if PLATFORM(IOS) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV) && !ENABLE(MINIMAL_SIMULATOR) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 120000 >-#define ENABLE_WKPDFVIEW 1 >+#define ENABLE_WKPDFVIEW 0 > #endif > #endif > >Index: Source/WTF/wtf/spi/darwin/XPCSPI.h >=================================================================== >--- Source/WTF/wtf/spi/darwin/XPCSPI.h (revision 233145) >+++ Source/WTF/wtf/spi/darwin/XPCSPI.h (working copy) >@@ -35,6 +35,7 @@ > #if OS_OBJECT_USE_OBJC > OS_OBJECT_DECL(xpc_object); > typedef xpc_object_t xpc_connection_t; >+typedef xpc_object_t xpc_endpoint_t; > > static ALWAYS_INLINE void _xpc_object_validate(xpc_object_t object) > { >@@ -74,6 +75,7 @@ typedef void (*xpc_connection_handler_t) > #define XPC_TYPE_BOOL (&_xpc_type_bool) > #define XPC_TYPE_CONNECTION (&_xpc_type_connection) > #define XPC_TYPE_DICTIONARY (&_xpc_type_dictionary) >+#define XPC_TYPE_ENDPOINT (&_xpc_type_endpoint) > #define XPC_TYPE_ERROR (&_xpc_type_error) > #define XPC_TYPE_STRING (&_xpc_type_string) > >@@ -101,6 +103,8 @@ extern const struct _xpc_type_s _xpc_typ > extern const struct _xpc_type_s _xpc_type_dictionary; > extern const struct _xpc_type_s _xpc_type_error; > extern const struct _xpc_type_s _xpc_type_string; >+extern const struct _xpc_type_s _xpc_type_connection; >+extern const struct _xpc_type_s _xpc_type_endpoint; > > xpc_object_t xpc_array_create(const xpc_object_t*, size_t count); > #if COMPILER_SUPPORTS(BLOCKS) >@@ -132,7 +136,7 @@ void xpc_dictionary_set_bool(xpc_object_ > void xpc_dictionary_set_fd(xpc_object_t, const char* key, int fd); > void xpc_dictionary_set_string(xpc_object_t, const char* key, const char* string); > void xpc_dictionary_set_uint64(xpc_object_t, const char* key, uint64_t value); >-void xpc_dictionary_set_value(xpc_object_t, const char*key, xpc_object_t value); >+void xpc_dictionary_set_value(xpc_object_t, const char *key, xpc_object_t value); > xpc_type_t xpc_get_type(xpc_object_t); > void xpc_main(xpc_connection_handler_t); > const char* xpc_string_get_string_ptr(xpc_object_t); >@@ -152,6 +156,13 @@ void xpc_connection_set_bootstrap(xpc_co > xpc_object_t xpc_copy_bootstrap(void); > void xpc_connection_set_oneshot_instance(xpc_connection_t, uuid_t instance); > >+void xpc_array_append_value(xpc_object_t xarray, xpc_object_t value); >+xpc_object_t xpc_data_create(const void* bytes, size_t length); >+xpc_object_t xpc_dictionary_get_array(xpc_object_t xdict, const char* key); >+const void * xpc_data_get_bytes_ptr(xpc_object_t xdata); >+size_t xpc_data_get_length(xpc_object_t xdata); >+xpc_object_t xpc_array_get_value(xpc_object_t xarray, size_t index); >+ > #if OS_OBJECT_USE_OBJC_RETAIN_RELEASE > #if !defined(xpc_retain) > #define xpc_retain(object) ({ xpc_object_t _o = (object); _xpc_object_validate(_o); [_o retain]; }) >Index: Source/WebCore/PAL/ChangeLog >=================================================================== >--- Source/WebCore/PAL/ChangeLog (revision 233145) >+++ Source/WebCore/PAL/ChangeLog (working copy) >@@ -1,3 +1,17 @@ >+2018-06-25 Jonathan Bedard <jbedard@apple.com> >+ >+ Enable WebKit iOS 12 build >+ https://bugs.webkit.org/show_bug.cgi?id=187024 >+ <rdar://problem/39759057> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * pal/cf/CoreMediaSoftLink.cpp: Condition some CoreMedia functions on version. >+ * pal/cf/CoreMediaSoftLink.h: Ditto. >+ * pal/spi/cocoa/NSXPCConnectionSPI.h: Use XPCSPI.h instead of xpc.h. >+ * pal/spi/ios/QuickLookSPI.h: QLItem adopts QLPreviewItem. >+ * pal/spi/ios/SystemPreviewSPI.h: Fix compiler errors. >+ > 2018-06-23 Yusuke Suzuki <utatane.tea@gmail.com> > > [WTF] Add user-defined literal for ASCIILiteral >Index: Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.cpp >=================================================================== >--- Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.cpp (revision 233145) >+++ Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.cpp (working copy) >@@ -93,7 +93,6 @@ SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreM > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMNotificationCenterGetDefaultLocalCenter, CMNotificationCenterRef, (void), ()) > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMNotificationCenterAddListener, OSStatus, (CMNotificationCenterRef center, const void* listener, CMNotificationCallback callback, CFStringRef notification, const void* object, UInt32 flags), (center, listener, callback, notification, object, flags)) > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMNotificationCenterRemoveListener, OSStatus, (CMNotificationCenterRef center, const void* listener, CMNotificationCallback callback, CFStringRef notification, const void* object), (center, listener, callback, notification, object)) >-SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMSampleBufferCallForEachSample, OSStatus, (CMSampleBufferRef sbuf, OSStatus (* CMSAMPLEBUFFERCALL_NOESCAPE callback)( CMSampleBufferRef sampleBuffer, CMItemCount index, void *refcon), void *refcon), (sbuf, callback, refcon)) > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMSampleBufferCreate, OSStatus, (CFAllocatorRef allocator, CMBlockBufferRef dataBuffer, Boolean dataReady, CMSampleBufferMakeDataReadyCallback makeDataReadyCallback, void *makeDataReadyRefcon, CMFormatDescriptionRef formatDescription, CMItemCount numSamples, CMItemCount numSampleTimingEntries, const CMSampleTimingInfo *sampleTimingArray, CMItemCount numSampleSizeEntries, const size_t *sampleSizeArray, CMSampleBufferRef *sBufOut), (allocator, dataBuffer, dataReady, makeDataReadyCallback, makeDataReadyRefcon, formatDescription, numSamples, numSampleTimingEntries, sampleTimingArray, numSampleSizeEntries, sampleSizeArray, sBufOut)) > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMSampleBufferCreateCopy, OSStatus, (CFAllocatorRef allocator, CMSampleBufferRef sbuf, CMSampleBufferRef *sbufCopyOut), (allocator, sbuf, sbufCopyOut)) > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMSampleBufferCreateCopyWithNewTiming, OSStatus, (CFAllocatorRef allocator, CMSampleBufferRef originalSBuf, CMItemCount numSampleTimingEntries, const CMSampleTimingInfo *sampleTimingArray, CMSampleBufferRef *sBufCopyOut), (allocator, originalSBuf, numSampleTimingEntries, sampleTimingArray, sBufCopyOut)) >@@ -150,7 +149,6 @@ SOFT_LINK_CONSTANT_FOR_SOURCE(PAL, CoreM > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMAudioFormatDescriptionGetStreamBasicDescription, const AudioStreamBasicDescription *, (CMAudioFormatDescriptionRef desc), (desc)) > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer, OSStatus, (CMSampleBufferRef sbuf, size_t *bufferListSizeNeededOut, AudioBufferList *bufferListOut, size_t bufferListSize, CFAllocatorRef bbufStructAllocator, CFAllocatorRef bbufMemoryAllocator, uint32_t flags, CMBlockBufferRef *blockBufferOut), (sbuf, bufferListSizeNeededOut, bufferListOut, bufferListSize, bbufStructAllocator, bbufMemoryAllocator, flags, blockBufferOut)) > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMSampleBufferGetNumSamples, CMItemCount, (CMSampleBufferRef sbuf), (sbuf)) >-SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMSampleBufferCallBlockForEachSample, OSStatus, (CMSampleBufferRef sbuf, OSStatus (^ CMSAMPLEBUFFERCALL_NOESCAPE handler)(CMSampleBufferRef, CMItemCount)), (sbuf, handler)) > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMSampleBufferCopySampleBufferForRange, OSStatus, (CFAllocatorRef allocator, CMSampleBufferRef sbuf, CFRange sampleRange, CMSampleBufferRef* sBufOut), (allocator, sbuf, sampleRange, sBufOut)) > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMSampleBufferGetSampleSizeArray, OSStatus, (CMSampleBufferRef sbuf, CMItemCount sizeArrayEntries, size_t* sizeArrayOut, CMItemCount* sizeArrayEntriesNeededOut), (sbuf, sizeArrayEntries, sizeArrayOut, sizeArrayEntriesNeededOut)) > >@@ -160,6 +158,12 @@ SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreM > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMAudioFormatDescriptionCreate, OSStatus, (CFAllocatorRef allocator, const AudioStreamBasicDescription* asbd, size_t layoutSize, const AudioChannelLayout* layout, size_t magicCookieSize, const void* magicCookie, CFDictionaryRef extensions, CMAudioFormatDescriptionRef* outDesc), (allocator, asbd, layoutSize, layout, magicCookieSize, magicCookie, extensions, outDesc)) > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMClockGetHostTimeClock, CMClockRef, (void), ()) > SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMClockGetTime, CMTime, (CMClockRef clock), (clock)) >+ >+#if !PLATFORM(IOS) || __IPHONE_OS_VERSION_MAX_ALLOWED < 120000 >+SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMSampleBufferCallForEachSample, OSStatus, (CMSampleBufferRef sbuf, OSStatus (* CMSAMPLEBUFFERCALL_NOESCAPE callback)( CMSampleBufferRef sampleBuffer, CMItemCount index, void *refcon), void *refcon), (sbuf, callback, refcon)) >+SOFT_LINK_FUNCTION_FOR_SOURCE(PAL, CoreMedia, CMSampleBufferCallBlockForEachSample, OSStatus, (CMSampleBufferRef sbuf, OSStatus (^ CMSAMPLEBUFFERCALL_NOESCAPE handler)(CMSampleBufferRef, CMItemCount)), (sbuf, handler)) >+#endif >+ > #endif // PLATFORM(COCOA) > > #if PLATFORM(IOS) >Index: Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.h >=================================================================== >--- Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.h (revision 233145) >+++ Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.h (working copy) >@@ -143,8 +143,6 @@ SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreM > #define CMNotificationCenterAddListener softLink_CoreMedia_CMNotificationCenterAddListener > SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreMedia, CMNotificationCenterRemoveListener, OSStatus, (CMNotificationCenterRef center, const void* listener, CMNotificationCallback callback, CFStringRef notification, const void* object), (center, listener, callback, notification, object)) > #define CMNotificationCenterRemoveListener softLink_CoreMedia_CMNotificationCenterRemoveListener >-SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreMedia, CMSampleBufferCallForEachSample, OSStatus, (CMSampleBufferRef sbuf, OSStatus (* CMSAMPLEBUFFERCALL_NOESCAPE callback)( CMSampleBufferRef sampleBuffer, CMItemCount index, void *refcon), void *refcon), (sbuf, callback, refcon)) >-#define CMSampleBufferCallForEachSample softLink_CoreMedia_CMSampleBufferCallForEachSample > SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreMedia, CMSampleBufferCreate, OSStatus, (CFAllocatorRef allocator, CMBlockBufferRef dataBuffer, Boolean dataReady, CMSampleBufferMakeDataReadyCallback makeDataReadyCallback, void *makeDataReadyRefcon, CMFormatDescriptionRef formatDescription, CMItemCount numSamples, CMItemCount numSampleTimingEntries, const CMSampleTimingInfo *sampleTimingArray, CMItemCount numSampleSizeEntries, const size_t *sampleSizeArray, CMSampleBufferRef *sBufOut), (allocator, dataBuffer, dataReady, makeDataReadyCallback, makeDataReadyRefcon, formatDescription, numSamples, numSampleTimingEntries, sampleTimingArray, numSampleSizeEntries, sampleSizeArray, sBufOut)) > #define CMSampleBufferCreate softLink_CoreMedia_CMSampleBufferCreate > SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreMedia, CMSampleBufferCreateCopy, OSStatus, (CFAllocatorRef allocator, CMSampleBufferRef sbuf, CMSampleBufferRef *sbufCopyOut), (allocator, sbuf, sbufCopyOut)) >@@ -252,8 +250,6 @@ SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreM > #define CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer softLink_CoreMedia_CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer > SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreMedia, CMSampleBufferGetNumSamples, CMItemCount, (CMSampleBufferRef sbuf), (sbuf)) > #define CMSampleBufferGetNumSamples softLink_CoreMedia_CMSampleBufferGetNumSamples >-SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreMedia, CMSampleBufferCallBlockForEachSample, OSStatus, (CMSampleBufferRef sbuf, OSStatus (^ CMSAMPLEBUFFERCALL_NOESCAPE handler)(CMSampleBufferRef, CMItemCount)), (sbuf, handler)) >-#define CMSampleBufferCallBlockForEachSample softLink_CoreMedia_CMSampleBufferCallBlockForEachSample > SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreMedia, CMSampleBufferCopySampleBufferForRange, OSStatus, (CFAllocatorRef allocator, CMSampleBufferRef sbuf, CFRange sampleRange, CMSampleBufferRef* sBufOut), (allocator, sbuf, sampleRange, sBufOut)) > #define CMSampleBufferCopySampleBufferForRange softLink_CoreMedia_CMSampleBufferCopySampleBufferForRange > SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreMedia, CMSampleBufferGetSampleSizeArray, OSStatus, (CMSampleBufferRef sbuf, CMItemCount sizeArrayEntries, size_t* sizeArrayOut, CMItemCount* sizeArrayEntriesNeededOut), (sbuf, sizeArrayEntries, sizeArrayOut, sizeArrayEntriesNeededOut)) >@@ -271,6 +267,16 @@ SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreM > #define CMClockGetHostTimeClock softLink_CoreMedia_CMClockGetHostTimeClock > SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreMedia, CMClockGetTime, CMTime, (CMClockRef clock), (clock)) > #define CMClockGetTime softLink_CoreMedia_CMClockGetTime >+ >+#if !PLATFORM(IOS) || __IPHONE_OS_VERSION_MAX_ALLOWED < 120000 >+ >+SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreMedia, CMSampleBufferCallForEachSample, OSStatus, (CMSampleBufferRef sbuf, OSStatus (* CMSAMPLEBUFFERCALL_NOESCAPE callback)( CMSampleBufferRef sampleBuffer, CMItemCount index, void *refcon), void *refcon), (sbuf, callback, refcon)) >+#define CMSampleBufferCallForEachSample softLink_CoreMedia_CMSampleBufferCallForEachSample >+SOFT_LINK_FUNCTION_FOR_HEADER(PAL, CoreMedia, CMSampleBufferCallBlockForEachSample, OSStatus, (CMSampleBufferRef sbuf, OSStatus (^ CMSAMPLEBUFFERCALL_NOESCAPE handler)(CMSampleBufferRef, CMItemCount)), (sbuf, handler)) >+#define CMSampleBufferCallBlockForEachSample softLink_CoreMedia_CMSampleBufferCallBlockForEachSample >+ >+#endif >+ > #endif // PLATFORM(COCOA) > > #if PLATFORM(IOS) >Index: Source/WebCore/PAL/pal/spi/cocoa/NSXPCConnectionSPI.h >=================================================================== >--- Source/WebCore/PAL/pal/spi/cocoa/NSXPCConnectionSPI.h (revision 233145) >+++ Source/WebCore/PAL/pal/spi/cocoa/NSXPCConnectionSPI.h (working copy) >@@ -25,6 +25,8 @@ > > #pragma once > >+#include <wtf/spi/darwin/XPCSPI.h> >+ > #if USE(APPLE_INTERNAL_SDK) > > #import <Foundation/NSXPCConnection_Private.h> >@@ -32,7 +34,6 @@ > #else > > #import <Foundation/NSXPCConnection.h> >-#import <xpc/xpc.h> > > NS_ASSUME_NONNULL_BEGIN > >Index: Source/WebCore/PAL/pal/spi/ios/QuickLookSPI.h >=================================================================== >--- Source/WebCore/PAL/pal/spi/ios/QuickLookSPI.h (revision 233145) >+++ Source/WebCore/PAL/pal/spi/ios/QuickLookSPI.h (working copy) >@@ -24,6 +24,7 @@ > */ > > #import <Foundation/Foundation.h> >+#import <QuickLook/QuickLook.h> > > #if USE(APPLE_INTERNAL_SDK) > >@@ -53,8 +54,11 @@ > - (NSData *)provideDataForItem:(QLItem *)item; > @end > >-@interface QLItem : NSObject >+@interface QLItem : NSObject<QLPreviewItem> > - (instancetype)initWithDataProvider:(id<QLPreviewItemDataProvider>)data contentType:(NSString *)contentType previewTitle:(NSString *)previewTitle; >+- (instancetype)initWithPreviewItemProvider:(NSItemProvider *)itemProvider contentType:(NSString *)contentType previewTitle:(NSString *)previewTitle fileSize:(NSNumber *)fileSize; >+- (void)setPreviewItemProviderProgress:(NSNumber*)progress; >+- (void)setUseLoadingTimeout:(BOOL) timeout; > @end > > #define kQLReturnPasswordProtected 1 << 2 >Index: Source/WebCore/PAL/pal/spi/ios/SystemPreviewSPI.h >=================================================================== >--- Source/WebCore/PAL/pal/spi/ios/SystemPreviewSPI.h (revision 233145) >+++ Source/WebCore/PAL/pal/spi/ios/SystemPreviewSPI.h (working copy) >@@ -36,12 +36,12 @@ > @class QLPreviewController; > > @protocol ASVThumbnailViewDelegate <NSObject> >-- (void)thumbnailView:(ASVThumbnailView *)thumbnailView wantsToPresentPreviewController:(QLPreviewController *)previewController forItem:(QLItem *)item >+- (void)thumbnailView:(ASVThumbnailView *)thumbnailView wantsToPresentPreviewController:(QLPreviewController *)previewController forItem:(QLItem *)item; > @end > > @interface ASVThumbnailView : UIView > @property (nonatomic, weak) id<ASVThumbnailViewDelegate> delegate; >-@property (nonatomic) QLItem *thumbnailItem; >+@property (nonatomic, assign) QLItem *thumbnailItem; > @property (nonatomic) CGSize maxThumbnailSize; > @end > >Index: Source/WebKit/ChangeLog >=================================================================== >--- Source/WebKit/ChangeLog (revision 233145) >+++ Source/WebKit/ChangeLog (working copy) >@@ -1,3 +1,15 @@ >+2018-06-25 Jonathan Bedard <jbedard@apple.com> >+ >+ Enable WebKit iOS 12 build >+ https://bugs.webkit.org/show_bug.cgi?id=187024 >+ <rdar://problem/39759057> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * Platform/spi/ios/UIKitSPI.h: Add new UIKit SPI and UICompositingMode enumeration. >+ * UIProcess/ios/WKSystemPreviewView.mm: Use CoreGraphicsSPI.h. >+ * UIProcess/ios/fullscreen/WKFullscreenStackView.mm: Use QuartzCoreSPI.h. >+ > 2018-06-24 Michael Catanzaro <mcatanzaro@igalia.com> > > Unreviewed, fix GTK debug build after r233131 >Index: Source/WebKit/Platform/spi/ios/UIKitSPI.h >=================================================================== >--- Source/WebKit/Platform/spi/ios/UIKitSPI.h (revision 233145) >+++ Source/WebKit/Platform/spi/ios/UIKitSPI.h (working copy) >@@ -474,6 +474,8 @@ typedef NS_ENUM (NSInteger, _UIBackdropM > - (void)safeAreaInsetsDidChange; > #endif > @property (nonatomic, setter=_setContinuousCornerRadius:) CGFloat _continuousCornerRadius; >+- (void)insertSubview:(UIView *)view above:(UIView *)sibling; >+- (void)viewWillMoveToSuperview:(UIView *)newSuperview; > @end > > @interface UIWebSelectionView : UIView >@@ -935,14 +937,48 @@ typedef NS_OPTIONS(NSUInteger, UIDragOpe > - (void)configureLayerView:(UIView *)view; > @end > >+@interface _UIVisualEffectTintLayerConfig : _UIVisualEffectLayerConfig >++ (instancetype)layerWithTintColor:(UIColor *)tintColor; >++ (instancetype)layerWithTintColor:(UIColor *)tintColor filterType:(NSString *)filterType NS_AVAILABLE_IOS(9_0); >+@end >+ > @interface _UIVisualEffectConfig : NSObject > @property (nonatomic, readonly) _UIVisualEffectLayerConfig *contentConfig; > + (_UIVisualEffectConfig *)configWithContentConfig:(_UIVisualEffectLayerConfig *)contentConfig; > @end > >+typedef NS_ENUM(NSInteger, UICompositingMode) { >+ UICompositingModeNormal, >+ UICompositingModeMultiply, >+ UICompositingModeScreen, >+ UICompositingModeOverlay, >+ UICompositingModeDarken, >+ UICompositingModeLighten, >+ UICompositingModeColorDodge, >+ UICompositingModeColorBurn, >+ UICompositingModeSoftLight, >+ UICompositingModeHardLight, >+ UICompositingModeDifference, >+ UICompositingModeExclusion, >+ UICompositingModeClear, >+ UICompositingModeCopy, >+ UICompositingModeSourceIn, >+ UICompositingModeSourceOut, >+ UICompositingModeSourceAtop, >+ UICompositingModeDestination, >+ UICompositingModeDestinationOver, >+ UICompositingModeDestinationIn, >+ UICompositingModeDestinationOut, >+ UICompositingModeDestinationAtop, >+ UICompositingModeXOR, >+ UICompositingModePlusDarker, >+ UICompositingModePlusLighter, >+}; >+ > @interface UIVisualEffect () > + (UIVisualEffect *)emptyEffect; > + (UIVisualEffect *)effectCombiningEffects:(NSArray<UIVisualEffect *> *)effects; >++ (UIVisualEffect *)effectCompositingColor:(UIColor *)color withMode:(UICompositingMode)compositingMode alpha:(CGFloat)alpha; > @end > > @interface UIColorEffect : UIVisualEffect >Index: Source/WebKit/UIProcess/ios/WKSystemPreviewView.mm >=================================================================== >--- Source/WebKit/UIProcess/ios/WKSystemPreviewView.mm (revision 233145) >+++ Source/WebKit/UIProcess/ios/WKSystemPreviewView.mm (working copy) >@@ -35,6 +35,7 @@ > #import <MobileCoreServices/MobileCoreServices.h> > #import <WebCore/FloatRect.h> > #import <WebCore/LocalizedStrings.h> >+#import <pal/spi/cg/CoreGraphicsSPI.h> > #import <pal/spi/ios/SystemPreviewSPI.h> > #import <wtf/RetainPtr.h> > #import <wtf/SoftLinking.h> >Index: Source/WebKit/UIProcess/ios/fullscreen/WKFullscreenStackView.mm >=================================================================== >--- Source/WebKit/UIProcess/ios/fullscreen/WKFullscreenStackView.mm (revision 233145) >+++ Source/WebKit/UIProcess/ios/fullscreen/WKFullscreenStackView.mm (working copy) >@@ -29,9 +29,9 @@ > #include "WKFullscreenStackView.h" > > #import "UIKitSPI.h" >-#import <QuartzCore/CAFilter.h> > #import <UIKit/UIVisualEffectView.h> > #import <pal/cf/CoreMediaSoftLink.h> >+#import <pal/spi/cocoa/QuartzCoreSPI.h> > #import <wtf/NeverDestroyed.h> > #import <wtf/RetainPtr.h> > >Index: Tools/ChangeLog >=================================================================== >--- Tools/ChangeLog (revision 233179) >+++ Tools/ChangeLog (working copy) >@@ -1,3 +1,14 @@ >+2018-06-25 Jonathan Bedard <jbedard@apple.com> >+ >+ Enable WebKit iOS 12 build >+ https://bugs.webkit.org/show_bug.cgi?id=187024 >+ <rdar://problem/39759057> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * Scripts/configure-xcode-for-ios-development: >+ (copyMissingHeadersFromSDKToSDKIfNeeded): Copy launch.h into embedded SDKs. >+ > 2018-06-25 Aakash Jain <aakash_jain@apple.com> > > [ews-build] Add support for Bindings-tests-EWS >Index: Tools/Scripts/configure-xcode-for-ios-development >=================================================================== >--- Tools/Scripts/configure-xcode-for-ios-development (revision 233145) >+++ Tools/Scripts/configure-xcode-for-ios-development (working copy) >@@ -75,6 +75,7 @@ sub copyMissingHeadersFromSDKToSDKIfNeed > { > my @missingHeaders = qw( > /usr/include/crt_externs.h >+ /usr/include/launch.h > /usr/include/MacErrors.h > /usr/include/mach/mach_types.defs > /usr/include/mach/machine/machine_types.defs >Index: WebKitLibraries/ChangeLog >=================================================================== >--- WebKitLibraries/ChangeLog (revision 233145) >+++ WebKitLibraries/ChangeLog (working copy) >@@ -1,3 +1,13 @@ >+2018-06-25 Jonathan Bedard <jbedard@apple.com> >+ >+ Enable WebKit iOS 12 build >+ https://bugs.webkit.org/show_bug.cgi?id=187024 >+ <rdar://problem/39759057> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * WebKitPrivateFrameworkStubs/iOS/12: Added. >+ > 2018-05-24 Joseph Pecoraro <pecoraro@apple.com> > > [iOS] Hard link AppSupport instead of soft linking >Index: WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/AppSupport.framework/AppSupport.tbd >=================================================================== >--- WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/AppSupport.framework/AppSupport.tbd (nonexistent) >+++ WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/AppSupport.framework/AppSupport.tbd (working copy) >@@ -0,0 +1,23 @@ >+--- !tapi-tbd-v2 >+archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+exports: >+ - >+ archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+ symbols: >+ - _CPCopyBundleIdentifierFromAuditToken >+ objc-classes: >+ - _CPNetworkObserver >+install-name: /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport >+objc-constraint: none >+platform: ios >+... >Index: WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/AssertionServices.framework/AssertionServices.tbd >=================================================================== >--- WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/AssertionServices.framework/AssertionServices.tbd (nonexistent) >+++ WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/AssertionServices.framework/AssertionServices.tbd (working copy) >@@ -0,0 +1,25 @@ >+--- !tapi-tbd-v2 >+archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+exports: >+ - >+ archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+ objc-classes: >+ - _BKSApplicationStateMonitor >+ - _BKSProcessAssertion >+ symbols: >+ - _BKSApplicationStateMostElevatedStateForProcessIDKey >+ - _BKSApplicationStateProcessIDKey >+install-name: /System/Library/PrivateFrameworks/AssertionServices.framework/AssertionServices >+objc-constraint: none >+platform: ios >+... >Index: WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/CorePDF.framework/CorePDF.tbd >=================================================================== >--- WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/CorePDF.framework/CorePDF.tbd (nonexistent) >+++ WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/CorePDF.framework/CorePDF.tbd (working copy) >@@ -0,0 +1,24 @@ >+--- !tapi-tbd-v2 >+archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+exports: >+ - >+ archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+ objc-classes: >+ - _UIPDFDocument >+ - _UIPDFLinkAnnotation >+ - _UIPDFPageView >+ - _UIPDFSelection >+install-name: /System/Library/PrivateFrameworks/CorePDF.framework/CorePDF >+objc-constraint: none >+platform: ios >+... >Index: WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/CorePrediction.framework/CorePrediction.tbd >=================================================================== >--- WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/CorePrediction.framework/CorePrediction.tbd (nonexistent) >+++ WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/CorePrediction.framework/CorePrediction.tbd (working copy) >@@ -0,0 +1,22 @@ >+--- !tapi-tbd-v2 >+archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+exports: >+ - >+ archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+ symbols: >+ - _svm_load_model >+ - _svm_predict_values >+install-name: /System/Library/PrivateFrameworks/CorePrediction.framework/CorePrediction >+objc-constraint: none >+platform: ios >+... >Index: WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/DeviceIdentity.framework/DeviceIdentity.tbd >=================================================================== >--- WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/DeviceIdentity.framework/DeviceIdentity.tbd (nonexistent) >+++ WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/DeviceIdentity.framework/DeviceIdentity.tbd (working copy) >@@ -0,0 +1,30 @@ >+--- !tapi-tbd-v2 >+archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+exports: >+ - >+ archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+ symbols: >+ - _DeviceIdentityIssueClientCertificateWithCompletion >+ - _kMAOptionsBAAAccessControls >+ - _kMAOptionsBAAIgnoreExistingKeychainItems >+ - _kMAOptionsBAAKeychainAccessGroup >+ - _kMAOptionsBAAKeychainLabel >+ - _kMAOptionsBAANonce >+ - _kMAOptionsBAAOIDNonce >+ - _kMAOptionsBAAOIDSToInclude >+ - _kMAOptionsBAASCRTAttestation >+ - _kMAOptionsBAAValidity >+install-name: /System/Library/PrivateFrameworks/DeviceIdentity.framework/DeviceIdentity >+objc-constraint: none >+platform: ios >+... >Index: WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/GraphicsServices.framework/GraphicsServices.tbd >=================================================================== >--- WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/GraphicsServices.framework/GraphicsServices.tbd (nonexistent) >+++ WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/GraphicsServices.framework/GraphicsServices.tbd (working copy) >@@ -0,0 +1,25 @@ >+--- !tapi-tbd-v2 >+archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+exports: >+ - >+ archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+ symbols: >+ - _GSCurrentEventTimestamp >+ - _GSFontInitialize >+ - _GSFontPurgeFontCache >+ - _GSInitialize >+ - _GSSystemRootDirectory >+install-name: /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices >+objc-constraint: none >+platform: ios >+... >Index: WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/IOSurfaceAccelerator.framework/IOSurfaceAccelerator.tbd >=================================================================== >--- WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/IOSurfaceAccelerator.framework/IOSurfaceAccelerator.tbd (nonexistent) >+++ WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/IOSurfaceAccelerator.framework/IOSurfaceAccelerator.tbd (working copy) >@@ -0,0 +1,24 @@ >+--- !tapi-tbd-v2 >+archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+exports: >+ - >+ archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+ symbols: >+ - _IOSurfaceAcceleratorCreate >+ - _IOSurfaceAcceleratorGetRunLoopSource >+ - _IOSurfaceAcceleratorTransformSurface >+ - _kIOSurfaceAcceleratorUnwireSurfaceKey >+install-name: /System/Library/PrivateFrameworks/IOSurfaceAccelerator.framework/IOSurfaceAccelerator >+objc-constraint: none >+platform: ios >+... >Index: WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/SafariSafeBrowsing.framework/SafariSafeBrowsing.tbd >=================================================================== >--- WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/SafariSafeBrowsing.framework/SafariSafeBrowsing.tbd (nonexistent) >+++ WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/SafariSafeBrowsing.framework/SafariSafeBrowsing.tbd (working copy) >@@ -0,0 +1,29 @@ >+--- !tapi-tbd-v2 >+archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+exports: >+ - >+ archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+ symbols: >+ - _SSBProviderGoogle >+ - _SSBProviderTencent >+ - __ZN12SafeBrowsing7Service4mainEv >+ objc-classes: >+ - _SSBLookupContext >+ - _SSBLookupResult >+ - _SSBServiceLookupResult >+install-name: /System/Library/PrivateFrameworks/SafariSafeBrowsing.framework/SafariSafeBrowsing >+current-version: 0 >+compatibility-version: 0 >+objc-constraint: none >+platform: ios >+... >Index: WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/URLFormatting.framework/URLFormatting.tbd >=================================================================== >--- WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/URLFormatting.framework/URLFormatting.tbd (nonexistent) >+++ WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/12/URLFormatting.framework/URLFormatting.tbd (working copy) >@@ -0,0 +1,12 @@ >+--- !tapi-tbd-v2 >+archs: >+ - armv7 >+ - armv7s >+ - arm64 >+ - i386 >+ - x86_64 >+install-name: /System/Library/PrivateFrameworks/URLFormatting.framework/URLFormatting >+current-version: 59.88 >+objc-constraint: none >+platform: ios >+...
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 187024
:
343561
|
343626
|
343637
|
343663
|
343759
|
343830