Source/WebCore: Clean up exports and headers for iOS.
[WebKit-https.git] / Source / WebKit / ios / ChangeLog
1 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
2
3         Clean up exports and headers for iOS.
4
5         * Misc/WebNSStringDrawing.h: Don't use PLATFORM() macro in an exported header.
6         * WebCoreSupport/WebFrameIOS.h: Ditto.
7         * WebCoreSupport/WebSelectionRect.h: Ditto.
8
9 2014-01-14  Dean Jackson  <dino@apple.com>
10
11         Remove .objc_class_name_WebInspectorXPCWrapper from export on iOS build.
12
13         * WebKit.iOS.exp:
14
15 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
16
17         Fix WK1 iOS build: need implementations of these functions in WebInspectorClientIOS.
18
19         * WebCoreSupport/WebInspectorClientIOS.mm:
20         (WebInspectorClient::indicate):
21         (WebInspectorClient::hideIndication):
22
23 2014-01-13  Simon Fraser  <simon.fraser@apple.com>
24
25         More work towards getting iOS WK1 building.
26
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>.
30
31 2014-01-12  Darin Adler  <darin@apple.com>
32
33         Add type checking to isEqual methods
34         https://bugs.webkit.org/show_bug.cgi?id=126862
35
36         Reviewed by Anders Carlsson.
37
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.
42
43 2014-01-02  Andy Estes  <aestes@apple.com>
44
45         [iOS] Upstream remainder of minimal-ui viewport changes
46         https://bugs.webkit.org/show_bug.cgi?id=126410
47
48         Reviewed by Sam Weinig.
49
50         * WebCoreSupport/WebChromeClientIOS.mm:
51         (dictionaryForViewportArguments):
52         * WebKit.iOS.exp:
53
54 2013-12-31  Andy Estes  <aestes@apple.com>
55
56         [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/
57         https://bugs.webkit.org/show_bug.cgi?id=125746
58
59         Reviewed by David Kilzer.
60
61         * WebCoreSupport/WebVisiblePosition.mm:
62         (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
63         to mention iOS rather than iPhone.
64
65 2013-12-27  Daniel Bates  <dabates@apple.com>
66
67         [iOS] Upstream WebCore/page changes
68         https://bugs.webkit.org/show_bug.cgi?id=126180
69
70         Reviewed by Darin Adler.
71
72         * WebCoreSupport/WebChromeClientIOS.mm: Substitute ENABLE(IOS_TOUCH_EVENTS) for ENABLE(TOUCH_EVENTS).
73
74 2013-12-04  Brian J. Burg  <burg@cs.washington.edu>
75
76         Consolidate various frame snapshot capabilities.
77         https://bugs.webkit.org/show_bug.cgi?id=124325
78
79         Reviewed by Darin Adler.
80
81         * WebCoreSupport/WebFrameIOS.mm: use new header file.
82
83 2013-12-04  Andy Estes  <aestes@apple.com>
84
85         [iOS] Upstream build fixes in Source/WebKit/ios/
86         https://bugs.webkit.org/show_bug.cgi?id=125230
87
88         Reviewed by Sam Weinig.
89
90         * DefaultDelegates/WebDefaultUIKitDelegate.m:
91         (-[WebDefaultUIKitDelegate webViewDidReceiveMobileDocType:]):
92         * Misc/WebNSStringDrawing.mm:
93         (needsBidiLayout):
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:
97         (WebKitInitialize):
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:
142
143 2013-12-03  Joseph Pecoraro  <pecoraro@apple.com>
144
145         Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
146         https://bugs.webkit.org/show_bug.cgi?id=124613
147
148         Reviewed by Timothy Hatcher.
149
150         * WebCoreSupport/WebInspectorClientIOS.mm:
151         (WebInspectorClient::WebInspectorClient):
152         (WebInspectorClient::inspectorDestroyed):
153
154 2013-12-03  Ralph Thomas  <ralpht@gmail.com>
155
156         Typo: FixedPositionConstaint -> FixedPositionConstraint
157         https://bugs.webkit.org/show_bug.cgi?id=125171
158
159         Reviewed by Simon Fraser.
160
161         * WebCoreSupport/WebFixedPositionContent.mm:
162         (-[WebFixedPositionContent scrollOrZoomChanged:]):
163
164 2013-11-18  Commit Queue  <commit-queue@webkit.org>
165
166         Unreviewed, rolling out r159455.
167         http://trac.webkit.org/changeset/159455
168         https://bugs.webkit.org/show_bug.cgi?id=124568
169
170         broke two api tests (see bug 124564) (Requested by thorton on
171         #webkit).
172
173         * WebCoreSupport/WebFrameIOS.mm:
174
175 2013-11-18  Brian J. Burg  <burg@cs.washington.edu>
176
177         Consolidate various frame snapshot capabilities.
178         https://bugs.webkit.org/show_bug.cgi?id=124325
179
180         Reviewed by Timothy Hatcher.
181
182         * WebCoreSupport/WebFrameIOS.mm: use new header file.
183
184 2013-11-07  Joseph Pecoraro  <pecoraro@apple.com>
185
186         Remove a PLATFORM(IOS) from WebKit Private Header
187         https://bugs.webkit.org/show_bug.cgi?id=124014
188
189         Reviewed by Timothy Hatcher.
190
191         * WebKit.iOS.exp:
192
193 2013-10-29  Andy Estes  <aestes@apple.com>
194
195         [iOS] Upstream Source/WebKit/ios/
196         https://bugs.webkit.org/show_bug.cgi?id=123470
197
198         Reviewed by Sam Weinig.
199
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.
259
260 2013-10-25  Joseph Pecoraro  <pecoraro@apple.com>
261
262         Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac
263         https://bugs.webkit.org/show_bug.cgi?id=123111
264
265         Reviewed by Timothy Hatcher.
266
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.
270
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):