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