1 2014-12-09 Commit Queue <commit-queue@webkit.org>
3 Unreviewed, rolling out r177037.
4 https://bugs.webkit.org/show_bug.cgi?id=139464
6 broke ~50 API tests (Requested by thorton on #webkit).
10 "Use the new storage namespace provider in WebKit1"
11 https://bugs.webkit.org/show_bug.cgi?id=139425
12 http://trac.webkit.org/changeset/177037
14 2014-12-08 Anders Carlsson <andersca@apple.com>
16 Use the new storage namespace provider in WebKit1
17 https://bugs.webkit.org/show_bug.cgi?id=139425
19 Reviewed by Tim Horton.
22 (localStorageDatabasePath):
23 Helper from getting the local storage database path given a WebPreferences instance.
25 (WebView::initWithFrame):
26 Create a storage namespace provider.
28 2014-12-05 Anders Carlsson <andersca@apple.com>
30 Get rid of config.h includes and include config.h in the prefix header instead
31 https://bugs.webkit.org/show_bug.cgi?id=139323
33 Reviewed by Brent Fulgham.
35 This is making it easier to share code between WebKit1 for Mac and WebKit1 for Windows.
38 * AccessibleDocument.cpp:
39 * AccessibleImage.cpp:
40 * AccessibleTextImpl.cpp:
41 * CFDictionaryPropertyBag.cpp:
44 * DOMEventsClasses.cpp:
46 * DefaultDownloadDelegate.cpp:
47 * DefaultPolicyDelegate.cpp:
49 * FullscreenVideoController.cpp:
50 * MarshallingHelpers.cpp:
52 * WebActionPropertyBag.cpp:
54 * WebBackForwardList.cpp:
56 * WebCoreStatistics.cpp:
57 * WebCoreSupport/AcceleratedCompositingContext.cpp:
58 * WebCoreSupport/EmbeddedWidget.cpp:
59 * WebCoreSupport/WebChromeClient.cpp:
60 * WebCoreSupport/WebContextMenuClient.cpp:
61 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
62 * WebCoreSupport/WebDragClient.cpp:
63 * WebCoreSupport/WebEditorClient.cpp:
64 * WebCoreSupport/WebFrameLoaderClient.cpp:
65 * WebCoreSupport/WebFrameNetworkingContext.cpp:
66 * WebCoreSupport/WebGeolocationClient.cpp:
67 * WebCoreSupport/WebInspectorClient.cpp:
68 * WebCoreSupport/WebInspectorDelegate.cpp:
69 * WebCoreSupport/WebPlatformStrategies.cpp:
70 * WebCoreSupport/WebVisitedLinkStore.cpp:
72 * WebDatabaseManager.cpp:
73 * WebDocumentLoader.cpp:
75 * WebDownloadCFNet.cpp:
76 * WebDownloadCurl.cpp:
78 * WebElementPropertyBag.cpp:
81 * WebFramePolicyListener.cpp:
82 * WebGeolocationPolicyListener.cpp:
83 * WebGeolocationPosition.cpp:
84 * WebHTMLRepresentation.cpp:
87 * WebIconDatabase.cpp:
89 * WebJavaScriptCollector.cpp:
91 * WebKitClassFactory.cpp:
96 * WebKitStatistics.cpp:
97 * WebKitSystemBits.cpp:
98 * WebLocalizableStrings.cpp:
99 * WebMutableURLRequest.cpp:
100 * WebNavigationData.cpp:
101 * WebNodeHighlight.cpp:
102 * WebNotification.cpp:
103 * WebNotificationCenter.cpp:
104 * WebPreferences.cpp:
106 * WebScriptObject.cpp:
107 * WebScriptWorld.cpp:
108 * WebSecurityOrigin.cpp:
109 * WebSerializedJSValue.cpp:
110 * WebTextRenderer.cpp:
111 * WebURLAuthenticationChallenge.cpp:
112 * WebURLAuthenticationChallengeSender.cpp:
113 * WebURLAuthenticationChallengeSenderCFNet.cpp:
114 * WebURLAuthenticationChallengeSenderCurl.cpp:
115 * WebURLCredential.cpp:
116 * WebURLProtectionSpace.cpp:
117 * WebURLResponse.cpp:
118 * WebUserContentURLPattern.cpp:
120 * WebWorkersPrivate.cpp:
122 2014-12-05 Anders Carlsson <andersca@apple.com>
126 * WebCoreSupport/WebVisitedLinkStore.cpp:
127 (WebVisitedLinkStore::shared):
129 2014-12-04 Anders Carlsson <andersca@apple.com>
131 Don't use NeverDestroyed with a RefCounted object.
133 * WebCoreSupport/WebVisitedLinkStore.cpp:
134 (WebVisitedLinkStore::shared):
136 2014-12-03 peavo@outlook.com <peavo@outlook.com>
138 [TexMap] Redundant method in GraphicsLayerTextureMapper.
139 https://bugs.webkit.org/show_bug.cgi?id=138005
141 Reviewed by Alex Christensen.
143 The TextureMapperLayer method descendantsOrSelfHaveRunningAnimations() can be used
144 instead of the GraphicsLayerTextureMapper method startedAnimation().
146 * WebCoreSupport/AcceleratedCompositingContext.cpp:
147 (AcceleratedCompositingContext::startedAnimation):
149 2014-12-02 Anders Carlsson <andersca@apple.com>
151 Remove more Windows cruft
152 https://bugs.webkit.org/show_bug.cgi?id=139189
154 Reviewed by Andreas Kling.
156 * WebCoreSupport/WebFrameLoaderClient.cpp:
157 (WebFrameLoaderClient::createNetworkingContext):
158 * WebCoreSupport/WebFrameNetworkingContext.h:
159 (WebFrameNetworkingContext::create):
160 (WebFrameNetworkingContext::WebFrameNetworkingContext):
161 (WebFrameNetworkingContext::userAgent): Deleted.
163 2014-12-02 Anders Carlsson <andersca@apple.com>
165 Remove visited link handling from PageGroup
166 https://bugs.webkit.org/show_bug.cgi?id=139185
168 Reviewed by Sam Weinig.
170 * WebCoreSupport/WebChromeClient.cpp:
171 (WebChromeClient::populateVisitedLinks): Deleted.
172 * WebCoreSupport/WebChromeClient.h:
174 2014-12-01 Anders Carlsson <andersca@apple.com>
176 Remove IWebCookieManager on Windows
177 https://bugs.webkit.org/show_bug.cgi?id=139144
179 Reviewed by Sam Weinig.
181 Remove WebCookieManager.
184 * Interfaces/IWebCookieManager.idl: Removed.
185 * Interfaces/WebKit.idl:
186 * WebCookieManager.cpp: Removed.
187 * WebCookieManager.h: Removed.
188 * WebCookieManagerCFNet.cpp: Removed.
189 * WebCookieManagerCurl.cpp: Removed.
190 * WebKitClassFactory.cpp:
192 2014-11-29 Anders Carlsson <andersca@apple.com>
194 Switch over to using WebVisitedLinkStore on Windows
195 https://bugs.webkit.org/show_bug.cgi?id=139103
197 Reviewed by Antti Koivisto.
199 * WebCoreSupport/WebChromeClient.cpp:
200 (WebChromeClient::populateVisitedLinks):
202 (WebHistory::setOptionalSharedHistory):
203 (WebHistory::removeAllItems):
204 (WebHistory::setVisitedLinkTrackingEnabled):
205 (WebHistory::removeAllVisitedLinks):
206 (WebHistory::removeItemForURLString):
207 (WebHistory::addVisitedLinksToVisitedLinkStore):
208 (WebHistory::addVisitedLinksToPageGroup): Deleted.
211 (WebView::initWithFrame):
213 2014-11-29 Anders Carlsson <andersca@apple.com>
218 (WebHistory::addVisitedLinksToVisitedLinkStore):
220 2014-11-29 Anders Carlsson <andersca@apple.com>
225 (WebHistory::addVisitedLinksToVisitedLinkStore):
226 (WebHistory::removeAllVisitedLinks): Deleted.
227 (WebHistory::setHistoryItemLimit): Deleted.
229 2014-11-29 Anders Carlsson <andersca@apple.com>
235 2014-11-29 Anders Carlsson <andersca@apple.com>
237 Stub out more of WebVisitedLinkStore on Windows
238 https://bugs.webkit.org/show_bug.cgi?id=139098
240 Reviewed by Sam Weinig.
242 * WebCoreSupport/WebVisitedLinkStore.cpp:
243 (WebVisitedLinkStore::WebVisitedLinkStore):
244 Initialize m_visitedLinksPopulated to false.
246 (WebVisitedLinkStore::setShouldTrackVisitedLinks):
247 Update s_shouldTrackVisitedLinks and remove all visited links if needed.
249 (WebVisitedLinkStore::removeAllVisitedLinks):
250 Remove all hashes from our shared link store.
252 (WebVisitedLinkStore::addVisitedLink):
253 Compute the visited link hash and add it to the store.
255 (WebVisitedLinkStore::isLinkVisited):
256 Populate visited links and then look up the hash in our hash map.
258 (WebVisitedLinkStore::populateVisitedLinksIfNeeded):
259 Call out to the history delegate or populate visited links from shared history.
261 (WebVisitedLinkStore::addVisitedLinkHash):
262 Add the hash if we're tracking hashes.
264 (WebVisitedLinkStore::removeVisitedLinkHashes):
267 * WebCoreSupport/WebVisitedLinkStore.h:
271 (WebHistory::addVisitedLinksToVisitedLinkStore):
272 New function that adds visited links from the history to a given store.
278 (WebView::addVisitedLinks):
279 Add links to the visited link store as well.
281 2014-11-27 Anders Carlsson <andersca@apple.com>
283 Add a stubbed out WebVisitedLinkStore class on Windows
284 https://bugs.webkit.org/show_bug.cgi?id=139078
286 Reviewed by Sam Weinig.
288 * WebCoreSupport/WebVisitedLinkStore.cpp: Added.
289 (WebVisitedLinkStore::shared):
290 (WebVisitedLinkStore::WebVisitedLinkStore):
291 (WebVisitedLinkStore::~WebVisitedLinkStore):
292 (WebVisitedLinkStore::isLinkVisited):
293 (WebVisitedLinkStore::addVisitedLink):
294 * WebCoreSupport/WebVisitedLinkStore.h: Added.
296 2014-11-24 Anders Carlsson <andersca@apple.com>
298 Stub out user content WebView member functions on Windows
299 https://bugs.webkit.org/show_bug.cgi?id=139033
301 Reviewed by Sam Weinig.
303 These functions aren't used by any clients and hinder getting rid of PageGroup.
304 If it turns out they're still needed we can copy the user content controller code from Mac Legacy WebKit.
307 (WebView::addUserScriptToGroup):
308 (WebView::addUserStyleSheetToGroup):
309 (WebView::removeUserScriptFromGroup):
310 (WebView::removeUserStyleSheetFromGroup):
311 (WebView::removeUserScriptsFromGroup):
312 (WebView::removeUserStyleSheetsFromGroup):
313 (WebView::removeAllUserContentFromGroup):
314 (toStringVector): Deleted.
316 2014-11-21 Jer Noble <jer.noble@apple.com>
318 Support multiple signatures of diagnostic logging.
319 https://bugs.webkit.org/show_bug.cgi?id=138690
321 Reviewed by Anders Carlsson.
323 Page::PageClients has been renamed PageConfiguration.
326 (WebView::initWithFrame):
328 2014-11-21 Anders Carlsson <andersca@apple.com>
330 Another Windows build fix.
332 * FullscreenVideoController.cpp:
333 (FullscreenVideoController::FullscreenVideoController):
335 2014-11-21 Anders Carlsson <andersca@apple.com>
337 Remove the Timer parameters from timer callbacks
338 https://bugs.webkit.org/show_bug.cgi?id=138974
340 Reviewed by Antti Koivisto.
342 * FullscreenVideoController.cpp:
343 (FullscreenVideoController::timerFired):
344 * FullscreenVideoController.h:
346 2014-11-21 Anders Carlsson <andersca@apple.com>
348 Make memoryCache() return a reference
349 https://bugs.webkit.org/show_bug.cgi?id=138939
351 Reviewed by Antti Koivisto.
354 (WebCache::statistics):
356 (WebCache::setDisabled):
357 (WebCache::disabled):
359 (WebView::setCacheModel):
361 2014-11-16 Zan Dobersek <zdobersek@igalia.com>
363 [TexMap] Add typecasting support for GraphicsLayerTextureMapper
364 https://bugs.webkit.org/show_bug.cgi?id=138741
366 Reviewed by Martin Robinson.
368 Switch to using downcast<GraphicsLayerTextureMapper>() and replace
369 uses of toTextureMapperLayer() with downcasting and calling
370 the GraphicsLayerTextureMapper::layer() method.
372 * WebCoreSupport/AcceleratedCompositingContext.cpp:
373 (AcceleratedCompositingContext::initialize):
374 (AcceleratedCompositingContext::startedAnimation):
375 (AcceleratedCompositingContext::compositeLayersToContext):
377 2014-11-12 Chris Dumez <cdumez@apple.com>
379 Have DOMTimer deal with more ScriptExecutionContext references
380 https://bugs.webkit.org/show_bug.cgi?id=138679
382 Reviewed by Andreas Kling.
384 Update WindowCloseTimer to deal with ScriptExecutionContext references
385 instead of pointers as it subclasses SuspendableTimer and its
386 constructor takes a ScriptExecutionContext& in argument.
389 (WindowCloseTimer::create):
390 (WindowCloseTimer::WindowCloseTimer):
392 2014-11-05 Jer Noble <jer.noble@apple.com>
395 https://bugs.webkit.org/show_bug.cgi?id=138450
397 Reviewed by Anders Carlsson.
399 * FullscreenVideoController.cpp:
400 (FullscreenVideoController::timerFired):
401 * FullscreenVideoController.h:
403 2014-11-04 Darin Adler <darin@apple.com>
405 Eliminate ResourceBuffer and use SharedBuffer directly instead
406 https://bugs.webkit.org/show_bug.cgi?id=138174
408 Reviewed by Antti Koivisto.
411 (WebDataSource::data): Use SharedBuffer directly.
412 (WebDataSource::subresourceForURL): Ditto.
414 2014-11-03 Commit Queue <commit-queue@webkit.org>
416 Unreviewed, rolling out r175406, r175413, and r175423.
417 https://bugs.webkit.org/show_bug.cgi?id=138327
419 Multipart tests are still broken (Requested by ap on #webkit).
423 "Eliminate ResourceBuffer and use SharedBuffer directly
425 https://bugs.webkit.org/show_bug.cgi?id=138174
426 http://trac.webkit.org/changeset/175406
428 "Unreviewed, iOS build fix since 175406."
429 http://trac.webkit.org/changeset/175413
431 "Fix assertion in CachedResource::addDataBuffer"
432 http://trac.webkit.org/changeset/175423
434 2014-11-03 Sungmann Cho <sungmann.cho@navercorp.com>
436 AX: Fix some minor typos related to the word "accessibility".
437 https://bugs.webkit.org/show_bug.cgi?id=138299
439 Reviewed by Chris Fleizach.
441 No new tests, no behavior change.
445 2014-10-31 Gyuyoung Kim <gyuyoung.kim@samsung.com>
447 Use std::unique_ptr for TypeCountSet
448 https://bugs.webkit.org/show_bug.cgi?id=138242
450 Reviewed by Andreas Kling.
452 * WebCoreStatistics.cpp:
453 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): Use std::unique_ptr<> instead of OwnPtr.
454 (WebCoreStatistics::javaScriptObjectTypeCounts): ditto.
456 2014-10-30 Darin Adler <darin@apple.com>
458 Eliminate ResourceBuffer and use SharedBuffer directly instead
459 https://bugs.webkit.org/show_bug.cgi?id=138174
461 Reviewed by Antti Koivisto.
464 (WebDataSource::data): Use SharedBuffer directly.
465 (WebDataSource::subresourceForURL): Ditto.
467 2014-10-20 peavo@outlook.com <peavo@outlook.com>
469 [WinCairo] Crash in ATI display driver in accelerated compositing mode.
470 https://bugs.webkit.org/show_bug.cgi?id=137879
472 Reviewed by Darin Adler.
474 Speculative fix; don't enable antialiasing when drawing textures.
476 * WebCoreSupport/AcceleratedCompositingContext.cpp:
477 (AcceleratedCompositingContext::initialize):
479 2014-10-20 Chris Dumez <cdumez@apple.com>
481 Use is<>() / downcast<>() for Accessibility objects
482 https://bugs.webkit.org/show_bug.cgi?id=137286
484 Reviewed by Darin Adler.
486 Use is<>() / downcast<>() for Accessibility objects.
488 * AccessibleBase.cpp:
489 (AccessibleBase::accSelect):
490 * AccessibleImage.cpp:
491 (AccessibleImage::name):
493 2014-10-18 peavo@outlook.com <peavo@outlook.com>
495 [WinCairo] Repaint issues with accelerated compositing.
496 https://bugs.webkit.org/show_bug.cgi?id=137850
498 Reviewed by Brent Fulgham.
500 There is sometimes missing content in accelerated compositing mode.
501 This is caused by not invalidating the non composited layer,
502 and not rendering when a flush did not complete.
504 * WebCoreSupport/AcceleratedCompositingContext.cpp:
505 (AcceleratedCompositingContext::flushAndRenderLayers): Also render when flush did not complete.
506 (AcceleratedCompositingContext::setNeedsDisplayInRect): Deleted.
507 * WebCoreSupport/AcceleratedCompositingContext.h: Ditto.
509 (WebView::addToDirtyRegion): Invalidate non composited layer.
510 (WebView::flushPendingGraphicsLayerChanges): Flush layers.
512 2014-10-17 Chris Dumez <cdumez@apple.com>
514 Use is<>() / downcast<>() for RenderBox
515 https://bugs.webkit.org/show_bug.cgi?id=137804
517 Reviewed by Andreas Kling.
519 Use is<>() / downcast<>() for RenderBox and clean up the surrounding
523 (WebView::gestureNotify):
525 2014-10-17 peavo@outlook.com <peavo@outlook.com>
527 [WinCairo] Accelerated compositing is not implemented.
528 https://bugs.webkit.org/show_bug.cgi?id=137345
530 Reviewed by Brent Fulgham.
532 This patch is based on GTK, and the texture mapper graphics layer type.
534 * WebCoreSupport/AcceleratedCompositingContext.cpp: Added.
535 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
536 (WebKit::getWebViewSize):
537 (WebKit::AcceleratedCompositingContext::initialize):
538 (WebKit::AcceleratedCompositingContext::~AcceleratedCompositingContext):
539 (WebKit::AcceleratedCompositingContext::stopAnyPendingLayerFlush):
540 (WebKit::AcceleratedCompositingContext::enabled):
541 (WebKit::AcceleratedCompositingContext::prepareForRendering):
542 (WebKit::AcceleratedCompositingContext::startedAnimation):
543 (WebKit::AcceleratedCompositingContext::compositeLayersToContext):
544 (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
545 (WebKit::AcceleratedCompositingContext::setNonCompositedContentsNeedDisplay):
546 (WebKit::AcceleratedCompositingContext::setNeedsDisplayInRect):
547 (WebKit::AcceleratedCompositingContext::resizeRootLayer):
548 (WebKit::AcceleratedCompositingContext::scrollNonCompositedContents):
549 (WebKit::AcceleratedCompositingContext::scheduleLayerFlush):
550 (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
551 (WebKit::AcceleratedCompositingContext::flushPendingLayerChangesSoon):
552 (WebKit::AcceleratedCompositingContext::flushAndRenderLayers):
553 (WebKit::AcceleratedCompositingContext::layerFlushTimerFired):
554 (WebKit::AcceleratedCompositingContext::notifyAnimationStarted):
555 (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
556 (WebKit::AcceleratedCompositingContext::paintContents):
557 * WebCoreSupport/AcceleratedCompositingContext.h: Added.
558 (WebKit::AcceleratedCompositingContext::LayerFlushTimer::LayerFlushTimer):
559 (WebKit::AcceleratedCompositingContext::LayerFlushTimer::fired):
562 (WebView::addToDirtyRegion):
563 (WebView::scrollBackingStore):
564 (WebView::sizeChanged):
566 (WebView::setRootChildLayer):
567 (WebView::flushPendingGraphicsLayerChangesSoon):
568 (WebView::setAcceleratedCompositing):
571 2014-10-16 Commit Queue <commit-queue@webkit.org>
573 Unreviewed, rolling out r174754.
574 https://bugs.webkit.org/show_bug.cgi?id=137789
576 Speculative fix for Windows test was ineffective. (Requested
577 by rfong on #webkit).
581 "[Windows] Add some more logging to debug Windows test
583 http://trac.webkit.org/changeset/174754
585 2014-10-15 Roger Fong <roger_fong@apple.com>
587 [Windows] Add some more logging to debug Windows test issues.
589 * WebActionPropertyBag.cpp:
590 (WebActionPropertyBag::Read):
592 2014-10-14 Roger Fong <roger_fong@apple.com>
594 [Windows] Add some logging to debug random crashing when running layout tests on Windows.
596 * WebActionPropertyBag.cpp:
597 (WebActionPropertyBag::Read):
599 2014-10-13 Brent Fulgham <bfulgham@apple.com>
601 [Win] Implement a page load profiling tool
602 https://bugs.webkit.org/show_bug.cgi?id=137673
604 Reviewed by Dean Jackson.
606 Add a new predicate (isMainFrame) to the IWebFrame interface so
607 that we can make decisions about a frames position in the page
608 load hierarchy in client programs.
610 * Interfaces/IWebFrame.idl: Added new isMainFrame
611 predicate to interface definition.
613 (WebFrame::isMainFrame): Added.
616 2014-10-13 Chris Dumez <cdumez@apple.com>
618 Use is<>() / downcast<>() for PlatformCALayer subclasses
619 https://bugs.webkit.org/show_bug.cgi?id=137661
621 Reviewed by Simon Fraser.
623 Use is<>() / downcast<>() for PlatformCALayer subclasses and clean up
624 the surrounding code.
626 * FullscreenVideoController.cpp:
627 (FullscreenVideoController::enterFullscreen):
629 2014-10-10 Chris Dumez <cdumez@apple.com>
631 Use is<>() / downcast<>() for RenderElement
632 https://bugs.webkit.org/show_bug.cgi?id=137622
634 Reviewed by Benjamin Poulain.
636 Use is<>() / downcast<>() for RenderElement and clean up the
640 (WebFrame::pauseAnimation):
641 (WebFrame::pauseTransition):
643 2014-10-09 Chris Dumez <cdumez@apple.com>
645 Use is<>() / downcast<>() for Widget subclasses
646 https://bugs.webkit.org/show_bug.cgi?id=137549
648 Reviewed by Darin Adler.
650 Use is<>() / downcast<>() for Widget subclasses and clean up the
653 * WebCoreSupport/EmbeddedWidget.cpp:
654 (EmbeddedWidget::frameRectsChanged):
656 2014-10-08 Brent Fulgham <bfulgham@apple.com>
658 [Win] Resolve various static analyzer warnings in WebKit.
659 https://bugs.webkit.org/show_bug.cgi?id=137531
661 Reviewed by Dean Jackson.
663 * MarshallingHelpers.cpp:
664 (MarshallingHelpers::safeArrayToIntArray): Handle possible failure of
665 SafeArrayGetElement call.
666 (MarshallingHelpers::safeArrayToIUnknownArray): Ditto.
668 (MemoryStream::CopyTo): Zero-initialize 'written' to silence warning.
669 * WebCoreSupport/WebChromeClient.cpp:
670 (WebChromeClient::exceededDatabaseQuota): Handle possible failure of
673 (getDayBoundaries): Handle possible failure of TzSpecificLocalTimeToSystemTime
675 (WebView::shouldInitializeTrackPointHack): Zero initialize return value.
676 (WebView::dispatchDidReceiveIconFromWebFrame): Avoid possible DeleteObject
677 call on a null bitmap handle.
678 (WebView::standardUserAgentWithApplicationName): Get rid of spurious
681 2014-10-02 Tim Horton <timothy_horton@apple.com>
683 Move PageOverlay[Controller] to WebCore
684 https://bugs.webkit.org/show_bug.cgi?id=137164
685 <rdar://problem/18508258>
687 Reviewed by Anders Carlsson.
689 * WebCoreSupport/WebChromeClient.cpp:
690 (WebChromeClient::attachViewOverlayGraphicsLayer):
691 * WebCoreSupport/WebChromeClient.h:
692 Add an empty ChromeClient override.
694 2014-10-01 Christophe Dumez <cdumez@apple.com>
696 Have is<>(T*) function do a null check on the pointer argument
697 https://bugs.webkit.org/show_bug.cgi?id=137333
699 Reviewed by Gavin Barraclough.
701 Have is<>(T*) function do a null check on the argument instead of a
702 simple assertion. This makes sense for 2 reasons:
703 1. It is more consistent with downcast<>(T*), which will succeed even
704 if the argument is a nullptr.
705 2. It simplifies the code a bit as it gets rid of a lot of explicit
708 * DOMCoreClasses.cpp:
709 (DOMElement::createInstance):
710 * DOMHTMLClasses.cpp:
711 (DOMHTMLDocument::body):
712 (DOMHTMLDocument::forms):
713 (DOMHTMLElement::idName):
714 (DOMHTMLElement::innerText):
715 (DOMHTMLElement::setInnerText):
716 (DOMHTMLFormElement::action):
717 (DOMHTMLFormElement::method):
718 (DOMHTMLOptionElement::text):
719 (DOMHTMLOptionElement::label):
720 (DOMHTMLInputElement::form):
721 (DOMHTMLInputElement::disabled):
722 (DOMHTMLInputElement::readOnly):
723 (DOMHTMLInputElement::setType):
724 (DOMHTMLInputElement::value):
725 (DOMHTMLInputElement::setValue):
726 (DOMHTMLInputElement::setValueForUser):
727 (DOMHTMLInputElement::select):
728 (DOMHTMLInputElement::setSelectionStart):
729 (DOMHTMLInputElement::selectionStart):
730 (DOMHTMLInputElement::setSelectionEnd):
731 (DOMHTMLInputElement::selectionEnd):
732 (DOMHTMLInputElement::isTextField):
733 (DOMHTMLInputElement::rectOnScreen):
734 (DOMHTMLInputElement::replaceCharactersInRange):
735 (DOMHTMLInputElement::selectedRange):
736 (DOMHTMLInputElement::setAutofilled):
737 (DOMHTMLInputElement::isAutofilled):
738 (DOMHTMLInputElement::isUserEdited):
739 (DOMHTMLTextAreaElement::form):
740 (DOMHTMLTextAreaElement::value):
741 (DOMHTMLTextAreaElement::setValue):
742 (DOMHTMLTextAreaElement::select):
743 (DOMHTMLTextAreaElement::isUserEdited):
745 (formElementFromDOMElement):
746 (inputElementFromDOMElement):
747 (WebFrame::elementWithName):
749 2014-09-30 Christophe Dumez <cdumez@apple.com>
751 Generalize is<>() / downcast<>() support to all types
752 https://bugs.webkit.org/show_bug.cgi?id=137243
754 Reviewed by Benjamin Poulain.
756 Generalize is<>() / downcast<>() support to all types, not just Nodes.
758 * DOMCoreClasses.cpp:
759 (DOMElement::createInstance):
761 2014-09-30 Chris Dumez <cdumez@apple.com>
763 Use is<>() / downcast<>() for Element
764 https://bugs.webkit.org/show_bug.cgi?id=137241
766 Reviewed by Andreas Kling.
768 Use is<>() / downcast<>() for Element instead of isElementNode() /
771 * DOMEventsClasses.cpp:
772 (DOMMouseEvent::toElement):
773 * DOMEventsClasses.h:
775 2014-09-29 Christophe Dumez <cdumez@apple.com>
777 Make is<>() / downcast<>() work for HTMLDocument and its subclasses
778 https://bugs.webkit.org/show_bug.cgi?id=137169
780 Reviewed by Darin Adler.
782 Use is<>() / downcast<>() for HTMLDocument and its subclasses.
784 * DOMHTMLClasses.cpp:
785 (DOMHTMLDocument::URL):
786 (DOMHTMLDocument::body):
787 (DOMHTMLDocument::forms):
789 2014-09-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
791 Use std::unique_ptr for ContextMenuController
792 https://bugs.webkit.org/show_bug.cgi?id=137178
794 Reviewed by Darin Adler.
796 Switch to using std::unique_ptr instead of OwnPtr and PassOwnPtr
797 for ContextMenuController class. Inherited class is changed by this use as well.
799 * WebCoreSupport/WebContextMenuClient.cpp:
800 (WebContextMenuClient::customizeMenu):
801 * WebCoreSupport/WebContextMenuClient.h:
803 2014-09-26 Christophe Dumez <cdumez@apple.com>
805 Stop using legacy NODE_TYPE_CASTS() macro for HTML Elements
806 https://bugs.webkit.org/show_bug.cgi?id=137137
808 Reviewed by Benjamin Poulain.
810 Use is<>() / downcast<>() where appropriate.
812 * DOMHTMLClasses.cpp:
813 (DOMHTMLElement::idName):
814 (DOMHTMLElement::innerText):
815 (DOMHTMLElement::setInnerText):
817 2014-09-25 Brent Fulgham <bfulgham@apple.com>
819 [Win] Debug builds of TestWebKitAPI are crashing.
820 https://bugs.webkit.org/show_bug.cgi?id=133553
822 Reviewed by Dean Jackson.
824 Switch from global static HashTable to a NeverDestroyed object.
825 Modify all accessors of the global static to use the new
826 NeverDestroyed accessor method.
828 * AccessibleBase.cpp:
829 (AccessibleBase::AccessibleBase):
830 (AccessibleBase::~AccessibleBase):
831 * CFDictionaryPropertyBag.cpp:
832 (CFDictionaryPropertyBag::CFDictionaryPropertyBag):
833 (CFDictionaryPropertyBag::~CFDictionaryPropertyBag):
834 * DefaultDownloadDelegate.cpp:
835 (DefaultDownloadDelegate::DefaultDownloadDelegate):
836 (DefaultDownloadDelegate::~DefaultDownloadDelegate):
837 * DefaultPolicyDelegate.cpp:
838 (DefaultPolicyDelegate::DefaultPolicyDelegate):
839 (DefaultPolicyDelegate::~DefaultPolicyDelegate):
841 (MemoryStream::MemoryStream):
842 (MemoryStream::~MemoryStream):
843 * WebActionPropertyBag.cpp:
844 (WebActionPropertyBag::WebActionPropertyBag):
845 (WebActionPropertyBag::~WebActionPropertyBag):
847 (WebArchive::WebArchive):
848 (WebArchive::~WebArchive):
849 * WebBackForwardList.cpp:
850 (WebBackForwardList::WebBackForwardList):
851 (WebBackForwardList::~WebBackForwardList):
853 (WebCache::WebCache):
854 (WebCache::~WebCache):
855 * WebCookieManager.cpp:
856 (WebCookieManager::WebCookieManager):
857 (WebCookieManager::~WebCookieManager):
858 * WebCoreStatistics.cpp:
859 (WebCoreStatistics::WebCoreStatistics):
860 (WebCoreStatistics::~WebCoreStatistics):
862 (WebDataSource::~WebDataSource):
863 * WebDatabaseManager.cpp:
864 (WebDatabaseManager::WebDatabaseManager):
865 (WebDatabaseManager::~WebDatabaseManager):
866 * WebDocumentLoader.cpp:
867 (WebDocumentLoader::WebDocumentLoader):
868 (WebDocumentLoader::~WebDocumentLoader):
870 (WebDownload::WebDownload):
871 (WebDownload::~WebDownload):
873 (WebDropSource::WebDropSource):
874 (WebDropSource::~WebDropSource):
875 * WebElementPropertyBag.cpp:
876 (WebElementPropertyBag::WebElementPropertyBag):
877 (WebElementPropertyBag::~WebElementPropertyBag):
879 (WebError::WebError):
880 (WebError::~WebError):
882 (WebFrame::WebFrame):
883 (WebFrame::~WebFrame):
884 * WebFramePolicyListener.cpp:
885 (WebFramePolicyListener::WebFramePolicyListener):
886 (WebFramePolicyListener::~WebFramePolicyListener):
887 * WebGeolocationPolicyListener.cpp:
888 (WebGeolocationPolicyListener::WebGeolocationPolicyListener):
889 (WebGeolocationPolicyListener::~WebGeolocationPolicyListener):
890 * WebGeolocationPosition.cpp:
891 (WebGeolocationPosition::WebGeolocationPosition):
892 (WebGeolocationPosition::~WebGeolocationPosition):
893 * WebHTMLRepresentation.cpp:
894 (WebHTMLRepresentation::WebHTMLRepresentation):
895 (WebHTMLRepresentation::~WebHTMLRepresentation):
897 (WebHistory::WebHistory):
898 (WebHistory::~WebHistory):
899 * WebHistoryItem.cpp:
900 (WebHistoryItem::WebHistoryItem):
901 (WebHistoryItem::~WebHistoryItem):
902 * WebIconDatabase.cpp:
903 (WebIconDatabase::WebIconDatabase):
904 (WebIconDatabase::~WebIconDatabase):
906 (WebInspector::WebInspector):
907 (WebInspector::~WebInspector):
908 * WebJavaScriptCollector.cpp:
909 (WebJavaScriptCollector::WebJavaScriptCollector):
910 (WebJavaScriptCollector::~WebJavaScriptCollector):
911 * WebKitClassFactory.cpp:
912 (WebKitClassFactory::WebKitClassFactory):
913 (WebKitClassFactory::~WebKitClassFactory):
914 * WebKitDLL.cpp: Also switch to NeverDestroyed HashTable for
915 the global class name count.
917 * WebKitStatistics.cpp:
918 (WebKitStatistics::WebKitStatistics):
919 (WebKitStatistics::~WebKitStatistics):
920 (WebKitStatistics::comClassNameCounts):
921 * WebMutableURLRequest.cpp:
922 (WebMutableURLRequest::WebMutableURLRequest):
923 (WebMutableURLRequest::~WebMutableURLRequest):
924 * WebNavigationData.cpp:
925 (WebNavigationData::WebNavigationData):
926 (WebNavigationData::~WebNavigationData):
927 * WebNotification.cpp:
928 (WebNotification::WebNotification):
929 (WebNotification::~WebNotification):
930 * WebNotificationCenter.cpp:
931 (WebNotificationCenter::WebNotificationCenter):
932 (WebNotificationCenter::~WebNotificationCenter):
933 * WebPreferences.cpp:
934 (webPreferencesInstances):
935 (WebPreferences::WebPreferences):
936 (WebPreferences::~WebPreferences):
937 (WebPreferences::getInstanceForIdentifier):
938 (WebPreferences::setInstance):
939 (WebPreferences::removeReferenceForIdentifier):
941 (WebResource::WebResource):
942 (WebResource::~WebResource):
943 * WebScriptObject.cpp:
944 (WebScriptObject::WebScriptObject):
945 (WebScriptObject::~WebScriptObject):
946 * WebScriptWorld.cpp:
947 (WebScriptWorld::WebScriptWorld):
948 (WebScriptWorld::~WebScriptWorld):
949 * WebSecurityOrigin.cpp:
950 (WebSecurityOrigin::WebSecurityOrigin):
951 (WebSecurityOrigin::~WebSecurityOrigin):
952 * WebSerializedJSValue.cpp:
953 (WebSerializedJSValue::WebSerializedJSValue):
954 (WebSerializedJSValue::~WebSerializedJSValue):
955 * WebTextRenderer.cpp:
956 (WebTextRenderer::WebTextRenderer):
957 (WebTextRenderer::~WebTextRenderer):
958 * WebURLAuthenticationChallenge.cpp:
959 (WebURLAuthenticationChallenge::WebURLAuthenticationChallenge):
960 (WebURLAuthenticationChallenge::~WebURLAuthenticationChallenge):
961 * WebURLAuthenticationChallengeSender.cpp:
962 (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender):
963 (WebURLAuthenticationChallengeSender::~WebURLAuthenticationChallengeSender):
964 * WebURLCredential.cpp:
965 (WebURLCredential::WebURLCredential):
966 (WebURLCredential::~WebURLCredential):
967 * WebURLProtectionSpace.cpp:
968 (WebURLProtectionSpace::WebURLProtectionSpace):
969 (WebURLProtectionSpace::~WebURLProtectionSpace):
970 * WebURLResponse.cpp:
972 (WebURLResponse::~WebURLResponse):
973 * WebUserContentURLPattern.cpp:
974 (WebUserContentURLPattern::WebUserContentURLPattern):
975 (WebUserContentURLPattern::~WebUserContentURLPattern):
977 (pendingDeleteBackingStoreSet): Switch from a global static
978 value to a NeverDestroyed object wrapped by an accessor function.
979 (WebView::WebView): Ditto.
980 (WebView::~WebView): Ditto.
981 (WebView::deleteBackingStore): Ditto.
982 (WebView::deleteBackingStoreSoon): Ditto,
983 (WebView::cancelDeleteBackingStoreSoon): Ditto.
984 * WebWorkersPrivate.cpp: Switch from a global static value for
985 the preferences objects t a NeverDestroyed container.
986 (WebWorkersPrivate::WebWorkersPrivate): Ditto.
987 (WebWorkersPrivate::~WebWorkersPrivate): Ditto.
989 2014-09-25 Christophe Dumez <cdumez@apple.com>
991 Use is<HTML*Element>() instead of isHTML*Element() - Part 2
992 https://bugs.webkit.org/show_bug.cgi?id=137103
994 Reviewed by Benjamin Poulain.
996 Use is<HTML*Element>() instead of isHTML*Element().
998 * DOMCoreClasses.cpp:
999 (DOMElement::createInstance):
1000 * DOMHTMLClasses.cpp:
1001 (DOMHTMLFormElement::action):
1002 (DOMHTMLFormElement::method):
1004 (formElementFromDOMElement):
1006 2014-09-24 Christophe Dumez <cdumez@apple.com>
1008 Add initial is<>() / downcast<>() support for any type of Nodes
1009 https://bugs.webkit.org/show_bug.cgi?id=137056
1011 Reviewed by Benjamin Poulain.
1013 Use is<HTMLFormControlElement>() / downcast<HTMLFormControlElement>()
1014 instead of isFormControlElement() / toHTMLFormControlElement().
1017 (WebFrame::elementWithName):
1019 2014-09-24 Christophe Dumez <cdumez@apple.com>
1021 Unreviewed build fix after r173932.
1023 Unreviewed build fix after r173932 for Windows. Use WebCore:: namespace
1024 explicitely in DOMCoreClasses.cpp.
1026 * DOMCoreClasses.cpp:
1027 (DOMElement::createInstance):
1029 2014-09-24 Christophe Dumez <cdumez@apple.com>
1031 Use is<HTML*Element>() instead of isHTML*Element() - Part 1
1032 https://bugs.webkit.org/show_bug.cgi?id=137068
1034 Reviewed by Ryosuke Niwa.
1036 Start using is<HTML*Element>() instead of isHTML*Element().
1037 Remaining usages will be updated in a follow-up patch to
1038 reduce the size of the change.
1040 * DOMCoreClasses.cpp:
1041 (DOMElement::createInstance):
1042 * DOMHTMLClasses.cpp:
1043 (DOMHTMLOptionElement::text):
1044 (DOMHTMLOptionElement::label):
1045 (DOMHTMLInputElement::form):
1046 (DOMHTMLInputElement::disabled):
1047 (DOMHTMLInputElement::readOnly):
1048 (DOMHTMLInputElement::setType):
1049 (DOMHTMLInputElement::value):
1050 (DOMHTMLInputElement::setValue):
1051 (DOMHTMLInputElement::setValueForUser):
1052 (DOMHTMLInputElement::select):
1053 (DOMHTMLInputElement::setSelectionStart):
1054 (DOMHTMLInputElement::selectionStart):
1055 (DOMHTMLInputElement::setSelectionEnd):
1056 (DOMHTMLInputElement::selectionEnd):
1057 (DOMHTMLInputElement::isTextField):
1058 (DOMHTMLInputElement::rectOnScreen):
1059 (DOMHTMLInputElement::replaceCharactersInRange):
1060 (DOMHTMLInputElement::selectedRange):
1061 (DOMHTMLInputElement::setAutofilled):
1062 (DOMHTMLInputElement::isAutofilled):
1063 (DOMHTMLInputElement::isUserEdited):
1064 (DOMHTMLTextAreaElement::form):
1065 (DOMHTMLTextAreaElement::value):
1066 (DOMHTMLTextAreaElement::setValue):
1067 (DOMHTMLTextAreaElement::select):
1068 (DOMHTMLTextAreaElement::isUserEdited):
1070 (inputElementFromDOMElement):
1072 2014-09-21 Timothy Hatcher <timothy@apple.com>
1074 Make the Web Inspector use a separate web process.
1076 https://bugs.webkit.org/show_bug.cgi?id=135120
1078 Reviewed by Anders Carlsson.
1080 * WebCoreSupport/WebInspectorClient.cpp:
1081 (WebInspectorClient::openInspectorFrontend):
1082 * WebCoreSupport/WebInspectorClient.h:
1083 (WebInspectorClient::frontendClient):
1084 Own WebInspectorFrontendClient instead of moving it.
1086 2014-09-23 Christophe Dumez <cdumez@apple.com>
1088 Unreviewed build fix after r173893.
1090 Partial revert of r173893 to fix debug builds.
1092 * DOMHTMLClasses.cpp:
1093 (DOMHTMLDocument::URL):
1094 (DOMHTMLDocument::body):
1095 (DOMHTMLDocument::forms):
1097 2014-09-23 Chris Dumez <cdumez@apple.com>
1099 Use downcast<HTML*Element>() instead of toHTML*Element()
1100 https://bugs.webkit.org/show_bug.cgi?id=137007
1102 Reviewed by Benjamin Poulain.
1104 Use downcast<HTML*Element>() instead of toHTML*Element().
1106 * DOMHTMLClasses.cpp:
1107 (DOMHTMLDocument::URL):
1108 (DOMHTMLDocument::body):
1109 (DOMHTMLDocument::forms):
1110 (DOMHTMLFormElement::action):
1111 (DOMHTMLFormElement::method):
1112 (DOMHTMLSelectElement::options):
1113 (DOMHTMLSelectElement::activateItemAtIndex):
1114 (DOMHTMLOptionElement::text):
1115 (DOMHTMLOptionElement::label):
1116 (DOMHTMLInputElement::form):
1117 (DOMHTMLInputElement::disabled):
1118 (DOMHTMLInputElement::readOnly):
1119 (DOMHTMLInputElement::setType):
1120 (DOMHTMLInputElement::value):
1121 (DOMHTMLInputElement::setValue):
1122 (DOMHTMLInputElement::setValueForUser):
1123 (DOMHTMLInputElement::select):
1124 (DOMHTMLInputElement::setSelectionStart):
1125 (DOMHTMLInputElement::selectionStart):
1126 (DOMHTMLInputElement::setSelectionEnd):
1127 (DOMHTMLInputElement::selectionEnd):
1128 (DOMHTMLInputElement::isTextField):
1129 (DOMHTMLInputElement::replaceCharactersInRange):
1130 (DOMHTMLInputElement::selectedRange):
1131 (DOMHTMLInputElement::setAutofilled):
1132 (DOMHTMLInputElement::isAutofilled):
1133 (DOMHTMLInputElement::isUserEdited):
1134 (DOMHTMLTextAreaElement::form):
1135 (DOMHTMLTextAreaElement::value):
1136 (DOMHTMLTextAreaElement::setValue):
1137 (DOMHTMLTextAreaElement::select):
1138 (DOMHTMLTextAreaElement::isUserEdited):
1139 (DOMHTMLIFrameElement::contentFrame):
1141 (formElementFromDOMElement):
1142 (inputElementFromDOMElement):
1144 2014-09-21 Chris Dumez <cdumez@apple.com>
1146 Generate Element casting helper functions
1147 https://bugs.webkit.org/show_bug.cgi?id=136839
1149 Reviewed by Darin Adler.
1151 Use JSXXX::toWrapped() instead of toXXX() function.
1154 (WebView::elementFromJS):
1156 2014-09-06 Brian J. Burg <burg@cs.washington.edu>
1158 Web Inspector: convert DockSide to an enum class
1159 https://bugs.webkit.org/show_bug.cgi?id=136601
1161 Reviewed by Timothy Hatcher.
1163 * WebCoreSupport/WebInspectorClient.cpp:
1164 (WebInspectorFrontendClient::frontendLoaded):
1166 2014-09-04 Antti Koivisto <antti@apple.com>
1168 Try to fix windows build.
1170 * WebURLResponse.cpp:
1171 (WebURLResponse::createInstance):
1172 (WebURLResponse::initWithURL):
1174 2014-09-02 Brian J. Burg <burg@cs.washington.edu>
1176 Web Inspector: fix prefixes for subclasses of JSC::ConsoleClient
1177 https://bugs.webkit.org/show_bug.cgi?id=136476
1179 Reviewed by Timothy Hatcher.
1181 * WebCoreStatistics.cpp:
1182 (WebCoreStatistics::shouldPrintExceptions):
1183 (WebCoreStatistics::setShouldPrintExceptions):
1185 2014-09-02 Maciej Stachowiak <mjs@apple.com>
1187 Clean up naming for and slightly refactor legacy video fullscreen support
1188 https://bugs.webkit.org/show_bug.cgi?id=136446
1190 Reviewed by Jer Noble.
1193 supportsFullscreenForNode(Node*) --> supportsVideoFullscreen()
1194 enterFullscreenForNode(Node*) --> enterVideoFullscreenForVideoElement(HTMLVideoElement*)
1195 exitFullscreenForNode(Node*) --> exitVideoFullscreen()
1197 The old versions had unnecessary parameters, did not clearly distinguish their purpose
1198 from enterFullscreenForElement and friends, and wrongly claimed generality to all Nodes.
1199 Also changed many other places to use HTMLVideoElement* instead of Node* or
1200 HTMLMediaElement* when they were in fact only used for video elements and would only
1203 * WebCoreSupport/WebChromeClient.cpp:
1204 (WebChromeClient::supportsVideoFullscreen): Adjust for the
1206 (WebChromeClient::enterVideoFullscreenForVideoElement): ditto
1207 (WebChromeClient::exitVideoFullscreen): ditto
1208 * WebCoreSupport/WebChromeClient.h:
1210 (WebView::enterVideoFullscreenForVideoElement): Adjust for the
1212 (WebView::exitVideoFullscreen): ditto.
1214 * FullscreenVideoController.cpp: Use video elements, not media elements throughout
1215 (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
1216 (FullscreenVideoController::setVideoElement):
1217 (FullscreenVideoController::enterFullscreen):
1218 (FullscreenVideoController::exitFullscreen):
1219 (FullscreenVideoController::canPlay):
1220 (FullscreenVideoController::play):
1221 (FullscreenVideoController::pause):
1222 (FullscreenVideoController::volume):
1223 (FullscreenVideoController::setVolume):
1224 (FullscreenVideoController::currentTime):
1225 (FullscreenVideoController::setCurrentTime):
1226 (FullscreenVideoController::duration):
1227 (FullscreenVideoController::beginScrubbing):
1228 (FullscreenVideoController::endScrubbing):
1229 (FullscreenVideoController::onChar):
1230 (FullscreenVideoController::onKeyDown):
1231 (FullscreenVideoController::onMouseUp):
1232 * FullscreenVideoController.h:
1233 (FullscreenVideoController::videoElement):
1235 2014-09-03 Brent Fulgham <bfulgham@apple.com>
1237 Unreviewed build fix after r173200.
1240 (WebView::setCacheModel): Use appropriate types for cache sizes to be
1241 64-bit clean on CFNetwork compile.
1243 2014-09-02 peavo@outlook.com <peavo@outlook.com>
1245 [WinCairo] Memory cache capacity is not set.
1246 https://bugs.webkit.org/show_bug.cgi?id=136432
1248 Reviewed by Alex Christensen.
1250 Reuse code from AppleWin to set memory and disk cache capacity.
1252 * WebKitSystemBits.cpp:
1253 (WebVolumeFreeSize):
1254 * WebKitSystemBits.h:
1256 (WebView::setCacheModel):
1258 2014-08-26 Brent Fulgham <bfulgham@apple.com>
1260 [Win] WebKit IDL incorrectly passes HWND as OLE_HANDLE
1261 https://bugs.webkit.org/show_bug.cgi?id=136258
1262 <rdar://problem/18134138>
1264 Reviewed by Tim Horton.
1266 Avoid 32/64-bit truncation by preventing 64-bit HWND (and other)
1267 values from passing through the 32-bit OLE_HANDLE data type.
1269 * Interfaces/IWebDocument.idl:
1270 * Interfaces/IWebEmbeddedView.idl:
1271 * Interfaces/IWebErrorPrivate.idl:
1272 * Interfaces/IWebFrameLoadDelegate.idl:
1273 * Interfaces/IWebFramePrivate.idl:
1274 * Interfaces/IWebHistoryItem.idl:
1275 * Interfaces/IWebIconDatabase.idl:
1276 * Interfaces/IWebMutableURLRequestPrivate.idl:
1277 * Interfaces/IWebUIDelegate.idl:
1278 * Interfaces/IWebUIDelegatePrivate.idl:
1279 * Interfaces/IWebURLResponsePrivate.idl:
1280 * Interfaces/IWebView.idl:
1281 * Interfaces/IWebViewPrivate.idl:
1282 * WebCoreSupport/EmbeddedWidget.cpp:
1283 (EmbeddedWidget::createWindow):
1284 * WebCoreSupport/WebChromeClient.cpp:
1285 (WebChromeClient::rootViewToScreen):
1286 (WebChromeClient::screenToRootView):
1287 (WebChromeClient::platformPageClient):
1288 (WebChromeClient::runOpenPanel):
1289 (WebChromeClient::setCursor):
1290 * WebCoreSupport/WebContextMenuClient.cpp:
1291 (WebContextMenuClient::customizeMenu):
1292 * WebCoreSupport/WebFrameLoaderClient.cpp:
1293 (WebFrameLoaderClient::createPlugin):
1294 * WebCoreSupport/WebInspectorClient.cpp:
1295 (WebInspectorClient::openInspectorFrontend):
1296 (WebInspectorClient::highlight):
1297 (WebInspectorFrontendClient::setAttachedWindowHeight):
1298 (WebInspectorFrontendClient::closeWindowWithoutNotifications):
1299 (WebInspectorFrontendClient::showWindowWithoutNotifications):
1300 * WebCoreSupport/WebInspectorClient.h:
1301 * WebCoreSupport/WebInspectorDelegate.cpp:
1302 * WebCoreSupport/WebInspectorDelegate.h:
1303 (WebInspectorDelegate::webViewFirstResponder):
1304 (WebInspectorDelegate::makeFirstResponder):
1305 (WebInspectorDelegate::contextMenuItemsForElement):
1306 (WebInspectorDelegate::trackCustomPopupMenu):
1307 (WebInspectorDelegate::addCustomMenuDrawingData):
1308 (WebInspectorDelegate::cleanUpCustomMenuDrawingData):
1309 (WebInspectorDelegate::drawHeaderInRect):
1310 (WebInspectorDelegate::drawFooterInRect):
1311 * WebDropSource.cpp:
1312 (generateMouseEvent):
1313 (WebDropSource::GiveFeedback):
1315 (WebError::sslPeerCertificate):
1318 (WebFrame::paintDocumentRectToContext):
1319 (WebFrame::paintScrollViewRectToContextAtPoint):
1320 (WebFrame::createSubframeWithOwnerElement):
1321 (WebFrame::initWithWebView):
1322 (WebFrame::drawHeader):
1323 (WebFrame::drawFooter):
1325 * WebHistoryItem.cpp:
1326 (WebHistoryItem::icon):
1328 * WebIconDatabase.cpp:
1329 (WebIconDatabase::iconForURL):
1330 (WebIconDatabase::defaultIconWithSize):
1331 * WebIconDatabase.h:
1332 * WebMutableURLRequest.cpp:
1333 (WebMutableURLRequest::setClientCertificate):
1334 * WebMutableURLRequest.h:
1335 * WebNodeHighlight.cpp:
1336 (WebNodeHighlight::WebNodeHighlight):
1337 * WebURLResponse.cpp:
1338 (WebURLResponse::sslPeerCertificate):
1341 (WebView::paintIntoBackingStore):
1342 (WebView::handleContextMenuEvent):
1343 (WebView::onInitMenuPopup):
1344 (WebView::onUninitMenuPopup):
1345 (WebView::WebViewWndProc):
1346 (WebView::dispatchDidReceiveIconFromWebFrame):
1347 (WebView::setHostWindow):
1348 (WebView::hostWindow):
1349 (WebView::generateSelectionImage):
1350 (WebView::mainFrameIcon):
1351 (WebView::viewWindow):
1352 (WebView::paintDocumentRectToContext):
1353 (WebView::paintScrollViewRectToContextAtPoint):
1354 (WebView::backingStore):
1355 (WebView::fullScreenClientSetParentWindow):
1358 2014-08-21 Alex Christensen <achristensen@webkit.org>
1360 [Win] Unreviewed build fix after r172849.
1363 Defined WEBCORE_EXPORT.
1365 2014-08-19 Pratik Solanki <psolanki@apple.com>
1367 Remove PurgeableBuffer since it is not very useful any more
1368 https://bugs.webkit.org/show_bug.cgi?id=135939
1370 Reviewed by Andreas Kling.
1373 (WebCache::statistics):
1375 2014-08-18 Commit Queue <commit-queue@webkit.org>
1377 Unreviewed, rolling out r172736.
1378 https://bugs.webkit.org/show_bug.cgi?id=136060
1380 Caused 14% PLT regressions (Requested by rniwa on #webkit).
1384 "Remove PurgeableBuffer since it is not very useful any more"
1385 https://bugs.webkit.org/show_bug.cgi?id=135939
1386 http://trac.webkit.org/changeset/172736
1388 2014-08-18 Pratik Solanki <psolanki@apple.com>
1390 Remove PurgeableBuffer since it is not very useful any more
1391 https://bugs.webkit.org/show_bug.cgi?id=135939
1393 Reviewed by Geoffrey Garen.
1396 (WebCache::statistics):
1398 2014-07-27 Pratik Solanki <psolanki@apple.com>
1400 Remove unused preference keys
1401 https://bugs.webkit.org/show_bug.cgi?id=135280
1403 Reviewed by Darin Adler.
1405 * WebPreferenceKeysPrivate.h:
1407 2014-07-22 Brent Fulgham <bfulgham@apple.com>
1409 [Win] Build fix after r171370.
1411 * WebCoreSupport/WebEditorClient.h: Add override
1412 for new 'overflowScrollPositionChanged'.
1414 2014-07-03 Daniel Bates <dabates@apple.com>
1417 https://bugs.webkit.org/show_bug.cgi?id=134500
1419 Rubber-stamped by Anders Carlsson.
1421 Substitute WTF::move() for std::move().
1423 * WebCoreSupport/WebInspectorClient.cpp:
1424 (WebInspectorClient::openInspectorFrontend):
1425 (WebInspectorFrontendClient::WebInspectorFrontendClient):
1427 (createUserInfoFromArray):
1428 * WebHistoryItem.cpp:
1429 (WebHistoryItem::initFromDictionaryRepresentation):
1431 (WebView::addToDirtyRegion):
1432 (WebView::scrollBackingStore):
1434 2014-06-26 Brady Eidson <beidson@apple.com>
1436 Remove use of PlatformStrategies for Gamepad API.
1437 https://bugs.webkit.org/show_bug.cgi?id=134348
1439 Reviewed by Dean Jackson.
1441 * WebCoreSupport/WebPlatformStrategies.cpp:
1442 (WebPlatformStrategies::createGamepadStrategy): Deleted.
1443 * WebCoreSupport/WebPlatformStrategies.h:
1445 2014-06-25 Brent Fulgham <bfulgham@apple.com>
1447 [Win] Expose Cache Information to WinLauncher
1448 https://bugs.webkit.org/show_bug.cgi?id=134318
1450 Reviewed by Dean Jackson.
1452 * Interfaces/IWebCoreStatistics.idl: Add missing
1453 API added to WebKit since this was last updated.
1455 (WebCache::statistics): Add missing elements for
1456 purgable and purged data.
1457 * WebCoreStatistics.cpp: Provide implementaions.
1458 * WebCoreStatistics.h: Ditto.
1460 2014-06-25 Brady Eidson <beidson@apple.com>
1462 Add new platform gamepad abstractions
1463 https://bugs.webkit.org/show_bug.cgi?id=134325
1465 Reviewed by Dean Jackson.
1467 * WebCoreSupport/WebPlatformStrategies.cpp:
1468 (WebPlatformStrategies::createGamepadStrategy):
1469 * WebCoreSupport/WebPlatformStrategies.h:
1471 2014-06-19 Anders Carlsson <andersca@apple.com>
1473 Try to fix Windows build.
1477 2014-06-18 Anders Carlsson <andersca@apple.com>
1479 Make FrameLoadType a strongly typed enum
1480 https://bugs.webkit.org/show_bug.cgi?id=134047
1482 Reviewed by Andreas Kling.
1485 (WebView::goToBackForwardItem):
1486 (WebView::loadBackForwardListFromOtherView):
1488 2014-06-18 Anders Carlsson <andersca@apple.com>
1490 Remove IWebFramePrivate::loadType
1491 https://bugs.webkit.org/show_bug.cgi?id=134044
1493 Reviewed by Tim Horton.
1495 * Interfaces/IWebFramePrivate.idl:
1497 (WebFrame::loadType): Deleted.
1498 (WebFrame::unused2): Deleted.
1501 2014-06-12 Brent Fulgham <bfulgham@apple.com>
1503 [Win] Avoid crashes in code that converted CFDictionaries to HashMap
1504 https://bugs.webkit.org/show_bug.cgi?id=133813
1505 <rdar://problem/17291647>
1507 Reviewed by Tim Horton.
1509 * WebHistory.cpp: Add empty string checks to avoid crashes in
1511 (WebHistory::removeItem):
1512 (WebHistory::addItem):
1513 (WebHistory::visitedURL):
1514 (WebHistory::itemForURL):
1515 (WebHistory::removeItemForURLString):
1516 (WebHistory::itemForURLString):
1517 * WebPreferences.cpp: Ditto.
1518 (WebPreferences::getInstanceForIdentifier):
1519 (WebPreferences::setInstance):
1520 (WebPreferences::removeReferenceForIdentifier):
1521 * WebView.cpp: Ditto. Also convert OwnPtr uses in this file
1524 (WebView::handleMouseEvent):
1525 (WebView::registerEmbeddedViewMIMEType):
1526 (WebView::shouldUseEmbeddedView):
1527 (WebView::enterFullscreenForNode):
1528 (WebView::fullScreenController):
1531 2014-05-07 Hyowon Kim <hw1008.kim@samsung.com>
1533 GraphicsLayer::client() should return a reference.
1534 https://bugs.webkit.org/show_bug.cgi?id=126372
1536 Reviewed by Simon Fraser.
1538 GraphicsLayers always have a GraphicsLayerClient attached,
1539 so make client() a reference and remove some unnecessary branches.
1540 The author of the changes in the mac port is Andreas Kling <akling@apple.com>.
1543 (WebView::setAcceleratedCompositing):
1545 2014-04-30 Alexey Proskuryakov <ap@apple.com>
1547 Roll out fix for https://bugs.webkit.org/show_bug.cgi?id=131637:
1548 Clean up unnecessary methods in the BackForwardClient interface
1550 It broke a regression test and an API test.
1552 * WebBackForwardList.cpp:
1553 (WebBackForwardList::WebBackForwardList):
1554 (WebBackForwardList::~WebBackForwardList):
1555 (WebBackForwardList::createInstance):
1556 * WebBackForwardList.h:
1558 (WebView::backForwardList):
1559 (WebView::canGoBack):
1560 (WebView::canGoForward):
1561 (WebView::loadBackForwardListFromOtherView):
1563 2014-04-30 Brian J. Burg <burg@cs.washington.edu>
1565 Clean up unnecessary methods in the BackForwardClient interface
1566 https://bugs.webkit.org/show_bug.cgi?id=131637
1568 Reviewed by Andreas Kling.
1570 Remove uses of reference counting for BackForwardList.
1571 Use BackForwardController instead of BackForwardClient where possible.
1573 * WebBackForwardList.cpp:
1574 (WebBackForwardList::WebBackForwardList):
1575 (WebBackForwardList::~WebBackForwardList):
1576 (WebBackForwardList::createInstance):
1577 * WebBackForwardList.h:
1579 (WebView::backForwardList):
1580 (WebView::canGoBack):
1581 (WebView::canGoForward):
1582 (WebView::loadBackForwardListFromOtherView):
1584 2014-04-24 Myles C. Maxfield <mmaxfield@apple.com>
1586 FontCache::fontCache() never returns nullptr so it can be made to return a reference instead
1587 https://bugs.webkit.org/show_bug.cgi?id=132110
1589 Reviewed by Tim Horton.
1591 Updates callers to use '.' instead of '->'.
1593 No new tests are necessary because there should be no behavior change.
1595 * WebCoreStatistics.cpp:
1596 (WebCoreStatistics::cachedFontDataCount):
1597 (WebCoreStatistics::cachedFontDataInactiveCount):
1598 (WebCoreStatistics::purgeInactiveFontData):
1600 2014-04-22 Alex Christensen <achristensen@webkit.org>
1602 Begin implementation of video using Media Foundation.
1603 https://bugs.webkit.org/show_bug.cgi?id=131830
1605 Reviewed by Brent Fulgham.
1607 * FullscreenVideoController.cpp:
1609 Added new USE(MEDIA_FOUNDATION) flag to prevent using the unsupported fullscreen api.
1611 2014-04-09 Alexey Proskuryakov <ap@apple.com>
1613 Eliminate DragSession structure
1614 https://bugs.webkit.org/show_bug.cgi?id=131465
1616 Reviewed by Benjamin Poulain.
1619 (WebView::DragEnter):
1620 (WebView::DragOver):
1622 2014-04-09 Alexey Proskuryakov <ap@apple.com>
1624 Rename some dragging functions
1625 https://bugs.webkit.org/show_bug.cgi?id=131460
1627 Reviewed by Tim Horton.
1629 Renamed performDrag to performDragOperation.
1631 * WebView.cpp: (WebView::Drop):
1633 2014-04-02 Mark Rowe <mrowe@apple.com>
1635 Build fix after r166684.
1637 * WebCoreSupport/WebContextMenuClient.cpp:
1638 (WebContextMenuClient::searchWithGoogle):
1640 2014-04-02 Martin Hock <mhock@apple.com>
1642 Unify private browsing with sessions.
1643 https://bugs.webkit.org/show_bug.cgi?id=130099
1645 Reviewed by Alexey Proskuryakov.
1647 * WebCoreSupport/WebFrameLoaderClient.cpp: Change WebCore::Settings::privateBrowsingEnabled() to Page::sessionID().isEphemeral().
1648 (WebFrameLoaderClient::updateGlobalHistoryItemForPage):
1649 * WebCoreSupport/WebFrameNetworkingContext.cpp: Ditto.
1650 (WebFrameNetworkingContext::storageSession):
1651 * WebView.cpp: Change WebCore::Settings::setPrivateBrowsingEnabled() to Page::enableLegacyPrivateBrowsing().
1652 (WebView::notifyPreferencesChanged):
1654 2014-03-22 Darin Adler <darin@apple.com>
1656 Remove String::deprecatedCharacters
1657 https://bugs.webkit.org/show_bug.cgi?id=126854
1659 Reviewed by Sam Weinig.
1661 * WebKitStatistics.cpp:
1662 (WebKitStatistics::comClassNameCounts): Update to not use Vector::append(String).
1664 2014-03-17 Brent Fulgham <bfulgham@apple.com>
1666 Provide preference to enable additional AVFoundation options
1667 https://bugs.webkit.org/show_bug.cgi?id=130275
1669 Reviewed by Eric Carlson.
1671 * Interfaces/IWebPreferencesPrivate.idl: Added new preference.
1672 * WebPreferenceKeysPrivate.h: Ditto.
1673 * WebPreferences.cpp:
1674 (WebPreferences::initializeDefaultSettings): Initialize preference to false.
1675 (WebPreferences::isInheritURIQueryComponentEnabled): Added.
1676 (WebPreferences::setEnableInheritURIQueryComponent): Added.
1679 (WebView::notifyPreferencesChanged): Handle new preference.
1681 2014-03-16 Darin Adler <darin@apple.com>
1683 Remove all deprecatedCharacters use from WebKit
1684 https://bugs.webkit.org/show_bug.cgi?id=130305
1686 Reviewed by Andreas Kling.
1688 * AccessibleTextImpl.cpp:
1689 (AccessibleText::get_text): Use BString instead of SysAllocStringLen,
1690 which handles String directly.
1691 (AccessibleText::get_textBeforeOffset): Ditto.
1692 (AccessibleText::get_textAfterOffset): Ditto.
1693 (AccessibleText::get_textAtOffset): Ditto.
1694 (AccessibleText::get_attributes): Ditto.
1695 * DOMCSSClasses.cpp:
1696 (DOMCSSStyleDeclaration::getPropertyValue): Ditto.
1697 * DOMCoreClasses.cpp:
1698 (DOMNode::nodeValue): Ditto.
1699 (DOMElement::getAttribute): Ditto.
1700 (DOMElement::font): Rework this to leak a string, since it returns a
1701 pointer to a font family name's characters with no defined lifetime.
1703 * DOMHTMLClasses.cpp:
1704 (DOMHTMLElement::innerText): Use BString's String-based constructor,
1705 instead of explicitly passing a character pointer.
1706 (DOMHTMLFormElement::action): Ditto.
1707 (DOMHTMLFormElement::method): Ditto.
1708 (DOMHTMLInputElement::value): Ditto.
1709 (DOMHTMLTextAreaElement::value): Ditto.
1711 * MarshallingHelpers.cpp:
1712 (MarshallingHelpers::PathStringToFileCFURLRef): Use String::createCFString.
1714 * WebCoreSupport/WebEditorClient.cpp:
1715 (WebEditorClient::checkSpellingOfString): Use StringView::upconvertedCharacters.
1716 (WebEditorClient::checkGrammarOfString): Ditto.
1718 * WebDataSource.cpp:
1719 (WebDataSource::unreachableURL): Use BString's String-based constructor,
1720 instead of explicitly passing a character pointer.
1723 (WebDownload::bundlePathForTargetPath): Use BString instead of SysAllocStringLen.
1725 * WebDownloadCFNet.cpp:
1726 (WebDownload::didFinish): Use BString's String-based constructor,
1727 instead of explicitly passing a character pointer.
1728 * WebDownloadCurl.cpp:
1729 (WebDownload::didReceiveResponse): Ditto.
1731 * WebElementPropertyBag.cpp:
1732 (convertStringToVariant): Use BString instead of SysAllocStringLen.
1734 (WebFrame::searchForLabelsBeforeElement): Ditto.
1735 (WebFrame::matchLabelsAgainstElement): Ditto.
1738 (WebHistory::addVisitedLinksToPageGroup): Use a better loop and call
1739 visitedLinkHash, since it can take a String.
1741 * WebKitGraphics.cpp:
1742 (CenterTruncateStringToWidth): Use StringView::getCharactersWithUpconvert.
1743 (RightTruncateStringToWidth): Ditto.
1746 (WebView::applicationNameForUserAgent): Use BString instead of SysAllocStringLen.
1747 (WebView::customUserAgent): Ditto.
1748 (WebView::groupName): Ditto.
1749 (WebView::selectedText): Ditto.
1750 (WebView::onIMERequestReconvertString): Use StringView::getCharactersWithUpconvert.
1752 2014-03-14 Maciej Stachowiak <mjs@apple.com>
1754 Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
1755 https://bugs.webkit.org/show_bug.cgi?id=130276
1756 <rdar://problem/16266927>
1758 Reviewed by Simon Fraser.
1760 * CFDictionaryPropertyBag.cpp:
1761 * CFDictionaryPropertyBag.h:
1762 * CodeAnalysisConfig.h:
1763 * DOMCSSClasses.cpp:
1765 * DOMCoreClasses.cpp:
1767 * DOMEventsClasses.cpp:
1768 * DOMEventsClasses.h:
1769 * DOMHTMLClasses.cpp:
1771 * DefaultDownloadDelegate.cpp:
1772 * DefaultDownloadDelegate.h:
1773 * DefaultPolicyDelegate.cpp:
1774 * DefaultPolicyDelegate.h:
1775 * ForEachCoClass.cpp:
1777 * FullscreenVideoController.cpp:
1778 * FullscreenVideoController.h:
1779 * Interfaces/AccessibilityDelegate.idl:
1780 * Interfaces/DOMCSS.idl:
1781 * Interfaces/DOMCore.idl:
1782 * Interfaces/DOMEvents.idl:
1783 * Interfaces/DOMExtensions.idl:
1784 * Interfaces/DOMHTML.idl:
1785 * Interfaces/DOMPrivate.idl:
1786 * Interfaces/DOMRange.idl:
1787 * Interfaces/DOMWindow.idl:
1788 * Interfaces/IGEN_DOMObject.idl:
1789 * Interfaces/IWebArchive.idl:
1790 * Interfaces/IWebBackForwardList.idl:
1791 * Interfaces/IWebBackForwardListPrivate.idl:
1792 * Interfaces/IWebCache.idl:
1793 * Interfaces/IWebDataSource.idl:
1794 * Interfaces/IWebDatabaseManager.idl:
1795 * Interfaces/IWebDocument.idl:
1796 * Interfaces/IWebDownload.idl:
1797 * Interfaces/IWebEditingDelegate.idl:
1798 * Interfaces/IWebError.idl:
1799 * Interfaces/IWebErrorPrivate.idl:
1800 * Interfaces/IWebFormDelegate.idl:
1801 * Interfaces/IWebFrame.idl:
1802 * Interfaces/IWebFrameLoadDelegate.idl:
1803 * Interfaces/IWebFrameLoadDelegatePrivate.idl:
1804 * Interfaces/IWebFrameLoadDelegatePrivate2.idl:
1805 * Interfaces/IWebFramePrivate.idl:
1806 * Interfaces/IWebFrameView.idl:
1807 * Interfaces/IWebHTMLRepresentation.idl:
1808 * Interfaces/IWebHTTPURLResponse.idl:
1809 * Interfaces/IWebHistory.idl:
1810 * Interfaces/IWebHistoryDelegate.idl:
1811 * Interfaces/IWebHistoryItem.idl:
1812 * Interfaces/IWebHistoryItemPrivate.idl:
1813 * Interfaces/IWebHistoryPrivate.idl:
1814 * Interfaces/IWebIconDatabase.idl:
1815 * Interfaces/IWebInspector.idl:
1816 * Interfaces/IWebInspectorPrivate.idl:
1817 * Interfaces/IWebJavaScriptCollector.idl:
1818 * Interfaces/IWebKitStatistics.idl:
1819 * Interfaces/IWebMutableURLRequest.idl:
1820 * Interfaces/IWebMutableURLRequestPrivate.idl:
1821 * Interfaces/IWebNavigationData.idl:
1822 * Interfaces/IWebNotification.idl:
1823 * Interfaces/IWebNotificationCenter.idl:
1824 * Interfaces/IWebNotificationObserver.idl:
1825 * Interfaces/IWebPolicyDelegate.idl:
1826 * Interfaces/IWebPolicyDelegatePrivate.idl:
1827 * Interfaces/IWebPreferences.idl:
1828 * Interfaces/IWebPreferencesPrivate.idl:
1829 * Interfaces/IWebResource.idl:
1830 * Interfaces/IWebResourceLoadDelegate.idl:
1831 * Interfaces/IWebResourceLoadDelegatePrivate.idl:
1832 * Interfaces/IWebResourceLoadDelegatePrivate2.idl:
1833 * Interfaces/IWebScriptObject.idl:
1834 * Interfaces/IWebSecurityOrigin.idl:
1835 * Interfaces/IWebSerializedJSValuePrivate.idl:
1836 * Interfaces/IWebTextRenderer.idl:
1837 * Interfaces/IWebUIDelegate.idl:
1838 * Interfaces/IWebUIDelegatePrivate.idl:
1839 * Interfaces/IWebURLAuthenticationChallenge.idl:
1840 * Interfaces/IWebURLRequest.idl:
1841 * Interfaces/IWebURLResponse.idl:
1842 * Interfaces/IWebURLResponsePrivate.idl:
1843 * Interfaces/IWebUndoManager.idl:
1844 * Interfaces/IWebUndoTarget.idl:
1845 * Interfaces/IWebView.idl:
1846 * Interfaces/IWebViewPrivate.idl:
1847 * Interfaces/WebKit.idl:
1848 * Interfaces/WebScrollbarTypes.idl:
1849 * MarshallingHelpers.cpp:
1850 * MarshallingHelpers.h:
1854 * WebActionPropertyBag.cpp:
1855 * WebActionPropertyBag.h:
1856 * WebBackForwardList.cpp:
1857 * WebBackForwardList.h:
1860 * WebCachedFramePlatformData.h:
1861 * WebCoreSupport/WebChromeClient.cpp:
1862 * WebCoreSupport/WebChromeClient.h:
1863 * WebCoreSupport/WebContextMenuClient.cpp:
1864 * WebCoreSupport/WebContextMenuClient.h:
1865 * WebCoreSupport/WebDragClient.cpp:
1866 * WebCoreSupport/WebDragClient.h:
1867 * WebCoreSupport/WebEditorClient.cpp:
1868 * WebCoreSupport/WebEditorClient.h:
1869 * WebCoreSupport/WebFrameLoaderClient.cpp:
1870 * WebCoreSupport/WebFrameLoaderClient.h:
1871 * WebCoreSupport/WebInspectorClient.cpp:
1872 * WebCoreSupport/WebInspectorClient.h:
1873 * WebCoreSupport/WebInspectorDelegate.cpp:
1874 * WebCoreSupport/WebInspectorDelegate.h:
1875 * WebDataSource.cpp:
1877 * WebDatabaseManager.cpp:
1878 * WebDatabaseManager.h:
1879 * WebDocumentLoader.cpp:
1880 * WebDocumentLoader.h:
1883 * WebDownloadCFNet.cpp:
1884 * WebDownloadCurl.cpp:
1885 * WebDropSource.cpp:
1887 * WebElementPropertyBag.cpp:
1888 * WebElementPropertyBag.h:
1893 * WebFramePolicyListener.cpp:
1894 * WebFramePolicyListener.h:
1895 * WebHTMLRepresentation.cpp:
1896 * WebHTMLRepresentation.h:
1899 * WebHistoryItem.cpp:
1901 * WebIconDatabase.cpp:
1902 * WebIconDatabase.h:
1905 * WebJavaScriptCollector.cpp:
1906 * WebJavaScriptCollector.h:
1909 * WebKitClassFactory.cpp:
1910 * WebKitClassFactory.h:
1913 * WebKitGraphics.cpp:
1915 * WebKitLogging.cpp:
1919 * WebKitStatistics.cpp:
1920 * WebKitStatistics.h:
1921 * WebKitStatisticsPrivate.h:
1922 * WebKitSystemBits.cpp:
1923 * WebKitSystemBits.h:
1924 * WebLocalizableStrings.cpp:
1925 * WebLocalizableStrings.h:
1926 * WebMutableURLRequest.cpp:
1927 * WebMutableURLRequest.h:
1928 * WebNavigationData.cpp:
1929 * WebNavigationData.h:
1930 * WebNodeHighlight.cpp:
1931 * WebNodeHighlight.h:
1932 * WebNotification.cpp:
1933 * WebNotification.h:
1934 * WebNotificationCenter.cpp:
1935 * WebNotificationCenter.h:
1936 * WebPreferenceKeysPrivate.h:
1937 * WebPreferences.cpp:
1941 * WebScriptObject.cpp:
1942 * WebScriptObject.h:
1943 * WebSecurityOrigin.cpp:
1944 * WebSecurityOrigin.h:
1945 * WebTextRenderer.cpp:
1946 * WebTextRenderer.h:
1947 * WebURLAuthenticationChallenge.cpp:
1948 * WebURLAuthenticationChallenge.h:
1949 * WebURLAuthenticationChallengeSender.cpp:
1950 * WebURLAuthenticationChallengeSender.h:
1951 * WebURLAuthenticationChallengeSenderCFNet.cpp:
1952 * WebURLAuthenticationChallengeSenderCurl.cpp:
1953 * WebURLCredential.cpp:
1954 * WebURLCredential.h:
1955 * WebURLProtectionSpace.cpp:
1956 * WebURLProtectionSpace.h:
1957 * WebURLResponse.cpp:
1962 2014-03-12 Sergio Villar Senin <svillar@igalia.com>
1964 Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL
1965 https://bugs.webkit.org/show_bug.cgi?id=129612
1967 Reviewed by Darin Adler.
1969 For new code use static NeverDestroyed<T> instead.
1971 * WebCoreSupport/WebPlatformStrategies.cpp:
1972 (WebPlatformStrategies::initialize):
1974 (sharedHistoryStorage):
1975 * WebLocalizableStrings.cpp:
1976 (mainBundleLocStrings):
1977 (frameworkLocStringsMutex):
1978 (frameworkLocStrings):
1980 (WebView::standardUserAgentWithApplicationName):
1982 2014-03-13 Brian Burg <bburg@apple.com>
1984 Unreviewed build fix for Mac Windows after r165545.
1985 https://bugs.webkit.org/show_bug.cgi?id=129744
1987 Reviewed by Timothy Hatcher.
1989 * Interfaces/IWebInspectorPrivate.idl: Remove callId from IWebInspectorPrivate.
1991 2014-03-12 Brian Burg <bburg@apple.com>
1993 Web Inspector: Remove unused callId parameter from evaluateInWebInspector
1994 https://bugs.webkit.org/show_bug.cgi?id=129744
1996 Reviewed by Timothy Hatcher.
1999 (WebInspector::evaluateInFrontend):
2002 2014-03-06 Joseph Pecoraro <pecoraro@apple.com>
2004 Web Inspector: Expose the console object in JSContexts to interact with Web Inspector
2005 https://bugs.webkit.org/show_bug.cgi?id=127944
2007 Reviewed by Geoffrey Garen.
2009 * WebCoreSupport/WebChromeClient.h:
2012 2014-03-04 Zalan Bujtas <zalan@apple.com>
2014 Subpixel rendering: Make GraphicsLayer::fillRect FloatRoundedRect based and cleanup dependencies.
2015 https://bugs.webkit.org/show_bug.cgi?id=129557
2017 Reviewed by Simon Fraser.
2019 This is the preparation for snapping rounded rects to device pixel position. It enables
2020 device pixel aware border-radius painting.
2022 No change in functionality.
2024 * FullscreenVideoController.cpp:
2026 (FullscreenVideoController::draw):
2028 2014-03-02 Darin Adler <darin@apple.com>
2030 Streamline use of TextIterator, cutting down includes and use of soon-to-be-deleted functions
2031 https://bugs.webkit.org/show_bug.cgi?id=129592
2033 Reviewed by Sam Weinig.
2035 * WebCoreSupport/WebEditorClient.cpp: Added now-needed include.
2037 2014-02-25 Anders Carlsson <andersca@apple.com>
2039 Get rid of VisitedLinkStrategy
2040 https://bugs.webkit.org/show_bug.cgi?id=129324
2042 Reviewed by Dan Bernstein.
2044 * WebCoreSupport/WebPlatformStrategies.cpp:
2045 (WebPlatformStrategies::getPluginInfo):
2046 * WebCoreSupport/WebPlatformStrategies.h:
2048 2014-02-24 Renata Hodovan <rhodovan.u-szeged@partner.samsung.com>
2050 Get rid of the unused 'immediate' parameters from repaint related functions
2051 https://bugs.webkit.org/show_bug.cgi?id=129111
2053 Reviewed by Simon Fraser.
2055 Removing the 'immediate' parameters from repaint related functions - accoring
2056 to the FIXME in RenderView::repaintViewRectangle() - since they have no effect.
2058 * WebCoreSupport/WebChromeClient.cpp:
2059 (WebChromeClient::invalidateRootView):
2060 (WebChromeClient::invalidateContentsAndRootView):
2061 (WebChromeClient::invalidateContentsForSlowScroll):
2062 * WebCoreSupport/WebChromeClient.h:
2064 2014-02-20 Csaba Osztrogonác <ossy@webkit.org>
2066 Get rid of redundant Platform.h includes
2067 https://bugs.webkit.org/show_bug.cgi?id=128817
2069 Reviewed by Brent Fulgham.
2071 * WebDownloadCFNet.cpp:
2072 * WebDownloadCurl.cpp:
2073 * WebURLResponse.cpp:
2075 2014-02-18 Sam Weinig <sam@webkit.org>
2077 Simplify HTML tokenizer parameterization down to what is used
2078 https://bugs.webkit.org/show_bug.cgi?id=128977
2080 Reviewed by Alexey Proskuryakov.
2085 (WebView::setCustomHTMLTokenizerTimeDelay):
2086 (WebView::setCustomHTMLTokenizerChunkSize):
2088 2014-02-17 Anders Carlsson <andersca@apple.com>
2090 Remove view source code
2091 https://bugs.webkit.org/show_bug.cgi?id=127233
2093 Reviewed by Antti Koivisto.
2096 (WebFrame::inViewSourceMode):
2097 (WebFrame::setInViewSourceMode):
2099 (WebView::setInViewSourceMode):
2100 (WebView::inViewSourceMode):
2102 2014-02-17 Sergio Correia <sergio.correia@openbossa.org>
2104 Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
2105 https://bugs.webkit.org/show_bug.cgi?id=128681
2107 Reviewed by Timothy Hatcher.
2109 Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
2110 WebCore/inspector/*. Besides files in there, a few other files in
2111 JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
2112 and WebCore/testing were touched.
2114 * WebCoreSupport/WebInspectorClient.cpp:
2115 * WebCoreSupport/WebInspectorClient.h:
2117 2014-02-14 Brent Fulgham <bfulgham@apple.com>
2119 [Win] Make tests more consistent with Mac platform
2120 https://bugs.webkit.org/show_bug.cgi?id=128848
2122 Reviewed by Simon Fraser.
2124 * Interfaces/IWebPreferencesPrivate.idl: Add access to the
2125 mock scrollbar and screen font substitution features.
2126 * WebPreferenceKeysPrivate.h: Ditto
2127 * WebPreferences.cpp: Ditto
2128 (WebPreferences::mockScrollbarsEnabled):
2129 (WebPreferences::setMockScrollbarsEnabled):
2130 (WebPreferences::screenFontSubstitutionEnabled):
2131 (WebPreferences::setScreenFontSubstitutionEnabled):
2132 * WebPreferences.h: Ditto
2134 (WebView::notifyPreferencesChanged): Ditto
2136 2014-02-11 Zalan Bujtas <zalan@apple.com>
2138 Subpixel rendering: Make GraphicsLayerClient::paintContents's clip rect subpixel based.
2139 https://bugs.webkit.org/show_bug.cgi?id=128460
2141 Reviewed by Simon Fraser.
2143 GraphicsClient::paintContents takes clipRect as FloatRect now so that we can paint on
2146 No change in functionality.
2149 (WebView::paintContents):
2152 2014-02-11 Alex Christensen <achristensen@webkit.org>
2154 Fixed pointer truncation on Win64.
2155 https://bugs.webkit.org/show_bug.cgi?id=128211
2157 Reviewed by Brent Fulgham.
2159 * WebCoreSupport/EmbeddedWidget.cpp:
2160 (EmbeddedWidget::createWindow):
2161 * WebCoreSupport/WebContextMenuClient.cpp:
2162 (WebContextMenuClient::customizeMenu):
2163 * WebCoreSupport/WebFrameLoaderClient.cpp:
2164 (WebFrameLoaderClient::createPlugin):
2165 * WebCoreSupport/WebInspectorClient.cpp:
2166 (WebInspectorClient::WebInspectorClient):
2167 (WebInspectorClient::openInspectorFrontend):
2168 (WebInspectorClient::highlight):
2169 (WebInspectorClient::releaseFrontend):
2170 (WebInspectorFrontendClient::setAttachedWindowHeight):
2171 (WebInspectorFrontendClient::closeWindowWithoutNotifications):
2172 * WebCoreSupport/WebInspectorClient.h:
2173 * WebDropSource.cpp:
2174 (generateMouseEvent):
2176 (WebFrame::createSubframeWithOwnerElement):
2177 (WebFrame::initWithWebView):
2178 Removed all casts from &HWND to OLE_HANDLE*.
2180 2014-02-11 peavo@outlook.com <peavo@outlook.com>
2182 [WinCairo] Compile error related to toString function.
2183 https://bugs.webkit.org/show_bug.cgi?id=128607
2185 Reviewed by Brent Fulgham.
2188 (toString): Added another toString function to make sure we are not trying to use WTF::toString.
2190 2014-02-08 Ryosuke Niwa <rniwa@webkit.org>
2192 Cleanup the interface of FrameSelection
2193 https://bugs.webkit.org/show_bug.cgi?id=128481
2195 Reviewed by Andreas Kling.
2198 (WebView::selectionRect):
2200 2014-02-08 Darin Adler <darin@apple.com>
2202 Change TextIterator to use StringView, preparing to wean it from deprecatedCharacters
2203 https://bugs.webkit.org/show_bug.cgi?id=128233
2205 Reviewed by Anders Carlsson.
2207 * WebCoreSupport/WebEditorClient.cpp:
2208 (WebEditorClient::checkSpellingOfString): Use StringView.
2209 (WebEditorClient::checkGrammarOfString): Ditto.
2210 * WebCoreSupport/WebEditorClient.h: Ditto.
2212 2014-02-06 Joseph Pecoraro <pecoraro@apple.com>
2214 Web Inspector: Add Console support to JSContext Inspection
2215 https://bugs.webkit.org/show_bug.cgi?id=127941
2217 Reviewed by Geoffrey Garen.
2219 * WebCoreSupport/WebChromeClient.h:
2221 2014-02-06 Brent Fulgham <bfulgham@apple.com>
2223 [Win] Correct IME Regression after r141479
2224 https://bugs.webkit.org/show_bug.cgi?id=128323
2225 <rdar://problem/15952986>
2227 Reviewed by Tim Horton.
2230 (WebView::updateSelectionForIME): Refactoring flipped the meaning of the test used
2231 to select the resetIME case. Corrected for behavior of new cancel method.
2233 2014-02-04 Andreas Kling <akling@apple.com>
2235 Remove <iframe seamless> support.
2236 <https://webkit.org/b/128213>
2238 Rubber-stamped by Antti Koivisto.
2242 (WebView::notifyPreferencesChanged):
2244 2014-02-03 Darin Adler <darin@apple.com>
2246 Try to fix the WinCairo build.
2248 * WebDownloadCurl.cpp:
2249 (WebDownload::didReceiveResponse): characters -> deprecatedCharacters.
2251 2014-02-02 Darin Adler <darin@apple.com>
2253 Still more characters -> deprecatedCharacters (EWS keeps finding more)
2254 https://bugs.webkit.org/show_bug.cgi?id=128076
2256 Reviewed by Andreas Kling.
2258 * AccessibleTextImpl.cpp:
2259 (AccessibleText::get_text):
2260 (AccessibleText::get_textBeforeOffset):
2261 (AccessibleText::get_textAfterOffset):
2262 (AccessibleText::get_textAtOffset):
2263 (AccessibleText::get_attributes):
2264 * DOMCSSClasses.cpp:
2265 (DOMCSSStyleDeclaration::getPropertyValue):
2266 * DOMCoreClasses.cpp:
2267 (DOMNode::nodeValue):
2268 (DOMElement::getAttribute):
2270 * DOMHTMLClasses.cpp:
2271 (DOMHTMLElement::innerText):
2272 (DOMHTMLFormElement::action):
2273 (DOMHTMLFormElement::method):
2274 (DOMHTMLInputElement::value):
2275 (DOMHTMLTextAreaElement::value):
2276 * MarshallingHelpers.cpp:
2277 (MarshallingHelpers::PathStringToFileCFURLRef):
2278 * WebDataSource.cpp:
2279 (WebDataSource::unreachableURL):
2281 (WebDownload::bundlePathForTargetPath):
2282 * WebDownloadCFNet.cpp:
2283 (WebDownload::didFinish):
2284 * WebElementPropertyBag.cpp:
2285 (convertStringToVariant):
2287 (WebFrame::searchForLabelsBeforeElement):
2288 (WebFrame::matchLabelsAgainstElement):
2290 (WebHistory::addVisitedLinksToPageGroup):
2291 * WebKitGraphics.cpp:
2292 (CenterTruncateStringToWidth):
2293 (RightTruncateStringToWidth):
2295 (WebView::applicationNameForUserAgent):
2296 (WebView::customUserAgent):
2297 (WebView::groupName):
2298 (WebView::selectedText):
2299 (WebView::onIMERequestReconvertString):
2300 Use deprecatedCharacters.
2302 2014-01-30 Andrei Bucur <abucur@adobe.com>
2304 Remove the ACCELERATED_COMPOSITING flag
2305 https://bugs.webkit.org/show_bug.cgi?id=127833
2307 Reviewed by Antti Koivisto.
2309 Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
2312 Another patch will be required to remove the flag support from the Win build system.
2314 * FullscreenVideoController.cpp:
2315 (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
2316 (FullscreenVideoController::FullscreenVideoController):
2317 (FullscreenVideoController::~FullscreenVideoController):
2318 (FullscreenVideoController::enterFullscreen):
2319 * FullscreenVideoController.h:
2320 * WebCoreSupport/WebChromeClient.cpp:
2321 (WebChromeClient::scheduleCompositingLayerFlush):
2322 * WebCoreSupport/WebChromeClient.h:
2323 (WebChromeClient::setNeedsOneShotDrawingSynchronization):
2324 * WebPreferences.cpp:
2325 (WebPreferences::acceleratedCompositingEnabled):
2328 (WebView::~WebView):
2331 (WebView::addToDirtyRegion):
2332 (WebView::scrollBackingStore):
2333 (WebView::sizeChanged):
2334 (WebView::updateBackingStore):
2336 (WebView::setShouldInvertColors):
2337 (WebView::WebViewWndProc):
2338 (WebView::notifyPreferencesChanged):
2339 (WebView::setAcceleratedCompositing):
2342 2014-01-29 Alex Christensen <achristensen@webkit.org>
2344 Prepare for accelerated compositing on WinCairo.
2345 https://bugs.webkit.org/show_bug.cgi?id=127843
2347 Reviewed by Anders Carlsson.
2349 * WebPreferences.cpp:
2350 Moved CACFLayerTreeHost.h inclusion to Apple-specific includes
2351 to avoid compile errors in WinCairo when using accelerated compositing.
2353 2014-01-26 Anders Carlsson <andersca@apple.com>
2355 Follow-up build fix.
2357 * WebHistoryItem.cpp:
2358 (WebHistoryItem::visitedWithTitle):
2360 2014-01-26 Anders Carlsson <andersca@apple.com>
2362 Remove even more Windows history code.
2365 (WebHistory::removeItemForURLString):
2366 * WebHistoryItem.cpp:
2367 (WebHistoryItem::initFromDictionaryRepresentation):
2368 (WebHistoryItem::dictionaryRepresentation):
2369 (WebHistoryItem::getDailyVisitCounts):
2370 (WebHistoryItem::getWeeklyVisitCounts):
2371 (WebHistoryItem::recordInitialVisit):
2372 (WebHistoryItem::initWithURLString):
2374 2014-01-26 Anders Carlsson <andersca@apple.com>
2376 Another follow-up build fix.
2379 (WebHistory::removeAllItems):
2380 (WebHistory::orderedItemsLastVisitedOnDay):
2381 * WebHistoryItem.cpp:
2382 (WebHistoryItem::initFromDictionaryRepresentation):
2383 (WebHistoryItem::dictionaryRepresentation):
2384 (WebHistoryItem::visitCount):
2385 (WebHistoryItem::setVisitCount):
2387 2014-01-26 Anders Carlsson <andersca@apple.com>
2389 Remove more history gunk.
2392 (WebHistory::orderedLastVisitedDays):
2393 (WebHistory::addItem):
2394 (WebHistory::visitedURL):
2395 (WebHistory::removeItemForURLString):
2397 * WebHistoryItem.cpp:
2398 (WebHistoryItem::initFromDictionaryRepresentation):
2399 (WebHistoryItem::dictionaryRepresentation):
2400 (WebHistoryItem::mergeAutoCompleteHints):
2401 (WebHistoryItem::setLastVisitedTimeInterval):
2402 (WebHistoryItem::initWithURLString):
2403 (WebHistoryItem::lastVisitedTimeInterval):
2405 2014-01-26 Anders Carlsson <andersca@apple.com>
2409 * WebHistoryItem.cpp:
2410 (WebHistoryItem::initFromDictionaryRepresentation):
2411 (WebHistoryItem::dictionaryRepresentation):
2413 2014-01-26 Anders Carlsson <andersca@apple.com>
2415 Move lastVisitWasHTTPNonGet out to WebHistoryItem
2416 https://bugs.webkit.org/show_bug.cgi?id=127657
2418 Reviewed by Dan Bernstein.
2420 Remove uses of lastVisitWasHTTPNonGet.
2423 (WebHistory::visitedURL):
2424 * WebHistoryItem.cpp:
2425 (WebHistoryItem::initFromDictionaryRepresentation):
2426 (WebHistoryItem::lastVisitWasHTTPNonGet):
2427 (WebHistoryItem::setLastVisitWasHTTPNonGet):
2429 2014-01-25 Anders Carlsson <andersca@apple.com>
2431 Remove an unused FrameLoaderClient function
2432 https://bugs.webkit.org/show_bug.cgi?id=127628
2434 Reviewed by Andreas Kling.
2436 * WebCoreSupport/WebFrameLoaderClient.cpp:
2437 * WebCoreSupport/WebFrameLoaderClient.h:
2439 2014-01-25 Anders Carlsson <andersca@apple.com>
2441 Modernize HashTable threading code
2442 https://bugs.webkit.org/show_bug.cgi?id=127621
2444 Reviewed by Darin Adler.
2446 Explicitly include headers that used to be brought in by HashTable.h
2448 * WebLocalizableStrings.cpp:
2450 2014-01-24 Anders Carlsson <andersca@apple.com>
2452 Remove back/forward list related functions from Page
2453 https://bugs.webkit.org/show_bug.cgi?id=127596
2455 Reviewed by Andreas Kling.
2460 (WebView::goForward):
2462 2014-01-24 Zan Dobersek <zdobersek@igalia.com>
2464 Move HistoryItem to std::unique_ptr
2465 https://bugs.webkit.org/show_bug.cgi?id=127275
2467 Reviewed by Darin Adler.
2469 * WebHistoryItem.cpp: The Vector object that's passed to HistoryItem::setRedirectURLs
2470 should now be handled by std::unique_ptr and passed on through move semantics.
2471 (WebHistoryItem::initFromDictionaryRepresentation):
2473 2014-01-23 Joseph Pecoraro <pecoraro@apple.com>
2475 Web Inspector: Remove recompileAllJSFunctions timer in ScriptDebugServer
2476 https://bugs.webkit.org/show_bug.cgi?id=127409
2478 Reviewed by Geoffrey Garen.
2480 * WebCoreSupport/WebInspectorClient.cpp:
2481 (WebInspectorFrontendClient::destroyInspectorView):
2482 Include InspectorDisconnectReason.
2484 2014-01-23 Simon Fraser <simon.fraser@apple.com>
2486 Another Windows fix.
2489 (WebFrame::frameBounds):
2491 2014-01-23 peavo@outlook.com <peavo@outlook.com>
2493 [WinCairo] Compile error.
2494 https://bugs.webkit.org/show_bug.cgi?id=127500
2496 Reviewed by Brent Fulgham.
2499 (WebCache::cacheFolder): CurlCacheManager::getCacheDirectory() has changed name to cacheDirectory().
2501 2014-01-23 peavo@outlook.com <peavo@outlook.com>
2503 [Curl] There is no way to specify cache folder.
2504 https://bugs.webkit.org/show_bug.cgi?id=125028
2506 Reviewed by Brent Fulgham.
2508 Added interface methods to set and get cache folder location.
2510 * Interfaces/IWebCache.idl:
2512 (WebCache::disabled):
2513 (WebCache::cacheFolder):
2514 (WebCache::setCacheFolder):
2517 2014-01-21 peavo@outlook.com <peavo@outlook.com>
2519 [WinCairo][Curl] Download request has incorrect user agent string.
2520 https://bugs.webkit.org/show_bug.cgi?id=127110
2522 Reviewed by Brent Fulgham.
2524 * WebDownloadCurl.cpp:
2525 (WebDownload::init): Set user agent string in download request.
2527 (WebView::downloadURL): Avoid early return if no ResourceHandle is provided.
2529 2014-01-18 Brian Burg <bburg@apple.com>
2531 Web Inspector: Page should use std::unique_ptr for InspectorController
2532 https://bugs.webkit.org/show_bug.cgi?id=127068
2534 Reviewed by Joseph Pecoraro.
2536 Convert call sites to use a InspectorController reference.
2538 * WebCoreSupport/WebInspectorClient.cpp:
2539 (WebInspectorClient::openInspectorFrontend):
2540 (WebInspectorFrontendClient::destroyInspectorView):
2541 (WebInspectorFrontendClient::onClose):
2543 (WebInspector::show):
2544 (WebInspector::close):
2545 (WebInspector::isJavaScriptProfilingEnabled):
2546 (WebInspector::setJavaScriptProfilingEnabled):
2547 (WebInspector::evaluateInFrontend):
2548 * WebNodeHighlight.cpp:
2549 (WebNodeHighlight::update):
2551 2014-01-17 Anders Carlsson <andersca@apple.com>
2553 Clean up PageCache classes
2554 https://bugs.webkit.org/show_bug.cgi?id=127202
2556 Reviewed by Andreas Kling.
2558 * WebCoreSupport/WebFrameLoaderClient.cpp:
2559 (WebFrameLoaderClient::savePlatformDataToCachedFrame):
2561 2014-01-17 Anders Carlsson <andersca@apple.com>
2563 Remove another unused FrameLoaderClient callback
2564 https://bugs.webkit.org/show_bug.cgi?id=127192
2566 Reviewed by Dan Bernstein.
2568 * WebCoreSupport/WebFrameLoaderClient.cpp:
2569 * WebCoreSupport/WebFrameLoaderClient.h:
2571 2014-01-17 Anders Carlsson <andersca@apple.com>
2573 Remove didPerformFirstNavigation from all FrameLoaderClient subclasses
2574 https://bugs.webkit.org/show_bug.cgi?id=127190
2576 Reviewed by Dan Bernstein.
2578 * WebCoreSupport/WebFrameLoaderClient.cpp:
2579 * WebCoreSupport/WebFrameLoaderClient.h:
2581 2014-01-16 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
2583 Remove workaround for compilers not supporting explicit override control
2584 https://bugs.webkit.org/show_bug.cgi?id=127111
2586 Reviewed by Anders Carlsson.
2588 Now all compilers support explicit override control, this workaround can be removed.
2590 * AccessibleDocument.h:
2591 * FullscreenVideoController.cpp:
2592 * WebCoreSupport/WebChromeClient.h:
2593 * WebCoreSupport/WebFrameLoaderClient.h:
2594 * WebCoreSupport/WebFrameNetworkingContext.h:
2595 * WebCoreSupport/WebInspectorClient.h:
2598 2014-01-10 Anders Carlsson <andersca@apple.com>
2600 Tweak ProgressTrackerClient functions
2601 https://bugs.webkit.org/show_bug.cgi?id=126808
2603 Reviewed by Sam Weinig.
2605 * WebCoreSupport/WebFrameLoaderClient.cpp:
2606 (WebFrameLoaderClient::progressStarted):
2607 (WebFrameLoaderClient::progressEstimateChanged):
2608 (WebFrameLoaderClient::progressFinished):
2609 * WebCoreSupport/WebFrameLoaderClient.h:
2611 2014-01-10 Anders Carlsson <andersca@apple.com>
2613 Move progress tracking functions from FrameLoaderClient to a new ProgressTrackerClient
2614 https://bugs.webkit.org/show_bug.cgi?id=126801
2616 Reviewed by Sam Weinig.
2618 * WebCoreSupport/WebFrameLoaderClient.h:
2620 (WebView::initWithFrame):
2622 2014-01-08 peavo@outlook.com <peavo@outlook.com>
2624 [WinCairo] Compile error.
2625 https://bugs.webkit.org/show_bug.cgi?id=126534
2627 Reviewed by Brent Fulgham.
2629 * WebKitPrefix.h: Define __STDC_LIMIT_MACROS, so INTMAX_MAX will be defined (needed by std C++ library).
2631 2014-01-06 László Langó <lango@inf.u-szeged.hu>
2633 Use unsigned consistently, and check for invalid casts when calling into SharedBuffer from other code.
2634 https://bugs.webkit.org/show_bug.cgi?id=124579
2636 Reviewed by Anders Carlsson.
2639 (loadResourceIntoBuffer):
2641 2013-12-30 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2643 Cleanup static_cast<HTMLFormElement*> by using toHTMLFormElement()
2644 https://bugs.webkit.org/show_bug.cgi?id=126309
2646 Reviewed by Andreas Kling.
2648 To detect bad type casts, it would be good to use toHTMLFormElement() instead of
2649 using manual type cast. Additionally FORM_ASSOCIATED_ELEMENT_TYPE_CASTS is introduced newly
2653 (WebFrame::elementWithName):
2655 2013-12-17 Alex Christensen <achristensen@webkit.org>
2657 [WinCairo] Compile fixes for GStreamer on Windows.
2658 https://bugs.webkit.org/show_bug.cgi?id=124867
2660 Reviewed by Philippe Normand.
2663 (WebView::enterFullscreenForNode):
2664 (WebView::exitFullscreen):
2665 GStreamer in WebKit does not support fullscreen, so
2666 I added #if !USE(GSTREAMER) to the fullscreen code to get it to compile.
2668 2013-12-11 Joseph Pecoraro <pecoraro@apple.com>
2670 Web Inspector: Push More Inspector Required Classes Down into JavaScriptCore
2671 https://bugs.webkit.org/show_bug.cgi?id=125324
2673 Reviewed by Timothy Hatcher.
2678 2013-12-04 Brent Fulgham <bfulgham@apple.com>
2680 [Win] Exiting from Media Full Screen mode via 'escape' key does not work properly
2681 https://bugs.webkit.org/show_bug.cgi?id=125272
2683 Reviewed by Jer Noble.
2686 (WebView::fullScreenClientWillExitFullScreen): Change to webkitCancelFullScreen method call
2687 to more closely match Media Control behavior.
2689 2013-12-04 Brian J. Burg <burg@cs.washington.edu>
2691 Consolidate various frame snapshot capabilities.
2692 https://bugs.webkit.org/show_bug.cgi?id=124325
2694 Reviewed by Darin Adler.
2696 * DOMCoreClasses.cpp:
2697 (DOMElement::renderedImage): use createDragImageForNode.
2699 2013-12-03 Joseph Pecoraro <pecoraro@apple.com>
2701 Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
2702 https://bugs.webkit.org/show_bug.cgi?id=124613
2704 Reviewed by Timothy Hatcher.
2706 * WebCoreSupport/WebInspectorClient.h:
2708 2013-11-25 peavo@outlook.com <peavo@outlook.com>
2710 [Win] WebKit version in user agent string is incorrect.
2711 https://bugs.webkit.org/show_bug.cgi?id=124454
2713 Reviewed by Brent Fulgham.
2715 * WebView.cpp: Use WebKit version from WebKitVersion.h in user agent.
2716 (webKitVersionString):
2718 2013-11-21 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
2720 Remove ENABLE_WORKERS
2721 https://bugs.webkit.org/show_bug.cgi?id=105784
2723 Reviewed by Darin Adler.
2725 * WebWorkersPrivate.cpp:
2726 (WebWorkersPrivate::workerThreadCount):
2728 2013-11-18 Commit Queue <commit-queue@webkit.org>
2730 Unreviewed, rolling out r159455.
2731 http://trac.webkit.org/changeset/159455
2732 https://bugs.webkit.org/show_bug.cgi?id=124568
2734 broke two api tests (see bug 124564) (Requested by thorton on
2737 * DOMCoreClasses.cpp:
2738 (DOMElement::renderedImage):
2740 2013-11-18 Commit Queue <commit-queue@webkit.org>
2742 Unreviewed, rolling out r159430.
2743 http://trac.webkit.org/changeset/159430
2744 https://bugs.webkit.org/show_bug.cgi?id=124548
2746 WebCore can know nothing about nor use files from WebKit/
2747 (Requested by thorton on #webkit).
2750 (webKitVersionString):
2752 2013-11-18 Brian J. Burg <burg@cs.washington.edu>
2754 Consolidate various frame snapshot capabilities.
2755 https://bugs.webkit.org/show_bug.cgi?id=124325
2757 Reviewed by Timothy Hatcher.
2759 * DOMCoreClasses.cpp:
2760 (DOMElement::renderedImage): use createDragImageForNode.
2762 2013-11-18 peavo@outlook.com <peavo@outlook.com>
2764 [Win] Optimization, no need to erase background before paint.
2765 https://bugs.webkit.org/show_bug.cgi?id=124453
2767 Reviewed by Brent Fulgham.
2769 As the paint will blit a bitmap onto the invalid area (no alpha),
2770 there is no need to erase the background first, as this will be overwritten by the blit.
2773 (WebView::WebViewWndProc): Avoid erasing background before paint.
2775 2013-11-18 peavo@outlook.com <peavo@outlook.com>
2777 [Win] WebKit version in user agent string is incorrect.
2778 https://bugs.webkit.org/show_bug.cgi?id=124454
2780 Reviewed by Brent Fulgham.
2783 (webKitVersionString): Create WebKit version string from WebKitVersion.h.
2785 2013-11-15 Jer Noble <jer.noble@apple.com>
2787 Unreviewed Win build fix; setCurrentTime() no longer takes an exception parameter.
2789 * FullscreenVideoController.cpp:
2790 (FullscreenVideoController::setCurrentTime):
2792 2013-11-12 Alex Christensen <achristensen@webkit.org>
2794 [WinCairo] Preparation for ENABLE(VIDEO).
2795 https://bugs.webkit.org/show_bug.cgi?id=57420
2797 Reviewed by Martin Robinson.
2799 * FullscreenVideoController.cpp:
2800 Don't compile if using GStreamer.
2802 2013-11-10 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2804 [AX] Clean up static_cast<> to cast from AccessibilityObject
2805 https://bugs.webkit.org/show_bug.cgi?id=124032
2807 Reviewed by Mario Sanchez Prada.
2809 Use toAccessibilityListBox instead of using static_cast<AccessibilityListBox*>.
2811 * AccessibleBase.cpp:
2812 (AccessibleBase::accSelect):
2814 2013-11-05 Ryosuke Niwa <rniwa@webkit.org>
2816 Windows build fix attempt after r158704.
2818 * FullscreenVideoController.cpp:
2820 2013-11-01 Patrick Gansterer <paroga@webkit.org>
2822 [WIN] Reduce usage of CFSTR() in WebPreferences
2823 https://bugs.webkit.org/show_bug.cgi?id=121827
2825 Reviewed by Brent Fulgham.
2827 This moved the dependency on CF to a few functions only
2828 and is a first step to make it compile without CF.
2830 * WebPreferences.cpp:
2833 2013-10-31 Alex Christensen <achristensen@webkit.org>
2835 Compile fix for VS2012.
2836 https://bugs.webkit.org/show_bug.cgi?id=123599
2838 Reviewed by Brent Fulgham.
2840 * WebCoreSupport/WebFrameLoaderClient.cpp:
2841 (WebFrameLoaderClient::WebFramePolicyListenerPrivate::WebFramePolicyListenerPrivate):
2842 (WebFrameLoaderClient::cancelPolicyCheck):
2843 (WebFrameLoaderClient::receivedPolicyDecision):
2844 Use nullptr instead of 0 for m_policyFunction, which is a std::function.
2846 2013-10-31 Patrick Gansterer <paroga@webkit.org>
2848 [WIN] Make WebHistory compile without USE(CF)
2849 https://bugs.webkit.org/show_bug.cgi?id=122010
2851 Reviewed by Brent Fulgham.
2853 Add an alternative code path for !USE(CF) to be able to
2854 compile WebHistory without the CoreFoundation library.
2856 * COMVariantSetter.h: Add support for setting a Vector.
2858 (createUserInfoFromArray):
2859 (createUserInfoFromHistoryItem):
2860 (WebHistory::removeAllItems):
2861 (WebHistory::removeItem):
2862 (WebHistory::addItem):
2863 (WebHistory::visitedURL):
2866 2013-10-30 Myles C. Maxfield <mmaxfield@apple.com>
2868 WebKit/win/WebKitGraphics.h:void WebDrawText(WebTextRenderInfo*); is never called
2869 https://bugs.webkit.org/show_bug.cgi?id=123485
2871 Reviewed by Brent Fulgham.
2873 Removed unused WebDrawText implementation.
2875 * WebKitGraphics.cpp:
2878 2013-10-30 Patrick Gansterer <paroga@webkit.org>
2880 [WIN] Add missing USE(CFNETWORK) to WebError.h
2881 https://bugs.webkit.org/show_bug.cgi?id=121834
2883 Reviewed by Brent Fulgham.
2885 WebError.cpp uses USE(CFNETWORK), so add it to the header too.
2889 2013-10-30 peavo@outlook.com <peavo@outlook.com>
2891 [Curl][Win] Suggested filename of download is not url decoded.
2892 https://bugs.webkit.org/show_bug.cgi?id=123511
2894 Reviewed by Brent Fulgham.
2896 * WebDownloadCurl.cpp:
2897 (WebDownload::didReceiveResponse): Url decode suggested filename.
2899 2013-10-28 Tim Horton <timothy_horton@apple.com>
2901 Make TileController manipulate PlatformCALayers instead of CALayers
2902 https://bugs.webkit.org/show_bug.cgi?id=123279
2904 Reviewed by Simon Fraser.
2906 * FullscreenVideoController.cpp:
2907 (FullscreenVideoController::LayerClient::platformCALayerPaintContents):
2908 (FullscreenVideoController::LayerClient::platformCALayerIncrementRepaintCount):
2909 Adjust for new parameters on PlatformCALayerClient callbacks.
2911 2013-10-23 Alex Christensen <achristensen@webkit.org>
2913 Separated USE(CA) from USE(ACCELERATED_COMPOSITING) to prepare WinCairo for accelerated compositing.
2914 https://bugs.webkit.org/show_bug.cgi?id=123214
2916 Reviewed by Brent Fulgham.
2918 * WebCoreSupport/WebChromeClient.h:
2919 (WebChromeClient::delegatedScrollRequested): Added empty function.
2920 * WebPreferences.cpp:
2921 (WebPreferences::acceleratedCompositingEnabled):
2922 Return true for non-CA ports using accelerated compositing.
2924 (WebView::~WebView):
2925 (WebView::sizeChanged):
2927 (WebView::setShouldInvertColors):
2928 (WebView::flushPendingGraphicsLayerChangesSoon):
2929 (WebView::setAcceleratedCompositing):
2931 Added USE(CA) where necessary to compile WinCairo with accelerated compositing.
2933 2013-10-16 Tim Horton <timothy_horton@apple.com>
2935 Attempt to fix the Windows build after http://trac.webkit.org/changeset/157547.
2937 Apparently some *more* Windows code uses setFrame and I missed it.
2939 * FullscreenVideoController.cpp:
2940 (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
2942 2013-10-16 Jochen Eisinger <jochen@chromium.org>
2944 A page should exit fullscreen mode if it opens a new popup
2945 https://bugs.webkit.org/show_bug.cgi?id=122865
2947 Reviewed by Jer Noble.
2949 If a fullscreen page opens a popup, the popup would be hidden and
2950 therefore invisible to the user. To avoid this, exit fullscreen mode
2951 before opening a new window.
2953 * WebCoreSupport/WebChromeClient.cpp:
2954 (WebChromeClient::createWindow):
2956 2013-10-15 Joseph Pecoraro <pecoraro@apple.com>
2958 Web Inspector: Remove Windows old front-end related code
2959 https://bugs.webkit.org/show_bug.cgi?id=122845
2961 Reviewed by Brent Fulgham.
2963 * WebCoreSupport/WebInspectorClient.cpp:
2964 (WebInspectorClient::openInspectorFrontend):
2966 2013-10-14 Roger Fong <roger_fong@apple.com>
2968 Windows select element doesn't draw RTL properly.
2969 https://bugs.webkit.org/show_bug.cgi?id=122785.
2971 Reviewed by Brent Fulgham.
2973 * WebCoreSupport/WebChromeClient.cpp:
2974 (WebChromeClient::selectItemWritingDirectionIsNatural):
2975 (WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection):
2977 2013-10-14 Tim Horton <timothy_horton@apple.com>
2979 Virtualize PlatformCALayer
2980 https://bugs.webkit.org/show_bug.cgi?id=122672
2982 Reviewed by Anders Carlsson.
2984 * FullscreenVideoController.cpp:
2985 (FullscreenVideoController::FullscreenVideoController):
2986 Include PlatformCALayerWin.h and explicitly make PlatformCALayerWins here.
2988 2013-10-12 Darin Adler <darin@apple.com>
2990 Get rid of the toHTMLElement helper for casting FormAssociatedElement to HTMLElement
2991 https://bugs.webkit.org/show_bug.cgi?id=122713
2993 Reviewed by Sam Weinig.
2996 (WebFrame::controlsInForm): Use asHTMLElement.
2998 2013-10-12 Darin Adler <darin@apple.com>
3000 Use unique_ptr instead of delete in a few places
3001 https://bugs.webkit.org/show_bug.cgi?id=122639
3003 Reviewed by Anders Carlsson.
3005 * WebCoreSupport/WebFrameNetworkingContext.cpp:
3008 (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
3009 (WebFrameNetworkingContext::setPrivateBrowsingStorageSessionIdentifierBase):
3010 (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
3011 (WebFrameNetworkingContext::destroyPrivateBrowsingSession):
3012 (WebFrameNetworkingContext::storageSession):
3014 2013-10-10 Anders Carlsson <andersca@apple.com>
3018 * Interfaces/WebKit.idl:
3019 Oops, didn't mean to remove the uuid for WebURLResponse.
3021 2013-10-10 Anders Carlsson <andersca@apple.com>
3024 https://bugs.webkit.org/show_bug.cgi?id=122623
3026 Reviewed by Brent Fulgham.
3028 WebScrollBar isn't used by anyone, remove it.
3031 * Interfaces/IWebScrollBarDelegatePrivate.idl: Removed.
3032 * Interfaces/IWebScrollBarPrivate.idl: Removed.
3033 * Interfaces/WebKit.idl:
3034 * WebKitClassFactory.cpp:
3035 (WebKitClassFactory::CreateInstance):
3036 * WebScrollBar.cpp: Removed.
3037 * WebScrollBar.h: Removed.
3039 2013-10-10 Beth Dakin <bdakin@apple.com>
3041 Build fix after http://trac.webkit.org/changeset/157253
3045 2013-10-09 peavo@outlook.com <peavo@outlook.com>
3047 [Win] BeginPaint should only be called in response to WM_PAINT.
3048 https://bugs.webkit.org/show_bug.cgi?id=122549
3050 Reviewed by Brent Fulgham.
3052 According to the documentation, the Win32 api function BeginPaint should only be called in response to a WM_PAINT message.
3053 Currently, the WebView window procedure might call this function (via WebView::paint(0, 0)) for all types of messages.
3054 Also, there is potential for double drawing. If some message is dispatched before WM_PAINT, WebView::paint(0, 0) will be called.
3055 This call does not validate the area drawn, so later the WM_PAINT will arrive, drawing the same area.
3056 This can be fixed by calling the Win32 function UpdateWindow(), which will do a synchronous window update, and validate the area.
3059 (WebView::WebViewWndProc): Use Win32 function UpdateWindow() to draw invalid area.
3061 2013-10-07 Sam Weinig <sam@webkit.org>
3063 Consolidate findString functions
3064 https://bugs.webkit.org/show_bug.cgi?id=122480
3066 Reviewed by Darin Adler.
3069 (WebView::searchFor):
3071 2013-10-07 Sam Weinig <sam@webkit.org>
3073 CTTE: Use references in and around DragController
3074 https://bugs.webkit.org/show_bug.cgi?id=122427
3076 Reviewed by Andreas Kling.
3078 * WebCoreSupport/WebDragClient.cpp:
3079 (WebDragClient::actionMaskForDrag):
3080 (WebDragClient::willPerformDragDestinationAction):
3081 (WebDragClient::willPerformDragSourceAction):
3082 (WebDragClient::startDrag):
3083 * WebCoreSupport/WebDragClient.h:
3085 2013-10-04 Anders Carlsson <andersca@apple.com>
3087 FramePolicyFunction should be an std::function
3088 https://bugs.webkit.org/show_bug.cgi?id=122362
3090 Reviewed by Darin Adler.
3092 * WebCoreSupport/WebFrameLoaderClient.cpp:
3093 (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
3094 (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
3095 (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
3096 (WebFrameLoaderClient::dispatchWillSubmitForm):
3097 (WebFrameLoaderClient::receivedPolicyDecision):
3099 2013-10-03 Sam Weinig <sam@webkit.org>
3101 Remove shouldRubberBandInDirection from the WKBundlePageUIClient
3102 https://bugs.webkit.org/show_bug.cgi?id=122309
3104 Reviewed by Andreas Kling.
3106 * WebCoreSupport/WebChromeClient.h:
3108 2013-10-02 Roger Fong <roger_fong@apple.com>
3110 [Windows] Unreviewed build fix.
3112 * WebScriptWorld.cpp:
3113 (WebScriptWorld::findOrCreateWorld):
3115 2013-10-01 Sam Weinig <sam@webkit.org>
3117 CTTE: DOMWrapperWorlds should be passed around by reference
3118 https://bugs.webkit.org/show_bug.cgi?id=122206
3120 Reviewed by Andreas Kling.
3122 * WebCoreSupport/WebFrameLoaderClient.cpp:
3123 (WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
3124 * WebCoreSupport/WebFrameLoaderClient.h:
3125 * WebScriptWorld.cpp:
3126 (WebScriptWorld::standardWorld):
3127 (WebScriptWorld::findOrCreateWorld):
3129 (WebScriptWorld::world):
3131 2013-10-01 Alex Christensen <achristensen@webkit.org>
3133 Implemented createWebViewWithRequest in WinLauncher.
3134 https://bugs.webkit.org/show_bug.cgi?id=122069
3136 Reviewed by Brent Fulgham.
3138 * WebCoreSupport/WebChromeClient.cpp:
3139 (WebChromeClient::createWindow):
3140 * WebCoreSupport/WebFrameLoaderClient.cpp:
3141 (WebFrameLoaderClient::dispatchCreatePage):
3142 Pass request url from the NavigationAction to createWebViewWithRequest.
3144 2013-09-30 Andreas Kling <akling@apple.com>
3146 Try to fix the Windows build.
3149 (WebFrame::pauseAnimation):
3150 (WebFrame::pauseTransition):
3152 2013-09-27 Roger Fong <roger_fong@apple.com>
3154 [Windows] Unreviewed build fix following r156560.
3158 2013-09-26 Darin Adler <darin@apple.com>
3161 https://bugs.webkit.org/show_bug.cgi?id=16214
3163 Reviewed by Andreas Kling.
3165 * many files: Renamed, using script.
3167 2013-09-27 Darin Adler <darin@apple.com>
3169 Add empty MainFrame class
3170 https://bugs.webkit.org/show_bug.cgi?id=121770
3172 Reviewed by Andreas Kling.
3174 * win/WebCoreSupport/WebDragClient.cpp:
3175 * win/WebCoreSupport/WebContextMenuClient.cpp:
3176 * win/WebDropSource.cpp:
3179 Include MainFrame.h instead of Frame.h as needed.
3181 2013-09-25 Roger Fong <roger_fong@apple.com>
3183 [Windows] Attempting to scroll from a non-scrollable layer results the main document getting scrolled.
3184 https://bugs.webkit.org/show_bug.cgi?id=121889.
3185 <rdar://problem/15072441>
3187 Reviewed by Timothy Horton.
3191 Call scrollByRecursively on the current RenderLayer's enclosingScrollableLayer to make sure that the method
3192 doesn't bail early and end up just scrolling the main document instead of the next scrollable layer in the RenderLayer tree.
3194 2013-09-25 Patrick Gansterer <paroga@webkit.org>
3196 [WIN] Replace CF time functions with Windows API functions in WebHistory
3197 https://bugs.webkit.org/show_bug.cgi?id=121599
3199 Reviewed by Brent Fulgham.
3201 This reduces the dependencies on the CoreFoundation library.
3204 (addDayToSystemTime):
3208 (WebHistory::orderedLastVisitedDays):
3211 2013-09-24 Brent Fulgham <bfulgham@apple.com>
3213 [Windows] Refactor RuntimeEnabledFeatures as a Singleton.
3214 https://bugs.webkit.org/show_bug.cgi?id=121883
3216 Reviewed by Jer Noble.
3219 (WebView::notifyPreferencesChanged): Use singleton accessor
3221 2013-09-24 Roger Fong <roger_fong@apple.com>
3223 [Windows] Overpanning occurs even when what is being panned isn't the main document.
3224 https://bugs.webkit.org/show_bug.cgi?id=121885.
3225 <rdar://problem/15072332>.
3227 Reviewed by Brent Fulgham.
3230 (WebView::gestureNotify):
3233 2013-09-24 Brent Fulgham <bfulgham@apple.com>
3235 [Windows] Unreviewed crash fix after r156321.
3237 Fix a few mistakes in the use of Vectors and counting that introduced test crashes.
3240 (WebHistory::removeAllItems): Loop termination tried to test an unsigned for negative size.
3241 (WebHistory::removeItemFromDateCaches): Vector was being created with empty entries.
3242 (WebHistory::addItemToDateCaches): Ditto.
3244 2013-09-24 Patrick Gansterer <paroga@webkit.org>
3246 Make WebHistory more type safe
3247 https://bugs.webkit.org/show_bug.cgi?id=121801
3249 Reviewed by Brent Fulgham.
3251 Use a WTF::Vector instead of a CFMutableArray to avoid
3252 casting from void* all the time when accessing the entries.
3253 This reduces the dependencies on CoreFoundation too.
3259 (WebHistory::orderedItemsLastVisitedOnDay):
3260 (WebHistory::removeItemFromDateCaches):
3261 (WebHistory::addItemToDateCaches):
3264 2013-09-23 Patrick Gansterer <paroga@webkit.org>
3266 [WIN] Implement WebMutableURLRequest::setHTTPBody()
3267 https://bugs.webkit.org/show_bug.cgi?id=91920
3269 Reviewed by Brent Fulgham.
3271 * WebMutableURLRequest.cpp:
3272 (WebMutableURLRequest::setHTTPBody):
3273 (WebMutableURLRequest::setHTTPBodyStream):
3275 2013-09-23 Patrick Gansterer <paroga@webkit.org>
3277 use NOMINMAX instead of #define min min
3278 https://bugs.webkit.org/show_bug.cgi?id=73563
3280 Reviewed by Brent Fulgham.
3282 Use NOMINMAX instead of #define min/max as a cleaner
3283 way of ensuring that Windows system header files don't
3284 define min/max as macro in the first place.
3288 2013-09-22 Sam Weinig <sam@webkit.org>
3290 Try to fix the windows build (take 2).
3292 * DOMEventsClasses.cpp:
3293 (DOMEvent::createInstance):
3295 2013-09-22 Sam Weinig <sam@webkit.org>
3297 Try to fix the windows build.
3299 * DOMEventsClasses.cpp:
3300 (DOMEvent::createInstance):
3302 2013-09-20 Roger Fong <roger_fong@apple.com>
3304 Handle panning gestures messages properly on Windows.
3305 https://bugs.webkit.org/show_bug.cgi?id=121711.
3307 Reviewed by Brent Fulgham.
3309 This fixes a number of issues with panning gestures on Windows.
3310 1. Two finger panning in one direction can sometimes cause some unexpected scrolling
3311 in the other direction when the gesture first begins (directions meaning horizontal and vertical)
3312 2. Single finger horizontal panning should only be disabled when attempting to select text.
3313 3. Scrolling via panning should be clamped, other wise we can scroll contents completely out of the scrollview.
3314 4. Horizontal overpan should work.
3315 5. Overpan should occur whenever we scroll to the extents of whichever scroll view we're currently scrolling.
3318 (WebView::gestureNotify):
3321 2013-09-20 Patrick Gansterer <paroga@webkit.org>
3323 Fix MIDL files for Visual Studio 2012
3324 https://bugs.webkit.org/show_bug.cgi?id=121552
3326 Reviewed by Brent Fulgham.
3328 The MIDL compiler shipped with Visual Studio 2012 does not accept forward declarations
3329 with typedefs. Use the struct keyword in the function signature to fix this problem.
3331 * Interfaces/DOMPrivate.idl:
3333 2013-09-20 Patrick Gansterer <paroga@webkit.org>
3335 Remove duplicated secondsPerDay variables
3336 https://bugs.webkit.org/show_bug.cgi?id=121601
3338 Reviewed by Andreas Kling.
3340 Use secondsPerDay from DateMath.h instead of defining it again.
3342 * MarshallingHelpers.cpp:
3344 2013-09-20 Csaba Osztrogonác <ossy@webkit.org>
3346 Add covariant RenderElement* Element::renderer()
3347 https://bugs.webkit.org/show_bug.cgi?id=121638
3349 Unreviewed buildfix after r156144.
3351 * DOMCoreClasses.cpp:
3352 (DOMElement::boundingBox):
3355 2013-09-18 Brent Fulgham <bfulgham@apple.com>
3357 [Windows] Build fix after r156063.
3359 * WebHistory.h: std::unique is an algorithm; std::unique_ptr is what we want here!
3361 2013-09-18 Sam Weinig <sam@webkit.org>
3363 Replace use of OwnArrayPtr<Foo> with std::unique_ptr<Foo[]> in WebKit and WebKit2
3364 https://bugs.webkit.org/show_bug.cgi?id=121568
3366 Reviewed by Andreas Kling.
3369 (WebHistory::removeAllItems):
3370 (WebHistory::orderedLastVisitedDays):
3371 (WebHistory::addItemToDateCaches):
3372 (WebHistory::removeItemFromDateCaches):
3374 * WebPreferences.cpp:
3375 (WebPreferences::copyWebKitPreferencesToCFPreferences):
3377 2013-09-18 Patrick Gansterer <paroga@webkit.org>
3379 Make WebHistory more type safe
3380 https://bugs.webkit.org/show_bug.cgi?id=119389
3382 Reviewed by Brent Fulgham.
3384 Use a WTF::HashMap instead of a CFMutableDictionary to avoid
3385 casting from void* all the time when accessing the entries.
3386 This reduces the dependencies on CoreFoundation too.
3389 (WebHistory::WebHistory):
3390 (WebHistory::removeAllItems):
3391 (WebHistory::allItems):
3392 (WebHistory::removeItem):
3393 (WebHistory::addItem):
3394 (WebHistory::visitedURL):
3395 (WebHistory::itemForURL):
3396 (WebHistory::removeItemForURLString):
3397 (WebHistory::itemForURLString):
3398 (WebHistory::addVisitedLinksToPageGroup):
3401 2013-09-17 Brent Fulgham <bfulgham@apple.com>
3403 [Windows] Speculative build fix after r155963
3406 (classFactory): Use nullptr rather than 0 for HashMap.
3408 2013-09-16 Enrica Casucci <enrica@apple.com>
3410 Remove unused function didSetSelectionTypesForPasteboard from EditorClient.
3411 https://bugs.webkit.org/show_bug.cgi?id=121464
3413 Reviewed by Darin Adler.
3415 * WebCoreSupport/WebEditorClient.cpp:
3416 * WebCoreSupport/WebEditorClient.h:
3418 2013-09-16 Brent Fulgham <bfulgham@apple.com>
3420 [Windows] Rendering stops when mouse is moving for some types of animations.
3421 https://bugs.webkit.org/show_bug.cgi?id=121329
3423 Reviewed by Anders Carlsson.
3426 (WebView::WebView): Add new display flag.
3427 (WebView::repaint): Mark view as needing a display operation.
3428 (WebView::addToDirtyRegion): Ditto
3429 (WebView::scrollBackingStore): Ditto
3430 (WebView::sizeChanged): Ditto
3431 (WebView::updateBackingStore): Ditto
3432 (WebView::performLayeredWindowUpdate): Mark the WebView as having been
3434 (WebView::paintIntoWindow): Ditto
3435 (WebView::WebViewWndProc): If the view needs display, and it was not done during
3436 this message loop iteration, draw the screen.
3438 (WebView::needsDisplay): Added
3440 2013-09-15 Patrick Gansterer <paroga@webkit.org>
3442 Remove dependency on CoreFoundation from WebIconDatabase
3443 https://bugs.webkit.org/show_bug.cgi?id=119387
3445 Reviewed by Brent Fulgham.
3447 * COMVariantSetter.h:
3448 (COMVariant::operator&):
3449 (COMVariant::operator->):
3450 * WebIconDatabase.cpp:
3451 (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
3452 (postDidAddIconNotification):
3453 * WebIconDatabase.h:
3455 (WebView::notifyDidAddIcon):
3457 2013-09-11 Brent Fulgham <bfulgham@apple.com>
3459 [Windows] Avoid converting from IntSize->SIZE->IntSize
3460 https://bugs.webkit.org/show_bug.cgi?id=121180
3462 Reviewed by Anders Carlsson.
3464 * WebIconDatabase.cpp:
3465 (WebIconDatabase::iconForURL): Guard against null SIZE argument.
3466 This was dereferenced with checking before! Use IntSize arguments.
3467 (WebIconDatabase::defaultIconWithSize): Used passed-in IntSize.
3468 (createDIB): Take an IntSize argument.
3469 (WebIconDatabase::getOrCreateSharedBitmap): Take IntSize argument.
3470 (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto.
3471 * WebIconDatabase.h: Update for IntSize arguments.
3473 (WebView::dispatchDidReceiveIconFromWebFrame): Pass address of
3474 IntSize directly, rather than casting to SIZE first.
3476 2013-09-11 Brent Fulgham <bfulgham@apple.com>
3478 [Windows] Unreviewed build correction after r155507.
3480 * WebCoreSupport/WebChromeClient.cpp: Add missing header include
3481 to define isHTMLVideoElement.
3483 2013-09-11 peavo@outlook.com <peavo@outlook.com>
3485 [Win] Compile error when VIDEO is not enabled.
3486 https://bugs.webkit.org/show_bug.cgi?id=121156
3488 Reviewed by Andreas Kling.
3491 (WebView::enterFullscreenForNode): Protect isHTMLVideoElement() function with ENABLE(VIDEO) guard.
3493 2013-09-11 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3495 Generate more HTML type checks and casting
3496 https://bugs.webkit.org/show_bug.cgi?id=121080
3498 Reviewed by Andreas Kling.
3500 Clean-up remained functions of HTML elements using auto-generated isFooElement(),
3501 and replace toFooElement() with ELEMENT_TYPE_CASTS() macro.
3503 Besides this patch clean-up unnecessary checks which are being supported by
3504 auto-generated isFooElement().
3506 * WebCoreSupport/WebChromeClient.cpp:
3507 (WebChromeClient::supportsFullscreenForNode):
3509 (WebView::enterFullscreenForNode):
3511 2013-09-10 Brent Fulgham <bfulgham@apple.com>
3513 [Windows] Create SharedGDIObject Class Template
3514 https://bugs.webkit.org/show_bug.cgi?id=121037
3516 Reviewed by Anders Carlsson.
3518 * WebView.cpp: Change implementations to use the new SharedGDIObject
3520 (WebView::addToDirtyRegion):
3521 (WebView::scrollBackingStore):
3522 (WebView::updateBackingStore):
3523 (WebView::performLayeredWindowUpdate):
3525 (WebView::backingStore):
3528 2013-09-09 Brent Fulgham <bfulgham@apple.com>
3530 [Windows] Change from using OwnPtr<GDI Stuff> to new GDIObject template.
3531 https://bugs.webkit.org/show_bug.cgi?id=120778
3533 Reviewed by Anders Carlsson.
3535 * FullscreenVideoController.cpp:
3536 (FullscreenVideoController::createHUDWindow): Switch to GDIObject.
3537 (FullscreenVideoController::draw): Ditto.
3538 * FullscreenVideoController.h:
3539 * WebCoreSupport/EmbeddedWidget.cpp:
3540 (EmbeddedWidget::frameRectsChanged): Switch to GDIObject.
3541 * WebNodeHighlight.cpp:
3542 (WebNodeHighlight::update): Switch to GDIObject.
3544 (WebView::scrollBackingStore): Switch to GDIObject.
3545 (WebView::updateBackingStore): Ditto.
3546 (WebView::performLayeredWindowUpdate): Ditto.
3547 (WebView::paint): Ditto.
3548 (WebView::paintIntoBackingStore): Ditto.
3549 (WebView::paintIntoWindow): Ditto.
3550 (WebView::generateSelectionImage): Ditto.
3552 2013-09-05 Roger Fong <roger_fong@apple.com>
3554 [Windows] Implement text offset methods of IAccessibleText interface.
3555 https://bugs.webkit.org/show_bug.cgi?id=120820.
3556 <rdar://problem/14925242>
3558 Reviewed by Brenet Fulgham.
3560 * AccessibleTextImpl.cpp:
3561 (AccessibleText::get_textBeforeOffset):
3562 (AccessibleText::get_textAfterOffset):
3563 (AccessibleText::get_textAtOffset):
3564 (AccessibleText::isInRange):
3565 * AccessibleTextImpl.h:
3567 2013-08-30 Andreas Kling <akling@apple.com>
3569 Windows build fix for Document& Node::document().
3571 * DOMCoreClasses.cpp:
3572 (DOMNode::createInstance):
3574 2013-08-28 Brent Fulgham <bfulgham@apple.com>
3576 [Windows] LayoutTests on Windows debug fails and exits early
3577 https://bugs.webkit.org/show_bug.cgi?id=120438
3579 Reviewed by Tim Horton.
3581 Visual Studio mishandles char* containing utf8-content. Must manually
3582 escape non-ASCII characters so the byte stream is correct for localized
3585 * WebCoreSupport/WebFrameLoaderClient.cpp:
3586 (WebFrameLoaderClient::cannotShowURLError): Replace unicode apostrophe
3587 character with utf8-byte equivalent.
3588 (WebFrameLoaderClient::cannotShowMIMETypeError): Ditto.
3589 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): Ditto.
3591 2013-08-28 Brent Fulgham <bfulgham@apple.com>
3593 [Windows] Provide useful error messages for WebKitErrorDomain errors
3594 https://bugs.webkit.org/show_bug.cgi?id=120428
3596 Reviewed by Anders Carlsson.
3598 * WebCoreSupport/WebFrameLoaderClient.cpp:
3599 (WebFrameLoaderClient::cancelledError): Provide text for this error.
3600 (WebFrameLoaderClient::blockedError): Hook up WEB_UI_STRING for this error.
3601 (WebFrameLoaderClient::cannotShowURLError): Ditto
3602 (WebFrameLoaderClient::interruptedForPolicyChangeError): Ditto
3603 (WebFrameLoaderClient::cannotShowMIMETypeError): Ditto
3604 (WebFrameLoaderClient::fileDoesNotExistError): Provide text for this error.
3605 (WebFrameLoaderClient::pluginWillHandleLoadError): Hook up WEB_UI_STRING for this error.
3606 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): Ditto.
3607 (WebFrameLoaderClient::createJavaAppletWidget): Ditto.
3608 (WebFrameLoaderClient::webHistory): Remove blank line above method.