2009-12-10 Jon Honeycutt Pass more information about a plug-in to the PluginHalterDelegate Reviewed by Adam Roben. * Interfaces/IWebPluginHalterDelegate.idl: Add new parameters. * WebCoreSupport/WebPluginHalterClient.cpp: (WebPluginHalterClient::shouldHaltPlugin): Update for new parameters. Pass them when making the delegate call. * WebCoreSupport/WebPluginHalterClient.h: Update for new parameters. 2009-12-09 Brent Fulgham Revert incorrect commit-box update r51911. It mistakenly set the selectAll implementation in the deslectAll method. * WebFrame.cpp: (WebFrame::deselectAll): 2009-12-09 Brent Fulgham Reviewed by Darin Adler. Provide an implementation for 'selectAll' https://bugs.webkit.org/show_bug.cgi?id=32296 * WebFrame.cpp: (WebFrame::selectAll): Implement "SelectAll" command. 2009-12-09 Brent Fulgham Reviewed by Darin Adler. Provide an implementation for 'selectAll' https://bugs.webkit.org/show_bug.cgi?id=32296 * WebFrame.cpp: (WebFrame::selectAll): Implement "SelectAll" command. 2009-12-08 Chris Marrin Reviewed by Adam Roben. Delay load DLLs for accelerated compositing https://bugs.webkit.org/show_bug.cgi?id=31856 If the DLLs (d3d9 and QuartzCore). are not present it turns off accelerated compositing and avoids calling any of the functions in the DLLs. * WebView.cpp: * WebView.h: 2009-12-08 Adam Roben Windows build fix * Interfaces/WebKit.idl: Touched this to force Interfaces.vcproj to rebuild. 2009-12-08 John Sullivan Reviewed by Dan Bernstein Split two-clause assertions into two separate assertions. * DOMHTMLClasses.cpp: (DOMHTMLInputElement::isTextField): Split a two-clause assertion into two separate assertions. (DOMHTMLInputElement::rectOnScreen): Added the two assertions here that all other functions in this group shared. (DOMHTMLInputElement::selectedRange): Split a two-clause assertion into two separate assertions. (DOMHTMLInputElement::setAutofilled): Split a two-clause assertion into two separate assertions. (DOMHTMLInputElement::isAutofilled): Split a two-clause assertion into two separate assertions. 2009-12-08 Nikolas Zimmermann Rubber-stamped by Maciej Stachowiak. Turn on (SVG) Filters for Win. https://bugs.webkit.org/show_bug.cgi?id=32224 * WebKit.vcproj/WebKit.vcproj: 2009-12-08 John Sullivan Add isAutofilled getter to match existing setter. Reviewed by Ada Chan. * DOMHTMLClasses.cpp: (DOMHTMLInputElement::isAutofilled): Implemented new cover function. * DOMHTMLClasses.h: Declared new cover function. * Interfaces/DOMPrivate.idl: Declared new interface. 2009-12-07 Gavin Barraclough Reviewed by NOBODY (Windows build fix part III). * WebView.cpp: (WebView::stringByEvaluatingJavaScriptFromString): 2009-12-07 Gavin Barraclough Reviewed by NOBODY (Windows build fix part II). * WebView.cpp: (WebView::stringByEvaluatingJavaScriptFromString): 2009-12-03 Brady Eidson Reviewed by Sam Weinig. and http://webkit.org/b/32052 - Implement HTML5 state object history API * Interfaces/IWebFrameLoadDelegatePrivate2.idl: * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::dispatchDidPushStateWithinPage): (WebFrameLoaderClient::dispatchDidReplaceStateWithinPage): (WebFrameLoaderClient::dispatchDidPopStateWithinPage): * WebCoreSupport/WebFrameLoaderClient.h: 2009-12-03 Pavel Feldman Reviewed by Timothy Hatcher. Web Inspector: Simplify the settings support in inspector controller. https://bugs.webkit.org/show_bug.cgi?id=32076 * WebCoreSupport/WebInspectorClient.cpp: (WebInspectorClient::attachWindow): (WebInspectorClient::detachWindow): (WebInspectorClient::showWindowWithoutNotifications): * WebCoreSupport/WebInspectorClient.h: 2009-12-03 Ben Murdoch Reviewed by Brady Eidson. [Android] The FrameLoaderClient is unaware of BackForwardList changes. https://bugs.webkit.org/show_bug.cgi?id=31914 * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug). (WebFrameLoaderClient::dispatchDidRemoveBackForwardItem): ditto. (WebFrameLoaderClient::dispatchDidChangeBackForwardIndex): ditto. * WebCoreSupport/WebFrameLoaderClient.h: 2009-12-02 Timothy Hatcher Move setValueForUser to the end of the DOMHTMLInputElement interface so it is fine for binary compatibility. Directed by Steve Falkenburg. * Interfaces/DOMHTML.idl: 2009-12-02 Timothy Hatcher Expose setValueForUser for the COM DOMHTMLInputElement. Would like a way to detect a login form AutoFill from JavaScript Reviewed by Dan Bernstein. * DOMHTMLClasses.cpp: (DOMHTMLInputElement::setValueForUser): * Interfaces/DOMHTML.idl: 2009-12-01 Nikolas Zimmermann Not reviewed. Try to fix windows build. * WebFrame.cpp: 2009-12-01 Nikolas Zimmermann Reviewed by Simon Fraser. Add SVG animation test framework with 'snapshot' functionality https://bugs.webkit.org/show_bug.cgi?id=31897 Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method, forwarding the call to SVGDocumentExtensions, if SVG is enabled. Implemented just like the existing pauseAnimation* methods for CSS animations. * Interfaces/IWebFramePrivate.idl: * WebFrame.cpp: (WebFrame::pauseSVGAnimation): * WebFrame.h: 2009-11-30 Adam Roben Fix double-free of BSTRs passed to WebNavigationData::createInstance WebFrameLoaderClient::updateGlobalHistory was converting WebCore::Strings to WebCore::BStrings, then passing them to WebNavigationData::createInstance. But the latter function takes BSTR parameters and adopts them into WebCore::BStrings. So the end result was that two WebCore::BStrings would end up freeing each underlying BSTR. The fix is to only convert to WebCore::BString inside WebNavigationData. Fixes REGRESSION (r49564): Crash in updateGlobalHistory when running Javascript iBench test I couldn't find a way to reproduce this in DumpRenderTree. Reviewed by Steve Falkenburg. * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::updateGlobalHistory): Pass WebCore::Strings to WebNavigationData::createInstance. * WebNavigationData.cpp: (WebNavigationData::WebNavigationData): (WebNavigationData::createInstance): * WebNavigationData.h: Changed to take const WebCore::String&s instead of BSTRs and to convert the Strings to BStrings at this level. 2009-11-30 Steve Falkenburg Reviewed by Adam Roben. WebKit clients that don't implement didClearWindowObjectForFrameInScriptWorld should fall back to didClearWindowObject https://bugs.webkit.org/show_bug.cgi?id=31986 * WebFrame.cpp: (WebFrame::dispatchDidClearWindowObjectInWorld): Fall back if E_NOTIMPL returned. 2009-11-24 Chris Marrin Another Windows build fix Got rid of d3d.lib and d3dx9.lib dependency. Not needed until we turn on ACCELERATED_COMPOSITING * WebKit.vcproj/WebKit.vcproj: 2009-11-24 Chris Marrin Fixed Windows build Got rid of QuartzCore.lib dependency. Not needed until we turn on ACCELERATED_COMPOSITING * WebKit.vcproj/WebKit.vcproj: 2009-11-24 Chris Marrin Reviewed by Simon Fraser. Implement accelerated compositing https://bugs.webkit.org/show_bug.cgi?id=27314 This is the WebKit side of the implementation. It plumbs the root layer from WebCore. It also makes changes to WebView which places the backing store of the page into the root compositing layer so it is properly composited with all the other layers. This deals with resizing, scrolling, and incremental repaint of the page. * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::attachRootGraphicsLayer): (WebChromeClient::scheduleCompositingLayerSync): * WebCoreSupport/WebChromeClient.h: (WebChromeClient::setNeedsOneShotDrawingSynchronization): * WebKit.vcproj/WebKit.vcproj: * WebView.cpp: (WebView::WebView): (WebView::close): (WebView::repaint): (WebView::scrollBackingStore): (WebView::paint): (WebViewWndProc): (WebView::setRootChildLayer): (WebView::setAcceleratedCompositing): (WebView::setRootLayerContents): * WebView.h: (WebView::isAcceleratedCompositing): (WebView::resizeLayerWindow): (WebView::layerWindowBecameVisible): (WebView::setRootLayerNeedsDisplay): 2009-11-23 Laszlo Gombos Reviewed by Kenneth Rohde Christiansen. Include "config.h" to meet Coding Style Guidelines https://bugs.webkit.org/show_bug.cgi?id=31792 * GEN_DOMObject.cpp: * WebScriptObject.cpp: 2009-11-21 Jon Honeycutt Windows build fix. Unreviewed. * Interfaces/IWebSerializedJSValue.idl: 2009-11-20 Jon Honeycutt DOMElement::tagName() is unimplemented https://bugs.webkit.org/show_bug.cgi?id=31746 Reviewed by Darin Adler. * DOMCoreClasses.cpp: (DOMElement::tagName): Create a BString from the element's tag name, and release its BSTR into result. 2009-11-20 Jon Honeycutt DOMNode::childNodes() is unimplemented https://bugs.webkit.org/show_bug.cgi?id=31745 Reviewed by Darin Adler. * DOMCoreClasses.cpp: (DOMNode::childNodes): Create a DOMNodeList from the node's child nodes. 2009-11-20 Dave Hyatt Reviewed by Jon Honeycutt. Change WebSerializedJSValue on Windows to have a zero-argument createInstance call. Move the serialization into a separate serialize() function that can be called after the object has been created. Fix a typo in serialize() caused when fixing build bustage (put a ! back in). * Interfaces/IWebSerializedJSValue.idl: * WebSerializedJSValue.cpp: (WebSerializedJSValue::WebSerializedJSValue): (WebSerializedJSValue::createInstance): (WebSerializedJSValue::serialize): (WebSerializedJSValue::deserialize): * WebSerializedJSValue.h: 2009-11-20 Brian Weinstein Reviewed by Dave Hyatt. Another go at the Windows Build Fix - this is a couple steps of it, so a little more involved than most build fixes. * Interfaces/IWebSerializedJSValue.idl: * Interfaces/JavaScriptCoreAPITypes.idl: * WebKit.vcproj/Interfaces.vcproj: * WebSerializedJSValue.cpp: (WebSerializedJSValue::deserialize): * WebSerializedJSValue.h: 2009-11-20 Brian Weinstein Reviewed by Dave Hyatt. Build fix for Windows - only declare JSContextRef once, instead of in two different idl files. Create a new file to hold the definition of JSContextRef. * Interfaces/IWebFrameLoadDelegate.idl: * Interfaces/IWebSerializedJSValue.idl: * Interfaces/JavaScriptCoreAPITypes.idl: Added. * Interfaces/WebKit.idl: * WebKit.vcproj/Interfaces.vcproj: 2009-11-20 Dave Hyatt Reviewed by Oliver Hunt and Jon Honeycutt. Add support for WebSerializedJSValue to WebKit. This object wraps the SerializedScriptValue functionality in WebCore and exposes the ability to do JS value serialization/deserialization to WebKit clients. * Interfaces/IWebSerializedJSValue.idl: Added. * Interfaces/WebKit.idl: * WebKit.vcproj/WebKit.vcproj: * WebSerializedJSValue.cpp: Added. (WebSerializedJSValue::WebSerializedJSValue): (WebSerializedJSValue::~WebSerializedJSValue): (WebSerializedJSValue::createInstance): (WebSerializedJSValue::AddRef): (WebSerializedJSValue::Release): (WebSerializedJSValue::QueryInterface): (WebSerializedJSValue::deserialize): * WebSerializedJSValue.h: Added. 2009-11-19 Alexey Proskuryakov Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=31690 Make SocketStreamHandleCFNet work on Windows * WebDownloadCFNet.cpp: (WebDownload::init): (WebDownload::initWithRequest): (WebDownload::initToResumeWithBundle): Update for loaderRunLoop() now being in its own header. 2009-11-19 Eric Carlson Reviewed by Dan Bernstein. Support closed caption in