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