Clean up DOMTimer related settings
[WebKit-https.git] / Source / WebKit / win / ChangeLog
1 2015-03-19  Chris Dumez  <cdumez@apple.com>
2
3         Clean up DOMTimer related settings
4         https://bugs.webkit.org/show_bug.cgi?id=142837
5
6         Reviewed by Darin Adler.
7
8         Stop setting the DOMTimers' default minimum interval to 4ms as this
9         is now the default.
10
11         * WebView.cpp:
12         (WebView::initWithFrame):
13         (WebView::defaultMinimumTimerInterval):
14
15 2015-03-16  Conrad Shultz  <conrad_shultz@apple.com>
16
17         Allow clients to selectively disable plug-ins
18         https://bugs.webkit.org/show_bug.cgi?id=142506
19
20         Reviewed by Anders Carlsson.
21
22         * WebCoreSupport/WebPlatformStrategies.h:
23         * WebCoreSupport/WebPlatformStrategies.cpp:
24         (WebPlatformStrategies::getWebVisiblePluginInfo):
25         Wrap getPluginInfo();
26
27         * WebView.cpp:
28         (WebView::canShowMIMEType):
29         Update to reflect function rename.
30
31 2015-03-13  Commit Queue  <commit-queue@webkit.org>
32
33         Unreviewed, rolling out r181483.
34         https://bugs.webkit.org/show_bug.cgi?id=142688
35
36         Caused use-after-free on many tests (Requested by ap on
37         #webkit).
38
39         Reverted changeset:
40
41         "Allow clients to selectively disable plug-ins"
42         https://bugs.webkit.org/show_bug.cgi?id=142506
43         http://trac.webkit.org/changeset/181483
44
45 2015-03-10  Conrad Shultz  <conrad_shultz@apple.com>
46
47         Allow clients to selectively disable plug-ins
48         https://bugs.webkit.org/show_bug.cgi?id=142506
49
50         Reviewed by Anders Carlsson.
51
52         * WebCoreSupport/WebPlatformStrategies.h:
53         * WebCoreSupport/WebPlatformStrategies.cpp:
54         (WebPlatformStrategies::getWebVisiblePluginInfo):
55         Wrap getPluginInfo();
56
57         * WebView.cpp:
58         (WebView::canShowMIMEType):
59         Update to reflect function rename.
60
61 2015-03-04  Brent Fulgham  <bfulgham@apple.com>
62
63         [Win] AX: Implement support for ARIA 1.1 'switch' role
64         https://bugs.webkit.org/show_bug.cgi?id=142016
65         <rdar://problem/19953264>
66
67         Reviewed by Chris Fleizach.
68
69         The changes in Bug 141986 did not update the proper Windows routines to
70         support the new ARIA 1.1 role. This turned out to be trivial.
71
72         * AccessibleBase.cpp:
73         (MSAARole): Provide MSAA role for 'switch'. Also correct 'ToggleButtonRole',
74         which was improperly reporting as 'push button'.
75
76 2015-03-04  Yusuke Suzuki  <utatane.tea@gmail.com>
77
78         Hide Promise with runtime flags under Cocoa JSContext API
79         https://bugs.webkit.org/show_bug.cgi?id=141965
80
81         Reviewed by Filip Pizlo.
82
83         Add new JSC runtime flag, PromiseDisabled.
84
85         * Interfaces/IWebPreferences.idl:
86         * Interfaces/IWebPreferencesPrivate.idl:
87
88 2015-03-03  Chris Dumez  <cdumez@apple.com>
89
90         Access ApplicationCacheStorage global instance via singleton() static member function
91         https://bugs.webkit.org/show_bug.cgi?id=142239
92
93         Reviewed by Anders Carlsson.
94
95         Access ApplicationCacheStorage global instance via singleton() static
96         member function as per WebKit coding style.
97
98 2015-03-01  Chris Dumez  <cdumez@apple.com>
99
100         Make NotificationCenter / Notification suspendable
101         https://bugs.webkit.org/show_bug.cgi?id=142117
102         <rdar://problem/19923085>
103
104         Reviewed by Andreas Kling.
105
106         Provide implementation for NotificationClient::hasPendingPermissionRequests().
107
108         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
109         (WebDesktopNotificationsDelegate::requestPermission):
110         (hasPendingPermissionRequests):
111         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
112
113 2015-02-26  Brent Fulgham  <bfulgham@apple.com>
114
115         [Win] Remove remaining SafariTheme cruft
116         https://bugs.webkit.org/show_bug.cgi?id=142075
117
118         Reviewed by Anders Carlsson.
119
120         Remove reference to SafariTheme-switching preference.
121
122         * Interfaces/IWebPreferencesPrivate.idl:
123         * WebKitClassFactory.cpp:
124         (WebKitClassFactory::WebKitClassFactory):
125         (WebKitClassFactory::QueryInterface):
126         (WebKitClassFactory::AddRef):
127         (WebKitClassFactory::Release):
128         (WebKitClassFactory::CreateInstance):
129         (WebKitClassFactory::LockServer):
130         * WebPreferences.cpp:
131         (WebPreferences::shouldPaintNativeControls): Deleted.
132         (WebPreferences::setShouldPaintNativeControls): Deleted.
133         * WebPreferences.h:
134         * WebView.cpp:
135         (WebView::initWithFrame):
136         (WebView::notifyPreferencesChanged):
137
138 2015-02-26  Chris Dumez  <cdumez@apple.com>
139
140         Rename DatabaseManager::manager() to DatabaseManager::singleton()
141         https://bugs.webkit.org/show_bug.cgi?id=142054
142
143         Reviewed by Ryosuke Niwa.
144
145         Rename DatabaseManager::manager() to DatabaseManager::singleton() as
146         per coding style and use WTF::NeverDestroyed.
147
148         * WebDatabaseManager.cpp:
149         (WebDatabaseManager::sharedWebDatabaseManager):
150         (WebDatabaseManager::origins):
151         (WebDatabaseManager::databasesWithOrigin):
152         (WebDatabaseManager::detailsForDatabase):
153         (WebDatabaseManager::deleteAllDatabases):
154         (WebDatabaseManager::deleteOrigin):
155         (WebDatabaseManager::deleteDatabase):
156         (WebDatabaseManager::setQuota):
157         (WebKitInitializeWebDatabasesIfNecessary):
158         * WebSecurityOrigin.cpp:
159         (WebSecurityOrigin::usage):
160         (WebSecurityOrigin::quota):
161         (WebSecurityOrigin::setQuota):
162         * WebView.cpp:
163         (WebView::notifyPreferencesChanged):
164
165 2015-02-25  Brent Fulgham  <bfulgham@apple.com>
166
167         [Win] Use WEBCORE_EXPORT instead of Definition file
168         https://bugs.webkit.org/show_bug.cgi?id=141734
169
170         Reviewed by Alex Christensen.
171
172         * CFDictionaryPropertyBag.h: Add required export macros.
173         * Interfaces/WebKit.idl: Ditto.
174         * WebCoreStatistics.cpp: Add missing #include (required
175         now that we are exporting more symbols.)
176         * WebKitCOMAPI.h: Add required export macros.
177         * WebKitDLL.h: Ditto.
178         * WebKitPrefix.h: Ditto.
179         * WebView.cpp: Add missing #include required using new
180         due to new export mechanism.
181
182 2015-02-24  Yusuke Suzuki  <utatane.tea@gmail.com>
183
184         REGRESSION(r179429): Can't type comments in Facebook
185         https://bugs.webkit.org/show_bug.cgi?id=141859
186
187         Reviewed by Brent Fulgham.
188
189         Added Windows support.
190
191         * Interfaces/IWebPreferences.idl:
192         * Interfaces/IWebPreferencesPrivate.idl:
193         * WebPreferenceKeysPrivate.h:
194         * WebPreferences.cpp:
195         (WebPreferences::initializeDefaultSettings):
196         (WebPreferences::javaScriptRuntimeFlags):
197         (WebPreferences::setJavaScriptRuntimeFlags):
198         (WebPreferences::isWebSecurityEnabled):
199         * WebPreferences.h:
200         * WebView.cpp:
201         (WebView::notifyPreferencesChanged):
202
203 2015-02-18  Chris Dumez  <cdumez@apple.com>
204
205         Access FontCache global instance via singleton() static member function
206         https://bugs.webkit.org/show_bug.cgi?id=141726
207
208         Reviewed by Daniel Bates.
209
210         Access FontCache global instance via singleton() static member function,
211         as per coding style.
212
213 2015-02-09  Brian J. Burg  <burg@cs.washington.edu>
214
215         Web Inspector: remove some unnecessary Inspector prefixes from class names in Inspector namespace
216         https://bugs.webkit.org/show_bug.cgi?id=141372
217
218         Reviewed by Joseph Pecoraro.
219
220         * WebCoreSupport/WebInspectorClient.cpp:
221         (WebInspectorFrontendClient::destroyInspectorView):
222
223 2015-02-11  Brent Fulgham  <bfulgham@apple.com>
224
225         [Win] [64-bit] Work around MSVC2013 Runtime Bug
226         https://bugs.webkit.org/show_bug.cgi?id=141498
227         <rdar://problem/19803642>
228
229         Reviewed by Anders Carlsson.
230
231         Disable FMA3 instruction use in the MSVC math library to
232         work around a VS2013 runtime crash. We can remove this
233         workaround when we switch to VS2015.
234
235         * WebKitDLL.cpp: Call _set_FMA3_enable(0) to disable FMA3 support.
236
237 2015-02-11  peavo@outlook.com  <peavo@outlook.com>
238
239         [WinCairo] Accelerated compositing should be disabled when graphics card does not support it.
240         https://bugs.webkit.org/show_bug.cgi?id=140667
241
242         Reviewed by Alex Christensen.
243
244         * WebCoreSupport/AcceleratedCompositingContext.cpp:
245         (AcceleratedCompositingContext::scrollNonCompositedContents):
246         (AcceleratedCompositingContext::acceleratedCompositingAvailable):
247         * WebCoreSupport/AcceleratedCompositingContext.h:
248         * WebView.cpp:
249         (WebView::notifyPreferencesChanged):
250
251 2015-02-09  Brent Fulgham  <bfulgham@apple.com>
252
253         AX: [Win] OBJID_CLIENT comparisons broken in 64-bit builds
254         https://bugs.webkit.org/show_bug.cgi?id=141391
255         <rdar://problem/19767342>
256
257         Reviewed by Anders Carlsson.
258
259         * WebView.cpp:
260         (WebView::onGetObject): Cast lParam as LONG to ensure proper word size for
261         comparison against OBJID_CLIENT.
262
263 2015-02-07  Chris Dumez  <cdumez@apple.com>
264
265         Add Vector::removeFirstMatching() / removeAllMatching() methods taking lambda functions
266         https://bugs.webkit.org/show_bug.cgi?id=141321
267
268         Reviewed by Darin Adler.
269
270         Use new Vector::removeFirstMatching() / removeAllMatching() methods.
271
272 2015-02-02  Chris Dumez  <cdumez@apple.com>
273
274         Access MemoryCache singleton using MemoryCache::singleton()
275         https://bugs.webkit.org/show_bug.cgi?id=141104
276
277         Reviewed by Andreas Kling.
278
279         Access MemoryCache singleton using MemoryCache::singleton() static
280         member function, instead of a free function, as per the recent
281         coding style discussion on WebKit-dev.
282
283 2015-01-30  Chris Dumez  <cdumez@apple.com>
284
285         Rename shared() static member functions to singleton() for singleton classes.
286         https://bugs.webkit.org/show_bug.cgi?id=141088
287
288         Reviewed by Ryosuke Niwa and Benjamin Poulain.
289
290         Rename shared() static member functions to singleton() for singleton
291         classes as per the recent coding style change.
292
293 2015-01-29  Brent Fulgham  <bfulgham@apple.com>
294
295         [Win] Build fix after r179368.
296
297         * Interfaces/IWebPreferencesPrivate.idl:
298         * WebPreferences.cpp:
299         (WebPreferences::screenFontSubstitutionEnabled): Deleted.
300         (WebPreferences::setScreenFontSubstitutionEnabled): Deleted.
301         * WebPreferences.h:
302         * WebView.cpp:
303         (WebView::notifyPreferencesChanged):
304
305 2015-01-29  Sam Weinig  <sam@webkit.org>
306
307         Remove support for screen font substitution
308         https://bugs.webkit.org/show_bug.cgi?id=141038
309
310         Reviewed by Tim Horton.
311
312         * WebPreferenceKeysPrivate.h:
313         * WebPreferences.cpp:
314         (WebPreferences::screenFontSubstitutionEnabled):
315         (WebPreferences::setScreenFontSubstitutionEnabled):
316         Remove implementations. Have this setting set on windows didn't have any effect before,
317         so this doesn't change behavior.
318
319 2015-01-29  Chris Dumez  <cdumez@apple.com>
320
321         Clean up / modernize PageCache class
322         https://bugs.webkit.org/show_bug.cgi?id=141009
323
324         Reviewed by Darin Adler.
325
326         Clean up / modernize PageCache class.
327
328         * WebView.cpp:
329         (WebView::setCacheModel):
330
331 2015-01-28  peavo@outlook.com  <peavo@outlook.com>
332
333         [WinCairo] Message loop is flooded with timer messages when animating in accelerated compositing mode.
334         https://bugs.webkit.org/show_bug.cgi?id=140985
335
336         Reviewed by Brent Fulgham.
337
338         The animation timer has zero timeout, which makes it hard for other messages to slip through.
339
340         * WebCoreSupport/AcceleratedCompositingContext.cpp:
341         (AcceleratedCompositingContext::scheduleLayerFlush):
342
343 2015-01-28  Chris Dumez  <cdumez@apple.com>
344
345         Fix typo in markPagesForVistedLinkStyleRecalc()
346         https://bugs.webkit.org/show_bug.cgi?id=140977
347
348         Reviewed by Darin Adler.
349
350         * WebCoreSupport/WebVisitedLinkStore.cpp:
351         (WebVisitedLinkStore::removeAllVisitedLinks):
352         (WebVisitedLinkStore::addVisitedLinkHash):
353
354 2015-01-28  Chris Dumez  <cdumez@apple.com>
355
356         Rename pageCache() to PageCache::shared() and return a reference
357         https://bugs.webkit.org/show_bug.cgi?id=140983
358
359         Reviewed by Andreas Kling.
360
361         Rename pageCache() to PageCache::shared() as this is a singleton class
362         and have it return a reference instead of a pointer.
363
364         * WebCoreStatistics.cpp:
365         (WebCoreStatistics::cachedPageCount):
366         (WebCoreStatistics::cachedFrameCount):
367         * WebCoreSupport/WebVisitedLinkStore.cpp:
368         (WebVisitedLinkStore::removeAllVisitedLinks):
369         (WebVisitedLinkStore::addVisitedLinkHash):
370         * WebView.cpp:
371         (WebView::setCacheModel):
372
373 2015-01-27  Chris Dumez  <cdumez@apple.com>
374
375         Use a Ref<CachedResourceLoader> in Document instead of a RefPtr
376         https://bugs.webkit.org/show_bug.cgi?id=140971
377
378         Reviewed by Andreas Kling.
379
380         Use more references instead of pointers.
381
382         * WebDataSource.cpp:
383         (WebDataSource::subresourceForURL):
384
385 2015-01-26  Brent Fulgham  <bfulgham@apple.com>
386
387         [Win] ASSERTION FAILED !m_ptr under AccessibilityController::winAddNotificationListener
388         https://bugs.webkit.org/show_bug.cgi?id=87426
389         <rdar://problem/11527899>
390
391         Reviewed by Darin Adler.
392
393         Revise COMPtr to work better with our HashMap implementation. Use
394         modern loop syntax.
395
396         * WebHistory.cpp:
397         (WebHistory::visitedURL): Adjust for new COMPtr changes.
398         * WebPreferences.cpp:
399         (WebPreferences::getInstanceForIdentifier): Ditto.
400         (WebPreferences::removeReferenceForIdentifier): Ditto.
401         * WebView.cpp:
402         (WebView::setEditable): Ditto.
403
404 2015-01-26  Chris Dumez  <cdumez@apple.com>
405
406         Rename Document::body() to Document::bodyOrFrameset() for clarity
407         https://bugs.webkit.org/show_bug.cgi?id=140902
408
409         Reviewed by Andreas Kling.
410
411         Rename Document::body() to Document::bodyOrFrameset() for clarity. This
412         method does not necessarily return an HTMLBodyElement, it can also
413         return a frameset as per the specification:
414         http://www.w3.org/TR/html5/dom.html#dom-tree-accessors
415
416         This method is often misused internally (the caller is only interested
417         in the <body> element). I will fix these instances in a follow-up patch,
418         this patch is only renaming mechanically.
419
420 2015-01-25  peavo@outlook.com  <peavo@outlook.com>
421
422         [Win] Add WebKit message loop interface.
423         https://bugs.webkit.org/show_bug.cgi?id=140857
424
425         Reviewed by Brent Fulgham.
426
427         Added message loop interface which will run the message loop,
428         and perform required tasks (like calling CFRunLoopRunInMode)
429         on each iteration of the loop.
430
431         * ForEachCoClass.h:
432         * Interfaces/WebKit.idl:
433         * Interfaces/WebKitMessageLoop.idl: Added.
434         * WebKitClassFactory.cpp:
435         * WebKitMessageLoop.cpp: Added.
436         (WebKitMessageLoop::WebKitMessageLoop):
437         (WebKitMessageLoop::~WebKitMessageLoop):
438         (WebKitMessageLoop::createInstance):
439         (WebKitMessageLoop::QueryInterface):
440         (WebKitMessageLoop::AddRef):
441         (WebKitMessageLoop::Release):
442         (WebKitMessageLoop::run):
443         (WebKitMessageLoop::performMessageLoopTasks):
444         * WebKitMessageLoop.h: Added.
445
446 2015-01-23  Brent Fulgham  <bfulgham@apple.com>
447
448         [Win] Teach WebKit to provide IAccessible2 'get_language'
449         https://bugs.webkit.org/show_bug.cgi?id=140839
450
451         Reviewed by Dean Jackson.
452
453         * AccessibleBase.cpp:
454         (AccessibleBase::get_locale): Wrap the Webore::AccessibleObject::language
455         result in an IA2Locale structure to statisfy the IAccessible2 specification.
456
457 2015-01-22  Brent Fulgham  <bfulgham@apple.com>
458
459         [Win] Unreviewed test fix after r178965.
460
461         * WebView.cpp: Supply missing implementation of 'setEditable'. It
462         currently asserts, causing all debug tests to fail.
463
464 2015-01-22  peavo@outlook.com  <peavo@outlook.com>
465
466         [Win] No plugin content on some sites.
467         https://bugs.webkit.org/show_bug.cgi?id=140780
468
469         Reviewed by Anders Carlsson.
470
471         Add override modifier to bindingInstance method.
472
473         * Plugins/PluginView.h:
474
475 2015-01-22  Brent Fulgham  <bfulgham@apple.com>
476
477         [Win] Expose missing editing features through WebView interface
478         https://bugs.webkit.org/show_bug.cgi?id=140773
479         <rdar://problem/19565421>
480
481         Reviewed by Dean Jackson.
482
483         Connect the various WebView editing delegate methods to our
484         test infrastructure. Also prefer _bstr_t to raw BSTR types
485         to simplify life cycle management.
486
487         * DOMCoreClasses.cpp: Flesh out the DOMRange object.
488         (DOMElement::createInstance):
489         (DOMRange::QueryInterface):
490         (DOMRange::DOMRange):
491         (DOMRange::~DOMRange):
492         (DOMRange::createInstance):
493         (DOMRange::startContainer):
494         (DOMRange::startOffset):
495         (DOMRange::endContainer):
496         (DOMRange::endOffset):
497         (DOMRange::collapsed):
498         (DOMRange::commonAncestorContainer):
499         (DOMRange::setStart):
500         (DOMRange::setEnd):
501         (DOMRange::setStartBefore):
502         (DOMRange::setStartAfter):
503         (DOMRange::setEndBefore):
504         (DOMRange::setEndAfter):
505         (DOMRange::collapse):
506         (DOMRange::selectNode):
507         (DOMRange::selectNodeContents):
508         (DOMRange::compareBoundaryPoints):
509         (DOMRange::deleteContents):
510         (DOMRange::extractContents):
511         (DOMRange::cloneContents):
512         (DOMRange::insertNode):
513         (DOMRange::surroundContents):
514         (DOMRange::cloneRange):
515         (DOMRange::toString):
516         (DOMRange::detach):
517         * DOMCoreClasses.h:
518         (DOMRange::AddRef):
519         (DOMRange::Release):
520         (DOMRange::throwException):
521         (DOMRange::callWebScriptMethod):
522         (DOMRange::evaluateWebScript):
523         (DOMRange::removeWebScriptKey):
524         (DOMRange::stringRepresentation):
525         (DOMRange::webScriptValueAtIndex):
526         (DOMRange::setWebScriptValueAtIndex):
527         (DOMRange::setException):
528         * Interfaces/IWebEditingDelegate.idl:
529         * Interfaces/IWebView.idl:
530         * WebCoreSupport/WebEditorClient.cpp: Connect more methods
531         to actual editing features in WebCore.
532         (WebEditorClient::shouldBeginEditing):
533         (WebEditorClient::shouldEndEditing):
534         (WebEditorClient::didBeginEditing):
535         (WebEditorClient::respondToChangedContents):
536         (WebEditorClient::respondToChangedSelection):
537         (WebEditorClient::didEndEditing):
538         (WebEditorClient::shouldDeleteRange):
539         (WebEditorClient::shouldInsertNode):
540         (WebEditorClient::shouldInsertText):
541         (WebEditorClient::shouldChangeSelectedRange):
542         (WebEditorClient::webViewDidChangeTypingStyle):
543         (WebEditorClient::webViewDidChangeSelection):
544         (WebEditorClient::isSelectTrailingWhitespaceEnabled):
545         * WebView.cpp:
546         (WebView::setEditingDelegate): Added.
547
548 2015-01-21  Brent Fulgham  <bfulgham@apple.com>
549
550         [Win] eventSender does not support scalePageBy
551         https://bugs.webkit.org/show_bug.cgi?id=140726
552         <rdar://problem/19549865>
553
554         Reviewed by Dean Jackson.
555
556         * Interfaces/IWebViewPrivate.idl: Add scaleWebView API.
557         * WebView.cpp:
558         (WebView::scaleWebView): 
559         Connect WebCore implementation to the Windows COM interface.
560         * WebView.h:
561
562 2015-01-21  Csaba Osztrogonác  <ossy@webkit.org>
563
564         Remove ENABLE(INSPECTOR) ifdef guards
565         https://bugs.webkit.org/show_bug.cgi?id=140668
566
567         Reviewed by Darin Adler.
568
569         * WebCoreSupport/WebInspectorClient.cpp:
570         (registerWindowClass):
571         * WebInspector.cpp:
572         (WebInspector::setTimelineProfilingEnabled):
573         * WebNodeHighlight.cpp:
574         (WebNodeHighlight::WebNodeHighlight):
575         (WebNodeHighlight::update):
576         * WebNodeHighlight.h:
577         * WebView.cpp:
578         (WebView::WebView):
579         (WebView::close):
580         (WebView::initWithFrame):
581         (WebView::inspector):
582         * WebView.h:
583
584 2015-01-20  Csaba Osztrogonác  <ossy@webkit.org>
585
586         Remove non-Windows cruft from WebKit/win/Plugins
587         https://bugs.webkit.org/show_bug.cgi?id=140675
588
589         Reviewed by Anders Carlsson.
590
591         * Plugins/PluginDatabase.cpp:
592         (WebCore::PluginDatabase::defaultPluginDirectories):
593         (WebCore::PluginDatabase::isPreferredPluginDirectory):
594         (WebCore::PluginDatabase::getPluginPathsInDirectories):
595         * Plugins/PluginDebug.cpp:
596         (WebCore::prettyNameForNPNVariable):
597         (WebCore::prettyNameForNPPVariable):
598         (WebCore::prettyNameForDrawingModel): Deleted.
599         (WebCore::prettyNameForEventModel): Deleted.
600         * Plugins/PluginDebug.h:
601         * Plugins/PluginPackage.cpp:
602         (WebCore::PluginPackage::compareFileVersion):
603         (WebCore::PluginPackage::determineQuirks): Deleted.
604         (WebCore::PluginPackage::determineModuleVersionFromDescription): Deleted.
605         (WebCore::PluginPackage::hash): Deleted.
606         (WebCore::PluginPackage::equal): Deleted.
607         * Plugins/PluginView.cpp:
608         (WebCore::PluginView::setFrameRect):
609         (WebCore::PluginView::handleEvent):
610         (WebCore::PluginView::stop):
611         (WebCore::PluginView::setValue):
612         (WebCore::PluginView::PluginView):
613         * Plugins/PluginView.h:
614         (WebCore::PluginView::platformPluginWidget): Deleted.
615         (WebCore::PluginView::setPlatformPluginWidget): Deleted.
616         * Plugins/PluginViewWin.cpp:
617         (windowHandleForPageClient):
618         (WebCore::PluginView::hookedBeginPaint):
619         (WebCore::PluginView::hookedEndPaint):
620         (WebCore::hook):
621         (WebCore::registerPluginView):
622         (WebCore::PluginView::paint):
623         (WebCore::PluginView::handleMouseEvent):
624         (WebCore::PluginView::setNPWindowRect):
625         (WebCore::PluginView::platformStart):
626         (WebCore::PluginView::snapshot):
627         * Plugins/npapi.cpp:
628         (NPN_InvalidateRect):
629
630 2015-01-19  Brent Fulgham  <bfulgham@apple.com>
631
632         [Win] Periodic failure in DumpRenderTree related to WebActionPropertyBag::Read
633         https://bugs.webkit.org/show_bug.cgi?id=139906
634
635         Reviewed by Dean Jackson.
636
637         WebKit on Windows was creating uninitialized VARIANT structures, then attempting
638         to use them. This patch fixes that.
639
640         Identified by dom/html/level2/html/HTMLIFrameElement03.html (and others)
641
642         * COMEnumVariant.h:
643         (COMEnumVariant<ContainerType>::Next):
644         * COMPropertyBag.h:
645         (HashType>::Read):
646         * DefaultPolicyDelegate.cpp:
647         (DefaultPolicyDelegate::decidePolicyForNavigationAction):
648         * WebActionPropertyBag.cpp:
649         (WebActionPropertyBag::Read):
650         * WebDatabaseManager.cpp:
651         (DatabaseDetailsPropertyBag::Read):
652         * WebElementPropertyBag.cpp:
653         (WebElementPropertyBag::Read):
654         * WebFrame.cpp:
655         (EnumChildFrames::Next):
656         * WebView.cpp:
657         (WebView::notifyDidAddIcon):
658
659 2015-01-15  Csaba Osztrogonác  <ossy@webkit.org>
660
661         Remove ENABLE(SQL_DATABASE) guards
662         https://bugs.webkit.org/show_bug.cgi?id=140434
663
664         Reviewed by Darin Adler.
665
666         * ForEachCoClass.h:
667         * WebCoreSupport/WebChromeClient.cpp:
668         (WebChromeClient::exceededDatabaseQuota):
669         * WebCoreSupport/WebChromeClient.h:
670         * WebDatabaseManager.cpp:
671         (WebKitInitializeWebDatabasesIfNecessary):
672         * WebDatabaseManager.h:
673         * WebSecurityOrigin.cpp:
674         (WebSecurityOrigin::usage):
675         (WebSecurityOrigin::quota):
676         (WebSecurityOrigin::setQuota):
677         * WebView.cpp:
678         (WebView::initWithFrame):
679         (WebView::notifyPreferencesChanged):
680
681 2015-01-15  Brent Fulgham  <bfulgham@apple.com>
682
683         [Win] Unreviewed build fix after r178510
684
685         Correct #include and declarations from Font->FontCascade
686
687         * DOMCoreClasses.cpp:
688         (DOMElement::font):
689         * FullscreenVideoController.cpp:
690         (FullscreenVideoController::draw):
691         * WebKitGraphics.cpp:
692         * WebPreferences.cpp:
693
694 2015-01-14  Chris Dumez  <cdumez@apple.com>
695
696         Make 'TypeName' parameter unnecessary in CSSPropertyNames.in
697         https://bugs.webkit.org/show_bug.cgi?id=140347
698
699         Reviewed by Darin Adler.
700
701         Call FontDescription::setIsItalic() instead of setItalic() as the
702         call site passes a boolean.
703
704         * WebKitGraphics.cpp:
705         (makeFont):
706
707 2015-01-11  Sam Weinig  <sam@webkit.org>
708
709         Remove support for SharedWorkers
710         https://bugs.webkit.org/show_bug.cgi?id=140344
711
712         Reviewed by Anders Carlsson.
713
714         * WebCoreSupport/WebPlatformStrategies.cpp:
715         (WebPlatformStrategies::createSharedWorkerStrategy): Deleted.
716         * WebCoreSupport/WebPlatformStrategies.h:
717
718 2015-01-10  peavo@outlook.com  <peavo@outlook.com>
719
720         [WinCairo] Accelerated compositing has stopped working.
721         https://bugs.webkit.org/show_bug.cgi?id=140334
722
723         Reviewed by Brent Fulgham.
724
725         The method GraphicsLayerTextureMapper::flushCompositingStateForThisLayerOnly()
726         is not updating the backingstore anymore, we need to call the new method
727         GraphicsLayerTextureMapper::updateBackingStoreIncludingSubLayers().
728
729         * WebCoreSupport/AcceleratedCompositingContext.cpp:
730         (AcceleratedCompositingContext::flushPendingLayerChanges):
731         (AcceleratedCompositingContext::flushAndRenderLayers):
732
733 2015-01-09  Anders Carlsson  <andersca@apple.com>
734
735         Get rid of the database strategy
736         https://bugs.webkit.org/show_bug.cgi?id=140322
737
738         Reviewed by Sam Weinig.
739
740         * WebCoreSupport/WebPlatformStrategies.cpp:
741         (WebPlatformStrategies::createDatabaseStrategy): Deleted.
742         * WebCoreSupport/WebPlatformStrategies.h:
743
744 2015-01-06  Anders Carlsson  <andersca@apple.com>
745
746         Move the Windows only plug-in code to WebKit/win
747         https://bugs.webkit.org/show_bug.cgi?id=140133
748
749         Reviewed by Darin Adler.
750
751         * Plugins/PaintHooks.asm: Renamed from Source/WebCore/plugins/win/PaintHooks.asm.
752         * Plugins/PluginDatabase.cpp: Renamed from Source/WebCore/plugins/PluginDatabase.cpp.
753         (WebCore::persistentPluginMetadataCachePath):
754         (WebCore::PluginDatabase::PluginDatabase):
755         (WebCore::PluginDatabase::installedPlugins):
756         (WebCore::PluginDatabase::isMIMETypeRegistered):
757         (WebCore::PluginDatabase::addExtraPluginDirectory):
758         (WebCore::PluginDatabase::refresh):
759         (WebCore::PluginDatabase::plugins):
760         (WebCore::PluginDatabase::preferredPluginCompare):
761         (WebCore::PluginDatabase::pluginForMIMEType):
762         (WebCore::PluginDatabase::MIMETypeForExtension):
763         (WebCore::PluginDatabase::findPlugin):
764         (WebCore::PluginDatabase::setPreferredPluginForMIMEType):
765         (WebCore::PluginDatabase::fileExistsAndIsNotDisabled):
766         (WebCore::PluginDatabase::getDeletedPlugins):
767         (WebCore::PluginDatabase::add):
768         (WebCore::PluginDatabase::remove):
769         (WebCore::PluginDatabase::clear):
770         (WebCore::PluginDatabase::removeDisabledPluginFile):
771         (WebCore::PluginDatabase::addDisabledPluginFile):
772         (WebCore::PluginDatabase::defaultPluginDirectories):
773         (WebCore::PluginDatabase::isPreferredPluginDirectory):
774         (WebCore::PluginDatabase::getPluginPathsInDirectories):
775         (WebCore::fillBufferWithContentsOfFile):
776         (WebCore::readUTF8String):
777         (WebCore::readTime):
778         (WebCore::PluginDatabase::loadPersistentMetadataCache):
779         (WebCore::writeUTF8String):
780         (WebCore::writeTime):
781         (WebCore::PluginDatabase::updatePersistentMetadataCache):
782         (WebCore::PluginDatabase::isPersistentMetadataCacheEnabled):
783         (WebCore::PluginDatabase::setPersistentMetadataCacheEnabled):
784         (WebCore::PluginDatabase::persistentMetadataCachePath):
785         (WebCore::PluginDatabase::setPersistentMetadataCachePath):
786         * Plugins/PluginDatabase.h: Renamed from Source/WebCore/plugins/PluginDatabase.h.
787         (WebCore::PluginDatabase::setPluginDirectories):
788         (WebCore::PluginDatabase::pluginDirectories):
789         * Plugins/PluginDatabaseWin.cpp: Renamed from Source/WebCore/plugins/win/PluginDatabaseWin.cpp.
790         (WebCore::addPluginPathsFromRegistry):
791         (WebCore::PluginDatabase::getPluginPathsInDirectories):
792         (WebCore::parseVersionString):
793         (WebCore::compareVersions):
794         (WebCore::addMozillaPluginDirectories):
795         (WebCore::addWindowsMediaPlayerPluginDirectory):
796         (WebCore::addAdobeAcrobatPluginDirectory):
797         (WebCore::addJavaPluginDirectory):
798         (WebCore::safariPluginsDirectory):
799         (WebCore::addMacromediaPluginDirectories):
800         (WebCore::PluginDatabase::defaultPluginDirectories):
801         (WebCore::PluginDatabase::isPreferredPluginDirectory):
802         * Plugins/PluginDebug.cpp: Renamed from Source/WebCore/plugins/PluginDebug.cpp.
803         (WebCore::prettyNameForNPError):
804         (WebCore::prettyNameForDrawingModel):
805         (WebCore::prettyNameForEventModel):
806         (WebCore::prettyNameForNPNVariable):
807         (WebCore::prettyNameForNPPVariable):
808         (WebCore::prettyNameForNPNURLVariable):
809         * Plugins/PluginDebug.h: Renamed from Source/WebCore/plugins/PluginDebug.h.
810         * Plugins/PluginMessageThrottlerWin.cpp: Renamed from Source/WebCore/plugins/win/PluginMessageThrottlerWin.cpp.
811         (WebCore::PluginMessageThrottlerWin::PluginMessageThrottlerWin):
812         (WebCore::PluginMessageThrottlerWin::~PluginMessageThrottlerWin):
813         (WebCore::PluginMessageThrottlerWin::appendMessage):
814         (WebCore::PluginMessageThrottlerWin::processQueuedMessage):
815         (WebCore::PluginMessageThrottlerWin::messageThrottleTimerFired):
816         (WebCore::PluginMessageThrottlerWin::allocateMessage):
817         (WebCore::PluginMessageThrottlerWin::isInlineMessage):
818         (WebCore::PluginMessageThrottlerWin::freeMessage):
819         * Plugins/PluginMessageThrottlerWin.h: Renamed from Source/WebCore/plugins/win/PluginMessageThrottlerWin.h.
820         * Plugins/PluginPackage.cpp: Renamed from Source/WebCore/plugins/PluginPackage.cpp.
821         (WebCore::PluginPackage::~PluginPackage):
822         (WebCore::PluginPackage::freeLibrarySoon):
823         (WebCore::PluginPackage::freeLibraryTimerFired):
824         (WebCore::PluginPackage::compare):
825         (WebCore::PluginPackage::PluginPackage):
826         (WebCore::PluginPackage::unload):
827         (WebCore::PluginPackage::unloadWithoutShutdown):
828         (WebCore::PluginPackage::setEnabled):
829         (WebCore::PluginPackage::createPackage):
830         (WebCore::PluginPackage::createPackageFromCache):
831         (WebCore::PluginPackage::determineQuirks):
832         (WebCore::PluginPackage::determineModuleVersionFromDescription):
833         (WebCore::getListFromVariantArgs):
834         (WebCore::makeSource):
835         (WebCore::NPN_Evaluate):
836         (WebCore::NPN_Invoke):
837         (WebCore::PluginPackage::initializeBrowserFuncs):
838         (WebCore::PluginPackage::hash):
839         (WebCore::PluginPackage::equal):
840         (WebCore::PluginPackage::compareFileVersion):
841         (WebCore::PluginPackage::ensurePluginLoaded):
842         * Plugins/PluginPackage.h: Renamed from Source/WebCore/plugins/PluginPackage.h.
843         (WebCore::PluginPackage::name):
844         (WebCore::PluginPackage::description):
845         (WebCore::PluginPackage::path):
846         (WebCore::PluginPackage::fileName):
847         (WebCore::PluginPackage::parentDirectory):
848         (WebCore::PluginPackage::module):
849         (WebCore::PluginPackage::lastModified):
850         (WebCore::PluginPackage::mimeToDescriptions):
851         (WebCore::PluginPackage::mimeToExtensions):
852         (WebCore::PluginPackage::isEnabled):
853         (WebCore::PluginPackage::pluginFuncs):
854         (WebCore::PluginPackage::quirks):
855         (WebCore::PluginPackage::version):
856         (WebCore::PluginPackage::fullMIMEDescription):
857         (WebCore::PluginPackageHash::hash):
858         (WebCore::PluginPackageHash::equal):
859         * Plugins/PluginPackageWin.cpp: Renamed from Source/WebCore/plugins/win/PluginPackageWin.cpp.
860         (WebCore::getVersionInfo):
861         (WebCore::PluginPackage::isPluginBlacklisted):
862         (WebCore::PluginPackage::determineQuirks):
863         (WebCore::PluginPackage::fetchInfo):
864         (WebCore::PluginPackage::load):
865         (WebCore::PluginPackage::hash):
866         (WebCore::PluginPackage::equal):
867         (WebCore::PluginPackage::NPVersion):
868         * Plugins/PluginQuirkSet.h: Renamed from Source/WebCore/plugins/PluginQuirkSet.h.
869         (WebCore::PluginQuirkSet::PluginQuirkSet):
870         (WebCore::PluginQuirkSet::add):
871         (WebCore::PluginQuirkSet::contains):
872         * Plugins/PluginStream.cpp: Renamed from Source/WebCore/plugins/PluginStream.cpp.
873         (WebCore::streams):
874         (WebCore::PluginStream::PluginStream):
875         (WebCore::PluginStream::~PluginStream):
876         (WebCore::PluginStream::start):
877         (WebCore::PluginStream::stop):
878         (WebCore::lastModifiedDate):
879         (WebCore::PluginStream::startStream):
880         (WebCore::PluginStream::ownerForStream):
881         (WebCore::PluginStream::cancelAndDestroyStream):
882         (WebCore::PluginStream::destroyStream):
883         (WebCore::PluginStream::delayDeliveryTimerFired):
884         (WebCore::PluginStream::deliverData):
885         (WebCore::PluginStream::sendJavaScriptStream):
886         (WebCore::PluginStream::didReceiveResponse):
887         (WebCore::PluginStream::didReceiveData):
888         (WebCore::PluginStream::didFail):
889         (WebCore::PluginStream::didFinishLoading):
890         (WebCore::PluginStream::wantsAllStreams):
891         * Plugins/PluginStream.h: Renamed from Source/WebCore/plugins/PluginStream.h.
892         (WebCore::PluginStreamClient::~PluginStreamClient):
893         (WebCore::PluginStreamClient::streamDidFinishLoading):
894         (WebCore::PluginStream::create):
895         (WebCore::PluginStream::setLoadManually):
896         * Plugins/PluginView.cpp: Renamed from Source/WebCore/plugins/PluginView.cpp.
897         (WebCore::instanceMap):
898         (WebCore::scriptStringIfJavaScriptURL):
899         (WebCore::PluginView::popPopupsStateTimerFired):
900         (WebCore::PluginView::windowClipRect):
901         (WebCore::PluginView::setFrameRect):
902         (WebCore::PluginView::frameRectsChanged):
903         (WebCore::PluginView::clipRectChanged):
904         (WebCore::PluginView::handleEvent):
905         (WebCore::PluginView::init):
906         (WebCore::PluginView::startOrAddToUnstartedList):
907         (WebCore::PluginView::start):
908         (WebCore::PluginView::mediaCanStart):
909         (WebCore::PluginView::~PluginView):
910         (WebCore::PluginView::stop):
911         (WebCore::PluginView::setCurrentPluginView):
912         (WebCore::PluginView::currentPluginView):
913         (WebCore::createUTF8String):
914         (WebCore::PluginView::performRequest):
915         (WebCore::PluginView::requestTimerFired):
916         (WebCore::PluginView::scheduleRequest):
917         (WebCore::PluginView::load):
918         (WebCore::makeURL):
919         (WebCore::PluginView::getURLNotify):
920         (WebCore::PluginView::getURL):
921         (WebCore::PluginView::postURLNotify):
922         (WebCore::PluginView::postURL):
923         (WebCore::PluginView::newStream):
924         (WebCore::PluginView::write):
925         (WebCore::PluginView::destroyStream):
926         (WebCore::PluginView::status):
927         (WebCore::PluginView::setValue):
928         (WebCore::PluginView::invalidateTimerFired):
929         (WebCore::PluginView::pushPopupsEnabledState):
930         (WebCore::PluginView::popPopupsEnabledState):
931         (WebCore::PluginView::arePopupsAllowed):
932         (WebCore::PluginView::setJavaScriptPaused):
933         (WebCore::PluginView::npObject):
934         (WebCore::PluginView::bindingInstance):
935         (WebCore::PluginView::disconnectStream):
936         (WebCore::PluginView::setParameters):
937         (WebCore::PluginView::PluginView):
938         (WebCore::PluginView::focusPluginElement):
939         (WebCore::PluginView::didReceiveResponse):
940         (WebCore::PluginView::didReceiveData):
941         (WebCore::PluginView::didFinishLoading):
942         (WebCore::PluginView::didFail):
943         (WebCore::PluginView::setCallingPlugin):
944         (WebCore::PluginView::isCallingPlugin):
945         (WebCore::PluginView::create):
946         (WebCore::PluginView::freeStringArray):
947         (WebCore::startsWithBlankLine):
948         (WebCore::locationAfterFirstBlankLine):
949         (WebCore::findEOL):
950         (WebCore::capitalizeRFC822HeaderFieldName):
951         (WebCore::parseRFC822HeaderFields):
952         (WebCore::PluginView::handlePost):
953         (WebCore::PluginView::invalidateWindowlessPluginRect):
954         (WebCore::PluginView::paintMissingPluginIcon):
955         (WebCore::PluginView::userAgent):
956         (WebCore::PluginView::userAgentStatic):
957         (WebCore::PluginView::lifeSupportTimerFired):
958         (WebCore::PluginView::keepAlive):
959         (WebCore::PluginView::getValueStatic):
960         (WebCore::PluginView::getValue):
961         (WebCore::getFrame):
962         (WebCore::PluginView::getValueForURL):
963         (WebCore::PluginView::setValueForURL):
964         (WebCore::PluginView::getAuthenticationInfo):
965         (WebCore::PluginView::privateBrowsingStateChanged):
966         * Plugins/PluginView.h: Renamed from Source/WebCore/plugins/PluginView.h.
967         (WebCore::PluginRequest::PluginRequest):
968         (WebCore::PluginRequest::frameLoadRequest):
969         (WebCore::PluginRequest::notifyData):
970         (WebCore::PluginRequest::sendNotification):
971         (WebCore::PluginRequest::shouldAllowPopups):
972         (WebCore::PluginManualLoader::~PluginManualLoader):
973         (WebCore::PluginView::plugin):
974         (WebCore::PluginView::instance):
975         (WebCore::PluginView::status):
976         (WebCore::PluginView::streamDidFinishLoading):
977         (WebCore::PluginView::parentFrame):
978         (WebCore::PluginView::pluginsPage):
979         (WebCore::PluginView::mimeType):
980         (WebCore::PluginView::url):
981         (WebCore::PluginView::pluginWndProc):
982         (WebCore::PluginView::platformPluginWidget):
983         (WebCore::PluginView::setPlatformPluginWidget):
984         (WebCore::toPluginView):
985         * Plugins/PluginViewWin.cpp: Renamed from Source/WebCore/plugins/win/PluginViewWin.cpp.
986         (windowHandleForPageClient):
987         (WebCore::PluginView::hookedBeginPaint):
988         (WebCore::PluginView::hookedEndPaint):
989         (WebCore::hook):
990         (WebCore::setUpOffscreenPaintingHooks):
991         (WebCore::registerPluginView):
992         (WebCore::PluginView::PluginViewWndProc):
993         (WebCore::isWindowsMessageUserGesture):
994         (WebCore::contentsToNativeWindow):
995         (WebCore::PluginView::wndProc):
996         (WebCore::PluginView::updatePluginWidget):
997         (WebCore::PluginView::setFocus):
998         (WebCore::PluginView::show):
999         (WebCore::PluginView::hide):
1000         (WebCore::PluginView::dispatchNPEvent):
1001         (WebCore::PluginView::paintIntoTransformedContext):
1002         (WebCore::PluginView::paintWindowedPluginIntoContext):
1003         (WebCore::PluginView::paint):
1004         (WebCore::PluginView::handleKeyboardEvent):
1005         (WebCore::PluginView::handleMouseEvent):
1006         (WebCore::PluginView::setParent):
1007         (WebCore::PluginView::setParentVisible):
1008         (WebCore::PluginView::setNPWindowRect):
1009         (WebCore::PluginView::handlePostReadFile):
1010         (WebCore::PluginView::platformGetValueStatic):
1011         (WebCore::PluginView::platformGetValue):
1012         (WebCore::PluginView::invalidateRect):
1013         (WebCore::PluginView::invalidateRegion):
1014         (WebCore::PluginView::forceRedraw):
1015         (WebCore::PluginView::platformStart):
1016         (WebCore::PluginView::platformDestroy):
1017         (WebCore::PluginView::snapshot):
1018         * Plugins/npapi.cpp: Renamed from Source/WebCore/plugins/npapi.cpp.
1019         (pluginViewForInstance):
1020         (NPN_MemAlloc):
1021         (NPN_MemFree):
1022         (NPN_MemFlush):
1023         (NPN_ReloadPlugins):
1024         (NPN_RequestRead):
1025         (NPN_GetURLNotify):
1026         (NPN_GetURL):
1027         (NPN_PostURLNotify):
1028         (NPN_PostURL):
1029         (NPN_NewStream):
1030         (NPN_Write):
1031         (NPN_DestroyStream):
1032         (NPN_UserAgent):
1033         (NPN_Status):
1034         (NPN_InvalidateRect):
1035         (NPN_InvalidateRegion):
1036         (NPN_ForceRedraw):
1037         (NPN_GetValue):
1038         (NPN_SetValue):
1039         (NPN_GetJavaEnv):
1040         (NPN_GetJavaPeer):
1041         (NPN_PushPopupsEnabledState):
1042         (NPN_PopPopupsEnabledState):
1043         (NPN_PluginThreadAsyncCall):
1044         (NPN_GetValueForURL):
1045         (NPN_SetValueForURL):
1046         (NPN_GetAuthenticationInfo):
1047         (NPN_PopUpContextMenu):
1048
1049 2015-01-08  Dean Jackson  <dino@apple.com>
1050
1051         Text not drawn or white-on-white for "Close Page"/"Go Back" button on safe browsing warning page
1052         https://bugs.webkit.org/show_bug.cgi?id=140232
1053         <rdar://problem/19371010>
1054
1055         Reviewed by Anders Carlsson.
1056
1057         Remove the applicationChromeMode setting, but leave stubs in to make
1058         sure existing binaries don't break.
1059
1060         * WebPreferences.cpp:
1061         (WebPreferences::initializeDefaultSettings):
1062         (WebPreferences::inApplicationChromeMode):
1063         (WebPreferences::setApplicationChromeMode):
1064         * WebView.cpp:
1065         (WebView::notifyPreferencesChanged):
1066
1067 2015-01-07  Brent Fulgham  <bfulgham@apple.com>
1068
1069         [Win] WindowCloseTimer is an ActiveDOMObject and must call suspendIfNeeded
1070         https://bugs.webkit.org/show_bug.cgi?id=140184
1071         <rdar://problem/19399740>
1072
1073         Reviewed by Jer Noble.
1074
1075         This bug was found in fast/loader/stateobjects/popstate-fires-with-page-cache.html
1076
1077         * WebView.cpp:
1078         (WindowCloseTimer::create): Modify to ensure a call to suspendIfNeeded is made
1079         during the creation process.
1080
1081 2015-01-07  Zan Dobersek  <zdobersek@igalia.com>
1082
1083         [TexMap] m_layer member in GraphicsLayerTextureMapper is always non-null
1084         https://bugs.webkit.org/show_bug.cgi?id=140135
1085
1086         Reviewed by Darin Adler.
1087
1088         GraphicsLayerTextureMapper::layer() now returns a reference,
1089         so the call sites are updated.
1090
1091         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1092         (AcceleratedCompositingContext::initialize):
1093         (AcceleratedCompositingContext::startedAnimation):
1094         (AcceleratedCompositingContext::compositeLayersToContext):
1095
1096 2015-01-06  Anders Carlsson  <andersca@apple.com>
1097
1098         Add a WebKit1 database provider
1099         https://bugs.webkit.org/show_bug.cgi?id=140126
1100
1101         Reviewed by Sam Weinig.
1102
1103         Set the database provider.
1104
1105         * WebView.cpp:
1106         (WebView::initWithFrame):
1107
1108 2015-01-06  Commit Queue  <commit-queue@webkit.org>
1109
1110         Unreviewed, rolling out r177963.
1111         https://bugs.webkit.org/show_bug.cgi?id=140136
1112
1113         Caused lots of crashes (Requested by smfr on #webkit).
1114
1115         Reverted changeset:
1116
1117         "Add a WebKit1 database provider"
1118         https://bugs.webkit.org/show_bug.cgi?id=140126
1119         http://trac.webkit.org/changeset/177963
1120
1121 2015-01-06  Anders Carlsson  <andersca@apple.com>
1122
1123         Add a WebKit1 database provider
1124         https://bugs.webkit.org/show_bug.cgi?id=140126
1125
1126         Reviewed by Sam Weinig.
1127
1128         Set the database provider.
1129
1130         * WebView.cpp:
1131         (WebView::initWithFrame):
1132
1133 2014-12-29  Anders Carlsson  <andersca@apple.com>
1134
1135         Another attempt at fixing the build.
1136
1137         * WebKitDLL.cpp:
1138         (shutDownWebKit):
1139
1140 2014-12-29  Anders Carlsson  <andersca@apple.com>
1141
1142         Try to fix the Windows build.
1143
1144         * WebKitDLL.cpp:
1145         (shutDownWebKit):
1146
1147 2014-12-19  peavo@outlook.com  <peavo@outlook.com>
1148
1149         [WinCairo] Crash after failing to create GL context in accelerated compositing mode.
1150         https://bugs.webkit.org/show_bug.cgi?id=139830
1151
1152         Reviewed by Alex Christensen.
1153
1154         There is missing a null pointer check.
1155
1156         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1157         (AcceleratedCompositingContext::initialize):
1158
1159 2014-12-19  Brent Fulgham  <bfulgham@apple.com>
1160
1161         [Win] Add accessor for serializing HTTP loads.
1162         https://bugs.webkit.org/show_bug.cgi?id=139817
1163
1164         Reviewed by Mark Lam.
1165
1166         * Interfaces/IWebViewPrivate.idl: Add new method.
1167         * WebView.cpp:
1168         (WebView::setLoadResourcesSerially): Provide implementation.
1169         * WebView.h:
1170
1171 2014-12-18  peavo@outlook.com  <peavo@outlook.com>
1172
1173         [WinCairo] Compile error in code for creating GL context.
1174         https://bugs.webkit.org/show_bug.cgi?id=139782
1175
1176         Reviewed by Alex Christensen.
1177
1178         The GLContext::createContextForWindow method has changed return type to std::unique_ptr.
1179
1180         * WebCoreSupport/AcceleratedCompositingContext.h:
1181
1182 2014-12-18  Brent Fulgham  <bfulgham@apple.com>
1183
1184         [Win] Update DumpRenderTree to more closely match Mac version
1185         https://bugs.webkit.org/show_bug.cgi?id=139799
1186
1187         Reviewed by Tim Horton.
1188
1189         * Interfaces/IWebSecurityOrigin.idl: Add initializer from URL.
1190         * Interfaces/WebKit.idl: Add CLSID so we can instantiate a
1191         WebSecurityOrigin from COM.
1192         * WebApplicationCache.h: Decorate class declaration with CLSID
1193         to support COM introspection.
1194         * WebSecurityOrigin.cpp: Get rid of meaningless STDMETHODCALLTYPE
1195         declarations inside implementation.
1196         (WebSecurityOrigin::QueryInterface):
1197         (WebSecurityOrigin::AddRef):
1198         (WebSecurityOrigin::Release):
1199         (WebSecurityOrigin::protocol):
1200         (WebSecurityOrigin::host):
1201         (WebSecurityOrigin::port):
1202         (WebSecurityOrigin::usage):
1203         (WebSecurityOrigin::quota):
1204         (WebSecurityOrigin::setQuota):
1205         (WebSecurityOrigin::initWithURL): Added.
1206         * WebSecurityOrigin.h:
1207
1208 2014-12-18  Brent Fulgham  <bfulgham@apple.com>
1209
1210         [Win] Correct Windows tests after Bug 139149.
1211         https://bugs.webkit.org/show_bug.cgi?id=139781
1212
1213         Reviewed by Anders Carlsson.
1214
1215         * Interfaces/IWebApplicationCache.idl: Added.
1216         * Interfaces/WebKit.idl: Add new IDL file.
1217         * WebActionPropertyBag.cpp:
1218         (WebActionPropertyBag::Read): Remove old debugging message.
1219         * WebApplicationCache.cpp: Added.
1220         (WebApplicationCache::WebApplicationCache):
1221         (WebApplicationCache::~WebApplicationCache):
1222         (WebApplicationCache::createInstance):
1223         (WebApplicationCache::QueryInterface):
1224         (WebApplicationCache::AddRef):
1225         (WebApplicationCache::Release):
1226         (WebApplicationCache::maximumSize):
1227         (WebApplicationCache::setMaximumSize):
1228         (WebApplicationCache::defaultOriginQuota):
1229         (WebApplicationCache::setDefaultOriginQuota):
1230         (WebApplicationCache::diskUsageForOrigin):
1231         (WebApplicationCache::deleteAllApplicationCaches):
1232         (WebApplicationCache::deleteCacheForOrigin):
1233         (WebApplicationCache::originsWithCache):
1234         * WebApplicationCache.h: Added.
1235         * WebKitClassFactory.cpp: Add new interface header.
1236
1237 2014-12-17  Anders Carlsson  <andersca@apple.com>
1238
1239         Get rid of FrameLoader::defaultObjectContentType
1240         https://bugs.webkit.org/show_bug.cgi?id=139758
1241
1242         Reviewed by Geoffrey Garen.
1243
1244         * WebCoreSupport/WebFrameLoaderClient.cpp:
1245         (WebFrameLoaderClient::objectContentType):
1246
1247 2014-12-16  Andreas Kling  <akling@apple.com>
1248
1249         Use Ref for SecurityOrigin.
1250         <https://webkit.org/b/139710>
1251
1252         Reviewed by Anders Carlsson.
1253
1254         * WebDatabaseManager.cpp:
1255         (WebDatabaseManager::setQuota):
1256         * WebView.cpp:
1257         (WebView::addOriginAccessWhitelistEntry):
1258         (WebView::removeOriginAccessWhitelistEntry):
1259
1260 2014-12-11  Alexey Proskuryakov  <ap@apple.com>
1261
1262         REGRESSION (Async Text Input): Text input method state is not reset when reloading a page
1263         https://bugs.webkit.org/show_bug.cgi?id=139504
1264         rdar://problem/19034674
1265
1266         Reviewed by Enrica Casucci.
1267
1268         Stub out new client calls, this patch doesn't attempt to make any changes on Windows.
1269
1270         * WebCoreSupport/WebEditorClient.cpp:
1271         (WebEditorClient::discardedComposition):
1272         * WebCoreSupport/WebEditorClient.h:
1273
1274 2014-12-10  Anders Carlsson  <andersca@apple.com>
1275
1276         Get rid of the storage strategy
1277         https://bugs.webkit.org/show_bug.cgi?id=139519
1278
1279         Reviewed by Antti Koivisto.
1280
1281         * WebCoreSupport/WebPlatformStrategies.cpp:
1282         (WebPlatformStrategies::createStorageStrategy): Deleted.
1283         * WebCoreSupport/WebPlatformStrategies.h:
1284
1285 2014-12-08  Anders Carlsson  <andersca@apple.com>
1286
1287         Use the new storage namespace provider in WebKit1
1288         https://bugs.webkit.org/show_bug.cgi?id=139425
1289
1290         Reviewed by Tim Horton.
1291
1292         * WebView.cpp:
1293         (localStorageDatabasePath):
1294         Helper from getting the local storage database path given a WebPreferences instance.
1295
1296         (WebView::initWithFrame):
1297         Create a storage namespace provider.
1298
1299 2014-12-09  Commit Queue  <commit-queue@webkit.org>
1300
1301         Unreviewed, rolling out r177037.
1302         https://bugs.webkit.org/show_bug.cgi?id=139464
1303
1304         broke ~50 API tests (Requested by thorton on #webkit).
1305
1306         Reverted changeset:
1307
1308         "Use the new storage namespace provider in WebKit1"
1309         https://bugs.webkit.org/show_bug.cgi?id=139425
1310         http://trac.webkit.org/changeset/177037
1311
1312 2014-12-08  Anders Carlsson  <andersca@apple.com>
1313
1314         Use the new storage namespace provider in WebKit1
1315         https://bugs.webkit.org/show_bug.cgi?id=139425
1316
1317         Reviewed by Tim Horton.
1318
1319         * WebView.cpp:
1320         (localStorageDatabasePath):
1321         Helper from getting the local storage database path given a WebPreferences instance.
1322
1323         (WebView::initWithFrame):
1324         Create a storage namespace provider.
1325
1326 2014-12-05  Anders Carlsson  <andersca@apple.com>
1327
1328         Get rid of config.h includes and include config.h in the prefix header instead
1329         https://bugs.webkit.org/show_bug.cgi?id=139323
1330
1331         Reviewed by Brent Fulgham.
1332
1333         This is making it easier to share code between WebKit1 for Mac and WebKit1 for Windows.
1334
1335         * AccessibleBase.cpp:
1336         * AccessibleDocument.cpp:
1337         * AccessibleImage.cpp:
1338         * AccessibleTextImpl.cpp:
1339         * CFDictionaryPropertyBag.cpp:
1340         * DOMCSSClasses.cpp:
1341         * DOMCoreClasses.cpp:
1342         * DOMEventsClasses.cpp:
1343         * DOMHTMLClasses.cpp:
1344         * DefaultDownloadDelegate.cpp:
1345         * DefaultPolicyDelegate.cpp:
1346         * ForEachCoClass.cpp:
1347         * FullscreenVideoController.cpp:
1348         * MarshallingHelpers.cpp:
1349         * MemoryStream.cpp:
1350         * WebActionPropertyBag.cpp:
1351         * WebArchive.cpp:
1352         * WebBackForwardList.cpp:
1353         * WebCache.cpp:
1354         * WebCoreStatistics.cpp:
1355         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1356         * WebCoreSupport/EmbeddedWidget.cpp:
1357         * WebCoreSupport/WebChromeClient.cpp:
1358         * WebCoreSupport/WebContextMenuClient.cpp:
1359         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
1360         * WebCoreSupport/WebDragClient.cpp:
1361         * WebCoreSupport/WebEditorClient.cpp:
1362         * WebCoreSupport/WebFrameLoaderClient.cpp:
1363         * WebCoreSupport/WebFrameNetworkingContext.cpp:
1364         * WebCoreSupport/WebGeolocationClient.cpp:
1365         * WebCoreSupport/WebInspectorClient.cpp:
1366         * WebCoreSupport/WebInspectorDelegate.cpp:
1367         * WebCoreSupport/WebPlatformStrategies.cpp:
1368         * WebCoreSupport/WebVisitedLinkStore.cpp:
1369         * WebDataSource.cpp:
1370         * WebDatabaseManager.cpp:
1371         * WebDocumentLoader.cpp:
1372         * WebDownload.cpp:
1373         * WebDownloadCFNet.cpp:
1374         * WebDownloadCurl.cpp:
1375         * WebDropSource.cpp:
1376         * WebElementPropertyBag.cpp:
1377         * WebError.cpp:
1378         * WebFrame.cpp:
1379         * WebFramePolicyListener.cpp:
1380         * WebGeolocationPolicyListener.cpp:
1381         * WebGeolocationPosition.cpp:
1382         * WebHTMLRepresentation.cpp:
1383         * WebHistory.cpp:
1384         * WebHistoryItem.cpp:
1385         * WebIconDatabase.cpp:
1386         * WebInspector.cpp:
1387         * WebJavaScriptCollector.cpp:
1388         * WebKitCOMAPI.cpp:
1389         * WebKitClassFactory.cpp:
1390         * WebKitDLL.cpp:
1391         * WebKitGraphics.cpp:
1392         * WebKitLogging.cpp:
1393         * WebKitPrefix.h:
1394         * WebKitStatistics.cpp:
1395         * WebKitSystemBits.cpp:
1396         * WebLocalizableStrings.cpp:
1397         * WebMutableURLRequest.cpp:
1398         * WebNavigationData.cpp:
1399         * WebNodeHighlight.cpp:
1400         * WebNotification.cpp:
1401         * WebNotificationCenter.cpp:
1402         * WebPreferences.cpp:
1403         * WebResource.cpp:
1404         * WebScriptObject.cpp:
1405         * WebScriptWorld.cpp:
1406         * WebSecurityOrigin.cpp:
1407         * WebSerializedJSValue.cpp:
1408         * WebTextRenderer.cpp:
1409         * WebURLAuthenticationChallenge.cpp:
1410         * WebURLAuthenticationChallengeSender.cpp:
1411         * WebURLAuthenticationChallengeSenderCFNet.cpp:
1412         * WebURLAuthenticationChallengeSenderCurl.cpp:
1413         * WebURLCredential.cpp:
1414         * WebURLProtectionSpace.cpp:
1415         * WebURLResponse.cpp:
1416         * WebUserContentURLPattern.cpp:
1417         * WebView.cpp:
1418         * WebWorkersPrivate.cpp:
1419
1420 2014-12-05  Anders Carlsson  <andersca@apple.com>
1421
1422         Follow-up build fix.
1423
1424         * WebCoreSupport/WebVisitedLinkStore.cpp:
1425         (WebVisitedLinkStore::shared):
1426
1427 2014-12-04  Anders Carlsson  <andersca@apple.com>
1428
1429         Don't use NeverDestroyed with a RefCounted object.
1430
1431         * WebCoreSupport/WebVisitedLinkStore.cpp:
1432         (WebVisitedLinkStore::shared):
1433
1434 2014-12-03  peavo@outlook.com  <peavo@outlook.com>
1435
1436         [TexMap] Redundant method in GraphicsLayerTextureMapper.
1437         https://bugs.webkit.org/show_bug.cgi?id=138005
1438
1439         Reviewed by Alex Christensen.
1440
1441         The TextureMapperLayer method descendantsOrSelfHaveRunningAnimations() can be used
1442         instead of the GraphicsLayerTextureMapper method startedAnimation().
1443
1444         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1445         (AcceleratedCompositingContext::startedAnimation):
1446
1447 2014-12-02  Anders Carlsson  <andersca@apple.com>
1448
1449         Remove more Windows cruft
1450         https://bugs.webkit.org/show_bug.cgi?id=139189
1451
1452         Reviewed by Andreas Kling.
1453
1454         * WebCoreSupport/WebFrameLoaderClient.cpp:
1455         (WebFrameLoaderClient::createNetworkingContext):
1456         * WebCoreSupport/WebFrameNetworkingContext.h:
1457         (WebFrameNetworkingContext::create):
1458         (WebFrameNetworkingContext::WebFrameNetworkingContext):
1459         (WebFrameNetworkingContext::userAgent): Deleted.
1460
1461 2014-12-02  Anders Carlsson  <andersca@apple.com>
1462
1463         Remove visited link handling from PageGroup
1464         https://bugs.webkit.org/show_bug.cgi?id=139185
1465
1466         Reviewed by Sam Weinig.
1467
1468         * WebCoreSupport/WebChromeClient.cpp:
1469         (WebChromeClient::populateVisitedLinks): Deleted.
1470         * WebCoreSupport/WebChromeClient.h:
1471
1472 2014-12-01  Anders Carlsson  <andersca@apple.com>
1473
1474         Remove IWebCookieManager on Windows
1475         https://bugs.webkit.org/show_bug.cgi?id=139144
1476
1477         Reviewed by Sam Weinig.
1478
1479         Remove WebCookieManager.
1480
1481         * ForEachCoClass.h:
1482         * Interfaces/IWebCookieManager.idl: Removed.
1483         * Interfaces/WebKit.idl:
1484         * WebCookieManager.cpp: Removed.
1485         * WebCookieManager.h: Removed.
1486         * WebCookieManagerCFNet.cpp: Removed.
1487         * WebCookieManagerCurl.cpp: Removed.
1488         * WebKitClassFactory.cpp:
1489
1490 2014-11-29  Anders Carlsson  <andersca@apple.com>
1491
1492         Switch over to using WebVisitedLinkStore on Windows
1493         https://bugs.webkit.org/show_bug.cgi?id=139103
1494
1495         Reviewed by Antti Koivisto.
1496
1497         * WebCoreSupport/WebChromeClient.cpp:
1498         (WebChromeClient::populateVisitedLinks):
1499         * WebHistory.cpp:
1500         (WebHistory::setOptionalSharedHistory):
1501         (WebHistory::removeAllItems):
1502         (WebHistory::setVisitedLinkTrackingEnabled):
1503         (WebHistory::removeAllVisitedLinks):
1504         (WebHistory::removeItemForURLString):
1505         (WebHistory::addVisitedLinksToVisitedLinkStore):
1506         (WebHistory::addVisitedLinksToPageGroup): Deleted.
1507         * WebHistory.h:
1508         * WebView.cpp:
1509         (WebView::initWithFrame):
1510
1511 2014-11-29  Anders Carlsson  <andersca@apple.com>
1512
1513         Another build fix.
1514
1515         * WebHistory.cpp:
1516         (WebHistory::addVisitedLinksToVisitedLinkStore):
1517
1518 2014-11-29  Anders Carlsson  <andersca@apple.com>
1519
1520         Another build fix.
1521
1522         * WebHistory.cpp:
1523         (WebHistory::addVisitedLinksToVisitedLinkStore):
1524         (WebHistory::removeAllVisitedLinks): Deleted.
1525         (WebHistory::setHistoryItemLimit): Deleted.
1526
1527 2014-11-29  Anders Carlsson  <andersca@apple.com>
1528
1529         Try to fix build.
1530
1531         * WebHistory.h:
1532
1533 2014-11-29  Anders Carlsson  <andersca@apple.com>
1534
1535         Stub out more of WebVisitedLinkStore on Windows
1536         https://bugs.webkit.org/show_bug.cgi?id=139098
1537
1538         Reviewed by Sam Weinig.
1539
1540         * WebCoreSupport/WebVisitedLinkStore.cpp:
1541         (WebVisitedLinkStore::WebVisitedLinkStore):
1542         Initialize m_visitedLinksPopulated to false.
1543
1544         (WebVisitedLinkStore::setShouldTrackVisitedLinks):
1545         Update s_shouldTrackVisitedLinks and remove all visited links if needed.
1546
1547         (WebVisitedLinkStore::removeAllVisitedLinks):
1548         Remove all hashes from our shared link store.
1549
1550         (WebVisitedLinkStore::addVisitedLink):
1551         Compute the visited link hash and add it to the store.
1552
1553         (WebVisitedLinkStore::isLinkVisited):
1554         Populate visited links and then look up the hash in our hash map.
1555
1556         (WebVisitedLinkStore::populateVisitedLinksIfNeeded):
1557         Call out to the history delegate or populate visited links from shared history.
1558
1559         (WebVisitedLinkStore::addVisitedLinkHash):
1560         Add the hash if we're tracking hashes.
1561
1562         (WebVisitedLinkStore::removeVisitedLinkHashes):
1563         Clear the map.
1564
1565         * WebCoreSupport/WebVisitedLinkStore.h:
1566         Add members.
1567
1568         * WebHistory.cpp:
1569         (WebHistory::addVisitedLinksToVisitedLinkStore):
1570         New function that adds visited links from the history to a given store.
1571
1572         * WebHistory.h:
1573         Add new member.
1574
1575         * WebView.cpp:
1576         (WebView::addVisitedLinks):
1577         Add links to the visited link store as well.
1578
1579 2014-11-27  Anders Carlsson  <andersca@apple.com>
1580
1581         Add a stubbed out WebVisitedLinkStore class on Windows
1582         https://bugs.webkit.org/show_bug.cgi?id=139078
1583
1584         Reviewed by Sam Weinig.
1585
1586         * WebCoreSupport/WebVisitedLinkStore.cpp: Added.
1587         (WebVisitedLinkStore::shared):
1588         (WebVisitedLinkStore::WebVisitedLinkStore):
1589         (WebVisitedLinkStore::~WebVisitedLinkStore):
1590         (WebVisitedLinkStore::isLinkVisited):
1591         (WebVisitedLinkStore::addVisitedLink):
1592         * WebCoreSupport/WebVisitedLinkStore.h: Added.
1593
1594 2014-11-24  Anders Carlsson  <andersca@apple.com>
1595
1596         Stub out user content WebView member functions on Windows
1597         https://bugs.webkit.org/show_bug.cgi?id=139033
1598
1599         Reviewed by Sam Weinig.
1600
1601         These functions aren't used by any clients and hinder getting rid of PageGroup.
1602         If it turns out they're still needed we can copy the user content controller code from Mac Legacy WebKit.
1603
1604         * WebView.cpp:
1605         (WebView::addUserScriptToGroup):
1606         (WebView::addUserStyleSheetToGroup):
1607         (WebView::removeUserScriptFromGroup):
1608         (WebView::removeUserStyleSheetFromGroup):
1609         (WebView::removeUserScriptsFromGroup):
1610         (WebView::removeUserStyleSheetsFromGroup):
1611         (WebView::removeAllUserContentFromGroup):
1612         (toStringVector): Deleted.
1613
1614 2014-11-21  Jer Noble  <jer.noble@apple.com>
1615
1616         Support multiple signatures of diagnostic logging.
1617         https://bugs.webkit.org/show_bug.cgi?id=138690
1618
1619         Reviewed by Anders Carlsson.
1620
1621         Page::PageClients has been renamed PageConfiguration.
1622
1623         * WebView.cpp:
1624         (WebView::initWithFrame):
1625
1626 2014-11-21  Anders Carlsson  <andersca@apple.com>
1627
1628         Another Windows build fix.
1629
1630         * FullscreenVideoController.cpp:
1631         (FullscreenVideoController::FullscreenVideoController):
1632
1633 2014-11-21  Anders Carlsson  <andersca@apple.com>
1634
1635         Remove the Timer parameters from timer callbacks
1636         https://bugs.webkit.org/show_bug.cgi?id=138974
1637
1638         Reviewed by Antti Koivisto.
1639
1640         * FullscreenVideoController.cpp:
1641         (FullscreenVideoController::timerFired):
1642         * FullscreenVideoController.h:
1643
1644 2014-11-21  Anders Carlsson  <andersca@apple.com>
1645
1646         Make memoryCache() return a reference
1647         https://bugs.webkit.org/show_bug.cgi?id=138939
1648
1649         Reviewed by Antti Koivisto.
1650
1651         * WebCache.cpp:
1652         (WebCache::statistics):
1653         (WebCache::empty):
1654         (WebCache::setDisabled):
1655         (WebCache::disabled):
1656         * WebView.cpp:
1657         (WebView::setCacheModel):
1658
1659 2014-11-16  Zan Dobersek  <zdobersek@igalia.com>
1660
1661         [TexMap] Add typecasting support for GraphicsLayerTextureMapper
1662         https://bugs.webkit.org/show_bug.cgi?id=138741
1663
1664         Reviewed by Martin Robinson.
1665
1666         Switch to using downcast<GraphicsLayerTextureMapper>() and replace
1667         uses of toTextureMapperLayer() with downcasting and calling
1668         the GraphicsLayerTextureMapper::layer() method.
1669
1670         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1671         (AcceleratedCompositingContext::initialize):
1672         (AcceleratedCompositingContext::startedAnimation):
1673         (AcceleratedCompositingContext::compositeLayersToContext):
1674
1675 2014-11-12  Chris Dumez  <cdumez@apple.com>
1676
1677         Have DOMTimer deal with more ScriptExecutionContext references
1678         https://bugs.webkit.org/show_bug.cgi?id=138679
1679
1680         Reviewed by Andreas Kling.
1681
1682         Update WindowCloseTimer to deal with ScriptExecutionContext references
1683         instead of pointers as it subclasses SuspendableTimer and its
1684         constructor takes a ScriptExecutionContext& in argument.
1685
1686         * WebView.cpp:
1687         (WindowCloseTimer::create):
1688         (WindowCloseTimer::WindowCloseTimer):
1689
1690 2014-11-05  Jer Noble  <jer.noble@apple.com>
1691
1692         De-templatize Timer
1693         https://bugs.webkit.org/show_bug.cgi?id=138450
1694
1695         Reviewed by Anders Carlsson.
1696
1697         * FullscreenVideoController.cpp:
1698         (FullscreenVideoController::timerFired):
1699         * FullscreenVideoController.h:
1700
1701 2014-11-04  Darin Adler  <darin@apple.com>
1702
1703         Eliminate ResourceBuffer and use SharedBuffer directly instead
1704         https://bugs.webkit.org/show_bug.cgi?id=138174
1705
1706         Reviewed by Antti Koivisto.
1707
1708         * WebDataSource.cpp:
1709         (WebDataSource::data): Use SharedBuffer directly.
1710         (WebDataSource::subresourceForURL): Ditto.
1711
1712 2014-11-03  Commit Queue  <commit-queue@webkit.org>
1713
1714         Unreviewed, rolling out r175406, r175413, and r175423.
1715         https://bugs.webkit.org/show_bug.cgi?id=138327
1716
1717         Multipart tests are still broken (Requested by ap on #webkit).
1718
1719         Reverted changesets:
1720
1721         "Eliminate ResourceBuffer and use SharedBuffer directly
1722         instead"
1723         https://bugs.webkit.org/show_bug.cgi?id=138174
1724         http://trac.webkit.org/changeset/175406
1725
1726         "Unreviewed, iOS build fix since 175406."
1727         http://trac.webkit.org/changeset/175413
1728
1729         "Fix assertion in CachedResource::addDataBuffer"
1730         http://trac.webkit.org/changeset/175423
1731
1732 2014-11-03  Sungmann Cho  <sungmann.cho@navercorp.com>
1733
1734         AX: Fix some minor typos related to the word "accessibility".
1735         https://bugs.webkit.org/show_bug.cgi?id=138299
1736
1737         Reviewed by Chris Fleizach.
1738
1739         No new tests, no behavior change.
1740
1741         * AccessibleBase.h:
1742
1743 2014-10-31  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1744
1745         Use std::unique_ptr for TypeCountSet
1746         https://bugs.webkit.org/show_bug.cgi?id=138242
1747
1748         Reviewed by Andreas Kling.
1749
1750         * WebCoreStatistics.cpp:
1751         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): Use std::unique_ptr<> instead of OwnPtr.
1752         (WebCoreStatistics::javaScriptObjectTypeCounts): ditto.
1753
1754 2014-10-30  Darin Adler  <darin@apple.com>
1755
1756         Eliminate ResourceBuffer and use SharedBuffer directly instead
1757         https://bugs.webkit.org/show_bug.cgi?id=138174
1758
1759         Reviewed by Antti Koivisto.
1760
1761         * WebDataSource.cpp:
1762         (WebDataSource::data): Use SharedBuffer directly.
1763         (WebDataSource::subresourceForURL): Ditto.
1764
1765 2014-10-20  peavo@outlook.com  <peavo@outlook.com>
1766
1767         [WinCairo] Crash in ATI display driver in accelerated compositing mode.
1768         https://bugs.webkit.org/show_bug.cgi?id=137879
1769
1770         Reviewed by Darin Adler.
1771
1772         Speculative fix; don't enable antialiasing when drawing textures.
1773
1774         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1775         (AcceleratedCompositingContext::initialize):
1776
1777 2014-10-20  Chris Dumez  <cdumez@apple.com>
1778
1779         Use is<>() / downcast<>() for Accessibility objects
1780         https://bugs.webkit.org/show_bug.cgi?id=137286
1781
1782         Reviewed by Darin Adler.
1783
1784         Use is<>() / downcast<>() for Accessibility objects.
1785
1786         * AccessibleBase.cpp:
1787         (AccessibleBase::accSelect):
1788         * AccessibleImage.cpp:
1789         (AccessibleImage::name):
1790
1791 2014-10-18  peavo@outlook.com  <peavo@outlook.com>
1792
1793         [WinCairo] Repaint issues with accelerated compositing.
1794         https://bugs.webkit.org/show_bug.cgi?id=137850
1795
1796         Reviewed by Brent Fulgham.
1797
1798         There is sometimes missing content in accelerated compositing mode.
1799         This is caused by not invalidating the non composited layer,
1800         and not rendering when a flush did not complete.
1801
1802         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1803         (AcceleratedCompositingContext::flushAndRenderLayers): Also render when flush did not complete.
1804         (AcceleratedCompositingContext::setNeedsDisplayInRect): Deleted.
1805         * WebCoreSupport/AcceleratedCompositingContext.h: Ditto.
1806         * WebView.cpp:
1807         (WebView::addToDirtyRegion): Invalidate non composited layer.
1808         (WebView::flushPendingGraphicsLayerChanges): Flush layers.
1809
1810 2014-10-17  Chris Dumez  <cdumez@apple.com>
1811
1812         Use is<>() / downcast<>() for RenderBox
1813         https://bugs.webkit.org/show_bug.cgi?id=137804
1814
1815         Reviewed by Andreas Kling.
1816
1817         Use is<>() / downcast<>() for RenderBox and clean up the surrounding
1818         code.
1819
1820         * WebView.cpp:
1821         (WebView::gestureNotify):
1822
1823 2014-10-17  peavo@outlook.com  <peavo@outlook.com>
1824
1825         [WinCairo] Accelerated compositing is not implemented.
1826         https://bugs.webkit.org/show_bug.cgi?id=137345
1827
1828         Reviewed by Brent Fulgham.
1829
1830         This patch is based on GTK, and the texture mapper graphics layer type.
1831
1832         * WebCoreSupport/AcceleratedCompositingContext.cpp: Added.
1833         (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
1834         (WebKit::getWebViewSize):
1835         (WebKit::AcceleratedCompositingContext::initialize):
1836         (WebKit::AcceleratedCompositingContext::~AcceleratedCompositingContext):
1837         (WebKit::AcceleratedCompositingContext::stopAnyPendingLayerFlush):
1838         (WebKit::AcceleratedCompositingContext::enabled):
1839         (WebKit::AcceleratedCompositingContext::prepareForRendering):
1840         (WebKit::AcceleratedCompositingContext::startedAnimation):
1841         (WebKit::AcceleratedCompositingContext::compositeLayersToContext):
1842         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
1843         (WebKit::AcceleratedCompositingContext::setNonCompositedContentsNeedDisplay):
1844         (WebKit::AcceleratedCompositingContext::setNeedsDisplayInRect):
1845         (WebKit::AcceleratedCompositingContext::resizeRootLayer):
1846         (WebKit::AcceleratedCompositingContext::scrollNonCompositedContents):
1847         (WebKit::AcceleratedCompositingContext::scheduleLayerFlush):
1848         (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
1849         (WebKit::AcceleratedCompositingContext::flushPendingLayerChangesSoon):
1850         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers):
1851         (WebKit::AcceleratedCompositingContext::layerFlushTimerFired):
1852         (WebKit::AcceleratedCompositingContext::notifyAnimationStarted):
1853         (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
1854         (WebKit::AcceleratedCompositingContext::paintContents):
1855         * WebCoreSupport/AcceleratedCompositingContext.h: Added.
1856         (WebKit::AcceleratedCompositingContext::LayerFlushTimer::LayerFlushTimer):
1857         (WebKit::AcceleratedCompositingContext::LayerFlushTimer::fired):
1858         * WebView.cpp:
1859         (WebView::WebView):
1860         (WebView::addToDirtyRegion):
1861         (WebView::scrollBackingStore):
1862         (WebView::sizeChanged):
1863         (WebView::paint):
1864         (WebView::setRootChildLayer):
1865         (WebView::flushPendingGraphicsLayerChangesSoon):
1866         (WebView::setAcceleratedCompositing):
1867         * WebView.h:
1868
1869 2014-10-16  Commit Queue  <commit-queue@webkit.org>
1870
1871         Unreviewed, rolling out r174754.
1872         https://bugs.webkit.org/show_bug.cgi?id=137789
1873
1874         Speculative fix for Windows test was ineffective. (Requested
1875         by rfong on #webkit).
1876
1877         Reverted changeset:
1878
1879         "[Windows] Add some more logging to debug Windows test
1880         issues."
1881         http://trac.webkit.org/changeset/174754
1882
1883 2014-10-15  Roger Fong  <roger_fong@apple.com>
1884
1885         [Windows] Add some more logging to debug Windows test issues.
1886
1887         * WebActionPropertyBag.cpp:
1888         (WebActionPropertyBag::Read):
1889
1890 2014-10-14  Roger Fong  <roger_fong@apple.com>
1891
1892         [Windows] Add some logging to debug random crashing when running layout tests on Windows.
1893
1894         * WebActionPropertyBag.cpp:
1895         (WebActionPropertyBag::Read):
1896
1897 2014-10-13  Brent Fulgham  <bfulgham@apple.com>
1898
1899         [Win] Implement a page load profiling tool
1900         https://bugs.webkit.org/show_bug.cgi?id=137673
1901
1902         Reviewed by Dean Jackson.
1903
1904         Add a new predicate (isMainFrame) to the IWebFrame interface so
1905         that we can make decisions about a frames position in the page
1906         load hierarchy in client programs.
1907
1908         * Interfaces/IWebFrame.idl: Added new isMainFrame
1909         predicate to interface definition.
1910         * WebFrame.cpp:
1911         (WebFrame::isMainFrame): Added.
1912         * WebFrame.h:
1913
1914 2014-10-13  Chris Dumez  <cdumez@apple.com>
1915
1916         Use is<>() / downcast<>() for PlatformCALayer subclasses
1917         https://bugs.webkit.org/show_bug.cgi?id=137661
1918
1919         Reviewed by Simon Fraser.
1920
1921         Use is<>() / downcast<>() for PlatformCALayer subclasses and clean up 
1922         the surrounding code.
1923
1924         * FullscreenVideoController.cpp:
1925         (FullscreenVideoController::enterFullscreen):
1926
1927 2014-10-10  Chris Dumez  <cdumez@apple.com>
1928
1929         Use is<>() / downcast<>() for RenderElement
1930         https://bugs.webkit.org/show_bug.cgi?id=137622
1931
1932         Reviewed by Benjamin Poulain.
1933
1934         Use is<>() / downcast<>() for RenderElement and clean up the
1935         surrounding code.
1936
1937         * WebFrame.cpp:
1938         (WebFrame::pauseAnimation):
1939         (WebFrame::pauseTransition):
1940
1941 2014-10-09  Chris Dumez  <cdumez@apple.com>
1942
1943         Use is<>() / downcast<>() for Widget subclasses
1944         https://bugs.webkit.org/show_bug.cgi?id=137549
1945
1946         Reviewed by Darin Adler.
1947
1948         Use is<>() / downcast<>() for Widget subclasses and clean up the
1949         surrounding code.
1950
1951         * WebCoreSupport/EmbeddedWidget.cpp:
1952         (EmbeddedWidget::frameRectsChanged):
1953
1954 2014-10-08  Brent Fulgham  <bfulgham@apple.com>
1955
1956         [Win] Resolve various static analyzer warnings in WebKit.
1957         https://bugs.webkit.org/show_bug.cgi?id=137531
1958
1959         Reviewed by Dean Jackson.
1960
1961         * MarshallingHelpers.cpp:
1962         (MarshallingHelpers::safeArrayToIntArray): Handle possible failure of
1963         SafeArrayGetElement call.
1964         (MarshallingHelpers::safeArrayToIUnknownArray): Ditto.
1965         * MemoryStream.cpp:
1966         (MemoryStream::CopyTo): Zero-initialize 'written' to silence warning. 
1967         * WebCoreSupport/WebChromeClient.cpp:
1968         (WebChromeClient::exceededDatabaseQuota): Handle possible failure of
1969         GetModuleFileName.
1970         * WebHistory.cpp:
1971         (getDayBoundaries): Handle possible failure of TzSpecificLocalTimeToSystemTime
1972         * WebView.cpp:
1973         (WebView::shouldInitializeTrackPointHack): Zero initialize return value.
1974         (WebView::dispatchDidReceiveIconFromWebFrame): Avoid possible DeleteObject
1975         call on a null bitmap handle.
1976         (WebView::standardUserAgentWithApplicationName): Get rid of spurious
1977         pointer dereference.
1978
1979 2014-10-02  Tim Horton  <timothy_horton@apple.com>
1980
1981         Move PageOverlay[Controller] to WebCore
1982         https://bugs.webkit.org/show_bug.cgi?id=137164
1983         <rdar://problem/18508258>
1984
1985         Reviewed by Anders Carlsson.
1986
1987         * WebCoreSupport/WebChromeClient.cpp:
1988         (WebChromeClient::attachViewOverlayGraphicsLayer):
1989         * WebCoreSupport/WebChromeClient.h:
1990         Add an empty ChromeClient override.
1991
1992 2014-10-01  Christophe Dumez  <cdumez@apple.com>
1993
1994         Have is<>(T*) function do a null check on the pointer argument
1995         https://bugs.webkit.org/show_bug.cgi?id=137333
1996
1997         Reviewed by Gavin Barraclough.
1998
1999         Have is<>(T*) function do a null check on the argument instead of a
2000         simple assertion. This makes sense for 2 reasons:
2001         1. It is more consistent with downcast<>(T*), which will succeed even
2002            if the argument is a nullptr.
2003         2. It simplifies the code a bit as it gets rid of a lot of explicit
2004            null checks.
2005
2006         * DOMCoreClasses.cpp:
2007         (DOMElement::createInstance):
2008         * DOMHTMLClasses.cpp:
2009         (DOMHTMLDocument::body):
2010         (DOMHTMLDocument::forms):
2011         (DOMHTMLElement::idName):
2012         (DOMHTMLElement::innerText):
2013         (DOMHTMLElement::setInnerText):
2014         (DOMHTMLFormElement::action):
2015         (DOMHTMLFormElement::method):
2016         (DOMHTMLOptionElement::text):
2017         (DOMHTMLOptionElement::label):
2018         (DOMHTMLInputElement::form):
2019         (DOMHTMLInputElement::disabled):
2020         (DOMHTMLInputElement::readOnly):
2021         (DOMHTMLInputElement::setType):
2022         (DOMHTMLInputElement::value):
2023         (DOMHTMLInputElement::setValue):
2024         (DOMHTMLInputElement::setValueForUser):
2025         (DOMHTMLInputElement::select):
2026         (DOMHTMLInputElement::setSelectionStart):
2027         (DOMHTMLInputElement::selectionStart):
2028         (DOMHTMLInputElement::setSelectionEnd):
2029         (DOMHTMLInputElement::selectionEnd):
2030         (DOMHTMLInputElement::isTextField):
2031         (DOMHTMLInputElement::rectOnScreen):
2032         (DOMHTMLInputElement::replaceCharactersInRange):
2033         (DOMHTMLInputElement::selectedRange):
2034         (DOMHTMLInputElement::setAutofilled):
2035         (DOMHTMLInputElement::isAutofilled):
2036         (DOMHTMLInputElement::isUserEdited):
2037         (DOMHTMLTextAreaElement::form):
2038         (DOMHTMLTextAreaElement::value):
2039         (DOMHTMLTextAreaElement::setValue):
2040         (DOMHTMLTextAreaElement::select):
2041         (DOMHTMLTextAreaElement::isUserEdited):
2042         * WebFrame.cpp:
2043         (formElementFromDOMElement):
2044         (inputElementFromDOMElement):
2045         (WebFrame::elementWithName):
2046
2047 2014-09-30  Christophe Dumez  <cdumez@apple.com>
2048
2049         Generalize is<>() / downcast<>() support to all types
2050         https://bugs.webkit.org/show_bug.cgi?id=137243
2051
2052         Reviewed by Benjamin Poulain.
2053
2054         Generalize is<>() / downcast<>() support to all types, not just Nodes.
2055
2056         * DOMCoreClasses.cpp:
2057         (DOMElement::createInstance):
2058
2059 2014-09-30  Chris Dumez  <cdumez@apple.com>
2060
2061         Use is<>() / downcast<>() for Element
2062         https://bugs.webkit.org/show_bug.cgi?id=137241
2063
2064         Reviewed by Andreas Kling.
2065
2066         Use is<>() / downcast<>() for Element instead of isElementNode() /
2067         toElement().
2068
2069         * DOMEventsClasses.cpp:
2070         (DOMMouseEvent::toElement):
2071         * DOMEventsClasses.h:
2072
2073 2014-09-29  Christophe Dumez  <cdumez@apple.com>
2074
2075         Make is<>() / downcast<>() work for HTMLDocument and its subclasses
2076         https://bugs.webkit.org/show_bug.cgi?id=137169
2077
2078         Reviewed by Darin Adler.
2079
2080         Use is<>() / downcast<>() for HTMLDocument and its subclasses.
2081
2082         * DOMHTMLClasses.cpp:
2083         (DOMHTMLDocument::URL):
2084         (DOMHTMLDocument::body):
2085         (DOMHTMLDocument::forms):
2086
2087 2014-09-28  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2088
2089         Use std::unique_ptr for ContextMenuController
2090         https://bugs.webkit.org/show_bug.cgi?id=137178
2091
2092         Reviewed by Darin Adler.
2093
2094         Switch to using std::unique_ptr instead of OwnPtr and PassOwnPtr
2095         for ContextMenuController class. Inherited class is changed by this use as well.
2096
2097         * WebCoreSupport/WebContextMenuClient.cpp:
2098         (WebContextMenuClient::customizeMenu):
2099         * WebCoreSupport/WebContextMenuClient.h:
2100
2101 2014-09-26  Christophe Dumez  <cdumez@apple.com>
2102
2103         Stop using legacy NODE_TYPE_CASTS() macro for HTML Elements
2104         https://bugs.webkit.org/show_bug.cgi?id=137137
2105
2106         Reviewed by Benjamin Poulain.
2107
2108         Use is<>() / downcast<>() where appropriate.
2109
2110         * DOMHTMLClasses.cpp:
2111         (DOMHTMLElement::idName):
2112         (DOMHTMLElement::innerText):
2113         (DOMHTMLElement::setInnerText):
2114
2115 2014-09-25  Brent Fulgham  <bfulgham@apple.com>
2116
2117         [Win] Debug builds of TestWebKitAPI are crashing.
2118         https://bugs.webkit.org/show_bug.cgi?id=133553
2119
2120         Reviewed by Dean Jackson.
2121
2122         Switch from global static HashTable to a NeverDestroyed object.
2123         Modify all accessors of the global static to use the new
2124         NeverDestroyed accessor method.
2125
2126         * AccessibleBase.cpp:
2127         (AccessibleBase::AccessibleBase):
2128         (AccessibleBase::~AccessibleBase):
2129         * CFDictionaryPropertyBag.cpp:
2130         (CFDictionaryPropertyBag::CFDictionaryPropertyBag):
2131         (CFDictionaryPropertyBag::~CFDictionaryPropertyBag):
2132         * DefaultDownloadDelegate.cpp:
2133         (DefaultDownloadDelegate::DefaultDownloadDelegate):
2134         (DefaultDownloadDelegate::~DefaultDownloadDelegate):
2135         * DefaultPolicyDelegate.cpp:
2136         (DefaultPolicyDelegate::DefaultPolicyDelegate):
2137         (DefaultPolicyDelegate::~DefaultPolicyDelegate):
2138         * MemoryStream.cpp:
2139         (MemoryStream::MemoryStream):
2140         (MemoryStream::~MemoryStream):
2141         * WebActionPropertyBag.cpp:
2142         (WebActionPropertyBag::WebActionPropertyBag):
2143         (WebActionPropertyBag::~WebActionPropertyBag):
2144         * WebArchive.cpp:
2145         (WebArchive::WebArchive):
2146         (WebArchive::~WebArchive):
2147         * WebBackForwardList.cpp:
2148         (WebBackForwardList::WebBackForwardList):
2149         (WebBackForwardList::~WebBackForwardList):
2150         * WebCache.cpp:
2151         (WebCache::WebCache):
2152         (WebCache::~WebCache):
2153         * WebCookieManager.cpp:
2154         (WebCookieManager::WebCookieManager):
2155         (WebCookieManager::~WebCookieManager):
2156         * WebCoreStatistics.cpp:
2157         (WebCoreStatistics::WebCoreStatistics):
2158         (WebCoreStatistics::~WebCoreStatistics):
2159         * WebDataSource.cpp:
2160         (WebDataSource::~WebDataSource):
2161         * WebDatabaseManager.cpp:
2162         (WebDatabaseManager::WebDatabaseManager):
2163         (WebDatabaseManager::~WebDatabaseManager):
2164         * WebDocumentLoader.cpp:
2165         (WebDocumentLoader::WebDocumentLoader):
2166         (WebDocumentLoader::~WebDocumentLoader):
2167         * WebDownload.cpp:
2168         (WebDownload::WebDownload):
2169         (WebDownload::~WebDownload):
2170         * WebDropSource.cpp:
2171         (WebDropSource::WebDropSource):
2172         (WebDropSource::~WebDropSource):
2173         * WebElementPropertyBag.cpp:
2174         (WebElementPropertyBag::WebElementPropertyBag):
2175         (WebElementPropertyBag::~WebElementPropertyBag):
2176         * WebError.cpp:
2177         (WebError::WebError):
2178         (WebError::~WebError):
2179         * WebFrame.cpp:
2180         (WebFrame::WebFrame):
2181         (WebFrame::~WebFrame):
2182         * WebFramePolicyListener.cpp:
2183         (WebFramePolicyListener::WebFramePolicyListener):
2184         (WebFramePolicyListener::~WebFramePolicyListener):
2185         * WebGeolocationPolicyListener.cpp:
2186         (WebGeolocationPolicyListener::WebGeolocationPolicyListener):
2187         (WebGeolocationPolicyListener::~WebGeolocationPolicyListener):
2188         * WebGeolocationPosition.cpp:
2189         (WebGeolocationPosition::WebGeolocationPosition):
2190         (WebGeolocationPosition::~WebGeolocationPosition):
2191         * WebHTMLRepresentation.cpp:
2192         (WebHTMLRepresentation::WebHTMLRepresentation):
2193         (WebHTMLRepresentation::~WebHTMLRepresentation):
2194         * WebHistory.cpp:
2195         (WebHistory::WebHistory):
2196         (WebHistory::~WebHistory):
2197         * WebHistoryItem.cpp:
2198         (WebHistoryItem::WebHistoryItem):
2199         (WebHistoryItem::~WebHistoryItem):
2200         * WebIconDatabase.cpp:
2201         (WebIconDatabase::WebIconDatabase):
2202         (WebIconDatabase::~WebIconDatabase):
2203         * WebInspector.cpp:
2204         (WebInspector::WebInspector):
2205         (WebInspector::~WebInspector):
2206         * WebJavaScriptCollector.cpp:
2207         (WebJavaScriptCollector::WebJavaScriptCollector):
2208         (WebJavaScriptCollector::~WebJavaScriptCollector):
2209         * WebKitClassFactory.cpp:
2210         (WebKitClassFactory::WebKitClassFactory):
2211         (WebKitClassFactory::~WebKitClassFactory):
2212         * WebKitDLL.cpp: Also switch to NeverDestroyed HashTable for
2213         the global class name count.
2214         * WebKitDLL.h:
2215         * WebKitStatistics.cpp:
2216         (WebKitStatistics::WebKitStatistics):
2217         (WebKitStatistics::~WebKitStatistics):
2218         (WebKitStatistics::comClassNameCounts):
2219         * WebMutableURLRequest.cpp:
2220         (WebMutableURLRequest::WebMutableURLRequest):
2221         (WebMutableURLRequest::~WebMutableURLRequest):
2222         * WebNavigationData.cpp:
2223         (WebNavigationData::WebNavigationData):
2224         (WebNavigationData::~WebNavigationData):
2225         * WebNotification.cpp:
2226         (WebNotification::WebNotification):
2227         (WebNotification::~WebNotification):
2228         * WebNotificationCenter.cpp:
2229         (WebNotificationCenter::WebNotificationCenter):
2230         (WebNotificationCenter::~WebNotificationCenter):
2231         * WebPreferences.cpp:
2232         (webPreferencesInstances):
2233         (WebPreferences::WebPreferences):
2234         (WebPreferences::~WebPreferences):
2235         (WebPreferences::getInstanceForIdentifier):
2236         (WebPreferences::setInstance):
2237         (WebPreferences::removeReferenceForIdentifier):
2238         * WebResource.cpp:
2239         (WebResource::WebResource):
2240         (WebResource::~WebResource):
2241         * WebScriptObject.cpp:
2242         (WebScriptObject::WebScriptObject):
2243         (WebScriptObject::~WebScriptObject):
2244         * WebScriptWorld.cpp:
2245         (WebScriptWorld::WebScriptWorld):
2246         (WebScriptWorld::~WebScriptWorld):
2247         * WebSecurityOrigin.cpp:
2248         (WebSecurityOrigin::WebSecurityOrigin):
2249         (WebSecurityOrigin::~WebSecurityOrigin):
2250         * WebSerializedJSValue.cpp:
2251         (WebSerializedJSValue::WebSerializedJSValue):
2252         (WebSerializedJSValue::~WebSerializedJSValue):
2253         * WebTextRenderer.cpp:
2254         (WebTextRenderer::WebTextRenderer):
2255         (WebTextRenderer::~WebTextRenderer):
2256         * WebURLAuthenticationChallenge.cpp:
2257         (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge):
2258         (WebURLAuthenticationChallenge::~WebURLAuthenticationChallenge):
2259         * WebURLAuthenticationChallengeSender.cpp:
2260         (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender):
2261         (WebURLAuthenticationChallengeSender::~WebURLAuthenticationChallengeSender):
2262         * WebURLCredential.cpp:
2263         (WebURLCredential::WebURLCredential):
2264         (WebURLCredential::~WebURLCredential):
2265         * WebURLProtectionSpace.cpp:
2266         (WebURLProtectionSpace::WebURLProtectionSpace):
2267         (WebURLProtectionSpace::~WebURLProtectionSpace):
2268         * WebURLResponse.cpp:
2269         (:m_refCount):
2270         (WebURLResponse::~WebURLResponse):
2271         * WebUserContentURLPattern.cpp:
2272         (WebUserContentURLPattern::WebUserContentURLPattern):
2273         (WebUserContentURLPattern::~WebUserContentURLPattern):
2274         * WebView.cpp:
2275         (pendingDeleteBackingStoreSet): Switch from a global static
2276         value to a NeverDestroyed object wrapped by an accessor function.
2277         (WebView::WebView): Ditto.
2278         (WebView::~WebView): Ditto.
2279         (WebView::deleteBackingStore): Ditto.
2280         (WebView::deleteBackingStoreSoon): Ditto,
2281         (WebView::cancelDeleteBackingStoreSoon): Ditto.
2282         * WebWorkersPrivate.cpp: Switch from a global static value for
2283         the preferences objects t a NeverDestroyed container.
2284         (WebWorkersPrivate::WebWorkersPrivate): Ditto.
2285         (WebWorkersPrivate::~WebWorkersPrivate): Ditto.
2286
2287 2014-09-25  Christophe Dumez  <cdumez@apple.com>
2288
2289         Use is<HTML*Element>() instead of isHTML*Element() - Part 2
2290         https://bugs.webkit.org/show_bug.cgi?id=137103
2291
2292         Reviewed by Benjamin Poulain.
2293
2294         Use is<HTML*Element>() instead of isHTML*Element().
2295
2296         * DOMCoreClasses.cpp:
2297         (DOMElement::createInstance):
2298         * DOMHTMLClasses.cpp:
2299         (DOMHTMLFormElement::action):
2300         (DOMHTMLFormElement::method):
2301         * WebFrame.cpp:
2302         (formElementFromDOMElement):
2303
2304 2014-09-24  Christophe Dumez  <cdumez@apple.com>
2305
2306         Add initial is<>() / downcast<>() support for any type of Nodes
2307         https://bugs.webkit.org/show_bug.cgi?id=137056
2308
2309         Reviewed by Benjamin Poulain.
2310
2311         Use is<HTMLFormControlElement>() / downcast<HTMLFormControlElement>()
2312         instead of isFormControlElement() / toHTMLFormControlElement().
2313
2314         * WebFrame.cpp:
2315         (WebFrame::elementWithName):
2316
2317 2014-09-24  Christophe Dumez  <cdumez@apple.com>
2318
2319         Unreviewed build fix after r173932.
2320
2321         Unreviewed build fix after r173932 for Windows. Use WebCore:: namespace
2322         explicitely in DOMCoreClasses.cpp.
2323
2324         * DOMCoreClasses.cpp:
2325         (DOMElement::createInstance):
2326
2327 2014-09-24  Christophe Dumez  <cdumez@apple.com>
2328
2329         Use is<HTML*Element>() instead of isHTML*Element() - Part 1
2330         https://bugs.webkit.org/show_bug.cgi?id=137068
2331
2332         Reviewed by Ryosuke Niwa.
2333
2334         Start using is<HTML*Element>() instead of isHTML*Element().
2335         Remaining usages will be updated in a follow-up patch to
2336         reduce the size of the change.
2337
2338         * DOMCoreClasses.cpp:
2339         (DOMElement::createInstance):
2340         * DOMHTMLClasses.cpp:
2341         (DOMHTMLOptionElement::text):
2342         (DOMHTMLOptionElement::label):
2343         (DOMHTMLInputElement::form):
2344         (DOMHTMLInputElement::disabled):
2345         (DOMHTMLInputElement::readOnly):
2346         (DOMHTMLInputElement::setType):
2347         (DOMHTMLInputElement::value):
2348         (DOMHTMLInputElement::setValue):
2349         (DOMHTMLInputElement::setValueForUser):
2350         (DOMHTMLInputElement::select):
2351         (DOMHTMLInputElement::setSelectionStart):
2352         (DOMHTMLInputElement::selectionStart):
2353         (DOMHTMLInputElement::setSelectionEnd):
2354         (DOMHTMLInputElement::selectionEnd):
2355         (DOMHTMLInputElement::isTextField):
2356         (DOMHTMLInputElement::rectOnScreen):
2357         (DOMHTMLInputElement::replaceCharactersInRange):
2358         (DOMHTMLInputElement::selectedRange):
2359         (DOMHTMLInputElement::setAutofilled):
2360         (DOMHTMLInputElement::isAutofilled):
2361         (DOMHTMLInputElement::isUserEdited):
2362         (DOMHTMLTextAreaElement::form):
2363         (DOMHTMLTextAreaElement::value):
2364         (DOMHTMLTextAreaElement::setValue):
2365         (DOMHTMLTextAreaElement::select):
2366         (DOMHTMLTextAreaElement::isUserEdited):
2367         * WebFrame.cpp:
2368         (inputElementFromDOMElement):
2369
2370 2014-09-21  Timothy Hatcher  <timothy@apple.com>
2371
2372         Make the Web Inspector use a separate web process.
2373
2374         https://bugs.webkit.org/show_bug.cgi?id=135120
2375
2376         Reviewed by Anders Carlsson.
2377
2378         * WebCoreSupport/WebInspectorClient.cpp:
2379         (WebInspectorClient::openInspectorFrontend):
2380         * WebCoreSupport/WebInspectorClient.h:
2381         (WebInspectorClient::frontendClient):
2382         Own WebInspectorFrontendClient instead of moving it.
2383
2384 2014-09-23  Christophe Dumez  <cdumez@apple.com>
2385
2386         Unreviewed build fix after r173893.
2387
2388         Partial revert of r173893 to fix debug builds.
2389
2390         * DOMHTMLClasses.cpp:
2391         (DOMHTMLDocument::URL):
2392         (DOMHTMLDocument::body):
2393         (DOMHTMLDocument::forms):
2394
2395 2014-09-23  Chris Dumez  <cdumez@apple.com>
2396
2397         Use downcast<HTML*Element>() instead of toHTML*Element()
2398         https://bugs.webkit.org/show_bug.cgi?id=137007
2399
2400         Reviewed by Benjamin Poulain.
2401
2402         Use downcast<HTML*Element>() instead of toHTML*Element().
2403
2404         * DOMHTMLClasses.cpp:
2405         (DOMHTMLDocument::URL):
2406         (DOMHTMLDocument::body):
2407         (DOMHTMLDocument::forms):
2408         (DOMHTMLFormElement::action):
2409         (DOMHTMLFormElement::method):
2410         (DOMHTMLSelectElement::options):
2411         (DOMHTMLSelectElement::activateItemAtIndex):
2412         (DOMHTMLOptionElement::text):
2413         (DOMHTMLOptionElement::label):
2414         (DOMHTMLInputElement::form):
2415         (DOMHTMLInputElement::disabled):
2416         (DOMHTMLInputElement::readOnly):
2417         (DOMHTMLInputElement::setType):
2418         (DOMHTMLInputElement::value):
2419         (DOMHTMLInputElement::setValue):
2420         (DOMHTMLInputElement::setValueForUser):
2421         (DOMHTMLInputElement::select):
2422         (DOMHTMLInputElement::setSelectionStart):
2423         (DOMHTMLInputElement::selectionStart):
2424         (DOMHTMLInputElement::setSelectionEnd):
2425         (DOMHTMLInputElement::selectionEnd):
2426         (DOMHTMLInputElement::isTextField):
2427         (DOMHTMLInputElement::replaceCharactersInRange):
2428         (DOMHTMLInputElement::selectedRange):
2429         (DOMHTMLInputElement::setAutofilled):
2430         (DOMHTMLInputElement::isAutofilled):
2431         (DOMHTMLInputElement::isUserEdited):
2432         (DOMHTMLTextAreaElement::form):
2433         (DOMHTMLTextAreaElement::value):
2434         (DOMHTMLTextAreaElement::setValue):
2435         (DOMHTMLTextAreaElement::select):
2436         (DOMHTMLTextAreaElement::isUserEdited):
2437         (DOMHTMLIFrameElement::contentFrame):
2438         * WebFrame.cpp:
2439         (formElementFromDOMElement):
2440         (inputElementFromDOMElement):
2441
2442 2014-09-21  Chris Dumez  <cdumez@apple.com>
2443
2444         Generate Element casting helper functions
2445         https://bugs.webkit.org/show_bug.cgi?id=136839
2446
2447         Reviewed by Darin Adler.
2448
2449         Use JSXXX::toWrapped() instead of toXXX() function.
2450
2451         * WebView.cpp:
2452         (WebView::elementFromJS):
2453
2454 2014-09-06  Brian J. Burg  <burg@cs.washington.edu>
2455
2456         Web Inspector: convert DockSide to an enum class
2457         https://bugs.webkit.org/show_bug.cgi?id=136601
2458
2459         Reviewed by Timothy Hatcher.
2460
2461         * WebCoreSupport/WebInspectorClient.cpp:
2462         (WebInspectorFrontendClient::frontendLoaded):
2463
2464 2014-09-04  Antti Koivisto  <antti@apple.com>
2465
2466         Try to fix windows build.
2467
2468         * WebURLResponse.cpp:
2469         (WebURLResponse::createInstance):
2470         (WebURLResponse::initWithURL):
2471
2472 2014-09-02  Brian J. Burg  <burg@cs.washington.edu>
2473
2474         Web Inspector: fix prefixes for subclasses of JSC::ConsoleClient
2475         https://bugs.webkit.org/show_bug.cgi?id=136476
2476
2477         Reviewed by Timothy Hatcher.
2478
2479         * WebCoreStatistics.cpp:
2480         (WebCoreStatistics::shouldPrintExceptions):
2481         (WebCoreStatistics::setShouldPrintExceptions):
2482
2483 2014-09-02  Maciej Stachowiak  <mjs@apple.com>
2484
2485         Clean up naming for and slightly refactor legacy video fullscreen support
2486         https://bugs.webkit.org/show_bug.cgi?id=136446
2487
2488         Reviewed by Jer Noble.
2489
2490         Key changes:
2491         supportsFullscreenForNode(Node*) --> supportsVideoFullscreen()
2492         enterFullscreenForNode(Node*) --> enterVideoFullscreenForVideoElement(HTMLVideoElement*)
2493         exitFullscreenForNode(Node*) --> exitVideoFullscreen()
2494         
2495         The old versions had unnecessary parameters, did not clearly distinguish their purpose
2496         from enterFullscreenForElement and friends, and wrongly claimed generality to all Nodes.
2497         Also changed many other places to use HTMLVideoElement* instead of Node* or 
2498         HTMLMediaElement* when they were in fact only used for video elements and would only
2499         work for such.
2500
2501         * WebCoreSupport/WebChromeClient.cpp:
2502         (WebChromeClient::supportsVideoFullscreen): Adjust for the
2503         main refactoring.
2504         (WebChromeClient::enterVideoFullscreenForVideoElement): ditto
2505         (WebChromeClient::exitVideoFullscreen): ditto
2506         * WebCoreSupport/WebChromeClient.h:
2507         * WebView.cpp:
2508         (WebView::enterVideoFullscreenForVideoElement): Adjust for the 
2509         main refactoring.
2510         (WebView::exitVideoFullscreen): ditto.
2511         * WebView.h:
2512         * FullscreenVideoController.cpp: Use video elements, not media elements throughout
2513         (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
2514         (FullscreenVideoController::setVideoElement):
2515         (FullscreenVideoController::enterFullscreen):
2516         (FullscreenVideoController::exitFullscreen):
2517         (FullscreenVideoController::canPlay):
2518         (FullscreenVideoController::play):
2519         (FullscreenVideoController::pause):
2520         (FullscreenVideoController::volume):
2521         (FullscreenVideoController::setVolume):
2522         (FullscreenVideoController::currentTime):
2523         (FullscreenVideoController::setCurrentTime):
2524         (FullscreenVideoController::duration):
2525         (FullscreenVideoController::beginScrubbing):
2526         (FullscreenVideoController::endScrubbing):
2527         (FullscreenVideoController::onChar):
2528         (FullscreenVideoController::onKeyDown):
2529         (FullscreenVideoController::onMouseUp):
2530         * FullscreenVideoController.h:
2531         (FullscreenVideoController::videoElement):
2532
2533 2014-09-03  Brent Fulgham  <bfulgham@apple.com>
2534
2535         Unreviewed build fix after r173200.
2536
2537         * WebView.cpp:
2538         (WebView::setCacheModel): Use appropriate types for cache sizes to be
2539         64-bit clean on CFNetwork compile.
2540
2541 2014-09-02  peavo@outlook.com  <peavo@outlook.com>
2542
2543         [WinCairo] Memory cache capacity is not set.
2544         https://bugs.webkit.org/show_bug.cgi?id=136432
2545
2546         Reviewed by Alex Christensen.
2547
2548         Reuse code from AppleWin to set memory and disk cache capacity.
2549
2550         * WebKitSystemBits.cpp:
2551         (WebVolumeFreeSize):
2552         * WebKitSystemBits.h:
2553         * WebView.cpp:
2554         (WebView::setCacheModel):
2555
2556 2014-08-26  Brent Fulgham  <bfulgham@apple.com>
2557
2558         [Win] WebKit IDL incorrectly passes HWND as OLE_HANDLE
2559         https://bugs.webkit.org/show_bug.cgi?id=136258
2560         <rdar://problem/18134138>
2561
2562         Reviewed by Tim Horton.
2563
2564         Avoid 32/64-bit truncation by preventing 64-bit HWND (and other)
2565         values from passing through the 32-bit OLE_HANDLE data type.
2566
2567         * Interfaces/IWebDocument.idl:
2568         * Interfaces/IWebEmbeddedView.idl:
2569         * Interfaces/IWebErrorPrivate.idl:
2570         * Interfaces/IWebFrameLoadDelegate.idl:
2571         * Interfaces/IWebFramePrivate.idl:
2572         * Interfaces/IWebHistoryItem.idl:
2573         * Interfaces/IWebIconDatabase.idl:
2574         * Interfaces/IWebMutableURLRequestPrivate.idl:
2575         * Interfaces/IWebUIDelegate.idl:
2576         * Interfaces/IWebUIDelegatePrivate.idl:
2577         * Interfaces/IWebURLResponsePrivate.idl:
2578         * Interfaces/IWebView.idl:
2579         * Interfaces/IWebViewPrivate.idl:
2580         * WebCoreSupport/EmbeddedWidget.cpp:
2581         (EmbeddedWidget::createWindow):
2582         * WebCoreSupport/WebChromeClient.cpp:
2583         (WebChromeClient::rootViewToScreen):
2584         (WebChromeClient::screenToRootView):
2585         (WebChromeClient::platformPageClient):
2586         (WebChromeClient::runOpenPanel):
2587         (WebChromeClient::setCursor):
2588         * WebCoreSupport/WebContextMenuClient.cpp:
2589         (WebContextMenuClient::customizeMenu):
2590         * WebCoreSupport/WebFrameLoaderClient.cpp:
2591         (WebFrameLoaderClient::createPlugin):
2592         * WebCoreSupport/WebInspectorClient.cpp:
2593         (WebInspectorClient::openInspectorFrontend):
2594         (WebInspectorClient::highlight):
2595         (WebInspectorFrontendClient::setAttachedWindowHeight):
2596         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
2597         (WebInspectorFrontendClient::showWindowWithoutNotifications):
2598         * WebCoreSupport/WebInspectorClient.h:
2599         * WebCoreSupport/WebInspectorDelegate.cpp:
2600         * WebCoreSupport/WebInspectorDelegate.h:
2601         (WebInspectorDelegate::webViewFirstResponder):
2602         (WebInspectorDelegate::makeFirstResponder):
2603         (WebInspectorDelegate::contextMenuItemsForElement):
2604         (WebInspectorDelegate::trackCustomPopupMenu):
2605         (WebInspectorDelegate::addCustomMenuDrawingData):
2606         (WebInspectorDelegate::cleanUpCustomMenuDrawingData):
2607         (WebInspectorDelegate::drawHeaderInRect):
2608         (WebInspectorDelegate::drawFooterInRect):
2609         * WebDropSource.cpp:
2610         (generateMouseEvent):
2611         (WebDropSource::GiveFeedback):
2612         * WebError.cpp:
2613         (WebError::sslPeerCertificate):
2614         * WebError.h:
2615         * WebFrame.cpp:
2616         (WebFrame::paintDocumentRectToContext):
2617         (WebFrame::paintScrollViewRectToContextAtPoint):
2618         (WebFrame::createSubframeWithOwnerElement):
2619         (WebFrame::initWithWebView):
2620         (WebFrame::drawHeader):
2621         (WebFrame::drawFooter):
2622         * WebFrame.h:
2623         * WebHistoryItem.cpp:
2624         (WebHistoryItem::icon):
2625         * WebHistoryItem.h:
2626         * WebIconDatabase.cpp:
2627         (WebIconDatabase::iconForURL):
2628         (WebIconDatabase::defaultIconWithSize):
2629         * WebIconDatabase.h:
2630         * WebMutableURLRequest.cpp:
2631         (WebMutableURLRequest::setClientCertificate):
2632         * WebMutableURLRequest.h:
2633         * WebNodeHighlight.cpp:
2634         (WebNodeHighlight::WebNodeHighlight):
2635         * WebURLResponse.cpp:
2636         (WebURLResponse::sslPeerCertificate):
2637         * WebURLResponse.h:
2638         * WebView.cpp:
2639         (WebView::paintIntoBackingStore):
2640         (WebView::handleContextMenuEvent):
2641         (WebView::onInitMenuPopup):
2642         (WebView::onUninitMenuPopup):
2643         (WebView::WebViewWndProc):
2644         (WebView::dispatchDidReceiveIconFromWebFrame):
2645         (WebView::setHostWindow):
2646         (WebView::hostWindow):
2647         (WebView::generateSelectionImage):
2648         (WebView::mainFrameIcon):
2649         (WebView::viewWindow):
2650         (WebView::paintDocumentRectToContext):
2651         (WebView::paintScrollViewRectToContextAtPoint):
2652         (WebView::backingStore):
2653         (WebView::fullScreenClientSetParentWindow):
2654         * WebView.h:
2655
2656 2014-08-21  Alex Christensen  <achristensen@webkit.org>
2657
2658         [Win] Unreviewed build fix after r172849.
2659
2660         * WebKitPrefix.h:
2661         Defined WEBCORE_EXPORT.
2662
2663 2014-08-19  Pratik Solanki  <psolanki@apple.com>
2664
2665         Remove PurgeableBuffer since it is not very useful any more
2666         https://bugs.webkit.org/show_bug.cgi?id=135939
2667
2668         Reviewed by Andreas Kling.
2669
2670         * WebCache.cpp:
2671         (WebCache::statistics):
2672
2673 2014-08-18  Commit Queue  <commit-queue@webkit.org>
2674
2675         Unreviewed, rolling out r172736.
2676         https://bugs.webkit.org/show_bug.cgi?id=136060
2677
2678         Caused 14% PLT regressions (Requested by rniwa on #webkit).
2679
2680         Reverted changeset:
2681
2682         "Remove PurgeableBuffer since it is not very useful any more"
2683         https://bugs.webkit.org/show_bug.cgi?id=135939
2684         http://trac.webkit.org/changeset/172736
2685
2686 2014-08-18  Pratik Solanki  <psolanki@apple.com>
2687
2688         Remove PurgeableBuffer since it is not very useful any more
2689         https://bugs.webkit.org/show_bug.cgi?id=135939
2690
2691         Reviewed by Geoffrey Garen.
2692
2693         * WebCache.cpp:
2694         (WebCache::statistics):
2695
2696 2014-07-27  Pratik Solanki  <psolanki@apple.com>
2697
2698         Remove unused preference keys
2699         https://bugs.webkit.org/show_bug.cgi?id=135280
2700
2701         Reviewed by Darin Adler.
2702
2703         * WebPreferenceKeysPrivate.h:
2704
2705 2014-07-22  Brent Fulgham  <bfulgham@apple.com>
2706
2707         [Win] Build fix after r171370.
2708
2709         * WebCoreSupport/WebEditorClient.h: Add override
2710         for new 'overflowScrollPositionChanged'.
2711
2712 2014-07-03  Daniel Bates  <dabates@apple.com>
2713
2714         Add WTF::move()
2715         https://bugs.webkit.org/show_bug.cgi?id=134500
2716
2717         Rubber-stamped by Anders Carlsson.
2718
2719         Substitute WTF::move() for std::move().
2720
2721         * WebCoreSupport/WebInspectorClient.cpp:
2722         (WebInspectorClient::openInspectorFrontend):
2723         (WebInspectorFrontendClient::WebInspectorFrontendClient):
2724         * WebHistory.cpp:
2725         (createUserInfoFromArray):
2726         * WebHistoryItem.cpp:
2727         (WebHistoryItem::initFromDictionaryRepresentation):
2728         * WebView.cpp:
2729         (WebView::addToDirtyRegion):
2730         (WebView::scrollBackingStore):
2731
2732 2014-06-26  Brady Eidson  <beidson@apple.com>
2733
2734         Remove use of PlatformStrategies for Gamepad API.
2735         https://bugs.webkit.org/show_bug.cgi?id=134348
2736
2737         Reviewed by Dean Jackson.
2738
2739         * WebCoreSupport/WebPlatformStrategies.cpp:
2740         (WebPlatformStrategies::createGamepadStrategy): Deleted.
2741         * WebCoreSupport/WebPlatformStrategies.h:
2742
2743 2014-06-25  Brent Fulgham  <bfulgham@apple.com>
2744
2745         [Win] Expose Cache Information to WinLauncher
2746         https://bugs.webkit.org/show_bug.cgi?id=134318
2747
2748         Reviewed by Dean Jackson.
2749
2750         * Interfaces/IWebCoreStatistics.idl: Add missing
2751         API added to WebKit since this was last updated.
2752         * WebCache.cpp:
2753         (WebCache::statistics): Add missing elements for
2754         purgable and purged data.
2755         * WebCoreStatistics.cpp: Provide implementaions.
2756         * WebCoreStatistics.h: Ditto.
2757
2758 2014-06-25  Brady Eidson  <beidson@apple.com>
2759
2760         Add new platform gamepad abstractions
2761         https://bugs.webkit.org/show_bug.cgi?id=134325
2762
2763         Reviewed by Dean Jackson.
2764
2765         * WebCoreSupport/WebPlatformStrategies.cpp:
2766         (WebPlatformStrategies::createGamepadStrategy):
2767         * WebCoreSupport/WebPlatformStrategies.h:
2768
2769 2014-06-19  Anders Carlsson  <andersca@apple.com>
2770
2771         Try to fix Windows build.
2772
2773         * WebFrame.h:
2774
2775 2014-06-18  Anders Carlsson  <andersca@apple.com>
2776
2777         Make FrameLoadType a strongly typed enum
2778         https://bugs.webkit.org/show_bug.cgi?id=134047
2779
2780         Reviewed by Andreas Kling.
2781
2782         * WebView.cpp:
2783         (WebView::goToBackForwardItem):
2784         (WebView::loadBackForwardListFromOtherView):
2785
2786 2014-06-18  Anders Carlsson  <andersca@apple.com>
2787
2788         Remove IWebFramePrivate::loadType
2789         https://bugs.webkit.org/show_bug.cgi?id=134044
2790
2791         Reviewed by Tim Horton.
2792
2793         * Interfaces/IWebFramePrivate.idl:
2794         * WebFrame.cpp:
2795         (WebFrame::loadType): Deleted.
2796         (WebFrame::unused2): Deleted.
2797         * WebFrame.h:
2798
2799 2014-06-12  Brent Fulgham  <bfulgham@apple.com>
2800
2801         [Win] Avoid crashes in code that converted CFDictionaries to HashMap
2802         https://bugs.webkit.org/show_bug.cgi?id=133813
2803         <rdar://problem/17291647>
2804
2805         Reviewed by Tim Horton.
2806
2807         * WebHistory.cpp: Add empty string checks to avoid crashes in
2808         hash function.
2809         (WebHistory::removeItem):
2810         (WebHistory::addItem):
2811         (WebHistory::visitedURL):
2812         (WebHistory::itemForURL):
2813         (WebHistory::removeItemForURLString):
2814         (WebHistory::itemForURLString):
2815         * WebPreferences.cpp: Ditto.
2816         (WebPreferences::getInstanceForIdentifier):
2817         (WebPreferences::setInstance):
2818         (WebPreferences::removeReferenceForIdentifier):
2819         * WebView.cpp: Ditto. Also convert OwnPtr uses in this file
2820         to std::unique_ptr.
2821         (WebView::close):
2822         (WebView::handleMouseEvent):
2823         (WebView::registerEmbeddedViewMIMEType):
2824         (WebView::shouldUseEmbeddedView):
2825         (WebView::enterFullscreenForNode):
2826         (WebView::fullScreenController):
2827         * WebView.h:
2828
2829 2014-05-07  Hyowon Kim  <hw1008.kim@samsung.com>
2830
2831         GraphicsLayer::client() should return a reference.
2832         https://bugs.webkit.org/show_bug.cgi?id=126372
2833
2834         Reviewed by Simon Fraser.
2835
2836         GraphicsLayers always have a GraphicsLayerClient attached,
2837         so make client() a reference and remove some unnecessary branches.
2838         The author of the changes in the mac port is Andreas Kling <akling@apple.com>.
2839
2840         * WebView.cpp:
2841         (WebView::setAcceleratedCompositing):
2842
2843 2014-04-30  Alexey Proskuryakov  <ap@apple.com>
2844
2845         Roll out fix for https://bugs.webkit.org/show_bug.cgi?id=131637:
2846         Clean up unnecessary methods in the BackForwardClient interface
2847
2848         It broke a regression test and an API test.
2849
2850         * WebBackForwardList.cpp:
2851         (WebBackForwardList::WebBackForwardList):
2852         (WebBackForwardList::~WebBackForwardList):
2853         (WebBackForwardList::createInstance):
2854         * WebBackForwardList.h:
2855         * WebView.cpp:
2856         (WebView::backForwardList):
2857         (WebView::canGoBack):
2858         (WebView::canGoForward):
2859         (WebView::loadBackForwardListFromOtherView):
2860
2861 2014-04-30  Brian J. Burg  <burg@cs.washington.edu>
2862
2863         Clean up unnecessary methods in the BackForwardClient interface
2864         https://bugs.webkit.org/show_bug.cgi?id=131637
2865
2866         Reviewed by Andreas Kling.
2867
2868         Remove uses of reference counting for BackForwardList.
2869         Use BackForwardController instead of BackForwardClient where possible.
2870
2871         * WebBackForwardList.cpp:
2872         (WebBackForwardList::WebBackForwardList):
2873         (WebBackForwardList::~WebBackForwardList):
2874         (WebBackForwardList::createInstance):
2875         * WebBackForwardList.h:
2876         * WebView.cpp:
2877         (WebView::backForwardList):
2878         (WebView::canGoBack):
2879         (WebView::canGoForward):
2880         (WebView::loadBackForwardListFromOtherView):
2881
2882 2014-04-24  Myles C. Maxfield  <mmaxfield@apple.com>
2883
2884         FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
2885         https://bugs.webkit.org/show_bug.cgi?id=132110
2886
2887         Reviewed by Tim Horton.
2888
2889         Updates callers to use '.' instead of '->'.
2890
2891         No new tests are necessary because there should be no behavior change.
2892
2893         * WebCoreStatistics.cpp:
2894         (WebCoreStatistics::cachedFontDataCount):
2895         (WebCoreStatistics::cachedFontDataInactiveCount):
2896         (WebCoreStatistics::purgeInactiveFontData):
2897
2898 2014-04-22  Alex Christensen  <achristensen@webkit.org>
2899
2900         Begin implementation of video using Media Foundation.
2901         https://bugs.webkit.org/show_bug.cgi?id=131830
2902
2903         Reviewed by Brent Fulgham.
2904
2905         * FullscreenVideoController.cpp:
2906         * WebView.cpp:
2907         Added new USE(MEDIA_FOUNDATION) flag to prevent using the unsupported fullscreen api.
2908
2909 2014-04-09  Alexey Proskuryakov  <ap@apple.com>
2910
2911         Eliminate DragSession structure
2912         https://bugs.webkit.org/show_bug.cgi?id=131465
2913
2914         Reviewed by Benjamin Poulain.
2915
2916         * WebView.cpp:
2917         (WebView::DragEnter):
2918         (WebView::DragOver):
2919
2920 2014-04-09  Alexey Proskuryakov  <ap@apple.com>
2921
2922         Rename some dragging functions
2923         https://bugs.webkit.org/show_bug.cgi?id=131460
2924
2925         Reviewed by Tim Horton.
2926
2927         Renamed performDrag to performDragOperation.
2928
2929         * WebView.cpp: (WebView::Drop):
2930
2931 2014-04-02  Mark Rowe  <mrowe@apple.com>
2932
2933         Build fix after r166684.
2934
2935         * WebCoreSupport/WebContextMenuClient.cpp:
2936         (WebContextMenuClient::searchWithGoogle):
2937
2938 2014-04-02  Martin Hock  <mhock@apple.com>
2939
2940         Unify private browsing with sessions.
2941         https://bugs.webkit.org/show_bug.cgi?id=130099
2942
2943         Reviewed by Alexey Proskuryakov.
2944
2945         * WebCoreSupport/WebFrameLoaderClient.cpp: Change WebCore::Settings::privateBrowsingEnabled() to Page::sessionID().isEphemeral().
2946         (WebFrameLoaderClient::updateGlobalHistoryItemForPage):
2947         * WebCoreSupport/WebFrameNetworkingContext.cpp: Ditto.
2948         (WebFrameNetworkingContext::storageSession):
2949         * WebView.cpp: Change WebCore::Settings::setPrivateBrowsingEnabled() to Page::enableLegacyPrivateBrowsing().
2950         (WebView::notifyPreferencesChanged):
2951
2952 2014-03-22  Darin Adler  <darin@apple.com>
2953
2954         Remove String::deprecatedCharacters
2955         https://bugs.webkit.org/show_bug.cgi?id=126854
2956
2957         Reviewed by Sam Weinig.
2958
2959         * WebKitStatistics.cpp:
2960         (WebKitStatistics::comClassNameCounts): Update to not use Vector::append(String).
2961
2962 2014-03-17  Brent Fulgham  <bfulgham@apple.com>
2963
2964         Provide preference to enable additional AVFoundation options
2965         https://bugs.webkit.org/show_bug.cgi?id=130275
2966
2967         Reviewed by Eric Carlson.
2968
2969         * Interfaces/IWebPreferencesPrivate.idl: Added new preference.
2970         * WebPreferenceKeysPrivate.h: Ditto.
2971         * WebPreferences.cpp:
2972         (WebPreferences::initializeDefaultSettings): Initialize preference to false.
2973         (WebPreferences::isInheritURIQueryComponentEnabled): Added.
2974         (WebPreferences::setEnableInheritURIQueryComponent): Added.
2975         * WebPreferences.h:
2976         * WebView.cpp:
2977         (WebView::notifyPreferencesChanged): Handle new preference.
2978
2979 2014-03-16  Darin Adler  <darin@apple.com>
2980
2981         Remove all deprecatedCharacters use from WebKit
2982         https://bugs.webkit.org/show_bug.cgi?id=130305
2983
2984         Reviewed by Andreas Kling.
2985
2986         * AccessibleTextImpl.cpp:
2987         (AccessibleText::get_text): Use BString instead of SysAllocStringLen,
2988         which handles String directly.
2989         (AccessibleText::get_textBeforeOffset): Ditto.
2990         (AccessibleText::get_textAfterOffset): Ditto.
2991         (AccessibleText::get_textAtOffset): Ditto.
2992         (AccessibleText::get_attributes): Ditto.
2993         * DOMCSSClasses.cpp:
2994         (DOMCSSStyleDeclaration::getPropertyValue): Ditto.
2995         * DOMCoreClasses.cpp:
2996         (DOMNode::nodeValue): Ditto.
2997         (DOMElement::getAttribute): Ditto.
2998         (DOMElement::font): Rework this to leak a string, since it returns a
2999         pointer to a font family name's characters with no defined lifetime.
3000
3001         * DOMHTMLClasses.cpp:
3002         (DOMHTMLElement::innerText): Use BString's String-based constructor,
3003         instead of explicitly passing a character pointer.
3004         (DOMHTMLFormElement::action): Ditto.
3005         (DOMHTMLFormElement::method): Ditto.
3006         (DOMHTMLInputElement::value): Ditto.
3007         (DOMHTMLTextAreaElement::value): Ditto.
3008
3009         * MarshallingHelpers.cpp:
3010         (MarshallingHelpers::PathStringToFileCFURLRef): Use String::createCFString.
3011
3012         * WebCoreSupport/WebEditorClient.cpp:
3013         (WebEditorClient::checkSpellingOfString): Use StringView::upconvertedCharacters.
3014         (WebEditorClient::checkGrammarOfString): Ditto.
3015
3016         * WebDataSource.cpp:
3017         (WebDataSource::unreachableURL): Use BString's String-based constructor,
3018         instead of explicitly passing a character pointer.
3019
3020         * WebDownload.cpp:
3021         (WebDownload::bundlePathForTargetPath): Use BString instead of SysAllocStringLen.
3022
3023         * WebDownloadCFNet.cpp:
3024         (WebDownload::didFinish): Use BString's String-based constructor,
3025         instead of explicitly passing a character pointer.
3026         * WebDownloadCurl.cpp:
3027         (WebDownload::didReceiveResponse): Ditto.
3028
3029         * WebElementPropertyBag.cpp:
3030         (convertStringToVariant): Use BString instead of SysAllocStringLen.
3031         * WebFrame.cpp:
3032         (WebFrame::searchForLabelsBeforeElement): Ditto.
3033         (WebFrame::matchLabelsAgainstElement): Ditto.
3034
3035         * WebHistory.cpp:
3036         (WebHistory::addVisitedLinksToPageGroup): Use a better loop and call
3037         visitedLinkHash, since it can take a String.
3038
3039         * WebKitGraphics.cpp:
3040         (CenterTruncateStringToWidth): Use StringView::getCharactersWithUpconvert.
3041         (RightTruncateStringToWidth): Ditto.
3042
3043         * WebView.cpp:
3044         (WebView::applicationNameForUserAgent): Use BString instead of SysAllocStringLen.
3045         (WebView::customUserAgent): Ditto.
3046         (WebView::groupName): Ditto.
3047         (WebView::selectedText): Ditto.
3048         (WebView::onIMERequestReconvertString): Use StringView::getCharactersWithUpconvert.
3049
3050 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
3051
3052         Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
3053         https://bugs.webkit.org/show_bug.cgi?id=130276
3054         <rdar://problem/16266927>
3055         
3056         Reviewed by Simon Fraser.
3057
3058         * CFDictionaryPropertyBag.cpp:
3059         * CFDictionaryPropertyBag.h:
3060         * CodeAnalysisConfig.h:
3061         * DOMCSSClasses.cpp:
3062         * DOMCSSClasses.h:
3063         * DOMCoreClasses.cpp:
3064         * DOMCoreClasses.h:
3065         * DOMEventsClasses.cpp:
3066         * DOMEventsClasses.h:
3067         * DOMHTMLClasses.cpp:
3068         * DOMHTMLClasses.h:
3069         * DefaultDownloadDelegate.cpp:
3070         * DefaultDownloadDelegate.h:
3071         * DefaultPolicyDelegate.cpp:
3072         * DefaultPolicyDelegate.h:
3073         * ForEachCoClass.cpp:
3074         * ForEachCoClass.h:
3075         * FullscreenVideoController.cpp:
3076         * FullscreenVideoController.h:
3077         * Interfaces/AccessibilityDelegate.idl:
3078         * Interfaces/DOMCSS.idl:
3079         * Interfaces/DOMCore.idl:
3080         * Interfaces/DOMEvents.idl:
3081         * Interfaces/DOMExtensions.idl:
3082         * Interfaces/DOMHTML.idl:
3083         * Interfaces/DOMPrivate.idl:
3084         * Interfaces/DOMRange.idl:
3085         * Interfaces/DOMWindow.idl:
3086         * Interfaces/IGEN_DOMObject.idl:
3087         * Interfaces/IWebArchive.idl:
3088         * Interfaces/IWebBackForwardList.idl:
3089         * Interfaces/IWebBackForwardListPrivate.idl:
3090         * Interfaces/IWebCache.idl:
3091         * Interfaces/IWebDataSource.idl:
3092         * Interfaces/IWebDatabaseManager.idl:
3093         * Interfaces/IWebDocument.idl:
3094         * Interfaces/IWebDownload.idl:
3095         * Interfaces/IWebEditingDelegate.idl:
3096         * Interfaces/IWebError.idl:
3097         * Interfaces/IWebErrorPrivate.idl:
3098         * Interfaces/IWebFormDelegate.idl:
3099         * Interfaces/IWebFrame.idl:
3100         * Interfaces/IWebFrameLoadDelegate.idl:
3101         * Interfaces/IWebFrameLoadDelegatePrivate.idl:
3102         * Interfaces/IWebFrameLoadDelegatePrivate2.idl:
3103         * Interfaces/IWebFramePrivate.idl:
3104         * Interfaces/IWebFrameView.idl:
3105         * Interfaces/IWebHTMLRepresentation.idl:
3106         * Interfaces/IWebHTTPURLResponse.idl:
3107         * Interfaces/IWebHistory.idl:
3108         * Interfaces/IWebHistoryDelegate.idl:
3109         * Interfaces/IWebHistoryItem.idl:
3110         * Interfaces/IWebHistoryItemPrivate.idl:
3111         * Interfaces/IWebHistoryPrivate.idl:
3112         * Interfaces/IWebIconDatabase.idl:
3113         * Interfaces/IWebInspector.idl:
3114         * Interfaces/IWebInspectorPrivate.idl:
3115         * Interfaces/IWebJavaScriptCollector.idl:
3116         * Interfaces/IWebKitStatistics.idl:
3117         * Interfaces/IWebMutableURLRequest.idl:
3118         * Interfaces/IWebMutableURLRequestPrivate.idl:
3119         * Interfaces/IWebNavigationData.idl:
3120         * Interfaces/IWebNotification.idl:
3121         * Interfaces/IWebNotificationCenter.idl:
3122         * Interfaces/IWebNotificationObserver.idl:
3123         * Interfaces/IWebPolicyDelegate.idl:
3124         * Interfaces/IWebPolicyDelegatePrivate.idl:
3125         * Interfaces/IWebPreferences.idl:
3126         * Interfaces/IWebPreferencesPrivate.idl:
3127         * Interfaces/IWebResource.idl:
3128         * Interfaces/IWebResourceLoadDelegate.idl:
3129         * Interfaces/IWebResourceLoadDelegatePrivate.idl:
3130         * Interfaces/IWebResourceLoadDelegatePrivate2.idl:
3131         * Interfaces/IWebScriptObject.idl:
3132         * Interfaces/IWebSecurityOrigin.idl:
3133         * Interfaces/IWebSerializedJSValuePrivate.idl:
3134         * Interfaces/IWebTextRenderer.idl:
3135         * Interfaces/IWebUIDelegate.idl:
3136         * Interfaces/IWebUIDelegatePrivate.idl:
3137         * Interfaces/IWebURLAuthenticationChallenge.idl:
3138         * Interfaces/IWebURLRequest.idl:
3139         * Interfaces/IWebURLResponse.idl:
3140         * Interfaces/IWebURLResponsePrivate.idl:
3141         * Interfaces/IWebUndoManager.idl:
3142         * Interfaces/IWebUndoTarget.idl:
3143         * Interfaces/IWebView.idl:
3144         * Interfaces/IWebViewPrivate.idl:
3145         * Interfaces/WebKit.idl:
3146         * Interfaces/WebScrollbarTypes.idl:
3147         * MarshallingHelpers.cpp:
3148         * MarshallingHelpers.h:
3149         * MemoryStream.cpp:
3150         * MemoryStream.h:
3151         * ProgIDMacros.h:
3152         * WebActionPropertyBag.cpp:
3153         * WebActionPropertyBag.h:
3154         * WebBackForwardList.cpp:
3155         * WebBackForwardList.h:
3156         * WebCache.cpp:
3157         * WebCache.h:
3158         * WebCachedFramePlatformData.h:
3159         * WebCoreSupport/WebChromeClient.cpp:
3160         * WebCoreSupport/WebChromeClient.h:
3161         * WebCoreSupport/WebContextMenuClient.cpp:
3162         * WebCoreSupport/WebContextMenuClient.h:
3163         * WebCoreSupport/WebDragClient.cpp:
3164         * WebCoreSupport/WebDragClient.h:
3165         * WebCoreSupport/WebEditorClient.cpp:
3166         * WebCoreSupport/WebEditorClient.h:
3167         * WebCoreSupport/WebFrameLoaderClient.cpp:
3168         * WebCoreSupport/WebFrameLoaderClient.h:
3169         * WebCoreSupport/WebInspectorClient.cpp:
3170         * WebCoreSupport/WebInspectorClient.h:
3171         * WebCoreSupport/WebInspectorDelegate.cpp:
3172         * WebCoreSupport/WebInspectorDelegate.h:
3173         * WebDataSource.cpp:
3174         * WebDataSource.h:
3175         * WebDatabaseManager.cpp:
3176         * WebDatabaseManager.h:
3177         * WebDocumentLoader.cpp:
3178         * WebDocumentLoader.h:
3179         * WebDownload.cpp:
3180         * WebDownload.h:
3181         * WebDownloadCFNet.cpp:
3182         * WebDownloadCurl.cpp:
3183         * WebDropSource.cpp:
3184         * WebDropSource.h:
3185         * WebElementPropertyBag.cpp:
3186         * WebElementPropertyBag.h:
3187         * WebError.cpp:
3188         * WebError.h:
3189         * WebFrame.cpp:
3190         * WebFrame.h:
3191         * WebFramePolicyListener.cpp:
3192         * WebFramePolicyListener.h:
3193         * WebHTMLRepresentation.cpp:
3194         * WebHTMLRepresentation.h:
3195         * WebHistory.cpp:
3196         * WebHistory.h:
3197         * WebHistoryItem.cpp:
3198         * WebHistoryItem.h:
3199         * WebIconDatabase.cpp:
3200         * WebIconDatabase.h:
3201         * WebInspector.cpp:
3202         * WebInspector.h:
3203         * WebJavaScriptCollector.cpp:
3204         * WebJavaScriptCollector.h:
3205         * WebKitCOMAPI.cpp:
3206         * WebKitCOMAPI.h:
3207         * WebKitClassFactory.cpp:
3208         * WebKitClassFactory.h:
3209         * WebKitDLL.cpp:
3210         * WebKitDLL.h:
3211         * WebKitGraphics.cpp:
3212         * WebKitGraphics.h:
3213         * WebKitLogging.cpp:
3214         * WebKitLogging.h:
3215         * WebKitPrefix.cpp:
3216         * WebKitPrefix.h:
3217         * WebKitStatistics.cpp:
3218         * WebKitStatistics.h:
3219         * WebKitStatisticsPrivate.h:
3220         * WebKitSystemBits.cpp:
3221         * WebKitSystemBits.h:
3222         * WebLocalizableStrings.cpp:
3223         * WebLocalizableStrings.h:
3224         * WebMutableURLRequest.cpp:
3225         * WebMutableURLRequest.h:
3226         * WebNavigationData.cpp:
3227         * WebNavigationData.h:
3228         * WebNodeHighlight.cpp:
3229         * WebNodeHighlight.h:
3230         * WebNotification.cpp:
3231         * WebNotification.h:
3232         * WebNotificationCenter.cpp:
3233         * WebNotificationCenter.h:
3234         * WebPreferenceKeysPrivate.h:
3235         * WebPreferences.cpp:
3236         * WebPreferences.h:
3237         * WebResource.cpp:
3238         * WebResource.h:
3239         * WebScriptObject.cpp:
3240         * WebScriptObject.h:
3241         * WebSecurityOrigin.cpp:
3242         * WebSecurityOrigin.h:
3243         * WebTextRenderer.cpp:
3244         * WebTextRenderer.h:
3245         * WebURLAuthenticationChallenge.cpp:
3246         * WebURLAuthenticationChallenge.h:
3247         * WebURLAuthenticationChallengeSender.cpp:
3248         * WebURLAuthenticationChallengeSender.h:
3249         * WebURLAuthenticationChallengeSenderCFNet.cpp:
3250         * WebURLAuthenticationChallengeSenderCurl.cpp:
3251         * WebURLCredential.cpp:
3252         * WebURLCredential.h:
3253         * WebURLProtectionSpace.cpp:
3254         * WebURLProtectionSpace.h:
3255         * WebURLResponse.cpp:
3256         * WebURLResponse.h:
3257         * WebView.cpp:
3258         * WebView.h:
3259
3260 2014-03-12  Sergio Villar Senin  <svillar@igalia.com>
3261
3262         Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
3263         https://bugs.webkit.org/show_bug.cgi?id=129612
3264
3265         Reviewed by Darin Adler.
3266
3267         For new code use static NeverDestroyed<T> instead.
3268
3269         * WebCoreSupport/WebPlatformStrategies.cpp:
3270         (WebPlatformStrategies::initialize):
3271         * WebHistory.cpp:
3272         (sharedHistoryStorage):
3273         * WebLocalizableStrings.cpp:
3274         (mainBundleLocStrings):
3275         (frameworkLocStringsMutex):
3276         (frameworkLocStrings):
3277         * WebView.cpp:
3278         (WebView::standardUserAgentWithApplicationName):
3279
3280 2014-03-13  Brian Burg  <bburg@apple.com>
3281
3282         Unreviewed build fix for Mac Windows after r165545.
3283         https://bugs.webkit.org/show_bug.cgi?id=129744
3284
3285         Reviewed by Timothy Hatcher.
3286
3287         * Interfaces/IWebInspectorPrivate.idl: Remove callId from IWebInspectorPrivate.
3288
3289 2014-03-12  Brian Burg  <bburg@apple.com>
3290
3291         Web Inspector: Remove unused callId parameter from evaluateInWebInspector
3292         https://bugs.webkit.org/show_bug.cgi?id=129744
3293
3294         Reviewed by Timothy Hatcher.
3295
3296         * WebInspector.cpp:
3297         (WebInspector::evaluateInFrontend):
3298         * WebInspector.h:
3299
3300 2014-03-06  Joseph Pecoraro  <pecoraro@apple.com>
3301
3302         Web Inspector: Expose the console object in JSContexts to interact with Web Inspector
3303         https://bugs.webkit.org/show_bug.cgi?id=127944
3304
3305         Reviewed by Geoffrey Garen.
3306
3307         * WebCoreSupport/WebChromeClient.h:
3308         Update namespaces.
3309
3310 2014-03-04  Zalan Bujtas  <zalan@apple.com>
3311
3312         Subpixel rendering: Make GraphicsLayer::fillRect FloatRoundedRect based and cleanup dependencies.
3313         https://bugs.webkit.org/show_bug.cgi?id=129557
3314
3315         Reviewed by Simon Fraser.
3316
3317         This is the preparation for snapping rounded rects to device pixel position. It enables
3318         device pixel aware border-radius painting.
3319
3320         No change in functionality.
3321
3322         * FullscreenVideoController.cpp:
3323         (HUDSlider::draw):
3324         (FullscreenVideoController::draw):
3325
3326 2014-03-02  Darin Adler  <darin@apple.com>
3327
3328         Streamline use of TextIterator, cutting down includes and use of soon-to-be-deleted functions
3329         https://bugs.webkit.org/show_bug.cgi?id=129592
3330
3331         Reviewed by Sam Weinig.
3332
3333         * WebCoreSupport/WebEditorClient.cpp: Added now-needed include.
3334
3335 2014-02-25  Anders Carlsson  <andersca@apple.com>
3336
3337         Get rid of VisitedLinkStrategy
3338         https://bugs.webkit.org/show_bug.cgi?id=129324
3339
3340         Reviewed by Dan Bernstein.
3341
3342         * WebCoreSupport/WebPlatformStrategies.cpp:
3343         (WebPlatformStrategies::getPluginInfo):
3344         * WebCoreSupport/WebPlatformStrategies.h:
3345
3346 2014-02-24  Renata Hodovan  <rhodovan.u-szeged@partner.samsung.com>
3347
3348         Get rid of the unused 'immediate' parameters from repaint related functions
3349         https://bugs.webkit.org/show_bug.cgi?id=129111
3350
3351         Reviewed by Simon Fraser.
3352
3353         Removing the 'immediate' parameters from repaint related functions - accoring
3354         to the FIXME in RenderView::repaintViewRectangle() - since they have no effect.
3355
3356         * WebCoreSupport/WebChromeClient.cpp:
3357         (WebChromeClient::invalidateRootView):
3358         (WebChromeClient::invalidateContentsAndRootView):
3359         (WebChromeClient::invalidateContentsForSlowScroll):
3360         * WebCoreSupport/WebChromeClient.h:
3361
3362 2014-02-20  Csaba Osztrogonác  <ossy@webkit.org>
3363
3364         Get rid of redundant Platform.h includes
3365         https://bugs.webkit.org/show_bug.cgi?id=128817
3366
3367         Reviewed by Brent Fulgham.
3368
3369         * WebDownloadCFNet.cpp:
3370         * WebDownloadCurl.cpp:
3371         * WebURLResponse.cpp:
3372
3373 2014-02-18  Sam Weinig  <sam@webkit.org>
3374
3375         Simplify HTML tokenizer parameterization down to what is used
3376         https://bugs.webkit.org/show_bug.cgi?id=128977
3377
3378         Reviewed by Alexey Proskuryakov.
3379
3380         Remove unused SPI.
3381
3382         * WebView.cpp:
3383         (WebView::setCustomHTMLTokenizerTimeDelay):
3384         (WebView::setCustomHTMLTokenizerChunkSize):
3385
3386 2014-02-17  Anders Carlsson  <andersca@apple.com>
3387
3388         Remove view source code
3389         https://bugs.webkit.org/show_bug.cgi?id=127233
3390
3391         Reviewed by Antti Koivisto.
3392
3393         * WebFrame.cpp:
3394         (WebFrame::inViewSourceMode):
3395         (WebFrame::setInViewSourceMode):
3396         * WebView.cpp:
3397         (WebView::setInViewSourceMode):
3398         (WebView::inViewSourceMode):
3399
3400 2014-02-17  Sergio Correia  <sergio.correia@openbossa.org>
3401
3402         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
3403         https://bugs.webkit.org/show_bug.cgi?id=128681
3404
3405         Reviewed by Timothy Hatcher.
3406
3407         Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
3408         WebCore/inspector/*. Besides files in there, a few other files in
3409         JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
3410         and WebCore/testing were touched.
3411
3412         * WebCoreSupport/WebInspectorClient.cpp:
3413         * WebCoreSupport/WebInspectorClient.h:
3414
3415 2014-02-14  Brent Fulgham  <bfulgham@apple.com>
3416
3417         [Win] Make tests more consistent with Mac platform
3418         https://bugs.webkit.org/show_bug.cgi?id=128848
3419
3420         Reviewed by Simon Fraser.
3421
3422         * Interfaces/IWebPreferencesPrivate.idl: Add access to the
3423         mock scrollbar and screen font substitution features.
3424         * WebPreferenceKeysPrivate.h: Ditto
3425         * WebPreferences.cpp: Ditto
3426         (WebPreferences::mockScrollbarsEnabled):
3427         (WebPreferences::setMockScrollbarsEnabled):
3428         (WebPreferences::screenFontSubstitutionEnabled):
3429         (WebPreferences::setScreenFontSubstitutionEnabled):
3430         * WebPreferences.h: Ditto
3431         * WebView.cpp:
3432         (WebView::notifyPreferencesChanged): Ditto
3433
3434 2014-02-11  Zalan Bujtas  <zalan@apple.com>
3435
3436         Subpixel rendering: Make GraphicsLayerClient::paintContents's clip rect subpixel based.
3437         https://bugs.webkit.org/show_bug.cgi?id=128460
3438
3439         Reviewed by Simon Fraser.
3440
3441         GraphicsClient::paintContents takes clipRect as FloatRect now so that we can paint on
3442         subpixel position.
3443
3444         No change in functionality.
3445
3446         * WebView.cpp:
3447         (WebView::paintContents):
3448         * WebView.h:
3449
3450 2014-02-11  Alex Christensen  <achristensen@webkit.org>
3451
3452         Fixed pointer truncation on Win64.
3453         https://bugs.webkit.org/show_bug.cgi?id=128211
3454
3455         Reviewed by Brent Fulgham.
3456
3457         * WebCoreSupport/EmbeddedWidget.cpp:
3458         (EmbeddedWidget::createWindow):
3459         * WebCoreSupport/WebContextMenuClient.cpp:
3460         (WebContextMenuClient::customizeMenu):
3461         * WebCoreSupport/WebFrameLoaderClient.cpp:
3462         (WebFrameLoaderClient::createPlugin):
3463         * WebCoreSupport/WebInspectorClient.cpp:
3464         (WebInspectorClient::WebInspectorClient):
3465         (WebInspectorClient::openInspectorFrontend):
3466         (WebInspectorClient::highlight):
3467         (WebInspectorClient::releaseFrontend):
3468         (WebInspectorFrontendClient::setAttachedWindowHeight):
3469         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
3470         * WebCoreSupport/WebInspectorClient.h:
3471         * WebDropSource.cpp:
3472         (generateMouseEvent):
3473         * WebFrame.cpp:
3474         (WebFrame::createSubframeWithOwnerElement):
3475         (WebFrame::initWithWebView):
3476         Removed all casts from &HWND to OLE_HANDLE*.
3477
3478 2014-02-11  peavo@outlook.com  <peavo@outlook.com>
3479
3480         [WinCairo] Compile error related to toString function.
3481         https://bugs.webkit.org/show_bug.cgi?id=128607
3482
3483         Reviewed by Brent Fulgham.
3484
3485         * WebView.cpp:
3486         (toString): Added another toString function to make sure we are not trying to use WTF::toString.
3487
3488 2014-02-08  Ryosuke Niwa  <rniwa@webkit.org>
3489
3490         Cleanup the interface of FrameSelection
3491         https://bugs.webkit.org/show_bug.cgi?id=128481
3492
3493         Reviewed by Andreas Kling.
3494
3495         * WebView.cpp:
3496         (WebView::selectionRect):
3497
3498 2014-02-08  Darin Adler  <darin@apple.com>
3499
3500         Change TextIterator to use StringView, preparing to wean it from deprecatedCharacters
3501         https://bugs.webkit.org/show_bug.cgi?id=128233
3502
3503         Reviewed by Anders Carlsson.
3504
3505         * WebCoreSupport/WebEditorClient.cpp:
3506         (WebEditorClient::checkSpellingOfString): Use StringView.
3507         (WebEditorClient::checkGrammarOfString): Ditto.
3508         * WebCoreSupport/WebEditorClient.h: Ditto.
3509
3510 2014-02-06  Joseph Pecoraro  <pecoraro@apple.com>
3511
3512         Web Inspector: Add Console support to JSContext Inspection
3513         https://bugs.webkit.org/show_bug.cgi?id=127941
3514
3515         Reviewed by Geoffrey Garen.
3516
3517         * WebCoreSupport/WebChromeClient.h:
3518
3519 2014-02-06  Brent Fulgham  <bfulgham@apple.com>
3520
3521         [Win] Correct IME Regression after r141479
3522         https://bugs.webkit.org/show_bug.cgi?id=128323
3523         <rdar://problem/15952986>
3524
3525         Reviewed by Tim Horton.
3526
3527         * WebView.cpp:
3528         (WebView::updateSelectionForIME): Refactoring flipped the meaning of the test used
3529         to select the resetIME case. Corrected for behavior of new cancel method.
3530
3531 2014-02-04  Andreas Kling  <akling@apple.com>
3532
3533         Remove <iframe seamless> support.
3534         <https://webkit.org/b/128213>
3535
3536         Rubber-stamped by Antti Koivisto.
3537
3538         * WebPreferences.h:
3539         * WebView.cpp:
3540         (WebView::notifyPreferencesChanged):
3541
3542 2014-02-03  Darin Adler  <darin@apple.com>
3543
3544         Try to fix the WinCairo build.
3545
3546         * WebDownloadCurl.cpp:
3547         (WebDownload::didReceiveResponse): characters -> deprecatedCharacters.
3548
3549 2014-02-02  Darin Adler  <darin@apple.com>
3550
3551         Still more characters -> deprecatedCharacters (EWS keeps finding more)
3552         https://bugs.webkit.org/show_bug.cgi?id=128076
3553
3554         Reviewed by Andreas Kling.
3555
3556         * AccessibleTextImpl.cpp:
3557         (AccessibleText::get_text):
3558         (AccessibleText::get_textBeforeOffset):
3559         (AccessibleText::get_textAfterOffset):
3560         (AccessibleText::get_textAtOffset):
3561         (AccessibleText::get_attributes):
3562         * DOMCSSClasses.cpp:
3563         (DOMCSSStyleDeclaration::getPropertyValue):
3564         * DOMCoreClasses.cpp:
3565         (DOMNode::nodeValue):
3566         (DOMElement::getAttribute):
3567         (DOMElement::font):
3568         * DOMHTMLClasses.cpp:
3569         (DOMHTMLElement::innerText):
3570         (DOMHTMLFormElement::action):
3571         (DOMHTMLFormElement::method):
3572         (DOMHTMLInputElement::value):
3573         (DOMHTMLTextAreaElement::value):
3574         * MarshallingHelpers.cpp:
3575         (MarshallingHelpers::PathStringToFileCFURLRef):
3576         * WebDataSource.cpp:
3577         (WebDataSource::unreachableURL):
3578         * WebDownload.cpp:
3579         (WebDownload::bundlePathForTargetPath):
3580         * WebDownloadCFNet.cpp:
3581         (WebDownload: