2015-10-23 Matthew Hanson Merge r191484. 2015-10-22 Gordon Sheridan Fix build for clang-700.0.59.5 by replacing deprecated calls to convert points between screen and window coordinates for Mac. https://bugs.webkit.org/show_bug.cgi?id=150379 Reviewed by Andy Estes. * WebView/WebHTMLView.mm: (-[WebHTMLView characterIndexForPoint:]): Convert point to rect, and replace call to deprecated convertScreenToBase: with convertRectFromScreen:. (-[WebHTMLView firstRectForCharacterRange:]): Replace call to deprecated convertBaseToScreen: with convertRectToScreen:. 2015-10-13 Matthew Hanson Merge r188443. rdar://problem/22801969 2015-08-13 Tim Horton Performing a Lookup on wrapped text puts the popover arrow in the wrong place (off to the right) https://bugs.webkit.org/show_bug.cgi?id=148012 Reviewed by Simon Fraser. * WebView/WebView.mm: (-[WebView _animationControllerForDictionaryLookupPopupInfo:]): (-[WebView _showDictionaryLookupPopup:]): Adopt the new SPI, handing it the first text rect, instead of having it guess where to put the popover. Also, null-check the TextIndicator. 2015-10-08 Andy Estes Merge r188150, r188517, r188844, r188845, r188851, r188852, r188880, r188881, r188988, r189193, r189289, and r190133. rdar://problem/22847063 2015-08-26 Andy Estes [Content Filtering] Determine navigation and content policy before continuing to filter a load https://bugs.webkit.org/show_bug.cgi?id=148506 Reviewed by Brady Eidson. Deleted parts of r188486 and r188851. * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::convertMainResourceLoadToDownload): (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad): 2015-10-08 Lucas Forschler Rollout r190745 2015-10-08 Lucas Forschler Merge r188443. rdar://problem/22801969 2015-08-13 Tim Horton Performing a Lookup on wrapped text puts the popover arrow in the wrong place (off to the right) https://bugs.webkit.org/show_bug.cgi?id=148012 Reviewed by Simon Fraser. * WebView/WebView.mm: (-[WebView _animationControllerForDictionaryLookupPopupInfo:]): (-[WebView _showDictionaryLookupPopup:]): Adopt the new SPI, handing it the first text rect, instead of having it guess where to put the popover. Also, null-check the TextIndicator. 2015-10-02 Matthew Hanson Merge r189122. rdar://problem/22801996 2015-08-28 Beth Dakin Crash in WK1 when clicking on a PDF inside an iframe https://bugs.webkit.org/show_bug.cgi?id=148585 -and corresponding- rdar://problem/22165194 Reviewed by Tim Horton. Only handle WebHTMLViews. * WebView/WebImmediateActionController.mm: (-[WebImmediateActionController immediateActionRecognizerWillPrepare:]): (-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]): 2015-10-02 Matthew Hanson Merge r188990. rdar://problem/22802029 2015-08-26 Beth Dakin REGRESSION: Safari navigates after a cancelled force click https://bugs.webkit.org/show_bug.cgi?id=148491 -and corresponding- rdar://problem/22394323 Reviewed by Tim Horton. Use the current stage to determine which type of cancel this is. * WebView/WebImmediateActionController.mm: (-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]): 2015-10-02 Matthew Hanson Merge r189102. rdar://problem/22802034 2015-08-28 Timothy Horton [Mac] Right-clicking on GIFs spins the UI process for a while https://bugs.webkit.org/show_bug.cgi?id=148566 Reviewed by Brady Eidson. * WebCoreSupport/WebContextMenuClient.mm: (WebContextMenuClient::shareMenuItem): Make an NSImage directly from the hit image if possible. 2015-08-14 Babak Shafiei Merge r188486. 2015-08-13 Andy Estes [Cocoa] Downloads do not start if policy decision is made asynchronously https://bugs.webkit.org/show_bug.cgi?id=147985 Reviewed by Brady Eidson. * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::convertMainResourceLoadToDownload): Started a new download if the main resource loader is not calling didReceiveResponse. 2015-08-06 Dana Burkart Merge r187910. rdar://problem/15779101 2015-08-04 Simon Fraser Fix the build. * Plugins/WebNetscapePluginStream.h: 2015-08-06 Dana Burkart Merge r187886. rdar://problem/15779101 2015-08-04 Alexey Proskuryakov Implement NPAPI redirect handling https://bugs.webkit.org/show_bug.cgi?id=138675 rdar://problem/15779101 Patch by Jeffrey Pfau, updated and tweaked by me. Reviewed by Anders Carlsson. * Plugins/Hosted/HostedNetscapePluginStream.h: (WebKit::HostedNetscapePluginStream::streamID): * Plugins/Hosted/HostedNetscapePluginStream.mm: (WebKit::HostedNetscapePluginStream::didFinishLoading): (WebKit::HostedNetscapePluginStream::willSendRequest): (WebKit::HostedNetscapePluginStream::didReceiveResponse): * Plugins/WebNetscapePluginStream.h: * Plugins/WebNetscapePluginStream.mm: (WebNetscapePluginStream::stop): (WebNetscapePluginStream::willSendRequest): (WebNetscapePluginStream::didReceiveResponse): 2015-08-04 Matthew Hanson Merge r187805. rdar://problem/21838271 2015-08-03 Myles C. Maxfield Clean up casts between NSFont*s and CTFontRefs https://bugs.webkit.org/show_bug.cgi?id=147618 Reviewed by Mitz Pettel For toll free bridged types, it makes more sense to do a C-style cast, than jump through hoops for older compilers. * WebView/WebHTMLView.mm: (-[WebHTMLView _updateFontPanel]): 2015-08-04 Matthew Hanson Merge r187806. rdar://problem/21838271 2015-08-03 Myles C. Maxfield Unreviewed post-review feedback on r187797 The correct terminology is "registered" instead of "activated." * WebView/WebHTMLView.mm: (-[WebHTMLView _updateFontPanel]): 2015-08-04 Matthew Hanson Merge r187801. rdar://problem/21838271 2015-08-03 Myles C. Maxfield Fix the Yosemite build after r187797 Unreviewed. * WebView/WebHTMLView.mm: (-[WebHTMLView _updateFontPanel]): 2015-08-04 Matthew Hanson Merge r187797. rdar://problem/21838271 2015-08-03 Myles C. Maxfield REGRESSION(r184899): Crash when focusing an input element styled with a web font https://bugs.webkit.org/show_bug.cgi?id=147616 Reviewed by Dean Jackson. NSFontManager can't handle web fonts. We used to pass null to NSFontManager in this case, but r184899 changed that. * WebView/WebHTMLView.mm: (-[WebHTMLView _updateFontPanel]): 2015-08-03 Matthew Hanson Merge r187669. rdar://problem/16839069 2015-07-31 Brady Eidson REGRESSION (r174791): Returning a zombie NSImage from sharingService:transitionImageForShareItem:contentRect: and https://bugs.webkit.org/show_bug.cgi?id=147497 Reviewed by Tim Horton. * WebCoreSupport/WebContextMenuClient.mm: (WebContextMenuClient::imageForCurrentSharingServicePickerItem): Don't return what is basically a temporary NSImage. Instead do a [[retain] autorelease] on it while still valid. == Rolled over to ChangeLog-2015-07-23 ==