haikuwebkit/Source/WebKitLegacy/PlatformMac.cmake

711 lines
27 KiB
CMake
Raw Permalink Normal View History

find_library(APPLICATIONSERVICES_LIBRARY ApplicationServices)
find_library(QUARTZ_LIBRARY Quartz)
Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=149123 Reviewed by Chris Dumez. .: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Defined and enabled some more features needed on Mac. * Source/cmake/WebKitMacros.cmake: Objective C bindings need special changes when generating: Some of the bindings do not generate a .mm file but the header is needed. Some of the bindings do generate a .mm file that doesn't compile but the header is needed. In order to handle these cases, it is necessary to change the GENERATE_BINDINGS macro just for ObjC. Source/JavaScriptCore: * CMakeLists.txt: Make forwarding headers for the replay subdirectory. * PlatformMac.cmake: Make forwarding headers for the generated inspector headers. They should eventually either be packaged correctly with JavaScriptCore headers and included correctly. Source/WebCore: * CMakeLists.txt: Added some more files. * PlatformMac.cmake: Added more files and listed the strange ObjC bindings. * contentextensions/DFACombiner.cpp: * contentextensions/DFACombiner.h: Added preprocessor protection. * platform/FileSystem.h: Include utility. It's needed to compile the different configurations. * platform/ScrollAnimator.cpp: ScrollAnimator is an abstract class on Mac. Don't compile it. * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: FontAntialiasingStateSaver.h is only used on iOS. * rendering/RenderThemeMac.mm: config.h needs to be outside the #if !PLATFORM(IOS) to compile correctly without precompiled headers. Source/WebKit: * CMakeLists.txt: * PlatformMac.cmake: Added more sources, make non-c99 sources compile as objc++ * PlatformWin.cmake: Moved WebCoreTestSupport sources and includes to CMakeLists.txt to share. Source/WebKit/mac: * WebView/WebPDFDocumentExtras.mm: (appendValuesInPDFNameSubtreeToVector): * WebView/WebPDFView.mm: Removed cmake include quirks that are not needed when we include things correctly from Quartz.framework/Frameworks. Source/WebKit2: * PlatformMac.cmake: Added some more sources. Canonical link: https://commits.webkit.org/167232@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-09-14 21:22:46 +00:00
add_definitions(-iframework ${QUARTZ_LIBRARY}/Frameworks)
add_definitions(-iframework ${APPLICATIONSERVICES_LIBRARY}/Versions/Current/Frameworks)
Progress towards successful CMake build on Mac https://bugs.webkit.org/show_bug.cgi?id=202426 Rubber-stamped by Tim Horton. Source/WebCore: * PlatformMac.cmake: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: * Platform/cocoa/PaymentAuthorizationViewController.h: * Platform/cocoa/PaymentAuthorizationViewController.mm: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: * PlatformMac.cmake: * Shared/SandboxExtension.h: (WebKit::SandboxExtension::createHandleForReadByPid): * SourcesCocoa.txt: * UIProcess/API/Cocoa/WKWebView.mm: * UIProcess/API/Cocoa/WKWebsiteDataStore.mm: (-[WKWebsiteDataStore _hasRegisteredServiceWorker]): * UIProcess/API/mac/WKView.mm: * UIProcess/Cocoa/SOAuthorization/PopUpSOAuthorizationSession.mm: * UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm: * UIProcess/Cocoa/WKFullKeyboardAccessWatcher.mm: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet delegate]): (-[WKShareSheet setDelegate:]): * UIProcess/Cocoa/WebProcessPoolCocoa.mm: * UIProcess/Cocoa/WebViewImpl.h: * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebResourceLoadObserver.cpp: * WebProcess/WebCoreSupport/ios/WebPreviewLoaderClient.h: * WebProcess/WebPage/Cocoa/WebRemoteObjectRegistry.cpp: Source/WebKitLegacy: * PlatformMac.cmake: Source/WebKitLegacy/mac: * WebView/WebDataSource.mm: Canonical link: https://commits.webkit.org/215948@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-01 20:35:50 +00:00
add_definitions(-DJSC_CLASS_AVAILABLE\\\(...\\\)=)
list(APPEND WebKitLegacy_PRIVATE_INCLUDE_DIRECTORIES
"${PAL_FRAMEWORK_HEADERS_DIR}"
Progress towards successful CMake build on Mac https://bugs.webkit.org/show_bug.cgi?id=202426 Rubber-stamped by Tim Horton. Source/WebCore: * PlatformMac.cmake: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: * Platform/cocoa/PaymentAuthorizationViewController.h: * Platform/cocoa/PaymentAuthorizationViewController.mm: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: * PlatformMac.cmake: * Shared/SandboxExtension.h: (WebKit::SandboxExtension::createHandleForReadByPid): * SourcesCocoa.txt: * UIProcess/API/Cocoa/WKWebView.mm: * UIProcess/API/Cocoa/WKWebsiteDataStore.mm: (-[WKWebsiteDataStore _hasRegisteredServiceWorker]): * UIProcess/API/mac/WKView.mm: * UIProcess/Cocoa/SOAuthorization/PopUpSOAuthorizationSession.mm: * UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm: * UIProcess/Cocoa/WKFullKeyboardAccessWatcher.mm: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet delegate]): (-[WKShareSheet setDelegate:]): * UIProcess/Cocoa/WebProcessPoolCocoa.mm: * UIProcess/Cocoa/WebViewImpl.h: * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebResourceLoadObserver.cpp: * WebProcess/WebCoreSupport/ios/WebPreviewLoaderClient.h: * WebProcess/WebPage/Cocoa/WebRemoteObjectRegistry.cpp: Source/WebKitLegacy: * PlatformMac.cmake: Source/WebKitLegacy/mac: * WebView/WebDataSource.mm: Canonical link: https://commits.webkit.org/215948@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-01 20:35:50 +00:00
"${WEBKITLEGACY_DIR}"
"${WEBKITLEGACY_DIR}/mac"
Resurrect Mac CMake build https://bugs.webkit.org/show_bug.cgi?id=224084 Patch by Alex Christensen <achristensen@webkit.org> on 2021-04-05 Reviewed by Tim Horton. .: * Source/cmake/OptionsMac.cmake: Source/JavaScriptCore: * PlatformMac.cmake: Source/ThirdParty/ANGLE: * PlatformMac.cmake: Added. Source/ThirdParty/libwebrtc: * CMakeLists.txt: Source/WebCore: * PlatformMac.cmake: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * platform/mac/WebGLBlocklist.mm: * platform/text/cocoa/LocalizedDateCache.h: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.h. * platform/text/cocoa/LocalizedDateCache.mm: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.mm. (WebCore::localizedDateCache): (WebCore::_localeChanged): (WebCore::LocalizedDateCache::LocalizedDateCache): (WebCore::LocalizedDateCache::~LocalizedDateCache): (WebCore::LocalizedDateCache::localeChanged): (WebCore::LocalizedDateCache::formatterForDateType): (WebCore::LocalizedDateCache::maximumWidthForDateType): (WebCore::LocalizedDateCache::createFormatterForType): (WebCore::LocalizedDateCache::calculateMaximumWidth): * testing/cocoa/WebViewVisualIdentificationOverlay.mm: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * NetworkProcess/PrivateClickMeasurementNetworkLoader.cpp: (WebKit::PrivateClickMeasurementNetworkLoader::didReceiveBuffer): * PlatformMac.cmake: * Shared/Cocoa/SandboxExtensionCocoa.mm: * SourcesCocoa.txt: * UIProcess/Media/MediaSessionCoordinatorProxyPrivate.h: Source/WebKitLegacy: * PlatformMac.cmake: Source/WTF: * wtf/PlatformMac.cmake: Tools: * TestWebKitAPI/PlatformMac.cmake: * WebKitTestRunner/PlatformMac.cmake: Canonical link: https://commits.webkit.org/236142@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-06 03:19:14 +00:00
"${WEBKITLEGACY_DIR}/mac/WebView"
"${WEBKITLEGACY_DIR}/mac/WebCoreSupport"
"${WebKitLegacy_FRAMEWORK_HEADERS_DIR}"
"${WebKitLegacy_FRAMEWORK_HEADERS_DIR}/WebKitLegacy"
"${CMAKE_SOURCE_DIR}/Source/ThirdParty/libwebrtc/Source"
"${CMAKE_SOURCE_DIR}/Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp"
"${CMAKE_SOURCE_DIR}/Source/ThirdParty/libwebrtc/Source/webrtc"
)
list(APPEND WebKitLegacy_UNIFIED_SOURCE_LIST_FILES
SourcesCocoa.txt
)
Progress towards successful CMake build on Mac https://bugs.webkit.org/show_bug.cgi?id=202426 Rubber-stamped by Tim Horton. Source/WebCore: * PlatformMac.cmake: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: * Platform/cocoa/PaymentAuthorizationViewController.h: * Platform/cocoa/PaymentAuthorizationViewController.mm: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: * PlatformMac.cmake: * Shared/SandboxExtension.h: (WebKit::SandboxExtension::createHandleForReadByPid): * SourcesCocoa.txt: * UIProcess/API/Cocoa/WKWebView.mm: * UIProcess/API/Cocoa/WKWebsiteDataStore.mm: (-[WKWebsiteDataStore _hasRegisteredServiceWorker]): * UIProcess/API/mac/WKView.mm: * UIProcess/Cocoa/SOAuthorization/PopUpSOAuthorizationSession.mm: * UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm: * UIProcess/Cocoa/WKFullKeyboardAccessWatcher.mm: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet delegate]): (-[WKShareSheet setDelegate:]): * UIProcess/Cocoa/WebProcessPoolCocoa.mm: * UIProcess/Cocoa/WebViewImpl.h: * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebResourceLoadObserver.cpp: * WebProcess/WebCoreSupport/ios/WebPreviewLoaderClient.h: * WebProcess/WebPage/Cocoa/WebRemoteObjectRegistry.cpp: Source/WebKitLegacy: * PlatformMac.cmake: Source/WebKitLegacy/mac: * WebView/WebDataSource.mm: Canonical link: https://commits.webkit.org/215948@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-01 20:35:50 +00:00
WEBKIT_COMPUTE_SOURCES(WebKitLegacy)
[CMake] Rename WebKit target to WebKitLegacy and rename WebKit2 target to WebKit https://bugs.webkit.org/show_bug.cgi?id=174558 Reviewed by Alex Christensen. .: * CMakeLists.txt: * Source/PlatformGTK.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitCommon.cmake: * Source/cmake/WebKitFS.cmake: Source/WebDriver: * CMakeLists.txt: Source/WebKit: * CMakeLists.txt: * PlatformGTK.cmake: * PlatformMac.cmake: * PlatformWPE.cmake: * PlatformWin.cmake: * Shared/gtk/WebKitWaylandProtocol.xml: Renamed from Source/WebKit/Shared/gtk/WebKit2WaylandProtocol.xml. * UIProcess/gtk/WaylandCompositor.cpp: * WebProcess/gtk/WaylandCompositorDisplay.cpp: Source/WebKitLegacy: With help from Stephan Szabo, thanks! * CMakeLists.txt: * PlatformMac.cmake: * PlatformWin.cmake: Tools: With help from Stephan Szabo, thanks! * DumpRenderTree/PlatformMac.cmake: * DumpRenderTree/PlatformWin.cmake: * DumpRenderTree/win/AccessibilityControllerWin.cpp: * DumpRenderTree/win/DRTDesktopNotificationPresenter.h: * DumpRenderTree/win/DumpRenderTree.cpp: * DumpRenderTree/win/EditingDelegate.h: * DumpRenderTree/win/EventSender.cpp: * DumpRenderTree/win/FrameLoadDelegate.cpp: * DumpRenderTree/win/FrameLoadDelegate.h: * DumpRenderTree/win/GCControllerWin.cpp: * DumpRenderTree/win/HistoryDelegate.cpp: * DumpRenderTree/win/HistoryDelegate.h: * DumpRenderTree/win/PolicyDelegate.h: * DumpRenderTree/win/ResourceLoadDelegate.cpp: * DumpRenderTree/win/ResourceLoadDelegate.h: * DumpRenderTree/win/TestRunnerWin.cpp: * DumpRenderTree/win/TextInputControllerWin.cpp: * DumpRenderTree/win/UIDelegate.cpp: * DumpRenderTree/win/UIDelegate.h: * DumpRenderTree/win/WorkQueueItemWin.cpp: * MiniBrowser/gtk/CMakeLists.txt: * MiniBrowser/mac/CMakeLists.txt: * MiniBrowser/win/AccessibilityDelegate.cpp: * MiniBrowser/win/AccessibilityDelegate.h: * MiniBrowser/win/CMakeLists.txt: * MiniBrowser/win/Common.cpp: * MiniBrowser/win/DOMDefaultImpl.h: * MiniBrowser/win/MiniBrowser.cpp: * MiniBrowser/win/MiniBrowser.h: * MiniBrowser/win/MiniBrowserWebHost.cpp: * MiniBrowser/win/MiniBrowserWebHost.h: * MiniBrowser/win/PageLoadTestClient.h: * MiniBrowser/win/PrintWebUIDelegate.cpp: * MiniBrowser/win/PrintWebUIDelegate.h: * MiniBrowser/win/ResourceLoadDelegate.cpp: * MiniBrowser/win/ResourceLoadDelegate.h: * MiniBrowser/win/WebDownloadDelegate.h: * TestWebKitAPI/CMakeLists.txt: * TestWebKitAPI/PlatformGTK.cmake: * TestWebKitAPI/PlatformWPE.cmake: * TestWebKitAPI/PlatformWin.cmake: * TestWebKitAPI/Tests/WebKitLegacy/win/ScaleWebView.cpp: * TestWebKitAPI/Tests/WebKitLegacy/win/WebViewDestruction.cpp: * TestWebKitAPI/glib/CMakeLists.txt: * WebKitTestRunner/CMakeLists.txt: * WebKitTestRunner/PlatformGTK.cmake: * WebKitTestRunner/PlatformWPE.cmake: Canonical link: https://commits.webkit.org/193516@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222194 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-09-19 00:29:31 +00:00
list(APPEND WebKitLegacy_SOURCES
Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=149123 Reviewed by Chris Dumez. .: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Defined and enabled some more features needed on Mac. * Source/cmake/WebKitMacros.cmake: Objective C bindings need special changes when generating: Some of the bindings do not generate a .mm file but the header is needed. Some of the bindings do generate a .mm file that doesn't compile but the header is needed. In order to handle these cases, it is necessary to change the GENERATE_BINDINGS macro just for ObjC. Source/JavaScriptCore: * CMakeLists.txt: Make forwarding headers for the replay subdirectory. * PlatformMac.cmake: Make forwarding headers for the generated inspector headers. They should eventually either be packaged correctly with JavaScriptCore headers and included correctly. Source/WebCore: * CMakeLists.txt: Added some more files. * PlatformMac.cmake: Added more files and listed the strange ObjC bindings. * contentextensions/DFACombiner.cpp: * contentextensions/DFACombiner.h: Added preprocessor protection. * platform/FileSystem.h: Include utility. It's needed to compile the different configurations. * platform/ScrollAnimator.cpp: ScrollAnimator is an abstract class on Mac. Don't compile it. * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: FontAntialiasingStateSaver.h is only used on iOS. * rendering/RenderThemeMac.mm: config.h needs to be outside the #if !PLATFORM(IOS) to compile correctly without precompiled headers. Source/WebKit: * CMakeLists.txt: * PlatformMac.cmake: Added more sources, make non-c99 sources compile as objc++ * PlatformWin.cmake: Moved WebCoreTestSupport sources and includes to CMakeLists.txt to share. Source/WebKit/mac: * WebView/WebPDFDocumentExtras.mm: (appendValuesInPDFNameSubtreeToVector): * WebView/WebPDFView.mm: Removed cmake include quirks that are not needed when we include things correctly from Quartz.framework/Frameworks. Source/WebKit2: * PlatformMac.cmake: Added some more sources. Canonical link: https://commits.webkit.org/167232@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-09-14 21:22:46 +00:00
cf/WebCoreSupport/WebInspectorClientCF.cpp
mac/DefaultDelegates/WebDefaultEditingDelegate.m
mac/DefaultDelegates/WebDefaultPolicyDelegate.m
mac/DefaultDelegates/WebDefaultUIDelegate.mm
Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=149123 Reviewed by Chris Dumez. .: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Defined and enabled some more features needed on Mac. * Source/cmake/WebKitMacros.cmake: Objective C bindings need special changes when generating: Some of the bindings do not generate a .mm file but the header is needed. Some of the bindings do generate a .mm file that doesn't compile but the header is needed. In order to handle these cases, it is necessary to change the GENERATE_BINDINGS macro just for ObjC. Source/JavaScriptCore: * CMakeLists.txt: Make forwarding headers for the replay subdirectory. * PlatformMac.cmake: Make forwarding headers for the generated inspector headers. They should eventually either be packaged correctly with JavaScriptCore headers and included correctly. Source/WebCore: * CMakeLists.txt: Added some more files. * PlatformMac.cmake: Added more files and listed the strange ObjC bindings. * contentextensions/DFACombiner.cpp: * contentextensions/DFACombiner.h: Added preprocessor protection. * platform/FileSystem.h: Include utility. It's needed to compile the different configurations. * platform/ScrollAnimator.cpp: ScrollAnimator is an abstract class on Mac. Don't compile it. * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: FontAntialiasingStateSaver.h is only used on iOS. * rendering/RenderThemeMac.mm: config.h needs to be outside the #if !PLATFORM(IOS) to compile correctly without precompiled headers. Source/WebKit: * CMakeLists.txt: * PlatformMac.cmake: Added more sources, make non-c99 sources compile as objc++ * PlatformWin.cmake: Moved WebCoreTestSupport sources and includes to CMakeLists.txt to share. Source/WebKit/mac: * WebView/WebPDFDocumentExtras.mm: (appendValuesInPDFNameSubtreeToVector): * WebView/WebPDFView.mm: Removed cmake include quirks that are not needed when we include things correctly from Quartz.framework/Frameworks. Source/WebKit2: * PlatformMac.cmake: Added some more sources. Canonical link: https://commits.webkit.org/167232@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-09-14 21:22:46 +00:00
mac/History/BackForwardList.mm
mac/History/BinaryPropertyList.cpp
mac/History/HistoryPropertyList.mm
mac/History/WebHistory.mm
mac/History/WebHistoryItem.mm
mac/History/WebURLsWithTitles.m
mac/Misc/WebCache.mm
mac/Misc/WebCoreStatistics.mm
mac/Misc/WebDownload.mm
mac/Misc/WebElementDictionary.mm
mac/Misc/WebIconDatabase.mm
mac/Misc/WebKitErrors.m
mac/Misc/WebKitLogging.m
mac/Misc/WebKitNSStringExtras.mm
mac/Misc/WebKitStatistics.m
mac/Misc/WebKitVersionChecks.mm
mac/Misc/WebLocalizableStrings.mm
mac/Misc/WebLocalizableStringsInternal.mm
mac/Misc/WebNSControlExtras.m
Enable -Wcast-qual for WebInspectorUI, WebKitLegacy, WebKit projects <https://webkit.org/b/181256> <rdar://problem/36281730> Reviewed by Darin Adler. Source/WebInspectorUI: * Configurations/Base.xcconfig: (WARNING_CFLAGS): Add -Wcast-qual. Source/WebKit: * Configurations/Base.xcconfig: (WARNING_CFLAGS): Add -Wcast-qual. * NetworkProcess/cache/NetworkCacheCodersCocoa.cpp: (WTF::Persistence::encodeCertificateChain): Include TypeCastsCF.h from WTF, and use checked_cf_cast<SecCertificateRef>() to fix warning. * Platform/cocoa/WKCrashReporter.mm: (WebKit::setCrashReportApplicationSpecificInformation): - Move `oldMessage` check above nullptr check to fix a leak when passing in nullptr after previously setting the crash string. - Change C-style cast to const_cast<char*>() to fix warning. * PluginProcess/mac/PluginProcessShim.mm: (WebKit::shim_shmat): Change C-style cast to const_cast<void*>() to fix warning. * Shared/Authentication/mac/AuthenticationManager.mac.mm: (WebKit::leafCertificate): Include TypeCastsCF.h from WTF, and use checked_cf_cast<SecCertificateRef>() to fix warning. * Shared/cf/ArgumentCodersCF.cpp: (IPC::encode): Use static_cast<>(const_cast<void*>() to fix warnings since the CFTypeID has already been checked. * Shared/mac/WebCoreArgumentCodersMac.mm: (IPC::decodeNSError): Use an `auto` variable to hold the CFMutableDictionaryRef, then WTFMove() to assign it back to `userInfo`. * UIProcess/Cocoa/WebViewImpl.mm: (WebKit::takeWindowSnapshot): Include TypeCastsCF.h from WTF, and use checked_cf_cast<CGImageRef>() to fix warning. Source/WebKitLegacy: * PlatformMac.cmake: * WebKitLegacy.xcodeproj/project.pbxproj: - Rename WebNSDataExtras.m to WebNSDataExtras.mm and change file type to Objective-C++. Source/WebKitLegacy/mac: * Carbon/CarbonUtils.m: (PoolCleaner): - Use #pragmas to ignore -Wcast-qual warnings when using a C-style cast from CFTypeRef to CFRunloopRef. * Carbon/CarbonWindowFrame.m: (-[CarbonWindowFrame title]): - Use #pragmas to ignore -Wcast-qual warnings when using a C-style cast from CFStringRef to NSString *. * Carbon/HIViewAdapter.m: (+[HIViewAdapter getHIViewForNSView:]): - Use #pragmas to ignore -Wcast-qual warnings when using a C-style cast from CFTypeRef to HIViewRef. * Configurations/Base.xcconfig: (WARNING_CFLAGS): Add -Wcast-qual. * Misc/WebElementDictionary.mm: (-[WebElementDictionary objectForKey:]): - Use static_cast<SEL>(const_cast<void*>()) to fix warning. * Misc/WebNSDataExtras.mm: Renamed from Source/WebKitLegacy/mac/Misc/WebNSDataExtras.m. (-[NSString _web_capitalizeRFC822HeaderFieldName]): (-[NSData _webkit_guessedMIMETypeForXML]): (-[NSData _webkit_guessedMIMEType]): (-[NSData _web_isCaseInsensitiveEqualToCString:]): (_findEOL): (-[NSData _webkit_parseRFC822HeaderFields]): (-[NSData _web_startsWithBlankLine]): (-[NSData _web_locationAfterFirstBlankLine]): - Rename WebNSDataExtras.m to WebNSDataExtras.mm and change file type to Objective-C++. This fixes the warnings about discarding the `const` modifier when casing from CFStringRef to NSString * because in older clang versions, -Wcast-qual was completely broken when compiling C++ and Objective-C++ source files. In newer clang versions, discarding the `const` modifier for toll-free bridged types is ignored when compiling Objective-C++ source. - Update copyright and license header. - Use reinterpret_cast<> and static_cast<> to fix warnings unrelated to (NSString *) C-style casts. - Replace use of MIN() macro with std::min<> template functions. - Fix location of `*` for local variables modified above. * Plugins/Hosted/NetscapePluginHostManager.mm: (WebKit::NetscapePluginHostManager::spawnPluginHost): (WebKit::NetscapePluginHostManager::initializeVendorPort): (WebKit::NetscapePluginHostManager::instantiatePlugin): - Use static_cast<uint8_t*>(const_cast<void*>()) to fix warnings. * Plugins/Hosted/NetscapePluginHostProxy.mm: (WebKit::NetscapePluginHostProxy::NetscapePluginHostProxy): - Use reinterpret_cast<mig_subsystem_t>(const_cast<struct WKWebKitPluginClient_subsystem*>()) to fix warning. * Plugins/Hosted/ProxyInstance.mm: (WebKit::ProxyInstance::invoke): - Use static_cast<char*>(const_cast<void*>()) to fix warning when using -[NSData bytes]. (WebKit::ProxyInstance::fieldValue const): - Use reinterpret_cast<char*>(const_cast<unsigned char*>()) to fix warning when using CFDataGetBytePtr(). * Plugins/Hosted/WebTextInputWindowController.m: (-[WebTextInputPanel _interpretKeyEvent:string:]): - Use #pragma to ignore -Wcast-qual warning since there is not a good way to avoid this warning in Objective-C. * Plugins/WebNetscapePluginStream.mm: (WebNetscapePluginStream::deliverData): - Use const_cast<void*>() to fix warning when using -[NSData bytes]. * Plugins/WebNetscapePluginView.mm: (-[WebNetscapePluginView _createPlugin]): - Change C-style cast to const_cast<char*>() to fix warning. * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::wrapCryptoKey const): (WebChromeClient::unwrapCryptoKey const): - Change C-style cast to static_cast<uint8_t*>(const_cast<void*>() to fix warning. * WebView/WebPDFView.mm: (_applicationInfoForMIMEType): - Change local variable type from 'NSURL *' to 'CFURLRef' to fix warning. Cast back to 'NSURL *' when calling -[NSURL path]. Canonical link: https://commits.webkit.org/197212@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-01-08 06:00:43 +00:00
mac/Misc/WebNSDataExtras.mm
mac/Misc/WebNSDictionaryExtras.m
mac/Misc/WebNSEventExtras.m
mac/Misc/WebNSFileManagerExtras.mm
mac/Misc/WebNSImageExtras.m
mac/Misc/WebNSObjectExtras.mm
mac/Misc/WebNSPasteboardExtras.mm
mac/Misc/WebNSPrintOperationExtras.m
mac/Misc/WebNSURLExtras.mm
mac/Misc/WebNSURLRequestExtras.m
mac/Misc/WebNSUserDefaultsExtras.mm
mac/Misc/WebNSViewExtras.m
mac/Misc/WebNSWindowExtras.m
mac/Misc/WebStringTruncator.mm
mac/Misc/WebUserContentURLPattern.mm
mac/Panels/WebAuthenticationPanel.m
mac/Panels/WebPanelAuthenticationHandler.m
mac/Plugins/WebBaseNetscapePluginView.mm
mac/Plugins/WebNetscapePluginEventHandler.mm
mac/Plugins/WebNetscapePluginEventHandlerCocoa.mm
mac/Plugins/WebNetscapePluginPackage.mm
mac/Plugins/WebNetscapePluginStream.mm
mac/Plugins/WebNetscapePluginView.mm
mac/Plugins/WebPluginPackage.mm
mac/Plugins/WebPluginRequest.m
mac/Plugins/npapi.mm
mac/Plugins/Hosted/HostedNetscapePluginStream.mm
mac/Plugins/Hosted/NetscapePluginHostManager.mm
mac/Plugins/Hosted/NetscapePluginHostProxy.mm
mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm
mac/Plugins/Hosted/ProxyInstance.mm
mac/Plugins/Hosted/ProxyRuntimeObject.mm
mac/Plugins/Hosted/WebHostedNetscapePluginView.mm
mac/Plugins/Hosted/WebKitPluginAgent.defs
mac/Plugins/Hosted/WebKitPluginAgentReply.defs
mac/Plugins/Hosted/WebKitPluginClient.defs
mac/Plugins/Hosted/WebKitPluginHost.defs
mac/Plugins/Hosted/WebKitPluginHostTypes.defs
mac/Plugins/Hosted/WebTextInputWindowController.m
mac/Storage/WebDatabaseManager.mm
mac/Storage/WebDatabaseManagerClient.mm
mac/Storage/WebDatabaseProvider.mm
mac/Storage/WebDatabaseQuotaManager.mm
mac/Storage/WebStorageManager.mm
mac/Storage/WebStorageTrackerClient.mm
mac/WebCoreSupport/CorrectionPanel.mm
mac/WebCoreSupport/PopupMenuMac.mm
mac/WebCoreSupport/SearchPopupMenuMac.mm
mac/WebCoreSupport/WebAlternativeTextClient.mm
mac/WebCoreSupport/WebChromeClient.mm
mac/WebCoreSupport/WebContextMenuClient.mm
mac/WebCoreSupport/WebDeviceOrientationClient.mm
mac/WebCoreSupport/WebDragClient.mm
mac/WebCoreSupport/WebEditorClient.mm
mac/WebCoreSupport/WebFrameNetworkingContext.mm
mac/WebCoreSupport/WebGeolocationClient.mm
mac/WebCoreSupport/WebInspectorClient.mm
mac/WebCoreSupport/WebJavaScriptTextInputPanel.m
mac/WebCoreSupport/WebKitFullScreenListener.mm
Resurrect Mac CMake build https://bugs.webkit.org/show_bug.cgi?id=224084 Patch by Alex Christensen <achristensen@webkit.org> on 2021-04-05 Reviewed by Tim Horton. .: * Source/cmake/OptionsMac.cmake: Source/JavaScriptCore: * PlatformMac.cmake: Source/ThirdParty/ANGLE: * PlatformMac.cmake: Added. Source/ThirdParty/libwebrtc: * CMakeLists.txt: Source/WebCore: * PlatformMac.cmake: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * platform/mac/WebGLBlocklist.mm: * platform/text/cocoa/LocalizedDateCache.h: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.h. * platform/text/cocoa/LocalizedDateCache.mm: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.mm. (WebCore::localizedDateCache): (WebCore::_localeChanged): (WebCore::LocalizedDateCache::LocalizedDateCache): (WebCore::LocalizedDateCache::~LocalizedDateCache): (WebCore::LocalizedDateCache::localeChanged): (WebCore::LocalizedDateCache::formatterForDateType): (WebCore::LocalizedDateCache::maximumWidthForDateType): (WebCore::LocalizedDateCache::createFormatterForType): (WebCore::LocalizedDateCache::calculateMaximumWidth): * testing/cocoa/WebViewVisualIdentificationOverlay.mm: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * NetworkProcess/PrivateClickMeasurementNetworkLoader.cpp: (WebKit::PrivateClickMeasurementNetworkLoader::didReceiveBuffer): * PlatformMac.cmake: * Shared/Cocoa/SandboxExtensionCocoa.mm: * SourcesCocoa.txt: * UIProcess/Media/MediaSessionCoordinatorProxyPrivate.h: Source/WebKitLegacy: * PlatformMac.cmake: Source/WTF: * wtf/PlatformMac.cmake: Tools: * TestWebKitAPI/PlatformMac.cmake: * WebKitTestRunner/PlatformMac.cmake: Canonical link: https://commits.webkit.org/236142@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-06 03:19:14 +00:00
mac/WebCoreSupport/WebMediaKeySystemClient.mm
mac/WebCoreSupport/WebNotificationClient.mm
mac/WebCoreSupport/WebOpenPanelResultListener.mm
mac/WebCoreSupport/WebPaymentCoordinatorClient.mm
mac/WebCoreSupport/WebPlatformStrategies.mm
mac/WebCoreSupport/WebPluginInfoProvider.mm
mac/WebCoreSupport/WebProgressTrackerClient.mm
mac/WebCoreSupport/WebSecurityOrigin.mm
mac/WebCoreSupport/WebSelectionServiceController.mm
Progress towards successful CMake build on Mac https://bugs.webkit.org/show_bug.cgi?id=202426 Rubber-stamped by Tim Horton. Source/WebCore: * PlatformMac.cmake: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: * Platform/cocoa/PaymentAuthorizationViewController.h: * Platform/cocoa/PaymentAuthorizationViewController.mm: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: * PlatformMac.cmake: * Shared/SandboxExtension.h: (WebKit::SandboxExtension::createHandleForReadByPid): * SourcesCocoa.txt: * UIProcess/API/Cocoa/WKWebView.mm: * UIProcess/API/Cocoa/WKWebsiteDataStore.mm: (-[WKWebsiteDataStore _hasRegisteredServiceWorker]): * UIProcess/API/mac/WKView.mm: * UIProcess/Cocoa/SOAuthorization/PopUpSOAuthorizationSession.mm: * UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm: * UIProcess/Cocoa/WKFullKeyboardAccessWatcher.mm: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet delegate]): (-[WKShareSheet setDelegate:]): * UIProcess/Cocoa/WebProcessPoolCocoa.mm: * UIProcess/Cocoa/WebViewImpl.h: * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebResourceLoadObserver.cpp: * WebProcess/WebCoreSupport/ios/WebPreviewLoaderClient.h: * WebProcess/WebPage/Cocoa/WebRemoteObjectRegistry.cpp: Source/WebKitLegacy: * PlatformMac.cmake: Source/WebKitLegacy/mac: * WebView/WebDataSource.mm: Canonical link: https://commits.webkit.org/215948@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-01 20:35:50 +00:00
mac/WebCoreSupport/WebSwitchingGPUClient.cpp
mac/WebCoreSupport/WebValidationMessageClient.mm
Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=149123 Reviewed by Chris Dumez. .: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Defined and enabled some more features needed on Mac. * Source/cmake/WebKitMacros.cmake: Objective C bindings need special changes when generating: Some of the bindings do not generate a .mm file but the header is needed. Some of the bindings do generate a .mm file that doesn't compile but the header is needed. In order to handle these cases, it is necessary to change the GENERATE_BINDINGS macro just for ObjC. Source/JavaScriptCore: * CMakeLists.txt: Make forwarding headers for the replay subdirectory. * PlatformMac.cmake: Make forwarding headers for the generated inspector headers. They should eventually either be packaged correctly with JavaScriptCore headers and included correctly. Source/WebCore: * CMakeLists.txt: Added some more files. * PlatformMac.cmake: Added more files and listed the strange ObjC bindings. * contentextensions/DFACombiner.cpp: * contentextensions/DFACombiner.h: Added preprocessor protection. * platform/FileSystem.h: Include utility. It's needed to compile the different configurations. * platform/ScrollAnimator.cpp: ScrollAnimator is an abstract class on Mac. Don't compile it. * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: FontAntialiasingStateSaver.h is only used on iOS. * rendering/RenderThemeMac.mm: config.h needs to be outside the #if !PLATFORM(IOS) to compile correctly without precompiled headers. Source/WebKit: * CMakeLists.txt: * PlatformMac.cmake: Added more sources, make non-c99 sources compile as objc++ * PlatformWin.cmake: Moved WebCoreTestSupport sources and includes to CMakeLists.txt to share. Source/WebKit/mac: * WebView/WebPDFDocumentExtras.mm: (appendValuesInPDFNameSubtreeToVector): * WebView/WebPDFView.mm: Removed cmake include quirks that are not needed when we include things correctly from Quartz.framework/Frameworks. Source/WebKit2: * PlatformMac.cmake: Added some more sources. Canonical link: https://commits.webkit.org/167232@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-09-14 21:22:46 +00:00
mac/WebCoreSupport/WebVisitedLinkStore.mm
mac/WebInspector/WebInspectorFrontend.mm
mac/WebInspector/WebNodeHighlight.mm
mac/WebInspector/WebNodeHighlightView.mm
mac/WebInspector/WebNodeHighlighter.mm
mac/WebView/WebArchive.mm
mac/WebView/WebDashboardRegion.mm
mac/WebView/WebDelegateImplementationCaching.mm
mac/WebView/WebDeviceOrientation.mm
mac/WebView/WebDeviceOrientationProviderMock.mm
mac/WebView/WebDocumentLoaderMac.mm
mac/WebView/WebDynamicScrollBarsView.mm
Resurrect Mac CMake build https://bugs.webkit.org/show_bug.cgi?id=224084 Patch by Alex Christensen <achristensen@webkit.org> on 2021-04-05 Reviewed by Tim Horton. .: * Source/cmake/OptionsMac.cmake: Source/JavaScriptCore: * PlatformMac.cmake: Source/ThirdParty/ANGLE: * PlatformMac.cmake: Added. Source/ThirdParty/libwebrtc: * CMakeLists.txt: Source/WebCore: * PlatformMac.cmake: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * platform/mac/WebGLBlocklist.mm: * platform/text/cocoa/LocalizedDateCache.h: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.h. * platform/text/cocoa/LocalizedDateCache.mm: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.mm. (WebCore::localizedDateCache): (WebCore::_localeChanged): (WebCore::LocalizedDateCache::LocalizedDateCache): (WebCore::LocalizedDateCache::~LocalizedDateCache): (WebCore::LocalizedDateCache::localeChanged): (WebCore::LocalizedDateCache::formatterForDateType): (WebCore::LocalizedDateCache::maximumWidthForDateType): (WebCore::LocalizedDateCache::createFormatterForType): (WebCore::LocalizedDateCache::calculateMaximumWidth): * testing/cocoa/WebViewVisualIdentificationOverlay.mm: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * NetworkProcess/PrivateClickMeasurementNetworkLoader.cpp: (WebKit::PrivateClickMeasurementNetworkLoader::didReceiveBuffer): * PlatformMac.cmake: * Shared/Cocoa/SandboxExtensionCocoa.mm: * SourcesCocoa.txt: * UIProcess/Media/MediaSessionCoordinatorProxyPrivate.h: Source/WebKitLegacy: * PlatformMac.cmake: Source/WTF: * wtf/PlatformMac.cmake: Tools: * TestWebKitAPI/PlatformMac.cmake: * WebKitTestRunner/PlatformMac.cmake: Canonical link: https://commits.webkit.org/236142@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-06 03:19:14 +00:00
mac/WebView/WebFeature.m
mac/WebView/WebFormDelegate.m
mac/WebView/WebGeolocationPosition.mm
mac/WebView/WebHTMLRepresentation.mm
mac/WebView/WebIndicateLayer.mm
mac/WebView/WebJSPDFDoc.mm
Progress towards successful CMake build on Mac https://bugs.webkit.org/show_bug.cgi?id=202426 Rubber-stamped by Tim Horton. Source/WebCore: * PlatformMac.cmake: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: * Platform/cocoa/PaymentAuthorizationViewController.h: * Platform/cocoa/PaymentAuthorizationViewController.mm: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: * PlatformMac.cmake: * Shared/SandboxExtension.h: (WebKit::SandboxExtension::createHandleForReadByPid): * SourcesCocoa.txt: * UIProcess/API/Cocoa/WKWebView.mm: * UIProcess/API/Cocoa/WKWebsiteDataStore.mm: (-[WKWebsiteDataStore _hasRegisteredServiceWorker]): * UIProcess/API/mac/WKView.mm: * UIProcess/Cocoa/SOAuthorization/PopUpSOAuthorizationSession.mm: * UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm: * UIProcess/Cocoa/WKFullKeyboardAccessWatcher.mm: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet delegate]): (-[WKShareSheet setDelegate:]): * UIProcess/Cocoa/WebProcessPoolCocoa.mm: * UIProcess/Cocoa/WebViewImpl.h: * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebResourceLoadObserver.cpp: * WebProcess/WebCoreSupport/ios/WebPreviewLoaderClient.h: * WebProcess/WebPage/Cocoa/WebRemoteObjectRegistry.cpp: Source/WebKitLegacy: * PlatformMac.cmake: Source/WebKitLegacy/mac: * WebView/WebDataSource.mm: Canonical link: https://commits.webkit.org/215948@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-01 20:35:50 +00:00
mac/WebView/WebMediaPlaybackTargetPicker.mm
mac/WebView/WebNavigationData.mm
mac/WebView/WebNotification.mm
mac/WebView/WebPDFDocumentExtras.mm
mac/WebView/WebPolicyDelegate.mm
mac/WebView/WebPreferences.mm
Resurrect Mac CMake build https://bugs.webkit.org/show_bug.cgi?id=224084 Patch by Alex Christensen <achristensen@webkit.org> on 2021-04-05 Reviewed by Tim Horton. .: * Source/cmake/OptionsMac.cmake: Source/JavaScriptCore: * PlatformMac.cmake: Source/ThirdParty/ANGLE: * PlatformMac.cmake: Added. Source/ThirdParty/libwebrtc: * CMakeLists.txt: Source/WebCore: * PlatformMac.cmake: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * platform/mac/WebGLBlocklist.mm: * platform/text/cocoa/LocalizedDateCache.h: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.h. * platform/text/cocoa/LocalizedDateCache.mm: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.mm. (WebCore::localizedDateCache): (WebCore::_localeChanged): (WebCore::LocalizedDateCache::LocalizedDateCache): (WebCore::LocalizedDateCache::~LocalizedDateCache): (WebCore::LocalizedDateCache::localeChanged): (WebCore::LocalizedDateCache::formatterForDateType): (WebCore::LocalizedDateCache::maximumWidthForDateType): (WebCore::LocalizedDateCache::createFormatterForType): (WebCore::LocalizedDateCache::calculateMaximumWidth): * testing/cocoa/WebViewVisualIdentificationOverlay.mm: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * NetworkProcess/PrivateClickMeasurementNetworkLoader.cpp: (WebKit::PrivateClickMeasurementNetworkLoader::didReceiveBuffer): * PlatformMac.cmake: * Shared/Cocoa/SandboxExtensionCocoa.mm: * SourcesCocoa.txt: * UIProcess/Media/MediaSessionCoordinatorProxyPrivate.h: Source/WebKitLegacy: * PlatformMac.cmake: Source/WTF: * wtf/PlatformMac.cmake: Tools: * TestWebKitAPI/PlatformMac.cmake: * WebKitTestRunner/PlatformMac.cmake: Canonical link: https://commits.webkit.org/236142@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-06 03:19:14 +00:00
mac/WebView/WebPreferencesDefaultValues.mm
mac/WebView/WebResource.mm
mac/WebView/WebTextCompletionController.mm
mac/WebView/WebTextIterator.mm
Progress towards successful CMake build on Mac https://bugs.webkit.org/show_bug.cgi?id=202426 Rubber-stamped by Tim Horton. Source/WebCore: * PlatformMac.cmake: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: * Platform/cocoa/PaymentAuthorizationViewController.h: * Platform/cocoa/PaymentAuthorizationViewController.mm: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: * PlatformMac.cmake: * Shared/SandboxExtension.h: (WebKit::SandboxExtension::createHandleForReadByPid): * SourcesCocoa.txt: * UIProcess/API/Cocoa/WKWebView.mm: * UIProcess/API/Cocoa/WKWebsiteDataStore.mm: (-[WKWebsiteDataStore _hasRegisteredServiceWorker]): * UIProcess/API/mac/WKView.mm: * UIProcess/Cocoa/SOAuthorization/PopUpSOAuthorizationSession.mm: * UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm: * UIProcess/Cocoa/WKFullKeyboardAccessWatcher.mm: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet delegate]): (-[WKShareSheet setDelegate:]): * UIProcess/Cocoa/WebProcessPoolCocoa.mm: * UIProcess/Cocoa/WebViewImpl.h: * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebResourceLoadObserver.cpp: * WebProcess/WebCoreSupport/ios/WebPreviewLoaderClient.h: * WebProcess/WebPage/Cocoa/WebRemoteObjectRegistry.cpp: Source/WebKitLegacy: * PlatformMac.cmake: Source/WebKitLegacy/mac: * WebView/WebDataSource.mm: Canonical link: https://commits.webkit.org/215948@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-01 20:35:50 +00:00
mac/WebView/WebVideoFullscreenController.mm
mac/WebView/WebViewData.mm
Progress towards successful CMake build on Mac https://bugs.webkit.org/show_bug.cgi?id=202426 Rubber-stamped by Tim Horton. Source/WebCore: * PlatformMac.cmake: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: * Platform/cocoa/PaymentAuthorizationViewController.h: * Platform/cocoa/PaymentAuthorizationViewController.mm: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: * PlatformMac.cmake: * Shared/SandboxExtension.h: (WebKit::SandboxExtension::createHandleForReadByPid): * SourcesCocoa.txt: * UIProcess/API/Cocoa/WKWebView.mm: * UIProcess/API/Cocoa/WKWebsiteDataStore.mm: (-[WKWebsiteDataStore _hasRegisteredServiceWorker]): * UIProcess/API/mac/WKView.mm: * UIProcess/Cocoa/SOAuthorization/PopUpSOAuthorizationSession.mm: * UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm: * UIProcess/Cocoa/WKFullKeyboardAccessWatcher.mm: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet delegate]): (-[WKShareSheet setDelegate:]): * UIProcess/Cocoa/WebProcessPoolCocoa.mm: * UIProcess/Cocoa/WebViewImpl.h: * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebResourceLoadObserver.cpp: * WebProcess/WebCoreSupport/ios/WebPreviewLoaderClient.h: * WebProcess/WebPage/Cocoa/WebRemoteObjectRegistry.cpp: Source/WebKitLegacy: * PlatformMac.cmake: Source/WebKitLegacy/mac: * WebView/WebDataSource.mm: Canonical link: https://commits.webkit.org/215948@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-01 20:35:50 +00:00
mac/WebView/WebWindowAnimation.mm
)
Progress towards successful CMake build on Mac https://bugs.webkit.org/show_bug.cgi?id=202426 Rubber-stamped by Tim Horton. Source/WebCore: * PlatformMac.cmake: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: * Platform/cocoa/PaymentAuthorizationViewController.h: * Platform/cocoa/PaymentAuthorizationViewController.mm: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: * PlatformMac.cmake: * Shared/SandboxExtension.h: (WebKit::SandboxExtension::createHandleForReadByPid): * SourcesCocoa.txt: * UIProcess/API/Cocoa/WKWebView.mm: * UIProcess/API/Cocoa/WKWebsiteDataStore.mm: (-[WKWebsiteDataStore _hasRegisteredServiceWorker]): * UIProcess/API/mac/WKView.mm: * UIProcess/Cocoa/SOAuthorization/PopUpSOAuthorizationSession.mm: * UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm: * UIProcess/Cocoa/WKFullKeyboardAccessWatcher.mm: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet delegate]): (-[WKShareSheet setDelegate:]): * UIProcess/Cocoa/WebProcessPoolCocoa.mm: * UIProcess/Cocoa/WebViewImpl.h: * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebResourceLoadObserver.cpp: * WebProcess/WebCoreSupport/ios/WebPreviewLoaderClient.h: * WebProcess/WebPage/Cocoa/WebRemoteObjectRegistry.cpp: Source/WebKitLegacy: * PlatformMac.cmake: Source/WebKitLegacy/mac: * WebView/WebDataSource.mm: Canonical link: https://commits.webkit.org/215948@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-01 20:35:50 +00:00
set(WebKitLegacy_LEGACY_FORWARDING_HEADERS_FILES
mac/DOM/DOMHTMLHeadingElement.h
mac/DOM/DOMHTMLBaseFontElement.h
mac/DOM/DOMCSSUnknownRule.h
mac/DOM/DOMHTMLCollection.h
mac/DOM/DOMHTMLDivElement.h
mac/DOM/DOMHTMLFormElement.h
mac/DOM/DOMXPathExpressionInternal.h
mac/DOM/DOMHTMLHeadElement.h
mac/DOM/DOMImplementation.h
mac/DOM/DOMCSSStyleRule.h
mac/DOM/DOMCSSRule.h
mac/DOM/DOMEvents.h
mac/DOM/DOMHTMLImageElementInternal.h
mac/DOM/DOMMouseEvent.h
mac/DOM/DOMElement.h
mac/DOM/DOMMediaListInternal.h
mac/DOM/DOMHTMLMapElement.h
mac/DOM/DOMCSSRuleInternal.h
mac/DOM/DOMMediaList.h
mac/DOM/DOMCSSRuleListInternal.h
mac/DOM/DOMDocumentInternal.h
mac/DOM/WebDOMOperations.h
mac/DOM/DOMNodePrivate.h
mac/DOM/DOMHTMLParagraphElement.h
mac/DOM/DOMHTMLFormElementInternal.h
mac/DOM/DOMProgressEvent.h
mac/DOM/DOMDocumentFragmentInternal.h
mac/DOM/DOMHTMLTextAreaElementPrivate.h
mac/DOM/DOMProcessingInstructionInternal.h
mac/DOM/DOMDocumentFragmentPrivate.h
mac/DOM/DOMRangeInternal.h
mac/DOM/DOMRangeException.h
mac/DOM/DOMCSSCharsetRule.h
mac/DOM/DOMHTMLFrameElement.h
mac/DOM/DOMHTMLHRElement.h
mac/DOM/DOMViews.h
mac/DOM/DOMCSSStyleDeclarationInternal.h
mac/DOM/DOMCSSPrimitiveValue.h
mac/DOM/DOMCSSMediaRule.h
mac/DOM/DOMHTMLLegendElement.h
mac/DOM/DOMBlobInternal.h
mac/DOM/DOMNodeFilter.h
mac/DOM/DOMStylesheets.h
mac/DOM/ObjCNodeFilterCondition.h
mac/DOM/DOMHTMLCollectionInternal.h
mac/DOM/DOMRect.h
mac/DOM/DOMCSSRuleList.h
mac/DOM/DOMHTMLIFrameElement.h
mac/DOM/DOMHTMLUListElement.h
mac/DOM/DOMFileList.h
mac/DOM/DOMTraversal.h
mac/DOM/DOMHTMLTableCellElement.h
mac/DOM/DOMHTMLDirectoryElement.h
mac/DOM/DOMNodeListInternal.h
mac/DOM/DOMExtensions.h
mac/DOM/DOMHTMLParamElement.h
mac/DOM/DOMCDATASectionInternal.h
mac/DOM/DOMHTMLOptGroupElement.h
mac/DOM/DOMRanges.h
mac/DOM/DOMHTMLOptionElementInternal.h
mac/DOM/DOMXPathResultInternal.h
mac/DOM/DOMHTMLTitleElement.h
mac/DOM/DOMHTMLTextAreaElementInternal.h
mac/DOM/DOMDocumentTypeInternal.h
mac/DOM/DOMCSSPageRule.h
mac/DOM/DOMMutationEvent.h
mac/DOM/DOMEventException.h
mac/DOM/DOMTimeRangesInternal.h
mac/DOM/DOMNamedNodeMapInternal.h
mac/DOM/DOMXPathExpression.h
mac/DOM/DOMXPathResult.h
mac/DOM/DOMFileInternal.h
mac/DOM/DOMCSS.h
mac/DOM/DOMHTMLTableSectionElement.h
mac/DOM/DOMCSSFontFaceRule.h
mac/DOM/DOMStyleSheet.h
mac/DOM/DOMInternal.h
mac/DOM/DOMNodeIterator.h
mac/DOM/DOMCounterInternal.h
mac/DOM/DOM.h
mac/DOM/DOMHTMLBRElement.h
mac/DOM/DOMTokenList.h
mac/DOM/DOMHTMLMenuElement.h
mac/DOM/DOMCSSStyleSheetInternal.h
mac/DOM/DOMNodeList.h
mac/DOM/DOMHTMLStyleElementInternal.h
mac/DOM/DOMXPath.h
mac/DOM/DOMWheelEventInternal.h
mac/DOM/DOMHTMLBodyElement.h
mac/DOM/DOMCSSValueList.h
mac/DOM/DOMHTMLScriptElementInternal.h
mac/DOM/DOMKeyboardEvent.h
mac/DOM/DOMStyleSheetList.h
mac/DOM/DOMHTMLObjectElement.h
mac/DOM/DOMHTMLLinkElement.h
mac/DOM/DOMHTMLLIElement.h
mac/DOM/DOMHTMLTableRowElement.h
mac/DOM/DOMCDATASection.h
mac/DOM/DOMAbstractView.h
mac/DOM/DOMHTMLSelectElement.h
mac/DOM/DOMHTMLCanvasElement.h
mac/DOM/WebDOMOperationsPrivate.h
mac/DOM/DOMTreeWalkerInternal.h
mac/DOM/DOMMediaError.h
mac/DOM/DOMHTMLScriptElement.h
mac/DOM/DOMHTMLAnchorElement.h
mac/DOM/DOMHTMLInputElement.h
mac/DOM/DOMAbstractViewInternal.h
mac/DOM/DOMCSSImportRule.h
mac/DOM/DOMElementInternal.h
mac/DOM/DOMHTMLTableColElementInternal.h
mac/DOM/DOMHTMLInputElementPrivate.h
mac/DOM/DOMHTML.h
mac/DOM/DOMProcessingInstruction.h
mac/DOM/DOMNodeIteratorInternal.h
mac/DOM/DOMHTMLMarqueeElement.h
mac/DOM/DOMHTMLDocumentInternal.h
mac/DOM/DOMHTMLElement.h
mac/DOM/DOMUIKitExtensions.h
mac/DOM/DOMHTMLElementInternal.h
mac/DOM/DOMText.h
mac/DOM/DOMOverflowEvent.h
mac/DOM/DOMAbstractViewFrame.h
mac/DOM/DOMHTMLDocument.h
mac/DOM/DOMHTMLMediaElement.h
mac/DOM/DOMHTMLStyleElement.h
mac/DOM/DOMEntityReference.h
mac/DOM/WebDOMOperationsInternal.h
mac/DOM/DOMHTMLBaseElement.h
mac/DOM/ObjCEventListener.h
mac/DOM/DOMEventInternal.h
mac/DOM/DOMCSSStyleDeclaration.h
mac/DOM/DOMDocumentFragment.h
mac/DOM/DOMHTMLDListElement.h
mac/DOM/DOMCSSStyleSheet.h
mac/DOM/DOMNamedNodeMap.h
mac/DOM/DOMHTMLHeadElementInternal.h
mac/DOM/ExceptionHandlers.h
mac/DOM/DOMTextEvent.h
mac/DOM/DOMNodeInternal.h
mac/DOM/DOMHTMLHtmlElement.h
mac/DOM/DOMImplementationInternal.h
mac/DOM/DOMHTMLOptionsCollectionInternal.h
mac/DOM/DOMCSSPrimitiveValueInternal.h
mac/DOM/DOMHTMLTableCaptionElementInternal.h
mac/DOM/DOMEventListener.h
mac/DOM/DOMCounter.h
mac/DOM/DOMDocumentPrivate.h
mac/DOM/DOMHTMLTableCaptionElement.h
mac/DOM/WebAutocapitalizeTypes.h
mac/DOM/DOMHTMLAreaElementInternal.h
mac/DOM/DOMAttr.h
mac/DOM/DOMWheelEvent.h
mac/DOM/DOMTreeWalker.h
mac/DOM/DOMHTMLOptionElement.h
mac/DOM/DOMDocumentType.h
mac/DOM/DOMException.h
mac/DOM/DOMHTMLFieldSetElement.h
mac/DOM/DOMStyleSheetListInternal.h
mac/DOM/DOMCore.h
mac/DOM/DOMRGBColor.h
mac/DOM/DOMHTMLOptionsCollection.h
mac/DOM/DOMRectInternal.h
mac/DOM/DOMEvent.h
mac/DOM/DOMTokenListInternal.h
mac/DOM/DOMTimeRanges.h
mac/DOM/DOMHTMLTableCellElementInternal.h
mac/DOM/DOMNode.h
mac/DOM/DOMEventTarget.h
mac/DOM/DOMAttrInternal.h
mac/DOM/DOMHTMLTextAreaElement.h
mac/DOM/DOMHTMLImageElement.h
mac/DOM/DOMRGBColorInternal.h
mac/DOM/DOMHTMLLinkElementInternal.h
mac/DOM/DOMUIEvent.h
mac/DOM/DOMCommentInternal.h
mac/DOM/DOMHTMLFrameSetElement.h
mac/DOM/DOMHTMLTableElement.h
mac/DOM/DOMHTMLLabelElement.h
mac/DOM/DOMHTMLOListElement.h
mac/DOM/DOMMediaErrorInternal.h
mac/DOM/DOMComment.h
mac/DOM/DOMHTMLSelectElementInternal.h
mac/DOM/DOMXPathNSResolver.h
mac/DOM/DOMFileListInternal.h
mac/DOM/DOMHTMLTableColElement.h
mac/DOM/DOMTextInternal.h
mac/DOM/DOMHTMLAreaElement.h
mac/DOM/DOMRange.h
mac/DOM/DOMCharacterData.h
mac/DOM/DOMObject.h
mac/DOM/DOMDocument.h
mac/DOM/DOMHTMLFontElement.h
mac/DOM/DOMHTMLAppletElement.h
mac/DOM/DOMStyleSheetInternal.h
mac/DOM/DOMHTMLModElement.h
mac/DOM/DOMHTMLMetaElement.h
mac/DOM/DOMCSSValue.h
mac/DOM/DOMBlob.h
mac/DOM/DOMPrivate.h
mac/DOM/DOMXPathException.h
mac/DOM/DOMHTMLTableSectionElementInternal.h
mac/DOM/DOMCSSValueInternal.h
mac/DOM/DOMFile.h
mac/DOM/DOMCustomXPathNSResolver.h
mac/DOM/DOMHTMLPreElement.h
mac/DOM/DOMHTMLInputElementInternal.h
mac/DOM/DOMHTMLQuoteElement.h
mac/DOM/DOMHTMLEmbedElement.h
mac/DOM/DOMHTMLVideoElement.h
mac/DOM/DOMEntity.h
mac/DOM/DOMHTMLElementPrivate.h
mac/DOM/DOMHTMLButtonElement.h
mac/History/WebHistoryItem.h
mac/History/HistoryPropertyList.h
mac/History/WebBackForwardList.h
mac/History/BinaryPropertyList.h
mac/History/WebBackForwardListInternal.h
mac/History/BackForwardList.h
mac/History/WebBackForwardListPrivate.h
mac/History/WebHistory.h
mac/History/WebURLsWithTitles.h
mac/History/WebHistoryPrivate.h
mac/History/WebHistoryItemPrivate.h
mac/History/WebHistoryItemInternal.h
mac/History/WebHistoryInternal.h
mac/DefaultDelegates/WebDefaultPolicyDelegate.h
mac/DefaultDelegates/WebDefaultUIDelegate.h
mac/DefaultDelegates/WebDefaultContextMenuDelegate.h
mac/DefaultDelegates/WebDefaultEditingDelegate.h
mac/History/WebHistory.h
mac/History/WebHistoryItem.h
mac/Misc/WebKitStatisticsPrivate.h
mac/Misc/WebCache.h
mac/Misc/NSURLDownloadSPI.h
mac/Misc/WebStringTruncator.h
mac/Misc/WebNSFileManagerExtras.h
mac/Misc/WebNSWindowExtras.h
mac/Misc/WebDownload.h
mac/Misc/WebNSControlExtras.h
mac/Misc/WebNSObjectExtras.h
mac/Misc/WebKitErrors.h
mac/Misc/WebNSViewExtras.h
mac/Misc/WebNSDictionaryExtras.h
mac/Misc/WebNSURLRequestExtras.h
mac/Misc/WebSharingServicePickerController.h
mac/Misc/WebLocalizableStringsInternal.h
mac/Misc/WebNSDataExtrasPrivate.h
mac/Misc/WebNSUserDefaultsExtras.h
mac/Misc/WebNSEventExtras.h
mac/Misc/WebNSURLExtras.h
mac/Misc/WebIconDatabase.h
mac/Misc/WebKitStatistics.h
mac/Misc/WebKitLogging.h
mac/Misc/WebQuotaManager.h
mac/Misc/WebKitNSStringExtras.h
mac/Misc/WebNSPrintOperationExtras.h
mac/Misc/WebNSImageExtras.h
mac/Misc/WebKitErrorsPrivate.h
mac/Misc/WebUserContentURLPattern.h
mac/Misc/WebKitVersionChecks.h
mac/Misc/WebLocalizableStrings.h
mac/Misc/WebTypesInternal.h
mac/Misc/WebCoreStatistics.h
mac/Misc/WebNSDataExtras.h
mac/Misc/WebElementDictionary.h
mac/Misc/WebKit.h
mac/Misc/WebNSPasteboardExtras.h
mac/Panels/WebPanelAuthenticationHandler.h
mac/Panels/WebAuthenticationPanel.h
mac/Plugins/WebPluginViewFactoryPrivate.h
mac/Plugins/WebBasePluginPackage.h
mac/Plugins/WebNetscapePluginView.h
mac/Plugins/WebNetscapePluginEventHandlerCocoa.h
mac/Plugins/WebNetscapePluginStream.h
mac/Plugins/WebBaseNetscapePluginView.h
mac/Plugins/WebPluginController.h
mac/Plugins/Hosted/WebTextInputWindowController.h
mac/Plugins/Hosted/NetscapePluginHostProxy.h
mac/Plugins/Hosted/ProxyRuntimeObject.h
mac/Plugins/Hosted/ProxyInstance.h
mac/Plugins/Hosted/NetscapePluginHostManager.h
mac/Plugins/Hosted/WebKitPluginHostTypes.h
mac/Plugins/Hosted/WebHostedNetscapePluginView.h
mac/Plugins/Hosted/HostedNetscapePluginStream.h
mac/Plugins/Hosted/NetscapePluginInstanceProxy.h
mac/Plugins/WebPluginContainerCheck.h
mac/Plugins/WebPluginContainer.h
mac/Plugins/WebPluginPackagePrivate.h
mac/Plugins/WebPluginPackage.h
mac/Plugins/WebPluginRequest.h
mac/Plugins/WebNetscapePluginEventHandler.h
mac/Plugins/WebPluginContainerPrivate.h
mac/Plugins/WebJavaPlugIn.h
mac/Plugins/WebPluginViewFactory.h
mac/Plugins/WebPluginDatabase.h
mac/Plugins/WebNetscapePluginPackage.h
mac/Plugins/WebPlugin.h
mac/Storage/WebDatabaseManagerPrivate.h
mac/Storage/WebStorageTrackerClient.h
mac/Storage/WebDatabaseManagerInternal.h
mac/Storage/WebStorageManagerInternal.h
mac/Storage/WebDatabaseManagerClient.h
mac/Storage/WebStorageManagerPrivate.h
mac/Storage/WebDatabaseQuotaManager.h
mac/WebInspector/WebNodeHighlighter.h
mac/WebInspector/WebNodeHighlightView.h
mac/WebInspector/WebNodeHighlight.h
mac/WebInspector/WebInspector.h
mac/WebInspector/WebInspectorPrivate.h
mac/WebInspector/WebInspectorFrontend.h
mac/WebCoreSupport/WebAlternativeTextClient.h
mac/WebCoreSupport/WebSecurityOriginPrivate.h
mac/WebCoreSupport/WebCreateFragmentInternal.h
mac/WebCoreSupport/WebProgressTrackerClient.h
mac/WebCoreSupport/WebDragClient.h
mac/WebCoreSupport/WebChromeClient.h
mac/WebCoreSupport/WebPluginInfoProvider.h
mac/WebCoreSupport/WebEditorClient.h
mac/WebCoreSupport/CorrectionPanel.h
mac/WebCoreSupport/WebSwitchingGPUClient.h
mac/WebCoreSupport/WebSecurityOriginInternal.h
mac/WebCoreSupport/WebSelectionServiceController.h
mac/WebCoreSupport/WebVisitedLinkStore.h
mac/WebCoreSupport/WebApplicationCache.h
mac/WebCoreSupport/WebInspectorClient.h
mac/WebCoreSupport/WebApplicationCacheQuotaManager.h
mac/WebCoreSupport/WebContextMenuClient.h
mac/WebCoreSupport/SearchPopupMenuMac.h
mac/WebCoreSupport/WebJavaScriptTextInputPanel.h
mac/WebCoreSupport/WebPaymentCoordinatorClient.h
mac/WebCoreSupport/WebApplicationCacheInternal.h
mac/WebCoreSupport/WebPlatformStrategies.h
mac/WebCoreSupport/WebGeolocationClient.h
mac/WebCoreSupport/WebFrameNetworkingContext.h
mac/WebCoreSupport/PopupMenuMac.h
mac/WebCoreSupport/WebDeviceOrientationClient.h
mac/WebCoreSupport/WebValidationMessageClient.h
mac/WebCoreSupport/WebCachedFramePlatformData.h
mac/WebCoreSupport/WebFrameLoaderClient.h
mac/WebCoreSupport/WebNotificationClient.h
mac/WebCoreSupport/WebKitFullScreenListener.h
mac/WebCoreSupport/WebOpenPanelResultListener.h
mac/WebView/WebArchive.h
mac/WebView/WebHTMLViewPrivate.h
mac/WebView/WebFrame.h
mac/WebView/WebScriptWorld.h
mac/WebView/WebFullScreenController.h
mac/WebView/WebArchiveInternal.h
mac/WebView/WebDocumentInternal.h
mac/WebView/WebNavigationData.h
mac/WebView/WebResource.h
mac/WebView/WebClipView.h
mac/WebView/WebNotificationInternal.h
mac/WebView/WebVideoFullscreenController.h
mac/WebView/WebScriptDebugDelegate.h
mac/WebView/WebViewPrivate.h
mac/WebView/WebArchive.h
mac/WebView/WebDocument.h
mac/WebView/WebFrameLoadDelegatePrivate.h
mac/WebView/WebFormDelegate.h
mac/WebView/WebPolicyDelegate.h
mac/WebView/WebDeviceOrientationProvider.h
mac/WebView/WebUIDelegate.h
mac/WebView/WebResourceLoadDelegatePrivate.h
mac/WebView/WebPDFDocumentExtras.h
mac/WebView/WebResourceInternal.h
mac/WebView/WebResourceLoadDelegate.h
mac/WebView/WebJSPDFDoc.h
mac/WebView/WebDeviceOrientation.h
mac/WebView/WebUIDelegatePrivate.h
mac/WebView/WebScriptDebugger.h
mac/WebView/WebDeviceOrientationProviderMockInternal.h
mac/WebView/WebDynamicScrollBarsView.h
mac/WebView/WebPreferencesPrivate.h
mac/WebView/WebPolicyDelegatePrivate.h
mac/WebView/WebGeolocationPosition.h
mac/WebView/WebEditingDelegatePrivate.h
mac/WebView/WebScriptWorldInternal.h
mac/WebView/WebFrameViewPrivate.h
mac/WebView/WebViewInternal.h
mac/WebView/WebHTMLRepresentationPrivate.h
mac/WebView/WebMediaPlaybackTargetPicker.h
mac/WebView/WebAllowDenyPolicyListener.h
mac/WebView/WebPDFView.h
mac/WebView/WebTextIterator.h
mac/WebView/WebDataSourceInternal.h
mac/WebView/WebDocumentLoaderMac.h
mac/WebView/WebView.h
mac/WebView/WebFrameView.h
mac/WebView/WebTextCompletionController.h
mac/WebView/WebDelegateImplementationCaching.h
mac/WebView/WebDataSourcePrivate.h
mac/WebView/WebFramePrivate.h
mac/WebView/WebDeviceOrientationProviderMock.h
mac/WebView/WebDocumentPrivate.h
mac/WebView/WebViewData.h
mac/WebView/WebImmediateActionController.h
mac/WebView/WebFrameInternal.h
mac/WebView/WebDeviceOrientationInternal.h
mac/WebView/WebFrameLoadDelegate.h
mac/WebView/WebPreferenceKeysPrivate.h
mac/WebView/WebFrameViewInternal.h
mac/WebView/WebFormDelegatePrivate.h
mac/WebView/WebNotification.h
mac/WebView/PDFViewSPI.h
mac/WebView/WebResourcePrivate.h
mac/WebView/WebPreferences.h
mac/WebView/WebEditingDelegate.h
mac/WebView/WebHistoryDelegate.h
mac/WebView/WebWindowAnimation.h
mac/WebView/WebDashboardRegion.h
mac/WebView/WebHTMLView.h
mac/WebView/WebIndicateLayer.h
mac/WebView/WebHTMLRepresentation.h
mac/WebView/WebHTMLViewInternal.h
mac/WebView/WebDataSource.h
mac/WebView/WebPDFRepresentation.h
mac/WebView/WebGeolocationPositionInternal.h
mac/WebView/WebDynamicScrollBarsViewInternal.h
${WEBCORE_DIR}/bridge/objc/WebScriptObject.h
${WEBCORE_DIR}/platform/cocoa/WebKitAvailability.h
${WEBCORE_DIR}/plugins/npfunctions.h
${WEBCORE_DIR}/plugins/npapi.h
)
add_definitions("-include WebKitPrefix.h")
Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=149123 Reviewed by Chris Dumez. .: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Defined and enabled some more features needed on Mac. * Source/cmake/WebKitMacros.cmake: Objective C bindings need special changes when generating: Some of the bindings do not generate a .mm file but the header is needed. Some of the bindings do generate a .mm file that doesn't compile but the header is needed. In order to handle these cases, it is necessary to change the GENERATE_BINDINGS macro just for ObjC. Source/JavaScriptCore: * CMakeLists.txt: Make forwarding headers for the replay subdirectory. * PlatformMac.cmake: Make forwarding headers for the generated inspector headers. They should eventually either be packaged correctly with JavaScriptCore headers and included correctly. Source/WebCore: * CMakeLists.txt: Added some more files. * PlatformMac.cmake: Added more files and listed the strange ObjC bindings. * contentextensions/DFACombiner.cpp: * contentextensions/DFACombiner.h: Added preprocessor protection. * platform/FileSystem.h: Include utility. It's needed to compile the different configurations. * platform/ScrollAnimator.cpp: ScrollAnimator is an abstract class on Mac. Don't compile it. * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: FontAntialiasingStateSaver.h is only used on iOS. * rendering/RenderThemeMac.mm: config.h needs to be outside the #if !PLATFORM(IOS) to compile correctly without precompiled headers. Source/WebKit: * CMakeLists.txt: * PlatformMac.cmake: Added more sources, make non-c99 sources compile as objc++ * PlatformWin.cmake: Moved WebCoreTestSupport sources and includes to CMakeLists.txt to share. Source/WebKit/mac: * WebView/WebPDFDocumentExtras.mm: (appendValuesInPDFNameSubtreeToVector): * WebView/WebPDFView.mm: Removed cmake include quirks that are not needed when we include things correctly from Quartz.framework/Frameworks. Source/WebKit2: * PlatformMac.cmake: Added some more sources. Canonical link: https://commits.webkit.org/167232@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-09-14 21:22:46 +00:00
set(C99_FILES
mac/DefaultDelegates/WebDefaultEditingDelegate.m
mac/DefaultDelegates/WebDefaultUIDelegate.m
mac/Misc/WebKitErrors.m
mac/Misc/WebKitStatistics.m
mac/Misc/WebKitSystemBits.m
mac/Misc/WebNSArrayExtras.m
mac/Misc/WebNSControlExtras.m
mac/Misc/WebNSEventExtras.m
mac/Misc/WebNSPrintOperationExtras.m
mac/Misc/WebNSURLRequestExtras.m
mac/Misc/WebNSViewExtras.m
mac/Misc/WebNSWindowExtras.m
mac/Plugins/WebPluginRequest.m
mac/Plugins/WebPluginsPrivate.m
mac/Plugins/Hosted/WebTextInputWindowController.m
mac/WebView/WebFormDelegate.m
Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=149123 Reviewed by Chris Dumez. .: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Defined and enabled some more features needed on Mac. * Source/cmake/WebKitMacros.cmake: Objective C bindings need special changes when generating: Some of the bindings do not generate a .mm file but the header is needed. Some of the bindings do generate a .mm file that doesn't compile but the header is needed. In order to handle these cases, it is necessary to change the GENERATE_BINDINGS macro just for ObjC. Source/JavaScriptCore: * CMakeLists.txt: Make forwarding headers for the replay subdirectory. * PlatformMac.cmake: Make forwarding headers for the generated inspector headers. They should eventually either be packaged correctly with JavaScriptCore headers and included correctly. Source/WebCore: * CMakeLists.txt: Added some more files. * PlatformMac.cmake: Added more files and listed the strange ObjC bindings. * contentextensions/DFACombiner.cpp: * contentextensions/DFACombiner.h: Added preprocessor protection. * platform/FileSystem.h: Include utility. It's needed to compile the different configurations. * platform/ScrollAnimator.cpp: ScrollAnimator is an abstract class on Mac. Don't compile it. * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: FontAntialiasingStateSaver.h is only used on iOS. * rendering/RenderThemeMac.mm: config.h needs to be outside the #if !PLATFORM(IOS) to compile correctly without precompiled headers. Source/WebKit: * CMakeLists.txt: * PlatformMac.cmake: Added more sources, make non-c99 sources compile as objc++ * PlatformWin.cmake: Moved WebCoreTestSupport sources and includes to CMakeLists.txt to share. Source/WebKit/mac: * WebView/WebPDFDocumentExtras.mm: (appendValuesInPDFNameSubtreeToVector): * WebView/WebPDFView.mm: Removed cmake include quirks that are not needed when we include things correctly from Quartz.framework/Frameworks. Source/WebKit2: * PlatformMac.cmake: Added some more sources. Canonical link: https://commits.webkit.org/167232@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-09-14 21:22:46 +00:00
)
set(CPP_FILES
Storage/StorageThread.cpp
)
[CMake] Rename WebKit target to WebKitLegacy and rename WebKit2 target to WebKit https://bugs.webkit.org/show_bug.cgi?id=174558 Reviewed by Alex Christensen. .: * CMakeLists.txt: * Source/PlatformGTK.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitCommon.cmake: * Source/cmake/WebKitFS.cmake: Source/WebDriver: * CMakeLists.txt: Source/WebKit: * CMakeLists.txt: * PlatformGTK.cmake: * PlatformMac.cmake: * PlatformWPE.cmake: * PlatformWin.cmake: * Shared/gtk/WebKitWaylandProtocol.xml: Renamed from Source/WebKit/Shared/gtk/WebKit2WaylandProtocol.xml. * UIProcess/gtk/WaylandCompositor.cpp: * WebProcess/gtk/WaylandCompositorDisplay.cpp: Source/WebKitLegacy: With help from Stephan Szabo, thanks! * CMakeLists.txt: * PlatformMac.cmake: * PlatformWin.cmake: Tools: With help from Stephan Szabo, thanks! * DumpRenderTree/PlatformMac.cmake: * DumpRenderTree/PlatformWin.cmake: * DumpRenderTree/win/AccessibilityControllerWin.cpp: * DumpRenderTree/win/DRTDesktopNotificationPresenter.h: * DumpRenderTree/win/DumpRenderTree.cpp: * DumpRenderTree/win/EditingDelegate.h: * DumpRenderTree/win/EventSender.cpp: * DumpRenderTree/win/FrameLoadDelegate.cpp: * DumpRenderTree/win/FrameLoadDelegate.h: * DumpRenderTree/win/GCControllerWin.cpp: * DumpRenderTree/win/HistoryDelegate.cpp: * DumpRenderTree/win/HistoryDelegate.h: * DumpRenderTree/win/PolicyDelegate.h: * DumpRenderTree/win/ResourceLoadDelegate.cpp: * DumpRenderTree/win/ResourceLoadDelegate.h: * DumpRenderTree/win/TestRunnerWin.cpp: * DumpRenderTree/win/TextInputControllerWin.cpp: * DumpRenderTree/win/UIDelegate.cpp: * DumpRenderTree/win/UIDelegate.h: * DumpRenderTree/win/WorkQueueItemWin.cpp: * MiniBrowser/gtk/CMakeLists.txt: * MiniBrowser/mac/CMakeLists.txt: * MiniBrowser/win/AccessibilityDelegate.cpp: * MiniBrowser/win/AccessibilityDelegate.h: * MiniBrowser/win/CMakeLists.txt: * MiniBrowser/win/Common.cpp: * MiniBrowser/win/DOMDefaultImpl.h: * MiniBrowser/win/MiniBrowser.cpp: * MiniBrowser/win/MiniBrowser.h: * MiniBrowser/win/MiniBrowserWebHost.cpp: * MiniBrowser/win/MiniBrowserWebHost.h: * MiniBrowser/win/PageLoadTestClient.h: * MiniBrowser/win/PrintWebUIDelegate.cpp: * MiniBrowser/win/PrintWebUIDelegate.h: * MiniBrowser/win/ResourceLoadDelegate.cpp: * MiniBrowser/win/ResourceLoadDelegate.h: * MiniBrowser/win/WebDownloadDelegate.h: * TestWebKitAPI/CMakeLists.txt: * TestWebKitAPI/PlatformGTK.cmake: * TestWebKitAPI/PlatformWPE.cmake: * TestWebKitAPI/PlatformWin.cmake: * TestWebKitAPI/Tests/WebKitLegacy/win/ScaleWebView.cpp: * TestWebKitAPI/Tests/WebKitLegacy/win/WebViewDestruction.cpp: * TestWebKitAPI/glib/CMakeLists.txt: * WebKitTestRunner/CMakeLists.txt: * WebKitTestRunner/PlatformGTK.cmake: * WebKitTestRunner/PlatformWPE.cmake: Canonical link: https://commits.webkit.org/193516@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222194 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-09-19 00:29:31 +00:00
foreach (_file ${WebKitLegacy_SOURCES})
Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=149123 Reviewed by Chris Dumez. .: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Defined and enabled some more features needed on Mac. * Source/cmake/WebKitMacros.cmake: Objective C bindings need special changes when generating: Some of the bindings do not generate a .mm file but the header is needed. Some of the bindings do generate a .mm file that doesn't compile but the header is needed. In order to handle these cases, it is necessary to change the GENERATE_BINDINGS macro just for ObjC. Source/JavaScriptCore: * CMakeLists.txt: Make forwarding headers for the replay subdirectory. * PlatformMac.cmake: Make forwarding headers for the generated inspector headers. They should eventually either be packaged correctly with JavaScriptCore headers and included correctly. Source/WebCore: * CMakeLists.txt: Added some more files. * PlatformMac.cmake: Added more files and listed the strange ObjC bindings. * contentextensions/DFACombiner.cpp: * contentextensions/DFACombiner.h: Added preprocessor protection. * platform/FileSystem.h: Include utility. It's needed to compile the different configurations. * platform/ScrollAnimator.cpp: ScrollAnimator is an abstract class on Mac. Don't compile it. * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: FontAntialiasingStateSaver.h is only used on iOS. * rendering/RenderThemeMac.mm: config.h needs to be outside the #if !PLATFORM(IOS) to compile correctly without precompiled headers. Source/WebKit: * CMakeLists.txt: * PlatformMac.cmake: Added more sources, make non-c99 sources compile as objc++ * PlatformWin.cmake: Moved WebCoreTestSupport sources and includes to CMakeLists.txt to share. Source/WebKit/mac: * WebView/WebPDFDocumentExtras.mm: (appendValuesInPDFNameSubtreeToVector): * WebView/WebPDFView.mm: Removed cmake include quirks that are not needed when we include things correctly from Quartz.framework/Frameworks. Source/WebKit2: * PlatformMac.cmake: Added some more sources. Canonical link: https://commits.webkit.org/167232@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-09-14 21:22:46 +00:00
list(FIND C99_FILES ${_file} _c99_index)
list(FIND CPP_FILES ${_file} _cpp_index)
if (NOT ${_c99_index} EQUAL -1)
Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=149123 Reviewed by Chris Dumez. .: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Defined and enabled some more features needed on Mac. * Source/cmake/WebKitMacros.cmake: Objective C bindings need special changes when generating: Some of the bindings do not generate a .mm file but the header is needed. Some of the bindings do generate a .mm file that doesn't compile but the header is needed. In order to handle these cases, it is necessary to change the GENERATE_BINDINGS macro just for ObjC. Source/JavaScriptCore: * CMakeLists.txt: Make forwarding headers for the replay subdirectory. * PlatformMac.cmake: Make forwarding headers for the generated inspector headers. They should eventually either be packaged correctly with JavaScriptCore headers and included correctly. Source/WebCore: * CMakeLists.txt: Added some more files. * PlatformMac.cmake: Added more files and listed the strange ObjC bindings. * contentextensions/DFACombiner.cpp: * contentextensions/DFACombiner.h: Added preprocessor protection. * platform/FileSystem.h: Include utility. It's needed to compile the different configurations. * platform/ScrollAnimator.cpp: ScrollAnimator is an abstract class on Mac. Don't compile it. * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: FontAntialiasingStateSaver.h is only used on iOS. * rendering/RenderThemeMac.mm: config.h needs to be outside the #if !PLATFORM(IOS) to compile correctly without precompiled headers. Source/WebKit: * CMakeLists.txt: * PlatformMac.cmake: Added more sources, make non-c99 sources compile as objc++ * PlatformWin.cmake: Moved WebCoreTestSupport sources and includes to CMakeLists.txt to share. Source/WebKit/mac: * WebView/WebPDFDocumentExtras.mm: (appendValuesInPDFNameSubtreeToVector): * WebView/WebPDFView.mm: Removed cmake include quirks that are not needed when we include things correctly from Quartz.framework/Frameworks. Source/WebKit2: * PlatformMac.cmake: Added some more sources. Canonical link: https://commits.webkit.org/167232@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-09-14 21:22:46 +00:00
set_source_files_properties(${_file} PROPERTIES COMPILE_FLAGS -std=c99)
elseif (NOT ${_cpp_index} EQUAL -1)
set_source_files_properties(${_file} PROPERTIES COMPILE_FLAGS -std=c++1z)
else ()
set_source_files_properties(${_file} PROPERTIES COMPILE_FLAGS "-ObjC++ -std=c++17")
Progress towards CMake on Mac. https://bugs.webkit.org/show_bug.cgi?id=149123 Reviewed by Chris Dumez. .: * Source/cmake/OptionsMac.cmake: * Source/cmake/WebKitFeatures.cmake: Defined and enabled some more features needed on Mac. * Source/cmake/WebKitMacros.cmake: Objective C bindings need special changes when generating: Some of the bindings do not generate a .mm file but the header is needed. Some of the bindings do generate a .mm file that doesn't compile but the header is needed. In order to handle these cases, it is necessary to change the GENERATE_BINDINGS macro just for ObjC. Source/JavaScriptCore: * CMakeLists.txt: Make forwarding headers for the replay subdirectory. * PlatformMac.cmake: Make forwarding headers for the generated inspector headers. They should eventually either be packaged correctly with JavaScriptCore headers and included correctly. Source/WebCore: * CMakeLists.txt: Added some more files. * PlatformMac.cmake: Added more files and listed the strange ObjC bindings. * contentextensions/DFACombiner.cpp: * contentextensions/DFACombiner.h: Added preprocessor protection. * platform/FileSystem.h: Include utility. It's needed to compile the different configurations. * platform/ScrollAnimator.cpp: ScrollAnimator is an abstract class on Mac. Don't compile it. * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: FontAntialiasingStateSaver.h is only used on iOS. * rendering/RenderThemeMac.mm: config.h needs to be outside the #if !PLATFORM(IOS) to compile correctly without precompiled headers. Source/WebKit: * CMakeLists.txt: * PlatformMac.cmake: Added more sources, make non-c99 sources compile as objc++ * PlatformWin.cmake: Moved WebCoreTestSupport sources and includes to CMakeLists.txt to share. Source/WebKit/mac: * WebView/WebPDFDocumentExtras.mm: (appendValuesInPDFNameSubtreeToVector): * WebView/WebPDFView.mm: Removed cmake include quirks that are not needed when we include things correctly from Quartz.framework/Frameworks. Source/WebKit2: * PlatformMac.cmake: Added some more sources. Canonical link: https://commits.webkit.org/167232@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2015-09-14 21:22:46 +00:00
endif ()
endforeach ()
Progress towards successful CMake build on Mac https://bugs.webkit.org/show_bug.cgi?id=202426 Rubber-stamped by Tim Horton. Source/WebCore: * PlatformMac.cmake: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: * Platform/cocoa/PaymentAuthorizationViewController.h: * Platform/cocoa/PaymentAuthorizationViewController.mm: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: * PlatformMac.cmake: * Shared/SandboxExtension.h: (WebKit::SandboxExtension::createHandleForReadByPid): * SourcesCocoa.txt: * UIProcess/API/Cocoa/WKWebView.mm: * UIProcess/API/Cocoa/WKWebsiteDataStore.mm: (-[WKWebsiteDataStore _hasRegisteredServiceWorker]): * UIProcess/API/mac/WKView.mm: * UIProcess/Cocoa/SOAuthorization/PopUpSOAuthorizationSession.mm: * UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm: * UIProcess/Cocoa/WKFullKeyboardAccessWatcher.mm: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet delegate]): (-[WKShareSheet setDelegate:]): * UIProcess/Cocoa/WebProcessPoolCocoa.mm: * UIProcess/Cocoa/WebViewImpl.h: * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebResourceLoadObserver.cpp: * WebProcess/WebCoreSupport/ios/WebPreviewLoaderClient.h: * WebProcess/WebPage/Cocoa/WebRemoteObjectRegistry.cpp: Source/WebKitLegacy: * PlatformMac.cmake: Source/WebKitLegacy/mac: * WebView/WebDataSource.mm: Canonical link: https://commits.webkit.org/215948@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-01 20:35:50 +00:00
foreach (_file ${WebKitLegacy_LEGACY_FORWARDING_HEADERS_FILES})
get_filename_component(_name "${_file}" NAME)
Resurrect Mac CMake build https://bugs.webkit.org/show_bug.cgi?id=224084 Patch by Alex Christensen <achristensen@webkit.org> on 2021-04-05 Reviewed by Tim Horton. .: * Source/cmake/OptionsMac.cmake: Source/JavaScriptCore: * PlatformMac.cmake: Source/ThirdParty/ANGLE: * PlatformMac.cmake: Added. Source/ThirdParty/libwebrtc: * CMakeLists.txt: Source/WebCore: * PlatformMac.cmake: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * platform/mac/WebGLBlocklist.mm: * platform/text/cocoa/LocalizedDateCache.h: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.h. * platform/text/cocoa/LocalizedDateCache.mm: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.mm. (WebCore::localizedDateCache): (WebCore::_localeChanged): (WebCore::LocalizedDateCache::LocalizedDateCache): (WebCore::LocalizedDateCache::~LocalizedDateCache): (WebCore::LocalizedDateCache::localeChanged): (WebCore::LocalizedDateCache::formatterForDateType): (WebCore::LocalizedDateCache::maximumWidthForDateType): (WebCore::LocalizedDateCache::createFormatterForType): (WebCore::LocalizedDateCache::calculateMaximumWidth): * testing/cocoa/WebViewVisualIdentificationOverlay.mm: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * NetworkProcess/PrivateClickMeasurementNetworkLoader.cpp: (WebKit::PrivateClickMeasurementNetworkLoader::didReceiveBuffer): * PlatformMac.cmake: * Shared/Cocoa/SandboxExtensionCocoa.mm: * SourcesCocoa.txt: * UIProcess/Media/MediaSessionCoordinatorProxyPrivate.h: Source/WebKitLegacy: * PlatformMac.cmake: Source/WTF: * wtf/PlatformMac.cmake: Tools: * TestWebKitAPI/PlatformMac.cmake: * WebKitTestRunner/PlatformMac.cmake: Canonical link: https://commits.webkit.org/236142@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-06 03:19:14 +00:00
set(_target_filename "${WebKitLegacy_FRAMEWORK_HEADERS_DIR}/WebKitLegacy/${_name}")
Progress towards successful CMake build on Mac https://bugs.webkit.org/show_bug.cgi?id=202426 Rubber-stamped by Tim Horton. Source/WebCore: * PlatformMac.cmake: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * Platform/cocoa/PaymentAuthorizationPresenter.h: * Platform/cocoa/PaymentAuthorizationPresenter.mm: * Platform/cocoa/PaymentAuthorizationViewController.h: * Platform/cocoa/PaymentAuthorizationViewController.mm: * Platform/cocoa/WKPaymentAuthorizationDelegate.mm: * PlatformMac.cmake: * Shared/SandboxExtension.h: (WebKit::SandboxExtension::createHandleForReadByPid): * SourcesCocoa.txt: * UIProcess/API/Cocoa/WKWebView.mm: * UIProcess/API/Cocoa/WKWebsiteDataStore.mm: (-[WKWebsiteDataStore _hasRegisteredServiceWorker]): * UIProcess/API/mac/WKView.mm: * UIProcess/Cocoa/SOAuthorization/PopUpSOAuthorizationSession.mm: * UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm: * UIProcess/Cocoa/WKFullKeyboardAccessWatcher.mm: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet delegate]): (-[WKShareSheet setDelegate:]): * UIProcess/Cocoa/WebProcessPoolCocoa.mm: * UIProcess/Cocoa/WebViewImpl.h: * WebKit.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebResourceLoadObserver.cpp: * WebProcess/WebCoreSupport/ios/WebPreviewLoaderClient.h: * WebProcess/WebPage/Cocoa/WebRemoteObjectRegistry.cpp: Source/WebKitLegacy: * PlatformMac.cmake: Source/WebKitLegacy/mac: * WebView/WebDataSource.mm: Canonical link: https://commits.webkit.org/215948@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-01 20:35:50 +00:00
if (NOT EXISTS ${_target_filename})
file(WRITE ${_target_filename} "#import \"${_file}\"")
endif ()
endforeach ()
Resurrect Mac CMake build https://bugs.webkit.org/show_bug.cgi?id=224084 Patch by Alex Christensen <achristensen@webkit.org> on 2021-04-05 Reviewed by Tim Horton. .: * Source/cmake/OptionsMac.cmake: Source/JavaScriptCore: * PlatformMac.cmake: Source/ThirdParty/ANGLE: * PlatformMac.cmake: Added. Source/ThirdParty/libwebrtc: * CMakeLists.txt: Source/WebCore: * PlatformMac.cmake: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * platform/mac/WebGLBlocklist.mm: * platform/text/cocoa/LocalizedDateCache.h: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.h. * platform/text/cocoa/LocalizedDateCache.mm: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.mm. (WebCore::localizedDateCache): (WebCore::_localeChanged): (WebCore::LocalizedDateCache::LocalizedDateCache): (WebCore::LocalizedDateCache::~LocalizedDateCache): (WebCore::LocalizedDateCache::localeChanged): (WebCore::LocalizedDateCache::formatterForDateType): (WebCore::LocalizedDateCache::maximumWidthForDateType): (WebCore::LocalizedDateCache::createFormatterForType): (WebCore::LocalizedDateCache::calculateMaximumWidth): * testing/cocoa/WebViewVisualIdentificationOverlay.mm: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * NetworkProcess/PrivateClickMeasurementNetworkLoader.cpp: (WebKit::PrivateClickMeasurementNetworkLoader::didReceiveBuffer): * PlatformMac.cmake: * Shared/Cocoa/SandboxExtensionCocoa.mm: * SourcesCocoa.txt: * UIProcess/Media/MediaSessionCoordinatorProxyPrivate.h: Source/WebKitLegacy: * PlatformMac.cmake: Source/WTF: * wtf/PlatformMac.cmake: Tools: * TestWebKitAPI/PlatformMac.cmake: * WebKitTestRunner/PlatformMac.cmake: Canonical link: https://commits.webkit.org/236142@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-06 03:19:14 +00:00
if (NOT EXISTS ${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitLegacy/WebKitPluginHostTypes.h)
file(COPY
mac/Plugins/Hosted/WebKitPluginAgent.defs
mac/Plugins/Hosted/WebKitPluginAgentReply.defs
mac/Plugins/Hosted/WebKitPluginClient.defs
mac/Plugins/Hosted/WebKitPluginHost.defs
Resurrect Mac CMake build https://bugs.webkit.org/show_bug.cgi?id=224084 Patch by Alex Christensen <achristensen@webkit.org> on 2021-04-05 Reviewed by Tim Horton. .: * Source/cmake/OptionsMac.cmake: Source/JavaScriptCore: * PlatformMac.cmake: Source/ThirdParty/ANGLE: * PlatformMac.cmake: Added. Source/ThirdParty/libwebrtc: * CMakeLists.txt: Source/WebCore: * PlatformMac.cmake: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * platform/mac/WebGLBlocklist.mm: * platform/text/cocoa/LocalizedDateCache.h: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.h. * platform/text/cocoa/LocalizedDateCache.mm: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.mm. (WebCore::localizedDateCache): (WebCore::_localeChanged): (WebCore::LocalizedDateCache::LocalizedDateCache): (WebCore::LocalizedDateCache::~LocalizedDateCache): (WebCore::LocalizedDateCache::localeChanged): (WebCore::LocalizedDateCache::formatterForDateType): (WebCore::LocalizedDateCache::maximumWidthForDateType): (WebCore::LocalizedDateCache::createFormatterForType): (WebCore::LocalizedDateCache::calculateMaximumWidth): * testing/cocoa/WebViewVisualIdentificationOverlay.mm: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * NetworkProcess/PrivateClickMeasurementNetworkLoader.cpp: (WebKit::PrivateClickMeasurementNetworkLoader::didReceiveBuffer): * PlatformMac.cmake: * Shared/Cocoa/SandboxExtensionCocoa.mm: * SourcesCocoa.txt: * UIProcess/Media/MediaSessionCoordinatorProxyPrivate.h: Source/WebKitLegacy: * PlatformMac.cmake: Source/WTF: * wtf/PlatformMac.cmake: Tools: * TestWebKitAPI/PlatformMac.cmake: * WebKitTestRunner/PlatformMac.cmake: Canonical link: https://commits.webkit.org/236142@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-06 03:19:14 +00:00
DESTINATION ${WebKitLegacy_DERIVED_SOURCES_DIR})
file(MAKE_DIRECTORY ${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitLegacy)
file(COPY
mac/Plugins/Hosted/WebKitPluginHostTypes.defs
mac/Plugins/Hosted/WebKitPluginHostTypes.h
Resurrect Mac CMake build https://bugs.webkit.org/show_bug.cgi?id=224084 Patch by Alex Christensen <achristensen@webkit.org> on 2021-04-05 Reviewed by Tim Horton. .: * Source/cmake/OptionsMac.cmake: Source/JavaScriptCore: * PlatformMac.cmake: Source/ThirdParty/ANGLE: * PlatformMac.cmake: Added. Source/ThirdParty/libwebrtc: * CMakeLists.txt: Source/WebCore: * PlatformMac.cmake: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * platform/mac/WebGLBlocklist.mm: * platform/text/cocoa/LocalizedDateCache.h: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.h. * platform/text/cocoa/LocalizedDateCache.mm: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.mm. (WebCore::localizedDateCache): (WebCore::_localeChanged): (WebCore::LocalizedDateCache::LocalizedDateCache): (WebCore::LocalizedDateCache::~LocalizedDateCache): (WebCore::LocalizedDateCache::localeChanged): (WebCore::LocalizedDateCache::formatterForDateType): (WebCore::LocalizedDateCache::maximumWidthForDateType): (WebCore::LocalizedDateCache::createFormatterForType): (WebCore::LocalizedDateCache::calculateMaximumWidth): * testing/cocoa/WebViewVisualIdentificationOverlay.mm: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * NetworkProcess/PrivateClickMeasurementNetworkLoader.cpp: (WebKit::PrivateClickMeasurementNetworkLoader::didReceiveBuffer): * PlatformMac.cmake: * Shared/Cocoa/SandboxExtensionCocoa.mm: * SourcesCocoa.txt: * UIProcess/Media/MediaSessionCoordinatorProxyPrivate.h: Source/WebKitLegacy: * PlatformMac.cmake: Source/WTF: * wtf/PlatformMac.cmake: Tools: * TestWebKitAPI/PlatformMac.cmake: * WebKitTestRunner/PlatformMac.cmake: Canonical link: https://commits.webkit.org/236142@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-06 03:19:14 +00:00
DESTINATION ${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitLegacy)
endif ()
add_custom_command(
OUTPUT
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitPluginAgentReplyServer.c
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitPluginAgentReplyUser.c
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitPluginAgentServer.c
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitPluginAgentUser.c
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitPluginHostServer.c
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitPluginHostUser.c
DEPENDS mac/Plugins/Hosted/WebKitPluginAgent.defs mac/Plugins/Hosted/WebKitPluginHost.defs
WORKING_DIRECTORY ${WebKitLegacy_DERIVED_SOURCES_DIR}
COMMAND mig -I.. WebKitPluginAgent.defs WebKitPluginAgentReply.defs WebKitPluginHost.defs
VERBATIM)
add_custom_command(
OUTPUT
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitPluginClientServer.c
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitPluginClientUser.c
DEPENDS mac/Plugins/Hosted/WebKitPluginClient.defs
WORKING_DIRECTORY ${WebKitLegacy_DERIVED_SOURCES_DIR}
COMMAND mig -I.. -sheader WebKitPluginClientServer.h WebKitPluginClient.defs
VERBATIM)
list(APPEND WebKitLegacy_SOURCES
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitPluginAgentUser.c
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitPluginClientServer.c
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebKitPluginHostUser.c
)
Resurrect Mac CMake build https://bugs.webkit.org/show_bug.cgi?id=224084 Patch by Alex Christensen <achristensen@webkit.org> on 2021-04-05 Reviewed by Tim Horton. .: * Source/cmake/OptionsMac.cmake: Source/JavaScriptCore: * PlatformMac.cmake: Source/ThirdParty/ANGLE: * PlatformMac.cmake: Added. Source/ThirdParty/libwebrtc: * CMakeLists.txt: Source/WebCore: * PlatformMac.cmake: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * platform/mac/WebGLBlocklist.mm: * platform/text/cocoa/LocalizedDateCache.h: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.h. * platform/text/cocoa/LocalizedDateCache.mm: Renamed from Source/WebCore/platform/text/ios/LocalizedDateCache.mm. (WebCore::localizedDateCache): (WebCore::_localeChanged): (WebCore::LocalizedDateCache::LocalizedDateCache): (WebCore::LocalizedDateCache::~LocalizedDateCache): (WebCore::LocalizedDateCache::localeChanged): (WebCore::LocalizedDateCache::formatterForDateType): (WebCore::LocalizedDateCache::maximumWidthForDateType): (WebCore::LocalizedDateCache::createFormatterForType): (WebCore::LocalizedDateCache::calculateMaximumWidth): * testing/cocoa/WebViewVisualIdentificationOverlay.mm: Source/WebCore/PAL: * pal/PlatformMac.cmake: Source/WebKit: * NetworkProcess/PrivateClickMeasurementNetworkLoader.cpp: (WebKit::PrivateClickMeasurementNetworkLoader::didReceiveBuffer): * PlatformMac.cmake: * Shared/Cocoa/SandboxExtensionCocoa.mm: * SourcesCocoa.txt: * UIProcess/Media/MediaSessionCoordinatorProxyPrivate.h: Source/WebKitLegacy: * PlatformMac.cmake: Source/WTF: * wtf/PlatformMac.cmake: Tools: * TestWebKitAPI/PlatformMac.cmake: * WebKitTestRunner/PlatformMac.cmake: Canonical link: https://commits.webkit.org/236142@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-06 03:19:14 +00:00
add_custom_command(
OUTPUT ${WebKitLegacy_DERIVED_SOURCES_DIR}/WebViewPreferencesChangedGenerated.mm ${WebKitLegacy_DERIVED_SOURCES_DIR}/WebPreferencesInternalFeatures.mm ${WebKitLegacy_DERIVED_SOURCES_DIR}/WebPreferencesExperimentalFeatures.mm ${WebKitLegacy_DERIVED_SOURCES_DIR}/WebPreferencesDefinitions.h
DEPENDS ${WebKit_WEB_PREFERENCES_TEMPLATES} ${WebKit_WEB_PREFERENCES} WTF_CopyPreferences
COMMAND ${RUBY_EXECUTABLE} ${WTF_SCRIPTS_DIR}/GeneratePreferences.rb --frontend WebKitLegacy --base ${WTF_SCRIPTS_DIR}/Preferences/WebPreferences.yaml --debug ${WTF_SCRIPTS_DIR}/Preferences/WebPreferencesDebug.yaml --experimental ${WTF_SCRIPTS_DIR}/Preferences/WebPreferencesExperimental.yaml --internal ${WTF_SCRIPTS_DIR}/Preferences/WebPreferencesInternal.yaml --outputDir "${WebKitLegacy_DERIVED_SOURCES_DIR}" --template ${WEBKITLEGACY_DIR}/mac/Scripts/PreferencesTemplates/WebViewPreferencesChangedGenerated.mm.erb --template ${WEBKITLEGACY_DIR}/mac/Scripts/PreferencesTemplates/WebPreferencesInternalFeatures.mm.erb --template ${WEBKITLEGACY_DIR}/mac/Scripts/PreferencesTemplates/WebPreferencesExperimentalFeatures.mm.erb --template ${WEBKITLEGACY_DIR}/mac/Scripts/PreferencesTemplates/WebPreferencesDefinitions.h.erb
VERBATIM)
list(APPEND WebKitLegacy_SOURCES
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebViewPreferencesChangedGenerated.mm
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebPreferencesInternalFeatures.mm
${WebKitLegacy_DERIVED_SOURCES_DIR}/WebPreferencesExperimentalFeatures.mm
)
WEBKIT_MAKE_FORWARDING_HEADERS(WebKitLegacy
TARGET_NAME WebKitLegacyFrameworkHeaders
DESTINATION ${WebKitLegacy_FRAMEWORK_HEADERS_DIR}/WebKitLegacy
FILES ${WebKitLegacy_FORWARDING_HEADERS_FILES}
FLATTENED
)
[CMake] Rename WebKit target to WebKitLegacy and rename WebKit2 target to WebKit https://bugs.webkit.org/show_bug.cgi?id=174558 Reviewed by Alex Christensen. .: * CMakeLists.txt: * Source/PlatformGTK.cmake: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/WebKitCommon.cmake: * Source/cmake/WebKitFS.cmake: Source/WebDriver: * CMakeLists.txt: Source/WebKit: * CMakeLists.txt: * PlatformGTK.cmake: * PlatformMac.cmake: * PlatformWPE.cmake: * PlatformWin.cmake: * Shared/gtk/WebKitWaylandProtocol.xml: Renamed from Source/WebKit/Shared/gtk/WebKit2WaylandProtocol.xml. * UIProcess/gtk/WaylandCompositor.cpp: * WebProcess/gtk/WaylandCompositorDisplay.cpp: Source/WebKitLegacy: With help from Stephan Szabo, thanks! * CMakeLists.txt: * PlatformMac.cmake: * PlatformWin.cmake: Tools: With help from Stephan Szabo, thanks! * DumpRenderTree/PlatformMac.cmake: * DumpRenderTree/PlatformWin.cmake: * DumpRenderTree/win/AccessibilityControllerWin.cpp: * DumpRenderTree/win/DRTDesktopNotificationPresenter.h: * DumpRenderTree/win/DumpRenderTree.cpp: * DumpRenderTree/win/EditingDelegate.h: * DumpRenderTree/win/EventSender.cpp: * DumpRenderTree/win/FrameLoadDelegate.cpp: * DumpRenderTree/win/FrameLoadDelegate.h: * DumpRenderTree/win/GCControllerWin.cpp: * DumpRenderTree/win/HistoryDelegate.cpp: * DumpRenderTree/win/HistoryDelegate.h: * DumpRenderTree/win/PolicyDelegate.h: * DumpRenderTree/win/ResourceLoadDelegate.cpp: * DumpRenderTree/win/ResourceLoadDelegate.h: * DumpRenderTree/win/TestRunnerWin.cpp: * DumpRenderTree/win/TextInputControllerWin.cpp: * DumpRenderTree/win/UIDelegate.cpp: * DumpRenderTree/win/UIDelegate.h: * DumpRenderTree/win/WorkQueueItemWin.cpp: * MiniBrowser/gtk/CMakeLists.txt: * MiniBrowser/mac/CMakeLists.txt: * MiniBrowser/win/AccessibilityDelegate.cpp: * MiniBrowser/win/AccessibilityDelegate.h: * MiniBrowser/win/CMakeLists.txt: * MiniBrowser/win/Common.cpp: * MiniBrowser/win/DOMDefaultImpl.h: * MiniBrowser/win/MiniBrowser.cpp: * MiniBrowser/win/MiniBrowser.h: * MiniBrowser/win/MiniBrowserWebHost.cpp: * MiniBrowser/win/MiniBrowserWebHost.h: * MiniBrowser/win/PageLoadTestClient.h: * MiniBrowser/win/PrintWebUIDelegate.cpp: * MiniBrowser/win/PrintWebUIDelegate.h: * MiniBrowser/win/ResourceLoadDelegate.cpp: * MiniBrowser/win/ResourceLoadDelegate.h: * MiniBrowser/win/WebDownloadDelegate.h: * TestWebKitAPI/CMakeLists.txt: * TestWebKitAPI/PlatformGTK.cmake: * TestWebKitAPI/PlatformWPE.cmake: * TestWebKitAPI/PlatformWin.cmake: * TestWebKitAPI/Tests/WebKitLegacy/win/ScaleWebView.cpp: * TestWebKitAPI/Tests/WebKitLegacy/win/WebViewDestruction.cpp: * TestWebKitAPI/glib/CMakeLists.txt: * WebKitTestRunner/CMakeLists.txt: * WebKitTestRunner/PlatformGTK.cmake: * WebKitTestRunner/PlatformWPE.cmake: Canonical link: https://commits.webkit.org/193516@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222194 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-09-19 00:29:31 +00:00
set(WebKitLegacy_OUTPUT_NAME WebKitLegacy)
set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} "-compatibility_version 1 -current_version ${WEBKIT_MAC_VERSION} -framework SecurityInterface")