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