[Cocoa] Some modern SPI changes have missing or incorrect availability annotations
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Dec 2014 19:18:49 +0000 (19:18 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Dec 2014 19:18:49 +0000 (19:18 +0000)
commit6f2774e948429ef5552e811c28ae1f3d5c0b0618
tree5ffe65ca67b543e4ba0f8ae4a8b1522a904d8eac
parentcda30ee4ae88a7973fa4284c3654a8e934806a9e
[Cocoa] Some modern SPI changes have missing or incorrect availability annotations
https://bugs.webkit.org/show_bug.cgi?id=139940

Reviewed by Darin Adler.

* Shared/API/c/WKDeclarationSpecifiers.h: Renamed WK_DEPRECATED to WK_C_DEPRECATED.

* Shared/API/Cocoa/WKFoundation.h: Define WK_DEPRECATED when API availability is not enabled
to mean that the declaration is currently deprecated.

* Shared/API/c/WKConnectionRef.h: Updated for the renaming of the existing WK_DEPRECATED to
WK_C_DEPRECATED.
* UIProcess/API/C/WKContext.h: Ditto.
* UIProcess/API/C/WKContextConnectionClient.h: Ditto.
* UIProcess/API/C/WKContextDownloadClient.h: Ditto.
* UIProcess/API/C/WKContextHistoryClient.h: Ditto.
* UIProcess/API/C/WKContextInjectedBundleClient.h: Ditto.
* UIProcess/API/C/WKCookieManager.h: Ditto.
* UIProcess/API/C/WKDatabaseManager.h: Ditto.
* UIProcess/API/C/WKGeolocationManager.h: Ditto.
* UIProcess/API/C/WKIconDatabase.h: Ditto.
* UIProcess/API/C/WKNotificationProvider.h: Ditto.
* UIProcess/API/C/WKPageContextMenuClient.h: Ditto.
* UIProcess/API/C/WKPageFindClient.h: Ditto.
* UIProcess/API/C/WKPageFindMatchesClient.h: Ditto.
* UIProcess/API/C/WKPageFormClient.h: Ditto.
* UIProcess/API/C/WKPageUIClient.h: Ditto.
* WebProcess/InjectedBundle/API/c/WKBundle.h: Ditto.
* WebProcess/InjectedBundle/API/c/WKBundlePageBanner.h: Ditto.
* WebProcess/InjectedBundle/API/c/WKBundlePageContextMenuClient.h: Ditto.
* WebProcess/InjectedBundle/API/c/WKBundlePageDiagnosticLoggingClient.h: Ditto.
* WebProcess/InjectedBundle/API/c/WKBundlePageEditorClient.h: Ditto.
* WebProcess/InjectedBundle/API/c/WKBundlePageFormClient.h: Ditto.
* WebProcess/InjectedBundle/API/c/WKBundlePageFullScreenClient.h: Ditto.
* WebProcess/InjectedBundle/API/c/WKBundlePageLoaderClient.h: Ditto.
* WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.h: Ditto.
* WebProcess/InjectedBundle/API/c/WKBundlePagePolicyClient.h: Ditto.
* WebProcess/InjectedBundle/API/c/WKBundlePageResourceLoadClient.h: Ditto.
* WebProcess/InjectedBundle/API/c/WKBundlePageUIClient.h: Ditto.

* Shared/API/Cocoa/WKRenderingProgressEvents.h: Added missing availability annotation.

* UIProcess/API/Cocoa/WKPreferencesPrivate.h: Changed to use WK_MAC_TBA and WK_IOS_TBA for
_WKDebugOverlayRegions enum. Added availability annotations to new properties.

* UIProcess/API/Cocoa/WKProcessPoolPrivate.h: Added availability annotation to new method.

* UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h: Annotated new method, changed Mac
availability of iOS-only method to NA.

* UIProcess/API/Cocoa/WKWebViewPrivate.h: Added availability annotation to new enum value,
new property, and new method. Added deprecation annotation to one method.

* UIProcess/API/Cocoa/_WKWebsiteDataStore.h: Annotated new method.

* mac/rewrite-availability-macros.sh: Rewrite WK_DEPRECATED to NS_DEPRECATED.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
38 files changed:
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/API/Cocoa/WKFoundation.h
Source/WebKit2/Shared/API/Cocoa/WKRenderingProgressEvents.h
Source/WebKit2/Shared/API/c/WKConnectionRef.h
Source/WebKit2/Shared/API/c/WKDeclarationSpecifiers.h
Source/WebKit2/UIProcess/API/C/WKContext.h
Source/WebKit2/UIProcess/API/C/WKContextConnectionClient.h
Source/WebKit2/UIProcess/API/C/WKContextDownloadClient.h
Source/WebKit2/UIProcess/API/C/WKContextHistoryClient.h
Source/WebKit2/UIProcess/API/C/WKContextInjectedBundleClient.h
Source/WebKit2/UIProcess/API/C/WKCookieManager.h
Source/WebKit2/UIProcess/API/C/WKDatabaseManager.h
Source/WebKit2/UIProcess/API/C/WKGeolocationManager.h
Source/WebKit2/UIProcess/API/C/WKIconDatabase.h
Source/WebKit2/UIProcess/API/C/WKNotificationProvider.h
Source/WebKit2/UIProcess/API/C/WKPageContextMenuClient.h
Source/WebKit2/UIProcess/API/C/WKPageFindClient.h
Source/WebKit2/UIProcess/API/C/WKPageFindMatchesClient.h
Source/WebKit2/UIProcess/API/C/WKPageFormClient.h
Source/WebKit2/UIProcess/API/C/WKPageUIClient.h
Source/WebKit2/UIProcess/API/Cocoa/WKPreferencesPrivate.h
Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h
Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h
Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h
Source/WebKit2/UIProcess/API/Cocoa/_WKWebsiteDataStore.h
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.h
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePageBanner.h
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePageContextMenuClient.h
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePageDiagnosticLoggingClient.h
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePageEditorClient.h
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePageFormClient.h
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePageFullScreenClient.h
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePageLoaderClient.h
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.h
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePagePolicyClient.h
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePageResourceLoadClient.h
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePageUIClient.h
Source/WebKit2/mac/rewrite-availability-macros.sh