2016-01-29 Babak Shafiei <bshafiei@apple.com> Merge r194479. 2016-01-01 Jeff Miller <jeffm@apple.com> Update user-visible copyright strings to include 2016 https://bugs.webkit.org/show_bug.cgi?id=152531 Reviewed by Alexey Proskuryakov. * Info.plist: 2016-01-27 Matthew Hanson <matthew_hanson@apple.com> Merge r194559. rdar://problem/24269083 2016-01-04 Tim Horton <timothy_horton@apple.com> Turn on gesture events when building for Yosemite https://bugs.webkit.org/show_bug.cgi?id=152704 rdar://problem/24042472 Reviewed by Anders Carlsson. * Configurations/FeatureDefines.xcconfig: 2016-01-20 Matthew Hanson <matthew_hanson@apple.com> Roll out r189135 via r195066. rdar://problem/24154288 2016-01-20 Matthew Hanson <matthew_hanson@apple.com> Roll out r192200 via r195067. rdar://problem/24154288 2016-01-20 Matthew Hanson <matthew_hanson@apple.com> Merge r195067. rdar://problem/24154288 2016-01-14 Matthew Hanson <matthew_hanson@apple.com> Merge r189135. rdar://problem/24154288 2015-08-28 Eric Carlson <eric.carlson@apple.com> [Mac] Restructure WebMediaSessionManager for testing https://bugs.webkit.org/show_bug.cgi?id=148593 Reviewed by Jer Noble. * WebView/WebMediaPlaybackTargetPicker.mm: (WebMediaPlaybackTargetPicker::addPlaybackTargetPickerClient): Call WebMediaSessionManager::singleton, not WebMediaSessionManagerMac::singleton. (WebMediaPlaybackTargetPicker::removePlaybackTargetPickerClient): Ditto. (WebMediaPlaybackTargetPicker::showPlaybackTargetPicker): Ditto. (WebMediaPlaybackTargetPicker::playbackTargetPickerClientStateDidChange): Ditto. (WebMediaPlaybackTargetPicker::setPlaybackTarget): Ditto. (WebMediaPlaybackTargetPicker::invalidate): Ditto. 2015-12-17 Babak Shafiei <bshafiei@apple.com> Merge r191343. 2015-10-20 Tim Horton <timothy_horton@apple.com> Try to fix the build by disabling MAC_GESTURE_EVENTS on 10.9 and 10.10 * Configurations/FeatureDefines.xcconfig: 2015-12-17 Babak Shafiei <bshafiei@apple.com> Merge r191305. 2015-10-19 Tim Horton <timothy_horton@apple.com> Try to fix the iOS build * Configurations/FeatureDefines.xcconfig: 2015-12-16 Babak Shafiei <bshafiei@apple.com> Merge r191299. 2015-10-19 Tim Horton <timothy_horton@apple.com> Add magnify and rotate gesture event support for Mac https://bugs.webkit.org/show_bug.cgi?id=150179 <rdar://problem/8036240> Reviewed by Darin Adler. * Configurations/FeatureDefines.xcconfig: New feature flag. 2015-12-08 Harris Papadopoulos <cpapadopoulos@apple.com> Merge r188386. rdar://problem/23816165 2015-08-12 Anders Carlsson <andersca@apple.com> Use WTF::Optional in WindowFeatures https://bugs.webkit.org/show_bug.cgi?id=147956 Reviewed by Sam Weinig. * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::createWindow): 2015-12-11 Matthew Hanson <matthew_hanson@apple.com> Merge r191084. rdar://problem/23715623 2015-10-14 Zhuo Li <zachli@apple.com> Augment <input type=search>’s recent search history with the time each entry was added, in order to allow time-based clearing of search history. https://bugs.webkit.org/show_bug.cgi?id=148388. Reviewed by Darin Adler. Replace Vector<String> with Vector<RecentSearch>, where RecentSearch is a struct that consists search string and time, for recent searches in order to store additional time information. All these new RecentSearches are stored in a plist in which the structure looks like: Root { "items": { autosave name: { "searches": [ { "searchString": searchString, "date": date }, ... ] } } } * WebCoreSupport/SearchPopupMenuMac.h: * WebCoreSupport/SearchPopupMenuMac.mm: (SearchPopupMenuMac::saveRecentSearches): Call saveRecentSearches in WebCore::SearchPopupMenuCocoa. (SearchPopupMenuMac::loadRecentSearches): Call loadRecentSearches in WebCore::SearchPopupMenuCocoa. (autosaveKey): Deleted. 2015-10-17 Myles C. Maxfield <mmaxfield@apple.com> Build fix after r191260 Unreviewed. * WebView/WebView.mm: (+[WebView initialize]): 2015-10-18 Myles C. Maxfield <mmaxfield@apple.com> Stop honoring the user default "WebKitKerningAndLigaturesEnabledByDefault" https://bugs.webkit.org/show_bug.cgi?id=150287 Reviewed by Simon Fraser. * WebView/WebView.mm: (+[WebView initialize]): Deleted. 2015-10-13 Myles C. Maxfield <mmaxfield@apple.com> Split TypesettingFeatures into kerning and ligatures bools https://bugs.webkit.org/show_bug.cgi?id=150074 Reviewed by Simon Fraser. * WebView/WebView.mm: (+[WebView initialize]): 2015-12-01 Timothy Hatcher <timothy@apple.com> Merge r186724. rdar://problem/23221163 2015-07-11 Nikita Vasilyev <nvasilyev@apple.com> Web Inspector: Inspector should be able to be docked to the bottom of a narrow window https://bugs.webkit.org/show_bug.cgi?id=146871 Reviewed by Timothy Hatcher. * WebCoreSupport/WebInspectorClient.mm: 2015-10-23 Matthew Hanson <matthew_hanson@apple.com> Merge r191484. 2015-10-22 Gordon Sheridan <gordon_sheridan@apple.com> 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 <matthew_hanson@apple.com> Merge r188443. rdar://problem/22801969 2015-08-13 Tim Horton <timothy_horton@apple.com> 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 <rdar://problem/19238094> 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 <aestes@apple.com> Merge r188150, r188517, r188844, r188845, r188851, r188852, r188880, r188881, r188988, r189193, r189289, and r190133. rdar://problem/22847063 2015-08-26 Andy Estes <aestes@apple.com> [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 <lforschler@apple.com> Rollout r190745 2015-10-08 Lucas Forschler <lforschler@apple.com> Merge r188443. rdar://problem/22801969 2015-08-13 Tim Horton <timothy_horton@apple.com> 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 <rdar://problem/19238094> 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 <matthew_hanson@apple.com> Merge r189122. rdar://problem/22801996 2015-08-28 Beth Dakin <bdakin@apple.com> 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 <matthew_hanson@apple.com> Merge r188990. rdar://problem/22802029 2015-08-26 Beth Dakin <bdakin@apple.com> 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 <matthew_hanson@apple.com> Merge r189102. rdar://problem/22802034 2015-08-28 Timothy Horton <timothy_horton@apple.com> [Mac] Right-clicking on GIFs spins the UI process for a while https://bugs.webkit.org/show_bug.cgi?id=148566 <rdar://problem/22460854> Reviewed by Brady Eidson. * WebCoreSupport/WebContextMenuClient.mm: (WebContextMenuClient::shareMenuItem): Make an NSImage directly from the hit image if possible. 2015-08-14 Babak Shafiei <bshafiei@apple.com> Merge r188486. 2015-08-13 Andy Estes <aestes@apple.com> [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 <dburkart@apple.com> Merge r187910. rdar://problem/15779101 2015-08-04 Simon Fraser <simon.fraser@apple.com> Fix the build. * Plugins/WebNetscapePluginStream.h: 2015-08-06 Dana Burkart <dburkart@apple.com> Merge r187886. rdar://problem/15779101 2015-08-04 Alexey Proskuryakov <ap@apple.com> 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 <matthew_hanson@apple.com> Merge r187805. rdar://problem/21838271 2015-08-03 Myles C. Maxfield <mmaxfield@apple.com> 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 <matthew_hanson@apple.com> Merge r187806. rdar://problem/21838271 2015-08-03 Myles C. Maxfield <mmaxfield@apple.com> Unreviewed post-review feedback on r187797 The correct terminology is "registered" instead of "activated." * WebView/WebHTMLView.mm: (-[WebHTMLView _updateFontPanel]): 2015-08-04 Matthew Hanson <matthew_hanson@apple.com> Merge r187801. rdar://problem/21838271 2015-08-03 Myles C. Maxfield <mmaxfield@apple.com> Fix the Yosemite build after r187797 Unreviewed. * WebView/WebHTMLView.mm: (-[WebHTMLView _updateFontPanel]): 2015-08-04 Matthew Hanson <matthew_hanson@apple.com> Merge r187797. rdar://problem/21838271 2015-08-03 Myles C. Maxfield <mmaxfield@apple.com> REGRESSION(r184899): Crash when focusing an input element styled with a web font https://bugs.webkit.org/show_bug.cgi?id=147616 <rdar://problem/21838271> 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 <matthew_hanson@apple.com> Merge r187669. rdar://problem/16839069 2015-07-31 Brady Eidson <beidson@apple.com> REGRESSION (r174791): Returning a zombie NSImage from sharingService:transitionImageForShareItem:contentRect: <rdar://problem/22060183> 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 ==