d36bde1ada526e7f68fb626ca7233714eb2ee483
[WebKit-https.git] / Source / WebKit / ios / ChangeLog
1 2015-08-04  Filip Pizlo  <fpizlo@apple.com>
2
3         Rename Mutex to DeprecatedMutex
4         https://bugs.webkit.org/show_bug.cgi?id=147675
5
6         Reviewed by Geoffrey Garen.
7
8         * WebCoreSupport/WebFixedPositionContent.mm:
9         (WebFixedPositionContentDataLock):
10         (-[WebFixedPositionContent scrollOrZoomChanged:]):
11         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
12         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
13         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
14         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
15
16 2015-08-04  Anders Carlsson  <andersca@apple.com>
17
18         Remove database thread pause code
19         https://bugs.webkit.org/show_bug.cgi?id=147669
20
21         Reviewed by Daniel Bates.
22
23         * Misc/WebUIKitSupport.mm:
24         (WebKitSetBackgroundAndForegroundNotificationNames):
25         (applicationDidEnterBackground): Deleted.
26         (applicationWillEnterForeground): Deleted.
27
28 2015-07-21  Tim Horton  <timothy_horton@apple.com>
29
30         Expose shrink-wrapping as UIKit support SPI
31         https://bugs.webkit.org/show_bug.cgi?id=147148
32         <rdar://problem/21920008>
33
34         * WebKit.iOS.exp:
35         Also export.
36
37 2015-07-21  Tim Horton  <timothy_horton@apple.com>
38
39         Expose shrink-wrapping as UIKit support SPI
40         https://bugs.webkit.org/show_bug.cgi?id=147148
41         <rdar://problem/21920008>
42
43         Reviewed by Simon Fraser.
44
45         * Misc/WebUIKitSupport.h:
46         * Misc/WebUIKitSupport.mm:
47         (WebKitCreatePathWithShrinkWrappedRects):
48
49 2015-07-02  Timothy Horton  <timothy_horton@apple.com>
50
51         iOS WebKitLegacy should match WebKit2's viewport behavior
52         https://bugs.webkit.org/show_bug.cgi?id=146564
53         <rdar://problem/20574017>
54
55         Reviewed by Brent Fulgham.
56
57         * WebCoreSupport/WebChromeClientIOS.mm:
58         (dictionaryForViewportArguments):
59
60 2015-07-02  Timothy Horton  <timothy_horton@apple.com>
61
62         iOS WebKitLegacy should match WebKit2's viewport behavior
63         https://bugs.webkit.org/show_bug.cgi?id=146540
64         <rdar://problem/20574017>
65
66         Reviewed by Dan Bernstein.
67
68         * WebKit.iOS.exp:
69
70 2015-06-25  Joseph Pecoraro  <pecoraro@apple.com>
71
72         Unreviewed, attempt to fix the iOS build after r185968.
73
74         * WebCoreSupport/WebInspectorClientIOS.mm:
75         (WebInspectorFrontendClient::startWindowDrag):
76
77 2015-06-02  Brady Eidson  <beidson@apple.com>
78
79         WebKit policy delegate should suggest if a navigation should be allowed to open URLs externally.
80         rdar://problem/21025301 and https://bugs.webkit.org/show_bug.cgi?id=145280
81
82         Reviewed by Alex Christensen.
83
84         * WebView/WebPDFViewPlaceholder.mm:
85         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
86
87 2015-05-25  Dan Bernstein  <mitz@apple.com>
88
89         ASSERT_MAIN_THREAD and DOM_ASSERT_MAIN_THREAD are unnecessary no-ops
90         https://bugs.webkit.org/show_bug.cgi?id=145372
91
92         Reviewed by Sam Weinig.
93
94         * Misc/WebGeolocationCoreLocationProvider.mm:
95         (-[WebGeolocationCoreLocationProvider initWithListener:]): Removed use of ASSERT_MAIN_THREAD.
96         (-[WebGeolocationCoreLocationProvider dealloc]): Ditto.
97         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]): Ditto.
98         (-[WebGeolocationCoreLocationProvider start]): Ditto.
99         (-[WebGeolocationCoreLocationProvider stop]): Ditto.
100         (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]): Ditto.
101
102 2015-04-28  Brady Eidson  <beidson@apple.com>
103
104         Consolidate most "frame load" arguments into FrameLoadRequest.
105         https://bugs.webkit.org/show_bug.cgi?id=144276
106
107         Reviewed by Alexey Proskuryakov.
108
109         * WebView/WebPDFViewPlaceholder.mm:
110         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
111
112 2015-04-13  Beth Dakin  <bdakin@apple.com>
113
114         Add force property to MouseEvents
115         https://bugs.webkit.org/show_bug.cgi?id=143569
116         -and corresponding-
117         rdar://problem/20472954
118
119         Reviewed by Darin Adler.
120
121         Send the appropriate force with this simulated click event.
122         * WebView/WebPDFViewPlaceholder.mm:
123         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
124
125 2015-03-31  Myles C. Maxfield  <mmaxfield@apple.com>
126
127         Move ExpansionBehaviorFlags and TextDirection to their own file
128         https://bugs.webkit.org/show_bug.cgi?id=143273
129
130         Reviewed by Simon Fraser.
131
132         This is a mechanical change. It just moves code around.
133
134         This is getting ready for https://bugs.webkit.org/show_bug.cgi?id=142608
135
136         * WebCoreSupport/WebFrameIOS.mm:
137         * WebCoreSupport/WebVisiblePosition.mm:
138
139 2015-03-09  David Kilzer  <ddkilzer@apple.com>
140
141         [iOS] Fix build when compiling with dead code stripping disabled
142         <http://webkit.org/b/142467>
143
144         Reviewed by Simon Fraser.
145
146         * WebCoreSupport/WebInspectorClientIOS.mm:
147         (WebInspectorFrontendClient::save): Add missing method.
148
149 2015-02-14  Alexey Proskuryakov  <ap@apple.com>
150
151         rel="noreferrer" should make window.opener null
152         https://bugs.webkit.org/show_bug.cgi?id=141579
153
154         Reviewed by Darin Adler.
155
156         * WebView/WebPDFViewPlaceholder.mm:
157         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]): Updated for a new WebCore
158         function signature. There is no rel="noreferrer" in PDF, so we can just always allow.
159
160 2015-02-03  Enrica Casucci  <enrica@apple.com>
161
162         [iOS] Add support for deleteFromInputWithFlags.
163         https://bugs.webkit.org/show_bug.cgi?id=141216
164         rdar://problem/19130081
165
166         Reviewed by Benjamin Poulain.
167
168         Adopts the new method as soon as it is available.
169         The patch also removes some obsolete code used for staging.
170
171         * DefaultDelegates/WebDefaultUIKitDelegate.m:
172         (-[WebDefaultUIKitDelegate addInputString:withFlags:]):
173         (-[WebDefaultUIKitDelegate deleteFromInput]):
174         (-[WebDefaultUIKitDelegate deleteFromInputwithFlags:]):
175         (-[WebDefaultUIKitDelegate addInputString:fromVariantKey:]): Deleted.
176         * WebView/WebUIKitDelegate.h:
177
178 2015-01-22  Andreas Kling  <akling@apple.com>
179
180         Remove unused class EmojiFallbackFontSelector.
181         <https://webkit.org/b/140809>
182
183         Reviewed by Antti Koivisto.
184
185         This class no longer has any clients.
186
187         * Misc/EmojiFallbackFontSelector.cpp: Removed.
188         * Misc/EmojiFallbackFontSelector.h: Removed.
189
190 2015-01-13  Chris Dumez  <cdumez@apple.com>
191
192         Unreviewed iOS build fix after r178375
193
194         Match FontSelector API changes.
195
196         * Misc/EmojiFallbackFontSelector.cpp:
197         (EmojiFallbackFontSelector::fallbackFontDataAt):
198         (EmojiFallbackFontSelector::getFallbackFontData): Deleted.
199         * Misc/EmojiFallbackFontSelector.h:
200
201 2014-12-07  Dan Bernstein  <mitz@apple.com>
202
203         Introduce and deploy a function that allocates and returns an instance of a soft-linked class
204         https://bugs.webkit.org/show_bug.cgi?id=139348
205
206         Reviewed by Anders Carlsson.
207
208         In [[getFooClass() alloc] init*], the type of the result of +alloc is id, so the compiler
209         picks an arbitrary declaration of init*, not necessarily the Foo one. This can then lead
210         to warnings or errors if the types or attributes don’t match, or to runtime errors if Foo
211         doesn’t even have the expected initializer. The new allocFooInstance() returns a Foo *, thus
212         avoiding the ambiguity.
213
214         * Misc/WebGeolocationCoreLocationProvider.mm:
215         (-[WebGeolocationCoreLocationProvider createLocationManager]):
216
217 2014-12-06  Anders Carlsson  <andersca@apple.com>
218
219         Fix build with newer versions of clang.
220         rdar://problem/18978687
221
222         Cast the result of +alloc to the right type.
223
224         * Misc/WebGeolocationCoreLocationProvider.mm:
225         (-[WebGeolocationCoreLocationProvider createLocationManager]):
226         * WebCoreSupport/WebSelectionRect.m:
227         (+[WebSelectionRect selectionRect]):
228
229 2014-11-20  Benjamin Poulain  <bpoulain@apple.com>
230
231         Remove the remaining vestiges of minimal-ui
232         https://bugs.webkit.org/show_bug.cgi?id=138890
233
234         Reviewed by Sam Weinig.
235
236         * WebCoreSupport/WebChromeClientIOS.mm:
237         (dictionaryForViewportArguments):
238         * WebKit.iOS.exp:
239
240 2014-11-19  Daniel Bates  <dabates@apple.com>
241
242         [iOS] Make WebKit build with public iOS SDK
243         https://bugs.webkit.org/show_bug.cgi?id=136863
244
245         Reviewed by David Kilzer.
246
247         * Misc/WebGeolocationCoreLocationProvider.mm:  Remove unnecessary include of header <CoreLocation/CoreLocationPriv.h>.
248         * Misc/WebNSStringExtrasIOS.m: Substitute header <WebCore/NSStringSPI.h> for <Foundation/NSString_NSURLExtras.h>.
249         * Misc/WebUIKitSupport.mm: Remove unnecessary include of header CoreFoundation/CFPriv.h.
250
251 2014-11-14  Daniel Bates  <dabates@apple.com>
252
253         [iOS] CoreGraphics SPI not available in public SDK
254         https://bugs.webkit.org/show_bug.cgi?id=138709
255
256         Reviewed by David Kilzer.
257
258         Include header CoreGraphicsSPI.h instead of the private header CGFloat.h.
259
260         * WebCoreSupport/WebFixedPositionContent.mm:
261
262 2014-10-20  Andy Estes  <aestes@apple.com>
263
264         Fix the iOS build.
265
266         * WebCoreSupport/WebFrameIOS.mm:
267         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
268         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
269         * WebCoreSupport/WebVisiblePosition.mm:
270         (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
271         (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
272
273 2014-10-15  Chris Dumez  <cdumez@apple.com>
274
275         Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine
276         https://bugs.webkit.org/show_bug.cgi?id=137727
277
278         Reviewed by Darin Adler.
279
280         Use is<>() / downcast<>() for RenderTextControl / RenderTextControlSingleLine.
281
282         * WebCoreSupport/WebVisiblePosition.mm:
283         (-[DOMHTMLInputElement startPosition]):
284         (-[DOMHTMLInputElement endPosition]):
285         (-[DOMHTMLTextAreaElement startPosition]):
286         (-[DOMHTMLTextAreaElement endPosition]):
287
288 2014-10-03  Tim Horton  <timothy_horton@apple.com>
289
290         REGRESSION (r165896): UIWebView PDFs have a forced black background
291         https://bugs.webkit.org/show_bug.cgi?id=137387
292         <rdar://problem/17948411>
293
294         Reviewed by David Kilzer.
295
296         * WebView/WebPDFViewPlaceholder.h:
297         * WebView/WebPDFViewPlaceholder.mm:
298         (-[WebPDFViewPlaceholder layout]):
299         Remove an ill-advised attempt to force the PDF background color from WebKit.
300         The idea was that we would maintain Safari's black background except if there
301         were no pages in the PDF, in which case we would use white instead to avoid
302         having an all-black view. However, this broke clients who didn't want a black
303         background, because we were now forcing it to black. Also, we don't need to
304         maintain the black color in Safari because it doesn't use WebPDFViewPlaceholder anymore.
305         This wasn't an important part of the patch, in any case.
306
307 2014-10-03  Tim Horton  <timothy_horton@apple.com>
308
309         REGRESSION (r173265): UIWebView PDF loading is completely broken
310         https://bugs.webkit.org/show_bug.cgi?id=137386
311         <rdar://problem/18524717>
312
313         Reviewed by David Kilzer.
314
315         * WebView/WebPDFViewPlaceholder.h:
316         * WebView/WebPDFViewPlaceholder.mm:
317         (-[WebPDFViewPlaceholder layout]):
318         (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
319         Restore important code that creates the CGDataProvider and sets _didFinishLoad
320         and calls _doPostLoadOrUnlockTasks after finishing a load, which was haphazardly
321         removed in the aforementioned revision.
322
323 2014-10-01  Christophe Dumez  <cdumez@apple.com>
324
325         Have is<>(T*) function do a null check on the pointer argument
326         https://bugs.webkit.org/show_bug.cgi?id=137333
327
328         Reviewed by Gavin Barraclough.
329
330         Have is<>(T*) function do a null check on the argument instead of a
331         simple assertion. This makes sense for 2 reasons:
332         1. It is more consistent with downcast<>(T*), which will succeed even
333            if the argument is a nullptr.
334         2. It simplifies the code a bit as it gets rid of a lot of explicit
335            null checks.
336
337         * WebCoreSupport/WebChromeClientIOS.mm:
338         (WebChromeClientIOS::focusedElementChanged):
339
340 2014-09-29  Daniel Bates  <dabates@apple.com>
341
342         [iOS] Remove CoreLocation workaround
343         https://bugs.webkit.org/show_bug.cgi?id=137198
344
345         Reviewed by Dan Bernstein.
346
347         Following the fix for <rdar://problem/18448331>, we can revert the CoreLocation workaround
348         committed in <http://trac.webkit.org/changeset/173946> and <http://trac.webkit.org/changeset/173940> (in order).
349
350         * Misc/WebGeolocationCoreLocationProvider.mm:
351         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
352         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
353
354 2014-09-24  Daniel Bates  <dabates@apple.com>
355
356         [iOS] Another iOS build fix; workaround for CoreLocation
357         https://bugs.webkit.org/show_bug.cgi?id=137104
358         <rdar://problem/18450785>
359
360         Rubber-stamped by Benjamin Poulain.
361
362         Workaround CoreLocation issue by adding a default statement in -[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]
363         and -[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:].
364         We'll remove these default statements once we have the fix for <rdar://problem/18448331>.
365
366         * Misc/WebGeolocationCoreLocationProvider.mm:
367         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
368         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
369
370 2014-09-24  Daniel Bates  <dabates@apple.com>
371
372         [iOS] Fix the iOS build; add case statements for kCLAuthorizationStatusAuthorized
373         https://bugs.webkit.org/show_bug.cgi?id=137101
374         <rdar://problem/18449815>
375
376         Reviewed by Mark Lam.
377
378         * Misc/WebGeolocationCoreLocationProvider.mm:
379         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
380         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
381
382 2014-09-24  Christophe Dumez  <cdumez@apple.com>
383
384         Use is<HTML*Element>() instead of isHTML*Element() - Part 1
385         https://bugs.webkit.org/show_bug.cgi?id=137068
386
387         Reviewed by Ryosuke Niwa.
388
389         Start using is<HTML*Element>() instead of isHTML*Element().
390         Remaining usages will be updated in a follow-up patch to
391         reduce the size of the change.
392
393         * WebCoreSupport/WebChromeClientIOS.mm:
394         (WebChromeClientIOS::focusedElementChanged):
395
396 2014-09-21  Timothy Hatcher  <timothy@apple.com>
397
398         Make the Web Inspector use a separate web process.
399
400         https://bugs.webkit.org/show_bug.cgi?id=135120
401
402         Reviewed by Anders Carlsson.
403
404         * WebCoreSupport/WebInspectorClientIOS.mm:
405         (WebInspectorClient::WebInspectorClient):
406         Removed m_frontendClient initialization since it is
407         now a std::unique_ptr that defaults to nullptr.
408
409 2014-09-23  Chris Dumez  <cdumez@apple.com>
410
411         Use downcast<HTML*Element>() instead of toHTML*Element()
412         https://bugs.webkit.org/show_bug.cgi?id=137007
413
414         Reviewed by Benjamin Poulain.
415
416         Use downcast<HTML*Element>() instead of toHTML*Element().
417
418         * WebCoreSupport/WebChromeClientIOS.mm:
419         (WebChromeClientIOS::focusedElementChanged):
420
421 2014-09-17  Daniel Bates  <dabates@apple.com>
422
423         Unreviewed, rolling out r173695.
424
425         Broke building third-party Legacy WebKit apps; will
426         investigate offline
427
428         Reverted changeset:
429
430         "[iOS] Make WebCore build with public iOS SDK"
431         https://bugs.webkit.org/show_bug.cgi?id=136487
432         http://trac.webkit.org/changeset/173695
433
434 2014-09-17  Daniel Bates  <dabates@apple.com>
435
436         [iOS] Make WebCore build with public iOS SDK
437         https://bugs.webkit.org/show_bug.cgi?id=136487
438
439         Reviewed by David Kilzer.
440
441         Substitute <WebCore/CGFloatSPI.h> for <CoreGraphics/CGFloat.h>.
442
443         * WebCoreSupport/WebFixedPositionContent.mm:
444
445 2014-09-05  Simon Fraser  <simon.fraser@apple.com>
446
447         Remove some PLATFORM(IOS) code in Color.h/cpp
448         https://bugs.webkit.org/show_bug.cgi?id=136582
449
450         Reviewed by Dan Bates.
451         
452         createCGColorWithDeviceWhite() is only used here so make it a local static function.
453
454         * WebView/WebPDFViewIOS.mm:
455         (createCGColorWithDeviceWhite):
456
457 2014-09-04  Pratik Solanki  <psolanki@apple.com>
458
459         Remove iOS specific disk image cache
460         https://bugs.webkit.org/show_bug.cgi?id=136517
461
462         Reviewed by Antti Koivisto.
463
464         Disk image cache code unnecessarily complicates SharedBuffer implementation. We can remove
465         this now since we don't enable it in WebKit2 on iOS.
466
467         * WebCoreSupport/WebDiskImageCacheClientIOS.h: Removed.
468         * WebCoreSupport/WebDiskImageCacheClientIOS.mm: Removed.
469         * WebView/WebPDFViewPlaceholder.mm:
470         (-[WebPDFViewPlaceholder finishedLoadingWithDataSource:]):
471         (-[WebPDFViewPlaceholder dataSourceMemoryMapped]): Deleted.
472         (-[WebPDFViewPlaceholder dataSourceMemoryMapFailed]): Deleted.
473
474 2014-08-31  Tim Horton  <timothy_horton@apple.com>
475
476         Remove unnecessary (and unnecessarily iOS-specific) setStrokeAndFillColor
477         https://bugs.webkit.org/show_bug.cgi?id=136416
478
479         Reviewed by Dan Bernstein.
480
481         * WebView/WebPDFViewIOS.mm:
482         (-[WebPDFView drawPage:]):
483         (-[WebPDFView drawRect:]):
484         * WebView/WebPlainWhiteView.mm:
485         We only end up filling, so only set the fill color.
486
487 2014-08-22  Simon Fraser  <simon.fraser@apple.com>
488
489         Implement paint flashing in the WK1 InspectorOverlay page
490         https://bugs.webkit.org/show_bug.cgi?id=136138
491
492         Reviewed by Sam Weinig, Joseph Pecoraro.
493
494         Implement paint flashing for the WebKit1 InspectorOverlay via a second canvas in the overlay page.
495         We avoid allocating backing store for this canvas until we have paint rects.
496         
497         Because this overlay page is weird and doesn't know how to paint itself, InspectorOverlay manages
498         an array of rects, and pushes them to the page when they change, before forcing a paint.
499         
500         Because iOS doesn't use the InspectorOverlay page, stub out setShowPaintRects on its
501         WebKit WebInspectorClient, but don't yet implement paint flashing there.
502
503         * WebCoreSupport/WebInspectorClientIOS.mm:
504         (WebInspectorClient::setShowPaintRects):
505         (WebInspectorClient::showPaintRect):
506
507 2014-08-18  Andy Estes  <aestes@apple.com>
508
509         Fix the iOS build after  r172709.
510
511         * WebView/WebPDFViewPlaceholder.mm:
512         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
513
514 2014-07-03  Daniel Bates  <dabates@apple.com>
515
516         Add WTF::move()
517         https://bugs.webkit.org/show_bug.cgi?id=134500
518
519         Rubber-stamped by Anders Carlsson.
520
521         Substitute WTF::move() for std::move().
522
523         * WebCoreSupport/WebFixedPositionContent.mm:
524         (-[WebFixedPositionContent setViewportConstrainedLayers:stickyContainerMap:]):
525         * WebCoreSupport/WebInspectorClientIOS.mm:
526         (WebInspectorFrontendClient::WebInspectorFrontendClient):
527
528 2014-07-01  Alex Christensen  <achristensen@webkit.org>
529
530         [iOS] Compile fix with pointer lock enabled.
531         https://bugs.webkit.org/show_bug.cgi?id=134472
532
533         Reviewed by Pratik Solanki.
534
535         * WebView/WebPDFViewPlaceholder.mm:
536         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
537         Add parameters required for pointer lock.
538
539 2014-06-05  Benjamin Poulain  <bpoulain@apple.com>
540
541         [iOS][WK2] Add device orientation
542         https://bugs.webkit.org/show_bug.cgi?id=133530
543
544         Reviewed by Tim Horton.
545
546         Change WebKit1 to provide the deviceOrientation as pull instead of push.
547
548         * DefaultDelegates/WebDefaultUIKitDelegate.m:
549         (-[WebDefaultUIKitDelegate deviceOrientation]):
550         * WebCoreSupport/WebChromeClientIOS.h:
551         * WebCoreSupport/WebChromeClientIOS.mm:
552         (WebChromeClientIOS::deviceOrientation):
553         * WebView/WebUIKitDelegate.h:
554
555 2014-05-09  Benjamin Poulain  <benjamin@webkit.org>
556
557         [iOS] Switch geolocation to an explicit authorization query model
558         https://bugs.webkit.org/show_bug.cgi?id=132717
559         <rdar://problem/16762390>
560
561         Reviewed by Sam Weinig.
562
563         WebGeolocationCoreLocationProvider is the general WebKit wrapper for CoreLocation.
564
565         The old model was to start WebGeolocationCoreLocationProvider and have the start fail or succeed.
566         The new model is to explicitely ask for authorization through "requestGeolocationAuthorization", and
567         listen to "geolocationAuthorizationGranted" and "geolocationAuthorizationDenied".
568
569         We assume the client of WebGeolocationCoreLocationProvider is well behaved and ask for authorization
570         before invoking "start".
571         If "start" is called and the authorization is not granted, we assume geolocation was reset since
572         the last time authorization was requested, and we reset the client.
573
574
575         WebGeolocationProviderIOS has been adapted to that model. Instead of doing the "warmup" sequence
576         to get the authorization, it queries WebGeolocationCoreLocationProvider explicitly.
577
578         * Misc/WebGeolocationCoreLocationProvider.h:
579         * Misc/WebGeolocationCoreLocationProvider.mm:
580         (-[WebGeolocationCoreLocationProvider createLocationManager]):
581         (-[WebGeolocationCoreLocationProvider dealloc]):
582         (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
583         (isAuthorizationGranted):
584         (-[WebGeolocationCoreLocationProvider start]):
585         (-[WebGeolocationCoreLocationProvider stop]):
586         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
587         (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]):
588         (-[WebGeolocationCoreLocationProvider handleExternalAuthorizationStatusChange:]): Deleted.
589         * Misc/WebGeolocationProviderIOS.mm:
590         (-[WebGeolocationProviderIOS suspend]):
591         (-[WebGeolocationProviderIOS resume]):
592         (-[WebGeolocationProviderIOS registerWebView:]):
593         (-[WebGeolocationProviderIOS unregisterWebView:]):
594         (-[WebGeolocationProviderIOS setEnableHighAccuracy:]):
595         (-[WebGeolocationProviderIOS initializeGeolocationForWebView:listener:]):
596         (-[WebGeolocationProviderIOS geolocationAuthorizationGranted]):
597         (-[WebGeolocationProviderIOS geolocationAuthorizationDenied]):
598         (-[WebGeolocationProviderIOS stopTrackingWebView:]):
599         (-[WebGeolocationProviderIOS resetGeolocation]):
600         (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationGranted]):
601         (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationDenied]):
602         (-[_WebCoreLocationUpdateThreadingProxy positionChanged:WebCore::]):
603         (-[_WebCoreLocationUpdateThreadingProxy errorOccurred:]):
604         (-[_WebCoreLocationUpdateThreadingProxy resetGeolocation]):
605         (-[WebGeolocationProviderIOS _startCoreLocationDelegate]): Deleted.
606         (-[WebGeolocationProviderIOS _stopCoreLocationDelegateIfNeeded]): Deleted.
607         (-[WebGeolocationProviderIOS cancelWarmUpForWebView:]): Deleted.
608         (-[WebGeolocationProviderIOS geolocationDelegateStarted]): Deleted.
609         (-[WebGeolocationProviderIOS geolocationDelegateUnableToStart]): Deleted.
610         (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateStarted]): Deleted.
611         (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateUnableToStart]): Deleted.
612
613 2014-04-30  Anders Carlsson  <andersca@apple.com>
614
615         Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
616         https://bugs.webkit.org/show_bug.cgi?id=132399
617         <rdar://problem/15920046>
618
619         Reviewed by Dan Bernstein.
620
621         Import WebKitLegacy headers instead of WebKit headers.
622         
623         * DefaultDelegates/WebDefaultFormDelegate.h:
624         * DefaultDelegates/WebDefaultFrameLoadDelegate.m:
625         * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
626         * DefaultDelegates/WebDefaultUIKitDelegate.h:
627         * Misc/WebGeolocationProviderIOS.h:
628         * Misc/WebNSStringExtrasIPhone.h:
629         * WebCoreSupport/WebFrameIOS.h:
630         * WebCoreSupport/WebFrameIOS.mm:
631         * WebCoreSupport/WebFrameIPhone.h:
632         * WebCoreSupport/WebSelectionRect.h:
633         * WebCoreSupport/WebVisiblePosition.h:
634         * WebView/WebPDFViewIOS.h:
635         * WebView/WebPDFViewIOS.mm:
636         * WebView/WebPDFViewIPhone.h:
637         * WebView/WebPDFViewPlaceholder.h:
638         * WebView/WebPDFViewPlaceholder.mm:
639         * WebView/WebPlainWhiteView.h:
640         * WebView/WebUIKitDelegate.h:
641
642 2014-04-24  Myles C. Maxfield  <mmaxfield@apple.com>
643
644         FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
645         https://bugs.webkit.org/show_bug.cgi?id=132110
646
647         Reviewed by Tim Horton.
648
649         Updates callers to use '.' instead of '->'.
650
651         No new tests are necessary because there should be no behavior change.
652
653         * Misc/EmojiFallbackFontSelector.cpp:
654         (EmojiFallbackFontSelector::getFallbackFontData):
655
656 2014-04-17  Daniel Bates  <dabates@apple.com>
657
658         [iOS] Hook up screen.{availHeight, availWidth, height, width}
659         https://bugs.webkit.org/show_bug.cgi?id=131821
660         <rdar://problem/16413795>
661
662         Reviewed by Benjamin Poulain and Tim Horton.
663
664         Provide iOS-specific WebKit1 implementation for ChromeClient::availableScreenSize().
665
666         Additionally substitute "screenSize" for "viewporScreenSize" to make the code more understandable.
667
668         * WebCoreSupport/WebChromeClientIOS.h:
669         * WebCoreSupport/WebChromeClientIOS.mm:
670         (WebChromeClientIOS::screenSize): Renamed; formerly named viewportScreenSize.
671         (WebChromeClientIOS::availableScreenSize): Added; ASSERT_NOT_REACHED() as a widget
672         should consult it's associated WAKWindow for the available screen size.
673
674 2014-04-08  Alexey Proskuryakov  <ap@apple.com>
675
676         Rename Clipboard to DataTransfer
677         https://bugs.webkit.org/show_bug.cgi?id=131371
678
679         Reviewed by Anders Carlsson.
680
681         * WebView/WebPDFViewPlaceholder.mm:
682
683 2014-04-02  Benjamin Poulain  <bpoulain@apple.com>
684
685         [iOS] Remove the legacy string drawing code
686         https://bugs.webkit.org/show_bug.cgi?id=131088
687
688         Reviewed by Sam Weinig.
689
690         * Misc/WebNSStringDrawing.h: Removed.
691         * Misc/WebNSStringDrawing.mm: Removed.
692         * Misc/WebUIKitSupport.h:
693
694 2014-04-02  Mark Rowe  <mrowe@apple.com>
695
696         Build fix after r166684.
697
698         * WebView/WebPDFViewPlaceholder.mm:
699         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
700
701 2014-03-31  Anders Carlsson  <andersca@apple.com>
702
703         Fix iOS build.
704
705         * WebCoreSupport/WebChromeClientIOS.h:
706         * WebCoreSupport/WebChromeClientIOS.mm:
707         * WebCoreSupport/WebFixedPositionContent.mm:
708         * WebCoreSupport/WebFixedPositionContentInternal.h:
709
710 2014-03-30  Dan Bernstein  <mitz@apple.com>
711
712         Tried to fix the iOS build.
713
714         * Misc/WebGeolocationCoreLocationProvider.mm:
715         (-[WebGeolocationCoreLocationProvider start]):
716         (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
717
718 2014-03-27  Enrica Casucci  <enrica@apple.com>
719
720         Add support for AirPlay picker for iOS.
721         https://bugs.webkit.org/show_bug.cgi?id=130876
722         <rdar://problem/15349859>
723
724         Reviewed by Benjamin Poulain.
725
726         Adds support for the AirPlay picker for WebKit.
727         The actual picker is implemented in UIKit.
728
729         * DefaultDelegates/WebDefaultUIKitDelegate.m:
730         (-[WebDefaultUIKitDelegate interactionLocation]):
731         (-[WebDefaultUIKitDelegate showPlaybackTargetPicker:fromRect:]):
732         * WebCoreSupport/WebChromeClientIOS.mm:
733         (WebChromeClientIOS::showPlaybackTargetPicker):
734         * WebCoreSupport/WebFrameIOS.h:
735         * WebCoreSupport/WebFrameIOS.mm:
736         (-[WebFrame elementRectAtPoint:]):
737         * WebView/WebUIKitDelegate.h:
738
739 2014-03-27  Enrica Casucci  <enrica@apple.com>
740
741         Add support for AirPlay picker in WK2 for iOS.
742         https://bugs.webkit.org/show_bug.cgi?id=130855
743         <rdar://problem/15349859>
744
745         Reviewed by Eric Carlson, Joseph Pecoraro and Benjamin Poulain.
746
747         Adds stub for new WebKit chrome client method.
748
749         * WebCoreSupport/WebChromeClientIOS.h:
750         * WebCoreSupport/WebChromeClientIOS.mm:
751         (WebChromeClientIOS::showAirPlayRoutePicker):
752
753 2014-03-25  Joseph Pecoraro  <pecoraro@apple.com>
754
755         [iOS] Inspector View Indication Support
756         https://bugs.webkit.org/show_bug.cgi?id=130709
757
758         Reviewed by Simon Fraser.
759
760         * WebCoreSupport/WebInspectorClientIOS.mm:
761         (WebInspectorClient::showInspectorIndication):
762         (WebInspectorClient::hideInspectorIndication):
763         Renamed methods.
764
765 2014-03-22  Darin Adler  <darin@apple.com>
766
767         Remove String::deprecatedCharacters
768         https://bugs.webkit.org/show_bug.cgi?id=126854
769
770         Reviewed by Sam Weinig.
771
772         * Misc/WebNSStringDrawing.h: Added a FIXME about deleting this file; we can probably do it soon.
773         * Misc/WebNSStringDrawing.mm:
774         (+[NSString _web_setWordRoundingEnabled:]):
775         (+[NSString _web_wordRoundingEnabled]):
776         (+[NSString _web_setWordRoundingAllowed:]):
777         (+[NSString _web_wordRoundingAllowed]):
778         (+[NSString _web_setAscentRoundingEnabled:]):
779         (+[NSString _web_ascentRoundingEnabled]):
780         (-[NSString _web_drawAtPoint:withFont:]):
781         (-[NSString _web_sizeWithFont:]):
782         (-[NSString _web_sizeWithFont:forWidth:ellipsis:]):
783         (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:]):
784         (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:resultRange:]):
785         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:]):
786         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:]):
787         (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
788         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:measureOnly:]):
789         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:]):
790         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:]):
791         (-[NSString _web_drawInRect:withFont:ellipsis:alignment:]):
792         (-[NSString _web_sizeInRect:withFont:ellipsis:lineSpacing:]):
793         (-[NSString _web_sizeInRect:withFont:ellipsis:]):
794         (-[NSString _web_stringForWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
795         (-[NSString _web_sizeForWidth:withAttributes:]):
796         (-[NSString _web_drawAtPoint:forWidth:withAttributes:]):
797         (-[NSString _web_sizeInRect:withAttributes:]):
798         (-[NSString _web_drawInRect:withAttributes:]):
799         Emptied out all these functions since callers aren't really using them any more.
800
801 2014-03-21  Tim Horton  <timothy_horton@apple.com>
802
803         Always retrieve the screen scale factor from WKSI
804         <rdar://problem/16329679>
805
806         Reviewed by Sam Weinig.
807
808         * Misc/WebUIKitSupport.mm:
809         (WebKitSetIsClassic): Empty this out; it's no longer needed, but will still be called.
810
811 2014-03-19  Tim Horton  <timothy_horton@apple.com>
812
813         [iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
814         https://bugs.webkit.org/show_bug.cgi?id=130444
815         <rdar://problem/15580682>
816
817         Reviewed by Sam Weinig.
818
819         * WebView/WebPDFViewPlaceholder.h:
820         * WebView/WebPDFViewPlaceholder.mm:
821         (-[WebPDFViewPlaceholder layout]):
822         Get rid of boundingSize, it's never assigned to anything but CGSizeZero,
823         which is confusing.
824
825         Don't divide by zero if we have no pages, instead return an empty bounding size.
826
827         (-[WebPDFViewPlaceholder _computePageRects:]):
828         If we have an empty document, set the background color to white.
829         Otherwise, set it to black. It's not clear that black is the ideal
830         background color, but this retains existing behavior.
831
832 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
833
834         Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
835         https://bugs.webkit.org/show_bug.cgi?id=130276
836         <rdar://problem/16266927>
837         
838         Reviewed by Simon Fraser.
839
840         * WebCoreSupport/WebCaretChangeListener.h:
841         * WebCoreSupport/WebInspectorClientIOS.mm:
842         * WebView/WebPlainWhiteView.h:
843         * WebView/WebPlainWhiteView.mm:
844
845 2014-03-12  Sergio Villar Senin  <svillar@igalia.com>
846
847         Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
848         https://bugs.webkit.org/show_bug.cgi?id=129612
849
850         Reviewed by Darin Adler.
851
852         For new code use static NeverDestroyed<T> instead.
853
854         * Misc/EmojiFallbackFontSelector.cpp:
855         (EmojiFallbackFontSelector::getFallbackFontData):
856         * WebCoreSupport/WebFixedPositionContent.mm:
857         (WebFixedPositionContentDataLock):
858
859 2014-03-13  Benjamin Poulain  <bpoulain@apple.com>
860
861         The viewport code should not depend on WebKitSystemInterface
862         https://bugs.webkit.org/show_bug.cgi?id=130218
863
864         Reviewed by Tim Horton.
865
866         * WebCoreSupport/WebChromeClientIOS.h:
867         * WebCoreSupport/WebChromeClientIOS.mm:
868         (WebChromeClientIOS::viewportScreenSize):
869         Get the viewport size from WebKitSystemInterface.
870
871 2014-03-12  Enrica Casucci  <enrica@apple.com>
872
873         Incorrect reference counting of Range in WebFrame.
874         https://bugs.webkit.org/show_bug.cgi?id=130160
875         <rdar://problem/16282535>
876
877         Reviewed by Anders Carlsson.
878
879         * WebCoreSupport/WebFrameIOS.mm:
880         (-[WebFrame selectionRects]):
881
882 2014-03-12  Simon Fraser  <simon.fraser@apple.com>
883
884         Spelling is hard
885         https://bugs.webkit.org/show_bug.cgi?id=130146
886
887         Reviewed by Beth Dakin.
888         
889         Fix spelling (constained -> constrained).
890
891         * WebCoreSupport/WebFixedPositionContent.mm:
892         (-[WebFixedPositionContent scrollOrZoomChanged:]):
893         (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
894         (-[WebFixedPositionContent setViewportConstrainedLayers:WTF::WebCore::stickyContainerMap:WTF::]):
895         (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
896         (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
897
898 2014-02-17  Sergio Correia  <sergio.correia@openbossa.org>
899
900         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
901         https://bugs.webkit.org/show_bug.cgi?id=128681
902
903         Reviewed by Timothy Hatcher.
904
905         Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
906         WebCore/inspector/*. Besides files in there, a few other files in
907         JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
908         and WebCore/testing were touched.
909
910         * WebCoreSupport/WebInspectorClientIOS.mm:
911
912 2014-02-12  Benjamin Poulain  <bpoulain@apple.com>
913
914         [WK2][iOS] Add back the special viewport for the old xhtml mobile doctype
915         https://bugs.webkit.org/show_bug.cgi?id=128639
916
917         Reviewed by Andreas Kling.
918
919         * WebCoreSupport/WebChromeClientIOS.h:
920         * WebCoreSupport/WebChromeClientIOS.mm:
921         (WebChromeClientIOS::didReceiveMobileDocType):
922
923 2014-02-08  Ryosuke Niwa  <rniwa@webkit.org>
924
925         Build fix after r163739.
926
927         * WebCoreSupport/WebFrameIOS.mm:
928         (-[WebFrame collapseSelection]):
929         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
930
931 2014-02-03  Dan Bernstein  <mitz@apple.com>
932
933         More iOS build fixing.
934
935         * Misc/WebNSStringDrawing.mm:
936         (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
937         (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
938
939 2014-01-31  Ryosuke Niwa  <rniwa@webkit.org>
940
941         Remove inline member functions of FrameSelection that access m_selection
942         https://bugs.webkit.org/show_bug.cgi?id=127986
943
944         Reviewed by Enrica Casucci.
945
946         * WebCoreSupport/WebFrameIOS.mm:
947         (-[WebFrame extendSelection:]):
948         (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
949         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
950         (-[WebFrame expandSelectionToSentence]):
951         (-[WebFrame setBaseWritingDirection:]):
952         (-[WebFrame smartExtendRangedSelection:]):
953
954 2014-01-30  Andrei Bucur  <abucur@adobe.com>
955
956         Remove the ACCELERATED_COMPOSITING flag
957         https://bugs.webkit.org/show_bug.cgi?id=127833
958
959         Reviewed by Antti Koivisto.
960
961         Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
962         mandatory.
963
964         * WebCoreSupport/WebChromeClientIOS.h:
965         * WebCoreSupport/WebChromeClientIOS.mm:
966         (WebChromeClientIOS::attachRootGraphicsLayer):
967         * WebView/WebUIKitDelegate.h:
968
969 2014-01-27  Joseph Pecoraro  <pecoraro@apple.com>
970
971         Unreviewed iOS build fix. FALLTHROUGHs for iOS.
972
973         * Misc/WebNSStringDrawing.mm:
974         (needsBidiLayout):
975
976 2014-01-27  Andy Estes  <aestes@apple.com>
977
978         Scrub WebKit API headers of WTF macros
979         https://bugs.webkit.org/show_bug.cgi?id=127706
980
981         Reviewed by David Kilzer.
982
983         * WebCoreSupport/WebMIMETypeRegistry.h: Changed PLATFORM(IOS) to
984         TARGET_OS_IPHONE.
985
986 2014-01-15  Sam Weinig  <sam@webkit.org>
987
988         TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
989         https://bugs.webkit.org/show_bug.cgi?id=126856
990
991         Reviewed by Ryosuke Niwa.
992
993         Change all the TextBreakIterator creation functions to take StringViews. Remove a few
994         now unnecessary up-conversions to UTF-16 in the process.
995
996         * Misc/WebNSStringDrawing.mm:
997
998 2014-01-16  Anders Carlsson  <andersca@apple.com>
999
1000         Change all uses of FINAL to final now that all our compilers support it
1001         https://bugs.webkit.org/show_bug.cgi?id=127142
1002
1003         Reviewed by Benjamin Poulain.
1004
1005         * WebCoreSupport/WebDiskImageCacheClientIOS.h:
1006
1007 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
1008
1009         Remove workaround for compilers not supporting explicit override control
1010         https://bugs.webkit.org/show_bug.cgi?id=127111
1011
1012         Reviewed by Anders Carlsson.
1013
1014         Now all compilers support explicit override control, this workaround can be removed.
1015
1016         * Misc/EmojiFallbackFontSelector.h:
1017         * Storage/WebSQLiteDatabaseTrackerClient.h:
1018         * WebCoreSupport/PopupMenuIOS.h:
1019         * WebCoreSupport/SearchPopupMenuIOS.h:
1020         * WebCoreSupport/WebChromeClientIOS.h:
1021         * WebCoreSupport/WebDiskImageCacheClientIOS.h:
1022
1023 2014-01-16  Andy Estes  <aestes@apple.com>
1024
1025         [iOS] Fix build issues with exported headers
1026
1027         * Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
1028         TARGET_OS_IPHONE.
1029
1030 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
1031
1032         Avoid PLATFORM() macros in exported headers.
1033
1034         * WebView/WebPDFViewPlaceholder.h:
1035
1036 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
1037
1038         Clean up exports and headers for iOS.
1039
1040         * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
1041         * WebCoreSupport/WebFrameIOS.h: Ditto.
1042         * WebCoreSupport/WebSelectionRect.h: Ditto.
1043
1044 2014-01-14  Dean Jackson  <dino@apple.com>
1045
1046         Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
1047
1048         * WebKit.iOS.exp:
1049
1050 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
1051
1052         Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
1053
1054         * WebCoreSupport/WebInspectorClientIOS.mm:
1055         (WebInspectorClient::indicate):
1056         (WebInspectorClient::hideIndication):
1057
1058 2014-01-13  Simon Fraser  <simon.fraser@apple.com>
1059
1060         More work towards getting iOS WK1 building.
1061
1062         * WebCoreSupport/WebFrameIOS.mm:
1063         (-[WebFrame imageForNode:allowDownsampling:drawContentBehindTransparentNodes:]): Stub out this
1064         function, since it should use recently-refactored node snapshotting code. Covered by <rdar://problem/15808709>.
1065
1066 2014-01-12  Darin Adler  <darin@apple.com>
1067
1068         Add type checking to isEqual methods
1069         https://bugs.webkit.org/show_bug.cgi?id=126862
1070
1071         Reviewed by Anders Carlsson.
1072
1073         * WebCoreSupport/WebVisiblePosition.mm:
1074         (-[WebVisiblePosition isEqual:]): Add type checking on the argument.
1075         Add a FIXME about the lack of a hash method override. Simplified by
1076         removing the unneeded local variables.
1077
1078 2014-01-02  Andy Estes  <aestes@apple.com>
1079
1080         [iOS] Upstream remainder of minimal-ui viewport changes
1081         https://bugs.webkit.org/show_bug.cgi?id=126410
1082
1083         Reviewed by Sam Weinig.
1084
1085         * WebCoreSupport/WebChromeClientIOS.mm:
1086         (dictionaryForViewportArguments):
1087         * WebKit.iOS.exp:
1088
1089 2013-12-31  Andy Estes  <aestes@apple.com>
1090
1091         [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
1092         https://bugs.webkit.org/show_bug.cgi?id=125746
1093
1094         Reviewed by David Kilzer.
1095
1096         * WebCoreSupport/WebVisiblePosition.mm:
1097         (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
1098         to mention iOS rather than iPhone.
1099
1100 2013-12-27  Daniel Bates  <dabates@apple.com>
1101
1102         [iOS] Upstream WebCore/page changes
1103         https://bugs.webkit.org/show_bug.cgi?id=126180
1104
1105         Reviewed by Darin Adler.
1106
1107         * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
1108
1109 2013-12-04  Brian J. Burg  <burg@cs.washington.edu>
1110
1111         Consolidate various frame snapshot capabilities.
1112         https://bugs.webkit.org/show_bug.cgi?id=124325
1113
1114         Reviewed by Darin Adler.
1115
1116         * WebCoreSupport/WebFrameIOS.mm: use new header file.
1117
1118 2013-12-04  Andy Estes  <aestes@apple.com>
1119
1120         [iOS] Upstream build fixes in Source/WebKit/ios/
1121         https://bugs.webkit.org/show_bug.cgi?id=125230
1122
1123         Reviewed by Sam Weinig.
1124
1125         * DefaultDelegates/WebDefaultUIKitDelegate.m:
1126         (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
1127         * Misc/WebNSStringDrawing.mm:
1128         (needsBidiLayout):
1129         (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
1130         (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
1131         * Misc/WebUIKitSupport.mm:
1132         (WebKitInitialize):
1133         * WebCoreSupport/WebChromeClientIOS.h:
1134         * WebCoreSupport/WebChromeClientIOS.mm:
1135         (WebChromeClientIOS::didReceiveMobileDocType):
1136         (WebChromeClientIOS::focusedElementChanged):
1137         * WebCoreSupport/WebFrameIOS.mm:
1138         (-[WebFrame clearSelection]):
1139         (-[WebFrame selectionState]):
1140         (-[WebFrame collapseSelection]):
1141         (-[WebFrame extendSelection:]):
1142         (-[WebFrame selectionRects]):
1143         (-[WebFrame setRangedSelectionWithExtentPoint:]):
1144         (-[WebFrame setRangedSelectionExtentPoint:baseIsStart:allowFlipping:]):
1145         (-[WebFrame setSelectionWithBasePoint:extentPoint:baseIsStart:allowFlipping:]):
1146         (-[WebFrame setSelectionWithFirstPoint:secondPoint:]):
1147         (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
1148         (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
1149         (-[WebFrame expandSelectionToSentence]):
1150         (-[WebFrame setBaseWritingDirection:]):
1151         (-[WebFrame moveSelectionToStart]):
1152         (-[WebFrame moveSelectionToEnd]):
1153         (-[WebFrame moveSelectionToPoint:]):
1154         (-[WebFrame setSelectionGranularity:]):
1155         (-[WebFrame smartExtendRangedSelection:]):
1156         (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
1157         (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
1158         * WebCoreSupport/WebInspectorClientIOS.mm:
1159         (WebInspectorClient::WebInspectorClient):
1160         (WebInspectorClient::didSetSearchingForNode):
1161         (WebInspectorClient::setupRemoteConnection):
1162         (WebInspectorClient::teardownRemoteConnection):
1163         * WebCoreSupport/WebVisiblePosition.mm:
1164         (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
1165         (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
1166         (-[DOMHTMLInputElement startPosition]):
1167         (-[DOMHTMLInputElement endPosition]):
1168         (-[DOMHTMLTextAreaElement startPosition]):
1169         (-[DOMHTMLTextAreaElement endPosition]):
1170         * WebView/WebPDFViewIOS.mm:
1171         (+[WebPDFView shadowColor]):
1172         (+[WebPDFView backgroundColor]):
1173         (-[WebPDFView _checkPDFTitle]):
1174         * WebView/WebPDFViewPlaceholder.mm:
1175         (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
1176         * WebView/WebUIKitDelegate.h:
1177
1178 2013-12-03  Joseph Pecoraro  <pecoraro@apple.com>
1179
1180         Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
1181         https://bugs.webkit.org/show_bug.cgi?id=124613
1182
1183         Reviewed by Timothy Hatcher.
1184
1185         * WebCoreSupport/WebInspectorClientIOS.mm:
1186         (WebInspectorClient::WebInspectorClient):
1187         (WebInspectorClient::inspectorDestroyed):
1188
1189 2013-12-03  Ralph Thomas  <ralpht@gmail.com>
1190
1191         Typo: FixedPositionConstaint -> FixedPositionConstraint
1192         https://bugs.webkit.org/show_bug.cgi?id=125171
1193
1194         Reviewed by Simon Fraser.
1195
1196         * WebCoreSupport/WebFixedPositionContent.mm:
1197         (-[WebFixedPositionContent scrollOrZoomChanged:]):
1198
1199 2013-11-18  Commit Queue  <commit-queue@webkit.org>
1200
1201         Unreviewed, rolling out r159455.
1202         http://trac.webkit.org/changeset/159455
1203         https://bugs.webkit.org/show_bug.cgi?id=124568
1204
1205         broke two api tests (see bug 124564) (Requested by thorton on
1206         #webkit).
1207
1208         * WebCoreSupport/WebFrameIOS.mm:
1209
1210 2013-11-18  Brian J. Burg  <burg@cs.washington.edu>
1211
1212         Consolidate various frame snapshot capabilities.
1213         https://bugs.webkit.org/show_bug.cgi?id=124325
1214
1215         Reviewed by Timothy Hatcher.
1216
1217         * WebCoreSupport/WebFrameIOS.mm: use new header file.
1218
1219 2013-11-07  Joseph Pecoraro  <pecoraro@apple.com>
1220
1221         Remove a PLATFORM(IOS) from WebKit Private Header
1222         https://bugs.webkit.org/show_bug.cgi?id=124014
1223
1224         Reviewed by Timothy Hatcher.
1225
1226         * WebKit.iOS.exp:
1227
1228 2013-10-29  Andy Estes  <aestes@apple.com>
1229
1230         [iOS] Upstream Source/WebKit/ios/
1231         https://bugs.webkit.org/show_bug.cgi?id=123470
1232
1233         Reviewed by Sam Weinig.
1234
1235         * DefaultDelegates/WebDefaultFormDelegate.h: Added.
1236         * DefaultDelegates/WebDefaultFormDelegate.m: Added.
1237         * DefaultDelegates/WebDefaultFrameLoadDelegate.h: Added.
1238         * DefaultDelegates/WebDefaultFrameLoadDelegate.m: Added.
1239         * DefaultDelegates/WebDefaultResourceLoadDelegate.h: Added.
1240         * DefaultDelegates/WebDefaultResourceLoadDelegate.m: Added.
1241         * DefaultDelegates/WebDefaultUIKitDelegate.h: Added.
1242         * DefaultDelegates/WebDefaultUIKitDelegate.m: Added.
1243         * Misc/EmojiFallbackFontSelector.cpp: Added.
1244         * Misc/EmojiFallbackFontSelector.h: Added.
1245         * Misc/MemoryMeasure.h: Added.
1246         * Misc/MemoryMeasure.mm: Added.
1247         * Misc/WebGeolocationCoreLocationProvider.h: Added.
1248         * Misc/WebGeolocationCoreLocationProvider.mm: Added.
1249         * Misc/WebGeolocationProviderIOS.h: Added.
1250         * Misc/WebGeolocationProviderIOS.mm: Added.
1251         * Misc/WebNSStringDrawing.h: Added.
1252         * Misc/WebNSStringDrawing.mm: Added.
1253         * Misc/WebNSStringExtrasIOS.h: Added.
1254         * Misc/WebNSStringExtrasIOS.m: Added.
1255         * Misc/WebNSStringExtrasIPhone.h: Added.
1256         * Misc/WebUIKitSupport.h: Added.
1257         * Misc/WebUIKitSupport.mm: Added.
1258         * Storage/WebSQLiteDatabaseTrackerClient.h: Added.
1259         * Storage/WebSQLiteDatabaseTrackerClient.mm: Added.
1260         * WebCoreSupport/PopupMenuIOS.h: Added.
1261         * WebCoreSupport/PopupMenuIOS.mm: Added.
1262         * WebCoreSupport/SearchPopupMenuIOS.cpp: Added.
1263         * WebCoreSupport/SearchPopupMenuIOS.h: Added.
1264         * WebCoreSupport/WebCaretChangeListener.h: Added.
1265         * WebCoreSupport/WebChromeClientIOS.h: Added.
1266         * WebCoreSupport/WebChromeClientIOS.mm: Added.
1267         * WebCoreSupport/WebFixedPositionContent.h: Added.
1268         * WebCoreSupport/WebFixedPositionContent.mm: Added.
1269         * WebCoreSupport/WebFixedPositionContentInternal.h: Added.
1270         * WebCoreSupport/WebFrameIOS.h: Added.
1271         * WebCoreSupport/WebFrameIOS.mm: Added.
1272         * WebCoreSupport/WebFrameIPhone.h: Added.
1273         * WebCoreSupport/WebGeolocation.mm: Added.
1274         * WebCoreSupport/WebGeolocationInternal.h: Added.
1275         * WebCoreSupport/WebGeolocationPrivate.h: Added.
1276         * WebCoreSupport/WebMIMETypeRegistry.h: Added.
1277         * WebCoreSupport/WebMIMETypeRegistry.mm: Added.
1278         * WebCoreSupport/WebSelectionRect.h: Added.
1279         * WebCoreSupport/WebSelectionRect.m: Added.
1280         * WebCoreSupport/WebVisiblePosition.h: Added.
1281         * WebCoreSupport/WebVisiblePosition.mm: Added.
1282         * WebCoreSupport/WebVisiblePositionInternal.h: Added.
1283         * WebKit.iOS.exp: Added.
1284         * WebView/WebFrameViewWAKCompatibility.m: Added.
1285         * WebView/WebMailDelegate.h: Added.
1286         * WebView/WebPDFViewIOS.h: Added.
1287         * WebView/WebPDFViewIOS.mm: Added.
1288         * WebView/WebPDFViewIPhone.h: Added.
1289         * WebView/WebPDFViewPlaceholder.h: Added.
1290         * WebView/WebPDFViewPlaceholder.mm: Added.
1291         * WebView/WebPlainWhiteView.h: Added.
1292         * WebView/WebPlainWhiteView.mm: Added.
1293         * WebView/WebUIKitDelegate.h: Added.
1294
1295 2013-10-25  Joseph Pecoraro  <pecoraro@apple.com>
1296
1297         Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
1298         https://bugs.webkit.org/show_bug.cgi?id=123111
1299
1300         Reviewed by Timothy Hatcher.
1301
1302         iOS does not have a local inspector, only remote. So give it a custom
1303         implementation separate from the WebKit/mac WebInspectorClient
1304         implementation which handles an attaching/detaching local inspector.
1305
1306         * WebKit.xcodeproj/project.pbxproj:
1307         * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
1308         (WebInspectorClient::WebInspectorClient):
1309         (WebInspectorClient::inspectorDestroyed):
1310         (WebInspectorClient::openInspectorFrontend):
1311         (WebInspectorClient::bringFrontendToFront):
1312         (WebInspectorClient::closeInspectorFrontend):
1313         (WebInspectorClient::didResizeMainFrame):
1314         (WebInspectorClient::highlight):
1315         (WebInspectorClient::hideHighlight):
1316         (WebInspectorClient::didSetSearchingForNode):
1317         (WebInspectorClient::sendMessageToFrontend):
1318         (WebInspectorClient::sendMessageToBackend):
1319         (WebInspectorClient::setupRemoteConnection):
1320         (WebInspectorClient::teardownRemoteConnection):
1321         (WebInspectorClient::hasLocalSession):
1322         (WebInspectorClient::canBeRemotelyInspected):
1323         (WebInspectorClient::inspectedWebView):
1324         (WebInspectorFrontendClient::WebInspectorFrontendClient):
1325         (WebInspectorFrontendClient::attachAvailabilityChanged):
1326         (WebInspectorFrontendClient::frontendLoaded):
1327         (WebInspectorFrontendClient::localizedStringsURL):
1328         (WebInspectorFrontendClient::bringToFront):
1329         (WebInspectorFrontendClient::closeWindow):
1330         (WebInspectorFrontendClient::disconnectFromBackend):
1331         (WebInspectorFrontendClient::attachWindow):
1332         (WebInspectorFrontendClient::detachWindow):
1333         (WebInspectorFrontendClient::setAttachedWindowHeight):
1334         (WebInspectorFrontendClient::setAttachedWindowWidth):
1335         (WebInspectorFrontendClient::setToolbarHeight):
1336         (WebInspectorFrontendClient::inspectedURLChanged):
1337         (WebInspectorFrontendClient::updateWindowTitle):
1338         (WebInspectorFrontendClient::save):
1339         (WebInspectorFrontendClient::append):