2009-11-30 Steve Block Reviewed by Eric Seidel. Adds PassOwnPtr include to ScriptExecutionContext.h. https://bugs.webkit.org/show_bug.cgi?id=31929 Build fix only, no new tests. * dom/ScriptExecutionContext.h: Modified. Adds PassOwnPtr include. 2009-11-30 Dirk Schulze Reviewed by Nikolas Zimmermann. REGRESSION (r49757): masking-mask-01-b.svg rendered incorrectly [https://bugs.webkit.org/show_bug.cgi?id=31980] It turns out, that we did not handle maskUnits="userSpaceOnUse" correctly. We just need to move the context of the maskImage if maskContentUnits="objectBoundingBox". The context gets scaled on this unit combination, so we have to substract the position of the targetRect. On userSpaceOnUse the position just depends on the position of the mask element. I added a test with some senseless and reasonable values for size and postion of the mask and it's contents. I also used every combination of maskUnits and maskContentUnits to be sure, that it is fixed this time. Test: svg/custom/mask-with-all-units.svg * svg/SVGMaskElement.cpp: (WebCore::SVGMaskElement::drawMaskerContent): 2009-11-30 Steve Block Reviewed by Eric Seidel. Adds ENABLE(INSPECTOR) guards around DOMWindow::inspectorTimelineAgent. https://bugs.webkit.org/show_bug.cgi?id=31928 Build fix only, no new tests. * page/DOMWindow.cpp: Modified. Adds ENABLE(INSPECTOR) guards around DOMWindow::inspectorTimelineAgent. 2009-11-30 Steve Block Reviewed by Eric Seidel. Adds SHARED_WORKERS guards to V8 WorkerContextExecutionProxy. https://bugs.webkit.org/show_bug.cgi?id=31926 Build fix only, no new tests. * bindings/v8/WorkerContextExecutionProxy.cpp: (WebCore::WorkerContextExecutionProxy::initContextIfNeeded): (WebCore::WorkerContextExecutionProxy::convertToV8Object): (WebCore::WorkerContextExecutionProxy::convertEventTargetToV8Object): 2009-11-30 Benjamin Poulain Reviewed by Kenneth Rohde Christiansen. Chrome::contentsSizeChanged() is called when the content size has not changed https://bugs.webkit.org/show_bug.cgi?id=31978 Do not trigger contentsSizeChaned() is the new size is the same as the old one. * page/FrameView.cpp: (WebCore::FrameView::setContentsSize): 2009-11-30 Laszlo Gombos Reviewed by Kenneth Rohde Christiansen. [Qt] Fix some compiler warnings seen on QtWebKit/Mac https://bugs.webkit.org/show_bug.cgi?id=31962 No new tests as there is no functional change. * platform/network/ResourceHandle.h: Make destructor virtual as after r50772 ResourceHandle has virtual functions. * plugins/mac/PluginPackageMac.cpp: (WebCore::PluginPackage::fetchInfo): Fix typo WTF is a namespace not a label * plugins/mac/PluginViewMac.cpp: (WebCore::PluginView::setNPWindowIfNeeded): Add l to the format specifier 2009-11-30 Xan Lopez Reviewed by Gustavo Noronha. Add new headers to sources list. * GNUmakefile.am: 2009-11-30 Girish Ramakrishnan Reviewed by Holger Freyther. [Qt] Mac Plugins : Get context menu to work in QGraphicsView Flash expects the value in record.where to be the global position for displaying the context menu. https://bugs.webkit.org/show_bug.cgi?id=31979 * plugins/mac/PluginViewMac.cpp: (WebCore::PluginView::handleMouseEvent): 2009-11-30 Steve Block Reviewed by Eric Seidel. Adds PLATFORM(CHROMIUM) guards around memory usage code in V8GCController. https://bugs.webkit.org/show_bug.cgi?id=31925 This code uses ChromiumBridge and Chromium-specific constant values not appropriate for other platforms such as Android. Build fix only, no new tests. * bindings/v8/V8GCController.cpp: Modified. Adds PLATFORM(CHROMIUM) around Chromium-specific code. 2009-11-29 Brent Fulgham Build fix. Correct draw signature used in ImageCairoWin.cpp. * platform/graphics/win/ImageCairoWin.cpp: (WebCore::BitmapImage::getHBITMAPOfSize): (WebCore::BitmapImage::drawFrameMatchingSourceSize): 2009-11-28 Oliver Hunt Reviewed by Sam Weinig. postMessage should serialize File objects https://bugs.webkit.org/show_bug.cgi?id=31955 Update SerializedScriptValue to include support for File objects in the serialized object graph. * bindings/js/SerializedScriptValue.cpp: (WebCore::SerializedScriptValueData::SerializedScriptValueData): (WebCore::SerializingTreeWalker::convertIfTerminal): (WebCore::DeserializingTreeWalker::convertIfTerminal): * bindings/js/SerializedScriptValue.h: (WebCore::SerializedScriptValueData::): (WebCore::SerializedScriptValueData::asString): 2009-11-29 Simon Fraser Reviewed by Dan Bernstein. Optimize the hierarchy rebuilding of compositing layers https://bugs.webkit.org/show_bug.cgi?id=31879 When updating the compositing layer hierarchy, instead of removing all child layers and then re-adding them one by one, build a vector of child layers, and set them in one go. * platform/graphics/GraphicsLayer.h: * platform/graphics/GraphicsLayer.cpp: (WebCore::GraphicsLayer::setChildren): New method that takes a Vector of child GraphicsLayers. * platform/graphics/mac/GraphicsLayerCA.h: Override setChildren(). * platform/graphics/win/GraphicsLayerCACF.h: Ditto. * platform/graphics/mac/GraphicsLayerCA.mm: (WebCore::GraphicsLayerCA::setChildren): Implement setChildren() to set the bit that notes that sublayers changed. * platform/graphics/win/GraphicsLayerCACF.cpp: (WebCore::GraphicsLayerCACF::setChildren): Implement setChildren() to udpate sublayers, with a note that this is not efficient. * rendering/RenderLayerCompositor.h: * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::updateCompositingLayers): When updating compositing layers, use the faster updateLayerTreeGeometry() if we know that no layer hierarchy changes are needed, and, at the root, use the vector returned from rebuildCompositingLayerTree() to attach the root layer. (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree): Changed to collect child layers into Vectors of GraphicsLayers, which can be set as layer children in one go. (WebCore::RenderLayerCompositor::updateLayerTreeGeometry): Split out from rebuildCompositingLayerTree() for simplicity, and called when we just need to update layer geometry, without doing any reparenting. 2009-11-29 Daniel Bates Reviewed by Adam Barth. https://bugs.webkit.org/show_bug.cgi?id=31971 Updated comment to reflect latest XSSAuditor bindings. No functionality was changed. So, no new tests. * page/XSSAuditor.h: 2009-11-29 Daniel Bates Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=31969 Removes unnecessary #include files. No functionality was changed. So, no new tests. * css/CSSComputedStyleDeclaration.cpp: Removed include CachedImage.h, and Pair.h * css/CSSCursorImageValue.cpp: Removed include RenderStyle.h * css/CSSFontFaceSrcValue.cpp: Removed include Node.h * css/CSSFontSelector.cpp: Removed include NodeList.h * css/CSSGradientValue.cpp: Removed include GraphicsContext.h, ImageBuffer.h * css/CSSImageValue.cpp: Removed include RenderStyle.h * css/CSSImportRule.cpp: Removed include MediaList.h * css/CSSMutableStyleDeclaration.cpp: Removed include CSSProperty.h * css/CSSRule.cpp: Removed include CSSStyleSheet.h * css/CSSStyleSelector.cpp: Removed include CSSFontFace.h, CSSFontFaceSource.h, and CSSProperty.h * page/EventSource.h: Removed include EventListener.h 2009-11-29 Daniel Bates Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=31965 Removed #include KeyframeList.h from CSSStyleSelector.h. Instead, forward declared it. As a side effect, we need to #include KeyframeList.h in RenderLayerBacking.cpp. No functionality was changed. So, no new tests. * css/CSSStyleSelector.cpp: * css/CSSStyleSelector.h: Removed #include KeyframeList.h * rendering/RenderLayerBacking.cpp: Added #include KeyframeList.h 2009-11-29 Shu Chang Reviewed by Eric Seidel. Continue to search for matching node in the case where multiple nodes have the same id. https://bugs.webkit.org/show_bug.cgi?id=31428 Test: fast/dom/Element/id-in-node-list-index01.html * dom/DynamicNodeList.cpp: (WebCore::DynamicNodeList::itemWithName): 2009-11-29 Daniel Bates Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=31966 Removed #include RenderStyle.h from file KeyframeAnimation.h. Instead, forward declared it. No functionality was changed. So, no new tests. * page/animation/KeyframeAnimation.cpp: * page/animation/KeyframeAnimation.h: 2009-11-29 Daniel Bates Unreviewed, fix change log entry date. For some reason, bugzilla-tool did not update the date in the change log entry for my last commit (r51468). So, this commit fixes the date of that entry. 2009-11-29 Daniel Bates Reviewed by Dan Bernstein. https://bugs.webkit.org/show_bug.cgi?id=31964 Removed #include StringImpl, StyleImage. Instead, forward declared them. Also, we can substitute #include for #include PlatformString.h, since it seems we only really used it to include PassRefPtr.h. No functionality was changed. So, no new tests. * rendering/style/ContentData.h: 2009-11-29 Zoltan Horvath Reviewed by Eric Seidel. Allow custom memory allocation control for classes of the rendering and storage directory in WebCore https://bugs.webkit.org/show_bug.cgi?id=31906 Inherits the following classes from Noncopyable because these are instantiated by 'new' and no need to be copyable: class/struct name - instantiated at: WebCore/'location' class SQLTransactionClient - storage/DatabaseThread.cpp:45 class SQLTransactionCoordinator - storage/DatabaseThread.cpp:46 class OriginUsageRecord - storage/OriginQuotaManager.cpp:66 class DatabaseTracker - storage/DatabaseTracker.cpp:62 class ScrollbarTheme - (its child class) rendering/RenderScrollbarTheme.cpp:35 class RenderSelectionInfoBase - (its child class) rendering/RenderView.cpp:310 class RenderOverflow - rendering/RenderBox.cpp:2846 Inherits the following classes from FastAllocBase because these are instantiated by 'new': struct FillLayer - css/CSSStyleSelector.cpp:197 struct ShadowData - rendering/style/ShadowData.cpp:35 class CounterContent - css/CSSStyleSelector.cpp:4111 * platform/ScrollbarTheme.h: * rendering/RenderOverflow.h: * rendering/RenderSelectionInfo.h: * rendering/style/CounterContent.h: * rendering/style/FillLayer.h: * rendering/style/ShadowData.h: * storage/DatabaseTracker.h: * storage/OriginUsageRecord.h: * storage/SQLTransactionClient.h: * storage/SQLTransactionCoordinator.h: 2009-11-28 Adam Barth Reviewed by Dimitri Glazkov. [Chromium] Sify compose button alerts error https://bugs.webkit.org/show_bug.cgi?id=31394 Test: http/tests/security/calling-versus-current.html We're supposed to use the calling context for security checks. In JSC land, this is the lexicalGlobalObject. * bindings/v8/V8Proxy.cpp: (WebCore::V8Proxy::canAccessPrivate): 2009-11-27 Shinichiro Hamaji Unreviewed Chromium build fix introduced by r51428. [Chromium] Ignore line-height CSS property for PushButton https://bugs.webkit.org/show_bug.cgi?id=31712 * rendering/RenderThemeChromiumSkia.cpp: (WebCore::RenderThemeChromiumSkia::adjustButtonStyle): 2009-11-27 Shinichiro Hamaji Unreviewed Chromium test fix by reverting r51413. [v8] Do not check the thread when accessing DOMDataStore https://bugs.webkit.org/show_bug.cgi?id=31877 * bindings/v8/V8DOMMap.cpp: (WebCore::getDOMNodeMap): (WebCore::getDOMObjectMap): (WebCore::getActiveDOMObjectMap): (WebCore::getDOMSVGElementInstanceMap): (WebCore::getDOMSVGObjectWithContextMap): 2009-11-27 Daniel Bates Unreviewed, comment fix. Corrected misspelling of the word "implemented". * inspector/front-end/InjectedScriptAccess.js: 2009-11-27 Daniel Bates Reviewed by Adam Barth. https://bugs.webkit.org/show_bug.cgi?id=31940 Makes the error messages more descriptive when we refuse to load an object/embed or refuse to load from the document base URL. * page/XSSAuditor.cpp: (WebCore::XSSAuditor::canLoadObject): Changed console message to be more descriptive. (WebCore::XSSAuditor::canSetBaseElementURL): Ditto. 2009-11-27 Yury Semikhatsky Reviewed by Pavel Feldman. This is a WebCore part of the fix that allows to view plugin resources loaded by plugins. https://bugs.webkit.org/show_bug.cgi?id=31832 * inspector/InspectorController.cpp: (WebCore::InspectorController::willSendRequest): (WebCore::InspectorController::didReceiveResponse): (WebCore::InspectorController::didReceiveContentLength): (WebCore::InspectorController::didFinishLoading): (WebCore::InspectorController::didFailLoading): * inspector/InspectorController.h: * inspector/InspectorResource.cpp: (WebCore::InspectorResource::addLength): * loader/ResourceLoadNotifier.cpp: (WebCore::ResourceLoadNotifier::didFailToLoad): (WebCore::ResourceLoadNotifier::dispatchWillSendRequest): (WebCore::ResourceLoadNotifier::dispatchDidReceiveResponse): (WebCore::ResourceLoadNotifier::dispatchDidReceiveContentLength): (WebCore::ResourceLoadNotifier::dispatchDidFinishLoading): 2009-11-27 Yury Semikhatsky Reviewed by Pavel Feldman. Instead of generating negative identifiers for cached resources in InspectorController and extending identifier type from 'unsigned long' to 'long long' reuse progress tracker from the inspected page to generate those identifiers. It guarantees that InspectorResources have unique ids since all of them are generated by that progress tracker. Added a couple new overloaded methods to Script* objects that accept long and unsigned long arguments. These types of argumens have already been passed as long long. https://bugs.webkit.org/show_bug.cgi?id=31921 * bindings/js/ScriptFunctionCall.cpp: (WebCore::ScriptFunctionCall::appendArgument): * bindings/js/ScriptFunctionCall.h: * bindings/js/ScriptObject.cpp: (WebCore::ScriptObject::set): * bindings/js/ScriptObject.h: * bindings/v8/ScriptFunctionCall.cpp: (WebCore::ScriptFunctionCall::appendArgument): * bindings/v8/ScriptFunctionCall.h: * bindings/v8/ScriptObject.cpp: (WebCore::ScriptObject::set): * bindings/v8/ScriptObject.h: * inspector/InspectorBackend.cpp: (WebCore::InspectorBackend::dispatchOnInjectedScript): * inspector/InspectorController.cpp: (WebCore::InspectorController::InspectorController): (WebCore::InspectorController::getTrackedResource): (WebCore::InspectorController::didLoadResourceFromMemoryCache): Use inspected page's ProgressTracker to generate unique identifiers for cached resources in InspectorController. * inspector/InspectorController.h: * inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::buildObjectForNode): (WebCore::InspectorDOMAgent::buildObjectForEventListener): * inspector/InspectorFrontend.cpp: (WebCore::InspectorFrontend::addResource): (WebCore::InspectorFrontend::updateResource): (WebCore::InspectorFrontend::removeResource): (WebCore::InspectorFrontend::updateFocusedNode): * inspector/InspectorFrontend.h: * inspector/InspectorResource.cpp: (WebCore::InspectorResource::InspectorResource): (WebCore::InspectorResource::createCached): * inspector/InspectorResource.h: Change InspectorResource identifier type from 'long long' to 'unsigned long'. (WebCore::InspectorResource::create): (WebCore::InspectorResource::identifier): * inspector/TimelineRecordFactory.cpp: (WebCore::TimelineRecordFactory::createResourceSendRequestRecord): (WebCore::TimelineRecordFactory::createResourceReceiveResponseRecord): (WebCore::TimelineRecordFactory::createResourceFinishRecord): 2009-11-26 Shinichiro Hamaji Reviewed by Dan Bernstein. Assertion failure in RenderBlock::positionForPointWithInlineChildren when running fast/inline/relative-positioned-overflow.html https://bugs.webkit.org/show_bug.cgi?id=29966 When an empty inline element is clicked, the root inline box has no leaf children. Use the renderer of a normal child instead. This change resolves Windows port's assertion failure in a layout test. Also, this fixes the behavior when a user drags the mouse from an empty inline element to above texts. Test: editing/selection/last-empty-inline.html * rendering/RenderBlock.cpp: (WebCore::RenderBlock::positionForPointWithInlineChildren): 2009-11-26 Kent Tamura Reviewed by Eric Seidel. [Chromium] Ignore line-height CSS property specified to push buttons on Windows and Linux. https://bugs.webkit.org/show_bug.cgi?id=31712 LayoutTests/fast/forms/control-restrict-line-height.html checks that the following controls should ignore line-height CSS property. - - This change addresses the issue with Chromium/Windows and Chromium/Linux. * rendering/RenderThemeChromiumSkia.cpp: Implement adjustButtonStyle() to ignore line-height. * rendering/RenderThemeChromiumSkia.h: Declare adjustButtonStyle(). 2009-11-26 Kinuko Yasuda Reviewed by Eric Seidel. Remove the special charset meta tag in the clipboard so that copy-and-paste with interchange breaklines/spaces works correctly within WebKit. No new tests. Layout tests that involve copy-and-paste with interchange breaklines (like editing/pasteboard/paste-line-endings-00?) should pass on Mac/Chromium with this fix. * platform/chromium/ClipboardChromium.cpp: * platform/chromium/PasteboardChromium.cpp: (WebCore::Pasteboard::documentFragment): 2009-11-26 İsmail Dönmez Reviewed by Eric Seidel. Compile with QT_NO_WHEELEVENT defined. * platform/qt/WheelEventQt.cpp: (WebCore::PlatformWheelEvent::applyDelta): 2009-11-26 Laszlo Gombos Reviewed by Oliver Hunt. Move GOwnPtr* from wtf to wtf/gtk https://bugs.webkit.org/show_bug.cgi?id=31793 No new tests as there is no functional change. * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp: Change the path for GOwnPtr.h. * platform/text/TextEncoding.cpp: Ditto. * platform/text/gtk/TextCodecGtk.cpp: Ditto. 2009-11-26 Yury Semikhatsky Not reviewed. Build fix: revert r51421. * inspector/InspectorController.cpp: (WebCore::InspectorController::willSendRequest): (WebCore::InspectorController::didReceiveResponse): (WebCore::InspectorController::didReceiveContentLength): (WebCore::InspectorController::didFinishLoading): (WebCore::InspectorController::didFailLoading): * inspector/InspectorController.h: * inspector/InspectorResource.cpp: (WebCore::InspectorResource::addLength): * loader/ResourceLoadNotifier.cpp: (WebCore::ResourceLoadNotifier::didFailToLoad): (WebCore::ResourceLoadNotifier::dispatchWillSendRequest): (WebCore::ResourceLoadNotifier::dispatchDidReceiveResponse): (WebCore::ResourceLoadNotifier::dispatchDidReceiveContentLength): (WebCore::ResourceLoadNotifier::dispatchDidFinishLoading): 2009-11-26 Yury Semikhatsky Reviewed by Pavel Feldman. This is a WebCore part of the fix that allows to view plugin resources loaded by plugins. https://bugs.webkit.org/show_bug.cgi?id=31832 * inspector/InspectorController.cpp: (WebCore::InspectorController::willSendRequest): (WebCore::InspectorController::didReceiveResponse): (WebCore::InspectorController::didReceiveContentLength): (WebCore::InspectorController::didFinishLoading): (WebCore::InspectorController::didFailLoading): * inspector/InspectorController.h: Remove unused DocumentLoader parameters from inspector methods. * inspector/InspectorResource.cpp: (WebCore::InspectorResource::addLength): Update loading end time when new data are received. * loader/ResourceLoadNotifier.cpp: (WebCore::ResourceLoadNotifier::didFailToLoad): Notify InspectorController about the failure. (WebCore::ResourceLoadNotifier::dispatchWillSendRequest): (WebCore::ResourceLoadNotifier::dispatchDidReceiveResponse): (WebCore::ResourceLoadNotifier::dispatchDidReceiveContentLength): (WebCore::ResourceLoadNotifier::dispatchDidFinishLoading): 2009-11-26 Daniel Bates Reviewed by Pavel Feldman. https://bugs.webkit.org/show_bug.cgi?id=21554 Implements support for hovering over src to display the height and width of that image in a tooltip. Displays both the displayable and natural dimensions of the image. Test: inspector/elements-img-tooltip.html * inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype.createTooltipForImageNode): Added. (WebInspector.ElementsTreeElement.prototype._updateTitle.callback): (WebInspector.ElementsTreeElement.prototype._updateTitle): (WebInspector.ElementsTreeElement.prototype._nodeTitleInfo): * inspector/front-end/ObjectProxy.js: (WebInspector.ObjectProxy.getPropertiesAsync): Added. * inspector/front-end/inspector.js: (WebInspector.linkifyURLAsNode): Added tooltipText argument. (WebInspector.linkifyURL): Ditto. 2009-11-26 Kevin Ollivier wx build fix after drawPattern API change. * platform/graphics/wx/ImageWx.cpp: (WebCore::Image::drawPattern): 2009-11-26 Anton Muhin Reviewed by Adam Barth. Use an internal field instead of hidden property to speedup lookup of entered isolated world. Plus some inlinings. https://bugs.webkit.org/show_bug.cgi?id=31884 Covered by layout tests + manual running of some benchmarks as content scripts. * bindings/v8/V8DOMWrapper.cpp: * bindings/v8/V8DOMWrapper.h: (WebCore::V8DOMWrapper::setDOMWrapper): * bindings/v8/V8HiddenPropertyName.h: * bindings/v8/V8IsolatedWorld.cpp: (WebCore::V8IsolatedWorld::V8IsolatedWorld): * bindings/v8/V8IsolatedWorld.h: (WebCore::V8IsolatedWorld::getEntered): (WebCore::V8IsolatedWorld::getGlobalObject): * bindings/v8/custom/V8CustomBinding.h: 2009-11-26 Jocelyn Turcotte Reviewed by Kenneth Rohde Christiansen. [Qt] Corrects build break on Windows. Rename platform/text/qt/TextBoundaries.cpp to TextBoundariesQt.cpp since platform/text/TextBoundaries.cpp was compiled instead when compiling with nmake. * WebCore.pro: * platform/text/qt/TextBoundariesQt.cpp: Renamed from WebCore/platform/text/qt/TextBoundaries.cpp. (WebCore::findNextWordFromIndex): (WebCore::findWordBoundary): 2009-11-26 Anton Muhin Reviewed by Adam Barth. Do not check if the thread is main or not when accessing DOMDataStore as currently in Chromium WebKit is used in main thread only. https://bugs.webkit.org/show_bug.cgi?id=31877 Covered by layout tests and buildbots. * bindings/v8/V8DOMMap.cpp: (WebCore::getDOMNodeMap): (WebCore::getDOMObjectMap): (WebCore::getActiveDOMObjectMap): (WebCore::getDOMSVGElementInstanceMap): (WebCore::getDOMSVGObjectWithContextMap): 2009-11-26 Girish Ramakrishnan Reviewed by Holger Freyther. [Qt] Mac Plugins : Pass mouse position relative to the fake window When using off-screen rendering, we need to pass mouse events relative to the fake window instead of the global position. https://bugs.webkit.org/show_bug.cgi?id=31794 * plugins/mac/PluginViewMac.cpp: (WebCore::PluginView::platformStart): (WebCore::PluginView::handleMouseEvent): 2009-11-24 Holger Hans Peter Freyther Reviewed by Eric Seidel. [Qt] Use QNetworkReply::rawHeaderPairs https://bugs.webkit.org/show_bug.cgi?id=31826 The QNetworkReply is internally storing the HTTP headers as a list of pairs. Currently we have to ask the QNetworkReply to put all header names into a QStringList. Afterwards we will iterate over this QStringList and ask the QNetworkReply to give us the value for this header name. The current Qt implementation is doing a linear to find the header value. Use a new API to directly access the list of pairs and push this into WebCore. This avoids doing some allocations and doing linear searches from within a loop. * platform/network/qt/QNetworkReplyHandler.cpp: (WebCore::QNetworkReplyHandler::sendResponseIfNeeded): 2009-11-21 Holger Hans Peter Freyther Reviewed by Kenneth Rohde Christiansen. [Qt] Add Qt specific information of RenderPart https://bugs.webkit.org/show_bug.cgi?id=31203 The WebCore::Widget of the RenderPart (RenderWidget) might be backed with a platform widget. Print both the WebCore::Widget and platform widget state. In the above bug we had a problem that the WebCore::Widget was invisible but the QWidget was visible. * rendering/RenderTreeAsText.cpp: (WebCore::operator<<): Add special case for RenderPart 2009-11-17 Holger Hans Peter Freyther Reviewed by Kenneth Rohde Christiansen. [Qt] Call Widget::setSelfVisible from hide/show https://bugs.webkit.org/show_bug.cgi?id=31203 Call Widget::setSelfVisible from Widget::show and Widget::hide and use isParentVisible to decide if the widget should be shown. This way client code can rely on isVisible. Change PluginViewQt::show, PluginViewQt::hide to call the base class as it is doing the right thing now. Add an assert verify that platfomWidget and platformPluginWidget are the same. * manual-tests/qt/qtplugin.html: Modify manual test * platform/qt/WidgetQt.cpp: (WebCore::Widget::show): (WebCore::Widget::hide): * plugins/qt/PluginViewQt.cpp: (WebCore::PluginView::show): (WebCore::PluginView::hide): 2009-11-24 Holger Hans Peter Freyther Reviewed by Alexey Proskuryakov. Fix compilation of REQUEST_DEBUG debug code https://bugs.webkit.org/show_bug.cgi?id=31850 In r47907 the single parameter KURL constructor to parse from a WebCore::String was replaced with a two parameter constructor. I think in this debug case parsing the urls again is no problem and I have changed the code to use the two parameter version. * loader/loader.cpp: (WebCore::Loader::Host::didFinishLoading): 2009-11-26 Søren Gjesse Reviewed by Pavel Feldman. [V8] Avoid using JavaScript objects as context data https://bugs.webkit.org/show_bug.cgi?id=31873 Change the context "data" from a JavaScript object holding the two properties type and value to a string holding type and value separated by a comma. * bindings/v8/V8Proxy.cpp: (WebCore::V8Proxy::setInjectedScriptContextDebugId): (WebCore::V8Proxy::setContextDebugId): (WebCore::V8Proxy::contextDebugId): 2009-11-25 Dimitri Glazkov Reviewed by David Levin. [Chromium] Implement canSetValueAttribute in the API, the clean-up part. https://bugs.webkit.org/show_bug.cgi?id=31894 * accessibility/chromium/AccessibilityObjectWrapper.h: Added RefCounted decl. (WebCore::AccessibilityObjectWrapper::AccessibilityObjectWrapper): Removed mis-refcountingness. 2009-11-25 Kenneth Russell Reviewed by Oliver Hunt. Off-by-one error in index validation for drawElements and drawArrays https://bugs.webkit.org/show_bug.cgi?id=31891 Fixed computation of number of elements for bound array objects. Test: fast/canvas/webgl/index-validation.html * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::vertexAttribPointer): 2009-11-25 Dmitry Titov Reviewed by David Levin. Update SharedScript to use eventNames() instead of EventNames() https://bugs.webkit.org/show_bug.cgi?id=31890 * SharedScript/WebKitSharedScript.cpp: (WebCore::LoadEventTask::performTask): 2009-11-25 Eric Carlson Reviewed by Simon Fraser. Windows: Support closed caption in