1 2014-05-09 Benjamin Poulain <benjamin@webkit.org>
3 [iOS] Switch geolocation to an explicit authorization query model
4 https://bugs.webkit.org/show_bug.cgi?id=132717
5 <rdar://problem/16762390>
7 Reviewed by Sam Weinig.
9 WebGeolocationCoreLocationProvider is the general WebKit wrapper for CoreLocation.
11 The old model was to start WebGeolocationCoreLocationProvider and have the start fail or succeed.
12 The new model is to explicitely ask for authorization through "requestGeolocationAuthorization", and
13 listen to "geolocationAuthorizationGranted" and "geolocationAuthorizationDenied".
15 We assume the client of WebGeolocationCoreLocationProvider is well behaved and ask for authorization
16 before invoking "start".
17 If "start" is called and the authorization is not granted, we assume geolocation was reset since
18 the last time authorization was requested, and we reset the client.
21 WebGeolocationProviderIOS has been adapted to that model. Instead of doing the "warmup" sequence
22 to get the authorization, it queries WebGeolocationCoreLocationProvider explicitly.
24 * Misc/WebGeolocationCoreLocationProvider.h:
25 * Misc/WebGeolocationCoreLocationProvider.mm:
26 (-[WebGeolocationCoreLocationProvider createLocationManager]):
27 (-[WebGeolocationCoreLocationProvider dealloc]):
28 (-[WebGeolocationCoreLocationProvider requestGeolocationAuthorization]):
29 (isAuthorizationGranted):
30 (-[WebGeolocationCoreLocationProvider start]):
31 (-[WebGeolocationCoreLocationProvider stop]):
32 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
33 (-[WebGeolocationCoreLocationProvider setEnableHighAccuracy:]):
34 (-[WebGeolocationCoreLocationProvider handleExternalAuthorizationStatusChange:]): Deleted.
35 * Misc/WebGeolocationProviderIOS.mm:
36 (-[WebGeolocationProviderIOS suspend]):
37 (-[WebGeolocationProviderIOS resume]):
38 (-[WebGeolocationProviderIOS registerWebView:]):
39 (-[WebGeolocationProviderIOS unregisterWebView:]):
40 (-[WebGeolocationProviderIOS setEnableHighAccuracy:]):
41 (-[WebGeolocationProviderIOS initializeGeolocationForWebView:listener:]):
42 (-[WebGeolocationProviderIOS geolocationAuthorizationGranted]):
43 (-[WebGeolocationProviderIOS geolocationAuthorizationDenied]):
44 (-[WebGeolocationProviderIOS stopTrackingWebView:]):
45 (-[WebGeolocationProviderIOS resetGeolocation]):
46 (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationGranted]):
47 (-[_WebCoreLocationUpdateThreadingProxy geolocationAuthorizationDenied]):
48 (-[_WebCoreLocationUpdateThreadingProxy positionChanged:WebCore::]):
49 (-[_WebCoreLocationUpdateThreadingProxy errorOccurred:]):
50 (-[_WebCoreLocationUpdateThreadingProxy resetGeolocation]):
51 (-[WebGeolocationProviderIOS _startCoreLocationDelegate]): Deleted.
52 (-[WebGeolocationProviderIOS _stopCoreLocationDelegateIfNeeded]): Deleted.
53 (-[WebGeolocationProviderIOS cancelWarmUpForWebView:]): Deleted.
54 (-[WebGeolocationProviderIOS geolocationDelegateStarted]): Deleted.
55 (-[WebGeolocationProviderIOS geolocationDelegateUnableToStart]): Deleted.
56 (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateStarted]): Deleted.
57 (-[_WebCoreLocationUpdateThreadingProxy geolocationDelegateUnableToStart]): Deleted.
59 2014-04-30 Anders Carlsson <andersca@apple.com>
61 Move the legacy WebKit API into WebKitLegacy.framework and move it inside WebKit.framework
62 https://bugs.webkit.org/show_bug.cgi?id=132399
63 <rdar://problem/15920046>
65 Reviewed by Dan Bernstein.
67 Import WebKitLegacy headers instead of WebKit headers.
69 * DefaultDelegates/WebDefaultFormDelegate.h:
70 * DefaultDelegates/WebDefaultFrameLoadDelegate.m:
71 * DefaultDelegates/WebDefaultResourceLoadDelegate.m:
72 * DefaultDelegates/WebDefaultUIKitDelegate.h:
73 * Misc/WebGeolocationProviderIOS.h:
74 * Misc/WebNSStringExtrasIPhone.h:
75 * WebCoreSupport/WebFrameIOS.h:
76 * WebCoreSupport/WebFrameIOS.mm:
77 * WebCoreSupport/WebFrameIPhone.h:
78 * WebCoreSupport/WebSelectionRect.h:
79 * WebCoreSupport/WebVisiblePosition.h:
80 * WebView/WebPDFViewIOS.h:
81 * WebView/WebPDFViewIOS.mm:
82 * WebView/WebPDFViewIPhone.h:
83 * WebView/WebPDFViewPlaceholder.h:
84 * WebView/WebPDFViewPlaceholder.mm:
85 * WebView/WebPlainWhiteView.h:
86 * WebView/WebUIKitDelegate.h:
88 2014-04-24 Myles C. Maxfield <mmaxfield@apple.com>
90 FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
91 https://bugs.webkit.org/show_bug.cgi?id=132110
93 Reviewed by Tim Horton.
95 Updates callers to use '.' instead of '->'.
97 No new tests are necessary because there should be no behavior change.
99 * Misc/EmojiFallbackFontSelector.cpp:
100 (EmojiFallbackFontSelector::getFallbackFontData):
102 2014-04-17 Daniel Bates <dabates@apple.com>
104 [iOS] Hook up screen.{availHeight, availWidth, height, width}
105 https://bugs.webkit.org/show_bug.cgi?id=131821
106 <rdar://problem/16413795>
108 Reviewed by Benjamin Poulain and Tim Horton.
110 Provide iOS-specific WebKit1 implementation for ChromeClient::availableScreenSize().
112 Additionally substitute "screenSize" for "viewporScreenSize" to make the code more understandable.
114 * WebCoreSupport/WebChromeClientIOS.h:
115 * WebCoreSupport/WebChromeClientIOS.mm:
116 (WebChromeClientIOS::screenSize): Renamed; formerly named viewportScreenSize.
117 (WebChromeClientIOS::availableScreenSize): Added; ASSERT_NOT_REACHED() as a widget
118 should consult it's associated WAKWindow for the available screen size.
120 2014-04-08 Alexey Proskuryakov <ap@apple.com>
122 Rename Clipboard to DataTransfer
123 https://bugs.webkit.org/show_bug.cgi?id=131371
125 Reviewed by Anders Carlsson.
127 * WebView/WebPDFViewPlaceholder.mm:
129 2014-04-02 Benjamin Poulain <bpoulain@apple.com>
131 [iOS] Remove the legacy string drawing code
132 https://bugs.webkit.org/show_bug.cgi?id=131088
134 Reviewed by Sam Weinig.
136 * Misc/WebNSStringDrawing.h: Removed.
137 * Misc/WebNSStringDrawing.mm: Removed.
138 * Misc/WebUIKitSupport.h:
140 2014-04-02 Mark Rowe <mrowe@apple.com>
142 Build fix after r166684.
144 * WebView/WebPDFViewPlaceholder.mm:
145 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
147 2014-03-31 Anders Carlsson <andersca@apple.com>
151 * WebCoreSupport/WebChromeClientIOS.h:
152 * WebCoreSupport/WebChromeClientIOS.mm:
153 * WebCoreSupport/WebFixedPositionContent.mm:
154 * WebCoreSupport/WebFixedPositionContentInternal.h:
156 2014-03-30 Dan Bernstein <mitz@apple.com>
158 Tried to fix the iOS build.
160 * Misc/WebGeolocationCoreLocationProvider.mm:
161 (-[WebGeolocationCoreLocationProvider start]):
162 (-[WebGeolocationCoreLocationProvider locationManager:didChangeAuthorizationStatus:]):
164 2014-03-27 Enrica Casucci <enrica@apple.com>
166 Add support for AirPlay picker for iOS.
167 https://bugs.webkit.org/show_bug.cgi?id=130876
168 <rdar://problem/15349859>
170 Reviewed by Benjamin Poulain.
172 Adds support for the AirPlay picker for WebKit.
173 The actual picker is implemented in UIKit.
175 * DefaultDelegates/WebDefaultUIKitDelegate.m:
176 (-[WebDefaultUIKitDelegate interactionLocation]):
177 (-[WebDefaultUIKitDelegate showPlaybackTargetPicker:fromRect:]):
178 * WebCoreSupport/WebChromeClientIOS.mm:
179 (WebChromeClientIOS::showPlaybackTargetPicker):
180 * WebCoreSupport/WebFrameIOS.h:
181 * WebCoreSupport/WebFrameIOS.mm:
182 (-[WebFrame elementRectAtPoint:]):
183 * WebView/WebUIKitDelegate.h:
185 2014-03-27 Enrica Casucci <enrica@apple.com>
187 Add support for AirPlay picker in WK2 for iOS.
188 https://bugs.webkit.org/show_bug.cgi?id=130855
189 <rdar://problem/15349859>
191 Reviewed by Eric Carlson, Joseph Pecoraro and Benjamin Poulain.
193 Adds stub for new WebKit chrome client method.
195 * WebCoreSupport/WebChromeClientIOS.h:
196 * WebCoreSupport/WebChromeClientIOS.mm:
197 (WebChromeClientIOS::showAirPlayRoutePicker):
199 2014-03-25 Joseph Pecoraro <pecoraro@apple.com>
201 [iOS] Inspector View Indication Support
202 https://bugs.webkit.org/show_bug.cgi?id=130709
204 Reviewed by Simon Fraser.
206 * WebCoreSupport/WebInspectorClientIOS.mm:
207 (WebInspectorClient::showInspectorIndication):
208 (WebInspectorClient::hideInspectorIndication):
211 2014-03-22 Darin Adler <darin@apple.com>
213 Remove String::deprecatedCharacters
214 https://bugs.webkit.org/show_bug.cgi?id=126854
216 Reviewed by Sam Weinig.
218 * Misc/WebNSStringDrawing.h: Added a FIXME about deleting this file; we can probably do it soon.
219 * Misc/WebNSStringDrawing.mm:
220 (+[NSString _web_setWordRoundingEnabled:]):
221 (+[NSString _web_wordRoundingEnabled]):
222 (+[NSString _web_setWordRoundingAllowed:]):
223 (+[NSString _web_wordRoundingAllowed]):
224 (+[NSString _web_setAscentRoundingEnabled:]):
225 (+[NSString _web_ascentRoundingEnabled]):
226 (-[NSString _web_drawAtPoint:withFont:]):
227 (-[NSString _web_sizeWithFont:]):
228 (-[NSString _web_sizeWithFont:forWidth:ellipsis:]):
229 (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:]):
230 (-[NSString _web_sizeWithFont:forWidth:ellipsis:letterSpacing:resultRange:]):
231 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:]):
232 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:]):
233 (-[NSString _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
234 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:measureOnly:]):
235 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:includeEmoji:truncationRect:]):
236 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:lineSpacing:]):
237 (-[NSString _web_drawInRect:withFont:ellipsis:alignment:]):
238 (-[NSString _web_sizeInRect:withFont:ellipsis:lineSpacing:]):
239 (-[NSString _web_sizeInRect:withFont:ellipsis:]):
240 (-[NSString _web_stringForWidth:withFont:ellipsis:letterSpacing:includeEmoji:]):
241 (-[NSString _web_sizeForWidth:withAttributes:]):
242 (-[NSString _web_drawAtPoint:forWidth:withAttributes:]):
243 (-[NSString _web_sizeInRect:withAttributes:]):
244 (-[NSString _web_drawInRect:withAttributes:]):
245 Emptied out all these functions since callers aren't really using them any more.
247 2014-03-21 Tim Horton <timothy_horton@apple.com>
249 Always retrieve the screen scale factor from WKSI
250 <rdar://problem/16329679>
252 Reviewed by Sam Weinig.
254 * Misc/WebUIKitSupport.mm:
255 (WebKitSetIsClassic): Empty this out; it's no longer needed, but will still be called.
257 2014-03-19 Tim Horton <timothy_horton@apple.com>
259 [iOS] WebPDFViewPlaceholder divides-by-zero with an empty document
260 https://bugs.webkit.org/show_bug.cgi?id=130444
261 <rdar://problem/15580682>
263 Reviewed by Sam Weinig.
265 * WebView/WebPDFViewPlaceholder.h:
266 * WebView/WebPDFViewPlaceholder.mm:
267 (-[WebPDFViewPlaceholder layout]):
268 Get rid of boundingSize, it's never assigned to anything but CGSizeZero,
271 Don't divide by zero if we have no pages, instead return an empty bounding size.
273 (-[WebPDFViewPlaceholder _computePageRects:]):
274 If we have an empty document, set the background color to white.
275 Otherwise, set it to black. It's not clear that black is the ideal
276 background color, but this retains existing behavior.
278 2014-03-14 Maciej Stachowiak <mjs@apple.com>
280 Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
281 https://bugs.webkit.org/show_bug.cgi?id=130276
282 <rdar://problem/16266927>
284 Reviewed by Simon Fraser.
286 * WebCoreSupport/WebCaretChangeListener.h:
287 * WebCoreSupport/WebInspectorClientIOS.mm:
288 * WebView/WebPlainWhiteView.h:
289 * WebView/WebPlainWhiteView.mm:
291 2014-03-12 Sergio Villar Senin <svillar@igalia.com>
293 Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
294 https://bugs.webkit.org/show_bug.cgi?id=129612
296 Reviewed by Darin Adler.
298 For new code use static NeverDestroyed<T> instead.
300 * Misc/EmojiFallbackFontSelector.cpp:
301 (EmojiFallbackFontSelector::getFallbackFontData):
302 * WebCoreSupport/WebFixedPositionContent.mm:
303 (WebFixedPositionContentDataLock):
305 2014-03-13 Benjamin Poulain <bpoulain@apple.com>
307 The viewport code should not depend on WebKitSystemInterface
308 https://bugs.webkit.org/show_bug.cgi?id=130218
310 Reviewed by Tim Horton.
312 * WebCoreSupport/WebChromeClientIOS.h:
313 * WebCoreSupport/WebChromeClientIOS.mm:
314 (WebChromeClientIOS::viewportScreenSize):
315 Get the viewport size from WebKitSystemInterface.
317 2014-03-12 Enrica Casucci <enrica@apple.com>
319 Incorrect reference counting of Range in WebFrame.
320 https://bugs.webkit.org/show_bug.cgi?id=130160
321 <rdar://problem/16282535>
323 Reviewed by Anders Carlsson.
325 * WebCoreSupport/WebFrameIOS.mm:
326 (-[WebFrame selectionRects]):
328 2014-03-12 Simon Fraser <simon.fraser@apple.com>
331 https://bugs.webkit.org/show_bug.cgi?id=130146
333 Reviewed by Beth Dakin.
335 Fix spelling (constained -> constrained).
337 * WebCoreSupport/WebFixedPositionContent.mm:
338 (-[WebFixedPositionContent scrollOrZoomChanged:]):
339 (-[WebFixedPositionContent overflowScrollPositionForLayer:changedTo:]):
340 (-[WebFixedPositionContent setViewportConstrainedLayers:WTF::WebCore::stickyContainerMap:WTF::]):
341 (-[WebFixedPositionContent hasFixedOrStickyPositionLayers]):
342 (-[WebFixedPositionContent minimumOffsetFromFixedPositionLayersToAnchorEdge:ofRect:inLayer:]):
344 2014-02-17 Sergio Correia <sergio.correia@openbossa.org>
346 Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
347 https://bugs.webkit.org/show_bug.cgi?id=128681
349 Reviewed by Timothy Hatcher.
351 Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
352 WebCore/inspector/*. Besides files in there, a few other files in
353 JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
354 and WebCore/testing were touched.
356 * WebCoreSupport/WebInspectorClientIOS.mm:
358 2014-02-12 Benjamin Poulain <bpoulain@apple.com>
360 [WK2][iOS] Add back the special viewport for the old xhtml mobile doctype
361 https://bugs.webkit.org/show_bug.cgi?id=128639
363 Reviewed by Andreas Kling.
365 * WebCoreSupport/WebChromeClientIOS.h:
366 * WebCoreSupport/WebChromeClientIOS.mm:
367 (WebChromeClientIOS::didReceiveMobileDocType):
369 2014-02-08 Ryosuke Niwa <rniwa@webkit.org>
371 Build fix after r163739.
373 * WebCoreSupport/WebFrameIOS.mm:
374 (-[WebFrame collapseSelection]):
375 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
377 2014-02-03 Dan Bernstein <mitz@apple.com>
379 More iOS build fixing.
381 * Misc/WebNSStringDrawing.mm:
382 (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
383 (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
385 2014-01-31 Ryosuke Niwa <rniwa@webkit.org>
387 Remove inline member functions of FrameSelection that access m_selection
388 https://bugs.webkit.org/show_bug.cgi?id=127986
390 Reviewed by Enrica Casucci.
392 * WebCoreSupport/WebFrameIOS.mm:
393 (-[WebFrame extendSelection:]):
394 (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
395 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
396 (-[WebFrame expandSelectionToSentence]):
397 (-[WebFrame setBaseWritingDirection:]):
398 (-[WebFrame smartExtendRangedSelection:]):
400 2014-01-30 Andrei Bucur <abucur@adobe.com>
402 Remove the ACCELERATED_COMPOSITING flag
403 https://bugs.webkit.org/show_bug.cgi?id=127833
405 Reviewed by Antti Koivisto.
407 Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
410 * WebCoreSupport/WebChromeClientIOS.h:
411 * WebCoreSupport/WebChromeClientIOS.mm:
412 (WebChromeClientIOS::attachRootGraphicsLayer):
413 * WebView/WebUIKitDelegate.h:
415 2014-01-27 Joseph Pecoraro <pecoraro@apple.com>
417 Unreviewed iOS build fix. FALLTHROUGHs for iOS.
419 * Misc/WebNSStringDrawing.mm:
422 2014-01-27 Andy Estes <aestes@apple.com>
424 Scrub WebKit API headers of WTF macros
425 https://bugs.webkit.org/show_bug.cgi?id=127706
427 Reviewed by David Kilzer.
429 * WebCoreSupport/WebMIMETypeRegistry.h: Changed PLATFORM(IOS) to
432 2014-01-15 Sam Weinig <sam@webkit.org>
434 TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
435 https://bugs.webkit.org/show_bug.cgi?id=126856
437 Reviewed by Ryosuke Niwa.
439 Change all the TextBreakIterator creation functions to take StringViews. Remove a few
440 now unnecessary up-conversions to UTF-16 in the process.
442 * Misc/WebNSStringDrawing.mm:
444 2014-01-16 Anders Carlsson <andersca@apple.com>
446 Change all uses of FINAL to final now that all our compilers support it
447 https://bugs.webkit.org/show_bug.cgi?id=127142
449 Reviewed by Benjamin Poulain.
451 * WebCoreSupport/WebDiskImageCacheClientIOS.h:
453 2014-01-16 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
455 Remove workaround for compilers not supporting explicit override control
456 https://bugs.webkit.org/show_bug.cgi?id=127111
458 Reviewed by Anders Carlsson.
460 Now all compilers support explicit override control, this workaround can be removed.
462 * Misc/EmojiFallbackFontSelector.h:
463 * Storage/WebSQLiteDatabaseTrackerClient.h:
464 * WebCoreSupport/PopupMenuIOS.h:
465 * WebCoreSupport/SearchPopupMenuIOS.h:
466 * WebCoreSupport/WebChromeClientIOS.h:
467 * WebCoreSupport/WebDiskImageCacheClientIOS.h:
469 2014-01-16 Andy Estes <aestes@apple.com>
471 [iOS] Fix build issues with exported headers
473 * Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
476 2014-01-14 Simon Fraser <simon.fraser@apple.com>
478 Avoid PLATFORM() macros in exported headers.
480 * WebView/WebPDFViewPlaceholder.h:
482 2014-01-14 Simon Fraser <simon.fraser@apple.com>
484 Clean up exports and headers for iOS.
486 * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
487 * WebCoreSupport/WebFrameIOS.h: Ditto.
488 * WebCoreSupport/WebSelectionRect.h: Ditto.
490 2014-01-14 Dean Jackson <dino@apple.com>
492 Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
496 2014-01-14 Simon Fraser <simon.fraser@apple.com>
498 Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
500 * WebCoreSupport/WebInspectorClientIOS.mm:
501 (WebInspectorClient::indicate):
502 (WebInspectorClient::hideIndication):
504 2014-01-13 Simon Fraser <simon.fraser@apple.com>
506 More work towards getting iOS WK1 building.
508 * WebCoreSupport/WebFrameIOS.mm:
509 (-[WebFrame imageForNode:allowDownsampling:drawContentBehindTransparentNodes:]): Stub out this
510 function, since it should use recently-refactored node snapshotting code. Covered by <rdar://problem/15808709>.
512 2014-01-12 Darin Adler <darin@apple.com>
514 Add type checking to isEqual methods
515 https://bugs.webkit.org/show_bug.cgi?id=126862
517 Reviewed by Anders Carlsson.
519 * WebCoreSupport/WebVisiblePosition.mm:
520 (-[WebVisiblePosition isEqual:]): Add type checking on the argument.
521 Add a FIXME about the lack of a hash method override. Simplified by
522 removing the unneeded local variables.
524 2014-01-02 Andy Estes <aestes@apple.com>
526 [iOS] Upstream remainder of minimal-ui viewport changes
527 https://bugs.webkit.org/show_bug.cgi?id=126410
529 Reviewed by Sam Weinig.
531 * WebCoreSupport/WebChromeClientIOS.mm:
532 (dictionaryForViewportArguments):
535 2013-12-31 Andy Estes <aestes@apple.com>
537 [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
538 https://bugs.webkit.org/show_bug.cgi?id=125746
540 Reviewed by David Kilzer.
542 * WebCoreSupport/WebVisiblePosition.mm:
543 (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
544 to mention iOS rather than iPhone.
546 2013-12-27 Daniel Bates <dabates@apple.com>
548 [iOS] Upstream WebCore/page changes
549 https://bugs.webkit.org/show_bug.cgi?id=126180
551 Reviewed by Darin Adler.
553 * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
555 2013-12-04 Brian J. Burg <burg@cs.washington.edu>
557 Consolidate various frame snapshot capabilities.
558 https://bugs.webkit.org/show_bug.cgi?id=124325
560 Reviewed by Darin Adler.
562 * WebCoreSupport/WebFrameIOS.mm: use new header file.
564 2013-12-04 Andy Estes <aestes@apple.com>
566 [iOS] Upstream build fixes in Source/WebKit/ios/
567 https://bugs.webkit.org/show_bug.cgi?id=125230
569 Reviewed by Sam Weinig.
571 * DefaultDelegates/WebDefaultUIKitDelegate.m:
572 (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
573 * Misc/WebNSStringDrawing.mm:
575 (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
576 (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
577 * Misc/WebUIKitSupport.mm:
579 * WebCoreSupport/WebChromeClientIOS.h:
580 * WebCoreSupport/WebChromeClientIOS.mm:
581 (WebChromeClientIOS::didReceiveMobileDocType):
582 (WebChromeClientIOS::focusedElementChanged):
583 * WebCoreSupport/WebFrameIOS.mm:
584 (-[WebFrame clearSelection]):
585 (-[WebFrame selectionState]):
586 (-[WebFrame collapseSelection]):
587 (-[WebFrame extendSelection:]):
588 (-[WebFrame selectionRects]):
589 (-[WebFrame setRangedSelectionWithExtentPoint:]):
590 (-[WebFrame setRangedSelectionExtentPoint:baseIsStart:allowFlipping:]):
591 (-[WebFrame setSelectionWithBasePoint:extentPoint:baseIsStart:allowFlipping:]):
592 (-[WebFrame setSelectionWithFirstPoint:secondPoint:]):
593 (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
594 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
595 (-[WebFrame expandSelectionToSentence]):
596 (-[WebFrame setBaseWritingDirection:]):
597 (-[WebFrame moveSelectionToStart]):
598 (-[WebFrame moveSelectionToEnd]):
599 (-[WebFrame moveSelectionToPoint:]):
600 (-[WebFrame setSelectionGranularity:]):
601 (-[WebFrame smartExtendRangedSelection:]):
602 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
603 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
604 * WebCoreSupport/WebInspectorClientIOS.mm:
605 (WebInspectorClient::WebInspectorClient):
606 (WebInspectorClient::didSetSearchingForNode):
607 (WebInspectorClient::setupRemoteConnection):
608 (WebInspectorClient::teardownRemoteConnection):
609 * WebCoreSupport/WebVisiblePosition.mm:
610 (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
611 (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
612 (-[DOMHTMLInputElement startPosition]):
613 (-[DOMHTMLInputElement endPosition]):
614 (-[DOMHTMLTextAreaElement startPosition]):
615 (-[DOMHTMLTextAreaElement endPosition]):
616 * WebView/WebPDFViewIOS.mm:
617 (+[WebPDFView shadowColor]):
618 (+[WebPDFView backgroundColor]):
619 (-[WebPDFView _checkPDFTitle]):
620 * WebView/WebPDFViewPlaceholder.mm:
621 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
622 * WebView/WebUIKitDelegate.h:
624 2013-12-03 Joseph Pecoraro <pecoraro@apple.com>
626 Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
627 https://bugs.webkit.org/show_bug.cgi?id=124613
629 Reviewed by Timothy Hatcher.
631 * WebCoreSupport/WebInspectorClientIOS.mm:
632 (WebInspectorClient::WebInspectorClient):
633 (WebInspectorClient::inspectorDestroyed):
635 2013-12-03 Ralph Thomas <ralpht@gmail.com>
637 Typo: FixedPositionConstaint -> FixedPositionConstraint
638 https://bugs.webkit.org/show_bug.cgi?id=125171
640 Reviewed by Simon Fraser.
642 * WebCoreSupport/WebFixedPositionContent.mm:
643 (-[WebFixedPositionContent scrollOrZoomChanged:]):
645 2013-11-18 Commit Queue <commit-queue@webkit.org>
647 Unreviewed, rolling out r159455.
648 http://trac.webkit.org/changeset/159455
649 https://bugs.webkit.org/show_bug.cgi?id=124568
651 broke two api tests (see bug 124564) (Requested by thorton on
654 * WebCoreSupport/WebFrameIOS.mm:
656 2013-11-18 Brian J. Burg <burg@cs.washington.edu>
658 Consolidate various frame snapshot capabilities.
659 https://bugs.webkit.org/show_bug.cgi?id=124325
661 Reviewed by Timothy Hatcher.
663 * WebCoreSupport/WebFrameIOS.mm: use new header file.
665 2013-11-07 Joseph Pecoraro <pecoraro@apple.com>
667 Remove a PLATFORM(IOS) from WebKit Private Header
668 https://bugs.webkit.org/show_bug.cgi?id=124014
670 Reviewed by Timothy Hatcher.
674 2013-10-29 Andy Estes <aestes@apple.com>
676 [iOS] Upstream Source/WebKit/ios/
677 https://bugs.webkit.org/show_bug.cgi?id=123470
679 Reviewed by Sam Weinig.
681 * DefaultDelegates/WebDefaultFormDelegate.h: Added.
682 * DefaultDelegates/WebDefaultFormDelegate.m: Added.
683 * DefaultDelegates/WebDefaultFrameLoadDelegate.h: Added.
684 * DefaultDelegates/WebDefaultFrameLoadDelegate.m: Added.
685 * DefaultDelegates/WebDefaultResourceLoadDelegate.h: Added.
686 * DefaultDelegates/WebDefaultResourceLoadDelegate.m: Added.
687 * DefaultDelegates/WebDefaultUIKitDelegate.h: Added.
688 * DefaultDelegates/WebDefaultUIKitDelegate.m: Added.
689 * Misc/EmojiFallbackFontSelector.cpp: Added.
690 * Misc/EmojiFallbackFontSelector.h: Added.
691 * Misc/MemoryMeasure.h: Added.
692 * Misc/MemoryMeasure.mm: Added.
693 * Misc/WebGeolocationCoreLocationProvider.h: Added.
694 * Misc/WebGeolocationCoreLocationProvider.mm: Added.
695 * Misc/WebGeolocationProviderIOS.h: Added.
696 * Misc/WebGeolocationProviderIOS.mm: Added.
697 * Misc/WebNSStringDrawing.h: Added.
698 * Misc/WebNSStringDrawing.mm: Added.
699 * Misc/WebNSStringExtrasIOS.h: Added.
700 * Misc/WebNSStringExtrasIOS.m: Added.
701 * Misc/WebNSStringExtrasIPhone.h: Added.
702 * Misc/WebUIKitSupport.h: Added.
703 * Misc/WebUIKitSupport.mm: Added.
704 * Storage/WebSQLiteDatabaseTrackerClient.h: Added.
705 * Storage/WebSQLiteDatabaseTrackerClient.mm: Added.
706 * WebCoreSupport/PopupMenuIOS.h: Added.
707 * WebCoreSupport/PopupMenuIOS.mm: Added.
708 * WebCoreSupport/SearchPopupMenuIOS.cpp: Added.
709 * WebCoreSupport/SearchPopupMenuIOS.h: Added.
710 * WebCoreSupport/WebCaretChangeListener.h: Added.
711 * WebCoreSupport/WebChromeClientIOS.h: Added.
712 * WebCoreSupport/WebChromeClientIOS.mm: Added.
713 * WebCoreSupport/WebFixedPositionContent.h: Added.
714 * WebCoreSupport/WebFixedPositionContent.mm: Added.
715 * WebCoreSupport/WebFixedPositionContentInternal.h: Added.
716 * WebCoreSupport/WebFrameIOS.h: Added.
717 * WebCoreSupport/WebFrameIOS.mm: Added.
718 * WebCoreSupport/WebFrameIPhone.h: Added.
719 * WebCoreSupport/WebGeolocation.mm: Added.
720 * WebCoreSupport/WebGeolocationInternal.h: Added.
721 * WebCoreSupport/WebGeolocationPrivate.h: Added.
722 * WebCoreSupport/WebMIMETypeRegistry.h: Added.
723 * WebCoreSupport/WebMIMETypeRegistry.mm: Added.
724 * WebCoreSupport/WebSelectionRect.h: Added.
725 * WebCoreSupport/WebSelectionRect.m: Added.
726 * WebCoreSupport/WebVisiblePosition.h: Added.
727 * WebCoreSupport/WebVisiblePosition.mm: Added.
728 * WebCoreSupport/WebVisiblePositionInternal.h: Added.
729 * WebKit.iOS.exp: Added.
730 * WebView/WebFrameViewWAKCompatibility.m: Added.
731 * WebView/WebMailDelegate.h: Added.
732 * WebView/WebPDFViewIOS.h: Added.
733 * WebView/WebPDFViewIOS.mm: Added.
734 * WebView/WebPDFViewIPhone.h: Added.
735 * WebView/WebPDFViewPlaceholder.h: Added.
736 * WebView/WebPDFViewPlaceholder.mm: Added.
737 * WebView/WebPlainWhiteView.h: Added.
738 * WebView/WebPlainWhiteView.mm: Added.
739 * WebView/WebUIKitDelegate.h: Added.
741 2013-10-25 Joseph Pecoraro <pecoraro@apple.com>
743 Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
744 https://bugs.webkit.org/show_bug.cgi?id=123111
746 Reviewed by Timothy Hatcher.
748 iOS does not have a local inspector, only remote. So give it a custom
749 implementation separate from the WebKit/mac WebInspectorClient
750 implementation which handles an attaching/detaching local inspector.
752 * WebKit.xcodeproj/project.pbxproj:
753 * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
754 (WebInspectorClient::WebInspectorClient):
755 (WebInspectorClient::inspectorDestroyed):
756 (WebInspectorClient::openInspectorFrontend):
757 (WebInspectorClient::bringFrontendToFront):
758 (WebInspectorClient::closeInspectorFrontend):
759 (WebInspectorClient::didResizeMainFrame):
760 (WebInspectorClient::highlight):
761 (WebInspectorClient::hideHighlight):
762 (WebInspectorClient::didSetSearchingForNode):
763 (WebInspectorClient::sendMessageToFrontend):
764 (WebInspectorClient::sendMessageToBackend):
765 (WebInspectorClient::setupRemoteConnection):
766 (WebInspectorClient::teardownRemoteConnection):
767 (WebInspectorClient::hasLocalSession):
768 (WebInspectorClient::canBeRemotelyInspected):
769 (WebInspectorClient::inspectedWebView):
770 (WebInspectorFrontendClient::WebInspectorFrontendClient):
771 (WebInspectorFrontendClient::attachAvailabilityChanged):
772 (WebInspectorFrontendClient::frontendLoaded):
773 (WebInspectorFrontendClient::localizedStringsURL):
774 (WebInspectorFrontendClient::bringToFront):
775 (WebInspectorFrontendClient::closeWindow):
776 (WebInspectorFrontendClient::disconnectFromBackend):
777 (WebInspectorFrontendClient::attachWindow):
778 (WebInspectorFrontendClient::detachWindow):
779 (WebInspectorFrontendClient::setAttachedWindowHeight):
780 (WebInspectorFrontendClient::setAttachedWindowWidth):
781 (WebInspectorFrontendClient::setToolbarHeight):
782 (WebInspectorFrontendClient::inspectedURLChanged):
783 (WebInspectorFrontendClient::updateWindowTitle):
784 (WebInspectorFrontendClient::save):
785 (WebInspectorFrontendClient::append):