Re-add the request autocomplete feature
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
1 2014-09-10  Jon Honeycutt  <jhoneycutt@apple.com>
2
3         Re-add the request autocomplete feature
4
5         <https://bugs.webkit.org/show_bug.cgi?id=136730>
6
7         This feature was rolled out in r148731 because it was only used by
8         Chromium. As we consider supporting this feature, roll it back in, but
9         leave it disabled.
10
11         This rolls out r148731 (which removed the feature) with small changes
12         needed to make the code build in ToT, to match modern style, to make
13         the tests run, and to remove unused code.
14
15         Reviewed by Andy Estes.
16
17         * Configurations/FeatureDefines.xcconfig:
18         * WebCoreSupport/WebFrameLoaderClient.h:
19
20 2014-09-12  Commit Queue  <commit-queue@webkit.org>
21
22         Unreviewed, rolling out r173575.
23         https://bugs.webkit.org/show_bug.cgi?id=136790
24
25         Failing tests (Requested by enrica on #webkit).
26
27         Reverted changeset:
28
29         "Remove PLATFORM(IOS) from WebCore/editing (Part 3)."
30         https://bugs.webkit.org/show_bug.cgi?id=136474
31         http://trac.webkit.org/changeset/173575
32
33 2014-09-12  Enrica Casucci  <enrica@apple.com>
34
35         Remove PLATFORM(IOS) from WebCore/editing (Part 3).
36         https://bugs.webkit.org/show_bug.cgi?id=136474
37
38         Reviewed by Benjamin Poulain.
39
40         This is the updated version of the patch that was landed in r173340.
41         I changed the use of IntPoint to FloatPoint since it was causing tests
42         to fail.
43         This patch removes the use of PLATFORM(IOS) from TextAffinity.h
44         and removes the assumption that EAffinity values match NSSelectionAffinity
45         values. It also removes the includes in TextAffinity.h, creating the need to
46         include explicitly the files when necessary. It also removes the unnecessary
47         use of platform specific types, replacing them with WebCore types.
48
49         * WebCoreSupport/WebEditorClient.h:
50         (kit):
51         (core):
52         * WebView/WebFrameView.mm:
53         (-[WebFrameView _scrollToBeginningOfDocument]):
54         (-[WebFrameView _scrollToEndOfDocument]):
55
56 2014-09-11  Bear Travis  <betravis@adobe.com>
57
58         [CSS Font Loading] Enable CSS Font Loading on Mac
59         https://bugs.webkit.org/show_bug.cgi?id=135473
60
61         Reviewed by Antti Koivisto.
62
63         Enable CSS Font Loading in FeatureDefines.
64
65         * Configurations/FeatureDefines.xcconfig:
66
67 2014-09-11  Beth Dakin  <bdakin@apple.com>
68
69         Support rubber-banding in sub-frames
70         https://bugs.webkit.org/show_bug.cgi?id=136726
71         -and corresponding-
72         rdar://problem/10011924
73
74         Reviewed by Tim Horton.
75
76         rubberBandingForOverflowScrollEnabled is re-named to
77         rubberBandingForSubScrollableRegionsEnabled
78         * WebView/WebView.mm:
79         (-[WebView _preferencesChanged:]):
80
81 2014-09-09  Benjamin Poulain  <bpoulain@apple.com>
82
83         Disable the "unreachable-code" warning
84         https://bugs.webkit.org/show_bug.cgi?id=136677
85
86         Reviewed by Darin Adler.
87
88         * Configurations/Base.xcconfig:
89
90 2014-09-08  Maciej Stachowiak  <mjs@apple.com>
91
92         Fix 32-bit Mac build for new warnings
93         https://bugs.webkit.org/show_bug.cgi?id=136624
94
95         Reviewed by Darin Adler.
96         
97         (Jessie already fixed this but my version with typedefs seems a tiny bit cleaner.)
98
99         * Carbon/HIViewAdapter.m:
100         (+[HIViewAdapter bindHIViewToNSView:nsView:]): Need to use explicit casting now.
101
102 2014-09-08  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
103
104         Remove FILTERS flag
105         https://bugs.webkit.org/show_bug.cgi?id=136571
106
107         Reviewed by Darin Adler.
108
109         * Configurations/FeatureDefines.xcconfig:
110
111 2014-09-08  Jessie Berlin  <jberlin@apple.com>
112
113         32-bit build fix after r173364.
114
115         * Carbon/HIViewAdapter.m:
116         (+[HIViewAdapter bindHIViewToNSView:nsView:]):
117
118 2014-09-08  Dan Bernstein  <mitz@apple.com>
119
120         Build fix.
121
122         Added back SPI that is still in use.
123
124         * Misc/WebNSURLExtras.h:
125         * Misc/WebNSURLExtras.mm:
126         (-[NSURL _webkit_URLByRemovingFragment]):
127
128 2014-09-08  Dan Bernstein  <mitz@apple.com>
129
130         iOS Simulator build fix.
131
132         * Misc/WebKitSystemBits.m:
133         (WebMemorySize):
134
135 2014-09-07  Darin Adler  <darin@apple.com>
136
137         Fix build failure seen on Mountain Lion buildbot.
138
139         * Misc/WebNSDataExtras.h: Make WEB_GUESS_MIME_TYPE_PEEK_LENGTH an unsigned instead
140         of an int, to avoid warning about mixing signs.
141
142 2014-09-06  Darin Adler  <darin@apple.com>
143
144         Make updates suggested by new version of Xcode
145         https://bugs.webkit.org/show_bug.cgi?id=136603
146
147         Reviewed by Mark Rowe.
148
149         * Configurations/Base.xcconfig: Added CLANG_WARN_UNREACHABLE_CODE, COMBINE_HIDPI_IMAGES,
150         and ENABLE_STRICT_OBJC_MSGSEND as suggested by Xcode upgrade check.
151
152         * History/WebURLsWithTitles.m:
153         (+[WebURLsWithTitles writeURLs:andTitles:toPasteboard:]): Use NSUInteger instead of
154         unsigned for correctness, and to quiet the 32-to-64-bit compiler warning (which is
155         not turned on because it gives us too many false positives).
156         * Misc/WebElementDictionary.mm:
157         (-[WebElementDictionary objectForKey:]): Ditto.
158         * Misc/WebNSDataExtras.m:
159         (-[NSData _webkit_guessedMIMETypeForXML]): Ditto.
160         (-[NSData _webkit_guessedMIMEType]): Ditto.
161         (-[NSData _webkit_parseRFC822HeaderFields]): Ditto.
162         (-[NSData _web_locationAfterFirstBlankLine]): Ditto.
163
164         * Misc/WebNSURLExtras.h: Removed unused _web_URLWithLowercasedScheme, _web_hostData,
165         _webkit_URLByRemovingFragment, _webkit_URLByRemovingResourceSpecifier, _webkit_isFTPDirectoryURL,
166         _webkit_shouldLoadAsEmptyDocument, _web_hostNameNeedsDecodingWithRange:,
167         _web_hostNameNeedsEncodingWithRange:, _web_decodeHostNameWithRange:, _web_encodeHostNameWithRange:,
168         and _webkit_URLFragment methods.
169
170         * Misc/WebNSURLExtras.mm:
171         (-[NSURL _web_URLByTruncatingOneCharacterBeforeComponent:]): Deleted.
172         (-[NSURL _webkit_URLByRemovingFragment]): Deleted.
173         (-[NSURL _webkit_URLByRemovingResourceSpecifier]): Deleted.
174         (-[NSURL _webkit_isFTPDirectoryURL]): Deleted.
175         (-[NSURL _webkit_shouldLoadAsEmptyDocument]): Deleted.
176         (-[NSURL _web_URLWithLowercasedScheme]): Deleted.
177         (-[NSString _webkit_isFTPDirectoryURL]): Deleted.
178         (-[NSString _web_hostNameNeedsDecodingWithRange:]): Deleted.
179         (-[NSString _web_hostNameNeedsEncodingWithRange:]): Deleted.
180         (-[NSString _web_decodeHostNameWithRange:]): Deleted.
181         (-[NSString _web_encodeHostNameWithRange:]): Deleted.
182         (-[NSString _webkit_URLFragment]): Deleted.
183
184         * Plugins/WebPluginDatabase.mm:
185         (-[WebPluginDatabase removePluginInstanceViewsFor:]): Use a modern for loop
186         to iterate an array instead of a loop using the type "unsigned int".
187
188         * WebCoreSupport/WebOpenPanelResultListener.mm:
189         (-[WebOpenPanelResultListener chooseFilenames:]): Use NSUInteger instead of int.
190
191         * WebView/WebDelegateImplementationCaching.mm:
192         (CallDelegate): Use wtfCallIMP in one overload that was instead just calling the
193         directly without a proper type for the function pointer. This might have been causing
194         an actual problem on 64-bit systems, and it was different from all the other CallDelegate
195         functions that were already doing this correctly.
196
197         * WebView/WebTextCompletionController.mm:
198         (-[WebTextCompletionController _placePopupWindow:]): Use NSUInteger instead of int.
199
200 2014-09-06  Brian J. Burg  <burg@cs.washington.edu>
201
202         Web Inspector: convert DockSide to an enum class
203         https://bugs.webkit.org/show_bug.cgi?id=136601
204
205         Reviewed by Timothy Hatcher.
206
207         * WebCoreSupport/WebInspectorClient.mm:
208         (WebInspectorFrontendClient::frontendLoaded):
209         (-[WebInspectorWindowController attachWindow:]):
210         (-[WebInspectorWindowController attach]):
211         (-[WebInspectorWindowController detach]):
212         * WebInspector/WebInspectorFrontend.mm:
213         (-[WebInspectorFrontend attach]):
214
215 2014-09-05  Commit Queue  <commit-queue@webkit.org>
216
217         Unreviewed, rolling out r173340 and r173342.
218         https://bugs.webkit.org/show_bug.cgi?id=136596
219
220         Broke many tests (Requested by ap on #webkit).
221
222         Reverted changesets:
223
224         "Remove PLATFORM(IOS) from WebCore/editing (Part 3)."
225         https://bugs.webkit.org/show_bug.cgi?id=136474
226         http://trac.webkit.org/changeset/173340
227
228         "Build fix after r173340."
229         http://trac.webkit.org/changeset/173342
230
231 2014-09-05  Enrica Casucci  <enrica@apple.com>
232
233         Build fix after r173340.
234
235         * WebCoreSupport/WebEditorClient.h:
236         (kit):
237         (core):
238
239 2014-09-05  Enrica Casucci  <enrica@apple.com>
240
241         Remove PLATFORM(IOS) from WebCore/editing (Part 3).
242         https://bugs.webkit.org/show_bug.cgi?id=136474
243
244         Reviewed by Benjamin Poulain.
245
246         This patch removes the use of PLATFORM(IOS) from TextAffinity.h
247         and removes the assumption that EAffinity values match NSSelectionAffinity
248         values. It also removes the includes in TextAffinity.h, creating the need to
249         include explicitly the files when necessary. It also removes the unnecessary
250         use of platform specific types, replacing them with WebCore types.
251
252         * WebCoreSupport/WebEditorClient.h: Added kit and core for EAffinity.
253         * WebView/WebFrameView.mm:
254         (-[WebFrameView _scrollToBeginningOfDocument]):
255         (-[WebFrameView _scrollToEndOfDocument]):
256
257 2014-09-05  Daniel Bates  <dabates@apple.com>
258
259         [iOS] Another attempt to fix the iOS build after <http://trac.webkit.org/changeset/173309>
260         (https://bugs.webkit.org/show_bug.cgi?id=136564)
261
262         Move #endif inside -viewDidMoveToWindow up one line such that the closing brace ('}') is after it.
263
264         * WebView/WebHTMLView.mm:
265         (-[WebHTMLView viewDidMoveToWindow]):
266
267 2014-09-05  Daniel Bates  <dabates@apple.com>
268
269         [iOS] Another attempt to fix the iOS build after <http://trac.webkit.org/changeset/173309>
270         (https://bugs.webkit.org/show_bug.cgi?id=136564)
271
272         Add !PLATFORM(IOS)-guard in -viewDidMoveToWindow around code that references WebHTMLViewPrivate.flagsChangedEventMonitor.
273         The instance variable WebHTMLViewPrivate.flagsChangedEventMonitor is guarded by !PLATFORM(IOS).
274
275         * WebView/WebHTMLView.mm:
276         (-[WebHTMLView viewDidMoveToWindow]):
277
278 2014-09-05  Daniel Bates  <dabates@apple.com>
279
280         [iOS] Fix the iOS build after <http://trac.webkit.org/changeset/173309>
281         (https://bugs.webkit.org/show_bug.cgi?id=136564)
282
283         Include more code inside the !PLATFORM(IOS)-guarded section in -setDataSource:.
284
285         * WebView/WebHTMLView.mm:
286         (-[WebHTMLView setDataSource:]):
287
288 2014-09-04  Maciej Stachowiak  <mjs@apple.com>
289
290         Use tracking areas instead of (SPI) mouse moved notifications, and follow flags changes with an event monitor
291         https://bugs.webkit.org/show_bug.cgi?id=136564
292
293         Reviewed by Dan Bernstein.
294         
295         WebKit1 depended on mouse moved event notifications to track mouse
296         moves, and on being specially called by Safari to track flags
297         changes. WebKit2 does both these things better - it uses a tracking area
298         and event monitors. Copy those approaches.
299
300         * WebKit.order: Remove reference to obsolete call.
301         * WebView/WebHTMLView.mm:
302         (-[WebHTMLViewPrivate dealloc]): No need to deallocate tracking
303         area, since we now just always have one.
304         (-[WebHTMLViewPrivate clear]): ditto
305         (-[WebHTMLView _postFakeMouseMovedEventForFlagsChangedEvent:]):
306         New method that posts a fake mouse move event in response to
307         a flags change event, for use by the event monitor.
308         (+[WebHTMLView _postFlagsChangedEvent:]): Empty this old call,
309         still kept around for benefit of older Safari.
310         (-[WebHTMLView _updateMouseoverWithEvent:]): Handle Dashboard's
311         special mouseover mode (previously handled in a weird way).
312         (-[WebHTMLView close]): No more need to mess with mouse moved observer.
313         (-[WebHTMLView viewWillMoveToWindow:]): ditto
314         (-[WebHTMLView viewDidMoveToWindow]): ditto; but now hook up a flags
315         changed monitor.
316         (-[WebHTMLView windowDidBecomeKey:]): No need to handle non-key window
317         tracking area or mouse moved observer.
318         (-[WebHTMLView windowDidResignKey:]): ditto
319         (-[WebHTMLView windowWillOrderOnScreen:]): No need to mess with mouse
320         moved observer.
321         (-[WebHTMLView windowWillOrderOffScreen:]): ditto
322         (-[WebHTMLView mouseMoved:]): Converted from the old mouseMovedNotification:
323         (-[WebHTMLView setDataSource:]): Change if around body to early return. Hook
324         up tracking area - we have to do it here, because before this point, the
325         WebHTMLView does not know its WebView, which is where dashboard settings
326         live.
327         (-[WebHTMLView _removeMouseMovedObserverUnconditionally]): Deleted.
328         (-[WebHTMLView addMouseMovedObserver]): Deleted.
329         (-[WebHTMLView removeMouseMovedObserver]): Deleted.
330
331 2014-09-04  Pratik Solanki  <psolanki@apple.com>
332
333         Bring back [WebPreferences setDiskImageCacheEnabled:] for backwards compatibility
334         https://bugs.webkit.org/show_bug.cgi?id=136560
335
336         Reviewed by Joseph Pecoraro.
337
338         I removed the disk image caching code in r173265. However, we still have clients that call
339         setDiskImageCacheEnabled. Add in a stub method until we can wean the clients off this call.
340
341         * WebView/WebPreferences.mm:
342         (-[WebPreferences setDiskImageCacheEnabled:]):
343         * WebView/WebPreferencesPrivate.h:
344
345 2014-09-03  Andy Estes  <aestes@apple.com>
346
347         [Cocoa] Some WebKitLegacy headers migrated from WebCore incorrectly contain WEBCORE_EXPORT
348         https://bugs.webkit.org/show_bug.cgi?id=136521
349
350         Reviewed by Anders Carlsson.
351
352         Taught MigrateHeaders.make to remove WEBCORE_EXPORT from headers using this sed expression:
353
354             s/(^ *)WEBCORE_EXPORT /\1/g
355
356         This removes WEBCORE_EXPORT and a single following space character but preserves preceeding spaces.
357
358         * MigrateHeaders.make:
359
360 2014-09-04  Maciej Stachowiak  <mjs@apple.com>
361
362         Remove WebCoreSystemInterface glue for otherwise unused WKSI calls
363         https://bugs.webkit.org/show_bug.cgi?id=136527
364
365         Reviewed by Alexey Proskuryakov.
366
367         * WebCoreSupport/WebSystemInterface.mm:
368         (InitWebCoreSystemInterface):
369
370 2014-09-04  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
371
372         Remove CSS_FILTERS flag
373         https://bugs.webkit.org/show_bug.cgi?id=136529
374
375         Reviewed by Dirk Schulze.
376
377         * Configurations/FeatureDefines.xcconfig:
378
379 2014-09-04  Pratik Solanki  <psolanki@apple.com>
380
381         Remove iOS specific disk image cache
382         https://bugs.webkit.org/show_bug.cgi?id=136517
383
384         Reviewed by Antti Koivisto.
385
386         Disk image cache code unnecessarily complicates SharedBuffer implementation. We can remove
387         this now since we don't enable it in WebKit2 on iOS.
388
389         * Misc/WebCache.mm:
390         (+[WebCache statistics]):
391         * WebView/WebDataSource.mm:
392         (-[WebDataSource _setAllowToBeMemoryMapped]):
393         (-[WebDataSource setDataSourceDelegate:]):
394         (-[WebDataSource dataSourceDelegate]):
395         (-[WebDataSource dealloc]):
396         (BufferMemoryMapped): Deleted.
397         * WebView/WebPreferenceKeysPrivate.h:
398         * WebView/WebPreferences.mm:
399         (+[WebPreferences initialize]):
400         (-[WebPreferences diskImageCacheEnabled]): Deleted.
401         (-[WebPreferences setDiskImageCacheEnabled:]): Deleted.
402         (-[WebPreferences diskImageCacheMinimumImageSize]): Deleted.
403         (-[WebPreferences setDiskImageCacheMinimumImageSize:]): Deleted.
404         (-[WebPreferences diskImageCacheMaximumCacheSize]): Deleted.
405         (-[WebPreferences setDiskImageCacheMaximumCacheSize:]): Deleted.
406         (-[WebPreferences _diskImageCacheSavedCacheDirectory]): Deleted.
407         (-[WebPreferences _setDiskImageCacheSavedCacheDirectory:]): Deleted.
408         * WebView/WebPreferencesPrivate.h:
409         * WebView/WebView.mm:
410         (-[WebView _commonInitializationWithFrameName:groupName:]):
411         (+[WebView _handleMemoryWarning]):
412         (-[WebView _preferencesChanged:]):
413
414 2014-09-04  Daniel Bates  <dabates@apple.com>
415
416         [iOS] Make iOS build when ENABLE_TOUCH_EVENT and ENABLE_IOS_TOUCH_EVENTS disabled
417         https://bugs.webkit.org/show_bug.cgi?id=136494
418
419         Reviewed by Andy Estes.
420
421         * MigrateHeaders.make: Migrate header WebEventRegion.h only when ENABLE_IOS_TOUCH_EVENTS is defined.
422         * WebView/WebView.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
423
424 2014-09-02  Brian J. Burg  <burg@cs.washington.edu>
425
426         Web Inspector: fix prefixes for subclasses of JSC::ConsoleClient
427         https://bugs.webkit.org/show_bug.cgi?id=136476
428
429         Reviewed by Timothy Hatcher.
430
431         * Misc/WebCoreStatistics.mm:
432         (+[WebCoreStatistics shouldPrintExceptions]):
433         (+[WebCoreStatistics setShouldPrintExceptions:]):
434
435 2014-09-03  Enrica Casucci  <enrica@apple.com>
436
437         Remove PLATFORM(IOS) from WebCore/editing (Part 1).
438         https://bugs.webkit.org/show_bug.cgi?id=136474
439
440         Reviewed by Tim Horton.
441
442         * WebCoreSupport/WebEditorClient.mm:
443         (undoNameForEditAction):
444
445 2014-09-02  Maciej Stachowiak  <mjs@apple.com>
446
447         Clean up naming for and slightly refactor legacy video fullscreen support
448         https://bugs.webkit.org/show_bug.cgi?id=136446
449
450         Reviewed by Jer Noble.
451
452         Key changes:
453         supportsFullscreenForNode(Node*) --> supportsVideoFullscreen()
454         enterFullscreenForNode(Node*) --> enterVideoFullscreenForVideoElement(HTMLVideoElement*)
455         exitFullscreenForNode(Node*) --> exitVideoFullscreen()
456         
457         The old versions had unnecessary parameters, did not clearly distinguish their purpose
458         from enterFullscreenForElement and friends, and wrongly claimed generality to all Nodes.
459         Also changed many other places to use HTMLVideoElement* instead of Node* or 
460         HTMLMediaElement* when they were in fact only used for video elements and would only
461         work for such.
462
463         * WebCoreSupport/WebChromeClient.h:
464         * WebCoreSupport/WebChromeClient.mm:
465         (WebChromeClient::supportsVideoFullscreen): Adjust for main refactoring.
466         Also no more need to check for video elementness.
467         (WebChromeClient::enterVideoFullscreenForVideoElement): Adjust for main refactoring.
468         (WebChromeClient::exitVideoFullscreen): ditto
469         * WebView/WebView.mm:
470         (-[WebView _enterVideoFullscreenForVideoElement:]): Adjust for main
471         refactoring.
472         (-[WebView _exitVideoFullscreen]): ditto
473         (-[WebView _close]): ditto
474         * WebView/WebViewInternal.h:
475
476 2014-09-03  Dan Bernstein  <mitz@apple.com>
477
478         Get rid of HIGH_DPI_CANVAS leftovers
479         https://bugs.webkit.org/show_bug.cgi?id=136491
480
481         Reviewed by Benjamin Poulain.
482
483         * Configurations/FeatureDefines.xcconfig: Removed definition of ENABLE_HIGH_DPI_CANVAS
484         and removed it from FEATURE_DEFINES.
485
486 2014-08-31  Tim Horton  <timothy_horton@apple.com>
487
488         Remove unnecessary (and unnecessarily iOS-specific) setStrokeAndFillColor
489         https://bugs.webkit.org/show_bug.cgi?id=136416
490
491         Reviewed by Dan Bernstein.
492
493         * WebView/WebFrameView.mm:
494         (-[WebFrameView drawRect:]):
495         We only end up filling, so only set the fill color.
496
497 2014-08-26  Maciej Stachowiak  <mjs@apple.com>
498
499         Use RetainPtr::autorelease in some places where it seems appropriate
500         https://bugs.webkit.org/show_bug.cgi?id=136280
501
502         Reviewed by Darin Adler.
503
504         * WebView/WebHTMLView.mm:
505         (imageFromRect): Use RetainPtr in this function.
506         * WebView/WebPDFRepresentation.mm:
507         (-[WebPDFRepresentation convertPostScriptDataSourceToPDF:]): Use RetainPtr
508         in this method.
509
510 2014-08-29  Csaba Osztrogonác  <ossy@webkit.org>
511
512         Unreviwed, remove empty directories.
513
514         * ForwardingHeaders/wtf: Removed.
515
516 2014-08-27  Zalan Bujtas  <zalan@apple.com>
517
518         Subpixel layout: Rename LayoutRect's device pixel snapping functions.
519         https://bugs.webkit.org/show_bug.cgi?id=136319
520
521         Reviewed by Simon Fraser.
522
523         From pixelSnappedForPainting() to snapRectToDevicePixels() and 
524         pixelSnappedIntRect*() to snappedIntRect*().
525
526         No change in functionality.
527
528         * WebView/WebView.mm:
529         (-[WebView _dashboardRegions]):
530         (-[WebView trackedRepaintRects]):
531
532 2014-08-25  Maciej Stachowiak  <mjs@apple.com>
533
534         Replace use of WKCopyCFLocalizationPreferredName with NSLocale public API
535         https://bugs.webkit.org/show_bug.cgi?id=136082
536
537         Reviewed by Alexey Proskuryakov.
538
539         * Plugins/Hosted/NetscapePluginHostManager.mm:
540         (WebKit::NetscapePluginHostManager::spawnPluginHost): Get current
541         localization name using WebCore helper instead of SPI.
542         * Plugins/WebBasePluginPackage.mm: Fixed the include style for this 
543         file.
544         (-[WebBasePluginPackage getPluginInfoFromPLists]): Get current
545         localization name using WebCore helper instead of SPI.
546         (+[WebBasePluginPackage preferredLocalizationName]): Deleted. This
547         helper no longer pulls its weight.
548         * WebCoreSupport/WebSystemInterface.mm: 
549         (InitWebCoreSystemInterface): Remove mention of
550         WKCopyCFLocalizationPreferredName.
551         * WebKit.order: ditto
552
553 2014-08-25  Daniel Bates  <dabates@apple.com>
554
555         Attempt to fix the iOS build after <http://trac.webkit.org/changeset/172889>
556         (https://bugs.webkit.org/show_bug.cgi?id=109658)
557
558         Substitute GraphicsLayer::setContentsToPlatformLayer(..., GraphicsLayer::ContentsLayerForMedia)
559         for GraphicsLayer::setContentsToMedia(...) because the latter was removed in <http://trac.webkit.org/changeset/172889>.
560
561         * WebView/WebView.mm:
562         (-[WebView _setMediaLayer:forPluginView:]):
563
564 2014-08-22  Commit Queue  <commit-queue@webkit.org>
565
566         Unreviewed, rolling out r172866.
567         https://bugs.webkit.org/show_bug.cgi?id=136177
568
569         Broke iOS build (Requested by othermaciej on #webkit).
570
571         Reverted changeset:
572
573         "Replace use of WKCopyCFLocalizationPreferredName with
574         NSLocale public API"
575         https://bugs.webkit.org/show_bug.cgi?id=136082
576         http://trac.webkit.org/changeset/172866
577
578 2014-08-22  Simon Fraser  <simon.fraser@apple.com>
579
580         Implement paint flashing in the WK1 InspectorOverlay page
581         https://bugs.webkit.org/show_bug.cgi?id=136138
582
583         Reviewed by Sam Weinig, Joseph Pecoraro.
584
585         Implement paint flashing for the WebKit1 InspectorOverlay via a second canvas in the overlay page.
586         We avoid allocating backing store for this canvas until we have paint rects.
587         
588         Because this overlay page is weird and doesn't know how to paint itself, InspectorOverlay manages
589         an array of rects, and pushes them to the page when they change, before forcing a paint.
590         
591         Because iOS doesn't use the InspectorOverlay page, stub out setShowPaintRects on its
592         WebKit WebInspectorClient, but don't yet implement paint flashing there.
593
594         * WebCoreSupport/WebInspectorClient.h:
595         * WebCoreSupport/WebInspectorClient.mm:
596         (WebInspectorClient::WebInspectorClient):
597
598 2014-08-20  Maciej Stachowiak  <mjs@apple.com>
599
600         Replace use of WKCopyCFLocalizationPreferredName with NSLocale public API
601         https://bugs.webkit.org/show_bug.cgi?id=136082
602
603         Reviewed by Alexey Proskuryakov.
604
605         * Plugins/Hosted/NetscapePluginHostManager.mm:
606         (WebKit::NetscapePluginHostManager::spawnPluginHost): Get current
607         localization name using WebCore helper instead of SPI.
608         * Plugins/WebBasePluginPackage.mm: Fixed the include style for this 
609         file.
610         (-[WebBasePluginPackage getPluginInfoFromPLists]): Get current
611         localization name using WebCore helper instead of SPI.
612         (+[WebBasePluginPackage preferredLocalizationName]): Deleted. This
613         helper no longer pulls its weight.
614         * WebCoreSupport/WebSystemInterface.mm: 
615         (InitWebCoreSystemInterface): Remove mention of
616         WKCopyCFLocalizationPreferredName.
617         * WebKit.order: ditto
618
619 2014-08-22  Daniel Bates  <dabates@apple.com>
620
621         [iOS] Disable ENABLE_IOS_{GESTURE, TOUCH}_EVENTS, and temporarily disable ENABLE_TOUCH_EVENTS
622         and ENABLE_XSLT when building with the iOS public SDK
623         https://bugs.webkit.org/show_bug.cgi?id=135945
624
625         Reviewed by Andy Estes.
626
627         * Configurations/FeatureDefines.xcconfig: Disable ENABLE_IOS_{GESTURE, TOUCH}_EVENTS, ENABLE_TOUCH_EVENTS
628         and ENABLE_XSLT when building with the public SDK.
629         * MigrateHeaders.make: Conditionally migrate headers for touch and gesture events.
630
631 2014-08-22  Jon Lee  <jonlee@apple.com>
632
633         Fix iOS build due to r172832 and move RUBBER_BANDING out of FeatureDefines.h
634         https://bugs.webkit.org/show_bug.cgi?id=136157
635
636         Reviewed by Simon Fraser.
637
638         * Configurations/FeatureDefines.xcconfig: Add ENABLE(RUBBER_BANDING).
639         * WebView/WebView.mm:
640         (-[WebView _preferencesChanged:]): Wrap in ENABLE(RUBBER_BANDING).
641
642 2014-08-21  Zalan Bujtas  <zalan@apple.com>
643
644         Enable SATURATED_LAYOUT_ARITHMETIC.
645         https://bugs.webkit.org/show_bug.cgi?id=136106
646
647         Reviewed by Simon Fraser.
648
649         SATURATED_LAYOUT_ARITHMETIC protects LayoutUnit against arithmetic overflow.
650         (No measurable performance regression on Mac.)
651
652         * Configurations/FeatureDefines.xcconfig:
653
654 2014-08-21  Beth Dakin  <bdakin@apple.com>
655
656         overflow:scroll elements should support rubber-banding
657         https://bugs.webkit.org/show_bug.cgi?id=91655
658
659         Reviewed by Sam Weinig and Darin Adler.
660
661         Disable rubber-banding in overflow areas for now.
662         * WebView/WebView.mm:
663         (-[WebView _preferencesChanged:]):
664
665 2014-08-19  Pratik Solanki  <psolanki@apple.com>
666
667         Remove PurgeableBuffer since it is not very useful any more
668         https://bugs.webkit.org/show_bug.cgi?id=135939
669
670         Reviewed by Andreas Kling.
671
672         * Misc/WebCache.mm:
673         (+[WebCache statistics]):
674
675 2014-08-19  Zalan Bujtas  <zalan@apple.com>
676
677         Remove ENABLE(SUBPIXEL_LAYOUT).
678         https://bugs.webkit.org/show_bug.cgi?id=136077
679
680         Reviewed by Simon Fraser.
681
682         Remove compile time flag SUBPIXEL_LAYOUT. All ports have it enabled for a while now.
683
684         * Configurations/FeatureDefines.xcconfig:
685
686 2014-08-18  Maciej Stachowiak  <mjs@apple.com>
687
688         Use NSURLFileTypeMappings directly instead of depending on WebKitSystemInterface wrappers for it
689         https://bugs.webkit.org/show_bug.cgi?id=136035
690
691         Reviewed by Dan Bernstein.
692
693         * Misc/WebNSViewExtras.m:
694         (-[NSView _web_DragImageForElement:rect:event:pasteboard:source:offset:]): Remove comment
695         reference to obsolete WKSI function.
696         * WebCoreSupport/WebSystemInterface.mm:
697         (InitWebCoreSystemInterface): Don't initialize the no-longer-used WKGetExtensionsForMIMEType,
698         WKGetPreferredExtensionForMIMEType, or WKGetMIMETypeForExtension
699         * Plugins/WebPluginDatabase.mm:
700         (-[WebPluginDatabase pluginForExtension:]): Include SPI header from WebCore; use
701         NSURLFileTypeMappings directly instead of via WKSI wrapper.
702         * WebCoreSupport/WebFrameLoaderClient.mm:
703         (WebFrameLoaderClient::objectContentType): ditto
704         * WebView/WebHTMLView.mm:
705         (-[WebHTMLView _imageExistsAtPaths:]): ditto
706         * WebView/WebView.mm:
707         (+[WebView _supportedFileExtensions]): ditto
708         (+[WebView suggestedFileExtensionForMIMEType:]): ditto
709         (+[WebView _MIMETypeForFile:]): ditto
710
711 2014-08-18  Commit Queue  <commit-queue@webkit.org>
712
713         Unreviewed, rolling out r172736.
714         https://bugs.webkit.org/show_bug.cgi?id=136060
715
716         Caused 14% PLT regressions (Requested by rniwa on #webkit).
717
718         Reverted changeset:
719
720         "Remove PurgeableBuffer since it is not very useful any more"
721         https://bugs.webkit.org/show_bug.cgi?id=135939
722         http://trac.webkit.org/changeset/172736
723
724 2014-08-18  Pratik Solanki  <psolanki@apple.com>
725
726         Remove PurgeableBuffer since it is not very useful any more
727         https://bugs.webkit.org/show_bug.cgi?id=135939
728
729         Reviewed by Geoffrey Garen.
730
731         * Misc/WebCache.mm:
732         (+[WebCache statistics]):
733
734 2014-08-18  Andy Estes  <aestes@apple.com>
735
736         REGRESSION (r167856): adobe.com no longer able to launch Create Cloud app using a URL with a custom scheme
737         https://bugs.webkit.org/show_bug.cgi?id=136010
738
739         Reviewed by Darin Adler.
740
741         * Misc/WebKitVersionChecks.h: Removed WEBKIT_FIRST_VERSION_WITH_NAVIGATION_URL_VALIDATION.
742         * WebView/WebPDFView.mm:
743         (-[WebPDFView PDFViewWillClickOnLink:withURL:]): Passed AllowNavigationToInvalidURL::Yes to FrameLoader::loadFrameRequest.
744         * WebView/WebView.mm:
745         (-[WebView _preferencesChanged:]): Reverted the linked-on-or-after check added in r170120 since it's no longer necessary.
746
747 2014-08-18  Andy Estes  <aestes@apple.com>
748
749         Revert r172697.
750
751         It made several webarchive layout tests flaky and didn't have the correct behavior for non-quick redirects.
752
753         * Misc/WebKitVersionChecks.h:
754         * WebView/WebView.mm:
755         (-[WebView _preferencesChanged:]):
756
757 2014-08-15  Andy Estes  <aestes@apple.com>
758
759         REGRESSION (r167856): adobe.com no longer able to launch Create Cloud app using a URL with a custom scheme
760         https://bugs.webkit.org/show_bug.cgi?id=136010
761
762         Reviewed by Darin Adler.
763
764         Reverted the linked-on-or-after check added in r170120 since it is no longer necessary.
765
766         * Misc/WebKitVersionChecks.h:
767         * WebView/WebView.mm:
768         (-[WebView _preferencesChanged:]):
769
770 2014-08-16  Maciej Stachowiak  <mjs@apple.com>
771
772         Remove the obsolete WebKitEnableCoalescedUpdatesPreferenceKey
773         https://bugs.webkit.org/show_bug.cgi?id=136024
774
775         Reviewed by Filip Pizlo.
776
777         * WebView/WebFrameView.mm:
778         (-[WebFrameView initWithFrame:]): Remove code that respects
779         this key. It was SPI and is no longer used; also it was
780         only relevant for versions of OS X that WebKit no longer supports.
781         * WebView/WebPreferenceKeysPrivate.h: Remove declaration.
782
783 2014-08-15  Daniel Bates  <dabates@apple.com>
784
785         [iOS] Teach postprocess-headers.sh to remove code guarded by ENABLE_IOS_GESTURE_EVENTS
786         and ENABLE_TOUCH_EVENTS if applicable
787         https://bugs.webkit.org/show_bug.cgi?id=135993
788
789         Reviewed by Andy Estes.
790
791         Add support infrastructure to remove code from public and private API headers that is
792         guarded by macro define ENABLE_{IOS_GESTURE, TOUCH}_EVENTS when these features are disabled.
793
794         We aren't using this functionality yet, but we will soon.
795
796         * postprocess-headers.sh:
797
798 2014-08-13  Wenson Hsieh  <wenson_hsieh@apple.com>
799
800         Enable CSS_SCROLL_SNAP for iOS
801         https://bugs.webkit.org/show_bug.cgi?id=135915
802
803         Turn on CSS_SCROLL_SNAP for iOS and the iOS simulator.
804
805         Reviewed by Tim Horton.
806
807         * Configurations/FeatureDefines.xcconfig:
808
809 2014-08-13  Mark Rowe  <mrowe@apple.com>
810
811         <https://webkit.org/b/135911> WebKit should build on Yosemite with the public SDK.
812
813         Reviewed by Darin Adler.
814
815         * Misc/WebSharingServicePickerController.mm: Forward-declare some details related to NSSharingServicePicker.
816
817 2014-08-13  Timothy Hatcher  <timothy@apple.com>
818
819         Web Inspector: Workaround a NSWindow change to the title bar.
820         https://bugs.webkit.org/show_bug.cgi?id=135880
821
822         Reviewed by Joseph Pecoraro.
823
824         * WebCoreSupport/WebInspectorClient.mm:
825         (WebInspectorFrontendClient::setToolbarHeight): Only call setContentBorderThickness: on 10.9 and earlier.
826         (-[WebInspectorWindowController init]): Only call setDrawsBackground: on 10.9 and earlier.
827         (-[WebInspectorWindowController window]): Set titlebarAppearsTransparent on 10.10.
828         Only call border thickness APIs on 10.9 and earlier.
829
830 2014-08-12  Peyton Randolph  <prandolph@apple.com>
831
832         Runtime switch for long mouse press gesture. Part of 135257 - Add long mouse press gesture.           
833         https://bugs.webkit.org/show_bug.cgi?id=135682
834
835         Reviewed by Tim Horton.
836
837         * Configurations/FeatureDefines.xcconfig:
838         Remove LONG_MOUSE_PRESS feature flag.
839
840 2014-08-11  Andy Estes  <aestes@apple.com>
841
842         [iOS] Get rid of iOS.xcconfig
843         https://bugs.webkit.org/show_bug.cgi?id=135809
844
845         Reviewed by Joseph Pecoraro.
846
847         All iOS.xcconfig did was include AspenFamily.xcconfig, so there's no need for the indirection.
848
849         * Configurations/Base.xcconfig:
850         * Configurations/iOS.xcconfig: Removed.
851
852 2014-08-10  Timothy Hatcher  <timothy@apple.com>
853
854         Web Inspector: new glyphs are visible on OS X 10.9 builds
855         https://bugs.webkit.org/show_bug.cgi?id=135743
856
857         Reviewed by Joseph Pecoraro.
858
859         * WebCoreSupport/WebInspectorClient.mm:
860         (-[WebInspectorWindowController window]): Use 10100 instead of 1090 for the version.
861
862 2014-08-07  Benjamin Poulain  <bpoulain@apple.com>
863
864         Get rid of SCRIPTED_SPEECH
865         https://bugs.webkit.org/show_bug.cgi?id=135729
866
867         Reviewed by Brent Fulgham.
868
869         * Configurations/FeatureDefines.xcconfig:
870
871 2014-08-07  Benjamin Poulain  <bpoulain@apple.com>
872
873         Get rid of INPUT_SPEECH
874         https://bugs.webkit.org/show_bug.cgi?id=135672
875
876         Reviewed by Andreas Kling.
877
878         * Configurations/FeatureDefines.xcconfig:
879
880 2014-08-07  Timothy Hatcher  <timothy@apple.com>
881
882         Web Inspector: Update glyphs to be more like Xcode 6
883         https://bugs.webkit.org/show_bug.cgi?id=135705
884
885         Reviewed by Joseph Pecoraro.
886
887         * Resources/Dock.pdf: Added.
888         * Resources/DockLegacy.pdf: Copied from Source/WebKit/mac/Resources/Dock.pdf.
889         * WebCoreSupport/WebInspectorClient.mm:
890         (-[WebInspectorWindowController window]): Use new images.
891
892 2014-08-06  Dean Jackson  <dino@apple.com>
893
894         ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED is not used anywhere. Remove it.
895         https://bugs.webkit.org/show_bug.cgi?id=135675
896
897         Reviewed by Sam Weinig.
898
899         * Configurations/FeatureDefines.xcconfig:
900
901 2014-08-06  Wenson Hsieh  <wenson_hsieh@apple.com>
902
903         Implement parsing for CSS scroll snap points
904         https://bugs.webkit.org/show_bug.cgi?id=134301
905
906         Reviewed by Dean Jackson.
907
908         * Configurations/FeatureDefines.xcconfig: Added ENABLE_CSS_SCROLL_SNAP
909
910 2014-08-06  Alexey Proskuryakov  <ap@apple.com>
911
912         REGRESSION (WebKit2): iOS Safari default encoding doesn't follow system language
913         https://bugs.webkit.org/show_bug.cgi?id=135667
914         <rdar://problem/17862892>
915
916         Reviewed by Anders Carlsson.
917
918         * WebView/WebPreferences.mm: (+[WebPreferences _setInitialDefaultTextEncodingToSystemEncoding]):
919         Moved implementation to WebCore, so that it can be shared with WebKit2.
920
921         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface):
922         We now use WKGetWebDefaultCFStringEncoding in WebCore, so it needs to be initialized.
923
924 2014-08-05  Peyton Randolph  <prandolph@apple.com>
925
926         Rename MAC_LONG_PRESS feature flag to LONG_MOUSE_PRESS.
927         https://bugs.webkit.org/show_bug.cgi?id=135276
928
929         Reviewed by Beth Dakin.
930
931         * Configurations/FeatureDefines.xcconfig:
932
933 2014-08-04  Benjamin Poulain  <benjamin@webkit.org>
934
935         Add a flag for the CSS Selectors level 4 implementation
936         https://bugs.webkit.org/show_bug.cgi?id=135535
937
938         Reviewed by Andreas Kling.
939
940         * Configurations/FeatureDefines.xcconfig:
941
942 2014-08-04  Benjamin Poulain  <bpoulain@apple.com>
943
944         Check for null frame when processing geolocation authorization request
945         https://bugs.webkit.org/show_bug.cgi?id=135577
946         <rdar://problem/17896295>
947
948         Reviewed by Geoffrey Garen.
949
950         * WebCoreSupport/WebGeolocationClient.mm:
951         (WebGeolocationClient::requestPermission):
952
953 2014-08-02  Jeremy Jones  <jeremyj@apple.com>
954
955         Support both window and view based video fullscreen.
956         https://bugs.webkit.org/show_bug.cgi?id=135525
957
958         Reviewed by Simon Fraser.
959
960         Parenting in the view instead of the window gives the fullscreen implementation more latitude 
961         in how it implements the animation.
962
963         * WebView/WebView.mm:
964         (-[WebView _enterFullscreenForNode:]): Use view instead of window.
965
966 2014-08-01  Dan Bernstein  <mitz@apple.com>
967
968         <rdar://problem/17891752> [iOS] WebKit links against libraries it doesn’t use
969         https://bugs.webkit.org/show_bug.cgi?id=135536
970
971         Reviewed by Tim Horton.
972
973         * Configurations/WebKitLegacy.xcconfig: Removed -framework MobileAsset from
974         OTHER_LDFLAGS_iphoneos.
975
976 2014-07-30  Andy Estes  <aestes@apple.com>
977
978         USE(CONTENT_FILTERING) should be ENABLE(CONTENT_FILTERING)
979         https://bugs.webkit.org/show_bug.cgi?id=135439
980
981         Reviewed by Tim Horton.
982
983         We now support two different platform content filters, and will soon support a mock content filter (as part of
984         webkit.org/b/128858). This makes content filtering a feature of WebKit, not just an adoption of a third-party
985         library. ENABLE() is the correct macro to use for such a feature.
986
987         * Configurations/FeatureDefines.xcconfig:
988
989 2014-07-30  Andreas Kling  <akling@apple.com>
990
991         Static hash tables no longer need to be coupled with a VM.
992         <https://webkit.org/b/135421>
993
994         Reviewed by Geoffrey Garen.
995
996         * Plugins/Hosted/ProxyInstance.mm:
997         * Plugins/Hosted/ProxyRuntimeObject.mm:
998
999 2014-07-30  Dan Bernstein  <mitz@apple.com>
1000
1001         Updated for changes to the WebCore::Credential API.
1002         Work towards fixing https://bugs.webkit.org/show_bug.cgi?id=135327
1003
1004         Reviewed by Alexey Proskuryakov.
1005
1006         * Misc/WebDownload.mm:
1007         (-[WebDownloadInternal download:didReceiveAuthenticationChallenge:]): Use new nsCredential
1008         getter.
1009         * Plugins/WebBaseNetscapePluginView.mm:
1010         (WebKit::getAuthenticationInfo): Ditto.
1011
1012 2014-07-27  Pratik Solanki  <psolanki@apple.com>
1013
1014         Remove unused preference keys
1015         https://bugs.webkit.org/show_bug.cgi?id=135280
1016
1017         Reviewed by Darin Adler.
1018
1019         * WebView/WebPreferenceKeysPrivate.h:
1020         * WebView/WebPreferences.mm:
1021         (+[WebPreferences initialize]):
1022         (-[WebPreferences _setPageCacheSize:]): Deleted.
1023         (-[WebPreferences _pageCacheSize]): Deleted.
1024         (-[WebPreferences _setObjectCacheSize:]): Deleted.
1025         (-[WebPreferences _objectCacheSize]): Deleted.
1026         * WebView/WebPreferencesPrivate.h:
1027
1028 2014-07-27  Filip Pizlo  <fpizlo@apple.com>
1029
1030         Merge r170090, r170092, r170129, r170141, r170161, r170215, r170275, r170375, r170376, r170382, r170383, r170399, r170436, r170489, r170490, r170556 from ftlopt.
1031
1032     2014-07-25  Mark Lam  <mark.lam@apple.com>
1033     
1034             [ftlopt] Renamed DebuggerActivation to DebuggerScope.
1035             <https://webkit.org/b/134273>
1036     
1037             Reviewed by Michael Saboff.
1038     
1039             * WebView/WebScriptDebugDelegate.mm:
1040             - Removed unneeded #include.
1041     
1042 2014-07-26  Filip Pizlo  <fpizlo@apple.com>
1043
1044         Unreviewed, roll out r171641-r171644. It broke some tests; will investigate and
1045         reland later.
1046
1047         * WebView/WebScriptDebugDelegate.mm:
1048
1049 2014-07-25  Filip Pizlo  <fpizlo@apple.com>
1050
1051         Merge r170090, r170092, r170129, r170141, r170161, r170215, r170275, r170375, r170376, r170382, r170383, r170399, r170436, r170489, r170490, r170556 from ftlopt.
1052
1053     2014-07-25  Mark Lam  <mark.lam@apple.com>
1054     
1055             [ftlopt] Renamed DebuggerActivation to DebuggerScope.
1056             <https://webkit.org/b/134273>
1057     
1058             Reviewed by Michael Saboff.
1059     
1060             * WebView/WebScriptDebugDelegate.mm:
1061             - Removed unneeded #include.
1062     
1063 2014-07-25  Jeremy Jones  <jeremyj@apple.com>
1064
1065         Parent fullscreen from window instead of view
1066         https://bugs.webkit.org/show_bug.cgi?id=135310
1067
1068         Reviewed by Jer Noble.
1069
1070         Parenting in the view causes an incorrect animation to fullscreen, and can cause 
1071         fullscreen to only expand to the size of the view instead of the whole window.
1072
1073         * WebView/WebView.mm:
1074         (-[WebView _enterFullscreenForNode:]): Pass window instead of view.
1075
1076 2014-07-24  Pratik Solanki  <psolanki@apple.com>
1077
1078         [iOS] Remove prefs to tweak cache values
1079         https://bugs.webkit.org/show_bug.cgi?id=135274
1080         <rdar://problem/17784826>
1081
1082         Reviewed by Alexey Proskuryakov.
1083
1084         Remove iOS specific code that used to look up user defaults to see if any cache values were
1085         overridden. This was added for testing, is not used any more and is actually harmful now. It
1086         can cause unnecessary memory churn when under memory pressure since we call [WebView _setCacheModel]
1087         as a means to clear out memory cache.
1088
1089         * WebView/WebPreferenceKeysPrivate.h:
1090         * WebView/WebPreferences.mm:
1091         (+[WebPreferences initialize]):
1092         (-[WebPreferences _setNSURLMemoryCacheSize:]): Deleted.
1093         (-[WebPreferences _NSURLMemoryCacheSize]): Deleted.
1094         (-[WebPreferences _setNSURLDiskCacheSize:]): Deleted.
1095         (-[WebPreferences _NSURLDiskCacheSize]): Deleted.
1096         * WebView/WebPreferencesPrivate.h:
1097         * WebView/WebView.mm:
1098         (+[WebView _setCacheModel:]):
1099
1100 2014-07-24  Peyton Randolph  <prandolph@apple.com>
1101
1102         Rename feature flag for long-press gesture on Mac.                                                                   
1103         https://bugs.webkit.org/show_bug.cgi?id=135259                                                                 
1104
1105         Reviewed by Beth Dakin.
1106
1107         * Configurations/FeatureDefines.xcconfig:
1108         Rename LINK_LONG_PRESS to MAC_LONG_PRESS.
1109
1110 2014-07-24  Dan Bernstein  <mitz@apple.com>
1111
1112         WebKit part of <rdar://problem/17766348> [Cocoa] WebCore::ProtectionSpace doesn’t preserve all NSURLProtectionSpace properties, such as the distinguishedNames array
1113         https://bugs.webkit.org/show_bug.cgi?id=135229
1114
1115         Reviewed by Alexey Proskuryakov.
1116
1117         * Misc/WebDownload.mm:
1118         (-[WebDownloadInternal download:didReceiveAuthenticationChallenge:]): Chanegd to use the
1119         ProtectionSpace constructor that takes an NSURLProtectionSpace.
1120
1121         * Plugins/WebBaseNetscapePluginView.mm:
1122         (WebKit::getAuthenticationInfo): Ditto.
1123
1124         * WebCoreSupport/WebFrameLoaderClient.mm:
1125         (WebFrameLoaderClient::canAuthenticateAgainstProtectionSpace): Changed to use
1126         ProtectionSpace::nsSpace.
1127
1128 2014-07-23  Bem Jones-Bey  <bjonesbe@adobe.com>
1129
1130         Remove CSS_EXCLUSIONS compile flag and leftover code
1131         https://bugs.webkit.org/show_bug.cgi?id=135175
1132
1133         Reviewed by Zoltan Horvath.
1134
1135         At this point, the CSS_EXCLUSIONS flag guards nothing but some useless
1136         stubs. This removes the flag and the useless code.
1137
1138         * Configurations/FeatureDefines.xcconfig:
1139
1140 2014-07-22  Enrica Casucci  <enrica@apple.com>
1141
1142         REGRESSION (WebKit2): Selection inside accelerated overflow:scroll doesn't track scrolling.
1143         https://bugs.webkit.org/show_bug.cgi?id=135180
1144         <rdar://problem/16721055>
1145
1146         Reviewed by Simon Fraser.
1147
1148         * WebCoreSupport/WebEditorClient.h:
1149
1150 2014-07-22  Jeremy Jones  <jeremyj@apple.com>
1151
1152         Don't create new UIWindow for video fullscreen.
1153         https://bugs.webkit.org/show_bug.cgi?id=135038
1154
1155         Reviewed by Darin Adler.
1156
1157         Provide UIView to WebVideoFullscreenController
1158
1159         * WebView/WebView.mm:
1160         (-[WebView _enterFullscreenForNode:]): pass UIView instead of nil
1161
1162 2014-07-21  Pratik Solanki  <psolanki@apple.com>
1163
1164         Unreviewed iOS build fix after r171321.
1165
1166         * WebView/WebView.mm:
1167         (-[WebView _preferencesChanged:]):
1168
1169 2014-07-21  Beth Dakin  <bdakin@apple.com>
1170
1171         WK1 should always setAcceleratedCompositingForFixedPositionEnabled(true) on 
1172         Yosemite
1173         https://bugs.webkit.org/show_bug.cgi?id=135135
1174
1175         Reviewed by Darin Adler.
1176
1177         Get rid of the ChromeClient function, and enable the Setting instead.
1178         * WebCoreSupport/WebChromeClient.h:
1179         * WebCoreSupport/WebChromeClient.mm:
1180         (WebChromeClient::requiresAcceleratedCompositingForViewportConstrainedPosition): Deleted.
1181         * WebView/WebView.mm:
1182         (-[WebView _preferencesChanged:]):
1183
1184 2014-07-21  Beth Dakin  <bdakin@apple.com>
1185
1186         Build fix.
1187
1188         * WebCoreSupport/WebChromeClient.mm:
1189         (WebChromeClient::requiresAcceleratedCompositingForViewportConstrainedPosition):
1190
1191 2014-07-21  Beth Dakin  <bdakin@apple.com>
1192
1193         Put position:fixed elements into layers when a WK1 view is layer-backed
1194         https://bugs.webkit.org/show_bug.cgi?id=135075
1195
1196         Reviewed by Darin Adler.
1197
1198         Returns true when the WebHTMLView has a layer.
1199
1200         * WebCoreSupport/WebChromeClient.h:
1201         * WebCoreSupport/WebChromeClient.mm:
1202         (WebChromeClient::requiresAcceleratedCompositingForViewportConstrainedPosition):
1203
1204 2014-07-18  Andy Estes  <aestes@apple.com>
1205
1206         [iOS] Tapping "Allow Website" on a restricted page does not bring up the keypad
1207         https://bugs.webkit.org/show_bug.cgi?id=135072
1208         <rdar://problem/17528188>
1209
1210         Reviewed by David Kilzer.
1211
1212         * WebCoreSupport/WebFrameLoaderClient.h: Override contentFilterDidBlockLoad().
1213         * WebCoreSupport/WebFrameLoaderClient.mm:
1214         (WebFrameLoaderClient::dispatchDidStartProvisionalLoad): Reset contentFilterForBlockedLoad to nullptr.
1215         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): Check if this is navigation represents an
1216         unblock request and ignore if so.
1217         * WebView/WebFrame.mm:
1218         (-[WebFrame _contentFilterDidHandleNavigationAction:]): Called ContentFilter::handleUnblockRequestAndDispatchIfSuccessful().
1219         If the unblock is successful, reload the main frame.
1220         * WebView/WebFrameInternal.h:
1221
1222 2014-07-17  David Kilzer  <ddkilzer@apple.com>
1223
1224         SECTORDER_FLAGS should be defined in target's xcconfig file, not Base.xcconfig
1225         <http://webkit.org/b/135006>
1226
1227         Reviewed by Darin Adler.
1228
1229         * Configurations/Base.xcconfig: Move SECTORDER_FLAGS to
1230         WebKitLegacy.xcconfig.
1231         * Configurations/DebugRelease.xcconfig: Remove empty
1232         SECTORDER_FLAGS definition.
1233         * Configurations/WebKit.xcconfig: Removed.  Unused.
1234         * Configurations/WebKitLegacy.xcconfig: Use $(CONFIGURATION) so
1235         SECTORDER_FLAGS is only set on Production builds.
1236
1237 2014-07-17  Timothy Hatcher  <timothy@apple.com>
1238
1239         Make console.profile record to the Timeline.
1240
1241         https://bugs.webkit.org/show_bug.cgi?id=134643
1242
1243         Reviewed by Joseph Pecoraro.
1244
1245         * WebInspector/WebInspector.mm:
1246         (-[WebInspector isProfilingJavaScript]):
1247         (-[WebInspector toggleProfilingJavaScript:]):
1248         (-[WebInspector startProfilingJavaScript:]):
1249         (-[WebInspector stopProfilingJavaScript:]):
1250         (-[WebInspector isJavaScriptProfilingEnabled]):
1251         (-[WebInspector setJavaScriptProfilingEnabled:]):
1252
1253 2014-07-16  David Kilzer  <ddkilzer@apple.com>
1254
1255         [iOS] Update order file paths for WebKit and WebKit2
1256         <http://webkit.org/b/134993>
1257         <rdar://problem/17557776>
1258
1259         Reviewed by Darin Adler.
1260
1261         * Configurations/Base.xcconfig: Rename WebKit.order to
1262         WebKitLegacy.order.
1263
1264 2014-07-16  Brady Eidson  <beidson@apple.com>
1265
1266         Add WebSecurityOrigin "webSecurityOriginFromDatabaseIdentifier" SPI and change _websiteDataURLForContainerWithURL: SPI
1267         <rdar://problem/17454712> and https://bugs.webkit.org/show_bug.cgi?id=134984
1268
1269         Reviewed by Dan Bernstein.
1270
1271         * WebCoreSupport/WebSecurityOrigin.mm:
1272         (+[WebSecurityOrigin webSecurityOriginFromDatabaseIdentifier:]): Added.
1273         (-[WebSecurityOrigin initWithURL:]): Update using RefPtr API to avoid a ref().
1274
1275 2014-07-15  Myles C. Maxfield  <mmaxfield@apple.com>
1276
1277         [OSX] [WK1] Crash when exiting fullscreen
1278         https://bugs.webkit.org/show_bug.cgi?id=134943
1279
1280         Reviewed by Dean Jackson.
1281
1282         AppKit doesn't remove a view from the Key View Loop when removing it from its superview.
1283
1284         This codepath is already "tested" in fullscreen/full-screen-cancel.html, but because of our
1285         testing infrastructure, the broken codepath doesn't actually get hit in DRT. Therefore,
1286         there is no test.
1287
1288         * WebView/WebFullScreenController.mm:
1289         (-[WebFullScreenController enterFullScreen:]):
1290
1291         * WebCoreSupport/WebSecurityOriginPrivate.h:
1292
1293 2014-07-14  Bear Travis  <betravis@adobe.com>
1294
1295         [Feature Queries] Enable Feature Queries on Mac
1296         https://bugs.webkit.org/show_bug.cgi?id=134404
1297
1298         Reviewed by Antti Koivisto.
1299
1300         Enable Feature Queries on Mac and resume running the
1301         feature tests.
1302
1303         * Configurations/FeatureDefines.xcconfig: Turn on
1304         ENABLE_CSS3_CONDITIONAL_RULES.
1305
1306 2014-07-11  Zalan Bujtas  <zalan@apple.com>
1307
1308         Subpixel layout: return integral results for offset*, client*, scroll* by default.
1309         https://bugs.webkit.org/show_bug.cgi?id=134651
1310
1311         Reviewed by Simon Fraser.
1312
1313         Revert to returning integral values for Element.offset* client* scroll* by default.
1314         Fractional values break number of sites(tight design) and JS frameworks(fail to handle fractional values).
1315
1316         Since snapped dimension depends on both the original point and the width/height of the box,
1317         we need to call RenderBoxModelObject::pixelSnapped*() helpers, instead of round().
1318
1319         Covered by existing tests
1320
1321         * WebView/WebPreferences.mm:
1322         (+[WebPreferences initialize]):
1323
1324 2014-07-10  Joseph Pecoraro  <pecoraro@apple.com>
1325
1326         [Mac] NSWindow warning: adding an unknown subview opening detached Inspector
1327         https://bugs.webkit.org/show_bug.cgi?id=134813
1328
1329         Reviewed by Timothy Hatcher.
1330
1331         * WebCoreSupport/WebInspectorClient.mm:
1332         (-[WebInspectorWindowController window]):
1333         Use a selector that will avoid the warning message.
1334
1335 2014-07-09  Ryosuke Niwa  <rniwa@webkit.org>
1336
1337         REGRESSION(r167770): Cannot login in Evernote Safari extension
1338         https://bugs.webkit.org/show_bug.cgi?id=134776
1339
1340         Reviewed by Enrica Casucci.
1341
1342         Unfortunately, NSWindowDidBecomeKeyNotification does not notify us when a popover becomes key
1343         so we need to keep using the SPI (_windowChangedKeyState) I removed in r167770.
1344
1345         * WebView/WebView.mm:
1346         (-[WebView _windowChangedKeyState]):
1347
1348 2014-07-09  Enrica Casucci  <enrica@apple.com>
1349
1350         Implement Editor::fontAttributesForSelectionStart() or iOS.
1351         https://bugs.webkit.org/show_bug.cgi?id=134771
1352         <rdar://problem/16167838>
1353
1354         Reviewed by Ryosuke Niwa.
1355
1356         * WebView/WebViewPrivate.h:
1357
1358 2014-07-08  Tim Horton  <timothy_horton@apple.com>
1359
1360         [WK2] Expose a few drawing/compositing settings on WKPreferences(Private)
1361         https://bugs.webkit.org/show_bug.cgi?id=134645
1362
1363         Reviewed by Dan Bernstein.
1364
1365         * WebView/WebPreferences.mm:
1366         (-[WebPreferences setSubpixelCSSOMElementMetricsEnabled:]):
1367         Remove an extra unnecessary space.
1368
1369 2014-07-03  Daniel Bates  <dabates@apple.com>
1370
1371         Add WTF::move()
1372         https://bugs.webkit.org/show_bug.cgi?id=134500
1373
1374         Rubber-stamped by Anders Carlsson.
1375
1376         Substitute WTF::move() for std::move().
1377
1378         * History/WebHistoryItem.mm:
1379         (-[WebHistoryItem initFromDictionaryRepresentation:]):
1380         * Plugins/Hosted/NetscapePluginInstanceProxy.h:
1381         (WebKit::NetscapePluginInstanceProxy::setCurrentReply):
1382         * Plugins/WebNetscapePluginView.mm:
1383         (-[WebNetscapePluginView scheduleTimerWithInterval:repeat:timerFunc:]):
1384         * WebCoreSupport/WebFrameLoaderClient.mm:
1385         (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
1386         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
1387         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1388         (WebFrameLoaderClient::dispatchWillSubmitForm):
1389         * WebCoreSupport/WebInspectorClient.mm:
1390         (WebInspectorClient::openInspectorFrontend):
1391         (WebInspectorFrontendClient::WebInspectorFrontendClient):
1392         * WebView/WebArchive.mm:
1393         (-[WebArchive initWithMainResource:subresources:subframeArchives:]):
1394
1395 2014-07-01  Mark Rowe  <mrowe@apple.com>
1396
1397         <https://webkit.org/b/134522> Remove duplication in code that prepares the user agent string on Mac and iOS
1398
1399         Reviewed by Simon Fraser.
1400
1401         * WebView/WebView.mm:
1402         (webKitBundleVersionString): Return the entire CFBundleVersion now that WebCore handles formatting it.
1403         (+[WebView _standardUserAgentWithApplicationName:]):
1404
1405 2014-07-02  Dan Bernstein  <mitz@apple.com>
1406
1407         Remove some code only needed for versions of Safari that are no longer supported
1408         https://bugs.webkit.org/show_bug.cgi?id=134537
1409
1410         Reviewed by Anders Carlsson.
1411
1412         * History/WebHistoryItem.mm:
1413         * Misc/WebKitVersionChecks.h:
1414         * WebCoreSupport/WebSecurityOrigin.mm:
1415         (-[WebSecurityOrigin domain]): Deleted.
1416         * WebInspector/WebInspector.mm:
1417         (-[WebInspector showTimeline:]): Deleted.
1418         (+[WebInspector webInspector]): Deleted.
1419         (-[WebInspector setWebFrame:]): Deleted.
1420         (-[WebInspector window]): Deleted.
1421         (-[WebInspector showWindow:]): Deleted.
1422         * WebView/WebFrame.mm:
1423         (-[WebFrame reload]):
1424         * WebView/WebPDFView.mm:
1425         (-[WebPDFView menuForEvent:]):
1426         (-[WebPDFView _anyPDFTagsFoundInMenu:]): Deleted.
1427         * WebView/WebView.mm:
1428         (-[WebView _initWithFrame:frameName:groupName:]):
1429         (-[WebView _preferencesChanged:]):
1430         (-[WebView initWithFrame:frameName:groupName:]):
1431         (-[WebView _initWithFrame:frameName:groupName:usesDocumentViews:]): Deleted.
1432         (+[WebView _setAlwaysUseATSU:]): Deleted.
1433         (-[WebView _needsUnrestrictedGetMatchedCSSRules]): Deleted.
1434         * WebView/WebViewPrivate.h:
1435
1436 2014-07-01  Dan Bernstein  <mitz@apple.com>
1437
1438         Remove WebChromeClient code that was only needed for Safari versions earlier than 3.1
1439         https://bugs.webkit.org/show_bug.cgi?id=134531
1440
1441         Reviewed by Daniel Bates.
1442
1443         * WebCoreSupport/WebChromeClient.mm:
1444         (WebChromeClient::exceededDatabaseQuota):
1445
1446 2014-06-29  Yoav Weiss  <yoav@yoav.ws>
1447
1448         Add support for HTMLImageElement's sizes attribute
1449         https://bugs.webkit.org/show_bug.cgi?id=133620
1450
1451         Reviewed by Dean Jackson.
1452
1453         Added an ENABLE_PICTURE_SIZES compile flag.
1454
1455         * Configurations/FeatureDefines.xcconfig:
1456
1457 2014-06-27  Sam Weinig  <sam@webkit.org>
1458
1459         InfoClick (from Nisus Software) dies on viewing found items
1460         <rdar://problem/17395601>
1461         https://bugs.webkit.org/show_bug.cgi?id=134410
1462
1463         Reviewed by Andy Estes.
1464
1465         InfoClick was calling -[WebPreferences setPrivateBrowsingEnabled:] before
1466         setting up a WebView (or anything else that would have set up WebKitSystemInterface),
1467         which now requires a set up WebKitSystemInterface. We can fix this by initializing
1468         it from +[WebPreferences initialize].
1469
1470         * WebView/WebPreferences.mm:
1471         (+[WebPreferences initialize]):
1472         Add call to InitWebCoreSystemInterface().
1473
1474         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]):
1475         Remove now unnecessary call to InitWebCoreSystemInterface().
1476
1477 2014-06-27  Peyton Randolph  <prandolph@apple.com>
1478
1479         Add feature flag for link long-press gesture.
1480         https://bugs.webkit.org/show_bug.cgi?id=134262
1481
1482         Reviewed by Enrica Casucci.
1483
1484         * Configurations/FeatureDefines.xcconfig:
1485         Add ENABLE_LINK_LONG_PRESS.
1486
1487 2014-06-26  Brady Eidson  <beidson@apple.com>
1488
1489         Remove use of PlatformStrategies for Gamepad API.
1490         https://bugs.webkit.org/show_bug.cgi?id=134348
1491
1492         Reviewed by Dean Jackson.
1493
1494         Remove all the GamepadStrategy gunk:
1495         * WebCoreSupport/WebHIDGamepadController.mm: Removed.
1496         * WebCoreSupport/WebPlatformStrategies.h:
1497         * WebCoreSupport/WebPlatformStrategies.mm:
1498         (WebPlatformStrategies::createGamepadStrategy): Deleted.
1499         (WebPlatformStrategies::startMonitoringGamepads): Deleted.
1500         (WebPlatformStrategies::stopMonitoringGamepads): Deleted.
1501         (WebPlatformStrategies::platformGamepads): Deleted.
1502
1503         Instead, install the HIDGamepadProvider as the shared GamepadProvider:
1504         * WebView/WebView.mm:
1505         (WebKitInitializeGamepadProviderIfNecessary):
1506         (-[WebView _commonInitializationWithFrameName:groupName:]):
1507
1508 2014-06-26  Joseph Pecoraro  <pecoraro@apple.com>
1509
1510         [iOS] Remove User Default for iOS TextField Debugging
1511         https://bugs.webkit.org/show_bug.cgi?id=134356
1512
1513         Reviewed by Timothy Hatcher.
1514
1515         * WebView/WebPreferenceKeysPrivate.h:
1516         * WebView/WebView.mm:
1517         (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
1518
1519 2014-06-25  Brady Eidson  <beidson@apple.com>
1520
1521         Add HID-based gamepad implementation for Mac
1522         https://bugs.webkit.org/show_bug.cgi?id=134324
1523
1524         Reviewed by Dean Jackson.
1525
1526         Add a class that acts as an intermediary between the GamepadStrategyClient
1527         and the HIDGamepadListener:
1528         * WebCoreSupport/WebHIDGamepadController.h:
1529         * WebCoreSupport/WebHIDGamepadController.mm:
1530         (WebHIDGamepadController::shared):
1531         (WebHIDGamepadController::WebHIDGamepadController):
1532         (WebHIDGamepadController::gamepadConnected):
1533         (WebHIDGamepadController::gamepadDisconnected):
1534         (WebHIDGamepadController::registerGamepadStrategyClient):
1535         (WebHIDGamepadController::unregisterGamepadStrategyClient):
1536
1537         Implement the strategies by using the HIDGamepadListener:
1538         * WebCoreSupport/WebPlatformStrategies.mm:
1539         (WebPlatformStrategies::startMonitoringGamepads):
1540         (WebPlatformStrategies::stopMonitoringGamepads):
1541         (WebPlatformStrategies::platformGamepads):
1542
1543 2014-06-25  Brady Eidson  <beidson@apple.com>
1544
1545         Add new platform gamepad abstractions
1546         https://bugs.webkit.org/show_bug.cgi?id=134325
1547
1548         Reviewed by Dean Jackson.
1549
1550         * WebCoreSupport/WebPlatformStrategies.h:
1551         * WebCoreSupport/WebPlatformStrategies.mm:
1552         (WebPlatformStrategies::createGamepadStrategy):
1553         (WebPlatformStrategies::startMonitoringGamepads):
1554         (WebPlatformStrategies::stopMonitoringGamepads):
1555         (WebPlatformStrategies::platformGamepads):
1556
1557 2014-06-25  Gavin Barraclough  <baraclough@apple.com>
1558
1559         Should _updateVisibilityState on view hide/unhide.
1560         https://bugs.webkit.org/show_bug.cgi?id=134314
1561         rdar://17171803
1562
1563         Reviewed by Sam Weinig.
1564
1565         * WebView/WebView.mm:
1566         (-[WebView viewDidHide]):
1567         (-[WebView viewDidUnhide]):
1568
1569 2014-06-25  Chris Fleizach  <cfleizach@apple.com>
1570
1571         Add an undo group for each dictated utterance in WebKit
1572         https://bugs.webkit.org/show_bug.cgi?id=134086
1573
1574         Reviewed by Enrica Casucci.
1575
1576         * WebView/WebHTMLView.mm:
1577         (-[WebHTMLView validAttributesForMarkedText]):
1578         (-[WebHTMLView insertText:]):
1579
1580 2014-06-25  Dana Burkart  <dburkart@apple.com>
1581
1582         Add support for 5-tuple versioning.
1583
1584         Reviewed by David Farler.
1585
1586         * Configurations/Version.xcconfig:
1587
1588 2014-06-25  Laszlo Gombos  <l.gombos@samsung.com>
1589
1590         Remove build guard for progress element
1591         https://bugs.webkit.org/show_bug.cgi?id=134292
1592
1593         Reviewed by Benjamin Poulain.
1594
1595         * Configurations/FeatureDefines.xcconfig:
1596
1597 2014-06-24  Benjamin Poulain  <bpoulain@apple.com>
1598
1599         WK1 WebFrameNetworkingContext cleanup: do not instanciate an empty NSString to create an empty WTF::String
1600         https://bugs.webkit.org/show_bug.cgi?id=134222
1601
1602         Reviewed by Andreas Kling.
1603
1604         * WebCoreSupport/WebFrameNetworkingContext.mm:
1605         (WebFrameNetworkingContext::sourceApplicationIdentifier):
1606
1607 2014-06-24  Joseph Pecoraro  <pecoraro@apple.com>
1608
1609         [iOS]: WK2 Inspector Node Highlighting
1610         https://bugs.webkit.org/show_bug.cgi?id=134257
1611
1612         Reviewed by Timothy Hatcher.
1613
1614         * WebInspector/WebNodeHighlightView.mm:
1615         (-[WebNodeHighlightView layoutSublayers:]):
1616
1617 2014-06-24  Brady Eidson  <beidson@apple.com>
1618
1619         Enable GAMEPAD in the Mac build, but disabled at runtime.
1620         https://bugs.webkit.org/show_bug.cgi?id=134255
1621
1622         Reviewed by Dean Jackson.
1623
1624         * Configurations/FeatureDefines.xcconfig:
1625
1626         * WebView/WebPreferenceKeysPrivate.h:
1627         * WebView/WebPreferences.mm:
1628         (-[WebPreferences gamepadsEnabled]):
1629         (-[WebPreferences setGamepadsEnabled:]):
1630         * WebView/WebPreferencesPrivate.h:
1631
1632         * WebView/WebView.mm:
1633         (-[WebView _preferencesChanged:]):
1634
1635 2014-06-24  Dan Bernstein  <mitz@apple.com>
1636
1637         Fixed the iOS build after r170358.
1638
1639         * WebView/WebView.mm:
1640         (kit):
1641
1642 2014-06-23  Anders Carlsson  <andersca@apple.com>
1643
1644         Remove unused history visit code from WebHistoryItem
1645         https://bugs.webkit.org/show_bug.cgi?id=134201
1646
1647         Reviewed by Sam Weinig.
1648
1649         * History/HistoryPropertyList.h:
1650         * History/HistoryPropertyList.mm:
1651         (HistoryPropertyListWriter::HistoryPropertyListWriter):
1652         (HistoryPropertyListWriter::writeHistoryItem):
1653         * History/WebHistory.mm:
1654         (-[WebHistoryPrivate visitedURL:withTitle:]):
1655         (-[WebHistoryPrivate addItem:discardDuplicate:]):
1656         (-[WebHistory _visitedURL:withTitle:method:wasFailure:]):
1657         (-[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:]): Deleted.
1658         (-[WebHistory _visitedURL:withTitle:method:wasFailure:increaseVisitCount:]): Deleted.
1659         * History/WebHistoryInternal.h:
1660         * History/WebHistoryItem.mm:
1661         (-[WebHistoryItem copyWithZone:]):
1662         (-[WebHistoryItem initFromDictionaryRepresentation:]):
1663         (-[WebHistoryItem _visitedWithTitle:]):
1664         (-[WebHistoryItem setVisitCount:]): Deleted.
1665         (-[WebHistoryItem _mergeAutoCompleteHints:]): Deleted.
1666         (-[WebHistoryItem _visitedWithTitle:increaseVisitCount:]): Deleted.
1667         (-[WebHistoryItem _recordInitialVisit]): Deleted.
1668         (timeToDay): Deleted.
1669         (-[WebHistoryItem _padDailyCountsForNewVisit:]): Deleted.
1670         (-[WebHistoryItem _collapseDailyVisitsToWeekly]): Deleted.
1671         (-[WebHistoryItem _recordVisitAtTime:increaseVisitCount:]): Deleted.
1672         (-[WebHistoryItem _setLastVisitedTimeInterval:]): Deleted.
1673         * History/WebHistoryItemInternal.h:
1674         * History/WebHistoryItemPrivate.h:
1675         * WebCoreSupport/WebFrameLoaderClient.mm:
1676         (WebFrameLoaderClient::updateGlobalHistory):
1677
1678 2014-06-24  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
1679
1680         REGRESSION(r170235): Remove incorrect ifdef guard
1681         https://bugs.webkit.org/show_bug.cgi?id=134246
1682
1683         Reviewed by Csaba Osztrogonác.
1684
1685         * WebView/WebView.mm:
1686         (-[WebView _visibilityState]):
1687
1688 2014-06-23  Anders Carlsson  <andersca@apple.com>
1689
1690         Fix build.
1691
1692         * WebCoreSupport/WebSystemInterface.mm:
1693         (InitWebCoreSystemInterface):
1694
1695 2014-06-21  Dan Bernstein  <mitz@apple.com>
1696
1697         Tried to fix the iOS build after r170235.
1698
1699         * WebView/WebView.mm:
1700
1701 2014-06-21  Brady Eidson  <beidson@apple.com>
1702
1703         Gamepad API - Deprecate the existing implementation
1704         https://bugs.webkit.org/show_bug.cgi?id=134108
1705
1706         Reviewed by Timothy Hatcher.
1707
1708         -Add new "GAMEPAD_DEPRECATED" build flag, moving the existing implementation to use it
1709         -Move some implementation files into a "deprecated" subdirectory.
1710
1711         * Configurations/FeatureDefines.xcconfig:
1712
1713 2014-06-21  Commit Queue  <commit-queue@webkit.org>
1714
1715         Unreviewed, rolling out r170244.
1716         https://bugs.webkit.org/show_bug.cgi?id=134157
1717
1718         GTK/EFL bindings generator works differently, making this
1719         patch not work there.  Will fix entire patch after a rollout.
1720         (Requested by bradee-oh on #webkit).
1721
1722         Reverted changeset:
1723
1724         "Gamepad API - Deprecate the existing implementation"
1725         https://bugs.webkit.org/show_bug.cgi?id=134108
1726         http://trac.webkit.org/changeset/170244
1727
1728 2014-06-21  Brady Eidson  <beidson@apple.com>
1729
1730         Gamepad API - Deprecate the existing implementation
1731         https://bugs.webkit.org/show_bug.cgi?id=134108
1732
1733         Reviewed by Timothy Hatcher.
1734
1735         -Add new "GAMEPAD_DEPRECATED" build flag, moving the existing implementation to use it
1736         -Add the "Deprecated" suffix to some implementation files
1737
1738         * Configurations/FeatureDefines.xcconfig:
1739
1740 2014-06-21  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
1741
1742         Removing PAGE_VISIBILITY_API compile guard.
1743         https://bugs.webkit.org/show_bug.cgi?id=133844
1744
1745         Reviewed by Gavin Barraclough.
1746
1747         * Configurations/FeatureDefines.xcconfig:
1748         * WebView/WebView.mm:
1749         (-[WebView _preferencesChanged:]):
1750         (-[WebView _visibilityState]):
1751
1752 2014-06-18  Anders Carlsson  <andersca@apple.com>
1753
1754         Make FrameLoadType a strongly typed enum
1755         https://bugs.webkit.org/show_bug.cgi?id=134047
1756
1757         Reviewed by Andreas Kling.
1758
1759         * WebView/WebFrame.mm:
1760         (toWebFrameLoadType):
1761         (-[WebFrame _loadType]):
1762         * WebView/WebView.mm:
1763         (-[WebView _loadBackForwardListFromOtherView:]):
1764         (-[WebView goToBackForwardItem:]):
1765
1766 2014-06-18  Daniel Bates  <dabates@apple.com>
1767
1768         REGRESSION (r167856): Unable to log into HSBC app
1769         https://bugs.webkit.org/show_bug.cgi?id=133991
1770         <rdar://problem/17044839>
1771
1772         Reviewed by David Kilzer.
1773
1774         Only enable the setting allowNavigationToInvalidURL for iOS app linked against WebKit/UIKit before iOS 8.
1775
1776         * Misc/WebKitVersionChecks.h: Added macro constant WEBKIT_FIRST_VERSION_WITH_NAVIGATION_URL_VALIDATION.
1777         * WebView/WebView.mm:
1778         (-[WebView _preferencesChanged:]): Enable or disable the setting allowNavigationToInvalidURL as appropriate.
1779
1780 2014-06-18  Anders Carlsson  <andersca@apple.com>
1781
1782         Adopt modern C++11 loops and fix WebArchive creation functions
1783         https://bugs.webkit.org/show_bug.cgi?id=134032
1784
1785         Reviewed by Andreas Kling.
1786
1787         * WebView/WebArchive.mm:
1788         (-[WebArchive initWithMainResource:subresources:subframeArchives:]):
1789         * WebView/WebDataSource.mm:
1790         (-[WebDataSource subresources]):
1791
1792 2014-06-15  Anders Carlsson  <andersca@apple.com>
1793
1794         Add an autorelease() member function to RetainPtr
1795         https://bugs.webkit.org/show_bug.cgi?id=133929
1796
1797         Reviewed by Dan Bernstein.
1798
1799         * WebView/WebDataSource.mm:
1800         (-[WebDataSource data]):
1801         * WebView/WebHTMLView.mm:
1802         (-[WebHTMLView _selectionDraggingImage]):
1803         (-[WebHTMLView selectionImageForcingBlackText:selectionImageForcingBlackText:]):
1804         * WebView/WebResource.mm:
1805         (-[WebResource data]):
1806
1807 2014-06-11  Jeremy Jones  <jeremyj@apple.com>
1808
1809         WebFrameNetworkContext should not have a sourceApplicationIdentifier in WK1.
1810         https://bugs.webkit.org/show_bug.cgi?id=133772
1811
1812         Reviewed by Jer Noble.
1813
1814         Return empty string from sourceApplicationIdentifier for WK1.
1815
1816         * WebCoreSupport/WebFrameNetworkingContext.mm:
1817         (WebFrameNetworkingContext::sourceApplicationIdentifier):
1818
1819 2014-06-10  Timothy Horton  <timothy_horton@apple.com>
1820
1821         Factor repeated CFRunLoopObserver code out
1822         https://bugs.webkit.org/show_bug.cgi?id=133690
1823
1824         Reviewed by Simon Fraser.
1825
1826         * WebView/WebViewData.h:
1827
1828 2014-06-05  Pratik Solanki  <psolanki@apple.com>
1829
1830         Remove unsused method _setAcceleratedImageDecoding
1831         https://bugs.webkit.org/show_bug.cgi?id=133554
1832
1833         Reviewed by Jon Honeycutt.
1834
1835         * WebView/WebView.mm:
1836         (+[WebView _setAcceleratedImageDecoding:]): Deleted.
1837         * WebView/WebViewPrivate.h:
1838
1839 2014-06-05  Benjamin Poulain  <bpoulain@apple.com>
1840
1841         [iOS][WK2] Add device orientation
1842         https://bugs.webkit.org/show_bug.cgi?id=133530
1843
1844         Reviewed by Tim Horton.
1845
1846         * WebView/WebFrame.mm:
1847         (-[WebFrame deviceOrientationChanged]):
1848         (-[WebFrame sendOrientationChangeEvent:]):
1849         * WebView/WebFramePrivate.h:
1850
1851 2014-05-31  Anders Carlsson  <andersca@apple.com>
1852
1853         Change DeferrableOneShotTimer to use std::function instead of being a class template
1854         https://bugs.webkit.org/show_bug.cgi?id=133423
1855
1856         Reviewed by Antti Koivisto.
1857
1858         * WebView/WebView.mm:
1859         (+[WebView _setCacheModel:]):
1860
1861 2014-05-27  Jon Lee  <jonlee@apple.com>
1862
1863         Update ENABLE(MEDIA_SOURCE) on Mac
1864         https://bugs.webkit.org/show_bug.cgi?id=133141
1865
1866         Reviewed by Darin Adler.
1867
1868         * Configurations/FeatureDefines.xcconfig:
1869
1870 2014-05-27  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
1871
1872         Remove BLOB guards
1873         https://bugs.webkit.org/show_bug.cgi?id=132863
1874
1875         Reviewed by Csaba Osztrogonác.
1876
1877         * Configurations/FeatureDefines.xcconfig:
1878         * WebView/WebView.mm:
1879         (+[WebView _canHandleRequest:forMainFrame:]):
1880
1881 2014-05-24  Chris Fleizach  <cfleizach@apple.com>
1882
1883         AX: fix coordinate mapping for iOS accessibility
1884         https://bugs.webkit.org/show_bug.cgi?id=133188
1885
1886         Reviewed by Sam Weinig.
1887
1888         * WebCoreSupport/WebChromeClient.h:
1889         * WebCoreSupport/WebChromeClient.mm:
1890         (WebChromeClient::accessibilityScreenToRootView):
1891         (WebChromeClient::rootViewToAccessibilityScreen):
1892
1893 2014-05-23  Jeremy Jones  <jeremyj@apple.com>
1894
1895         Hide fullscreen immediately when switching tabs.
1896         https://bugs.webkit.org/show_bug.cgi?id=133239
1897
1898         Reviewed by Eric Carlson.
1899
1900         Renamed a function to better describe it's new functionality.
1901
1902         * WebView/WebView.mm:
1903         (-[WebView viewDidMoveToWindow]):
1904         now calls: requestHideAndExitFullscreen
1905
1906 2014-05-20  Dean Jackson  <dino@apple.com>
1907
1908         [Mac] Allow popup menus to override default appearance
1909         https://bugs.webkit.org/show_bug.cgi?id=133129
1910
1911         Reviewed by Tim Horton.
1912
1913         Replace the call to wkPopupMenuWithSize with wkPopupMenu, now
1914         with extra parameters to indicate the control size and whether
1915         or not to draw the arrows at the end.
1916
1917         * WebCoreSupport/PopupMenuMac.mm:
1918         (PopupMenuMac::show):
1919
1920 2014-05-20  Eric Carlson  <eric.carlson@apple.com>
1921
1922         [Mac] do not deactivate an audio session that has running I/O
1923         https://bugs.webkit.org/show_bug.cgi?id=133127
1924
1925         Reviewed by Jer Noble.
1926
1927         * WebView/WebView.mm:
1928         (-[WebView _commonInitializationWithFrameName:groupName:]): Settings::setShouldManageAudioSession
1929             renamed to setShouldManageAudioSessionCategory, deal with it.
1930
1931 2014-05-19  Brady Eidson  <beidson@apple.com>
1932
1933         Use different AppKit API for image control menus.
1934         <rdar://problem/16807828> and https://bugs.webkit.org/show_bug.cgi?id=133087
1935
1936         Reviewed by Tim Horton.
1937
1938         For image control menus, use popUpMenuPositioningItem: instead of popUpContextMenu:
1939         
1940         * WebCoreSupport/WebContextMenuClient.h:
1941         * WebCoreSupport/WebContextMenuClient.mm:
1942         (WebContextMenuClient::contextMenuForEvent):
1943         (WebContextMenuClient::showContextMenu):
1944
1945 2014-05-19  Andy Estes  <aestes@apple.com>
1946
1947         Set WebKitSuppressesIncrementalRenderingKey to NO by default on both Mac and iOS
1948         https://bugs.webkit.org/show_bug.cgi?id=133073
1949
1950         Reviewed by Simon Fraser.
1951
1952         * WebView/WebPreferences.mm:
1953         (+[WebPreferences initialize]):
1954
1955 2014-05-18  Anders Carlsson  <andersca@apple.com>
1956
1957         Bring back two NSString category methods on iOS
1958         https://bugs.webkit.org/show_bug.cgi?id=133055
1959         <rdar://problem/16951983>
1960
1961         Reviewed by Adele Peterson.
1962
1963         * Misc/WebNSURLExtras.h:
1964         * Misc/WebNSURLExtras.mm:
1965         (-[NSString _webkit_unescapedQueryValue]):
1966         (-[NSString _webkit_queryKeysAndValues]):
1967
1968 2014-05-18  Rik Cabanier  <cabanier@adobe.com>
1969
1970         support for navigator.hardwareConcurrency
1971         https://bugs.webkit.org/show_bug.cgi?id=132588
1972
1973         Reviewed by Filip Pizlo.
1974
1975         * Configurations/FeatureDefines.xcconfig:
1976
1977 2014-05-17  Zalan Bujtas  <zalan@apple.com>
1978
1979         Subpixel rendering: Add subpixelCSSOMElementMetricsEnabled to WK1 WebPreferences.
1980         https://bugs.webkit.org/show_bug.cgi?id=133029
1981
1982         Reviewed by Simon Fraser.
1983
1984         To match the WK2 preferences API.
1985
1986         * WebView/WebPreferenceKeysPrivate.h:
1987         * WebView/WebPreferences.mm:
1988         (+[WebPreferences initialize]):
1989         (-[WebPreferences subpixelCSSOMElementMetricsEnabled]):
1990         (-[WebPreferences setSubpixelCSSOMElementMetricsEnabled:]):
1991         * WebView/WebPreferencesPrivate.h:
1992         * WebView/WebView.mm:
1993         (-[WebView _preferencesChanged:]):
1994
1995 2014-05-16  Simon Fraser  <simon.fraser@apple.com>
1996
1997         Remove "region-based columns" prefs
1998         https://bugs.webkit.org/show_bug.cgi?id=133006
1999         <rdar://problem/16945824>
2000
2001         Reviewed by Dave Hyatt.
2002
2003         Remove "region-based columns" prefs and related code, since this is only
2004         way to render columns now.
2005
2006         * WebView/WebPreferenceKeysPrivate.h:
2007         * WebView/WebPreferences.mm:
2008         (+[WebPreferences initialize]):
2009         (-[WebPreferences setRegionBasedColumnsEnabled:]): Deleted.
2010         (-[WebPreferences regionBasedColumnsEnabled]): Deleted.
2011         * WebView/WebPreferencesPrivate.h:
2012         * WebView/WebView.mm:
2013         (-[WebView _preferencesChanged:]):
2014
2015 2014-05-15  Brady Eidson  <beidson@apple.com>
2016
2017         Crash in [WebSharingServicePickerController clear]
2018         <rdar://problem/16879073> and https://bugs.webkit.org/show_bug.cgi?id=132968
2019
2020         Reviewed by Tim Horton.
2021
2022         * Misc/WebSharingServicePickerController.mm:
2023         (-[WebSharingServicePickerController clear]): Add a RetainPtr protector so this object
2024           isn’t dealloc’ed partway through.
2025
2026 2014-05-15  Simon Fraser  <simon.fraser@apple.com>
2027
2028         Initialize the WebKitRegionBasedColumnsEnabled pref on iOS WK1
2029         https://bugs.webkit.org/show_bug.cgi?id=132969
2030
2031         Reviewed by Dan Bernstein.
2032         
2033         Move this outside the #if !PLATFORM(IOS) block.
2034
2035         * WebView/WebPreferences.mm:
2036         (+[WebPreferences initialize]):
2037
2038 2014-05-15  Simon Fraser  <simon.fraser@apple.com>
2039
2040         Clean up -[WebView _preferencesChanged]
2041         https://bugs.webkit.org/show_bug.cgi?id=132967
2042
2043         Reviewed by Sam Weinig.
2044         
2045         -[WebView _preferencesChanged] was a horrible mess of #ifdefs. Clean this up by
2046         moving all the #if PLATFORM() code together, and moving all the feature-define related
2047         settings to the end.
2048         
2049         No behavior changes, checked by diffing the resulting Settings with and without
2050         the patch, on OS X and iOS.
2051
2052         * WebView/WebView.mm:
2053         (-[WebView _preferencesChanged:]):
2054
2055 2014-05-15  Alex Christensen  <achristensen@webkit.org>
2056
2057         Add pointer lock to features without enabling it.
2058         https://bugs.webkit.org/show_bug.cgi?id=132961
2059
2060         Reviewed by Sam Weinig.
2061
2062         * Configurations/FeatureDefines.xcconfig:
2063         Added ENABLE_POINTER_LOCK to list of features.
2064         * WebView/WebPDFView.mm:
2065         (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
2066         Added extra parameters needed when pointer lock is enabled.
2067
2068 2014-05-14  Brady Eidson  <beidson@apple.com>
2069
2070         Implement NSSharingServiceDelegate method "transitionImageForShareItem"
2071         <rdar://problem/16878020> and https://bugs.webkit.org/show_bug.cgi?id=132911
2072
2073         Reviewed by Tim Horton.
2074
2075         * Misc/WebSharingServicePickerController.mm:
2076         (-[WebSharingServicePickerController sharingService:transitionImageForShareItem:contentRect:]):
2077
2078         * WebCoreSupport/WebContextMenuClient.h:
2079         * WebCoreSupport/WebContextMenuClient.mm:
2080         (WebContextMenuClient::renderedImageForControlledImage): Paint the entire content rect for the controlled image
2081           into an ImageBuffer, then return the resulting NSImage. This only paints the image itself and not any
2082           overlapping content by setting the selection and appropriate painting mode.
2083
2084 2014-05-14  Brady Eidson  <beidson@apple.com>
2085
2086         sourceFrameOnScreenForShareItem: can be off by a pixel
2087         <rdar://problem/16878020> and https://bugs.webkit.org/show_bug.cgi?id=132911
2088
2089         Reviewed by Simon Fraser.
2090
2091         In a land of LayoutUnits and sub-pixel rendering, converting between IntRects and
2092         FloatRects can be error prone. So we now try to minimize such conversions.
2093
2094         * Misc/WebSharingServicePickerController.mm:
2095         (-[WebSharingServicePickerController sharingService:sourceFrameOnScreenForShareItem:]):
2096
2097         * WebCoreSupport/WebContextMenuClient.h:
2098         * WebCoreSupport/WebContextMenuClient.mm:
2099         (WebContextMenuClient::clientFloatRectForNode): Split this into a separate utility method
2100           as it will be shared with other code very soon. Instead of using absoluteBoundingBoxRect()
2101           which does lossy float->int conversions, try to keep things in terms of FloatRects as
2102           much as possible.
2103         (WebContextMenuClient::screenRectForHitTestNode): Call clientFloatRectForNode to get the
2104           FloatRect, then perform the lossy rounding conversion to an IntRect only once.
2105
2106 2014-05-14  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
2107
2108         Remove CSS_STICKY_POSITION guards
2109         https://bugs.webkit.org/show_bug.cgi?id=132676
2110
2111         Reviewed by Simon Fraser.
2112
2113         * Configurations/FeatureDefines.xcconfig:
2114
2115 2014-05-14  Antti Koivisto  <antti@apple.com>
2116
2117         GIF animations don't restart after scrolling with iOS WebKit1
2118         https://bugs.webkit.org/show_bug.cgi?id=132900
2119         <rdar://problem/16490858>
2120
2121         Reviewed by Andreas Kling.
2122
2123         * WebView/WebView.mm:
2124         (-[WebView _didFinishScrollingOrZooming]):
2125         
2126             Check if the animations need to be restarted after scrolling finishes.
2127
2128 2014-05-09  Joseph Pecoraro  <pecoraro@apple.com>
2129
2130         Web Inspector: Allow Remote Inspector to entitlement check UIProcess through WebProcess
2131         https://bugs.webkit.org/show_bug.cgi?id=132409
2132
2133         Reviewed by Timothy Hatcher.
2134
2135         Simplify the legacy iOS UIWebViewController case by passing on
2136         the host process pid and audit_token.
2137
2138         * WebView/WebView.mm:
2139         (-[WebView _setHostApplicationProcessIdentifier:auditToken:]):
2140         (-[WebView setHostApplicationBundleId:name:]): Deleted.
2141         (-[WebView hostApplicationBundleId]): Deleted.
2142         (-[WebView hostApplicationName]): Deleted.
2143         * WebView/WebViewData.h:
2144         * WebView/WebViewData.mm:
2145         (-[WebViewPrivate dealloc]):
2146         * WebView/WebViewPrivate.h:
2147
2148 2014-05-09  Benjamin Poulain  <benjamin@webkit.org>
2149
2150         [iOS] Switch geolocation to an explicit authorization query model
2151         https://bugs.webkit.org/show_bug.cgi?id=132717
2152
2153         Reviewed by Sam Weinig.
2154
2155         Since there is no warmup code, WebGeolocationPolicyListener no longer need to know about the provider,
2156         which is awesome :)
2157
2158         * WebCoreSupport/WebGeolocationClient.mm:
2159         (-[WebGeolocationPolicyListener initWithGeolocation:forWebView:]):
2160         (-[WebGeolocationPolicyListener deny]):
2161         (-[WebGeolocationProviderInitializationListener initializationAllowedWebView:]):
2162         (-[WebGeolocationProviderInitializationListener initializationDeniedWebView:]):
2163         (-[WebGeolocationPolicyListener initWithGeolocation:forWebView:provider:]): Deleted.
2164         (-[WebGeolocationProviderInitializationListener initializationAllowedWebView:provider:]): Deleted.
2165         (-[WebGeolocationProviderInitializationListener initializationDeniedWebView:provider:]): Deleted.
2166         * WebView/WebViewPrivate.h:
2167
2168 2014-05-08  Jer Noble  <jer.noble@apple.com>
2169
2170         [Mac, iOS] Add source application accounting to AVURLAsset.
2171         https://bugs.webkit.org/show_bug.cgi?id=132637
2172
2173         Reviewed by Eric Carlson.
2174
2175         Add accessor for sourceApplicationIdentifier.
2176
2177         * WebCoreSupport/WebFrameNetworkingContext.h:
2178         * WebCoreSupport/WebFrameNetworkingContext.mm:
2179         (WebFrameNetworkingContext::sourceApplicationIdentifier):
2180
2181 2014-05-08  Anders Carlsson  <andersca@apple.com>
2182
2183         Use a different install name for WebKitLegacy.framework for staged framework builds
2184         https://bugs.webkit.org/show_bug.cgi?id=132711
2185         <rdar://problem/16850620>
2186
2187         Reviewed by Dan Bernstein.
2188
2189         * Configurations/WebKitLegacy.xcconfig:
2190
2191 2014-05-08  Brady Eidson  <beidson@apple.com>
2192
2193         Wrap a new class definition with __has_include()
2194         <rdar://problem/16852395> and https://bugs.webkit.org/show_bug.cgi?id=132694
2195
2196         Reviewed by Tim Horton.
2197
2198         * Misc/WebSharingServicePickerController.mm:
2199
2200 2014-05-07  Pratik Solanki  <psolanki@apple.com>
2201
2202         Use system defaults for hardware jpeg decoding
2203         https://bugs.webkit.org/show_bug.cgi?id=132661
2204         <rdar://problem/11348201>
2205
2206         Reviewed by Tim Horton.
2207
2208         Remove code that explicitly disabled hardware image decoding. Let the system decide what to do.
2209
2210         * WebView/WebView.mm:
2211         (+[WebView _setAcceleratedImageDecoding:]):
2212         (+[WebView _acceleratedImageDecoding]): Deleted.
2213         * WebView/WebViewPrivate.h:
2214
2215 2014-05-07  Brent Fulgham  <bfulgham@apple.com>
2216
2217         [Mac, iOS] REGRESSION: WK2 YouTube support
2218         https://bugs.webkit.org/show_bug.cgi?id=132568
2219         <rdar://problem/11464344>
2220
2221         Reviewed by Darin Adler.
2222
2223         * Misc/WebNSURLExtras.h:
2224         * Misc/WebNSURLExtras.mm: Remove code that has been converted to C++
2225         and added to YouTubePluginReplacement.cpp.
2226         (-[NSURL _webkit_youTubeURL]):
2227         (-[NSString _webkit_queryKeysAndValues]):
2228         (createYouTubeURL): Deleted.
2229         (-[NSString _webkit_unescapedQueryValue]): Deleted.
2230
2231 2014-05-07  Jeremy Jones  <jeremyj@apple.com>
2232
2233         HTMLMediaElement should exitFullscreen when view is removed from the window.
2234         https://bugs.webkit.org/show_bug.cgi?id=132506
2235
2236         Reviewed by Tim Horton.
2237
2238         * WebView/WebView.mm:
2239         (-[WebView viewDidMoveToWindow]):
2240         Request WebVideoFullscreenController to exitFullscreen when view is removed from the window.
2241
2242 2014-05-07  Brady Eidson  <beidson@apple.com>
2243
2244         Image menu is offset by the amount the view is scrolled
2245         <rdar://problem/16818966> and https://bugs.webkit.org/show_bug.cgi?id=132663
2246
2247         Reviewed by Tim Horton.
2248
2249         * WebCoreSupport/WebContextMenuClient.mm:
2250         (WebContextMenuClient::showContextMenu): Use FrameView::contentsToWindow instead of contentsToRoot, 
2251           and skip the [NSView convertPoint:toView:] step.
2252
2253 2014-05-07  Simon Fraser  <simon.fraser@apple.com>
2254
2255         WebKit1 is flashy when compositing layers come and go
2256         https://bugs.webkit.org/show_bug.cgi?id=132655
2257
2258         Reviewed by Sam Weinig.
2259         
2260         In r166117 I removed code to flush compositing layers in FrameView::paintContents(),
2261         which caused problems when painting iframes. However, this removed a flush
2262         that WebKit1 relied on to flush compositing layers when painting, which caused
2263         flashing when compositing layers come and go, and broke WebView snapshotting
2264         in some cases.
2265         
2266         Fix by adding back compositing layer flushing, but this time in WebKit1's
2267         -viewWillDraw code path. This allows removal of some flushing in DumpRenderTree.
2268
2269         * WebView/WebHTMLView.mm:
2270         (-[WebHTMLView viewWillDraw]):
2271         * WebView/WebView.mm:
2272         (-[WebView _flushCompositingChanges]):
2273         * WebView/WebViewInternal.h:
2274         * WebView/WebViewPrivate.h:
2275
2276 2014-05-07  Manuel Rego Casasnovas  <rego@igalia.com>
2277
2278         [CSS Grid Layout] Remove runtime feature
2279         https://bugs.webkit.org/show_bug.cgi?id=132382
2280
2281         Reviewed by Benjamin Poulain.
2282
2283         Remove cssGridLayoutEnabled setting usage.
2284
2285         * WebKit.order:
2286         * WebView/WebPreferenceKeysPrivate.h:
2287         * WebView/WebPreferences.mm:
2288         (+[WebPreferences initialize]):
2289         (-[WebPreferences cssGridLayoutEnabled]): Deleted.
2290         (-[WebPreferences setCSSGridLayoutEnabled:]): Deleted.
2291         * WebView/WebPreferencesPrivate.h:
2292         * WebView/WebView.mm:
2293         (-[WebView _preferencesChanged:]):
2294
2295 2014-05-06  Dean Jackson  <dino@apple.com>
2296
2297         [Mac] Allow focus rings to redraw themselves if necessary
2298         https://bugs.webkit.org/show_bug.cgi?id=132593
2299
2300         Reviewed by Simon Fraser.
2301
2302         * WebCoreSupport/WebSystemInterface.mm:
2303         (InitWebCoreSystemInterface): Add DrawFocusRingAtTime and DrawCellFocusRingWithFrameAtTime.
2304
2305 2014-05-06  Brady Eidson  <beidson@apple.com>
2306
2307         Don't select an image that is about to have its menu shown.
2308         <rdar://problem/16807845> and https://bugs.webkit.org/show_bug.cgi?id=132579
2309
2310         Reviewed by Tim Horton.
2311
2312         * Misc/WebSharingServicePickerController.mm:
2313         (-[WebSharingServicePickerController didShareImageData:confirmDataIsValidTIFFData:]):
2314           Call the new replaceNodeFromPasteboard API instead of readSelectionFromPasteboard.
2315
2316 2014-05-06  Anders Carlsson  <andersca@apple.com>
2317
2318         Move the WebKitLegacy header check to the right file
2319         https://bugs.webkit.org/show_bug.cgi?id=132620
2320         <rdar://problem/16815716>
2321
2322         Reviewed by Dan Bernstein.
2323
2324         * WebKitLegacy/MigrateHeadersFromWebKitLegacy.make:
2325         * WebKitLegacy/WebKit.h:
2326
2327 2014-05-06  Anders Carlsson  <andersca@apple.com>
2328
2329         Put WebKitPluginHost.app in WebKitLegacy.framework
2330         https://bugs.webkit.org/show_bug.cgi?id=132592
2331         <rdar://problem/15920046>
2332
2333         Reviewed by Dan Bernstein.
2334
2335         * Plugins/Hosted/NetscapePluginHostManager.mm:
2336         (WebKit::NetscapePluginHostManager::spawnPluginHost):
2337
2338 2014-05-06  Darin Adler  <darin@apple.com>
2339
2340         [iOS] Fix two more AdoptCF I missed in my last patch.
2341
2342         * WebView/WebHTMLView.mm:
2343         (imageFromRect): Use adoptCF instead of AdoptCF.
2344
2345 2014-05-05  Andreas Kling  <akling@apple.com>
2346
2347         Unreviewed, rolling out r168334.
2348
2349         Broke builds.
2350
2351         Reverted changeset:
2352
2353         "Put WebKitPluginHost.app in WebKitLegacy.framework"
2354         https://bugs.webkit.org/show_bug.cgi?id=132592
2355         http://trac.webkit.org/changeset/168334
2356
2357 2014-05-05  Anders Carlsson  <andersca@apple.com>
2358
2359         Put WebKitPluginHost.app in WebKitLegacy.framework
2360         https://bugs.webkit.org/show_bug.cgi?id=132592
2361         <rdar://problem/15920046>
2362
2363         Reviewed by Dan Bernstein.
2364
2365         * Plugins/Hosted/NetscapePluginHostManager.mm:
2366         (WebKit::NetscapePluginHostManager::spawnPluginHost):
2367
2368 2014-05-02  Brady Eidson  <beidson@apple.com>
2369
2370         Implement new delegate method -sharingService:sourceFrameOnScreenForShareItem:.
2371         <rdar://problem/16797425> and https://bugs.webkit.org/show_bug.cgi?id=132484
2372
2373         Reviewed by Tim Horton.
2374
2375         * Misc/WebSharingServicePickerController.mm:
2376         (-[WebSharingServicePickerController sharingService:sourceFrameOnScreenForShareItem:]):
2377
2378         * WebCoreSupport/WebContextMenuClient.h:
2379         * WebCoreSupport/WebContextMenuClient.mm:
2380         (WebContextMenuClient::screenRectForHitTestNode):
2381
2382 2014-05-02  Brady Eidson  <beidson@apple.com>
2383
2384         Crash inside [WebSharingServicePickerController clear]
2385         <rdar://problem/16791944> and https://bugs.webkit.org/show_bug.cgi?id=132477
2386
2387         Reviewed by Tim Horton.
2388
2389         * Misc/WebSharingServicePickerController.h:
2390         * Misc/WebSharingServicePickerController.mm:
2391         (-[WebSharingServicePickerController clear]): clear can be called twice, so null check _menuClient.
2392
2393         * WebCoreSupport/WebContextMenuClient.h:
2394         * WebCoreSupport/WebContextMenuClient.mm:
2395         (WebContextMenuClient::~WebContextMenuClient): For a sanity check, call clear on the picker here.
2396
2397 2014-05-01  Tim Horton  <timothy_horton@apple.com>
2398
2399         More 32-bit build fixes.
2400
2401         * Misc/WebSharingServicePickerController.mm:
2402         (-[WebSharingServicePickerController sharingService:didShareItems:]):
2403
2404 2014-05-01  Tim Horton  <timothy_horton@apple.com>
2405
2406         Temporarily "fix" the 32-bit build.
2407
2408         * Misc/WebSharingServicePickerController.mm:
2409         This will fail miserably at runtime, but we shouldn't ever get here in a 32-bit process.
2410
2411 2014-05-01  Brady Eidson  <beidson@apple.com>
2412
2413         Update service picker API usage.
2414         <rdar://problem/16772674> and https://bugs.webkit.org/show_bug.cgi?id=132452
2415
2416         Reviewed by Tim Horton.
2417
2418         * Misc/WebSharingServicePickerController.h:
2419         * Misc/WebSharingServicePickerController.mm:
2420         (-[WebSharingServicePickerController didShareImageData:confirmDataIsValidTIFFData:]):
2421           Factor out a common "didShare" handler that optionally validates whether the data represents an image.
2422         (-[WebSharingServicePickerController sharingService:didShareItems:]): Update API usage, including marshalling
2423           on off-main thread call back to the main thread.
2424
2425         * WebCoreSupport/WebContextMenuClient.mm:
2426         (WebContextMenuClient::contextMenuForEvent): Update API usage.
2427
2428 2014-05-01  Anders Carlsson  <andersca@apple.com>
2429
2430         Support OS-version-specific install paths for WebKit.framework
2431         https://bugs.webkit.org/show_bug.cgi?id=132448
2432         <rdar://problem/16784932>
2433
2434         Reviewed by Dan Bernstein.
2435
2436         * WebKitLegacy/WebKit.m:
2437         Add version specific install names.
2438
2439 2014-04-30  Alexey Proskuryakov  <ap@apple.com>
2440
2441         Roll out fix for https://bugs.webkit.org/show_bug.cgi?id=131637:
2442         Clean up unnecessary methods in the BackForwardClient interface
2443
2444         It broke a regression test and an API test.
2445
2446         * History/WebBackForwardList.mm:
2447         (-[WebBackForwardList initWithBackForwardList:]):
2448         (-[WebBackForwardList init]):
2449         (-[WebBackForwardList dealloc]):
2450         (-[WebBackForwardList finalize]):
2451         (-[WebBackForwardList setPageCacheSize:]):
2452         (-[WebBackForwardList pageCacheSize]):
2453         * History/WebBackForwardListInternal.h:
2454         * WebCoreSupport/WebFrameLoaderClient.mm:
2455         (WebFrameLoaderClient::canCachePage):
2456         * WebView/WebFrameView.mm:
2457         (-[WebFrameView keyDown:keyDown:]):
2458         * WebView/WebView.mm:
2459         (-[WebView _loadBackForwardListFromOtherView:]):
2460         (-[WebView initWithCoder:]):
2461         (-[WebView encodeWithCoder:]):
2462         (-[WebView backForwardList]):
2463         (-[WebView setMaintainsBackForwardList:]):
2464
2465 2014-04-30  Simon Fraser  <simon.fraser@apple.com>
2466
2467         Remove ENABLE_PLUGIN_PROXY_FOR_VIDEO
2468         https://bugs.webkit.org/show_bug.cgi?id=132396
2469
2470         Reviewed by Eric Carlson.
2471
2472         Remove ENABLE_PLUGIN_PROXY_FOR_VIDEO and related code.
2473
2474         * Configurations/FeatureDefines.xcconfig:
2475         * Plugins/WebPluginContainerPrivate.h:
2476         * Plugins/WebPluginController.h:
2477         * Plugins/WebPluginController.mm:
2478         (-[WebPluginController dealloc]):
2479         (-[WebPluginController plugInsAreRunning]):
2480         (-[WebPluginController stopAllPlugins]):
2481         (-[WebPluginController stopPluginsForPageCache]):
2482         (-[WebPluginController restorePluginsFromCache]):
2483         (-[WebPluginController addPlugin:]):
2484         (-[WebPluginController destroyPlugin:]):
2485         (-[WebPluginController destroyAllPlugins]):
2486         (-[NSView isMediaPlugInProxyView]): Deleted.
2487         (-[NSView setIsMediaPlugInProxyView:]): Deleted.
2488         (-[WebPluginController mediaPlugInProxyViewCreated:]): Deleted.
2489         (+[WebPluginController pluginViewHidden:]): Deleted.
2490         (mediaProxyClient): Deleted.
2491         (-[WebPluginController _webPluginContainerSetMediaPlayerProxy:forElement:]): Deleted.
2492         (-[WebPluginController _webPluginContainerPostMediaPlayerNotification:forElement:]): Deleted.
2493         * WebCoreSupport/WebFrameLoaderClient.h:
2494         * WebCoreSupport/WebFrameLoaderClient.mm:
2495         (pluginView):
2496         * WebView/WebView.mm:
2497         (-[WebView _preferencesChanged:]):
2498         (-[WebView _videoProxyPluginForMIMEType:]): Deleted.
2499         * WebView/WebViewInternal.h:
2500
2501 2014-04-30  Anders Carlsson  <andersca@apple.com>
2502
2503         Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
2504         https://bugs.webkit.org/show_bug.cgi?id=132399
2505         <rdar://problem/15920046>
2506
2507         Reviewed by Dan Bernstein.
2508
2509         * Carbon/CarbonUtils.h:
2510         * Carbon/HIViewAdapter.h:
2511         * Carbon/HIWebView.h:
2512         Import WebKitLegacy headers instead of WebKit headers.
2513
2514         * Configurations/WebKit.xcconfig:
2515         Move the definitions needed for building WebKitLegacy.framework to WebKitLegacy.xcconfig and
2516         add the relevant definitions needed for re-exporting WebKitLegacy.framework.
2517
2518         * Configurations/WebKitLegacy.xcconfig:
2519         Add definitions needed for building the "old" WebKit API as WebKitLegacy.framework.
2520
2521         * DOM/WebDOMOperations.h:
2522         * DOM/WebDOMOperations.mm:
2523         * DOM/WebDOMOperationsInternal.h:
2524         * DOM/WebDOMOperationsPrivate.h:
2525         * DefaultDelegates/WebDefaultContextMenuDelegate.h:
2526         * DefaultDelegates/WebDefaultContextMenuDelegate.mm:
2527         * DefaultDelegates/WebDefaultEditingDelegate.m:
2528         * History/WebBackForwardListInternal.h:
2529         * History/WebBackForwardListPrivate.h:
2530         * History/WebHistoryItemPrivate.h:
2531         * History/WebHistoryPrivate.h:
2532         * History/WebURLsWithTitles.m:
2533         Import WebKitLegacy headers instead of WebKit headers.
2534
2535         * MigrateHeaders.make:
2536         Update header paths now that all WebKitLegacy headers are private.
2537         Remove migration of WebKit2 headers, that is done by MigrateHeadersFromWebKitLegacy.make now.
2538         
2539         * Misc/WebCoreStatistics.h:
2540         * Misc/WebDownload.h:
2541         * Misc/WebDownload.mm:
2542         * Misc/WebDownloadInternal.h:
2543         * Misc/WebElementDictionary.mm:
2544         * Misc/WebIconDatabasePrivate.h:
2545         * Misc/WebKit.h:
2546         * Misc/WebKitErrors.m:
2547         * Misc/WebKitErrorsPrivate.h:
2548         * Misc/WebKitNSStringExtras.mm:
2549         * Misc/WebLocalizableStrings.mm:
2550         * Misc/WebNSDataExtras.m:
2551         * Misc/WebNSDictionaryExtras.m:
2552         * Misc/WebNSEventExtras.m:
2553         * Misc/WebNSFileManagerExtras.mm:
2554         * Misc/WebNSImageExtras.m:
2555         * Misc/WebNSPasteboardExtras.mm:
2556         * Misc/WebNSViewExtras.h:
2557         * Misc/WebNSViewExtras.m:
2558         * Panels/WebAuthenticationPanel.m:
2559         * Panels/WebPanelAuthenticationHandler.m:
2560         * Plugins/Hosted/HostedNetscapePluginStream.h:
2561         * Plugins/Hosted/NetscapePluginInstanceProxy.h:
2562         * Plugins/Hosted/WebKitPluginAgent.defs:
2563         * Plugins/Hosted/WebKitPluginAgentReply.defs:
2564         * Plugins/Hosted/WebKitPluginClient.defs:
2565         * Plugins/Hosted/WebKitPluginHost.defs:
2566         * Plugins/Hosted/WebKitPluginHostTypes.defs:
2567         * Plugins/WebBaseNetscapePluginView.mm:
2568         * Plugins/WebBasePluginPackage.h:
2569         * Plugins/WebBasePluginPackage.mm:
2570         * Plugins/WebNetscapeContainerCheckPrivate.h:
2571         * Plugins/WebNetscapePluginEventHandlerCocoa.h:
2572         * Plugins/WebNetscapePluginStream.h:
2573         * Plugins/WebNetscapePluginView.h:
2574         * Plugins/WebNetscapePluginView.mm:
2575         * Plugins/WebPlugin.h:
2576         * Plugins/WebPluginController.h:
2577         * Plugins/WebPluginDatabase.h:
2578         * Plugins/WebPluginPackage.h:
2579         * Plugins/WebPluginPackage.mm:
2580         * Plugins/WebPluginViewFactory.h:
2581         * Plugins/WebPluginViewFactoryPrivate.h:
2582         * Plugins/npapi.mm:
2583         * Storage/WebDatabaseManagerPrivate.h:
2584         * WebCoreSupport/WebContextMenuClient.mm:
2585         * WebCoreSupport/WebFrameLoaderClient.mm:
2586         * WebCoreSupport/WebFrameNetworkingContext.mm:
2587         * WebCoreSupport/WebGeolocationClient.mm:
2588         * WebCoreSupport/WebInspectorClient.mm:
2589         * WebCoreSupport/WebJavaScriptTextInputPanel.m:
2590         * WebCoreSupport/WebKeyGenerator.mm:
2591         * WebInspector/WebInspectorPrivate.h:
2592         * WebInspector/WebNodeHighlight.h:
2593         * WebInspector/WebNodeHighlightView.h:
2594         Import WebKitLegacy headers instead of WebKit headers.
2595         
2596         * WebKitLegacy/MigrateHeadersFromWebKitLegacy.make: Added.
2597         New makefile that handles copying WebKitLegacy headers to the WebKit framework, rewriting WebKitLegacy
2598         imports to WebKit imports. (On iOS the WebKit headers just forward to the relevant WebKitLegacy headers).
2599         On OS X, this also handles copying WebKit2 headers to the WebKit framework, rewriting WebKit2 imports to WebKit imports
2600         and getting rid of C SPI imports.
2601         
2602         * WebKitLegacy/MigrateHeadersToLegacy.make: Removed.
2603         This is no longer needed.
2604         
2605         * WebKitLegacy/WebKit.h: Added.
2606         New umbrella header that imports the modern API if available, as well as the legacy API (using WebKit/WebKitLegacy.h).
2607
2608         * WebKitLegacy/WebKit.m:
2609         This is an empty file so we'll have something to link.
2610
2611         * WebKitLegacy/WebKitPrivate.h:
2612         New SPI header that imports the private headers of the modern API.
2613
2614         * WebView/WebDataSource.h:
2615         * WebView/WebDataSource.mm:
2616         * WebView/WebDataSourcePrivate.h:
2617         * WebView/WebDelegateImplementationCaching.h:
2618         * WebView/WebDocument.h:
2619         * WebView/WebDocumentInternal.h:
2620         * WebView/WebDocumentPrivate.h:
2621         * WebView/WebEditingDelegate.h:
2622         * WebView/WebEditingDelegatePrivate.h:
2623         * WebView/WebFrameLoadDelegate.h:
2624         * WebView/WebFrameLoadDelegatePrivate.h:
2625         * WebView/WebFramePrivate.h:
2626         * WebView/WebFrameView.h:
2627         * WebView/WebFrameViewInternal.h:
2628         * WebView/WebFrameViewPrivate.h:
2629         * WebView/WebHTMLRepresentation.h:
2630         * WebView/WebHTMLRepresentation.mm:
2631         * WebView/WebHTMLRepresentationPrivate.h:
2632         * WebView/WebHTMLView.h:
2633         * WebView/WebHTMLView.mm:
2634         * WebView/WebHTMLViewPrivate.h:
2635         * WebView/WebPDFView.h:
2636         * WebView/WebPolicyDelegatePrivate.h:
2637         * WebView/WebPreferencesPrivate.h:
2638         * WebView/WebResourcePrivate.h:
2639         * WebView/WebUIDelegate.h:
2640         * WebView/WebUIDelegatePrivate.h:
2641         * WebView/WebView.h:
2642         * WebView/WebView.mm:
2643         * WebView/WebViewPrivate.h:
2644         Import WebKitLegacy headers instead of WebKit headers.
2645
2646         * migrate-headers.sh:
2647         Derived sources are put in DerivedSources/WebKitLegacy now.
2648
2649 2014-04-30  David Hyatt  <hyatt@apple.com>
2650
2651         [New Multicolumn] Enable new multi-column mode
2652         https://bugs.webkit.org/show_bug.cgi?id=131825
2653
2654         Reviewed by Simon Fraser.
2655
2656         * WebView/WebPreferences.mm:
2657         (+[WebPreferences initialize]):
2658
2659 2014-04-30  Brian J. Burg  <burg@cs.washington.edu>
2660
2661         Clean up unnecessary methods in the BackForwardClient interface
2662         https://bugs.webkit.org/show_bug.cgi?id=131637
2663
2664         Reviewed by Andreas Kling.
2665
2666         BackForwardClient instances now have ownership lifetime semantics, so
2667         WebBackForwardList now explicitly deletes its inner BackForwardList.
2668
2669         Convert uses of WebCore::BackForwardList through backForward().client() to
2670         accept references instead of pointers.
2671
2672         Use BackForwardController methods rather than directly operating with the
2673         BackForwardClient where possible.
2674
2675         Remove page cache-related methods that are not used anywhere and that call
2676         BackForwardClient::page(), which is removed by this change.
2677
2678         * History/WebBackForwardList.mm:
2679         (-[WebBackForwardList initWithBackForwardList:]):
2680         (-[WebBackForwardList init]):
2681         (-[WebBackForwardList dealloc]):
2682         (-[WebBackForwardList finalize]):
2683         (-[WebBackForwardList setPageCacheSize]): Deleted.
2684         (-[WebBackForwardList pageCacheSize]): Deleted.
2685         (-[WebBackForwardList itemAtIndex:]): Deleted.
2686         * History/WebBackForwardListInternal.h:
2687         * WebCoreSupport/WebFrameLoaderClient.mm:
2688         (WebFrameLoaderClient::canCachePage):
2689         * WebView/WebFrameView.mm:
2690         (-[WebFrameView keyDown:keyDown:]):
2691         * WebView/WebView.mm:
2692         (-[WebView _loadBackForwardListFromOtherView:]):
2693         (-[WebView initWithCoder:]):
2694         (-[WebView encodeWithCoder:]):
2695         (-[WebView backForwardList]):
2696         (-[WebView setMaintainsBackForwardList:]):
2697
2698 2014-04-29  Sam Weinig  <sam@webkit.org>
2699
2700         [iOS] -[WebHTMLView selectionImageForcingBlackText:] returns blank image on iOS
2701         https://bugs.webkit.org/show_bug.cgi?id=132359
2702
2703         Reviewed by Darin Adler.
2704
2705         * WebView/WebHTMLView.mm:
2706         (imageFromRect):
2707         (selectionImage):
2708         (-[WebHTMLView selectionImageForcingBlackText:selectionImageForcingBlackText:]):
2709         Bring back the old FrameSnapshottingMac code for drawing the selection image as drag code for this
2710         is still unimplemented on iOS.
2711
2712         * WebView/WebView.mm:
2713         (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
2714         Set the page scale for "simple HTML documents" (this is already done for the all other documents), 
2715         to ensure that the snapshot is the correct size.
2716
2717 2014-04-30  Manuel Rego Casasnovas  <rego@igalia.com>
2718
2719         [CSS Grid Layout] Enable runtime feature by default
2720         https://bugs.webkit.org/show_bug.cgi?id=132189
2721
2722         Reviewed by Benjamin Poulain.
2723
2724         * WebView/WebPreferences.mm:
2725         (+[WebPreferences initialize]): Remove unneeded changes that
2726         enable/disable the runtime feature depending on the compilation flag.
2727         And set it to true by default.
2728
2729 2014-04-29  Filip Pizlo  <fpizlo@apple.com>
2730
2731         Use LLVM as a backend for the fourth-tier DFG JIT (a.k.a. the FTL JIT)
2732         https://bugs.webkit.org/show_bug.cgi?id=112840
2733
2734         Rubber stamped by Geoffrey Garen.
2735
2736         * Configurations/FeatureDefines.xcconfig:
2737
2738 2014-04-29  Brady Eidson  <beidson@apple.com>
2739
2740         Change Image Controls replacement to use selection and paste
2741         <rdar://problem/16302722> and https://bugs.webkit.org/show_bug.cgi?id=131992
2742
2743         Reviewed by Tim Horton.
2744
2745         * Misc/WebSharingServicePickerController.mm:
2746         (-[WebSharingServicePickerController sharingService:didShareItems:]): Write the
2747           replacement data to a special pasteboard, then replace the current selection from
2748           that pasteboard.
2749
2750 2014-04-27  Sam Weinig  <sam@webkit.org>
2751
2752         [iOS WebKit2] Add support for text autosizing
2753         <rdar://problem/16545245>
2754         https://bugs.webkit.org/show_bug.cgi?id=132237
2755
2756         Reviewed by Tim Horton.
2757
2758         * WebView/WebFrame.mm:
2759         (-[WebFrame _setTextAutosizingWidth:]):
2760         Forward setting of the text autosizing width to the Page.
2761
2762 2014-04-25  Dean Jackson  <dino@apple.com>
2763
2764         Allow a platform-specific size enumeration to be passed into popup-menu display
2765         https://bugs.webkit.org/show_bug.cgi?id=132195
2766
2767         Reviewed by Brent Fulgham. With some in-person review comments from Sam Weinig.
2768
2769         Platforms like OS X use a set of predefined sizes for built-in controls
2770         used for <select>: normal, small and mini. Expose that information to
2771         the PopupMenuClient via the PopupMenuStyle, allowing it to be passed
2772         into the platform code in WebKitSystemInterface.
2773
2774         * WebCoreSupport/PopupMenuMac.mm:
2775         (PopupMenuMac::show): Convert the WebCore menu size type into the
2776         WebCoreSystemInterface type.
2777
2778 2014-04-24  Commit Queue  <commit-queue@webkit.org>
2779
2780         Unreviewed, rolling out r167700.
2781         https://bugs.webkit.org/show_bug.cgi?id=132142
2782
2783         Incorrectly reverted the change in r167547 for
2784         webkit.org/b/131898 (Requested by rniwa on #webkit).
2785
2786         Reverted changeset:
2787
2788         "Cursor doesn't change back to pointer when leaving the Safari
2789         window"
2790         https://bugs.webkit.org/show_bug.cgi?id=132038
2791         http://trac.webkit.org/changeset/167700
2792
2793 2014-04-24  Brady Eidson  <beidson@apple.com>
2794
2795         Rename "IMAGE_CONTROLS" feature to "SERVICE_CONTROLS"
2796         https://bugs.webkit.org/show_bug.cgi?id=132155
2797
2798         Reviewed by Tim Horton.
2799
2800         * Configurations/FeatureDefines.xcconfig:
2801         * Misc/WebSharingServicePickerController.h:
2802         * Misc/WebSharingServicePickerController.mm:
2803         * WebCoreSupport/WebContextMenuClient.h:
2804         * WebCoreSupport/WebContextMenuClient.mm:
2805         (WebContextMenuClient::contextMenuForEvent):
2806         * WebView/WebPreferences.mm:
2807         (+[WebPreferences initialize]):
2808         * WebView/WebView.mm:
2809         (-[WebView _preferencesChanged:]):
2810
2811 2014-04-24  Ryosuke Niwa  <rniwa@webkit.org>
2812
2813         Text caret disappears in Mail after returning from another application
2814         https://bugs.webkit.org/show_bug.cgi?id=132111
2815
2816         Reviewed by Darin Adler.
2817
2818         The bug was caused by our SPI _windowChangedKeyState not getting called upon deminiaturization.
2819
2820         Fixed the bug by using the standard NSWindowDidBecomeKeyNotification and NSWindowDidResignKeyNotification
2821         notifications as done in WebKit2 since they DO get called upon deminiaturization.
2822
2823         * WebView/WebView.mm:
2824         (-[WebView addWindowObserversForWindow:]):
2825         (-[WebView removeWindowObservers]):
2826         (-[WebView _windowKeyStateChanged:]):
2827         (-[WebView _windowChangedKeyState]): Deleted.
2828
2829 2014-04-24  Myles C. Maxfield  <mmaxfield@apple.com>
2830
2831         FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
2832         https://bugs.webkit.org/show_bug.cgi?id=132110
2833
2834         Reviewed by Tim Horton.
2835
2836         Updates callers to use '.' instead of '->'.
2837
2838         No new tests are necessary because there should be no behavior change.
2839
2840         * Misc/WebCoreStatistics.mm:
2841         (+[WebCoreStatistics cachedFontDataCount]):
2842         (+[WebCoreStatistics cachedFontDataInactiveCount]):
2843         (+[WebCoreStatistics purgeInactiveFontData]):
2844         * WebView/WebView.mm:
2845         (+[WebView purgeInactiveFontData]):
2846
2847 2014-04-24  Eric Carlson  <eric.carlson@apple.com>
2848
2849         [iOS] Manage AudioSession category according to media type
2850         https://bugs.webkit.org/show_bug.cgi?id=132096
2851
2852         Reviewed by Jer Noble.
2853
2854         * WebView/WebView.mm:
2855         (-[WebView _commonInitializationWithFrameName:groupName:]): Tell 
2856             WebCore to manage the AudioSession when running in MobileSafari.
2857
2858 2014-04-23  Andreas Kling  <akling@apple.com>
2859
2860         Remove Apple Dictionary workaround in WebFrameLoaderClient.
2861         <https://webkit.org/b/132095>
2862
2863         Kill a hack to work around a WK1 client bug that got fixed years ago.
2864         See <rdar://problem/6471058> for backstory.
2865
2866         Reviewed by Darin Adler.
2867
2868         * WebCoreSupport/WebFrameLoaderClient.mm:
2869         (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
2870         (WebFrameLoaderClient::dispatchWillSendRequest):
2871         (applyAppleDictionaryApplicationQuirkNonInlinePart): Deleted.
2872         (applyAppleDictionaryApplicationQuirk): Deleted.
2873
2874 2014-04-23  Anders Carlsson  <andersca@apple.com>
2875
2876         Don't migrate the WKView.h header from WebCore to WebKit
2877         https://bugs.webkit.org/show_bug.cgi?id=132086
2878
2879         Reviewed by Dan Bernstein.
2880
2881         * MigrateHeaders.make:
2882         Remove WKView.h from the list of headers to migrate.
2883
2884         * WebView/WebView.mm:
2885         Import WKView.h.
2886
2887 2014-04-22  Ryosuke Niwa  <rniwa@webkit.org>
2888
2889         Cursor doesn't change back to pointer when leaving the Safari window
2890         https://bugs.webkit.org/show_bug.cgi?id=132038
2891
2892         Reviewed by Alexey Proskuryakov.
2893
2894         Since the cursor type is now updated asynchronously after r147739,
2895         [window windowNumber] != [NSWindow windowNumberAtPoint:[NSEvent mouseLocation] belowWindowWithWindowNumber:0]
2896         evalutes to false depending on how fast cursor is moving.
2897
2898         Instead, check whether the NSWindow of the WebView is the key window or not since
2899         key window appears to control the cursor style in Cocoa as far as I've tested:
2900         https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/WinPanel/Concepts/ChangingMainKeyWindow.html
2901
2902         * WebCoreSupport/WebChromeClient.mm:
2903         (WebChromeClient::setCursor):
2904
2905 2014-04-22  Commit Queue  <commit-queue@webkit.org>
2906
2907         Unreviewed, rolling out r167674.
2908         https://bugs.webkit.org/show_bug.cgi?id=132025
2909
2910         Going a different way with this (Requested by bradee-oh on
2911         #webkit).
2912
2913         Reverted changeset:
2914
2915         "Change Image Controls replacement to use selection and paste"
2916         https://bugs.webkit.org/show_bug.cgi?id=131992
2917         http://trac.webkit.org/changeset/167674
2918
2919 2014-04-22  Brady Eidson  <beidson@apple.com>
2920
2921         Change Image Controls replacement to use selection and paste
2922         <rdar://problem/16302722> and https://bugs.webkit.org/show_bug.cgi?id=131992
2923
2924         Reviewed by Tim Horton.
2925
2926         * Misc/WebSharingServicePickerController.mm:
2927         (-[WebSharingServicePickerController sharingService:didShareItems:]): Write the
2928           replacement data to a special pasteboard, then replace the current selection from
2929           that pasteboard.
2930
2931 2014-04-21  Eric Carlson  <eric.carlson@apple.com>
2932
2933         [Mac] implement WebKitDataCue
2934         https://bugs.webkit.org/show_bug.cgi?id=131799
2935
2936         Reviewed by Dean Jackson.
2937
2938         * Configurations/FeatureDefines.xcconfig: Define ENABLE_DATACUE_VALUE.
2939
2940 2014-04-21  Joseph Pecoraro  <pecoraro@apple.com>
2941
2942         Remove unused WebKitSystemInterface functions
2943         https://bugs.webkit.org/show_bug.cgi?id=131938
2944
2945         Reviewed by Alexey Proskuryakov.
2946
2947         * WebCoreSupport/WebSystemInterface.mm:
2948         (InitWebCoreSystemInterface):
2949
2950 2014-04-21  Zan Dobersek  <zdobersek@igalia.com>
2951
2952         Move cross-port Source/WebCore/page/ code to std::unique_ptr
2953         https://bugs.webkit.org/show_bug.cgi?id=130534
2954
2955         Reviewed by Darin Adler.
2956
2957         * WebView/WebHTMLRepresentation.mm:
2958         (searchForLabelsBeforeElement): Pass a RegExp reference to Frame::searchForLabelsAboveCell().
2959
2960 2014-04-19  Darin Adler  <darin@apple.com>
2961
2962         [Mac] WebView adjusts the cursor even when another window is in front
2963         https://bugs.webkit.org/show_bug.cgi?id=131898
2964         rdar://problem/14619911
2965
2966         Reviewed by Dan Bernstein.
2967
2968         * WebCoreSupport/WebChromeClient.mm:
2969         (WebChromeClient::setCursor): Added a check that the window is under the cursor
2970         and do nothing if it's not.
2971
2972 2014-04-18  Commit Queue  <commit-queue@webkit.org>
2973
2974         Unreviewed, rolling out r167527.
2975         https://bugs.webkit.org/show_bug.cgi?id=131883
2976
2977         Broke 32-bit build (Requested by ap on #webkit).
2978
2979         Reverted changeset:
2980
2981         "[Mac] implement WebKitDataCue"
2982         https://bugs.webkit.org/show_bug.cgi?id=131799
2983         http://trac.webkit.org/changeset/167527
2984
2985 2014-04-18  Eric Carlson  <eric.carlson@apple.com>
2986
2987         [Mac] implement WebKitDataCue
2988         https://bugs.webkit.org/show_bug.cgi?id=131799
2989
2990         Reviewed by Dean Jackson.
2991
2992         * Configurations/FeatureDefines.xcconfig: Define ENABLE_DATACUE_VALUE.
2993
2994 2014-04-17  Daniel Bates  <dabates@apple.com>
2995
2996         [iOS] Hook up screen.{availHeight, availWidth, height, width}
2997         https://bugs.webkit.org/show_bug.cgi?id=131821
2998         <rdar://problem/16413795>
2999
3000         Reviewed by Benjamin Poulain and Tim Horton.
3001
3002         Add declaration for WKGetViewportAvailableScreenSize() to return the available screen size.
3003
3004         Additionally substitute "ScreenSize" for "ViewportScreenSize" to make the code more understandable.
3005
3006         * WebCoreSupport/WebSystemInterface.mm:
3007         (InitWebCoreSystemInterface):
3008
3009 2014-04-17  Darin Adler  <darin@apple.com>
3010
3011         Add separate flag for IndexedDatabase in workers since the current implementation is not threadsafe
3012         https://bugs.webkit.org/show_bug.cgi?id=131785
3013         rdar://problem/16003108
3014
3015         Reviewed by Brady Eidson.
3016         
3017         * Configurations/FeatureDefines.xcconfig: Added INDEXED_DATABASE_IN_WORKERS.
3018
3019 2014-04-16  Tim Horton  <timothy_horton@apple.com>
3020
3021         Images dragged from WebKit1 on 2x displays are too big
3022         https://bugs.webkit.org/show_bug.cgi?id=131775
3023         <rdar://problem/15933525>
3024
3025         Reviewed by Simon Fraser.
3026
3027         * WebCoreSupport/WebDragClient.mm:
3028         (WebDragClient::startDrag):
3029         Scale the drag image's logical size down by the device scale factor
3030         in WebKit1 just like we do in WebKit2.
3031
3032 2014-04-13  Andy Estes  <aestes@apple.com>
3033
3034         [QuickLook] Move file system-related code into WebKit
3035         https://bugs.webkit.org/show_bug.cgi?id=131597
3036
3037         Reviewed by Dan Bernstein.
3038
3039         Moved file system and WebKit1-only code from QuickLookHandle into a new
3040         QuickLookHandleClient subclass.
3041
3042         * WebCoreSupport/WebFrameLoaderClient.h:
3043         * WebCoreSupport/WebFrameLoaderClient.mm:
3044
3045 2014-04-09  Alexey Proskuryakov  <ap@apple.com>
3046
3047         Eliminate DragSession structure
3048         https://bugs.webkit.org/show_bug.cgi?id=131465
3049
3050         Reviewed by Benjamin Poulain.
3051
3052         * WebView/WebView.mm:
3053         (-[WebView draggingEntered:]):
3054         (-[WebView draggingUpdated:]):
3055
3056 2014-04-09  Alexey Proskuryakov  <ap@apple.com>
3057
3058         Rename some dragging functions
3059         https://bugs.webkit.org/show_bug.cgi?id=131460
3060
3061         Reviewed by Tim Horton.
3062
3063         Renamed performDrag to performDragOperation.
3064
3065         * WebView/WebView.mm: (-[WebView performDragOperation:]):
3066
3067 2014-04-08  Jon Lee  <jonlee@apple.com>
3068
3069         Turn MSE on by default
3070         https://bugs.webkit.org/show_bug.cgi?id=131313
3071         <rdar://problem/16525223>
3072
3073         Reviewed by Jer Noble.
3074
3075         * Configurations/FeatureDefines.xcconfig:
3076         * WebView/WebPreferences.mm:
3077         (+[WebPreferences initialize]): Set default to true.
3078
3079 2014-04-08  Alexey Proskuryakov  <ap@apple.com>
3080
3081         Rename Clipboard to DataTransfer
3082         https://bugs.webkit.org/show_bug.cgi?id=131371
3083
3084         Reviewed by Anders Carlsson.
3085
3086         * WebCoreSupport/WebDragClient.h:
3087         * WebCoreSupport/WebDragClient.mm:
3088         (WebDragClient::willPerformDragSourceAction):
3089         (WebDragClient::startDrag):
3090         * WebView/WebPDFView.mm:
3091
3092 2014-04-08  Dan Bernstein  <mitz@apple.com>
3093
3094         WebKit part of [Cocoa] Add WKFormDelegate
3095         https://bugs.webkit.org/show_bug.cgi?id=131343
3096
3097         Reviewed by Anders Carlsson.
3098
3099         * MigrateHeaders.make: Added new WebKit2 headers to WEBKIT2_HEADERS.
3100
3101 2014-04-08  Daniel Bates  <dabates@apple.com>
3102
3103         Fallback to default storage session when there isn't a valid session ID
3104         https://bugs.webkit.org/show_bug.cgi?id=131326
3105         <rdar://problem/16231679>
3106
3107         Reviewed by Alexey Proskuryakov.
3108
3109         Fixes and issue where we may use the wrong storage session after disabling
3110         a private browsing session.
3111
3112         Currently WebKit1 and WebKit2 without NetworkProcess assume that there
3113         is always a non-null private browsing storage session so long as the page
3114         has a non-default session ID. Instead we should only use the private browsing
3115         storage session when it's non-null and the page has a non-default session ID;
3116         otherwise, we should use the default storage session. This change will make
3117         the behavior in WebKit1 and WebKit2 without NetworkProcess consistent with
3118         the behavior in WebKit2 with NetworkProcess.
3119
3120         * WebCoreSupport/WebFrameNetworkingContext.mm:
3121         (WebFrameNetworkingContext::storageSession):
3122
3123 2014-04-06  Sam Weinig  <sam@webkit.org>
3124
3125         Document user content related APIs
3126
3127         Reviewed by Anders Carlsson.
3128
3129         * MigrateHeaders.make:
3130
3131 2014-04-06  Darin Adler  <darin@apple.com>
3132
3133         Refactor post-attach and HTMLObjectElement-related code
3134         https://bugs.webkit.org/show_bug.cgi?id=131282
3135
3136         Reviewed by Antti Koivisto.
3137
3138         * WebCoreSupport/WebFrameLoaderClient.mm: Call toHTMLPlugInImageElement instead of
3139         doing a static_cast.
3140
3141 2014-04-04  Brian J. Burg  <burg@cs.washington.edu>
3142
3143         Enable WEB_REPLAY for PLATFORM(MAC)
3144         https://bugs.webkit.org/show_bug.cgi?id=130700
3145
3146         Reviewed by Timothy Hatcher.
3147
3148         * Configurations/FeatureDefines.xcconfig:
3149
3150 2014-04-03  Sam Weinig  <sam@webkit.org>
3151
3152         [WebKit2] Promote user script SPI to API
3153         https://bugs.webkit.org/show_bug.cgi?id=131181
3154
3155         Reviewed by Anders Carlsson.
3156
3157         * MigrateHeaders.make:
3158
3159 2014-04-02  Benjamin Poulain  <bpoulain@apple.com>
3160
3161         [iOS] Remove the legacy string drawing code
3162         https://bugs.webkit.org/show_bug.cgi?id=131088
3163
3164         Reviewed by Sam Weinig.
3165
3166         * Configurations/WebKit.xcconfig:
3167
3168 2014-04-02  Mark Rowe  <mrowe@apple.com>
3169
3170         <https://webkit.org/b/131135> Introduce LockHistory and LockBackForwardList enums to use in place of bools.
3171
3172         These arguments are often passed using literals at the call site, where the use of bools severely hinders
3173         the readability of the code.
3174
3175         Reviewed by Andreas Kling.
3176
3177         * WebView/WebPDFView.mm:
3178         (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
3179
3180 2014-04-02  Stephanie Lewis  <slewis@apple.com>
3181
3182         Roll out http://trac.webkit.org/changeset/166144
3183         <rdar://problem/16481284> PLT stops loading on news.google.com
3184         
3185         Unreviewed rollout.
3186
3187         Rollout 166144 since it prevents the PLT from completing.
3188
3189         * WebCoreSupport/WebFrameLoaderClient.mm:
3190
3191 2014-04-02  Daniel Bates  <dabates@apple.com>
3192
3193         Remove Settings::maximumDecodedImageSize()
3194         https://bugs.webkit.org/show_bug.cgi?id=131057
3195         <rdar://problem/15626368>
3196
3197         Reviewed by Darin Adler. 
3198
3199         Remove preferences key WebKitMaximumImageSize.
3200
3201         * WebView/WebPreferenceKeysPrivate.h:
3202         * WebView/WebPreferences.mm:
3203         (+[WebPreferences initialize]):
3204         (-[WebPreferences _maximumImageSize:]): Deleted.
3205         * WebView/WebPreferencesPrivate.h:
3206         * WebView/WebView.mm:
3207         (-[WebView _preferencesChanged:]):
3208
3209 2014-04-02  Martin Hock  <mhock@apple.com>
3210
3211         Unify private browsing with sessions.
3212         https://bugs.webkit.org/show_bug.cgi?id=130099
3213
3214         Reviewed by Alexey Proskuryakov.
3215
3216         * WebCoreSupport/WebFrameLoaderClient.mm: Change WebCore::Settings::privateBrowsingEnabled() to Page::sessionID().isEphemeral().
3217         (WebFrameLoaderClient::updateGlobalHistoryItemForPage):
3218         * WebCoreSupport/WebFrameNetworkingContext.mm: Ditto.
3219         (WebFrameNetworkingContext::storageSession):
3220         * WebView/WebView.mm: Change WebCore::Settings::setPrivateBrowsingEnabled() to Page::enableLegacyPrivateBrowsing().
3221         (-[WebView _preferencesChanged:]):
3222
3223 2014-04-01  Anders Carlsson  <andersca@apple.com>
3224
3225         Migrate more headers
3226         https://bugs.webkit.org/show_bug.cgi?id=131068
3227
3228         Reviewed by Tim Horton.
3229
3230         * MigrateHeaders.make:
3231
3232 2014-04-01  Manuel Rego Casasnovas  <rego@igalia.com>
3233
3234         [CSS Grid Layout] Enable runtime feature if feature flag is enabled
3235         https://bugs.webkit.org/show_bug.cgi?id=130013
3236
3237         Reviewed by Simon Fraser.
3238
3239         Enable CSS Grid Layout runtime feature when ENABLE_CSS_GRID_LAYOUT flag is true.
3240
3241         * WebView/WebPreferences.mm:
3242         (+[WebPreferences initialize]):
3243
3244 2014-03-31  Simon Fraser  <simon.fraser@apple.com>
3245
3246         Enable WEB_TIMING on Mac and iOS
3247         https://bugs.webkit.org/show_bug.cgi?id=128064
3248
3249         Reviewed by Sam Weinig, Brent Fulgham.
3250
3251         Enable WEB_TIMING.
3252
3253         * Configurations/FeatureDefines.xcconfig:
3254
3255 2014-03-31  Dean Jackson  <dino@apple.com>
3256
3257         Remove WEB_ANIMATIONS
3258         https://bugs.webkit.org/show_bug.cgi?id=130989
3259
3260         Reviewed by Simon Fraser.
3261
3262         Remove this feature flag until we plan to implement.
3263
3264         * Configurations/FeatureDefines.xcconfig:
3265
3266 2014-03-31  Antti Koivisto  <antti@apple.com>
3267
3268         Rename TileCache to LegacyTileCache
3269         https://bugs.webkit.org/show_bug.cgi?id=130986
3270
3271         Reviewed by Simon Fraser.
3272
3273         * WebView/WebView.mm:
3274         (+[WebView drainLayerPool]):
3275         (+[WebView _setTileCacheLayerPoolCapacity:]):
3276
3277 2014-03-28  Darin Adler  <darin@apple.com>
3278
3279         Fix recently-introduced off-by-one error in centerTruncateToBuffer
3280         https://bugs.webkit.org/show_bug.cgi?id=130889
3281
3282         Reviewed by Alexey Proskuryakov.
3283
3284         * Misc/WebStringTruncator.mm:
3285         (defaultMenuFont): Changed to use NeverDestroyed since I had to touch this file anyway.
3286         (fontFromNSFont): Ditto. Also improved variable names a bit.
3287         (+[WebStringTruncator initialize]): Added threading initialization, needed for main
3288         thread assertions in string truncator code.
3289
3290 2014-03-27  Commit Queue  <commit-queue@webkit.org>
3291
3292         Unreviewed, rolling out r166360.
3293         https://bugs.webkit.org/show_bug.cgi?id=130869
3294
3295         Seems to have broken PLT (Requested by ap on #webkit).
3296
3297         Reverted changeset:
3298
3299         "Connection::dispatchOneMessage() can be re-entered while
3300         handling Cmd-key menu"
3301         https://bugs.webkit.org/show_bug.cgi?id=130767
3302         http://trac.webkit.org/changeset/166360
3303
3304 2014-03-27  Alexey Proskuryakov  <ap@apple.com>
3305
3306         Connection::dispatchOneMessage() can be re-entered while handling Cmd-key menu
3307         equivalents, ASSERT(!_data->_keyDownEventBeingResent)
3308         https://bugs.webkit.org/show_bug.cgi?id=130767
3309         <rdar://problem/16307487>
3310
3311         Reviewed by Darin Adler.
3312
3313         Switched to a WebCore wrapper for RunLoop::initializeMainRunLoop that adds
3314         NSModalPanelRunLoopMode to RunLoop event source and timer modes.
3315
3316         * Carbon/CarbonWindowAdapter.mm: (+[CarbonWindowAdapter initialize]):
3317         * History/WebBackForwardList.mm: (+[WebBackForwardList initialize]):
3318         * History/WebHistoryItem.mm: (+[WebHistoryItem initialize]):
3319         * Misc/WebCache.mm: (+[WebCache initialize]):
3320         * Misc/WebElementDictionary.mm: (+[WebElementDictionary initialize]):
3321         * Misc/WebIconDatabase.mm: (+[WebIconDatabase initialize]):
3322         * Plugins/Hosted/WebHostedNetscapePluginView.mm: (+[WebHostedNetscapePluginView initialize]):
3323         * Plugins/WebBaseNetscapePluginView.mm:
3324         * Plugins/WebBasePluginPackage.mm:
3325         * Plugins/WebNetscapePluginView.mm: (+[WebNetscapePluginView initialize]):
3326         * WebCoreSupport/WebEditorClient.mm: (+[WebUndoStep initialize]):
3327         * WebCoreSupport/WebFrameLoaderClient.mm:
3328         * WebView/WebArchive.mm: (+[WebArchivePrivate initialize]):
3329         * WebView/WebDataSource.mm: (+[WebDataSource initialize]):
3330         * WebView/WebHTMLView.mm:
3331         (+[WebHTMLViewPrivate initialize]):
3332         (+[WebHTMLView initialize]):
3333         * WebView/WebPreferences.mm: (+[WebPreferences initialize]):
3334         * WebView/WebResource.mm: (+[WebResourcePrivate initialize]):
3335         * WebView/WebTextIterator.mm: (+[WebTextIteratorPrivate initialize]):
3336         * WebView/WebView.mm: (+[WebView initialize]):
3337         * WebView/WebViewData.mm: (+[WebViewPrivate initialize]):
3338
3339 2014-03-26  Timothy Hatcher  <timothy@apple.com>
3340
3341         Propagate the hiddenFromInspector flag on ResourceRequest in
3342         places when a new request a made or passed between processes.
3343
3344         https://bugs.webkit.org/show_bug.cgi?id=130741
3345
3346         Reviewed by Joseph Pecoraro.
3347
3348         * WebCoreSupport/WebFrameLoaderClient.mm:
3349         (WebFrameLoaderClient::dispatchWillSendRequest): Copy hiddenFromInspector to
3350         the new request.
3351
3352 2014-03-26  Zoltan Horvath  <zoltan@webkit.org>
3353
3354         [CSS Shapes] Remove shape-inside support
3355         https://bugs.webkit.org/show_bug.cgi?id=130698
3356
3357         Reviewed by David Hyatt.
3358
3359         * Configurations/FeatureDefines.xcconfig:
3360
3361 2014-03-25  Joseph Pecoraro  <pecoraro@apple.com>
3362
3363         [iOS] Inspector View Indication Support
3364         https://bugs.webkit.org/show_bug.cgi?id=130709
3365
3366         Reviewed by Simon Fraser.
3367
3368         * WebCoreSupport/WebInspectorClient.h:
3369         * WebCoreSupport/WebInspectorClient.mm:
3370         (WebInspectorClient::didSetSearchingForNode): Deleted.
3371         (WebInspectorClient::releaseFrontend): Deleted.
3372         * WebView/WebView.mm:
3373         (-[WebView setShowingInspectorIndication:]):
3374         * WebView/WebViewPrivate.h:
3375         Renamed methods.
3376
3377 2014-03-24  Brent Fulgham  <bfulgham@apple.com>
3378
3379         Activate WebVTT Tests Once Merging is Complete
3380         https://bugs.webkit.org/show_bug.cgi?id=130420
3381
3382         Reviewed by Eric Carlson.
3383
3384         * Configurations/FeatureDefines.xcconfig: Turn on ENABLE(WEBVTT_REGIONS)
3385
3386 2014-03-24  Andy Estes  <aestes@apple.com>
3387
3388         [iOS] Download support by CFURLDownloadRef under USE(CFNETWORK).
3389         https://bugs.webkit.org/show_bug.cgi?id=129322
3390
3391         Reviewed by Anders Carlsson.
3392
3393         * WebCoreSupport/WebFrameLoaderClient.mm:
3394         (WebFrameLoaderClient::convertMainResourceLoadToDownload): Use the
3395         RetainPtr returned by releaseConnectionForDownload() rather than
3396         manually releasing.
3397
3398 2014-03-24  Jon Lee  <jonlee@apple.com>
3399
3400         Build fixes.
3401
3402         Unreviewed.
3403
3404         * WebInspector/WebNodeHighlightView.mm: Missing include to GeometryUtilities.
3405
3406 2014-03-23  Sam Weinig  <sam@webkit.org>
3407
3408         Remove some unnecessary .get()s that Darin noticed.
3409
3410         * WebView/WebHTMLRepresentation.mm:
3411         (-[WebHTMLRepresentation attributedStringFrom:startOffset:to:endOffset:]):
3412         * WebView/WebHTMLView.mm:
3413         (-[WebHTMLView attributedString]):
3414
3415 2014-03-23  Sam Weinig  <sam@webkit.org>
3416
3417         Simplify the HTMLConverter interface (Part 2)
3418         https://bugs.webkit.org/show_bug.cgi?id=130654
3419
3420         Reviewed by Darin Adler.
3421
3422         * WebView/WebHTMLRepresentation.mm:
3423         (-[WebHTMLRepresentation attributedStringFrom:startOffset:to:endOffset:]):
3424         * WebView/WebHTMLView.mm:
3425         (-[WebHTMLView attributedSubstringFromRange:]):
3426         (-[WebHTMLView attributedString]):
3427         (-[WebHTMLView selectedAttributedString]):
3428
3429 2014-03-23  Darin Adler  <darin@apple.com>
3430
3431         Remove code in HTMLObjectElement attribute parsing that forces style resolution and layout
3432         https://bugs.webkit.org/show_bug.cgi?id=130653
3433
3434         Reviewed by Antti Koivisto.
3435
3436         * WebCoreSupport/WebFrameLoaderClient.mm: Call toHTMLPlugInImageElement instead of
3437         doing a static_cast.
3438
3439 2014-03-21  Simon Fraser  <simon.fraser@apple.com>
3440
3441         Don't flush compositing layers within FrameView::willPaintContents()
3442         https://bugs.webkit.org/show_bug.cgi?id=130627
3443
3444         Reviewed by Sam Weinig.
3445         
3446         Make _flushCompositingChanges private so DRT can call it;
3447         moved it into the Private category.
3448
3449         * WebView/WebView.mm:
3450         (-[WebView _flushCompositingChanges]):
3451         * WebView/WebViewPrivate.h:
3452
3453 2014-03-21  Simon Fraser  <simon.fraser@apple.com>
3454
3455         Remove duplicate line added during merging
3456         https://bugs.webkit.org/show_bug.cgi?id=130623
3457
3458         Reviewed by Beth Dakin.
3459         
3460         Remove a duplicate call to -_viewWillDrawInternal which
3461         was added during merges.
3462
3463         * WebView/WebView.mm:
3464         (LayerFlushController::flushLayers):
3465
3466 2014-03-21  Darin Adler  <darin@apple.com>
3467
3468         Improve idiom used for string building in a few places
3469         https://bugs.webkit.org/show_bug.cgi?id=130561
3470
3471         Reviewed by Andreas Kling.
3472
3473         * WebView/WebHTMLRepresentation.mm:
3474         (regExpForLabels): Use StringBuilder.
3475
3476 2014-03-21  Darin Adler  <darin@apple.com>
3477
3478         Add a combined decodeAndFlush to TextResourceDecoder
3479         https://bugs.webkit.org/show_bug.cgi?id=130560
3480
3481         Reviewed by Andreas Kling.
3482
3483         * WebView/WebView.mm:
3484         (+[WebView _decodeData:]): Use decodeAndFlush.
3485
3486 2014-03-20  Anders Carlsson  <andersca@apple.com>
3487
3488         Fix build.
3489
3490         * MigrateHeaders.make:
3491
3492 2014-03-20  Pratik Solanki  <psolanki@apple.com>
3493
3494         [iOS] Get code to compile on older iOS versions
3495         https://bugs.webkit.org/show_bug.cgi?id=130142
3496         <rdar://problem/16302908>
3497
3498         Reviewed by Darin Adler.
3499
3500         * History/WebHistory.mm:
3501         (getDayBoundaries):
3502         * Plugins/WebPluginController.h:
3503         * Plugins/WebPluginController.mm:
3504         (+[WebPluginController plugInViewWithArguments:fromPluginPackage:]):
3505         * WebCoreSupport/WebFrameLoaderClient.mm:
3506         (pluginView):
3507         * WebView/WebPreferences.mm:
3508         (-[WebPreferences _setAllowCompositingLayerVisualDegradation:]):
3509         * WebView/WebPreferencesPrivate.h:
3510
3511 2014-03-20  Lucas Forschler  <lforschler@apple.com>
3512
3513     Rollout r165944.  Build break.
3514     
3515 2014-03-19  Pratik Solanki  <psolanki@apple.com>
3516
3517         [iOS] Get code to compile on older iOS versions
3518         https://bugs.webkit.org/show_bug.cgi?id=130142
3519         <rdar://problem/16302908>
3520
3521         Reviewed by Darin Adler.
3522
3523         * History/WebHistory.mm:
3524         (getDayBoundaries):
3525         * Plugins/WebPluginController.h:
3526         * Plugins/WebPluginController.mm:
3527         (+[WebPluginController plugInViewWithArguments:fromPluginPackage:]):
3528         * WebCoreSupport/WebFrameLoaderClient.mm:
3529         (pluginView):
3530         * WebView/WebPreferences.mm:
3531         (-[WebPreferences _setAllowCompositingLayerVisualDegradation:]):
3532         * WebView/WebPreferencesPrivate.h:
3533
3534 2014-03-19  Jer Noble  <jer.noble@apple.com>
3535
3536         [Mac][EME] Query whether decoder support exists before creating a new MediaKeys object.
3537         https://bugs.webkit.org/show_bug.cgi?id=130459
3538
3539         Reviewed by Eric Carlson.
3540
3541         * WebCoreSupport/WebSystemInterface.mm:
3542         (InitWebCoreSystemInterface): Initialize the new WCSI method.
3543
3544 2014-03-19  Brady Eidson  <beidson@apple.com>
3545
3546         Filter out editable services from image menu for non-contenteditable images
3547         <rdar://problem/16319645> and https://bugs.webkit.org/show_bug.cgi?id=130437
3548
3549         Reviewed by Tim Horton.
3550
3551         * Misc/WebSharingServicePickerController.h:
3552         * Misc/WebSharingServicePickerController.mm:
3553         (-[WebSharingServicePickerController sharingServicePicker:sharingServicesForItems:mask:proposedSharingServices:]):
3554           Filter out editing services based on the includeEditorServices flag.
3555         * WebCoreSupport/WebContextMenuClient.mm:
3556         (WebContextMenuClient::contextMenuForEvent):
3557
3558 2014-03-19  Jer Noble  <jer.noble@apple.com>
3559
3560         [iOS] Disable the video plugin proxy by default on WK1.
3561         https://bugs.webkit.org/show_bug.cgi?id=130460
3562
3563         Reviewed by Eric Carlson.
3564
3565         Update the defaults to universally enable the AVFoundationEnabled preference, disable the
3566         VideoPluginProxyEnabled preference, and on iOS only enable the AVKitEnabled preference.
3567
3568         * WebView/WebPreferences.mm:
3569         (+[WebPreferences initialize]):
3570
3571 2014-03-18  Samuel White  <samuel_white@apple.com>
3572
3573         AX: Not able to use arrow keys to read text with VoiceOver before selection is set someplace (anyplace).
3574         https://bugs.webkit.org/show_bug.cgi?id=130250
3575