Changeset 219050 in webkit
- Timestamp:
- Jul 1, 2017, 2:12:04 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 3 deleted
- 155 edited
-
Source/JavaScriptCore/API/WebKitAvailability.h (modified) (1 diff)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/JavaScriptCore/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig (modified) (1 diff)
-
Source/JavaScriptCore/Configurations/Version.xcconfig (modified) (1 diff)
-
Source/ThirdParty/ANGLE/ChangeLog (modified) (1 diff)
-
Source/ThirdParty/ANGLE/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/ThirdParty/ANGLE/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/ThirdParty/libwebrtc/ChangeLog (modified) (1 diff)
-
Source/ThirdParty/libwebrtc/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/ThirdParty/libwebrtc/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/WTF/ChangeLog (modified) (1 diff)
-
Source/WTF/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/WTF/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/WTF/wtf/Platform.h (modified) (3 diffs)
-
Source/WTF/wtf/mac/AppKitCompatibilityDeclarations.h (modified) (1 diff)
-
Source/WTF/wtf/spi/cocoa/SecuritySPI.h (modified) (2 diffs)
-
Source/WTF/wtf/text/TextBreakIterator.cpp (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/WebCore/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/WebCore/Configurations/FeatureDefines.xcconfig (modified) (1 diff)
-
Source/WebCore/Configurations/Version.xcconfig (modified) (1 diff)
-
Source/WebCore/PAL/ChangeLog (modified) (1 diff)
-
Source/WebCore/PAL/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/WebCore/PAL/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig (modified) (1 diff)
-
Source/WebCore/PAL/Configurations/Version.xcconfig (modified) (1 diff)
-
Source/WebCore/accessibility/AXObjectCache.cpp (modified) (1 diff)
-
Source/WebCore/html/HTMLCanvasElement.cpp (modified) (1 diff)
-
Source/WebCore/page/WheelEventDeltaFilter.cpp (modified) (2 diffs)
-
Source/WebCore/page/mac/WheelEventDeltaFilterMac.h (modified) (2 diffs)
-
Source/WebCore/page/mac/WheelEventDeltaFilterMac.mm (modified) (2 diffs)
-
Source/WebCore/page/scrolling/ScrollingMomentumCalculator.cpp (modified) (1 diff)
-
Source/WebCore/page/scrolling/mac/ScrollingMomentumCalculatorMac.h (modified) (2 diffs)
-
Source/WebCore/page/scrolling/mac/ScrollingMomentumCalculatorMac.mm (modified) (2 diffs)
-
Source/WebCore/platform/cocoa/NetworkExtensionContentFilter.mm (modified) (11 diffs)
-
Source/WebCore/platform/graphics/ComplexTextController.h (modified) (1 diff)
-
Source/WebCore/platform/graphics/ca/cocoa/PlatformCAAnimationCocoa.mm (modified) (1 diff)
-
Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp (modified) (2 diffs)
-
Source/WebCore/platform/graphics/cocoa/FontCocoa.mm (modified) (1 diff)
-
Source/WebCore/platform/graphics/cocoa/IOSurface.mm (modified) (1 diff)
-
Source/WebCore/platform/graphics/cocoa/WebGPULayer.mm (modified) (1 diff)
-
Source/WebCore/platform/graphics/mac/ComplexTextControllerCoreText.mm (modified) (2 diffs)
-
Source/WebCore/platform/graphics/mac/WebGLLayer.mm (modified) (1 diff)
-
Source/WebCore/platform/mac/BlacklistUpdater.mm (modified) (1 diff)
-
Source/WebCore/platform/mac/PlatformScreenMac.mm (modified) (2 diffs)
-
Source/WebCore/platform/mac/ValidationBubbleMac.mm (modified) (1 diff)
-
Source/WebCore/platform/mac/WebGLBlacklist.mm (modified) (1 diff)
-
Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.h (modified) (2 diffs)
-
Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm (modified) (2 diffs)
-
Source/WebCore/platform/network/mac/CertificateInfoMac.mm (modified) (2 diffs)
-
Source/WebCore/platform/network/mac/CookieJarMac.mm (modified) (1 diff)
-
Source/WebCore/platform/spi/cf/CFNetworkSPI.h (modified) (6 diffs)
-
Source/WebCore/platform/spi/cg/CoreGraphicsSPI.h (modified) (1 diff)
-
Source/WebCore/platform/spi/cocoa/NEFilterSourceSPI.h (modified) (3 diffs)
-
Source/WebCore/platform/spi/cocoa/NSURLConnectionSPI.h (modified) (1 diff)
-
Source/WebCore/platform/spi/cocoa/QuartzCoreSPI.h (modified) (3 diffs)
-
Source/WebCore/platform/spi/mac/NSScrollingInputFilterSPI.h (modified) (2 diffs)
-
Source/WebCore/platform/spi/mac/NSScrollingMomentumCalculatorSPI.h (modified) (2 diffs)
-
Source/WebCore/platform/spi/mac/TUCallSPI.h (modified) (2 diffs)
-
Source/WebCore/rendering/RenderThemeMac.mm (modified) (1 diff)
-
Source/WebCore/svg/SVGToOTFFontConversion.cpp (modified) (2 diffs)
-
Source/WebInspectorUI/ChangeLog (modified) (1 diff)
-
Source/WebInspectorUI/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/WebInspectorUI/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Source/WebInspectorUI/Configurations/Version.xcconfig (modified) (1 diff)
-
Source/WebKit/mac/ChangeLog (modified) (1 diff)
-
Source/WebKit/mac/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/WebKit/mac/Configurations/DebugRelease.xcconfig (modified) (2 diffs)
-
Source/WebKit/mac/Configurations/FeatureDefines.xcconfig (modified) (1 diff)
-
Source/WebKit/mac/Configurations/Version.xcconfig (modified) (1 diff)
-
Source/WebKit/mac/Plugins/WebBasePluginPackage.mm (modified) (1 diff)
-
Source/WebKit/mac/WebCoreSupport/PopupMenuMac.mm (modified) (1 diff)
-
Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm (modified) (2 diffs)
-
Source/WebKit/mac/WebView/WebView.mm (modified) (2 diffs)
-
Source/WebKit2/ChangeLog (modified) (1 diff)
-
Source/WebKit2/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/WebKit2/Configurations/BaseTarget.xcconfig (modified) (1 diff)
-
Source/WebKit2/Configurations/BaseXPCService.xcconfig (modified) (1 diff)
-
Source/WebKit2/Configurations/DebugRelease.xcconfig (modified) (2 diffs)
-
Source/WebKit2/Configurations/FeatureDefines.xcconfig (modified) (1 diff)
-
Source/WebKit2/Configurations/NetworkService.xcconfig (modified) (1 diff)
-
Source/WebKit2/Configurations/PluginService.32.xcconfig (modified) (1 diff)
-
Source/WebKit2/Configurations/PluginService.64.xcconfig (modified) (1 diff)
-
Source/WebKit2/Configurations/Version.xcconfig (modified) (1 diff)
-
Source/WebKit2/Configurations/WebContentService.xcconfig (modified) (1 diff)
-
Source/WebKit2/Configurations/WebKit.xcconfig (modified) (1 diff)
-
Source/WebKit2/DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in (modified) (3 diffs)
-
Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX-10.9-10.10.plist (deleted)
-
Source/WebKit2/NetworkProcess/NetworkProcessCreationParameters.cpp (modified) (4 diffs)
-
Source/WebKit2/NetworkProcess/NetworkProcessCreationParameters.h (modified) (2 diffs)
-
Source/WebKit2/NetworkProcess/cocoa/NetworkProcessCocoa.mm (modified) (2 diffs)
-
Source/WebKit2/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in (modified) (3 diffs)
-
Source/WebKit2/Platform/IPC/Connection.h (modified) (2 diffs)
-
Source/WebKit2/Platform/IPC/mac/ConnectionMac.mm (modified) (5 diffs)
-
Source/WebKit2/Platform/mac/LayerHostingContext.h (modified) (1 diff)
-
Source/WebKit2/Platform/mac/LayerHostingContext.mm (modified) (3 diffs)
-
Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64-10.9-10.10.Info.plist (deleted)
-
Source/WebKit2/PluginProcess/mac/PluginControllerProxyMac.mm (modified) (1 diff)
-
Source/WebKit2/PluginProcess/mac/PluginProcessShim.mm (modified) (1 diff)
-
Source/WebKit2/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in (modified) (4 diffs)
-
Source/WebKit2/Shared/ChildProcess.h (modified) (1 diff)
-
Source/WebKit2/Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm (modified) (2 diffs)
-
Source/WebKit2/Shared/Plugins/PluginProcessCreationParameters.cpp (modified) (2 diffs)
-
Source/WebKit2/Shared/Plugins/PluginProcessCreationParameters.h (modified) (1 diff)
-
Source/WebKit2/Shared/WebProcessCreationParameters.cpp (modified) (4 diffs)
-
Source/WebKit2/Shared/WebProcessCreationParameters.h (modified) (2 diffs)
-
Source/WebKit2/Shared/mac/ChildProcessMac.mm (modified) (2 diffs)
-
Source/WebKit2/UIProcess/API/C/WKPage.cpp (modified) (2 diffs)
-
Source/WebKit2/UIProcess/ChildProcessProxy.cpp (modified) (1 diff)
-
Source/WebKit2/UIProcess/Cocoa/WebProcessPoolCocoa.mm (modified) (4 diffs)
-
Source/WebKit2/UIProcess/Cocoa/WebViewImpl.h (modified) (1 diff)
-
Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm (modified) (2 diffs)
-
Source/WebKit2/UIProcess/DrawingAreaProxy.h (modified) (1 diff)
-
Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp (modified) (1 diff)
-
Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.h (modified) (1 diff)
-
Source/WebKit2/UIProcess/Plugins/mac/PluginProcessProxyMac.mm (modified) (2 diffs)
-
Source/WebKit2/UIProcess/WebPageProxy.cpp (modified) (1 diff)
-
Source/WebKit2/UIProcess/mac/PageClientImpl.mm (modified) (3 diffs)
-
Source/WebKit2/UIProcess/mac/RemoteWebInspectorProxyMac.mm (modified) (1 diff)
-
Source/WebKit2/UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.h (modified) (1 diff)
-
Source/WebKit2/UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm (modified) (3 diffs)
-
Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm (modified) (2 diffs)
-
Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm (modified) (1 diff)
-
Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (modified) (5 diffs)
-
Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX-10.9-10.10.plist (deleted)
-
Source/WebKit2/WebProcess/WebPage/WebPage.cpp (modified) (1 diff)
-
Source/WebKit2/WebProcess/WebPage/WebPage.h (modified) (1 diff)
-
Source/WebKit2/WebProcess/WebPage/WebPage.messages.in (modified) (1 diff)
-
Source/WebKit2/WebProcess/WebPage/mac/PlatformCAAnimationRemote.mm (modified) (1 diff)
-
Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm (modified) (2 diffs)
-
Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm (modified) (4 diffs)
-
Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm (modified) (2 diffs)
-
Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in (modified) (4 diffs)
-
Source/bmalloc/ChangeLog (modified) (1 diff)
-
Source/bmalloc/Configurations/Base.xcconfig (modified) (1 diff)
-
Source/bmalloc/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/DumpRenderTree/mac/Configurations/Base.xcconfig (modified) (1 diff)
-
Tools/DumpRenderTree/mac/Configurations/DebugRelease.xcconfig (modified) (2 diffs)
-
Tools/DumpRenderTree/mac/DumpRenderTree.mm (modified) (2 diffs)
-
Tools/DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm (modified) (2 diffs)
-
Tools/MiniBrowser/Configurations/Base.xcconfig (modified) (1 diff)
-
Tools/MiniBrowser/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Tools/TestWebKitAPI/Configurations/Base.xcconfig (modified) (1 diff)
-
Tools/TestWebKitAPI/Configurations/DebugRelease.xcconfig (modified) (1 diff)
-
Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig (modified) (1 diff)
-
Tools/TestWebKitAPI/Tests/WebCore/ComplexTextController.cpp (modified) (5 diffs)
-
Tools/TestWebKitAPI/Tests/WebCore/cocoa/WebCoreNSURLSession.mm (modified) (1 diff)
-
Tools/TestWebKitAPI/Tests/mac/DragAndDropPasteboardTests.mm (modified) (2 diffs)
-
Tools/TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm (modified) (1 diff)
-
Tools/TestWebKitAPI/Tests/mac/StringTruncator.mm (modified) (1 diff)
-
Tools/WebKitTestRunner/Configurations/Base.xcconfig (modified) (1 diff)
-
Tools/WebKitTestRunner/Configurations/DebugRelease.xcconfig (modified) (2 diffs)
-
Tools/WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm (modified) (1 diff)
-
Tools/WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/WebKitAvailability.h
r197985 r219050 67 67 #endif 68 68 69 #endif /* __MAC_OS_X_VERSION_MIN_REQUIRED <=101100 */69 #endif /* !TARGET_OS_IPHONE && __MAC_OS_X_VERSION_MIN_REQUIRED < 101100 */ 70 70 71 71 #if defined(BUILDING_GTK__) -
trunk/Source/JavaScriptCore/ChangeLog
r219047 r219050 1 2017-07-01 Dan Bernstein <mitz@apple.com> 2 3 [macOS] Remove code only needed when building for OS X Yosemite 4 https://bugs.webkit.org/show_bug.cgi?id=174067 5 6 Reviewed by Tim Horton. 7 8 * API/WebKitAvailability.h: 9 * Configurations/Base.xcconfig: 10 * Configurations/DebugRelease.xcconfig: 11 * Configurations/FeatureDefines.xcconfig: 12 * Configurations/Version.xcconfig: 13 1 14 2017-07-01 Yusuke Suzuki <utatane.tea@gmail.com> 2 15 -
trunk/Source/JavaScriptCore/Configurations/Base.xcconfig
r217531 r219050 90 90 91 91 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 92 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;93 92 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 94 93 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Source/JavaScriptCore/Configurations/DebugRelease.xcconfig
r218057 r219050 31 31 32 32 MACOSX_DEPLOYMENT_TARGET = $(MACOSX_DEPLOYMENT_TARGET_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 33 MACOSX_DEPLOYMENT_TARGET_macosx_101000 = 10.10;34 33 MACOSX_DEPLOYMENT_TARGET_macosx_101100 = 10.11; 35 34 MACOSX_DEPLOYMENT_TARGET_macosx_101200 = 10.12; -
trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig
r219012 r219050 33 33 34 34 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 35 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101000 = YES;36 35 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101100 = YES; 37 36 38 37 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 39 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101000 = YES;40 38 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101100 = YES; 41 39 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101200 = YES; -
trunk/Source/JavaScriptCore/Configurations/Version.xcconfig
r218942 r219050 36 36 SYSTEM_VERSION_PREFIX[sdk=iphone*] = 8; 37 37 SYSTEM_VERSION_PREFIX = $(SYSTEM_VERSION_PREFIX_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 38 SYSTEM_VERSION_PREFIX_macosx_101000 = 10;39 38 SYSTEM_VERSION_PREFIX_macosx_101100 = 11; 40 39 SYSTEM_VERSION_PREFIX_macosx_101200 = 12; -
trunk/Source/ThirdParty/ANGLE/ChangeLog
r218057 r219050 1 2017-07-01 Dan Bernstein <mitz@apple.com> 2 3 [macOS] Remove code only needed when building for OS X Yosemite 4 https://bugs.webkit.org/show_bug.cgi?id=174067 5 6 Reviewed by Tim Horton. 7 8 * Configurations/Base.xcconfig: 9 * Configurations/DebugRelease.xcconfig: 10 1 11 2017-06-10 Dan Bernstein <mitz@apple.com> 2 12 -
trunk/Source/ThirdParty/ANGLE/Configurations/Base.xcconfig
r217531 r219050 50 50 51 51 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 52 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;53 52 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 54 53 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Source/ThirdParty/ANGLE/Configurations/DebugRelease.xcconfig
r218057 r219050 8 8 9 9 MACOSX_DEPLOYMENT_TARGET = $(MACOSX_DEPLOYMENT_TARGET_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 10 MACOSX_DEPLOYMENT_TARGET_macosx_101000 = 10.10;11 10 MACOSX_DEPLOYMENT_TARGET_macosx_101100 = 10.11; 12 11 MACOSX_DEPLOYMENT_TARGET_macosx_101200 = 10.12; -
trunk/Source/ThirdParty/libwebrtc/ChangeLog
r218850 r219050 1 2017-07-01 Dan Bernstein <mitz@apple.com> 2 3 [macOS] Remove code only needed when building for OS X Yosemite 4 https://bugs.webkit.org/show_bug.cgi?id=174067 5 6 Reviewed by Tim Horton. 7 8 * Configurations/Base.xcconfig: 9 * Configurations/DebugRelease.xcconfig: 10 1 11 2017-06-27 Youenn Fablet <youenn@apple.com> 2 12 -
trunk/Source/ThirdParty/libwebrtc/Configurations/Base.xcconfig
r217531 r219050 51 51 52 52 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 53 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;54 53 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 55 54 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Source/ThirdParty/libwebrtc/Configurations/DebugRelease.xcconfig
r218057 r219050 8 8 9 9 MACOSX_DEPLOYMENT_TARGET = $(MACOSX_DEPLOYMENT_TARGET_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 10 MACOSX_DEPLOYMENT_TARGET_macosx_101000 = 10.10;11 10 MACOSX_DEPLOYMENT_TARGET_macosx_101100 = 10.11; 12 11 MACOSX_DEPLOYMENT_TARGET_macosx_101200 = 10.12; -
trunk/Source/WTF/ChangeLog
r219048 r219050 1 2017-07-01 Dan Bernstein <mitz@apple.com> 2 3 [macOS] Remove code only needed when building for OS X Yosemite 4 https://bugs.webkit.org/show_bug.cgi?id=174067 5 6 Reviewed by Tim Horton. 7 8 * Configurations/Base.xcconfig: 9 * Configurations/DebugRelease.xcconfig: 10 * wtf/Platform.h: 11 * wtf/mac/AppKitCompatibilityDeclarations.h: 12 * wtf/spi/cocoa/SecuritySPI.h: 13 * wtf/text/TextBreakIterator.cpp: 14 1 15 2017-07-01 Joseph Pecoraro <pecoraro@apple.com> 2 16 -
trunk/Source/WTF/Configurations/Base.xcconfig
r217531 r219050 89 89 90 90 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 91 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;92 91 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 93 92 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Source/WTF/Configurations/DebugRelease.xcconfig
r218057 r219050 30 30 31 31 MACOSX_DEPLOYMENT_TARGET = $(MACOSX_DEPLOYMENT_TARGET_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 32 MACOSX_DEPLOYMENT_TARGET_macosx_101000 = 10.10;33 32 MACOSX_DEPLOYMENT_TARGET_macosx_101100 = 10.11; 34 33 MACOSX_DEPLOYMENT_TARGET_macosx_101200 = 10.12; -
trunk/Source/WTF/wtf/Platform.h
r218901 r219050 574 574 #endif 575 575 576 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100577 #define HAVE_NSSCROLLING_FILTERS 1578 #else579 #define HAVE_NSSCROLLING_FILTERS 0580 #endif581 582 576 /* OS X defines a series of platform macros for debugging. */ 583 577 /* Some of them are really annoying because they use common names (e.g. check()). */ … … 1146 1140 #endif 1147 1141 1148 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100) || PLATFORM(IOS)1142 #if PLATFORM(COCOA) 1149 1143 #define HAVE_TIMINGDATAOPTIONS 1 1150 1144 #endif … … 1200 1194 #if PLATFORM(COCOA) 1201 1195 #define USE_MEDIATOOLBOX 1 1202 #endif1203 1204 /* While 10.10 has support for fences, it is missing some API important for our integration of them. */1205 #if PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)1206 #define HAVE_COREANIMATION_FENCES 11207 1196 #endif 1208 1197 -
trunk/Source/WTF/wtf/mac/AppKitCompatibilityDeclarations.h
r208455 r219050 108 108 static const NSEventType NSEventTypeSystemDefined = NSSystemDefined; 109 109 110 #if __MAC_OS_X_VERSION_MAX_ALLOWED < 101100111 static const NSTextAlignment NSTextAlignmentRight = NSRightTextAlignment;112 static const NSTextAlignment NSTextAlignmentCenter = NSCenterTextAlignment;113 static const NSTextAlignment NSTextAlignmentLeft = NSLeftTextAlignment;114 static const NSTextAlignment NSTextAlignmentNatural = NSNaturalTextAlignment;115 static const NSTextAlignment NSTextAlignmentJustified = NSJustifiedTextAlignment;116 117 typedef NSInteger NSWritingDirectionFormatType;118 static const NSWritingDirectionFormatType = NSTextWritingDirectionOverride;119 static const NSWritingDirectionEmbedding = NSTextWritingDirectionEmbedding;120 #endif121 122 110 typedef NSUInteger NSWindowStyleMask; 123 111 static const NSWindowStyleMask NSWindowStyleMaskBorderless = NSBorderlessWindowMask; -
trunk/Source/WTF/wtf/spi/cocoa/SecuritySPI.h
r205488 r219050 38 38 #else 39 39 40 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100) || PLATFORM(IOS)41 40 typedef uint32_t SecSignatureHashAlgorithm; 42 41 enum { … … 57 56 58 57 WTF_EXTERN_C_END 59 #endif60 58 61 59 #endif -
trunk/Source/WTF/wtf/text/TextBreakIterator.cpp
r213095 r219050 32 32 #include <wtf/text/StringBuilder.h> 33 33 34 // FIXME: This needs a better name35 #define ADDITIONAL_EMOJI_SUPPORT (PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100))36 37 34 namespace WTF { 38 35 -
trunk/Source/WebCore/ChangeLog
r219045 r219050 1 2017-07-01 Dan Bernstein <mitz@apple.com> 2 3 [macOS] Remove code only needed when building for OS X Yosemite 4 https://bugs.webkit.org/show_bug.cgi?id=174067 5 6 Reviewed by Tim Horton. 7 8 * Configurations/Base.xcconfig: 9 * Configurations/DebugRelease.xcconfig: 10 * Configurations/FeatureDefines.xcconfig: 11 * Configurations/Version.xcconfig: 12 * accessibility/AXObjectCache.cpp: 13 (WebCore::AXObjectCache::setEnhancedUserInterfaceAccessibility): 14 * html/HTMLCanvasElement.cpp: 15 * page/WheelEventDeltaFilter.cpp: 16 (WebCore::WheelEventDeltaFilter::create): 17 * page/mac/WheelEventDeltaFilterMac.h: 18 * page/mac/WheelEventDeltaFilterMac.mm: 19 * page/scrolling/ScrollingMomentumCalculator.cpp: 20 * page/scrolling/mac/ScrollingMomentumCalculatorMac.h: 21 * page/scrolling/mac/ScrollingMomentumCalculatorMac.mm: 22 * platform/cocoa/NetworkExtensionContentFilter.mm: 23 (replacementDataFromDecisionInfo): 24 (WebCore::NetworkExtensionContentFilter::initialize): 25 (WebCore::NetworkExtensionContentFilter::willSendRequest): 26 (WebCore::NetworkExtensionContentFilter::responseReceived): 27 (WebCore::NetworkExtensionContentFilter::addData): 28 (WebCore::NetworkExtensionContentFilter::finishedAddingData): 29 (WebCore::NetworkExtensionContentFilter::unblockHandler): 30 * platform/graphics/ComplexTextController.h: 31 * platform/graphics/ca/cocoa/PlatformCAAnimationCocoa.mm: 32 (PlatformCAAnimationCocoa::setTimingFunction): 33 * platform/graphics/cocoa/FontCacheCoreText.cpp: 34 (WebCore::FontCache::platformAlternateFamilyName): 35 * platform/graphics/cocoa/FontCocoa.mm: 36 (WebCore::Font::platformInit): 37 * platform/graphics/cocoa/IOSurface.mm: 38 (WebCore::IOSurface::sinkIntoImage): 39 * platform/graphics/cocoa/WebGPULayer.mm: 40 (-[WebGPULayer initWithGPUDevice:]): 41 * platform/graphics/mac/ComplexTextControllerCoreText.mm: 42 (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun): 43 * platform/graphics/mac/WebGLLayer.mm: 44 (-[WebGLLayer initWithGraphicsContext3D:]): 45 * platform/mac/BlacklistUpdater.mm: 46 * platform/mac/PlatformScreenMac.mm: 47 (WebCore::screenSupportsExtendedColor): 48 * platform/mac/ValidationBubbleMac.mm: 49 (WebCore::ValidationBubble::ValidationBubble): 50 * platform/mac/WebGLBlacklist.mm: 51 (WebCore::WebGLBlacklist::create): 52 * platform/network/cocoa/WebCoreNSURLSession.h: 53 * platform/network/cocoa/WebCoreNSURLSession.mm: 54 * platform/network/mac/CertificateInfoMac.mm: 55 (WebCore::CertificateInfo::containsNonRootSHA1SignedCertificate): 56 * platform/network/mac/CookieJarMac.mm: 57 (WebCore::setCookiesFromDOM): 58 * platform/spi/cf/CFNetworkSPI.h: 59 * platform/spi/cg/CoreGraphicsSPI.h: 60 * platform/spi/cocoa/NEFilterSourceSPI.h: 61 * platform/spi/cocoa/NSURLConnectionSPI.h: 62 * platform/spi/cocoa/QuartzCoreSPI.h: 63 * platform/spi/mac/NSScrollingInputFilterSPI.h: 64 * platform/spi/mac/NSScrollingMomentumCalculatorSPI.h: 65 * platform/spi/mac/TUCallSPI.h: 66 * rendering/RenderThemeMac.mm: 67 (WebCore::RenderThemeMac::levelIndicatorFor): 68 * svg/SVGToOTFFontConversion.cpp: 69 (WebCore::SVGToOTFFontConverter::appendKERNTable): 70 (WebCore::SVGToOTFFontConverter::SVGToOTFFontConverter): 71 1 72 2017-06-30 Said Abou-Hallawa <sabouhallawa@apple.com> 2 73 -
trunk/Source/WebCore/Configurations/Base.xcconfig
r217531 r219050 79 79 80 80 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 81 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;82 81 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 83 82 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Source/WebCore/Configurations/DebugRelease.xcconfig
r218057 r219050 31 31 32 32 MACOSX_DEPLOYMENT_TARGET = $(MACOSX_DEPLOYMENT_TARGET_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 33 MACOSX_DEPLOYMENT_TARGET_macosx_101000 = 10.10;34 33 MACOSX_DEPLOYMENT_TARGET_macosx_101100 = 10.11; 35 34 MACOSX_DEPLOYMENT_TARGET_macosx_101200 = 10.12; -
trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig
r219012 r219050 33 33 34 34 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 35 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101000 = YES;36 35 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101100 = YES; 37 36 38 37 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 39 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101000 = YES;40 38 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101100 = YES; 41 39 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101200 = YES; -
trunk/Source/WebCore/Configurations/Version.xcconfig
r218942 r219050 36 36 SYSTEM_VERSION_PREFIX[sdk=iphone*] = 8; 37 37 SYSTEM_VERSION_PREFIX = $(SYSTEM_VERSION_PREFIX_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 38 SYSTEM_VERSION_PREFIX_macosx_101000 = 10;39 38 SYSTEM_VERSION_PREFIX_macosx_101100 = 11; 40 39 SYSTEM_VERSION_PREFIX_macosx_101200 = 12; -
trunk/Source/WebCore/PAL/ChangeLog
r219012 r219050 1 2017-07-01 Dan Bernstein <mitz@apple.com> 2 3 [macOS] Remove code only needed when building for OS X Yosemite 4 https://bugs.webkit.org/show_bug.cgi?id=174067 5 6 Reviewed by Tim Horton. 7 8 * Configurations/Base.xcconfig: 9 * Configurations/DebugRelease.xcconfig: 10 * Configurations/FeatureDefines.xcconfig: 11 * Configurations/Version.xcconfig: 12 1 13 2017-06-29 Jer Noble <jer.noble@apple.com> 2 14 -
trunk/Source/WebCore/PAL/Configurations/Base.xcconfig
r217531 r219050 79 79 80 80 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 81 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;82 81 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 83 82 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Source/WebCore/PAL/Configurations/DebugRelease.xcconfig
r218057 r219050 31 31 32 32 MACOSX_DEPLOYMENT_TARGET = $(MACOSX_DEPLOYMENT_TARGET_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 33 MACOSX_DEPLOYMENT_TARGET_macosx_101000 = 10.10;34 33 MACOSX_DEPLOYMENT_TARGET_macosx_101100 = 10.11; 35 34 MACOSX_DEPLOYMENT_TARGET_macosx_101200 = 10.12; -
trunk/Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig
r219012 r219050 33 33 34 34 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 35 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101000 = YES;36 35 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101100 = YES; 37 36 38 37 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 39 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101000 = YES;40 38 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101100 = YES; 41 39 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101200 = YES; -
trunk/Source/WebCore/PAL/Configurations/Version.xcconfig
r218942 r219050 36 36 SYSTEM_VERSION_PREFIX[sdk=iphone*] = 8; 37 37 SYSTEM_VERSION_PREFIX = $(SYSTEM_VERSION_PREFIX_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 38 SYSTEM_VERSION_PREFIX_macosx_101000 = 10;39 38 SYSTEM_VERSION_PREFIX_macosx_101100 = 11; 40 39 SYSTEM_VERSION_PREFIX_macosx_101200 = 12; -
trunk/Source/WebCore/accessibility/AXObjectCache.cpp
r218910 r219050 179 179 gAccessibilityEnhancedUserInterfaceEnabled = flag; 180 180 #if PLATFORM(MAC) 181 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100182 181 if (flag) 183 182 enableAccessibility(); 184 #endif185 183 #endif 186 184 } -
trunk/Source/WebCore/html/HTMLCanvasElement.cpp
r218908 r219050 89 89 #if PLATFORM(IOS) 90 90 const unsigned maxCanvasArea = 4096 * 4096; 91 #elif PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 10110092 const unsigned maxCanvasArea = 8192 * 8192;93 91 #else 94 92 const unsigned maxCanvasArea = 16384 * 16384; -
trunk/Source/WebCore/page/WheelEventDeltaFilter.cpp
r209087 r219050 27 27 #include "WheelEventDeltaFilter.h" 28 28 29 #if HAVE(NSSCROLLING_FILTERS)30 #include "WheelEventDeltaFilterMac.h"31 #endif32 33 29 #include "FloatSize.h" 34 30 #include "Logging.h" 35 31 #include "TextStream.h" 32 33 #if PLATFORM(MAC) 34 #include "WheelEventDeltaFilterMac.h" 35 #endif 36 36 37 37 namespace WebCore { … … 47 47 std::unique_ptr<WheelEventDeltaFilter> WheelEventDeltaFilter::create() 48 48 { 49 #if HAVE(NSSCROLLING_FILTERS)49 #if PLATFORM(MAC) 50 50 return std::make_unique<WheelEventDeltaFilterMac>(); 51 51 #else -
trunk/Source/WebCore/page/mac/WheelEventDeltaFilterMac.h
r208179 r219050 26 26 #pragma once 27 27 28 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110028 #if PLATFORM(MAC) 29 29 30 30 #include "WheelEventDeltaFilter.h" … … 50 50 } // namespace WebCore 51 51 52 #endif // PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110052 #endif // PLATFORM(MAC) -
trunk/Source/WebCore/page/mac/WheelEventDeltaFilterMac.mm
r209087 r219050 26 26 #include "config.h" 27 27 28 #if HAVE(NSSCROLLING_FILTERS)28 #if PLATFORM(MAC) 29 29 30 30 #include "WheelEventDeltaFilterMac.h" … … 70 70 } 71 71 72 #endif /* HAVE(NSSCROLLING_FILTERS) */72 #endif /* PLATFORM(MAC) */ -
trunk/Source/WebCore/page/scrolling/ScrollingMomentumCalculator.cpp
r210560 r219050 68 68 } 69 69 70 #if ! HAVE(NSSCROLLING_FILTERS)70 #if !PLATFORM(MAC) 71 71 72 72 std::unique_ptr<ScrollingMomentumCalculator> ScrollingMomentumCalculator::create(const FloatSize& viewportSize, const FloatSize& contentSize, const FloatPoint& initialOffset, const FloatSize& initialDelta, const FloatSize& initialVelocity) -
trunk/Source/WebCore/page/scrolling/mac/ScrollingMomentumCalculatorMac.h
r210560 r219050 29 29 #include <wtf/RetainPtr.h> 30 30 31 #if HAVE(NSSCROLLING_FILTERS)32 33 31 @class _NSScrollingMomentumCalculator; 34 32 … … 53 51 54 52 } // namespace WebCore 55 56 #endif // HAVE(NSSCROLLING_FILTERS) -
trunk/Source/WebCore/page/scrolling/mac/ScrollingMomentumCalculatorMac.mm
r210560 r219050 27 27 #include "ScrollingMomentumCalculatorMac.h" 28 28 29 #if HAVE(NSSCROLLING_FILTERS)29 #if PLATFORM(MAC) 30 30 31 31 #include "NSScrollingMomentumCalculatorSPI.h" … … 106 106 } // namespace WebCore 107 107 108 #endif // HAVE(NSSCROLLING_FILTERS)108 #endif // PLATFORM(MAC) -
trunk/Source/WebCore/platform/cocoa/NetworkExtensionContentFilter.mm
r216917 r219050 48 48 @end 49 49 50 #if HAVE(MODERN_NE_FILTER_SOURCE)51 50 static inline NSData *replacementDataFromDecisionInfo(NSDictionary *decisionInfo) 52 51 { … … 54 53 return decisionInfo[NEFilterSourceOptionsPageData]; 55 54 } 56 #endif57 55 58 56 namespace WebCore { … … 77 75 m_queue = adoptOSObject(dispatch_queue_create("WebKit NetworkExtension Filtering", DISPATCH_QUEUE_SERIAL)); 78 76 m_semaphore = adoptOSObject(dispatch_semaphore_create(0)); 79 #if HAVE(MODERN_NE_FILTER_SOURCE)80 77 ASSERT_UNUSED(url, !url); 81 78 m_neFilterSource = adoptNS([allocNEFilterSourceInstance() initWithDecisionQueue:m_queue.get()]); … … 86 83 [m_neFilterSource setSourceAppPid:presentingApplicationPID()]; 87 84 #endif 88 #else89 ASSERT_ARG(url, url);90 m_neFilterSource = adoptNS([allocNEFilterSourceInstance() initWithURL:*url direction:NEFilterSourceDirectionInbound socketIdentifier:0]);91 #endif92 85 } 93 86 94 87 void NetworkExtensionContentFilter::willSendRequest(ResourceRequest& request, const ResourceResponse& redirectResponse) 95 88 { 96 #if HAVE(MODERN_NE_FILTER_SOURCE)97 89 ASSERT(!request.isNull()); 98 90 if (!request.url().protocolIsInHTTPFamily() || !enabled()) { … … 131 123 132 124 request.setURL(modifiedRequestURL); 133 #else134 UNUSED_PARAM(request);135 UNUSED_PARAM(redirectResponse);136 #endif137 125 } 138 126 … … 144 132 } 145 133 146 #if !HAVE(MODERN_NE_FILTER_SOURCE)147 if (!enabled()) {148 m_state = State::Allowed;149 return;150 }151 152 initialize(&response.url());153 #else154 134 [m_neFilterSource receivedResponse:response.nsURLResponse() decisionHandler:[this](NEFilterSourceStatus status, NSDictionary *decisionInfo) { 155 135 handleDecision(status, replacementDataFromDecisionInfo(decisionInfo)); … … 160 140 // addData(). We should find a way to make this asynchronous. 161 141 dispatch_semaphore_wait(m_semaphore.get(), DISPATCH_TIME_FOREVER); 162 #endif163 142 } 164 143 … … 167 146 RetainPtr<NSData> copiedData { [NSData dataWithBytes:(void*)data length:length] }; 168 147 169 #if HAVE(MODERN_NE_FILTER_SOURCE)170 148 [m_neFilterSource receivedData:copiedData.get() decisionHandler:[this](NEFilterSourceStatus status, NSDictionary *decisionInfo) { 171 149 handleDecision(status, replacementDataFromDecisionInfo(decisionInfo)); 172 150 }]; 173 #else174 [m_neFilterSource addData:copiedData.get() withCompletionQueue:m_queue.get() completionHandler:[this](NEFilterSourceStatus status, NSData *replacementData) {175 ASSERT(!replacementData);176 handleDecision(status, replacementData);177 }];178 #endif179 151 180 152 // FIXME: We have to block here since DocumentLoader expects to have a … … 186 158 void NetworkExtensionContentFilter::finishedAddingData() 187 159 { 188 #if HAVE(MODERN_NE_FILTER_SOURCE)189 160 [m_neFilterSource finishedLoadingWithDecisionHandler:[this](NEFilterSourceStatus status, NSDictionary *decisionInfo) { 190 161 handleDecision(status, replacementDataFromDecisionInfo(decisionInfo)); 191 162 }]; 192 #else193 [m_neFilterSource dataCompleteWithCompletionQueue:m_queue.get() completionHandler:[this](NEFilterSourceStatus status, NSData *replacementData) {194 ASSERT(!replacementData);195 handleDecision(status, replacementData);196 }];197 #endif198 163 199 164 // FIXME: We have to block here since DocumentLoader expects to have a … … 212 177 ContentFilterUnblockHandler NetworkExtensionContentFilter::unblockHandler() const 213 178 { 214 #if HAVE(MODERN_NE_FILTER_SOURCE)215 179 using DecisionHandlerFunction = ContentFilterUnblockHandler::DecisionHandlerFunction; 216 180 … … 224 188 } 225 189 }; 226 #else227 return { };228 #endif229 190 } 230 191 #endif -
trunk/Source/WebCore/platform/graphics/ComplexTextController.h
r211836 r219050 33 33 #include <wtf/text/WTFString.h> 34 34 35 #define USE_LAYOUT_SPECIFIC_ADVANCES ((PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 90000))36 37 35 typedef unsigned short CGGlyph; 38 36 -
trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCAAnimationCocoa.mm
r216702 r219050 330 330 springAnimation.stiffness = function.stiffness(); 331 331 springAnimation.damping = function.damping(); 332 #if PLATFORM(IOS) || PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100333 332 springAnimation.initialVelocity = function.initialVelocity(); 334 #else335 springAnimation.velocity = function.initialVelocity();336 #endif337 333 } 338 334 break; -
trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp
r218919 r219050 1358 1358 static NeverDestroyed<AtomicString> songtiSC("Songti SC", AtomicString::ConstructFromLiteral); 1359 1359 static NeverDestroyed<AtomicString> songtiTC("Songti TC", AtomicString::ConstructFromLiteral); 1360 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1011001361 static NeverDestroyed<AtomicString> heitiSCReplacement("Heiti SC", AtomicString::ConstructFromLiteral);1362 static NeverDestroyed<AtomicString> heitiTCReplacement("Heiti TC", AtomicString::ConstructFromLiteral);1363 #else1364 1360 static NeverDestroyed<AtomicString> heitiSCReplacement("PingFang SC", AtomicString::ConstructFromLiteral); 1365 1361 static NeverDestroyed<AtomicString> heitiTCReplacement("PingFang TC", AtomicString::ConstructFromLiteral); 1366 #endif1367 1362 1368 1363 switch (familyName.length()) { … … 1393 1388 return songtiSC; 1394 1389 break; 1395 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1011001396 case 15:1397 if (equalLettersIgnoringASCIICase(familyName, "microsoft yahei"))1398 return heitiSCReplacement;1399 break;1400 #endif1401 1390 case 18: 1402 1391 if (equalLettersIgnoringASCIICase(familyName, "microsoft jhenghei")) -
trunk/Source/WebCore/platform/graphics/cocoa/FontCocoa.mm
r218909 r219050 124 124 #endif 125 125 126 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101100127 // Work around <rdar://problem/19433490>128 CGGlyph dummyGlyphs[] = {0, 0};129 CGSize dummySize[] = { CGSizeMake(0, 0), CGSizeMake(0, 0) };130 CTFontTransformGlyphs(m_platformData.ctFont(), dummyGlyphs, dummySize, 2, kCTFontTransformApplyPositioning | kCTFontTransformApplyShaping);131 #endif132 133 126 unsigned unitsPerEm = CTFontGetUnitsPerEm(m_platformData.font()); 134 127 float pointSize = m_platformData.size(); -
trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm
r218615 r219050 254 254 RetainPtr<CGImageRef> WebCore::IOSurface::sinkIntoImage(std::unique_ptr<IOSurface> surface) 255 255 { 256 #if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 100000) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)256 #if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 100000) || PLATFORM(MAC) 257 257 return adoptCF(CGIOSurfaceContextCreateImageReference(surface->ensurePlatformContext())); 258 258 #else -
trunk/Source/WebCore/platform/graphics/cocoa/WebGPULayer.mm
r213541 r219050 51 51 #if PLATFORM(MAC) 52 52 self.contentsScale = _devicePixelRatio; 53 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100 54 if ([self respondsToSelector:@selector(setColorspace:)]) 55 [self setColorspace:sRGBColorSpaceRef()]; 56 #endif 53 self.colorspace = sRGBColorSpaceRef(); 57 54 #endif 58 55 return self; -
trunk/Source/WebCore/platform/graphics/mac/ComplexTextControllerCoreText.mm
r212263 r219050 133 133 m_glyphs.uncheckedAppend(glyphsPtr[i]); 134 134 135 #if USE_LAYOUT_SPECIFIC_ADVANCES136 135 if (CTRunGetStatus(ctRun) & kCTRunStatusHasOrigins) { 137 136 Vector<CGSize> baseAdvances(m_glyphCount); … … 144 143 m_glyphOrigins.uncheckedAppend(glyphOrigins[i]); 145 144 } 146 } else 147 #endif 148 { 145 } else { 149 146 const CGSize* baseAdvances = CTRunGetAdvancesPtr(ctRun); 150 147 Vector<CGSize> baseAdvancesVector; -
trunk/Source/WebCore/platform/graphics/mac/WebGLLayer.mm
r212211 r219050 56 56 #if PLATFORM(MAC) 57 57 self.contentsScale = _devicePixelRatio; 58 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110059 58 self.colorspace = sRGBColorSpaceRef(); 60 #endif61 59 #endif 62 60 return self; -
trunk/Source/WebCore/platform/mac/BlacklistUpdater.mm
r204462 r219050 44 44 static time_t blacklistUpdateTime; 45 45 46 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110047 46 NSString * const blacklistPath = @"/System/Library/CoreServices/XProtect.bundle/Contents/Resources/XProtect.meta.plist"; 48 #else49 NSString * const blacklistPath = @"/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist";50 #endif51 47 52 48 namespace WebCore { -
trunk/Source/WebCore/platform/mac/PlatformScreenMac.mm
r203903 r219050 137 137 bool screenSupportsExtendedColor(Widget* widget) 138 138 { 139 #if __MAC_OS_X_VERSION_MIN_REQUIRED < 101100140 UNUSED_PARAM(widget);141 return false;142 #else143 139 if (!widget) 144 140 return false; … … 151 147 auto profile = adoptCF(ColorSyncProfileCreate(iccData.get(), nullptr)); 152 148 return profile && ColorSyncProfileIsWideGamut(profile.get()); 153 #endif154 149 #endif 155 150 } -
trunk/Source/WebCore/platform/mac/ValidationBubbleMac.mm
r212325 r219050 67 67 m_fontSize = std::max(settings.minimumFontSize, 13.0); 68 68 [label setFont:[NSFont systemFontOfSize:m_fontSize]]; 69 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110070 69 [label setMaximumNumberOfLines:4]; 71 #endif72 70 [[label cell] setTruncatesLastVisibleLine:YES]; 73 71 [popoverView addSubview:label.get()]; -
trunk/Source/WebCore/platform/mac/WebGLBlacklist.mm
r204462 r219050 201 201 CGLGetParameter(ctx, kCGLCPCurrentRendererID, &rendererId); 202 202 GLint supportsSeparateAddressSpace = 0; 203 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000204 203 CGLGetParameter(ctx, kCGLCPSupportSeparateAddressSpace, &supportsSeparateAddressSpace); 205 #endif206 204 CGLDestroyContext(ctx); 207 205 CGLReleasePixelFormat(pix); -
trunk/Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.h
r215685 r219050 26 26 #ifndef WebCoreNSURLSession_h 27 27 #define WebCoreNSURLSession_h 28 29 #if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110030 28 31 29 #import <Foundation/NSURLSession.h> … … 143 141 NS_ASSUME_NONNULL_END 144 142 145 #endif // PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100146 147 143 #endif -
trunk/Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm
r215263 r219050 27 27 #import "WebCoreNSURLSession.h" 28 28 29 #if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110030 31 29 #import "CachedResourceRequest.h" 32 30 #import "PlatformMediaResourceLoader.h" … … 660 658 } 661 659 @end 662 663 #endif // PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100 -
trunk/Source/WebCore/platform/network/mac/CertificateInfoMac.mm
r200463 r219050 82 82 #endif 83 83 84 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100) || PLATFORM(IOS)85 84 if (m_certificateChain) { 86 85 // Allow only the root certificate (the last in the chain) to be SHA1. … … 92 91 return false; 93 92 } 94 #else95 notImplemented();96 #endif97 93 98 94 return false; -
trunk/Source/WebCore/platform/network/mac/CookieJarMac.mm
r214270 r219050 188 188 NSDictionary *headerFields = [NSDictionary dictionaryWithObject:cookieString forKey:@"Set-Cookie"]; 189 189 190 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100190 #if PLATFORM(MAC) 191 191 NSArray *unfilteredCookies = [NSHTTPCookie _parsedCookiesWithResponseHeaderFields:headerFields forURL:cookieURL]; 192 192 #else -
trunk/Source/WebCore/platform/spi/cf/CFNetworkSPI.h
r219016 r219050 118 118 @end 119 119 120 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 90000)121 120 @interface NSURLSessionConfiguration () 122 121 @property (assign) _TimingDataOptions _timingDataOptions; … … 129 128 #endif 130 129 @end 131 #endif132 130 133 131 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000) … … 246 244 WTF_EXTERN_C_BEGIN 247 245 248 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)249 246 CFDataRef _CFNetworkCopyATSContext(void); 250 247 Boolean _CFNetworkSetATSContext(CFDataRef); 251 #endif252 248 253 249 #if PLATFORM(COCOA) … … 255 251 #endif 256 252 257 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)258 253 CFDataRef CFHTTPCookieStorageCreateIdentifyingData(CFAllocatorRef inAllocator, CFHTTPCookieStorageRef inStorage); 259 254 CFHTTPCookieStorageRef CFHTTPCookieStorageCreateFromIdentifyingData(CFAllocatorRef inAllocator, CFDataRef inData); 260 255 CFArrayRef _CFHTTPParsedCookiesWithResponseHeaderFields(CFAllocatorRef inAllocator, CFDictionaryRef headerFields, CFURLRef inURL); 261 #endif262 256 263 257 WTF_EXTERN_C_END … … 266 260 267 261 @interface NSHTTPCookie () 268 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100262 #if PLATFORM(MAC) 269 263 + (NSArray *)_parsedCookiesWithResponseHeaderFields:(NSDictionary *)headerFields forURL:(NSURL *)aURL; 270 264 #endif … … 282 276 283 277 // FIXME: Move +_setSharedHTTPCookieStorage: into the above section under !USE(APPLE_INTERNAL_SDK) when possible (soon). 284 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)285 278 @interface NSHTTPCookieStorage () 286 279 + (void)_setSharedHTTPCookieStorage:(NSHTTPCookieStorage *)storage; 287 280 @end 288 #endif289 281 290 282 @interface NSURLResponse () -
trunk/Source/WebCore/platform/spi/cg/CoreGraphicsSPI.h
r209397 r219050 105 105 kCGFontAntialiasingStyleUnfiltered = 0 << 7, 106 106 kCGFontAntialiasingStyleFilterLight = 1 << 7, 107 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100107 #if PLATFORM(MAC) 108 108 kCGFontAntialiasingStyleUnfilteredCustomDilation = (8 << 7), 109 109 #endif -
trunk/Source/WebCore/platform/spi/cocoa/NEFilterSourceSPI.h
r216917 r219050 23 23 * THE POSSIBILITY OF SUCH DAMAGE. 24 24 */ 25 26 #define HAVE_MODERN_NE_FILTER_SOURCE (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100) || PLATFORM(IOS)27 25 28 26 #if USE(APPLE_INTERNAL_SDK) … … 60 58 @end 61 59 62 #if HAVE(MODERN_NE_FILTER_SOURCE)63 64 60 #define NEFilterSourceOptionsPageData @"PageData" 65 61 #define NEFilterSourceOptionsRedirectURL @"RedirectURL" … … 80 76 @end 81 77 82 #endif83 84 78 #endif // !USE(APPLE_INTERNAL_SDK) -
trunk/Source/WebCore/platform/spi/cocoa/NSURLConnectionSPI.h
r214946 r219050 40 40 + (CFRunLoopRef)resourceLoaderRunLoop; 41 41 - (void)setDefersCallbacks:(BOOL)defers; 42 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 10110043 + (void)_setCollectsTimingData:(BOOL)collect;44 + (void)_collectTimingDataWithOptions:(TimingDataCollection)options;45 #endif46 42 - (NSDictionary *)_timingData; 47 43 @end -
trunk/Source/WebCore/platform/spi/cocoa/QuartzCoreSPI.h
r212776 r219050 125 125 @end 126 126 127 #if PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)128 127 typedef enum { 129 128 kCATransactionPhasePreLayout, … … 135 134 + (void)addCommitHandler:(void(^)(void))block forPhase:(CATransactionPhase)phase; 136 135 @end 137 #endif138 136 139 137 @interface CALayerHost : CALayer … … 142 140 @end 143 141 144 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED < 101100145 @interface CASpringAnimation : CABasicAnimation146 @property CGFloat mass;147 @property CGFloat stiffness;148 @property CGFloat damping;149 @property CGFloat velocity;150 @property CGFloat initialVelocity;151 @end152 #else153 142 @interface CASpringAnimation (Private) 154 143 @property CGFloat velocity; 155 144 @end 156 #endif157 145 158 146 #endif // __OBJC__ -
trunk/Source/WebCore/platform/spi/mac/NSScrollingInputFilterSPI.h
r188860 r219050 24 24 */ 25 25 26 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110026 #if PLATFORM(MAC) 27 27 28 28 #if USE(APPLE_INTERNAL_SDK) … … 39 39 #endif /* USE(APPLE_INTERNAL_SDK) */ 40 40 41 #endif /* PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100*/41 #endif /* PLATFORM(MAC) */ -
trunk/Source/WebCore/platform/spi/mac/NSScrollingMomentumCalculatorSPI.h
r209087 r219050 24 24 */ 25 25 26 #if HAVE(NSSCROLLING_FILTERS)27 28 26 #if USE(APPLE_INTERNAL_SDK) 29 27 … … 46 44 47 45 #endif /* USE(APPLE_INTERNAL_SDK) */ 48 49 #endif /* HAVE(NSSCROLLING_FILTERS) */ -
trunk/Source/WebCore/platform/spi/mac/TUCallSPI.h
r212277 r219050 24 24 */ 25 25 26 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 10100027 28 26 #import "SoftLinking.h" 29 27 #import <objc/runtime.h> … … 38 36 SOFT_LINK_PRIVATE_FRAMEWORK_OPTIONAL(TelephonyUtilities) 39 37 SOFT_LINK_CLASS(TelephonyUtilities, TUCall) 40 41 #endif -
trunk/Source/WebCore/rendering/RenderThemeMac.mm
r218468 r219050 1075 1075 1076 1076 [cell setLevelIndicatorStyle:levelIndicatorStyleFor(style.appearance())]; 1077 // FIXME: Remove the call to setBaseWritingDirection once __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100 is always true. 1078 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100 1079 [cell setUserInterfaceLayoutDirection: style.isLeftToRightDirection() ? NSUserInterfaceLayoutDirectionLeftToRight : NSUserInterfaceLayoutDirectionRightToLeft]; 1080 #else 1081 [cell setBaseWritingDirection:style.isLeftToRightDirection() ? NSWritingDirectionLeftToRight : NSWritingDirectionRightToLeft]; 1082 #endif 1077 [cell setUserInterfaceLayoutDirection:style.isLeftToRightDirection() ? NSUserInterfaceLayoutDirectionLeftToRight : NSUserInterfaceLayoutDirectionRightToLeft]; 1083 1078 [cell setMinValue:element->min()]; 1084 1079 [cell setMaxValue:element->max()]; -
trunk/Source/WebCore/svg/SVGToOTFFontConversion.cpp
r216102 r219050 1124 1124 size_t sizeOfVerticalSubtable = appendKERNSubtable<SVGVKernElement>(&SVGVKernElement::buildVerticalKerningPair, 0); 1125 1125 ASSERT_UNUSED(sizeOfVerticalSubtable, subtablesOffset + sizeOfHorizontalSubtable + sizeOfVerticalSubtable == m_result.size()); 1126 1127 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 1010001128 // Work around a bug in Apple's font parser by adding some padding bytes. <rdar://problem/18401901>1129 for (int i = 0; i < 6; ++i)1130 m_result.append(0);1131 #endif1132 1126 } 1133 1127 … … 1438 1432 1439 1433 m_boundingBox = boundingBox.value_or(FloatRect()); 1440 1441 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 1010001442 // <rdar://problem/20086223> Cocoa has a bug where glyph bounding boxes are not correctly respected for frustum culling. Work around this by1443 // inflating the font's bounding box1444 m_boundingBox.extend(FloatPoint(0, 0));1445 #endif1446 1434 1447 1435 appendLigatureGlyphs(); -
trunk/Source/WebInspectorUI/ChangeLog
r219041 r219050 1 2017-07-01 Dan Bernstein <mitz@apple.com> 2 3 [macOS] Remove code only needed when building for OS X Yosemite 4 https://bugs.webkit.org/show_bug.cgi?id=174067 5 6 Reviewed by Tim Horton. 7 8 * Configurations/Base.xcconfig: 9 * Configurations/DebugRelease.xcconfig: 10 * Configurations/Version.xcconfig: 11 1 12 2017-06-30 Joseph Pecoraro <pecoraro@apple.com> 2 13 -
trunk/Source/WebInspectorUI/Configurations/Base.xcconfig
r217531 r219050 57 57 58 58 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 59 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;60 59 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 61 60 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Source/WebInspectorUI/Configurations/DebugRelease.xcconfig
r218057 r219050 8 8 9 9 MACOSX_DEPLOYMENT_TARGET = $(MACOSX_DEPLOYMENT_TARGET_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 10 MACOSX_DEPLOYMENT_TARGET_macosx_101000 = 10.10;11 10 MACOSX_DEPLOYMENT_TARGET_macosx_101100 = 10.11; 12 11 MACOSX_DEPLOYMENT_TARGET_macosx_101200 = 10.12; -
trunk/Source/WebInspectorUI/Configurations/Version.xcconfig
r218942 r219050 9 9 SYSTEM_VERSION_PREFIX[sdk=iphone*] = 8; 10 10 SYSTEM_VERSION_PREFIX = $(SYSTEM_VERSION_PREFIX_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 11 SYSTEM_VERSION_PREFIX_macosx_101000 = 10;12 11 SYSTEM_VERSION_PREFIX_macosx_101100 = 11; 13 12 SYSTEM_VERSION_PREFIX_macosx_101200 = 12; -
trunk/Source/WebKit/mac/ChangeLog
r219013 r219050 1 2017-07-01 Dan Bernstein <mitz@apple.com> 2 3 [macOS] Remove code only needed when building for OS X Yosemite 4 https://bugs.webkit.org/show_bug.cgi?id=174067 5 6 Reviewed by Tim Horton. 7 8 * Configurations/Base.xcconfig: 9 * Configurations/DebugRelease.xcconfig: 10 * Configurations/FeatureDefines.xcconfig: 11 * Configurations/Version.xcconfig: 12 * Plugins/WebBasePluginPackage.mm: 13 (-[WebBasePluginPackage getPluginInfoFromPLists]): 14 * WebCoreSupport/PopupMenuMac.mm: 15 (PopupMenuMac::show): 16 * WebCoreSupport/WebInspectorClient.mm: 17 (WebInspectorFrontendClient::startWindowDrag): 18 (-[WebInspectorWindowController window]): 19 * WebView/WebView.mm: 20 (-[WebView _animationControllerForDictionaryLookupPopupInfo:]): 21 1 22 2017-06-30 Daniel Bates <dabates@apple.com> 2 23 -
trunk/Source/WebKit/mac/Configurations/Base.xcconfig
r217531 r219050 80 80 81 81 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 82 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;83 82 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 84 83 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Source/WebKit/mac/Configurations/DebugRelease.xcconfig
r218057 r219050 31 31 32 32 MACOSX_DEPLOYMENT_TARGET = $(MACOSX_DEPLOYMENT_TARGET_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 33 MACOSX_DEPLOYMENT_TARGET_macosx_101000 = 10.10;34 33 MACOSX_DEPLOYMENT_TARGET_macosx_101100 = 10.11; 35 34 MACOSX_DEPLOYMENT_TARGET_macosx_101200 = 10.12; … … 43 42 WEBKIT_SYSTEM_INTERFACE_LIBRARY[sdk=iphonesimulator*] = WebKitSystemInterfaceIOSSimulator$(WK_TARGET_IOS_VERSION_MAJOR); 44 43 WEBKIT_SYSTEM_INTERFACE_LIBRARY[sdk=macosx*] = $(WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 45 WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_101000 = WebKitSystemInterfaceYosemite;46 44 WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_101100 = WebKitSystemInterfaceElCapitan; 47 45 WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_101200 = WebKitSystemInterfaceOSX10.12; -
trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig
r219012 r219050 33 33 34 34 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 35 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101000 = YES;36 35 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101100 = YES; 37 36 38 37 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 39 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101000 = YES;40 38 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101100 = YES; 41 39 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101200 = YES; -
trunk/Source/WebKit/mac/Configurations/Version.xcconfig
r218942 r219050 36 36 SYSTEM_VERSION_PREFIX[sdk=iphone*] = 8; 37 37 SYSTEM_VERSION_PREFIX = $(SYSTEM_VERSION_PREFIX_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 38 SYSTEM_VERSION_PREFIX_macosx_101000 = 10;39 38 SYSTEM_VERSION_PREFIX_macosx_101100 = 11; 40 39 SYSTEM_VERSION_PREFIX_macosx_101200 = 12; -
trunk/Source/WebKit/mac/Plugins/WebBasePluginPackage.mm
r206004 r219050 143 143 return NO; 144 144 145 NSDictionary *MIMETypes = nil; 146 147 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 101000 148 NSString *pListFilename = [self _objectForInfoDictionaryKey:WebPluginMIMETypesFilenameKey]; 149 150 // Check if the MIME types are claimed in a plist in the user's preferences directory. 151 if (pListFilename) { 152 NSString *pListPath = [NSString stringWithFormat:@"%@/Library/Preferences/%@", NSHomeDirectory(), pListFilename]; 153 NSDictionary *pList = [self pListForPath:pListPath createFile:NO]; 154 if (pList) { 155 // If the plist isn't localized, have the plug-in recreate it in the preferred language. 156 NSString *localizationName = [pList objectForKey:WebPluginLocalizationNameKey]; 157 if (![localizationName isEqualToString:preferredBundleLocalizationName()]) 158 pList = [self pListForPath:pListPath createFile:YES]; 159 MIMETypes = [pList objectForKey:WebPluginMIMETypesKey]; 160 } else 161 // Plist doesn't exist, ask the plug-in to create it. 162 MIMETypes = [[self pListForPath:pListPath createFile:YES] objectForKey:WebPluginMIMETypesKey]; 163 } 164 #endif 165 166 if (!MIMETypes) { 167 MIMETypes = [self _objectForInfoDictionaryKey:WebPluginMIMETypesKey]; 168 if (!MIMETypes) 169 return NO; 170 } 145 NSDictionary *MIMETypes = [self _objectForInfoDictionaryKey:WebPluginMIMETypesKey]; 146 if (!MIMETypes) 147 return NO; 171 148 172 149 NSEnumerator *keyEnumerator = [MIMETypes keyEnumerator]; -
trunk/Source/WebKit/mac/WebCoreSupport/PopupMenuMac.mm
r215830 r219050 150 150 151 151 NSMenu *menu = [m_popup menu]; 152 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100153 152 [menu setUserInterfaceLayoutDirection:textDirection == LTR ? NSUserInterfaceLayoutDirectionLeftToRight : NSUserInterfaceLayoutDirectionRightToLeft]; 154 #endif155 153 156 154 NSPoint location; -
trunk/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm
r214442 r219050 219 219 void WebInspectorFrontendClient::startWindowDrag() 220 220 { 221 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100222 221 [[m_frontendWindowController window] performWindowDragWithEvent:[NSApp currentEvent]]; 223 #endif224 222 } 225 223 … … 474 472 [window setCollectionBehavior:([window collectionBehavior] | NSWindowCollectionBehaviorFullScreenPrimary)]; 475 473 476 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100477 474 CGFloat approximatelyHalfScreenSize = (window.screen.frame.size.width / 2) - 4; 478 475 CGFloat minimumFullScreenWidth = std::max<CGFloat>(636, approximatelyHalfScreenSize); 479 476 [window setMinFullScreenContentSize:NSMakeSize(minimumFullScreenWidth, minimumWindowHeight)]; 480 477 [window setCollectionBehavior:([window collectionBehavior] | NSWindowCollectionBehaviorFullScreenAllowsTiling)]; 481 #endif482 478 483 479 window.titlebarAppearsTransparent = YES; -
trunk/Source/WebKit/mac/WebView/WebView.mm
r219012 r219050 9383 9383 9384 9384 #if PLATFORM(MAC) 9385 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1010009386 9385 - (WebImmediateActionController *)_immediateActionController 9387 9386 { … … 9402 9401 }); 9403 9402 } 9404 #endif // __MAC_OS_X_VERSION_MIN_REQUIRED >= 1010009405 9403 9406 9404 - (NSEvent *)_pressureEvent -
trunk/Source/WebKit2/ChangeLog
r219049 r219050 1 2017-07-01 Dan Bernstein <mitz@apple.com> 2 3 [macOS] Remove code only needed when building for OS X Yosemite 4 https://bugs.webkit.org/show_bug.cgi?id=174067 5 6 Reviewed by Tim Horton. 7 8 * Configurations/Base.xcconfig: 9 * Configurations/BaseTarget.xcconfig: 10 * Configurations/BaseXPCService.xcconfig: 11 * Configurations/DebugRelease.xcconfig: 12 * Configurations/FeatureDefines.xcconfig: 13 * Configurations/NetworkService.xcconfig: 14 * Configurations/PluginService.32.xcconfig: 15 * Configurations/PluginService.64.xcconfig: 16 * Configurations/Version.xcconfig: 17 * Configurations/WebContentService.xcconfig: 18 * Configurations/WebKit.xcconfig: 19 * DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in: 20 * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX-10.9-10.10.plist: Removed. 21 * NetworkProcess/NetworkProcessCreationParameters.cpp: 22 (WebKit::NetworkProcessCreationParameters::encode): 23 (WebKit::NetworkProcessCreationParameters::decode): 24 * NetworkProcess/NetworkProcessCreationParameters.h: 25 * NetworkProcess/cocoa/NetworkProcessCocoa.mm: 26 (WebKit::NetworkProcess::platformInitializeNetworkProcessCocoa): 27 * NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in: 28 * Platform/IPC/Connection.h: 29 * Platform/IPC/mac/ConnectionMac.mm: 30 (IPC::Connection::platformInvalidate): 31 (IPC::Connection::platformInitialize): 32 (IPC::Connection::open): 33 (IPC::Connection::exceptionSourceEventHandler): Deleted. 34 (IPC::Connection::setShouldCloseConnectionOnMachExceptions): Deleted. 35 * Platform/mac/LayerHostingContext.h: 36 * Platform/mac/LayerHostingContext.mm: 37 (WebKit::LayerHostingContext::createFencePort): 38 * PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64-10.9-10.10.Info.plist: Removed. 39 * PluginProcess/mac/PluginControllerProxyMac.mm: 40 (WebKit::PluginControllerProxy::updateLayerHostingContext): 41 * PluginProcess/mac/PluginProcessShim.mm: 42 * PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in: 43 * Shared/ChildProcess.h: 44 * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm: 45 (WebKit::getPluginInfoFromPropertyLists): 46 (WebKit::NetscapePluginModule::getPluginInfo): 47 (WebKit::contentsOfPropertyListAtURL): Deleted. 48 (WebKit::getMIMETypesFromPluginBundle): Deleted. 49 * Shared/Plugins/PluginProcessCreationParameters.cpp: 50 (WebKit::PluginProcessCreationParameters::encode): 51 (WebKit::PluginProcessCreationParameters::decode): 52 * Shared/Plugins/PluginProcessCreationParameters.h: 53 * Shared/WebProcessCreationParameters.cpp: 54 (WebKit::WebProcessCreationParameters::encode): 55 (WebKit::WebProcessCreationParameters::decode): 56 * Shared/WebProcessCreationParameters.h: 57 * Shared/mac/ChildProcessMac.mm: 58 (WebKit::ChildProcess::setSharedHTTPCookieStorage): 59 * UIProcess/API/C/WKPage.cpp: 60 (WKPageSetPageUIClient): 61 (fixUpBotchedPageUIClient): Deleted. 62 * UIProcess/ChildProcessProxy.cpp: 63 (WebKit::ChildProcessProxy::didFinishLaunching): 64 * UIProcess/Cocoa/WebProcessPoolCocoa.mm: 65 (WebKit::WebProcessPool::platformInitializeWebProcess): 66 (WebKit::WebProcessPool::platformInitializeNetworkProcess): 67 (WebKit::WebProcessPool::resetHSTSHostsAddedAfterDate): 68 * UIProcess/Cocoa/WebViewImpl.h: 69 * UIProcess/Cocoa/WebViewImpl.mm: 70 (WebKit::WebViewImpl::updateLayer): 71 (WebKit::WebViewImpl::startWindowDrag): 72 * UIProcess/DrawingAreaProxy.h: 73 (WebKit::DrawingAreaProxy::waitForPossibleGeometryUpdate): Deleted. 74 * UIProcess/Plugins/PluginProcessProxy.cpp: 75 (WebKit::PluginProcessProxy::didFinishLaunching): 76 * UIProcess/Plugins/PluginProcessProxy.h: 77 * UIProcess/Plugins/mac/PluginProcessProxyMac.mm: 78 (WebKit::PluginProcessProxy::platformInitializePluginProcess): 79 (WebKit::PluginProcessProxy::createPropertyListFile): Deleted. 80 * UIProcess/WebPageProxy.cpp: 81 (WebKit::WebPageProxy::setTopContentInset): 82 * UIProcess/mac/PageClientImpl.mm: 83 (WebKit::PageClientImpl::rootViewToWindow): 84 (WebKit::PageClientImpl::startWindowDrag): 85 * UIProcess/mac/RemoteWebInspectorProxyMac.mm: 86 (WebKit::RemoteWebInspectorProxy::platformStartWindowDrag): 87 * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.h: 88 * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm: 89 (WebKit::TiledCoreAnimationDrawingAreaProxy::createFence): 90 (WebKit::TiledCoreAnimationDrawingAreaProxy::waitForPossibleGeometryUpdate): Deleted. 91 * UIProcess/mac/WebInspectorProxyMac.mm: 92 (WebKit::WebInspectorProxy::createFrontendWindow): 93 (WebKit::WebInspectorProxy::platformStartWindowDrag): 94 * UIProcess/mac/WebPopupMenuProxyMac.mm: 95 (WebKit::WebPopupMenuProxyMac::showPopupMenu): 96 * WebKit2.xcodeproj/project.pbxproj: 97 * WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX-10.9-10.10.plist: Removed. 98 * WebProcess/WebPage/WebPage.cpp: 99 * WebProcess/WebPage/WebPage.h: 100 * WebProcess/WebPage/WebPage.messages.in: 101 * WebProcess/WebPage/mac/PlatformCAAnimationRemote.mm: 102 (WebKit::addAnimationToLayer): 103 * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm: 104 (WebKit::RemoteLayerTreeDrawingArea::flushLayers): 105 * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm: 106 (WebKit::TiledCoreAnimationDrawingArea::flushLayers): 107 (WebKit::TiledCoreAnimationDrawingArea::updateGeometry): 108 * WebProcess/cocoa/WebProcessCocoa.mm: 109 (WebKit::WebProcess::platformInitializeWebProcess): 110 * WebProcess/com.apple.WebProcess.sb.in: 111 1 112 2017-07-01 Chris Dumez <cdumez@apple.com> 2 113 -
trunk/Source/WebKit2/Configurations/Base.xcconfig
r217531 r219050 79 79 80 80 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 81 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;82 81 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 83 82 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Source/WebKit2/Configurations/BaseTarget.xcconfig
r215247 r219050 93 93 WK_MANUAL_SANDBOXING_DEFINES_YES = ENABLE_MANUAL_SANDBOXING; 94 94 95 WK_DONT_LINK_SHIM = $(WK_DONT_LINK_SHIM_$(TARGET_MAC_OS_X_VERSION_MAJOR));96 WK_DONT_LINK_SHIM_101000 = YES;97 98 WK_LINK_SHIM[sdk=macosx*] = $(WK_NOT_$(WK_DONT_LINK_SHIM));99 100 95 WK_EMPTY_ = YES; 101 96 WK_NOT_ = YES; -
trunk/Source/WebKit2/Configurations/BaseXPCService.xcconfig
r217809 r219050 64 64 CODE_SIGN_ENTITLEMENTS_IOS_MANUAL_SANDBOXING_YES = $(BUILT_PRODUCTS_DIR)/DerivedSources/WebKit2/$(WK_XPC_SERVICE_IOS_ENTITLEMENTS_BASE)-no-sandbox.entitlements; 65 65 66 WK_XPC_SERVICE_INFOPLIST_SUFFIX[sdk=macosx*] = $(WK_XPC_SERVICE_INFOPLIST_SUFFIX_$(TARGET_MAC_OS_X_VERSION_MAJOR));67 WK_XPC_SERVICE_INFOPLIST_SUFFIX_101000 = -10.9-10.10;68 69 66 WK_XPC_SERVICE_INSERT_LIBRARIES_DIR = $(WK_XPC_SERVICE_INSERT_LIBRARIES_DIR_$(WK_RELOCATABLE_FRAMEWORKS)); 70 67 WK_XPC_SERVICE_INSERT_LIBRARIES_DIR_ = $(WK_XPC_SERVICE_INSERT_LIBRARIES_DIR_NO); -
trunk/Source/WebKit2/Configurations/DebugRelease.xcconfig
r218057 r219050 31 31 32 32 MACOSX_DEPLOYMENT_TARGET = $(MACOSX_DEPLOYMENT_TARGET_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 33 MACOSX_DEPLOYMENT_TARGET_macosx_101000 = 10.10;34 33 MACOSX_DEPLOYMENT_TARGET_macosx_101100 = 10.11; 35 34 MACOSX_DEPLOYMENT_TARGET_macosx_101200 = 10.12; … … 43 42 WEBKIT_SYSTEM_INTERFACE_LIBRARY[sdk=iphonesimulator*] = WebKitSystemInterfaceIOSSimulator$(WK_TARGET_IOS_VERSION_MAJOR); 44 43 WEBKIT_SYSTEM_INTERFACE_LIBRARY[sdk=macosx*] = $(WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 45 WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_101000 = WebKitSystemInterfaceYosemite;46 44 WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_101100 = WebKitSystemInterfaceElCapitan; 47 45 WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_101200 = WebKitSystemInterfaceOSX10.12; -
trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig
r219012 r219050 33 33 34 34 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 35 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101000 = YES;36 35 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101100 = YES; 37 36 38 37 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 39 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101000 = YES;40 38 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101100 = YES; 41 39 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101200 = YES; -
trunk/Source/WebKit2/Configurations/NetworkService.xcconfig
r209288 r219050 29 29 PRODUCT_BUNDLE_IDENTIFIER = $(PRODUCT_NAME); 30 30 INFOPLIST_FILE[sdk=iphone*] = NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-iOS.plist; 31 INFOPLIST_FILE[sdk=macosx*] = NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX $(WK_XPC_SERVICE_INFOPLIST_SUFFIX).plist;31 INFOPLIST_FILE[sdk=macosx*] = NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX.plist; 32 32 33 OTHER_LDFLAGS = $(inherited) $(OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH) $( OTHER_LDFLAGS_SHIM_$(WK_LINK_SHIM)) $(WK_RELOCATABLE_FRAMEWORKS_LDFLAGS);34 OTHER_LDFLAGS _SHIM_YES =$(BUILT_PRODUCTS_DIR)/SecItemShim.dylib;33 OTHER_LDFLAGS = $(inherited) $(OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH) $(WK_RELOCATABLE_FRAMEWORKS_LDFLAGS); 34 OTHER_LDFLAGS[sdk=macosx*] = $(inherited) $(BUILT_PRODUCTS_DIR)/SecItemShim.dylib; -
trunk/Source/WebKit2/Configurations/PluginService.32.xcconfig
r209288 r219050 28 28 PRODUCT_NAME = com.apple.WebKit.Plugin.32; 29 29 PRODUCT_BUNDLE_IDENTIFIER = $(PRODUCT_NAME); 30 INFOPLIST_FILE = PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64 $(WK_XPC_SERVICE_INFOPLIST_SUFFIX).Info.plist;30 INFOPLIST_FILE = PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist; 31 31 32 32 OTHER_LDFLAGS = $(OTHER_LDFLAGS) $(OTHER_LDFLAGS_PLATFORM) $(OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH) $(WK_RELOCATABLE_FRAMEWORKS_LDFLAGS); 33 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework AppKit $(OTHER_LDFLAGS_SHIM_$(WK_LINK_SHIM)); 34 OTHER_LDFLAGS_SHIM_YES = $(BUILT_PRODUCTS_DIR)/PluginProcessShim.dylib; 33 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework AppKit $(BUILT_PRODUCTS_DIR)/PluginProcessShim.dylib; 35 34 36 35 CODE_SIGN_ENTITLEMENTS = Configurations/PluginService.entitlements; -
trunk/Source/WebKit2/Configurations/PluginService.64.xcconfig
r209288 r219050 28 28 PRODUCT_NAME = com.apple.WebKit.Plugin.64; 29 29 PRODUCT_BUNDLE_IDENTIFIER = $(PRODUCT_NAME); 30 INFOPLIST_FILE = PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64 $(WK_XPC_SERVICE_INFOPLIST_SUFFIX).Info.plist;30 INFOPLIST_FILE = PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist; 31 31 32 32 OTHER_LDFLAGS = $(OTHER_LDFLAGS) $(OTHER_LDFLAGS_PLATFORM) $(OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH) $(WK_RELOCATABLE_FRAMEWORKS_LDFLAGS); 33 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework AppKit $(OTHER_LDFLAGS_SHIM_$(WK_LINK_SHIM)); 34 OTHER_LDFLAGS_SHIM_YES = $(BUILT_PRODUCTS_DIR)/PluginProcessShim.dylib; 33 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework AppKit $(BUILT_PRODUCTS_DIR)/PluginProcessShim.dylib; 35 34 36 35 CODE_SIGN_ENTITLEMENTS = Configurations/PluginService.entitlements; -
trunk/Source/WebKit2/Configurations/Version.xcconfig
r218942 r219050 36 36 SYSTEM_VERSION_PREFIX[sdk=iphone*] = 8; 37 37 SYSTEM_VERSION_PREFIX = $(SYSTEM_VERSION_PREFIX_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 38 SYSTEM_VERSION_PREFIX_macosx_101000 = 10;39 38 SYSTEM_VERSION_PREFIX_macosx_101100 = 11; 40 39 SYSTEM_VERSION_PREFIX_macosx_101200 = 12; -
trunk/Source/WebKit2/Configurations/WebContentService.xcconfig
r209288 r219050 33 33 PRODUCT_BUNDLE_IDENTIFIER = $(PRODUCT_NAME); 34 34 INFOPLIST_FILE[sdk=iphone*] = WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-iOS.plist; 35 INFOPLIST_FILE[sdk=macosx*] = WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX $(WK_XPC_SERVICE_INFOPLIST_SUFFIX).plist;35 INFOPLIST_FILE[sdk=macosx*] = WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX.plist; 36 36 37 37 OTHER_LDFLAGS = $(inherited) $(OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH_$(WK_WEBCONTENT_SERVICE_NEEDS_VERSIONED_FRAMEWORK_PATH_LDFLAG)) $(OTHER_LDFLAGS_PLATFORM) $(WK_RELOCATABLE_FRAMEWORKS_LDFLAGS); 38 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework AppKit $(OTHER_LDFLAGS_SHIM_$(WK_LINK_SHIM)); 39 OTHER_LDFLAGS_SHIM_YES = $(BUILT_PRODUCTS_DIR)/WebProcessShim.dylib; 38 OTHER_LDFLAGS_PLATFORM[sdk=macosx*] = -framework AppKit $(BUILT_PRODUCTS_DIR)/WebProcessShim.dylib; 40 39 41 40 WK_WEBCONTENT_SERVICE_NEEDS_XPC_DOMAIN_EXTENSION_ENTITLEMENT = $(WK_WEBCONTENT_SERVICE_NEEDS_XPC_DOMAIN_EXTENSION_ENTITLEMENT_$(WK_EMPTY_$(WK_WEBCONTENT_SERVICE_NEEDS_XPC_DOMAIN_EXTENSION_ENTITLEMENT))); -
trunk/Source/WebKit2/Configurations/WebKit.xcconfig
r217720 r219050 76 76 77 77 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED[sdk=macosx*] = $(WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 78 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED_macosx_101000 = YES;79 78 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED_macosx_101100 = YES; 80 79 WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED_macosx_101200 = YES; -
trunk/Source/WebKit2/DatabaseProcess/mac/com.apple.WebKit.Databases.sb.in
r216941 r219050 33 33 (allow process-info-setcontrol (target self)) 34 34 35 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110036 35 (deny sysctl*) 37 36 (allow sysctl-read … … 44 43 45 44 (deny iokit-get-properties) 46 #endif47 45 48 46 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 … … 112 110 (global-name "com.apple.analyticsd") 113 111 #endif 114 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100115 112 (global-name "com.apple.lsd.mapdb") 116 #endif117 113 ) 118 114 -
trunk/Source/WebKit2/NetworkProcess/NetworkProcessCreationParameters.cpp
r217871 r219050 55 55 #endif 56 56 #endif 57 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110057 #if PLATFORM(MAC) 58 58 encoder << uiProcessCookieStorageIdentifier; 59 59 #endif … … 81 81 encoder << httpProxy; 82 82 encoder << httpsProxy; 83 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)83 #if PLATFORM(COCOA) 84 84 IPC::encode(encoder, networkATSContext.get()); 85 85 #endif … … 127 127 #endif 128 128 #endif 129 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100129 #if PLATFORM(MAC) 130 130 if (!decoder.decode(result.uiProcessCookieStorageIdentifier)) 131 131 return false; … … 172 172 if (!decoder.decode(result.httpsProxy)) 173 173 return false; 174 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)174 #if PLATFORM(COCOA) 175 175 if (!IPC::decode(decoder, result.networkATSContext)) 176 176 return false; -
trunk/Source/WebKit2/NetworkProcess/NetworkProcessCreationParameters.h
r217871 r219050 64 64 #endif 65 65 #endif 66 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110066 #if PLATFORM(MAC) 67 67 Vector<uint8_t> uiProcessCookieStorageIdentifier; 68 68 #endif … … 92 92 String httpProxy; 93 93 String httpsProxy; 94 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)94 #if PLATFORM(COCOA) 95 95 RetainPtr<CFDataRef> networkATSContext; 96 96 #endif -
trunk/Source/WebKit2/NetworkProcess/cocoa/NetworkProcessCocoa.mm
r218024 r219050 76 76 m_diskCacheDirectory = parameters.diskCacheDirectory; 77 77 78 #if PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)79 78 _CFNetworkSetATSContext(parameters.networkATSContext.get()); 80 #endif81 79 82 80 SessionTracker::setIdentifierBase(parameters.uiProcessBundleIdentifier); … … 94 92 initializeNetworkSettings(); 95 93 96 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110094 #if PLATFORM(MAC) 97 95 setSharedHTTPCookieStorage(parameters.uiProcessCookieStorageIdentifier); 98 96 #endif -
trunk/Source/WebKit2/NetworkProcess/mac/com.apple.WebKit.NetworkProcess.sb.in
r217871 r219050 33 33 (allow process-info-setcontrol (target self)) 34 34 35 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110036 35 (deny sysctl*) 37 36 (allow sysctl-read … … 44 43 45 44 (deny iokit-get-properties) 46 #endif47 45 48 46 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 … … 153 151 (global-name "com.apple.cookied") 154 152 (global-name "com.apple.cfnetwork.AuthBrokerAgent") 155 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100156 153 (global-name "com.apple.lsd.mapdb") 157 154 (global-name "com.apple.nesessionmanager.flow-divert-token") 158 #endif159 155 ) 160 156 -
trunk/Source/WebKit2/Platform/IPC/Connection.h
r218457 r219050 144 144 Client& client() const { return m_client; } 145 145 146 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 101000147 void setShouldCloseConnectionOnMachExceptions();148 #endif149 150 146 void setOnlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage(bool); 151 147 void setShouldExitOnSyncMessageSendFailure(bool shouldExitOnSyncMessageSendFailure); … … 333 329 334 330 std::unique_ptr<MachMessage> m_pendingOutgoingMachMessage; 335 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 101000336 void exceptionSourceEventHandler();337 338 // If setShouldCloseConnectionOnMachExceptions has been called, this has339 // the exception port that exceptions from the other end will be sent on.340 mach_port_t m_exceptionPort;341 dispatch_source_t m_exceptionPortDataAvailableSource;342 #endif343 331 344 332 OSObjectPtr<xpc_connection_t> m_xpcConnection; -
trunk/Source/WebKit2/Platform/IPC/mac/ConnectionMac.mm
r215173 r219050 145 145 m_receiveSource = nullptr; 146 146 m_receivePort = MACH_PORT_NULL; 147 148 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 101000149 if (m_exceptionPort) {150 dispatch_source_cancel(m_exceptionPortDataAvailableSource);151 dispatch_release(m_exceptionPortDataAvailableSource);152 m_exceptionPortDataAvailableSource = 0;153 m_exceptionPort = MACH_PORT_NULL;154 }155 #endif156 147 } 157 148 … … 164 155 void Connection::platformInitialize(Identifier identifier) 165 156 { 166 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 101000167 m_exceptionPort = MACH_PORT_NULL;168 m_exceptionPortDataAvailableSource = nullptr;169 #endif170 171 157 if (m_isServer) { 172 158 m_receivePort = identifier.port; … … 226 212 }); 227 213 228 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 101000229 if (m_exceptionPort) {230 m_exceptionPortDataAvailableSource = dispatch_source_create(DISPATCH_SOURCE_TYPE_MACH_RECV, m_exceptionPort, 0, m_connectionQueue->dispatchQueue());231 dispatch_source_set_event_handler(m_exceptionPortDataAvailableSource, [connection] {232 connection->exceptionSourceEventHandler();233 });234 dispatch_source_set_cancel_handler(m_exceptionPortDataAvailableSource, [connection, exceptionPort = m_exceptionPort] {235 mach_port_mod_refs(mach_task_self(), exceptionPort, MACH_PORT_RIGHT_RECEIVE, -1);236 });237 238 auto encoder = std::make_unique<Encoder>("IPC", "SetExceptionPort", 0);239 encoder->encode(MachPort(m_exceptionPort, MACH_MSG_TYPE_MAKE_SEND));240 241 sendMessage(WTFMove(encoder), { });242 }243 #endif244 245 214 ref(); 246 215 dispatch_async(m_connectionQueue->dispatchQueue(), ^{ … … 249 218 if (m_sendSource) 250 219 dispatch_resume(m_sendSource); 251 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 101000252 if (m_exceptionPortDataAvailableSource)253 dispatch_resume(m_exceptionPortDataAvailableSource);254 #endif255 220 256 221 deref(); … … 593 558 } 594 559 595 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 101000596 void Connection::exceptionSourceEventHandler()597 {598 ReceiveBuffer buffer;599 600 mach_msg_header_t* header = readFromMachPort(m_exceptionPort, buffer);601 if (!header)602 return;603 604 // We've read the exception message. Now send it on to the real exception port.605 606 // The remote port should have a send once right.607 ASSERT(MACH_MSGH_BITS_REMOTE(header->msgh_bits) == MACH_MSG_TYPE_MOVE_SEND_ONCE);608 609 // Now get the real exception port.610 mach_port_t exceptionPort = machExceptionPort();611 612 // First, get the complex bit from the source message.613 mach_msg_bits_t messageBits = header->msgh_bits & MACH_MSGH_BITS_COMPLEX;614 messageBits |= MACH_MSGH_BITS(MACH_MSG_TYPE_COPY_SEND, MACH_MSG_TYPE_MOVE_SEND_ONCE);615 616 header->msgh_bits = messageBits;617 header->msgh_local_port = header->msgh_remote_port;618 header->msgh_remote_port = exceptionPort;619 620 // Now send along the message.621 kern_return_t kr = mach_msg(header, MACH_SEND_MSG, header->msgh_size, 0, MACH_PORT_NULL, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);622 if (kr != KERN_SUCCESS)623 LOG_ERROR("Failed to send message to real exception port. %s (%x)", mach_error_string(kr), kr);624 625 connectionDidClose();626 }627 628 void Connection::setShouldCloseConnectionOnMachExceptions()629 {630 ASSERT(m_exceptionPort == MACH_PORT_NULL);631 632 if (mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &m_exceptionPort) != KERN_SUCCESS)633 ASSERT_NOT_REACHED();634 635 if (mach_port_insert_right(mach_task_self(), m_exceptionPort, m_exceptionPort, MACH_MSG_TYPE_MAKE_SEND) != KERN_SUCCESS)636 ASSERT_NOT_REACHED();637 }638 #endif639 640 560 IPC::Connection::Identifier Connection::identifier() const 641 561 { -
trunk/Source/WebKit2/Platform/mac/LayerHostingContext.h
r187587 r219050 63 63 CGColorSpaceRef colorSpace() const; 64 64 65 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110065 #if PLATFORM(MAC) 66 66 void setColorMatchUntaggedContent(bool); 67 67 bool colorMatchUntaggedContent() const; -
trunk/Source/WebKit2/Platform/mac/LayerHostingContext.mm
r212211 r219050 103 103 } 104 104 105 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100105 #if PLATFORM(MAC) 106 106 void LayerHostingContext::setColorMatchUntaggedContent(bool colorMatchUntaggedContent) 107 107 { … … 115 115 #endif 116 116 117 #if HAVE(COREANIMATION_FENCES)118 117 void LayerHostingContext::setFencePort(mach_port_t fencePort) 119 118 { … … 125 124 return MachSendRight::adopt([m_context createFencePort]); 126 125 } 127 #else128 NO_RETURN_DUE_TO_ASSERT void LayerHostingContext::setFencePort(mach_port_t fencePort)129 {130 ASSERT_NOT_REACHED();131 }132 133 NO_RETURN_DUE_TO_ASSERT MachSendRight LayerHostingContext::createFencePort()134 {135 ASSERT_NOT_REACHED();136 #if ASSERT_DISABLED137 return MachSendRight();138 #endif139 }140 #endif141 126 142 127 } // namespace WebKit -
trunk/Source/WebKit2/PluginProcess/mac/PluginControllerProxyMac.mm
r217520 r219050 136 136 } 137 137 138 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100139 138 m_layerHostingContext->setColorSpace(sRGBColorSpaceRef()); 140 139 m_layerHostingContext->setColorMatchUntaggedContent(true); 141 #endif142 140 143 141 m_layerHostingContext->setRootLayer(platformLayer); -
trunk/Source/WebKit2/PluginProcess/mac/PluginProcessShim.mm
r203001 r219050 113 113 } 114 114 115 #if __MAC_OS_X_VERSION_MIN_REQUIRED < 101100116 SUPPRESS_ASAN117 #endif118 115 static kern_return_t shimMachVMMap(vm_map_t task, mach_vm_address_t *address, mach_vm_size_t size, mach_vm_offset_t mask, int flags, mem_entry_name_port_t object, memory_object_offset_t offset, boolean_t copy, vm_prot_t currentProtection, vm_prot_t maxProtection, vm_inherit_t inheritance) 119 116 { -
trunk/Source/WebKit2/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in
r218749 r219050 33 33 (allow process-info-setcontrol (target self)) 34 34 35 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110036 35 (deny sysctl*) 37 36 (allow sysctl-read … … 123 122 (iokit-property "touch-size-id") 124 123 ) 125 #endif126 124 127 125 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 … … 352 350 (global-name "com.apple.analyticsd") 353 351 #endif 354 #if __MAC_OS_X_VERSION_MIN_REQUIRED < 101100355 (global-name "com.apple.audio.VDCAssistant")356 #endif357 352 (global-name "com.apple.audio.audiohald") 358 353 (global-name "com.apple.audio.coreaudiod") … … 362 357 (global-name "com.apple.coreservices.launchservicesd") 363 358 (global-name "com.apple.fonts") 364 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100365 359 (global-name "com.apple.lsd.mapdb") 366 #endif367 360 (global-name "com.apple.ocspd") 368 361 (global-name "com.apple.pasteboard.1") -
trunk/Source/WebKit2/Shared/ChildProcess.h
r215173 r219050 89 89 virtual void initializeConnection(IPC::Connection*); 90 90 91 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110091 #if PLATFORM(MAC) 92 92 static void setSharedHTTPCookieStorage(const Vector<uint8_t>& identifier); 93 93 #endif -
trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm
r211223 r219050 79 79 } 80 80 81 #if __MAC_OS_X_VERSION_MIN_REQUIRED <= 10100082 static RetainPtr<CFDictionaryRef> contentsOfPropertyListAtURL(CFURLRef propertyListURL)83 {84 RetainPtr<NSData> propertyListData = adoptNS([[NSData alloc] initWithContentsOfURL:(NSURL *)propertyListURL]);85 if (!propertyListData)86 return 0;87 88 RetainPtr<CFPropertyListRef> propertyList = adoptCF(CFPropertyListCreateWithData(kCFAllocatorDefault, (CFDataRef)propertyListData.get(), kCFPropertyListImmutable, 0, 0));89 if (!propertyList)90 return 0;91 92 if (CFGetTypeID(propertyList.get()) != CFDictionaryGetTypeID())93 return 0;94 95 return static_cast<CFDictionaryRef>(propertyList.get());96 }97 #endif98 99 static RetainPtr<CFDictionaryRef> getMIMETypesFromPluginBundle(CFBundleRef bundle, const PluginModuleInfo& plugin)100 {101 #if __MAC_OS_X_VERSION_MIN_REQUIRED <= 101000102 CFStringRef propertyListFilename = static_cast<CFStringRef>(CFBundleGetValueForInfoDictionaryKey(bundle, CFSTR("WebPluginMIMETypesFilename")));103 if (propertyListFilename) {104 RetainPtr<CFStringRef> propertyListPath = adoptCF(CFStringCreateWithFormat(kCFAllocatorDefault, 0, CFSTR("%@/Library/Preferences/%@"), NSHomeDirectory(), propertyListFilename));105 RetainPtr<CFURLRef> propertyListURL = adoptCF(CFURLCreateWithFileSystemPath(kCFAllocatorDefault, propertyListPath.get(), kCFURLPOSIXPathStyle, FALSE));106 107 RetainPtr<CFDictionaryRef> propertyList = contentsOfPropertyListAtURL(propertyListURL.get());108 109 if (!propertyList && PluginProcessProxy::createPropertyListFile(plugin))110 propertyList = contentsOfPropertyListAtURL(propertyListURL.get());111 112 if (!propertyList)113 return 0;114 115 return static_cast<CFDictionaryRef>(CFDictionaryGetValue(propertyList.get(), CFSTR("WebPluginMIMETypes")));116 }117 #endif118 119 return static_cast<CFDictionaryRef>(CFBundleGetValueForInfoDictionaryKey(bundle, CFSTR("WebPluginMIMETypes")));120 }121 122 81 static bool getPluginInfoFromPropertyLists(CFBundleRef bundle, PluginModuleInfo& plugin) 123 82 { 124 RetainPtr<CFDictionaryRef> mimeTypes = getMIMETypesFromPluginBundle(bundle, plugin);83 RetainPtr<CFDictionaryRef> mimeTypes = static_cast<CFDictionaryRef>(CFBundleGetValueForInfoDictionaryKey(bundle, CFSTR("WebPluginMIMETypes"))); 125 84 if (!mimeTypes || CFGetTypeID(mimeTypes.get()) != CFDictionaryGetTypeID()) 126 85 return false; … … 210 169 211 170 // Try to initialize the bundle. 212 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100213 171 RetainPtr<CFBundleRef> bundle = adoptCF(_CFBundleCreateUnique(kCFAllocatorDefault, bundleURL.get())); 214 #else215 RetainPtr<CFBundleRef> bundle = adoptCF(CFBundleCreate(kCFAllocatorDefault, bundleURL.get()));216 #endif217 218 172 if (!bundle) 219 173 return false; -
trunk/Source/WebKit2/Shared/Plugins/PluginProcessCreationParameters.cpp
r204668 r219050 48 48 #if PLATFORM(COCOA) 49 49 encoder << acceleratedCompositingPort; 50 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)51 50 IPC::encode(encoder, networkATSContext.get()); 52 #endif53 51 #endif 54 52 #if OS(LINUX) … … 70 68 if (!decoder.decode(result.acceleratedCompositingPort)) 71 69 return false; 72 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)73 70 if (!IPC::decode(decoder, result.networkATSContext)) 74 71 return false; 75 #endif76 72 #endif 77 73 #if OS(LINUX) -
trunk/Source/WebKit2/Shared/Plugins/PluginProcessCreationParameters.h
r215173 r219050 58 58 #if PLATFORM(COCOA) 59 59 WebCore::MachSendRight acceleratedCompositingPort; 60 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)61 60 RetainPtr<CFDataRef> networkATSContext; 62 #endif63 61 #endif 64 62 #if OS(LINUX) -
trunk/Source/WebKit2/Shared/WebProcessCreationParameters.cpp
r216903 r219050 58 58 encoder << javaScriptConfigurationDirectory; 59 59 encoder << javaScriptConfigurationDirectoryExtensionHandle; 60 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110060 #if PLATFORM(MAC) 61 61 encoder << uiProcessCookieStorageIdentifier; 62 62 #endif … … 130 130 #endif 131 131 132 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)132 #if PLATFORM(COCOA) 133 133 IPC::encode(encoder, networkATSContext.get()); 134 134 #endif … … 175 175 if (!decoder.decode(parameters.javaScriptConfigurationDirectoryExtensionHandle)) 176 176 return false; 177 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100177 #if PLATFORM(MAC) 178 178 if (!decoder.decode(parameters.uiProcessCookieStorageIdentifier)) 179 179 return false; … … 304 304 #endif 305 305 306 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)306 #if PLATFORM(COCOA) 307 307 if (!IPC::decode(decoder, parameters.networkATSContext)) 308 308 return false; -
trunk/Source/WebKit2/Shared/WebProcessCreationParameters.h
r216903 r219050 79 79 String javaScriptConfigurationDirectory; 80 80 SandboxExtension::Handle javaScriptConfigurationDirectoryExtensionHandle; 81 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110081 #if PLATFORM(MAC) 82 82 Vector<uint8_t> uiProcessCookieStorageIdentifier; 83 83 #endif … … 162 162 #endif 163 163 164 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)164 #if PLATFORM(COCOA) 165 165 RetainPtr<CFDataRef> networkATSContext; 166 166 #endif -
trunk/Source/WebKit2/Shared/mac/ChildProcessMac.mm
r212211 r219050 178 178 } 179 179 180 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100181 180 void ChildProcess::setSharedHTTPCookieStorage(const Vector<uint8_t>& identifier) 182 181 { … … 185 184 [NSHTTPCookieStorage _setSharedHTTPCookieStorage:adoptNS([[NSHTTPCookieStorage alloc] _initWithCFHTTPCookieStorage:uiProcessCookieStorage.get()]).get()]; 186 185 } 187 #endif188 189 186 190 187 #if USE(APPKIT) -
trunk/Source/WebKit2/UIProcess/API/C/WKPage.cpp
r219013 r219050 1405 1405 } 1406 1406 1407 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 1010001408 static void fixUpBotchedPageUIClient(WKPageRef pageRef, const WKPageUIClientBase& wkClient)1409 {1410 struct BotchedWKPageUIClientV4 {1411 WKPageUIClientBase base;1412 1413 // Version 0.1414 WKPageCreateNewPageCallback_deprecatedForUseWithV0 createNewPage_deprecatedForUseWithV0;1415 WKPageUIClientCallback showPage;1416 WKPageUIClientCallback close;1417 WKPageTakeFocusCallback takeFocus;1418 WKPageFocusCallback focus;1419 WKPageUnfocusCallback unfocus;1420 WKPageRunJavaScriptAlertCallback_deprecatedForUseWithV0 runJavaScriptAlert_deprecatedForUseWithV0;1421 WKPageRunJavaScriptConfirmCallback_deprecatedForUseWithV0 runJavaScriptConfirm_deprecatedForUseWithV0;1422 WKPageRunJavaScriptPromptCallback_deprecatedForUseWithV0 runJavaScriptPrompt_deprecatedForUseWithV0;1423 WKPageSetStatusTextCallback setStatusText;1424 WKPageMouseDidMoveOverElementCallback_deprecatedForUseWithV0 mouseDidMoveOverElement_deprecatedForUseWithV0;1425 WKPageMissingPluginButtonClickedCallback_deprecatedForUseWithV0 missingPluginButtonClicked_deprecatedForUseWithV0;1426 WKPageDidNotHandleKeyEventCallback didNotHandleKeyEvent;1427 WKPageDidNotHandleWheelEventCallback didNotHandleWheelEvent;1428 WKPageGetToolbarsAreVisibleCallback toolbarsAreVisible;1429 WKPageSetToolbarsAreVisibleCallback setToolbarsAreVisible;1430 WKPageGetMenuBarIsVisibleCallback menuBarIsVisible;1431 WKPageSetMenuBarIsVisibleCallback setMenuBarIsVisible;1432 WKPageGetStatusBarIsVisibleCallback statusBarIsVisible;1433 WKPageSetStatusBarIsVisibleCallback setStatusBarIsVisible;1434 WKPageGetIsResizableCallback isResizable;1435 WKPageSetIsResizableCallback setIsResizable;1436 WKPageGetWindowFrameCallback getWindowFrame;1437 WKPageSetWindowFrameCallback setWindowFrame;1438 WKPageRunBeforeUnloadConfirmPanelCallback_deprecatedForUseWithV6 runBeforeUnloadConfirmPanel;1439 WKPageUIClientCallback didDraw;1440 WKPageUIClientCallback pageDidScroll;1441 WKPageExceededDatabaseQuotaCallback exceededDatabaseQuota;1442 WKPageRunOpenPanelCallback runOpenPanel;1443 WKPageDecidePolicyForGeolocationPermissionRequestCallback decidePolicyForGeolocationPermissionRequest;1444 WKPageHeaderHeightCallback headerHeight;1445 WKPageFooterHeightCallback footerHeight;1446 WKPageDrawHeaderCallback drawHeader;1447 WKPageDrawFooterCallback drawFooter;1448 WKPagePrintFrameCallback printFrame;1449 WKPageUIClientCallback runModal;1450 void* unused1; // Used to be didCompleteRubberBandForMainFrame1451 WKPageSaveDataToFileInDownloadsFolderCallback saveDataToFileInDownloadsFolder;1452 void* shouldInterruptJavaScript_unavailable;1453 1454 // Version 1.1455 WKPageCreateNewPageCallback_deprecatedForUseWithV1 createNewPage;1456 WKPageMouseDidMoveOverElementCallback mouseDidMoveOverElement;1457 WKPageDecidePolicyForNotificationPermissionRequestCallback decidePolicyForNotificationPermissionRequest;1458 WKPageUnavailablePluginButtonClickedCallback_deprecatedForUseWithV1 unavailablePluginButtonClicked_deprecatedForUseWithV1;1459 1460 // Version 2.1461 WKPageShowColorPickerCallback showColorPicker;1462 WKPageHideColorPickerCallback hideColorPicker;1463 WKPageUnavailablePluginButtonClickedCallback unavailablePluginButtonClicked;1464 1465 // Version 3.1466 WKPagePinnedStateDidChangeCallback pinnedStateDidChange;1467 1468 // Version 4.1469 WKPageRunJavaScriptAlertCallback_deprecatedForUseWithV5 runJavaScriptAlert;1470 WKPageRunJavaScriptConfirmCallback_deprecatedForUseWithV5 runJavaScriptConfirm;1471 WKPageRunJavaScriptPromptCallback_deprecatedForUseWithV5 runJavaScriptPrompt;1472 };1473 1474 const auto& botchedPageUIClient = reinterpret_cast<const BotchedWKPageUIClientV4&>(wkClient);1475 1476 WKPageUIClientV5 fixedPageUIClient = {1477 { 5, botchedPageUIClient.base.clientInfo },1478 botchedPageUIClient.createNewPage_deprecatedForUseWithV0,1479 botchedPageUIClient.showPage,1480 botchedPageUIClient.close,1481 botchedPageUIClient.takeFocus,1482 botchedPageUIClient.focus,1483 botchedPageUIClient.unfocus,1484 botchedPageUIClient.runJavaScriptAlert_deprecatedForUseWithV0,1485 botchedPageUIClient.runJavaScriptConfirm_deprecatedForUseWithV0,1486 botchedPageUIClient.runJavaScriptPrompt_deprecatedForUseWithV0,1487 botchedPageUIClient.setStatusText,1488 botchedPageUIClient.mouseDidMoveOverElement_deprecatedForUseWithV0,1489 botchedPageUIClient.missingPluginButtonClicked_deprecatedForUseWithV0,1490 botchedPageUIClient.didNotHandleKeyEvent,1491 botchedPageUIClient.didNotHandleWheelEvent,1492 botchedPageUIClient.toolbarsAreVisible,1493 botchedPageUIClient.setToolbarsAreVisible,1494 botchedPageUIClient.menuBarIsVisible,1495 botchedPageUIClient.setMenuBarIsVisible,1496 botchedPageUIClient.statusBarIsVisible,1497 botchedPageUIClient.setStatusBarIsVisible,1498 botchedPageUIClient.isResizable,1499 botchedPageUIClient.setIsResizable,1500 botchedPageUIClient.getWindowFrame,1501 botchedPageUIClient.setWindowFrame,1502 botchedPageUIClient.runBeforeUnloadConfirmPanel,1503 botchedPageUIClient.didDraw,1504 botchedPageUIClient.pageDidScroll,1505 botchedPageUIClient.exceededDatabaseQuota,1506 botchedPageUIClient.runOpenPanel,1507 botchedPageUIClient.decidePolicyForGeolocationPermissionRequest,1508 botchedPageUIClient.headerHeight,1509 botchedPageUIClient.footerHeight,1510 botchedPageUIClient.drawHeader,1511 botchedPageUIClient.drawFooter,1512 botchedPageUIClient.printFrame,1513 botchedPageUIClient.runModal,1514 botchedPageUIClient.unused1,1515 botchedPageUIClient.saveDataToFileInDownloadsFolder,1516 botchedPageUIClient.shouldInterruptJavaScript_unavailable,1517 botchedPageUIClient.createNewPage,1518 botchedPageUIClient.mouseDidMoveOverElement,1519 botchedPageUIClient.decidePolicyForNotificationPermissionRequest,1520 botchedPageUIClient.unavailablePluginButtonClicked_deprecatedForUseWithV1,1521 botchedPageUIClient.showColorPicker,1522 botchedPageUIClient.hideColorPicker,1523 botchedPageUIClient.unavailablePluginButtonClicked,1524 botchedPageUIClient.pinnedStateDidChange,1525 nullptr,1526 nullptr,1527 nullptr,1528 nullptr,1529 nullptr,1530 nullptr,1531 botchedPageUIClient.runJavaScriptAlert,1532 botchedPageUIClient.runJavaScriptConfirm,1533 botchedPageUIClient.runJavaScriptPrompt,1534 nullptr,1535 };1536 1537 WKPageSetPageUIClient(pageRef, &fixedPageUIClient.base);1538 }1539 #endif1540 1541 1407 namespace WebKit { 1542 1408 … … 1690 1556 void WKPageSetPageUIClient(WKPageRef pageRef, const WKPageUIClientBase* wkClient) 1691 1557 { 1692 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 1010001693 if (wkClient && wkClient->version == 4) {1694 fixUpBotchedPageUIClient(pageRef, *wkClient);1695 return;1696 }1697 #endif1698 1699 1558 class UIClient : public API::Client<WKPageUIClientBase>, public API::UIClient { 1700 1559 public: -
trunk/Source/WebKit2/UIProcess/ChildProcessProxy.cpp
r216497 r219050 170 170 171 171 m_connection = IPC::Connection::createServerConnection(connectionIdentifier, *this); 172 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 101000173 m_connection->setShouldCloseConnectionOnMachExceptions();174 #endif175 172 176 173 connectionWillOpen(*m_connection); -
trunk/Source/WebKit2/UIProcess/Cocoa/WebProcessPoolCocoa.mm
r218916 r219050 237 237 }, data.leakRef()); 238 238 } 239 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)240 239 parameters.networkATSContext = adoptCF(_CFNetworkCopyATSContext()); 241 #endif 242 243 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100 240 241 #if PLATFORM(MAC) 244 242 RetainPtr<CFDataRef> cookieStorageData = adoptCF(CFHTTPCookieStorageCreateIdentifyingData(kCFAllocatorDefault, [[NSHTTPCookieStorage sharedHTTPCookieStorage] _cookieStorage])); 245 243 ASSERT(parameters.uiProcessCookieStorageIdentifier.isEmpty()); … … 281 279 parameters.httpProxy = [defaults stringForKey:WebKit2HTTPProxyDefaultsKey]; 282 280 parameters.httpsProxy = [defaults stringForKey:WebKit2HTTPSProxyDefaultsKey]; 283 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)284 281 parameters.networkATSContext = adoptCF(_CFNetworkCopyATSContext()); 285 #endif286 282 287 283 #if ENABLE(NETWORK_CACHE) … … 299 295 parameters.loadThrottleLatency = Seconds { [defaults integerForKey:WebKitNetworkLoadThrottleLatencyMillisecondsDefaultsKey] / 1000. }; 300 296 301 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100297 #if PLATFORM(MAC) 302 298 RetainPtr<CFDataRef> cookieStorageData = adoptCF(CFHTTPCookieStorageCreateIdentifyingData(kCFAllocatorDefault, [[NSHTTPCookieStorage sharedHTTPCookieStorage] _cookieStorage])); 303 299 ASSERT(parameters.uiProcessCookieStorageIdentifier.isEmpty()); … … 600 596 NSDate *startDate = [NSDate dateWithTimeIntervalSince1970:startDateIntervalSince1970]; 601 597 _CFNetworkResetHSTSHostsSinceDate(nullptr, (__bridge CFDateRef)startDate); 602 #if PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)603 598 _CFNetworkResetHSTSHostsSinceDate(privateBrowsingSession(), (__bridge CFDateRef)startDate); 604 #endif605 599 } 606 600 -
trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.h
r218457 r219050 403 403 #endif 404 404 405 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100406 405 void startWindowDrag(); 407 #endif408 406 409 407 void dragImageForView(NSView *, NSImage *, CGPoint clientPoint, bool linkDrag); -
trunk/Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm
r218457 r219050 1608 1608 if (frameSizeUpdatesDisabled()) 1609 1609 return; 1610 1611 if (DrawingAreaProxy* drawingArea = m_page->drawingArea())1612 drawingArea->waitForPossibleGeometryUpdate();1613 1610 } 1614 1611 … … 3768 3765 #endif // ENABLE(DRAG_SUPPORT) 3769 3766 3770 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1011003771 3767 void WebViewImpl::startWindowDrag() 3772 3768 { 3773 3769 [m_view.window performWindowDragWithEvent:m_lastMouseDownEvent.get()]; 3774 3770 } 3775 #endif3776 3771 3777 3772 void WebViewImpl::dragImageForView(NSView *view, NSImage *image, CGPoint clientPoint, bool) -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxy.h
r218457 r219050 72 72 // The timeout we use when waiting for a DidUpdateGeometry message. 73 73 static constexpr Seconds didUpdateBackingStoreStateTimeout() { return Seconds::fromMilliseconds(500); } 74 75 virtual void waitForPossibleGeometryUpdate(Seconds = didUpdateBackingStoreStateTimeout()) { }76 74 77 75 virtual void colorSpaceDidChange() { } -
trunk/Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp
r218457 r219050 219 219 220 220 m_connection = IPC::Connection::createServerConnection(connectionIdentifier, *this); 221 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED <= 101000222 m_connection->setShouldCloseConnectionOnMachExceptions();223 #endif224 221 225 222 m_connection->open(); -
trunk/Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.h
r218457 r219050 87 87 #if PLATFORM(COCOA) 88 88 void setProcessSuppressionEnabled(bool); 89 90 #if __MAC_OS_X_VERSION_MIN_REQUIRED <= 10100091 // Creates a property list in ~/Library/Preferences that contains all the MIME types supported by the plug-in.92 static bool createPropertyListFile(const PluginModuleInfo&);93 #endif94 89 95 90 #endif -
trunk/Source/WebKit2/UIProcess/Plugins/mac/PluginProcessProxyMac.mm
r215132 r219050 60 60 namespace WebKit { 61 61 62 #if __MAC_OS_X_VERSION_MIN_REQUIRED <= 10100063 bool PluginProcessProxy::createPropertyListFile(const PluginModuleInfo& plugin)64 {65 CString pluginPathString = fileSystemRepresentation(plugin.path);66 67 posix_spawnattr_t attr;68 posix_spawnattr_init(&attr);69 70 cpu_type_t cpuTypes[] = { plugin.pluginArchitecture };71 size_t outCount = 0;72 posix_spawnattr_setbinpref_np(&attr, 1, cpuTypes, &outCount);73 74 posix_spawnattr_setflags(&attr, POSIX_SPAWN_CLOEXEC_DEFAULT);75 76 const char* args[] = { "/System/Library/Frameworks/WebKit.framework/PluginProcess.app/Contents/MacOS/PluginProcess", "/System/Library/Frameworks/WebKit.framework/WebKit", "-type", "pluginprocess", "-createPluginMIMETypesPreferences", pluginPathString.data(), 0 };77 78 pid_t pid;79 int result = posix_spawn(&pid, args[0], 0, &attr, const_cast<char* const*>(args), nullptr);80 posix_spawnattr_destroy(&attr);81 82 if (result)83 return false;84 int status;85 if (waitpid(pid, &status, 0) < 0)86 return false;87 88 if (!WIFEXITED(status))89 return false;90 91 if (WEXITSTATUS(status) != EXIT_SUCCESS)92 return false;93 94 return true;95 }96 #endif97 98 62 void PluginProcessProxy::platformGetLaunchOptions(ProcessLauncher::LaunchOptions& launchOptions, const PluginProcessAttributes& pluginProcessAttributes) 99 63 { … … 121 85 parameters.acceleratedCompositingPort = MachSendRight::create([CARemoteLayerServer sharedServer].serverPort); 122 86 #endif 123 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)124 87 parameters.networkATSContext = adoptCF(_CFNetworkCopyATSContext()); 125 #endif126 88 } 127 89 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r219013 r219050 1295 1295 if (!isValid()) 1296 1296 return; 1297 #if HAVE(COREANIMATION_FENCES)1297 #if PLATFORM(COCOA) 1298 1298 MachSendRight fence = m_drawingArea->createFence(); 1299 1299 -
trunk/Source/WebKit2/UIProcess/mac/PageClientImpl.mm
r217566 r219050 417 417 } 418 418 419 #if PLATFORM(MAC)420 419 IntRect PageClientImpl::rootViewToWindow(const WebCore::IntRect& rect) 421 420 { … … 424 423 return enclosingIntRect(tempRect); 425 424 } 426 #endif427 425 428 426 void PageClientImpl::doneWithKeyEvent(const NativeWebKeyboardEvent& event, bool eventWasHandled) … … 842 840 void PageClientImpl::startWindowDrag() 843 841 { 844 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100845 842 m_impl->startWindowDrag(); 846 #endif847 843 } 848 844 -
trunk/Source/WebKit2/UIProcess/mac/RemoteWebInspectorProxyMac.mm
r214442 r219050 222 222 void RemoteWebInspectorProxy::platformStartWindowDrag() 223 223 { 224 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100225 224 m_webView->_page->startWindowDrag(); 225 } 226 227 void RemoteWebInspectorProxy::platformOpenInNewTab(const String& url) 228 { 229 [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:url]]; 230 } 231 232 } // namespace WebKit 233 226 234 #endif 227 }228 229 void RemoteWebInspectorProxy::platformOpenInNewTab(const String& url)230 {231 [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:url]];232 }233 234 } // namespace WebKit235 236 #endif -
trunk/Source/WebKit2/UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.h
r218457 r219050 41 41 void deviceScaleFactorDidChange() override; 42 42 void sizeDidChange() override; 43 void waitForPossibleGeometryUpdate(Seconds timeout = didUpdateBackingStoreStateTimeout()) override;44 43 void colorSpaceDidChange() override; 45 44 void minimumLayoutSizeDidChange() override; -
trunk/Source/WebKit2/UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm
r218457 r219050 72 72 } 73 73 74 void TiledCoreAnimationDrawingAreaProxy::waitForPossibleGeometryUpdate(Seconds timeout)75 {76 #if !HAVE(COREANIMATION_FENCES)77 if (!m_isWaitingForDidUpdateGeometry)78 return;79 80 if (m_webPageProxy.process().state() != WebProcessProxy::State::Running)81 return;82 83 m_webPageProxy.process().connection()->waitForAndDispatchImmediately<Messages::DrawingAreaProxy::DidUpdateGeometry>(m_webPageProxy.pageID(), timeout, IPC::WaitForOption::InterruptWaitingIfSyncMessageArrives);84 #endif85 }86 87 74 void TiledCoreAnimationDrawingAreaProxy::colorSpaceDidChange() 88 75 { … … 154 141 MachSendRight TiledCoreAnimationDrawingAreaProxy::createFence() 155 142 { 156 #if HAVE(COREANIMATION_FENCES)157 143 if (!m_webPageProxy.isValid()) 158 144 return MachSendRight(); … … 190 176 191 177 return fencePort; 192 #else193 return MachSendRight();194 #endif195 178 } 196 179 -
trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm
r215173 r219050 230 230 [window setCollectionBehavior:([window collectionBehavior] | NSWindowCollectionBehaviorFullScreenPrimary)]; 231 231 232 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100233 232 CGFloat approximatelyHalfScreenSize = ([window screen].frame.size.width / 2) - 4; 234 233 CGFloat minimumFullScreenWidth = std::max<CGFloat>(636, approximatelyHalfScreenSize); 235 234 [window setMinFullScreenContentSize:NSMakeSize(minimumFullScreenWidth, minimumWindowHeight)]; 236 235 [window setCollectionBehavior:([window collectionBehavior] | NSWindowCollectionBehaviorFullScreenAllowsTiling)]; 237 #endif238 236 239 237 [window setTitlebarAppearsTransparent:YES]; … … 688 686 void WebInspectorProxy::platformStartWindowDrag() 689 687 { 690 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100691 688 m_inspectorView->_page->startWindowDrag(); 692 #endif693 689 } 694 690 -
trunk/Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm
r215830 r219050 113 113 114 114 NSMenu *menu = [m_popup menu]; 115 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100116 115 [menu setUserInterfaceLayoutDirection:textDirection == LTR ? NSUserInterfaceLayoutDirectionLeftToRight : NSUserInterfaceLayoutDirectionRightToLeft]; 117 #endif118 116 119 117 // These values were borrowed from AppKit to match their placement of the menu. -
trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
r219049 r219050 2471 2471 1A67CD2D1CBC513F00BFE3EA /* WKOpenPanelParametersInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKOpenPanelParametersInternal.h; sourceTree = "<group>"; }; 2472 2472 1A698F171E4910220064E881 /* ChildProcessCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ChildProcessCocoa.mm; sourceTree = "<group>"; }; 2473 1A6D141F1B0167D500785FF0 /* Info-OSX-10.9-10.10.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Info-OSX-10.9-10.10.plist"; sourceTree = "<group>"; };2474 1A6D14211B01681600785FF0 /* PluginService.32-64-10.9-10.10.Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "PluginService.32-64-10.9-10.10.Info.plist"; path = "PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64-10.9-10.10.Info.plist"; sourceTree = SOURCE_ROOT; };2475 2473 1A6D86BF1DF75265007745E8 /* MachMessage.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MachMessage.cpp; sourceTree = "<group>"; }; 2476 2474 1A6D86C01DF75265007745E8 /* MachMessage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MachMessage.h; sourceTree = "<group>"; }; … … 2491 2489 1A7C0DF41B7D1F1000A9B848 /* WKWindowFeaturesRef.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WKWindowFeaturesRef.cpp; sourceTree = "<group>"; }; 2492 2490 1A7C0DF51B7D1F1000A9B848 /* WKWindowFeaturesRef.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKWindowFeaturesRef.h; sourceTree = "<group>"; }; 2493 1A7DA54D1AFD8B380018239D /* Info-OSX-10.9-10.10.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Info-OSX-10.9-10.10.plist"; sourceTree = "<group>"; };2494 2491 1A7E377418E4A33A003D0FFF /* WKScriptMessageHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKScriptMessageHandler.h; sourceTree = "<group>"; }; 2495 2492 1A7E377618E4A4FE003D0FFF /* WKScriptMessage.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKScriptMessage.mm; sourceTree = "<group>"; }; … … 7450 7447 children = ( 7451 7448 26659AA0185FAAED004303DD /* Info-iOS.plist */, 7452 1A6D141F1B0167D500785FF0 /* Info-OSX-10.9-10.10.plist */,7453 7449 BC8283A316B4BD9100A278FE /* Info-OSX.plist */, 7454 7450 ); … … 7469 7465 isa = PBXGroup; 7470 7466 children = ( 7471 1A6D14211B01681600785FF0 /* PluginService.32-64-10.9-10.10.Info.plist */,7472 7467 BCFCA89516DE96CB00074069 /* PluginService.32-64.Info.plist */, 7473 7468 ); … … 7552 7547 children = ( 7553 7548 375FB4731883415600BE34D4 /* Info-iOS.plist */, 7554 1A7DA54D1AFD8B380018239D /* Info-OSX-10.9-10.10.plist */,7555 7549 BCACC44016B24CAA00B6E092 /* Info-OSX.plist */, 7556 7550 ); -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp
r219012 r219050 2576 2576 } 2577 2577 2578 #if HAVE(COREANIMATION_FENCES)2578 #if PLATFORM(COCOA) 2579 2579 void WebPage::setTopContentInsetFenced(float contentInset, IPC::Attachment fencePort) 2580 2580 { -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h
r218985 r219050 1099 1099 void setDrawsBackground(bool); 1100 1100 1101 #if HAVE(COREANIMATION_FENCES)1101 #if PLATFORM(COCOA) 1102 1102 void setTopContentInsetFenced(float, IPC::Attachment); 1103 1103 #endif -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in
r218985 r219050 28 28 SetDrawsBackground(bool drawsBackground) 29 29 30 #if HAVE(COREANIMATION_FENCES)30 #if PLATFORM(COCOA) 31 31 SetTopContentInsetFenced(float contentInset, IPC::Attachment fencePort) 32 32 #endif -
trunk/Source/WebKit2/WebProcess/WebPage/mac/PlatformCAAnimationRemote.mm
r216810 r219050 781 781 [springAnimation setStiffness:function.stiffness()]; 782 782 [springAnimation setDamping:function.damping()]; 783 #if PLATFORM(IOS) || PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100784 783 [springAnimation setInitialVelocity:function.initialVelocity()]; 785 #else786 [springAnimation setVelocity:function.initialVelocity()];787 #endif788 784 } 789 785 } -
trunk/Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm
r218985 r219050 347 347 visibleRect.intersect(m_scrolledViewExposedRect.value()); 348 348 349 #if PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)350 349 RefPtr<WebPage> retainedPage = &m_webPage; 351 350 [CATransaction addCommitHandler:[retainedPage] { … … 355 354 } 356 355 } forPhase:kCATransactionPhasePostCommit]; 357 #endif358 356 359 357 m_webPage.mainFrameView()->flushCompositingStateIncludingSubframes(); -
trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm
r218985 r219050 429 429 430 430 RefPtr<WebPage> retainedPage = &m_webPage; 431 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)432 431 [CATransaction addCommitHandler:[retainedPage] { 433 432 if (Page* corePage = retainedPage->corePage()) { … … 438 437 drawingArea->sendPendingNewlyReachedLayoutMilestones(); 439 438 } forPhase:kCATransactionPhasePostCommit]; 440 #else441 dispatch_async(dispatch_get_main_queue(), [retainedPage] {442 if (auto drawingArea = static_cast<TiledCoreAnimationDrawingArea*>(retainedPage->drawingArea()))443 drawingArea->sendPendingNewlyReachedLayoutMilestones();444 });445 #endif446 439 447 440 bool returnValue = m_webPage.mainFrameView()->flushCompositingStateIncludingSubframes(); … … 568 561 [CATransaction commit]; 569 562 570 if (flushSynchronously) {563 if (flushSynchronously) 571 564 [CATransaction flush]; 572 #if !HAVE(COREANIMATION_FENCES)573 // We can't synchronize here if we're using fences or we'll blow the fence every time (and we don't need to).574 [CATransaction synchronize];575 #endif576 }577 565 578 566 m_webPage.send(Messages::DrawingAreaProxy::DidUpdateGeometry()); … … 580 568 m_inUpdateGeometry = false; 581 569 582 #if HAVE(COREANIMATION_FENCES)583 570 m_layerHostingContext->setFencePort(fencePort.sendRight()); 584 #endif585 571 } 586 572 -
trunk/Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm
r217153 r219050 138 138 } 139 139 140 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100140 #if PLATFORM(MAC) 141 141 setSharedHTTPCookieStorage(parameters.uiProcessCookieStorageIdentifier); 142 142 #endif … … 164 164 method_setImplementation(methodToPatch, (IMP)NSApplicationAccessibilityFocusedUIElement); 165 165 #endif 166 #if TARGET_OS_IPHONE || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)167 166 _CFNetworkSetATSContext(parameters.networkATSContext.get()); 168 #endif169 167 170 168 #if TARGET_OS_IPHONE -
trunk/Source/WebKit2/WebProcess/com.apple.WebProcess.sb.in
r218858 r219050 36 36 #endif 37 37 38 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110039 38 (deny sysctl*) 40 39 (allow sysctl-read … … 185 184 (iokit-property "touch-size-id") 186 185 ) 187 #endif188 186 189 187 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 … … 390 388 (global-name "com.apple.SystemConfiguration.PPPController") 391 389 (global-name "com.apple.audio.SystemSoundServer-OSX") 392 #if __MAC_OS_X_VERSION_MIN_REQUIRED < 101100393 (global-name "com.apple.audio.VDCAssistant")394 #endif395 390 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300 396 391 (global-name "com.apple.analyticsd") … … 409 404 (global-name "com.apple.mediaremoted.xpc") 410 405 #endif 411 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100412 406 (global-name "com.apple.lsd.mapdb") 413 407 (global-name "com.apple.nesessionmanager.flow-divert-token") 414 #endif415 408 (global-name "com.apple.speech.speechsynthesisd") 416 409 (global-name "com.apple.speech.synthesis.console") -
trunk/Source/bmalloc/ChangeLog
r219009 r219050 1 2017-07-01 Dan Bernstein <mitz@apple.com> 2 3 [macOS] Remove code only needed when building for OS X Yosemite 4 https://bugs.webkit.org/show_bug.cgi?id=174067 5 6 Reviewed by Tim Horton. 7 8 * Configurations/Base.xcconfig: 9 * Configurations/DebugRelease.xcconfig: 10 1 11 2017-06-30 Ryosuke Niwa <rniwa@webkit.org> 2 12 -
trunk/Source/bmalloc/Configurations/Base.xcconfig
r217531 r219050 87 87 88 88 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 89 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;90 89 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 91 90 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Source/bmalloc/Configurations/DebugRelease.xcconfig
r218057 r219050 30 30 31 31 MACOSX_DEPLOYMENT_TARGET = $(MACOSX_DEPLOYMENT_TARGET_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 32 MACOSX_DEPLOYMENT_TARGET_macosx_101000 = 10.10;33 32 MACOSX_DEPLOYMENT_TARGET_macosx_101100 = 10.11; 34 33 MACOSX_DEPLOYMENT_TARGET_macosx_101200 = 10.12; -
trunk/Tools/ChangeLog
r219049 r219050 1 2017-07-01 Dan Bernstein <mitz@apple.com> 2 3 [macOS] Remove code only needed when building for OS X Yosemite 4 https://bugs.webkit.org/show_bug.cgi?id=174067 5 6 Reviewed by Tim Horton. 7 8 * DumpRenderTree/mac/Configurations/Base.xcconfig: 9 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: 10 * DumpRenderTree/mac/DumpRenderTree.mm: 11 (setDefaultsToConsistentValuesForTesting): 12 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: 13 (-[DumpRenderTreeDraggingInfo resetSpringLoading]): 14 * MiniBrowser/Configurations/Base.xcconfig: 15 * MiniBrowser/Configurations/DebugRelease.xcconfig: 16 * TestWebKitAPI/Configurations/Base.xcconfig: 17 * TestWebKitAPI/Configurations/DebugRelease.xcconfig: 18 * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: 19 * TestWebKitAPI/Tests/WebCore/ComplexTextController.cpp: 20 (TestWebKitAPI::TEST_F): 21 * TestWebKitAPI/Tests/WebCore/cocoa/WebCoreNSURLSession.mm: 22 * TestWebKitAPI/Tests/mac/DragAndDropPasteboardTests.mm: 23 * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm: 24 (TestWebKitAPI::TEST_F): 25 * TestWebKitAPI/Tests/mac/StringTruncator.mm: 26 (TestWebKitAPI::TEST): 27 * WebKitTestRunner/Configurations/Base.xcconfig: 28 * WebKitTestRunner/Configurations/DebugRelease.xcconfig: 29 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm: 30 (WTR::InjectedBundle::platformInitialize): 31 * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm: 32 (-[WebKitTestRunnerDraggingInfo resetSpringLoading]): 33 1 34 2017-07-01 Chris Dumez <cdumez@apple.com> 2 35 -
trunk/Tools/DumpRenderTree/mac/Configurations/Base.xcconfig
r215386 r219050 83 83 84 84 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 85 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;86 85 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 87 86 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Tools/DumpRenderTree/mac/Configurations/DebugRelease.xcconfig
r218057 r219050 31 31 32 32 MACOSX_DEPLOYMENT_TARGET[sdk=macosx*] = $(MACOSX_DEPLOYMENT_TARGET_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 33 MACOSX_DEPLOYMENT_TARGET_macosx_101000 = 10.10;34 33 MACOSX_DEPLOYMENT_TARGET_macosx_101100 = 10.11; 35 34 MACOSX_DEPLOYMENT_TARGET_macosx_101200 = 10.12; … … 40 39 WEBKIT_SYSTEM_INTERFACE_LIBRARY[sdk=iphonesimulator*] = WebKitSystemInterfaceIOSSimulator$(WK_TARGET_IOS_VERSION_MAJOR); 41 40 WEBKIT_SYSTEM_INTERFACE_LIBRARY[sdk=macosx*] = $(WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 42 WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_101000 = WebKitSystemInterfaceYosemite;43 41 WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_101100 = WebKitSystemInterfaceElCapitan; 44 42 WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_101200 = WebKitSystemInterfaceOSX10.12; -
trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm
r218816 r219050 1024 1024 @"AppleShowScrollBars": @"Always", 1025 1025 @"NSButtonAnimationsEnabled": @NO, // Ideally, we should find a way to test animations, but for now, make sure that the dumped snapshot matches actual state. 1026 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100 && __MAC_OS_X_VERSION_MIN_REQUIRED< 1012001026 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101200 1027 1027 @"AppleSystemFontOSSubversion": @(10), 1028 1028 #endif … … 1044 1044 WebKitLocalCacheDefaultsKey: [libraryPath stringByAppendingPathComponent:@"LocalCache"], 1045 1045 WebKitResourceLoadStatisticsDirectoryDefaultsKey: [libraryPath stringByAppendingPathComponent:@"LocalStorage"], 1046 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100 && __MAC_OS_X_VERSION_MIN_REQUIRED< 1012001046 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101200 1047 1047 // This needs to also be added to argument domain because of <rdar://problem/20210002>. 1048 1048 @"AppleSystemFontOSSubversion": @(10), -
trunk/Tools/DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm
r190070 r219050 143 143 } 144 144 145 #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101100146 145 -(NSSpringLoadingHighlight)springLoadingHighlight 147 146 { … … 152 151 { 153 152 } 154 #endif155 153 156 154 @end -
trunk/Tools/MiniBrowser/Configurations/Base.xcconfig
r215316 r219050 61 61 62 62 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 63 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;64 63 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 65 64 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Tools/MiniBrowser/Configurations/DebugRelease.xcconfig
r218057 r219050 31 31 32 32 MACOSX_DEPLOYMENT_TARGET = $(MACOSX_DEPLOYMENT_TARGET_$(TARGET_MAC_OS_X_VERSION_MAJOR)) 33 MACOSX_DEPLOYMENT_TARGET_101000 = 10.10;34 33 MACOSX_DEPLOYMENT_TARGET_101100 = 10.11; 35 34 MACOSX_DEPLOYMENT_TARGET_101200 = 10.12; -
trunk/Tools/TestWebKitAPI/Configurations/Base.xcconfig
r215386 r219050 74 74 75 75 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 76 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;77 76 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 78 77 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Tools/TestWebKitAPI/Configurations/DebugRelease.xcconfig
r218057 r219050 31 31 32 32 MACOSX_DEPLOYMENT_TARGET = $(MACOSX_DEPLOYMENT_TARGET_$(TARGET_MAC_OS_X_VERSION_MAJOR)) 33 MACOSX_DEPLOYMENT_TARGET_101000 = 10.10;34 33 MACOSX_DEPLOYMENT_TARGET_101100 = 10.11; 35 34 MACOSX_DEPLOYMENT_TARGET_101200 = 10.12; -
trunk/Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig
r219012 r219050 33 33 34 34 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 35 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101000 = YES;36 35 TARGET_MAC_OS_X_VERSION_LESS_THAN_1012000_101100 = YES; 37 36 38 37 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000 = $(TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 39 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101000 = YES;40 38 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101100 = YES; 41 39 TARGET_MAC_OS_X_VERSION_LESS_THAN_1013000_101200 = YES; -
trunk/Tools/TestWebKitAPI/Tests/WebCore/ComplexTextController.cpp
r215117 r219050 54 54 auto spaceWidth = font.primaryFont().spaceWidth(); 55 55 56 #if USE_LAYOUT_SPECIFIC_ADVANCES57 56 Vector<FloatSize> advances = { FloatSize(), FloatSize(21.640625, 0.0), FloatSize(42.3046875, 0.0), FloatSize(55.8984375, 0.0), FloatSize(22.34375, 0.0) }; 58 57 Vector<FloatPoint> origins = { FloatPoint(-15.15625, 18.046875), FloatPoint(), FloatPoint(), FloatPoint(), FloatPoint() }; 59 #else60 Vector<FloatSize> advances = { FloatSize(15.15625, -18.046875), FloatSize(21.640625, 0.0), FloatSize(42.3046875, 0.0), FloatSize(55.8984375, 0.0), FloatSize(22.34375, 0.0) };61 Vector<FloatPoint> origins = { };62 #endif63 58 64 59 FloatSize initialAdvance = FloatSize(-15.15625, 18.046875); … … 105 100 font.update(); 106 101 107 #if USE_LAYOUT_SPECIFIC_ADVANCES108 102 Vector<FloatSize> advances = { FloatSize(), FloatSize(21.640625, 0.0), FloatSize(42.3046875, 0.0), FloatSize(55.8984375, 0.0), FloatSize(22.34375, 0.0) }; 109 103 Vector<FloatPoint> origins = { FloatPoint(-15.15625, 18.046875), FloatPoint(), FloatPoint(), FloatPoint(), FloatPoint() }; 110 #else111 Vector<FloatSize> advances = { FloatSize(15.15625, -18.046875), FloatSize(21.640625, 0.0), FloatSize(42.3046875, 0.0), FloatSize(55.8984375, 0.0), FloatSize(22.34375, 0.0) };112 Vector<FloatPoint> origins = { };113 #endif114 104 115 105 FloatSize initialAdvance = FloatSize(-15.15625, 18.046875); … … 155 145 auto spaceWidth = font.primaryFont().spaceWidth(); 156 146 157 #if USE_LAYOUT_SPECIFIC_ADVANCES158 147 Vector<FloatSize> advances = { FloatSize(76.347656, 0.000000), FloatSize(0.000000, 0.000000) }; 159 148 Vector<FloatPoint> origins = { FloatPoint(), FloatPoint(-23.281250, -8.398438) }; 160 #else161 Vector<FloatSize> advances = { FloatSize(53.066406, -8.398438), FloatSize(23.281250, 8.398438) };162 Vector<FloatPoint> origins = { };163 #endif164 149 165 150 FloatSize initialAdvance = FloatSize(28.144531, 0); … … 202 187 font.update(); 203 188 204 #if USE_LAYOUT_SPECIFIC_ADVANCES205 189 Vector<FloatSize> advances = { FloatSize(76.347656, 0.000000), FloatSize(0.000000, 0.000000) }; 206 190 Vector<FloatPoint> origins = { FloatPoint(), FloatPoint(-23.281250, -8.398438) }; 207 #else208 Vector<FloatSize> advances = { FloatSize(53.066406, -8.398438), FloatSize(23.281250, 8.398438) };209 Vector<FloatPoint> origins = { };210 #endif211 191 212 192 FloatSize initialAdvance = FloatSize(28.144531, 0); … … 365 345 366 346 Vector<FloatSize> advances = { FloatSize(1, 0), FloatSize(2, 0), FloatSize(4, 0), FloatSize(8, 0), FloatSize(16, 0) }; 367 #if USE_LAYOUT_SPECIFIC_ADVANCES368 347 Vector<FloatPoint> origins = { FloatPoint(), FloatPoint(), FloatPoint(), FloatPoint(), FloatPoint() }; 369 #else370 Vector<FloatPoint> origins = { };371 #endif372 348 373 349 FloatSize initialAdvance = FloatSize(); -
trunk/Tools/TestWebKitAPI/Tests/WebCore/cocoa/WebCoreNSURLSession.mm
r212994 r219050 26 26 #import "config.h" 27 27 28 #if !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 10110028 #if !PLATFORM(IOS) 29 29 30 30 #import "PlatformUtilities.h" -
trunk/Tools/TestWebKitAPI/Tests/mac/DragAndDropPasteboardTests.mm
r211906 r219050 190 190 } 191 191 192 #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101100193 194 192 - (NSSpringLoadingHighlight)springLoadingHighlight 195 193 { … … 200 198 { 201 199 } 202 203 #endif204 200 205 201 @end -
trunk/Tools/TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm
r218815 r219050 190 190 } 191 191 192 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 101000193 192 // FIXME:<rdar://problem/20504403> 194 193 TEST_F(FullscreenZoomInitialFrame, DISABLED_WebKit2) 195 #else196 TEST_F(FullscreenZoomInitialFrame, WebKit2)197 #endif198 194 { 199 195 runWebKit2Test(); -
trunk/Tools/TestWebKitAPI/Tests/mac/StringTruncator.mm
r200070 r219050 36 36 EXPECT_EQ(nil, [WebStringTruncator centerTruncateString:@"abcdefghijklmnopqrstuvwxyz" toWidth:100 withFont:nil]); 37 37 EXPECT_STREQ([[WebStringTruncator centerTruncateString:@"abcdefghijklmnopqrstuvwxyz" toWidth:100 withFont:[NSFont fontWithName:@"Helvetica" size:12]] UTF8String], "abcdefg…tuvwxyz"); 38 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 10100039 38 EXPECT_STREQ([[WebStringTruncator centerTruncateString:@"abcdefghijklmnopqrstuvwxyz" toWidth:100] UTF8String], "abcdef…uvwxyz"); 40 #else41 EXPECT_STREQ([[WebStringTruncator centerTruncateString:@"abcdefghijklmnopqrstuvwxyz" toWidth:100] UTF8String], "abcdef…vwxyz");42 #endif43 39 EXPECT_EQ(nil, [WebStringTruncator rightTruncateString:@"abcdefghijklmnopqrstuvwxyz" toWidth:100 withFont:nil]); 44 40 EXPECT_STREQ([[WebStringTruncator rightTruncateString:@"abcdefghijklmnopqrstuvwxyz" toWidth:100 withFont:[NSFont fontWithName:@"Helvetica" size:12]] UTF8String], "abcdefghijklmno…"); -
trunk/Tools/WebKitTestRunner/Configurations/Base.xcconfig
r215386 r219050 57 57 58 58 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)); 59 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;60 59 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100; 61 60 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200; -
trunk/Tools/WebKitTestRunner/Configurations/DebugRelease.xcconfig
r218057 r219050 31 31 32 32 MACOSX_DEPLOYMENT_TARGET = $(MACOSX_DEPLOYMENT_TARGET_$(TARGET_MAC_OS_X_VERSION_MAJOR)) 33 MACOSX_DEPLOYMENT_TARGET_101000 = 10.10;34 33 MACOSX_DEPLOYMENT_TARGET_101100 = 10.11; 35 34 MACOSX_DEPLOYMENT_TARGET_101200 = 10.12; … … 40 39 WEBKIT_SYSTEM_INTERFACE_LIBRARY[sdk=iphonesimulator*] = WebKitSystemInterfaceIOSSimulator$(WK_TARGET_IOS_VERSION_MAJOR); 41 40 WEBKIT_SYSTEM_INTERFACE_LIBRARY[sdk=macosx*] = $(WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR)); 42 WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_101000 = WebKitSystemInterfaceYosemite;43 41 WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_101100 = WebKitSystemInterfaceElCapitan; 44 42 WEBKIT_SYSTEM_INTERFACE_LIBRARY_macosx_101200 = WebKitSystemInterfaceOSX10.12; -
trunk/Tools/WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm
r209192 r219050 77 77 @"hellolfworld": @"hello\nworld" 78 78 }, 79 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100 && __MAC_OS_X_VERSION_MIN_REQUIRED< 10120079 #if __MAC_OS_X_VERSION_MIN_REQUIRED < 101200 80 80 @"AppleSystemFontOSSubversion": @(10), 81 81 #endif -
trunk/Tools/WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm
r190070 r219050 147 147 } 148 148 149 #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101100150 149 -(NSSpringLoadingHighlight)springLoadingHighlight 151 150 { … … 156 155 { 157 156 } 158 #endif159 157 160 158 @end
Note:
See TracChangeset
for help on using the changeset viewer.