1 2015-08-26 Andy Estes <aestes@apple.com>
3 [Content Filtering] Determine navigation and content policy before continuing to filter a load
4 https://bugs.webkit.org/show_bug.cgi?id=148506
6 Reviewed by Brady Eidson.
8 Deleted parts of r188486 and r188851.
10 * WebCoreSupport/WebFrameLoaderClient.h:
11 * WebCoreSupport/WebFrameLoaderClient.mm:
12 (WebFrameLoaderClient::convertMainResourceLoadToDownload):
13 (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
15 2015-08-31 Chris Dumez <cdumez@apple.com>
17 Range.detach() / NodeIterator.detach() should be no-ops as per the latest DOM specification
18 https://bugs.webkit.org/show_bug.cgi?id=148454
20 Reviewed by Ryosuke Niwa.
22 Update Range API call sites to reflect changes.
24 * WebView/WebImmediateActionController.mm:
25 (dictionaryPopupInfoForRange):
27 2015-08-28 Myles C. Maxfield <mmaxfield@apple.com>
29 Migrate GraphicsContexts from pointers to references
30 https://bugs.webkit.org/show_bug.cgi?id=148561
32 Reviewed by Tim Horton.
34 * Misc/WebKitNSStringExtras.mm:
35 (-[NSString _web_drawAtPoint:font:textColor:allowingFontSmoothing:]):
36 * WebCoreSupport/WebContextMenuClient.mm:
37 (WebContextMenuClient::imageForCurrentSharingServicePickerItem):
38 * WebView/WebFrame.mm:
39 (-[WebFrame _drawRect:contentsOnly:]):
41 2015-08-28 Eric Carlson <eric.carlson@apple.com>
43 [Mac] Restructure WebMediaSessionManager for testing
44 https://bugs.webkit.org/show_bug.cgi?id=148593
46 Reviewed by Jer Noble.
48 * WebView/WebMediaPlaybackTargetPicker.mm:
49 (WebMediaPlaybackTargetPicker::addPlaybackTargetPickerClient): Call WebMediaSessionManager::singleton,
50 not WebMediaSessionManagerMac::singleton.
51 (WebMediaPlaybackTargetPicker::removePlaybackTargetPickerClient): Ditto.
52 (WebMediaPlaybackTargetPicker::showPlaybackTargetPicker): Ditto.
53 (WebMediaPlaybackTargetPicker::playbackTargetPickerClientStateDidChange): Ditto.
54 (WebMediaPlaybackTargetPicker::setPlaybackTarget): Ditto.
55 (WebMediaPlaybackTargetPicker::invalidate): Ditto.
57 2015-08-28 Jer Noble <jer.noble@apple.com>
59 [iOS] Add WebKit/WebKit2 settings to control automatic data loading
60 https://bugs.webkit.org/show_bug.cgi?id=148579
62 Reviewed by Anders Carlsson.
64 Add a WebPreference to allow clients to control whether media is allowed to load automatically.
65 Remove the (now unnecessary) WebFrame property to do the same.
67 * WebView/WebFrame.mm:
68 (-[WebFrame mediaDataLoadsAutomatically]): Deleted.
69 (-[WebFrame setMediaDataLoadsAutomatically:]): Deleted.
70 * WebView/WebFramePrivate.h:
71 * WebView/WebPreferenceKeysPrivate.h:
72 * WebView/WebPreferences.mm:
73 (+[WebPreferences initialize]):
74 (-[WebPreferences mediaDataLoadsAutomatically]):
75 (-[WebPreferences setMediaDataLoadsAutomatically:]):
76 * WebView/WebPreferencesPrivate.h:
78 (-[WebView _preferencesChanged:]):
80 2015-08-28 Beth Dakin <bdakin@apple.com>
82 Crash in WK1 when clicking on a PDF inside an iframe
83 https://bugs.webkit.org/show_bug.cgi?id=148585
85 rdar://problem/22165194
87 Reviewed by Tim Horton.
89 Only handle WebHTMLViews.
90 * WebView/WebImmediateActionController.mm:
91 (-[WebImmediateActionController immediateActionRecognizerWillPrepare:]):
92 (-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]):
94 2015-08-28 Jer Noble <jer.noble@apple.com>
96 [iOS] Make the AllowsInlineMediaPlayback preference work in WebKit / WebKit2.
97 https://bugs.webkit.org/show_bug.cgi?id=147512
99 Reviewed by Anders Carlsson.
101 Add a new preference, inlineMediaPlaybackRequiresPlaysInlineAttribute, which defaults to
102 NO on iPad and YES on iPhone and iPod.
104 * WebView/WebPreferenceKeysPrivate.h:
105 * WebView/WebPreferences.mm:
106 (+[WebPreferences initialize]): Default the value of WebKitAllowsInlineMediaPlaybackPreferenceKey to
107 YES on iPad and NO on iPhone and iPod.
108 (-[WebPreferences inlineMediaPlaybackRequiresPlaysInlineAttribute]):
109 (-[WebPreferences setInlineMediaPlaybackRequiresPlaysInlineAttribute:]):
110 * WebView/WebPreferencesPrivate.h:
111 * WebView/WebView.mm:
112 (-[WebView _preferencesChanged:]):
114 2015-08-28 Timothy Horton <timothy_horton@apple.com>
116 [Mac] Right-clicking on GIFs spins the UI process for a while
117 https://bugs.webkit.org/show_bug.cgi?id=148566
118 <rdar://problem/22460854>
120 Reviewed by Brady Eidson.
122 * WebCoreSupport/WebContextMenuClient.mm:
123 (WebContextMenuClient::shareMenuItem):
124 Make an NSImage directly from the hit image if possible.
126 2015-08-27 Timothy Horton <timothy_horton@apple.com>
128 Factor out Lookup invocation
129 https://bugs.webkit.org/show_bug.cgi?id=148509
131 Reviewed by Anders Carlsson.
133 * WebView/DictionaryPopupInfo.h: Removed.
136 * WebView/WebHTMLView.mm:
137 (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
138 DictionaryPopupInfo keeps a TextIndicatorData, not a TextIndicator.
140 * WebView/WebImmediateActionController.mm:
141 (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
142 (dictionaryPopupInfoForRange):
143 (-[WebImmediateActionController _animationControllerForText]):
144 * WebView/WebView.mm:
145 (-[WebView _prepareForDictionaryLookup]):
146 (-[WebView _animationControllerForDictionaryLookupPopupInfo:]):
147 (-[WebView _setTextIndicator:withLifetime:]):
148 (-[WebView _showDictionaryLookupPopup:]):
149 * WebView/WebViewInternal.h:
150 Move a bunch of code to WebCore.
151 Factor some that has to stay out into _prepareForDictionaryLookup.
153 2015-08-27 Brian Burg <bburg@apple.com>
155 Web Inspector: FrontendChannel should know its own connection type
156 https://bugs.webkit.org/show_bug.cgi?id=148482
158 Reviewed by Joseph Pecoraro.
160 * WebCoreSupport/WebInspectorClient.h: add connectionType().
162 2015-08-26 Beth Dakin <bdakin@apple.com>
164 REGRESSION: Safari navigates after a cancelled force click
165 https://bugs.webkit.org/show_bug.cgi?id=148491
167 rdar://problem/22394323
169 Reviewed by Tim Horton.
171 Use the current stage to determine which type of cancel this is.
172 * WebView/WebImmediateActionController.mm:
173 (-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]):
175 2015-08-26 Tim Horton <timothy_horton@apple.com>
177 Layout Test platform/mac/fast/events/content-inset-hit-testing-in-frame.html is flaky
178 https://bugs.webkit.org/show_bug.cgi?id=148409
180 Reviewed by Beth Dakin.
182 * WebView/WebDynamicScrollBarsView.mm:
183 (-[WebDynamicScrollBarsView setContentInsets:]):
184 Explicitly force our NSScrollView to lay out after updating
185 content insets. We depend on this happening synchronously (specifically,
186 we need our frame/bounds change callbacks to fire), because the layout
187 which will happen subsequently needs up-to-date information in order to
188 correctly a) enable scrollbars and then b) update the scroll position.
190 2015-08-23 Andy Estes <aestes@apple.com>
192 [Content Filtering] REGRESSION (r182356): Provisional URL is incorrect in didReceiveServerRedirectForProvisionalLoadForFrame when Content Filtering is enabled
193 https://bugs.webkit.org/show_bug.cgi?id=147872
194 rdar://problem/22044000
196 Reviewed by Dan Bernstein.
198 * WebCoreSupport/WebFrameLoaderClient.h:
199 * WebCoreSupport/WebFrameLoaderClient.mm:
200 (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad): Set provisionalURL using the URL argument.
202 2015-08-23 Geoffrey Garen <ggaren@apple.com>
204 Unreviewed, rolling back in r188803.
206 "Debugger's VM should never be null"
207 https://bugs.webkit.org/show_bug.cgi?id=148341
208 http://trac.webkit.org/changeset/188803
210 * WebView/WebScriptDebugger.mm:
212 (WebScriptDebugger::WebScriptDebugger):
214 2015-08-21 Commit Queue <commit-queue@webkit.org>
216 Unreviewed, rolling out r188792 and r188803.
217 https://bugs.webkit.org/show_bug.cgi?id=148347
219 broke lots of tests, ggaren is going to investigate and reland
220 (Requested by thorton on #webkit).
224 "Unify code paths for manually deleting all code"
225 https://bugs.webkit.org/show_bug.cgi?id=148280
226 http://trac.webkit.org/changeset/188792
228 "Debugger's VM should never be null"
229 https://bugs.webkit.org/show_bug.cgi?id=148341
230 http://trac.webkit.org/changeset/188803
232 2015-08-21 Chris Dumez <cdumez@apple.com>
234 document.getElementsByTagName should return an HTMLCollection
235 https://bugs.webkit.org/show_bug.cgi?id=110611
237 Reviewed by Darin Adler.
239 * WebView/WebFrame.mm:
240 (-[WebFrame _documentFragmentWithMarkupString:baseURLString:]):
241 Use .ptr() as createFragmentFromMarkup() now returns a
242 Ref<> instead of a RefPtr<>.
244 2015-08-21 Anders Carlsson <andersca@apple.com>
246 Get rid of uses of the old callOnMainThread function that takes a function ptr + context
247 https://bugs.webkit.org/show_bug.cgi?id=148324
249 Reviewed by Tim Horton.
251 * Storage/WebDatabaseManagerClient.mm:
252 (DidModifyOriginData::dispatchToMainThread):
253 (DidModifyOriginData::dispatchDidModifyOriginOnMainThread): Deleted.
254 * Storage/WebStorageTrackerClient.h:
255 * Storage/WebStorageTrackerClient.mm:
256 (WebStorageTrackerClient::dispatchDidModifyOrigin):
257 (WebStorageTrackerClient::dispatchDidModifyOriginOnMainThread): Deleted.
259 2015-08-19 Eric Carlson <eric.carlson@apple.com>
261 Remove ENABLE_WEBVTT_REGIONS
262 https://bugs.webkit.org/show_bug.cgi?id=148184
264 Reviewed by Jer Noble.
266 * Configurations/FeatureDefines.xcconfig: Remove ENABLE_WEBVTT_REGIONS.
268 2015-08-17 Filip Pizlo <fpizlo@apple.com>
270 Replace all remaining uses of WTF::Mutex with WTF::Lock
271 https://bugs.webkit.org/show_bug.cgi?id=148089
273 Reviewed by Geoffrey Garen.
275 * Storage/WebDatabaseManager.mm:
276 (transactionBackgroundTaskIdentifierLock):
277 (+[WebDatabaseManager startBackgroundTask]):
278 (+[WebDatabaseManager endBackgroundTask]):
279 * WebView/WebView.mm:
280 (-[WebView _synchronizeCustomFixedPositionLayoutRect]):
281 (-[WebView _setCustomFixedPositionLayoutRectInWebThread:synchronize:]):
282 (-[WebView _setCustomFixedPositionLayoutRect:]):
283 (-[WebView _fetchCustomFixedPositionLayoutRect:]):
284 * WebView/WebViewData.h:
286 2015-08-17 Jeff Miller <jeffm@apple.com>
288 Add a method to WebInspector to indicate whether the inspector is open
289 https://bugs.webkit.org/show_bug.cgi?id=148087
291 Reviewed by Joseph Pecoraro.
293 * WebInspector/WebInspector.h:
296 * WebInspector/WebInspector.mm:
297 (-[WebInspector isOpen]):
298 Added, returns YES if we have a frontend.
300 2015-08-13 Andy Estes <aestes@apple.com>
302 [Cocoa] Downloads do not start if policy decision is made asynchronously
303 https://bugs.webkit.org/show_bug.cgi?id=147985
305 Reviewed by Brady Eidson.
307 * WebCoreSupport/WebFrameLoaderClient.mm:
308 (WebFrameLoaderClient::convertMainResourceLoadToDownload): Started a new download if the main resource loader is not calling didReceiveResponse.
310 2015-08-13 Tim Horton <timothy_horton@apple.com>
312 Performing a Lookup on wrapped text puts the popover arrow in the wrong place (off to the right)
313 https://bugs.webkit.org/show_bug.cgi?id=148012
314 <rdar://problem/19238094>
316 Reviewed by Simon Fraser.
318 * WebView/WebView.mm:
319 (-[WebView _animationControllerForDictionaryLookupPopupInfo:]):
320 (-[WebView _showDictionaryLookupPopup:]):
321 Adopt the new SPI, handing it the first text rect, instead of having it
322 guess where to put the popover.
323 Also, null-check the TextIndicator.
325 2015-08-13 Tim Horton <timothy_horton@apple.com>
327 Refactor and improve TextIndicator to prepare for tests
328 https://bugs.webkit.org/show_bug.cgi?id=147622
330 Reviewed by Simon Fraser.
332 * WebView/WebFrame.mm:
333 (-[WebFrame _rectsForRange:]):
334 * WebView/WebHTMLView.mm:
335 (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
336 (-[WebHTMLView quickLookWithEvent:]):
337 * WebView/WebImmediateActionController.mm:
338 (-[WebImmediateActionController webView:didHandleScrollWheel:]):
339 (-[WebImmediateActionController _cancelImmediateAction]):
340 (-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]):
341 (-[WebImmediateActionController _defaultAnimationController]):
342 (-[WebImmediateActionController menuItemDidClose:]):
343 (-[WebImmediateActionController _animationControllerForDataDetectedText]):
344 (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
345 (dictionaryPopupInfoForRange):
346 * WebView/WebView.mm:
347 (-[WebView _animationControllerForDictionaryLookupPopupInfo:]):
348 (-[WebView _setTextIndicator:]):
349 (-[WebView _setTextIndicator:withLifetime:]):
350 (-[WebView _clearTextIndicatorWithAnimation:]):
351 (-[WebView _showDictionaryLookupPopup:]):
352 (-[WebView _dictionaryLookupPopoverWillClose:]):
353 * WebView/WebViewInternal.h:
354 Adopt TextIndicatorOptions.
355 Adjust to Range method renames.
357 2015-08-13 Geoffrey Garen <ggaren@apple.com>
359 Standardize on the phrase "delete code"
360 https://bugs.webkit.org/show_bug.cgi?id=147984
362 Reviewed by Mark Lam.
364 * WebView/WebView.mm:
365 (+[WebView discardAllCompiledCode]):
366 (+[WebView isCharacterSmartReplaceExempt:isPreviousCharacter:]):
368 2015-08-12 Anders Carlsson <andersca@apple.com>
370 Use WTF::Optional in WindowFeatures
371 https://bugs.webkit.org/show_bug.cgi?id=147956
373 Reviewed by Sam Weinig.
375 * WebCoreSupport/WebChromeClient.mm:
376 (WebChromeClient::createWindow):
378 2015-08-13 Matthew Daiter <mdaiter@apple.com>
380 Linking device query ability from WebKit2 to clients
381 https://bugs.webkit.org/show_bug.cgi?id=147263
382 <rdar://problem/21983345>
384 Reviewed by Jer Noble.
386 * WebCoreSupport/WebUserMediaClient.mm:
387 (-[WebUserMediaPolicyListener allow]):
388 (-[WebUserMediaPolicyListener allowDeviceWithVideoUID:andAudioUID:]):
391 2015-08-10 Chris Dumez <cdumez@apple.com>
393 Align WebKit1's PageCache size with WebKit2's
394 https://bugs.webkit.org/show_bug.cgi?id=147831
396 Reviewed by Sam Weinig.
398 Align WebKit1's PageCache size with WebKit2's for consistency. Also, we
399 have data showing that keeping more than 3 pages in the PageCache is
402 * WebView/WebView.mm:
403 (+[WebView _setCacheModel:]):
405 2015-08-06 Anders Carlsson <andersca@apple.com>
407 Crashes when calling swizzled setNeedsDisplayInRect: on heartbeat thread
408 https://bugs.webkit.org/show_bug.cgi?id=147746
409 rdar://problem/18698271
411 Reviewed by Dan Bernstein.
413 Back off if someone is calling our swizzled setNeedsDisplayInRect on a non-main thread.
415 * WebView/WebHTMLView.mm:
416 (setNeedsDisplayInRect):
418 2015-08-05 Filip Pizlo <fpizlo@apple.com>
420 Unreviewed, roll out http://trac.webkit.org/changeset/187972.
422 * Storage/WebDatabaseManager.mm:
423 (transactionBackgroundTaskIdentifierLock):
424 (+[WebDatabaseManager startBackgroundTask]):
425 (+[WebDatabaseManager endBackgroundTask]):
426 * WebView/WebView.mm:
427 (-[WebView _synchronizeCustomFixedPositionLayoutRect]):
428 (-[WebView _setCustomFixedPositionLayoutRectInWebThread:synchronize:]):
429 (-[WebView _setCustomFixedPositionLayoutRect:]):
430 (-[WebView _fetchCustomFixedPositionLayoutRect:]):
431 * WebView/WebViewData.h:
433 2015-08-04 Filip Pizlo <fpizlo@apple.com>
435 Rename Mutex to DeprecatedMutex
436 https://bugs.webkit.org/show_bug.cgi?id=147675
438 Reviewed by Geoffrey Garen.
440 * Storage/WebDatabaseManager.mm:
441 (transactionBackgroundTaskIdentifierLock):
442 (+[WebDatabaseManager startBackgroundTask]):
443 (+[WebDatabaseManager endBackgroundTask]):
444 * WebView/WebView.mm:
445 (-[WebView _synchronizeCustomFixedPositionLayoutRect]):
446 (-[WebView _setCustomFixedPositionLayoutRectInWebThread:synchronize:]):
447 (-[WebView _setCustomFixedPositionLayoutRect:]):
448 (-[WebView _fetchCustomFixedPositionLayoutRect:]):
449 * WebView/WebViewData.h:
451 2015-08-04 Anders Carlsson <andersca@apple.com>
453 Remove database thread pause code
454 https://bugs.webkit.org/show_bug.cgi?id=147669
456 Reviewed by Daniel Bates.
458 * Storage/WebDatabaseManager.mm:
459 (WebKitSetWebDatabasePaused): Deleted.
460 * Storage/WebDatabaseManagerInternal.h:
462 2015-08-04 Simon Fraser <simon.fraser@apple.com>
466 * Plugins/WebNetscapePluginStream.h:
468 2015-08-04 Anders Carlsson <andersca@apple.com>
470 Get rid of ReasonForCallingAllowPlugins since it's not used anywhere
471 https://bugs.webkit.org/show_bug.cgi?id=147648
473 Reviewed by Andreas Kling.
475 * WebCoreSupport/WebPlatformStrategies.mm:
476 (WebPlatformStrategies::getPluginInfo):
477 * WebView/WebFrame.mm:
478 (-[WebFrame _canProvideDocumentSource]):
480 2015-08-04 Alexey Proskuryakov <ap@apple.com>
482 Implement NPAPI redirect handling
483 https://bugs.webkit.org/show_bug.cgi?id=138675
484 rdar://problem/15779101
486 Patch by Jeffrey Pfau, updated and tweaked by me.
488 Reviewed by Anders Carlsson.
490 * Plugins/Hosted/HostedNetscapePluginStream.h:
491 (WebKit::HostedNetscapePluginStream::streamID):
492 * Plugins/Hosted/HostedNetscapePluginStream.mm:
493 (WebKit::HostedNetscapePluginStream::didFinishLoading):
494 (WebKit::HostedNetscapePluginStream::willSendRequest):
495 (WebKit::HostedNetscapePluginStream::didReceiveResponse):
496 * Plugins/WebNetscapePluginStream.h:
497 * Plugins/WebNetscapePluginStream.mm:
498 (WebNetscapePluginStream::stop):
499 (WebNetscapePluginStream::willSendRequest):
500 (WebNetscapePluginStream::didReceiveResponse):
502 2015-08-03 Myles C. Maxfield <mmaxfield@apple.com>
504 Unreviewed post-review feedback on r187797
506 The correct terminology is "registered" instead of "activated."
508 * WebView/WebHTMLView.mm:
509 (-[WebHTMLView _updateFontPanel]):
511 2015-08-03 Myles C. Maxfield <mmaxfield@apple.com>
513 Clean up casts between NSFont*s and CTFontRefs
514 https://bugs.webkit.org/show_bug.cgi?id=147618
516 Reviewed by Mitz Pettel
518 For toll free bridged types, it makes more sense to do a C-style cast, than jump
519 through hoops for older compilers.
521 * WebView/WebHTMLView.mm:
522 (-[WebHTMLView _updateFontPanel]):
524 2015-08-03 Myles C. Maxfield <mmaxfield@apple.com>
526 Fix the Yosemite build after r187797
530 * WebView/WebHTMLView.mm:
531 (-[WebHTMLView _updateFontPanel]):
533 2015-08-03 Myles C. Maxfield <mmaxfield@apple.com>
535 REGRESSION(r184899): Crash when focusing an input element styled with a web font
536 https://bugs.webkit.org/show_bug.cgi?id=147616
537 <rdar://problem/21838271>
539 Reviewed by Dean Jackson.
541 NSFontManager can't handle web fonts. We used to pass null to NSFontManager in this case,
542 but r184899 changed that.
544 * WebView/WebHTMLView.mm:
545 (-[WebHTMLView _updateFontPanel]):
547 2015-07-31 Chris Dumez <cdumez@apple.com>
549 Drop dummy Timer callbacks
550 https://bugs.webkit.org/show_bug.cgi?id=147516
552 Reviewed by Alexey Proskuryakov.
554 Drop dummy Timer callbacks in the code base. A lot of Timer callbacks
555 do nothing else beside calling a particular method. In such case, we
556 can use the called method as Timer callback instead.
558 * Plugins/WebNetscapePluginStream.h:
559 * Plugins/WebNetscapePluginStream.mm:
560 (WebNetscapePluginStream::WebNetscapePluginStream):
561 (WebNetscapePluginStream::deliverDataTimerFired): Deleted.
563 2015-07-31 Brady Eidson <beidson@apple.com>
565 REGRESSION (r174791): Returning a zombie NSImage from sharingService:transitionImageForShareItem:contentRect:
566 <rdar://problem/22060183> and https://bugs.webkit.org/show_bug.cgi?id=147497
568 Reviewed by Tim Horton.
570 * WebCoreSupport/WebContextMenuClient.mm:
571 (WebContextMenuClient::imageForCurrentSharingServicePickerItem): Don't return what is basically a temporary NSImage.
572 Instead do a [[retain] autorelease] on it while still valid.
574 2015-07-29 Dean Jackson <dino@apple.com>
576 Don't use (Details) when exposing SPI
577 https://bugs.webkit.org/show_bug.cgi?id=147426
578 <rdar://problem/22062407>
580 Reviewed by Dan Bernstein.
582 If we are declaring the interface without any implementation,
583 we should use class extensions.
585 * WebView/WebFrameView.mm:
586 * WebView/WebPDFView.mm:
588 2015-07-29 Andy VanWagoner <thetalecrafter@gmail.com>
590 Implement basic types for ECMAScript Internationalization API
591 https://bugs.webkit.org/show_bug.cgi?id=146926
593 Reviewed by Benjamin Poulain.
595 * Configurations/FeatureDefines.xcconfig: Enabled INTL.
597 2015-07-28 Yusuke Suzuki <utatane.tea@gmail.com>
599 [ES6] Add ENABLE_ES6_MODULES compile time flag with the default value "false"
600 https://bugs.webkit.org/show_bug.cgi?id=147350
602 Reviewed by Sam Weinig.
604 * Configurations/FeatureDefines.xcconfig:
606 2015-07-24 Yusuke Suzuki <utatane.tea@gmail.com>
608 Remove runtime flags for symbols
609 https://bugs.webkit.org/show_bug.cgi?id=147246
611 Reviewed by Alex Christensen.
613 * WebView/WebPreferencesPrivate.h:
615 2015-07-24 Yusuke Suzuki <utatane.tea@gmail.com>
617 Object.getOwnPropertySymbols on large list takes very long
618 https://bugs.webkit.org/show_bug.cgi?id=146137
620 Reviewed by Mark Lam.
622 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
623 (WebKit::NetscapePluginInstanceProxy::enumerate):
625 2015-07-23 Alex Christensen <achristensen@webkit.org>
627 Remove compile and runtime flags for promises.
628 https://bugs.webkit.org/show_bug.cgi?id=147244
630 Reviewed by Yusuke Suzuki.
632 * Configurations/FeatureDefines.xcconfig:
633 * WebView/WebPreferencesPrivate.h:
635 2015-07-22 Sukolsak Sakshuwong <sukolsak@gmail.com>
637 Add ENABLE_WEBASSEMBLY feature flag for WebAssembly
638 https://bugs.webkit.org/show_bug.cgi?id=147212
640 Reviewed by Filip Pizlo.
642 * Configurations/FeatureDefines.xcconfig:
644 2015-07-21 Joseph Pecoraro <pecoraro@apple.com>
646 Web Inspector: [Mac] "Open Image In New Window" context menu item does nothing on an image
647 https://bugs.webkit.org/show_bug.cgi?id=147175
649 Reviewed by Timothy Hatcher.
651 * WebCoreSupport/WebInspectorClient.mm:
652 (-[WebInspectorWindowController webView:contextMenuItemsForElement:defaultMenuItems:]):
653 Remove default context menus that won't work in the inspector page.
655 2015-07-21 Simon Fraser <simon.fraser@apple.com>
657 Add a logging channel for Layout, remove the LiveConnect channel
658 https://bugs.webkit.org/show_bug.cgi?id=147170
660 Reviewed by Zalan Bujtas.
662 Add a layout logging channel to WebCore, and remove the LiveConnect channel.
664 * Misc/WebKitLogging.h:
665 * Plugins/WebNetscapePluginPackage.mm:
666 (-[WebNetscapePluginPackage _tryLoad]): Deleted.
668 2015-07-21 Brady Eidson <beidson@apple.com>
670 Fix WebPreferences infinite recursion introduced in r186232.
671 <rdar://problem/9091261> and https://bugs.webkit.org/show_bug.cgi?id=147149
673 Reviewed by Tim Horton.
675 * WebView/WebPreferences.mm:
676 (-[WebPreferences metaRefreshEnabled]):
678 2015-07-18 Gyuyoung Kim <gyuyoung.kim@webkit.org>
680 Reduce PassRefPtr in WebKit2 - 3
681 https://bugs.webkit.org/show_bug.cgi?id=146995
683 Reviewed by Daniel Bates.
685 To remove PassRefPtr, this patch reduces use of PassRefPtr in WebKit2.
686 Because some uses depend on WebCore, WebCore, WK1 ports are modified as well.
688 * WebCoreSupport/WebFrameLoaderClient.h:
689 * WebCoreSupport/WebFrameLoaderClient.mm:
690 (WebFrameLoaderClient::createDocumentLoader):
692 2015-07-17 Andy Estes <aestes@apple.com>
694 [iOS] Further tighten the sandbox around pages fetched with Content-Disposition: attachment
695 https://bugs.webkit.org/show_bug.cgi?id=147044
696 rdar://problem/21567820
698 Reviewed by Brady Eidson.
700 * WebView/WebView.mm:
701 (-[WebView _commonInitializationWithFrameName:groupName:]): Enabled Content-Disposition: attachment sandbox on iOS.
703 2015-07-16 Joseph Pecoraro <pecoraro@apple.com>
705 Web Inspector: [Mac] Save dialog not working when inspector is docked
706 https://bugs.webkit.org/show_bug.cgi?id=146991
708 Reviewed by Sam Weinig.
710 * WebCoreSupport/WebInspectorClient.mm:
711 (WebInspectorFrontendClient::save):
712 (-[WebInspectorWindowController webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]):
713 When the window is nil (docked) use a non-window version of running the dialog.
715 2015-07-13 Simon Fraser <simon.fraser@apple.com>
717 [iOS] Expose contentsSizeRespectingOverflow() via WebView so UIWebView can use it
718 https://bugs.webkit.org/show_bug.cgi?id=146924
719 WebKit part of rdar://problem/21802456
721 Reviewed by Tim Horton.
723 Expose the FrameView's contentsSizeRespectingOverflow() via WebView, for use
726 * WebView/WebView.mm:
727 (-[WebView _contentsSizeRespectingOverflow]):
728 * WebView/WebViewPrivate.h:
730 2015-07-14 Anders Carlsson <andersca@apple.com>
732 Remove wkPopupMenu from WebCoreSystemInterface; it's not called from WebCore
733 https://bugs.webkit.org/show_bug.cgi?id=146945
735 Reviewed by Tim Horton.
737 * WebCoreSupport/PopupMenuMac.mm:
738 (PopupMenuMac::show):
739 * WebCoreSupport/WebSystemInterface.mm:
740 (InitWebCoreSystemInterface): Deleted.
742 2015-07-11 Nikita Vasilyev <nvasilyev@apple.com>
744 Web Inspector: Inspector should be able to be docked to the bottom of a narrow window
745 https://bugs.webkit.org/show_bug.cgi?id=146871
747 Reviewed by Timothy Hatcher.
749 * WebCoreSupport/WebInspectorClient.mm:
751 2015-07-07 Brady Eidson <beidson@apple.com>
753 HTTP Auth cached after disabling private browsing/reset.
754 <rdar://problem/8293055> and https://bugs.webkit.org/show_bug.cgi?id=146654
756 Reviewed by Tim Horton.
760 (+[WebCache clearCachedCredentials]): Clear the global CredentialStorage as well as the
761 storages belonging to each main frame of each WebView. This method is for DRT.
763 * Misc/WebDownload.mm:
764 (-[WebDownloadInternal download:didReceiveAuthenticationChallenge:]):
766 * Plugins/WebBaseNetscapePluginView.mm:
767 (WebKit::getAuthenticationInfo):
769 * WebView/WebView.mm:
770 (-[WebView _clearCredentials]): Clear the storage belonging to the current networking session
771 of the main frame of this WebView.
772 * WebView/WebViewInternal.h:
774 2015-07-04 Chris Dumez <cdumez@apple.com>
776 Drop RefPtr::clear() method
777 https://bugs.webkit.org/show_bug.cgi?id=146556
779 Reviewed by Brady Eidson.
781 Drop RefPtr::clear() method in favor of "= nullptr;" pattern.
783 2015-07-03 Dan Bernstein <mitz@apple.com>
785 [Xcode] Update some build settings as recommended by Xcode 7
786 https://bugs.webkit.org/show_bug.cgi?id=146597
788 Reviewed by Sam Weinig.
790 * Configurations/Base.xcconfig: Enabled CLANG_WARN_UNREACHABLE_CODE,
791 GCC_WARN_UNDECLARED_SELECTOR and GCC_NO_COMMON_BLOCKS. Removed GCC_MODEL_TUNING.
793 2015-07-02 Timothy Horton <timothy_horton@apple.com>
797 Rubber-stamped by Brady Eidson.
799 * WebView/WebView.mm:
800 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
801 Http, not HTTP, for settings generator reasons.
803 2015-07-02 Brady Eidson <beidson@apple.com>
805 Add preference to disable all http-equiv.
806 <rdar://problem/9091261> and https://bugs.webkit.org/show_bug.cgi?id=146553
808 Reviewed by Sam Weinig.
810 * WebView/WebPreferenceKeysPrivate.h:
812 * WebView/WebPreferences.mm:
813 (+[WebPreferences initialize]):
814 (-[WebPreferences setMetaRefreshEnabled:]): Still expose this SPI, but have it affect
815 the "httpEquivEnabled" setting.
816 (-[WebPreferences metaRefreshEnabled]): Ditto.
817 (-[WebPreferences setHTTPEquivEnabled:]):
818 (-[WebPreferences httpEquivEnabled]):
819 * WebView/WebPreferencesPrivate.h:
821 * WebView/WebView.mm:
822 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
823 (-[WebView _preferencesChanged:]):
825 2015-07-02 Timothy Horton <timothy_horton@apple.com>
827 iOS WebKitLegacy should match WebKit2's viewport behavior
828 https://bugs.webkit.org/show_bug.cgi?id=146540
829 <rdar://problem/20574017>
831 Reviewed by Dan Bernstein.
833 A number of changes have been made to WebKit2's viewport behavior
834 to make it possible to scale "responsive" sites that misbehave (lay out
835 in a non-responsive way).
837 * History/WebHistoryItem.mm:
838 * History/WebHistoryItemPrivate.h:
839 Add the plumbing required to implement these new behaviors in WebKit1.
841 2015-07-01 Dean Jackson <dino@apple.com>
843 Disable the experimental WebGL2 implementation
844 https://bugs.webkit.org/show_bug.cgi?id=146526
845 <rdar://problem/21641235>
847 Reviewed by Myles Maxfield.
849 Add (and disable) an ENABLE_WEBGL2 flag.
851 * Configurations/FeatureDefines.xcconfig:
853 2015-07-01 Simon Fraser <simon.fraser@apple.com>
857 * WebCoreSupport/WebUserMediaClient.mm:
858 (-[WebUserMediaPolicyListener denyOnlyThisRequest]): Remove ASSERT_NOT_REACHED,
859 because it caused the compiler to warn about noreturn.
861 2015-07-01 Matthew Daiter <mdaiter@apple.com>
863 Enable MEDIA_STREAM flag
864 https://bugs.webkit.org/show_bug.cgi?id=145947
865 <rdar://problem/21365829>
867 Reviewed by Eric Carlson.
869 * Configurations/FeatureDefines.xcconfig: Added MEDIA_STREAM flag
870 * WebCoreSupport/WebUserMediaClient.h: Changed signatures
871 * WebCoreSupport/WebUserMediaClient.mm: Changed signatures
872 (WebUserMediaClient::requestPermission):
873 (WebUserMediaClient::cancelRequest):
874 (-[WebUserMediaPolicyListener denyOnlyThisRequest]):
875 (-[WebUserMediaPolicyListener shouldClearCache]):
877 2015-07-01 Brady Eidson <beidson@apple.com>
879 REGRESSION (185319): Reproducible crash in WebHistoryItem launching FluidApp.
880 <rdar://problem/21598293> and https://bugs.webkit.org/show_bug.cgi?id=146494
882 Reviewed by Darin Adler.
884 * History/WebHistoryItem.mm:
885 (-[WebHistoryItem initFromDictionaryRepresentation:]): Don’t reference members of a Vector
888 2015-06-30 Andy VanWagoner <thetalecrafter@gmail.com>
890 Implement ECMAScript Internationalization API
891 https://bugs.webkit.org/show_bug.cgi?id=90906
893 Reviewed by Benjamin Poulain.
895 * Configurations/FeatureDefines.xcconfig: add ENABLE_INTL flag
897 2015-06-30 Simon Fraser <simon.fraser@apple.com>
899 Crash under _layoutForNodeHighlight: when inspecting espn.com
900 https://bugs.webkit.org/show_bug.cgi?id=146422
902 Reviewed by Joseph Pecoraro.
904 When inspecting espn.com, MobileSafari sometimes crashes, because
905 highlight.quads is empty. I was not able to quickly determine why.
907 Fix by bailing in this case.
909 * WebInspector/WebNodeHighlightView.mm:
910 (-[WebNodeHighlightView _layoutForNodeHighlight:parent:]):
912 2015-06-30 Anders Carlsson <andersca@apple.com>
914 Remove the WK_ENABLE_FORMAL_DELEGATE_PROTOCOLS ifdefs now that this is always true
915 https://bugs.webkit.org/show_bug.cgi?id=146462
917 Reviewed by Dan Bernstein.
919 * Misc/WebDownload.h:
920 * WebView/WebFrameLoadDelegate.h:
921 * WebView/WebPolicyDelegate.h:
922 * WebView/WebResourceLoadDelegate.h:
923 * WebView/WebUIDelegate.h:
925 * postprocess-headers.sh:
927 2015-06-29 Anders Carlsson <andersca@apple.com>
929 Get rid of unused WKSI functions
930 https://bugs.webkit.org/show_bug.cgi?id=146443
932 Reviewed by Tim Horton.
934 * WebCoreSupport/WebSystemInterface.mm:
935 (InitWebCoreSystemInterface): Deleted.
937 2015-06-29 Dean Jackson <dino@apple.com>
939 Temporarily disable PICTURE_SIZES
940 https://bugs.webkit.org/show_bug.cgi?id=146435
941 <rdar://problem/21087013>
943 Reviewed by Tim Horton.
945 Temporarily disable PICTURE_SIZES because it causes problems with out
946 of date <picture> polyfills.
948 * Configurations/FeatureDefines.xcconfig:
950 2015-06-27 Ryosuke Niwa <rniwa@webkit.org>
952 Font panel doesn't get updated when bolding text via cmd+b in Mail on OS X
953 https://bugs.webkit.org/show_bug.cgi?id=146379
955 Reviewed by Darin Adler.
957 Update the font panel when newly added EditorClient::didApplyStyle is called. Also set the font attributes
958 in _updateFontPanel so that underline and strike through states will be reflected.
960 * WebCoreSupport/WebEditorClient.h:
961 * WebCoreSupport/WebEditorClient.mm:
962 (WebEditorClient::shouldApplyStyle):
963 (updateFontPanelIfNeeded): Extracted from respondToChangedContents.
964 (WebEditorClient::didApplyStyle): Added.
965 (WebEditorClient::respondToChangedContents):
966 * WebView/WebHTMLView.mm:
967 (-[WebHTMLView _updateFontPanel]): Sets font attributes as well as font.
969 2015-06-29 Dean Jackson <dino@apple.com>
971 Setting to enable/disable media controls sizing on page zoom
972 https://bugs.webkit.org/show_bug.cgi?id=146423
973 <rdar://problem/18379634>
975 Reviewed by Eric Carlson.
977 Add a new setting "MediaControlsScaleWithPageZoom" that can disable
978 the behaviour we currently implement on iOS, where the media controls
979 attempt to remain at a fixed size independent of page zoom.
981 * WebView/WebPreferenceKeysPrivate.h:
982 * WebView/WebPreferences.mm:
983 (+[WebPreferences initialize]): Initialize to false on iOS, true otherwise.
984 (-[WebPreferences mediaControlsScaleWithPageZoom]):
985 (-[WebPreferences setMediaControlsScaleWithPageZoom:]):
986 * WebView/WebPreferencesPrivate.h:
987 * WebView/WebView.mm:
988 (-[WebView _preferencesChanged:]):
990 2015-06-29 Anders Carlsson <andersca@apple.com>
992 Use DISPATCH_SOURCE_TYPE_MEMORYPRESSURE instead of DISPATCH_SOURCE_TYPE_MEMORYSTATUS
993 https://bugs.webkit.org/show_bug.cgi?id=146413
995 Reviewed by Andreas Kling.
997 Replace SPI with API.
999 * WebCoreSupport/WebSystemInterface.mm:
1000 (InitWebCoreSystemInterface): Deleted.
1001 * WebView/WebView.mm:
1002 (+[WebView registerForMemoryNotifications]):
1004 2015-06-28 Darin Adler <darin@apple.com>
1006 [Mac] Remove redundant call to colorUsingColorSpaceName:
1007 https://bugs.webkit.org/show_bug.cgi?id=146397
1009 Reviewed by Alexey Proskuryakov.
1011 * WebView/WebHTMLView.mm:
1012 (extractUnderlines): Remove call to the colorUsingColorSpaceName: method,
1013 since colorFromNSColor already calls it. No need to do it twice.
1015 2015-06-26 Hyungwook Lee <hyungwook.lee@navercorp.com>
1017 [Win] Implement WebViewGroup to support WebView::addxxxToGroup().
1018 https://bugs.webkit.org/show_bug.cgi?id=145908
1020 Reviewed by Brent Fulgham.
1022 Make WebViewGroup class sharing on Mac and Win port.
1024 * WebCoreSupport/WebViewGroup.h: Removed.
1025 * WebCoreSupport/WebViewGroup.mm: Removed.
1027 2015-06-25 Joseph Pecoraro <pecoraro@apple.com>
1029 Web Inspector: Add Support for OS X Full Screen Mode
1030 https://bugs.webkit.org/show_bug.cgi?id=123510
1032 Reviewed by Timothy Hatcher.
1034 * WebCoreSupport/WebInspectorClient.h:
1035 * WebCoreSupport/WebInspectorClient.mm:
1036 (WebInspectorClient::didResizeMainFrame):
1037 (WebInspectorClient::windowFullScreenDidChange):
1038 (WebInspectorClient::canAttach):
1039 (WebInspectorFrontendClient::canAttach):
1040 (-[WebInspectorWindowController showWindow:]):
1041 Consolidate canAttach logic into canAttach functions.
1043 (-[WebInspectorWindowController window:]):
1044 Share the same full screen behavior as WebKit2.
1046 (-[WebInspectorWindowController windowDidEnterFullScreen:]):
1047 (-[WebInspectorWindowController windowDidExitFullScreen:]):
1048 Attach availability may have changed.
1050 2015-06-25 Joseph Pecoraro <pecoraro@apple.com>
1052 [Mac] Web Inspector: Window dragging on toolbar should behave more like native window dragging
1053 https://bugs.webkit.org/show_bug.cgi?id=146324
1055 Reviewed by Timothy Hatcher.
1057 * WebCoreSupport/WebInspectorClient.h:
1058 * WebCoreSupport/WebInspectorClient.mm:
1059 (WebInspectorFrontendClient::startWindowDrag):
1060 Start performing a window drag.
1062 2015-06-23 Anders Carlsson <andersca@apple.com>
1064 Remove windowResizerRect code, nobody is using it anymore
1065 https://bugs.webkit.org/show_bug.cgi?id=146265
1067 Reviewed by Beth Dakin.
1069 * WebCoreSupport/WebChromeClient.h:
1070 * WebCoreSupport/WebChromeClient.mm:
1071 (WebChromeClient::windowResizerRect): Deleted.
1073 2015-06-22 Chris Dumez <cdumez@apple.com>
1075 [WK1] WebAllowDenyPolicyListener.denyOnlyThisRequest() should not start a new permission request
1076 https://bugs.webkit.org/show_bug.cgi?id=146228
1077 <rdar://problem/15179262>
1079 Reviewed by Daniel Bates.
1081 Call the new Geolocation::resetIsAllowed() API after denying the
1082 current request, instead of calling
1083 Geolocation::resetAllGeolocationPermission(). In addition to resetting
1084 m_allowGeolocation to Unknown, the latter would also start a new
1085 permission request. However, for
1086 WebAllowDenyPolicyListener.denyOnlyThisRequest(), we really only want
1087 to deny the current request and then reset m_allowGeolocation to
1088 Unknown so that permission is requested again later if the app requests
1091 The previous implementation meant that if the client application keeps
1092 calling WebAllowDenyPolicyListener.denyOnlyThisRequest(), we would end
1093 up in an infinite loop (requesting for permission), even though the
1094 application did not make any new geolocation requests.
1096 * WebCoreSupport/WebGeolocationClient.mm:
1097 (-[WebGeolocationPolicyListener denyOnlyThisRequest]):
1099 2015-06-22 Anders Carlsson <andersca@apple.com>
1101 Delegates should be formal protocols
1102 https://bugs.webkit.org/show_bug.cgi?id=146222
1103 rdar://problem/17380856
1105 Reviewed by Dan Bernstein.
1107 Flip the switch on OS X and make delegates formal protocols.
1109 * postprocess-headers.sh:
1111 2015-06-20 Tim Horton <timothy_horton@apple.com>
1113 Deselection of text causes a noticeable jump on force touch machines
1114 https://bugs.webkit.org/show_bug.cgi?id=146173
1115 <rdar://problem/20992842>
1117 Reviewed by Sam Weinig.
1119 * WebView/WebImmediateActionController.mm:
1120 (-[WebImmediateActionController _animationControllerForText]):
1121 Get rid of TextIndicatorPresentationTransition::Crossfade.
1123 2015-06-19 Brent Fulgham <bfulgham@apple.com>
1125 All calls of ImageBuffer::create should null check the return value
1126 https://bugs.webkit.org/show_bug.cgi?id=22132
1128 Reviewed by Zalan Bujtas.
1130 ImageBuffer::create returns nullptr for a number of reasons, and should be
1131 expected to do so. We missed this check in a few places, resulting in
1132 crashes on some systems. Likewise, ImageBuffer::copyImage may return nullptr
1133 in normal use and should be checked.
1135 * WebCoreSupport/WebContextMenuClient.mm:
1136 (WebContextMenuClient::imageForCurrentSharingServicePickerItem): Add nullptr check
1139 2015-06-18 Jon Lee <jonlee@apple.com>
1141 Update AVKit usage of pip
1142 https://bugs.webkit.org/show_bug.cgi?id=146095
1143 <rdar://problem/21386853>
1145 Reviewed by Eric Carlson.
1147 - Rename preference key
1148 - Rename shouldAllowAlternateFullscreen to shouldAllowPictureInPictureMediaPlayback
1150 * WebCoreSupport/WebSystemInterface.mm:
1151 * WebView/WebPreferenceKeysPrivate.h:
1152 * WebView/WebPreferences.mm:
1153 (-[WebPreferences allowsAlternateFullscreen]): Call allowsPictureInPictureMediaPlayback.
1154 (-[WebPreferences setAllowsAlternateFullscreen:]):
1155 (-[WebPreferences allowsPictureInPictureMediaPlayback]): Added.
1156 (-[WebPreferences setAllowsPictureInPictureMediaPlayback:]):
1157 * WebView/WebPreferencesPrivate.h:
1158 * WebView/WebView.mm:
1160 2015-06-18 Anders Carlsson <andersca@apple.com>
1162 Remove shouldInterruptJavaScript
1163 https://bugs.webkit.org/show_bug.cgi?id=146118
1165 Reviewed by Antti Koivisto.
1167 * WebCoreSupport/WebChromeClient.h:
1168 * WebCoreSupport/WebChromeClient.mm:
1169 (WebChromeClient::shouldInterruptJavaScript): Deleted.
1170 * WebView/WebUIDelegatePrivate.h:
1172 2015-06-17 Alex Christensen <achristensen@webkit.org>
1174 [Content Extensions] Log blocked loads to the WebInspector console
1175 https://bugs.webkit.org/show_bug.cgi?id=146089
1177 Reviewed by Joseph Pecoraro.
1179 * WebCoreSupport/WebChromeClient.mm:
1180 (stringForMessageSource):
1181 Added content blocker message source.
1183 2015-06-17 Dan Bernstein <mitz@apple.com>
1185 <rdar://problem/19034131> Cleaned up the WebDownload.h framework header.
1187 Reviewed by Anders Carlsson.
1189 * Misc/WebDownload.h: Changed to use USE_APPLE_INTERNAL_SDK instead of __has_include.
1190 * postprocess-headers.sh: Define USE_APPLE_INTERNAL_SDK when postprocessing framework
1193 2015-06-17 Commit Queue <commit-queue@webkit.org>
1195 Unreviewed, rolling out r185636.
1196 https://bugs.webkit.org/show_bug.cgi?id=146068
1198 Caused many crashes on Windows (Requested by ap on #webkit).
1202 "[Win] Implement WebViewGroup to support
1203 WebView::addxxxToGroup()."
1204 https://bugs.webkit.org/show_bug.cgi?id=145908
1205 http://trac.webkit.org/changeset/185636
1207 2015-06-16 Hyungwook Lee <hyungwook.lee@navercorp.com>
1209 [Win] Implement WebViewGroup to support WebView::addxxxToGroup().
1210 https://bugs.webkit.org/show_bug.cgi?id=145908
1212 Reviewed by Brent Fulgham.
1214 Make WebViewGroup class sharing on Mac and Win port.
1216 * WebCoreSupport/WebViewGroup.h: Removed.
1217 * WebCoreSupport/WebViewGroup.mm: Removed.
1219 2015-06-13 Chris Dumez <cdumez@apple.com>
1221 [WK2] API::Navigation objects are leaked on history navigation to HistoryItems in PageCache
1222 https://bugs.webkit.org/show_bug.cgi?id=145948
1224 Reviewed by Darin Adler.
1226 Add empty implementation for new
1227 FrameLoaderClient::updatedCachedDocumentLoader().
1229 * WebCoreSupport/WebFrameLoaderClient.h:
1231 2015-06-11 Mark Lam <mark.lam@apple.com>
1233 WebCore::reportException() needs to be able to accept a raw thrown value in addition to Exception objects.
1234 https://bugs.webkit.org/show_bug.cgi?id=145872
1236 Reviewed by Michael Saboff.
1238 * WebView/WebView.mm:
1239 (+[WebView _reportException:inContext:]):
1240 - Don't assume we have an Exception object. Let WebCore::reportException() take
1243 2015-06-11 Jon Lee <jonlee@apple.com>
1245 Update media controls JS and CSS to use picture-in-picture
1246 https://bugs.webkit.org/show_bug.cgi?id=145827
1247 <rdar://problem/21311576>
1249 Reviewed by Dean Jackson.
1251 * WebCoreSupport/WebSystemInterface.mm:
1252 (InitWebCoreSystemInterface): Deleted GetMediaUIImageData.
1254 2015-06-10 Jon Honeycutt <jhoneycutt@apple.com>
1256 Meta refresh preference is not respected on fast path WebView
1259 <https://bugs.webkit.org/show_bug.cgi?id=145861>
1260 <rdar://problem/21309911>
1262 Reviewed by Brady Eidson.
1264 * WebView/WebView.mm:
1265 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
1266 Set the WebCore setting from the WebPreferences preference.
1268 2015-06-09 Anders Carlsson <andersca@apple.com>
1270 Remove more unused SPI methods
1271 https://bugs.webkit.org/show_bug.cgi?id=145804
1273 Reviewed by Simon Fraser.
1275 * Misc/WebNSURLRequestExtras.h:
1276 * Misc/WebNSURLRequestExtras.m:
1277 (-[NSURLRequest _web_HTTPReferrer]): Deleted.
1278 (-[NSURLRequest _web_HTTPContentType]): Deleted.
1279 (-[NSURLRequest _web_isConditionalRequest]): Deleted.
1281 2015-06-08 Dan Bernstein <mitz@apple.com>
1283 Removed WebDragSourceActionAttachment from the WebDragSourceAction enum.
1285 Rubber-stamped by Anders Carlsson.
1287 * WebView/WebUIDelegate.h: Removed the value. It was added in r181760 and never used.
1289 2015-06-08 Chris Dumez <cdumez@apple.com>
1291 Access GCController instance via GCController::singleton() instead of a free function
1292 https://bugs.webkit.org/show_bug.cgi?id=145776
1294 Reviewed by Darin Adler.
1296 Access GCController instance via GCController::singleton() instead of a
1297 free function as per coding style and for consistency with other
1298 singleton classes in the codebase.
1300 * Misc/WebCoreStatistics.mm:
1301 (+[WebCoreStatistics garbageCollectJavaScriptObjects]):
1302 (+[WebCoreStatistics garbageCollectJavaScriptObjectsOnAlternateThreadForDebugging:]):
1303 (+[WebCoreStatistics setJavaScriptGarbageCollectorTimerEnabled:]):
1304 * WebView/WebView.mm:
1305 (+[WebView garbageCollectNow]):
1306 (+[WebView discardAllCompiledCode]):
1307 (-[WebView _close]):
1309 2015-06-08 Anders Carlsson <andersca@apple.com>
1311 Remove more unused Objective-C methods
1312 https://bugs.webkit.org/show_bug.cgi?id=145761
1314 Reviewed by Geoffrey Garen.
1316 * Misc/WebNSImageExtras.h:
1317 * Misc/WebNSImageExtras.m:
1318 (-[NSImage _web_saveAndOpen]): Deleted.
1319 * Misc/WebNSViewExtras.h:
1320 * Misc/WebNSViewExtras.m:
1321 (-[NSView _web_DragImageForElement:rect:event:pasteboard:source:offset:]): Deleted.
1322 (-[NSView _web_convertRect:toView:]): Deleted.
1324 2015-06-08 Anders Carlsson <andersca@apple.com>
1326 Try to fix the Mavericks build.
1328 * WebView/WebPDFView.mm:
1329 (removeUselessMenuItemSeparators):
1331 2015-06-07 Anders Carlsson <andersca@apple.com>
1333 Remove WebNSArrayExtras
1334 https://bugs.webkit.org/show_bug.cgi?id=145747
1336 Reviewed by Darin Adler.
1338 * History/WebHistoryItem.mm:
1339 (-[WebHistoryItem initFromDictionaryRepresentation:]):
1340 * Misc/WebNSArrayExtras.h: Removed.
1341 * Misc/WebNSArrayExtras.m: Removed.
1342 (-[NSArray _webkit_numberAtIndex:]): Deleted.
1343 (-[NSArray _webkit_stringAtIndex:]): Deleted.
1344 (-[NSMutableArray _webkit_removeUselessMenuItemSeparators]): Deleted.
1345 * WebView/WebPDFView.mm:
1346 (removeUselessMenuItemSeparators):
1347 (-[WebPDFView _menuItemsFromPDFKitForEvent:]):
1349 2015-06-08 Dan Bernstein <mitz@apple.com>
1353 * WebView/WebView.mm:
1354 (+[WebView _setCacheModel:]):
1356 2015-06-07 Anders Carlsson <andersca@apple.com>
1358 Remove WebKitSystemBits
1359 https://bugs.webkit.org/show_bug.cgi?id=145746
1361 Reviewed by Dan Bernstein.
1363 Fold WebVolumeFreeSize into its only caller and get rid of WebKitSystemBits.
1365 * Misc/WebKitSystemBits.h: Removed.
1366 * Misc/WebKitSystemBits.m: Removed.
1367 * WebView/WebPreferences.mm:
1368 * WebView/WebView.mm:
1369 (+[WebView _setCacheModel:]):
1371 2015-06-07 Anders Carlsson <andersca@apple.com>
1373 Remove another SPI method that hasn't been used since Tiger
1374 https://bugs.webkit.org/show_bug.cgi?id=145745
1376 Reviewed by Dan Bernstein.
1378 * WebView/WebView.mm:
1379 (-[WebView handleAuthenticationForResource:challenge:fromDataSource:]): Deleted.
1380 * WebView/WebViewPrivate.h:
1382 2015-06-07 Anders Carlsson <andersca@apple.com>
1384 Remove another unused SPI method
1385 https://bugs.webkit.org/show_bug.cgi?id=145743
1387 Reviewed by Dan Bernstein.
1389 * WebView/WebView.mm:
1390 (+[WebView _pointingHandCursor]): Deleted.
1391 * WebView/WebViewPrivate.h:
1393 2015-06-07 Anders Carlsson <andersca@apple.com>
1396 https://bugs.webkit.org/show_bug.cgi?id=145742
1398 Reviewed by Dan Bernstein.
1400 * WebCoreSupport/WebFrameNetworkingContext.h:
1401 * WebCoreSupport/WebFrameNetworkingContext.mm:
1402 (WebFrameNetworkingContext::clearPrivateBrowsingSessionCookieStorage): Deleted.
1403 * WebView/WebView.mm:
1404 (+[WebView _clearPrivateBrowsingSessionCookieStorage]): Deleted.
1405 * WebView/WebViewPrivate.h:
1407 2015-06-06 Dan Bernstein <mitz@apple.com>
1409 Restored binary compatibility with shipping Safari.
1411 Suggested by Anders Carlsson.
1413 * Misc/WebKitNSStringExtras.mm:
1414 (-[NSString _webkit_fixedCarbonPOSIXPath]): Added an implementation that returns self, so
1415 that Safari doesn’t crash when trying to call this method.
1417 2015-06-06 Dan Bernstein <mitz@apple.com>
1421 * Plugins/WebBasePluginPackage.mm:
1423 2015-06-06 Anders Carlsson <andersca@apple.com>
1425 Remove support from getting plug-in information from Carbon resources
1426 https://bugs.webkit.org/show_bug.cgi?id=145730
1428 Reviewed by Dan Bernstein.
1430 No current plug-in versions use this feature, and both Chrome and Mozilla for
1431 Mac stopped looking at Carbon resources years ago.
1433 * Misc/WebKitNSStringExtras.h:
1434 * Misc/WebKitNSStringExtras.mm:
1435 (+[NSString _web_encodingForResource:]): Deleted.
1436 * Plugins/WebBasePluginPackage.mm:
1437 * Plugins/WebNetscapePluginPackage.mm:
1438 (-[WebNetscapePluginPackage _initWithPath:]):
1439 (-[WebNetscapePluginPackage stringForStringListID:andIndex:]): Deleted.
1440 (-[WebNetscapePluginPackage getPluginInfoFromResources]): Deleted.
1442 2015-06-06 Anders Carlsson <andersca@apple.com>
1444 Remove now unused category methods
1445 https://bugs.webkit.org/show_bug.cgi?id=145729
1447 Reviewed by Dan Bernstein.
1449 * Configurations/WebKitLegacy.xcconfig:
1450 * Misc/WebKitNSStringExtras.h:
1451 * Misc/WebKitNSStringExtras.mm:
1452 (-[NSString _webkit_fixedCarbonPOSIXPath]): Deleted.
1453 * Misc/WebNSFileManagerExtras.h:
1454 * Misc/WebNSFileManagerExtras.mm:
1455 (-[NSFileManager _webkit_startupVolumeName]): Deleted.
1457 2015-06-06 Anders Carlsson <andersca@apple.com>
1463 2015-06-06 Anders Carlsson <andersca@apple.com>
1465 Stop using _webkit_fixedCarbonPOSIXPath in plug-in code
1466 https://bugs.webkit.org/show_bug.cgi?id=145728
1468 Reviewed by Dan Bernstein.
1470 This code was put in place to support old plug-ins that would pass Carbon paths to NPAPI functions.
1471 WebKit2 never supported this and we've never had any problems so let's just get rid of it.
1473 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1474 (WebKit::NetscapePluginInstanceProxy::loadURL):
1475 * Plugins/WebNetscapePluginView.mm:
1476 (-[WebNetscapePluginView _postURL:target:len:buf:file:notifyData:sendNotification:allowHeaders:]):
1478 2015-06-06 Anders Carlsson <andersca@apple.com>
1480 Remove SPI that's no longer used
1481 https://bugs.webkit.org/show_bug.cgi?id=145727
1483 Reviewed by Dan Bernstein.
1485 * Plugins/WebPluginsPrivate.h: Removed.
1486 * Plugins/WebPluginsPrivate.m: Removed.
1488 2015-06-06 Anders Carlsson <andersca@apple.com>
1490 Only allow plug-ins to create custom MIME property lists on older versions of OS X
1491 https://bugs.webkit.org/show_bug.cgi?id=145726
1493 Reviewed by Dan Bernstein.
1495 * Plugins/WebBasePluginPackage.mm:
1496 (-[WebBasePluginPackage getPluginInfoFromPLists]):
1498 2015-06-05 Mark Lam <mark.lam@apple.com>
1500 finally blocks should not set the exception stack trace when re-throwing the exception.
1501 https://bugs.webkit.org/show_bug.cgi?id=145525
1503 Reviewed by Geoffrey Garen.
1505 * WebView/WebView.mm:
1506 (+[WebView _reportException:inContext:]):
1507 (WebKitInitializeApplicationCachePathIfNecessary):
1508 - Changed to use the new Exception object.
1510 2015-06-03 Anders Carlsson <andersca@apple.com>
1512 Define WK_ENABLE_FORMAL_DELEGATE_PROTOCOLS on iOS
1513 https://bugs.webkit.org/show_bug.cgi?id=145615
1514 Part of rdar://problem/17380856.
1516 Reviewed by Dan Bernstein.
1518 * postprocess-headers.sh:
1520 2015-06-02 Brady Eidson <beidson@apple.com>
1522 WebKit policy delegate should suggest if a navigation should be allowed to open URLs externally.
1523 rdar://problem/21025301 and https://bugs.webkit.org/show_bug.cgi?id=145280
1525 Reviewed by Alex Christensen.
1527 * Plugins/WebPluginController.mm:
1528 (-[WebPluginController webPlugInContainerLoadRequest:inFrame:]):
1530 * WebView/WebFrame.mm:
1531 (-[WebFrame loadRequest:]):
1532 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1534 * WebView/WebPDFView.mm:
1535 (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
1537 2015-06-01 Anders Carlsson <andersca@apple.com>
1539 WAKScrollView.h cannot be imported standalone
1540 https://bugs.webkit.org/show_bug.cgi?id=145529
1542 Reviewed by Dan Bernstein.
1544 Don't migrate WAKScrollView.h, it's not used outside of WebKit.
1546 * MigrateHeaders.make:
1548 2015-05-29 Anders Carlsson <andersca@apple.com>
1550 Make the header replace rule more restrictive and get rid of a special case
1551 https://bugs.webkit.org/show_bug.cgi?id=145486
1553 Reviewed by Ryosuke Niwa.
1555 We used to not run the header migration script on WAKScrollView.h since we had a rule that would transform
1556 "<WebCore" to "<WebKitLegacy" to convert header #imports. However, WAKScrollView.h contains "WAKView <WebCoreFrameScrollView>"
1557 which would get transformed to "WAKView <WebKitLegacyFrameScrollView>".
1559 Instead, check for the trailing slash as well and stop special-casing WAKScrollView.h.
1561 * MigrateHeaders.make:
1563 2015-05-29 Anders Carlsson <andersca@apple.com>
1565 Get rid of WAKViewPrivate.h
1566 https://bugs.webkit.org/show_bug.cgi?id=145482
1567 rdar://problem/21162149
1569 Reviewed by Dan Bernstein.
1571 Remove WAKViewPrivate.h imports.
1573 * DefaultDelegates/WebDefaultUIDelegate.m:
1574 * MigrateHeaders.make:
1575 * Misc/WebKitNSStringExtras.mm:
1576 * Misc/WebNSViewExtras.m:
1577 * WebCoreSupport/WebFrameLoaderClient.mm:
1578 * WebView/WebFrame.mm:
1579 * WebView/WebFrameView.mm:
1580 * WebView/WebHTMLView.mm:
1582 2015-05-29 Anders Carlsson <andersca@apple.com>
1584 WebResourceLoadDelegatePrivate.h cannot be imported standalone (missing WebNSInteger type)
1585 https://bugs.webkit.org/show_bug.cgi?id=145476
1586 rdar://problem/21162400
1588 Reviewed by Dan Bernstein.
1590 Change WebNSInteger to NSInteger.
1592 * WebView/WebResourceLoadDelegatePrivate.h:
1594 2015-05-29 Anders Carlsson <andersca@apple.com>
1596 WebKit.framework installs or references Mac-only headers on iOS
1597 https://bugs.webkit.org/show_bug.cgi?id=145471
1598 rdar://problem/21161459
1600 Reviewed by Dan Bernstein.
1602 * History/WebURLsWithTitles.h:
1603 Add an #if !TARGET_OS_IPHONE guard around the entire header.
1605 * MigrateHeaders.make:
1606 Don't migrate the NPAPI headers on iOS.
1608 2015-05-28 Matt Rajca <mrajca@apple.com>
1610 Add ENABLE_MEDIA_SESSION feature flag (which is off by default).
1611 https://bugs.webkit.org/show_bug.cgi?id=145415
1613 Reviewed by Eric Carlson.
1615 * Configurations/FeatureDefines.xcconfig:
1617 2015-05-28 Jon Lee <jonlee@apple.com>
1619 Build fix after r184946.
1621 * WebView/WebPreferences.mm:
1622 (-[WebPreferences allowsAirPlayForMediaPlayback]):
1623 (-[WebPreferences setAllowsAirPlayForMediaPlayback:]):
1625 2015-05-19 Jon Honeycutt <jhoneycutt@apple.com>
1627 [iOS] When viewing an MJPEG stream as the main resource, only the first
1630 <https://bugs.webkit.org/show_bug.cgi?id=145185>
1631 <rdar://problem/20124694>
1633 Reviewed by Darin Adler.
1635 * WebCoreSupport/WebFrameLoaderClient.h:
1637 * WebCoreSupport/WebFrameLoaderClient.mm:
1638 (WebFrameLoaderClient::didReplaceMultipartContent):
1639 Call the FrameView's didReplaceMultipartContent().
1641 2015-05-22 Jon Lee <jonlee@apple.com>
1643 Fix macros for wireless playback
1644 https://bugs.webkit.org/show_bug.cgi?id=145239
1645 rdar://problem/21049541
1647 Reviewed by Anders Carlsson.
1649 Encompass the logic within ENABLE(WIRELESS_TARGET_PLAYBACK). Update property name.
1651 * WebView/WebPreferenceKeysPrivate.h:
1652 * WebView/WebPreferences.h:
1653 * WebView/WebPreferences.mm:
1654 (+[WebPreferences initialize]): Wrap in ENABLE.
1655 (-[WebPreferences allowsAirPlayForMediaPlayback]): Ditto.
1656 (-[WebPreferences setAllowsAirPlayForMediaPlayback:]): Ditto.
1657 * WebView/WebView.mm:
1658 (-[WebView _preferencesChanged:]): Ditto.
1660 2015-05-27 Dean Jackson <dino@apple.com>
1662 img.currentSrc problem in strict mode with old picturefill
1663 https://bugs.webkit.org/show_bug.cgi?id=144095
1664 <rdar://problem/21087013>
1666 Reviewed by Simon Fraser.
1668 Add a PICTURE_SIZES flag.
1670 * Configurations/FeatureDefines.xcconfig:
1672 2015-05-26 Dan Bernstein <mitz@apple.com>
1674 <rdar://problem/21104551> Update build settings
1676 Reviewed by Anders Carlsson.
1678 * Configurations/DebugRelease.xcconfig:
1679 * Configurations/FeatureDefines.xcconfig:
1680 * Configurations/Version.xcconfig:
1682 2015-05-25 Dan Bernstein <mitz@apple.com>
1684 ASSERT_MAIN_THREAD and DOM_ASSERT_MAIN_THREAD are unnecessary no-ops
1685 https://bugs.webkit.org/show_bug.cgi?id=145372
1687 Reviewed by Sam Weinig.
1689 * Carbon/CarbonWindowAdapter.mm:
1690 (-[CarbonWindowAdapter finalize]): Removed use of ASSERT_MAIN_THREAD.
1692 * Configurations/Base.xcconfig: Removed DISABLE_THREAD_CHECK from DEBUG_DEFINES.
1694 * History/WebHistoryItem.mm:
1695 (-[WebHistoryItem URLString]): Removed use of ASSERT_MAIN_THREAD.
1696 (-[WebHistoryItem originalURLString]): Ditto.
1697 (-[WebHistoryItem title]): Ditto.
1698 (-[WebHistoryItem lastVisitedTimeInterval]): Ditto.
1699 (-[WebHistoryItem isEqual:]): Ditto.
1700 (-[WebHistoryItem description]): Ditto.
1701 (-[WebHistoryItem initFromDictionaryRepresentation:]): Ditto.
1702 (-[WebHistoryItem scrollPoint]): Ditto.
1704 * Misc/WebElementDictionary.mm:
1705 (-[WebElementDictionary finalize]): Ditto.
1707 * Misc/WebIconDatabase.mm:
1708 (-[WebIconDatabase iconForURL:withSize:cache:]): Ditto.
1709 (-[WebIconDatabase iconURLForURL:]): Ditto.
1710 (-[WebIconDatabase defaultIconWithSize:]): Ditto.
1711 (-[WebIconDatabase retainIconForURL:]): Ditto.
1712 (-[WebIconDatabase releaseIconForURL:]): Ditto.
1713 (+[WebIconDatabase delayDatabaseCleanup]): Ditto.
1714 (+[WebIconDatabase allowDatabaseCleanup]): Ditto.
1715 (-[WebIconDatabase removeAllIcons]): Ditto.
1716 (-[WebIconDatabase _iconForFileURL:withSize:]): Ditto.
1717 (webGetNSImage): Ditto.
1719 * Misc/WebKitLogging.h: Removed definition of ASSERT_MAIN_THREAD.
1721 * Plugins/WebBaseNetscapePluginView.mm:
1722 (-[WebBaseNetscapePluginView finalize]): Removed use of ASSERT_MAIN_THREAD.
1724 * Plugins/WebBasePluginPackage.mm:
1725 (-[WebBasePluginPackage finalize]): Ditto.
1727 * Plugins/WebNetscapePluginView.mm:
1728 (-[WebNetscapePluginView finalize]): Ditto.
1730 * WebCoreSupport/WebEditorClient.mm:
1731 (-[WebUndoStep finalize]): Ditto.
1733 * WebView/WebDataSource.mm:
1734 (-[WebDataSource finalize]): Ditto.
1736 * WebView/WebHTMLView.mm:
1737 (-[WebHTMLViewPrivate finalize]): Ditto.
1738 (-[WebHTMLView finalize]): Ditto.
1739 (-[WebHTMLView drawRect:]): Ditto.
1741 * WebView/WebViewData.mm:
1742 (-[WebViewPrivate finalize]): Ditto.
1744 2015-05-23 Dan Bernstein <mitz@apple.com>
1746 Remove unused definitions of WEBKIT_VERSION_MIN_REQUIRED
1747 https://bugs.webkit.org/show_bug.cgi?id=145345
1749 Reviewed by Sam Weinig.
1751 * Configurations/WebKitLegacy.xcconfig: Also changed to use $(inherited).
1753 2015-05-24 Jeremy Jones <jeremyj@apple.com>
1755 Register media MIME types as supported by HTML view in WebKit1.
1756 https://bugs.webkit.org/show_bug.cgi?id=145356
1758 Reviewed by Eric Carlson.
1760 WebDataSource and WebFrame view knew about suppotedImageMIMETypes and supportedNonImageMIMETypes,
1761 but not a third category supportedMediaMIMETypes. These are now included along-side
1762 supportedNonImageMIMETypes.
1764 * WebView/WebDataSource.mm:
1765 (+[WebDataSource _repTypesAllowImageTypeOmission:]): use supportedMediaMIMETypes.
1766 * WebView/WebFrameView.mm:
1767 (+[WebFrameView _viewTypesAllowImageTypeOmission:]): use supportedMediaMIMETypes.
1768 * WebView/WebHTMLRepresentation.h: declare -supportedMediaMIMETypes
1769 * WebView/WebHTMLRepresentation.mm:
1770 (+[WebHTMLRepresentation supportedMIMETypes]): include supportedMediaMIMETypes
1771 (+[WebHTMLRepresentation supportedMediaMIMETypes]): added
1772 * WebView/WebHTMLView.mm:
1773 (+[WebHTMLView supportedMediaMIMETypes]): added
1774 * WebView/WebHTMLViewPrivate.h: declare -supportedMediaMIMETypes
1776 2015-05-22 Jon Lee <jonlee@apple.com>
1778 Rename MediaPlaybackAllowsInline
1779 https://bugs.webkit.org/show_bug.cgi?id=145315
1781 Reviewed by Eric Carlson.
1783 Our API uses allowsInlineMediaPlayback. Our symbols should reflect the same.
1785 * WebView/WebPreferenceKeysPrivate.h: Update the name of the key, but not its
1786 value, for backwards compatibility.
1787 * WebView/WebPreferences.mm:
1788 (+[WebPreferences initialize]): Update the symbol.
1789 (-[WebPreferences mediaPlaybackAllowsInline]): Ditto. This setting will not
1790 be renamed in a future patch.
1791 (-[WebPreferences setMediaPlaybackAllowsInline:]): Ditto.
1792 * WebView/WebView.mm:
1793 (-[WebView _preferencesChanged:]): Update the call to settings.
1795 2015-05-22 Jon Lee <jonlee@apple.com>
1797 Rename MediaPlaybackAllowsAirPlay
1798 https://bugs.webkit.org/show_bug.cgi?id=145316
1800 Reviewed by Eric Carlson.
1802 In preparation for an API rename, update internal symbols from mediaPlaybackAllowsAirPlay
1803 to allowsAirPlayForMediaPlayback.
1805 * WebView/WebPreferenceKeysPrivate.h: Update the name but keep its value, for backwards
1807 * WebView/WebPreferences.mm:
1808 (+[WebPreferences initialize]): Update to reference the new key name.
1809 (-[WebPreferences mediaPlaybackAllowsAirPlay]): Ditto. This API will not change in a future
1811 (-[WebPreferences setMediaPlaybackAllowsAirPlay:]): Ditto.
1812 * WebView/WebView.mm:
1813 (-[WebView _preferencesChanged:]): Update the call to settings.
1815 2015-05-22 Jon Lee <jonlee@apple.com>
1817 Rename MediaPlaybackRequiresUserGesture
1818 https://bugs.webkit.org/show_bug.cgi?id=145314
1820 Reviewed by Anders Carlsson.
1822 In preparation for an API rename, update internal symbols from mediaPlaybackRequiresUserGesture
1823 to requiresUserGestureForMediaPlayback.
1825 No changes are being made to the API in this patch.
1827 * WebView/WebPreferenceKeysPrivate.h: Update the name of the key, but not its value, for backwards
1829 * WebView/WebPreferences.mm:
1830 (+[WebPreferences initialize]): Update the symbol.
1831 (-[WebPreferences mediaPlaybackRequiresUserGesture]): Ditto. This setting will not be renamed
1833 (-[WebPreferences setMediaPlaybackRequiresUserGesture:]): Ditto.
1834 * WebView/WebView.mm:
1835 (-[WebView _preferencesChanged:]): Update the call to settings.
1837 2015-05-22 Tim Horton <timothy_horton@apple.com>
1839 Remove action menu support
1840 https://bugs.webkit.org/show_bug.cgi?id=145305
1841 <rdar://problem/21070771>
1843 Reviewed by Anders Carlsson.
1845 * Configurations/WebKitLegacy.xcconfig:
1846 * WebView/WebActionMenuController.h: Removed.
1847 * WebView/WebActionMenuController.mm: Removed.
1848 * WebView/WebHTMLView.mm:
1849 (-[WebHTMLView otherMouseDown:]):
1850 (-[WebHTMLView scrollWheel:scrollWheel:]): Deleted.
1851 (-[WebHTMLView mouseDown:mouseDown:]): Deleted.
1852 * WebView/WebUIDelegatePrivate.h:
1853 * WebView/WebView.mm:
1854 (-[WebView _commonInitializationWithFrameName:groupName:]): Deleted.
1855 (-[WebView _close]): Deleted.
1856 (-[WebView prepareForMenu:withEvent:]): Deleted.
1857 (-[WebView willOpenMenu:withEvent:]): Deleted.
1858 (-[WebView didCloseMenu:withEvent:]): Deleted.
1859 (-[WebView _actionMenuController]): Deleted.
1860 * WebView/WebViewData.h:
1861 * WebView/WebViewData.mm:
1862 (-[WebViewPrivate dealloc]): Deleted.
1863 * WebView/WebViewInternal.h:
1864 Remove everything, except some enums that clients still refer to.
1866 2015-05-22 Brady Eidson <beidson@apple.com>
1868 Rework how the ResourceRequest user initiated property key is used.
1869 Followup to https://bugs.webkit.org/show_bug.cgi?id=145281
1871 Reviewed by Dan Bernstein.
1873 * WebCoreSupport/WebSystemInterface.mm:
1874 (WKResourceRequestIsUserInitiatedKey): Deleted.
1875 (InitWebCoreSystemInterface): Deleted.
1877 2015-05-21 Brady Eidson <beidson@apple.com>
1879 Add an "initiated by user gesture" flag to ResourceRequest.
1880 https://bugs.webkit.org/show_bug.cgi?id=145281
1882 Reviewed by Alex Christensen.
1884 * WebCoreSupport/WebSystemInterface.mm:
1885 (WKResourceRequestIsUserInitiatedKey):
1886 (InitWebCoreSystemInterface):
1888 2015-05-20 Anders Carlsson <andersca@apple.com>
1892 * WebView/WebViewInternal.h:
1894 2015-05-20 Alex Christensen <achristensen@webkit.org>
1896 Unreviewed build fix; LocalizedStrings.h is in WebCore.
1898 * WebView/WebActionMenuController.mm:
1900 2015-05-20 Jer Noble <jer.noble@apple.com>
1902 Unreviewed build fix; WebActionMenuController.mm should directly include LocalizedStrings.h
1904 * WebView/WebActionMenuController.mm:
1906 2015-05-19 Jer Noble <jer.noble@apple.com>
1908 Touching HTMLMediaElement.h or MediaPlayer.h causes a world rebuild.
1909 https://bugs.webkit.org/show_bug.cgi?id=145193
1911 Reviewed by Eric Carlson.
1913 Use HTMLMediaElementEnums instead of HTMLMediaElement.
1915 * WebCoreSupport/WebChromeClient.h:
1916 * WebCoreSupport/WebChromeClient.mm:
1917 (WebChromeClient::enterVideoFullscreenForVideoElement): HTMLMediaElement -> HTMLMediaElementEnums.
1918 * WebView/WebView.mm:
1919 (-[WebView _enterVideoFullscreenForVideoElement:mode:]): Ditto.
1920 * WebView/WebViewInternal.h:
1922 2015-05-19 Michael Saboff <msaboff@apple.com>
1924 REGRESSION(183787): JIT is enabled for all builds
1925 https://bugs.webkit.org/show_bug.cgi?id=145179
1927 Reviewed by Geoffrey Garen.
1929 Eliminated the setting of ENABLE_JIT, as wtf/Platform.h has appropriate logic to
1930 set it depending on OS and CPU type.
1932 * Configurations/FeatureDefines.xcconfig:
1934 2015-05-19 Brady Eidson <beidson@apple.com>
1936 X-Frame-Options headers not respected when loading from application cache.
1937 <rdar://problem/14877623> and https://bugs.webkit.org/show_bug.cgi?id=131800
1939 Reviewed by Alexey Proskuryakov.
1941 * WebView/WebFrame.mm:
1942 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1944 2015-05-18 Skachkov Alexandr <gskachkov@gmail.com>
1946 [ES6] Arrow function syntax. Feature flag for arrow function
1947 https://bugs.webkit.org/show_bug.cgi?id=145108
1949 Reviewed by Ryosuke Niwa.
1951 Added feature flag ENABLE_ES6_ARROWFUNCTION_SYNTAX for arrow function
1953 * Configurations/FeatureDefines.xcconfig:
1955 2015-05-15 Jeremy Jones <jeremyj@apple.com>
1957 Limit alternate fullscreen with linked on or after.
1958 https://bugs.webkit.org/show_bug.cgi?id=144894
1960 Reviewed by Dean Jackson.
1962 * WebView/WebView.mm:
1963 (shouldAllowAlternateFullscreen): Added.
1964 (-[WebView _preferencesChanged:]):
1966 2015-05-12 Simon Fraser <simon.fraser@apple.com>
1968 Turn antialiased font dilation off by default
1969 https://bugs.webkit.org/show_bug.cgi?id=144940
1970 rdar://problem/20923031
1972 Reviewed by Sam Weinig.
1974 Turn antialised font dilation off by default.
1976 * WebView/WebPreferences.mm:
1977 (+[WebPreferences initialize]):
1979 2015-05-11 Daniel Bates <dabates@apple.com>
1981 [iOS] Close all open databases in expiration handler of process assertion
1982 https://bugs.webkit.org/show_bug.cgi?id=144661
1983 <rdar://problem/20845052>
1985 Reviewed by Darin Adler.
1987 For Legacy WebKit, close all open databases when the process assertion expiration
1990 * Storage/WebDatabaseManager.mm:
1991 (+[WebDatabaseManager startBackgroundTask]): Call DatabaseTracker::tracker().closeAllDatabases()
1992 in the expiration handler to close all open databases. As a side effect of closing
1993 a database all in-progress database transactions are interrupted.
1995 2015-05-10 Sungmann Cho <sungmann.cho@navercorp.com>
1997 Get rid of the public item accessors in BackForwardClient
1998 https://bugs.webkit.org/show_bug.cgi?id=144827
2000 Reviewed by Darin Adler.
2002 Remove backItem(), currentItem(), and forwardItem() from BackForwardClient.
2003 We can still use these functionalities through BackForwardController.
2005 No new tests, no behavior change.
2007 * WebView/WebView.mm:
2008 (-[WebView _loadBackForwardListFromOtherView:]):
2010 2015-05-09 Yoav Weiss <yoav@yoav.ws>
2012 Remove the PICTURE_SIZES build flag
2013 https://bugs.webkit.org/show_bug.cgi?id=144679
2015 Reviewed by Benjamin Poulain.
2017 Removed the PICTURE_SIZES build time flag.
2019 * Configurations/FeatureDefines.xcconfig:
2021 2015-05-08 Myles C. Maxfield <mmaxfield@apple.com>
2023 Remove convenience constructors for TextRun
2024 https://bugs.webkit.org/show_bug.cgi?id=144752
2026 These convenience constructors are unnecessary. Moving the code that makes the StringView
2027 back to the call site will also help us make things more elegant in future refactoring.
2029 Reviewed by Darin Adler.
2031 No new tests because there is no behavior change.
2033 * Misc/WebKitNSStringExtras.mm:
2034 (-[NSString _web_drawAtPoint:font:textColor:allowingFontSmoothing:]):
2035 (-[NSString _web_widthWithFont:]):
2037 2015-05-08 Commit Queue <commit-queue@webkit.org>
2039 Unreviewed, rolling out r183996.
2040 https://bugs.webkit.org/show_bug.cgi?id=144806
2042 ASan detected use-after free (Requested by ap on #webkit).
2046 "Remove convenience constructors for TextRun"
2047 https://bugs.webkit.org/show_bug.cgi?id=144752
2048 http://trac.webkit.org/changeset/183996
2050 2015-05-08 Myles C. Maxfield <mmaxfield@apple.com>
2052 Remove convenience constructors for TextRun
2053 https://bugs.webkit.org/show_bug.cgi?id=144752
2055 These convenience constructors are unnecessary. Moving the code that makes the StringView
2056 back to the call site will also help us make things more elegant in future refactoring.
2058 Reviewed by Darin Adler.
2060 No new tests because there is no behavior change.
2062 * Misc/WebKitNSStringExtras.mm:
2063 (-[NSString _web_drawAtPoint:font:textColor:allowingFontSmoothing:]):
2064 (-[NSString _web_widthWithFont:]):
2066 2015-05-07 Anders Carlsson <andersca@apple.com>
2070 * Misc/WebNSPasteboardExtras.mm:
2071 (-[NSPasteboard _web_writeFileWrapperAsRTFDAttachment:]):
2072 * WebView/WebHTMLView.mm:
2073 (-[WebHTMLView _writeSelectionWithPasteboardTypes:toPasteboard:cachedAttributedString:]):
2074 (-[WebHTMLView _selectionStartFontAttributesAsRTF]):
2075 * WebView/WebPDFView.mm:
2076 (-[WebPDFView writeSelectionWithPasteboardTypes:toPasteboard:]):
2077 Pass empty arrays and dictionaries instead of nil.
2079 * WebView/WebView.mm:
2080 (-[WebView _commonInitializationWithFrameName:groupName:]):
2081 Use the regular init method.
2083 2015-05-07 Said Abou-Hallawa <sabouhallawa@apple.com>
2085 Fix iPhone 6 iOS simulator Build.
2086 following http://trac.webkit.org/changeset/183954.
2088 Reviewed by Daniel Bates.
2090 * WebView/WebHTMLView.mm:
2091 (-[WebHTMLView pressureChangeWithEvent:]):
2093 2015-05-07 Timothy Horton <timothy_horton@apple.com>
2095 Occasional null deref in WebImmediateActionController
2096 https://bugs.webkit.org/show_bug.cgi?id=144772
2097 <rdar://problem/20811128>
2099 Reviewed by Beth Dakin.
2101 * WebView/WebImmediateActionController.mm:
2102 (-[WebImmediateActionController _defaultAnimationController]):
2103 (-[WebImmediateActionController _animationControllerForDataDetectedText]):
2104 (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
2105 Null-check TextIndicators before dereferencing.
2107 2015-05-07 Beth Dakin <bdakin@apple.com>
2109 New force-related DOM events should fire in WK1 views
2110 https://bugs.webkit.org/show_bug.cgi?id=144663
2112 rdar://problem/20281886
2114 Reviewed by Sam Weinig.
2116 Pass the lastPressureEvent to WebCore.
2117 * WebView/WebHTMLView.mm:
2118 (-[WebHTMLView _updateMouseoverWithEvent:]):
2119 (-[WebHTMLView rightMouseUp:]):
2120 (-[WebHTMLView menuForEvent:]):
2121 (-[WebHTMLView acceptsFirstMouse:]):
2122 (-[WebHTMLView shouldDelayWindowOrderingForEvent:]):
2123 (-[WebHTMLView mouseDown:mouseDown:]):
2124 (-[WebHTMLView mouseDragged:]):
2125 (-[WebHTMLView mouseUp:mouseUp:]):
2127 New NSRespnder method for pressure changes.
2128 (-[WebHTMLView pressureChangeWithEvent:]):
2130 New BOOL _contentPreventsDefault tracks whether the HitTestResult prevented the
2131 default action. Get rid of willHandleMouseDown; now that the gesture recognizer
2132 sets delaysPrimaryMouseButtonEvents to NO, we don’t need this.
2133 * WebView/WebImmediateActionController.h:
2134 * WebView/WebImmediateActionController.mm:
2135 (-[WebImmediateActionController _clearImmediateActionState]):
2137 Set all of the immediateActionStages on EventHandler. This is critical to keep
2138 link navigation happening at the right time now that
2139 delaysPrimaryMouseButtonEvents is set to NO.
2140 (-[WebImmediateActionController performHitTestAtPoint:]):
2141 (-[WebImmediateActionController immediateActionRecognizerDidUpdateAnimation:]):
2142 (-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]):
2143 (-[WebImmediateActionController immediateActionRecognizerDidCompleteAnimation:]):
2145 Use a dummy animation controller if the content prevents default.
2146 (-[WebImmediateActionController _defaultAnimationController]):
2147 (-[WebImmediateActionController _updateImmediateActionItem]):
2148 (-[WebImmediateActionController webView:willHandleMouseDown:]): Deleted.
2150 Set delaysPrimaryMouseButtonEvents to NO so that we get existing mouse events when
2152 * WebView/WebView.mm:
2153 (-[WebView _commonInitializationWithFrameName:groupName:]):
2155 Cache the most recent pressure event so that we can send it to WebCore for all of
2157 (-[WebView _pressureEvent]):
2158 (-[WebView _setPressureEvent:]):
2159 * WebView/WebViewData.h:
2160 * WebView/WebViewData.mm:
2161 (-[WebViewPrivate dealloc]):
2162 * WebView/WebViewInternal.h:
2164 2015-05-05 Myles C. Maxfield <mmaxfield@apple.com>
2166 Revert "Introducing the Platform Abstraction Layer (PAL)"
2167 https://bugs.webkit.org/show_bug.cgi?id=144751
2171 PAL should be a new target inside WebCore, rather than a top-level folder.
2173 * Configurations/FeatureDefines.xcconfig: Updated
2175 2015-05-07 Dan Bernstein <mitz@apple.com>
2177 <rdar://problem/19317140> [Xcode] Remove usage of AspenFamily.xcconfig in Source/
2178 https://bugs.webkit.org/show_bug.cgi?id=144727
2180 Reviewed by Darin Adler.
2182 * Configurations/Base.xcconfig: Don’t include AspenFamily.xcconfig.
2183 * Configurations/WebKitLegacy.xcconfig: Define INSTALL_PATH in terms of
2184 INSTALL_PATH_PREFIX and INSTALL_PATH_ACTUAL, and define INSTALL_PATH_PREFIX for the iOS 8.x
2187 2015-04-02 Myles C. Maxfield <mmaxfield@apple.com>
2189 Introducing the Platform Abstraction Layer (PAL)
2190 https://bugs.webkit.org/show_bug.cgi?id=143358
2192 Reviewed by Simon Fraser.
2194 * Configurations/FeatureDefines.xcconfig: Updated
2196 2015-05-06 Antti Koivisto <antti@apple.com>
2198 REGRESSION (r183467): Unable to start downloads in private browsing mode
2199 https://bugs.webkit.org/show_bug.cgi?id=144533
2201 Reviewed by Darin Adler.
2203 * WebCoreSupport/WebFrameLoaderClient.mm:
2204 (WebFrameLoaderClient::dispatchWillSendRequest):
2206 Use updateFromDelegatePreservingOldProperties (like WK2) instead of doing the same thing manually.
2208 2015-05-06 Ryosuke Niwa <rniwa@webkit.org>
2210 Toggling underline on font panel removes strike through
2211 https://bugs.webkit.org/show_bug.cgi?id=144670
2212 <rdar://problem/3790443>
2214 Reviewed by Darin Adler.
2216 Use setStrikeThroughChange and setUnderlineChange added in r183770 to toggle underline and strike through.
2218 * WebView/WebHTMLView.mm:
2219 (-[WebHTMLView _applyEditingStyleToSelection:withUndoAction:]):
2220 (-[WebHTMLView _styleForAttributeChange:]):
2221 (-[WebHTMLView changeAttributes:]):
2223 2015-05-04 Ryosuke Niwa <rniwa@webkit.org>
2225 Toggling underline or strike through affects each other
2226 https://bugs.webkit.org/show_bug.cgi?id=27818
2228 Reviewed by Darin Adler.
2230 * WebView/WebFrame.mm:
2231 (-[WebFrame _setTypingStyle:withUndoAction:]):
2233 2015-05-01 Martin Robinson <mrobinson@igalia.com>
2235 USE(...) macro should expect unprefixed variables
2236 https://bugs.webkit.org/show_bug.cgi?id=144454
2238 Reviewed by Daniel Bates.
2240 * Misc/WebDownload.h: Replace all occurrences WTF_USE with USE.
2242 2015-05-01 Brady Eidson <beidson@apple.com>
2244 Add API to disable meta refreshes.
2245 <rdar://problem/20333198> and https://bugs.webkit.org/show_bug.cgi?id=144269
2247 Reviewed by Alexey Proskuryakov.
2249 Add a preference to enable/disable meta refreshes, enabled by default.
2251 * WebView/WebPreferenceKeysPrivate.h:
2252 * WebView/WebPreferences.mm:
2253 (+[WebPreferences initialize]):
2254 (-[WebPreferences setMetaRefreshEnabled:]):
2255 (-[WebPreferences metaRefreshEnabled]):
2256 * WebView/WebPreferencesPrivate.h:
2257 * WebView/WebView.mm:
2258 (-[WebView _preferencesChanged:]):
2260 2015-04-30 Jon Davis <jond@apple.com>
2262 Web Inspector: console should show an icon for console.info() messages
2263 https://bugs.webkit.org/show_bug.cgi?id=18530
2265 Reviewed by Timothy Hatcher.
2267 * WebCoreSupport/WebChromeClient.mm:
2268 (stringForMessageLevel):
2269 * WebView/WebUIDelegatePrivate.h:
2271 2015-04-29 Myles C. Maxfield <mmaxfield@apple.com>
2273 [OS X] Use CTFontCreateForCSS instead of doing font search ourselves
2274 https://bugs.webkit.org/show_bug.cgi?id=132159
2276 Reviewed by Darin Adler.
2278 Add SPI to set the font whitelist.
2280 * WebView/WebView.mm:
2281 (+[WebView _setFontWhitelist:]):
2282 * WebView/WebViewPrivate.h:
2284 2015-04-28 Timothy Horton <timothy_horton@apple.com>
2286 [TextIndicator] Yellow highlight takes too long to fade out on scroll
2287 https://bugs.webkit.org/show_bug.cgi?id=144358
2288 <rdar://problem/19451011>
2290 Reviewed by Beth Dakin.
2292 * WebView/WebActionMenuController.mm:
2293 (-[WebActionMenuController _showTextIndicator]):
2294 * WebView/WebHTMLView.mm:
2295 (-[WebHTMLView quickLookWithEvent:]):
2296 * WebView/WebImmediateActionController.mm:
2297 (-[WebImmediateActionController _defaultAnimationController]):
2298 (-[WebImmediateActionController _animationControllerForDataDetectedText]):
2299 (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
2300 Pull _clearTextIndicatorWithAnimation out, make it avoid using a dismissal animation
2301 if we're called from didHandleScrollWheel.
2303 * WebView/WebView.mm:
2304 (-[WebView _animationControllerForDictionaryLookupPopupInfo:]):
2305 (-[WebView _setTextIndicator:]):
2306 (-[WebView _setTextIndicator:withLifetime:]):
2307 (-[WebView _clearTextIndicator]):
2308 (-[WebView _showDictionaryLookupPopup:]):
2309 (-[WebView _dictionaryLookupPopoverWillClose:]):
2310 (-[WebView _setTextIndicator:fadeOut:]): Deleted.
2311 * WebView/WebViewInternal.h:
2312 Make _setTextIndicator take a reference.
2313 Add a variant of _setTextIndicator that takes a Lifetime.
2314 Make _clearTextIndicatorWithAnimation take a DismissalAnimation.
2316 2015-04-28 Michael Catanzaro <mcatanzaro@igalia.com>
2318 Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
2319 https://bugs.webkit.org/show_bug.cgi?id=144304
2321 Reviewed by Geoffrey Garen.
2323 Define ENABLE_JIT, enabled by default, instead of ENABLE_LLINT_C_LOOP, disabled by default.
2325 * Configurations/FeatureDefines.xcconfig:
2327 2015-04-28 Commit Queue <commit-queue@webkit.org>
2329 Unreviewed, rolling out r183514.
2330 https://bugs.webkit.org/show_bug.cgi?id=144359
2332 It broke cloop test bots (Requested by mcatanzaro on #webkit).
2336 "Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT"
2337 https://bugs.webkit.org/show_bug.cgi?id=144304
2338 http://trac.webkit.org/changeset/183514
2340 2015-04-28 Michael Catanzaro <mcatanzaro@igalia.com>
2342 Fully replace ENABLE_LLINT_C_LOOP with ENABLE_JIT
2343 https://bugs.webkit.org/show_bug.cgi?id=144304
2345 Reviewed by Geoffrey Garen.
2347 Define ENABLE_JIT, enabled by default, instead of ENABLE_LLINT_C_LOOP, disabled by default.
2349 * Configurations/FeatureDefines.xcconfig:
2351 2015-04-28 Joseph Pecoraro <pecoraro@apple.com>
2353 Fix common typo "targetting" => "targeting"
2354 https://bugs.webkit.org/show_bug.cgi?id=144349
2356 Reviewed by Daniel Bates.
2358 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
2359 (WebKit::NetscapePluginInstanceProxy::loadRequest):
2360 * Plugins/WebNetscapePluginView.mm:
2361 (-[WebNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):
2362 * WebView/WebPolicyDelegate.h:
2364 2015-04-28 Brady Eidson <beidson@apple.com>
2366 Consolidate most "frame load" arguments into FrameLoadRequest.
2367 https://bugs.webkit.org/show_bug.cgi?id=144276
2369 Reviewed by Alexey Proskuryakov.
2371 * WebView/WebPDFView.mm:
2372 (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
2374 2015-04-27 Dan Bernstein <mitz@apple.com>
2376 <rdar://problem/20721931> REGRESSION (r178753): All legacy framework headers are missing availability annotations
2377 https://bugs.webkit.org/show_bug.cgi?id=144311
2379 Reviewed by Adele Peterson.
2381 * postprocess-headers.sh: Changed “macsox” to “macosx”.
2383 2015-04-27 Brady Eidson <beidson@apple.com>
2385 Make 'enum NavigationType' be an enum class
2386 https://bugs.webkit.org/show_bug.cgi?id=144270
2388 Reviewed by Alex Christensen.
2390 * WebCoreSupport/WebFrameLoaderClient.mm:
2391 (WebFrameLoaderClient::actionDictionary):
2393 2015-04-27 Brent Fulgham <bfulgham@apple.com>
2395 REGRESSION(r182879): Images and video can no longer be downloaded
2396 https://bugs.webkit.org/show_bug.cgi?id=144267
2397 <rdar://problem/20702844>
2399 Reviewed by Simon Fraser.
2401 * WebView/WebActionMenuController.mm:
2402 (-[WebActionMenuController _createActionMenuItemForTag:]): Check for
2403 "!WebCore::protocolIs(..., "file")" for image and media downloads.
2405 2015-04-26 Yusuke Suzuki <utatane.tea@gmail.com>
2407 [ES6] Implement ES6 template literals
2408 https://bugs.webkit.org/show_bug.cgi?id=142691
2410 Reviewed by Darin Adler.
2412 Add ENABLE_ES6_TEMPLATE_LITERAL_SYNTAX compile time flag.
2414 * Configurations/FeatureDefines.xcconfig:
2416 2015-04-26 Doug Russell <d_russell@apple.com>
2418 AX: richer text change notifications (142719)
2419 https://bugs.webkit.org/show_bug.cgi?id=142719
2421 Reviewed by Darin Adler.
2423 Richer accessibility value change notifications. Introduce AXTextEditType,
2424 postTextStateChangeNotification and postTextReplacementNotification to give assistive
2425 tech apps more reliable context for responding to changes in web content. Also implement
2426 a mechanism to post value changes in password form fields in coalesced ticks to thwart
2427 analyzing the cadence of changes.
2429 Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent,
2430 and an overload of postTextReplacementNotification to give assistive tech apps more
2431 reliable context for responding to changes in web content selection. Also block posting
2432 selection changes on password fields.
2434 * WebCoreSupport/WebEditorClient.mm:
2435 (undoNameForEditAction):
2437 2015-04-24 Timothy Hatcher <timothy@apple.com>
2439 Web Inspector: Remove native window dock controls
2440 https://bugs.webkit.org/show_bug.cgi?id=144184
2442 Reviewed by Joseph Pecoraro.
2444 * Resources/Dock.pdf: Removed.
2445 * Resources/DockLegacy.pdf: Removed.
2446 * WebCoreSupport/WebInspectorClient.mm:
2447 (-[WebInspectorWindowController window]):
2448 (-[WebInspectorWindowController setDockingUnavailable:]):
2450 2015-04-25 Martin Robinson <mrobinson@igalia.com>
2452 Rename ENABLE_3D_RENDERING to ENABLE_3D_TRANSFORMS
2453 https://bugs.webkit.org/show_bug.cgi?id=144182
2455 Reviewed by Simon Fraser.
2457 * Configurations/FeatureDefines.xcconfig: Replace all instances of 3D_RENDERING with 3D_TRANSFORMS.
2459 2015-04-24 Commit Queue <commit-queue@webkit.org>
2461 Unreviewed, rolling out r183266.
2462 https://bugs.webkit.org/show_bug.cgi?id=144164
2464 Broke 32-bit build and a test. (Requested by ap on #webkit).
2468 "AX: richer text change notifications (142719)"
2469 https://bugs.webkit.org/show_bug.cgi?id=142719
2470 http://trac.webkit.org/changeset/183266
2472 2015-04-24 Myles C. Maxfield <mmaxfield@apple.com>
2474 [Cocoa] Start cleaning up FontPlatformData
2475 https://bugs.webkit.org/show_bug.cgi?id=144133
2477 Reviewed by Enrica Casucci.
2479 Receive casts which have been hoisted from the deleted FontPlatformData constructor.
2481 * Misc/WebKitNSStringExtras.mm:
2482 (-[NSString _web_drawAtPoint:font:textColor:allowingFontSmoothing:]): Receive cast which has
2483 been hoisted from the deleted FontPlatformData constructor.
2484 (-[NSString _web_widthWithFont:]): Ditto.
2485 * Misc/WebStringTruncator.mm:
2486 (fontFromNSFont): Ditto.
2488 2015-04-24 Doug Russell <d_russell@apple.com>
2490 AX: richer text change notifications (142719)
2491 https://bugs.webkit.org/show_bug.cgi?id=142719
2493 Reviewed by Darin Adler.
2495 Richer accessibility value change notifications. Introduce AXTextEditType, postTextStateChangeNotification and postTextReplacementNotification to give assistive tech apps more reliable context for responding to changes in web content. Also implement a mechanism to post value changes in password form fields in coalesced ticks to thwart analyzing the cadence of changes.
2497 Richer accessibility selection change notifications. Introduce AXTextStateChangeIntent, and an overload of postTextReplacementNotification to give assistive tech apps more reliable context for responding to changes in web content selection. Also block posting selection changes on password fields.
2499 * WebCoreSupport/WebEditorClient.mm:
2500 (undoNameForEditAction):
2502 2015-04-23 Jer Noble <jer.noble@apple.com>
2504 [Mac] Disable QTKit by default on future OS X.
2505 https://bugs.webkit.org/show_bug.cgi?id=144082
2507 Reviewed by Darin Adler.
2509 Default WebKitQTKitEnabledPreferenceKey to NO.
2511 * WebView/WebPreferences.mm:
2512 (+[WebPreferences initialize]):
2514 2015-04-23 Andreas Kling <akling@apple.com>
2516 There should only be one way to get the system memory size.
2517 <https://webkit.org/b/144081>
2519 Reviewed by Antti Koivisto.
2521 * Misc/WebKitSystemBits.h:
2522 * Misc/WebKitSystemBits.m:
2523 (WebMemorySize): Deleted.
2524 * WebView/WebView.mm:
2525 (+[WebView _setCacheModel:]):
2526 (roundUpToPowerOf2): Deleted.
2528 2015-04-22 Darin Adler <darin@apple.com>
2530 Remove OwnPtr and PassOwnPtr use from WebKit/cf, WebKit/mac, and WebKit2
2531 https://bugs.webkit.org/show_bug.cgi?id=143943
2533 Reviewed by Anders Carlsson.
2535 * Plugins/Hosted/ProxyInstance.h: Removed unneeded include.
2536 * Plugins/WebBaseNetscapePluginView.h: Ditto.
2538 * Plugins/WebNetscapePluginEventHandler.h: Use unique_ptr instead of
2539 PassOwnPtr for the create function. Also tweaked formatting and removed
2540 unneeded forward declaration of CGRect.
2541 * Plugins/WebNetscapePluginEventHandler.mm:
2542 (WebNetscapePluginEventHandler::create): Changed to use unique_ptr and
2545 * Plugins/WebNetscapePluginView.h: Use unique_ptr instead of OwnPtr for
2546 the _eventHandler field.
2547 * Plugins/WebNetscapePluginView.mm:
2548 (-[WebNetscapePluginView destroyPlugin]): Changed code to work with unique_ptr.
2550 * WebCoreSupport/WebUserMediaClient.mm: Removed unneeded include.
2552 * WebView/WebDeviceOrientationProviderMock.mm: Changed to use make_unique.
2553 * WebView/WebDeviceOrientationProviderMockInternal.h: Changed to use unique_ptr.
2555 * WebView/WebFrame.mm:
2556 (vectorForDictationPhrasesArray): Changed to return Vector<Vector<String>> and
2557 not a PassOwnPtr. Also rewrote to be much simpler, although there is still a
2558 pre-existing problem here where this could put empty vectors into the result,
2559 and I'm pretty sure the client never expects any of the Vector<String> to be empty.
2560 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
2561 Rewrote logic to involve WebCore types a bit less; old code was round tripping
2562 things through WebCore::URL for no obvious reason.
2564 * WebView/WebFrameInternal.h: Changed vectorForDictationPhrasesArray to return
2565 a Vector<Vector<String>> and not a PassOwnPtr.
2567 * WebView/WebFullScreenController.h: Removed unneeded include.
2569 * WebView/WebViewData.h: Changed m_alternativeTextUIController to be a
2570 m_alternativeTextUIController.
2571 * WebView/WebViewData.mm:
2572 (-[WebViewPrivate init]): Use make_unique to initialize m_alternativeTextUIController.
2574 2015-04-22 Brent Fulgham <bfulgham@apple.com>
2576 VisibleSelection should only accept Range by reference
2577 https://bugs.webkit.org/show_bug.cgi?id=144047
2579 Reviewed by Tim Horton.
2581 Update all uses of VisibleSelection to pass a Range reference instead
2584 * WebCoreSupport/WebContextMenuClient.mm:
2585 (WebContextMenuClient::imageForCurrentSharingServicePickerItem):
2586 * WebView/WebFrame.mm:
2587 (-[WebFrame _selectNSRange:]):
2589 2015-04-22 Eric Carlson <eric.carlson@apple.com>
2591 [Mac] Device picker menu is positioned incorrectly in WK1
2592 https://bugs.webkit.org/show_bug.cgi?id=144049
2593 <rdar://problem/20493101>
2595 Reviewed by Dean Jackson.
2597 * WebView/WebView.mm:
2598 (-[WebView _showPlaybackTargetPicker:location:hasVideo:]): Mouse location is already in
2599 window coordinates so don't call convertRect:toView:nil.
2601 2015-04-21 Brent Fulgham <bfulgham@apple.com>
2603 Extend action menus to support PDF
2604 https://bugs.webkit.org/show_bug.cgi?id=143895
2605 <rdar://problem/19003333>
2607 Reviewed by Tim Horton.
2609 Prevent a crash when someone attempts to invoke an action menu on a PDF hosted
2612 * WebView/WebActionMenuController.mm:
2613 (-[WebActionMenuController performHitTestAtPoint:]): Handle WebPDFView as well as
2614 the WebHTMLView case.
2615 * WebView/WebDocument.h:
2616 * WebView/WebHTMLView.h:
2617 * WebView/WebHTMLView.mm:
2618 (-[WebHTMLView _frame]):
2619 * WebView/WebHTMLViewInternal.h:
2620 * WebView/WebPDFView.h:
2621 * WebView/WebPDFView.mm:
2622 (-[WebPDFView _frame]): Added.
2624 2015-04-22 Eric Carlson <eric.carlson@apple.com>
2626 Unreviewed post-review clean up after r183096.
2628 * WebView/WebMediaPlaybackTargetPicker.h:
2630 2015-04-21 Eric Carlson <eric.carlson@apple.com>
2632 [Mac] Use one playback target for all web processes
2633 https://bugs.webkit.org/show_bug.cgi?id=144009
2635 Reviewed by Tim Horton.
2637 Update to use WebMediaSessionManager for playback target management.
2639 * WebCoreSupport/WebChromeClient.h:
2640 * WebCoreSupport/WebChromeClient.mm:
2641 (WebChromeClient::addPlaybackTargetPickerClient):
2642 (WebChromeClient::removePlaybackTargetPickerClient):
2643 (WebChromeClient::showPlaybackTargetPicker):
2644 (WebChromeClient::playbackTargetPickerClientStateDidChange):
2645 (WebChromeClient::startingMonitoringPlaybackTargets): Deleted.
2646 (WebChromeClient::stopMonitoringPlaybackTargets): Deleted.
2647 * WebView/WebMediaPlaybackTargetPicker.h:
2648 * WebView/WebMediaPlaybackTargetPicker.mm:
2649 (WebMediaPlaybackTargetPicker::addPlaybackTargetPickerClient):
2650 (WebMediaPlaybackTargetPicker::removePlaybackTargetPickerClient):
2651 (WebMediaPlaybackTargetPicker::showPlaybackTargetPicker):
2652 (WebMediaPlaybackTargetPicker::playbackTargetPickerClientStateDidChange):
2653 (WebMediaPlaybackTargetPicker::setPlaybackTarget):
2654 (WebMediaPlaybackTargetPicker::externalOutputDeviceAvailableDidChange):
2655 (WebMediaPlaybackTargetPicker::setShouldPlayToPlaybackTarget):
2656 (WebMediaPlaybackTargetPicker::invalidate):
2657 (WebMediaPlaybackTargetPicker::startingMonitoringPlaybackTargets): Deleted.
2658 (WebMediaPlaybackTargetPicker::stopMonitoringPlaybackTargets): Deleted.
2659 (WebMediaPlaybackTargetPicker::didChoosePlaybackTarget): Deleted.
2660 (WebMediaPlaybackTargetPicker::targetPicker): Deleted.
2661 * WebView/WebView.mm:
2662 (-[WebView _addPlaybackTargetPickerClient:]):
2663 (-[WebView _removePlaybackTargetPickerClient:]):
2664 (-[WebView _showPlaybackTargetPicker:location:hasVideo:]):
2665 (-[WebView _playbackTargetPickerClientStateDidChange:state:]):
2666 (-[WebView _showPlaybackTargetPicker:hasVideo:]): Deleted.
2667 (-[WebView _startingMonitoringPlaybackTargets]): Deleted.
2668 (-[WebView _stopMonitoringPlaybackTargets]): Deleted.
2669 * WebView/WebViewInternal.h:
2671 2015-04-20 Alexey Proskuryakov <ap@apple.com>
2673 Disable mixed content blocking for existing WebKit1 clients
2674 https://bugs.webkit.org/show_bug.cgi?id=143955
2675 rdar://problem/20177186
2677 Reviewed by Oliver Hunt.
2679 * Misc/WebKitVersionChecks.h:
2680 * WebView/WebView.mm:
2681 (shouldAllowInsecureContent):
2682 (-[WebView _preferencesChanged:]):
2684 2015-04-20 Tim Horton <timothy_horton@apple.com>
2686 Implement immediate action support for tel: and mailto: URLs
2687 https://bugs.webkit.org/show_bug.cgi?id=143916
2688 <rdar://problem/19721711>
2690 Reviewed by Darin Adler.
2692 * WebView/WebImmediateActionController.mm:
2693 (-[WebImmediateActionController _defaultAnimationController]):
2694 (-[WebImmediateActionController _animationControllerForDataDetectedText]):
2695 (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
2696 (-[WebImmediateActionController _menuItemForDataDetectedText]): Deleted.
2697 * WebView/WebUIDelegatePrivate.h:
2698 Add _animationControllerForDataDetectedLink and use it when
2699 building immediate actions for tel: and mailto: links.
2701 2015-04-17 Daniel Bates <dabates@apple.com>
2703 REGRESSION: SVG does not support link dragging
2704 https://bugs.webkit.org/show_bug.cgi?id=141597
2706 Reviewed by Darin Adler.
2708 Write -[WebElementDictionary _isLiveLink] in terms of WebCore::isDraggableLink().
2710 * Misc/WebElementDictionary.mm:
2711 (-[WebElementDictionary _isLiveLink]):
2713 2015-04-16 Sam Weinig <sam@webkit.org>
2715 Expose JavaScriptMarkupEnabled preference for WebKit1
2716 <rdar://problem/19939450>
2717 https://bugs.webkit.org/show_bug.cgi?id=143855
2719 Reviewed by Dan Bernstein.
2721 * WebView/WebPreferenceKeysPrivate.h:
2722 Add new key, WebKitJavaScriptMarkupEnabledPreferenceKey
2724 * WebView/WebPreferences.mm:
2725 (+[WebPreferences initialize]):
2726 Initialize WebKitJavaScriptMarkupEnabledPreferenceKey to YES.
2728 (-[WebPreferences isJavaScriptMarkupEnabled]):
2729 (-[WebPreferences setJavaScriptMarkupEnabled:]):
2730 Implement getter/setter.
2732 * WebView/WebPreferencesPrivate.h:
2733 Add new property, javaScriptMarkupEnabled.
2735 * WebView/WebView.mm:
2736 (-[WebView _preferencesChanged:]):
2737 Map the new preference to WebCore's scriptMarkupEnabled setting.
2739 2015-04-15 Brent Fulgham <bfulgham@apple.com>
2741 [Mac] Disable "Save to Downloads" option for local files
2742 https://bugs.webkit.org/show_bug.cgi?id=143794
2744 Reviewed by Tim Horton.
2746 Disable the Image and Media download options if the download
2747 target is a local file. We can only download web resources;
2748 anything else is actually a no-op.
2750 * WebView/WebActionMenuController.mm:
2751 (-[WebActionMenuController _defaultMenuItemsForImage]):
2752 (-[WebActionMenuController _defaultMenuItemsForVideo]):
2754 2015-04-15 Alex Christensen <achristensen@webkit.org>
2756 Progress towards CMake on Mac.
2757 https://bugs.webkit.org/show_bug.cgi?id=143785
2759 Reviewed by Csaba Osztrogonác.
2761 * WebView/WebPDFDocumentExtras.mm:
2762 * WebView/WebPDFView.mm:
2764 2015-04-13 Jer Noble <jer.noble@apple.com>
2766 [Fullscreen] ChromeClient::exitVideoFullscreen() should take a pointer to a HTMLVideoElement.
2767 https://bugs.webkit.org/show_bug.cgi?id=143674
2769 Reviewed by Darin Adler.
2771 * WebCoreSupport/WebChromeClient.h:
2772 * WebCoreSupport/WebChromeClient.mm:
2773 (WebChromeClient::enterVideoFullscreenForVideoElement): Takes a reference.
2774 (WebChromeClient::exitVideoFullscreenForVideoElement): Renamed from exitVideoFullscreen().
2775 (WebChromeClient::exitVideoFullscreen): Deleted.
2777 2015-04-14 Simon Fraser <simon.fraser@apple.com>
2779 Re-enable custom dilation for antialiased fonts
2780 https://bugs.webkit.org/show_bug.cgi?id=143738
2782 Reviewed by Tim Horton.
2784 Enabling custom dilation for antialised fonts broke layout tests, so re-land it,
2785 but disable in WebKitTestRunner and DumpRenderTree. The latter requires adding
2786 a private WebKit pref. This pref defaults to YES, enabling the feature by default
2787 in WK1 as we do for WK2.
2789 * WebView/WebPreferenceKeysPrivate.h:
2790 * WebView/WebPreferences.mm:
2791 (+[WebPreferences initialize]):
2792 (-[WebPreferences setAntialiasedFontDilationEnabled:]):
2793 (-[WebPreferences antialiasedFontDilationEnabled]):
2794 * WebView/WebPreferencesPrivate.h:
2795 * WebView/WebView.mm:
2796 (-[WebView _preferencesChanged:]):
2798 2015-04-13 Brady Eidson <beidson@apple.com>
2800 Share sheets from Share menus appear outside the browser window.
2801 <rdar://problem/20455592> and https://bugs.webkit.org/show_bug.cgi?id=143620
2803 Reviewed by Darin Adler.
2805 Refactor existing Sharing Service Picker code to also be used for the Share menu NSMenuItem.
2807 * Misc/WebSharingServicePickerController.h:
2808 (WebSharingServicePickerClient::webView):
2809 * Misc/WebSharingServicePickerController.mm:
2810 (WebSharingServicePickerClient::WebSharingServicePickerClient):
2811 (WebSharingServicePickerClient::sharingServicePickerWillBeDestroyed):
2812 (WebSharingServicePickerClient::pageForSharingServicePicker):
2813 (WebSharingServicePickerClient::windowForSharingServicePicker):
2814 (WebSharingServicePickerClient::screenRectForCurrentSharingServicePickerItem):
2815 (WebSharingServicePickerClient::imageForCurrentSharingServicePickerItem):
2816 (-[WebSharingServicePickerController initWithItems:includeEditorServices:client:style:]):
2817 (-[WebSharingServicePickerController initWithSharingServicePicker:client:]):
2818 (-[WebSharingServicePickerController sharingService:didShareItems:]):
2820 * WebCoreSupport/WebContextMenuClient.h:
2821 (WebContextMenuClient::webView): Deleted.
2822 * WebCoreSupport/WebContextMenuClient.mm:
2823 (WebContextMenuClient::WebContextMenuClient):
2824 (WebContextMenuClient::pageForSharingServicePicker): Deleted.
2825 (WebContextMenuClient::windowForSharingServicePicker): Deleted.
2827 * WebCoreSupport/WebSelectionServiceController.h:
2828 * WebCoreSupport/WebSelectionServiceController.mm:
2829 (WebSelectionServiceController::WebSelectionServiceController):
2830 (WebSelectionServiceController::handleSelectionServiceClick):
2831 (WebSelectionServiceController::pageForSharingServicePicker): Deleted.
2832 (WebSelectionServiceController::windowForSharingServicePicker): Deleted.
2833 (WebSelectionServiceController::screenRectForCurrentSharingServicePickerItem): Deleted.
2834 (WebSelectionServiceController::imageForCurrentSharingServicePickerItem): Deleted.
2836 * WebView/WebHTMLView.mm:
2837 (-[WebHTMLView menuForEvent:]):
2838 * WebView/WebViewData.h:
2840 2015-04-13 Beth Dakin <bdakin@apple.com>
2842 Add force property to MouseEvents
2843 https://bugs.webkit.org/show_bug.cgi?id=143569
2845 rdar://problem/20472954
2847 Reviewed by Darin Adler.
2849 PlatformMouseEvent and MouseEvent now take force parameters.
2850 * WebView/WebFrame.mm:
2851 (-[WebFrame _dragSourceEndedAt:operation:]):
2852 * WebView/WebPDFView.mm:
2853 (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
2855 2015-04-12 Darin Adler <darin@apple.com>
2857 [Cocoa] Localizable strings are inconsistent and need to be regenerated
2858 https://bugs.webkit.org/show_bug.cgi?id=143661
2859 rdar://problem/19634388
2861 Reviewed by Dan Bernstein.
2863 * Misc/WebLocalizableStrings.mm:
2864 (LoadWebLocalizedStringsTimerCallback): Moved the comment, useful for programmers but
2865 not for localization, into a C++ source code comment, and made the localizer comment
2866 consistent with the place this localizable string is used for actual localization.
2867 * WebCoreSupport/WebEditorClient.mm:
2868 (undoNameForEditAction): Changed the localizer comments for Delete and Dictation
2869 to match the ones in WebKit2; no need to specify that these are iOS only, and if we do
2870 want to specify that, we should not be using the term PLATFORM(IOS) since there is no
2871 reason for us to expect localizers to understand that terminology. Also added a comment
2872 about the fact that we have two copies of all the localizable strings.
2874 2015-04-11 Yusuke Suzuki <utatane.tea@gmail.com>
2876 [ES6] Enable Symbol in web pages
2877 https://bugs.webkit.org/show_bug.cgi?id=143375
2879 Reviewed by Ryosuke Niwa.
2881 * WebView/WebPreferencesPrivate.h:
2883 2015-04-08 Sam Weinig <sam@webkit.org>
2885 Allow LaunchServices to handle URLs on link navigations
2886 <rdar://problem/19446826>
2887 https://bugs.webkit.org/show_bug.cgi?id=143544
2889 Reviewed by Anders Carlsson.
2891 * Configurations/WebKitLegacy.xcconfig:
2892 Link MobileCoreServices.
2894 * WebCoreSupport/WebFrameLoaderClient.h:
2895 * WebCoreSupport/WebFrameLoaderClient.mm:
2897 (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
2898 (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2899 (WebFrameLoaderClient::setUpPolicyListener):
2900 Only let LaunchServices have a crack at the URL if the navigation is:
2901 1) a main frame navigation
2902 2) a result of a user gesture
2904 2015-04-10 Alexey Proskuryakov <ap@apple.com>
2908 * Misc/WebNSURLExtras.mm: (-[NSString _webkit_unescapedQueryValue]): Ignore a deprecation.
2910 2015-04-10 Eric Carlson <eric.carlson@apple.com>
2912 [Mac] Refactor MediaPlaybackTarget
2913 https://bugs.webkit.org/show_bug.cgi?id=143571
2915 Reviewed by Jer Noble.
2917 * WebView/WebMediaPlaybackTargetPicker.h:
2918 * WebView/WebMediaPlaybackTargetPicker.mm:
2919 (WebMediaPlaybackTargetPicker::didChoosePlaybackTarget): Take a Ref<MediaPlaybackTarget>&&.
2921 2015-04-09 Andy Estes <aestes@apple.com>
2923 [Cocoa] Add a HAVE(AVKIT) and use it
2924 https://bugs.webkit.org/show_bug.cgi?id=143593
2926 Reviewed by David Kilzer.
2928 * WebView/WebPreferences.mm:
2929 (+[WebPreferences initialize]): Only set WebKitAVKitEnabled to YES if HAVE(AVKIT).
2930 (-[WebPreferences setAVKitEnabled:]): Only set value for WebKitAVKitEnabled if HAVE(AVKIT).
2931 * WebView/WebView.mm:
2932 (-[WebView _preferencesChanged:]): Only called Settings::setAVKitEnabled() if HAVE(AVKIT).
2934 2015-04-09 Chris Dumez <cdumez@apple.com>
2936 [WK2][iOS] editorState() should not cause a synchronous layout
2937 https://bugs.webkit.org/show_bug.cgi?id=142536
2938 <rdar://problem/20041506>
2940 Reviewed by Enrica Casucci.
2942 Provide implementation for EditorClient::didChangeSelectionAndUpdateLayout().
2944 * WebCoreSupport/WebEditorClient.h:
2946 2015-04-08 Brent Fulgham <bfulgham@apple.com>
2948 [Mac] WebKit is not honoring OS preferences for secondary click behaviors
2949 https://bugs.webkit.org/show_bug.cgi?id=143452
2950 <rdar://problem/20437483>
2952 Reviewed by Tim Horton.
2954 We were improperly intercepting contextual menu clicks and passing them through
2955 the mouseDown handler, rather than processing via NSView's menu handling code.
2957 * WebView/WebHTMLView.mm:
2958 (-[WebHTMLView otherMouseDown:]): Treat context menu events the same as the action
2959 menu case, and pass it to AppKit for normal menu processing.
2961 2015-04-08 Brady Eidson <beidson@apple.com>
2963 Expose the "Share" menu for links, images, and media.
2964 <rdar://problem/20435340> and https://bugs.webkit.org/show_bug.cgi?id=143502
2966 Reviewed by Tim Horton.
2968 * WebCoreSupport/WebContextMenuClient.h:
2969 * WebCoreSupport/WebContextMenuClient.mm:
2970 (WebContextMenuClient::shareMenuItem):
2972 2015-04-08 Anders Carlsson <andersca@apple.com>
2974 Move some ApplicationCache static member functions to ApplicationCacheStorage
2975 https://bugs.webkit.org/show_bug.cgi?id=143524
2977 Reviewed by Antti Koivisto.
2979 * WebCoreSupport/WebApplicationCache.mm:
2980 (+[WebApplicationCache diskUsageForOrigin:]):
2981 (+[WebApplicationCache deleteAllApplicationCaches]):
2982 (+[WebApplicationCache deleteCacheForOrigin:]):
2984 2015-04-08 Chris Dumez <cdumez@apple.com>
2986 Rename ActiveDOMObject::canSuspend() to canSuspendForPageCache() for clarity
2987 https://bugs.webkit.org/show_bug.cgi?id=143513
2989 Reviewed by Andreas Kling.
2991 Update ScriptExecutionContext::canSuspendActiveDOMObjects() to
2992 canSuspendActiveDOMObjectsForPageCache() as the method was renamed.
2994 * WebView/WebFrame.mm:
2995 (-[WebFrame _cacheabilityDictionary]):
2997 2015-04-07 Anders Carlsson <andersca@apple.com>
2999 Get rid of uses of ApplicationCacheStorage::singleton() from WebKitLegacy
3000 https://bugs.webkit.org/show_bug.cgi?id=143504
3002 Reviewed by Sam Weinig.
3004 Add a webApplicationCacheStorage() function and use it throughout WebKitLegacy.
3005 In the future, webApplicationCacheStorage will return a custom singleton, but for now
3006 it just returns ApplicationCacheStorage::singleton().
3009 (+[WebCache empty]):
3010 * WebCoreSupport/WebApplicationCache.mm:
3011 (+[WebApplicationCache maximumSize]):
3012 (+[WebApplicationCache setMaximumSize:]):
3013 (+[WebApplicationCache defaultOriginQuota]):
3014 (+[WebApplicationCache setDefaultOriginQuota:]):
3015 (+[WebApplicationCache originsWithCache]):
3016 (webApplicationCacheStorage):
3017 * WebCoreSupport/WebApplicationCacheInternal.h: Added.
3018 * WebCoreSupport/WebApplicationCacheQuotaManager.mm:
3019 (-[WebApplicationCacheQuotaManager usage]):
3020 (-[WebApplicationCacheQuotaManager quota]):
3021 (-[WebApplicationCacheQuotaManager setQuota:]):
3022 * WebView/WebView.mm:
3023 (WebKitInitializeApplicationCachePathIfNecessary):
3025 2015-04-07 Brady Eidson <beidson@apple.com>
3027 ContextMenuItem refactoring
3028 https://bugs.webkit.org/show_bug.cgi?id=143485
3030 Reviewed by Beth Dakin.
3032 * WebCoreSupport/WebContextMenuClient.mm:
3033 (WebContextMenuClient::contextMenuItemSelected):
3035 2015-04-06 Chris Dumez <cdumez@apple.com>
3037 Bing video search result pages are not PageCacheable
3038 https://bugs.webkit.org/show_bug.cgi?id=143463
3039 <rdar://problem/20440916>
3041 Reviewed by Alexey Proskuryakov.
3043 Fix the iOS / WK1 build by using MemoryCache::resourceForRequest()
3044 instead of resourceForUrl().
3047 (+[WebCache imageForURL:]):
3049 2015-04-05 Simon Fraser <simon.fraser@apple.com>
3051 Remove "go ahead and" from comments
3052 https://bugs.webkit.org/show_bug.cgi?id=143421
3054 Reviewed by Darin Adler, Benjamin Poulain.
3056 Remove the phrase "go ahead and" from comments where it doesn't add
3057 anything (which is almost all of them).
3059 * WebView/WebDynamicScrollBarsView.mm:
3060 (-[WebDynamicScrollBarsView updateScrollers]):
3061 * WebView/WebHTMLView.mm:
3062 (-[WebHTMLView insertText:]):
3064 2015-04-02 Brady Eidson <beidson@apple.com>
3066 Unreviewed: Reland change after rollout.
3068 Expose the "Share" menu for text selections on platforms where it's available.
3069 rdar://problem/20034174 and https://bugs.webkit.org/show_bug.cgi?id=143318
3071 * WebView/WebImmediateActionController.mm: Update for required #include
3073 2015-04-02 Commit Queue <commit-queue@webkit.org>
3075 Unreviewed, rolling out r182293.
3076 https://bugs.webkit.org/show_bug.cgi?id=143355
3078 Broke GTK and EFL builds. (Requested by bfulgham on #webkit).
3082 "Expose the "Share" menu for text selections on platforms
3083 where it's available."
3084 https://bugs.webkit.org/show_bug.cgi?id=143318
3085 http://trac.webkit.org/changeset/182293
3087 2015-04-02 Brady Eidson <beidson@apple.com>
3089 Expose the "Share" menu for text selections on platforms where it's available.
3090 rdar://problem/20034174 and https://bugs.webkit.org/show_bug.cgi?id=143318
3092 Reviewed by Sam Weinig.
3094 * WebView/WebImmediateActionController.mm: Update for required #include
3096 2015-04-02 Yusuke Suzuki <utatane.tea@gmail.com>
3098 Clean up EnumerationMode to easily extend
3099 https://bugs.webkit.org/show_bug.cgi?id=143276
3101 Reviewed by Geoffrey Garen.
3103 Use default EnumerationMode().
3105 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
3106 (WebKit::NetscapePluginInstanceProxy::enumerate):
3108 2015-03-31 Simon Fraser <simon.fraser@apple.com>
3110 Remove scrolling tree dependency on wheel event handler counts, and use fast scrolling even when there are wheel handlers
3111 https://bugs.webkit.org/show_bug.cgi?id=143288
3113 Reviewed by Beth Dakin.
3115 Remove the wheel event counting that Document does, and passes into the scrolling tree.
3116 The ScrollingTree now just uses the non-fast scrollable region to determine when to
3117 fast scroll on pages with wheel event handlers.
3119 * WebCoreSupport/WebChromeClient.h:
3121 2015-03-31 Timothy Horton <timothy_horton@apple.com>
3123 TextIndicator for <span> inside an <a> only highlights the <span>, should highlight the whole <a>
3124 https://bugs.webkit.org/show_bug.cgi?id=143287
3125 <rdar://problem/20318342>
3127 Reviewed by Beth Dakin.
3129 * WebView/WebImmediateActionController.mm:
3130 (-[WebImmediateActionController _defaultAnimationController]):
3131 Instead of just highlighting the hit element, highlight the whole
3132 element that the link URL comes from.
3134 2015-03-31 Yusuke Suzuki <utatane.tea@gmail.com>
3136 Clean up Identifier factories to clarify the meaning of StringImpl*
3137 https://bugs.webkit.org/show_bug.cgi?id=143146
3139 Reviewed by Filip Pizlo.
3141 Just change to Identifier::fromString.
3143 * Plugins/Hosted/NetscapePluginHostProxy.mm:
3144 (identifierFromIdentifierRep):
3145 * Plugins/Hosted/ProxyInstance.mm:
3146 (WebKit::ProxyInstance::getPropertyNames):
3148 2015-03-28 Anders Carlsson <andersca@apple.com>
3150 Remove an unused SPI method from WebKitLegacy
3151 https://bugs.webkit.org/show_bug.cgi?id=143185
3153 Reviewed by Sam Weinig.
3155 * WebView/WebDataSource.mm:
3156 (-[WebDataSource _transferApplicationCache:]): Deleted.
3157 * WebView/WebDataSourcePrivate.h:
3159 2015-03-26 Alex Christensen <achristensen@webkit.org>
3161 Progress towards CMake on Mac.
3162 https://bugs.webkit.org/show_bug.cgi?id=143112
3164 Reviewed by Chris Dumez.
3166 * WebCoreSupport/WebFrameLoaderClient.h:
3168 2015-03-26 Ryosuke Niwa <rniwa@webkit.org>
3170 Cursor doesn't change back to pointer when leaving Mail
3171 https://bugs.webkit.org/show_bug.cgi?id=132038
3173 Reviewed by Anders Carlsson.
3175 Fixed the bug by adding a cursor rect and making the primary tracking area update the cursor so that
3176 AppKit will reset the cursor as it leaves the WebView.
3178 We use nil cursor here since we manually update the cursor by calling [NSCursor set].
3180 * WebView/WebHTMLView.mm:
3181 (-[WebHTMLView setDataSource:]): Use NSTrackingCursorUpdate option in creating the primary tracking area.
3183 2015-03-24 Anders Carlsson <andersca@apple.com>
3185 Fix designated initializer violations
3186 https://bugs.webkit.org/show_bug.cgi?id=143016
3187 rdar://problem/20268858
3189 Reviewed by Dan Bernstein.
3191 Move -[WebBackForwardList initWithBackForwardList:] to the implementation instead of a category since
3192 nobody calls it outside of WebBackForwardList.mm.
3194 * History/WebBackForwardList.mm:
3195 * History/WebBackForwardListInternal.h:
3197 2015-03-23 Alexey Proskuryakov <ap@apple.com>
3199 REGRESSION (Yosemite): WKView visibility notifications are messed up
3200 https://bugs.webkit.org/show_bug.cgi?id=142945
3202 Reviewed by Tim Horton.
3204 As these notifications cannot be used by NSView subclasses, create a separate
3205 object for observing them.
3207 * WebView/WebView.mm:
3208 (-[WebView _commonInitializationWithFrameName:groupName:]):
3209 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
3210 (-[WebView addWindowObserversForWindow:]):
3211 (-[WebView removeWindowObservers]):
3212 (-[WebView viewWillMoveToWindow:]): Make sure that observers are removed even
3213 if -[WebView close] is called manually.
3214 * WebView/WebViewData.h:
3215 * WebView/WebViewData.mm:
3216 (-[WebWindowVisibilityObserver initWithView:]):
3217 (-[WebWindowVisibilityObserver startObserving:]):
3218 (-[WebWindowVisibilityObserver stopObserving:]):
3219 (-[WebWindowVisibilityObserver _windowVisibilityChanged:]):
3221 2015-03-23 Tim Horton <timothy_horton@apple.com>
3223 Add a share item to the link action menu
3224 https://bugs.webkit.org/show_bug.cgi?id=142961
3225 <rdar://problem/19198374>
3227 Reviewed by Beth Dakin.
3229 * WebView/WebActionMenuController.mm:
3230 (-[WebActionMenuController _defaultMenuItemsForImage]):
3231 (-[WebActionMenuController _defaultMenuItemsForVideo]):
3232 (-[WebActionMenuController _createActionMenuItemForTag:]):
3233 (-[WebActionMenuController _createShareActionMenuItemForTag:withItems:]):
3234 Adopt -[NSMenuItem standardShareMenuItemWithItems].
3235 All of the null-checking is unnecessary as it's impossible to enter
3236 these functions with a null image/etc.
3237 Also, remove a duplicate isDownloadableMedia check for the 'save to downloads' item.
3239 (-[WebActionMenuController _defaultMenuItemsForLink]):
3240 * WebView/WebUIDelegatePrivate.h:
3241 Add a 'Share' item to the link menu.
3243 2015-03-22 Alexey Proskuryakov <ap@apple.com>
3247 * WebView/WebView.mm: (-[WebView _showPlaybackTargetPicker:hasVideo:]):
3249 2015-03-22 Eric Carlson <eric.carlson@apple.com>
3251 [Mac] Enable WIRELESS_PLAYBACK_TARGET for WK1
3252 https://bugs.webkit.org/show_bug.cgi?id=142940
3254 Reviewed by Sam Weinig.
3256 * WebCoreSupport/WebChromeClient.h:
3257 * WebCoreSupport/WebChromeClient.mm:
3258 (WebChromeClient::showPlaybackTargetPicker): New.
3259 (WebChromeClient::startingMonitoringPlaybackTargets): New.
3260 (WebChromeClient::stopMonitoringPlaybackTargets): New.
3262 * WebView/WebView.mm:
3263 (-[WebView _close]): Invalidate and free the target picker.
3264 (-[WebView _devicePicker]): New.
3265 (-[WebView _showPlaybackTargetPicker:hasVideo:]): New.
3266 (-[WebView _startingMonitoringPlaybackTargets]): New.
3267 (-[WebView _stopMonitoringPlaybackTargets]): New.
3269 * WebView/WebMediaPlaybackTargetPicker.h:
3270 * WebView/WebMediaPlaybackTargetPicker.mm:
3271 (WebMediaPlaybackTargetPicker::create): New.
3272 (WebMediaPlaybackTargetPicker::WebMediaPlaybackTargetPicker): New.
3273 (WebMediaPlaybackTargetPicker::showPlaybackTargetPicker): New.
3274 (WebMediaPlaybackTargetPicker::startingMonitoringPlaybackTargets): New.
3275 (WebMediaPlaybackTargetPicker::stopMonitoringPlaybackTargets): New.
3276 (WebMediaPlaybackTargetPicker::didChoosePlaybackTarget): New.
3277 (WebMediaPlaybackTargetPicker::externalOutputDeviceAvailableDidChange): New.
3278 (WebMediaPlaybackTargetPicker::invalidate): New.
3279 (WebMediaPlaybackTargetPicker::targetPicker): New.
3281 * WebView/WebViewData.h:
3282 (WebMediaPlaybackTargetPicker::~WebMediaPlaybackTargetPicker):
3283 * WebView/WebViewData.mm:
3284 * WebView/WebViewInternal.h:
3286 2015-03-19 Andy Estes <aestes@apple.com>
3288 [Content Filtering] Add tests for unblock requests
3289 https://bugs.webkit.org/show_bug.cgi?id=142900
3291 Reviewed by Andreas Kling.
3293 * WebCoreSupport/WebFrameLoaderClient.mm:
3294 (WebFrameLoaderClient::dispatchDidStartProvisionalLoad): This now happens in PolicyChecker.
3295 (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): Ditto.
3296 * WebView/WebFrame.mm:
3297 (-[WebFrame _contentFilterDidHandleNavigationAction:]): Deleted.
3298 * WebView/WebFrameInternal.h: Removed contentFilterUnblockHandler from WebFramePrivate.
3300 2015-03-19 Enrica Casucci <enrica@apple.com>
3302 <attachment> should put URLs on the pasteboard so that Finder can accept drops.
3303 https://bugs.webkit.org/show_bug.cgi?id=142801
3304 rdar://problem/19982527
3306 Reviewed by Tim Horton.
3308 This patch adds all the necessary support to write attachment elements into
3309 the pasteboard, including the promised type in WK1.
3311 * Misc/WebNSPasteboardExtras.mm:
3312 (-[NSPasteboard _web_declareAndWriteDragImageForElement:URL:title:archive:source:]):
3313 * WebCoreSupport/WebDragClient.h:
3314 * WebCoreSupport/WebDragClient.mm:
3315 (WebDragClient::declareAndWriteAttachment):
3316 * WebView/WebHTMLView.mm:
3317 (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
3318 * WebView/WebUIDelegate.h:
3320 2015-03-19 Chris Dumez <cdumez@apple.com>
3322 Clean up DOMTimer related settings
3323 https://bugs.webkit.org/show_bug.cgi?id=142837
3325 Reviewed by Darin Adler.
3327 Stop setting the DOMTimers' default minimum interval to 4ms as this
3330 * WebView/WebView.mm:
3331 (-[WebView _commonInitializationWithFrameName:groupName:]):
3333 2015-03-17 Conrad Shultz <conrad_shultz@apple.com>
3335 Ignore some deprecation warnings
3336 https://bugs.webkit.org/show_bug.cgi?id=142813
3338 Reviewed by Mark Rowe.
3340 Fixing the deprecations is tracked by: <rdar://problem/20201450>
3342 * WebCoreSupport/PopupMenuMac.mm:
3343 (PopupMenuMac::populate):
3345 2015-03-17 Tim Horton <timothy_horton@apple.com>
3347 Cannot invoke action menus anymore
3348 https://bugs.webkit.org/show_bug.cgi?id=142797
3349 <rdar://problem/20032670>
3351 * WebView/WebHTMLView.mm:
3352 (-[WebHTMLView otherMouseDown:]):
3353 Need a respondsToSelector check.
3355 2015-03-17 Tim Horton <timothy_horton@apple.com>
3359 * WebView/WebHTMLView.mm:
3361 2015-03-17 Tim Horton <timothy_horton@apple.com>
3363 Cannot invoke action menus anymore
3364 https://bugs.webkit.org/show_bug.cgi?id=142797
3365 <rdar://problem/20032670>
3367 Reviewed by Beth Dakin.
3369 * WebView/WebHTMLView.mm:
3370 (-[WebHTMLView otherMouseDown:]):
3371 Don't override otherMouseDown: if the event would make an action menu.
3373 2015-03-16 Ryosuke Niwa <rniwa@webkit.org>
3375 Enable ES6 classes by default
3376 https://bugs.webkit.org/show_bug.cgi?id=142774
3378 Reviewed by Gavin Barraclough.
3380 * Configurations/FeatureDefines.xcconfig:
3382 2015-03-16 Brent Fulgham <bfulgham@apple.com>
3384 WebKit1 Clients Are Not Reliably Repainted
3385 https://bugs.webkit.org/show_bug.cgi?id=142750
3386 <rdar://problem/20042453>
3388 Reviewed by Simon Fraser.
3390 Check with the FrameView to see if we are in an immediately paintable state. If we are not,
3391 mark the view as dirty once the _immediateScrollToPoint operation is complete so that the
3392 region will be painted properly.
3394 * WebView/WebClipView.mm:
3395 (-[WebClipView _immediateScrollToPoint:]):
3397 2015-03-16 Conrad Shultz <conrad_shultz@apple.com>
3399 Allow clients to selectively disable plug-ins
3400 https://bugs.webkit.org/show_bug.cgi?id=142506
3402 Reviewed by Anders Carlsson.
3404 Add new functionality allow clients to declaratively disable individual plug-ins (in a manner that conceals them
3405 from the page). As part of this:
3407 1) Introduce the concept of web-visible plug-ins and related concepts, as distinct from the real underlying
3410 2) Where applicable, plumb additional information about plug-ins (specifically, bundle identification) deeper
3413 3) Add generic functionality to PluginStrategy to support filtering plug-ins for visibility and introduce
3414 a concrete implementation thereof in WebPlatformStrategies in WebKit2.
3416 4) Add messaging infrastructure to allow clients to set and clear plug-in policies.
3418 While currently only used in a very limited manner, the new declarative plug-in policies are written generically
3419 so that they could be easily used in the future to reduce synchronous messaging to the client when loading plug-ins.
3421 * Plugins/WebBasePluginPackage.mm:
3422 (-[WebBasePluginPackage getPluginInfoFromPLists]):
3423 Set new members in PluginInfo.
3425 * Plugins/WebNetscapePluginPackage.mm:
3426 (-[WebNetscapePluginPackage getPluginInfoFromResources]):
3427 Set new members in PluginInfo.
3429 * WebCoreSupport/WebPlatformStrategies.h:
3430 * WebCoreSupport/WebPlatformStrategies.mm:
3431 (WebPlatformStrategies::getWebVisiblePluginInfo):
3432 Override to wrap getPluginInfo().
3433 (WebPlatformStrategies::setPluginLoadClientPolicy):
3434 Override to do nothing.
3435 (WebPlatformStrategies::clearPluginClientPolicies):
3438 * WebView/WebFrame.mm:
3439 (-[WebFrame _canProvideDocumentSource]):
3440 Update to reflect function rename.
3442 2015-03-14 Dean Jackson <dino@apple.com>
3444 Feature flag for Animations Level 2
3445 https://bugs.webkit.org/show_bug.cgi?id=142699
3446 <rdar://problem/20165097>
3448 Reviewed by Brent Fulgham.
3450 Add ENABLE_CSS_ANIMATIONS_LEVEL_2 and a runtime flag animationTriggersEnabled.
3452 * Configurations/FeatureDefines.xcconfig:
3454 2015-03-13 Commit Queue <commit-queue@webkit.org>
3456 Unreviewed, rolling out r181483.
3457 https://bugs.webkit.org/show_bug.cgi?id=142688
3459 Caused use-after-free on many tests (Requested by ap on
3464 "Allow clients to selectively disable plug-ins"
3465 https://bugs.webkit.org/show_bug.cgi?id=142506
3466 http://trac.webkit.org/changeset/181483
3468 2015-03-13 Eric Carlson <eric.carlson@apple.com>
3470 [Mac] Enable WIRELESS_PLAYBACK_TARGET
3471 https://bugs.webkit.org/show_bug.cgi?id=142635
3473 Reviewed by Darin Adler.
3475 * Configurations/FeatureDefines.xcconfig:
3477 2015-03-10 Conrad Shultz <conrad_shultz@apple.com>
3479 Allow clients to selectively disable plug-ins
3480 https://bugs.webkit.org/show_bug.cgi?id=142506
3482 Reviewed by Anders Carlsson.
3484 Add new functionality allow clients to declaratively disable individual plug-ins (in a manner that conceals them
3485 from the page). As part of this:
3487 1) Introduce the concept of web-visible plug-ins and related concepts, as distinct from the real underlying
3490 2) Where applicable, plumb additional information about plug-ins (specifically, bundle identification) deeper
3493 3) Add generic functionality to PluginStrategy to support filtering plug-ins for visibility and introduce
3494 a concrete implementation thereof in WebPlatformStrategies in WebKit2.
3496 4) Add messaging infrastructure to allow clients to set and clear plug-in policies.
3498 While currently only used in a very limited manner, the new declarative plug-in policies are written generically
3499 so that they could be easily used in the future to reduce synchronous messaging to the client when loading plug-ins.
3501 * Plugins/WebBasePluginPackage.mm:
3502 (-[WebBasePluginPackage getPluginInfoFromPLists]):
3503 Set new members in PluginInfo.
3505 * Plugins/WebNetscapePluginPackage.mm:
3506 (-[WebNetscapePluginPackage getPluginInfoFromResources]):
3507 Set new members in PluginInfo.
3509 * WebCoreSupport/WebPlatformStrategies.h:
3510 * WebCoreSupport/WebPlatformStrategies.mm:
3511 (WebPlatformStrategies::getWebVisiblePluginInfo):
3512 Override to wrap getPluginInfo().
3513 (WebPlatformStrategies::setPluginLoadClientPolicy):
3514 Override to do nothing.
3515 (WebPlatformStrategies::clearPluginClientPolicies):
3518 * WebView/WebFrame.mm:
3519 (-[WebFrame _canProvideDocumentSource]):
3520 Update to reflect function rename.
3522 2015-03-10 Sam Weinig <sam@webkit.org>
3524 Allow adding a button in input elements for auto fill related functionality
3525 <rdar://problem/19782066>
3526 https://bugs.webkit.org/show_bug.cgi?id=142564
3528 Reviewed by Anders Carlsson.
3530 * DOM/WebDOMOperations.mm:
3531 (-[DOMHTMLInputElement _setAutofilled:]):
3532 Update for consistent spelling of AutoFill.
3534 2015-03-10 Timothy Horton <timothy_horton@apple.com>
3538 * History/WebHistory.mm:
3539 (-[WebHistoryPrivate loadHistoryGutsFromURL:savedItemsCount:collectDiscardedItemsInto:error:]):
3540 * WebCoreSupport/WebFrameLoaderClient.mm:
3541 (WebFrameLoaderClient::convertMainResourceLoadToDownload):
3543 2015-03-10 Tim Horton <timothy_horton@apple.com>
3545 Fix the Mac build with a newer compiler
3547 * Plugins/WebPluginController.mm:
3548 (WebKit_TSUpdateCheck_alertDidEnd_returnCode_contextInfo_):
3549 (WebKit_NSAlert_beginSheetModalForWindow_modalDelegate_didEndSelector_contextInfo_):
3551 2015-03-09 David Kilzer <ddkilzer@apple.com>
3553 [iOS] Fix build when compiling with dead code stripping disabled
3554 <http://webkit.org/b/142467>
3556 Reviewed by Simon Fraser.
3558 * Configurations/WebKitLegacy.xcconfig:
3559 (EXCLUDED_SOURCE_FILE_NAMES[sdk=iphone*]): Disable mig code
3560 generation and compilation for out-of-process plugin support.
3561 This was never used on iOS.
3563 2015-03-06 Myles C. Maxfield <mmaxfield@apple.com>
3565 [iOS] SVG fonts are garbled
3566 https://bugs.webkit.org/show_bug.cgi?id=142377
3568 Reviewed by Simon Fraser.
3570 * Configurations/FeatureDefines.xcconfig:
3572 2015-03-04 Yusuke Suzuki <utatane.tea@gmail.com>
3574 Hide Promise with runtime flags under Cocoa JSContext API
3575 https://bugs.webkit.org/show_bug.cgi?id=141965
3577 Reviewed by Filip Pizlo.
3579 Add new JSC runtime flag, PromiseDisabled.
3581 * WebView/WebPreferencesPrivate.h:
3583 2015-03-03 Andy Estes <aestes@apple.com>