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