193ba58a6e97f152d76932005424b9000ed7dbab
[WebKit-https.git] / Source / WebKit / win / ChangeLog
1 2014-10-18  peavo@outlook.com  <peavo@outlook.com>
2
3         [WinCairo] Repaint issues with accelerated compositing.
4         https://bugs.webkit.org/show_bug.cgi?id=137850
5
6         Reviewed by Brent Fulgham.
7
8         There is sometimes missing content in accelerated compositing mode.
9         This is caused by not invalidating the non composited layer,
10         and not rendering when a flush did not complete.
11
12         * WebCoreSupport/AcceleratedCompositingContext.cpp:
13         (AcceleratedCompositingContext::flushAndRenderLayers): Also render when flush did not complete.
14         (AcceleratedCompositingContext::setNeedsDisplayInRect): Deleted.
15         * WebCoreSupport/AcceleratedCompositingContext.h: Ditto.
16         * WebView.cpp:
17         (WebView::addToDirtyRegion): Invalidate non composited layer.
18         (WebView::flushPendingGraphicsLayerChanges): Flush layers.
19
20 2014-10-17  Chris Dumez  <cdumez@apple.com>
21
22         Use is<>() / downcast<>() for RenderBox
23         https://bugs.webkit.org/show_bug.cgi?id=137804
24
25         Reviewed by Andreas Kling.
26
27         Use is<>() / downcast<>() for RenderBox and clean up the surrounding
28         code.
29
30         * WebView.cpp:
31         (WebView::gestureNotify):
32
33 2014-10-17  peavo@outlook.com  <peavo@outlook.com>
34
35         [WinCairo] Accelerated compositing is not implemented.
36         https://bugs.webkit.org/show_bug.cgi?id=137345
37
38         Reviewed by Brent Fulgham.
39
40         This patch is based on GTK, and the texture mapper graphics layer type.
41
42         * WebCoreSupport/AcceleratedCompositingContext.cpp: Added.
43         (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
44         (WebKit::getWebViewSize):
45         (WebKit::AcceleratedCompositingContext::initialize):
46         (WebKit::AcceleratedCompositingContext::~AcceleratedCompositingContext):
47         (WebKit::AcceleratedCompositingContext::stopAnyPendingLayerFlush):
48         (WebKit::AcceleratedCompositingContext::enabled):
49         (WebKit::AcceleratedCompositingContext::prepareForRendering):
50         (WebKit::AcceleratedCompositingContext::startedAnimation):
51         (WebKit::AcceleratedCompositingContext::compositeLayersToContext):
52         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
53         (WebKit::AcceleratedCompositingContext::setNonCompositedContentsNeedDisplay):
54         (WebKit::AcceleratedCompositingContext::setNeedsDisplayInRect):
55         (WebKit::AcceleratedCompositingContext::resizeRootLayer):
56         (WebKit::AcceleratedCompositingContext::scrollNonCompositedContents):
57         (WebKit::AcceleratedCompositingContext::scheduleLayerFlush):
58         (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
59         (WebKit::AcceleratedCompositingContext::flushPendingLayerChangesSoon):
60         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers):
61         (WebKit::AcceleratedCompositingContext::layerFlushTimerFired):
62         (WebKit::AcceleratedCompositingContext::notifyAnimationStarted):
63         (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
64         (WebKit::AcceleratedCompositingContext::paintContents):
65         * WebCoreSupport/AcceleratedCompositingContext.h: Added.
66         (WebKit::AcceleratedCompositingContext::LayerFlushTimer::LayerFlushTimer):
67         (WebKit::AcceleratedCompositingContext::LayerFlushTimer::fired):
68         * WebView.cpp:
69         (WebView::WebView):
70         (WebView::addToDirtyRegion):
71         (WebView::scrollBackingStore):
72         (WebView::sizeChanged):
73         (WebView::paint):
74         (WebView::setRootChildLayer):
75         (WebView::flushPendingGraphicsLayerChangesSoon):
76         (WebView::setAcceleratedCompositing):
77         * WebView.h:
78
79 2014-10-16  Commit Queue  <commit-queue@webkit.org>
80
81         Unreviewed, rolling out r174754.
82         https://bugs.webkit.org/show_bug.cgi?id=137789
83
84         Speculative fix for Windows test was ineffective. (Requested
85         by rfong on #webkit).
86
87         Reverted changeset:
88
89         "[Windows] Add some more logging to debug Windows test
90         issues."
91         http://trac.webkit.org/changeset/174754
92
93 2014-10-15  Roger Fong  <roger_fong@apple.com>
94
95         [Windows] Add some more logging to debug Windows test issues.
96
97         * WebActionPropertyBag.cpp:
98         (WebActionPropertyBag::Read):
99
100 2014-10-14  Roger Fong  <roger_fong@apple.com>
101
102         [Windows] Add some logging to debug random crashing when running layout tests on Windows.
103
104         * WebActionPropertyBag.cpp:
105         (WebActionPropertyBag::Read):
106
107 2014-10-13  Brent Fulgham  <bfulgham@apple.com>
108
109         [Win] Implement a page load profiling tool
110         https://bugs.webkit.org/show_bug.cgi?id=137673
111
112         Reviewed by Dean Jackson.
113
114         Add a new predicate (isMainFrame) to the IWebFrame interface so
115         that we can make decisions about a frames position in the page
116         load hierarchy in client programs.
117
118         * Interfaces/IWebFrame.idl: Added new isMainFrame
119         predicate to interface definition.
120         * WebFrame.cpp:
121         (WebFrame::isMainFrame): Added.
122         * WebFrame.h:
123
124 2014-10-13  Chris Dumez  <cdumez@apple.com>
125
126         Use is<>() / downcast<>() for PlatformCALayer subclasses
127         https://bugs.webkit.org/show_bug.cgi?id=137661
128
129         Reviewed by Simon Fraser.
130
131         Use is<>() / downcast<>() for PlatformCALayer subclasses and clean up 
132         the surrounding code.
133
134         * FullscreenVideoController.cpp:
135         (FullscreenVideoController::enterFullscreen):
136
137 2014-10-10  Chris Dumez  <cdumez@apple.com>
138
139         Use is<>() / downcast<>() for RenderElement
140         https://bugs.webkit.org/show_bug.cgi?id=137622
141
142         Reviewed by Benjamin Poulain.
143
144         Use is<>() / downcast<>() for RenderElement and clean up the
145         surrounding code.
146
147         * WebFrame.cpp:
148         (WebFrame::pauseAnimation):
149         (WebFrame::pauseTransition):
150
151 2014-10-09  Chris Dumez  <cdumez@apple.com>
152
153         Use is<>() / downcast<>() for Widget subclasses
154         https://bugs.webkit.org/show_bug.cgi?id=137549
155
156         Reviewed by Darin Adler.
157
158         Use is<>() / downcast<>() for Widget subclasses and clean up the
159         surrounding code.
160
161         * WebCoreSupport/EmbeddedWidget.cpp:
162         (EmbeddedWidget::frameRectsChanged):
163
164 2014-10-08  Brent Fulgham  <bfulgham@apple.com>
165
166         [Win] Resolve various static analyzer warnings in WebKit.
167         https://bugs.webkit.org/show_bug.cgi?id=137531
168
169         Reviewed by Dean Jackson.
170
171         * MarshallingHelpers.cpp:
172         (MarshallingHelpers::safeArrayToIntArray): Handle possible failure of
173         SafeArrayGetElement call.
174         (MarshallingHelpers::safeArrayToIUnknownArray): Ditto.
175         * MemoryStream.cpp:
176         (MemoryStream::CopyTo): Zero-initialize 'written' to silence warning. 
177         * WebCoreSupport/WebChromeClient.cpp:
178         (WebChromeClient::exceededDatabaseQuota): Handle possible failure of
179         GetModuleFileName.
180         * WebHistory.cpp:
181         (getDayBoundaries): Handle possible failure of TzSpecificLocalTimeToSystemTime
182         * WebView.cpp:
183         (WebView::shouldInitializeTrackPointHack): Zero initialize return value.
184         (WebView::dispatchDidReceiveIconFromWebFrame): Avoid possible DeleteObject
185         call on a null bitmap handle.
186         (WebView::standardUserAgentWithApplicationName): Get rid of spurious
187         pointer dereference.
188
189 2014-10-02  Tim Horton  <timothy_horton@apple.com>
190
191         Move PageOverlay[Controller] to WebCore
192         https://bugs.webkit.org/show_bug.cgi?id=137164
193         <rdar://problem/18508258>
194
195         Reviewed by Anders Carlsson.
196
197         * WebCoreSupport/WebChromeClient.cpp:
198         (WebChromeClient::attachViewOverlayGraphicsLayer):
199         * WebCoreSupport/WebChromeClient.h:
200         Add an empty ChromeClient override.
201
202 2014-10-01  Christophe Dumez  <cdumez@apple.com>
203
204         Have is<>(T*) function do a null check on the pointer argument
205         https://bugs.webkit.org/show_bug.cgi?id=137333
206
207         Reviewed by Gavin Barraclough.
208
209         Have is<>(T*) function do a null check on the argument instead of a
210         simple assertion. This makes sense for 2 reasons:
211         1. It is more consistent with downcast<>(T*), which will succeed even
212            if the argument is a nullptr.
213         2. It simplifies the code a bit as it gets rid of a lot of explicit
214            null checks.
215
216         * DOMCoreClasses.cpp:
217         (DOMElement::createInstance):
218         * DOMHTMLClasses.cpp:
219         (DOMHTMLDocument::body):
220         (DOMHTMLDocument::forms):
221         (DOMHTMLElement::idName):
222         (DOMHTMLElement::innerText):
223         (DOMHTMLElement::setInnerText):
224         (DOMHTMLFormElement::action):
225         (DOMHTMLFormElement::method):
226         (DOMHTMLOptionElement::text):
227         (DOMHTMLOptionElement::label):
228         (DOMHTMLInputElement::form):
229         (DOMHTMLInputElement::disabled):
230         (DOMHTMLInputElement::readOnly):
231         (DOMHTMLInputElement::setType):
232         (DOMHTMLInputElement::value):
233         (DOMHTMLInputElement::setValue):
234         (DOMHTMLInputElement::setValueForUser):
235         (DOMHTMLInputElement::select):
236         (DOMHTMLInputElement::setSelectionStart):
237         (DOMHTMLInputElement::selectionStart):
238         (DOMHTMLInputElement::setSelectionEnd):
239         (DOMHTMLInputElement::selectionEnd):
240         (DOMHTMLInputElement::isTextField):
241         (DOMHTMLInputElement::rectOnScreen):
242         (DOMHTMLInputElement::replaceCharactersInRange):
243         (DOMHTMLInputElement::selectedRange):
244         (DOMHTMLInputElement::setAutofilled):
245         (DOMHTMLInputElement::isAutofilled):
246         (DOMHTMLInputElement::isUserEdited):
247         (DOMHTMLTextAreaElement::form):
248         (DOMHTMLTextAreaElement::value):
249         (DOMHTMLTextAreaElement::setValue):
250         (DOMHTMLTextAreaElement::select):
251         (DOMHTMLTextAreaElement::isUserEdited):
252         * WebFrame.cpp:
253         (formElementFromDOMElement):
254         (inputElementFromDOMElement):
255         (WebFrame::elementWithName):
256
257 2014-09-30  Christophe Dumez  <cdumez@apple.com>
258
259         Generalize is<>() / downcast<>() support to all types
260         https://bugs.webkit.org/show_bug.cgi?id=137243
261
262         Reviewed by Benjamin Poulain.
263
264         Generalize is<>() / downcast<>() support to all types, not just Nodes.
265
266         * DOMCoreClasses.cpp:
267         (DOMElement::createInstance):
268
269 2014-09-30  Chris Dumez  <cdumez@apple.com>
270
271         Use is<>() / downcast<>() for Element
272         https://bugs.webkit.org/show_bug.cgi?id=137241
273
274         Reviewed by Andreas Kling.
275
276         Use is<>() / downcast<>() for Element instead of isElementNode() /
277         toElement().
278
279         * DOMEventsClasses.cpp:
280         (DOMMouseEvent::toElement):
281         * DOMEventsClasses.h:
282
283 2014-09-29  Christophe Dumez  <cdumez@apple.com>
284
285         Make is<>() / downcast<>() work for HTMLDocument and its subclasses
286         https://bugs.webkit.org/show_bug.cgi?id=137169
287
288         Reviewed by Darin Adler.
289
290         Use is<>() / downcast<>() for HTMLDocument and its subclasses.
291
292         * DOMHTMLClasses.cpp:
293         (DOMHTMLDocument::URL):
294         (DOMHTMLDocument::body):
295         (DOMHTMLDocument::forms):
296
297 2014-09-28  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
298
299         Use std::unique_ptr for ContextMenuController
300         https://bugs.webkit.org/show_bug.cgi?id=137178
301
302         Reviewed by Darin Adler.
303
304         Switch to using std::unique_ptr instead of OwnPtr and PassOwnPtr
305         for ContextMenuController class. Inherited class is changed by this use as well.
306
307         * WebCoreSupport/WebContextMenuClient.cpp:
308         (WebContextMenuClient::customizeMenu):
309         * WebCoreSupport/WebContextMenuClient.h:
310
311 2014-09-26  Christophe Dumez  <cdumez@apple.com>
312
313         Stop using legacy NODE_TYPE_CASTS() macro for HTML Elements
314         https://bugs.webkit.org/show_bug.cgi?id=137137
315
316         Reviewed by Benjamin Poulain.
317
318         Use is<>() / downcast<>() where appropriate.
319
320         * DOMHTMLClasses.cpp:
321         (DOMHTMLElement::idName):
322         (DOMHTMLElement::innerText):
323         (DOMHTMLElement::setInnerText):
324
325 2014-09-25  Brent Fulgham  <bfulgham@apple.com>
326
327         [Win] Debug builds of TestWebKitAPI are crashing.
328         https://bugs.webkit.org/show_bug.cgi?id=133553
329
330         Reviewed by Dean Jackson.
331
332         Switch from global static HashTable to a NeverDestroyed object.
333         Modify all accessors of the global static to use the new
334         NeverDestroyed accessor method.
335
336         * AccessibleBase.cpp:
337         (AccessibleBase::AccessibleBase):
338         (AccessibleBase::~AccessibleBase):
339         * CFDictionaryPropertyBag.cpp:
340         (CFDictionaryPropertyBag::CFDictionaryPropertyBag):
341         (CFDictionaryPropertyBag::~CFDictionaryPropertyBag):
342         * DefaultDownloadDelegate.cpp:
343         (DefaultDownloadDelegate::DefaultDownloadDelegate):
344         (DefaultDownloadDelegate::~DefaultDownloadDelegate):
345         * DefaultPolicyDelegate.cpp:
346         (DefaultPolicyDelegate::DefaultPolicyDelegate):
347         (DefaultPolicyDelegate::~DefaultPolicyDelegate):
348         * MemoryStream.cpp:
349         (MemoryStream::MemoryStream):
350         (MemoryStream::~MemoryStream):
351         * WebActionPropertyBag.cpp:
352         (WebActionPropertyBag::WebActionPropertyBag):
353         (WebActionPropertyBag::~WebActionPropertyBag):
354         * WebArchive.cpp:
355         (WebArchive::WebArchive):
356         (WebArchive::~WebArchive):
357         * WebBackForwardList.cpp:
358         (WebBackForwardList::WebBackForwardList):
359         (WebBackForwardList::~WebBackForwardList):
360         * WebCache.cpp:
361         (WebCache::WebCache):
362         (WebCache::~WebCache):
363         * WebCookieManager.cpp:
364         (WebCookieManager::WebCookieManager):
365         (WebCookieManager::~WebCookieManager):
366         * WebCoreStatistics.cpp:
367         (WebCoreStatistics::WebCoreStatistics):
368         (WebCoreStatistics::~WebCoreStatistics):
369         * WebDataSource.cpp:
370         (WebDataSource::~WebDataSource):
371         * WebDatabaseManager.cpp:
372         (WebDatabaseManager::WebDatabaseManager):
373         (WebDatabaseManager::~WebDatabaseManager):
374         * WebDocumentLoader.cpp:
375         (WebDocumentLoader::WebDocumentLoader):
376         (WebDocumentLoader::~WebDocumentLoader):
377         * WebDownload.cpp:
378         (WebDownload::WebDownload):
379         (WebDownload::~WebDownload):
380         * WebDropSource.cpp:
381         (WebDropSource::WebDropSource):
382         (WebDropSource::~WebDropSource):
383         * WebElementPropertyBag.cpp:
384         (WebElementPropertyBag::WebElementPropertyBag):
385         (WebElementPropertyBag::~WebElementPropertyBag):
386         * WebError.cpp:
387         (WebError::WebError):
388         (WebError::~WebError):
389         * WebFrame.cpp:
390         (WebFrame::WebFrame):
391         (WebFrame::~WebFrame):
392         * WebFramePolicyListener.cpp:
393         (WebFramePolicyListener::WebFramePolicyListener):
394         (WebFramePolicyListener::~WebFramePolicyListener):
395         * WebGeolocationPolicyListener.cpp:
396         (WebGeolocationPolicyListener::WebGeolocationPolicyListener):
397         (WebGeolocationPolicyListener::~WebGeolocationPolicyListener):
398         * WebGeolocationPosition.cpp:
399         (WebGeolocationPosition::WebGeolocationPosition):
400         (WebGeolocationPosition::~WebGeolocationPosition):
401         * WebHTMLRepresentation.cpp:
402         (WebHTMLRepresentation::WebHTMLRepresentation):
403         (WebHTMLRepresentation::~WebHTMLRepresentation):
404         * WebHistory.cpp:
405         (WebHistory::WebHistory):
406         (WebHistory::~WebHistory):
407         * WebHistoryItem.cpp:
408         (WebHistoryItem::WebHistoryItem):
409         (WebHistoryItem::~WebHistoryItem):
410         * WebIconDatabase.cpp:
411         (WebIconDatabase::WebIconDatabase):
412         (WebIconDatabase::~WebIconDatabase):
413         * WebInspector.cpp:
414         (WebInspector::WebInspector):
415         (WebInspector::~WebInspector):
416         * WebJavaScriptCollector.cpp:
417         (WebJavaScriptCollector::WebJavaScriptCollector):
418         (WebJavaScriptCollector::~WebJavaScriptCollector):
419         * WebKitClassFactory.cpp:
420         (WebKitClassFactory::WebKitClassFactory):
421         (WebKitClassFactory::~WebKitClassFactory):
422         * WebKitDLL.cpp: Also switch to NeverDestroyed HashTable for
423         the global class name count.
424         * WebKitDLL.h:
425         * WebKitStatistics.cpp:
426         (WebKitStatistics::WebKitStatistics):
427         (WebKitStatistics::~WebKitStatistics):
428         (WebKitStatistics::comClassNameCounts):
429         * WebMutableURLRequest.cpp:
430         (WebMutableURLRequest::WebMutableURLRequest):
431         (WebMutableURLRequest::~WebMutableURLRequest):
432         * WebNavigationData.cpp:
433         (WebNavigationData::WebNavigationData):
434         (WebNavigationData::~WebNavigationData):
435         * WebNotification.cpp:
436         (WebNotification::WebNotification):
437         (WebNotification::~WebNotification):
438         * WebNotificationCenter.cpp:
439         (WebNotificationCenter::WebNotificationCenter):
440         (WebNotificationCenter::~WebNotificationCenter):
441         * WebPreferences.cpp:
442         (webPreferencesInstances):
443         (WebPreferences::WebPreferences):
444         (WebPreferences::~WebPreferences):
445         (WebPreferences::getInstanceForIdentifier):
446         (WebPreferences::setInstance):
447         (WebPreferences::removeReferenceForIdentifier):
448         * WebResource.cpp:
449         (WebResource::WebResource):
450         (WebResource::~WebResource):
451         * WebScriptObject.cpp:
452         (WebScriptObject::WebScriptObject):
453         (WebScriptObject::~WebScriptObject):
454         * WebScriptWorld.cpp:
455         (WebScriptWorld::WebScriptWorld):
456         (WebScriptWorld::~WebScriptWorld):
457         * WebSecurityOrigin.cpp:
458         (WebSecurityOrigin::WebSecurityOrigin):
459         (WebSecurityOrigin::~WebSecurityOrigin):
460         * WebSerializedJSValue.cpp:
461         (WebSerializedJSValue::WebSerializedJSValue):
462         (WebSerializedJSValue::~WebSerializedJSValue):
463         * WebTextRenderer.cpp:
464         (WebTextRenderer::WebTextRenderer):
465         (WebTextRenderer::~WebTextRenderer):
466         * WebURLAuthenticationChallenge.cpp:
467         (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge):
468         (WebURLAuthenticationChallenge::~WebURLAuthenticationChallenge):
469         * WebURLAuthenticationChallengeSender.cpp:
470         (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender):
471         (WebURLAuthenticationChallengeSender::~WebURLAuthenticationChallengeSender):
472         * WebURLCredential.cpp:
473         (WebURLCredential::WebURLCredential):
474         (WebURLCredential::~WebURLCredential):
475         * WebURLProtectionSpace.cpp:
476         (WebURLProtectionSpace::WebURLProtectionSpace):
477         (WebURLProtectionSpace::~WebURLProtectionSpace):
478         * WebURLResponse.cpp:
479         (:m_refCount):
480         (WebURLResponse::~WebURLResponse):
481         * WebUserContentURLPattern.cpp:
482         (WebUserContentURLPattern::WebUserContentURLPattern):
483         (WebUserContentURLPattern::~WebUserContentURLPattern):
484         * WebView.cpp:
485         (pendingDeleteBackingStoreSet): Switch from a global static
486         value to a NeverDestroyed object wrapped by an accessor function.
487         (WebView::WebView): Ditto.
488         (WebView::~WebView): Ditto.
489         (WebView::deleteBackingStore): Ditto.
490         (WebView::deleteBackingStoreSoon): Ditto,
491         (WebView::cancelDeleteBackingStoreSoon): Ditto.
492         * WebWorkersPrivate.cpp: Switch from a global static value for
493         the preferences objects t a NeverDestroyed container.
494         (WebWorkersPrivate::WebWorkersPrivate): Ditto.
495         (WebWorkersPrivate::~WebWorkersPrivate): Ditto.
496
497 2014-09-25  Christophe Dumez  <cdumez@apple.com>
498
499         Use is<HTML*Element>() instead of isHTML*Element() - Part 2
500         https://bugs.webkit.org/show_bug.cgi?id=137103
501
502         Reviewed by Benjamin Poulain.
503
504         Use is<HTML*Element>() instead of isHTML*Element().
505
506         * DOMCoreClasses.cpp:
507         (DOMElement::createInstance):
508         * DOMHTMLClasses.cpp:
509         (DOMHTMLFormElement::action):
510         (DOMHTMLFormElement::method):
511         * WebFrame.cpp:
512         (formElementFromDOMElement):
513
514 2014-09-24  Christophe Dumez  <cdumez@apple.com>
515
516         Add initial is<>() / downcast<>() support for any type of Nodes
517         https://bugs.webkit.org/show_bug.cgi?id=137056
518
519         Reviewed by Benjamin Poulain.
520
521         Use is<HTMLFormControlElement>() / downcast<HTMLFormControlElement>()
522         instead of isFormControlElement() / toHTMLFormControlElement().
523
524         * WebFrame.cpp:
525         (WebFrame::elementWithName):
526
527 2014-09-24  Christophe Dumez  <cdumez@apple.com>
528
529         Unreviewed build fix after r173932.
530
531         Unreviewed build fix after r173932 for Windows. Use WebCore:: namespace
532         explicitely in DOMCoreClasses.cpp.
533
534         * DOMCoreClasses.cpp:
535         (DOMElement::createInstance):
536
537 2014-09-24  Christophe Dumez  <cdumez@apple.com>
538
539         Use is<HTML*Element>() instead of isHTML*Element() - Part 1
540         https://bugs.webkit.org/show_bug.cgi?id=137068
541
542         Reviewed by Ryosuke Niwa.
543
544         Start using is<HTML*Element>() instead of isHTML*Element().
545         Remaining usages will be updated in a follow-up patch to
546         reduce the size of the change.
547
548         * DOMCoreClasses.cpp:
549         (DOMElement::createInstance):
550         * DOMHTMLClasses.cpp:
551         (DOMHTMLOptionElement::text):
552         (DOMHTMLOptionElement::label):
553         (DOMHTMLInputElement::form):
554         (DOMHTMLInputElement::disabled):
555         (DOMHTMLInputElement::readOnly):
556         (DOMHTMLInputElement::setType):
557         (DOMHTMLInputElement::value):
558         (DOMHTMLInputElement::setValue):
559         (DOMHTMLInputElement::setValueForUser):
560         (DOMHTMLInputElement::select):
561         (DOMHTMLInputElement::setSelectionStart):
562         (DOMHTMLInputElement::selectionStart):
563         (DOMHTMLInputElement::setSelectionEnd):
564         (DOMHTMLInputElement::selectionEnd):
565         (DOMHTMLInputElement::isTextField):
566         (DOMHTMLInputElement::rectOnScreen):
567         (DOMHTMLInputElement::replaceCharactersInRange):
568         (DOMHTMLInputElement::selectedRange):
569         (DOMHTMLInputElement::setAutofilled):
570         (DOMHTMLInputElement::isAutofilled):
571         (DOMHTMLInputElement::isUserEdited):
572         (DOMHTMLTextAreaElement::form):
573         (DOMHTMLTextAreaElement::value):
574         (DOMHTMLTextAreaElement::setValue):
575         (DOMHTMLTextAreaElement::select):
576         (DOMHTMLTextAreaElement::isUserEdited):
577         * WebFrame.cpp:
578         (inputElementFromDOMElement):
579
580 2014-09-21  Timothy Hatcher  <timothy@apple.com>
581
582         Make the Web Inspector use a separate web process.
583
584         https://bugs.webkit.org/show_bug.cgi?id=135120
585
586         Reviewed by Anders Carlsson.
587
588         * WebCoreSupport/WebInspectorClient.cpp:
589         (WebInspectorClient::openInspectorFrontend):
590         * WebCoreSupport/WebInspectorClient.h:
591         (WebInspectorClient::frontendClient):
592         Own WebInspectorFrontendClient instead of moving it.
593
594 2014-09-23  Christophe Dumez  <cdumez@apple.com>
595
596         Unreviewed build fix after r173893.
597
598         Partial revert of r173893 to fix debug builds.
599
600         * DOMHTMLClasses.cpp:
601         (DOMHTMLDocument::URL):
602         (DOMHTMLDocument::body):
603         (DOMHTMLDocument::forms):
604
605 2014-09-23  Chris Dumez  <cdumez@apple.com>
606
607         Use downcast<HTML*Element>() instead of toHTML*Element()
608         https://bugs.webkit.org/show_bug.cgi?id=137007
609
610         Reviewed by Benjamin Poulain.
611
612         Use downcast<HTML*Element>() instead of toHTML*Element().
613
614         * DOMHTMLClasses.cpp:
615         (DOMHTMLDocument::URL):
616         (DOMHTMLDocument::body):
617         (DOMHTMLDocument::forms):
618         (DOMHTMLFormElement::action):
619         (DOMHTMLFormElement::method):
620         (DOMHTMLSelectElement::options):
621         (DOMHTMLSelectElement::activateItemAtIndex):
622         (DOMHTMLOptionElement::text):
623         (DOMHTMLOptionElement::label):
624         (DOMHTMLInputElement::form):
625         (DOMHTMLInputElement::disabled):
626         (DOMHTMLInputElement::readOnly):
627         (DOMHTMLInputElement::setType):
628         (DOMHTMLInputElement::value):
629         (DOMHTMLInputElement::setValue):
630         (DOMHTMLInputElement::setValueForUser):
631         (DOMHTMLInputElement::select):
632         (DOMHTMLInputElement::setSelectionStart):
633         (DOMHTMLInputElement::selectionStart):
634         (DOMHTMLInputElement::setSelectionEnd):
635         (DOMHTMLInputElement::selectionEnd):
636         (DOMHTMLInputElement::isTextField):
637         (DOMHTMLInputElement::replaceCharactersInRange):
638         (DOMHTMLInputElement::selectedRange):
639         (DOMHTMLInputElement::setAutofilled):
640         (DOMHTMLInputElement::isAutofilled):
641         (DOMHTMLInputElement::isUserEdited):
642         (DOMHTMLTextAreaElement::form):
643         (DOMHTMLTextAreaElement::value):
644         (DOMHTMLTextAreaElement::setValue):
645         (DOMHTMLTextAreaElement::select):
646         (DOMHTMLTextAreaElement::isUserEdited):
647         (DOMHTMLIFrameElement::contentFrame):
648         * WebFrame.cpp:
649         (formElementFromDOMElement):
650         (inputElementFromDOMElement):
651
652 2014-09-21  Chris Dumez  <cdumez@apple.com>
653
654         Generate Element casting helper functions
655         https://bugs.webkit.org/show_bug.cgi?id=136839
656
657         Reviewed by Darin Adler.
658
659         Use JSXXX::toWrapped() instead of toXXX() function.
660
661         * WebView.cpp:
662         (WebView::elementFromJS):
663
664 2014-09-06  Brian J. Burg  <burg@cs.washington.edu>
665
666         Web Inspector: convert DockSide to an enum class
667         https://bugs.webkit.org/show_bug.cgi?id=136601
668
669         Reviewed by Timothy Hatcher.
670
671         * WebCoreSupport/WebInspectorClient.cpp:
672         (WebInspectorFrontendClient::frontendLoaded):
673
674 2014-09-04  Antti Koivisto  <antti@apple.com>
675
676         Try to fix windows build.
677
678         * WebURLResponse.cpp:
679         (WebURLResponse::createInstance):
680         (WebURLResponse::initWithURL):
681
682 2014-09-02  Brian J. Burg  <burg@cs.washington.edu>
683
684         Web Inspector: fix prefixes for subclasses of JSC::ConsoleClient
685         https://bugs.webkit.org/show_bug.cgi?id=136476
686
687         Reviewed by Timothy Hatcher.
688
689         * WebCoreStatistics.cpp:
690         (WebCoreStatistics::shouldPrintExceptions):
691         (WebCoreStatistics::setShouldPrintExceptions):
692
693 2014-09-02  Maciej Stachowiak  <mjs@apple.com>
694
695         Clean up naming for and slightly refactor legacy video fullscreen support
696         https://bugs.webkit.org/show_bug.cgi?id=136446
697
698         Reviewed by Jer Noble.
699
700         Key changes:
701         supportsFullscreenForNode(Node*) --> supportsVideoFullscreen()
702         enterFullscreenForNode(Node*) --> enterVideoFullscreenForVideoElement(HTMLVideoElement*)
703         exitFullscreenForNode(Node*) --> exitVideoFullscreen()
704         
705         The old versions had unnecessary parameters, did not clearly distinguish their purpose
706         from enterFullscreenForElement and friends, and wrongly claimed generality to all Nodes.
707         Also changed many other places to use HTMLVideoElement* instead of Node* or 
708         HTMLMediaElement* when they were in fact only used for video elements and would only
709         work for such.
710
711         * WebCoreSupport/WebChromeClient.cpp:
712         (WebChromeClient::supportsVideoFullscreen): Adjust for the
713         main refactoring.
714         (WebChromeClient::enterVideoFullscreenForVideoElement): ditto
715         (WebChromeClient::exitVideoFullscreen): ditto
716         * WebCoreSupport/WebChromeClient.h:
717         * WebView.cpp:
718         (WebView::enterVideoFullscreenForVideoElement): Adjust for the 
719         main refactoring.
720         (WebView::exitVideoFullscreen): ditto.
721         * WebView.h:
722         * FullscreenVideoController.cpp: Use video elements, not media elements throughout
723         (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
724         (FullscreenVideoController::setVideoElement):
725         (FullscreenVideoController::enterFullscreen):
726         (FullscreenVideoController::exitFullscreen):
727         (FullscreenVideoController::canPlay):
728         (FullscreenVideoController::play):
729         (FullscreenVideoController::pause):
730         (FullscreenVideoController::volume):
731         (FullscreenVideoController::setVolume):
732         (FullscreenVideoController::currentTime):
733         (FullscreenVideoController::setCurrentTime):
734         (FullscreenVideoController::duration):
735         (FullscreenVideoController::beginScrubbing):
736         (FullscreenVideoController::endScrubbing):
737         (FullscreenVideoController::onChar):
738         (FullscreenVideoController::onKeyDown):
739         (FullscreenVideoController::onMouseUp):
740         * FullscreenVideoController.h:
741         (FullscreenVideoController::videoElement):
742
743 2014-09-03  Brent Fulgham  <bfulgham@apple.com>
744
745         Unreviewed build fix after r173200.
746
747         * WebView.cpp:
748         (WebView::setCacheModel): Use appropriate types for cache sizes to be
749         64-bit clean on CFNetwork compile.
750
751 2014-09-02  peavo@outlook.com  <peavo@outlook.com>
752
753         [WinCairo] Memory cache capacity is not set.
754         https://bugs.webkit.org/show_bug.cgi?id=136432
755
756         Reviewed by Alex Christensen.
757
758         Reuse code from AppleWin to set memory and disk cache capacity.
759
760         * WebKitSystemBits.cpp:
761         (WebVolumeFreeSize):
762         * WebKitSystemBits.h:
763         * WebView.cpp:
764         (WebView::setCacheModel):
765
766 2014-08-26  Brent Fulgham  <bfulgham@apple.com>
767
768         [Win] WebKit IDL incorrectly passes HWND as OLE_HANDLE
769         https://bugs.webkit.org/show_bug.cgi?id=136258
770         <rdar://problem/18134138>
771
772         Reviewed by Tim Horton.
773
774         Avoid 32/64-bit truncation by preventing 64-bit HWND (and other)
775         values from passing through the 32-bit OLE_HANDLE data type.
776
777         * Interfaces/IWebDocument.idl:
778         * Interfaces/IWebEmbeddedView.idl:
779         * Interfaces/IWebErrorPrivate.idl:
780         * Interfaces/IWebFrameLoadDelegate.idl:
781         * Interfaces/IWebFramePrivate.idl:
782         * Interfaces/IWebHistoryItem.idl:
783         * Interfaces/IWebIconDatabase.idl:
784         * Interfaces/IWebMutableURLRequestPrivate.idl:
785         * Interfaces/IWebUIDelegate.idl:
786         * Interfaces/IWebUIDelegatePrivate.idl:
787         * Interfaces/IWebURLResponsePrivate.idl:
788         * Interfaces/IWebView.idl:
789         * Interfaces/IWebViewPrivate.idl:
790         * WebCoreSupport/EmbeddedWidget.cpp:
791         (EmbeddedWidget::createWindow):
792         * WebCoreSupport/WebChromeClient.cpp:
793         (WebChromeClient::rootViewToScreen):
794         (WebChromeClient::screenToRootView):
795         (WebChromeClient::platformPageClient):
796         (WebChromeClient::runOpenPanel):
797         (WebChromeClient::setCursor):
798         * WebCoreSupport/WebContextMenuClient.cpp:
799         (WebContextMenuClient::customizeMenu):
800         * WebCoreSupport/WebFrameLoaderClient.cpp:
801         (WebFrameLoaderClient::createPlugin):
802         * WebCoreSupport/WebInspectorClient.cpp:
803         (WebInspectorClient::openInspectorFrontend):
804         (WebInspectorClient::highlight):
805         (WebInspectorFrontendClient::setAttachedWindowHeight):
806         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
807         (WebInspectorFrontendClient::showWindowWithoutNotifications):
808         * WebCoreSupport/WebInspectorClient.h:
809         * WebCoreSupport/WebInspectorDelegate.cpp:
810         * WebCoreSupport/WebInspectorDelegate.h:
811         (WebInspectorDelegate::webViewFirstResponder):
812         (WebInspectorDelegate::makeFirstResponder):
813         (WebInspectorDelegate::contextMenuItemsForElement):
814         (WebInspectorDelegate::trackCustomPopupMenu):
815         (WebInspectorDelegate::addCustomMenuDrawingData):
816         (WebInspectorDelegate::cleanUpCustomMenuDrawingData):
817         (WebInspectorDelegate::drawHeaderInRect):
818         (WebInspectorDelegate::drawFooterInRect):
819         * WebDropSource.cpp:
820         (generateMouseEvent):
821         (WebDropSource::GiveFeedback):
822         * WebError.cpp:
823         (WebError::sslPeerCertificate):
824         * WebError.h:
825         * WebFrame.cpp:
826         (WebFrame::paintDocumentRectToContext):
827         (WebFrame::paintScrollViewRectToContextAtPoint):
828         (WebFrame::createSubframeWithOwnerElement):
829         (WebFrame::initWithWebView):
830         (WebFrame::drawHeader):
831         (WebFrame::drawFooter):
832         * WebFrame.h:
833         * WebHistoryItem.cpp:
834         (WebHistoryItem::icon):
835         * WebHistoryItem.h:
836         * WebIconDatabase.cpp:
837         (WebIconDatabase::iconForURL):
838         (WebIconDatabase::defaultIconWithSize):
839         * WebIconDatabase.h:
840         * WebMutableURLRequest.cpp:
841         (WebMutableURLRequest::setClientCertificate):
842         * WebMutableURLRequest.h:
843         * WebNodeHighlight.cpp:
844         (WebNodeHighlight::WebNodeHighlight):
845         * WebURLResponse.cpp:
846         (WebURLResponse::sslPeerCertificate):
847         * WebURLResponse.h:
848         * WebView.cpp:
849         (WebView::paintIntoBackingStore):
850         (WebView::handleContextMenuEvent):
851         (WebView::onInitMenuPopup):
852         (WebView::onUninitMenuPopup):
853         (WebView::WebViewWndProc):
854         (WebView::dispatchDidReceiveIconFromWebFrame):
855         (WebView::setHostWindow):
856         (WebView::hostWindow):
857         (WebView::generateSelectionImage):
858         (WebView::mainFrameIcon):
859         (WebView::viewWindow):
860         (WebView::paintDocumentRectToContext):
861         (WebView::paintScrollViewRectToContextAtPoint):
862         (WebView::backingStore):
863         (WebView::fullScreenClientSetParentWindow):
864         * WebView.h:
865
866 2014-08-21  Alex Christensen  <achristensen@webkit.org>
867
868         [Win] Unreviewed build fix after r172849.
869
870         * WebKitPrefix.h:
871         Defined WEBCORE_EXPORT.
872
873 2014-08-19  Pratik Solanki  <psolanki@apple.com>
874
875         Remove PurgeableBuffer since it is not very useful any more
876         https://bugs.webkit.org/show_bug.cgi?id=135939
877
878         Reviewed by Andreas Kling.
879
880         * WebCache.cpp:
881         (WebCache::statistics):
882
883 2014-08-18  Commit Queue  <commit-queue@webkit.org>
884
885         Unreviewed, rolling out r172736.
886         https://bugs.webkit.org/show_bug.cgi?id=136060
887
888         Caused 14% PLT regressions (Requested by rniwa on #webkit).
889
890         Reverted changeset:
891
892         "Remove PurgeableBuffer since it is not very useful any more"
893         https://bugs.webkit.org/show_bug.cgi?id=135939
894         http://trac.webkit.org/changeset/172736
895
896 2014-08-18  Pratik Solanki  <psolanki@apple.com>
897
898         Remove PurgeableBuffer since it is not very useful any more
899         https://bugs.webkit.org/show_bug.cgi?id=135939
900
901         Reviewed by Geoffrey Garen.
902
903         * WebCache.cpp:
904         (WebCache::statistics):
905
906 2014-07-27  Pratik Solanki  <psolanki@apple.com>
907
908         Remove unused preference keys
909         https://bugs.webkit.org/show_bug.cgi?id=135280
910
911         Reviewed by Darin Adler.
912
913         * WebPreferenceKeysPrivate.h:
914
915 2014-07-22  Brent Fulgham  <bfulgham@apple.com>
916
917         [Win] Build fix after r171370.
918
919         * WebCoreSupport/WebEditorClient.h: Add override
920         for new 'overflowScrollPositionChanged'.
921
922 2014-07-03  Daniel Bates  <dabates@apple.com>
923
924         Add WTF::move()
925         https://bugs.webkit.org/show_bug.cgi?id=134500
926
927         Rubber-stamped by Anders Carlsson.
928
929         Substitute WTF::move() for std::move().
930
931         * WebCoreSupport/WebInspectorClient.cpp:
932         (WebInspectorClient::openInspectorFrontend):
933         (WebInspectorFrontendClient::WebInspectorFrontendClient):
934         * WebHistory.cpp:
935         (createUserInfoFromArray):
936         * WebHistoryItem.cpp:
937         (WebHistoryItem::initFromDictionaryRepresentation):
938         * WebView.cpp:
939         (WebView::addToDirtyRegion):
940         (WebView::scrollBackingStore):
941
942 2014-06-26  Brady Eidson  <beidson@apple.com>
943
944         Remove use of PlatformStrategies for Gamepad API.
945         https://bugs.webkit.org/show_bug.cgi?id=134348
946
947         Reviewed by Dean Jackson.
948
949         * WebCoreSupport/WebPlatformStrategies.cpp:
950         (WebPlatformStrategies::createGamepadStrategy): Deleted.
951         * WebCoreSupport/WebPlatformStrategies.h:
952
953 2014-06-25  Brent Fulgham  <bfulgham@apple.com>
954
955         [Win] Expose Cache Information to WinLauncher
956         https://bugs.webkit.org/show_bug.cgi?id=134318
957
958         Reviewed by Dean Jackson.
959
960         * Interfaces/IWebCoreStatistics.idl: Add missing
961         API added to WebKit since this was last updated.
962         * WebCache.cpp:
963         (WebCache::statistics): Add missing elements for
964         purgable and purged data.
965         * WebCoreStatistics.cpp: Provide implementaions.
966         * WebCoreStatistics.h: Ditto.
967
968 2014-06-25  Brady Eidson  <beidson@apple.com>
969
970         Add new platform gamepad abstractions
971         https://bugs.webkit.org/show_bug.cgi?id=134325
972
973         Reviewed by Dean Jackson.
974
975         * WebCoreSupport/WebPlatformStrategies.cpp:
976         (WebPlatformStrategies::createGamepadStrategy):
977         * WebCoreSupport/WebPlatformStrategies.h:
978
979 2014-06-19  Anders Carlsson  <andersca@apple.com>
980
981         Try to fix Windows build.
982
983         * WebFrame.h:
984
985 2014-06-18  Anders Carlsson  <andersca@apple.com>
986
987         Make FrameLoadType a strongly typed enum
988         https://bugs.webkit.org/show_bug.cgi?id=134047
989
990         Reviewed by Andreas Kling.
991
992         * WebView.cpp:
993         (WebView::goToBackForwardItem):
994         (WebView::loadBackForwardListFromOtherView):
995
996 2014-06-18  Anders Carlsson  <andersca@apple.com>
997
998         Remove IWebFramePrivate::loadType
999         https://bugs.webkit.org/show_bug.cgi?id=134044
1000
1001         Reviewed by Tim Horton.
1002
1003         * Interfaces/IWebFramePrivate.idl:
1004         * WebFrame.cpp:
1005         (WebFrame::loadType): Deleted.
1006         (WebFrame::unused2): Deleted.
1007         * WebFrame.h:
1008
1009 2014-06-12  Brent Fulgham  <bfulgham@apple.com>
1010
1011         [Win] Avoid crashes in code that converted CFDictionaries to HashMap
1012         https://bugs.webkit.org/show_bug.cgi?id=133813
1013         <rdar://problem/17291647>
1014
1015         Reviewed by Tim Horton.
1016
1017         * WebHistory.cpp: Add empty string checks to avoid crashes in
1018         hash function.
1019         (WebHistory::removeItem):
1020         (WebHistory::addItem):
1021         (WebHistory::visitedURL):
1022         (WebHistory::itemForURL):
1023         (WebHistory::removeItemForURLString):
1024         (WebHistory::itemForURLString):
1025         * WebPreferences.cpp: Ditto.
1026         (WebPreferences::getInstanceForIdentifier):
1027         (WebPreferences::setInstance):
1028         (WebPreferences::removeReferenceForIdentifier):
1029         * WebView.cpp: Ditto. Also convert OwnPtr uses in this file
1030         to std::unique_ptr.
1031         (WebView::close):
1032         (WebView::handleMouseEvent):
1033         (WebView::registerEmbeddedViewMIMEType):
1034         (WebView::shouldUseEmbeddedView):
1035         (WebView::enterFullscreenForNode):
1036         (WebView::fullScreenController):
1037         * WebView.h:
1038
1039 2014-05-07  Hyowon Kim  <hw1008.kim@samsung.com>
1040
1041         GraphicsLayer::client() should return a reference.
1042         https://bugs.webkit.org/show_bug.cgi?id=126372
1043
1044         Reviewed by Simon Fraser.
1045
1046         GraphicsLayers always have a GraphicsLayerClient attached,
1047         so make client() a reference and remove some unnecessary branches.
1048         The author of the changes in the mac port is Andreas Kling <akling@apple.com>.
1049
1050         * WebView.cpp:
1051         (WebView::setAcceleratedCompositing):
1052
1053 2014-04-30  Alexey Proskuryakov  <ap@apple.com>
1054
1055         Roll out fix for https://bugs.webkit.org/show_bug.cgi?id=131637:
1056         Clean up unnecessary methods in the BackForwardClient interface
1057
1058         It broke a regression test and an API test.
1059
1060         * WebBackForwardList.cpp:
1061         (WebBackForwardList::WebBackForwardList):
1062         (WebBackForwardList::~WebBackForwardList):
1063         (WebBackForwardList::createInstance):
1064         * WebBackForwardList.h:
1065         * WebView.cpp:
1066         (WebView::backForwardList):
1067         (WebView::canGoBack):
1068         (WebView::canGoForward):
1069         (WebView::loadBackForwardListFromOtherView):
1070
1071 2014-04-30  Brian J. Burg  <burg@cs.washington.edu>
1072
1073         Clean up unnecessary methods in the BackForwardClient interface
1074         https://bugs.webkit.org/show_bug.cgi?id=131637
1075
1076         Reviewed by Andreas Kling.
1077
1078         Remove uses of reference counting for BackForwardList.
1079         Use BackForwardController instead of BackForwardClient where possible.
1080
1081         * WebBackForwardList.cpp:
1082         (WebBackForwardList::WebBackForwardList):
1083         (WebBackForwardList::~WebBackForwardList):
1084         (WebBackForwardList::createInstance):
1085         * WebBackForwardList.h:
1086         * WebView.cpp:
1087         (WebView::backForwardList):
1088         (WebView::canGoBack):
1089         (WebView::canGoForward):
1090         (WebView::loadBackForwardListFromOtherView):
1091
1092 2014-04-24  Myles C. Maxfield  <mmaxfield@apple.com>
1093
1094         FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
1095         https://bugs.webkit.org/show_bug.cgi?id=132110
1096
1097         Reviewed by Tim Horton.
1098
1099         Updates callers to use '.' instead of '->'.
1100
1101         No new tests are necessary because there should be no behavior change.
1102
1103         * WebCoreStatistics.cpp:
1104         (WebCoreStatistics::cachedFontDataCount):
1105         (WebCoreStatistics::cachedFontDataInactiveCount):
1106         (WebCoreStatistics::purgeInactiveFontData):
1107
1108 2014-04-22  Alex Christensen  <achristensen@webkit.org>
1109
1110         Begin implementation of video using Media Foundation.
1111         https://bugs.webkit.org/show_bug.cgi?id=131830
1112
1113         Reviewed by Brent Fulgham.
1114
1115         * FullscreenVideoController.cpp:
1116         * WebView.cpp:
1117         Added new USE(MEDIA_FOUNDATION) flag to prevent using the unsupported fullscreen api.
1118
1119 2014-04-09  Alexey Proskuryakov  <ap@apple.com>
1120
1121         Eliminate DragSession structure
1122         https://bugs.webkit.org/show_bug.cgi?id=131465
1123
1124         Reviewed by Benjamin Poulain.
1125
1126         * WebView.cpp:
1127         (WebView::DragEnter):
1128         (WebView::DragOver):
1129
1130 2014-04-09  Alexey Proskuryakov  <ap@apple.com>
1131
1132         Rename some dragging functions
1133         https://bugs.webkit.org/show_bug.cgi?id=131460
1134
1135         Reviewed by Tim Horton.
1136
1137         Renamed performDrag to performDragOperation.
1138
1139         * WebView.cpp: (WebView::Drop):
1140
1141 2014-04-02  Mark Rowe  <mrowe@apple.com>
1142
1143         Build fix after r166684.
1144
1145         * WebCoreSupport/WebContextMenuClient.cpp:
1146         (WebContextMenuClient::searchWithGoogle):
1147
1148 2014-04-02  Martin Hock  <mhock@apple.com>
1149
1150         Unify private browsing with sessions.
1151         https://bugs.webkit.org/show_bug.cgi?id=130099
1152
1153         Reviewed by Alexey Proskuryakov.
1154
1155         * WebCoreSupport/WebFrameLoaderClient.cpp: Change WebCore::Settings::privateBrowsingEnabled() to Page::sessionID().isEphemeral().
1156         (WebFrameLoaderClient::updateGlobalHistoryItemForPage):
1157         * WebCoreSupport/WebFrameNetworkingContext.cpp: Ditto.
1158         (WebFrameNetworkingContext::storageSession):
1159         * WebView.cpp: Change WebCore::Settings::setPrivateBrowsingEnabled() to Page::enableLegacyPrivateBrowsing().
1160         (WebView::notifyPreferencesChanged):
1161
1162 2014-03-22  Darin Adler  <darin@apple.com>
1163
1164         Remove String::deprecatedCharacters
1165         https://bugs.webkit.org/show_bug.cgi?id=126854
1166
1167         Reviewed by Sam Weinig.
1168
1169         * WebKitStatistics.cpp:
1170         (WebKitStatistics::comClassNameCounts): Update to not use Vector::append(String).
1171
1172 2014-03-17  Brent Fulgham  <bfulgham@apple.com>
1173
1174         Provide preference to enable additional AVFoundation options
1175         https://bugs.webkit.org/show_bug.cgi?id=130275
1176
1177         Reviewed by Eric Carlson.
1178
1179         * Interfaces/IWebPreferencesPrivate.idl: Added new preference.
1180         * WebPreferenceKeysPrivate.h: Ditto.
1181         * WebPreferences.cpp:
1182         (WebPreferences::initializeDefaultSettings): Initialize preference to false.
1183         (WebPreferences::isInheritURIQueryComponentEnabled): Added.
1184         (WebPreferences::setEnableInheritURIQueryComponent): Added.
1185         * WebPreferences.h:
1186         * WebView.cpp:
1187         (WebView::notifyPreferencesChanged): Handle new preference.
1188
1189 2014-03-16  Darin Adler  <darin@apple.com>
1190
1191         Remove all deprecatedCharacters use from WebKit
1192         https://bugs.webkit.org/show_bug.cgi?id=130305
1193
1194         Reviewed by Andreas Kling.
1195
1196         * AccessibleTextImpl.cpp:
1197         (AccessibleText::get_text): Use BString instead of SysAllocStringLen,
1198         which handles String directly.
1199         (AccessibleText::get_textBeforeOffset): Ditto.
1200         (AccessibleText::get_textAfterOffset): Ditto.
1201         (AccessibleText::get_textAtOffset): Ditto.
1202         (AccessibleText::get_attributes): Ditto.
1203         * DOMCSSClasses.cpp:
1204         (DOMCSSStyleDeclaration::getPropertyValue): Ditto.
1205         * DOMCoreClasses.cpp:
1206         (DOMNode::nodeValue): Ditto.
1207         (DOMElement::getAttribute): Ditto.
1208         (DOMElement::font): Rework this to leak a string, since it returns a
1209         pointer to a font family name's characters with no defined lifetime.
1210
1211         * DOMHTMLClasses.cpp:
1212         (DOMHTMLElement::innerText): Use BString's String-based constructor,
1213         instead of explicitly passing a character pointer.
1214         (DOMHTMLFormElement::action): Ditto.
1215         (DOMHTMLFormElement::method): Ditto.
1216         (DOMHTMLInputElement::value): Ditto.
1217         (DOMHTMLTextAreaElement::value): Ditto.
1218
1219         * MarshallingHelpers.cpp:
1220         (MarshallingHelpers::PathStringToFileCFURLRef): Use String::createCFString.
1221
1222         * WebCoreSupport/WebEditorClient.cpp:
1223         (WebEditorClient::checkSpellingOfString): Use StringView::upconvertedCharacters.
1224         (WebEditorClient::checkGrammarOfString): Ditto.
1225
1226         * WebDataSource.cpp:
1227         (WebDataSource::unreachableURL): Use BString's String-based constructor,
1228         instead of explicitly passing a character pointer.
1229
1230         * WebDownload.cpp:
1231         (WebDownload::bundlePathForTargetPath): Use BString instead of SysAllocStringLen.
1232
1233         * WebDownloadCFNet.cpp:
1234         (WebDownload::didFinish): Use BString's String-based constructor,
1235         instead of explicitly passing a character pointer.
1236         * WebDownloadCurl.cpp:
1237         (WebDownload::didReceiveResponse): Ditto.
1238
1239         * WebElementPropertyBag.cpp:
1240         (convertStringToVariant): Use BString instead of SysAllocStringLen.
1241         * WebFrame.cpp:
1242         (WebFrame::searchForLabelsBeforeElement): Ditto.
1243         (WebFrame::matchLabelsAgainstElement): Ditto.
1244
1245         * WebHistory.cpp:
1246         (WebHistory::addVisitedLinksToPageGroup): Use a better loop and call
1247         visitedLinkHash, since it can take a String.
1248
1249         * WebKitGraphics.cpp:
1250         (CenterTruncateStringToWidth): Use StringView::getCharactersWithUpconvert.
1251         (RightTruncateStringToWidth): Ditto.
1252
1253         * WebView.cpp:
1254         (WebView::applicationNameForUserAgent): Use BString instead of SysAllocStringLen.
1255         (WebView::customUserAgent): Ditto.
1256         (WebView::groupName): Ditto.
1257         (WebView::selectedText): Ditto.
1258         (WebView::onIMERequestReconvertString): Use StringView::getCharactersWithUpconvert.
1259
1260 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
1261
1262         Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
1263         https://bugs.webkit.org/show_bug.cgi?id=130276
1264         <rdar://problem/16266927>
1265         
1266         Reviewed by Simon Fraser.
1267
1268         * CFDictionaryPropertyBag.cpp:
1269         * CFDictionaryPropertyBag.h:
1270         * CodeAnalysisConfig.h:
1271         * DOMCSSClasses.cpp:
1272         * DOMCSSClasses.h:
1273         * DOMCoreClasses.cpp:
1274         * DOMCoreClasses.h:
1275         * DOMEventsClasses.cpp:
1276         * DOMEventsClasses.h:
1277         * DOMHTMLClasses.cpp:
1278         * DOMHTMLClasses.h:
1279         * DefaultDownloadDelegate.cpp:
1280         * DefaultDownloadDelegate.h:
1281         * DefaultPolicyDelegate.cpp:
1282         * DefaultPolicyDelegate.h:
1283         * ForEachCoClass.cpp:
1284         * ForEachCoClass.h:
1285         * FullscreenVideoController.cpp:
1286         * FullscreenVideoController.h:
1287         * Interfaces/AccessibilityDelegate.idl:
1288         * Interfaces/DOMCSS.idl:
1289         * Interfaces/DOMCore.idl:
1290         * Interfaces/DOMEvents.idl:
1291         * Interfaces/DOMExtensions.idl:
1292         * Interfaces/DOMHTML.idl:
1293         * Interfaces/DOMPrivate.idl:
1294         * Interfaces/DOMRange.idl:
1295         * Interfaces/DOMWindow.idl:
1296         * Interfaces/IGEN_DOMObject.idl:
1297         * Interfaces/IWebArchive.idl:
1298         * Interfaces/IWebBackForwardList.idl:
1299         * Interfaces/IWebBackForwardListPrivate.idl:
1300         * Interfaces/IWebCache.idl:
1301         * Interfaces/IWebDataSource.idl:
1302         * Interfaces/IWebDatabaseManager.idl:
1303         * Interfaces/IWebDocument.idl:
1304         * Interfaces/IWebDownload.idl:
1305         * Interfaces/IWebEditingDelegate.idl:
1306         * Interfaces/IWebError.idl:
1307         * Interfaces/IWebErrorPrivate.idl:
1308         * Interfaces/IWebFormDelegate.idl:
1309         * Interfaces/IWebFrame.idl:
1310         * Interfaces/IWebFrameLoadDelegate.idl:
1311         * Interfaces/IWebFrameLoadDelegatePrivate.idl:
1312         * Interfaces/IWebFrameLoadDelegatePrivate2.idl:
1313         * Interfaces/IWebFramePrivate.idl:
1314         * Interfaces/IWebFrameView.idl:
1315         * Interfaces/IWebHTMLRepresentation.idl:
1316         * Interfaces/IWebHTTPURLResponse.idl:
1317         * Interfaces/IWebHistory.idl:
1318         * Interfaces/IWebHistoryDelegate.idl:
1319         * Interfaces/IWebHistoryItem.idl:
1320         * Interfaces/IWebHistoryItemPrivate.idl:
1321         * Interfaces/IWebHistoryPrivate.idl:
1322         * Interfaces/IWebIconDatabase.idl:
1323         * Interfaces/IWebInspector.idl:
1324         * Interfaces/IWebInspectorPrivate.idl:
1325         * Interfaces/IWebJavaScriptCollector.idl:
1326         * Interfaces/IWebKitStatistics.idl:
1327         * Interfaces/IWebMutableURLRequest.idl:
1328         * Interfaces/IWebMutableURLRequestPrivate.idl:
1329         * Interfaces/IWebNavigationData.idl:
1330         * Interfaces/IWebNotification.idl:
1331         * Interfaces/IWebNotificationCenter.idl:
1332         * Interfaces/IWebNotificationObserver.idl:
1333         * Interfaces/IWebPolicyDelegate.idl:
1334         * Interfaces/IWebPolicyDelegatePrivate.idl:
1335         * Interfaces/IWebPreferences.idl:
1336         * Interfaces/IWebPreferencesPrivate.idl:
1337         * Interfaces/IWebResource.idl:
1338         * Interfaces/IWebResourceLoadDelegate.idl:
1339         * Interfaces/IWebResourceLoadDelegatePrivate.idl:
1340         * Interfaces/IWebResourceLoadDelegatePrivate2.idl:
1341         * Interfaces/IWebScriptObject.idl:
1342         * Interfaces/IWebSecurityOrigin.idl:
1343         * Interfaces/IWebSerializedJSValuePrivate.idl:
1344         * Interfaces/IWebTextRenderer.idl:
1345         * Interfaces/IWebUIDelegate.idl:
1346         * Interfaces/IWebUIDelegatePrivate.idl:
1347         * Interfaces/IWebURLAuthenticationChallenge.idl:
1348         * Interfaces/IWebURLRequest.idl:
1349         * Interfaces/IWebURLResponse.idl:
1350         * Interfaces/IWebURLResponsePrivate.idl:
1351         * Interfaces/IWebUndoManager.idl:
1352         * Interfaces/IWebUndoTarget.idl:
1353         * Interfaces/IWebView.idl:
1354         * Interfaces/IWebViewPrivate.idl:
1355         * Interfaces/WebKit.idl:
1356         * Interfaces/WebScrollbarTypes.idl:
1357         * MarshallingHelpers.cpp:
1358         * MarshallingHelpers.h:
1359         * MemoryStream.cpp:
1360         * MemoryStream.h:
1361         * ProgIDMacros.h:
1362         * WebActionPropertyBag.cpp:
1363         * WebActionPropertyBag.h:
1364         * WebBackForwardList.cpp:
1365         * WebBackForwardList.h:
1366         * WebCache.cpp:
1367         * WebCache.h:
1368         * WebCachedFramePlatformData.h:
1369         * WebCoreSupport/WebChromeClient.cpp:
1370         * WebCoreSupport/WebChromeClient.h:
1371         * WebCoreSupport/WebContextMenuClient.cpp:
1372         * WebCoreSupport/WebContextMenuClient.h:
1373         * WebCoreSupport/WebDragClient.cpp:
1374         * WebCoreSupport/WebDragClient.h:
1375         * WebCoreSupport/WebEditorClient.cpp:
1376         * WebCoreSupport/WebEditorClient.h:
1377         * WebCoreSupport/WebFrameLoaderClient.cpp:
1378         * WebCoreSupport/WebFrameLoaderClient.h:
1379         * WebCoreSupport/WebInspectorClient.cpp:
1380         * WebCoreSupport/WebInspectorClient.h:
1381         * WebCoreSupport/WebInspectorDelegate.cpp:
1382         * WebCoreSupport/WebInspectorDelegate.h:
1383         * WebDataSource.cpp:
1384         * WebDataSource.h:
1385         * WebDatabaseManager.cpp:
1386         * WebDatabaseManager.h:
1387         * WebDocumentLoader.cpp:
1388         * WebDocumentLoader.h:
1389         * WebDownload.cpp:
1390         * WebDownload.h:
1391         * WebDownloadCFNet.cpp:
1392         * WebDownloadCurl.cpp:
1393         * WebDropSource.cpp:
1394         * WebDropSource.h:
1395         * WebElementPropertyBag.cpp:
1396         * WebElementPropertyBag.h:
1397         * WebError.cpp:
1398         * WebError.h:
1399         * WebFrame.cpp:
1400         * WebFrame.h:
1401         * WebFramePolicyListener.cpp:
1402         * WebFramePolicyListener.h:
1403         * WebHTMLRepresentation.cpp:
1404         * WebHTMLRepresentation.h:
1405         * WebHistory.cpp:
1406         * WebHistory.h:
1407         * WebHistoryItem.cpp:
1408         * WebHistoryItem.h:
1409         * WebIconDatabase.cpp:
1410         * WebIconDatabase.h:
1411         * WebInspector.cpp:
1412         * WebInspector.h:
1413         * WebJavaScriptCollector.cpp:
1414         * WebJavaScriptCollector.h:
1415         * WebKitCOMAPI.cpp:
1416         * WebKitCOMAPI.h:
1417         * WebKitClassFactory.cpp:
1418         * WebKitClassFactory.h:
1419         * WebKitDLL.cpp:
1420         * WebKitDLL.h:
1421         * WebKitGraphics.cpp:
1422         * WebKitGraphics.h:
1423         * WebKitLogging.cpp:
1424         * WebKitLogging.h:
1425         * WebKitPrefix.cpp:
1426         * WebKitPrefix.h:
1427         * WebKitStatistics.cpp:
1428         * WebKitStatistics.h:
1429         * WebKitStatisticsPrivate.h:
1430         * WebKitSystemBits.cpp:
1431         * WebKitSystemBits.h:
1432         * WebLocalizableStrings.cpp:
1433         * WebLocalizableStrings.h:
1434         * WebMutableURLRequest.cpp:
1435         * WebMutableURLRequest.h:
1436         * WebNavigationData.cpp:
1437         * WebNavigationData.h:
1438         * WebNodeHighlight.cpp:
1439         * WebNodeHighlight.h:
1440         * WebNotification.cpp:
1441         * WebNotification.h:
1442         * WebNotificationCenter.cpp:
1443         * WebNotificationCenter.h:
1444         * WebPreferenceKeysPrivate.h:
1445         * WebPreferences.cpp:
1446         * WebPreferences.h:
1447         * WebResource.cpp:
1448         * WebResource.h:
1449         * WebScriptObject.cpp:
1450         * WebScriptObject.h:
1451         * WebSecurityOrigin.cpp:
1452         * WebSecurityOrigin.h:
1453         * WebTextRenderer.cpp:
1454         * WebTextRenderer.h:
1455         * WebURLAuthenticationChallenge.cpp:
1456         * WebURLAuthenticationChallenge.h:
1457         * WebURLAuthenticationChallengeSender.cpp:
1458         * WebURLAuthenticationChallengeSender.h:
1459         * WebURLAuthenticationChallengeSenderCFNet.cpp:
1460         * WebURLAuthenticationChallengeSenderCurl.cpp:
1461         * WebURLCredential.cpp:
1462         * WebURLCredential.h:
1463         * WebURLProtectionSpace.cpp:
1464         * WebURLProtectionSpace.h:
1465         * WebURLResponse.cpp:
1466         * WebURLResponse.h:
1467         * WebView.cpp:
1468         * WebView.h:
1469
1470 2014-03-12  Sergio Villar Senin  <svillar@igalia.com>
1471
1472         Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
1473         https://bugs.webkit.org/show_bug.cgi?id=129612
1474
1475         Reviewed by Darin Adler.
1476
1477         For new code use static NeverDestroyed<T> instead.
1478
1479         * WebCoreSupport/WebPlatformStrategies.cpp:
1480         (WebPlatformStrategies::initialize):
1481         * WebHistory.cpp:
1482         (sharedHistoryStorage):
1483         * WebLocalizableStrings.cpp:
1484         (mainBundleLocStrings):
1485         (frameworkLocStringsMutex):
1486         (frameworkLocStrings):
1487         * WebView.cpp:
1488         (WebView::standardUserAgentWithApplicationName):
1489
1490 2014-03-13  Brian Burg  <bburg@apple.com>
1491
1492         Unreviewed build fix for Mac Windows after r165545.
1493         https://bugs.webkit.org/show_bug.cgi?id=129744
1494
1495         Reviewed by Timothy Hatcher.
1496
1497         * Interfaces/IWebInspectorPrivate.idl: Remove callId from IWebInspectorPrivate.
1498
1499 2014-03-12  Brian Burg  <bburg@apple.com>
1500
1501         Web Inspector: Remove unused callId parameter from evaluateInWebInspector
1502         https://bugs.webkit.org/show_bug.cgi?id=129744
1503
1504         Reviewed by Timothy Hatcher.
1505
1506         * WebInspector.cpp:
1507         (WebInspector::evaluateInFrontend):
1508         * WebInspector.h:
1509
1510 2014-03-06  Joseph Pecoraro  <pecoraro@apple.com>
1511
1512         Web Inspector: Expose the console object in JSContexts to interact with Web Inspector
1513         https://bugs.webkit.org/show_bug.cgi?id=127944
1514
1515         Reviewed by Geoffrey Garen.
1516
1517         * WebCoreSupport/WebChromeClient.h:
1518         Update namespaces.
1519
1520 2014-03-04  Zalan Bujtas  <zalan@apple.com>
1521
1522         Subpixel rendering: Make GraphicsLayer::fillRect FloatRoundedRect based and cleanup dependencies.
1523         https://bugs.webkit.org/show_bug.cgi?id=129557
1524
1525         Reviewed by Simon Fraser.
1526
1527         This is the preparation for snapping rounded rects to device pixel position. It enables
1528         device pixel aware border-radius painting.
1529
1530         No change in functionality.
1531
1532         * FullscreenVideoController.cpp:
1533         (HUDSlider::draw):
1534         (FullscreenVideoController::draw):
1535
1536 2014-03-02  Darin Adler  <darin@apple.com>
1537
1538         Streamline use of TextIterator, cutting down includes and use of soon-to-be-deleted functions
1539         https://bugs.webkit.org/show_bug.cgi?id=129592
1540
1541         Reviewed by Sam Weinig.
1542
1543         * WebCoreSupport/WebEditorClient.cpp: Added now-needed include.
1544
1545 2014-02-25  Anders Carlsson  <andersca@apple.com>
1546
1547         Get rid of VisitedLinkStrategy
1548         https://bugs.webkit.org/show_bug.cgi?id=129324
1549
1550         Reviewed by Dan Bernstein.
1551
1552         * WebCoreSupport/WebPlatformStrategies.cpp:
1553         (WebPlatformStrategies::getPluginInfo):
1554         * WebCoreSupport/WebPlatformStrategies.h:
1555
1556 2014-02-24  Renata Hodovan  <rhodovan.u-szeged@partner.samsung.com>
1557
1558         Get rid of the unused 'immediate' parameters from repaint related functions
1559         https://bugs.webkit.org/show_bug.cgi?id=129111
1560
1561         Reviewed by Simon Fraser.
1562
1563         Removing the 'immediate' parameters from repaint related functions - accoring
1564         to the FIXME in RenderView::repaintViewRectangle() - since they have no effect.
1565
1566         * WebCoreSupport/WebChromeClient.cpp:
1567         (WebChromeClient::invalidateRootView):
1568         (WebChromeClient::invalidateContentsAndRootView):
1569         (WebChromeClient::invalidateContentsForSlowScroll):
1570         * WebCoreSupport/WebChromeClient.h:
1571
1572 2014-02-20  Csaba Osztrogonác  <ossy@webkit.org>
1573
1574         Get rid of redundant Platform.h includes
1575         https://bugs.webkit.org/show_bug.cgi?id=128817
1576
1577         Reviewed by Brent Fulgham.
1578
1579         * WebDownloadCFNet.cpp:
1580         * WebDownloadCurl.cpp:
1581         * WebURLResponse.cpp:
1582
1583 2014-02-18  Sam Weinig  <sam@webkit.org>
1584
1585         Simplify HTML tokenizer parameterization down to what is used
1586         https://bugs.webkit.org/show_bug.cgi?id=128977
1587
1588         Reviewed by Alexey Proskuryakov.
1589
1590         Remove unused SPI.
1591
1592         * WebView.cpp:
1593         (WebView::setCustomHTMLTokenizerTimeDelay):
1594         (WebView::setCustomHTMLTokenizerChunkSize):
1595
1596 2014-02-17  Anders Carlsson  <andersca@apple.com>
1597
1598         Remove view source code
1599         https://bugs.webkit.org/show_bug.cgi?id=127233
1600
1601         Reviewed by Antti Koivisto.
1602
1603         * WebFrame.cpp:
1604         (WebFrame::inViewSourceMode):
1605         (WebFrame::setInViewSourceMode):
1606         * WebView.cpp:
1607         (WebView::setInViewSourceMode):
1608         (WebView::inViewSourceMode):
1609
1610 2014-02-17  Sergio Correia  <sergio.correia@openbossa.org>
1611
1612         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
1613         https://bugs.webkit.org/show_bug.cgi?id=128681
1614
1615         Reviewed by Timothy Hatcher.
1616
1617         Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
1618         WebCore/inspector/*. Besides files in there, a few other files in
1619         JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
1620         and WebCore/testing were touched.
1621
1622         * WebCoreSupport/WebInspectorClient.cpp:
1623         * WebCoreSupport/WebInspectorClient.h:
1624
1625 2014-02-14  Brent Fulgham  <bfulgham@apple.com>
1626
1627         [Win] Make tests more consistent with Mac platform
1628         https://bugs.webkit.org/show_bug.cgi?id=128848
1629
1630         Reviewed by Simon Fraser.
1631
1632         * Interfaces/IWebPreferencesPrivate.idl: Add access to the
1633         mock scrollbar and screen font substitution features.
1634         * WebPreferenceKeysPrivate.h: Ditto
1635         * WebPreferences.cpp: Ditto
1636         (WebPreferences::mockScrollbarsEnabled):
1637         (WebPreferences::setMockScrollbarsEnabled):
1638         (WebPreferences::screenFontSubstitutionEnabled):
1639         (WebPreferences::setScreenFontSubstitutionEnabled):
1640         * WebPreferences.h: Ditto
1641         * WebView.cpp:
1642         (WebView::notifyPreferencesChanged): Ditto
1643
1644 2014-02-11  Zalan Bujtas  <zalan@apple.com>
1645
1646         Subpixel rendering: Make GraphicsLayerClient::paintContents's clip rect subpixel based.
1647         https://bugs.webkit.org/show_bug.cgi?id=128460
1648
1649         Reviewed by Simon Fraser.
1650
1651         GraphicsClient::paintContents takes clipRect as FloatRect now so that we can paint on
1652         subpixel position.
1653
1654         No change in functionality.
1655
1656         * WebView.cpp:
1657         (WebView::paintContents):
1658         * WebView.h:
1659
1660 2014-02-11  Alex Christensen  <achristensen@webkit.org>
1661
1662         Fixed pointer truncation on Win64.
1663         https://bugs.webkit.org/show_bug.cgi?id=128211
1664
1665         Reviewed by Brent Fulgham.
1666
1667         * WebCoreSupport/EmbeddedWidget.cpp:
1668         (EmbeddedWidget::createWindow):
1669         * WebCoreSupport/WebContextMenuClient.cpp:
1670         (WebContextMenuClient::customizeMenu):
1671         * WebCoreSupport/WebFrameLoaderClient.cpp:
1672         (WebFrameLoaderClient::createPlugin):
1673         * WebCoreSupport/WebInspectorClient.cpp:
1674         (WebInspectorClient::WebInspectorClient):
1675         (WebInspectorClient::openInspectorFrontend):
1676         (WebInspectorClient::highlight):
1677         (WebInspectorClient::releaseFrontend):
1678         (WebInspectorFrontendClient::setAttachedWindowHeight):
1679         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
1680         * WebCoreSupport/WebInspectorClient.h:
1681         * WebDropSource.cpp:
1682         (generateMouseEvent):
1683         * WebFrame.cpp:
1684         (WebFrame::createSubframeWithOwnerElement):
1685         (WebFrame::initWithWebView):
1686         Removed all casts from &HWND to OLE_HANDLE*.
1687
1688 2014-02-11  peavo@outlook.com  <peavo@outlook.com>
1689
1690         [WinCairo] Compile error related to toString function.
1691         https://bugs.webkit.org/show_bug.cgi?id=128607
1692
1693         Reviewed by Brent Fulgham.
1694
1695         * WebView.cpp:
1696         (toString): Added another toString function to make sure we are not trying to use WTF::toString.
1697
1698 2014-02-08  Ryosuke Niwa  <rniwa@webkit.org>
1699
1700         Cleanup the interface of FrameSelection
1701         https://bugs.webkit.org/show_bug.cgi?id=128481
1702
1703         Reviewed by Andreas Kling.
1704
1705         * WebView.cpp:
1706         (WebView::selectionRect):
1707
1708 2014-02-08  Darin Adler  <darin@apple.com>
1709
1710         Change TextIterator to use StringView, preparing to wean it from deprecatedCharacters
1711         https://bugs.webkit.org/show_bug.cgi?id=128233
1712
1713         Reviewed by Anders Carlsson.
1714
1715         * WebCoreSupport/WebEditorClient.cpp:
1716         (WebEditorClient::checkSpellingOfString): Use StringView.
1717         (WebEditorClient::checkGrammarOfString): Ditto.
1718         * WebCoreSupport/WebEditorClient.h: Ditto.
1719
1720 2014-02-06  Joseph Pecoraro  <pecoraro@apple.com>
1721
1722         Web Inspector: Add Console support to JSContext Inspection
1723         https://bugs.webkit.org/show_bug.cgi?id=127941
1724
1725         Reviewed by Geoffrey Garen.
1726
1727         * WebCoreSupport/WebChromeClient.h:
1728
1729 2014-02-06  Brent Fulgham  <bfulgham@apple.com>
1730
1731         [Win] Correct IME Regression after r141479
1732         https://bugs.webkit.org/show_bug.cgi?id=128323
1733         <rdar://problem/15952986>
1734
1735         Reviewed by Tim Horton.
1736
1737         * WebView.cpp:
1738         (WebView::updateSelectionForIME): Refactoring flipped the meaning of the test used
1739         to select the resetIME case. Corrected for behavior of new cancel method.
1740
1741 2014-02-04  Andreas Kling  <akling@apple.com>
1742
1743         Remove <iframe seamless> support.
1744         <https://webkit.org/b/128213>
1745
1746         Rubber-stamped by Antti Koivisto.
1747
1748         * WebPreferences.h:
1749         * WebView.cpp:
1750         (WebView::notifyPreferencesChanged):
1751
1752 2014-02-03  Darin Adler  <darin@apple.com>
1753
1754         Try to fix the WinCairo build.
1755
1756         * WebDownloadCurl.cpp:
1757         (WebDownload::didReceiveResponse): characters -> deprecatedCharacters.
1758
1759 2014-02-02  Darin Adler  <darin@apple.com>
1760
1761         Still more characters -> deprecatedCharacters (EWS keeps finding more)
1762         https://bugs.webkit.org/show_bug.cgi?id=128076
1763
1764         Reviewed by Andreas Kling.
1765
1766         * AccessibleTextImpl.cpp:
1767         (AccessibleText::get_text):
1768         (AccessibleText::get_textBeforeOffset):
1769         (AccessibleText::get_textAfterOffset):
1770         (AccessibleText::get_textAtOffset):
1771         (AccessibleText::get_attributes):
1772         * DOMCSSClasses.cpp:
1773         (DOMCSSStyleDeclaration::getPropertyValue):
1774         * DOMCoreClasses.cpp:
1775         (DOMNode::nodeValue):
1776         (DOMElement::getAttribute):
1777         (DOMElement::font):
1778         * DOMHTMLClasses.cpp:
1779         (DOMHTMLElement::innerText):
1780         (DOMHTMLFormElement::action):
1781         (DOMHTMLFormElement::method):
1782         (DOMHTMLInputElement::value):
1783         (DOMHTMLTextAreaElement::value):
1784         * MarshallingHelpers.cpp:
1785         (MarshallingHelpers::PathStringToFileCFURLRef):
1786         * WebDataSource.cpp:
1787         (WebDataSource::unreachableURL):
1788         * WebDownload.cpp:
1789         (WebDownload::bundlePathForTargetPath):
1790         * WebDownloadCFNet.cpp:
1791         (WebDownload::didFinish):
1792         * WebElementPropertyBag.cpp:
1793         (convertStringToVariant):
1794         * WebFrame.cpp:
1795         (WebFrame::searchForLabelsBeforeElement):
1796         (WebFrame::matchLabelsAgainstElement):
1797         * WebHistory.cpp:
1798         (WebHistory::addVisitedLinksToPageGroup):
1799         * WebKitGraphics.cpp:
1800         (CenterTruncateStringToWidth):
1801         (RightTruncateStringToWidth):
1802         * WebView.cpp:
1803         (WebView::applicationNameForUserAgent):
1804         (WebView::customUserAgent):
1805         (WebView::groupName):
1806         (WebView::selectedText):
1807         (WebView::onIMERequestReconvertString):
1808         Use deprecatedCharacters.
1809
1810 2014-01-30  Andrei Bucur  <abucur@adobe.com>
1811
1812         Remove the ACCELERATED_COMPOSITING flag
1813         https://bugs.webkit.org/show_bug.cgi?id=127833
1814
1815         Reviewed by Antti Koivisto.
1816
1817         Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
1818         mandatory.
1819
1820         Another patch will be required to remove the flag support from the Win build system.
1821
1822         * FullscreenVideoController.cpp:
1823         (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
1824         (FullscreenVideoController::FullscreenVideoController):
1825         (FullscreenVideoController::~FullscreenVideoController):
1826         (FullscreenVideoController::enterFullscreen):
1827         * FullscreenVideoController.h:
1828         * WebCoreSupport/WebChromeClient.cpp:
1829         (WebChromeClient::scheduleCompositingLayerFlush):
1830         * WebCoreSupport/WebChromeClient.h:
1831         (WebChromeClient::setNeedsOneShotDrawingSynchronization):
1832         * WebPreferences.cpp:
1833         (WebPreferences::acceleratedCompositingEnabled):
1834         * WebView.cpp:
1835         (WebView::WebView):
1836         (WebView::~WebView):
1837         (WebView::close):
1838         (WebView::repaint):
1839         (WebView::addToDirtyRegion):
1840         (WebView::scrollBackingStore):
1841         (WebView::sizeChanged):
1842         (WebView::updateBackingStore):
1843         (WebView::paint):
1844         (WebView::setShouldInvertColors):
1845         (WebView::WebViewWndProc):
1846         (WebView::notifyPreferencesChanged):
1847         (WebView::setAcceleratedCompositing):
1848         * WebView.h:
1849
1850 2014-01-29  Alex Christensen  <achristensen@webkit.org>
1851
1852         Prepare for accelerated compositing on WinCairo.
1853         https://bugs.webkit.org/show_bug.cgi?id=127843
1854
1855         Reviewed by Anders Carlsson.
1856
1857         * WebPreferences.cpp:
1858         Moved CACFLayerTreeHost.h inclusion to Apple-specific includes
1859         to avoid compile errors in WinCairo when using accelerated compositing.
1860
1861 2014-01-26  Anders Carlsson  <andersca@apple.com>
1862
1863         Follow-up build fix.
1864
1865         * WebHistoryItem.cpp:
1866         (WebHistoryItem::visitedWithTitle):
1867
1868 2014-01-26  Anders Carlsson  <andersca@apple.com>
1869
1870         Remove even more Windows history code.
1871
1872         * WebHistory.cpp:
1873         (WebHistory::removeItemForURLString):
1874         * WebHistoryItem.cpp:
1875         (WebHistoryItem::initFromDictionaryRepresentation):
1876         (WebHistoryItem::dictionaryRepresentation):
1877         (WebHistoryItem::getDailyVisitCounts):
1878         (WebHistoryItem::getWeeklyVisitCounts):
1879         (WebHistoryItem::recordInitialVisit):
1880         (WebHistoryItem::initWithURLString):
1881
1882 2014-01-26  Anders Carlsson  <andersca@apple.com>
1883
1884         Another follow-up build fix.
1885
1886         * WebHistory.cpp:
1887         (WebHistory::removeAllItems):
1888         (WebHistory::orderedItemsLastVisitedOnDay):
1889         * WebHistoryItem.cpp:
1890         (WebHistoryItem::initFromDictionaryRepresentation):
1891         (WebHistoryItem::dictionaryRepresentation):
1892         (WebHistoryItem::visitCount):
1893         (WebHistoryItem::setVisitCount):
1894
1895 2014-01-26  Anders Carlsson  <andersca@apple.com>
1896
1897         Remove more history gunk.
1898
1899         * WebHistory.cpp:
1900         (WebHistory::orderedLastVisitedDays):
1901         (WebHistory::addItem):
1902         (WebHistory::visitedURL):
1903         (WebHistory::removeItemForURLString):
1904         * WebHistory.h:
1905         * WebHistoryItem.cpp:
1906         (WebHistoryItem::initFromDictionaryRepresentation):
1907         (WebHistoryItem::dictionaryRepresentation):
1908         (WebHistoryItem::mergeAutoCompleteHints):
1909         (WebHistoryItem::setLastVisitedTimeInterval):
1910         (WebHistoryItem::initWithURLString):
1911         (WebHistoryItem::lastVisitedTimeInterval):
1912
1913 2014-01-26  Anders Carlsson  <andersca@apple.com>
1914
1915         Build fix.
1916
1917         * WebHistoryItem.cpp:
1918         (WebHistoryItem::initFromDictionaryRepresentation):
1919         (WebHistoryItem::dictionaryRepresentation):
1920
1921 2014-01-26  Anders Carlsson  <andersca@apple.com>
1922
1923         Move lastVisitWasHTTPNonGet out to WebHistoryItem
1924         https://bugs.webkit.org/show_bug.cgi?id=127657
1925
1926         Reviewed by Dan Bernstein.
1927
1928         Remove uses of lastVisitWasHTTPNonGet.
1929
1930         * WebHistory.cpp:
1931         (WebHistory::visitedURL):
1932         * WebHistoryItem.cpp:
1933         (WebHistoryItem::initFromDictionaryRepresentation):
1934         (WebHistoryItem::lastVisitWasHTTPNonGet):
1935         (WebHistoryItem::setLastVisitWasHTTPNonGet):
1936
1937 2014-01-25  Anders Carlsson  <andersca@apple.com>
1938
1939         Remove an unused FrameLoaderClient function
1940         https://bugs.webkit.org/show_bug.cgi?id=127628
1941
1942         Reviewed by Andreas Kling.
1943
1944         * WebCoreSupport/WebFrameLoaderClient.cpp:
1945         * WebCoreSupport/WebFrameLoaderClient.h:
1946
1947 2014-01-25  Anders Carlsson  <andersca@apple.com>
1948
1949         Modernize HashTable threading code
1950         https://bugs.webkit.org/show_bug.cgi?id=127621
1951
1952         Reviewed by Darin Adler.
1953
1954         Explicitly include headers that used to be brought in by HashTable.h
1955
1956         * WebLocalizableStrings.cpp:
1957
1958 2014-01-24  Anders Carlsson  <andersca@apple.com>
1959
1960         Remove back/forward list related functions from Page
1961         https://bugs.webkit.org/show_bug.cgi?id=127596
1962
1963         Reviewed by Andreas Kling.
1964
1965         * WebView.cpp:
1966         (WebView::keyDown):
1967         (WebView::goBack):
1968         (WebView::goForward):
1969
1970 2014-01-24  Zan Dobersek  <zdobersek@igalia.com>
1971
1972         Move HistoryItem to std::unique_ptr
1973         https://bugs.webkit.org/show_bug.cgi?id=127275
1974
1975         Reviewed by Darin Adler.
1976
1977         * WebHistoryItem.cpp: The Vector object that's passed to HistoryItem::setRedirectURLs
1978         should now be handled by std::unique_ptr and passed on through move semantics.
1979         (WebHistoryItem::initFromDictionaryRepresentation):
1980
1981 2014-01-23  Joseph Pecoraro  <pecoraro@apple.com>
1982
1983         Web Inspector: Remove recompileAllJSFunctions timer in ScriptDebugServer
1984         https://bugs.webkit.org/show_bug.cgi?id=127409
1985
1986         Reviewed by Geoffrey Garen.
1987
1988         * WebCoreSupport/WebInspectorClient.cpp:
1989         (WebInspectorFrontendClient::destroyInspectorView):
1990         Include InspectorDisconnectReason.
1991
1992 2014-01-23  Simon Fraser  <simon.fraser@apple.com>
1993
1994         Another Windows fix.
1995
1996         * WebFrame.cpp:
1997         (WebFrame::frameBounds):
1998
1999 2014-01-23  peavo@outlook.com  <peavo@outlook.com>
2000
2001         [WinCairo] Compile error.
2002         https://bugs.webkit.org/show_bug.cgi?id=127500
2003
2004         Reviewed by Brent Fulgham.
2005
2006         * WebCache.cpp:
2007         (WebCache::cacheFolder): CurlCacheManager::getCacheDirectory() has changed name to cacheDirectory().
2008
2009 2014-01-23  peavo@outlook.com  <peavo@outlook.com>
2010
2011         [Curl] There is no way to specify cache folder.
2012         https://bugs.webkit.org/show_bug.cgi?id=125028
2013
2014         Reviewed by Brent Fulgham.
2015
2016         Added interface methods to set and get cache folder location.
2017
2018         * Interfaces/IWebCache.idl:
2019         * WebCache.cpp:
2020         (WebCache::disabled):
2021         (WebCache::cacheFolder):
2022         (WebCache::setCacheFolder):
2023         * WebCache.h:
2024
2025 2014-01-21  peavo@outlook.com  <peavo@outlook.com>
2026
2027         [WinCairo][Curl] Download request has incorrect user agent string.
2028         https://bugs.webkit.org/show_bug.cgi?id=127110
2029
2030         Reviewed by Brent Fulgham.
2031
2032         * WebDownloadCurl.cpp:
2033         (WebDownload::init): Set user agent string in download request.
2034         * WebView.cpp:
2035         (WebView::downloadURL): Avoid early return if no ResourceHandle is provided.
2036
2037 2014-01-18  Brian Burg  <bburg@apple.com>
2038
2039         Web Inspector: Page should use std::unique_ptr for InspectorController
2040         https://bugs.webkit.org/show_bug.cgi?id=127068
2041
2042         Reviewed by Joseph Pecoraro.
2043
2044         Convert call sites to use a InspectorController reference.
2045
2046         * WebCoreSupport/WebInspectorClient.cpp:
2047         (WebInspectorClient::openInspectorFrontend):
2048         (WebInspectorFrontendClient::destroyInspectorView):
2049         (WebInspectorFrontendClient::onClose):
2050         * WebInspector.cpp:
2051         (WebInspector::show):
2052         (WebInspector::close):
2053         (WebInspector::isJavaScriptProfilingEnabled):
2054         (WebInspector::setJavaScriptProfilingEnabled):
2055         (WebInspector::evaluateInFrontend):
2056         * WebNodeHighlight.cpp:
2057         (WebNodeHighlight::update):
2058
2059 2014-01-17  Anders Carlsson  <andersca@apple.com>
2060
2061         Clean up PageCache classes
2062         https://bugs.webkit.org/show_bug.cgi?id=127202
2063
2064         Reviewed by Andreas Kling.
2065
2066         * WebCoreSupport/WebFrameLoaderClient.cpp:
2067         (WebFrameLoaderClient::savePlatformDataToCachedFrame):
2068
2069 2014-01-17  Anders Carlsson  <andersca@apple.com>
2070
2071         Remove another unused FrameLoaderClient callback
2072         https://bugs.webkit.org/show_bug.cgi?id=127192
2073
2074         Reviewed by Dan Bernstein.
2075
2076         * WebCoreSupport/WebFrameLoaderClient.cpp:
2077         * WebCoreSupport/WebFrameLoaderClient.h:
2078
2079 2014-01-17  Anders Carlsson  <andersca@apple.com>
2080
2081         Remove didPerformFirstNavigation from all FrameLoaderClient subclasses
2082         https://bugs.webkit.org/show_bug.cgi?id=127190
2083
2084         Reviewed by Dan Bernstein.
2085
2086         * WebCoreSupport/WebFrameLoaderClient.cpp:
2087         * WebCoreSupport/WebFrameLoaderClient.h:
2088
2089 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
2090
2091         Remove workaround for compilers not supporting explicit override control
2092         https://bugs.webkit.org/show_bug.cgi?id=127111
2093
2094         Reviewed by Anders Carlsson.
2095
2096         Now all compilers support explicit override control, this workaround can be removed.
2097
2098         * AccessibleDocument.h:
2099         * FullscreenVideoController.cpp:
2100         * WebCoreSupport/WebChromeClient.h:
2101         * WebCoreSupport/WebFrameLoaderClient.h:
2102         * WebCoreSupport/WebFrameNetworkingContext.h:
2103         * WebCoreSupport/WebInspectorClient.h:
2104         * WebHistory.h:
2105
2106 2014-01-10  Anders Carlsson  <andersca@apple.com>
2107
2108         Tweak ProgressTrackerClient functions
2109         https://bugs.webkit.org/show_bug.cgi?id=126808
2110
2111         Reviewed by Sam Weinig.
2112
2113         * WebCoreSupport/WebFrameLoaderClient.cpp:
2114         (WebFrameLoaderClient::progressStarted):
2115         (WebFrameLoaderClient::progressEstimateChanged):
2116         (WebFrameLoaderClient::progressFinished):
2117         * WebCoreSupport/WebFrameLoaderClient.h:
2118
2119 2014-01-10  Anders Carlsson  <andersca@apple.com>
2120
2121         Move progress tracking functions from FrameLoaderClient to a new ProgressTrackerClient
2122         https://bugs.webkit.org/show_bug.cgi?id=126801
2123
2124         Reviewed by Sam Weinig.
2125
2126         * WebCoreSupport/WebFrameLoaderClient.h:
2127         * WebView.cpp:
2128         (WebView::initWithFrame):
2129
2130 2014-01-08  peavo@outlook.com  <peavo@outlook.com>
2131
2132         [WinCairo] Compile error.
2133         https://bugs.webkit.org/show_bug.cgi?id=126534
2134
2135         Reviewed by Brent Fulgham.
2136
2137         * WebKitPrefix.h: Define __STDC_LIMIT_MACROS, so INTMAX_MAX will be defined (needed by std C++ library).
2138
2139 2014-01-06  László Langó  <lango@inf.u-szeged.hu>
2140
2141         Use unsigned consistently, and check for invalid casts when calling into SharedBuffer from other code.
2142         https://bugs.webkit.org/show_bug.cgi?id=124579
2143
2144         Reviewed by Anders Carlsson.
2145
2146         * WebKitDLL.cpp:
2147         (loadResourceIntoBuffer):
2148
2149 2013-12-30  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2150
2151         Cleanup static_cast<HTMLFormElement*> by using toHTMLFormElement()
2152         https://bugs.webkit.org/show_bug.cgi?id=126309
2153
2154         Reviewed by Andreas Kling.
2155
2156         To detect bad type casts, it would be good to use toHTMLFormElement() instead of
2157         using manual type cast. Additionally FORM_ASSOCIATED_ELEMENT_TYPE_CASTS is introduced newly
2158         to do it.
2159
2160         * WebFrame.cpp:
2161         (WebFrame::elementWithName):
2162
2163 2013-12-17  Alex Christensen  <achristensen@webkit.org>
2164
2165         [WinCairo] Compile fixes for GStreamer on Windows.
2166         https://bugs.webkit.org/show_bug.cgi?id=124867
2167
2168         Reviewed by Philippe Normand.
2169
2170         * WebView.cpp:
2171         (WebView::enterFullscreenForNode):
2172         (WebView::exitFullscreen):
2173         GStreamer in WebKit does not support fullscreen, so
2174         I added #if !USE(GSTREAMER) to the fullscreen code to get it to compile.
2175
2176 2013-12-11  Joseph Pecoraro  <pecoraro@apple.com>
2177
2178         Web Inspector: Push More Inspector Required Classes Down into JavaScriptCore
2179         https://bugs.webkit.org/show_bug.cgi?id=125324
2180
2181         Reviewed by Timothy Hatcher.
2182
2183         * WebFrame.cpp:
2184         * WebView.cpp:
2185
2186 2013-12-04  Brent Fulgham  <bfulgham@apple.com>
2187
2188         [Win] Exiting from Media Full Screen mode via 'escape' key does not work properly
2189         https://bugs.webkit.org/show_bug.cgi?id=125272
2190
2191         Reviewed by Jer Noble.
2192
2193         * WebView.cpp:
2194         (WebView::fullScreenClientWillExitFullScreen): Change to webkitCancelFullScreen method call
2195         to more closely match Media Control behavior.
2196
2197 2013-12-04  Brian J. Burg  <burg@cs.washington.edu>
2198
2199         Consolidate various frame snapshot capabilities.
2200         https://bugs.webkit.org/show_bug.cgi?id=124325
2201
2202         Reviewed by Darin Adler.
2203
2204         * DOMCoreClasses.cpp:
2205         (DOMElement::renderedImage): use createDragImageForNode.
2206
2207 2013-12-03  Joseph Pecoraro  <pecoraro@apple.com>
2208
2209         Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
2210         https://bugs.webkit.org/show_bug.cgi?id=124613
2211
2212         Reviewed by Timothy Hatcher.
2213
2214         * WebCoreSupport/WebInspectorClient.h:
2215
2216 2013-11-25  peavo@outlook.com  <peavo@outlook.com>
2217
2218         [Win] WebKit version in user agent string is incorrect.
2219         https://bugs.webkit.org/show_bug.cgi?id=124454
2220
2221         Reviewed by Brent Fulgham.
2222
2223         * WebView.cpp: Use WebKit version from WebKitVersion.h in user agent.
2224         (webKitVersionString):
2225
2226 2013-11-21  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
2227
2228         Remove ENABLE_WORKERS
2229         https://bugs.webkit.org/show_bug.cgi?id=105784
2230
2231         Reviewed by Darin Adler.
2232
2233         * WebWorkersPrivate.cpp:
2234         (WebWorkersPrivate::workerThreadCount):
2235
2236 2013-11-18  Commit Queue  <commit-queue@webkit.org>
2237
2238         Unreviewed, rolling out r159455.
2239         http://trac.webkit.org/changeset/159455
2240         https://bugs.webkit.org/show_bug.cgi?id=124568
2241
2242         broke two api tests (see bug 124564) (Requested by thorton on
2243         #webkit).
2244
2245         * DOMCoreClasses.cpp:
2246         (DOMElement::renderedImage):
2247
2248 2013-11-18  Commit Queue  <commit-queue@webkit.org>
2249
2250         Unreviewed, rolling out r159430.
2251         http://trac.webkit.org/changeset/159430
2252         https://bugs.webkit.org/show_bug.cgi?id=124548
2253
2254         WebCore can know nothing about nor use files from WebKit/
2255         (Requested by thorton on #webkit).
2256
2257         * WebView.cpp:
2258         (webKitVersionString):
2259
2260 2013-11-18  Brian J. Burg  <burg@cs.washington.edu>
2261
2262         Consolidate various frame snapshot capabilities.
2263         https://bugs.webkit.org/show_bug.cgi?id=124325
2264
2265         Reviewed by Timothy Hatcher.
2266
2267         * DOMCoreClasses.cpp:
2268         (DOMElement::renderedImage): use createDragImageForNode.
2269
2270 2013-11-18  peavo@outlook.com  <peavo@outlook.com>
2271
2272         [Win] Optimization, no need to erase background before paint.
2273         https://bugs.webkit.org/show_bug.cgi?id=124453
2274
2275         Reviewed by Brent Fulgham.
2276
2277         As the paint will blit a bitmap onto the invalid area (no alpha),
2278         there is no need to erase the background first, as this will be overwritten by the blit.
2279
2280         * WebView.cpp:
2281         (WebView::WebViewWndProc): Avoid erasing background before paint.
2282
2283 2013-11-18  peavo@outlook.com  <peavo@outlook.com>
2284
2285         [Win] WebKit version in user agent string is incorrect.
2286         https://bugs.webkit.org/show_bug.cgi?id=124454
2287
2288         Reviewed by Brent Fulgham.
2289
2290         * WebView.cpp:
2291         (webKitVersionString): Create WebKit version string from WebKitVersion.h.
2292
2293 2013-11-15  Jer Noble  <jer.noble@apple.com>
2294
2295         Unreviewed Win build fix; setCurrentTime() no longer takes an exception parameter.
2296
2297         * FullscreenVideoController.cpp:
2298         (FullscreenVideoController::setCurrentTime):
2299
2300 2013-11-12  Alex Christensen  <achristensen@webkit.org>
2301
2302         [WinCairo] Preparation for ENABLE(VIDEO).
2303         https://bugs.webkit.org/show_bug.cgi?id=57420
2304
2305         Reviewed by Martin Robinson.
2306
2307         * FullscreenVideoController.cpp:
2308         Don't compile if using GStreamer.
2309
2310 2013-11-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2311
2312         [AX] Clean up static_cast<> to cast from AccessibilityObject 
2313         https://bugs.webkit.org/show_bug.cgi?id=124032
2314
2315         Reviewed by Mario Sanchez Prada.
2316
2317         Use toAccessibilityListBox instead of using static_cast<AccessibilityListBox*>.
2318
2319         * AccessibleBase.cpp:
2320         (AccessibleBase::accSelect):
2321
2322 2013-11-05  Ryosuke Niwa  <rniwa@webkit.org>
2323
2324         Windows build fix attempt after r158704.
2325
2326         * FullscreenVideoController.cpp:
2327
2328 2013-11-01  Patrick Gansterer  <paroga@webkit.org>
2329
2330         [WIN] Reduce usage of CFSTR() in WebPreferences
2331         https://bugs.webkit.org/show_bug.cgi?id=121827
2332
2333         Reviewed by Brent Fulgham.
2334
2335         This moved the dependency on CF to a few functions only
2336         and is a first step to make it compile without CF.
2337
2338         * WebPreferences.cpp:
2339         * WebPreferences.h:
2340
2341 2013-10-31  Alex Christensen  <achristensen@webkit.org>
2342
2343         Compile fix for VS2012.
2344         https://bugs.webkit.org/show_bug.cgi?id=123599
2345
2346         Reviewed by Brent Fulgham.
2347
2348         * WebCoreSupport/WebFrameLoaderClient.cpp:
2349         (WebFrameLoaderClient::WebFramePolicyListenerPrivate::WebFramePolicyListenerPrivate):
2350         (WebFrameLoaderClient::cancelPolicyCheck):
2351         (WebFrameLoaderClient::receivedPolicyDecision):
2352         Use nullptr instead of 0 for m_policyFunction, which is a std::function.
2353
2354 2013-10-31  Patrick Gansterer  <paroga@webkit.org>
2355
2356         [WIN] Make WebHistory compile without USE(CF)
2357         https://bugs.webkit.org/show_bug.cgi?id=122010
2358
2359         Reviewed by Brent Fulgham.
2360
2361         Add an alternative code path for !USE(CF) to be able to
2362         compile WebHistory without the CoreFoundation library.
2363
2364         * COMVariantSetter.h: Add support for setting a Vector.
2365         * WebHistory.cpp:
2366         (createUserInfoFromArray):
2367         (createUserInfoFromHistoryItem):
2368         (WebHistory::removeAllItems):
2369         (WebHistory::removeItem):
2370         (WebHistory::addItem):
2371         (WebHistory::visitedURL):
2372         * WebHistory.h:
2373
2374 2013-10-30  Myles C. Maxfield  <mmaxfield@apple.com>
2375
2376         WebKit/win/WebKitGraphics.h:void WebDrawText(WebTextRenderInfo*); is never called
2377         https://bugs.webkit.org/show_bug.cgi?id=123485
2378
2379         Reviewed by Brent Fulgham.
2380
2381         Removed unused WebDrawText implementation.
2382
2383         * WebKitGraphics.cpp:
2384         * WebKitGraphics.h:
2385
2386 2013-10-30  Patrick Gansterer  <paroga@webkit.org>
2387
2388         [WIN] Add missing USE(CFNETWORK) to WebError.h
2389         https://bugs.webkit.org/show_bug.cgi?id=121834
2390
2391         Reviewed by Brent Fulgham.
2392
2393         WebError.cpp uses USE(CFNETWORK), so add it to the header too.
2394
2395         * WebError.h:
2396
2397 2013-10-30  peavo@outlook.com  <peavo@outlook.com>
2398
2399         [Curl][Win] Suggested filename of download is not url decoded.
2400         https://bugs.webkit.org/show_bug.cgi?id=123511
2401
2402         Reviewed by Brent Fulgham.
2403
2404         * WebDownloadCurl.cpp:
2405         (WebDownload::didReceiveResponse): Url decode suggested filename.
2406
2407 2013-10-28  Tim Horton  <timothy_horton@apple.com>
2408
2409         Make TileController manipulate PlatformCALayers instead of CALayers
2410         https://bugs.webkit.org/show_bug.cgi?id=123279
2411
2412         Reviewed by Simon Fraser.
2413
2414         * FullscreenVideoController.cpp:
2415         (FullscreenVideoController::LayerClient::platformCALayerPaintContents):
2416         (FullscreenVideoController::LayerClient::platformCALayerIncrementRepaintCount):
2417         Adjust for new parameters on PlatformCALayerClient callbacks.
2418
2419 2013-10-23  Alex Christensen  <achristensen@webkit.org>
2420
2421         Separated USE(CA) from USE(ACCELERATED_COMPOSITING) to prepare WinCairo for accelerated compositing.
2422         https://bugs.webkit.org/show_bug.cgi?id=123214
2423
2424         Reviewed by Brent Fulgham.
2425
2426         * WebCoreSupport/WebChromeClient.h:
2427         (WebChromeClient::delegatedScrollRequested): Added empty function.
2428         * WebPreferences.cpp:
2429         (WebPreferences::acceleratedCompositingEnabled):
2430         Return true for non-CA ports using accelerated compositing.
2431         * WebView.cpp:
2432         (WebView::~WebView):
2433         (WebView::sizeChanged):
2434         (WebView::paint):
2435         (WebView::setShouldInvertColors):
2436         (WebView::flushPendingGraphicsLayerChangesSoon):
2437         (WebView::setAcceleratedCompositing):
2438         * WebView.h:
2439         Added USE(CA) where necessary to compile WinCairo with accelerated compositing.
2440
2441 2013-10-16  Tim Horton  <timothy_horton@apple.com>
2442
2443         Attempt to fix the Windows build after http://trac.webkit.org/changeset/157547.
2444
2445         Apparently some *more* Windows code uses setFrame and I missed it.
2446
2447         * FullscreenVideoController.cpp:
2448         (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
2449
2450 2013-10-16  Jochen Eisinger  <jochen@chromium.org>
2451
2452         A page should exit fullscreen mode if it opens a new popup
2453         https://bugs.webkit.org/show_bug.cgi?id=122865
2454
2455         Reviewed by Jer Noble.
2456
2457         If a fullscreen page opens a popup, the popup would be hidden and
2458         therefore invisible to the user. To avoid this, exit fullscreen mode
2459         before opening a new window.
2460
2461         * WebCoreSupport/WebChromeClient.cpp:
2462         (WebChromeClient::createWindow):
2463
2464 2013-10-15  Joseph Pecoraro  <pecoraro@apple.com>
2465
2466         Web Inspector: Remove Windows old front-end related code
2467         https://bugs.webkit.org/show_bug.cgi?id=122845
2468
2469         Reviewed by Brent Fulgham.
2470
2471         * WebCoreSupport/WebInspectorClient.cpp:
2472         (WebInspectorClient::openInspectorFrontend):
2473
2474 2013-10-14  Roger Fong  <roger_fong@apple.com>
2475
2476         Windows select element doesn't draw RTL properly.
2477         https://bugs.webkit.org/show_bug.cgi?id=122785.
2478
2479         Reviewed by Brent Fulgham.
2480
2481         * WebCoreSupport/WebChromeClient.cpp:
2482         (WebChromeClient::selectItemWritingDirectionIsNatural):
2483         (WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection):
2484
2485 2013-10-14  Tim Horton  <timothy_horton@apple.com>
2486
2487         Virtualize PlatformCALayer
2488         https://bugs.webkit.org/show_bug.cgi?id=122672
2489
2490         Reviewed by Anders Carlsson.
2491
2492         * FullscreenVideoController.cpp:
2493         (FullscreenVideoController::FullscreenVideoController):
2494         Include PlatformCALayerWin.h and explicitly make PlatformCALayerWins here.
2495
2496 2013-10-12  Darin Adler  <darin@apple.com>
2497
2498         Get rid of the toHTMLElement helper for casting FormAssociatedElement to HTMLElement
2499         https://bugs.webkit.org/show_bug.cgi?id=122713
2500
2501         Reviewed by Sam Weinig.
2502
2503         * WebFrame.cpp:
2504         (WebFrame::controlsInForm): Use asHTMLElement.
2505
2506 2013-10-12  Darin Adler  <darin@apple.com>
2507
2508         Use unique_ptr instead of delete in a few places
2509         https://bugs.webkit.org/show_bug.cgi?id=122639
2510
2511         Reviewed by Anders Carlsson.
2512
2513         * WebCoreSupport/WebFrameNetworkingContext.cpp:
2514         (privateSession):
2515         (identifierBase):
2516         (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
2517         (WebFrameNetworkingContext::setPrivateBrowsingStorageSessionIdentifierBase):
2518         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
2519         (WebFrameNetworkingContext::destroyPrivateBrowsingSession):
2520         (WebFrameNetworkingContext::storageSession):
2521
2522 2013-10-10  Anders Carlsson  <andersca@apple.com>
2523
2524         Fix build.
2525         
2526         * Interfaces/WebKit.idl:
2527         Oops, didn't mean to remove the uuid for WebURLResponse.
2528
2529 2013-10-10  Anders Carlsson  <andersca@apple.com>
2530
2531         Remove WebScrollBar
2532         https://bugs.webkit.org/show_bug.cgi?id=122623
2533
2534         Reviewed by Brent Fulgham.
2535
2536         WebScrollBar isn't used by anyone, remove it.
2537
2538         * ForEachCoClass.h:
2539         * Interfaces/IWebScrollBarDelegatePrivate.idl: Removed.
2540         * Interfaces/IWebScrollBarPrivate.idl: Removed.
2541         * Interfaces/WebKit.idl:
2542         * WebKitClassFactory.cpp:
2543         (WebKitClassFactory::CreateInstance):
2544         * WebScrollBar.cpp: Removed.
2545         * WebScrollBar.h: Removed.
2546
2547 2013-10-10  Beth Dakin  <bdakin@apple.com>
2548
2549         Build fix after http://trac.webkit.org/changeset/157253
2550
2551         * WebScrollBar.h:
2552
2553 2013-10-09  peavo@outlook.com  <peavo@outlook.com>
2554
2555         [Win] BeginPaint should only be called in response to WM_PAINT.
2556         https://bugs.webkit.org/show_bug.cgi?id=122549
2557
2558         Reviewed by Brent Fulgham.
2559
2560         According to the documentation, the Win32 api function BeginPaint should only be called in response to a WM_PAINT message.
2561         Currently, the WebView window procedure might call this function (via WebView::paint(0, 0)) for all types of messages.
2562         Also, there is potential for double drawing. If some message is dispatched before WM_PAINT, WebView::paint(0, 0) will be called.
2563         This call does not validate the area drawn, so later the WM_PAINT will arrive, drawing the same area.
2564         This can be fixed by calling the Win32 function UpdateWindow(), which will do a synchronous window update, and validate the area.
2565
2566         * WebView.cpp:
2567         (WebView::WebViewWndProc): Use Win32 function UpdateWindow() to draw invalid area.
2568
2569 2013-10-07  Sam Weinig  <sam@webkit.org>
2570
2571         Consolidate findString functions
2572         https://bugs.webkit.org/show_bug.cgi?id=122480
2573
2574         Reviewed by Darin Adler.
2575
2576         * WebView.cpp:
2577         (WebView::searchFor):
2578
2579 2013-10-07  Sam Weinig  <sam@webkit.org>
2580
2581         CTTE: Use references in and around DragController
2582         https://bugs.webkit.org/show_bug.cgi?id=122427
2583
2584         Reviewed by Andreas Kling.
2585
2586         * WebCoreSupport/WebDragClient.cpp:
2587         (WebDragClient::actionMaskForDrag):
2588         (WebDragClient::willPerformDragDestinationAction):
2589         (WebDragClient::willPerformDragSourceAction):
2590         (WebDragClient::startDrag):
2591         * WebCoreSupport/WebDragClient.h:
2592
2593 2013-10-04  Anders Carlsson  <andersca@apple.com>
2594
2595         FramePolicyFunction should be an std::function
2596         https://bugs.webkit.org/show_bug.cgi?id=122362
2597
2598         Reviewed by Darin Adler.
2599
2600         * WebCoreSupport/WebFrameLoaderClient.cpp:
2601         (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
2602         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
2603         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2604         (WebFrameLoaderClient::dispatchWillSubmitForm):
2605         (WebFrameLoaderClient::receivedPolicyDecision):
2606
2607 2013-10-03  Sam Weinig  <sam@webkit.org>
2608
2609         Remove shouldRubberBandInDirection from the WKBundlePageUIClient
2610         https://bugs.webkit.org/show_bug.cgi?id=122309
2611
2612         Reviewed by Andreas Kling.
2613
2614         * WebCoreSupport/WebChromeClient.h:
2615
2616 2013-10-02  Roger Fong  <roger_fong@apple.com>
2617
2618         [Windows] Unreviewed build fix.
2619
2620         * WebScriptWorld.cpp:
2621         (WebScriptWorld::findOrCreateWorld):
2622
2623 2013-10-01  Sam Weinig  <sam@webkit.org>
2624
2625         CTTE: DOMWrapperWorlds should be passed around by reference
2626         https://bugs.webkit.org/show_bug.cgi?id=122206
2627
2628         Reviewed by Andreas Kling.
2629
2630         * WebCoreSupport/WebFrameLoaderClient.cpp:
2631         (WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
2632         * WebCoreSupport/WebFrameLoaderClient.h:
2633         * WebScriptWorld.cpp:
2634         (WebScriptWorld::standardWorld):
2635         (WebScriptWorld::findOrCreateWorld):
2636         * WebScriptWorld.h:
2637         (WebScriptWorld::world):
2638
2639 2013-10-01  Alex Christensen  <achristensen@webkit.org>
2640
2641         Implemented createWebViewWithRequest in WinLauncher.
2642         https://bugs.webkit.org/show_bug.cgi?id=122069
2643
2644         Reviewed by Brent Fulgham.
2645
2646         * WebCoreSupport/WebChromeClient.cpp:
2647         (WebChromeClient::createWindow):
2648         * WebCoreSupport/WebFrameLoaderClient.cpp:
2649         (WebFrameLoaderClient::dispatchCreatePage):
2650         Pass request url from the NavigationAction to createWebViewWithRequest.
2651
2652 2013-09-30  Andreas Kling  <akling@apple.com>
2653
2654         Try to fix the Windows build.
2655
2656         * WebFrame.cpp:
2657         (WebFrame::pauseAnimation):
2658         (WebFrame::pauseTransition):
2659
2660 2013-09-27  Roger Fong  <roger_fong@apple.com>
2661
2662         [Windows] Unreviewed build fix following r156560.
2663
2664         * WebView.h:
2665
2666 2013-09-26  Darin Adler  <darin@apple.com>
2667
2668         rename KURL to URL
2669         https://bugs.webkit.org/show_bug.cgi?id=16214
2670
2671         Reviewed by Andreas Kling.
2672
2673         * many files: Renamed, using script.
2674
2675 2013-09-27  Darin Adler  <darin@apple.com>
2676
2677         Add empty MainFrame class
2678         https://bugs.webkit.org/show_bug.cgi?id=121770
2679
2680         Reviewed by Andreas Kling.
2681
2682         * win/WebCoreSupport/WebDragClient.cpp:
2683         * win/WebCoreSupport/WebContextMenuClient.cpp:
2684         * win/WebDropSource.cpp:
2685         * win/WebFrame.cpp:
2686         * win/WebView.cpp:
2687         Include MainFrame.h instead of Frame.h as needed.
2688
2689 2013-09-25  Roger Fong  <roger_fong@apple.com>
2690
2691         [Windows] Attempting to scroll from a non-scrollable layer results the main document getting scrolled.
2692         https://bugs.webkit.org/show_bug.cgi?id=121889.
2693         <rdar://problem/15072441>
2694
2695         Reviewed by Timothy Horton.
2696
2697         * WebView.cpp:
2698         (WebView::gesture): 
2699         Call scrollByRecursively on the current RenderLayer's enclosingScrollableLayer to make sure that the method
2700         doesn't bail early and end up just scrolling the main document instead of the next scrollable layer in the RenderLayer tree.
2701
2702 2013-09-25  Patrick Gansterer  <paroga@webkit.org>
2703
2704         [WIN] Replace CF time functions with Windows API functions in WebHistory
2705         https://bugs.webkit.org/show_bug.cgi?id=121599
2706
2707         Reviewed by Brent Fulgham.
2708
2709         This reduces the dependencies on the CoreFoundation library.
2710
2711         * WebHistory.cpp:
2712         (addDayToSystemTime):
2713         (getDayBoundaries):
2714         (beginningOfDay):
2715         (dateKey):
2716         (WebHistory::orderedLastVisitedDays):
2717         * WebHistory.h:
2718
2719 2013-09-24  Brent Fulgham  <bfulgham@apple.com>
2720
2721         [Windows] Refactor RuntimeEnabledFeatures as a Singleton.
2722         https://bugs.webkit.org/show_bug.cgi?id=121883
2723
2724         Reviewed by Jer Noble.
2725
2726         * WebView.cpp:
2727         (WebView::notifyPreferencesChanged): Use singleton accessor
2728
2729 2013-09-24  Roger Fong  <roger_fong@apple.com>
2730
2731         [Windows] Overpanning occurs even when what is being panned isn't the main document.
2732         https://bugs.webkit.org/show_bug.cgi?id=121885.
2733         <rdar://problem/15072332>.
2734
2735         Reviewed by Brent Fulgham.
2736
2737         * WebView.cpp:
2738         (WebView::gestureNotify):
2739         (WebView::gesture):
2740
2741 2013-09-24  Brent Fulgham  <bfulgham@apple.com>
2742
2743         [Windows] Unreviewed crash fix after r156321.
2744
2745         Fix a few mistakes in the use of Vectors and counting that introduced test crashes.
2746
2747         * WebHistory.cpp:
2748         (WebHistory::removeAllItems): Loop termination tried to test an unsigned for negative size.
2749         (WebHistory::removeItemFromDateCaches): Vector was being created with empty entries.
2750         (WebHistory::addItemToDateCaches): Ditto.
2751
2752 2013-09-24  Patrick Gansterer  <paroga@webkit.org>
2753
2754         Make WebHistory more type safe
2755         https://bugs.webkit.org/show_bug.cgi?id=121801
2756
2757         Reviewed by Brent Fulgham.
2758
2759         Use a WTF::Vector instead of a CFMutableArray to avoid
2760         casting from void* all the time when accessing the entries.
2761         This reduces the dependencies on CoreFoundation too.
2762
2763         * WebHistory.cpp:
2764         (getDayBoundaries):
2765         (beginningOfDay):
2766         (dateKey):
2767         (WebHistory::orderedItemsLastVisitedOnDay):
2768         (WebHistory::removeItemFromDateCaches):
2769         (WebHistory::addItemToDateCaches):
2770         * WebHistory.h:
2771
2772 2013-09-23  Patrick Gansterer  <paroga@webkit.org>
2773
2774         [WIN] Implement WebMutableURLRequest::setHTTPBody()
2775         https://bugs.webkit.org/show_bug.cgi?id=91920
2776
2777         Reviewed by Brent Fulgham.
2778
2779         * WebMutableURLRequest.cpp:
2780         (WebMutableURLRequest::setHTTPBody):
2781         (WebMutableURLRequest::setHTTPBodyStream):
2782
2783 2013-09-23  Patrick Gansterer  <paroga@webkit.org>
2784
2785         use NOMINMAX instead of #define min min
2786         https://bugs.webkit.org/show_bug.cgi?id=73563
2787
2788         Reviewed by Brent Fulgham.
2789
2790         Use NOMINMAX instead of #define min/max as a cleaner
2791         way of ensuring that Windows system header files don't
2792         define min/max as macro in the first place.
2793
2794         * WebKitPrefix.h:
2795
2796 2013-09-22  Sam Weinig  <sam@webkit.org>
2797
2798         Try to fix the windows build (take 2).
2799
2800         * DOMEventsClasses.cpp:
2801         (DOMEvent::createInstance):
2802
2803 2013-09-22  Sam Weinig  <sam@webkit.org>
2804
2805         Try to fix the windows build.
2806
2807         * DOMEventsClasses.cpp:
2808         (DOMEvent::createInstance):
2809
2810 2013-09-20  Roger Fong  <roger_fong@apple.com>
2811
2812         Handle panning gestures messages properly on Windows.
2813         https://bugs.webkit.org/show_bug.cgi?id=121711.
2814
2815         Reviewed by Brent Fulgham.
2816
2817         This fixes a number of issues with panning gestures on Windows.
2818         1. Two finger panning in one direction can sometimes cause some unexpected scrolling 
2819         in the other direction when the gesture first begins (directions meaning horizontal and vertical)
2820         2. Single finger horizontal panning should only be disabled when attempting to select text.
2821         3. Scrolling via panning should be clamped, other wise we can scroll contents completely out of the scrollview.
2822         4. Horizontal overpan should work.
2823         5. Overpan should occur whenever we scroll to the extents of whichever scroll view we're currently scrolling.
2824
2825         * WebView.cpp:
2826         (WebView::gestureNotify):
2827         (WebView::gesture):
2828
2829 2013-09-20  Patrick Gansterer  <paroga@webkit.org>
2830
2831         Fix MIDL files for Visual Studio 2012
2832         https://bugs.webkit.org/show_bug.cgi?id=121552
2833
2834         Reviewed by Brent Fulgham.
2835
2836         The MIDL compiler shipped with Visual Studio 2012 does not accept forward declarations
2837         with typedefs. Use the struct keyword in the function signature to fix this problem.
2838
2839         * Interfaces/DOMPrivate.idl:
2840
2841 2013-09-20  Patrick Gansterer  <paroga@webkit.org>
2842
2843         Remove duplicated secondsPerDay variables
2844         https://bugs.webkit.org/show_bug.cgi?id=121601
2845
2846         Reviewed by Andreas Kling.
2847
2848         Use secondsPerDay from DateMath.h instead of defining it again.
2849
2850         * MarshallingHelpers.cpp:
2851
2852 2013-09-20  Csaba Osztrogonác  <ossy@webkit.org>
2853
2854         Add covariant RenderElement* Element::renderer()
2855         https://bugs.webkit.org/show_bug.cgi?id=121638
2856
2857         Unreviewed buildfix after r156144.
2858
2859         * DOMCoreClasses.cpp:
2860         (DOMElement::boundingBox):
2861         (DOMElement::font):
2862
2863 2013-09-18  Brent Fulgham  <bfulgham@apple.com>
2864
2865         [Windows] Build fix after r156063.
2866
2867         * WebHistory.h: std::unique is an algorithm; std::unique_ptr is what we want here!
2868
2869 2013-09-18  Sam Weinig  <sam@webkit.org>
2870
2871         Replace use of OwnArrayPtr<Foo> with std::unique_ptr<Foo[]> in WebKit and WebKit2
2872         https://bugs.webkit.org/show_bug.cgi?id=121568
2873
2874         Reviewed by Andreas Kling.
2875
2876         * WebHistory.cpp:
2877         (WebHistory::removeAllItems):
2878         (WebHistory::orderedLastVisitedDays):
2879         (WebHistory::addItemToDateCaches):
2880         (WebHistory::removeItemFromDateCaches):
2881         * WebHistory.h:
2882         * WebPreferences.cpp:
2883         (WebPreferences::copyWebKitPreferencesToCFPreferences):
2884
2885 2013-09-18  Patrick Gansterer  <paroga@webkit.org>
2886
2887         Make WebHistory more type safe
2888         https://bugs.webkit.org/show_bug.cgi?id=119389
2889
2890         Reviewed by Brent Fulgham.
2891
2892         Use a WTF::HashMap instead of a CFMutableDictionary to avoid
2893         casting from void* all the time when accessing the entries.
2894         This reduces the dependencies on CoreFoundation too.
2895
2896         * WebHistory.cpp:
2897         (WebHistory::WebHistory):
2898         (WebHistory::removeAllItems):
2899         (WebHistory::allItems):
2900         (WebHistory::removeItem):
2901         (WebHistory::addItem):
2902         (WebHistory::visitedURL):
2903         (WebHistory::itemForURL):
2904         (WebHistory::removeItemForURLString):
2905         (WebHistory::itemForURLString):
2906         (WebHistory::addVisitedLinksToPageGroup):
2907         * WebHistory.h:
2908
2909 2013-09-17  Brent Fulgham  <bfulgham@apple.com>
2910
2911         [Windows] Speculative build fix after r155963
2912
2913         * WebKitCOMAPI.cpp:
2914         (classFactory): Use nullptr rather than 0 for HashMap.
2915
2916 2013-09-16  Enrica Casucci  <enrica@apple.com>
2917
2918         Remove unused function didSetSelectionTypesForPasteboard from EditorClient.
2919         https://bugs.webkit.org/show_bug.cgi?id=121464
2920
2921         Reviewed by Darin Adler.
2922
2923         * WebCoreSupport/WebEditorClient.cpp:
2924         * WebCoreSupport/WebEditorClient.h:
2925
2926 2013-09-16  Brent Fulgham  <bfulgham@apple.com>
2927
2928         [Windows] Rendering stops when mouse is moving for some types of animations.
2929         https://bugs.webkit.org/show_bug.cgi?id=121329
2930
2931         Reviewed by Anders Carlsson.
2932
2933         * WebView.cpp:
2934         (WebView::WebView): Add new display flag.
2935         (WebView::repaint): Mark view as needing a display operation.
2936         (WebView::addToDirtyRegion): Ditto
2937         (WebView::scrollBackingStore): Ditto
2938         (WebView::sizeChanged): Ditto
2939         (WebView::updateBackingStore): Ditto
2940         (WebView::performLayeredWindowUpdate): Mark the WebView as having been
2941         moved to screen.
2942         (WebView::paintIntoWindow): Ditto
2943         (WebView::WebViewWndProc): If the view needs display, and it was not done during
2944         this message loop iteration, draw the screen.
2945         * WebView.h:
2946         (WebView::needsDisplay): Added
2947
2948 2013-09-15  Patrick Gansterer  <paroga@webkit.org>
2949
2950         Remove dependency on CoreFoundation from WebIconDatabase
2951         https://bugs.webkit.org/show_bug.cgi?id=119387
2952
2953         Reviewed by Brent Fulgham.
2954
2955         * COMVariantSetter.h:
2956         (COMVariant::operator&):
2957         (COMVariant::operator->):
2958         * WebIconDatabase.cpp:
2959         (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
2960         (postDidAddIconNotification):
2961         * WebIconDatabase.h:
2962         * WebView.cpp:
2963         (WebView::notifyDidAddIcon):
2964
2965 2013-09-11  Brent Fulgham  <bfulgham@apple.com>
2966
2967         [Windows] Avoid converting from IntSize->SIZE->IntSize
2968         https://bugs.webkit.org/show_bug.cgi?id=121180
2969
2970         Reviewed by Anders Carlsson.
2971
2972         * WebIconDatabase.cpp:
2973         (WebIconDatabase::iconForURL): Guard against null SIZE argument.
2974         This was dereferenced with checking before! Use IntSize arguments.
2975         (WebIconDatabase::defaultIconWithSize): Used passed-in IntSize.
2976         (createDIB): Take an IntSize argument.
2977         (WebIconDatabase::getOrCreateSharedBitmap): Take IntSize argument.
2978         (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto.
2979         * WebIconDatabase.h: Update for IntSize arguments.
2980         * WebView.cpp:
2981         (WebView::dispatchDidReceiveIconFromWebFrame): Pass address of
2982         IntSize directly, rather than casting to SIZE first.
2983
2984 2013-09-11  Brent Fulgham  <bfulgham@apple.com>
2985
2986         [Windows] Unreviewed build correction after r155507.
2987
2988         * WebCoreSupport/WebChromeClient.cpp: Add missing header include
2989         to define isHTMLVideoElement.
2990
2991 2013-09-11  peavo@outlook.com  <peavo@outlook.com>
2992
2993         [Win] Compile error when VIDEO is not enabled.
2994         https://bugs.webkit.org/show_bug.cgi?id=121156
2995
2996         Reviewed by Andreas Kling.
2997
2998         * WebView.cpp:
2999         (WebView::enterFullscreenForNode): Protect isHTMLVideoElement() function with ENABLE(VIDEO) guard.
3000
3001 2013-09-11  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3002
3003         Generate more HTML type checks and casting
3004         https://bugs.webkit.org/show_bug.cgi?id=121080
3005
3006         Reviewed by Andreas Kling.
3007
3008         Clean-up remained functions of HTML elements using auto-generated isFooElement(),
3009         and replace toFooElement() with ELEMENT_TYPE_CASTS() macro.
3010
3011         Besides this patch clean-up unnecessary checks which are being supported by
3012         auto-generated isFooElement().
3013
3014         * WebCoreSupport/WebChromeClient.cpp:
3015         (WebChromeClient::supportsFullscreenForNode):
3016         * WebView.cpp:
3017         (WebView::enterFullscreenForNode):
3018
3019 2013-09-10  Brent Fulgham  <bfulgham@apple.com>
3020
3021         [Windows] Create SharedGDIObject Class Template
3022         https://bugs.webkit.org/show_bug.cgi?id=121037
3023
3024         Reviewed by Anders Carlsson.
3025
3026         * WebView.cpp: Change implementations to use the new SharedGDIObject
3027         class.
3028         (WebView::addToDirtyRegion):
3029         (WebView::scrollBackingStore):
3030         (WebView::updateBackingStore):
3031         (WebView::performLayeredWindowUpdate):
3032         (WebView::paint):
3033         (WebView::backingStore):
3034         * WebView.h: Ditto.
3035
3036 2013-09-09  Brent Fulgham  <bfulgham@apple.com>
3037
3038         [Windows] Change from using OwnPtr<GDI Stuff> to new GDIObject template.
3039         https://bugs.webkit.org/show_bug.cgi?id=120778
3040
3041         Reviewed by Anders Carlsson.
3042
3043         * FullscreenVideoController.cpp:
3044         (FullscreenVideoController::createHUDWindow): Switch to GDIObject.
3045         (FullscreenVideoController::draw): Ditto.
3046         * FullscreenVideoController.h:
3047         * WebCoreSupport/EmbeddedWidget.cpp:
3048         (EmbeddedWidget::frameRectsChanged): Switch to GDIObject.
3049         * WebNodeHighlight.cpp:
3050         (WebNodeHighlight::update): Switch to GDIObject.
3051         * WebView.cpp:
3052         (WebView::scrollBackingStore): Switch to GDIObject.
3053         (WebView::updateBackingStore): Ditto.
3054         (WebView::performLayeredWindowUpdate): Ditto.
3055         (WebView::paint): Ditto.
3056         (WebView::paintIntoBackingStore): Ditto.
3057         (WebView::paintIntoWindow): Ditto.
3058         (WebView::generateSelectionImage): Ditto.
3059
3060 2013-09-05  Roger Fong  <roger_fong@apple.com>
3061
3062         [Windows] Implement text offset methods of IAccessibleText interface.
3063         https://bugs.webkit.org/show_bug.cgi?id=120820.
3064         <rdar://problem/14925242>
3065
3066         Reviewed by Brenet Fulgham.
3067
3068         * AccessibleTextImpl.cpp:
3069         (AccessibleText::get_textBeforeOffset):
3070         (AccessibleText::get_textAfterOffset):
3071         (AccessibleText::get_textAtOffset):
3072         (AccessibleText::isInRange):
3073         * AccessibleTextImpl.h:
3074
3075 2013-08-30  Andreas Kling  <akling@apple.com>
3076
3077         Windows build fix for Document& Node::document().
3078
3079         * DOMCoreClasses.cpp:
3080         (DOMNode::createInstance):
3081
3082 2013-08-28  Brent Fulgham  <bfulgham@apple.com>
3083
3084         [Windows] LayoutTests on Windows debug fails and exits early
3085         https://bugs.webkit.org/show_bug.cgi?id=120438
3086
3087         Reviewed by Tim Horton.
3088
3089         Visual Studio mishandles char* containing utf8-content. Must manually
3090         escape non-ASCII characters so the byte stream is correct for localized
3091         string lookup.
3092
3093         * WebCoreSupport/WebFrameLoaderClient.cpp:
3094         (WebFrameLoaderClient::cannotShowURLError): Replace unicode apostrophe
3095         character with utf8-byte equivalent.
3096         (WebFrameLoaderClient::cannotShowMIMETypeError): Ditto.
3097         (WebFrameLoaderClient::dispatchDidFailToStartPlugin): Ditto.
3098
3099 2013-08-28  Brent Fulgham  <bfulgham@apple.com>
3100
3101         [Windows] Provide useful error messages for WebKitErrorDomain errors
3102         https://bugs.webkit.org/show_bug.cgi?id=120428
3103
3104         Reviewed by Anders Carlsson.
3105
3106         * WebCoreSupport/WebFrameLoaderClient.cpp:
3107         (WebFrameLoaderClient::cancelledError): Provide text for this error.
3108         (WebFrameLoaderClient::blockedError): Hook up WEB_UI_STRING for this error.
3109         (WebFrameLoaderClient::cannotShowURLError): Ditto
3110         (WebFrameLoaderClient::interruptedForPolicyChangeError): Ditto
3111         (WebFrameLoaderClient::cannotShowMIMETypeError): Ditto
3112         (WebFrameLoaderClient::fileDoesNotExistError): Provide text for this error.
3113         (WebFrameLoaderClient::pluginWillHandleLoadError): Hook up WEB_UI_STRING for this error.
3114         (WebFrameLoaderClient::dispatchDidFailToStartPlugin): Ditto.
3115         (WebFrameLoaderClient::createJavaAppletWidget): Ditto.
3116         (WebFrameLoaderClient::webHistory): Remove blank line above method.
3117
3118 2013-08-27  Brent Fulgham  <bfulgham@apple.com>
3119
3120         [Windows] Loader is not properly determining supported MIME types
3121         https://bugs.webkit.org/show_bug.cgi?id=120383
3122
3123         Reviewed by Eric Carlson.
3124
3125         * WebCoreSupport/WebFrameLoaderClient.cpp:
3126         (WebFrameLoaderClient::canShowMIMEType): Modify to ask WebView if it can
3127         display the media type. Use new helper function to avoid converting a String
3128         to BSTR, only to immediatly be converted from BSTR back to String.
3129         (WebFrameLoaderClient::canShowMIMETypeAsHTML): Ditto.
3130         * WebView.cpp:
3131         (WebView::canShowMIMEType): Move logic to a new (similarly named) helper function.
3132         (WebView::canShowMIMETypeAsHTML): Ditto.
3133         * WebView.h: Add declaration for two new helper functions.
3134
3135 2013-08-26  Ryosuke Niwa  <rniwa@webkit.org>
3136
3137         Another Windows build fix after r154658.
3138
3139         * WebView.cpp:
3140         (WebView::shouldClose):
3141
3142 2013-08-26  Roger Fong  <roger_fong@apple.com>
3143
3144         Unreviewed. Add missing interface files that were left out in r154627.
3145
3146         * Interfaces/Accessible2/AccessibleEditableText.idl: Added.
3147         * Interfaces/Accessible2/AccessibleText.idl: Added.
3148         * Interfaces/Accessible2/AccessibleText2.idl: Added.
3149
3150 2013-08-26  Brent Fulgham  <bfulgham@apple.com>
3151
3152         [Windows] Let Page create the main Frame.
3153         https://bugs.webkit.org/show_bug.cgi?id=120323
3154
3155         Reviewed by Anders Carlsson.
3156
3157         * WebCoreSupport/WebFrameLoaderClient.cpp:
3158         (WebFrameLoaderClient::WebFrameLoaderClient): Remove assertion that frame
3159         is passed as construction argument.
3160         (WebFrameLoaderClient::createFrame): Call new 'createSubframeWithOwnerElement'
3161         * WebCoreSupport/WebFrameLoaderClient.h: Update constructor to
3162         handle case of no default frame argument.
3163         (WebFrameLoaderClient::setWebFrame): Added.
3164         * WebFrame.cpp:
3165         (WebFrame::createSubframeWithOwnerElement): Renamed from 'init'.
3166         (WebFrame::initWithWebFrameView): Added for new page-driven load path.
3167         * WebFrame.h: Added new method signatures.
3168         * WebView.cpp:
3169         (WebView::initWithFrame): Update to match behavior of other ports.
3170
3171 2013-08-23  Roger Fong  <roger_fong@apple.com>
3172
3173         <https://bugs.webkit.org/show_bug.cgi?id=119829> Add IAccessibleText and IAccessibleEditableText implementation.
3174
3175         Reviewed by Chris Fleizach.
3176
3177         Add IAccessibleText and IAccessibleEditableText interfaces and implementation to AppleWin port.
3178
3179         * AccessibleBase.cpp:
3180         (AccessibleBase::createInstance): Create an AccessibleText instance when necessary.
3181         (AccessibleBase::QueryService):
3182         * AccessibleBase.h:
3183         * AccessibleTextImpl.cpp: Added.
3184         (AccessibleText::AccessibleText):
3185         (AccessibleText::addSelection):
3186         (AccessibleText::get_attributes): Not Implemented
3187         (AccessibleText::get_caretOffset):
3188         (AccessibleText::get_characterExtents):
3189         (AccessibleText::get_nSelections):
3190         (AccessibleText::get_offsetAtPoint):
3191         (AccessibleText::get_selection):
3192         (AccessibleText::get_text):
3193         (AccessibleText::get_textBeforeOffset): Not Implemented
3194         (AccessibleText::get_textAfterOffset): Not Implemented
3195         (AccessibleText::get_textAtOffset): Not Implemented
3196         (AccessibleText::removeSelection):
3197         (AccessibleText::setCaretOffset):
3198         (AccessibleText::setSelection):
3199         (AccessibleText::get_nCharacters):
3200         (AccessibleText::scrollSubstringTo):
3201         (AccessibleText::scrollSubstringToPoint):
3202         (AccessibleText::get_newText): Not Implemented
3203         (AccessibleText::get_oldText): Not Implemented
3204         (AccessibleText::get_attributeRange): Not Implemented
3205         (AccessibleText::copyText):
3206         (AccessibleText::deleteText):
3207         (AccessibleText::insertText):
3208         (AccessibleText::cutText):
3209         (AccessibleText::pasteText):
3210         (AccessibleText::replaceText):
3211         (AccessibleText::setAttributes): Not Implemented
3212         (AccessibleText::QueryInterface):
3213         (AccessibleText::Release):
3214         (AccessibleText::convertSpecialOffset):
3215         (AccessibleText::initialCheck):
3216         * AccessibleTextImpl.h: Added.
3217         (AccessibleText::~AccessibleText):
3218         (AccessibleText::AddRef):
3219
3220 2013-08-24  Darin Adler  <darin@apple.com>
3221
3222         Frame::tree should return a reference instead of a pointer
3223         https://bugs.webkit.org/show_bug.cgi?id=120259
3224
3225         Reviewed by Andreas Kling.
3226
3227         * WebCoreSupport/WebFrameLoaderClient.cpp:
3228         (WebFrameLoaderClient::createFrame):
3229         * WebFrame.cpp:
3230         (WebFrame::name):
3231         (WebFrame::findFrameNamed):
3232         (WebFrame::parentFrame):
3233         (EnumChildFrames::EnumChildFrames):
3234         (EnumChildFrames::Next):
3235         (EnumChildFrames::Skip):
3236         (EnumChildFrames::Reset):
3237         (WebFrame::isDescendantOfFrame):
3238         (WebFrame::unmarkAllMisspellings):
3239         (WebFrame::unmarkAllBadGrammar):
3240         * WebView.cpp:
3241         (WebView::initWithFrame):
3242         (incrementFrame):
3243         (WebView::clearMainFrameName):
3244         Use tree(). instead of tree()->.
3245
3246 2013-08-23  Brent Fulgham  <bfulgham@apple.com>
3247
3248         [Windows] Refactor WebFrame to compose with WebFrameLoaderClient
3249         https://bugs.webkit.org/show_bug.cgi?id=120092
3250
3251         Reviewed by Anders Carlsson.
3252
3253         Revise WebFrame implementation on Windows to no longer subclass from
3254         WebFrameLoaderClient, instead using a fully-functional WebFrameLoaderClient
3255         as a helper object to perform the tasks, as is done in the other
3256         ports. This is a step towards completing
3257         https://bugs.webkit.org/show_bug.cgi?id=119964.
3258
3259         * WebCoreSupport/WebFrameLoaderClient.cpp: Add a new 'private data'
3260         object to house the policy delegate and function.
3261         (WebFrameLoaderClient::WebFramePolicyListenerPrivate::WebFramePolicyListenerPrivate):
3262         Create the new private data object.
3263         (WebFrameLoaderClient::WebFramePolicyListenerPrivate::~WebFramePolicyListenerPrivate):
3264         Destroy the new private data object.
3265         (WebFrameLoaderClient::WebFrameLoaderClient): Moved from WebFrame.cpp
3266         (WebFrameLoaderClient::frameLoaderDestroyed): Ditto
3267         (WebFrameLoaderClient::makeRepresentation): Ditto
3268         (WebFrameLoaderClient::forceLayoutForNonHTML): Ditto
3269         (WebFrameLoaderClient::setCopiesOnScroll): Ditto
3270         (WebFrameLoaderClient::detachedFromParent2): Ditto
3271         (WebFrameLoaderClient::detachedFromParent3): Ditto
3272         (WebFrameLoaderClient::convertMainResourceLoadToDownload): Ditto
3273         (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache): Ditto
3274         (WebFrameLoaderClient::dispatchDidFailProvisionalLoad): Ditto
3275         (WebFrameLoaderClient::dispatchDidFailLoad): Ditto
3276         (WebFrameLoaderClient::dispatchDecidePolicyForResponse): Ditto
3277         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction): Ditto
3278         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): Ditto
3279         (WebFrameLoaderClient::dispatchUnableToImplementPolicy): Ditto
3280         (WebFrameLoaderClient::dispatchWillSendSubmitEvent): Ditto
3281         (WebFrameLoaderClient::dispatchWillSubmitForm): Ditto
3282         (WebFrameLoaderClient::startDownload): Ditto
3283         (WebFrameLoaderClient::willChangeTitle): Ditto
3284         (WebFrameLoaderClient::didChangeTitle): Ditto
3285         (WebFrameLoaderClient::cancelledError): Ditto
3286         (WebFrameLoaderClient::blockedError): Ditto
3287         (WebFrameLoaderClient::cannotShowURLError): Ditto
3288         (WebFrameLoaderClient::interruptedForPolicyChangeError): Ditto
3289         (WebFrameLoaderClient::cannotShowMIMETypeError): Ditto
3290         (WebFrameLoaderClient::fileDoesNotExistError): Ditto
3291         (WebFrameLoaderClient::pluginWillHandleLoadError): Ditto
3292         (WebFrameLoaderClient::shouldFallBack): Ditto
3293         (WebFrameLoaderClient::canHandleRequest): Ditto
3294         (WebFrameLoaderClient::canShowMIMEType): Ditto
3295         (WebFrameLoaderClient::canShowMIMETypeAsHTML): Ditto
3296         (WebFrameLoaderClient::representationExistsForURLScheme): Ditto
3297         (WebFrameLoaderClient::generatedMIMETypeForURLScheme): Ditto
3298         (WebFrameLoaderClient::frameLoadCompleted): Ditto
3299         (WebFrameLoaderClient::saveViewStateToItem): Ditto
3300         (WebFrameLoaderClient::restoreViewState): Ditto
3301         (WebFrameLoaderClient::provisionalLoadStarted): Ditto
3302         (WebFrameLoaderClient::didFinishLoad): Ditto
3303         (WebFrameLoaderClient::prepareForDataSourceReplacement): Ditto
3304         (WebFrameLoaderClient::userAgent): Ditto
3305         (WebFrameLoaderClient::objectContentType): Ditto
3306         (WebFrameLoaderClient::createJavaAppletWidget): Ditto
3307         (WebFrameLoaderClient::overrideMediaType): Ditto
3308         (WebFrameLoaderClient::documentElementAvailable): Ditto
3309         (WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld): Ditto
3310         (WebFrameLoaderClient::registerForIconNotification): Ditto
3311         (WebFrameLoaderClient::didPerformFirstNavigation): Ditto
3312         (WebFrameLoaderClient::createNetworkingContext): Ditto
3313         (WebFrameLoaderClient::shouldAlwaysUsePluginDocument): Ditto
3314         (WebFrameLoaderClient::revertToProvisionalState): Ditto
3315         (WebFrameLoaderClient::setMainFrameDocumentReady): Ditto
3316         (WebFrameLoaderClient::cancelPolicyCheck): Ditto
3317         (WebFrameLoaderClient::setUpPolicyListener): Ditto
3318         (WebFrameLoaderClient::receivedPolicyDecision): Ditto
3319         * WebCoreSupport/WebFrameLoaderClient.h:
3320         (WebFrameLoaderClient::webFrame): Add accessor method
3321         * WebDataSource.cpp:
3322         (WebDataSource::representation): Loader client is now
3323         a WebFrameLoaderClient (not a WebFrame).
3324         (WebDataSource::webFrame): Ditto
3325         * WebElementPropertyBag.cpp:
3326         (WebElementPropertyBag::Read): Loader client is now
3327         a WebFrameLoaderClient (not a WebFrame)
3328         * WebFrame.cpp:
3329         (kit): Revise for WebFrameLoaderClient use.
3330         (WebFrame::WebFramePrivate::WebFramePrivate): Remove
3331         WebFramePolicyListener and FramePolicyFunction, since
3332         they are no longer needed here. They were moved to
3333         the WebFrameLoaderClient object.
3334         (WebFrame::WebFrame): No longer inheriting from
3335         WebFramePolicyListener.
3336         (WebFrame::init): Frame::create now needs to be supplied
3337         with a new WebFramePolicyListener, rather than 'this'
3338         * WebFrame.h:
3339         * WebFramePolicyListener.cpp:
3340         (WebFramePolicyListener::receivedPolicyDecision): Loader
3341         client is now a WebFramePolicyClient, not a WebFrame.
3342
3343 2013-08-22  Andreas Kling  <akling@apple.com>
3344
3345         Another Windows build fix.
3346
3347         * WebDataSource.cpp:
3348         (WebDataSource::subresourceForURL):
3349
3350 2013-08-22  Andreas Kling  <akling@apple.com>
3351
3352         Windows build juice.
3353
3354         * WebDataSource.cpp:
3355         (WebDataSource::representation):
3356         (WebDataSource::webFrame):
3357         * WebElementPropertyBag.cpp:
3358         (WebElementPropertyBag::Read):
3359         * WebFramePolicyListener.cpp:
3360         (WebFramePolicyListener::receivedPolicyDecision):
3361
3362 2013-08-21  Brent Fulgham  <bfulgham@apple.com>
3363
3364         <https://webkit.org/b/120125> [Windows] Correct Tooltip Text
3365
3366         Reviewed by Anders Carlsson.
3367
3368         * WebCoreSupport/WebChromeClient.cpp:
3369         (WebChromeClient::runOpenPanel): Make sure valid strings are passed to the File Open
3370         API call.
3371         * WebView.cpp:
3372         (WebView::setToolTip): Correct tooltip text (avoid passing address to temporary
3373         return value.)
3374
3375 2013-08-20  Brent Fulgham  <bfulgham@apple.com>
3376
3377         <https://webkit.org/b/120098> [Windows] Enable the New Web Inspector
3378
3379         Reviewed by Brian Weinstein.
3380
3381         * WebCoreSupport/WebInspectorClient.cpp:
3382         (WebInspectorClient::openInspectorFrontend): Use the new inspector
3383         if present in the WebKit distribution.
3384         (WebInspectorFrontendClient::localizedStringsURL): Use the new
3385         Web Inspector's localized strings (if present).
3386
3387 2013-08-20  Pratik Solanki  <psolanki@apple.com>
3388
3389         <https://webkit.org/b/120029> Document::markers() should return a reference
3390
3391         Reviewed by Andreas Kling.
3392
3393         Document::m_markers is never NULL so return a reference from Document::markers(). Also mark
3394         m_markers as const and initialize it in member initialization.
3395
3396         * WebFrame.cpp:
3397         (WebFrame::unmarkAllMisspellings):
3398         (WebFrame::unmarkAllBadGrammar):
3399         * WebView.cpp:
3400         (WebView::rectsForTextMatches):
3401
3402 2013-08-19  Pratik Solanki  <psolanki@apple.com>
3403
3404         <https://webkit.org/b/119918> Frame::selection() should return a reference
3405
3406         Reviewed by Darin Adler.
3407
3408         m_selection is never NULL so return a reference from Frame::selection(). Also removed some
3409         unnecessary null checks and assert diff ts exposed as a result.
3410
3411         * WebFrame.cpp:
3412         (WebFrame::currentForm):
3413         * WebView.cpp:
3414         (WebView::updateFocusedAndActiveState):
3415         (WebView::selectionRect):
3416         (WebView::centerSelectionInVisibleArea):
3417         (WebView::hasSelectedRange):
3418         (WebView::replaceSelectionWithText):
3419         (WebView::clearSelection):
3420         (WebView::prepareCandidateWindow):
3421         (WebView::onIMERequestCharPosition):
3422         (WebView::onIMERequestReconvertString):
3423         (WebView::firstRectForCharacterRangeForTesting):
3424         (WebView::selectedRangeForTesting):
3425
3426 2013-08-17  Andreas Kling  <akling@apple.com>
3427
3428         Windows build fix after r154219.
3429
3430         * WebFrame.cpp:
3431         (WebFrame::dispatchDidClearWindowObjectInWorld):
3432
3433 2013-08-17  Darin Adler  <darin@apple.com>
3434
3435         <https://webkit.org/b/119941> Make Page::dragController return a reference
3436
3437         Reviewed by Andreas Kling.
3438
3439         * WebCoreSupport/WebDragClient.cpp:
3440         (WebDragClient::startDrag):
3441         * WebView.cpp:
3442         (WebView::keyStateToDragOperation):
3443         (WebView::DragEnter):
3444         (WebView::DragOver):
3445         (WebView::DragLeave):
3446         (WebView::Drop):
3447         Updated call sites.
3448
3449 2013-08-16  Pratik Solanki  <psolanki@apple.com>
3450
3451         <https://webkit.org/b/119852> Frame::scriptController() should return a reference
3452
3453         Reviewed by Andreas Kling.
3454
3455         m_script is never NULL so we can just return a reference. Also remove some pointless null
3456         checks as a result of doing this.
3457
3458         * WebFrame.cpp:
3459         (WebFrame::globalContext):
3460         (WebFrame::globalContextForScriptWorld):
3461         (WebFrame::dispatchDidClearWindowObjectInWorld):
3462         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
3463         * WebView.cpp:
3464         (WebView::stringByEvaluatingJavaScriptFromString):
3465
3466 2013-08-16  Andreas Kling  <akling@apple.com>
3467
3468         Windows build juice.
3469
3470         * WebView.cpp:
3471         (WebView::paintIntoBackingStore):
3472
3473 2013-08-15  Brent Fulgham  <bfulgham@apple.com>
3474
3475         [Windows] Consolidate WebKit Bundle handling
3476         https://bugs.webkit.org/show_bug.cgi?id=119869
3477
3478         Reviewed by Tim Horton.
3479
3480         * WebCoreSupport/WebInspectorClient.cpp:
3481         (WebInspectorClient::openInspectorFrontend): Switch to new
3482         WebCore::webkitBundle() method.
3483         (WebInspectorFrontendClient::localizedStringsURL): Ditto.
3484
3485 2013-08-15  Anders Carlsson  <andersca@apple.com>
3486
3487         <https://webkit.org/b/119859> Frame::loader() should return a reference
3488
3489         Reviewed by Andreas Kling.
3490
3491         * WebCoreSupport/WebContextMenuClient.cpp:
3492         (WebContextMenuClient::searchWithGoogle):
3493         * WebCoreSupport/WebFrameLoaderClient.cpp:
3494         (WebFrameLoaderClient::updateGlobalHistory):
3495         (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
3496         (WebFrameLoaderClient::savePlatformDataToCachedFrame):
3497         (WebFrameLoaderClient::createFrame):
3498         (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
3499         * WebCoreSupport/WebFrameNetworkingContext.cpp:
3500         (WebFrameNetworkingContext::blockedError):
3501         (WebFrameNetworkingContext::referrer):
3502         * WebElementPropertyBag.cpp:
3503         (WebElementPropertyBag::Read):
3504         * WebFrame.cpp:
3505         (kit):
3506         (WebFrame::reloadFromOrigin):
3507         (WebFrame::loadRequest):
3508         (WebFrame::loadData):
3509         (WebFrame::dataSource):
3510         (WebFrame::provisionalDataSource):
3511         (WebFrame::stopLoading):
3512         (WebFrame::reload):
3513         (WebFrame::firstLayoutDone):
3514         (WebFrame::loadType):
3515         (WebFrame::clearOpener):
3516         (WebFrame::dispatchWillSubmitForm):
3517         (WebFrame::receivedPolicyDecision):
3518         (WebFrame::dispatchDecidePolicyForResponse):
3519         (WebFrame::dispatchDecidePolicyForNewWindowAction):
3520         (WebFrame::dispatchDecidePolicyForNavigationAction):
3521         (WebFrame::createJavaAppletWidget):
3522         * WebFramePolicyListener.cpp:
3523         (WebFramePolicyListener::receivedPolicyDecision):
3524         * WebView.cpp:
3525         (WebView::close):
3526         (WebView::canShowMIMEType):
3527         (WebView::setCustomTextEncodingName):
3528         (WebView::loadBackForwardListFromOtherView):
3529         (WebView::shouldClose):
3530
3531 2013-08-12  Andreas Kling  <akling@apple.com>
3532
3533         More Windows build juice.
3534
3535         * WebView.cpp:
3536         (WebView::notifyPreferencesChanged):
3537
3538 2013-08-09  Christophe Dumez  <ch.dumez@sisa.samsung.com>
3539
3540         Add support for KeyboardEvent.location attribute
3541         https://bugs.webkit.org/show_bug.cgi?id=119326
3542
3543         Reviewed by Benjamin Poulain.
3544
3545         Add new location attribute to DOMKeyboardEvent.
3546
3547         * DOMEventsClasses.cpp:
3548         (DOMKeyboardEvent::location):
3549         * DOMEventsClasses.h:
3550         * Interfaces/DOMEvents.idl:
3551
3552 2013-08-07  Antti Koivisto  <antti@apple.com>
3553
3554         Try to fix Win WK1 build.
3555
3556         Not reviewed.
3557
3558         * WebFrame.cpp:
3559         (WebFrame::invalidate):
3560
3561 2013-08-07  Patrick Gansterer  <paroga@webkit.org>
3562
3563         Remove dependency on CoreFoundation from WebURLResponse
3564         https://bugs.webkit.org/show_bug.cgi?id=119390
3565
3566         Reviewed by Brent Fulgham.
3567
3568         * WebURLResponse.cpp:
3569         (localizedShortDescriptionForStatusCode):
3570         (WebURLResponse::localizedStringForStatusCode):
3571
3572 2013-08-05  Mark Rowe  <mrowe@apple.com>
3573
3574         Another Windows release build fix.
3575
3576         * WebKitLogging.cpp: Wrap the implementation file in !LOG_DISABLED #if's too.
3577
3578 2013-08-05  Mark Rowe  <mrowe@apple.com>
3579
3580         Build fix for Windows release build.
3581
3582         * WebKitLogging.h: Wrap things in !LOG_DISABLED so that we don't attempt to use macros that have not been defined.
3583
3584 2013-07-26  Mark Rowe  <mrowe@apple.com>
3585
3586         Logging should be configurable using human-readable channel names rather than crazy bitmasks
3587         <http://webkit.org/b/119031>
3588
3589         Implement shared logic for initializing logging channels based on human-readable channel names in WTF,
3590         and rework the WebCore, WebKit and WebKit2 logging initialization on top of it.
3591
3592         Logging channels may now be enabled by providing a comma-separated list of channel names, with the special
3593         "all" name enabling all channels. Channel names prefixed with a leading "-" will result in the named channel
3594         being disabled. For instance, specifying "all,-history,-loading" will result in all logging channels except
3595         for history and loading being enabled.
3596
3597         For OS X developers, this also changes the name of the user defaults used to enable logging. This is done to allow
3598         the old user defaults to remain set for those people that need to switch between version of WebKit before and
3599         after this change. Where the old user default keys were WebCoreLogLevel, WebKitLogLevel and WebKit2LogLevel,
3600         the new user default keys are WebCoreLogging, WebKitLogging and WebKit2Logging.
3601
3602         For GTK developers, this changes the separator used in the WEBKIT_DEBUG environment variable to a comma for
3603         consistency with the other platforms and to enable more code sharing.
3604
3605         While doing this work I've also taken the opportunity to eliminate the need to touch multiple files when
3606         adding a new logging channel. Now only the header in the relevant project needs to be updated.
3607
3608         Reviewed by Sam Weinig.
3609
3610         * WebKitLogging.cpp: Declare a WEBKIT_LOG_CHANNELS macro that can be used to apply a preprocessor macro across
3611         the set of all logging channels. Use this macro to declare the logging channels.
3612         * WebKitLogging.h: Use WEBKIT_LOG_CHANNELS to define all of the channels. Pass the channels to the new WTF
3613         function that handles the initialization. As per the previous implementation a developer needs to hard-code
3614         their desired log level here.
3615         * WebView.cpp: Switch from WebCore's InitializeLogging.h to Logging.h.
3616
3617 2013-08-01  Brent Fulgham  <bfulgham@apple.com>
3618
3619         [Windows] WebKit1 Fullscreen Video Play is Broken
3620         https://bugs.webkit.org/show_bug.cgi?id=119415
3621
3622         Reviewed by Jer Noble.
3623
3624         * WebPreferences.cpp:
3625         (WebPreferences::initializeDefaultSettings): Set accelerated
3626         rendering on by default on systems that support it.
3627         * WebView.cpp:
3628         (WebView::exitFullscreen): Clean up Fullscreen video controller
3629         once it is no longer used. This was preventing users from being
3630         able to reenter Fullscreen mode after leaving it.
3631         (WebView::fullScreenClientForceRepaint): Change assert to
3632         match the member actually being used in the method.
3633
3634 2013-08-01  Patrick Gansterer  <paroga@webkit.org>
3635
3636         Rearrange the code of FrameWin
3637         https://bugs.webkit.org/show_bug.cgi?id=117984
3638
3639         Reviewed by Brent Fulgham.
3640
3641         * WebView.cpp:
3642         (WebView::generateSelectionImage):
3643
3644 2013-07-25  Andreas Kling  <akling@apple.com>
3645
3646         ChromeClient::focusedNodeChanged() should be focusedElementChanged().
3647         <http://webkit.org/b/119110>
3648
3649         Reviewed by Anders Carlsson.
3650
3651         * WebCoreSupport/WebChromeClient.cpp:
3652         (WebChromeClient::focusedElementChanged):
3653         * WebCoreSupport/WebChromeClient.h:
3654
3655 2013-07-23  peavo@outlook.com  <peavo@outlook.com>
3656
3657         [Win] WebView didReceiveIcon delegate call doesn't have the icon in it
3658         https://bugs.webkit.org/show_bug.cgi?id=100379
3659
3660         Reviewed by Brent Fulgham.
3661
3662         Added missing icon to WebView didReceiveIcon delegate call, fixes <rdar://problem/5491010>.
3663
3664         * WebView.cpp:
3665         (WebView::dispatchDidReceiveIconFromWebFrame):
3666
3667 2013-07-22  peavo@outlook.com  <peavo@outlook.com>
3668
3669         [Curl] Download fails for certain urls.
3670         https://bugs.webkit.org/show_bug.cgi?id=118468
3671
3672         Reviewed by Brent Fulgham.
3673
3674         Initialize download from provided resource handle, request, and response object.
3675
3676         * WebDownload.h: Use WebCore namespace for Curl download class.
3677         * WebDownloadCurl.cpp:
3678         (WebDownload::init): Initialize download from provided resource handle, request, and response object.
3679
3680 2013-07-19  peavo@outlook.com  <peavo@outlook.com>
3681
3682         [Curl] Http response code 401 (Authentication required) is not handled.
3683         https://bugs.webkit.org/show_bug.cgi?id=118849
3684
3685         Reviewed by Brent Fulgham.
3686
3687         The current Curl implementation does not handle a 401 response.
3688         When receiving http code 401, we need to give a notification that authorization is required, by calling the appropriate notification method.
3689         This gives a WebKit client the possibility to present a password dialog to the user.
3690         In response to this, we should provide Curl with the given username and password, so another request can be sent with the given credentials.
3691
3692         * WebCoreSupport/WebFrameLoaderClient.cpp:
3693         (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
3694             Implement empty method; use the same implementation as the CFNetwork version does,
3695             notify delegate when authorization is required. 
3696         * WebURLAuthenticationChallengeSenderCurl.cpp:
3697         (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge):
3698             Implement empty method; use the same implementation as the CFNetwork version does.
3699         (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge):
3700             Implement empty method; use the same implementation as the CFNetwork version does.
3701         (WebURLAuthenticationChallengeSender::useCredential):
3702             Implement empty method; use the same implementation as the CFNetwork version does.
3703
3704 2013-07-17  Kangil Han  <kangil.han@samsung.com>
3705
3706         Use toHTMLMediaElement
3707         https://bugs.webkit.org/show_bug.cgi?id=118727
3708
3709         Reviewed by Ryosuke Niwa.
3710
3711         To avoid direct use of static_cast, this patch uses toHTMLMediaElement for code cleanup.
3712
3713         * WebView.cpp:
3714         (WebView::enterFullscreenForNode):
3715
3716 2013-07-16  Kangil Han  <kangil.han@samsung.com>
3717
3718         Use toHTMLSelectElement and dismiss isHTMLSelectElement
3719         https://bugs.webkit.org/show_bug.cgi?id=118714
3720
3721         Reviewed by Ryosuke Niwa.
3722
3723         To avoid direct use of static_cast, this patch introduces toHTMLIFrameElement for code cleanup.
3724         Additionally, this patch removes isHTMLSelectElement because not all element subclasses can be checked by a combination of tag names.
3725
3726         * DOMHTMLClasses.cpp:
3727         (DOMHTMLSelectElement::options):
3728         (DOMHTMLSelectElement::activateItemAtIndex):
3729
3730 2013-07-15  Kangil Han  <kangil.han@samsung.com>
3731
3732         Introduce toHTMLIFrameElement
3733         https://bugs.webkit.org/show_bug.cgi?id=118672
3734
3735         Reviewed by Ryosuke Niwa.
3736
3737         To avoid direct use of static_cast, this patch introduces toHTMLIFrameElement for code cleanup.
3738
3739         * DOMHTMLClasses.cpp:
3740         (DOMHTMLIFrameElement::contentFrame):
3741
3742 2013-07-09  Jer Noble  <jer.noble@apple.com>
3743
3744         Reviewed by Simon Fraser.
3745
3746         Remember the scroll position and restore after exiting full-screen mode.
3747         https://bugs.webkit.org/show_bug.cgi?id=61956
3748
3749         Add support for two new FullScreenClient callbacks for saving and restoring the 
3750         scroll position of the full-screen frame.
3751
3752         * WebView.cpp:
3753         (WebView::fullScreenClientSaveScrollPosition):
3754         (WebView::fullScreenClientRestoreScrollPosition):
3755         * WebView.h:
3756
3757 2013-07-01  Jochen Eisinger  <jochen@chromium.org>
3758
3759         Remove support for consumable user gestures
3760         https://bugs.webkit.org/show_bug.cgi?id=118247
3761
3762         Reviewed by Geoffrey Garen.
3763
3764         * WebCoreSupport/WebContextMenuClient.cpp:
3765         (WebContextMenuClient::searchWithGoogle):
3766
3767 2013-07-01  peavo@outlook.com  <peavo@outlook.com>
3768
3769         [Curl] WebDownload init method is not implemented.
3770         https://bugs.webkit.org/show_bug.cgi?id=118241
3771
3772         Reviewed by Brent Fulgham.
3773
3774         The WebDownload::init() method called when a normal load is changed to a download
3775         because of a decision by the policy delegate, is not implemented for Curl.
3776
3777         * WebDownloadCurl.cpp:
3778         (WebDownload::init): Implement init() method.
3779
3780 2013-07-01  Kangil Han  <kangil.han@samsung.com>
3781
3782         Adopt toHTMLTextAreaElement for code cleanup
3783         https://bugs.webkit.org/show_bug.cgi?id=118226
3784
3785         Reviewed by Andreas Kling.
3786
3787         To enhance readability, this patch adopts toHTMLTextAreaElement.
3788         This also helps out to reduce duplicated use of static_cast.
3789
3790         * DOMCoreClasses.cpp:
3791         (DOMElement::createInstance):
3792         * DOMHTMLClasses.cpp:
3793         (DOMHTMLTextAreaElement::form):
3794         (DOMHTMLTextAreaElement::value):
3795         (DOMHTMLTextAreaElement::setValue):
3796         (DOMHTMLTextAreaElement::select):
3797         (DOMHTMLTextAreaElement::isUserEdited):
3798
3799 2013-06-29  Kangil Han  <kangil.han@samsung.com>
3800
3801         Adopt is/toHTMLOptionElement for code cleanup
3802         https://bugs.webkit.org/show_bug.cgi?id=118212
3803
3804         Reviewed by Andreas Kling.
3805
3806         To enhance readability, this patch adopts is/toHTMLOptionElement.
3807         This also helps out to reduce duplicated use of static_cast.
3808
3809         * DOMCoreClasses.cpp:
3810         (DOMElement::createInstance):
3811         * DOMHTMLClasses.cpp:
3812         (DOMHTMLOptionElement::text):
3813         (DOMHTMLOptionElement::label):
3814
3815 2013-06-28  peavo@outlook.com  <peavo@outlook.com>
3816
3817         [WinCairo] Compilation error.
3818         https://bugs.webkit.org/show_bug.cgi?id=118131
3819
3820         Reviewed by Brent Fulgham.
3821
3822         * Interfaces/IWebView.idl: Include needed accessibility interface.
3823         * WebCoreSupport/WebChromeClient.cpp:
3824         (WebChromeClient::AXFinishFrameLoad): Accessibility methods should not be inside FULLSCREEN_API ifdef.
3825
3826 2013-06-27  Kangil Han  <kangil.han@samsung.com>
3827
3828         Adopt is/toHTMLInputElement for code cleanup
3829         https://bugs.webkit.org/show_bug.cgi?id=118130
3830
3831         Reviewed by Antti Koivisto.
3832
3833         To enhance readability, this patch adopts is/toHTMLInputElement.
3834         This also helps out to reduce duplicated use of static_cast.
3835
3836         * DOMCoreClasses.cpp:
3837         (DOMElement::createInstance):
3838         * DOMHTMLClasses.cpp:
3839         (DOMHTMLInputElement::form):
3840         (DOMHTMLInputElement::disabled):
3841         (DOMHTMLInputElement::readOnly):
3842         (DOMHTMLInputElement::setType):
3843         (DOMHTMLInputElement::value):
3844         (DOMHTMLInputElement::setValue):
3845         (DOMHTMLInputElement::setValueForUser):
3846         (DOMHTMLInputElement::select):
3847         (DOMHTMLInputElement::setSelectionStart):
3848         (DOMHTMLInputElement::selectionStart):
3849         (DOMHTMLInputElement::setSelectionEnd):
3850         (DOMHTMLInputElement::selectionEnd):
3851         (DOMHTMLInputElement::isTextField):
3852         (DOMHTMLInputElement::rectOnScreen):
3853         (DOMHTMLInputElement::replaceCharactersInRange):
3854         (DOMHTMLInputElement::selectedRange):
3855         (DOMHTMLInputElement::setAutofilled):
3856         (DOMHTMLInputElement::isAutofilled):
3857         (DOMHTMLInputElement::isUserEdited):
3858         * WebFrame.cpp:
3859         (inputElementFromDOMElement):
3860
3861 2013-06-27  Anders Carlsson  <andersca@apple.com>
3862
3863         Get rid of the last uses of deprecatedCharactersWithNullTermination()
3864         https://bugs.webkit.org/show_bug.cgi?id=118159
3865
3866         Reviewed by Andreas Kling.
3867
3868         Replace calls to deprecatedCharactersWithNullTermination() with charactersWithNullTermination().data().
3869
3870         * COMPropertyBag.h:
3871         (::GetPropertyInfo):
3872         * WebCoreSupport/WebChromeClient.cpp:
3873         (WebChromeClient::runOpenPanel):
3874         * WebCoreSupport/WebInspectorClient.cpp:
3875         (WebInspectorFrontendClient::updateWindowTitle):
3876         * WebDownloadCFNet.cpp:
3877         (WebDownload::didFinish):
3878         * WebKitSystemBits.cpp:
3879         (WebVolumeFreeSize):
3880         * WebLocalizableStrings.cpp:
3881         (LocalizedString::operator LPCTSTR):
3882         * WebView.cpp:
3883         (WebView::setToolTip):
3884
3885 2013-06-26  Anders Carlsson  <andersca@apple.com>
3886
3887         Deprecate StringImpl::charactersWithNullTermination
3888         https://bugs.webkit.org/show_bug.cgi?id=118108
3889
3890         Reviewed by Beth Dakin.
3891
3892         Rename calls to charactersWithNullTermination to deprecatedCharactersWithNullTermination.
3893
3894         * COMPropertyBag.h:
3895         (::GetPropertyInfo):
3896         * WebCoreSupport/WebChromeClient.cpp:
3897         (WebChromeClient::runOpenPanel):
3898         * WebCoreSupport/WebInspectorClient.cpp:
3899         (WebInspectorFrontendClient::updateWindowTitle):
3900         * WebDownloadCFNet.cpp:
3901         (WebDownload::didFinish):
3902         * WebKitSystemBits.cpp:
3903         (WebVolumeFreeSize):
3904         * WebLocalizableStrings.cpp:
3905         (LocalizedString::operator LPCTSTR):
3906         * WebView.cpp:
3907         (WebView::setToolTip):
3908
3909 2013-06-26  Roger Fong  <roger_fong@apple.com>
3910
3911         Add an accessibility delegate interface to AppleWin port.
3912         https://bugs.webkit.org/show_bug.cgi?id=118094.
3913
3914         Reviewed by Brent Fulgham.
3915
3916         * Interfaces/AccessibilityDelegate.idl: Added.
3917         * Interfaces/IWebView.idl:
3918         * Interfaces/WebKit.idl:
3919         * WebCoreSupport/WebChromeClient.cpp: Add methods that call into the AccessibilityDelegate.
3920         (WebChromeClient::AXStartFrameLoad):
3921         (WebChromeClient::AXFinishFrameLoad):
3922         * WebCoreSupport/WebChromeClient.h:
3923         * WebView.cpp: Add support for setting and getting the AccessibilityDelegate from the WebView.
3924         (WebView::close):
3925         (WebView::setAccessibilityDelegate):
3926         (WebView::accessibilityDelegate):
3927         * WebView.h:
3928
3929 2013-06-24  Kangil Han  <kangil.han@samsung.com>
3930
3931         Adopt is/toHTMLFormElement for code cleanup
3932         https://bugs.webkit.org/show_bug.cgi?id=117937
3933
3934         Reviewed by Andreas Kling.
3935
3936         This refers to http://src.chromium.org/viewvc/blink?view=revision&revision=152859
3937
3938         To enhance readibility, this patch adopts is/toHTMLFormElement.
3939         This also helps out to reduce duplicated use of static_cast.
3940
3941         * DOMCoreClasses.cpp:
3942         (DOMElement::createInstance):
3943         * DOMHTMLClasses.cpp:
3944         (DOMHTMLFormElement::action):
3945         (DOMHTMLFormElement::method):
3946         * WebFrame.cpp:
3947         (formElementFromDOMElement):
3948
3949 2013-06-20  Brent Fulgham  <bfulgham@apple.com>
3950
3951         [Windows] AX: Radio buttons with "tab" role should describe themselves as tabs.
3952         https://bugs.webkit.org/show_bug.cgi?id=117837
3953
3954         Reviewed by Chris Fleizach.
3955
3956         * AccessibleBase.cpp:
3957         (MSAARole): Don't expose TabRole as a radio button to satisfy buggy screen readers.
3958
3959 2013-06-21  Christophe Dumez  <ch.dumez@sisa.samsung.com>
3960
3961         REGRESSION (r150663): Using webkitAudioContext in Inspector makes it undefined everywhere
3962         https://bugs.webkit.org/show_bug.cgi?id=117825
3963
3964         Reviewed by Kentaro Hara.
3965
3966         Use Settings to enable Web Audio instead of RuntimeEnabledFeatures.
3967
3968         * WebView.cpp:
3969         (WebView::notifyPreferencesChanged):
3970
3971 2013-06-19  Brent Fulgham  <bfulgham@apple.com>
3972
3973         [Windows] Correct style on last patch.
3974
3975         Reviewed by Tim Horton.
3976
3977         * WebCoreSupport/WebFrameNetworkingContext.cpp:
3978         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
3979
3980 2013-06-19  Brent Fulgham  <bfulgham@apple.com>
3981
3982         [Windows] Unreviewed build correction.
3983
3984         * WebCoreSupport/WebFrameNetworkingContext.cpp:
3985         (WebFrameNetworkingContext::ensurePrivateBrowsingSession): Make sure returned generic
3986         type is a CFStringRef before casting.
3987
3988 2013-06-19  Roger Fong  <roger_fong@apple.com>
3989
3990         Unreviewed build fix for Apple Windows port.
3991
3992         * WebCoreSupport/WebFrameNetworkingContext.cpp:
3993         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
3994
3995 2013-06-19  Brent Fulgham  <bfulgham@apple.com>
3996
3997         [Windows] AX: Extend notification support.
3998         https://bugs.webkit.org/show_bug.cgi?id=117761
3999
4000         Reviewed by Anders Carlsson.
4001
4002         * AccessibleDocument.cpp:
4003         (AccessibleDocument::state): Improve handling of focus state.
4004         * AccessibleDocument.h: Provide signature for new state override.
4005
4006 2013-06-19  peavo@outlook.com  <peavo@outlook.com>
4007
4008         [WinCairo] Does not compile.
4009         https://bugs.webkit.org/show_bug.cgi?id=117798
4010
4011         Reviewed by Brent Fulgham.
4012
4013         Add USE(CFNETWORK) guards.
4014
4015         * WebCoreSupport/WebFrameNetworkingContext.cpp: Add USE(CFNETWORK) guard.
4016         (WebFrameNetworkingContext::ensurePrivateBrowsingSession): Change USE(CF_NETWORK) to USE(CFNETWORK).
4017         * WebCoreSupport/WebFrameNetworkingContext.h: Add USE(CFNETWORK) guard.
4018
4019 2013-06-18  Roger Fong  <roger_fong@apple.com>
4020
4021         Unreviewed. Build fix for Apple Windows.
4022
4023         * WebCoreSupport/WebFrameNetworkingContext.h:
4024         (WebFrameNetworkingContext::create):
4025         (WebFrameNetworkingContext::WebFrameNetworkingContext):
4026         (WebFrameNetworkingContext::userAgent):
4027
4028 2013-06-18  Roger Fong  <roger_fong@apple.com>
4029
4030         Re-implement WebFrameNetworkingContext.
4031         <rdar://problem/13174821>.
4032
4033         Reviewed by Alexey Proskuryakov.
4034
4035         * WebCoreSupport/WebFrameNetworkingContext.cpp: Added.
4036         (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
4037         (WebFrameNetworkingContext::setPrivateBrowsingStorageSessionIdentifierBase):
4038         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
4039         (WebFrameNetworkingContext::destroyPrivateBrowsingSession):
4040         (WebFrameNetworkingContext::blockedError):
4041         (WebFrameNetworkingContext::referrer):
4042         (WebFrameNetworkingContext::storageSession):
4043         * WebCoreSupport/WebFrameNetworkingContext.h: Added.
4044         (WebFrameNetworkingContext::create):
4045         (WebFrameNetworkingContext::WebFrameNetworkingContext):
4046
4047 2013-06-18  Alexey Proskuryakov  <ap@apple.com>
4048
4049         <rdar://problem/13174821> Remove files with an incorrect license.
4050
4051         Rubber-stamped by Maciej Stachowiak.
4052
4053         This will break the build, stay tuned for a fix coming soon.
4054
4055         * WebCoreSupport/WebFrameNetworkingContext.cpp: Removed.
4056         * WebCoreSupport/WebFrameNetworkingContext.h: Removed.
4057
4058 2013-06-12  Brent Fulgham  <bfulgham@apple.com>
4059
4060         [Windows] Implement Accessibility2 APIs in Windows.
4061         https://bugs.webkit.org/show_bug.cgi?id=117561
4062
4063         Reviewed by Anders Carlsson.
4064
4065         * AccessibleBase.cpp: Add stubs for IAccessible2 interface, replace attributeValue
4066         method with get_attribute from IAccessible2 API.
4067         * AccessibleBase.h: Ditto.
4068         * AccessibleDocument.cpp: Revise signatures for IAccessible2.
4069         * AccessibleDocument.h: Ditto.
4070         * AccessibleImage.cpp: Revise signatures for IAccessible2.
4071         * AccessibleImage.h: Ditto.
4072         * Interfaces/Accessible2: Added.
4073         * Interfaces/Accessible2/Accessible2.idl: Added.
4074         * Interfaces/Accessible2/Accessible2_2.idl: Added.
4075         * Interfaces/Accessible2/AccessibleApplication.idl: Added.
4076         * Interfaces/Accessible2/AccessibleRelation.idl: Added.
4077         * Interfaces/Accessible2/AccessibleStates.idl: Added.
4078         * Interfaces/Accessible2/IA2CommonTypes.idl: Added.
4079         * Interfaces/AccessibleComparable.idl:
4080         * Interfaces/WebKit.idl: Reference IAccessible2 types.
4081         * WebFrame.cpp: 
4082         (WebFrame::accessible): Pass window handle to IAccessible types.
4083
4084 2013-06-12  Brent Fulgham  <bfulgham@apple.com>
4085
4086         [Windows] Support Title UI Element Accessibility Attribute
4087         https://bugs.webkit.org/show_bug.cgi?id=117530
4088
4089         Reviewed by Anders Carlsson.
4090
4091         * AccessibleBase.cpp:
4092         (AccessibleBase::attributeValue): Extend to handle Title UI Element.
4093         * AccessibleBase.h: Revise signature to use a variant argument.
4094         * Interfaces/AccessibleComparable.idl:  Revise interface to use variant
4095
4096 2013-06-12  Zan Dobersek  <zdobersek@igalia.com>
4097
4098         Remove memoryInfoEnabled, quantizedMemoryInfoEnabled settings
4099         https://bugs.webkit.org/show_bug.cgi?id=117512
4100
4101         Reviewed by Darin Adler.
4102
4103         * Interfaces/IWebPreferencesPrivate.idl: Remove memoryInfoEnabled, setMemoryInfoEnabled entries.
4104         * WebPreferenceKeysPrivate.h: Remove the WebKitMemoryInfoEnabledPreferenceKey definition.
4105         * WebPreferences.cpp: Remove the memoryInfo, setMemoryInfoEnabled methods.
4106         (WebPreferences::initializeDefaultSettings): Remove the WebKitMemoryInfoEnabledPreferenceKey entry initialization.
4107         * WebPreferences.h: Remove the memoryInfo, setMemoryInfoEnabled method declarations.
4108         * WebView.cpp:
4109         (WebView::notifyPreferencesChanged): Remove the Settings::setMemoryInfoEnabled call, the method is being removed.
4110
4111 2013-06-11  Brent Fulgham  <bfulgham@apple.com>
4112
4113         [Windows] Unreviewed build correction after r151440.
4114
4115         * AccessibleBase.cpp:
4116         (MSAARole): Switch back to emiting ROLE_SYSTEM_LISTITEM for
4117         ListItemRole Web role to avoid breaking existing test.
4118
4119 2013-06-11  Brent Fulgham  <bfulgham@apple.com>
4120
4121         [Windows] Implement 'attributeValue' accessor to support testing.
4122         https://bugs.webkit.org/show_bug.cgi?id=117513
4123
4124         Reviewed by Anders Carlsson.
4125
4126         * AccessibleBase.cpp:
4127         (AccessibleBase::attributeValue): Added.
4128         * AccessibleBase.h: Added method declaration.
4129         * Interfaces/AccessibleComparable.idl: New accessor interface.
4130
4131 2013-06-09  Brent Fulgham  <bfulgham@apple.com>
4132
4133         [Windows] Provide MSAA mappings for more WebCore roles.
4134         https://bugs.webkit.org/show_bug.cgi?id=117389
4135
4136         Reviewed by Chris Fleizach.
4137
4138         * AccessibleBase.cpp:
4139         (MSAARole): Add additional mappings between WebCore roles and MSAA roles.
4140
4141 2013-06-07  Christophe Dumez  <ch.dumez@sisa.samsung.com>
4142
4143         Get rid of outdated raises() from Web IDL
4144         https://bugs.webkit.org/show_bug.cgi?id=117350
4145
4146         Reviewed by Darin Adler.
4147
4148         Replace raises() by [RaisesException].
4149
4150         * Interfaces/DOMEvents.idl:
4151
4152 2013-06-03  Roger Fong  <roger_fong@apple.com>
4153
4154         Nuke VS2005 files from the tree.
4155         <rdar://problem/14042021>.
4156
4157         Rubberstamped by Brent Fulgham.
4158
4159         * WebKit.vcproj: Removed.
4160         * WebKit.vcproj/FixMIDLHeaders.pl: Removed.
4161         * WebKit.vcproj/Interfaces.vcproj: Removed.
4162         * WebKit.vcproj/InterfacesCommon.vsprops: Removed.
4163         * WebKit.vcproj/InterfacesDebug.vsprops: Removed.
4164         * WebKit.vcproj/InterfacesDebugAll.vsprops: Removed.
4165         * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops: Removed.
4166         * WebKit.vcproj/InterfacesPostBuild.cmd: Removed.
4167         * WebKit.vcproj/InterfacesPreBuild.cmd: Removed.
4168         * WebKit.vcproj/InterfacesProduction.vsprops: Removed.
4169         * WebKit.vcproj/InterfacesRelease.vsprops: Removed.
4170         * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: Removed.
4171         * WebKit.vcproj/WebKit.make: Removed.
4172         * WebKit.vcproj/WebKit.rc: Removed.
4173         * WebKit.vcproj/WebKit.sln: Removed.
4174         * WebKit.vcproj/WebKit.submit.sln: Removed.
4175         * WebKit.vcproj/WebKit.vcproj: Removed.
4176         * WebKit.vcproj/WebKitApple.vsprops: Removed.
4177         * WebKit.vcproj/WebKitCFLite.vsprops: Removed.
4178         * WebKit.vcproj/WebKitDirectX.vsprops: Removed.
4179         * WebKit.vcproj/WebKitExportGenerator.vcproj: Removed.
4180         * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd: Removed.
4181         * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Removed.
4182         * WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Removed.
4183         * WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Removed.
4184         * WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Removed.
4185         * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd: Removed.
4186         * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd: Removed.
4187         * WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Removed.
4188         * WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Removed.
4189         * WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Removed.
4190         * WebKit.vcproj/WebKitExports.def.in: Removed.
4191         * WebKit.vcproj/WebKitGUID.vcproj: Removed.
4192         * WebKit.vcproj/WebKitGUIDCommon.vsprops: Removed.
4193         * WebKit.vcproj/WebKitGUIDDebug.vsprops: Removed.
4194         * WebKit.vcproj/WebKitGUIDDebugAll.vsprops: Removed.
4195         * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops: Removed.
4196         * WebKit.vcproj/WebKitGUIDPostBuild.cmd: Removed.
4197         * WebKit.vcproj/WebKitGUIDPreBuild.cmd: Removed.
4198         * WebKit.vcproj/WebKitGUIDProduction.vsprops: Removed.
4199         * WebKit.vcproj/WebKitGUIDRelease.vsprops: Removed.
4200         * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: Removed.
4201         * WebKit.vcproj/WebKitLibCommon.vsprops: Removed.
4202         * WebKit.vcproj/WebKitLibDebug.vsprops: Removed.
4203         * WebKit.vcproj/WebKitLibDebugAll.vsprops: Removed.
4204         * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Removed.
4205         * WebKit.vcproj/WebKitLibPostBuild.cmd: Removed.
4206         * WebKit.vcproj/WebKitLibPreBuild.cmd: Removed.
4207         * WebKit.vcproj/WebKitLibProduction.vsprops: Removed.
4208         * WebKit.vcproj/WebKitLibRelease.vsprops: Removed.
4209         * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Removed.
4210         * WebKit.vcproj/WebKit_Cairo.def: Removed.
4211         * WebKit.vcproj/WebKit_Cairo_debug.def: Removed.
4212         * WebKit.vcproj/deleteButton.png: Removed.
4213         * WebKit.vcproj/deleteButtonPressed.png: Removed.
4214         * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Removed.