Move instance members from WebPDFViewPlaceholder.h to implementation file
[WebKit-https.git] / Source / WebKit / ios / ChangeLog
1 2017-02-22  Aakash Jain  <aakash_jain@apple.com>
2
3         Move instance members from WebPDFViewPlaceholder.h to implementation file
4         https://bugs.webkit.org/show_bug.cgi?id=168705
5
6         Reviewed by Tim Horton.
7
8         * WebView/WebPDFViewPlaceholder.h: Moving instance members to implementation file.
9         * WebView/WebPDFViewPlaceholder.mm: Ditto.
10
11 2017-02-22  Aakash Jain  <aakash_jain@apple.com>
12
13         Move instance members from WebSelectionRect.h to implementation file
14         https://bugs.webkit.org/show_bug.cgi?id=168732
15
16         Reviewed by Tim Horton.
17
18         * WebCoreSupport/WebSelectionRect.h: Moving instance members to implementation file.
19         * WebCoreSupport/WebSelectionRect.m: Ditto.
20
21 2017-02-22  Aakash Jain  <aakash_jain@apple.com>
22
23         Move iOS specific symbols to WebKit.ios.exp
24         https://bugs.webkit.org/show_bug.cgi?id=168726
25
26         Reviewed by Alexey Proskuryakov.
27
28         * WebKit.iOS.exp:
29
30 2017-02-21  Commit Queue  <commit-queue@webkit.org>
31
32         Unreviewed, rolling out r212768.
33         https://bugs.webkit.org/show_bug.cgi?id=168698
34
35         Rolling out since this would break other projects. (Requested
36         by aakashjain on #webkit).
37
38         Reverted changeset:
39
40         "[iOS] Remove old WebKit1 MemoryMeasure helper."
41         https://bugs.webkit.org/show_bug.cgi?id=168675
42         http://trac.webkit.org/changeset/212768
43
44 2017-02-21  Andreas Kling  <akling@apple.com>
45
46         [iOS] Remove old WebKit1 MemoryMeasure helper.
47         <https://webkit.org/b/168675>
48
49         Reviewed by Sam Weinig.
50
51         Remove the MemoryMeasure logging helper from the WebKit1 days. It was using an old way
52         of measuring memory, and we were only using it in a single place anyway.
53
54         * Misc/MemoryMeasure.h: Removed.
55         * Misc/MemoryMeasure.mm: Removed.
56         * WebKit.iOS.exp:
57
58 2017-02-21  Andreas Kling  <akling@apple.com>
59
60         [iOS] WebKit1 should use shared memory pressure handler code.
61         <https://webkit.org/b/168653>
62
63         Reviewed by Antti Koivisto.
64
65         * Misc/WebUIKitSupport.mm:
66         (WebKitInitialize): Don't unconditionally install a memory warning handler just
67         because the framework is loaded.
68
69 2017-02-20  Alexey Proskuryakov  <ap@apple.com>
70
71         List of WebCore symbols to re-export from WebKitLegacy should be built automatically
72         https://bugs.webkit.org/show_bug.cgi?id=168342
73         rdar://problem/26182266
74
75         Reviewed by Tim Horton.
76
77         * WebKit.iOS.exp: Removed manually added symbols.
78
79 2017-02-20  Aakash Jain  <aakash_jain@apple.com>
80
81         Stop exporting WebPluginController from WebKit
82         https://bugs.webkit.org/show_bug.cgi?id=168603
83
84         Reviewed by Alexey Proskuryakov.
85
86         * WebKit.iOS.exp:
87
88 2017-02-10  Aakash Jain  <aakash_jain@apple.com>
89
90         WebKitLegacy doesn't re-export various symbols from WebCore required by clients
91         https://bugs.webkit.org/show_bug.cgi?id=168158
92         <rdar://problem/24527933>
93
94         Reviewed by Dan Bernstein.
95
96         * WebKit.iOS.exp: Exporting various symbols which are required by clients. This 
97         would enable clients to stop linking against WebCore and instead link against WebKit.
98
99 2017-02-02  Yongjun Zhang  <yongjun_zhang@apple.com>
100
101         In iOS, we should take background assertion when accessing localstorage databases.
102         https://bugs.webkit.org/show_bug.cgi?id=165478
103
104         Move application background task handling code from WebKit to WebCore.
105
106         Reviewed by Brady Eidson.
107
108         * Misc/WebUIKitSupport.h: Remove several methods that only used internally for background
109             task handling. They are not needed in WebKit any more since background task handling
110             is moved to WebCore and wrapped in WebBackgroundTaskController class.
111         * Misc/WebUIKitSupport.mm:
112         (WebKitSetInvalidWebBackgroundTaskIdentifier): Instead of storing the value in a static global
113             variable, save it in WebBackgroundTaskController.
114         (WebKitSetStartBackgroundTaskBlock): Ditto.
115         (WebKitSetEndBackgroundTaskBlock): Ditto.
116
117 2017-01-25  Aakash Jain  <aakash_jain@apple.com>
118
119         LoadWebLocalizedStrings method should be moved in correct file
120         https://bugs.webkit.org/show_bug.cgi?id=167393
121
122         Reviewed by Alexey Proskuryakov.
123
124         * Misc/WebUIKitSupport.mm:
125         (LoadWebLocalizedStringsTimerCallback): Moved from WebLocalizableStrings.mm
126         (LoadWebLocalizedStrings): Moved from WebLocalizableStrings.mm
127
128 2017-01-21  Darin Adler  <darin@apple.com>
129
130         Remove PassRefPtr from "page" directory of WebCore, also deploy references
131         https://bugs.webkit.org/show_bug.cgi?id=167224
132
133         Reviewed by Chris Dumez.
134
135         * WebCoreSupport/WebChromeClientIOS.h: Update for changes to ChromeClient.
136         * WebCoreSupport/WebChromeClientIOS.mm:
137         (WebChromeClientIOS::runJavaScriptAlert): Ditto.
138         (WebChromeClientIOS::runJavaScriptConfirm): Ditto.
139         (WebChromeClientIOS::runJavaScriptPrompt): Ditto.
140         (WebChromeClientIOS::setNeedsScrollNotifications): Ditto.
141         (WebChromeClientIOS::observedContentChange): Ditto.
142         (WebChromeClientIOS::clearContentChangeObservers): Ditto.
143         (WebChromeClientIOS::notifyRevealedSelectionByScrollingFrame): Ditto.
144         (WebChromeClientIOS::elementDidFocus): Ditto.
145         (WebChromeClientIOS::elementDidBlur): Ditto.
146         (WebChromeClientIOS::createPopupMenu): Ditto.
147         (WebChromeClientIOS::createSearchPopupMenu): Ditto.
148         (WebChromeClientIOS::attachRootGraphicsLayer): Ditto.
149
150 2017-01-21  Simon Fraser  <simon.fraser@apple.com>
151
152         Remove the unused -[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]
153         https://bugs.webkit.org/show_bug.cgi?id=167273
154
155         Reviewed by Alex Christensen.
156
157         This function was added for an experiment, but is no longer used, so remove it.
158
159         * WebCoreSupport/WebFixedPositionContent.h:
160         * WebCoreSupport/WebFixedPositionContent.mm:
161         (anchorEdgeFlagsForAnchorEdge): Deleted.
162         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]): Deleted.
163
164 2017-01-15  Darin Adler  <darin@apple.com>
165
166         Remove PassRefPtr from "loader" directory of WebCore
167         https://bugs.webkit.org/show_bug.cgi?id=167055
168
169         Reviewed by Alex Christensen.
170
171         * WebCoreSupport/WebChromeClientIOS.h: Updated runOpenPanel to take references.
172         Made class final and most functions private and final.
173         * WebCoreSupport/WebChromeClientIOS.mm:
174         (WebChromeClientIOS::runOpenPanel): Updated to take references.
175
176 2016-12-30  Darin Adler  <darin@apple.com>
177
178         Remove PassRefPtr use from the "dom" directory, related cleanup
179         https://bugs.webkit.org/show_bug.cgi?id=166569
180
181         Reviewed by Alex Christensen.
182
183         * WebView/WebPDFViewIOS.mm:
184         (-[WebPDFView _checkPDFTitle]): Use aggregate-style syntax for StringWithDirection.
185         Not needed now, but useful later if we ever can get rid of the explicit constructors.
186
187 2016-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
188
189         Stop reinterpret_casting UBreakIterators to the undefined type TextBreakIterator
190         https://bugs.webkit.org/show_bug.cgi?id=165931
191
192         Reviewed by Alex Christensen.
193
194         * Misc/WebUIKitSupport.mm:
195
196 2016-11-01  Alex Christensen  <achristensen@webkit.org>
197
198         Remove PassRefPtr from DumpRenderTree
199         https://bugs.webkit.org/show_bug.cgi?id=164307
200
201         Reviewed by Sam Weinig.
202
203         * Misc/WebGeolocationProviderIOS.mm:
204
205 2016-10-26  Dan Bernstein  <mitz@apple.com>
206
207         Tried to fix the iOS build after r207934.
208
209         * WebCoreSupport/WebFrameIOS.mm:
210         (-[WebFrame closestCaretRectInMarkedTextRangeForPoint:]): Removed commented-out code and
211           a comment that had a typo in it and looked like a bad Doxygen trailing comment.
212
213 2016-08-16  Myles C. Maxfield  <mmaxfield@apple.com>
214
215         Migrate line breaking code from ints to Optional<unsigned>s
216         https://bugs.webkit.org/show_bug.cgi?id=160859
217
218         Reviewed by Darin Adler.
219
220         * Misc/WebUIKitSupport.mm:
221         (WebKitGetLastLineBreakInBuffer):
222
223 2016-08-15  Joseph Pecoraro  <pecoraro@apple.com>
224
225         Remove unused includes of wtf headers
226         https://bugs.webkit.org/show_bug.cgi?id=160839
227
228         Reviewed by Alex Christensen.
229
230         * Misc/WebGeolocationCoreLocationProvider.h:
231         * WebView/WebPDFViewIOS.mm:
232         * WebView/WebPlainWhiteView.mm:
233
234 2016-08-09  George Ruan  <gruan@apple.com>
235
236         Implement functionality of media capture on iOS
237         https://bugs.webkit.org/show_bug.cgi?id=158945
238         <rdar://problem/26893343>
239
240         Reviewed by Tim Horton.
241
242         * DefaultDelegates/WebDefaultUIKitDelegate.m:
243         (-[WebDefaultUIKitDelegate
244         webView:runOpenPanelForFileButtonWithResultListener:configuration:]):
245         Use a dictionary instead of passing each parameter in separately.
246         (-[WebDefaultUIKitDelegate webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:acceptMIMETypes:]): Deleted.
247         * WebCoreSupport/WebChromeClientIOS.mm:
248         (webMediaCaptureType): Converts from WebCore::MediaCaptureType to
249         WebMediaCaptureType.
250         (WebChromeClientIOS::runOpenPanel):
251         * WebKit.iOS.exp: Expose NSDictionary keys for
252         runOpenPanelForFileButtonWithResultListener.
253         * WebView/WebUIKitDelegate.h: Add WebMediaCaptureType enum and
254         NSDictionary keys for
255         runOpenPanelForFileButtonWithResultListener.
256
257 2016-07-11  Enrica Casucci  <enrica@apple.com>
258
259         Add synthetic click origin to WKNavigationAction.
260         https://bugs.webkit.org/show_bug.cgi?id=159584
261         rdar://problem/25610422
262
263         Reviewed by Tim Horton.
264
265         * WebView/WebPDFViewPlaceholder.mm:
266         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
267
268 2016-06-23  Alex Christensen  <achristensen@webkit.org>
269
270         Remove unused didCancelAuthenticationChallenge
271         https://bugs.webkit.org/show_bug.cgi?id=158819
272
273         Reviewed by David Kilzer.
274
275         * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
276         (-[WebDefaultResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
277         (-[WebDefaultResourceLoadDelegate webView:resource:canAuthenticateAgainstProtectionSpace:forDataSource:]):
278         (-[WebDefaultResourceLoadDelegate webView:resource:didCancelAuthenticationChallenge:fromDataSource:]): Deleted.
279
280 2016-06-02  David Kilzer  <ddkilzer@apple.com>
281
282         Fix typo in -[WebDefaultUIKitDelegate deleteFromInputwithFlags:]
283         <https://webkit.org/b/158323>
284         <rdar://problem/26549165>
285
286         Reviewed by Andy Estes.
287
288         * DefaultDelegates/WebDefaultUIKitDelegate.m:
289         (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]): Rename...
290         (-[WebDefaultUIKitDelegate deleteFromInputWithFlags:]): ...to this.
291
292 2016-05-15  Darin Adler  <darin@apple.com>
293
294         More CTTE and other cleanups for HTML editing header
295         https://bugs.webkit.org/show_bug.cgi?id=157722
296
297         Reviewed by Chris Dumez.
298
299         * WebCoreSupport/WebFrameIOS.mm:
300         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]): auto
301         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]): auto
302
303 2016-05-14  Darin Adler  <darin@apple.com>
304
305         CTTE for the HTML editing header
306         https://bugs.webkit.org/show_bug.cgi?id=157676
307
308         Reviewed by Chris Dumez.
309
310         * WebCoreSupport/WebFrameIOS.mm:
311         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]): Update since
312         lastOffsetForEditing takes a reference now. Seems like this code should be in WebCore.
313         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]): Ditto.
314
315 2016-05-13  Beth Dakin  <bdakin@apple.com>
316
317         Add dyldSPI.h for linked on or after checks, and add one for link preview
318         https://bugs.webkit.org/show_bug.cgi?id=157401
319         -and corresponding-
320         rdar://problem/26253396
321
322         Reviewed by Darin Adler.
323
324         This patch removes DynamicLinkerSPI.h and replaces it with 
325         wtf/spi/darwin/dyldSPI.h
326
327         * Misc/WebUIKitSupport.mm:
328
329 2016-05-06  Simon Fraser  <simon.fraser@apple.com>
330
331         Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
332         https://bugs.webkit.org/show_bug.cgi?id=157432
333         rdar://problem/16406720
334
335         Reviewed by Dean Jackson.
336
337         Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.
338
339         Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
340         preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
341         These two settings are shared with TEXT_AUTOSIZING.
342
343         Add a TextAutosizing log channel, which is useful for generated -expected.html results.
344
345         Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
346         without changes.
347
348         An implication of this set of changes is that the way clients enable text autosizing
349         has changed. Previously, they set the "MinimumZoomFontSize" preference to 0.
350         Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
351         on iPhone only, not iPad.
352
353         Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
354         instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.
355
356         UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
357         which will now always return 15, but had no other code that toggled this. So it's safe to just rely
358         on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.
359
360         * Misc/WebUIKitSupport.mm:
361         (WebKitGetMinimumZoomFontSize):
362
363 2016-03-16  Jiewen Tan  <jiewen_tan@apple.com>
364
365         URL Parsing should signal failure for illegal IDN
366         https://bugs.webkit.org/show_bug.cgi?id=154945
367         <rdar://problem/8014795>
368
369         Reviewed by Brent Fulgham.
370
371         * Misc/WebNSStringExtrasIOS.m:
372         (-[NSString _web_possibleURLsForForUserTypedString:]):
373         * WebView/WebPDFViewPlaceholder.mm:
374         (-[WebPDFViewPlaceholder _updateTitleForURL:]):
375
376 2016-03-15  Chris Dumez  <cdumez@apple.com>
377
378         Unreviewed, rolling out r198203.
379
380         Favorites view is no longer loading on iOS
381
382         Reverted changeset:
383
384         "URL Parsing should signal failure for illegal IDN"
385         https://bugs.webkit.org/show_bug.cgi?id=154945
386         http://trac.webkit.org/changeset/198203
387
388 2016-03-15  Jiewen Tan  <jiewen_tan@apple.com>
389
390         URL Parsing should signal failure for illegal IDN
391         https://bugs.webkit.org/show_bug.cgi?id=154945
392         <rdar://problem/8014795>
393
394         Reviewed by Brent Fulgham.
395
396         * Misc/WebNSStringExtrasIOS.m:
397         (-[NSString _web_possibleURLsForForUserTypedString:]):
398         * WebView/WebPDFViewPlaceholder.mm:
399         (-[WebPDFViewPlaceholder _updateTitleForURL:]):
400
401 2016-03-05  Chris Dumez  <cdumez@apple.com>
402
403         Consolidate RuntimeApplicationChecks and RuntimeApplicationChecksIOS
404         https://bugs.webkit.org/show_bug.cgi?id=155035
405
406         Reviewed by Darin Adler.
407
408         Update runtime application checks.
409
410         * WebCoreSupport/WebChromeClientIOS.mm:
411
412 2016-02-17  David Kilzer  <ddkilzer@apple.com>
413
414         [iOS WK1] NSTimer in WebGeolocationProviderIOS.mm fires on the main thread without the WebThreadLock
415         <http://webkit.org/b/154347>
416         <rdar://problem/19360382>
417
418         Reviewed by Andy Estes.
419
420         This isn't testable because the GeolocationClientMock in WebCore
421         bypasses this code in WebKit1.
422
423         * Misc/WebGeolocationProviderIOS.mm:
424         (-[WebGeolocationProviderIOS _handlePendingInitialPosition:]):
425         Assert that this is always called on the WebThread.
426         (-[WebGeolocationProviderIOS registerWebView:]): Register the
427         NSTimer on the WebThread NSRunLoop.
428
429 2016-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
430
431         Remove TextRun::allowsRoundingHacks()
432         https://bugs.webkit.org/show_bug.cgi?id=153185
433
434         Reviewed by Simon Fraser.
435
436         * Misc/WebUIKitSupport.mm:
437         (WebKitInitialize): Deleted.
438
439 2016-01-13  Chris Dumez  <cdumez@apple.com>
440
441         Unreviewed, rolling out r194900.
442
443         Roll back in as this did not actually regress PLT
444
445         Reverted changeset:
446
447         "Unreviewed, rolling out r194826."
448         https://bugs.webkit.org/show_bug.cgi?id=153020
449         http://trac.webkit.org/changeset/194900
450
451 2016-01-12  Commit Queue  <commit-queue@webkit.org>
452
453         Unreviewed, rolling out r194826.
454         https://bugs.webkit.org/show_bug.cgi?id=153020
455
456         Appears to have regressed PLT (Requested by kling on #webkit).
457
458         Reverted changeset:
459
460         "Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL
461         cont'd"
462         https://bugs.webkit.org/show_bug.cgi?id=152902
463         http://trac.webkit.org/changeset/194826
464
465 2016-01-10  Andreas Kling  <akling@apple.com>
466
467         Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL cont'd
468         <https://webkit.org/b/152902>
469
470         Reviewed by Andy Estes.
471
472         * WebCoreSupport/WebFixedPositionContent.mm:
473         (WebFixedPositionContentDataLock):
474
475 2015-12-31  Andy Estes  <aestes@apple.com>
476
477         Replace WTF::move with WTFMove
478         https://bugs.webkit.org/show_bug.cgi?id=152601
479
480         Reviewed by Brady Eidson.
481
482         * WebCoreSupport/WebFixedPositionContent.mm:
483         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
484         * WebCoreSupport/WebInspectorClientIOS.mm:
485         (WebInspectorFrontendClient::WebInspectorFrontendClient):
486
487 2015-12-20  Dan Bernstein  <mitz@apple.com>
488
489         Remove unused setToolbarHeight
490         https://bugs.webkit.org/show_bug.cgi?id=152466
491
492         Reviewed by Darin Adler.
493
494         * WebCoreSupport/WebInspectorClientIOS.mm:
495         (WebInspectorFrontendClient::setToolbarHeight): Deleted.
496
497 2015-12-18  Simon Fraser  <simon.fraser@apple.com>
498
499         Turn off "shrink-to-fit" viewport scaling in UIWebViews
500         https://bugs.webkit.org/show_bug.cgi?id=152451
501         rdar://problem/23960882
502
503         Reviewed by Tim Horton.
504         
505         Disable the "shrink to fit" behavior in UIWebViews. This disables it entirely,
506         even when the page has "shrink-to-fit=yes" in the viewport meta tag.
507         
508         Not testable because we can't test actual UIWebView scaling behavior.
509
510         * WebCoreSupport/WebChromeClientIOS.mm:
511         (dictionaryForViewportArguments):
512
513 2015-11-07  Simon Fraser  <simon.fraser@apple.com>
514
515         Remove ColorSpace argument to all the drawing calls
516         https://bugs.webkit.org/show_bug.cgi?id=150967
517
518         Reviewed by Darin Adler.
519
520         Since the -webkit-color-correction CSS property was removed in r188202, and ColorSpaceDeviceRGB
521         and ColorSpaceSRGB are functionally equivalent, we can remove all the ColorSpace arguments passed
522         to drawing functions, and remove RenderStyle::colorSpace(), which was hardcoded to return ColorSpaceSRGB.
523
524         * WebView/WebPDFViewIOS.mm:
525         (-[WebPDFView drawPage:]):
526         * WebView/WebPlainWhiteView.mm:
527
528 2015-11-02  Andy Estes  <aestes@apple.com>
529
530         Fixed the iOS build after r191904.
531
532         * WebCoreSupport/WebChromeClientIOS.mm:
533         (WebChromeClientIOS::screenSize):
534
535 2015-10-31  Andy Estes  <aestes@apple.com>
536
537         Replace iOS-only WebKitSystemInterface calls with SPI
538         https://bugs.webkit.org/show_bug.cgi?id=150763
539
540         Reviewed by Darin Adler.
541
542         * Misc/WebUIKitSupport.mm:
543         (linkedOnOrAfterIOS5): Used dyld_get_program_sdk_version() instead of iosExecutableWasLinkedOnOrAfterVersion().
544         (WebKitGetMinimumZoomFontSize): Used Settings::defaultMinimumZoomFontSize() instead of WKGetMinimumZoomFontSize().
545         * WebCoreSupport/WebChromeClientIOS.mm:
546         (WebChromeClientIOS::screenSize): Used screenSize() instead of WKGetScreenSize().
547
548 2015-11-02  Commit Queue  <commit-queue@webkit.org>
549
550         Unreviewed, rolling out r191902.
551         https://bugs.webkit.org/show_bug.cgi?id=150811
552
553         This change broke iOS builders (Requested by ryanhaddad on
554         #webkit).
555
556         Reverted changeset:
557
558         "Replace iOS-only WebKitSystemInterface calls with SPI"
559         https://bugs.webkit.org/show_bug.cgi?id=150763
560         http://trac.webkit.org/changeset/191902
561
562 2015-10-31  Andy Estes  <aestes@apple.com>
563
564         Replace iOS-only WebKitSystemInterface calls with SPI
565         https://bugs.webkit.org/show_bug.cgi?id=150763
566
567         Reviewed by Darin Adler.
568
569         * Misc/WebUIKitSupport.mm:
570         (linkedOnOrAfterIOS5): Used dyld_get_program_sdk_version() instead of iosExecutableWasLinkedOnOrAfterVersion().
571         (WebKitGetMinimumZoomFontSize): Used Settings::defaultMinimumZoomFontSize() instead of WKGetMinimumZoomFontSize().
572         * WebCoreSupport/WebChromeClientIOS.mm:
573         (WebChromeClientIOS::screenSize): Used screenSize() instead of WKGetScreenSize().
574
575 2015-10-14  Zhuo Li  <zachli@apple.com>
576
577         Augment <input type=search>’s recent search history with the time each entry was added,
578         in order to allow time-based clearing of search history.
579         https://bugs.webkit.org/show_bug.cgi?id=148388.
580
581         Reviewed by Darin Adler.
582
583         Replace Vector<String> with Vector<RecentSearch>, where RecentSearch is a struct
584         that consists search string and time, for recent searches in order to store additional time information.
585
586         * WebCoreSupport/SearchPopupMenuIOS.cpp:
587         (SearchPopupMenuIOS::saveRecentSearches):
588         (SearchPopupMenuIOS::loadRecentSearches):
589         * WebCoreSupport/SearchPopupMenuIOS.h:
590
591 2015-09-17  Brian Burg  <bburg@apple.com>
592
593         ASSERT(!m_frontendRouter->hasLocalFrontend()) when running Web Inspector tests
594         https://bugs.webkit.org/show_bug.cgi?id=149006
595
596         Reviewed by Joseph Pecoraro.
597
598         * WebCoreSupport/WebInspectorClientIOS.mm:
599         (WebInspectorClient::closeLocalFrontend): Deleted.
600         (WebInspectorFrontendClient::disconnectFromBackend): Deleted.
601
602 2015-09-12  Brian Burg  <bburg@apple.com>
603
604         Web Inspector: disambiguate inspected/frontend controllers and pages in backend code
605         https://bugs.webkit.org/show_bug.cgi?id=149071
606
607         Reviewed by Joseph Pecoraro.
608
609         * WebCoreSupport/WebInspectorClientIOS.mm:
610         (WebInspectorClient::WebInspectorClient):
611         (WebInspectorClient::inspectedPageDestroyed): Renamed.
612         (WebInspectorClient::openLocalFrontend): Renamed.
613         (WebInspectorClient::closeLocalFrontend): Renamed.
614         (WebInspectorClient::inspectorDestroyed): Deleted.
615         (WebInspectorClient::openInspectorFrontend): Deleted.
616         (WebInspectorClient::closeInspectorFrontend): Deleted.
617         (WebInspectorClient::showInspectorIndication):
618         (WebInspectorClient::hideInspectorIndication):
619         (WebInspectorClient::didSetSearchingForNode):
620         (WebInspectorFrontendClient::WebInspectorFrontendClient):
621
622 2015-08-17  Filip Pizlo  <fpizlo@apple.com>
623
624         Replace all remaining uses of WTF::Mutex with WTF::Lock
625         https://bugs.webkit.org/show_bug.cgi?id=148089
626
627         Reviewed by Geoffrey Garen.
628
629         * WebCoreSupport/WebFixedPositionContent.mm:
630         (WebFixedPositionContentDataLock):
631         (-[WebFixedPositionContent scrollOrZoomChanged:]):
632         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
633         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
634         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
635         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
636
637 2015-08-13  Tim Horton  <timothy_horton@apple.com>
638
639         Refactor and improve TextIndicator to prepare for tests
640         https://bugs.webkit.org/show_bug.cgi?id=147622
641
642         Reviewed by Simon Fraser.
643
644         * WebCoreSupport/WebFrameIOS.mm:
645         (-[WebFrame closestCaretRectInMarkedTextRangeForPoint:]):
646         Adjust to Range method renames.
647
648 2015-08-05  Filip Pizlo  <fpizlo@apple.com>
649
650         Unreviewed, roll out http://trac.webkit.org/changeset/187972.
651
652         * WebCoreSupport/WebFixedPositionContent.mm:
653         (WebFixedPositionContentDataLock):
654         (-[WebFixedPositionContent scrollOrZoomChanged:]):
655         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
656         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
657         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
658         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
659
660 2015-08-04  Filip Pizlo  <fpizlo@apple.com>
661
662         Rename Mutex to DeprecatedMutex
663         https://bugs.webkit.org/show_bug.cgi?id=147675
664
665         Reviewed by Geoffrey Garen.
666
667         * WebCoreSupport/WebFixedPositionContent.mm:
668         (WebFixedPositionContentDataLock):
669         (-[WebFixedPositionContent scrollOrZoomChanged:]):
670         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
671         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
672         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
673         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
674
675 2015-08-04  Anders Carlsson  <andersca@apple.com>
676
677         Remove database thread pause code
678         https://bugs.webkit.org/show_bug.cgi?id=147669
679
680         Reviewed by Daniel Bates.
681
682         * Misc/WebUIKitSupport.mm:
683         (WebKitSetBackgroundAndForegroundNotificationNames):
684         (applicationDidEnterBackground): Deleted.
685         (applicationWillEnterForeground): Deleted.
686
687 2015-07-21  Tim Horton  <timothy_horton@apple.com>
688
689         Expose shrink-wrapping as UIKit support SPI
690         https://bugs.webkit.org/show_bug.cgi?id=147148
691         <rdar://problem/21920008>
692
693         * WebKit.iOS.exp:
694         Also export.
695
696 2015-07-21  Tim Horton  <timothy_horton@apple.com>
697
698         Expose shrink-wrapping as UIKit support SPI
699         https://bugs.webkit.org/show_bug.cgi?id=147148
700         <rdar://problem/21920008>
701
702         Reviewed by Simon Fraser.
703
704         * Misc/WebUIKitSupport.h:
705         * Misc/WebUIKitSupport.mm:
706         (WebKitCreatePathWithShrinkWrappedRects):
707
708 2015-07-02  Timothy Horton  <timothy_horton@apple.com>
709
710         iOS WebKitLegacy should match WebKit2's viewport behavior
711         https://bugs.webkit.org/show_bug.cgi?id=146564
712         <rdar://problem/20574017>
713
714         Reviewed by Brent Fulgham.
715
716         * WebCoreSupport/WebChromeClientIOS.mm:
717         (dictionaryForViewportArguments):
718
719 2015-07-02  Timothy Horton  <timothy_horton@apple.com>
720
721         iOS WebKitLegacy should match WebKit2's viewport behavior
722         https://bugs.webkit.org/show_bug.cgi?id=146540
723         <rdar://problem/20574017>
724
725         Reviewed by Dan Bernstein.
726
727         * WebKit.iOS.exp:
728
729 2015-06-25  Joseph Pecoraro  <pecoraro@apple.com>
730
731         Unreviewed, attempt to fix the iOS build after r185968.
732
733         * WebCoreSupport/WebInspectorClientIOS.mm:
734         (WebInspectorFrontendClient::startWindowDrag):
735
736 2015-06-02  Brady Eidson  <beidson@apple.com>
737
738         WebKit policy delegate should suggest if a navigation should be allowed to open URLs externally.
739         rdar://problem/21025301 and https://bugs.webkit.org/show_bug.cgi?id=145280
740
741         Reviewed by Alex Christensen.
742
743         * WebView/WebPDFViewPlaceholder.mm:
744         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
745
746 2015-05-25  Dan Bernstein  <mitz@apple.com>
747
748         ASSERT_MAIN_THREAD and DOM_ASSERT_MAIN_THREAD are unnecessary no-ops
749         https://bugs.webkit.org/show_bug.cgi?id=145372
750
751         Reviewed by Sam Weinig.
752
753         * Misc/WebGeolocationCoreLocationProvider.mm:
754         (-[WebGeolocationCoreLocationProvider initWithListener:]): Removed use of ASSERT_MAIN_THREAD.
755         (-[WebGeolocationCoreLocationProvider dealloc]): Ditto.
756         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]): Ditto.
757         (-[WebGeolocationCoreLocationProvider start]): Ditto.
758         (-[WebGeolocationCoreLocationProvider stop]): Ditto.
759         (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]): Ditto.
760
761 2015-04-28  Brady Eidson  <beidson@apple.com>
762
763         Consolidate most "frame load" arguments into FrameLoadRequest.
764         https://bugs.webkit.org/show_bug.cgi?id=144276
765
766         Reviewed by Alexey Proskuryakov.
767
768         * WebView/WebPDFViewPlaceholder.mm:
769         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
770
771 2015-04-13  Beth Dakin  <bdakin@apple.com>
772
773         Add force property to MouseEvents
774         https://bugs.webkit.org/show_bug.cgi?id=143569
775         -and corresponding-
776         rdar://problem/20472954
777
778         Reviewed by Darin Adler.
779
780         Send the appropriate force with this simulated click event.
781         * WebView/WebPDFViewPlaceholder.mm:
782         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
783
784 2015-03-31  Myles C. Maxfield  <mmaxfield@apple.com>
785
786         Move ExpansionBehaviorFlags and TextDirection to their own file
787         https://bugs.webkit.org/show_bug.cgi?id=143273
788
789         Reviewed by Simon Fraser.
790
791         This is a mechanical change. It just moves code around.
792
793         This is getting ready for https://bugs.webkit.org/show_bug.cgi?id=142608
794
795         * WebCoreSupport/WebFrameIOS.mm:
796         * WebCoreSupport/WebVisiblePosition.mm:
797
798 2015-03-09  David Kilzer  <ddkilzer@apple.com>
799
800         [iOS] Fix build when compiling with dead code stripping disabled
801         <http://webkit.org/b/142467>
802
803         Reviewed by Simon Fraser.
804
805         * WebCoreSupport/WebInspectorClientIOS.mm:
806         (WebInspectorFrontendClient::save): Add missing method.
807
808 2015-02-14  Alexey Proskuryakov  <ap@apple.com>
809
810         rel="noreferrer" should make window.opener null
811         https://bugs.webkit.org/show_bug.cgi?id=141579
812
813         Reviewed by Darin Adler.
814
815         * WebView/WebPDFViewPlaceholder.mm:
816         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]): Updated for a new WebCore
817         function signature. There is no rel="noreferrer" in PDF, so we can just always allow.
818
819 2015-02-03  Enrica Casucci  <enrica@apple.com>
820
821         [iOS] Add support for deleteFromInputWithFlags.
822         https://bugs.webkit.org/show_bug.cgi?id=141216
823         rdar://problem/19130081
824
825         Reviewed by Benjamin Poulain.
826
827         Adopts the new method as soon as it is available.
828         The patch also removes some obsolete code used for staging.
829
830         * DefaultDelegates/WebDefaultUIKitDelegate.m:
831         (-[WebDefaultUIKitDelegate addInputString:withFlags:]):
832         (-[WebDefaultUIKitDelegate deleteFromInput]):
833         (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]):
834         (-[WebDefaultUIKitDelegate addInputString:fromVariantKey:]): Deleted.
835         * WebView/WebUIKitDelegate.h:
836
837 2015-01-22  Andreas Kling  <akling@apple.com>
838
839         Remove unused class EmojiFallbackFontSelector.
840         <https://webkit.org/b/140809>
841
842         Reviewed by Antti Koivisto.
843
844         This class no longer has any clients.
845
846         * Misc/EmojiFallbackFontSelector.cpp: Removed.
847         * Misc/EmojiFallbackFontSelector.h: Removed.
848
849 2015-01-13  Chris Dumez  <cdumez@apple.com>
850
851         Unreviewed iOS build fix after r178375
852
853         Match FontSelector API changes.
854
855         * Misc/EmojiFallbackFontSelector.cpp:
856         (EmojiFallbackFontSelector::fallbackFontDataAt):
857         (EmojiFallbackFontSelector::getFallbackFontData): Deleted.
858         * Misc/EmojiFallbackFontSelector.h:
859
860 2014-12-07  Dan Bernstein  <mitz@apple.com>
861
862         Introduce and deploy a function that allocates and returns an instance of a soft-linked class
863         https://bugs.webkit.org/show_bug.cgi?id=139348
864
865         Reviewed by Anders Carlsson.
866
867         In [[getFooClass() alloc] init*], the type of the result of +alloc is id, so the compiler
868         picks an arbitrary declaration of init*, not necessarily the Foo one. This can then lead
869         to warnings or errors if the types or attributes don’t match, or to runtime errors if Foo
870         doesn’t even have the expected initializer. The new allocFooInstance() returns a Foo *, thus
871         avoiding the ambiguity.
872
873         * Misc/WebGeolocationCoreLocationProvider.mm:
874         (-[WebGeolocationCoreLocationProvider createLocationManager]):
875
876 2014-12-06  Anders Carlsson  <andersca@apple.com>
877
878         Fix build with newer versions of clang.
879         rdar://problem/18978687
880
881         Cast the result of +alloc to the right type.
882
883         * Misc/WebGeolocationCoreLocationProvider.mm:
884         (-[WebGeolocationCoreLocationProvider createLocationManager]):
885         * WebCoreSupport/WebSelectionRect.m:
886         (+[WebSelectionRect selectionRect]):
887
888 2014-11-20  Benjamin Poulain  <bpoulain@apple.com>
889
890         Remove the remaining vestiges of minimal-ui
891         https://bugs.webkit.org/show_bug.cgi?id=138890
892
893         Reviewed by Sam Weinig.
894
895         * WebCoreSupport/WebChromeClientIOS.mm:
896         (dictionaryForViewportArguments):
897         * WebKit.iOS.exp:
898
899 2014-11-19  Daniel Bates  <dabates@apple.com>
900
901         [iOS] Make WebKit build with public iOS SDK
902         https://bugs.webkit.org/show_bug.cgi?id=136863
903
904         Reviewed by David Kilzer.
905
906         * Misc/WebGeolocationCoreLocationProvider.mm:  Remove unnecessary include of header <CoreLocation/CoreLocationPriv.h>.
907         * Misc/WebNSStringExtrasIOS.m: Substitute header <WebCore/NSStringSPI.h> for <Foundation/NSString_NSURLExtras.h>.
908         * Misc/WebUIKitSupport.mm: Remove unnecessary include of header CoreFoundation/CFPriv.h.
909
910 2014-11-14  Daniel Bates  <dabates@apple.com>
911
912         [iOS] CoreGraphics SPI not available in public SDK
913         https://bugs.webkit.org/show_bug.cgi?id=138709
914
915         Reviewed by David Kilzer.
916
917         Include header CoreGraphicsSPI.h instead of the private header CGFloat.h.
918
919         * WebCoreSupport/WebFixedPositionContent.mm:
920
921 2014-10-20  Andy Estes  <aestes@apple.com>
922
923         Fix the iOS build.
924
925         * WebCoreSupport/WebFrameIOS.mm:
926         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
927         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
928         * WebCoreSupport/WebVisiblePosition.mm:
929         (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
930         (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
931
932 2014-10-15  Chris Dumez  <cdumez@apple.com>
933
934         Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine
935         https://bugs.webkit.org/show_bug.cgi?id=137727
936
937         Reviewed by Darin Adler.
938
939         Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine.
940
941         * WebCoreSupport/WebVisiblePosition.mm:
942         (-[DOMHTMLInputElement startPosition]):
943         (-[DOMHTMLInputElement endPosition]):
944         (-[DOMHTMLTextAreaElement startPosition]):
945         (-[DOMHTMLTextAreaElement endPosition]):
946
947 2014-10-03  Tim Horton  <timothy_horton@apple.com>
948
949         REGRESSION (r165896): UIWebView PDFs have a forced black background
950         https://bugs.webkit.org/show_bug.cgi?id=137387
951         <rdar://problem/17948411>
952
953         Reviewed by David Kilzer.
954
955         * WebView/WebPDFViewPlaceholder.h:
956         * WebView/WebPDFViewPlaceholder.mm:
957         (-[WebPDFViewPlaceholder layout]):
958         Remove an ill-advised attempt to force the PDF background color from WebKit.
959         The idea was that we would maintain Safari's black background except if there
960         were no pages in the PDF, in which case we would use white instead to avoid
961         having an all-black view. However, this broke clients who didn't want a black
962         background, because we were now forcing it to black. Also, we don't need to
963         maintain the black color in Safari because it doesn't use WebPDFViewPlaceholder anymore.
964         This wasn't an important part of the patch, in any case.
965
966 2014-10-03  Tim Horton  <timothy_horton@apple.com>
967
968         REGRESSION (r173265): UIWebView PDF loading is completely broken
969         https://bugs.webkit.org/show_bug.cgi?id=137386
970         <rdar://problem/18524717>
971
972         Reviewed by David Kilzer.
973
974         * WebView/WebPDFViewPlaceholder.h:
975         * WebView/WebPDFViewPlaceholder.mm:
976         (-[WebPDFViewPlaceholder layout]):
977         (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
978         Restore important code that creates the CGDataProvider and sets _didFinishLoad
979         and calls _doPostLoadOrUnlockTasks after finishing a load, which was haphazardly
980         removed in the aforementioned revision.
981
982 2014-10-01  Christophe Dumez  <cdumez@apple.com>
983
984         Have is<>(T*) function do a null check on the pointer argument
985         https://bugs.webkit.org/show_bug.cgi?id=137333
986
987         Reviewed by Gavin Barraclough.
988
989         Have is<>(T*) function do a null check on the argument instead of a
990         simple assertion. This makes sense for 2 reasons:
991         1. It is more consistent with downcast<>(T*), which will succeed even
992            if the argument is a nullptr.
993         2. It simplifies the code a bit as it gets rid of a lot of explicit
994            null checks.
995
996         * WebCoreSupport/WebChromeClientIOS.mm:
997         (WebChromeClientIOS::focusedElementChanged):
998
999 2014-09-29  Daniel Bates  <dabates@apple.com>
1000
1001         [iOS] Remove CoreLocation workaround
1002         https://bugs.webkit.org/show_bug.cgi?id=137198
1003
1004         Reviewed by Dan Bernstein.
1005
1006         Following the fix for <rdar://problem/18448331>, we can revert the CoreLocation workaround
1007         committed in <http://trac.webkit.org/changeset/173946> and <http://trac.webkit.org/changeset/173940> (in order).
1008
1009         * Misc/WebGeolocationCoreLocationProvider.mm:
1010         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
1011         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1012
1013 2014-09-24  Daniel Bates  <dabates@apple.com>
1014
1015         [iOS] Another iOS build fix; workaround for CoreLocation
1016         https://bugs.webkit.org/show_bug.cgi?id=137104
1017         <rdar://problem/18450785>
1018
1019         Rubber-stamped by Benjamin Poulain.
1020
1021         Workaround CoreLocation issue by adding a default statement in -[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]
1022         and -[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:].
1023         We'll remove these default statements once we have the fix for <rdar://problem/18448331>.
1024
1025         * Misc/WebGeolocationCoreLocationProvider.mm:
1026         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
1027         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1028
1029 2014-09-24  Daniel Bates  <dabates@apple.com>
1030
1031         [iOS] Fix the iOS build; add case statements for kCLAuthorizationStatusAuthorized
1032         https://bugs.webkit.org/show_bug.cgi?id=137101
1033         <rdar://problem/18449815>
1034
1035         Reviewed by Mark Lam.
1036
1037         * Misc/WebGeolocationCoreLocationProvider.mm:
1038         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
1039         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1040
1041 2014-09-24  Christophe Dumez  <cdumez@apple.com>
1042
1043         Use is<HTML*Element>() instead of isHTML*Element() - Part 1
1044         https://bugs.webkit.org/show_bug.cgi?id=137068
1045
1046         Reviewed by Ryosuke Niwa.
1047
1048         Start using is<HTML*Element>() instead of isHTML*Element().
1049         Remaining usages will be updated in a follow-up patch to
1050         reduce the size of the change.
1051
1052         * WebCoreSupport/WebChromeClientIOS.mm:
1053         (WebChromeClientIOS::focusedElementChanged):
1054
1055 2014-09-21  Timothy Hatcher  <timothy@apple.com>
1056
1057         Make the Web Inspector use a separate web process.
1058
1059         https://bugs.webkit.org/show_bug.cgi?id=135120
1060
1061         Reviewed by Anders Carlsson.
1062
1063         * WebCoreSupport/WebInspectorClientIOS.mm:
1064         (WebInspectorClient::WebInspectorClient):
1065         Removed m_frontendClient initialization since it is
1066         now a std::unique_ptr that defaults to nullptr.
1067
1068 2014-09-23  Chris Dumez  <cdumez@apple.com>
1069
1070         Use downcast<HTML*Element>() instead of toHTML*Element()
1071         https://bugs.webkit.org/show_bug.cgi?id=137007
1072
1073         Reviewed by Benjamin Poulain.
1074
1075         Use downcast<HTML*Element>() instead of toHTML*Element().
1076
1077         * WebCoreSupport/WebChromeClientIOS.mm:
1078         (WebChromeClientIOS::focusedElementChanged):
1079
1080 2014-09-17  Daniel Bates  <dabates@apple.com>
1081
1082         Unreviewed, rolling out r173695.
1083
1084         Broke building third-party Legacy WebKit apps; will
1085         investigate offline
1086
1087         Reverted changeset:
1088
1089         "[iOS] Make WebCore build with public iOS SDK"
1090         https://bugs.webkit.org/show_bug.cgi?id=136487
1091         http://trac.webkit.org/changeset/173695
1092
1093 2014-09-17  Daniel Bates  <dabates@apple.com>
1094
1095         [iOS] Make WebCore build with public iOS SDK
1096         https://bugs.webkit.org/show_bug.cgi?id=136487
1097
1098         Reviewed by David Kilzer.
1099
1100         Substitute <WebCore/CGFloatSPI.h> for <CoreGraphics/CGFloat.h>.
1101
1102         * WebCoreSupport/WebFixedPositionContent.mm:
1103
1104 2014-09-05  Simon Fraser  <simon.fraser@apple.com>
1105
1106         Remove some PLATFORM(IOS) code in Color.h/cpp
1107         https://bugs.webkit.org/show_bug.cgi?id=136582
1108
1109         Reviewed by Dan Bates.
1110         
1111         createCGColorWithDeviceWhite() is only used here so make it a local static function.
1112
1113         * WebView/WebPDFViewIOS.mm:
1114         (createCGColorWithDeviceWhite):
1115
1116 2014-09-04  Pratik Solanki  <psolanki@apple.com>
1117
1118         Remove iOS specific disk image cache
1119         https://bugs.webkit.org/show_bug.cgi?id=136517
1120
1121         Reviewed by Antti Koivisto.
1122
1123         Disk image cache code unnecessarily complicates SharedBuffer implementation. We can remove
1124         this now since we don't enable it in WebKit2 on iOS.
1125
1126         * WebCoreSupport/WebDiskImageCacheClientIOS.h: Removed.
1127         * WebCoreSupport/WebDiskImageCacheClientIOS.mm: Removed.
1128         * WebView/WebPDFViewPlaceholder.mm:
1129         (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
1130         (-[WebPDFViewPlaceholder dataSourceMemoryMapped]): Deleted.
1131         (-[WebPDFViewPlaceholder dataSourceMemoryMapFailed]): Deleted.
1132
1133 2014-08-31  Tim Horton  <timothy_horton@apple.com>
1134
1135         Remove unnecessary (and unnecessarily iOS-specific) setStrokeAndFillColor
1136         https://bugs.webkit.org/show_bug.cgi?id=136416
1137
1138         Reviewed by Dan Bernstein.
1139
1140         * WebView/WebPDFViewIOS.mm:
1141         (-[WebPDFView drawPage:]):
1142         (-[WebPDFView drawRect:]):
1143         * WebView/WebPlainWhiteView.mm:
1144         We only end up filling, so only set the fill color.
1145
1146 2014-08-22  Simon Fraser  <simon.fraser@apple.com>
1147
1148         Implement paint flashing in the WK1 InspectorOverlay page
1149         https://bugs.webkit.org/show_bug.cgi?id=136138
1150
1151         Reviewed by Sam Weinig, Joseph Pecoraro.
1152
1153         Implement paint flashing for the WebKit1 InspectorOverlay via a second canvas in the overlay page.
1154         We avoid allocating backing store for this canvas until we have paint rects.
1155         
1156         Because this overlay page is weird and doesn't know how to paint itself, InspectorOverlay manages
1157         an array of rects, and pushes them to the page when they change, before forcing a paint.
1158         
1159         Because iOS doesn't use the InspectorOverlay page, stub out setShowPaintRects on its
1160         WebKit WebInspectorClient, but don't yet implement paint flashing there.
1161
1162         * WebCoreSupport/WebInspectorClientIOS.mm:
1163         (WebInspectorClient::setShowPaintRects):
1164         (WebInspectorClient::showPaintRect):
1165
1166 2014-08-18  Andy Estes  <aestes@apple.com>
1167
1168         Fix the iOS build after  r172709.
1169
1170         * WebView/WebPDFViewPlaceholder.mm:
1171         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1172
1173 2014-07-03  Daniel Bates  <dabates@apple.com>
1174
1175         Add WTF::move()
1176         https://bugs.webkit.org/show_bug.cgi?id=134500
1177
1178         Rubber-stamped by Anders Carlsson.
1179
1180         Substitute WTF::move() for std::move().
1181
1182         * WebCoreSupport/WebFixedPositionContent.mm:
1183         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
1184         * WebCoreSupport/WebInspectorClientIOS.mm:
1185         (WebInspectorFrontendClient::WebInspectorFrontendClient):
1186
1187 2014-07-01  Alex Christensen  <achristensen@webkit.org>
1188
1189         [iOS] Compile fix with pointer lock enabled.
1190         https://bugs.webkit.org/show_bug.cgi?id=134472
1191
1192         Reviewed by Pratik Solanki.
1193
1194         * WebView/WebPDFViewPlaceholder.mm:
1195         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1196         Add parameters required for pointer lock.
1197
1198 2014-06-05  Benjamin Poulain  <bpoulain@apple.com>
1199
1200         [iOS][WK2] Add device orientation
1201         https://bugs.webkit.org/show_bug.cgi?id=133530
1202
1203         Reviewed by Tim Horton.
1204
1205         Change WebKit1 to provide the deviceOrientation as pull instead of push.
1206
1207         * DefaultDelegates/WebDefaultUIKitDelegate.m:
1208         (-[WebDefaultUIKitDelegate deviceOrientation]):
1209         * WebCoreSupport/WebChromeClientIOS.h:
1210         * WebCoreSupport/WebChromeClientIOS.mm:
1211         (WebChromeClientIOS::deviceOrientation):
1212         * WebView/WebUIKitDelegate.h:
1213
1214 2014-05-09  Benjamin Poulain  <benjamin@webkit.org>
1215
1216         [iOS] Switch geolocation to an explicit authorization query model
1217         https://bugs.webkit.org/show_bug.cgi?id=132717
1218         <rdar://problem/16762390>
1219
1220         Reviewed by Sam Weinig.
1221
1222         WebGeolocationCoreLocationProvider is the general WebKit wrapper for CoreLocation.
1223
1224         The old model was to start WebGeolocationCoreLocationProvider and have the start fail or succeed.
1225         The new model is to explicitely ask for authorization through "requestGeolocationAuthorization", and
1226         listen to "geolocationAuthorizationGranted" and "geolocationAuthorizationDenied".
1227
1228         We assume the client of WebGeolocationCoreLocationProvider is well behaved and ask for authorization
1229         before invoking "start".
1230         If "start" is called and the authorization is not granted, we assume geolocation was reset since
1231         the last time authorization was requested, and we reset the client.
1232
1233
1234         WebGeolocationProviderIOS has been adapted to that model. Instead of doing the "warmup" sequence
1235         to get the authorization, it queries WebGeolocationCoreLocationProvider explicitly.
1236
1237         * Misc/WebGeolocationCoreLocationProvider.h:
1238         * Misc/WebGeolocationCoreLocationProvider.mm:
1239         (-[WebGeolocationCoreLocationProvider createLocationManager]):
1240         (-[WebGeolocationCoreLocationProvider dealloc]):
1241         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
1242         (isAuthorizationGranted):
1243         (-[WebGeolocationCoreLocationProvider start]):
1244         (-[WebGeolocationCoreLocationProvider stop]):
1245         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1246         (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]):
1247         (-[WebGeolocationCoreLocationProvider handleExternalAuthorizationStatusChange:]): Deleted.
1248         * Misc/WebGeolocationProviderIOS.mm:
1249         (-[WebGeolocationProviderIOS suspend]):
1250         (-[WebGeolocationProviderIOS resume]):
1251         (-[WebGeolocationProviderIOS registerWebView:]):
1252         (-[WebGeolocationProviderIOS unregisterWebView:]):
1253         (-[WebGeolocationProviderIOS setEnableHighAccuracy:]):
1254         (-[WebGeolocationProviderIOS initializeGeolocationForWebView:listener:]):
1255         (-[WebGeolocationProviderIOS geolocationAuthorizationGranted]):
1256         (-[WebGeolocationProviderIOS geolocationAuthorizationDenied]):
1257         (-[WebGeolocationProviderIOS stopTrackingWebView:]):
1258         (-[WebGeolocationProviderIOS resetGeolocation]):
1259         (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationGranted]):
1260         (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationDenied]):
1261         (-[_WebCoreLocationUpdateThreadingProxy positionChanged:WebCore::]):
1262         (-[_WebCoreLocationUpdateThreadingProxy errorOccurred:]):
1263         (-[_WebCoreLocationUpdateThreadingProxy resetGeolocation]):
1264         (-[WebGeolocationProviderIOS _startCoreLocationDelegate]): Deleted.
1265         (-[WebGeolocationProviderIOS _stopCoreLocationDelegateIfNeeded]): Deleted.
1266         (-[WebGeolocationProviderIOS cancelWarmUpForWebView:]): Deleted.
1267         (-[WebGeolocationProviderIOS geolocationDelegateStarted]): Deleted.
1268         (-[WebGeolocationProviderIOS geolocationDelegateUnableToStart]): Deleted.
1269         (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateStarted]): Deleted.
1270         (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateUnableToStart]): Deleted.
1271
1272 2014-04-30  Anders Carlsson  <andersca@apple.com>
1273
1274         Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
1275         https://bugs.webkit.org/show_bug.cgi?id=132399
1276         <rdar://problem/15920046>
1277
1278         Reviewed by Dan Bernstein.
1279
1280         Import WebKitLegacy headers instead of WebKit headers.
1281         
1282         * DefaultDelegates/WebDefaultFormDelegate.h:
1283         * DefaultDelegates/WebDefaultFrameLoadDelegate.m:
1284         * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
1285         * DefaultDelegates/WebDefaultUIKitDelegate.h:
1286         * Misc/WebGeolocationProviderIOS.h:
1287         * Misc/WebNSStringExtrasIPhone.h:
1288         * WebCoreSupport/WebFrameIOS.h:
1289         * WebCoreSupport/WebFrameIOS.mm:
1290         * WebCoreSupport/WebFrameIPhone.h:
1291         * WebCoreSupport/WebSelectionRect.h:
1292         * WebCoreSupport/WebVisiblePosition.h:
1293         * WebView/WebPDFViewIOS.h:
1294         * WebView/WebPDFViewIOS.mm:
1295         * WebView/WebPDFViewIPhone.h:
1296         * WebView/WebPDFViewPlaceholder.h:
1297         * WebView/WebPDFViewPlaceholder.mm:
1298         * WebView/WebPlainWhiteView.h:
1299         * WebView/WebUIKitDelegate.h:
1300
1301 2014-04-24  Myles C. Maxfield  <mmaxfield@apple.com>
1302
1303         FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
1304         https://bugs.webkit.org/show_bug.cgi?id=132110
1305
1306         Reviewed by Tim Horton.
1307
1308         Updates callers to use '.' instead of '->'.
1309
1310         No new tests are necessary because there should be no behavior change.
1311
1312         * Misc/EmojiFallbackFontSelector.cpp:
1313         (EmojiFallbackFontSelector::getFallbackFontData):
1314
1315 2014-04-17  Daniel Bates  <dabates@apple.com>
1316
1317         [iOS] Hook up screen.{availHeight, availWidth, height, width}
1318         https://bugs.webkit.org/show_bug.cgi?id=131821
1319         <rdar://problem/16413795>
1320
1321         Reviewed by Benjamin Poulain and Tim Horton.
1322
1323         Provide iOS-specific WebKit1 implementation for ChromeClient::availableScreenSize().
1324
1325         Additionally substitute "screenSize" for "viewporScreenSize" to make the code more understandable.
1326
1327         * WebCoreSupport/WebChromeClientIOS.h:
1328         * WebCoreSupport/WebChromeClientIOS.mm:
1329         (WebChromeClientIOS::screenSize): Renamed; formerly named viewportScreenSize.
1330         (WebChromeClientIOS::availableScreenSize): Added; ASSERT_NOT_REACHED() as a widget
1331         should consult it's associated WAKWindow for the available screen size.
1332
1333 2014-04-08  Alexey Proskuryakov  <ap@apple.com>
1334
1335         Rename Clipboard to DataTransfer
1336         https://bugs.webkit.org/show_bug.cgi?id=131371
1337
1338         Reviewed by Anders Carlsson.
1339
1340         * WebView/WebPDFViewPlaceholder.mm:
1341
1342 2014-04-02  Benjamin Poulain  <bpoulain@apple.com>
1343
1344         [iOS] Remove the legacy string drawing code
1345         https://bugs.webkit.org/show_bug.cgi?id=131088
1346
1347         Reviewed by Sam Weinig.
1348
1349         * Misc/WebNSStringDrawing.h: Removed.
1350         * Misc/WebNSStringDrawing.mm: Removed.
1351         * Misc/WebUIKitSupport.h:
1352
1353 2014-04-02  Mark Rowe  <mrowe@apple.com>
1354
1355         Build fix after r166684.
1356
1357         * WebView/WebPDFViewPlaceholder.mm:
1358         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1359
1360 2014-03-31  Anders Carlsson  <andersca@apple.com>
1361
1362         Fix iOS build.
1363
1364         * WebCoreSupport/WebChromeClientIOS.h:
1365         * WebCoreSupport/WebChromeClientIOS.mm:
1366         * WebCoreSupport/WebFixedPositionContent.mm:
1367         * WebCoreSupport/WebFixedPositionContentInternal.h:
1368
1369 2014-03-30  Dan Bernstein  <mitz@apple.com>
1370
1371         Tried to fix the iOS build.
1372
1373         * Misc/WebGeolocationCoreLocationProvider.mm:
1374         (-[WebGeolocationCoreLocationProvider start]):
1375         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
1376
1377 2014-03-27  Enrica Casucci  <enrica@apple.com>
1378
1379         Add support for AirPlay picker for iOS.
1380         https://bugs.webkit.org/show_bug.cgi?id=130876
1381         <rdar://problem/15349859>
1382
1383         Reviewed by Benjamin Poulain.
1384
1385         Adds support for the AirPlay picker for WebKit.
1386         The actual picker is implemented in UIKit.
1387
1388         * DefaultDelegates/WebDefaultUIKitDelegate.m:
1389         (-[WebDefaultUIKitDelegate interactionLocation]):
1390         (-[WebDefaultUIKitDelegate showPlaybackTargetPicker:fromRect:]):
1391         * WebCoreSupport/WebChromeClientIOS.mm:
1392         (WebChromeClientIOS::showPlaybackTargetPicker):
1393         * WebCoreSupport/WebFrameIOS.h:
1394         * WebCoreSupport/WebFrameIOS.mm:
1395         (-[WebFrame elementRectAtPoint:]):
1396         * WebView/WebUIKitDelegate.h:
1397
1398 2014-03-27  Enrica Casucci  <enrica@apple.com>
1399
1400         Add support for AirPlay picker in WK2 for iOS.
1401         https://bugs.webkit.org/show_bug.cgi?id=130855
1402         <rdar://problem/15349859>
1403
1404         Reviewed by Eric Carlson, Joseph Pecoraro and Benjamin Poulain.
1405
1406         Adds stub for new WebKit chrome client method.
1407
1408         * WebCoreSupport/WebChromeClientIOS.h:
1409         * WebCoreSupport/WebChromeClientIOS.mm:
1410         (WebChromeClientIOS::showAirPlayRoutePicker):
1411
1412 2014-03-25  Joseph Pecoraro  <pecoraro@apple.com>
1413
1414         [iOS] Inspector View Indication Support
1415         https://bugs.webkit.org/show_bug.cgi?id=130709
1416
1417         Reviewed by Simon Fraser.
1418
1419         * WebCoreSupport/WebInspectorClientIOS.mm:
1420         (WebInspectorClient::showInspectorIndication):
1421         (WebInspectorClient::hideInspectorIndication):
1422         Renamed methods.
1423
1424 2014-03-22  Darin Adler  <darin@apple.com>
1425
1426         Remove String::deprecatedCharacters
1427         https://bugs.webkit.org/show_bug.cgi?id=126854
1428
1429         Reviewed by Sam Weinig.
1430
1431         * Misc/WebNSStringDrawing.h: Added a FIXME about deleting this file; we can probably do it soon.
1432         * Misc/WebNSStringDrawing.mm:
1433         (+[NSString _web_setWordRoundingEnabled:]):
1434         (+[NSString _web_wordRoundingEnabled]):
1435         (+[NSString _web_setWordRoundingAllowed:]):
1436         (+[NSString _web_wordRoundingAllowed]):
1437         (+[NSString _web_setAscentRoundingEnabled:]):
1438         (+[NSString _web_ascentRoundingEnabled]):
1439         (-[NSString _web_drawAtPoint:withFont:]):
1440         (-[NSString _web_sizeWithFont:]):
1441         (-[NSString _web_sizeWithFont:forWidth:ellipsis:]):
1442         (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:]):
1443         (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:resultRange:]):
1444         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:]):
1445         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:]):
1446         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
1447         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:measureOnly:]):
1448         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:]):
1449         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:]):
1450         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:]):
1451         (-[NSString _web_sizeInRect:withFont:ellipsis:lineSpacing:]):
1452         (-[NSString _web_sizeInRect:withFont:ellipsis:]):
1453         (-[NSString _web_stringForWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
1454         (-[NSString _web_sizeForWidth:withAttributes:]):
1455         (-[NSString _web_drawAtPoint:forWidth:withAttributes:]):
1456         (-[NSString _web_sizeInRect:withAttributes:]):
1457         (-[NSString _web_drawInRect:withAttributes:]):
1458         Emptied out all these functions since callers aren't really using them any more.
1459
1460 2014-03-21  Tim Horton  <timothy_horton@apple.com>
1461
1462         Always retrieve the screen scale factor from WKSI
1463         <rdar://problem/16329679>
1464
1465         Reviewed by Sam Weinig.
1466
1467         * Misc/WebUIKitSupport.mm:
1468         (WebKitSetIsClassic): Empty this out; it's no longer needed, but will still be called.
1469
1470 2014-03-19  Tim Horton  <timothy_horton@apple.com>
1471
1472         [iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
1473         https://bugs.webkit.org/show_bug.cgi?id=130444
1474         <rdar://problem/15580682>
1475
1476         Reviewed by Sam Weinig.
1477
1478         * WebView/WebPDFViewPlaceholder.h:
1479         * WebView/WebPDFViewPlaceholder.mm:
1480         (-[WebPDFViewPlaceholder layout]):
1481         Get rid of boundingSize, it's never assigned to anything but CGSizeZero,
1482         which is confusing.
1483
1484         Don't divide by zero if we have no pages, instead return an empty bounding size.
1485
1486         (-[WebPDFViewPlaceholder _computePageRects:]):
1487         If we have an empty document, set the background color to white.
1488         Otherwise, set it to black. It's not clear that black is the ideal
1489         background color, but this retains existing behavior.
1490
1491 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
1492
1493         Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
1494         https://bugs.webkit.org/show_bug.cgi?id=130276
1495         <rdar://problem/16266927>
1496         
1497         Reviewed by Simon Fraser.
1498
1499         * WebCoreSupport/WebCaretChangeListener.h:
1500         * WebCoreSupport/WebInspectorClientIOS.mm:
1501         * WebView/WebPlainWhiteView.h:
1502         * WebView/WebPlainWhiteView.mm:
1503
1504 2014-03-12  Sergio Villar Senin  <svillar@igalia.com>
1505
1506         Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
1507         https://bugs.webkit.org/show_bug.cgi?id=129612
1508
1509         Reviewed by Darin Adler.
1510
1511         For new code use static NeverDestroyed<T> instead.
1512
1513         * Misc/EmojiFallbackFontSelector.cpp:
1514         (EmojiFallbackFontSelector::getFallbackFontData):
1515         * WebCoreSupport/WebFixedPositionContent.mm:
1516         (WebFixedPositionContentDataLock):
1517
1518 2014-03-13  Benjamin Poulain  <bpoulain@apple.com>
1519
1520         The viewport code should not depend on WebKitSystemInterface
1521         https://bugs.webkit.org/show_bug.cgi?id=130218
1522
1523         Reviewed by Tim Horton.
1524
1525         * WebCoreSupport/WebChromeClientIOS.h:
1526         * WebCoreSupport/WebChromeClientIOS.mm:
1527         (WebChromeClientIOS::viewportScreenSize):
1528         Get the viewport size from WebKitSystemInterface.
1529
1530 2014-03-12  Enrica Casucci  <enrica@apple.com>
1531
1532         Incorrect reference counting of Range in WebFrame.
1533         https://bugs.webkit.org/show_bug.cgi?id=130160
1534         <rdar://problem/16282535>
1535
1536         Reviewed by Anders Carlsson.
1537
1538         * WebCoreSupport/WebFrameIOS.mm:
1539         (-[WebFrame selectionRects]):
1540
1541 2014-03-12  Simon Fraser  <simon.fraser@apple.com>
1542
1543         Spelling is hard
1544         https://bugs.webkit.org/show_bug.cgi?id=130146
1545
1546         Reviewed by Beth Dakin.
1547         
1548         Fix spelling (constained -> constrained).
1549
1550         * WebCoreSupport/WebFixedPositionContent.mm:
1551         (-[WebFixedPositionContent scrollOrZoomChanged:]):
1552         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
1553         (-[WebFixedPositionContent setViewportConstrainedLayers:WTF::WebCore::stickyContainerMap:WTF::]):
1554         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
1555         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
1556
1557 2014-02-17  Sergio Correia  <sergio.correia@openbossa.org>
1558
1559         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
1560         https://bugs.webkit.org/show_bug.cgi?id=128681
1561
1562         Reviewed by Timothy Hatcher.
1563
1564         Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
1565         WebCore/inspector/*. Besides files in there, a few other files in
1566         JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
1567         and WebCore/testing were touched.
1568
1569         * WebCoreSupport/WebInspectorClientIOS.mm:
1570
1571 2014-02-12  Benjamin Poulain  <bpoulain@apple.com>
1572
1573         [WK2][iOS] Add back the special viewport for the old xhtml mobile doctype
1574         https://bugs.webkit.org/show_bug.cgi?id=128639
1575
1576         Reviewed by Andreas Kling.
1577
1578         * WebCoreSupport/WebChromeClientIOS.h:
1579         * WebCoreSupport/WebChromeClientIOS.mm:
1580         (WebChromeClientIOS::didReceiveMobileDocType):
1581
1582 2014-02-08  Ryosuke Niwa  <rniwa@webkit.org>
1583
1584         Build fix after r163739.
1585
1586         * WebCoreSupport/WebFrameIOS.mm:
1587         (-[WebFrame collapseSelection]):
1588         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1589
1590 2014-02-03  Dan Bernstein  <mitz@apple.com>
1591
1592         More iOS build fixing.
1593
1594         * Misc/WebNSStringDrawing.mm:
1595         (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
1596         (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
1597
1598 2014-01-31  Ryosuke Niwa  <rniwa@webkit.org>
1599
1600         Remove inline member functions of FrameSelection that access m_selection
1601         https://bugs.webkit.org/show_bug.cgi?id=127986
1602
1603         Reviewed by Enrica Casucci.
1604
1605         * WebCoreSupport/WebFrameIOS.mm:
1606         (-[WebFrame extendSelection:]):
1607         (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
1608         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1609         (-[WebFrame expandSelectionToSentence]):
1610         (-[WebFrame setBaseWritingDirection:]):
1611         (-[WebFrame smartExtendRangedSelection:]):
1612
1613 2014-01-30  Andrei Bucur  <abucur@adobe.com>
1614
1615         Remove the ACCELERATED_COMPOSITING flag
1616         https://bugs.webkit.org/show_bug.cgi?id=127833
1617
1618         Reviewed by Antti Koivisto.
1619
1620         Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
1621         mandatory.
1622
1623         * WebCoreSupport/WebChromeClientIOS.h:
1624         * WebCoreSupport/WebChromeClientIOS.mm:
1625         (WebChromeClientIOS::attachRootGraphicsLayer):
1626         * WebView/WebUIKitDelegate.h:
1627
1628 2014-01-27  Joseph Pecoraro  <pecoraro@apple.com>
1629
1630         Unreviewed iOS build fix. FALLTHROUGHs for iOS.
1631
1632         * Misc/WebNSStringDrawing.mm:
1633         (needsBidiLayout):
1634
1635 2014-01-27  Andy Estes  <aestes@apple.com>
1636
1637         Scrub WebKit API headers of WTF macros
1638         https://bugs.webkit.org/show_bug.cgi?id=127706
1639
1640         Reviewed by David Kilzer.
1641
1642         * WebCoreSupport/WebMIMETypeRegistry.h: Changed PLATFORM(IOS) to
1643         TARGET_OS_IPHONE.
1644
1645 2014-01-15  Sam Weinig  <sam@webkit.org>
1646
1647         TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
1648         https://bugs.webkit.org/show_bug.cgi?id=126856
1649
1650         Reviewed by Ryosuke Niwa.
1651
1652         Change all the TextBreakIterator creation functions to take StringViews. Remove a few
1653         now unnecessary up-conversions to UTF-16 in the process.
1654
1655         * Misc/WebNSStringDrawing.mm:
1656
1657 2014-01-16  Anders Carlsson  <andersca@apple.com>
1658
1659         Change all uses of FINAL to final now that all our compilers support it
1660         https://bugs.webkit.org/show_bug.cgi?id=127142
1661
1662         Reviewed by Benjamin Poulain.
1663
1664         * WebCoreSupport/WebDiskImageCacheClientIOS.h:
1665
1666 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
1667
1668         Remove workaround for compilers not supporting explicit override control
1669         https://bugs.webkit.org/show_bug.cgi?id=127111
1670
1671         Reviewed by Anders Carlsson.
1672
1673         Now all compilers support explicit override control, this workaround can be removed.
1674
1675         * Misc/EmojiFallbackFontSelector.h:
1676         * Storage/WebSQLiteDatabaseTrackerClient.h:
1677         * WebCoreSupport/PopupMenuIOS.h:
1678         * WebCoreSupport/SearchPopupMenuIOS.h:
1679         * WebCoreSupport/WebChromeClientIOS.h:
1680         * WebCoreSupport/WebDiskImageCacheClientIOS.h:
1681
1682 2014-01-16  Andy Estes  <aestes@apple.com>
1683
1684         [iOS] Fix build issues with exported headers
1685
1686         * Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
1687         TARGET_OS_IPHONE.
1688
1689 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
1690
1691         Avoid PLATFORM() macros in exported headers.
1692
1693         * WebView/WebPDFViewPlaceholder.h:
1694
1695 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
1696
1697         Clean up exports and headers for iOS.
1698
1699         * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
1700         * WebCoreSupport/WebFrameIOS.h: Ditto.
1701         * WebCoreSupport/WebSelectionRect.h: Ditto.
1702
1703 2014-01-14  Dean Jackson  <dino@apple.com>
1704
1705         Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
1706
1707         * WebKit.iOS.exp:
1708
1709 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
1710
1711         Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
1712
1713         * WebCoreSupport/WebInspectorClientIOS.mm:
1714         (WebInspectorClient::indicate):
1715         (WebInspectorClient::hideIndication):
1716
1717 2014-01-13  Simon Fraser  <simon.fraser@apple.com>
1718
1719         More work towards getting iOS WK1 building.
1720
1721         * WebCoreSupport/WebFrameIOS.mm:
1722         (-[WebFrame imageForNode:allowDownsampling:drawContentBehindTransparentNodes:]): Stub out this
1723         function, since it should use recently-refactored node snapshotting code. Covered by <rdar://problem/15808709>.
1724
1725 2014-01-12  Darin Adler  <darin@apple.com>
1726
1727         Add type checking to isEqual methods
1728         https://bugs.webkit.org/show_bug.cgi?id=126862
1729
1730         Reviewed by Anders Carlsson.
1731
1732         * WebCoreSupport/WebVisiblePosition.mm:
1733         (-[WebVisiblePosition isEqual:]): Add type checking on the argument.
1734         Add a FIXME about the lack of a hash method override. Simplified by
1735         removing the unneeded local variables.
1736
1737 2014-01-02  Andy Estes  <aestes@apple.com>
1738
1739         [iOS] Upstream remainder of minimal-ui viewport changes
1740         https://bugs.webkit.org/show_bug.cgi?id=126410
1741
1742         Reviewed by Sam Weinig.
1743
1744         * WebCoreSupport/WebChromeClientIOS.mm:
1745         (dictionaryForViewportArguments):
1746         * WebKit.iOS.exp:
1747
1748 2013-12-31  Andy Estes  <aestes@apple.com>
1749
1750         [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
1751         https://bugs.webkit.org/show_bug.cgi?id=125746
1752
1753         Reviewed by David Kilzer.
1754
1755         * WebCoreSupport/WebVisiblePosition.mm:
1756         (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
1757         to mention iOS rather than iPhone.
1758
1759 2013-12-27  Daniel Bates  <dabates@apple.com>
1760
1761         [iOS] Upstream WebCore/page changes
1762         https://bugs.webkit.org/show_bug.cgi?id=126180
1763
1764         Reviewed by Darin Adler.
1765
1766         * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
1767
1768 2013-12-04  Brian J. Burg  <burg@cs.washington.edu>
1769
1770         Consolidate various frame snapshot capabilities.
1771         https://bugs.webkit.org/show_bug.cgi?id=124325
1772
1773         Reviewed by Darin Adler.
1774
1775         * WebCoreSupport/WebFrameIOS.mm: use new header file.
1776
1777 2013-12-04  Andy Estes  <aestes@apple.com>
1778
1779         [iOS] Upstream build fixes in Source/WebKit/ios/
1780         https://bugs.webkit.org/show_bug.cgi?id=125230
1781
1782         Reviewed by Sam Weinig.
1783
1784         * DefaultDelegates/WebDefaultUIKitDelegate.m:
1785         (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
1786         * Misc/WebNSStringDrawing.mm:
1787         (needsBidiLayout):
1788         (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
1789         (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
1790         * Misc/WebUIKitSupport.mm:
1791         (WebKitInitialize):
1792         * WebCoreSupport/WebChromeClientIOS.h:
1793         * WebCoreSupport/WebChromeClientIOS.mm:
1794         (WebChromeClientIOS::didReceiveMobileDocType):
1795         (WebChromeClientIOS::focusedElementChanged):
1796         * WebCoreSupport/WebFrameIOS.mm:
1797         (-[WebFrame clearSelection]):
1798         (-[WebFrame selectionState]):
1799         (-[WebFrame collapseSelection]):
1800         (-[WebFrame extendSelection:]):
1801         (-[WebFrame selectionRects]):
1802         (-[WebFrame setRangedSelectionWithExtentPoint:]):
1803         (-[WebFrame setRangedSelectionExtentPoint:baseIsStart:allowFlipping:]):
1804         (-[WebFrame setSelectionWithBasePoint:extentPoint:baseIsStart:allowFlipping:]):
1805         (-[WebFrame setSelectionWithFirstPoint:secondPoint:]):
1806         (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
1807         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1808         (-[WebFrame expandSelectionToSentence]):
1809         (-[WebFrame setBaseWritingDirection:]):
1810         (-[WebFrame moveSelectionToStart]):
1811         (-[WebFrame moveSelectionToEnd]):
1812         (-[WebFrame moveSelectionToPoint:]):
1813         (-[WebFrame setSelectionGranularity:]):
1814         (-[WebFrame smartExtendRangedSelection:]):
1815         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
1816         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
1817         * WebCoreSupport/WebInspectorClientIOS.mm:
1818         (WebInspectorClient::WebInspectorClient):
1819         (WebInspectorClient::didSetSearchingForNode):
1820         (WebInspectorClient::setupRemoteConnection):
1821         (WebInspectorClient::teardownRemoteConnection):
1822         * WebCoreSupport/WebVisiblePosition.mm:
1823         (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
1824         (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
1825         (-[DOMHTMLInputElement startPosition]):
1826         (-[DOMHTMLInputElement endPosition]):
1827         (-[DOMHTMLTextAreaElement startPosition]):
1828         (-[DOMHTMLTextAreaElement endPosition]):
1829         * WebView/WebPDFViewIOS.mm:
1830         (+[WebPDFView shadowColor]):
1831         (+[WebPDFView backgroundColor]):
1832         (-[WebPDFView _checkPDFTitle]):
1833         * WebView/WebPDFViewPlaceholder.mm:
1834         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1835         * WebView/WebUIKitDelegate.h:
1836
1837 2013-12-03  Joseph Pecoraro  <pecoraro@apple.com>
1838
1839         Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
1840         https://bugs.webkit.org/show_bug.cgi?id=124613
1841
1842         Reviewed by Timothy Hatcher.
1843
1844         * WebCoreSupport/WebInspectorClientIOS.mm:
1845         (WebInspectorClient::WebInspectorClient):
1846         (WebInspectorClient::inspectorDestroyed):
1847
1848 2013-12-03  Ralph Thomas  <ralpht@gmail.com>
1849
1850         Typo: FixedPositionConstaint -> FixedPositionConstraint
1851         https://bugs.webkit.org/show_bug.cgi?id=125171
1852
1853         Reviewed by Simon Fraser.
1854
1855         * WebCoreSupport/WebFixedPositionContent.mm:
1856         (-[WebFixedPositionContent scrollOrZoomChanged:]):
1857
1858 2013-11-18  Commit Queue  <commit-queue@webkit.org>
1859
1860         Unreviewed, rolling out r159455.
1861         http://trac.webkit.org/changeset/159455
1862         https://bugs.webkit.org/show_bug.cgi?id=124568
1863
1864         broke two api tests (see bug 124564) (Requested by thorton on
1865         #webkit).
1866
1867         * WebCoreSupport/WebFrameIOS.mm:
1868
1869 2013-11-18  Brian J. Burg  <burg@cs.washington.edu>
1870
1871         Consolidate various frame snapshot capabilities.
1872         https://bugs.webkit.org/show_bug.cgi?id=124325
1873
1874         Reviewed by Timothy Hatcher.
1875
1876         * WebCoreSupport/WebFrameIOS.mm: use new header file.
1877
1878 2013-11-07  Joseph Pecoraro  <pecoraro@apple.com>
1879
1880         Remove a PLATFORM(IOS) from WebKit Private Header
1881         https://bugs.webkit.org/show_bug.cgi?id=124014
1882
1883         Reviewed by Timothy Hatcher.
1884
1885         * WebKit.iOS.exp:
1886
1887 2013-10-29  Andy Estes  <aestes@apple.com>
1888
1889         [iOS] Upstream Source/WebKit/ios/
1890         https://bugs.webkit.org/show_bug.cgi?id=123470
1891
1892         Reviewed by Sam Weinig.
1893
1894         * DefaultDelegates/WebDefaultFormDelegate.h: Added.
1895         * DefaultDelegates/WebDefaultFormDelegate.m: Added.
1896         * DefaultDelegates/WebDefaultFrameLoadDelegate.h: Added.
1897         * DefaultDelegates/WebDefaultFrameLoadDelegate.m: Added.
1898         * DefaultDelegates/WebDefaultResourceLoadDelegate.h: Added.
1899         * DefaultDelegates/WebDefaultResourceLoadDelegate.m: Added.
1900         * DefaultDelegates/WebDefaultUIKitDelegate.h: Added.
1901         * DefaultDelegates/WebDefaultUIKitDelegate.m: Added.
1902         * Misc/EmojiFallbackFontSelector.cpp: Added.
1903         * Misc/EmojiFallbackFontSelector.h: Added.
1904         * Misc/MemoryMeasure.h: Added.
1905         * Misc/MemoryMeasure.mm: Added.
1906         * Misc/WebGeolocationCoreLocationProvider.h: Added.
1907         * Misc/WebGeolocationCoreLocationProvider.mm: Added.
1908         * Misc/WebGeolocationProviderIOS.h: Added.
1909         * Misc/WebGeolocationProviderIOS.mm: Added.
1910         * Misc/WebNSStringDrawing.h: Added.
1911         * Misc/WebNSStringDrawing.mm: Added.
1912         * Misc/WebNSStringExtrasIOS.h: Added.
1913         * Misc/WebNSStringExtrasIOS.m: Added.
1914         * Misc/WebNSStringExtrasIPhone.h: Added.
1915         * Misc/WebUIKitSupport.h: Added.
1916         * Misc/WebUIKitSupport.mm: Added.
1917         * Storage/WebSQLiteDatabaseTrackerClient.h: Added.
1918         * Storage/WebSQLiteDatabaseTrackerClient.mm: Added.
1919         * WebCoreSupport/PopupMenuIOS.h: Added.
1920         * WebCoreSupport/PopupMenuIOS.mm: Added.
1921         * WebCoreSupport/SearchPopupMenuIOS.cpp: Added.
1922         * WebCoreSupport/SearchPopupMenuIOS.h: Added.
1923         * WebCoreSupport/WebCaretChangeListener.h: Added.
1924         * WebCoreSupport/WebChromeClientIOS.h: Added.
1925         * WebCoreSupport/WebChromeClientIOS.mm: Added.
1926         * WebCoreSupport/WebFixedPositionContent.h: Added.
1927         * WebCoreSupport/WebFixedPositionContent.mm: Added.
1928         * WebCoreSupport/WebFixedPositionContentInternal.h: Added.
1929         * WebCoreSupport/WebFrameIOS.h: Added.
1930         * WebCoreSupport/WebFrameIOS.mm: Added.
1931         * WebCoreSupport/WebFrameIPhone.h: Added.
1932         * WebCoreSupport/WebGeolocation.mm: Added.
1933         * WebCoreSupport/WebGeolocationInternal.h: Added.
1934         * WebCoreSupport/WebGeolocationPrivate.h: Added.
1935         * WebCoreSupport/WebMIMETypeRegistry.h: Added.
1936         * WebCoreSupport/WebMIMETypeRegistry.mm: Added.
1937         * WebCoreSupport/WebSelectionRect.h: Added.
1938         * WebCoreSupport/WebSelectionRect.m: Added.
1939         * WebCoreSupport/WebVisiblePosition.h: Added.
1940         * WebCoreSupport/WebVisiblePosition.mm: Added.
1941         * WebCoreSupport/WebVisiblePositionInternal.h: Added.
1942         * WebKit.iOS.exp: Added.
1943         * WebView/WebFrameViewWAKCompatibility.m: Added.
1944         * WebView/WebMailDelegate.h: Added.
1945         * WebView/WebPDFViewIOS.h: Added.
1946         * WebView/WebPDFViewIOS.mm: Added.
1947         * WebView/WebPDFViewIPhone.h: Added.
1948         * WebView/WebPDFViewPlaceholder.h: Added.
1949         * WebView/WebPDFViewPlaceholder.mm: Added.
1950         * WebView/WebPlainWhiteView.h: Added.
1951         * WebView/WebPlainWhiteView.mm: Added.
1952         * WebView/WebUIKitDelegate.h: Added.
1953
1954 2013-10-25  Joseph Pecoraro  <pecoraro@apple.com>
1955
1956         Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
1957         https://bugs.webkit.org/show_bug.cgi?id=123111
1958
1959         Reviewed by Timothy Hatcher.
1960
1961         iOS does not have a local inspector, only remote. So give it a custom
1962         implementation separate from the WebKit/mac WebInspectorClient
1963         implementation which handles an attaching/detaching local inspector.
1964
1965         * WebKit.xcodeproj/project.pbxproj:
1966         * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
1967         (WebInspectorClient::WebInspectorClient):
1968         (WebInspectorClient::inspectorDestroyed):
1969         (WebInspectorClient::openInspectorFrontend):
1970         (WebInspectorClient::bringFrontendToFront):
1971         (WebInspectorClient::closeInspectorFrontend):
1972         (WebInspectorClient::didResizeMainFrame):
1973         (WebInspectorClient::highlight):
1974         (WebInspectorClient::hideHighlight):
1975         (WebInspectorClient::didSetSearchingForNode):
1976         (WebInspectorClient::sendMessageToFrontend):
1977         (WebInspectorClient::sendMessageToBackend):
1978         (WebInspectorClient::setupRemoteConnection):
1979         (WebInspectorClient::teardownRemoteConnection):
1980         (WebInspectorClient::hasLocalSession):
1981         (WebInspectorClient::canBeRemotelyInspected):
1982         (WebInspectorClient::inspectedWebView):
1983         (WebInspectorFrontendClient::WebInspectorFrontendClient):
1984         (WebInspectorFrontendClient::attachAvailabilityChanged):
1985         (WebInspectorFrontendClient::frontendLoaded):
1986         (WebInspectorFrontendClient::localizedStringsURL):
1987         (WebInspectorFrontendClient::bringToFront):
1988         (WebInspectorFrontendClient::closeWindow):
1989         (WebInspectorFrontendClient::disconnectFromBackend):
1990         (WebInspectorFrontendClient::attachWindow):
1991         (WebInspectorFrontendClient::detachWindow):
1992         (WebInspectorFrontendClient::setAttachedWindowHeight):
1993         (WebInspectorFrontendClient::setAttachedWindowWidth):
1994         (WebInspectorFrontendClient::setToolbarHeight):
1995         (WebInspectorFrontendClient::inspectedURLChanged):
1996         (WebInspectorFrontendClient::updateWindowTitle):
1997         (WebInspectorFrontendClient::save):
1998         (WebInspectorFrontendClient::append):