1 2014-01-14 Simon Fraser <simon.fraser@apple.com>
3 Clean up exports and headers for iOS.
5 * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
6 * WebCoreSupport/WebFrameIOS.h: Ditto.
7 * WebCoreSupport/WebSelectionRect.h: Ditto.
9 2014-01-14 Dean Jackson <dino@apple.com>
11 Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
15 2014-01-14 Simon Fraser <simon.fraser@apple.com>
17 Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
19 * WebCoreSupport/WebInspectorClientIOS.mm:
20 (WebInspectorClient::indicate):
21 (WebInspectorClient::hideIndication):
23 2014-01-13 Simon Fraser <simon.fraser@apple.com>
25 More work towards getting iOS WK1 building.
27 * WebCoreSupport/WebFrameIOS.mm:
28 (-[WebFrame imageForNode:allowDownsampling:drawContentBehindTransparentNodes:]): Stub out this
29 function, since it should use recently-refactored node snapshotting code. Covered by <rdar://problem/15808709>.
31 2014-01-12 Darin Adler <darin@apple.com>
33 Add type checking to isEqual methods
34 https://bugs.webkit.org/show_bug.cgi?id=126862
36 Reviewed by Anders Carlsson.
38 * WebCoreSupport/WebVisiblePosition.mm:
39 (-[WebVisiblePosition isEqual:]): Add type checking on the argument.
40 Add a FIXME about the lack of a hash method override. Simplified by
41 removing the unneeded local variables.
43 2014-01-02 Andy Estes <aestes@apple.com>
45 [iOS] Upstream remainder of minimal-ui viewport changes
46 https://bugs.webkit.org/show_bug.cgi?id=126410
48 Reviewed by Sam Weinig.
50 * WebCoreSupport/WebChromeClientIOS.mm:
51 (dictionaryForViewportArguments):
54 2013-12-31 Andy Estes <aestes@apple.com>
56 [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
57 https://bugs.webkit.org/show_bug.cgi?id=125746
59 Reviewed by David Kilzer.
61 * WebCoreSupport/WebVisiblePosition.mm:
62 (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
63 to mention iOS rather than iPhone.
65 2013-12-27 Daniel Bates <dabates@apple.com>
67 [iOS] Upstream WebCore/page changes
68 https://bugs.webkit.org/show_bug.cgi?id=126180
70 Reviewed by Darin Adler.
72 * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
74 2013-12-04 Brian J. Burg <burg@cs.washington.edu>
76 Consolidate various frame snapshot capabilities.
77 https://bugs.webkit.org/show_bug.cgi?id=124325
79 Reviewed by Darin Adler.
81 * WebCoreSupport/WebFrameIOS.mm: use new header file.
83 2013-12-04 Andy Estes <aestes@apple.com>
85 [iOS] Upstream build fixes in Source/WebKit/ios/
86 https://bugs.webkit.org/show_bug.cgi?id=125230
88 Reviewed by Sam Weinig.
90 * DefaultDelegates/WebDefaultUIKitDelegate.m:
91 (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
92 * Misc/WebNSStringDrawing.mm:
94 (-[NSString __web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:measureOnly:renderedStringOut:drawUnderline:]):
95 (-[NSString __web_drawInRect:withFont:ellipsis:alignment:letterSpacing:lineSpacing:includeEmoji:truncationRect:measureOnly:renderedStringOut:drawUnderline:]):
96 * Misc/WebUIKitSupport.mm:
98 * WebCoreSupport/WebChromeClientIOS.h:
99 * WebCoreSupport/WebChromeClientIOS.mm:
100 (WebChromeClientIOS::didReceiveMobileDocType):
101 (WebChromeClientIOS::focusedElementChanged):
102 * WebCoreSupport/WebFrameIOS.mm:
103 (-[WebFrame clearSelection]):
104 (-[WebFrame selectionState]):
105 (-[WebFrame collapseSelection]):
106 (-[WebFrame extendSelection:]):
107 (-[WebFrame selectionRects]):
108 (-[WebFrame setRangedSelectionWithExtentPoint:]):
109 (-[WebFrame setRangedSelectionExtentPoint:baseIsStart:allowFlipping:]):
110 (-[WebFrame setSelectionWithBasePoint:extentPoint:baseIsStart:allowFlipping:]):
111 (-[WebFrame setSelectionWithFirstPoint:secondPoint:]):
112 (-[WebFrame ensureRangedSelectionContainsInitialStartPoint:initialEndPoint:]):
113 (-[WebFrame aggressivelyExpandSelectionToWordContainingCaretSelection]):
114 (-[WebFrame expandSelectionToSentence]):
115 (-[WebFrame setBaseWritingDirection:]):
116 (-[WebFrame moveSelectionToStart]):
117 (-[WebFrame moveSelectionToEnd]):
118 (-[WebFrame moveSelectionToPoint:]):
119 (-[WebFrame setSelectionGranularity:]):
120 (-[WebFrame smartExtendRangedSelection:]):
121 (-[WebFrame previousUnperturbedDictationResultBoundaryFromPosition:]):
122 (-[WebFrame nextUnperturbedDictationResultBoundaryFromPosition:]):
123 * WebCoreSupport/WebInspectorClientIOS.mm:
124 (WebInspectorClient::WebInspectorClient):
125 (WebInspectorClient::didSetSearchingForNode):
126 (WebInspectorClient::setupRemoteConnection):
127 (WebInspectorClient::teardownRemoteConnection):
128 * WebCoreSupport/WebVisiblePosition.mm:
129 (-[WebVisiblePosition enclosingRangeWithDictationPhraseAlternatives:]):
130 (-[WebVisiblePosition enclosingRangeWithCorrectionIndicator]):
131 (-[DOMHTMLInputElement startPosition]):
132 (-[DOMHTMLInputElement endPosition]):
133 (-[DOMHTMLTextAreaElement startPosition]):
134 (-[DOMHTMLTextAreaElement endPosition]):
135 * WebView/WebPDFViewIOS.mm:
136 (+[WebPDFView shadowColor]):
137 (+[WebPDFView backgroundColor]):
138 (-[WebPDFView _checkPDFTitle]):
139 * WebView/WebPDFViewPlaceholder.mm:
140 (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
141 * WebView/WebUIKitDelegate.h:
143 2013-12-03 Joseph Pecoraro <pecoraro@apple.com>
145 Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
146 https://bugs.webkit.org/show_bug.cgi?id=124613
148 Reviewed by Timothy Hatcher.
150 * WebCoreSupport/WebInspectorClientIOS.mm:
151 (WebInspectorClient::WebInspectorClient):
152 (WebInspectorClient::inspectorDestroyed):
154 2013-12-03 Ralph Thomas <ralpht@gmail.com>
156 Typo: FixedPositionConstaint -> FixedPositionConstraint
157 https://bugs.webkit.org/show_bug.cgi?id=125171
159 Reviewed by Simon Fraser.
161 * WebCoreSupport/WebFixedPositionContent.mm:
162 (-[WebFixedPositionContent scrollOrZoomChanged:]):
164 2013-11-18 Commit Queue <commit-queue@webkit.org>
166 Unreviewed, rolling out r159455.
167 http://trac.webkit.org/changeset/159455
168 https://bugs.webkit.org/show_bug.cgi?id=124568
170 broke two api tests (see bug 124564) (Requested by thorton on
173 * WebCoreSupport/WebFrameIOS.mm:
175 2013-11-18 Brian J. Burg <burg@cs.washington.edu>
177 Consolidate various frame snapshot capabilities.
178 https://bugs.webkit.org/show_bug.cgi?id=124325
180 Reviewed by Timothy Hatcher.
182 * WebCoreSupport/WebFrameIOS.mm: use new header file.
184 2013-11-07 Joseph Pecoraro <pecoraro@apple.com>
186 Remove a PLATFORM(IOS) from WebKit Private Header
187 https://bugs.webkit.org/show_bug.cgi?id=124014
189 Reviewed by Timothy Hatcher.
193 2013-10-29 Andy Estes <aestes@apple.com>
195 [iOS] Upstream Source/WebKit/ios/
196 https://bugs.webkit.org/show_bug.cgi?id=123470
198 Reviewed by Sam Weinig.
200 * DefaultDelegates/WebDefaultFormDelegate.h: Added.
201 * DefaultDelegates/WebDefaultFormDelegate.m: Added.
202 * DefaultDelegates/WebDefaultFrameLoadDelegate.h: Added.
203 * DefaultDelegates/WebDefaultFrameLoadDelegate.m: Added.
204 * DefaultDelegates/WebDefaultResourceLoadDelegate.h: Added.
205 * DefaultDelegates/WebDefaultResourceLoadDelegate.m: Added.
206 * DefaultDelegates/WebDefaultUIKitDelegate.h: Added.
207 * DefaultDelegates/WebDefaultUIKitDelegate.m: Added.
208 * Misc/EmojiFallbackFontSelector.cpp: Added.
209 * Misc/EmojiFallbackFontSelector.h: Added.
210 * Misc/MemoryMeasure.h: Added.
211 * Misc/MemoryMeasure.mm: Added.
212 * Misc/WebGeolocationCoreLocationProvider.h: Added.
213 * Misc/WebGeolocationCoreLocationProvider.mm: Added.
214 * Misc/WebGeolocationProviderIOS.h: Added.
215 * Misc/WebGeolocationProviderIOS.mm: Added.
216 * Misc/WebNSStringDrawing.h: Added.
217 * Misc/WebNSStringDrawing.mm: Added.
218 * Misc/WebNSStringExtrasIOS.h: Added.
219 * Misc/WebNSStringExtrasIOS.m: Added.
220 * Misc/WebNSStringExtrasIPhone.h: Added.
221 * Misc/WebUIKitSupport.h: Added.
222 * Misc/WebUIKitSupport.mm: Added.
223 * Storage/WebSQLiteDatabaseTrackerClient.h: Added.
224 * Storage/WebSQLiteDatabaseTrackerClient.mm: Added.
225 * WebCoreSupport/PopupMenuIOS.h: Added.
226 * WebCoreSupport/PopupMenuIOS.mm: Added.
227 * WebCoreSupport/SearchPopupMenuIOS.cpp: Added.
228 * WebCoreSupport/SearchPopupMenuIOS.h: Added.
229 * WebCoreSupport/WebCaretChangeListener.h: Added.
230 * WebCoreSupport/WebChromeClientIOS.h: Added.
231 * WebCoreSupport/WebChromeClientIOS.mm: Added.
232 * WebCoreSupport/WebFixedPositionContent.h: Added.
233 * WebCoreSupport/WebFixedPositionContent.mm: Added.
234 * WebCoreSupport/WebFixedPositionContentInternal.h: Added.
235 * WebCoreSupport/WebFrameIOS.h: Added.
236 * WebCoreSupport/WebFrameIOS.mm: Added.
237 * WebCoreSupport/WebFrameIPhone.h: Added.
238 * WebCoreSupport/WebGeolocation.mm: Added.
239 * WebCoreSupport/WebGeolocationInternal.h: Added.
240 * WebCoreSupport/WebGeolocationPrivate.h: Added.
241 * WebCoreSupport/WebMIMETypeRegistry.h: Added.
242 * WebCoreSupport/WebMIMETypeRegistry.mm: Added.
243 * WebCoreSupport/WebSelectionRect.h: Added.
244 * WebCoreSupport/WebSelectionRect.m: Added.
245 * WebCoreSupport/WebVisiblePosition.h: Added.
246 * WebCoreSupport/WebVisiblePosition.mm: Added.
247 * WebCoreSupport/WebVisiblePositionInternal.h: Added.
248 * WebKit.iOS.exp: Added.
249 * WebView/WebFrameViewWAKCompatibility.m: Added.
250 * WebView/WebMailDelegate.h: Added.
251 * WebView/WebPDFViewIOS.h: Added.
252 * WebView/WebPDFViewIOS.mm: Added.
253 * WebView/WebPDFViewIPhone.h: Added.
254 * WebView/WebPDFViewPlaceholder.h: Added.
255 * WebView/WebPDFViewPlaceholder.mm: Added.
256 * WebView/WebPlainWhiteView.h: Added.
257 * WebView/WebPlainWhiteView.mm: Added.
258 * WebView/WebUIKitDelegate.h: Added.
260 2013-10-25 Joseph Pecoraro <pecoraro@apple.com>
262 Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
263 https://bugs.webkit.org/show_bug.cgi?id=123111
265 Reviewed by Timothy Hatcher.
267 iOS does not have a local inspector, only remote. So give it a custom
268 implementation separate from the WebKit/mac WebInspectorClient
269 implementation which handles an attaching/detaching local inspector.
271 * WebKit.xcodeproj/project.pbxproj:
272 * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
273 (WebInspectorClient::WebInspectorClient):
274 (WebInspectorClient::inspectorDestroyed):
275 (WebInspectorClient::openInspectorFrontend):
276 (WebInspectorClient::bringFrontendToFront):
277 (WebInspectorClient::closeInspectorFrontend):
278 (WebInspectorClient::didResizeMainFrame):
279 (WebInspectorClient::highlight):
280 (WebInspectorClient::hideHighlight):
281 (WebInspectorClient::didSetSearchingForNode):
282 (WebInspectorClient::sendMessageToFrontend):
283 (WebInspectorClient::sendMessageToBackend):
284 (WebInspectorClient::setupRemoteConnection):
285 (WebInspectorClient::teardownRemoteConnection):
286 (WebInspectorClient::hasLocalSession):
287 (WebInspectorClient::canBeRemotelyInspected):
288 (WebInspectorClient::inspectedWebView):
289 (WebInspectorFrontendClient::WebInspectorFrontendClient):
290 (WebInspectorFrontendClient::attachAvailabilityChanged):
291 (WebInspectorFrontendClient::frontendLoaded):
292 (WebInspectorFrontendClient::localizedStringsURL):
293 (WebInspectorFrontendClient::bringToFront):
294 (WebInspectorFrontendClient::closeWindow):
295 (WebInspectorFrontendClient::disconnectFromBackend):
296 (WebInspectorFrontendClient::attachWindow):
297 (WebInspectorFrontendClient::detachWindow):
298 (WebInspectorFrontendClient::setAttachedWindowHeight):
299 (WebInspectorFrontendClient::setAttachedWindowWidth):
300 (WebInspectorFrontendClient::setToolbarHeight):
301 (WebInspectorFrontendClient::inspectedURLChanged):
302 (WebInspectorFrontendClient::updateWindowTitle):
303 (WebInspectorFrontendClient::save):
304 (WebInspectorFrontendClient::append):