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