1 2014-05-19 Brady Eidson <beidson@apple.com>
3 Use different AppKit API for image control menus.
4 <rdar://problem/16807828> and https://bugs.webkit.org/show_bug.cgi?id=133087
6 Reviewed by Tim Horton.
8 For image control menus, use popUpMenuPositioningItem: instead of popUpContextMenu:
10 * WebCoreSupport/WebContextMenuClient.h:
11 * WebCoreSupport/WebContextMenuClient.mm:
12 (WebContextMenuClient::contextMenuForEvent):
13 (WebContextMenuClient::showContextMenu):
15 2014-05-19 Andy Estes <aestes@apple.com>
17 Set WebKitSuppressesIncrementalRenderingKey to NO by default on both Mac and iOS
18 https://bugs.webkit.org/show_bug.cgi?id=133073
20 Reviewed by Simon Fraser.
22 * WebView/WebPreferences.mm:
23 (+[WebPreferences initialize]):
25 2014-05-18 Anders Carlsson <andersca@apple.com>
27 Bring back two NSString category methods on iOS
28 https://bugs.webkit.org/show_bug.cgi?id=133055
29 <rdar://problem/16951983>
31 Reviewed by Adele Peterson.
33 * Misc/WebNSURLExtras.h:
34 * Misc/WebNSURLExtras.mm:
35 (-[NSString _webkit_unescapedQueryValue]):
36 (-[NSString _webkit_queryKeysAndValues]):
38 2014-05-18 Rik Cabanier <cabanier@adobe.com>
40 support for navigator.hardwareConcurrency
41 https://bugs.webkit.org/show_bug.cgi?id=132588
43 Reviewed by Filip Pizlo.
45 * Configurations/FeatureDefines.xcconfig:
47 2014-05-17 Zalan Bujtas <zalan@apple.com>
49 Subpixel rendering: Add subpixelCSSOMElementMetricsEnabled to WK1 WebPreferences.
50 https://bugs.webkit.org/show_bug.cgi?id=133029
52 Reviewed by Simon Fraser.
54 To match the WK2 preferences API.
56 * WebView/WebPreferenceKeysPrivate.h:
57 * WebView/WebPreferences.mm:
58 (+[WebPreferences initialize]):
59 (-[WebPreferences subpixelCSSOMElementMetricsEnabled]):
60 (-[WebPreferences setSubpixelCSSOMElementMetricsEnabled:]):
61 * WebView/WebPreferencesPrivate.h:
63 (-[WebView _preferencesChanged:]):
65 2014-05-16 Simon Fraser <simon.fraser@apple.com>
67 Remove "region-based columns" prefs
68 https://bugs.webkit.org/show_bug.cgi?id=133006
69 <rdar://problem/16945824>
71 Reviewed by Dave Hyatt.
73 Remove "region-based columns" prefs and related code, since this is only
74 way to render columns now.
76 * WebView/WebPreferenceKeysPrivate.h:
77 * WebView/WebPreferences.mm:
78 (+[WebPreferences initialize]):
79 (-[WebPreferences setRegionBasedColumnsEnabled:]): Deleted.
80 (-[WebPreferences regionBasedColumnsEnabled]): Deleted.
81 * WebView/WebPreferencesPrivate.h:
83 (-[WebView _preferencesChanged:]):
85 2014-05-15 Brady Eidson <beidson@apple.com>
87 Crash in [WebSharingServicePickerController clear]
88 <rdar://problem/16879073> and https://bugs.webkit.org/show_bug.cgi?id=132968
90 Reviewed by Tim Horton.
92 * Misc/WebSharingServicePickerController.mm:
93 (-[WebSharingServicePickerController clear]): Add a RetainPtr protector so this object
94 isn’t dealloc’ed partway through.
96 2014-05-15 Simon Fraser <simon.fraser@apple.com>
98 Initialize the WebKitRegionBasedColumnsEnabled pref on iOS WK1
99 https://bugs.webkit.org/show_bug.cgi?id=132969
101 Reviewed by Dan Bernstein.
103 Move this outside the #if !PLATFORM(IOS) block.
105 * WebView/WebPreferences.mm:
106 (+[WebPreferences initialize]):
108 2014-05-15 Simon Fraser <simon.fraser@apple.com>
110 Clean up -[WebView _preferencesChanged]
111 https://bugs.webkit.org/show_bug.cgi?id=132967
113 Reviewed by Sam Weinig.
115 -[WebView _preferencesChanged] was a horrible mess of #ifdefs. Clean this up by
116 moving all the #if PLATFORM() code together, and moving all the feature-define related
119 No behavior changes, checked by diffing the resulting Settings with and without
120 the patch, on OS X and iOS.
122 * WebView/WebView.mm:
123 (-[WebView _preferencesChanged:]):
125 2014-05-15 Alex Christensen <achristensen@webkit.org>
127 Add pointer lock to features without enabling it.
128 https://bugs.webkit.org/show_bug.cgi?id=132961
130 Reviewed by Sam Weinig.
132 * Configurations/FeatureDefines.xcconfig:
133 Added ENABLE_POINTER_LOCK to list of features.
134 * WebView/WebPDFView.mm:
135 (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
136 Added extra parameters needed when pointer lock is enabled.
138 2014-05-14 Brady Eidson <beidson@apple.com>
140 Implement NSSharingServiceDelegate method "transitionImageForShareItem"
141 <rdar://problem/16878020> and https://bugs.webkit.org/show_bug.cgi?id=132911
143 Reviewed by Tim Horton.
145 * Misc/WebSharingServicePickerController.mm:
146 (-[WebSharingServicePickerController sharingService:transitionImageForShareItem:contentRect:]):
148 * WebCoreSupport/WebContextMenuClient.h:
149 * WebCoreSupport/WebContextMenuClient.mm:
150 (WebContextMenuClient::renderedImageForControlledImage): Paint the entire content rect for the controlled image
151 into an ImageBuffer, then return the resulting NSImage. This only paints the image itself and not any
152 overlapping content by setting the selection and appropriate painting mode.
154 2014-05-14 Brady Eidson <beidson@apple.com>
156 sourceFrameOnScreenForShareItem: can be off by a pixel
157 <rdar://problem/16878020> and https://bugs.webkit.org/show_bug.cgi?id=132911
159 Reviewed by Simon Fraser.
161 In a land of LayoutUnits and sub-pixel rendering, converting between IntRects and
162 FloatRects can be error prone. So we now try to minimize such conversions.
164 * Misc/WebSharingServicePickerController.mm:
165 (-[WebSharingServicePickerController sharingService:sourceFrameOnScreenForShareItem:]):
167 * WebCoreSupport/WebContextMenuClient.h:
168 * WebCoreSupport/WebContextMenuClient.mm:
169 (WebContextMenuClient::clientFloatRectForNode): Split this into a separate utility method
170 as it will be shared with other code very soon. Instead of using absoluteBoundingBoxRect()
171 which does lossy float->int conversions, try to keep things in terms of FloatRects as
173 (WebContextMenuClient::screenRectForHitTestNode): Call clientFloatRectForNode to get the
174 FloatRect, then perform the lossy rounding conversion to an IntRect only once.
176 2014-05-14 Tibor Meszaros <tmeszaros.u-szeged@partner.samsung.com>
178 Remove CSS_STICKY_POSITION guards
179 https://bugs.webkit.org/show_bug.cgi?id=132676
181 Reviewed by Simon Fraser.
183 * Configurations/FeatureDefines.xcconfig:
185 2014-05-14 Antti Koivisto <antti@apple.com>
187 GIF animations don't restart after scrolling with iOS WebKit1
188 https://bugs.webkit.org/show_bug.cgi?id=132900
189 <rdar://problem/16490858>
191 Reviewed by Andreas Kling.
193 * WebView/WebView.mm:
194 (-[WebView _didFinishScrollingOrZooming]):
196 Check if the animations need to be restarted after scrolling finishes.
198 2014-05-09 Joseph Pecoraro <pecoraro@apple.com>
200 Web Inspector: Allow Remote Inspector to entitlement check UIProcess through WebProcess
201 https://bugs.webkit.org/show_bug.cgi?id=132409
203 Reviewed by Timothy Hatcher.
205 Simplify the legacy iOS UIWebViewController case by passing on
206 the host process pid and audit_token.
208 * WebView/WebView.mm:
209 (-[WebView _setHostApplicationProcessIdentifier:auditToken:]):
210 (-[WebView setHostApplicationBundleId:name:]): Deleted.
211 (-[WebView hostApplicationBundleId]): Deleted.
212 (-[WebView hostApplicationName]): Deleted.
213 * WebView/WebViewData.h:
214 * WebView/WebViewData.mm:
215 (-[WebViewPrivate dealloc]):
216 * WebView/WebViewPrivate.h:
218 2014-05-09 Benjamin Poulain <benjamin@webkit.org>
220 [iOS] Switch geolocation to an explicit authorization query model
221 https://bugs.webkit.org/show_bug.cgi?id=132717
223 Reviewed by Sam Weinig.
225 Since there is no warmup code, WebGeolocationPolicyListener no longer need to know about the provider,
228 * WebCoreSupport/WebGeolocationClient.mm:
229 (-[WebGeolocationPolicyListener initWithGeolocation:forWebView:]):
230 (-[WebGeolocationPolicyListener deny]):
231 (-[WebGeolocationProviderInitializationListener initializationAllowedWebView:]):
232 (-[WebGeolocationProviderInitializationListener initializationDeniedWebView:]):
233 (-[WebGeolocationPolicyListener initWithGeolocation:forWebView:provider:]): Deleted.
234 (-[WebGeolocationProviderInitializationListener initializationAllowedWebView:provider:]): Deleted.
235 (-[WebGeolocationProviderInitializationListener initializationDeniedWebView:provider:]): Deleted.
236 * WebView/WebViewPrivate.h:
238 2014-05-08 Jer Noble <jer.noble@apple.com>
240 [Mac, iOS] Add source application accounting to AVURLAsset.
241 https://bugs.webkit.org/show_bug.cgi?id=132637
243 Reviewed by Eric Carlson.
245 Add accessor for sourceApplicationIdentifier.
247 * WebCoreSupport/WebFrameNetworkingContext.h:
248 * WebCoreSupport/WebFrameNetworkingContext.mm:
249 (WebFrameNetworkingContext::sourceApplicationIdentifier):
251 2014-05-08 Anders Carlsson <andersca@apple.com>
253 Use a different install name for WebKitLegacy.framework for staged framework builds
254 https://bugs.webkit.org/show_bug.cgi?id=132711
255 <rdar://problem/16850620>
257 Reviewed by Dan Bernstein.
259 * Configurations/WebKitLegacy.xcconfig:
261 2014-05-08 Brady Eidson <beidson@apple.com>
263 Wrap a new class definition with __has_include()
264 <rdar://problem/16852395> and https://bugs.webkit.org/show_bug.cgi?id=132694
266 Reviewed by Tim Horton.
268 * Misc/WebSharingServicePickerController.mm:
270 2014-05-07 Pratik Solanki <psolanki@apple.com>
272 Use system defaults for hardware jpeg decoding
273 https://bugs.webkit.org/show_bug.cgi?id=132661
274 <rdar://problem/11348201>
276 Reviewed by Tim Horton.
278 Remove code that explicitly disabled hardware image decoding. Let the system decide what to do.
280 * WebView/WebView.mm:
281 (+[WebView _setAcceleratedImageDecoding:]):
282 (+[WebView _acceleratedImageDecoding]): Deleted.
283 * WebView/WebViewPrivate.h:
285 2014-05-07 Brent Fulgham <bfulgham@apple.com>
287 [Mac, iOS] REGRESSION: WK2 YouTube support
288 https://bugs.webkit.org/show_bug.cgi?id=132568
289 <rdar://problem/11464344>
291 Reviewed by Darin Adler.
293 * Misc/WebNSURLExtras.h:
294 * Misc/WebNSURLExtras.mm: Remove code that has been converted to C++
295 and added to YouTubePluginReplacement.cpp.
296 (-[NSURL _webkit_youTubeURL]):
297 (-[NSString _webkit_queryKeysAndValues]):
298 (createYouTubeURL): Deleted.
299 (-[NSString _webkit_unescapedQueryValue]): Deleted.
301 2014-05-07 Jeremy Jones <jeremyj@apple.com>
303 HTMLMediaElement should exitFullscreen when view is removed from the window.
304 https://bugs.webkit.org/show_bug.cgi?id=132506
306 Reviewed by Tim Horton.
308 * WebView/WebView.mm:
309 (-[WebView viewDidMoveToWindow]):
310 Request WebVideoFullscreenController to exitFullscreen when view is removed from the window.
312 2014-05-07 Brady Eidson <beidson@apple.com>
314 Image menu is offset by the amount the view is scrolled
315 <rdar://problem/16818966> and https://bugs.webkit.org/show_bug.cgi?id=132663
317 Reviewed by Tim Horton.
319 * WebCoreSupport/WebContextMenuClient.mm:
320 (WebContextMenuClient::showContextMenu): Use FrameView::contentsToWindow instead of contentsToRoot,
321 and skip the [NSView convertPoint:toView:] step.
323 2014-05-07 Simon Fraser <simon.fraser@apple.com>
325 WebKit1 is flashy when compositing layers come and go
326 https://bugs.webkit.org/show_bug.cgi?id=132655
328 Reviewed by Sam Weinig.
330 In r166117 I removed code to flush compositing layers in FrameView::paintContents(),
331 which caused problems when painting iframes. However, this removed a flush
332 that WebKit1 relied on to flush compositing layers when painting, which caused
333 flashing when compositing layers come and go, and broke WebView snapshotting
336 Fix by adding back compositing layer flushing, but this time in WebKit1's
337 -viewWillDraw code path. This allows removal of some flushing in DumpRenderTree.
339 * WebView/WebHTMLView.mm:
340 (-[WebHTMLView viewWillDraw]):
341 * WebView/WebView.mm:
342 (-[WebView _flushCompositingChanges]):
343 * WebView/WebViewInternal.h:
344 * WebView/WebViewPrivate.h:
346 2014-05-07 Manuel Rego Casasnovas <rego@igalia.com>
348 [CSS Grid Layout] Remove runtime feature
349 https://bugs.webkit.org/show_bug.cgi?id=132382
351 Reviewed by Benjamin Poulain.
353 Remove cssGridLayoutEnabled setting usage.
356 * WebView/WebPreferenceKeysPrivate.h:
357 * WebView/WebPreferences.mm:
358 (+[WebPreferences initialize]):
359 (-[WebPreferences cssGridLayoutEnabled]): Deleted.
360 (-[WebPreferences setCSSGridLayoutEnabled:]): Deleted.
361 * WebView/WebPreferencesPrivate.h:
362 * WebView/WebView.mm:
363 (-[WebView _preferencesChanged:]):
365 2014-05-06 Dean Jackson <dino@apple.com>
367 [Mac] Allow focus rings to redraw themselves if necessary
368 https://bugs.webkit.org/show_bug.cgi?id=132593
370 Reviewed by Simon Fraser.
372 * WebCoreSupport/WebSystemInterface.mm:
373 (InitWebCoreSystemInterface): Add DrawFocusRingAtTime and DrawCellFocusRingWithFrameAtTime.
375 2014-05-06 Brady Eidson <beidson@apple.com>
377 Don't select an image that is about to have its menu shown.
378 <rdar://problem/16807845> and https://bugs.webkit.org/show_bug.cgi?id=132579
380 Reviewed by Tim Horton.
382 * Misc/WebSharingServicePickerController.mm:
383 (-[WebSharingServicePickerController didShareImageData:confirmDataIsValidTIFFData:]):
384 Call the new replaceNodeFromPasteboard API instead of readSelectionFromPasteboard.
386 2014-05-06 Anders Carlsson <andersca@apple.com>
388 Move the WebKitLegacy header check to the right file
389 https://bugs.webkit.org/show_bug.cgi?id=132620
390 <rdar://problem/16815716>
392 Reviewed by Dan Bernstein.
394 * WebKitLegacy/MigrateHeadersFromWebKitLegacy.make:
395 * WebKitLegacy/WebKit.h:
397 2014-05-06 Anders Carlsson <andersca@apple.com>
399 Put WebKitPluginHost.app in WebKitLegacy.framework
400 https://bugs.webkit.org/show_bug.cgi?id=132592
401 <rdar://problem/15920046>
403 Reviewed by Dan Bernstein.
405 * Plugins/Hosted/NetscapePluginHostManager.mm:
406 (WebKit::NetscapePluginHostManager::spawnPluginHost):
408 2014-05-06 Darin Adler <darin@apple.com>
410 [iOS] Fix two more AdoptCF I missed in my last patch.
412 * WebView/WebHTMLView.mm:
413 (imageFromRect): Use adoptCF instead of AdoptCF.
415 2014-05-05 Andreas Kling <akling@apple.com>
417 Unreviewed, rolling out r168334.
423 "Put WebKitPluginHost.app in WebKitLegacy.framework"
424 https://bugs.webkit.org/show_bug.cgi?id=132592
425 http://trac.webkit.org/changeset/168334
427 2014-05-05 Anders Carlsson <andersca@apple.com>
429 Put WebKitPluginHost.app in WebKitLegacy.framework
430 https://bugs.webkit.org/show_bug.cgi?id=132592
431 <rdar://problem/15920046>
433 Reviewed by Dan Bernstein.
435 * Plugins/Hosted/NetscapePluginHostManager.mm:
436 (WebKit::NetscapePluginHostManager::spawnPluginHost):
438 2014-05-02 Brady Eidson <beidson@apple.com>
440 Implement new delegate method -sharingService:sourceFrameOnScreenForShareItem:.
441 <rdar://problem/16797425> and https://bugs.webkit.org/show_bug.cgi?id=132484
443 Reviewed by Tim Horton.
445 * Misc/WebSharingServicePickerController.mm:
446 (-[WebSharingServicePickerController sharingService:sourceFrameOnScreenForShareItem:]):
448 * WebCoreSupport/WebContextMenuClient.h:
449 * WebCoreSupport/WebContextMenuClient.mm:
450 (WebContextMenuClient::screenRectForHitTestNode):
452 2014-05-02 Brady Eidson <beidson@apple.com>
454 Crash inside [WebSharingServicePickerController clear]
455 <rdar://problem/16791944> and https://bugs.webkit.org/show_bug.cgi?id=132477
457 Reviewed by Tim Horton.
459 * Misc/WebSharingServicePickerController.h:
460 * Misc/WebSharingServicePickerController.mm:
461 (-[WebSharingServicePickerController clear]): clear can be called twice, so null check _menuClient.
463 * WebCoreSupport/WebContextMenuClient.h:
464 * WebCoreSupport/WebContextMenuClient.mm:
465 (WebContextMenuClient::~WebContextMenuClient): For a sanity check, call clear on the picker here.
467 2014-05-01 Tim Horton <timothy_horton@apple.com>
469 More 32-bit build fixes.
471 * Misc/WebSharingServicePickerController.mm:
472 (-[WebSharingServicePickerController sharingService:didShareItems:]):
474 2014-05-01 Tim Horton <timothy_horton@apple.com>
476 Temporarily "fix" the 32-bit build.
478 * Misc/WebSharingServicePickerController.mm:
479 This will fail miserably at runtime, but we shouldn't ever get here in a 32-bit process.
481 2014-05-01 Brady Eidson <beidson@apple.com>
483 Update service picker API usage.
484 <rdar://problem/16772674> and https://bugs.webkit.org/show_bug.cgi?id=132452
486 Reviewed by Tim Horton.
488 * Misc/WebSharingServicePickerController.h:
489 * Misc/WebSharingServicePickerController.mm:
490 (-[WebSharingServicePickerController didShareImageData:confirmDataIsValidTIFFData:]):
491 Factor out a common "didShare" handler that optionally validates whether the data represents an image.
492 (-[WebSharingServicePickerController sharingService:didShareItems:]): Update API usage, including marshalling
493 on off-main thread call back to the main thread.
495 * WebCoreSupport/WebContextMenuClient.mm:
496 (WebContextMenuClient::contextMenuForEvent): Update API usage.
498 2014-05-01 Anders Carlsson <andersca@apple.com>
500 Support OS-version-specific install paths for WebKit.framework
501 https://bugs.webkit.org/show_bug.cgi?id=132448
502 <rdar://problem/16784932>
504 Reviewed by Dan Bernstein.
506 * WebKitLegacy/WebKit.m:
507 Add version specific install names.
509 2014-04-30 Alexey Proskuryakov <ap@apple.com>
511 Roll out fix for https://bugs.webkit.org/show_bug.cgi?id=131637:
512 Clean up unnecessary methods in the BackForwardClient interface
514 It broke a regression test and an API test.
516 * History/WebBackForwardList.mm:
517 (-[WebBackForwardList initWithBackForwardList:]):
518 (-[WebBackForwardList init]):
519 (-[WebBackForwardList dealloc]):
520 (-[WebBackForwardList finalize]):
521 (-[WebBackForwardList setPageCacheSize:]):
522 (-[WebBackForwardList pageCacheSize]):
523 * History/WebBackForwardListInternal.h:
524 * WebCoreSupport/WebFrameLoaderClient.mm:
525 (WebFrameLoaderClient::canCachePage):
526 * WebView/WebFrameView.mm:
527 (-[WebFrameView keyDown:keyDown:]):
528 * WebView/WebView.mm:
529 (-[WebView _loadBackForwardListFromOtherView:]):
530 (-[WebView initWithCoder:]):
531 (-[WebView encodeWithCoder:]):
532 (-[WebView backForwardList]):
533 (-[WebView setMaintainsBackForwardList:]):
535 2014-04-30 Simon Fraser <simon.fraser@apple.com>
537 Remove ENABLE_PLUGIN_PROXY_FOR_VIDEO
538 https://bugs.webkit.org/show_bug.cgi?id=132396
540 Reviewed by Eric Carlson.
542 Remove ENABLE_PLUGIN_PROXY_FOR_VIDEO and related code.
544 * Configurations/FeatureDefines.xcconfig:
545 * Plugins/WebPluginContainerPrivate.h:
546 * Plugins/WebPluginController.h:
547 * Plugins/WebPluginController.mm:
548 (-[WebPluginController dealloc]):
549 (-[WebPluginController plugInsAreRunning]):
550 (-[WebPluginController stopAllPlugins]):
551 (-[WebPluginController stopPluginsForPageCache]):
552 (-[WebPluginController restorePluginsFromCache]):
553 (-[WebPluginController addPlugin:]):
554 (-[WebPluginController destroyPlugin:]):
555 (-[WebPluginController destroyAllPlugins]):
556 (-[NSView isMediaPlugInProxyView]): Deleted.
557 (-[NSView setIsMediaPlugInProxyView:]): Deleted.
558 (-[WebPluginController mediaPlugInProxyViewCreated:]): Deleted.
559 (+[WebPluginController pluginViewHidden:]): Deleted.
560 (mediaProxyClient): Deleted.
561 (-[WebPluginController _webPluginContainerSetMediaPlayerProxy:forElement:]): Deleted.
562 (-[WebPluginController _webPluginContainerPostMediaPlayerNotification:forElement:]): Deleted.
563 * WebCoreSupport/WebFrameLoaderClient.h:
564 * WebCoreSupport/WebFrameLoaderClient.mm:
566 * WebView/WebView.mm:
567 (-[WebView _preferencesChanged:]):
568 (-[WebView _videoProxyPluginForMIMEType:]): Deleted.
569 * WebView/WebViewInternal.h:
571 2014-04-30 Anders Carlsson <andersca@apple.com>
573 Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
574 https://bugs.webkit.org/show_bug.cgi?id=132399
575 <rdar://problem/15920046>
577 Reviewed by Dan Bernstein.
579 * Carbon/CarbonUtils.h:
580 * Carbon/HIViewAdapter.h:
581 * Carbon/HIWebView.h:
582 Import WebKitLegacy headers instead of WebKit headers.
584 * Configurations/WebKit.xcconfig:
585 Move the definitions needed for building WebKitLegacy.framework to WebKitLegacy.xcconfig and
586 add the relevant definitions needed for re-exporting WebKitLegacy.framework.
588 * Configurations/WebKitLegacy.xcconfig:
589 Add definitions needed for building the "old" WebKit API as WebKitLegacy.framework.
591 * DOM/WebDOMOperations.h:
592 * DOM/WebDOMOperations.mm:
593 * DOM/WebDOMOperationsInternal.h:
594 * DOM/WebDOMOperationsPrivate.h:
595 * DefaultDelegates/WebDefaultContextMenuDelegate.h:
596 * DefaultDelegates/WebDefaultContextMenuDelegate.mm:
597 * DefaultDelegates/WebDefaultEditingDelegate.m:
598 * History/WebBackForwardListInternal.h:
599 * History/WebBackForwardListPrivate.h:
600 * History/WebHistoryItemPrivate.h:
601 * History/WebHistoryPrivate.h:
602 * History/WebURLsWithTitles.m:
603 Import WebKitLegacy headers instead of WebKit headers.
605 * MigrateHeaders.make:
606 Update header paths now that all WebKitLegacy headers are private.
607 Remove migration of WebKit2 headers, that is done by MigrateHeadersFromWebKitLegacy.make now.
609 * Misc/WebCoreStatistics.h:
610 * Misc/WebDownload.h:
611 * Misc/WebDownload.mm:
612 * Misc/WebDownloadInternal.h:
613 * Misc/WebElementDictionary.mm:
614 * Misc/WebIconDatabasePrivate.h:
616 * Misc/WebKitErrors.m:
617 * Misc/WebKitErrorsPrivate.h:
618 * Misc/WebKitNSStringExtras.mm:
619 * Misc/WebLocalizableStrings.mm:
620 * Misc/WebNSDataExtras.m:
621 * Misc/WebNSDictionaryExtras.m:
622 * Misc/WebNSEventExtras.m:
623 * Misc/WebNSFileManagerExtras.mm:
624 * Misc/WebNSImageExtras.m:
625 * Misc/WebNSPasteboardExtras.mm:
626 * Misc/WebNSViewExtras.h:
627 * Misc/WebNSViewExtras.m:
628 * Panels/WebAuthenticationPanel.m:
629 * Panels/WebPanelAuthenticationHandler.m:
630 * Plugins/Hosted/HostedNetscapePluginStream.h:
631 * Plugins/Hosted/NetscapePluginInstanceProxy.h:
632 * Plugins/Hosted/WebKitPluginAgent.defs:
633 * Plugins/Hosted/WebKitPluginAgentReply.defs:
634 * Plugins/Hosted/WebKitPluginClient.defs:
635 * Plugins/Hosted/WebKitPluginHost.defs:
636 * Plugins/Hosted/WebKitPluginHostTypes.defs:
637 * Plugins/WebBaseNetscapePluginView.mm:
638 * Plugins/WebBasePluginPackage.h:
639 * Plugins/WebBasePluginPackage.mm:
640 * Plugins/WebNetscapeContainerCheckPrivate.h:
641 * Plugins/WebNetscapePluginEventHandlerCocoa.h:
642 * Plugins/WebNetscapePluginStream.h:
643 * Plugins/WebNetscapePluginView.h:
644 * Plugins/WebNetscapePluginView.mm:
645 * Plugins/WebPlugin.h:
646 * Plugins/WebPluginController.h:
647 * Plugins/WebPluginDatabase.h:
648 * Plugins/WebPluginPackage.h:
649 * Plugins/WebPluginPackage.mm:
650 * Plugins/WebPluginViewFactory.h:
651 * Plugins/WebPluginViewFactoryPrivate.h:
653 * Storage/WebDatabaseManagerPrivate.h:
654 * WebCoreSupport/WebContextMenuClient.mm:
655 * WebCoreSupport/WebFrameLoaderClient.mm:
656 * WebCoreSupport/WebFrameNetworkingContext.mm:
657 * WebCoreSupport/WebGeolocationClient.mm:
658 * WebCoreSupport/WebInspectorClient.mm:
659 * WebCoreSupport/WebJavaScriptTextInputPanel.m:
660 * WebCoreSupport/WebKeyGenerator.mm:
661 * WebInspector/WebInspectorPrivate.h:
662 * WebInspector/WebNodeHighlight.h:
663 * WebInspector/WebNodeHighlightView.h:
664 Import WebKitLegacy headers instead of WebKit headers.
666 * WebKitLegacy/MigrateHeadersFromWebKitLegacy.make: Added.
667 New makefile that handles copying WebKitLegacy headers to the WebKit framework, rewriting WebKitLegacy
668 imports to WebKit imports. (On iOS the WebKit headers just forward to the relevant WebKitLegacy headers).
669 On OS X, this also handles copying WebKit2 headers to the WebKit framework, rewriting WebKit2 imports to WebKit imports
670 and getting rid of C SPI imports.
672 * WebKitLegacy/MigrateHeadersToLegacy.make: Removed.
673 This is no longer needed.
675 * WebKitLegacy/WebKit.h: Added.
676 New umbrella header that imports the modern API if available, as well as the legacy API (using WebKit/WebKitLegacy.h).
678 * WebKitLegacy/WebKit.m:
679 This is an empty file so we'll have something to link.
681 * WebKitLegacy/WebKitPrivate.h:
682 New SPI header that imports the private headers of the modern API.
684 * WebView/WebDataSource.h:
685 * WebView/WebDataSource.mm:
686 * WebView/WebDataSourcePrivate.h:
687 * WebView/WebDelegateImplementationCaching.h:
688 * WebView/WebDocument.h:
689 * WebView/WebDocumentInternal.h:
690 * WebView/WebDocumentPrivate.h:
691 * WebView/WebEditingDelegate.h:
692 * WebView/WebEditingDelegatePrivate.h:
693 * WebView/WebFrameLoadDelegate.h:
694 * WebView/WebFrameLoadDelegatePrivate.h:
695 * WebView/WebFramePrivate.h:
696 * WebView/WebFrameView.h:
697 * WebView/WebFrameViewInternal.h:
698 * WebView/WebFrameViewPrivate.h:
699 * WebView/WebHTMLRepresentation.h:
700 * WebView/WebHTMLRepresentation.mm:
701 * WebView/WebHTMLRepresentationPrivate.h:
702 * WebView/WebHTMLView.h:
703 * WebView/WebHTMLView.mm:
704 * WebView/WebHTMLViewPrivate.h:
705 * WebView/WebPDFView.h:
706 * WebView/WebPolicyDelegatePrivate.h:
707 * WebView/WebPreferencesPrivate.h:
708 * WebView/WebResourcePrivate.h:
709 * WebView/WebUIDelegate.h:
710 * WebView/WebUIDelegatePrivate.h:
712 * WebView/WebView.mm:
713 * WebView/WebViewPrivate.h:
714 Import WebKitLegacy headers instead of WebKit headers.
716 * migrate-headers.sh:
717 Derived sources are put in DerivedSources/WebKitLegacy now.
719 2014-04-30 David Hyatt <hyatt@apple.com>
721 [New Multicolumn] Enable new multi-column mode
722 https://bugs.webkit.org/show_bug.cgi?id=131825
724 Reviewed by Simon Fraser.
726 * WebView/WebPreferences.mm:
727 (+[WebPreferences initialize]):
729 2014-04-30 Brian J. Burg <burg@cs.washington.edu>
731 Clean up unnecessary methods in the BackForwardClient interface
732 https://bugs.webkit.org/show_bug.cgi?id=131637
734 Reviewed by Andreas Kling.
736 BackForwardClient instances now have ownership lifetime semantics, so
737 WebBackForwardList now explicitly deletes its inner BackForwardList.
739 Convert uses of WebCore::BackForwardList through backForward().client() to
740 accept references instead of pointers.
742 Use BackForwardController methods rather than directly operating with the
743 BackForwardClient where possible.
745 Remove page cache-related methods that are not used anywhere and that call
746 BackForwardClient::page(), which is removed by this change.
748 * History/WebBackForwardList.mm:
749 (-[WebBackForwardList initWithBackForwardList:]):
750 (-[WebBackForwardList init]):
751 (-[WebBackForwardList dealloc]):
752 (-[WebBackForwardList finalize]):
753 (-[WebBackForwardList setPageCacheSize]): Deleted.
754 (-[WebBackForwardList pageCacheSize]): Deleted.
755 (-[WebBackForwardList itemAtIndex:]): Deleted.
756 * History/WebBackForwardListInternal.h:
757 * WebCoreSupport/WebFrameLoaderClient.mm:
758 (WebFrameLoaderClient::canCachePage):
759 * WebView/WebFrameView.mm:
760 (-[WebFrameView keyDown:keyDown:]):
761 * WebView/WebView.mm:
762 (-[WebView _loadBackForwardListFromOtherView:]):
763 (-[WebView initWithCoder:]):
764 (-[WebView encodeWithCoder:]):
765 (-[WebView backForwardList]):
766 (-[WebView setMaintainsBackForwardList:]):
768 2014-04-29 Sam Weinig <sam@webkit.org>
770 [iOS] -[WebHTMLView selectionImageForcingBlackText:] returns blank image on iOS
771 https://bugs.webkit.org/show_bug.cgi?id=132359
773 Reviewed by Darin Adler.
775 * WebView/WebHTMLView.mm:
778 (-[WebHTMLView selectionImageForcingBlackText:selectionImageForcingBlackText:]):
779 Bring back the old FrameSnapshottingMac code for drawing the selection image as drag code for this
780 is still unimplemented on iOS.
782 * WebView/WebView.mm:
783 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
784 Set the page scale for "simple HTML documents" (this is already done for the all other documents),
785 to ensure that the snapshot is the correct size.
787 2014-04-30 Manuel Rego Casasnovas <rego@igalia.com>
789 [CSS Grid Layout] Enable runtime feature by default
790 https://bugs.webkit.org/show_bug.cgi?id=132189
792 Reviewed by Benjamin Poulain.
794 * WebView/WebPreferences.mm:
795 (+[WebPreferences initialize]): Remove unneeded changes that
796 enable/disable the runtime feature depending on the compilation flag.
797 And set it to true by default.
799 2014-04-29 Filip Pizlo <fpizlo@apple.com>
801 Use LLVM as a backend for the fourth-tier DFG JIT (a.k.a. the FTL JIT)
802 https://bugs.webkit.org/show_bug.cgi?id=112840
804 Rubber stamped by Geoffrey Garen.
806 * Configurations/FeatureDefines.xcconfig:
808 2014-04-29 Brady Eidson <beidson@apple.com>
810 Change Image Controls replacement to use selection and paste
811 <rdar://problem/16302722> and https://bugs.webkit.org/show_bug.cgi?id=131992
813 Reviewed by Tim Horton.
815 * Misc/WebSharingServicePickerController.mm:
816 (-[WebSharingServicePickerController sharingService:didShareItems:]): Write the
817 replacement data to a special pasteboard, then replace the current selection from
820 2014-04-27 Sam Weinig <sam@webkit.org>
822 [iOS WebKit2] Add support for text autosizing
823 <rdar://problem/16545245>
824 https://bugs.webkit.org/show_bug.cgi?id=132237
826 Reviewed by Tim Horton.
828 * WebView/WebFrame.mm:
829 (-[WebFrame _setTextAutosizingWidth:]):
830 Forward setting of the text autosizing width to the Page.
832 2014-04-25 Dean Jackson <dino@apple.com>
834 Allow a platform-specific size enumeration to be passed into popup-menu display
835 https://bugs.webkit.org/show_bug.cgi?id=132195
837 Reviewed by Brent Fulgham. With some in-person review comments from Sam Weinig.
839 Platforms like OS X use a set of predefined sizes for built-in controls
840 used for <select>: normal, small and mini. Expose that information to
841 the PopupMenuClient via the PopupMenuStyle, allowing it to be passed
842 into the platform code in WebKitSystemInterface.
844 * WebCoreSupport/PopupMenuMac.mm:
845 (PopupMenuMac::show): Convert the WebCore menu size type into the
846 WebCoreSystemInterface type.
848 2014-04-24 Commit Queue <commit-queue@webkit.org>
850 Unreviewed, rolling out r167700.
851 https://bugs.webkit.org/show_bug.cgi?id=132142
853 Incorrectly reverted the change in r167547 for
854 webkit.org/b/131898 (Requested by rniwa on #webkit).
858 "Cursor doesn't change back to pointer when leaving the Safari
860 https://bugs.webkit.org/show_bug.cgi?id=132038
861 http://trac.webkit.org/changeset/167700
863 2014-04-24 Brady Eidson <beidson@apple.com>
865 Rename "IMAGE_CONTROLS" feature to "SERVICE_CONTROLS"
866 https://bugs.webkit.org/show_bug.cgi?id=132155
868 Reviewed by Tim Horton.
870 * Configurations/FeatureDefines.xcconfig:
871 * Misc/WebSharingServicePickerController.h:
872 * Misc/WebSharingServicePickerController.mm:
873 * WebCoreSupport/WebContextMenuClient.h:
874 * WebCoreSupport/WebContextMenuClient.mm:
875 (WebContextMenuClient::contextMenuForEvent):
876 * WebView/WebPreferences.mm:
877 (+[WebPreferences initialize]):
878 * WebView/WebView.mm:
879 (-[WebView _preferencesChanged:]):
881 2014-04-24 Ryosuke Niwa <rniwa@webkit.org>
883 Text caret disappears in Mail after returning from another application
884 https://bugs.webkit.org/show_bug.cgi?id=132111
886 Reviewed by Darin Adler.
888 The bug was caused by our SPI _windowChangedKeyState not getting called upon deminiaturization.
890 Fixed the bug by using the standard NSWindowDidBecomeKeyNotification and NSWindowDidResignKeyNotification
891 notifications as done in WebKit2 since they DO get called upon deminiaturization.
893 * WebView/WebView.mm:
894 (-[WebView addWindowObserversForWindow:]):
895 (-[WebView removeWindowObservers]):
896 (-[WebView _windowKeyStateChanged:]):
897 (-[WebView _windowChangedKeyState]): Deleted.
899 2014-04-24 Myles C. Maxfield <mmaxfield@apple.com>
901 FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
902 https://bugs.webkit.org/show_bug.cgi?id=132110
904 Reviewed by Tim Horton.
906 Updates callers to use '.' instead of '->'.
908 No new tests are necessary because there should be no behavior change.
910 * Misc/WebCoreStatistics.mm:
911 (+[WebCoreStatistics cachedFontDataCount]):
912 (+[WebCoreStatistics cachedFontDataInactiveCount]):
913 (+[WebCoreStatistics purgeInactiveFontData]):
914 * WebView/WebView.mm:
915 (+[WebView purgeInactiveFontData]):
917 2014-04-24 Eric Carlson <eric.carlson@apple.com>
919 [iOS] Manage AudioSession category according to media type
920 https://bugs.webkit.org/show_bug.cgi?id=132096
922 Reviewed by Jer Noble.
924 * WebView/WebView.mm:
925 (-[WebView _commonInitializationWithFrameName:groupName:]): Tell
926 WebCore to manage the AudioSession when running in MobileSafari.
928 2014-04-23 Andreas Kling <akling@apple.com>
930 Remove Apple Dictionary workaround in WebFrameLoaderClient.
931 <https://webkit.org/b/132095>
933 Kill a hack to work around a WK1 client bug that got fixed years ago.
934 See <rdar://problem/6471058> for backstory.
936 Reviewed by Darin Adler.
938 * WebCoreSupport/WebFrameLoaderClient.mm:
939 (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
940 (WebFrameLoaderClient::dispatchWillSendRequest):
941 (applyAppleDictionaryApplicationQuirkNonInlinePart): Deleted.
942 (applyAppleDictionaryApplicationQuirk): Deleted.
944 2014-04-23 Anders Carlsson <andersca@apple.com>
946 Don't migrate the WKView.h header from WebCore to WebKit
947 https://bugs.webkit.org/show_bug.cgi?id=132086
949 Reviewed by Dan Bernstein.
951 * MigrateHeaders.make:
952 Remove WKView.h from the list of headers to migrate.
954 * WebView/WebView.mm:
957 2014-04-22 Ryosuke Niwa <rniwa@webkit.org>
959 Cursor doesn't change back to pointer when leaving the Safari window
960 https://bugs.webkit.org/show_bug.cgi?id=132038
962 Reviewed by Alexey Proskuryakov.
964 Since the cursor type is now updated asynchronously after r147739,
965 [window windowNumber] != [NSWindow windowNumberAtPoint:[NSEvent mouseLocation] belowWindowWithWindowNumber:0]
966 evalutes to false depending on how fast cursor is moving.
968 Instead, check whether the NSWindow of the WebView is the key window or not since
969 key window appears to control the cursor style in Cocoa as far as I've tested:
970 https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/WinPanel/Concepts/ChangingMainKeyWindow.html
972 * WebCoreSupport/WebChromeClient.mm:
973 (WebChromeClient::setCursor):
975 2014-04-22 Commit Queue <commit-queue@webkit.org>
977 Unreviewed, rolling out r167674.
978 https://bugs.webkit.org/show_bug.cgi?id=132025
980 Going a different way with this (Requested by bradee-oh on
985 "Change Image Controls replacement to use selection and paste"
986 https://bugs.webkit.org/show_bug.cgi?id=131992
987 http://trac.webkit.org/changeset/167674
989 2014-04-22 Brady Eidson <beidson@apple.com>
991 Change Image Controls replacement to use selection and paste
992 <rdar://problem/16302722> and https://bugs.webkit.org/show_bug.cgi?id=131992
994 Reviewed by Tim Horton.
996 * Misc/WebSharingServicePickerController.mm:
997 (-[WebSharingServicePickerController sharingService:didShareItems:]): Write the
998 replacement data to a special pasteboard, then replace the current selection from
1001 2014-04-21 Eric Carlson <eric.carlson@apple.com>
1003 [Mac] implement WebKitDataCue
1004 https://bugs.webkit.org/show_bug.cgi?id=131799
1006 Reviewed by Dean Jackson.
1008 * Configurations/FeatureDefines.xcconfig: Define ENABLE_DATACUE_VALUE.
1010 2014-04-21 Joseph Pecoraro <pecoraro@apple.com>
1012 Remove unused WebKitSystemInterface functions
1013 https://bugs.webkit.org/show_bug.cgi?id=131938
1015 Reviewed by Alexey Proskuryakov.
1017 * WebCoreSupport/WebSystemInterface.mm:
1018 (InitWebCoreSystemInterface):
1020 2014-04-21 Zan Dobersek <zdobersek@igalia.com>
1022 Move cross-port Source/WebCore/page/ code to std::unique_ptr
1023 https://bugs.webkit.org/show_bug.cgi?id=130534
1025 Reviewed by Darin Adler.
1027 * WebView/WebHTMLRepresentation.mm:
1028 (searchForLabelsBeforeElement): Pass a RegExp reference to Frame::searchForLabelsAboveCell().
1030 2014-04-19 Darin Adler <darin@apple.com>
1032 [Mac] WebView adjusts the cursor even when another window is in front
1033 https://bugs.webkit.org/show_bug.cgi?id=131898
1034 rdar://problem/14619911
1036 Reviewed by Dan Bernstein.
1038 * WebCoreSupport/WebChromeClient.mm:
1039 (WebChromeClient::setCursor): Added a check that the window is under the cursor
1040 and do nothing if it's not.
1042 2014-04-18 Commit Queue <commit-queue@webkit.org>
1044 Unreviewed, rolling out r167527.
1045 https://bugs.webkit.org/show_bug.cgi?id=131883
1047 Broke 32-bit build (Requested by ap on #webkit).
1051 "[Mac] implement WebKitDataCue"
1052 https://bugs.webkit.org/show_bug.cgi?id=131799
1053 http://trac.webkit.org/changeset/167527
1055 2014-04-18 Eric Carlson <eric.carlson@apple.com>
1057 [Mac] implement WebKitDataCue
1058 https://bugs.webkit.org/show_bug.cgi?id=131799
1060 Reviewed by Dean Jackson.
1062 * Configurations/FeatureDefines.xcconfig: Define ENABLE_DATACUE_VALUE.
1064 2014-04-17 Daniel Bates <dabates@apple.com>
1066 [iOS] Hook up screen.{availHeight, availWidth, height, width}
1067 https://bugs.webkit.org/show_bug.cgi?id=131821
1068 <rdar://problem/16413795>
1070 Reviewed by Benjamin Poulain and Tim Horton.
1072 Add declaration for WKGetViewportAvailableScreenSize() to return the available screen size.
1074 Additionally substitute "ScreenSize" for "ViewportScreenSize" to make the code more understandable.
1076 * WebCoreSupport/WebSystemInterface.mm:
1077 (InitWebCoreSystemInterface):
1079 2014-04-17 Darin Adler <darin@apple.com>
1081 Add separate flag for IndexedDatabase in workers since the current implementation is not threadsafe
1082 https://bugs.webkit.org/show_bug.cgi?id=131785
1083 rdar://problem/16003108
1085 Reviewed by Brady Eidson.
1087 * Configurations/FeatureDefines.xcconfig: Added INDEXED_DATABASE_IN_WORKERS.
1089 2014-04-16 Tim Horton <timothy_horton@apple.com>
1091 Images dragged from WebKit1 on 2x displays are too big
1092 https://bugs.webkit.org/show_bug.cgi?id=131775
1093 <rdar://problem/15933525>
1095 Reviewed by Simon Fraser.
1097 * WebCoreSupport/WebDragClient.mm:
1098 (WebDragClient::startDrag):
1099 Scale the drag image's logical size down by the device scale factor
1100 in WebKit1 just like we do in WebKit2.
1102 2014-04-13 Andy Estes <aestes@apple.com>
1104 [QuickLook] Move file system-related code into WebKit
1105 https://bugs.webkit.org/show_bug.cgi?id=131597
1107 Reviewed by Dan Bernstein.
1109 Moved file system and WebKit1-only code from QuickLookHandle into a new
1110 QuickLookHandleClient subclass.
1112 * WebCoreSupport/WebFrameLoaderClient.h:
1113 * WebCoreSupport/WebFrameLoaderClient.mm:
1115 2014-04-09 Alexey Proskuryakov <ap@apple.com>
1117 Eliminate DragSession structure
1118 https://bugs.webkit.org/show_bug.cgi?id=131465
1120 Reviewed by Benjamin Poulain.
1122 * WebView/WebView.mm:
1123 (-[WebView draggingEntered:]):
1124 (-[WebView draggingUpdated:]):
1126 2014-04-09 Alexey Proskuryakov <ap@apple.com>
1128 Rename some dragging functions
1129 https://bugs.webkit.org/show_bug.cgi?id=131460
1131 Reviewed by Tim Horton.
1133 Renamed performDrag to performDragOperation.
1135 * WebView/WebView.mm: (-[WebView performDragOperation:]):
1137 2014-04-08 Jon Lee <jonlee@apple.com>
1139 Turn MSE on by default
1140 https://bugs.webkit.org/show_bug.cgi?id=131313
1141 <rdar://problem/16525223>
1143 Reviewed by Jer Noble.
1145 * Configurations/FeatureDefines.xcconfig:
1146 * WebView/WebPreferences.mm:
1147 (+[WebPreferences initialize]): Set default to true.
1149 2014-04-08 Alexey Proskuryakov <ap@apple.com>
1151 Rename Clipboard to DataTransfer
1152 https://bugs.webkit.org/show_bug.cgi?id=131371
1154 Reviewed by Anders Carlsson.
1156 * WebCoreSupport/WebDragClient.h:
1157 * WebCoreSupport/WebDragClient.mm:
1158 (WebDragClient::willPerformDragSourceAction):
1159 (WebDragClient::startDrag):
1160 * WebView/WebPDFView.mm:
1162 2014-04-08 Dan Bernstein <mitz@apple.com>
1164 WebKit part of [Cocoa] Add WKFormDelegate
1165 https://bugs.webkit.org/show_bug.cgi?id=131343
1167 Reviewed by Anders Carlsson.
1169 * MigrateHeaders.make: Added new WebKit2 headers to WEBKIT2_HEADERS.
1171 2014-04-08 Daniel Bates <dabates@apple.com>
1173 Fallback to default storage session when there isn't a valid session ID
1174 https://bugs.webkit.org/show_bug.cgi?id=131326
1175 <rdar://problem/16231679>
1177 Reviewed by Alexey Proskuryakov.
1179 Fixes and issue where we may use the wrong storage session after disabling
1180 a private browsing session.
1182 Currently WebKit1 and WebKit2 without NetworkProcess assume that there
1183 is always a non-null private browsing storage session so long as the page
1184 has a non-default session ID. Instead we should only use the private browsing
1185 storage session when it's non-null and the page has a non-default session ID;
1186 otherwise, we should use the default storage session. This change will make
1187 the behavior in WebKit1 and WebKit2 without NetworkProcess consistent with
1188 the behavior in WebKit2 with NetworkProcess.
1190 * WebCoreSupport/WebFrameNetworkingContext.mm:
1191 (WebFrameNetworkingContext::storageSession):
1193 2014-04-06 Sam Weinig <sam@webkit.org>
1195 Document user content related APIs
1197 Reviewed by Anders Carlsson.
1199 * MigrateHeaders.make:
1201 2014-04-06 Darin Adler <darin@apple.com>
1203 Refactor post-attach and HTMLObjectElement-related code
1204 https://bugs.webkit.org/show_bug.cgi?id=131282
1206 Reviewed by Antti Koivisto.
1208 * WebCoreSupport/WebFrameLoaderClient.mm: Call toHTMLPlugInImageElement instead of
1209 doing a static_cast.
1211 2014-04-04 Brian J. Burg <burg@cs.washington.edu>
1213 Enable WEB_REPLAY for PLATFORM(MAC)
1214 https://bugs.webkit.org/show_bug.cgi?id=130700
1216 Reviewed by Timothy Hatcher.
1218 * Configurations/FeatureDefines.xcconfig:
1220 2014-04-03 Sam Weinig <sam@webkit.org>
1222 [WebKit2] Promote user script SPI to API
1223 https://bugs.webkit.org/show_bug.cgi?id=131181
1225 Reviewed by Anders Carlsson.
1227 * MigrateHeaders.make:
1229 2014-04-02 Benjamin Poulain <bpoulain@apple.com>
1231 [iOS] Remove the legacy string drawing code
1232 https://bugs.webkit.org/show_bug.cgi?id=131088
1234 Reviewed by Sam Weinig.
1236 * Configurations/WebKit.xcconfig:
1238 2014-04-02 Mark Rowe <mrowe@apple.com>
1240 <https://webkit.org/b/131135> Introduce LockHistory and LockBackForwardList enums to use in place of bools.
1242 These arguments are often passed using literals at the call site, where the use of bools severely hinders
1243 the readability of the code.
1245 Reviewed by Andreas Kling.
1247 * WebView/WebPDFView.mm:
1248 (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
1250 2014-04-02 Stephanie Lewis <slewis@apple.com>
1252 Roll out http://trac.webkit.org/changeset/166144
1253 <rdar://problem/16481284> PLT stops loading on news.google.com
1257 Rollout 166144 since it prevents the PLT from completing.
1259 * WebCoreSupport/WebFrameLoaderClient.mm:
1261 2014-04-02 Daniel Bates <dabates@apple.com>
1263 Remove Settings::maximumDecodedImageSize()
1264 https://bugs.webkit.org/show_bug.cgi?id=131057
1265 <rdar://problem/15626368>
1267 Reviewed by Darin Adler.
1269 Remove preferences key WebKitMaximumImageSize.
1271 * WebView/WebPreferenceKeysPrivate.h:
1272 * WebView/WebPreferences.mm:
1273 (+[WebPreferences initialize]):
1274 (-[WebPreferences _maximumImageSize:]): Deleted.
1275 * WebView/WebPreferencesPrivate.h:
1276 * WebView/WebView.mm:
1277 (-[WebView _preferencesChanged:]):
1279 2014-04-02 Martin Hock <mhock@apple.com>
1281 Unify private browsing with sessions.
1282 https://bugs.webkit.org/show_bug.cgi?id=130099
1284 Reviewed by Alexey Proskuryakov.
1286 * WebCoreSupport/WebFrameLoaderClient.mm: Change WebCore::Settings::privateBrowsingEnabled() to Page::sessionID().isEphemeral().
1287 (WebFrameLoaderClient::updateGlobalHistoryItemForPage):
1288 * WebCoreSupport/WebFrameNetworkingContext.mm: Ditto.
1289 (WebFrameNetworkingContext::storageSession):
1290 * WebView/WebView.mm: Change WebCore::Settings::setPrivateBrowsingEnabled() to Page::enableLegacyPrivateBrowsing().
1291 (-[WebView _preferencesChanged:]):
1293 2014-04-01 Anders Carlsson <andersca@apple.com>
1295 Migrate more headers
1296 https://bugs.webkit.org/show_bug.cgi?id=131068
1298 Reviewed by Tim Horton.
1300 * MigrateHeaders.make:
1302 2014-04-01 Manuel Rego Casasnovas <rego@igalia.com>
1304 [CSS Grid Layout] Enable runtime feature if feature flag is enabled
1305 https://bugs.webkit.org/show_bug.cgi?id=130013
1307 Reviewed by Simon Fraser.
1309 Enable CSS Grid Layout runtime feature when ENABLE_CSS_GRID_LAYOUT flag is true.
1311 * WebView/WebPreferences.mm:
1312 (+[WebPreferences initialize]):
1314 2014-03-31 Simon Fraser <simon.fraser@apple.com>
1316 Enable WEB_TIMING on Mac and iOS
1317 https://bugs.webkit.org/show_bug.cgi?id=128064
1319 Reviewed by Sam Weinig, Brent Fulgham.
1323 * Configurations/FeatureDefines.xcconfig:
1325 2014-03-31 Dean Jackson <dino@apple.com>
1327 Remove WEB_ANIMATIONS
1328 https://bugs.webkit.org/show_bug.cgi?id=130989
1330 Reviewed by Simon Fraser.
1332 Remove this feature flag until we plan to implement.
1334 * Configurations/FeatureDefines.xcconfig:
1336 2014-03-31 Antti Koivisto <antti@apple.com>
1338 Rename TileCache to LegacyTileCache
1339 https://bugs.webkit.org/show_bug.cgi?id=130986
1341 Reviewed by Simon Fraser.
1343 * WebView/WebView.mm:
1344 (+[WebView drainLayerPool]):
1345 (+[WebView _setTileCacheLayerPoolCapacity:]):
1347 2014-03-28 Darin Adler <darin@apple.com>
1349 Fix recently-introduced off-by-one error in centerTruncateToBuffer
1350 https://bugs.webkit.org/show_bug.cgi?id=130889
1352 Reviewed by Alexey Proskuryakov.
1354 * Misc/WebStringTruncator.mm:
1355 (defaultMenuFont): Changed to use NeverDestroyed since I had to touch this file anyway.
1356 (fontFromNSFont): Ditto. Also improved variable names a bit.
1357 (+[WebStringTruncator initialize]): Added threading initialization, needed for main
1358 thread assertions in string truncator code.
1360 2014-03-27 Commit Queue <commit-queue@webkit.org>
1362 Unreviewed, rolling out r166360.
1363 https://bugs.webkit.org/show_bug.cgi?id=130869
1365 Seems to have broken PLT (Requested by ap on #webkit).
1369 "Connection::dispatchOneMessage() can be re-entered while
1370 handling Cmd-key menu"
1371 https://bugs.webkit.org/show_bug.cgi?id=130767
1372 http://trac.webkit.org/changeset/166360
1374 2014-03-27 Alexey Proskuryakov <ap@apple.com>
1376 Connection::dispatchOneMessage() can be re-entered while handling Cmd-key menu
1377 equivalents, ASSERT(!_data->_keyDownEventBeingResent)
1378 https://bugs.webkit.org/show_bug.cgi?id=130767
1379 <rdar://problem/16307487>
1381 Reviewed by Darin Adler.
1383 Switched to a WebCore wrapper for RunLoop::initializeMainRunLoop that adds
1384 NSModalPanelRunLoopMode to RunLoop event source and timer modes.
1386 * Carbon/CarbonWindowAdapter.mm: (+[CarbonWindowAdapter initialize]):
1387 * History/WebBackForwardList.mm: (+[WebBackForwardList initialize]):
1388 * History/WebHistoryItem.mm: (+[WebHistoryItem initialize]):
1389 * Misc/WebCache.mm: (+[WebCache initialize]):
1390 * Misc/WebElementDictionary.mm: (+[WebElementDictionary initialize]):
1391 * Misc/WebIconDatabase.mm: (+[WebIconDatabase initialize]):
1392 * Plugins/Hosted/WebHostedNetscapePluginView.mm: (+[WebHostedNetscapePluginView initialize]):
1393 * Plugins/WebBaseNetscapePluginView.mm:
1394 * Plugins/WebBasePluginPackage.mm:
1395 * Plugins/WebNetscapePluginView.mm: (+[WebNetscapePluginView initialize]):
1396 * WebCoreSupport/WebEditorClient.mm: (+[WebUndoStep initialize]):
1397 * WebCoreSupport/WebFrameLoaderClient.mm:
1398 * WebView/WebArchive.mm: (+[WebArchivePrivate initialize]):
1399 * WebView/WebDataSource.mm: (+[WebDataSource initialize]):
1400 * WebView/WebHTMLView.mm:
1401 (+[WebHTMLViewPrivate initialize]):
1402 (+[WebHTMLView initialize]):
1403 * WebView/WebPreferences.mm: (+[WebPreferences initialize]):
1404 * WebView/WebResource.mm: (+[WebResourcePrivate initialize]):
1405 * WebView/WebTextIterator.mm: (+[WebTextIteratorPrivate initialize]):
1406 * WebView/WebView.mm: (+[WebView initialize]):
1407 * WebView/WebViewData.mm: (+[WebViewPrivate initialize]):
1409 2014-03-26 Timothy Hatcher <timothy@apple.com>
1411 Propagate the hiddenFromInspector flag on ResourceRequest in
1412 places when a new request a made or passed between processes.
1414 https://bugs.webkit.org/show_bug.cgi?id=130741
1416 Reviewed by Joseph Pecoraro.
1418 * WebCoreSupport/WebFrameLoaderClient.mm:
1419 (WebFrameLoaderClient::dispatchWillSendRequest): Copy hiddenFromInspector to
1422 2014-03-26 Zoltan Horvath <zoltan@webkit.org>
1424 [CSS Shapes] Remove shape-inside support
1425 https://bugs.webkit.org/show_bug.cgi?id=130698
1427 Reviewed by David Hyatt.
1429 * Configurations/FeatureDefines.xcconfig:
1431 2014-03-25 Joseph Pecoraro <pecoraro@apple.com>
1433 [iOS] Inspector View Indication Support
1434 https://bugs.webkit.org/show_bug.cgi?id=130709
1436 Reviewed by Simon Fraser.
1438 * WebCoreSupport/WebInspectorClient.h:
1439 * WebCoreSupport/WebInspectorClient.mm:
1440 (WebInspectorClient::didSetSearchingForNode): Deleted.
1441 (WebInspectorClient::releaseFrontend): Deleted.
1442 * WebView/WebView.mm:
1443 (-[WebView setShowingInspectorIndication:]):
1444 * WebView/WebViewPrivate.h:
1447 2014-03-24 Brent Fulgham <bfulgham@apple.com>
1449 Activate WebVTT Tests Once Merging is Complete
1450 https://bugs.webkit.org/show_bug.cgi?id=130420
1452 Reviewed by Eric Carlson.
1454 * Configurations/FeatureDefines.xcconfig: Turn on ENABLE(WEBVTT_REGIONS)
1456 2014-03-24 Andy Estes <aestes@apple.com>
1458 [iOS] Download support by CFURLDownloadRef under USE(CFNETWORK).
1459 https://bugs.webkit.org/show_bug.cgi?id=129322
1461 Reviewed by Anders Carlsson.
1463 * WebCoreSupport/WebFrameLoaderClient.mm:
1464 (WebFrameLoaderClient::convertMainResourceLoadToDownload): Use the
1465 RetainPtr returned by releaseConnectionForDownload() rather than
1468 2014-03-24 Jon Lee <jonlee@apple.com>
1474 * WebInspector/WebNodeHighlightView.mm: Missing include to GeometryUtilities.
1476 2014-03-23 Sam Weinig <sam@webkit.org>
1478 Remove some unnecessary .get()s that Darin noticed.
1480 * WebView/WebHTMLRepresentation.mm:
1481 (-[WebHTMLRepresentation attributedStringFrom:startOffset:to:endOffset:]):
1482 * WebView/WebHTMLView.mm:
1483 (-[WebHTMLView attributedString]):
1485 2014-03-23 Sam Weinig <sam@webkit.org>
1487 Simplify the HTMLConverter interface (Part 2)
1488 https://bugs.webkit.org/show_bug.cgi?id=130654
1490 Reviewed by Darin Adler.
1492 * WebView/WebHTMLRepresentation.mm:
1493 (-[WebHTMLRepresentation attributedStringFrom:startOffset:to:endOffset:]):
1494 * WebView/WebHTMLView.mm:
1495 (-[WebHTMLView attributedSubstringFromRange:]):
1496 (-[WebHTMLView attributedString]):
1497 (-[WebHTMLView selectedAttributedString]):
1499 2014-03-23 Darin Adler <darin@apple.com>
1501 Remove code in HTMLObjectElement attribute parsing that forces style resolution and layout
1502 https://bugs.webkit.org/show_bug.cgi?id=130653
1504 Reviewed by Antti Koivisto.
1506 * WebCoreSupport/WebFrameLoaderClient.mm: Call toHTMLPlugInImageElement instead of
1507 doing a static_cast.
1509 2014-03-21 Simon Fraser <simon.fraser@apple.com>
1511 Don't flush compositing layers within FrameView::willPaintContents()
1512 https://bugs.webkit.org/show_bug.cgi?id=130627
1514 Reviewed by Sam Weinig.
1516 Make _flushCompositingChanges private so DRT can call it;
1517 moved it into the Private category.
1519 * WebView/WebView.mm:
1520 (-[WebView _flushCompositingChanges]):
1521 * WebView/WebViewPrivate.h:
1523 2014-03-21 Simon Fraser <simon.fraser@apple.com>
1525 Remove duplicate line added during merging
1526 https://bugs.webkit.org/show_bug.cgi?id=130623
1528 Reviewed by Beth Dakin.
1530 Remove a duplicate call to -_viewWillDrawInternal which
1531 was added during merges.
1533 * WebView/WebView.mm:
1534 (LayerFlushController::flushLayers):
1536 2014-03-21 Darin Adler <darin@apple.com>
1538 Improve idiom used for string building in a few places
1539 https://bugs.webkit.org/show_bug.cgi?id=130561
1541 Reviewed by Andreas Kling.
1543 * WebView/WebHTMLRepresentation.mm:
1544 (regExpForLabels): Use StringBuilder.
1546 2014-03-21 Darin Adler <darin@apple.com>
1548 Add a combined decodeAndFlush to TextResourceDecoder
1549 https://bugs.webkit.org/show_bug.cgi?id=130560
1551 Reviewed by Andreas Kling.
1553 * WebView/WebView.mm:
1554 (+[WebView _decodeData:]): Use decodeAndFlush.
1556 2014-03-20 Anders Carlsson <andersca@apple.com>
1560 * MigrateHeaders.make:
1562 2014-03-20 Pratik Solanki <psolanki@apple.com>
1564 [iOS] Get code to compile on older iOS versions
1565 https://bugs.webkit.org/show_bug.cgi?id=130142
1566 <rdar://problem/16302908>
1568 Reviewed by Darin Adler.
1570 * History/WebHistory.mm:
1572 * Plugins/WebPluginController.h:
1573 * Plugins/WebPluginController.mm:
1574 (+[WebPluginController plugInViewWithArguments:fromPluginPackage:]):
1575 * WebCoreSupport/WebFrameLoaderClient.mm:
1577 * WebView/WebPreferences.mm:
1578 (-[WebPreferences _setAllowCompositingLayerVisualDegradation:]):
1579 * WebView/WebPreferencesPrivate.h:
1581 2014-03-20 Lucas Forschler <lforschler@apple.com>
1583 Rollout r165944. Build break.
1585 2014-03-19 Pratik Solanki <psolanki@apple.com>
1587 [iOS] Get code to compile on older iOS versions
1588 https://bugs.webkit.org/show_bug.cgi?id=130142
1589 <rdar://problem/16302908>
1591 Reviewed by Darin Adler.
1593 * History/WebHistory.mm:
1595 * Plugins/WebPluginController.h:
1596 * Plugins/WebPluginController.mm:
1597 (+[WebPluginController plugInViewWithArguments:fromPluginPackage:]):
1598 * WebCoreSupport/WebFrameLoaderClient.mm:
1600 * WebView/WebPreferences.mm:
1601 (-[WebPreferences _setAllowCompositingLayerVisualDegradation:]):
1602 * WebView/WebPreferencesPrivate.h:
1604 2014-03-19 Jer Noble <jer.noble@apple.com>
1606 [Mac][EME] Query whether decoder support exists before creating a new MediaKeys object.
1607 https://bugs.webkit.org/show_bug.cgi?id=130459
1609 Reviewed by Eric Carlson.
1611 * WebCoreSupport/WebSystemInterface.mm:
1612 (InitWebCoreSystemInterface): Initialize the new WCSI method.
1614 2014-03-19 Brady Eidson <beidson@apple.com>
1616 Filter out editable services from image menu for non-contenteditable images
1617 <rdar://problem/16319645> and https://bugs.webkit.org/show_bug.cgi?id=130437
1619 Reviewed by Tim Horton.
1621 * Misc/WebSharingServicePickerController.h:
1622 * Misc/WebSharingServicePickerController.mm:
1623 (-[WebSharingServicePickerController sharingServicePicker:sharingServicesForItems:mask:proposedSharingServices:]):
1624 Filter out editing services based on the includeEditorServices flag.
1625 * WebCoreSupport/WebContextMenuClient.mm:
1626 (WebContextMenuClient::contextMenuForEvent):
1628 2014-03-19 Jer Noble <jer.noble@apple.com>
1630 [iOS] Disable the video plugin proxy by default on WK1.
1631 https://bugs.webkit.org/show_bug.cgi?id=130460
1633 Reviewed by Eric Carlson.
1635 Update the defaults to universally enable the AVFoundationEnabled preference, disable the
1636 VideoPluginProxyEnabled preference, and on iOS only enable the AVKitEnabled preference.
1638 * WebView/WebPreferences.mm:
1639 (+[WebPreferences initialize]):
1641 2014-03-18 Samuel White <samuel_white@apple.com>
1643 AX: Not able to use arrow keys to read text with VoiceOver before selection is set someplace (anyplace).
1644 https://bugs.webkit.org/show_bug.cgi?id=130250
1646 Reviewed by Chris Fleizach.
1648 Added ability to toggle enhanced accessibility on and off to support tests that require it.
1650 * WebView/WebFrame.mm:
1651 (-[WebFrame enhancedAccessibilityEnabled]):
1652 (-[WebFrame setEnhancedAccessibility:]):
1653 * WebView/WebFramePrivate.h:
1655 2014-03-17 Filip Pizlo <fpizlo@apple.com>
1659 Rubber stamped by Dan Bernstein.
1661 * Configurations/FeatureDefines.xcconfig:
1663 2014-03-17 Andy Estes <aestes@apple.com>
1665 Remove staging code added for <http://webkit.org/b/129358> [iOS] Support network state notification using CPNetworkObserver
1667 Reviewed by Enrica Casucci.
1669 * WebView/WebView.mm:
1671 2014-03-17 Anders Carlsson <andersca@apple.com>
1673 WebKitLegacy headers should #import the relevant WebKit headers
1674 https://bugs.webkit.org/show_bug.cgi?id=130372
1675 <rdar://problem/16349094>
1677 Reviewed by Dan Bernstein.
1679 Create forwarding headers instead.
1681 * WebKitLegacy/MigrateHeadersToLegacy.make:
1683 2014-03-17 Tim Horton <timothy_horton@apple.com>
1685 Rename WKThumbnailView to _WKThumbnailView
1686 https://bugs.webkit.org/show_bug.cgi?id=130361
1688 Reviewed by Anders Carlsson.
1690 * MigrateHeaders.make:
1692 2014-03-17 David Farler <dfarler@apple.com>
1694 REGRESSION: WebKitLegacy causes ASan build to fail
1695 <rdar://problem/16344326>
1697 Reviewed by David Kilzer.
1699 * Configurations/DebugRelease.xcconfig: Remove $(inherited) from
1700 OTHER_CFLAGS, OTHER_CPLUSPLUSFLAGS, OTHER_LDFLAGS to prevent
1701 double complete ASAN flags.
1703 2014-03-16 Brent Fulgham <bfulgham@apple.com>
1705 Provide preference to enable additional AVFoundation options
1706 https://bugs.webkit.org/show_bug.cgi?id=130275
1708 Reviewed by Eric Carlson.
1710 * WebView/WebPreferenceKeysPrivate.h: Added new preference.
1711 * WebView/WebPreferences.mm:
1712 (+[WebPreferences initialize]): Initialize preference to false.
1713 (-[WebPreferences isInheritURIQueryComponentEnabled]): Added.
1714 (-[WebPreferences setEnableInheritURIQueryComponent:]): Added.
1715 * WebView/WebPreferencesPrivate.h:
1716 * WebView/WebView.mm:
1717 (-[WebView _preferencesChanged:]): Handle new preference.
1719 2014-03-16 Darin Adler <darin@apple.com>
1721 Remove all deprecatedCharacters use from WebKit directory
1722 https://bugs.webkit.org/show_bug.cgi?id=130305
1724 Reviewed by Andreas Kling.
1726 * History/BinaryPropertyList.cpp:
1727 (BinaryPropertyListSerializer::appendStringObject): Use operator[]
1728 instead of deprecatedCharacters.
1730 2014-03-14 Mark Rowe <mrowe@apple.com>
1732 Fix the production build.
1734 Don't rely on USE_INTERNAL_SDK being set for the Production configuration since UseInternalSDK.xcconfig won't
1735 be at the expected relative path when working from installed source.
1737 * Configurations/Base.xcconfig:
1739 2014-03-14 Maciej Stachowiak <mjs@apple.com>
1741 Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
1742 https://bugs.webkit.org/show_bug.cgi?id=130276
1743 <rdar://problem/16266927>
1745 Reviewed by Simon Fraser.
1747 * Carbon/CarbonUtils.h:
1748 * Carbon/CarbonUtils.m:
1749 * Carbon/CarbonWindowAdapter.h:
1750 * Carbon/CarbonWindowAdapter.mm:
1751 * Carbon/CarbonWindowContentView.h:
1752 * Carbon/CarbonWindowContentView.m:
1753 * Carbon/CarbonWindowFrame.h:
1754 * Carbon/CarbonWindowFrame.m:
1755 * Carbon/HIViewAdapter.h:
1756 * Carbon/HIViewAdapter.m:
1757 * Carbon/HIWebView.h:
1758 * Carbon/HIWebView.mm:
1759 * DOM/WebDOMOperations.h:
1760 * DOM/WebDOMOperations.mm:
1761 * DOM/WebDOMOperationsInternal.h:
1762 * DOM/WebDOMOperationsPrivate.h:
1763 * DefaultDelegates/WebDefaultContextMenuDelegate.h:
1764 * DefaultDelegates/WebDefaultContextMenuDelegate.mm:
1765 * DefaultDelegates/WebDefaultEditingDelegate.h:
1766 * DefaultDelegates/WebDefaultEditingDelegate.m:
1767 * DefaultDelegates/WebDefaultPolicyDelegate.h:
1768 * DefaultDelegates/WebDefaultPolicyDelegate.m:
1769 * DefaultDelegates/WebDefaultUIDelegate.h:
1770 * DefaultDelegates/WebDefaultUIDelegate.m:
1771 * History/WebBackForwardList.h:
1772 * History/WebBackForwardList.mm:
1773 * History/WebBackForwardListInternal.h:
1774 * History/WebBackForwardListPrivate.h:
1775 * History/WebHistory.h:
1776 * History/WebHistory.mm:
1777 * History/WebHistoryInternal.h:
1778 * History/WebHistoryItem.h:
1779 * History/WebHistoryItem.mm:
1780 * History/WebHistoryItemInternal.h:
1781 * History/WebHistoryItemPrivate.h:
1782 * History/WebHistoryPrivate.h:
1783 * History/WebURLsWithTitles.h:
1784 * History/WebURLsWithTitles.m:
1785 * MigrateHeaders.make:
1786 * Misc/OldWebAssertions.c:
1789 * Misc/WebCoreStatistics.h:
1790 * Misc/WebCoreStatistics.mm:
1791 * Misc/WebDownload.h:
1792 * Misc/WebDownload.mm:
1793 * Misc/WebDownloadInternal.h:
1794 * Misc/WebElementDictionary.h:
1795 * Misc/WebElementDictionary.mm:
1796 * Misc/WebIconDatabase.h:
1797 * Misc/WebIconDatabase.mm:
1798 * Misc/WebIconDatabaseDelegate.h:
1799 * Misc/WebIconDatabaseInternal.h:
1800 * Misc/WebIconDatabasePrivate.h:
1802 * Misc/WebKitErrors.h:
1803 * Misc/WebKitErrors.m:
1804 * Misc/WebKitErrorsPrivate.h:
1805 * Misc/WebKitLogging.h:
1806 * Misc/WebKitLogging.m:
1807 * Misc/WebKitNSStringExtras.h:
1808 * Misc/WebKitNSStringExtras.mm:
1809 * Misc/WebKitStatistics.h:
1810 * Misc/WebKitStatistics.m:
1811 * Misc/WebKitStatisticsPrivate.h:
1812 * Misc/WebKitSystemBits.h:
1813 * Misc/WebKitSystemBits.m:
1814 * Misc/WebKitVersionChecks.h:
1815 * Misc/WebKitVersionChecks.m:
1816 * Misc/WebLocalizableStrings.h:
1817 * Misc/WebLocalizableStrings.mm:
1818 * Misc/WebNSArrayExtras.h:
1819 * Misc/WebNSArrayExtras.m:
1820 * Misc/WebNSControlExtras.h:
1821 * Misc/WebNSControlExtras.m:
1822 * Misc/WebNSDataExtras.h:
1823 * Misc/WebNSDataExtras.m:
1824 * Misc/WebNSDataExtrasPrivate.h:
1825 * Misc/WebNSDictionaryExtras.h:
1826 * Misc/WebNSDictionaryExtras.m:
1827 * Misc/WebNSEventExtras.h:
1828 * Misc/WebNSEventExtras.m:
1829 * Misc/WebNSFileManagerExtras.h:
1830 * Misc/WebNSFileManagerExtras.mm:
1831 * Misc/WebNSImageExtras.h:
1832 * Misc/WebNSImageExtras.m:
1833 * Misc/WebNSObjectExtras.h:
1834 * Misc/WebNSObjectExtras.mm:
1835 * Misc/WebNSPasteboardExtras.h:
1836 * Misc/WebNSPasteboardExtras.mm:
1837 * Misc/WebNSPrintOperationExtras.h:
1838 * Misc/WebNSPrintOperationExtras.m:
1839 * Misc/WebNSURLExtras.h:
1840 * Misc/WebNSURLExtras.mm:
1841 * Misc/WebNSURLRequestExtras.h:
1842 * Misc/WebNSURLRequestExtras.m:
1843 * Misc/WebNSUserDefaultsExtras.h:
1844 * Misc/WebNSUserDefaultsExtras.mm:
1845 * Misc/WebNSViewExtras.h:
1846 * Misc/WebNSViewExtras.m:
1847 * Misc/WebNSWindowExtras.h:
1848 * Misc/WebNSWindowExtras.m:
1849 * Misc/WebStringTruncator.h:
1850 * Misc/WebStringTruncator.mm:
1851 * Misc/WebTypesInternal.h:
1852 * Panels/WebAuthenticationPanel.h:
1853 * Panels/WebAuthenticationPanel.m:
1854 * Panels/WebPanelAuthenticationHandler.h:
1855 * Panels/WebPanelAuthenticationHandler.m:
1856 * Plugins/Hosted/ProxyRuntimeObject.h:
1857 * Plugins/Hosted/ProxyRuntimeObject.mm:
1858 * Plugins/WebBaseNetscapePluginView.h:
1859 * Plugins/WebBaseNetscapePluginView.mm:
1860 * Plugins/WebBasePluginPackage.h:
1861 * Plugins/WebBasePluginPackage.mm:
1862 * Plugins/WebJavaPlugIn.h:
1863 * Plugins/WebNetscapeContainerCheckContextInfo.h:
1864 * Plugins/WebNetscapeContainerCheckPrivate.h:
1865 * Plugins/WebNetscapeContainerCheckPrivate.mm:
1866 * Plugins/WebNetscapePluginPackage.h:
1867 * Plugins/WebNetscapePluginPackage.mm:
1868 * Plugins/WebNetscapePluginStream.h:
1869 * Plugins/WebNetscapePluginStream.mm:
1870 * Plugins/WebNetscapePluginView.h:
1871 * Plugins/WebNetscapePluginView.mm:
1872 * Plugins/WebPlugin.h:
1873 * Plugins/WebPluginContainer.h:
1874 * Plugins/WebPluginContainerCheck.h:
1875 * Plugins/WebPluginContainerCheck.mm:
1876 * Plugins/WebPluginContainerPrivate.h:
1877 * Plugins/WebPluginController.h:
1878 * Plugins/WebPluginController.mm:
1879 * Plugins/WebPluginDatabase.h:
1880 * Plugins/WebPluginDatabase.mm:
1881 * Plugins/WebPluginPackage.h:
1882 * Plugins/WebPluginPackage.mm:
1883 * Plugins/WebPluginRequest.h:
1884 * Plugins/WebPluginRequest.m:
1885 * Plugins/WebPluginViewFactory.h:
1886 * Plugins/WebPluginViewFactoryPrivate.h:
1887 * Plugins/WebPluginsPrivate.h:
1888 * Plugins/WebPluginsPrivate.m:
1890 * Storage/WebDatabaseManager.mm:
1891 * Storage/WebDatabaseManagerInternal.h:
1892 * Storage/WebDatabaseManagerPrivate.h:
1893 * WebCoreSupport/SearchPopupMenuMac.mm:
1894 * WebCoreSupport/WebAlternativeTextClient.h:
1895 * WebCoreSupport/WebAlternativeTextClient.mm:
1896 * WebCoreSupport/WebCachedFramePlatformData.h:
1897 * WebCoreSupport/WebChromeClient.h:
1898 * WebCoreSupport/WebChromeClient.mm:
1899 * WebCoreSupport/WebContextMenuClient.h:
1900 * WebCoreSupport/WebContextMenuClient.mm:
1901 * WebCoreSupport/WebDragClient.h:
1902 * WebCoreSupport/WebDragClient.mm:
1903 * WebCoreSupport/WebEditorClient.h:
1904 * WebCoreSupport/WebEditorClient.mm:
1905 * WebCoreSupport/WebFrameLoaderClient.h:
1906 * WebCoreSupport/WebFrameLoaderClient.mm:
1907 * WebCoreSupport/WebIconDatabaseClient.h:
1908 * WebCoreSupport/WebIconDatabaseClient.mm:
1909 * WebCoreSupport/WebInspectorClient.h:
1910 * WebCoreSupport/WebInspectorClient.mm:
1911 * WebCoreSupport/WebJavaScriptTextInputPanel.h:
1912 * WebCoreSupport/WebJavaScriptTextInputPanel.m:
1913 * WebCoreSupport/WebSecurityOrigin.mm:
1914 * WebCoreSupport/WebSecurityOriginInternal.h:
1915 * WebCoreSupport/WebSecurityOriginPrivate.h:
1916 * WebCoreSupport/WebSystemInterface.h:
1917 * WebCoreSupport/WebSystemInterface.mm:
1918 * WebInspector/WebInspector.h:
1919 * WebInspector/WebInspector.mm:
1920 * WebInspector/WebInspectorPrivate.h:
1921 * WebInspector/WebNodeHighlight.h:
1922 * WebInspector/WebNodeHighlight.mm:
1923 * WebInspector/WebNodeHighlightView.h:
1924 * WebInspector/WebNodeHighlightView.mm:
1925 * WebInspector/WebNodeHighlighter.h:
1926 * WebInspector/WebNodeHighlighter.mm:
1927 * WebKitLegacy/MigrateHeadersToLegacy.make:
1929 * WebView/WebArchive.h:
1930 * WebView/WebArchive.mm:
1931 * WebView/WebArchiveInternal.h:
1932 * WebView/WebClipView.h:
1933 * WebView/WebClipView.mm:
1934 * WebView/WebDashboardRegion.h:
1935 * WebView/WebDashboardRegion.mm:
1936 * WebView/WebDataSource.h:
1937 * WebView/WebDataSource.mm:
1938 * WebView/WebDataSourceInternal.h:
1939 * WebView/WebDataSourcePrivate.h:
1940 * WebView/WebDelegateImplementationCaching.h:
1941 * WebView/WebDelegateImplementationCaching.mm:
1942 * WebView/WebDocument.h:
1943 * WebView/WebDocumentInternal.h:
1944 * WebView/WebDocumentLoaderMac.h:
1945 * WebView/WebDocumentLoaderMac.mm:
1946 * WebView/WebDocumentPrivate.h:
1947 * WebView/WebDynamicScrollBarsViewInternal.h:
1948 * WebView/WebEditingDelegate.h:
1949 * WebView/WebEditingDelegatePrivate.h:
1950 * WebView/WebFormDelegate.h:
1951 * WebView/WebFormDelegate.m:
1952 * WebView/WebFormDelegatePrivate.h:
1953 * WebView/WebFrame.h:
1954 * WebView/WebFrame.mm:
1955 * WebView/WebFrameInternal.h:
1956 * WebView/WebFrameLoadDelegate.h:
1957 * WebView/WebFrameLoadDelegatePrivate.h:
1958 * WebView/WebFramePrivate.h:
1959 * WebView/WebFrameView.h:
1960 * WebView/WebFrameView.mm:
1961 * WebView/WebFrameViewInternal.h:
1962 * WebView/WebFrameViewPrivate.h:
1963 * WebView/WebHTMLRepresentation.h:
1964 * WebView/WebHTMLRepresentation.mm:
1965 * WebView/WebHTMLRepresentationPrivate.h:
1966 * WebView/WebHTMLView.h:
1967 * WebView/WebHTMLView.mm:
1968 * WebView/WebHTMLViewInternal.h:
1969 * WebView/WebHTMLViewPrivate.h:
1970 * WebView/WebNotification.h:
1971 * WebView/WebNotification.mm:
1972 * WebView/WebNotificationInternal.h:
1973 * WebView/WebPDFRepresentation.h:
1974 * WebView/WebPDFRepresentation.mm:
1975 * WebView/WebPDFView.h:
1976 * WebView/WebPDFView.mm:
1977 * WebView/WebPolicyDelegate.h:
1978 * WebView/WebPolicyDelegate.mm:
1979 * WebView/WebPolicyDelegatePrivate.h:
1980 * WebView/WebPreferenceKeysPrivate.h:
1981 * WebView/WebPreferences.h:
1982 * WebView/WebPreferences.mm:
1983 * WebView/WebPreferencesPrivate.h:
1984 * WebView/WebRenderLayer.h:
1985 * WebView/WebRenderLayer.mm:
1986 * WebView/WebRenderNode.h:
1987 * WebView/WebRenderNode.mm:
1988 * WebView/WebResource.h:
1989 * WebView/WebResource.mm:
1990 * WebView/WebResourceInternal.h:
1991 * WebView/WebResourceLoadDelegate.h:
1992 * WebView/WebResourceLoadDelegatePrivate.h:
1993 * WebView/WebResourcePrivate.h:
1994 * WebView/WebScriptDebugDelegate.h:
1995 * WebView/WebScriptDebugDelegate.mm:
1996 * WebView/WebScriptDebugger.h:
1997 * WebView/WebScriptDebugger.mm:
1998 * WebView/WebTextCompletionController.mm:
1999 * WebView/WebUIDelegate.h:
2000 * WebView/WebUIDelegatePrivate.h:
2001 * WebView/WebView.h:
2002 * WebView/WebView.mm:
2003 * WebView/WebViewData.h:
2004 * WebView/WebViewData.mm:
2005 * WebView/WebViewInternal.h:
2006 * WebView/WebViewPrivate.h:
2008 2014-03-14 Ryosuke Niwa <rniwa@webkit.org>
2010 REGRESSION(r165385): [WebTextIterator currentRange] crashes
2011 https://bugs.webkit.org/show_bug.cgi?id=130271
2013 Reviewed by Anders Carlsson.
2015 After r165385, TextIterator::range no longer checked the nullity of m_positionNode. As a result,
2016 [WebTextIterator currentRange] which simply calls TextIterator::range crashes when an application
2017 that embeds WebKit doesn't check [WebTextIterator atEnd] first.
2019 Preserve the old public API behavior by checking atEnd in [WebTextIterator currentRange].
2021 * WebView/WebTextIterator.mm:
2022 (-[WebTextIterator currentRange]):
2024 2014-03-12 Sergio Villar Senin <svillar@igalia.com>
2026 Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
2027 https://bugs.webkit.org/show_bug.cgi?id=129612
2029 Reviewed by Darin Adler.
2031 For new code use static NeverDestroyed<T> instead.
2033 * History/WebBackForwardList.mm:
2035 * History/WebHistoryItem.mm:
2036 (historyItemWrappers):
2037 * Misc/WebNSPasteboardExtras.mm:
2038 (+[NSPasteboard _web_writableTypesForURL]):
2039 (_writableTypesForImageWithoutArchive):
2040 (_writableTypesForImageWithArchive):
2041 * Misc/WebStringTruncator.mm:
2043 * Plugins/Hosted/NetscapePluginHostManager.mm:
2044 (WebKit::NetscapePluginHostManager::shared):
2045 * Plugins/Hosted/NetscapePluginHostProxy.mm:
2046 (WebKit::pluginProxyMap):
2047 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
2048 (WebKit::globalExceptionString):
2049 * Plugins/Hosted/ProxyInstance.mm:
2050 (WebKit::proxyClass):
2051 * Plugins/WebNetscapePluginStream.mm:
2053 * Storage/WebDatabaseManager.mm:
2054 (transactionBackgroundTaskIdentifierLock):
2055 * WebCoreSupport/WebUserMediaClient.mm:
2056 (userMediaRequestsMap):
2057 * WebView/WebHTMLRepresentation.mm:
2059 * WebView/WebView.mm:
2060 (aeDescFromJSValue):
2062 2014-03-13 Tim Horton <timothy_horton@apple.com>
2064 Fix relative paths to UseInternalSDK.xcconfig for ANGLE and WebKit/mac
2066 Rubber-stamped by Mark Rowe.
2070 * Configurations/Base.xcconfig:
2072 2014-03-13 Anders Carlsson <andersca@apple.com>
2076 * Misc/WebSharingServicePickerController.mm:
2078 2014-03-13 Radu Stavila <stavila@adobe.com>
2080 Webkit not building on XCode 5.1 due to garbage collection no longer being supported
2081 https://bugs.webkit.org/show_bug.cgi?id=130087
2083 Reviewed by Mark Rowe.
2085 Disable garbage collection on macosx when not using internal SDK.
2087 * Configurations/Base.xcconfig:
2089 2014-03-10 Darin Adler <darin@apple.com>
2091 Avoid copy-prone idiom "for (auto item : collection)"
2092 https://bugs.webkit.org/show_bug.cgi?id=129990
2094 Reviewed by Geoffrey Garen.
2096 * WebView/WebFrame.mm:
2097 (-[WebFrame _documentFragmentWithNodesAsParagraphs:]):
2098 Use auto*. Also removed uneeded ASSERT_NO_EXCEPTION, which is already
2099 the default without specifying it explicitly.
2101 2014-03-12 Brian Burg <bburg@apple.com>
2103 Web Inspector: Remove unused callId parameter from evaluateInWebInspector
2104 https://bugs.webkit.org/show_bug.cgi?id=129744
2106 Reviewed by Timothy Hatcher.
2108 * WebInspector/WebInspector.mm:
2109 (-[WebInspector evaluateInFrontend:script:]):
2110 * WebInspector/WebInspectorPrivate.h:
2112 2014-03-12 Dean Jackson <dino@apple.com>
2114 [WebGL] WebKit1 + WebKit2 iOS clients should check load policy
2115 https://bugs.webkit.org/show_bug.cgi?id=130162
2117 Reviewed by Simon Fraser.
2119 Implement the webGLPolicyForURL methods, calling into WebKitSystemInterface.
2121 * Configurations/WebKit.xcconfig: Add MobileAsset to iOS config.
2122 * WebCoreSupport/WebFrameLoaderClient.h:
2123 * WebCoreSupport/WebFrameLoaderClient.mm:
2125 2014-03-12 Joseph Pecoraro <pecoraro@apple.com>
2127 Web Inspector: Disable REMOTE_INSPECTOR in earlier OS X releases
2128 https://bugs.webkit.org/show_bug.cgi?id=130118
2130 Reviewed by Timothy Hatcher.
2132 * Configurations/FeatureDefines.xcconfig:
2134 * WebCoreSupport/WebInspectorClient.mm:
2135 (WebInspectorClient::indicate):
2136 (WebInspectorClient::hideIndication):
2137 Properly guard REMOTE_INSPECTOR only calls.
2139 2014-03-12 Tim Horton <timothy_horton@apple.com>
2141 Build fix for ENABLE(IMAGE_CONTROLS) after 165479
2143 * Misc/WebSharingServicePickerController.h:
2144 * Misc/WebSharingServicePickerController.mm:
2145 Don't use new-runtime features in code that has to build 32-bit.
2147 2014-03-12 Anders Carlsson <andersca@apple.com>
2149 <rdar://problem/16307346> Add new WebKitLegacy.framework.
2151 Reviewed by Dan Bernstein.
2153 * Configurations/WebKitLegacy.xcconfig:
2154 Add xcconfig file for the new framework.
2156 * WebKitLegacy/Info.plist:
2157 Add Info.plist for WebKitLegacy.framework.
2159 * WebKitLegacy/MigrateHeadersToLegacy.make:
2160 Add makefile that copies headers from WebKit to WebKitLegacy and rewrites includes from WebKit/ to WebKitLegacy/
2161 * WebKitLegacy/WebKitLegacy.cpp:
2162 Add an empty file so we'll have something to link.
2164 2014-03-12 Tim Horton <timothy_horton@apple.com>
2166 Hook up image controls for WebKit1
2167 https://bugs.webkit.org/show_bug.cgi?id=130062
2168 <rdar://problem/15964809>
2170 Reviewed by Brady Eidson.
2172 * Misc/WebSharingServicePickerController.h: Added.
2173 * Misc/WebSharingServicePickerController.mm: Added.
2174 (-[WebSharingServicePickerController initWithImage:menuClient:]):
2175 (-[WebSharingServicePickerController menu]):
2176 (-[WebSharingServicePickerController sharingServicePicker:delegateForSharingService:]):
2177 (-[WebSharingServicePickerController sharingServicePicker:didChooseSharingService:]):
2178 (-[WebSharingServicePickerController sharingService:didShareItems:]):
2179 (-[WebSharingServicePickerController sharingService:didFailToShareItems:error:]):
2180 (-[WebSharingServicePickerController sharingService:sourceWindowForShareItems:sharingContentScope:]):
2181 Add a NSSharingServiceDelegate and NSSharingServicePickerDelegate, which will also
2182 provide a NSMenu instance for WebContextMenuClient to pop up when image controls are needed.
2183 When data is returned from the service, it is re-inserted into the image via replaceControlledImage.
2185 * WebCoreSupport/WebContextMenuClient.h:
2186 * WebCoreSupport/WebContextMenuClient.mm:
2187 (WebContextMenuClient::contextMenuForEvent):
2188 Factor out code to decide which NSMenu to use, so that we can use early-returns to simplify it.
2189 If we hit an image with image controls, use the WebSharingServicePickerController's menu.
2191 (WebContextMenuClient::showContextMenu):
2192 (WebContextMenuClient::clearSharingServicePickerController):
2194 2014-03-10 Jer Noble <jer.noble@apple.com>
2196 [iOS][WK1] Crash in HTMLMediaElement::createElementRenderer() - "-[NSSet addObject:]: object cannot be nil"
2197 https://bugs.webkit.org/show_bug.cgi?id=129634
2199 Reviewed by Eric Carlson.
2201 If a plugin fails to create a NSView, a nil object is inserted into the WebPluginController's
2202 pluginViews set. This is an exceptional case, so add an ASSERT so that this error will continue
2203 to occur in debug builds, but also add an early return so as not to crash release builds.
2205 * Plugins/WebPluginController.mm:
2206 (+[WebPluginController addPlugInView:]):
2208 2014-03-06 Alexey Proskuryakov <ap@apple.com>
2210 [Mac] Don't perform a round-trip through WebProcess before interpreting key events
2211 https://bugs.webkit.org/show_bug.cgi?id=129812
2213 Reviewed by Darin Adler.
2215 * WebCoreSupport/WebEditorClient.mm: (WebEditorClient::handleInputMethodKeydown):
2216 Added a FIXME. WebKit1/mac is the only port that uses this roundabout way to
2217 interpret events, so it would simplify code if we switched it to WebKit2/mac model.
2219 2014-03-08 Simon Fraser <simon.fraser@apple.com>
2221 [iOS Wk2] Can't scroll after going back to page in page cache
2222 https://bugs.webkit.org/show_bug.cgi?id=129989
2223 <rdar://problem/16217588>
2225 Reviewed by Dan Bernstein.
2227 iOS has a special FrameLoader::forceLayoutWithoutRecalculatingStyle()
2228 function that is called instead of FrameView::forceLayout(). This was unimplemented
2229 for the WK2 FrameLoaderClient, so no layout was forced, with the result
2230 that the contentSize was never updated and scrolling was broken.
2232 Fix by renaming the client function to forceLayoutOnRestoreFromPageCache()
2233 and having it return a bool to say whether the default forceLayout()
2234 should be done. WK1 can then continue to have its custom behavior,
2235 and Wk2 will simply do a forceLayout().
2237 Also remove FrameLaoderClient::forceLayout(), which was never called.
2239 * WebCoreSupport/WebFrameLoaderClient.h:
2240 * WebCoreSupport/WebFrameLoaderClient.mm:
2241 (WebFrameLoaderClient::forceLayoutOnRestoreFromPageCache):
2243 2014-03-07 Anders Carlsson <andersca@apple.com>
2245 Add the remaining WebKit2 headers to WEBKIT2_HEADERS
2246 https://bugs.webkit.org/show_bug.cgi?id=129942
2247 <rdar://problem/15920020>
2249 Reviewed by Tim Horton.
2251 * MigrateHeaders.make:
2253 2014-03-07 Anders Carlsson <andersca@apple.com>
2255 MigrateHeaders.make should remove C SPI includes from WebKit2 headers
2256 https://bugs.webkit.org/show_bug.cgi?id=129937
2257 <rdar://problem/15920020>
2259 Reviewed by Tim Horton.
2261 * MigrateHeaders.make:
2262 Add WKPreferences.h to WEBKIT2_HEADERS.
2263 Add a sed rule that deletes all lines that start with a # and contain <WebKit/*Ref.h>.
2265 2014-03-07 Anders Carlsson <andersca@apple.com>
2267 Make it possible to copy WebKit2 headers to WebKit.framework
2268 https://bugs.webkit.org/show_bug.cgi?id=129935
2269 <rdar://problem/15920020>
2271 Reviewed by Dan Bernstein.
2273 * MigrateHeaders.make:
2274 Gather a list of public and private WebKit2 headers and filter them against the WEBKIT2_HEADERS list.
2275 The matching headers are copied to the respective Headers or PrivateHeaders directories under WebKit.framework,
2276 and also have their #imports rewritten to reference WebKit instead of WebKit2.
2278 * migrate-headers.sh: Added.
2279 Set up the WEBKIT2_FRAMEWORKS_DIR if needed.
2281 2014-03-07 Anders Carlsson <andersca@apple.com>
2284 <rdar://problem/15920020>
2286 Rubber-stamped by Dan Bernstein.
2288 * Configurations/WebKit.xcconfig:
2290 2014-03-07 Anders Carlsson <andersca@apple.com>
2292 Tweak the WebKit2 frameworks directories
2293 https://bugs.webkit.org/show_bug.cgi?id=129910
2294 <rdar://problem/15920020>
2296 Reviewed by Dan Bernstein.
2298 Use an SDK relative directory for production builds.
2300 * Configurations/WebKit.xcconfig:
2302 2014-03-07 Anders Carlsson <andersca@apple.com>
2304 Link WebKit.framework against WebKit2.framework and re-export all WebKit2 symbols
2305 https://bugs.webkit.org/show_bug.cgi?id=129901
2306 <rdar://problem/15920020>
2308 Reviewed by Andreas Kling.
2310 * Configurations/WebKit.xcconfig:
2312 2014-03-06 Joseph Pecoraro <pecoraro@apple.com>
2314 Web Inspector: Expose the console object in JSContexts to interact with Web Inspector
2315 https://bugs.webkit.org/show_bug.cgi?id=127944
2317 Reviewed by Geoffrey Garen.
2319 * WebCoreSupport/WebChromeClient.h:
2320 * WebCoreSupport/WebChromeClient.mm:
2323 2014-03-05 Eric Carlson <eric.carlson@apple.com>
2325 [iOS] Show external device name/type in placeholder
2326 https://bugs.webkit.org/show_bug.cgi?id=129723
2328 Reviewed by Jer Noble.
2330 * WebCoreSupport/WebSystemInterface.mm:
2331 (InitWebCoreSystemInterface):
2333 2014-03-05 Simon Fraser <simon.fraser@apple.com>
2335 ObjC exception when dropping files into a WKView: drag and drop uses code from WebKit.framework
2336 https://bugs.webkit.org/show_bug.cgi?id=129752
2338 Reviewed by Enrica Casucci.
2340 Call URLByCanonicalizingURL() which is implemented in WebCore.
2342 * Misc/WebNSURLExtras.mm:
2343 (-[NSURL _webkit_canonicalize]):
2345 2014-03-04 Zalan Bujtas <zalan@apple.com>
2347 Enable device pixel repaint rect tracking.
2348 https://bugs.webkit.org/show_bug.cgi?id=129712
2350 Reviewed by Simon Fraser.
2352 Tracked repaint rects are device pixel snapped now to support hiDPI test cases.
2354 * WebView/WebView.mm:
2355 (-[WebView trackedRepaintRects]): Keep existing behavior for now.
2357 2014-03-04 Simon Fraser <simon.fraser@apple.com>
2359 Allow iOS DumpRenderTree crashes to show application-specific information
2360 https://bugs.webkit.org/show_bug.cgi?id=129705
2362 Reviewed by David Kilzer.
2364 Make the WKSI function SetCrashReportApplicationSpecificInformation available
2365 in iOS simulator builds.
2367 * WebCoreSupport/WebSystemInterface.mm:
2368 (InitWebCoreSystemInterface):
2370 2014-03-04 Mark Hahnenberg <mhahnenberg@apple.com>
2372 Merge API shims and JSLock
2373 https://bugs.webkit.org/show_bug.cgi?id=129650
2375 Reviewed by Mark Lam.
2377 JSLock is now taking on all of APIEntryShim's responsibilities since there is never a reason
2378 to take just the JSLock. Ditto for DropAllLocks and APICallbackShim.
2380 * WebView/WebFrame.mm:
2381 (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
2383 2014-03-02 Darin Adler <darin@apple.com>
2385 Sort Mac platform export files so they merge better
2386 https://bugs.webkit.org/show_bug.cgi?id=129581
2388 Reviewed by Sam Weinig.
2390 * WebKit.exp: Ran the new sort-export-file on this.
2392 2014-03-02 Darin Adler <darin@apple.com>
2394 Change public text iterator API implementations to not depend on 16-bit character pointers
2395 https://bugs.webkit.org/show_bug.cgi?id=129566
2397 Reviewed by Anders Carlsson.
2399 * WebView/WebTextIterator.mm:
2400 (-[WebTextIterator initWithRange:]): Use make_unique instead of adoptPtr.
2401 (-[WebTextIterator advance]): Clear out the upconverted text since we are moving on to the
2403 (-[WebTextIterator currentTextPointer]): Upconvert if we have 8-bit text.
2404 (-[WebTextIterator currentTextLength]): Call TextIterator::text().length() since we will
2405 probably be removing TextIterator::length eventually.
2407 2014-03-01 Pratik Solanki <psolanki@apple.com>
2409 [iOS] selectionImageForcingBlackText should return autoreleased object
2410 https://bugs.webkit.org/show_bug.cgi?id=129437
2411 <rdar://problem/15810384>
2413 Reviewed by Darin Adler.
2415 * WebView/WebHTMLView.mm:
2416 (-[WebHTMLView selectionImageForcingBlackText:selectionImageForcingBlackText:]):
2418 2014-02-28 Dan Bernstein <mitz@apple.com>
2420 [Mac] Remove MailQuirksUserScript.js
2421 https://bugs.webkit.org/show_bug.cgi?id=129536
2423 Reviewed by Andy Estes.
2425 * Configurations/WebKit.xcconfig: Removed from EXCLUDED_SOURCE_FILE_NAMES_iphoneos.
2426 * Misc/MailQuirksUserScript.js: Removed. This file has been unused since r147447.
2428 2014-02-28 Timothy Hatcher <timothy@apple.com>
2430 Properly handle when Test.html is not present in Production builds.
2432 https://bugs.webkit.org/show_bug.cgi?id=129506
2434 Reviewed by Joseph Pecoraro.
2436 * WebCoreSupport/WebInspectorClient.mm:
2437 (-[WebInspectorWindowController inspectorTestPagePath]):
2438 (-[WebInspectorWindowController webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
2440 2014-02-27 Brian Burg <bburg@apple.com>
2442 Web Inspector: model tests should use a special Test.html inspector page
2443 https://bugs.webkit.org/show_bug.cgi?id=129190
2445 Reviewed by Timothy Hatcher.
2447 Support creating a separate test inspector page, based on the value of
2448 InspectorController::isUnderTest(). Modify the navigation policy to check
2449 the URL against both normal and test inspector pages.
2451 * WebCoreSupport/WebInspectorClient.mm:
2452 (WebInspectorClient::openInspectorFrontend):
2453 (-[WebInspectorWindowController init]):
2454 (-[WebInspectorWindowController initWithInspectedWebView:isUnderTest:]):
2455 Move the initial navigation of the inspector page to this method, and change
2456 the URL based on the value of InspectorController::isUnderTest().
2458 (-[WebInspectorWindowController inspectorTestPagePath]): Added.
2459 (-[WebInspectorWindowController webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
2461 2014-02-27 Pratik Solanki <psolanki@apple.com>
2463 Assertion failure at CachedResource.h:196: ASSERT(!m_purgeableData)
2464 https://bugs.webkit.org/show_bug.cgi?id=129349
2465 <rdar://problem/14871837>
2467 Reviewed by Joseph Pecoraro.
2469 The code for clearing out memory mapped notification callbacks is only needed when loading
2470 PDFs. And in such cases, we always have dataSourceDelegate object. So make this code
2471 conditional on its presence so that we don't trigger the assert for non-PDF main resources.
2473 * WebView/WebDataSource.mm:
2474 (-[WebDataSource dealloc]):
2476 2014-02-26 Andy Estes <aestes@apple.com>
2478 [iOS] Support network state notification using CPNetworkObserver
2479 https://bugs.webkit.org/show_bug.cgi?id=129358
2481 Reviewed by Dan Bernstein.
2483 * WebView/WebView.mm:
2484 (-[WebView _setNetworkStateIsOnline:]): Retained an empty
2485 implementation for binary compatibility for UIKit.
2486 (+[WebView _doNotStartObservingNetworkReachability]): Called
2487 Settings::setShouldOptOutOfNetworkStateObservation(true).
2488 * WebView/WebViewPrivate.h: Removed declaration of
2489 _setNetworkStateIsOnline: and declared
2490 _doNotStartObservingNetworkReachability.
2492 2014-02-25 Anders Carlsson <andersca@apple.com>
2494 Get rid of VisitedLinkStrategy
2495 https://bugs.webkit.org/show_bug.cgi?id=129324
2497 Reviewed by Dan Bernstein.
2499 * WebCoreSupport/WebPlatformStrategies.h:
2500 * WebCoreSupport/WebPlatformStrategies.mm:
2502 2014-02-25 Sergio Villar Senin <svillar@igalia.com>
2504 [CSS Grid Layout] Add ENABLE flag
2505 https://bugs.webkit.org/show_bug.cgi?id=129153
2507 Reviewed by Simon Fraser.
2509 Added ENABLE_CSS_GRID_LAYOUT feature flag.
2511 * Configurations/FeatureDefines.xcconfig:
2513 2014-02-24 Anders Carlsson <andersca@apple.com>
2516 https://bugs.webkit.org/show_bug.cgi?id=129280
2518 Reviewed by Dan Bernstein.
2520 This is a first step towards getting rid of page groups in WebCore. The idea is that
2521 everything that is per page group in WebCore will be per page. In order to retain WebKit1 compatibility
2522 WebViewGroup is going to take over more and more responsibility from WebCore::PageGroup.
2524 * WebCoreSupport/WebViewGroup.h: Added.
2525 * WebCoreSupport/WebViewGroup.mm: Added.
2527 (WebViewGroup::getOrCreate):
2528 (WebViewGroup::WebViewGroup):
2529 (WebViewGroup::~WebViewGroup):
2530 (WebViewGroup::addWebView):
2531 (WebViewGroup::removeWebView):
2532 * WebView/WebView.mm:
2533 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
2534 (-[WebView _close]):
2535 (-[WebView setGroupName:]):
2536 * WebView/WebViewData.h:
2537 * WebView/WebViewData.mm:
2539 2014-02-24 Tamas Gergely <tgergely.u-szeged@partner.samsung.com>
2541 Code cleanup: remove leftover ENABLE(WORKERS) macros and support.
2542 https://bugs.webkit.org/show_bug.cgi?id=129255
2544 Reviewed by Csaba Osztrogonác.
2546 ENABLE_WORKERS macro was removed in r159679.
2547 Support is now also removed from xcconfig files.
2549 * Configurations/FeatureDefines.xcconfig:
2551 2014-02-24 David Kilzer <ddkilzer@apple.com>
2553 Remove redundant setting in FeatureDefines.xcconfig
2555 * Configurations/FeatureDefines.xcconfig:
2557 2014-02-23 Sam Weinig <sam@webkit.org>
2559 Update FeatureDefines.xcconfig
2561 Rubber-stamped by Anders Carlsson.
2563 * Configurations/FeatureDefines.xcconfig:
2565 2014-02-23 Sam Weinig <sam@webkit.org>
2567 Move telephone number detection behind its own ENABLE macro
2568 https://bugs.webkit.org/show_bug.cgi?id=129236
2570 Reviewed by Dean Jackson.
2572 * Configurations/FeatureDefines.xcconfig:
2573 Add ENABLE_TELEPHONE_NUMBER_DETECTION.
2575 2014-02-21 Sam Weinig <sam@webkit.org>
2577 Expose phase and momentum phase as SPI on DOMWheelEvent
2578 <rdar://problem/16110871>
2579 https://bugs.webkit.org/show_bug.cgi?id=129184
2581 Reviewed by Anders Carlsson.
2583 * DOM/WebDOMOperations.mm:
2585 (-[DOMWheelEvent _phase]):
2586 (-[DOMWheelEvent _momentumPhase]):
2587 * DOM/WebDOMOperationsPrivate.h:
2588 Expose _phase and _momentumPhase as SPI.
2590 * MigrateHeaders.make:
2591 Make DOMWheelEventInternal.h to WebKit.
2593 2014-02-22 David Kilzer <ddkilzer@apple.com>
2595 Revert r164434 since it actually broke ASan builds
2596 <http://webkit.org/b/128871>
2598 * Configurations/WebKit.xcconfig: This caused -asan-blacklist to
2599 be included twice on every compiler command, which caused clang
2602 2014-02-21 Brent Fulgham <bfulgham@apple.com>
2604 Extend media support for WebVTT sources
2605 https://bugs.webkit.org/show_bug.cgi?id=129156
2607 Reviewed by Eric Carlson.
2609 * Configurations/FeatureDefines.xcconfig: Add new feature define for AVF_CAPTIONS
2611 2014-02-20 Brady Eidson <beidson@apple.com>
2613 Add very basic image control rendering
2614 https://bugs.webkit.org/show_bug.cgi?id=129080
2616 Reviewed by Tim Horton.
2618 Expose the imageControlsEnabled setting to WebKit1 so DRT can use it.
2620 * WebView/WebPreferenceKeysPrivate.h:
2621 * WebView/WebPreferences.mm:
2622 (+[WebPreferences initialize]):
2623 (-[WebPreferences imageControlsEnabled]):
2624 (-[WebPreferences setImageControlsEnabled:]):
2625 * WebView/WebPreferencesPrivate.h:
2627 * WebView/WebView.mm:
2628 (-[WebView _preferencesChanged:]):
2630 2014-02-20 David Kilzer <ddkilzer@apple.com>
2632 [ASan] WebKit1 sources are not compiled using ASAN macros
2633 <http://webkit.org/b/128871>
2635 Reviewed by Brent Fulgham.
2637 * Configurations/WebKit.xcconfig: Use $inherited for
2638 OTHER_CFLAGS and OTHER_CPLUSPLUSFLAGS so that ASAN_OTHER_CFLAGS
2639 and ASAN_OTHER_CPLUSPLUSFLAGS are inherited from
2640 DebugRelease.xcconfig.
2642 2014-02-19 Brady Eidson <beidson@apple.com>
2644 Add FeatureDefines for image controls
2645 https://bugs.webkit.org/show_bug.cgi?id=129022
2647 Reviewed by Jer Noble.
2649 * Configurations/FeatureDefines.xcconfig:
2651 2014-02-18 Sam Weinig <sam@webkit.org>
2653 Simplify HTML tokenizer parameterization down to what is used
2654 https://bugs.webkit.org/show_bug.cgi?id=128977
2656 Reviewed by Alexey Proskuryakov.
2658 Remove unused _setCustomHTMLTokenizerTimeDelay and _setCustomHTMLTokenizerChunkSize SPI.
2660 * WebView/WebView.mm:
2661 * WebView/WebViewPrivate.h:
2663 2014-02-17 Anders Carlsson <andersca@apple.com>
2665 Remove view source code
2666 https://bugs.webkit.org/show_bug.cgi?id=127233
2668 Reviewed by Antti Koivisto.
2670 * WebView/WebView.mm:
2671 * WebView/WebViewPrivate.h:
2673 2014-02-17 Sergio Correia <sergio.correia@openbossa.org>
2675 Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
2676 https://bugs.webkit.org/show_bug.cgi?id=128681
2678 Reviewed by Timothy Hatcher.
2680 Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
2681 WebCore/inspector/*. Besides files in there, a few other files in
2682 JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
2683 and WebCore/testing were touched.
2685 * WebCoreSupport/WebInspectorClient.h:
2686 * WebCoreSupport/WebInspectorClient.mm:
2688 2014-02-15 Alexey Proskuryakov <ap@apple.com>
2690 [Mac] Remove WebSerializedJSValue SPI
2691 https://bugs.webkit.org/show_bug.cgi?id=128720
2693 Reviewed by Anders Carlsson.
2696 * WebView/WebSerializedJSValue.h: Removed.
2697 * WebView/WebSerializedJSValue.mm: Removed.
2698 * WebView/WebSerializedJSValuePrivate.h: Removed.
2700 2014-02-15 Alexey Proskuryakov <ap@apple.com>
2702 [Mac] All WebKit clients should encrypt WebCrypto keys automatically
2703 https://bugs.webkit.org/show_bug.cgi?id=128852
2705 Reviewed by Oliver Hunt.
2707 * WebCoreSupport/WebChromeClient.mm:
2708 (WebChromeClient::wrapCryptoKey):
2709 (WebChromeClient::unwrapCryptoKey):
2710 Call the default implementation if key is not provided by a client.
2712 2014-02-14 Anders Carlsson <andersca@apple.com>
2714 Control tints don't update inside WebViews
2715 https://bugs.webkit.org/show_bug.cgi?id=128862
2717 Reviewed by Ryosuke Niwa.
2719 * WebView/WebView.mm:
2720 (-[WebView _windowChangedKeyState]):
2721 Call [super _windowChangedKeyState].
2723 2014-02-13 Myles C. Maxfield <mmaxfield@apple.com>
2725 During a copy, position:fixed gets converted to position:absolute even if only part of the document is selected
2726 https://bugs.webkit.org/show_bug.cgi?id=128688
2728 Reviewed by Ryosuke Niwa.
2730 Renames the ConvertPositionStyleOnCopy setting to ShouldConvertPositionStyleOnCopy
2732 * WebView/WebPreferenceKeysPrivate.h:
2733 * WebView/WebPreferences.mm:
2734 (-[WebPreferences shouldConvertPositionStyleOnCopy]):
2735 (-[WebPreferences setShouldConvertPositionStyleOnCopy:]):
2736 * WebView/WebPreferencesPrivate.h:
2737 * WebView/WebView.mm:
2738 (-[WebView _preferencesChanged:]):
2740 2014-02-13 Alexey Proskuryakov <ap@apple.com>
2742 [Mac] Add a WebKit1 SPI to get WebCrypto master key from a client
2743 https://bugs.webkit.org/show_bug.cgi?id=128725
2745 Reviewed by Anders Carlsson.
2747 * WebCoreSupport/WebChromeClient.mm:
2748 (WebChromeClient::wrapCryptoKey):
2749 (WebChromeClient::unwrapCryptoKey):
2750 * WebView/WebUIDelegatePrivate.h:
2751 Looks like UIDelegate is the closest we have to a reasonable place.
2753 2014-02-13 Dan Bernstein <mitz@apple.com>
2757 * WebView/WebView.mm:
2758 (+[WebView registerForMemoryNotifications]):
2760 2014-02-12 Alexey Proskuryakov <ap@apple.com>
2762 Wrap WebCrypto keys in SerializedScriptValue
2763 https://bugs.webkit.org/show_bug.cgi?id=128680
2765 Reviewed by Anders Carlsson.
2767 Retrieve a master key (placeholder code for now), and use it to wrap key data.
2769 * WebCoreSupport/WebChromeClient.mm:
2770 (WebChromeClient::wrapCryptoKey):
2771 (WebChromeClient::unwrapCryptoKey):
2773 2014-02-11 Ryosuke Niwa <rniwa@webkit.org>
2775 Frame::rectForSelection shouldn't instantiate FrameSelection
2776 https://bugs.webkit.org/show_bug.cgi?id=128587
2778 Reviewed by Enrica Casucci.
2780 * WebCoreSupport/WebEditorClient.h:
2781 * WebCoreSupport/WebEditorClient.mm:
2782 (WebEditorClient::WebEditorClient):
2783 (WebEditorClient::respondToChangedSelection):
2785 2014-02-10 Myles C. Maxfield <mmaxfield@apple.com>
2787 Convert position:sticky and position:fixed properties to position:static and position:absolute upon copy
2788 https://bugs.webkit.org/show_bug.cgi?id=128194
2790 Reviewed by Simon Fraser.
2792 * WebView/WebPreferenceKeysPrivate.h:
2793 * WebView/WebPreferences.mm:
2794 (-[WebPreferences convertPositionStyleOnCopy]):
2795 (-[WebPreferences setConvertPositionStyleOnCopy:]):
2796 * WebView/WebPreferencesPrivate.h: Opt-in to new behavior
2797 * WebView/WebView.mm:
2798 (-[WebView _preferencesChanged:]):
2800 2014-02-11 Andy Estes <aestes@apple.com>
2802 [Mac] connection:willStopBufferingData: no longer exists in NSURLConnectionDelegate
2803 https://bugs.webkit.org/show_bug.cgi?id=128583
2805 Reviewed by Anders Carlsson.
2807 The delegate method was removed in Snow Leopard.
2809 * Misc/WebDownload.mm:
2811 2014-02-11 Alexey Proskuryakov <ap@apple.com>
2815 * WebCoreSupport/WebChromeClient.mm: Fixed incorrectly nested ifdefs.
2817 2014-02-10 Alexey Proskuryakov <ap@apple.com>
2819 Add hooks for wrapping CryptoKeys in SerializedScriptValue
2820 https://bugs.webkit.org/show_bug.cgi?id=128567
2822 Reviewed by Anders Carlsson.
2824 * WebCoreSupport/WebChromeClient.h:
2825 * WebCoreSupport/WebChromeClient.mm:
2826 (WebChromeClient::wrapCryptoKey):
2827 (WebChromeClient::unwrapCryptoKey):
2828 Dummy implementation, to be filled in later.
2830 2014-02-08 Ryosuke Niwa <rniwa@webkit.org>
2832 Cleanup the interface of FrameSelection
2833 https://bugs.webkit.org/show_bug.cgi?id=128481
2835 Reviewed by Andreas Kling.
2837 * WebView/WebHTMLView.mm:
2838 (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
2839 (-[WebHTMLView selectionRect]):
2840 (-[WebHTMLView selectionImageRect]):
2842 2014-02-08 Dan Bernstein <mitz@apple.com>
2844 Remove use of PLATFORM(MAC) from WebKit/mac
2845 https://bugs.webkit.org/show_bug.cgi?id=128476
2847 Reviewed by Anders Carlsson.
2849 * WebCoreSupport/WebFrameLoaderClient.h:
2850 * WebCoreSupport/WebSystemInterface.mm:
2851 (InitWebCoreSystemInterface):
2853 2014-02-08 Dan Bernstein <mitz@apple.com>
2855 Remove client-drawn highlights (-webkit-highlight, WebHTMLHighlighter)
2856 https://bugs.webkit.org/show_bug.cgi?id=128456
2858 Reviewed by Anders Carlsson.
2860 * WebCoreSupport/WebChromeClient.h:
2861 * WebCoreSupport/WebChromeClient.mm: Removed customHighlightRect and paintCustomHighlight.
2862 * WebView/WebHTMLView.mm:
2863 (-[WebHTMLViewPrivate dealloc]): Removed highlighters ivar.
2864 (-[WebHTMLViewPrivate clear]): Ditto.
2865 * WebView/WebHTMLViewInternal.h: Removed declaration.
2866 * WebView/WebHTMLViewPrivate.h: Removed WebHTMLHighlighter protocol and method declarations.
2868 2014-02-08 Dan Bernstein <mitz@apple.com>
2870 iOS build fix after r163712.
2872 * WebCoreSupport/WebEditorClient.h:
2873 * WebCoreSupport/WebEditorClient.mm:
2875 2014-02-08 Darin Adler <darin@apple.com>
2877 Change TextIterator to use StringView, preparing to wean it from deprecatedCharacters
2878 https://bugs.webkit.org/show_bug.cgi?id=128233
2880 Reviewed by Anders Carlsson.
2882 * WebCoreSupport/WebEditorClient.h: Made most data members private. Moved inlines
2883 for iOS out of the class definition. Fixed formatting. Added missing virtual keyword.
2884 Changed interfaces to use StringView.
2886 * WebCoreSupport/WebEditorClient.mm:
2887 (WebEditorClient::checkTextOfParagraph): Use the new StringView::createNSStringWithoutCopying
2888 function instead of a similar function that was local in this file.
2889 (WebEditorClient::ignoreWordInSpellDocument): Tweaked formatting.
2890 (WebEditorClient::checkSpellingOfString): Changed to take a StringView.
2891 (WebEditorClient::checkGrammarOfString): Ditto.
2893 * WebView/WebTextIterator.mm:
2894 (-[WebTextIterator currentTextPointer]): Call TextIterator::deprecatedTextIteratorCharacters.
2895 (-[WebTextIterator currentText]): Convert a the text to an NSString with TextIterator::text
2896 instead of with TextIterator::characters/length.
2898 2014-02-07 Gavin Barraclough <barraclough@apple.com>
2900 Remove isInitialState flag from Page::setViewState
2901 https://bugs.webkit.org/show_bug.cgi?id=128428
2903 Reviewed by Sam Weinig.
2905 * WebView/WebView.mm:
2906 (-[WebView _commonInitializationWithFrameName:groupName:]):
2907 (-[WebView _updateVisibilityState]):
2908 (-[WebView _setIsVisible:]):
2909 (-[WebView _setVisibilityState:isInitialState:]):
2910 (-[WebView _windowWillOrderOnScreen:]):
2911 (-[WebView _windowWillOrderOffScreen:]):
2912 - don't pass isInitialState to setViewState.
2914 2014-02-06 Filip Pizlo <fpizlo@apple.com>
2916 More FTL build scaffolding
2917 https://bugs.webkit.org/show_bug.cgi?id=128330
2919 Reviewed by Geoffrey Garen.
2921 * Configurations/FeatureDefines.xcconfig:
2923 2014-02-07 Dan Bernstein <mitz@apple.com>
2927 * Misc/WebElementDictionary.mm:
2928 (+[WebElementDictionary initializeLookupTable]):
2929 (-[WebElementDictionary _image]):
2930 (-[WebElementDictionary _imageRect]):
2932 2014-02-06 Joseph Pecoraro <pecoraro@apple.com>
2934 Web Inspector: Add Console support to JSContext Inspection
2935 https://bugs.webkit.org/show_bug.cgi?id=127941
2937 Reviewed by Geoffrey Garen.
2939 * WebCoreSupport/WebChromeClient.h:
2940 * WebCoreSupport/WebChromeClient.mm:
2941 (stringForMessageSource):
2942 (stringForMessageLevel):
2943 (WebChromeClient::addMessageToConsole):
2945 2014-02-05 Gavin Barraclough <barraclough@apple.com>
2947 Change Page, FocusController to use ViewState
2948 https://bugs.webkit.org/show_bug.cgi?id=126533
2950 Reviewed by Tim Horton.
2952 These classes currently maintain a set of separate fields to represent the view state;
2953 combine these into a single field, and allow WebPage to send the combined update rather
2954 than individual changes.
2956 Maintain existing interface for WebKit1 clients.
2958 * WebView/WebView.mm:
2959 (-[WebView _windowWillOrderOnScreen:]):
2960 (-[WebView _windowWillOrderOffScreen:]):
2961 - remove calls to FocusController::setContentIsVisible, these are redundant
2962 (this is handled when page visibility is set).
2964 2014-02-05 Andreas Kling <akling@apple.com>
2966 Remove ENABLE(DIRECTORY_UPLOAD).
2967 <https://webkit.org/b/128275>
2969 Rubber-stamped by Ryosuke Niwa.
2971 * Configurations/FeatureDefines.xcconfig:
2973 2014-02-05 Csaba Osztrogonác <ossy@webkit.org>
2975 Remove ENABLE(SVG) guards
2976 https://bugs.webkit.org/show_bug.cgi?id=127991
2978 Reviewed by Sam Weinig.
2980 * Configurations/FeatureDefines.xcconfig:
2982 2014-02-04 Andreas Kling <akling@apple.com>
2984 Remove <iframe seamless> support.
2985 <https://webkit.org/b/128213>
2987 Rubber-stamped by Antti Koivisto.
2989 * Configurations/FeatureDefines.xcconfig:
2990 * WebView/WebPreferenceKeysPrivate.h:
2991 * WebView/WebPreferences.mm:
2992 * WebView/WebPreferencesPrivate.h:
2993 * WebView/WebView.mm:
2994 (-[WebView _preferencesChanged:]):
2996 2014-02-03 Dean Jackson <dino@apple.com>
2998 Feature flag for shape-inside
2999 https://bugs.webkit.org/show_bug.cgi?id=128001
3001 Reviewed by Simon Fraser.
3003 Add CSS_SHAPE_INSIDE flag.
3005 * Configurations/FeatureDefines.xcconfig:
3007 2014-01-31 Ryosuke Niwa <rniwa@webkit.org>
3009 Remove inline member functions of FrameSelection that access m_selection
3010 https://bugs.webkit.org/show_bug.cgi?id=127986
3012 Reviewed by Enrica Casucci.
3014 * WebView/WebFrame.mm:
3015 (-[WebFrame hasEditableSelection]):
3016 (-[WebFrame selectionAffinity]):
3017 (-[WebFrame getDictationResultRanges:andMetadatas:]):
3018 (-[WebFrame hasRichlyEditableSelection]):
3019 (-[WebFrame focusedNodeHasContent]):
3020 * WebView/WebHTMLView.mm:
3021 (-[WebHTMLView readSelectionFromPasteboard:]):
3022 (-[WebHTMLView _hasSelection]):
3023 (-[WebHTMLView _hasSelectionOrInsertionPoint]):
3024 (-[WebHTMLView _hasInsertionPoint]):
3025 (-[WebHTMLView _isEditable]):
3026 (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
3027 (-[WebHTMLView maintainsInactiveSelection]):
3029 (isInPasswordField):
3030 * WebView/WebView.mm:
3031 (-[WebView selectionAffinity]):
3033 2014-01-31 Tim Horton <timothy_horton@apple.com>
3035 [wk2] PlatformCALayerRemoteCustom doesn't work on iOS
3036 https://bugs.webkit.org/show_bug.cgi?id=128025
3037 <rdar://problem/15950271>
3039 Reviewed by Simon Fraser.
3041 * Plugins/Hosted/WebHostedNetscapePluginView.mm:
3042 (-[WebHostedNetscapePluginView windowHostsLayersInWindowServer]):
3043 Use the new macro name.
3045 2014-01-30 David Kilzer <ddkilzer@apple.com>
3047 Add security-checked cast for WebCore::CachedImage
3048 <http://webkit.org/b/127967>
3050 Reviewed by Darin Adler.
3053 (+[WebCache imageForURL:]):
3054 - Use WebCore::toCachedImage().
3056 2014-01-30 David Kilzer <ddkilzer@apple.com>
3058 De-virtual-ize CachedResource::isImage()
3059 <http://webkit.org/b/127936>
3061 Reviewed by Andreas Kling.
3063 Also replace explicit type() checks with isImage().
3066 (+[WebCache imageForURL:]): Use !isImage().
3068 2014-01-30 Beth Dakin <bdakin@apple.com>
3070 https://bugs.webkit.org/show_bug.cgi?id=127371
3071 Explore new API that could be used to help build infinitely scrolling websites
3073 <rdar://problem/15244768>
3075 Reviewed by Sam Weinig.
3077 FrameView::scrollPositionChangedViaPlatformWidget() now take two parameters
3078 representing the old scroll position and the new position.
3079 * WebView/WebHTMLView.mm:
3080 (-[WebHTMLView _frameOrBoundsChanged]):
3082 2014-01-30 Andrei Bucur <abucur@adobe.com>
3084 Remove the ACCELERATED_COMPOSITING flag
3085 https://bugs.webkit.org/show_bug.cgi?id=127833
3087 Reviewed by Antti Koivisto.
3089 Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
3092 * Plugins/Hosted/WebHostedNetscapePluginView.mm:
3093 (-[WebHostedNetscapePluginView createPlugin]):
3094 (-[WebHostedNetscapePluginView createPluginLayer]):
3095 * Plugins/WebNetscapePluginView.mm:
3096 (-[WebNetscapePluginView createPlugin]):
3097 (-[WebNetscapePluginView getVariable:value:]):
3098 * Plugins/WebPluginController.mm:
3099 (-[WebPluginController superlayerForPluginView:]):
3100 * WebCoreSupport/WebChromeClient.h:
3101 (WebChromeClient::allowedCompositingTriggers):
3102 * WebCoreSupport/WebChromeClient.mm:
3103 * WebCoreSupport/WebFrameLoaderClient.mm:
3104 (PluginWidgetIOS::detachPluginLayer):
3105 (NetscapePluginWidget::platformLayer):
3106 * WebView/WebClipView.mm:
3107 (-[WebClipView _immediateScrollToPoint:]):
3108 * WebView/WebHTMLView.mm:
3109 (setNeedsDisplayInRect):
3110 (+[WebHTMLViewPrivate initialize]):
3111 (-[WebHTMLViewPrivate clear]):
3112 (-[WebHTMLView _setAsideSubviews]):
3113 (-[WebHTMLView hitTest:]):
3114 (-[WebHTMLView _isUsingAcceleratedCompositing]):
3115 (-[WebHTMLView _compositingLayersHostingView]):
3116 (-[WebHTMLView viewDidMoveToSuperview]):
3117 (-[WebHTMLView drawRect:]):
3118 * WebView/WebHTMLViewInternal.h:
3119 * WebView/WebRenderLayer.mm:
3120 (+[WebRenderLayer compositingInfoForLayer:]):
3121 * WebView/WebView.mm:
3122 (-[WebView _close]):
3123 (-[WebView _setMediaLayer:forPluginView:]):
3124 (-[WebView _postsAcceleratedCompositingNotifications]):
3125 (-[WebView _setPostsAcceleratedCompositingNotifications:]):
3126 (-[WebView _isUsingAcceleratedCompositing]):
3127 (-[WebView _isSoftwareRenderable]):
3129 * WebView/WebViewData.h:
3130 * WebView/WebViewData.mm:
3131 (WebViewLayerFlushScheduler::WebViewLayerFlushScheduler):
3132 * WebView/WebViewInternal.h:
3134 2014-01-29 Csaba Osztrogonác <ossy@webkit.org>
3136 Remove ENABLE(JAVASCRIPT_DEBUGGER) leftovers
3137 https://bugs.webkit.org/show_bug.cgi?id=127845
3139 Reviewed by Joseph Pecoraro.
3141 * Configurations/FeatureDefines.xcconfig:
3143 2014-01-29 Dan Bernstein <mitz@apple.com>
3145 Moved linking against common frameworks and a library from the .xcconfig file into the target.
3147 Reviewed by Tim Horton.
3149 * Configurations/WebKit.xcconfig:
3151 2014-01-29 Ryosuke Niwa <rniwa@webkit.org>
3153 checkTextOfParagraph releases NSString twice
3154 https://bugs.webkit.org/show_bug.cgi?id=127881
3155 <rdar://problem/15937446>
3157 Reviewed by Anders Carlsson.
3159 textString is released once by an explicit call to release and again by it going out of scope.
3160 Don't do the explicit release.
3162 The bug was spotted by Sam Weinig.
3164 * WebCoreSupport/WebEditorClient.mm:
3165 (WebEditorClient::checkTextOfParagraph):
3167 2014-01-29 Anders Carlsson <andersca@apple.com>
3171 * WebView/WebPDFView.mm:
3172 (_applicationInfoForMIMEType):
3174 2014-01-28 Mark Rowe <mrowe@apple.com>
3176 <https://webkit.org/b/127767> Disable some deprecation warnings to fix the build.
3178 Reviewed by Ryosuke Niwa.
3180 * WebCoreSupport/PopupMenuMac.mm:
3181 (PopupMenuMac::populate):
3183 2014-01-27 Joseph Pecoraro <pecoraro@apple.com>
3185 WebKit1: Enable -Wimplicit-fallthrough and add FALLTHROUGH annotation where needed
3186 https://bugs.webkit.org/show_bug.cgi?id=127664
3188 Reviewed by Darin Adler.
3190 * Configurations/Base.xcconfig:
3191 * History/BinaryPropertyList.cpp:
3192 (BinaryPropertyListSerializer::appendObjectReference):
3193 (BinaryPropertyListSerializer::startObject):
3194 (BinaryPropertyListSerializer::addAggregateObjectReference):
3195 * WebView/WebPDFView.mm:
3196 (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
3198 2014-01-27 Andy Estes <aestes@apple.com>
3200 Scrub WebKit API headers of WTF macros
3201 https://bugs.webkit.org/show_bug.cgi?id=127706
3203 Reviewed by David Kilzer.
3205 * Configurations/FeatureDefines.xcconfig: Added ENABLE_INSPECTOR.
3206 * WebView/WebPreferenceKeysPrivate.h: Changed ENABLE(REMOTE_INSPECTOR)
3207 to !defined(ENABLE_REMOTE_INSPECTOR) || ENABLE_REMOTE_INSPECTOR. We are
3208 in a TARGET_OS_IPHONE block, and ENABLE_REMOTE_INSPECTOR is enabled by
3209 default on iOS, so include this block unless the feature is explicitly
3211 * postprocess-headers.sh: Stopped processing ENABLE_IOS_TOUCH_EVENTS
3212 and ENABLE_IOS_GESTURE_EVENTS. These are now defined in DOMEvents.h.
3214 2014-01-27 Tim Horton <timothy_horton@apple.com>
3216 Another iOS build fix.
3218 * Misc/WebElementDictionary.mm:
3219 (-[WebElementDictionary _image]):
3220 We were apparently depending on Image::getNSImage() being defined
3221 (yet always returning nullptr) on iOS.
3223 2014-01-26 David Kilzer <ddkilzer@apple.com>
3225 Remove duplicate settings for ENABLE(DISK_IMAGE_CACHE)
3226 <http://webkit.org/b/127669>
3228 Reviewed by Joseph Pecoraro.
3230 * WebView/WebPreferences.mm:
3231 (+[WebPreferences initialize]): Remove duplicate code.
3233 2014-01-24 Andy Estes <aestes@apple.com>
3235 [iOS] Upstream changes in Tools/DumpRenderTree
3236 https://bugs.webkit.org/show_bug.cgi?id=127412
3238 Reviewed by Simon Fraser.
3240 * Misc/WebCoreStatistics.h: Included CGContext.h.
3242 2014-01-26 Anders Carlsson <andersca@apple.com>
3244 Move history item visit count handling to WebKit
3245 https://bugs.webkit.org/show_bug.cgi?id=127659
3247 Reviewed by Dan Bernstein.
3249 Move code to deal with visit count and visit dates here from WebCore.
3251 * History/HistoryPropertyList.mm:
3252 (HistoryPropertyListWriter::writeHistoryItem):
3253 * History/WebHistoryItem.mm:
3254 (-[WebHistoryItem initWithURLString:title:lastVisitedTimeInterval:]):
3255 (-[WebHistoryItem copyWithZone:]):
3256 (-[WebHistoryItem lastVisitedTimeInterval]):
3257 (-[WebHistoryItem initWithURLString:title:displayTitle:lastVisitedTimeInterval:]):
3258 (-[WebHistoryItem setVisitCount:]):
3259 (-[WebHistoryItem _mergeAutoCompleteHints:]):
3260 (-[WebHistoryItem initFromDictionaryRepresentation:]):
3261 (-[WebHistoryItem _visitedWithTitle:increaseVisitCount:]):
3262 (-[WebHistoryItem _recordInitialVisit]):
3264 (-[WebHistoryItem _padDailyCountsForNewVisit:]):
3265 (-[WebHistoryItem _collapseDailyVisitsToWeekly]):
3266 (-[WebHistoryItem _recordVisitAtTime:increaseVisitCount:]):
3267 (-[WebHistoryItem _setLastVisitedTimeInterval:]):
3268 * History/WebHistoryItemInternal.h:
3270 2014-01-26 Anders Carlsson <andersca@apple.com>
3274 Pass a WebHistoryItem to writeHistoryItem so we can extract _lastVisitWasHTTPNonGet from it.
3276 * History/HistoryPropertyList.h:
3277 * History/HistoryPropertyList.mm:
3278 (HistoryPropertyListWriter::HistoryPropertyListWriter):
3279 (HistoryPropertyListWriter::buffer):
3280 (HistoryPropertyListWriter::releaseData):
3281 (HistoryPropertyListWriter::writeObjects):
3282 (HistoryPropertyListWriter::writeHistoryItem):
3283 * History/WebHistory.mm:
3284 (WebHistoryWriter::writeHistoryItems):
3285 * History/WebHistoryItem.mm:
3287 2014-01-26 Anders Carlsson <andersca@apple.com>
3289 Move lastVisitWasHTTPNonGet out to WebHistoryItem
3290 https://bugs.webkit.org/show_bug.cgi?id=127657
3292 Reviewed by Dan Bernstein.
3294 Keep track of _lastVisitWasHTTPNonGet inside WebHistoryItem.
3296 * History/WebHistory.mm:
3297 (-[WebHistory _visitedURL:withTitle:method:wasFailure:increaseVisitCount:]):
3298 Set entry->_private->_lastVisitWasHTTPNonGet.
3300 * History/WebHistoryItem.h:
3301 Change @private to @package so we can get at WebHistoryItemPrivate from WebHistory.
3303 * History/WebHistoryItem.mm:
3304 (-[WebHistoryItem copyWithZone:]):
3305 Assign _private->_lastVisitWasHTTPNonGet.
3307 (-[WebHistoryItem initFromDictionaryRepresentation:]):
3308 Set _private->_lastVisitWasHTTPNonGet.
3310 * History/WebHistoryItemInternal.h:
3311 Move WebHistoryItemPrivate interface here.
3313 2014-01-26 Anders Carlsson <andersca@apple.com>
3315 Turn WebHistoryItemPrivate back into a real Objective-C class
3316 https://bugs.webkit.org/show_bug.cgi?id=127653
3318 Reviewed by Sam Weinig.
3320 This is a first step towards moving some history specific code from WebCore::HistoryItem back into WebKit.
3322 * History/WebHistoryItem.mm:
3323 (-[WebHistoryItem dealloc]):
3324 (-[WebHistoryItem finalize]):
3325 (-[WebHistoryItem initWithWebCoreHistoryItem:]):
3327 2014-01-25 Sam Weinig <sam@webkit.org>
3329 Remove unused support for DRAGGABLE_REGION
3330 https://bugs.webkit.org/show_bug.cgi?id=127642
3332 Reviewed by Simon Fraser.
3334 * Configurations/FeatureDefines.xcconfig:
3336 2014-01-25 Anders Carlsson <andersca@apple.com>
3338 Remove an unused FrameLoaderClient function
3339 https://bugs.webkit.org/show_bug.cgi?id=127628
3341 Reviewed by Andreas Kling.
3343 * WebCoreSupport/WebFrameLoaderClient.h:
3344 * WebCoreSupport/WebFrameLoaderClient.mm:
3346 2014-01-25 Anders Carlsson <andersca@apple.com>
3350 * WebView/WebViewData.h:
3352 2014-01-25 Anders Carlsson <andersca@apple.com>
3354 Get rid of BackForwardController::isActive()
3355 https://bugs.webkit.org/show_bug.cgi?id=127604
3357 Reviewed by Sam Weinig.
3359 * WebCoreSupport/WebFrameLoaderClient.mm:
3360 (WebFrameLoaderClient::canCachePage):
3361 Move isActive logic here.
3363 2014-01-24 Anders Carlsson <andersca@apple.com>
3365 Remove back/forward list related functions from Page
3366 https://bugs.webkit.org/show_bug.cgi?id=127596
3368 Reviewed by Andreas Kling.
3370 * WebView/WebFrameView.mm:
3371 (-[WebFrameView keyDown:keyDown:]):
3372 * WebView/WebView.mm:
3373 (-[WebView _loadBackForwardListFromOtherView:]):
3374 (-[WebView initWithCoder:]):
3375 (-[WebView encodeWithCoder:]):
3376 (-[WebView backForwardList]):
3377 (-[WebView setMaintainsBackForwardList:]):
3378 (-[WebView goBack]):
3379 (-[WebView goForward]):
3380 (-[WebView canGoBack]):
3381 (-[WebView canGoForward]):
3383 2014-01-24 Anders Carlsson <andersca@apple.com>
3385 Get rid of monotonicallyIncreasingTimeMS and start using std::chrono instead
3386 https://bugs.webkit.org/show_bug.cgi?id=127571
3388 Reviewed by Antti Koivisto.
3390 * WebView/WebView.mm:
3391 (-[WebView _preferencesChanged:]):
3392 Convert the layout interval to std::chrono::milliseconds.
3394 2014-01-24 Zan Dobersek <zdobersek@igalia.com>
3396 Move HistoryItem to std::unique_ptr
3397 https://bugs.webkit.org/show_bug.cgi?id=127275
3399 Reviewed by Darin Adler.
3401 * History/WebHistoryItem.mm: The Vector object that's passed to HistoryItem::setRedirectURLs
3402 should now be handled by std::unique_ptr and passed on through move semantics.
3403 (-[WebHistoryItem initFromDictionaryRepresentation:]):
3405 2014-01-23 Joseph Pecoraro <pecoraro@apple.com>
3407 Move RegularExpression into JavaScriptCore for inspector
3408 https://bugs.webkit.org/show_bug.cgi?id=127526
3410 Reviewed by Geoffrey Garen.
3412 * WebView/WebHTMLRepresentation.mm:
3414 2014-01-23 Benjamin Poulain <bpoulain@apple.com>
3416 Remote Inspector uses the Page pointer before the page is created on iOS
3417 https://bugs.webkit.org/show_bug.cgi?id=127534
3419 Reviewed by Joseph Pecoraro.
3421 * WebView/WebView.mm:
3422 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
3424 2014-01-23 Jon Honeycutt <jhoneycutt@apple.com>
3426 Assertion failure in WebCore::PseudoElement::didRecalcStyle()
3427 <https://bugs.webkit.org/show_bug.cgi?id=126761>
3428 <rdar://problem/15793540>
3430 Some areas of code were erroneously checking the value of
3431 RenderObject::isImage() rather than RenderObject::isRenderImage()
3432 before casting the object to RenderImage.
3434 This could lead to an assertion failure for RenderListMarkers, which
3435 may return true for isImage(), but are not RenderImages.
3437 Reviewed by Andy Estes.
3439 * Misc/WebNSPasteboardExtras.mm:
3440 (-[NSPasteboard _web_declareAndWriteDragImageForElement:URL:title:archive:source:]):
3441 Check isRenderImage() rather than isImage() before casting to
3444 2014-01-23 Joseph Pecoraro <pecoraro@apple.com>
3446 Web Inspector: Remove recompileAllJSFunctions timer in ScriptDebugServer
3447 https://bugs.webkit.org/show_bug.cgi?id=127409
3449 Reviewed by Geoffrey Garen.
3451 * WebCoreSupport/WebInspectorClient.mm:
3452 (-[WebInspectorWindowController destroyInspectorView:]):
3453 Include InspectorDisconnectReason.
3455 2014-01-23 Max Vujovic <mvujovic@adobe.com>
3457 Remove CSS Custom Filters code and tests
3458 https://bugs.webkit.org/show_bug.cgi?id=127382
3460 Reviewed by Simon Fraser.
3462 * Configurations/FeatureDefines.xcconfig:
3463 * WebView/WebPreferenceKeysPrivate.h:
3464 * WebView/WebPreferences.mm:
3465 (+[WebPreferences initialize]):
3466 * WebView/WebPreferencesPrivate.h:
3467 * WebView/WebView.mm:
3468 (-[WebView _preferencesChanged:]):
3470 2014-01-22 Myles C. Maxfield <mmaxfield@apple.com>
3472 Remove CSS3_TEXT_DECORATION define
3473 https://bugs.webkit.org/show_bug.cgi?id=127333
3475 Reviewed by Simon Fraser.
3477 This is required for unprefixing the text-decoration-* CSS properties.
3479 * Configurations/FeatureDefines.xcconfig:
3481 2014-01-22 Dan Bernstein <mitz@apple.com>
3483 Build fix for iOS clients of WebUIDelegatePrivate.h.
3485 * WebView/WebUIDelegatePrivate.h: Ensure that ENABLE_DASHBOARD_SUPPORT is defined on iOS.
3487 2014-01-21 Dan Bernstein <mitz@apple.com>
3489 Added a method declaration that was missed in r161185.
3491 Reviewed by Sam Weinig.
3493 * WebView/WebViewPrivate.h: Declared -removeVisitedLink:.
3495 2014-01-21 Commit Queue <commit-queue@webkit.org>
3497 Unreviewed, rolling out r162452.
3498 http://trac.webkit.org/changeset/162452
3499 https://bugs.webkit.org/show_bug.cgi?id=127366
3501 broke a few tests on all Mac WebKit1 bots (Requested by
3502 thorton on #webkit).
3504 * WebView/WebView.mm:
3505 (-[WebView _windowWillOrderOnScreen:]):
3506 (-[WebView _windowWillOrderOffScreen:]):
3508 2014-01-21 Gavin Barraclough <barraclough@apple.com>
3510 Change Page, FocusController to use ViewState
3511 https://bugs.webkit.org/show_bug.cgi?id=126533
3513 Reviewed by Tim Horton.
3515 These classes currently maintain a set of separate fields to represent the view state;
3516 combine these into a single field, and allow WebPage to send the combined update rather
3517 than individual changes.
3519 Maintain existing interface for WebKit1 clients.
3521 * WebView/WebView.mm:
3522 (-[WebView _windowWillOrderOnScreen:]):
3523 (-[WebView _windowWillOrderOffScreen:]):
3524 - remove calls to FocusController::setContentIsVisible, these are redundant
3525 (this is handled when page visibility is set).
3527 2014-01-20 Jeremy Jones <jeremyj@apple.com>
3529 Add AVKit fullscreen video interface.
3530 https://bugs.webkit.org/show_bug.cgi?id=126818
3532 Reviewed by Eric Carlson.
3534 * WebCoreSupport/WebChromeClient.h:
3535 * WebCoreSupport/WebChromeClient.mm:
3536 (WebChromeClient::supportsFullscreenForNode):
3537 Enable *FullscreenForNode for HTMLMediaElement for iOS
3539 * WebView/WebPreferenceKeysPrivate.h:
3540 * WebView/WebPreferences.mm:
3541 (+[WebPreferences initialize]):
3542 (-[WebPreferences mediaPlaybackFullscreenAVKit]):
3543 (-[WebPreferences setMediaPlaybackFullscreenAVKit:]):
3544 * WebView/WebPreferencesPrivate.h:
3545 * WebView/WebView.mm:
3546 (-[WebView _preferencesChanged:]):
3547 (-[WebView _enterFullscreenForNode:WebCore::]):
3548 * WebView/WebViewInternal.h:
3549 Add a disabled pref mediaPlaybackFullscreenAVKit.
3550 Use WebVideoFullscreenControllerAVKit on iOS
3552 2014-01-18 Brian Burg <bburg@apple.com>
3554 Web Inspector: Page should use std::unique_ptr for InspectorController
3555 https://bugs.webkit.org/show_bug.cgi?id=127068
3557 Reviewed by Joseph Pecoraro.
3559 Convert call sites to use a InspectorController reference.
3560 Convert instantiations of InspectorFrontendClient to use std::unique_ptr.
3562 * WebCoreSupport/WebInspectorClient.mm:
3563 (WebInspectorClient::openInspectorFrontend):
3564 (-[WebInspectorWindowController destroyInspectorView:]):
3565 * WebInspector/WebInspector.mm:
3566 (-[WebInspector showWindow]):
3567 (-[WebInspector isJavaScriptProfilingEnabled]):
3568 (-[WebInspector setJavaScriptProfilingEnabled:]):
3569 (-[WebInspector close:]):
3570 (-[WebInspector evaluateInFrontend:callId:script:]):
3571 * WebInspector/WebNodeHighlighter.mm:
3572 (-[WebNodeHighlighter highlight]):
3574 2014-01-18 Anders Carlsson <andersca@apple.com>
3576 Remove ENABLE_THREADED_HTML_PARSER defines everywhere
3577 https://bugs.webkit.org/show_bug.cgi?id=127225
3579 Reviewed by Andreas Kling.
3581 This concludes the removal of over 8.8 million lines of threaded parser code.
3583 * Configurations/FeatureDefines.xcconfig:
3585 2014-01-17 Anders Carlsson <andersca@apple.com>
3587 Clean up PageCache classes
3588 https://bugs.webkit.org/show_bug.cgi?id=127202
3590 Reviewed by Andreas Kling.
3592 * WebCoreSupport/WebFrameLoaderClient.mm:
3593 (WebFrameLoaderClient::savePlatformDataToCachedFrame):
3594 (WebFrameLoaderClient::transitionToCommittedFromCachedFrame):
3596 2014-01-17 Anders Carlsson <andersca@apple.com>
3598 Remove another unused FrameLoaderClient callback
3599 https://bugs.webkit.org/show_bug.cgi?id=127192
3601 Reviewed by Dan Bernstein.
3603 * WebCoreSupport/WebFrameLoaderClient.h:
3604 * WebCoreSupport/WebFrameLoaderClient.mm:
3606 2014-01-17 Anders Carlsson <andersca@apple.com>
3608 Move didPerformFirstNavigation() logic to -[WebView _didCommitLoadForFrame:]
3609 https://bugs.webkit.org/show_bug.cgi?id=127189
3611 Reviewed by Dan Bernstein.
3613 This is a first step towards completely eliminating the didPerformFirstNavigation() client callback.
3615 * WebCoreSupport/WebFrameLoaderClient.h:
3616 * WebCoreSupport/WebFrameLoaderClient.mm:
3617 Remove didPerformFirstNavigation() implementation.
3619 * WebView/WebView.mm:
3620 (-[WebView _checkDidPerformFirstNavigation]):
3621 Check if we have both a current item and a previous item which indicates that we've navigated once.
3622 The old code was called before there was a current item but since this is called from _didCommitLoadForFrame
3623 we have to check that there's a current item as well.
3625 (-[WebView _didCommitLoadForFrame:]):
3626 Call _didCommitLoadForFrame.
3628 * WebView/WebViewData.h:
3631 2014-01-17 Alexey Proskuryakov <ap@apple.com>
3635 * WebView/WebPreferences.mm: (-[WebPreferences _synchronizeWebStoragePolicyWithCookiePolicy]):
3636 NSHTTPCookieAcceptPolicyExclusivelyFromMainDocumentDomain is not part of NSHTTPCookieAcceptPolicy enum.
3638 2014-01-16 Daniel Bates <dabates@apple.com>
3640 [iOS] MobileSafari build fix. Declare iOS-specific method mainFrameIconURL
3642 For now, add mainFrameIconURL() to WebView.h. We should further investigate its
3643 usage and API/SPI status.
3645 * WebView/WebView.h:
3647 2014-01-16 Alexey Proskuryakov <ap@apple.com>
3649 [Mac] [iOS] Add support for CFHTTPCookieStorageAcceptPolicyExclusivelyFromMainDocumentDomain
3650 https://bugs.webkit.org/show_bug.cgi?id=127139
3652 Reviewed by Brady Eidson.
3654 * WebView/WebPreferences.mm: (-[WebPreferences _synchronizeWebStoragePolicyWithCookiePolicy]):
3655 Handle the new case.
3657 2014-01-16 Daniel Bates <dabates@apple.com>
3659 [iOS] Fix UIKit build warning about undefined macro ENABLE_NETSCAPE_PLUGIN_API
3661 * WebView/WebFramePrivate.h: Wrap use of ENABLE_NETSCAPE_PLUGIN_API in TARGET_OS_IPHONE.
3663 2014-01-16 Anders Carlsson <andersca@apple.com>
3665 Change all uses of FINAL to final now that all our compilers support it
3666 https://bugs.webkit.org/show_bug.cgi?id=127142
3668 Reviewed by Benjamin Poulain.
3670 * WebCoreSupport/WebUserMediaClient.h:
3671 * WebView/WebScriptDebugger.h:
3673 2014-01-16 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
3675 Remove workaround for compilers not supporting explicit override control
3676 https://bugs.webkit.org/show_bug.cgi?id=127111
3678 Reviewed by Anders Carlsson.
3680 Now all compilers support explicit override control, this workaround can be removed.
3682 * Storage/WebDatabaseManagerClient.h:
3683 * Storage/WebStorageTrackerClient.h:
3684 * WebCoreSupport/WebAlternativeTextClient.h:
3685 * WebCoreSupport/WebChromeClient.h:
3686 * WebCoreSupport/WebContextMenuClient.h:
3687 * WebCoreSupport/WebDeviceOrientationClient.h:
3688 * WebCoreSupport/WebDragClient.h:
3689 * WebCoreSupport/WebEditorClient.h:
3690 * WebCoreSupport/WebFrameLoaderClient.h:
3691 * WebCoreSupport/WebFrameNetworkingContext.h:
3692 * WebCoreSupport/WebGeolocationClient.h:
3693 * WebCoreSupport/WebIconDatabaseClient.h:
3694 * WebCoreSupport/WebInspectorClient.h:
3695 * WebCoreSupport/WebNotificationClient.h:
3696 * WebCoreSupport/WebPlatformStrategies.h:
3697 * WebCoreSupport/WebProgressTrackerClient.h:
3698 * WebCoreSupport/WebUserMediaClient.h:
3699 * WebView/WebScriptDebugger.h:
3700 * WebView/WebViewData.h:
3702 2014-01-16 Andy Estes <aestes@apple.com>
3704 [iOS] Fix build issues with exported headers
3706 * DOM/WebDOMOperationsPrivate.h: Changed PLATFORM(IOS) to
3708 * MigrateHeaders.make: Excluded WAKScrollView.h from normal replacement
3709 rules so that WebCoreFrameScrollView won't inadvertently get changed to
3710 WebKitFrameScrollView.
3711 * Plugins/WebPlugin.h: Moved contents of WebPluginPrivate.h to here in
3712 order to maintain source compatibility.
3713 * Plugins/WebPluginController.mm: Removed an import of WebPluginPrivate.h.
3714 * Plugins/WebPluginPrivate.h: Removed.
3715 * Storage/WebDatabaseManagerPrivate.h: Replaced ENABLE(SQL_DATABASE)
3716 with ENABLE_SQL_DATABASE.
3717 * WebView/WebViewPrivate.h: Added declaration of
3718 -[WebView _touchEventRegions] for source compatibility.
3720 2014-01-15 Benjamin Poulain <bpoulain@apple.com>
3722 Fix the iOS build after r162114
3726 * WebView/WebViewPrivate.h: I forgot to remove the declaration, fix that.
3728 2014-01-15 Benjamin Poulain <bpoulain@apple.com>
3730 Move user agent code to WebCore and unify some code between OS X and iOS
3731 https://bugs.webkit.org/show_bug.cgi?id=127080
3733 Reviewed by Sam Weinig.
3735 * WebCoreSupport/WebSystemInterface.mm:
3736 (InitWebCoreSystemInterface):
3737 * WebView/WebView.mm:
3738 (userVisibleWebKitVersionString):
3739 (+[WebView _standardUserAgentWithApplicationName:]):
3740 (-[WebView _setUIWebViewUserAgentWithBuildVersion:]):
3742 2014-01-15 Joseph Pecoraro <pecoraro@apple.com>
3744 [iOS] Clean up REMOTE_INSPECTOR code in OpenSource after the iOS merge
3745 https://bugs.webkit.org/show_bug.cgi?id=127069
3747 Reviewed by Timothy Hatcher.
3749 * WebView/WebView.mm:
3750 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
3751 (+[WebView _enableRemoteInspector]):
3752 (+[WebView _disableRemoteInspector]):
3753 (+[WebView _disableAutoStartRemoteInspector]):
3754 (+[WebView _isRemoteInspectorEnabled]):
3755 (+[WebView _hasRemoteInspectorSession]):
3756 (-[WebView allowsRemoteInspection]):
3757 Implement with RemoteInspector.h SPIs.
3759 (-[WebView setAllowsRemoteInspection:]):
3760 (-[WebView setHostApplicationBundleId:name:]):
3761 Still unimplemented, update comment.
3763 (-[WebView _didCommitLoadForFrame:]):
3764 Remove dead path, WebCore now pushes updates on navigations.
3766 * WebView/WebViewData.h:
3767 * WebView/WebViewData.mm:
3768 (-[WebViewPrivate init]):
3769 Remove now unused ivar.
3771 2014-01-15 Alexey Proskuryakov <ap@apple.com>
3773 More iOS build fixing.
3775 * WebView/WebPreferences.mm: (-[WebPreferences _invalidateCachedPreferences]):
3776 Removed a now unused local variable.
3778 2014-01-15 Alexey Proskuryakov <ap@apple.com>
3782 * WebView/WebPreferences.mm: (-[WebPreferences _invalidateCachedPreferences]):
3783 Update a remaining call site of _updatePrivateBrowsingStateFram:to:.
3785 2014-01-15 Alexey Proskuryakov <ap@apple.com>
3787 Crash when multiple WebView instances have different PrivateBrowsing settings
3788 https://bugs.webkit.org/show_bug.cgi?id=127019
3790 * WebView/WebPreferences.mm: (-[WebPreferences _updatePrivateBrowsingStateTo:]):
3791 Added a null check to fix Safari crash on startup when extensions are enabled.
3793 2014-01-15 Alexey Proskuryakov <ap@apple.com>
3795 Crash when multiple WebView instances have different PrivateBrowsing settings
3796 https://bugs.webkit.org/show_bug.cgi?id=127019
3798 Reviewed by Sam Weinig.
3800 * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Don't delete a private
3801 browsing session simply because one preferences object doesn't use private browsing.
3802 There could be others that do.
3804 * WebView/WebPreferences.mm: Track how many WebPreferences objects use private
3805 browsing, and only delete the private session when there are none any more.
3807 2014-01-15 David Kilzer <ddkilzer@apple.com>
3809 [iOS] Missing RenderObject::style() symbol in WebDOMOperations.mm
3811 Fixes the following linker error:
3813 Undefined symbols for architecture x86_64:
3814 "__ZNK7WebCore12RenderObject5styleEv", referenced from:
3815 -[DOMNode(WebDOMNodeOperations) isHorizontalWritingMode] in WebDOMOperations.o
3817 * DOM/WebDOMOperations.mm: Include RenderElement.h instead of
3818 RenderObject.h since the inline RenderObject::style() method
3819 moved to the former header.
3821 2014-01-15 Commit Queue <commit-queue@webkit.org>
3823 Unreviewed, rolling out r162054.
3824 http://trac.webkit.org/changeset/162054
3825 https://bugs.webkit.org/show_bug.cgi?id=127053
3827 Causes assertion failures in DumpRenderTree (Requested by ap
3830 * WebView/WebPreferences.mm:
3831 (-[WebPreferences initWithIdentifier:sendChangeNotification:initWithIdentifier:]):
3832 (-[WebPreferences initWithCoder:]):
3833 (+[WebPreferences standardPreferences]):
3834 (-[WebPreferences dealloc]):
3835 (-[WebPreferences setPrivateBrowsingEnabled:]):
3836 (-[WebPreferences _invalidateCachedPreferences]):
3837 * WebView/WebView.mm:
3838 (-[WebView _preferencesChanged:]):
3840 2014-01-14 Alexey Proskuryakov <ap@apple.com>
3842 Crash when multiple WebView instances have different PrivateBrowsing settings
3843 https://bugs.webkit.org/show_bug.cgi?id=127019
3845 Reviewed by Sam Weinig.
3847 * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Don't delete a private
3848 browsing session simply because one preferences object doesn't use private browsing.
3849 There could be others that do.
3851 * WebView/WebPreferences.mm: Track how many WebPreferences objects use private
3852 browsing, and only delete the private session when there are none any more.
3854 2014-01-14 Simon Fraser <simon.fraser@apple.com>
3856 Fix the iOS build after r162034.
3858 * WebCoreSupport/WebProgressTrackerClient.mm:
3859 * WebView/WebView.mm:
3860 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
3862 2014-01-14 Mark Rowe <mrowe@apple.com>
3864 Stop cmp from spewing useless info during postprocess-headers.sh.
3866 * postprocess-headers.sh: Pass -s to silence cmp since we only care about the
3869 2014-01-14 Joseph Pecoraro <pecoraro@apple.com>
3871 [iOS] Crash in NavigatorBase::vendor loading apple.com
3872 https://bugs.webkit.org/show_bug.cgi?id=127028
3874 Reviewed by Daniel Bates.
3876 Fill in iOS WebKitSystemInterface functions.
3878 * WebCoreSupport/WebSystemInterface.mm:
3879 (InitWebCoreSystemInterface):
3881 2014-01-14 Anders Carlsson <andersca@apple.com>
3883 Create separate progress tracker clients
3884 https://bugs.webkit.org/show_bug.cgi?id=127025
3886 Reviewed by Sam Weinig.
3888 * WebCoreSupport/WebFrameLoaderClient.h:
3889 * WebCoreSupport/WebFrameLoaderClient.mm:
3890 * WebCoreSupport/WebProgressTrackerClient.h: Copied from Source/WebCore/loader/ProgressTrackerClient.h.
3891 * WebCoreSupport/WebProgressTrackerClient.mm: Added.
3892 (WebProgressTrackerClient::WebProgressTrackerClient):
3893 (WebProgressTrackerClient::progressTrackerDestroyed):
3894 (WebProgressTrackerClient::willChangeEstimatedProgress):
3895 (WebProgressTrackerClient::didChangeEstimatedProgress):
3896 (WebProgressTrackerClient::progressStarted):
3897 (WebProgressTrackerClient::progressEstimateChanged):
3898 (WebProgressTrackerClient::progressFinished):
3899 * WebView/WebView.mm:
3900 (-[WebView _commonInitializationWithFrameName:groupName:]):
3901 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
3903 2014-01-14 Dean Jackson <dino@apple.com>
3905 Correct grave mistake in updating the pbxproj file rather than xcconfig.
3907 * Configurations/WebKit.xcconfig:
3909 2014-01-14 Simon Fraser <simon.fraser@apple.com>
3911 #define ENABLE_DASHBOARD_SUPPORT for iOS.
3913 * WebView/WebViewPrivate.h:
3915 2014-01-14 Simon Fraser <simon.fraser@apple.com>
3917 Clean up exports and headers for iOS.
3919 Need to export WebArchivePboardType on Mac and iOS.
3924 2014-01-14 Simon Fraser <simon.fraser@apple.com>
3926 Fix header availability checks on iOS
3927 https://bugs.webkit.org/show_bug.cgi?id=127016
3929 Reviewed by Andy Estes.
3931 Make DOMTouch* and DOMGesture* headers public headers on iOS,
3932 and fix MigrateHeaders.make to skip availability checks when
3935 * MigrateHeaders.make:
3937 2014-01-14 Simon Fraser <simon.fraser@apple.com>
3939 Need to #import <WebCore/QuickLook.h>.
3941 * WebView/WebDataSource.mm:
3943 2014-01-14 Daniel Bates <dabates@apple.com>
3945 [iOS] Enable QuickLook
3946 https://bugs.webkit.org/show_bug.cgi?id=126954
3948 Reviewed by David Kilzer.
3950 Remove empty implementation for quickLookContentForURL: since we always enable QuickLook on iOS.
3952 * WebView/WebView.mm:
3953 (-[WebView quickLookContentForURL:]):
3955 2014-01-14 Dean Jackson <dino@apple.com>
3957 Move some Mac-only exports to WebKit.mac.exp for iOS build.
3962 2014-01-14 Simon Fraser <simon.fraser@apple.com>
3964 Move some Mac-only exports to WebKit.mac.exp for iOS build.
3969 2014-01-14 Simon Fraser <simon.fraser@apple.com>
3971 Fix iOS WK1 linking.
3973 * Configurations/WebKit.xcconfig: We do need WebOpenPanelResultListener
3975 * WebCoreSupport/WebOpenPanelResultListener.mm: Need <WebCore/Icon.h>
3977 2014-01-14 Simon Fraser <simon.fraser@apple.com>
3979 iOS build fixing: link WebKit against Security.framework on iOS.
3981 * Configurations/WebKit.xcconfig:
3983 2014-01-14 Dean Jackson <dino@apple.com>
3985 [WK1] Allow generated export files on iOS
3986 https://bugs.webkit.org/show_bug.cgi?id=127008
3988 Reviewed by Simon Fraser.
3990 Add a new Mac-only symbol file.
3992 * WebKit.exp: To begin, move the WebIcon* into the Mac-specific exports.
3993 * WebKit.mac.exp: Added. New file holds Mac-only symbols.
3995 2014-01-14 Brian J. Burg <burg@cs.washington.edu>
3997 Add ENABLE(WEB_REPLAY) feature flag to the build system
3998 https://bugs.webkit.org/show_bug.cgi?id=126949
4000 Reviewed by Joseph Pecoraro.
4002 * Configurations/FeatureDefines.xcconfig:
4004 2014-01-13 Simon Fraser <simon.fraser@apple.com>
4006 Fix the Mac build. WebViewPrivate.h declares quickLookContentForURL:
4007 for iOS, but the implementation conditionalizes on USE(QUICK_LOOK),
4008 which we are confused about.
4010 * WebView/WebView.mm:
4011 (-[WebView quickLookContentForURL:]):
4012 * WebView/WebViewPrivate.h:
4014 2014-01-13 Simon Fraser <simon.fraser@apple.com>
4016 Fix the remaining compiler errors in iOS WK1.
4018 * WebView/WebFrame.mm:
4019 (vectorForDictationPhrasesArray): Need this function on iOS.
4020 (-[WebFrame setSelectedDOMRange:affinity:closeTyping:]): We're already inside
4021 a huge if PLATFORM(IOS) block.
4022 (-[WebFrame resetTextAutosizingBeforeLayout]): Document now exposes RenderView.
4023 * WebView/WebFrameInternal.h: Declare vectorForDictationPhrasesArray() (not a good place for it!)
4024 * WebView/WebView.mm: #import cleanup for iOS.
4025 (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]): Declare autoStartRemoteInspector
4026 here but this needs cleaning up (<rdar://problem/15810991>).
4027 (-[WebView setHostApplicationBundleId:name:]): No [WebView sharedWebInspectorServer] any more.
4028 (-[WebView _didCommitLoadForFrame:]): Ditto.
4029 * WebView/WebViewData.h: Add allowsRemoteInspection.
4030 * WebView/WebViewData.mm: Initialize allowsRemoteInspection
4031 (-[WebViewPrivate init]):
4032 * WebView/WebViewPrivate.h: Fumbled #ifdef.
4034 2014-01-13 Simon Fraser <simon.fraser@apple.com>
4036 More work towards getting iOS WK1 building.
4038 * DOM/WebDOMOperations.mm: Need RenderObject.h.
4039 * DOM/WebDOMOperationsPrivate.h:
4040 * History/WebBackForwardList.mm: Need Foundation/NSGeometry.h for NSRect
4041 (-[WebBackForwardList dictionaryRepresentation]): Fix array iteration to match
4043 * Misc/WebIconDatabase.h: #ifdef out functions that return NSImages.
4044 * Plugins/WebPluginController.mm: Need <WebCore/AudioSession.h>
4045 * WebCoreSupport/WebFrameLoaderClient.mm:
4046 (WebFrameLoaderClient::transitionToCommittedForNewPage): Some new code to
4047 handle the error case.
4048 * WebView/WebFrameView.mm: Avoid including some headers which pull in AppKit classes.
4049 * WebView/WebHTMLView.mm: Ditto.
4050 (-[WebHTMLView selectionImageForcingBlackText:selectionImageForcingBlackText:]): Handle
4051 different return type of createDragImageForSelection().
4052 * WebView/WebPolicyDelegatePrivate.h:
4053 * WebView/WebPreferences.mm: <WebCore/AudioSession.h> and <AudioToolbox/AudioSession.h>
4055 2014-01-13 Daniel Bates <dabates@apple.com>
4057 [iOS] Remove duplicate inclusions of header WAKView.h
4058 following <http://trac.webkit.org/changeset/161910>
4060 * WebView/WebFrameView.h:
4061 * WebView/WebHTMLView.h:
4063 2014-01-13 Simon Fraser <simon.fraser@apple.com>
4065 Various iOS WebKit1 build fixes.
4067 * Configurations/WebKit.xcconfig: Add more Mac-only files
4068 to the excluded files list for iOS.
4069 * DefaultDelegates/WebDefaultUIDelegate.m: Don't include WebJavaScriptTextInputPanel.h
4071 * History/WebHistory.h: NSCalendarDate doesn't exist on iOS.
4072 * Misc/WebDownload.h: Need WAKAppKitStubs.h
4073 * Misc/WebNSViewExtras.m: No WebNSPasteboardExtras on iOS
4074 * Storage/WebDatabaseManagerClient.mm: Need DatabaseTracker.h, no harm
4075 in including it for all platforms.
4076 * WebCoreSupport/WebEditorClient.h: Remove useless comment.
4077 * WebCoreSupport/WebEditorClient.mm:
4078 (nsStringWithoutCopying): Moved
4079 (WebEditorClient::checkTextOfParagraph): Modernized.
4080 * WebInspector/WebNodeHighlightView.mm: Need FloatQuad.h.
4081 * WebView/WebDataSource.mm: Need WebFrameViewInternal.h
4082 * WebView/WebDocument.h: Needs WAKView.h.
4083 * WebView/WebFrameView.h: Ditto.
4084 * WebView/WebHTMLView.h: Ditto.
4085 * WebView/WebPDFDocumentExtras.mm:
4086 (allScriptsInPDFDocument): No PDFDocument on iOS.
4087 * WebView/WebPolicyDelegate.h:
4088 * WebView/WebView.h: Fix incorrect #if.
4090 2014-01-13 Daniel Bates <dabates@apple.com>
4092 [iOS] More build fixes for WebKit
4094 * Configurations/Base.xcconfig: Removed extraneous definition of SUPPORTED_PLATFORMS.
4095 * Configurations/WebKit.xcconfig: Exclude more Mac-specific files when building for iOS:
4096 CarbonUtils.m, CarbonWindowAdapter.mm, CarbonWindowContentView.m, CarbonWindowFrame.m,
4097 HIViewAdapter.m, HIWebView.mm, MailQuirksUserScript.js, OutlookQuirksUserScript.js,
4098 PopupMenuMac.mm, SearchPopupMenuMac.mm, WebClipView.mm, WebInspectorClient.mm,
4099 WebNetscapeContainerCheckContextInfo.mm, WebNetscapeContainerCheckPrivate.mm, WebRenderNode.mm,
4100 WebStringTruncator.mm, and WebTextCompletionController.mm. I haven't verified the Mac-specific
4101 nature of each of these files. We may be able to reduce this list upon further investigation.
4102 * WebView/WebDocument.h: Include header <WebKit/WAKView.h> for definition of WAKView.
4103 * WebView/WebFrameView.h: Ditto.
4104 * WebView/WebUIDelegate.h: Ditto.
4105 * WebView/WebView.h: Ditto.
4107 2014-01-13 Simon Fraser <simon.fraser@apple.com>
4109 Include WAKAppKitStubs.h to get NSSelectionAffinity.
4111 * WebView/WebEditingDelegate.h:
4113 2014-01-13 Simon Fraser <simon.fraser@apple.com>
4115 DOMTouch* etc should not be public headers on iOS.
4117 * MigrateHeaders.make:
4119 2014-01-13 Andy Estes <aestes@apple.com>
4121 [iOS] Build Fix: switch back to calling postprocess-headers.sh
4123 * postprocess-headers.sh:
4125 2014-01-13 Zalan Bujtas <zalan@apple.com>
4127 Enable SUBPIXEL_LAYOUT on Mac
4128 <https://webkit.org/b/126283>
4130 Reviewed by Simon Fraser.
4132 * Configurations/FeatureDefines.xcconfig:
4134 2014-01-12 Darin Adler <darin@apple.com>
4136 Add deprecatedCharacters as a synonym for characters and convert most call sites
4137 https://bugs.webkit.org/show_bug.cgi?id=126858
4139 Reviewed by Anders Carlsson.
4141 * History/BinaryPropertyList.cpp:
4142 (BinaryPropertyListSerializer::appendStringObject):
4143 Use deprecatedCharacters instead of characters.
4145 2014-01-12 Darin Adler <darin@apple.com>
4147 Add type checking to isEqual methods
4148 https://bugs.webkit.org/show_bug.cgi?id=126862
4150 Reviewed by Anders Carlsson.
4152 * WebCoreSupport/WebSecurityOrigin.mm:
4153 (-[WebSecurityOrigin isEqual:]): Added a FIXME about the lack of a hash method
4154 override. Tweaked formatting.
4156 * WebView/WebDashboardRegion.mm:
4157 (-[WebDashboardRegion isEqual:]): Added type checking on the argument. Added a
4158 FIXME about the lack of a hash method override.
4160 2014-01-11 Alexey Proskuryakov <ap@apple.com>
4162 [Mac] [Windows] Stop scheduling network requests in WebCore
4163 https://bugs.webkit.org/show_bug.cgi?id=126789
4164 <rdar://problem/15114727>
4166 Reviewed by Sam Weinig.
4168 * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated
4169 for new WKSI function names.
4171 2014-01-10 Anders Carlsson <andersca@apple.com>
4173 Tweak ProgressTrackerClient functions
4174 https://bugs.webkit.org/show_bug.cgi?id=126808
4176 Reviewed by Sam Weinig.
4178 * WebCoreSupport/WebFrameLoaderClient.h:
4179 * WebCoreSupport/WebFrameLoaderClient.mm:
4180 (WebFrameLoaderClient::progressStarted):
4181 (WebFrameLoaderClient::progressEstimateChanged):
4182 (WebFrameLoaderClient::progressFinished):
4184 2014-01-10 Anders Carlsson <andersca@apple.com>
4186 Move progress tracking functions from FrameLoaderClient to a new ProgressTrackerClient
4187 https://bugs.webkit.org/show_bug.cgi?id=126801
4189 Reviewed by Sam Weinig.
4191 * WebCoreSupport/WebFrameLoaderClient.h:
4192 * WebView/WebView.mm:
4193 (-[WebView _commonInitializationWithFrameName:groupName:]):
4195 2014-01-10 David Kilzer <ddkilzer@apple.com>
4197 Clean up architectures in xcconfig files
4198 <http://webkit.org/b/126794>
4200 Reviewed by Andy Estes.
4202 * Configurations/WebKit.xcconfig: Remove armv6, armv7f, ppc.
4205 2014-01-10 Yongjun Zhang <yongjun_zhang@apple.com>
4207 Clear unparented tiled layers on memory pressure.
4208 https://bugs.webkit.org/show_bug.cgi?id=126737
4210 Reviewed by Simon Fraser.
4212 * WebView/WebView.mm:
4213 (+[WebView _handleMemoryWarning]): Clear all unparented tiles when under memory pressure.
4215 2014-01-10 Daniel Bates <dabates@apple.com>
4217 Fix the WebCore, WebKit build targets following <http://trac.webkit.org/changeset/161638>
4218 (https://bugs.webkit.org/show_bug.cgi?id=126698)
4220 Tell Xcode that the supported platforms for all WebCore targets are iOS and OS X.
4222 * Configurations/Base.xcconfig:
4224 2014-01-09 Andy Estes <aestes@apple.com><