Changeset 207934 in webkit
- Timestamp:
- Oct 26, 2016 10:17:34 PM (7 years ago)
- Location:
- trunk/Source/WebKit/mac
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/mac/ChangeLog
r207928 r207934 1 2016-10-26 Dan Bernstein <mitz@apple.com> 2 3 [Xcode] WebKit fails to build when CLANG_WARN_DOCUMENTATION_COMMENTS is enabled 4 https://bugs.webkit.org/show_bug.cgi?id=164048 5 6 Reviewed by Tim Horton. 7 8 * Configurations/Base.xcconfig: Enabled CLANG_WARN_DOCUMENTATION_COMMENTS. 9 * Configurations/WebKitLegacy.xcconfig: Made the compiler treat the icu headers as system 10 headers. 11 12 * History/WebBackForwardList.h: Fixed parameter name in @param entry. 13 * Misc/WebDownload.h: Removed empty entries. 14 * Misc/WebIconDatabase.h: Remove incorrect @param entries. 15 * Misc/WebQuotaManager.h: Added missing parameter names in @param entries. 16 * WebView/WebFrameLoadDelegate.h: Corrected parameter names in @param entries. 17 * WebView/WebFrameViewPrivate.h: Changed incorrect @result to @abstract. 18 * WebView/WebPolicyDelegate.h: Fixed parameter name and removed incorrect @param entries. 19 * WebView/WebPreferences.h: Changed @method to @property in a couple of places. 20 * WebView/WebResourceLoadDelegate.h: Fixed parameter names. 21 * WebView/WebUIDelegate.h: Filled in two empty @param entries. Added missing parameter name, 22 Fixed a typo and removed empty @discussion entry. Fixed some parameter names. 23 * WebView/WebUIDelegatePrivate.h: Fixed parameter names. 24 * WebView/WebView.h: Changed @method to @property in a couple of places. 25 * WebView/WebViewPrivate.h: Fixed parameter names, changed incorrect @result to @abstract. 26 1 27 2016-10-26 Brian Burg <bburg@apple.com> 2 28 -
trunk/Source/WebKit/mac/Configurations/Base.xcconfig
r204526 r207934 70 70 GCC_WARN_UNUSED_FUNCTION = YES; 71 71 GCC_WARN_UNUSED_VARIABLE = YES; 72 CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 72 73 OTHER_MIGFLAGS = -F$(BUILT_PRODUCTS_DIR); 73 74 PREBINDING = NO; -
trunk/Source/WebKit/mac/Configurations/WebKitLegacy.xcconfig
r204627 r207934 52 52 FRAMEWORK_SEARCH_PATHS[sdk=macosx*] = $(WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR) "$(UMBRELLA_FRAMEWORKS_DIR)" $(inherited); 53 53 54 OTHER_CFLAGS[sdk=macosx*] = $(OTHER_CFLAGS) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/ApplicationServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Quartz.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks ;54 OTHER_CFLAGS[sdk=macosx*] = $(OTHER_CFLAGS) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/ApplicationServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Quartz.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks -isystem "$(WEBCORE_PRIVATE_HEADERS_DIR)/icu"; 55 55 OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS); 56 56 … … 59 59 60 60 WEBKITADDITIONS_HEADER_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR)/usr/local/include/WebKitAdditions $(SDKROOT)/usr/local/include/WebKitAdditions; 61 HEADER_SEARCH_PATHS = $(WEBKITSYSTEMINTERFACE_STATIC_LIBRARY_HEADERS_FOLDER_PATH) "$(WEBCORE_PRIVATE_HEADERS_DIR)/ForwardingHeaders" "$( WEBCORE_PRIVATE_HEADERS_DIR)/icu" "$(BUILT_PRODUCTS_DIR)/DerivedSources/WebKitLegacy" "$(BUILT_PRODUCTS_DIR)/usr/local/include" $(WEBKITADDITIONS_HEADER_SEARCH_PATHS) $(HEADER_SEARCH_PATHS);61 HEADER_SEARCH_PATHS = $(WEBKITSYSTEMINTERFACE_STATIC_LIBRARY_HEADERS_FOLDER_PATH) "$(WEBCORE_PRIVATE_HEADERS_DIR)/ForwardingHeaders" "$(BUILT_PRODUCTS_DIR)/DerivedSources/WebKitLegacy" "$(BUILT_PRODUCTS_DIR)/usr/local/include" $(WEBKITADDITIONS_HEADER_SEARCH_PATHS) $(HEADER_SEARCH_PATHS); 62 62 INFOPLIST_FILE = mac/Info.plist; 63 63 INSTALL_PATH = $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks; -
trunk/Source/WebKit/mac/History/WebBackForwardList.h
r177484 r207934 49 49 @method addItem: 50 50 @abstract Adds an entry to the list. 51 @param entryThe entry to add.51 @param item The entry to add. 52 52 @discussion The added entry is inserted immediately after the current entry. 53 53 If the current position in the list is not at the end of the list, elements in the -
trunk/Source/WebKit/mac/Misc/WebDownload.h
r194472 r207934 75 75 /*! 76 76 @method downloadWindowForAuthenticationSheet: 77 @abstract78 @param79 @result80 77 */ 81 78 - (NSWindow *)downloadWindowForAuthenticationSheet:(WebDownload *)download; -
trunk/Source/WebKit/mac/Misc/WebIconDatabase.h
r205592 r207934 83 83 @method iconForURL:withSize: 84 84 @discussion Calls iconForURL:withSize:cache: with YES for cache. 85 @param URL86 @param size87 85 */ 88 86 - (NSImage *)iconForURL:(NSString *)URL withSize:(NSSize)size; … … 93 91 Usually called by a UI element to determine if a site URL has an associated icon. 94 92 Often called by the observer of WebIconChangedNotification after the notification is sent. 95 @param URL96 @param size97 93 @param cache If yes, caches the returned image in memory if not already cached 98 94 */ … … 103 99 @method iconURLForURL:withSize:cache: 104 100 @discussion Returns an icon URL for a web site URL from memory or disk. nil if none is found. 105 @param URL106 101 */ 107 102 - (NSString *)iconURLForURL:(NSString *)URL; … … 110 105 /*! 111 106 @method defaultIconWithSize: 112 @param size113 107 */ 114 108 - (NSImage *)defaultIconWithSize:(NSSize)size; … … 119 113 @method retainIconForURL: 120 114 @abstract Increments the retain count of the icon. 121 @param URL122 115 */ 123 116 - (void)retainIconForURL:(NSString *)URL; … … 126 119 @method releaseIconForURL: 127 120 @abstract Decrements the retain count of the icon. 128 @param URL129 121 */ 130 122 - (void)releaseIconForURL:(NSString *)URL; -
trunk/Source/WebKit/mac/Misc/WebQuotaManager.h
r95901 r207934 34 34 /*! 35 35 @method initWithOrigin: 36 @param The security origin this will manage.36 @param origin The security origin this will manage. 37 37 @result A new WebQuotaManager object. 38 38 */ … … 59 59 /*! 60 60 @method setQuota: 61 @param Sets a new quota, in bytes,on this security origin.61 @param quota a new quota, in bytes, to set on this security origin. 62 62 */ 63 63 - (void)setQuota:(unsigned long long)quota; -
trunk/Source/WebKit/mac/WebView/WebFrameLoadDelegate.h
r186124 r207934 58 58 @method webView:didStartProvisionalLoadForFrame: 59 59 @abstract Notifies the delegate that the provisional load of a frame has started 60 @param webViewThe WebView sending the message60 @param sender The WebView sending the message 61 61 @param frame The frame for which the provisional load has started 62 62 @discussion This method is called after the provisional data source of a frame … … 68 68 @method webView:didReceiveServerRedirectForProvisionalLoadForFrame: 69 69 @abstract Notifies the delegate that a server redirect occurred during the provisional load 70 @param webViewThe WebView sending the message70 @param sender The WebView sending the message 71 71 @param frame The frame for which the redirect occurred 72 72 */ … … 76 76 @method webView:didFailProvisionalLoadWithError:forFrame: 77 77 @abstract Notifies the delegate that the provisional load has failed 78 @param webViewThe WebView sending the message78 @param sender The WebView sending the message 79 79 @param error The error that occurred 80 80 @param frame The frame for which the error occurred … … 87 87 @method webView:didCommitLoadForFrame: 88 88 @abstract Notifies the delegate that the load has changed from provisional to committed 89 @param webViewThe WebView sending the message89 @param sender The WebView sending the message 90 90 @param frame The frame for which the load has committed 91 91 @discussion This method is called after the provisional data source has become the … … 102 102 @method webView:didReceiveTitle:forFrame: 103 103 @abstract Notifies the delegate that the page title for a frame has been received 104 @param webViewThe WebView sending the message104 @param sender The WebView sending the message 105 105 @param title The new page title 106 106 @param frame The frame for which the title has been received … … 123 123 @method webView:didFinishLoadForFrame: 124 124 @abstract Notifies the delegate that the committed load of a frame has completed 125 @param webViewThe WebView sending the message125 @param sender The WebView sending the message 126 126 @param frame The frame that finished loading 127 127 @discussion This method is called after the committed data source of a frame has successfully loaded … … 134 134 @method webView:didFailLoadWithError:forFrame: 135 135 @abstract Notifies the delegate that the committed load of a frame has failed 136 @param webViewThe WebView sending the message136 @param sender The WebView sending the message 137 137 @param error The error that occurred 138 138 @param frame The frame that failed to load … … 144 144 @method webView:didChangeLocationWithinPageForFrame: 145 145 @abstract Notifies the delegate that the scroll position in a frame has changed 146 @param webViewThe WebView sending the message146 @param sender The WebView sending the message 147 147 @param frame The frame that scrolled 148 148 @discussion This method is called when anchors within a page have been clicked. … … 153 153 @method webView:willPerformClientRedirectToURL:delay:fireDate:forFrame: 154 154 @abstract Notifies the delegate that a frame will perform a client-side redirect 155 @param webViewThe WebView sending the message155 @param sender The WebView sending the message 156 156 @param URL The URL to be redirected to 157 157 @param seconds Seconds in which the redirect will happen … … 166 166 @method webView:didCancelClientRedirectForFrame: 167 167 @abstract Notifies the delegate that a pending client-side redirect has been cancelled 168 @param webViewThe WebView sending the message168 @param sender The WebView sending the message 169 169 @param frame The frame for which the pending redirect was cancelled 170 170 @discussion A client-side redirect can be cancelled if a frame changes location before the timeout. … … 175 175 @method webView:willCloseFrame: 176 176 @abstract Notifies the delegate that a frame will be closed 177 @param webViewThe WebView sending the message177 @param sender The WebView sending the message 178 178 @param frame The frame that will be closed 179 179 @discussion This method is called right before WebKit is done with the frame -
trunk/Source/WebKit/mac/WebView/WebFrameViewPrivate.h
r168047 r207934 80 80 /*! 81 81 @method _setCustomScrollViewClass: 82 @ result Switches the WebFrameView's scroll view class, this class needs to be a subclass of WebDynamicScrollBarsView.82 @abstract Switches the WebFrameView's scroll view class, this class needs to be a subclass of WebDynamicScrollBarsView. 83 83 Passing nil will switch back to the default WebDynamicScrollBarsView class. 84 84 */ -
trunk/Source/WebKit/mac/WebView/WebPolicyDelegate.h
r186124 r207934 162 162 @param actionInformation Dictionary that describes the action that triggered this navigation. 163 163 @param request The request for the proposed navigation 164 @param frame The frame in which the navigation is taking place164 @param frameName The frame in which the navigation is taking place 165 165 @param listener The object to call when the decision is made 166 166 @discussion This method is provided so that modified clicks on a targetted link which … … 195 195 @method webView:unableToImplementPolicy:error:forURL:inFrame: 196 196 @discussion Called when a WebPolicy could not be implemented. It is up to the client to display appropriate feedback. 197 @param policy The policy that could not be implemented.198 197 @param error The error that caused the policy to not be implemented. 199 @param URL The URL of the resource for which a particular action was requested but failed.200 198 @param frame The frame in which the policy could not be implemented. 201 199 */ -
trunk/Source/WebKit/mac/WebView/WebPreferences.h
r184946 r207934 94 94 95 95 /*! 96 @ methodidentifier96 @property identifier 97 97 @result Returns the identifier for this WebPreferences. 98 98 */ … … 145 145 146 146 /*! 147 @ methodminimumLogicalFontSize147 @property minimumLogicalFontSize 148 148 */ 149 149 @property (nonatomic) int minimumLogicalFontSize; -
trunk/Source/WebKit/mac/WebView/WebResourceLoadDelegate.h
r186124 r207934 50 50 /*! 51 51 @method webView:identifierForInitialRequest:fromDataSource: 52 @param webViewThe WebView sending the message.52 @param sender The WebView sending the message. 53 53 @param request The request about to be sent. 54 54 @param dataSource The datasource that initiated the load. … … 67 67 @discussion This message is sent before a load is initiated. The request may be modified 68 68 as necessary by the receiver. 69 @param webViewThe WebView sending the message.69 @param sender The WebView sending the message. 70 70 @param identifier An identifier that can be used to track the progress of a resource load across 71 71 multiple call backs. … … 100 100 @method webView:resource:didReceiveResponse:fromDataSource: 101 101 @abstract This message is sent after a response has been received for this load. 102 @param webViewThe WebView sending the message.102 @param sender The WebView sending the message. 103 103 @param identifier An identifier that can be used to track the progress of a resource load across 104 104 multiple call backs. … … 115 115 @method webView:resource:didReceiveContentLength:fromDataSource: 116 116 @discussion Multiple of these messages may be sent as data arrives. 117 @param webViewThe WebView sending the message.117 @param sender The WebView sending the message. 118 118 @param identifier An identifier that can be used to track the progress of a resource load across 119 119 multiple call backs. … … 126 126 @method webView:resource:didFinishLoadingFromDataSource: 127 127 @discussion This message is sent after a load has successfully completed. 128 @param webViewThe WebView sending the message.128 @param sender The WebView sending the message. 129 129 @param identifier An identifier that can be used to track the progress of a resource load across 130 130 multiple call backs. … … 136 136 @method webView:resource:didFailLoadingWithError:fromDataSource: 137 137 @discussion This message is sent after a load has failed to load due to an error. 138 @param webViewThe WebView sending the message.138 @param sender The WebView sending the message. 139 139 @param identifier An identifier that can be used to track the progress of a resource load across 140 140 multiple call backs. … … 147 147 @method webView:plugInFailedWithError:dataSource: 148 148 @discussion Called when a plug-in is not found, fails to load or is not available for some reason. 149 @param webViewThe WebView sending the message.149 @param sender The WebView sending the message. 150 150 @param error The plug-in error. In the userInfo dictionary of the error, the object for the 151 151 NSErrorFailingURLKey key is a URL string of the SRC attribute, the object for the WebKitErrorPlugInNameKey -
trunk/Source/WebKit/mac/WebView/WebUIDelegate.h
r186124 r207934 126 126 @method chooseFilename: 127 127 @abstract Call this method to return a filename from the file open panel. 128 @param fileName 128 @param fileName the path of the selected file 129 129 */ 130 130 - (void)chooseFilename:(NSString *)fileName; … … 133 133 @method chooseFilenames: 134 134 @abstract Call this method to return an array of filenames from the file open panel. 135 @param fileNames 135 @param fileNames an array of paths of selected files 136 136 */ 137 137 - (void)chooseFilenames:(NSArray *)fileNames WEBKIT_AVAILABLE_MAC(10_6); … … 221 221 @method webViewFocus: 222 222 @abstract Focus the current window (i.e. makeKeyAndOrderFront:). 223 @param The WebView sending the delegate method.223 @param sender The WebView sending the delegate method. 224 224 @discussion Clients showing multiple views in one window may want to 225 225 also do something to focus the one corresponding to this WebView. … … 354 354 @method webViewFrame: 355 355 @param sender The WebView sending the delegate method. 356 @abstract REturn the window's frame rect 357 @discussion 356 @abstract Return the window's frame rect 358 357 */ 359 358 - (NSRect)webViewFrame:(WebView *)sender; … … 388 387 @abstract Display a JavaScript text input panel. 389 388 @param sender The WebView sending the delegate method. 390 @param messageThe message to display.389 @param prompt The message to display. 391 390 @param defaultText The initial text for the text entry area. 392 391 @param frame The WebFrame whose JavaScript initiated this call. … … 529 528 @method webView:printFrameView: 530 529 @abstract Informs that a WebFrameView needs to be printed 531 @param webViewThe WebView sending the delegate method530 @param sender The WebView sending the delegate method 532 531 @param frameView The WebFrameView needing to be printed 533 532 @discussion This method is called when a script or user requests the page to be printed. … … 543 542 /*! 544 543 @method webViewHeaderHeight: 545 @param webViewThe WebView sending the delegate method544 @param sender The WebView sending the delegate method 546 545 @abstract Reserve a height for the printed page header. 547 546 @result The height to reserve for the printed page header, return 0.0 to not reserve any space for a header. … … 552 551 /*! 553 552 @method webViewFooterHeight: 554 @param webViewThe WebView sending the delegate method553 @param sender The WebView sending the delegate method 555 554 @abstract Reserve a height for the printed page footer. 556 555 @result The height to reserve for the printed page footer, return 0.0 to not reserve any space for a footer. … … 561 560 /*! 562 561 @method webView:drawHeaderInRect: 563 @param webViewThe WebView sending the delegate method562 @param sender The WebView sending the delegate method 564 563 @param rect The NSRect reserved for the header of the page 565 564 @abstract The delegate should draw a header for the sender in the supplied rect. … … 569 568 /*! 570 569 @method webView:drawFooterInRect: 571 @param webViewThe WebView sending the delegate method570 @param sender The WebView sending the delegate method 572 571 @param rect The NSRect reserved for the footer of the page 573 572 @abstract The delegate should draw a footer for the sender in the supplied rect. -
trunk/Source/WebKit/mac/WebView/WebUIDelegatePrivate.h
r198900 r207934 248 248 /*! 249 249 @method webView:decidePolicyForGeolocationRequestFromOrigin:frame:listener: 250 @abstract251 250 @param webView The WebView sending the delegate method. 252 251 @param origin The security origin that would like to use Geolocation. … … 268 267 @method webView:printFrame: 269 268 @abstract Informs that a WebFrame needs to be printed 270 @param webViewThe WebView sending the delegate method271 @param frame ViewThe WebFrame needing to be printed269 @param sender The WebView sending the delegate method 270 @param frame The WebFrame needing to be printed 272 271 @discussion This method is called when a script or user requests the page to be printed. 273 272 */ -
trunk/Source/WebKit/mac/WebView/WebView.h
r191213 r207934 363 363 364 364 /*! 365 @ methodmediaStyle365 @property mediaStyle 366 366 @abstract The media style for the WebView. 367 367 @discussion The mediaStyle will override the normal value … … 517 517 518 518 /*! 519 @ methodshouldUpdateWhileOffscreen519 @property shouldUpdateWhileOffscreen 520 520 @abstract Whether the WebView is always updated even when it is not in a window that is currently visible. 521 521 @discussion If set to NO, then whenever the web view is not in a visible window, updates to the web page will not necessarily be rendered in the view. -
trunk/Source/WebKit/mac/WebView/WebViewPrivate.h
r207512 r207934 492 492 @param viewClass The WebDocumentView class to use to render data for a given MIME type. 493 493 @param representationClass The WebDocumentRepresentation class to use to represent data of the given MIME type. 494 @param scheme The URL scheme to represent with an object of the given class.494 @param URLScheme The URL scheme to represent with an object of the given class. 495 495 */ 496 496 + (void)_registerViewClass:(Class)viewClass representationClass:(Class)representationClass forURLScheme:(NSString *)URLScheme; … … 575 575 /*! 576 576 @method setAlwaysShowVerticalScroller: 577 @ result Forces the vertical scroller to be visible if flag is YES, otherwise577 @abstract Forces the vertical scroller to be visible if flag is YES, otherwise 578 578 if flag is NO the scroller with automatically show and hide as needed. 579 579 */ … … 588 588 /*! 589 589 @method setAlwaysShowHorizontalScroller: 590 @ result Forces the horizontal scroller to be visible if flag is YES, otherwise590 @abstract Forces the horizontal scroller to be visible if flag is YES, otherwise 591 591 if flag is NO the scroller with automatically show and hide as needed. 592 592 */ … … 795 795 /*! 796 796 @method setCSSAnimationsSuspended 797 @param paused YES to suspend animations, NO to resume animations.797 @param suspended YES to suspend animations, NO to resume animations. 798 798 @discussion Suspends or resumes all running animations and transitions in the page. 799 799 */
Note: See TracChangeset
for help on using the changeset viewer.