Replace CaseFoldingHash with ASCIICaseInsensitiveHash
[WebKit-https.git] / Source / WebKit / win / ChangeLog
1 2016-01-30  Darin Adler  <darin@apple.com>
2
3         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
4         https://bugs.webkit.org/show_bug.cgi?id=153639
5
6         Reviewed by Filip Pizlo.
7
8         * WebCoreStatistics.cpp:
9         (WebCoreStatistics::memoryStatistics): Use ASCIICaseInsensitiveHash for field names.
10         These names are all ASCII.
11
12         * WebURLResponse.cpp:
13         (WebURLResponse::allHeaderFields): Use ASCIICaseInsensitiveHash for HTTP header
14         field names. These names are all ASCII.
15
16 2016-01-29  Ryan Haddad  <ryanhaddad@apple.com>
17
18         Attempt to fix the Windows build after r195799
19
20         Unreviewed build fix.
21
22         * WebInspector.cpp:
23         (WebInspector::isJavaScriptProfilingEnabled):
24         (WebInspector::setJavaScriptProfilingEnabled):
25
26 2016-01-28  Darin Adler  <darin@apple.com>
27
28         Remove equalIgnoringCase since all callers really wanted equalIgnoringASCIICase
29         https://bugs.webkit.org/show_bug.cgi?id=153411
30
31         Reviewed by Ryosuke Niwa.
32
33         * Plugins/PluginDatabase.cpp:
34         (WebCore::PluginDatabase::MIMETypeForExtension): Use equalIgnoringASCIICase to compare
35         file extensions.
36         * Plugins/PluginDatabaseWin.cpp:
37         (WebCore::PluginDatabase::getPluginPathsInDirectories): Use equalLettersIgnoringASCIICase
38         to compare filenames.
39         * Plugins/PluginPackageWin.cpp:
40         (WebCore::PluginPackage::isPluginBlacklisted): Use equalLettersIgnoringASCIICase to
41         compare DLL filenames.
42         * Plugins/PluginStream.cpp:
43         (WebCore::PluginStream::destroyStream): Use equalLettersIgnoringASCIICase to check HTTP method.
44         * Plugins/PluginView.cpp:
45         (WebCore::PluginView::setParameters): Use equalLettersIgnoringASCIICase to check
46         plug-in parameter name.
47         * WebView.cpp:
48         (WebView::canHandleRequest): Use URL::protocolIs instead of equalIgnoringCase.
49
50 2016-01-22  Ryosuke Niwa  <rniwa@webkit.org>
51
52         document.createElement should be able to create a custom element
53         https://bugs.webkit.org/show_bug.cgi?id=153173
54
55         Reviewed by Darin Adler.
56
57         Use createElementForBindings here since this is a C++ binding for Windows.
58
59         * DOMCoreClasses.cpp:
60         (DOMDocument::createElement):
61
62 2016-01-24  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
63
64         Reduce PassRefPtr uses in dom - 4
65         https://bugs.webkit.org/show_bug.cgi?id=153270
66
67         Reviewed by Darin Adler.
68
69         As a step to remove PassRefPtr uses, this patch reduces the uses in WebCore/dom.
70
71         * Plugins/PluginView.cpp:
72         (WebCore::PluginView::focusPluginElement):
73
74 2016-01-17  Ada Chan  <adachan@apple.com>
75
76         Add a mode parameter to MediaControllerInterface::supportsFullscreen() and ChromeClient::supportsVideoFullscreen().
77         https://bugs.webkit.org/show_bug.cgi?id=153220
78
79         Reviewed by Eric Carlson.
80
81         * WebCoreSupport/WebChromeClient.cpp:
82         (WebChromeClient::supportsVideoFullscreen):
83         * WebCoreSupport/WebChromeClient.h:
84
85 2016-01-22  Youenn Fablet  <youenn.fablet@crf.canon.fr>
86
87         Remove PassRefPtr from ResourceRequest and FormData
88         https://bugs.webkit.org/show_bug.cgi?id=153229
89
90         Reviewed by Chris Dumez.
91
92         * WebMutableURLRequest.cpp:
93         (WebMutableURLRequest::setHTTPBody):
94
95 2016-01-15  Simon Fraser  <simon.fraser@apple.com>
96
97         Remove GraphicsContext::drawConvexPolygon() and GraphicsContext::clipConvexPolygon()
98         https://bugs.webkit.org/show_bug.cgi?id=153174
99
100         Reviewed by Zalan Bujtas.
101
102         GraphicsContext::drawConvexPolygon() and GraphicsContext::clipConvexPolygon() were
103         poorly named (non-convex polygons are allowed), and just syntactic sugar over
104         clipPath() and drawPath().
105         
106         Remove them, but add a convenience function to create a Path from a Vector of 
107         points. For CG, we can use the more efficient CGPathAddLines().
108
109         * FullscreenVideoController.cpp:
110         (HUDSlider::draw):
111
112 2016-01-05  Per Arne Vollan  <peavo@outlook.com>
113
114         [WinCairo] Download should use header values from provided request object.
115         https://bugs.webkit.org/show_bug.cgi?id=152694
116
117         Reviewed by Alex Christensen.
118
119         Copy header values from request object parameter.
120
121         * WebDownloadCurl.cpp:
122         (WebDownload::initWithRequest):
123
124 2015-12-31  Andy Estes  <aestes@apple.com>
125
126         Replace WTF::move with WTFMove
127         https://bugs.webkit.org/show_bug.cgi?id=152601
128
129         Reviewed by Brady Eidson.
130
131         * Plugins/PluginStream.cpp:
132         (WebCore::PluginStream::willSendRequest):
133         * Plugins/PluginView.cpp:
134         (WebCore::PluginView::requestTimerFired):
135         (WebCore::PluginView::scheduleRequest):
136         (WebCore::PluginView::handlePost):
137         * WebCoreSupport/WebFrameLoaderClient.cpp:
138         (WebFrameLoaderClient::createDocumentLoader):
139         * WebCoreSupport/WebInspectorClient.cpp:
140         (WebInspectorFrontendClient::WebInspectorFrontendClient):
141         * WebHistory.cpp:
142         (createUserInfoFromArray):
143         * WebHistoryItem.cpp:
144         (WebHistoryItem::initFromDictionaryRepresentation):
145         * WebView.cpp:
146         (WebView::addToDirtyRegion):
147         (WebView::scrollBackingStore):
148         (WebView::loadBackForwardListFromOtherView):
149         (WebView::addUserScriptToGroup):
150         (WebView::addUserStyleSheetToGroup):
151
152 2015-12-29  Simon Fraser  <simon.fraser@apple.com>
153
154         Fix Windows build.
155
156         * WebView.cpp:
157         (WebView::scrollOffset):
158
159 2015-12-25  David Kilzer  <ddkilzer@apple.com>
160
161         ResourceError should store failingURL as URL instead of String to avoid reparsing and to address FIXME comments in ResourceErrorCF.cpp and ResourceErrorMac.mm
162         <http://webkit.org/b/146391>
163
164         Reviewed by Antti Koivisto.
165
166         * WebCoreSupport/WebFrameLoaderClient.cpp:
167         (WebFrameLoaderClient::cancelledError):
168         (WebFrameLoaderClient::blockedError):
169         (WebFrameLoaderClient::cannotShowURLError):
170         (WebFrameLoaderClient::interruptedForPolicyChangeError):
171         (WebFrameLoaderClient::cannotShowMIMETypeError):
172         (WebFrameLoaderClient::fileDoesNotExistError):
173         (WebFrameLoaderClient::pluginWillHandleLoadError):
174         (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
175         (WebFrameLoaderClient::createJavaAppletWidget):
176         * WebDownloadCFNet.cpp:
177         (WebDownload::cancelAuthenticationChallenge):
178         * WebError.cpp:
179         (WebError::init):
180         - Update for type change of 'failingURL' argument to
181           ResourceError().
182
183 2015-12-23  Brent Fulgham  <bfulgham@apple.com>
184
185         Web Inspector: add support for running protocol-test.js tests on Windows
186         https://bugs.webkit.org/show_bug.cgi?id=148037
187         <rdar://problem/22292237>
188
189         Reviewed by Simon Fraser.
190
191         Provide API for WebKit.dll clients to request its CFBundleRef.
192         
193         * WebKitCOMAPI.cpp:
194         (webKitBundle): Added.
195         * WebKitCOMAPI.h:
196
197 2015-12-20  Dan Bernstein  <mitz@apple.com>
198
199         Remove unused setToolbarHeight
200         https://bugs.webkit.org/show_bug.cgi?id=152466
201
202         Reviewed by Darin Adler.
203
204         * WebCoreSupport/WebInspectorClient.cpp:
205         (WebInspectorFrontendClient::setToolbarHeight): Deleted.
206         * WebCoreSupport/WebInspectorClient.h:
207
208 2015-12-15  Zan Dobersek  <zdobersek@igalia.com>
209
210         [TexMap] Operate with a reference to the TextureMapper wherever possible
211         https://bugs.webkit.org/show_bug.cgi?id=152118
212
213         Reviewed by Martin Robinson.
214
215         * WebCoreSupport/AcceleratedCompositingContext.cpp:
216         (AcceleratedCompositingContext::compositeLayersToContext): TextureMapper object
217         is now operated with through a reference.
218
219 2015-12-01  Darin Adler  <darin@apple.com>
220
221         Fix anomaly where isMouseEvent returns false for wheel events
222         https://bugs.webkit.org/show_bug.cgi?id=151685
223
224         Reviewed by Alexey Proskuryakov.
225
226         * DOMEventsClasses.cpp:
227         (DOMEvent::createInstance): Use eventInterface instead of isMouseEvent to create the appropriate
228         wrapper class.
229
230 2015-11-24  Per Arne Vollan  <peavo@outlook.com>
231
232         [Win] Implement methods to get and set inner html.
233         https://bugs.webkit.org/show_bug.cgi?id=151569
234
235         Reviewed by Alex Christensen.
236
237         * DOMHTMLClasses.cpp:
238         (DOMHTMLElement::innerHTML):
239         (DOMHTMLElement::setInnerHTML):
240         (DOMHTMLElement::innerText):
241
242 == Rolled over to ChangeLog-2015-11-21 ==