[prev in list] [next in list] [prev in thread] [next in thread]
List: webkit-changes
Subject: [webkit-changes] [82607] branches/chromium/696/Source/WebCore
From: scherkus () chromium ! org
Date: 2011-03-31 19:54:51
Message-ID: 20110331195451.8CC9F157AAA9 () lists ! macosforge ! org
[Download RAW message or body]
[Attachment #2 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[82607] branches/chromium/696/Source/WebCore</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: \
verdana,arial,helvetica,sans-serif; font-size: 10pt; } #msg dl a { font-weight: \
bold} #msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: \
bold; } #msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: \
6px; } #logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em \
0; } #logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg \
h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } \
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; \
} #logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: \
-1.5em; padding-left: 1.5em; } #logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em \
1em 0 1em; background: white;} #logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid \
#fa0; border-bottom: 1px solid #fa0; background: #fff; } #logmsg table th { \
text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted \
#fa0; } #logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: \
0.2em 0.5em; } #logmsg table thead th { text-align: center; border-bottom: 1px solid \
#fa0; } #logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: \
6px; } #patch { width: 100%; }
#patch h4 {font-family: \
verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, \
#patch .copfile {border:1px solid #ccc;margin:10px 0;} #patch ins \
{background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del \
{background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, \
.info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a \
href="http://trac.webkit.org/projects/webkit/changeset/82607">82607</a></dd> \
<dt>Author</dt> <dd>scherkus@chromium.org</dd> <dt>Date</dt> <dd>2011-03-31 12:54:50 \
-0700 (Thu, 31 Mar 2011)</dd> </dl>
<h3>Log Message</h3>
<pre>Merge 81414 - 2011-03-17 Victoria Kirst <vrk@google.com>
Reviewed by Kenneth Russell.
[chromium] Video colors have wrong brightness/contrast
https://bugs.webkit.org/show_bug.cgi?id=56598
This patch changes the YUV to RGB color conversion matrix
to have brighter whites and darker blacks in accordance to
the BT.601 standard.
* platform/graphics/chromium/ShaderChromium.cpp:
(WebCore::FragmentShaderYUVVideo::FragmentShaderYUVVideo):
(WebCore::FragmentShaderYUVVideo::init):
(WebCore::FragmentShaderYUVVideo::getShaderString):
* platform/graphics/chromium/ShaderChromium.h:
(WebCore::FragmentShaderYUVVideo::yuvAdjLocation):
* platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::drawYUV):
* platform/graphics/chromium/VideoLayerChromium.h:
TBR=commit-queue@webkit.org</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#brancheschromium696SourceWebCoreChangeLog">branches/chromium/696/Source/WebCore/ChangeLog</a></li>
<li><a href="#brancheschromium696SourceWebCoreplatformgraphicschromiumShaderChromiumc \
pp">branches/chromium/696/Source/WebCore/platform/graphics/chromium/ShaderChromium.cpp</a></li>
<li><a href="#brancheschromium696SourceWebCoreplatformgraphicschromiumShaderChromiumh \
">branches/chromium/696/Source/WebCore/platform/graphics/chromium/ShaderChromium.h</a></li>
<li><a href="#brancheschromium696SourceWebCoreplatformgraphicschromiumVideoLayerChrom \
iumcpp">branches/chromium/696/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.cpp</a></li>
<li><a href="#brancheschromium696SourceWebCoreplatformgraphicschromiumVideoLayerChrom \
iumh">branches/chromium/696/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.h</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="brancheschromium696SourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: branches/chromium/696/Source/WebCore/ChangeLog \
(82606 => 82607)</h4> <pre class="diff"><span>
<span class="info">--- branches/chromium/696/Source/WebCore/ChangeLog 2011-03-31 \
19:48:37 UTC (rev 82606)
+++ branches/chromium/696/Source/WebCore/ChangeLog 2011-03-31 19:54:50 UTC (rev \
82607) </span><span class="lines">@@ -1,4958 +1,3 @@
</span><del>-2011-03-25 Dave Hyatt <hyatt@apple.com>
-
- Reviewed by Adele Peterson.
-
- REGRESSION(r77257): Only first page of a document is printed
- https://bugs.webkit.org/show_bug.cgi?id=56958
-
- Test: printing/page-count-layout-overflow.html
-
- * page/FrameView.cpp:
- (WebCore::FrameView::forceLayoutForPagination): Moved clearing of overflow
- to the right place.
-
-2011-03-25 Benjamin Poulain <benjamin.poulain@nokia.com>
-
- Reviewed by Andreas Kling.
-
- [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
- https://bugs.webkit.org/show_bug.cgi?id=57087
-
- Use explicit conversion for string to avoid depending on the default codec
- installed by the user code.
-
- * bridge/qt/qt_pixmapruntime.cpp:
- (JSC::Bindings::QtPixmapToDataUrlMethod::invoke):
- (JSC::Bindings::QtPixmapInstance::valueOf):
- * platform/qt/LanguageQt.cpp:
- (WebCore::platformDefaultLanguage):
- * platform/qt/PasteboardQt.cpp:
- (WebCore::Pasteboard::writeSelection):
- * plugins/qt/PluginPackageQt.cpp:
- (WebCore::initializeGtk):
- * plugins/qt/PluginViewQt.cpp:
- (WebCore::getPluginDisplay):
-
-2011-03-25 Chang Shu <cshu@webkit.org>
-
- Reviewed by Ryosuke Niwa.
-
- rename Node::isContentEditable and all call sites to rendererIsEditable
- https://bugs.webkit.org/show_bug.cgi?id=54290
-
- This is part of the effort to separate JS API HTMLElement isContentEditable \
from
- internal Node::rendererIsEditable.
-
- Code refactoring. No new tests.
-
- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::isReadOnly):
- (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
- * dom/Document.cpp:
- (WebCore::acceptsEditingFocus):
- * dom/Node.cpp:
- (WebCore::Node::rendererIsEditable):
- (WebCore::Node::shouldUseInputMethod):
- (WebCore::Node::canStartSelection):
- (WebCore::Node::rootEditableElement):
- * dom/Node.h:
- (WebCore::Node::isContentEditable):
- (WebCore::Node::rendererIsEditable):
- (WebCore::Node::rendererIsRichlyEditable):
- * dom/Position.cpp:
- (WebCore::nextRenderedEditable):
- (WebCore::previousRenderedEditable):
- (WebCore::Position::atEditingBoundary):
- (WebCore::Position::parentEditingBoundary):
- (WebCore::Position::upstream):
- (WebCore::Position::downstream):
- (WebCore::Position::isCandidate):
- * dom/PositionIterator.cpp:
- (WebCore::PositionIterator::isCandidate):
- * editing/AppendNodeCommand.cpp:
- (WebCore::AppendNodeCommand::AppendNodeCommand):
- (WebCore::AppendNodeCommand::doApply):
- (WebCore::AppendNodeCommand::doUnapply):
- * editing/ApplyStyleCommand.cpp:
- (WebCore::containsNonEditableRegion):
- (WebCore::ApplyStyleCommand::applyInlineStyleToNodeRange):
- (WebCore::ApplyStyleCommand::removeInlineStyleFromElement):
- (WebCore::ApplyStyleCommand::surroundNodeRangeWithElement):
- * editing/CompositeEditCommand.cpp:
- (WebCore::CompositeEditCommand::breakOutOfEmptyListItem):
- * editing/DeleteButtonController.cpp:
- (WebCore::isDeletableElement):
- (WebCore::enclosingDeletableElement):
- * editing/DeleteFromTextNodeCommand.cpp:
- (WebCore::DeleteFromTextNodeCommand::doApply):
- (WebCore::DeleteFromTextNodeCommand::doUnapply):
- * editing/DeleteSelectionCommand.cpp:
- (WebCore::DeleteSelectionCommand::removeNode):
- * editing/Editor.cpp:
- (WebCore::Editor::canDeleteRange):
- (WebCore::Editor::markMisspellingsOrBadGrammar):
- (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
- * editing/EditorCommand.cpp:
- (WebCore::verticalScrollDistance):
- * editing/FormatBlockCommand.cpp:
- (WebCore::enclosingBlockToSplitTreeTo):
- * editing/IndentOutdentCommand.cpp:
- (WebCore::IndentOutdentCommand::outdentParagraph):
- * editing/InsertIntoTextNodeCommand.cpp:
- (WebCore::InsertIntoTextNodeCommand::doApply):
- (WebCore::InsertIntoTextNodeCommand::doUnapply):
- * editing/InsertNodeBeforeCommand.cpp:
- (WebCore::InsertNodeBeforeCommand::InsertNodeBeforeCommand):
- (WebCore::InsertNodeBeforeCommand::doApply):
- (WebCore::InsertNodeBeforeCommand::doUnapply):
- * editing/JoinTextNodesCommand.cpp:
- (WebCore::JoinTextNodesCommand::doApply):
- (WebCore::JoinTextNodesCommand::doUnapply):
- * editing/MergeIdenticalElementsCommand.cpp:
- (WebCore::MergeIdenticalElementsCommand::doApply):
- (WebCore::MergeIdenticalElementsCommand::doUnapply):
- * editing/RemoveNodeCommand.cpp:
- (WebCore::RemoveNodeCommand::doApply):
- (WebCore::RemoveNodeCommand::doUnapply):
- * editing/ReplaceSelectionCommand.cpp:
- (WebCore::ReplacementFragment::ReplacementFragment):
- * editing/SelectionController.cpp:
- (WebCore::SelectionController::selectFrameElementInParentIfFullySelected):
- (WebCore::SelectionController::setSelectionFromNone):
- * editing/SplitElementCommand.cpp:
- (WebCore::SplitElementCommand::executeApply):
- (WebCore::SplitElementCommand::doUnapply):
- * editing/SplitTextNodeCommand.cpp:
- (WebCore::SplitTextNodeCommand::doApply):
- (WebCore::SplitTextNodeCommand::doUnapply):
- (WebCore::SplitTextNodeCommand::doReapply):
- * editing/SplitTextNodeContainingElementCommand.cpp:
- (WebCore::SplitTextNodeContainingElementCommand::doApply):
- * editing/VisiblePosition.cpp:
- (WebCore::VisiblePosition::canonicalPosition):
- * editing/WrapContentsInDummySpanCommand.cpp:
- (WebCore::WrapContentsInDummySpanCommand::doUnapply):
- (WebCore::WrapContentsInDummySpanCommand::doReapply):
- * editing/htmlediting.cpp:
- (WebCore::highestEditableRoot):
- (WebCore::lowestEditableAncestor):
- (WebCore::isEditablePosition):
- (WebCore::isRichlyEditablePosition):
- (WebCore::firstEditablePositionAfterPositionInRoot):
- (WebCore::extendRangeToWrappingNodes):
- (WebCore::enclosingNodeWithTag):
- (WebCore::enclosingNodeOfType):
- (WebCore::highestEnclosingNodeOfType):
- (WebCore::canMergeLists):
- * editing/visible_units.cpp:
- (WebCore::previousLeafWithSameEditability):
- (WebCore::previousLinePosition):
- (WebCore::nextLeafWithSameEditability):
- (WebCore::nextLinePosition):
- (WebCore::startOfParagraph):
- (WebCore::endOfParagraph):
- * html/HTMLAnchorElement.cpp:
- (WebCore::HTMLAnchorElement::supportsFocus):
- (WebCore::HTMLAnchorElement::defaultEventHandler):
- (WebCore::HTMLAnchorElement::setActive):
- (WebCore::HTMLAnchorElement::canStartSelection):
- (WebCore::HTMLAnchorElement::treatLinkAsLiveForEventType):
- * html/HTMLBodyElement.cpp:
- (WebCore::HTMLBodyElement::supportsFocus):
- * html/HTMLElement.cpp:
- (WebCore::HTMLElement::supportsFocus):
- (WebCore::HTMLElement::isContentEditable):
- (WebCore::HTMLElement::contentEditable):
- * html/HTMLElement.h:
- * page/DragController.cpp:
- (WebCore::DragController::operationForLoad):
- (WebCore::DragController::canProcessDrag):
- * page/EventHandler.cpp:
- (WebCore::EventHandler::handleMouseReleaseEvent):
- (WebCore::EventHandler::selectCursor):
- * page/FocusController.cpp:
- (WebCore::relinquishesEditingFocus):
- * rendering/HitTestResult.cpp:
- (WebCore::HitTestResult::isContentEditable):
- * rendering/RenderBlock.cpp:
- (WebCore::positionForPointRespectingEditingBoundaries):
- (WebCore::RenderBlock::hasLineIfEmpty):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::addOverflowFromInlineChildren):
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::canBeProgramaticallyScrolled):
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::createVisiblePosition):
- * rendering/RootInlineBox.cpp:
- (WebCore::isEditableLeaf):
- * svg/SVGAElement.cpp:
- (WebCore::SVGAElement::supportsFocus):
-
-2011-03-25 Maciej Stachowiak <mjs@apple.com>
-
- Reviewed by Antti Koivisto.
-
- Crash when a wbr element is inserted inside mroot
- https://bugs.webkit.org/show_bug.cgi?id=56352
-
- Test: mathml/wbr-in-mroot-crash.html
-
- * rendering/mathml/RenderMathMLRoot.cpp:
- (WebCore::RenderMathMLRoot::layout): Look for the first box model child of \
the first
- child, instead of just assuming.
-
-2011-03-25 Vsevolod Vlasov <vsevik@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- XML Viewer: extensions can't render original XML
- https://bugs.webkit.org/show_bug.cgi?id=56263
-
- Added source xml to transformed document, renamed onload function.
-
- * xml/XMLTreeViewer.cpp:
- (WebCore::XMLTreeViewer::transformDocumentToTreeView):
- * xml/XMLViewer.xsl:
-
-2011-03-25 Benjamin Poulain <benjamin.poulain@nokia.com>
-
- Reviewed by Andreas Kling.
-
- [Qt] Get rid of the invalid string conversion with ::fromAscii()
- https://bugs.webkit.org/show_bug.cgi?id=57102
-
- Replace ::fromAscii() with ::fromLatin1() to make sure the codec does not \
depend on the user code.
-
- * platform/network/qt/QNetworkReplyHandler.cpp:
- (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
- * platform/qt/CookieJarQt.cpp:
- (WebCore::cookies):
- (WebCore::cookieRequestHeaderFieldValue):
-
-2011-03-25 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r81953.
- http://trac.webkit.org/changeset/81953
- https://bugs.webkit.org/show_bug.cgi?id=57096
-
- "inspector test breakage: part 2/2" (Requested by apavlov on
- #webkit).
-
- * inspector/Inspector.json:
- * inspector/InspectorCSSAgent.cpp:
- (WebCore::InspectorCSSAgent::getAllStyles):
- * inspector/InspectorCSSAgent.h:
- * inspector/InspectorStyleSheet.cpp:
- (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
- * inspector/InspectorStyleSheet.h:
- * inspector/front-end/AuditRules.js:
- (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.styleSheetCallback):
- (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.allStylesCallback):
- (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
- * inspector/front-end/CSSStyleModel.js:
- (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
- (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
- (WebInspector.CSSStyleModel.prototype._onRevert):
- (WebInspector.CSSStyleSheet):
- (WebInspector.CSSStyleSheet.prototype.setText):
-
-2011-03-15 Alexander Pavlov <apavlov@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: Fix handling of the CSSAgent.setStyleSheetText() results in \
CSSStyleModel.js
- https://bugs.webkit.org/show_bug.cgi?id=56310
-
- Instead of stylesheet ids, CSSAgent.getAllStyleSheets() now returns metainfo \
objects containing
- "styleSheetId", "sourceURL", "disabled", and \
"title" fields. The latter three are not returned
- by CSSAgent.getStyleSheet() anymore.
-
- Test: inspector/styles/get-set-stylesheet-text.html
-
- * inspector/Inspector.json:
- * inspector/InspectorCSSAgent.cpp:
- (WebCore::InspectorCSSAgent::getAllStyleSheets):
- * inspector/InspectorCSSAgent.h:
- * inspector/InspectorStyleSheet.cpp:
- (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
- (WebCore::InspectorStyleSheet::buildObjectForStyleSheetInfo):
- * inspector/InspectorStyleSheet.h:
- * inspector/front-end/AuditRules.js:
- (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.styleSheetCallback):
- (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.allStylesCallback):
- (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
- * inspector/front-end/CSSStyleModel.js:
- (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
- (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
- (WebInspector.CSSStyleModel.prototype._onRevert):
- (WebInspector.CSSStyleSheet):
- (WebInspector.CSSStyleSheet.prototype.setText):
-
-2011-03-25 Pavel Feldman <pfeldman@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: extension server should not convert all resources to HAR when \
there are no extensions.
- https://bugs.webkit.org/show_bug.cgi?id=57044
-
- * inspector/front-end/ExtensionServer.js:
- (WebInspector.ExtensionServer.prototype._notifyResourceFinished):
- (WebInspector.ExtensionServer.prototype._hasSubscribers):
-
-2011-03-25 Leo Yang <leo.yang@torchmobile.com.cn>
-
- Reviewed by Nikolas Zimmermann.
-
- SVG <use> element performance improvement
- https://bugs.webkit.org/show_bug.cgi?id=57077
-
- SVG <use> element was expanding nesting <use> and <symbol> \
elements
- in an inefficient way. After it expanded an <use> or a <symbol>
- element it would restart expanding from the shadow tree root.
- This behavior was leading about 160 millions of calls to
- expandUseElementInShadowTree or expandSymbolElementInShadowTree for
- a single shadow tree which is illustrated by
- http://upload.wikimedia.org/wikipedia/commons/4/4e/Sierpinski_carpet_6.svg.
- But the effective calls, which really expand <use> or <symbol>
- elements, were about 5200; others were passing-by calls, which are
- recursively down to the children.
-
- This patch is altering the expanding path to reduce the passing-by
- calls. It will expand elements in sibling chain where there is an
- effective call, because the effective call replaces element which is
- expanded and the replacement results lose of the sibling chain of
- the replaced on the upper recursion stack. With this patch the
- passing-by calls are reduced from about 160 millions to about 30
- thousands.
-
- No functionality change, no new tests.
-
- * svg/SVGUseElement.cpp:
- (WebCore::SVGUseElement::expandUseElementsInShadowTree):
- (WebCore::SVGUseElement::expandSymbolElementsInShadowTree):
- * svg/SVGUseElement.h:
-
-2011-03-25 Dominic Cooney <dominicc@google.com>
-
- Reviewed by Kent Tamura.
-
- Makes keygen support autofocus attribute.
- https://bugs.webkit.org/show_bug.cgi?id=57091
-
- Test: fast/forms/autofocus-keygen.html
-
- * html/HTMLFormControlElement.cpp:
- (WebCore::HTMLFormControlElement::attach):
-
-2011-03-24 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Add sound / mute button to MediaControl UI
- https://bugs.webkit.org/show_bug.cgi?id=56726
-
- Add sound / mute button to MediaControl UI.
-
- * platform/efl/RenderThemeEfl.cpp:
- (WebCore::RenderThemeEfl::edjeGroupFromFormType):
- (WebCore::RenderThemeEfl::emitMediaButtonSignal):
- (WebCore::RenderThemeEfl::paintMediaMuteButton):
- * platform/efl/RenderThemeEfl.h:
-
-2011-03-24 Nikolas Zimmermann <nzimmermann@rim.com>
-
- Reviewed by Darin Adler.
-
- Introduce WTF HexNumber.h
- https://bugs.webkit.org/show_bug.cgi?id=56099
-
- Introduce a set of functions that ease converting from a bye or a number to \
a hex string,
- replacing several of these conversions and String::format("%x") \
usages all over WebCore.
-
- * ForwardingHeaders/wtf/HexNumber.h: Added.
- * css/CSSOMUtils.cpp:
- (WebCore::serializeCharacterAsCodePoint):
- * css/CSSParser.cpp:
- (WebCore::quoteCSSString):
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::createReadableStringFromBinary):
- * platform/FileSystem.cpp:
- (WebCore::encodeForFileName):
- * platform/KURL.cpp:
- (WebCore::appendEscapedChar):
- * platform/UUID.cpp:
- (WebCore::createCanonicalUUIDString):
- * platform/graphics/Color.cpp:
- (WebCore::Color::serialized):
- * platform/network/FormDataBuilder.cpp:
- (WebCore::FormDataBuilder::encodeStringAsFormData):
- * rendering/RenderTreeAsText.cpp:
- (WebCore::quoteAndEscapeNonPrintables):
-
-2011-03-24 Stephanie Lewis <slewis@apple.com>
-
- Reviewed by Geoff Garen.
-
- https://bugs.webkit.org/show_bug.cgi?id=57073
- Rework the AtomicHTMLConstructor to reserve space for attributes based on \
the size of the attribute list.
- Saves 1.5 MB on Membuster.
-
- No new tests because there was no change in behavior. Current tests pass.
-
- * html/parser/HTMLToken.h:
- (WebCore::AtomicHTMLToken::AtomicHTMLToken):
- (WebCore::AtomicHTMLToken::initializeAttributes):
-
-2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r81916 and r81917.
- http://trac.webkit.org/changeset/81916
- http://trac.webkit.org/changeset/81917
- https://bugs.webkit.org/show_bug.cgi?id=57071
-
- broke a test on platforms that do not have QuickTime installed
- (Requested by estes on #webkit).
-
- * html/HTMLEmbedElement.cpp:
- (WebCore::HTMLEmbedElement::HTMLEmbedElement):
- * html/HTMLObjectElement.cpp:
- (WebCore::HTMLObjectElement::HTMLObjectElement):
- (WebCore::HTMLObjectElement::parametersForPlugin):
- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement):
- (WebCore::HTMLPlugInImageElement::isImageType):
- (WebCore::HTMLPlugInImageElement::wouldLoadAsNetscapePlugin):
- * html/HTMLPlugInImageElement.h:
- * loader/EmptyClients.h:
- (WebCore::EmptyFrameLoaderClient::objectContentType):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::defaultObjectContentType):
- * loader/FrameLoader.h:
- * loader/FrameLoaderClient.h:
- * loader/SubframeLoader.cpp:
- (WebCore::SubframeLoader::resourceWillUsePlugin):
- (WebCore::SubframeLoader::requestObject):
- (WebCore::SubframeLoader::shouldUsePlugin):
- * loader/SubframeLoader.h:
-
-2011-03-24 Dimitri Glazkov <dglazkov@chromium.org>
-
- Reviewed by Darin Adler.
-
- Eliminate Node::dispatchGenericEvent.
- https://bugs.webkit.org/show_bug.cgi?id=57045
-
- No functional change, covered by existing tests.
-
- * dom/Node.cpp:
- (WebCore::Node::dispatchEvent): Combined with the body of \
dispatchGenericEvent,
- removed unnecessary extra refs and a stale comment.
- * dom/Node.h:
- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::dispatchLoadEvent): Changed to use dispatchEvent.
- * svg/SVGElement.cpp:
- (WebCore::SVGElement::sendSVGLoadEventIfPossible): Ditto.
- * svg/SVGElementInstance.cpp:
- (WebCore::SVGElementInstance::dispatchEvent): Ditto. The code here still
- works thanks to SVG-aware retargeting in Node.
-
-2011-03-24 Chris Rogers <crogers@google.com>
-
- Reviewed by Kenneth Russell.
-
- web audio: Properly sample-rate convert audio assets in chromium port
- https://bugs.webkit.org/show_bug.cgi?id=56980
-
- No new tests since audio API is not yet implemented.
-
- * WebCore.gypi:
- * platform/audio/AudioBus.cpp:
- (WebCore::AudioBus::createBySampleRateConverting):
- (WebCore::AudioBus::createByMixingToMono):
- * platform/audio/AudioBus.h:
- * platform/audio/HRTFKernel.cpp:
- (WebCore::extractAverageGroupDelay):
- (WebCore::HRTFKernel::HRTFKernel):
- * platform/audio/SincResampler.cpp:
- * platform/audio/chromium/AudioBusChromium.cpp:
- (WebCore::AudioBus::loadPlatformResource):
- (WebCore::createBusFromInMemoryAudioFile):
-
-2011-03-24 Rik Cabanier <cabanier@adobe.com>
-
- Reviewed by David Hyatt.
-
- REGRESSION (r81625): fast/css/percentage-non-integer.html fails on Windows
- https://bugs.webkit.org/show_bug.cgi?id=56829
-
- Test: fast/css/percentage-non-integer.html
-
- * platform/Length.h:
- (WebCore::Length::calcValue):
- (WebCore::Length::calcMinValue):
- (WebCore::Length::calcFloatValue):
-
-2011-03-24 Mihai Parparita <mihaip@chromium.org>
-
- Reviewed by James Robinson.
-
- [Chromium] Vertical Japanese text is not displayed on Snow Leopard
- https://bugs.webkit.org/show_bug.cgi?id=56962
-
- Make Snow Leopard check added by r80740 into a runtime check for
- Chromium, since it uses the same binary on both Leopard and Snow Leopard.
-
- * platform/graphics/mac/FontMac.mm:
- (WebCore::hasBrokenCTFontGetVerticalTranslationsForGlyphs):
- (WebCore::showGlyphsWithAdvances):
-
-2011-03-24 Brady Eidson <beidson@apple.com>
-
- Reviewed by Sam Weinig.
-
- https://bugs.webkit.org/show_bug.cgi?id=57058
- Hookup the UIProcess WebIconDatabase to a WebCore::IconDatabase as its \
implementation
-
- * loader/icon/IconDatabase.cpp:
- (WebCore::IconDatabase::synchronousLoadDecisionForIconURL): Only add the \
DocumentLoader to the set if it's non-zero.
- (WebCore::IconDatabase::IconDatabase): Add more logging.
- (WebCore::IconDatabase::performURLImport): Dispatch the \
"didFinishURLImport" client callback using the following 3 \
methods.
- (WebCore::FinishedURLImport::FinishedURLImport):
- (WebCore::FinishedURLImport::performWork):
- (WebCore::IconDatabase::dispatchDidFinishURLImportOnMainThread):
-
- * loader/icon/IconDatabase.h:
- (WebCore::IconDatabase::create): Expose a PassOwnPtr<> creator.
-
- * WebCore.exp.in:
-
-2011-03-23 Jer Noble <jer.noble@apple.com>
-
- Reviewed by Maciej Stachowiak.
-
- Application Cache should save audio/ and video/ mime types as flat files
- https://bugs.webkit.org/show_bug.cgi?id=53784
- <rdar://problem/8932473>
-
- No new tests.
-
- ApplicationCacheResource::create() now takes an additional "path" \
parameter. To facilitate
- extracting this path information, two functions in ApplicationCacheHost have \
been made public.
-
- * loader/appcache/ApplicationCacheGroup.cpp:
- (WebCore::ApplicationCacheGroup::didReceiveResponse): Pass along new \
"path" parameter.
- (WebCore::ApplicationCacheGroup::didFail): Ditto.
- * loader/appcache/ApplicationCacheHost.h:
- (WebCore::ApplicationCacheHost::shouldLoadResourceFromApplicationCache): \
Made public.
- (WebCore::ApplicationCacheHost::getApplicationCacheFallbackResource): Made \
public.
- * loader/appcache/ApplicationCacheResource.cpp:
- (WebCore::ApplicationCacheResource::ApplicationCacheResource): Add new \
"path" parameter.
- * loader/appcache/ApplicationCacheResource.h:
- (WebCore::ApplicationCacheResource::create): Ditto.
- (WebCore::ApplicationCacheResource::path): New accessor.
-
-2011-03-24 Andy Estes <aestes@apple.com>
-
- Reviewed by Darin Adler.
-
- REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
- https://bugs.webkit.org/show_bug.cgi?id=49016
-
- AC_QuickTime.js uses the common <object>/<embed> paradigm to \
embed the
- QuickTime plug-in in web pages. r70748 removed our mapping of classids
- to MIME types, which causes WebKit to fall back from the object to the
- embed tag when QuickTime is embedded by this script. The script emits
- the following embed tag to embed a QuickTime movie with a poster frame:
-
- <embed src="poster-frame.png" \
target="quicktimeplayer" href="movie.mov">
-
- The expectation is that a QuickTime plug-in is instantiated to display the
- poster frame, since QuickTime registers for many common image MIME
- types. This is how Gecko behaves for embed. However, WebKit prefers to
- use its native image rendering for image embeds, in which case no movie
- is played when the poster frame is clicked.
-
- Fix this by changing embed to check for a plug-in that can handle the
- image type before rendering the image natively. This matches Gecko.
-
- Test: fast/images/embed-image-plugins-disabled.html
-
- * html/HTMLObjectElement.cpp:
- (WebCore::HTMLObjectElement::parametersForPlugin):
- * html/HTMLPlugInImageElement.cpp:
- (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement):
- (WebCore::HTMLPlugInImageElement::isImageType):
- (WebCore::HTMLPlugInImageElement::wouldLoadAsNetscapePlugin):
- * html/HTMLPlugInImageElement.h:
- (WebCore::HTMLPlugInImageElement::preferPluginsForImages):
- * loader/EmptyClients.h:
- (WebCore::EmptyFrameLoaderClient::objectContentType):
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::defaultObjectContentType):
- * loader/FrameLoader.h:
- * loader/FrameLoaderClient.h:
- * loader/SubframeLoader.cpp:
- (WebCore::SubframeLoader::resourceWillUsePlugin):
- (WebCore::SubframeLoader::requestPlugin):
- (WebCore::SubframeLoader::requestObject):
- (WebCore::SubframeLoader::shouldUsePlugin):
- * loader/SubframeLoader.h:
-
-2011-03-24 Mike Reed <reed@google.com>
-
- Reviewed by James Robinson.
-
- Move lifetime management of grContext from a global to being
- per-SharedGraphicsContext3D, which correctly is 1:1 with the
- underlying opengl context.
- https://bugs.webkit.org/show_bug.cgi?id=54330
-
- No new tests. Existing <canvas> tests exercise this:
-
- * platform/graphics/chromium/DrawingBufferChromium.cpp:
- (WebCore::DrawingBuffer::DrawingBuffer):
- (WebCore::DrawingBuffer::~DrawingBuffer):
- (WebCore::DrawingBuffer::publishToPlatformLayer):
- (WebCore::DrawingBuffer::setGrContext):
- * platform/graphics/gpu/DrawingBuffer.h:
- * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
- (WebCore::SharedGraphicsContext3D::SharedGraphicsContext3D):
- (WebCore::SharedGraphicsContext3D::~SharedGraphicsContext3D):
- (WebCore::SharedGraphicsContext3D::getGrContext):
- * platform/graphics/gpu/SharedGraphicsContext3D.h:
- * platform/graphics/skia/PlatformContextSkia.cpp:
- (WebCore::PlatformContextSkia::~PlatformContextSkia):
- (WebCore::PlatformContextSkia::setSharedGraphicsContext3D):
-
-2011-03-24 Dimitri Glazkov <dglazkov@chromium.org>
-
- Reviewed by Darin Adler.
-
- Untangle dependency between event ancestor chain computation and \
InspectorDOMAgent.
- https://bugs.webkit.org/show_bug.cgi?id=57050
-
- Inspector's list of event listeners does not need to invoke \
Node::getEventListeners,
- because it simply wants to collect all ancestors and never uses EventContext \
bits.
-
- No functional change, covered by existing tests.
-
- * dom/Node.cpp:
- (WebCore::getEventAncestors): Converted into a static function.
- (WebCore::Node::dispatchGenericEvent): Changed to pass node to \
getEventAncestors.
- * dom/Node.h: Removed decl, moved EventDispatchBehavior enum inside.
- * inspector/InspectorDOMAgent.cpp:
- (WebCore::InspectorDOMAgent::getEventListenersForNode): Replaced the call
- to getEventAncestors with a simple ancestor traversal loop.
-
-2011-03-24 Adam Klein <adamk@chromium.org>
-
- Reviewed by David Levin.
-
- [fileapi] Make FileError and FileException accessible from WorkerContext
- https://bugs.webkit.org/show_bug.cgi?id=57041
-
- * workers/WorkerContext.idl:
-
-2011-03-24 Sam Weinig <sam@webkit.org>
-
- Reviewed by Anders Carlsson.
-
- Remove legacy version of findPlainText.
- https://bugs.webkit.org/show_bug.cgi?id=57056
-
- * editing/TextIterator.cpp:
- * editing/TextIterator.h:
- Remove legacy overload of findPlainText that doesn't
- take an options parameter.
-
-2011-03-24 Geoffrey Garen <ggaren@apple.com>
-
- Reviewed by Oliver Hunt.
-
- Ensure that all compilation takes place within a dynamic global object scope
- https://bugs.webkit.org/show_bug.cgi?id=57054
-
- * bindings/js/JSErrorHandler.cpp:
- (WebCore::JSErrorHandler::handleEvent):
- * bindings/js/JSEventListener.cpp:
- (WebCore::JSEventListener::handleEvent): Updated for signature change.
-
-2011-03-24 John Bauman <jbauman@chromium.org>
-
- Reviewed by Kenneth Russell.
-
- preserveDrawingBuffer=true is ignored
- https://bugs.webkit.org/show_bug.cgi?id=56987
-
- Add code to the V8 and JSC bindings to support grabbing the value of
- preserveDrawingBuffer from the input context attributes. Also, in
- WebGLRenderingContext use the WebGLContextAttributes that were input
- directly, not those from the GraphicsContext3D which could have been
- changed.
-
- No new tests, as this can't be tested with DRT. However, this works
- when tested manually.
-
- * bindings/js/JSHTMLCanvasElementCustom.cpp:
- (WebCore::JSHTMLCanvasElement::getContext):
- * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
- (WebCore::V8HTMLCanvasElement::getContextCallback):
- * html/canvas/WebGLRenderingContext.cpp:
- (WebCore::WebGLRenderingContext::clearIfComposited):
- (WebCore::WebGLRenderingContext::paintRenderingResultsToCanvas):
-
-2011-03-24 Enrica Casucci <enrica@apple.com>
-
- Reviewed by Alexey Proskuryakov.
-
- WebKit2:Services menu item to convert selected Simplified/Traditional \
Chinese Text is not working.
- https://bugs.webkit.org/show_bug.cgi?id=56975
- <rdar://problem/8915066>
-
- Adding support in WebCore to implement readSelectionFromPasteboard
- to support Mac OS X services from WebKit2.
-
- * WebCore.exp.in:
- * editing/Editor.h:
- * editing/mac/EditorMac.mm:
- (WebCore::Editor::readSelectionFromPasteboard): Added entry point
- to call the paste functions with the specified pasteboard.
-
-2011-03-24 Vsevolod Vlasov <vsevik@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: Inspector does not show correct transfer size for synchronous \
requests
- https://bugs.webkit.org/show_bug.cgi?id=56951
-
- Fixed transfer size for synchronous load.
-
- Test: http/tests/inspector/network/network-size-sync.html
-
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::willLoadMediaElementURL):
- (WebCore::FrameLoader::commitProvisionalLoad):
- (WebCore::FrameLoader::loadResourceSynchronously):
- (WebCore::FrameLoader::loadedResourceFromMemoryCache):
- * loader/ResourceLoadNotifier.cpp:
- (WebCore::ResourceLoadNotifier::sendRemainingDelegateMessages):
- * loader/ResourceLoadNotifier.h:
-
-2011-03-24 Brady Eidson <beidson@apple.com>
-
- Reviewed by Adam Roben.
-
- https://bugs.webkit.org/show_bug.cgi?id=57030
- REGRESSION (r81782): http/tests/inspector/extensions-resources-redirect.html \
sometimes crashes WebKit2's
- web process while handling a WebIconDatabaseProxy::ReceivedIconLoadDecision \
message
-
- The callback objects had some bogus ASSERTs and missed a relevant null \
check. If a callback was waiting on
- a message back from the UIProcess, but was invalidated from within the \
WebProcess in the meantime, it's
- perfectly valid to attempt to performCallback() after the callback function \
pointer has been cleared.
-
- * loader/icon/IconDatabaseBase.h:
- (WebCore::EnumCallback::performCallback):
- (WebCore::EnumCallback::invalidate):
- (WebCore::EnumCallback::EnumCallback):
- (WebCore::ObjectCallback::performCallback):
- (WebCore::ObjectCallback::invalidate):
- (WebCore::ObjectCallback::ObjectCallback):
-
-2011-03-24 Sam Weinig <sam@webkit.org>
-
- Reviewed by Darin Adler.
-
- Dictionary text extraction is not correctly detecting word boundaries on \
bing.com
- <rdar://problem/9078569>
- https://bugs.webkit.org/show_bug.cgi?id=56995
-
- * WebCore.exp.in:
- Add some editing related exports needed by WebKit2.
-
-2011-03-24 Andy Estes <aestes@apple.com>
-
- Reviewed by Eric Seidel.
-
- REGRESSION (r80231): Bad cast in HTMLTreeBuilder with closed </form> \
tags
- https://bugs.webkit.org/show_bug.cgi?id=56836
-
- During fragment parsing, HTMLConstructionSite holds a reference to the
- fragment context's closest form ancestor. If a misnested form end tag is
- then encountered as the first node of the fragment, we will check to see
- if a corresponding form start tag is in scope even though no such tag
- exists. This led to isScope() walking the HTMLElementStack all the way
- to the root DocumentFragment and attempting to cast it to Element*.
-
- Fix this by ensuring that the inScope() family of functions operate in
- terms of ContainerNodes to account for the fragment case.
-
- Test: fast/parser/fragment-closest-form-ancestor.html
-
- * html/parser/HTMLElementStack.cpp:
- (WebCore::HTMLNames::isRootNode):
- (WebCore::HTMLNames::isScopeMarker):
- (WebCore::HTMLNames::isTableScopeMarker):
- (WebCore::HTMLNames::isTableBodyScopeMarker):
- (WebCore::HTMLNames::isTableRowScopeMarker):
- (WebCore::HTMLElementStack::hasOnlyHTMLElementsInScope):
- (WebCore::HTMLElementStack::inScope):
-
-2011-03-24 Enrica Casucci <enrica@apple.com>
-
- Reviewed by Darin Adler.
-
- Repeated copy and paste-in-place operation results in increasingly verbose \
HTML.
- <rdar://problem/8690506>
- https://bugs.webkit.org/show_bug.cgi?id=56874
-
- When we calculate the style to apply at the insertion point we compare the \
initial
- style at the insertion point against the style calculated at the span we \
wrap the
- copied markup fragment with. We could end up with a series of unnecessary \
spans
- to remove the initial style that simply grow our markup.
- The consists in moving the insertion point outside any inline element that \
could
- affect the fragment being inserted when we are not pasting and matching the \
style.
-
- Test: editing/pasteboard/paste-text-with-style.html
-
- * editing/ReplaceSelectionCommand.cpp:
- (WebCore::isInlineNodeWithStyle): Added.
- (WebCore::ReplaceSelectionCommand::doApply): Added logic to change the \
insertion
- point according to the new rules.
-
-2011-03-24 Benjamin Poulain <benjamin.poulain@nokia.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [Qt] When we render WebGL offscreen, color conversion cost a lot of CPU \
cycles
- https://bugs.webkit.org/show_bug.cgi?id=40884
-
- The software fallback is now only needed for corner cases like a manual \
rendering
- of the page to QImage.
-
- Keeping the image with the last pixel values is no longer needed. Removing \
it reduce the
- performance for real-time rendering on software surface, but this case \
should no longer be
- supported.
-
- The conversion from OpenGL color space and coordinates is done manually for \
performance. This
- also fix the bug of the inverted X axis due to the transformation.
-
- The tests and benchmarks are done through Qt API tests.
-
- * platform/graphics/qt/GraphicsContext3DQt.cpp:
- (WebCore::swapBgrToRgb):
- (WebCore::GraphicsContext3DInternal::paint):
- (WebCore::GraphicsContext3D::reshape):
-
-2011-03-24 Nat Duca <nduca@chromium.org>
-
- Reviewed by James Robinson.
-
- [chromium] Remove bool that forces compositor HUD to always be enabled
- https://bugs.webkit.org/show_bug.cgi?id=57034
-
- * platform/graphics/chromium/cc/CCHeadsUpDisplay.h:
- (WebCore::CCHeadsUpDisplay::enabled):
-
-2011-03-24 Nat Duca <nduca@chromium.org>
-
- Reviewed by Kenneth Russell.
-
- [chromium] Add traceEvents to compositor
- https://bugs.webkit.org/show_bug.cgi?id=56965
-
- * WebCore.gypi:
- * platform/chromium/TraceEvent.h: Added.
- (WebCore::internal::ScopeTracer::ScopeTracer):
- (WebCore::internal::ScopeTracer::~ScopeTracer):
- * platform/graphics/chromium/LayerRendererChromium.cpp:
- (WebCore::LayerRendererChromium::updateRootLayerContents):
- (WebCore::LayerRendererChromium::updateRootLayerScrollbars):
- (WebCore::LayerRendererChromium::updateLayers):
- (WebCore::LayerRendererChromium::drawLayers):
- (WebCore::LayerRendererChromium::finish):
- (WebCore::LayerRendererChromium::present):
- * platform/graphics/chromium/LayerTilerChromium.cpp:
- (WebCore::LayerTilerChromium::update):
-
-2011-03-24 Pavel Feldman <pfeldman@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: render XHRs matching JSON regex as JSON.
- https://bugs.webkit.org/show_bug.cgi?id=57035
-
- * English.lproj/localizedStrings.js:
- * WebCore.gypi:
- * WebCore.vcproj/WebCore.vcproj:
- * inspector/front-end/NetworkItemView.js:
- (WebInspector.NetworkItemView):
- * inspector/front-end/RemoteObject.js:
- (WebInspector.LocalJSONObject.prototype.get description.switch.case):
- (WebInspector.LocalJSONObject.prototype.get description):
- (WebInspector.LocalJSONObject.prototype._concatenate):
- (WebInspector.LocalJSONObject.prototype.getProperties):
- (WebInspector.LocalJSONObject.prototype._children):
- * inspector/front-end/ResourceJSONView.js: Added.
- (WebInspector.ResourceJSONView):
- (WebInspector.ResourceJSONView.parseJSON.WebInspector.ResourceJSONView.prototype.hasContent):
- (WebInspector.ResourceJSONView.parseJSON.WebInspector.ResourceJSONView.prototype.show):
- (WebInspector.ResourceJSONView.parseJSON.WebInspector.ResourceJSONView.prototype._initialize):
- * inspector/front-end/WebKit.qrc:
- * inspector/front-end/inspector.css:
- (.resource-view.json):
- * inspector/front-end/inspector.html:
-
-2011-03-24 Dimitri Glazkov <dglazkov@chromium.org>
-
- Reviewed by Darin Adler.
-
- Move media controls subtree creation into one method.
- https://bugs.webkit.org/show_bug.cgi?id=56969
-
- Mechanical move, no changes in functionality.
-
- The purpose of this patch is to align existing code closer with its
- future version, when MediaControls is an element whose tree is created
- at the instantiation.
-
- * html/shadow/MediaControls.cpp:
- (WebCore::MediaControls::create): Added, consolidating all subtree \
generation logic into one place.
- (WebCore::MediaControls::update): Replaced methods with one call.
- * html/shadow/MediaControls.h: Updated decls.
- * rendering/MediaControlElements.cpp:
- (WebCore::MediaControlTimelineElement::create): Moved setting of attributes \
here.
- (WebCore::MediaControlVolumeSliderElement::create): Ditto.
-
-2011-03-24 Steve Falkenburg <sfalken@apple.com>
-
- Reviewed by Darin Adler.
-
- Use proper string method to generate webloc string.
- https://bugs.webkit.org/show_bug.cgi?id=57028
- <rdar://problem/9181955>
-
- * platform/win/ClipboardUtilitiesWin.cpp:
- (WebCore::getWebLocData):
-
-2011-03-24 Ben Taylor <bentaylor.solx86@gmail.com>
-
- Reviewed by Alexey Proskuryakov.
-
- https://bugs.webkit.org/show_bug.cgi?id=32821
- Fix conditionals which had an int for one case and a pointer for another.
- Fix is similar to https://bugs.webkit.org/show_bug.cgi?id=56198
-
- No new tests. Fix compilation on Solaris 10 with SunStudio 12 C++
-
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::CSSComputedStyleDeclaration::valueForShadow):
-
-2011-03-24 Pavel Podivilov <podivilov@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: provide live edit callback to source frame delegate.
- https://bugs.webkit.org/show_bug.cgi?id=57003
-
- * inspector/front-end/DebuggerModel.js:
- (WebInspector.DebuggerModel.prototype.editScriptSource):
- (WebInspector.DebuggerModel.prototype._didEditScriptSource):
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel):
- (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
- (WebInspector.DebuggerPresentationModel.prototype.editScriptSource.didEditScriptSource):
- (WebInspector.DebuggerPresentationModel.prototype.editScriptSource):
- (WebInspector.DebuggerPresentationModel.prototype._updateBreakpointsAfterLiveEdit):
- (WebInspector.DebuggerPresentationModel.prototype._scriptForSourceFileId):
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype._createSourceFrame):
- (WebInspector.SourceFrameDelegateForScriptsPanel):
- (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.canEditScriptSource):
- (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.editScriptSource):
-
-2011-03-24 Benjamin Poulain <benjamin.poulain@nokia.com>
-
- Reviewed by Andreas Kling.
-
- Regression: WebKit does not build with Python 3 following 56807
- https://bugs.webkit.org/show_bug.cgi?id=56923
-
- The module string does not have the function replace in Python 3. The \
str.replace function
- can do the same operation in this case and works with the versions 2 and 3.
-
- * inspector/generate-inspector-idl:
-
-2011-03-24 Pavel Feldman <pfeldman@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: brush up Network agent API.
- https://bugs.webkit.org/show_bug.cgi?id=57001
-
- * inspector/Inspector.json:
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::willSendRequestImpl):
- * inspector/InspectorInstrumentation.h:
- (WebCore::InspectorInstrumentation::willSendRequest):
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::buildObjectForResourceRequest):
- (WebCore::buildObjectForResourceResponse):
- (WebCore::buildObjectForCachedResource):
- (WebCore::InspectorResourceAgent::willSendRequest):
- (WebCore::InspectorResourceAgent::willSendWebSocketHandshakeRequest):
- (WebCore::InspectorResourceAgent::didReceiveWebSocketHandshakeResponse):
- (WebCore::InspectorResourceAgent::setExtraHeaders):
- * inspector/InspectorResourceAgent.h:
- * inspector/TimelineRecordFactory.cpp:
- (WebCore::TimelineRecordFactory::createResourceReceiveResponseData):
- * inspector/front-end/NetworkManager.js:
- (WebInspector.NetworkDispatcher.prototype._updateResourceWithRequest):
- (WebInspector.NetworkDispatcher.prototype._updateResourceWithResponse):
- (WebInspector.NetworkDispatcher.prototype._updateResourceWithCachedResource):
- (WebInspector.NetworkDispatcher.prototype.willSendRequest):
- (WebInspector.NetworkDispatcher.prototype.didReceiveWebSocketHandshakeResponse):
- (WebInspector.NetworkDispatcher.prototype.didCloseWebSocket):
- * inspector/front-end/Resource.js:
- * inspector/front-end/TimelinePanel.js:
- (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent):
- * loader/ResourceLoadNotifier.cpp:
- (WebCore::ResourceLoadNotifier::assignIdentifierToInitialRequest):
- (WebCore::ResourceLoadNotifier::dispatchWillSendRequest):
- * loader/appcache/ApplicationCacheGroup.cpp:
- (WebCore::ApplicationCacheGroup::createResourceHandle):
-
-2011-03-11 Steve Block <steveblock@google.com>
-
- Reviewed by Jeremy Orlow.
-
- JNIType is not specific to JNI so should be renamed
- https://bugs.webkit.org/show_bug.cgi?id=56197
-
- This patch renames JNIType to JavaType, renames the values of
- the enum, and moves it out of JNIUtility.h to its own file.
- Also renames the corresponding JavaField and JavaMethod getters.
-
- No new tests, refactoring only.
-
- * GNUmakefile.am:
- * WebCore.gypi:
- * WebCore.xcodeproj/project.pbxproj:
- * bridge/jni/JNIUtility.cpp:
- (JSC::Bindings::javaTypeFromClassName):
- (JSC::Bindings::signatureFromJavaType):
- (JSC::Bindings::javaTypeFromPrimitiveType):
- (JSC::Bindings::getJNIField):
- (JSC::Bindings::callJNIMethod):
- * bridge/jni/JNIUtility.h:
- * bridge/jni/JavaMethod.cpp:
- (JavaMethod::JavaMethod):
- (JavaMethod::signature):
- * bridge/jni/JavaMethod.h:
- (JSC::Bindings::JavaMethod::returnTypeClassName):
- (JSC::Bindings::JavaMethod::returnType):
- * bridge/jni/JavaType.h: Copied from Source/WebCore/bridge/jni/JavaMethod.h.
- * bridge/jni/jni_jsobject.mm:
- (JavaJSObject::toString):
- * bridge/jni/jni_objc.mm:
- (JSC::Bindings::dispatchJNICall):
- * bridge/jni/jsc/JNIUtilityPrivate.cpp:
- (JSC::Bindings::convertArrayInstanceToJavaArray):
- (JSC::Bindings::convertValueToJValue):
- * bridge/jni/jsc/JNIUtilityPrivate.h:
- * bridge/jni/jsc/JavaArrayJSC.cpp:
- (JavaArray::setValueAt):
- (JavaArray::valueAt):
- * bridge/jni/jsc/JavaClassJSC.cpp:
- * bridge/jni/jsc/JavaFieldJSC.cpp:
- (JavaField::JavaField):
- (JavaField::dispatchValueFromInstance):
- (JavaField::valueFromInstance):
- (JavaField::dispatchSetValueToInstance):
- (JavaField::setValueToInstance):
- * bridge/jni/jsc/JavaFieldJSC.h:
- (JSC::Bindings::JavaField::typeClassName):
- (JSC::Bindings::JavaField::type):
- * bridge/jni/jsc/JavaInstanceJSC.cpp:
- (JavaInstance::invokeMethod):
- * bridge/jni/v8/JNIUtilityPrivate.cpp:
- (JSC::Bindings::convertNPVariantToJValue):
- (JSC::Bindings::convertJValueToNPVariant):
- * bridge/jni/v8/JNIUtilityPrivate.h:
- * bridge/jni/v8/JavaFieldV8.cpp:
- (JavaField::JavaField):
- * bridge/jni/v8/JavaFieldV8.h:
- (JSC::Bindings::JavaField::typeClassName):
- (JSC::Bindings::JavaField::type):
- * bridge/jni/v8/JavaInstanceV8.cpp:
- (JavaInstance::invokeMethod):
- (JavaInstance::getField):
- * bridge/jni/v8/JavaNPObjectV8.cpp:
- (JSC::Bindings::JavaNPObjectInvoke):
- (JSC::Bindings::JavaNPObjectGetProperty):
-
-2011-03-24 Ojan Vafai <ojan@chromium.org>
-
- Was being a little braindead when I committed this.
- Only simple selectors are allowed, but sibling selectors
- are sibling selectors.
-
- * css/CSSStyleSelector.cpp:
- (WebCore::collectFeaturesFromList):
-
-2011-03-23 MORITA Hajime <morrita@google.com>
-
- Reviewed by Kent Tamura.
-
- Spellcheck feature specific symbols should be defined.
- https://bugs.webkit.org/show_bug.cgi?id=56818
-
- * Introduced USE(UNIFIED_TEXT_CHECKING), USE(GRAMMAR_CHECKING) and \
USE(AUTOMATIC_TEXT_REPLACEMENT)
- * Replaced a part of of BUILDING_ON_* conditionals with them.
-
- Note that small amount of code path on Editor.cpp is now compiled under \
USE(GRAMMAR_CHECKING)
- because these code path is already built under non-Mac ports and
- Keeping them buildable for such platforms reduces the build breakage risk.
- These path is guarded by Settings thus should never get reached.
-
- No new tests. No behavioral change.
-
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * editing/Editor.cpp:
- (WebCore::Editor::advanceToNextMisspelling):
- (WebCore::Editor::isSelectionUngrammatical):
- (WebCore::Editor::guessesForUngrammaticalSelection):
- (WebCore::Editor::guessesForMisspelledOrUngrammaticalSelection):
- (WebCore::Editor::markMisspellingsAfterTypingToWord):
- (WebCore::Editor::markMisspellingsOrBadGrammar):
- (WebCore::Editor::markBadGrammar):
- (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
- (WebCore::Editor::changeBackToReplacedString):
- (WebCore::Editor::markMisspellingsAndBadGrammar):
- * editing/Editor.h:
- * editing/TextCheckingHelper.cpp:
- (WebCore::TextCheckingHelper::findFirstMisspellingOrBadGrammar):
- (WebCore::TextCheckingHelper::findFirstGrammarDetail):
- (WebCore::TextCheckingHelper::findFirstBadGrammar):
- (WebCore::TextCheckingHelper::isUngrammatical):
- (WebCore::TextCheckingHelper::guessesForMisspelledOrUngrammaticalRange):
- (WebCore::TextCheckingHelper::markAllBadGrammar):
- * loader/EmptyClients.h:
- * platform/text/TextCheckerClient.h:
- * platform/text/TextChecking.h: Added.
-
-2011-03-23 Kent Tamura <tkent@chromium.org>
-
- Reviewed by Dimitri Glazkov.
-
- [Chromium] Force to make validation bubble DIV position:absolute
- https://bugs.webkit.org/show_bug.cgi?id=56901
-
- Test: fast/forms/interactive-validation-crash-by-style-override.html
-
- * html/ValidationMessage.cpp:
- (WebCore::ValidationMessage::buildBubbleTree): Add position:absolute
- because we need to move the validation message to a good position.
- * rendering/RenderMenuList.cpp:
- (WebCore::RenderMenuList::addChild):
-
-2011-03-23 Mike Lawther <mikelawther@chromium.org>
-
- Reviewed by Ojan Vafai.
-
- flex/bison tokens and grammar for CSS calc
- https://bugs.webkit.org/show_bug.cgi?id=54412
-
- Tests: css3/calc/calc-errors.html
- css3/calc/minmax-errors.html
- css3/calc/simple-calcs.html
- css3/calc/simple-minmax.html
-
- * css/CSSGrammar.y:
- * css/CSSParserValues.cpp:
- (WebCore::CSSParserValueList::insertValueAt):
- (WebCore::CSSParserValueList::extend):
- * css/CSSParserValues.h:
- * css/tokenizer.flex:
-
-2011-03-23 Adam Klein <adamk@chromium.org>
-
- Reviewed by David Levin.
-
- Fix resolveLocalFileSystemURL (and sync version) error codes to match the \
spec
- https://bugs.webkit.org/show_bug.cgi?id=56961
-
- See error code listing in the Files & Directories spec:
- http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#widl-LocalFileSystemSync-resolveLocalFileSystemSyncURL
-
- Note that the spec currently only specifies errors for the sync
- version; I've used the same codes for the async version.
-
- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::resolveLocalFileSystemURL):
- * workers/WorkerContext.cpp:
- (WebCore::WorkerContext::resolveLocalFileSystemURL):
- (WebCore::WorkerContext::resolveLocalFileSystemSyncURL):
-
-2011-03-23 Jia Pu <jpu@apple.com>
-
- Reviewed by Darin Adler.
-
- Hook up new AppKit autocorrection UI with WK2.
- https://bugs.webkit.org/show_bug.cgi?id=56055
- <rdar://problem/8947463>
-
- This patch is to enable WK2 to utilize autocorrection UI on Mac OS X. It \
contains following
- major changes:
-
- 1. All but one autocorrection related message is synchronous. Since \
dismissing autocorrection
- panel can potentially cause editing to occur, a synchronous \
dismissCorrectionPanelSoon() function
- is introduced to ensure all editing commands occur in correct order.
-
- 2. Additional condition variable is needed to implement \
dismissCorrectionPanelSoon().
- To improve maintainability, CorrectionPanel class is introduced to manage \
the
- internal state related to correction panel. This change is applied to both \
WK1 and WK2.
-
- 3. EditorClient::isShowingCorrectionPanel() has been removed. The original \
purpose is to allow
- editor to know when to handle ESC key event. Now this is handled internally \
in AppKit, so
- EditorClient::isShowingCorrectionPanel() isn't necessary anymore.
-
- 4. The Editor* argument in EditorClient::showCorrectionPanel() has been \
removed, since we can
- access object via WebView or WKView.
-
- * editing/Editor.cpp:
- (WebCore::Editor::markMisspellingsAfterTypingToWord):
- (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
- (WebCore::Editor::correctionPanelTimerFired):
- (WebCore::Editor::dismissCorrectionPanel):
- (WebCore::Editor::dismissCorrectionPanelSoon):
- (WebCore::Editor::applyAutocorrectionBeforeTypingIfAppropriate):
- * editing/Editor.h:
- * editing/EditorCommand.cpp:
- (WebCore::createCommandMap):
- * loader/EmptyClients.h:
- (WebCore::EmptyEditorClient::showCorrectionPanel):
- (WebCore::EmptyEditorClient::dismissCorrectionPanelSoon):
- * manual-tests/autocorrection/close-window-when-correction-is-shown.html: \
Added.
- * page/EditorClient.h:
-
-2011-03-22 Ojan Vafai <ojan@chromium.org>
-
- Reviewed by Antti Koivisto.
-
- move :not over to using selectorList instead of simpleSelector
- https://bugs.webkit.org/show_bug.cgi?id=56894
-
- Saves memory and simplifies code.
-
- No new tests since existing tests cover this code.
-
- * css/CSSGrammar.y:
- Also removed extranenous calls to updateLastSelectorLineAndPosition in
- simple_selector_list. These happened to work, but are only actually
- needed in selector_list.
- * css/CSSParserValues.h:
- * css/CSSSelector.cpp:
- (WebCore::CSSSelector::specificityForOneSelector):
- Removed null-check. The parser null-checks, I don't see why we need to here.
- (WebCore::CSSSelector::selectorText):
- Ditto.
- (WebCore::CSSSelector::setArgument):
- (WebCore::CSSSelector::isSimple):
- * css/CSSSelector.h:
- * css/CSSSelectorList.cpp:
- (WebCore::forEachTagSelector):
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
- (WebCore::collectFeaturesFromSelector):
- (WebCore::collectFeaturesFromList):
-
-2011-03-23 Carol Szabo <carol.szabo@nokia.com>
-
- Reviewed by David Hyatt.
-
- Made sure that renderers displaying counters are invalidated upon
- counter destruction.
-
- Assertion and incorrect rendering of counters.
- https://bugs.webkit.org/show_bug.cgi?id=56896
-
- Test: fast/css/counters/2displays.html
-
- * rendering/CounterNode.cpp:
- (WebCore::CounterNode::~CounterNode):
- Added to make sure that its display renderers are always reset when
- the node is deleted.
- (WebCore::CounterNode::resetRenderers):
- Fixed bug that would prevent reset of second and subsequent
- display renderers.
- * rendering/CounterNode.h:
- * rendering/RenderCounter.cpp:
- (WebCore::destroyCounterNodeWithoutMapRemoval):
- removed unnecessary calls to resetRenderers() as the CounterNode
- destructor takes care of that now.
-
-2011-03-23 Brian Weinstein <bweinstein@apple.com>
-
- Reviewed by Maciej Stachowiak.
-
- WebKit2: Need API to manage the Media Cache
- https://bugs.webkit.org/show_bug.cgi?id=56878
- <rdar://problem/9082503>
-
- Add functions that need to be exported.
-
- * WebCore.exp.in:
-
-2011-03-23 Robert Kroeger <rjkroege@chromium.org>
-
- Reviewed by James Robinson.
-
- Correct use of ENABLE() Macro
-
- In http://trac.webkit.org/changeset/81618, I mis-used the ENABLE()
- macro. This patch corrects.
-
- https://bugs.webkit.org/show_bug.cgi?id=56964
-
- * page/EventHandler.cpp:
- (WebCore::EventHandler::EventHandler):
- (WebCore::EventHandler::handleTouchEvent):
- * page/EventHandler.h:
-
-2011-03-23 Jer Noble <jer.noble@apple.com>
-
- Reviewed by Simon Fraser.
-
- Scrubbing <video> with HTTP Live Stream resizes element to 0x0
- https://bugs.webkit.org/show_bug.cgi?id=55702
-
- QTKit will occasionally set the natural size of a QTMovie to 0x0 while \
scrubbing
- an HTTP Live Stream. So we will cache the last valid value returned by \
QTKit
- and use that as our naturalSize until a new valid value is returned.
-
- Unfortunately, QTKit will also fail to generate a notification when the \
natural size
- changes, so we are forced to cache the natural size from within \
naturalSize(), which
- is a const function, necessitating a const_cast to set m_cachedNaturalSize.
-
- * platform/graphics/mac/MediaPlayerPrivateQTKit.h: Added \
m_cachedNaturalSize.
- * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
- (WebCore::MediaPlayerPrivateQTKit::MediaPlayerPrivateQTKit): Initialize \
m_cachedNaturalSize.
- (WebCore::MediaPlayerPrivateQTKit::naturalSize):
-
-2011-03-23 Alexey Proskuryakov <ap@apple.com>
-
- Build fix.
-
- * loader/FrameLoader.cpp: \
(WebCore::FrameLoader::checkLoadCompleteForThisFrame):
- Removed a stray parenthesis.
-
-2011-03-23 Alexey Proskuryakov <ap@apple.com>
-
- Reviewed by Maciej Stachowiak.
-
- REGRESSION: Infinite recursion in \
recursiveCheckLoadComplete()/checkLoadCompleteForThisFrame()/stopLoading()
- https://bugs.webkit.org/show_bug.cgi?id=56978
- <rdar://problem/9041670>
-
- No new tests, because there is no known way to reproduce.
-
- Removed strange code that was trying to stop a non-loading provisional \
document loader and
- even its subframes (?!). Added assertions to catch it if we can actually be \
loading here in
- some sense.
- Rewrote a condition for clarity - starting with r43148, it was acting as an \
opposite of a
- recursion guard (but that didn't cause immediate problems then).
-
- * loader/FrameLoader.cpp: \
(WebCore::FrameLoader::checkLoadCompleteForThisFrame):
-
-2011-03-23 Brady Eidson <beidson@apple.com>
-
- Attempt to fix the build for platforms that have the icon database
- disabled but still provide settings API for it...?
-
- * loader/icon/IconDatabase.h:
- (WebCore::IconDatabase::defaultDatabaseFilename):
-
-2011-03-23 Mark Rowe <mrowe@apple.com>
-
- Fix the build.
-
- * WebCore.exp.in: Export the new version of IconDatabase::open.
-
-2011-03-23 Brady Eidson <beidson@apple.com>
-
- Reviewed by Sam Weinig.
-
- Change IconDatabase opening to allow for arbitrary filenames
- https://bugs.webkit.org/show_bug.cgi?id=56977
-
- * WebCore.exp.in:
- * loader/icon/IconDatabase.cpp:
- (WebCore::IconDatabase::open):
- * loader/icon/IconDatabase.h:
- * loader/icon/IconDatabaseBase.cpp:
- (WebCore::IconDatabaseBase::open):
- * loader/icon/IconDatabaseBase.h:
- * loader/icon/IconDatabaseClient.h:
-
-2011-03-23 Kenneth Russell <kbr@google.com>
-
- Reviewed by James Robinson.
-
- [chromium] WebGLRenderingContext and other DOMWindow properties should \
remain if WebGL is disabled
- https://bugs.webkit.org/show_bug.cgi?id=56947
-
- Removed the RuntimeEnabledFeatures setting for WebGL and the
- EnabledAtRuntime extended attribute from the WebGL-related
- properties on the DOMWindow. WebGL support is now controlled
- exclusively through the page's Settings.
-
- No new tests; tested manually in Chromium with --disable-webgl
- command line argument and blacklist.
-
- * bindings/generic/RuntimeEnabledFeatures.cpp:
- * bindings/generic/RuntimeEnabledFeatures.h:
- * page/DOMWindow.idl:
-
-2011-03-23 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r81802.
- http://trac.webkit.org/changeset/81802
- https://bugs.webkit.org/show_bug.cgi?id=56963
-
- Broke a layout test, and this fix is not trivial. (Requested
- by dhyatt on #webkit).
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::layoutBlock):
- (WebCore::RenderBlock::layoutOnlyPositionedObjects):
- * rendering/RenderBlock.h:
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::styleDidChange):
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::styleWillChange):
- * rendering/RenderFlexibleBox.cpp:
- (WebCore::RenderFlexibleBox::layoutBlock):
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::RenderObject):
- (WebCore::RenderObject::adjustStyleDifference):
- (WebCore::RenderObject::setStyle):
- (WebCore::RenderObject::styleDidChange):
- * rendering/RenderObject.h:
- (WebCore::RenderObject::needsLayout):
- (WebCore::RenderObject::needsPositionedMovementLayoutOnly):
- (WebCore::RenderObject::setNeedsLayout):
- (WebCore::RenderObject::setChildNeedsLayout):
- (WebCore::RenderObject::markContainingBlocksForLayout):
- * rendering/RenderTable.cpp:
- (WebCore::RenderTable::layout):
- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::diff):
- * rendering/style/RenderStyleConstants.h:
- * rendering/svg/RenderSVGText.cpp:
- (WebCore::RenderSVGText::layout):
-
-2011-03-23 Luiz Agostini <luiz.agostini@openbossa.org>
-
- Reviewed by David Hyatt.
-
- REGRESSION(81035): crash in RenderDetails::removeChild
- https://bugs.webkit.org/show_bug.cgi?id=56773
-
- Test: fast/html/details-children-merge-crash.html
-
- Preventing merging of RenderDetails's anonymous children.
-
- * rendering/RenderBlock.cpp:
- (WebCore::canMergeContiguousAnonymousBlocks):
-
- Fixing RenderDetails::removeChild and cleaning m_marker in \
RenderDetails::destroy.
-
- * rendering/RenderDetails.cpp:
- (WebCore::RenderDetails::destroy):
- (WebCore::RenderDetails::removeChild):
-
-2011-03-23 Xiaomei Ji <xji@chromium.org>
-
- Reviewed by David Hyatt.
-
- Preserve unicode-bidi:bidi-override in anonymous block.
- https://bugs.webkit.org/show_bug.cgi?id=21440
-
- unicode-bidi:bidi-override should be preserved in anonymous block
- according to http://www.w3.org/TR/CSS21/visuren.html#propdef-unicode-bidi.
-
- Introduce a helper function RenderStyle()::createAnonymousStyle() which
- creates a default RenderStyle, inherits the inherited style from parent,
- and inherit unicode-bidi:bidi-override from parent.
- And replace the style creation when anonymous block is created.
-
- Note: the TABLE releated anonymous blocks are untouched, including:
- TABLE, TABLE_CELL, TABLE_ROW, TABLE_ROW_GROUP anonymous blocks created in
- RenderObject, RenderTable, RenderTableRow, and RenderTableSection,
- due to the expected behavior is not clear.
- Please refer to https://bugs.webkit.org/show_bug.cgi?id=56594.
-
- Test: fast/css/bidi-override-in-anonymous-block.html
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::styleDidChange):
- (WebCore::RenderBlock::removeChild):
- (WebCore::RenderBlock::createAnonymousBlock):
- (WebCore::RenderBlock::createAnonymousColumnsBlock):
- (WebCore::RenderBlock::createAnonymousColumnSpanBlock):
- * rendering/RenderInline.cpp:
- (WebCore::RenderInline::addChildIgnoringContinuation):
- * rendering/RenderRubyRun.cpp:
- (WebCore::RenderRubyRun::createRubyBase):
- (WebCore::RenderRubyRun::staticCreateRubyRun):
- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::createAnonymousStyle):
- * rendering/style/RenderStyle.h:
-
-2011-03-23 David Hyatt <hyatt@apple.com>
-
- Reviewed by Dan Bernstein.
-
- https://bugs.webkit.org/show_bug.cgi?id=56909
-
- Add a simplified normal flow layout path optimization for overflow \
recomputation
- and for positioned objects inside relative positioned containers.
-
- Currently there is an optimized code path for positioned objects, but as \
soon as
- we encounter a normal flow object in the containing block chain, we lose the
- optimization.
-
- This patch adds a new type of style difference called SimplifiedLayout that \
is
- returned when only overflow needs to be recomputed. Whenever opacity changes \
or
- a transform changes, this is the hint returned now instead of a full layout.
-
- In addition, when positioned objects need layout and start marking up the
- containing block chain, we now propagate the fact that the layout is \
simplified
- all the way up to the root, even when we encounter normal flow containing
- blocks.
-
- The layoutOnlyPositionedObjects function has been renamed to \
simplifiedLayout()
- and is now used for all of these cases (in addition to what it handled \
before).
-
- No new tests, since existing tests covered this very well (especially the \
opacity
- and transforms repaint tests in fast/repaint).
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::layoutBlock):
- (WebCore::RenderBlock::simplifiedNormalFlowLayout):
- (WebCore::RenderBlock::simplifiedLayout):
- * rendering/RenderBlock.h:
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::styleDidChange):
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::styleWillChange):
- * rendering/RenderFlexibleBox.cpp:
- (WebCore::RenderFlexibleBox::layoutBlock):
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::RenderObject):
- (WebCore::RenderObject::adjustStyleDifference):
- (WebCore::RenderObject::setStyle):
- (WebCore::RenderObject::styleDidChange):
- * rendering/RenderObject.h:
- (WebCore::RenderObject::needsLayout):
- (WebCore::RenderObject::needsPositionedMovementLayoutOnly):
- (WebCore::RenderObject::needsSimplifiedNormalFlowLayout):
- (WebCore::RenderObject::setNeedsLayout):
- (WebCore::RenderObject::setChildNeedsLayout):
- (WebCore::RenderObject::setNeedsSimplifiedNormalFlowLayout):
- (WebCore::RenderObject::markContainingBlocksForLayout):
- * rendering/RenderTable.cpp:
- (WebCore::RenderTable::layout):
- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::diff):
- * rendering/style/RenderStyleConstants.h:
- * rendering/svg/RenderSVGText.cpp:
- (WebCore::RenderSVGText::layout):
-
-2011-03-23 Tyler Close <tjclose@chromium.org>
-
- Reviewed by Jeremy Orlow.
-
- Fix ambiguous method call in V8 IDL generated code for DOMStringList \
callback parameter
- https://bugs.webkit.org/show_bug.cgi?id=56950
-
- * bindings/scripts/CodeGeneratorV8.pm:
- * bindings/scripts/test/CPP/WebDOMTestCallback.cpp:
- (WebDOMTestCallback::callbackWithStringList):
- * bindings/scripts/test/CPP/WebDOMTestCallback.h:
- * bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
- (webkit_dom_test_callback_callback_with_string_list):
- * bindings/scripts/test/GObject/WebKitDOMTestCallback.h:
- * bindings/scripts/test/JS/JSTestCallback.cpp:
- (WebCore::JSTestCallback::callbackWithStringList):
- * bindings/scripts/test/JS/JSTestCallback.h:
- * bindings/scripts/test/ObjC/DOMTestCallback.h:
- * bindings/scripts/test/ObjC/DOMTestCallback.mm:
- (-[DOMTestCallback callbackWithStringList:]):
- * bindings/scripts/test/TestCallback.idl:
- * bindings/scripts/test/V8/V8TestCallback.cpp:
- (WebCore::V8TestCallback::callbackWithStringList):
- * bindings/scripts/test/V8/V8TestCallback.h:
-
-2011-03-23 Cris Neckar <cdn@chromium.org>
-
- Reviewed by Eric Seidel.
-
- Add refptr for widget. Mutations can happen within the event handler.
- https://bugs.webkit.org/show_bug.cgi?id=56774
-
- Test: plugins/change-widget-and-click-crash.html
-
- * html/HTMLPlugInElement.cpp:
- (WebCore::HTMLPlugInElement::defaultEventHandler):
-
-2011-03-23 Abhishek Arya <inferno@chromium.org>
-
- Reviewed by Dave Hyatt.
-
- Add combine text cast checks since style property is insufficient
- in telling object types.
- https://bugs.webkit.org/show_bug.cgi?id=56358
-
- Test: fast/text/input-box-text-fragment-combine-text-crash.html
-
- * rendering/InlineTextBox.cpp:
- (WebCore::InlineTextBox::paint):
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::computeInlinePreferredLogicalWidths):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::findNextLineBreak):
- * rendering/RenderText.cpp:
- (WebCore::RenderText::widthFromCache):
-
-2011-03-23 Andreas Kling <kling@webkit.org>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [Qt] "Unwavering" HTML5 game freezes the web page.
- https://bugs.webkit.org/show_bug.cgi?id=56944
-
- For canvas's getImageData() API, we don't want to make a deep-copy of
- the pixels, which is the case on Qt's "raster" graphics system.
-
- To work around this, we trick QPixmap::toImage() into giving us the
- QPixmap's backing QImage by temporarily pointing the paint engine to
- a null paint device.
-
- * platform/graphics/qt/ImageBufferData.h:
- * platform/graphics/qt/ImageBufferQt.cpp:
- (WebCore::ImageBufferData::toQImage): Added, returns the
- ImageBufferData as a QImage, avoiding a backend deep-copy if possible.
- (WebCore::ImageBuffer::platformTransformColorSpace):
- (WebCore::getImageData):
-
-2011-03-23 Viet-Trung Luu <viettrungluu@chromium.org>
-
- Reviewed by Tony Chang.
-
- [chromium] Add FormatPlainText to WebClipboard::Format enumeration.
- https://bugs.webkit.org/show_bug.cgi?id=56868
-
- Chromium's WebClipboard::isFormatAvailable() will be correspondingly
- extended.
-
- * platform/chromium/PasteboardPrivate.h: Add corresponding enum entry.
- This part of the change is inert and should have no effect.
-
-2011-03-23 Tyler Close <tjclose@chromium.org>
-
- Reviewed by Jeremy Orlow.
-
- run-bindings-tests reference files are out of sync with CodeGenerator*.pm
- https://bugs.webkit.org/show_bug.cgi?id=56934
-
- * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
- * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
- * bindings/scripts/test/JS/JSTestInterface.cpp:
- (WebCore::JSTestInterfaceConstructor::createStructure):
- (WebCore::JSTestInterfaceConstructor::JSTestInterfaceConstructor):
- (WebCore::JSTestInterface::createPrototype):
- * bindings/scripts/test/JS/JSTestInterface.h:
- (WebCore::JSTestInterface::createStructure):
- (WebCore::JSTestInterfacePrototype::createStructure):
- * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
- (WebCore::JSTestMediaQueryListListenerConstructor::createStructure):
- (WebCore::JSTestMediaQueryListListenerConstructor::JSTestMediaQueryListListenerConstructor):
- (WebCore::JSTestMediaQueryListListener::createPrototype):
- * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
- (WebCore::JSTestMediaQueryListListener::createStructure):
- (WebCore::JSTestMediaQueryListListenerPrototype::createStructure):
- * bindings/scripts/test/JS/JSTestObj.cpp:
- (WebCore::JSTestObjConstructor::createStructure):
- (WebCore::JSTestObjConstructor::JSTestObjConstructor):
- (WebCore::JSTestObj::createPrototype):
- * bindings/scripts/test/JS/JSTestObj.h:
- (WebCore::JSTestObj::createStructure):
- (WebCore::JSTestObjPrototype::createStructure):
- * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
- (WebCore::JSTestSerializedScriptValueInterfaceConstructor::createStructure):
- (WebCore::JSTestSerializedScriptValueInterfaceConstructor::JSTestSerializedScriptValueInterfaceConstructor):
- (WebCore::JSTestSerializedScriptValueInterface::createPrototype):
- * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
- (WebCore::JSTestSerializedScriptValueInterface::createStructure):
- (WebCore::JSTestSerializedScriptValueInterfacePrototype::createStructure):
- * bindings/scripts/test/V8/V8TestCallback.cpp:
- * bindings/scripts/test/V8/V8TestInterface.cpp:
- (WebCore::V8TestInterface::wrapSlow):
- * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
- (WebCore::V8TestMediaQueryListListener::wrapSlow):
- * bindings/scripts/test/V8/V8TestObj.cpp:
- (WebCore::V8TestObj::wrapSlow):
- * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
- (WebCore::V8TestSerializedScriptValueInterface::wrapSlow):
-
-2011-03-23 Daniel Bates <dbates@rim.com>
-
- Reviewed by Antonio Gomes.
-
- Clean up: Rename HTMLFrameSetElement::{noresize, frameborder, and \
frameBorderSet}
- to conform to the WebKit Code style guidelines
- https://bugs.webkit.org/show_bug.cgi?id=56871
-
- No functionality changed. So, no new tests.
-
- * html/HTMLFrameSetElement.cpp:
- (WebCore::HTMLFrameSetElement::HTMLFrameSetElement):
- (WebCore::HTMLFrameSetElement::parseMappedAttribute):
- (WebCore::HTMLFrameSetElement::attach):
- (WebCore::HTMLFrameSetElement::defaultEventHandler):
- * html/HTMLFrameSetElement.h:
- (WebCore::HTMLFrameSetElement::hasFrameBorder):
- (WebCore::HTMLFrameSetElement::noResize):
-
-2011-03-23 Abhishek Arya <inferno@chromium.org>
-
- Reviewed by Dan Bernstein.
-
- Replace height with logicalHeight when removing items from
- gPercentHeightDescendantMap so that it is writing mode aware.
- https://bugs.webkit.org/show_bug.cgi?id=56902
-
- Test: fast/block/percent-height-descendant-not-removed-crash.html
-
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::destroy):
- (WebCore::RenderBox::styleDidChange):
- * rendering/RenderWidget.cpp:
- (WebCore::RenderWidget::destroy):
-
-2011-03-23 Anders Carlsson <andersca@apple.com>
-
- Fix clang build.
-
- * inspector/DOMNodeHighlighter.cpp:
- Remove an unused function.
-
-2011-03-22 Brady Eidson <beidson@apple.com>
-
- Reviewed by Sam Weinig.
-
- Add asynchronous load decision call to WebKit2 IconDatabase
- https://bugs.webkit.org/show_bug.cgi?id=56887
-
- Clear the callback when it's made:
- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::continueIconLoadWithDecision):
-
- Don't load icons when using new-style icon database if in private browsing:
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::continueIconLoadWithDecision):
-
- Enhance the IconDatabase callbacks to have an ID and inherit from a common \
base:
- * loader/icon/IconDatabaseBase.h:
- (WebCore::CallbackBase::~CallbackBase):
- (WebCore::CallbackBase::callbackID):
- (WebCore::CallbackBase::CallbackBase):
- (WebCore::CallbackBase::context):
- (WebCore::CallbackBase::generateCallbackID):
- (WebCore::EnumCallback::performCallback):
- (WebCore::EnumCallback::EnumCallback):
- (WebCore::ObjectCallback::performCallback):
- (WebCore::ObjectCallback::ObjectCallback):
-
-2011-03-21 Pavel Podivilov <podivilov@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: move scripts concatenation logic to SourceFile.
- https://bugs.webkit.org/show_bug.cgi?id=56756
-
- * inspector/front-end/ScriptsPanel.js:
- * inspector/front-end/SourceFile.js:
- (WebInspector.SourceFile.prototype._requestContent):
- (WebInspector.SourceFile.prototype._loadResourceContent):
- (WebInspector.SourceFile.prototype._loadAndConcatenateScriptsContent):
- (WebInspector.SourceFile.prototype._concatenateScriptsContent):
-
-2011-03-23 Leandro Gracia Gil <leandrogracia@chromium.org>
-
- Reviewed by Steve Block.
-
- Media Stream API: add a flag to RuntimeEnabledFeatures.
- https://bugs.webkit.org/show_bug.cgi?id=56921
-
- Add a flag to RuntimeEnabledFeatures to check if the Media Stream API is \
enabled at runtime.
-
- Tests for the Media Stream API will be provided by the bug 56587.
-
- * bindings/generic/RuntimeEnabledFeatures.cpp:
- * bindings/generic/RuntimeEnabledFeatures.h:
- (WebCore::RuntimeEnabledFeatures::mediaStreamEnabled):
- (WebCore::RuntimeEnabledFeatures::setMediaStreamEnabled):
- (WebCore::RuntimeEnabledFeatures::webkitGetUserMediaEnabled):
-
-2011-03-23 Carol Szabo <carol.szabo@nokia.com>
-
- Reviewed by David Hyatt.
-
- Modified RenderCounter::originalText() to correctly attach
- the created counter to the before/after container even when
- that is not the RenderCounter's direct parent.
-
- CSS 2.1 failure: various before-after-* tests fail
- https://bugs.webkit.org/show_bug.cgi?id=47207
-
- Test: fast/css/counters/complex-before.html
-
- * rendering/RenderCounter.cpp:
- (WebCore::RenderCounter::originalText):
-
-2011-03-23 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Add play / pause button to media control
- https://bugs.webkit.org/show_bug.cgi?id=55463
-
- Add play|pause button to media control.
-
- * platform/efl/RenderThemeEfl.cpp:
- (WebCore::RenderThemeEfl::edjeGroupFromFormType):
- (WebCore::RenderThemeEfl::emitMediaButtonSignal): Added.
- (WebCore::RenderThemeEfl::paintMediaPlayButton):
- * platform/efl/RenderThemeEfl.h:
-
-2011-03-23 Aparna Nandyal <aparna.nand@wipro.com>
-
- Reviewed by Andreas Kling.
-
- [Qt] QtWebKit rendering problem when maximizing and doing a back
- https://bugs.webkit.org/show_bug.cgi?id=56669
-
- Contents of the page are not re-sized on going back after
- maximizing. ContentsResized() is not getting called. Hence old
- document width and height are used. Corrected this behaviour by
- calling setBoundsSize() which calls contentsSize().
-
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::open):
-
-2011-03-21 Pavel Podivilov <podivilov@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: add support for formating source files in debugger \
presentation model.
- https://bugs.webkit.org/show_bug.cgi?id=56558
-
- * inspector/front-end/DebuggerModel.js:
- (WebInspector.DebuggerModel.prototype.reset):
- (WebInspector.DebuggerModel.prototype.get scripts):
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel):
- (WebInspector.DebuggerPresentationModel.prototype._addScript):
- (WebInspector.DebuggerPresentationModel.prototype._refreshBreakpoints):
- (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
- (WebInspector.DebuggerPresentationModel.prototype.continueToLine):
- (WebInspector.DebuggerPresentationModel.prototype.setBreakpoint):
- (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
- (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
- (WebInspector.DebuggerPresentationModel.prototype._sourceFileForScript):
- (WebInspector.DebuggerPresentationModel.prototype._reset):
- * inspector/front-end/ScriptFormatter.js:
- (WebInspector.ScriptFormatter.prototype.formatContent.didFormatChunks):
- (WebInspector.ScriptFormatter.prototype.formatContent):
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel):
- (WebInspector.ScriptsPanel.prototype.reset):
- (WebInspector.ScriptsPanel.prototype._toggleFormatSourceFiles):
- * inspector/front-end/Settings.js:
- * inspector/front-end/SourceFile.js:
- (WebInspector.SourceFile.prototype.scriptLocationToSourceLocation):
- (WebInspector.SourceFile.prototype.sourceLocationToScriptLocation):
- (WebInspector.FormattedSourceFile):
- (WebInspector.FormattedSourceFile.prototype.scriptLocationToSourceLocation):
- (WebInspector.FormattedSourceFile.prototype.sourceLocationToScriptLocation):
- (WebInspector.FormattedSourceFile.prototype._didRequestContent):
-
-2011-03-23 Yury Semikhatsky <yurys@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: use unsigned char instead of char when storing script source
- https://bugs.webkit.org/show_bug.cgi?id=56920
-
- * bindings/v8/DebuggerScript.js:
- * bindings/v8/ScriptDebugServer.cpp:
- (WebCore::ScriptDebugServer::ensureDebuggerScriptCompiled):
- * inspector/InjectedScriptManager.cpp:
- (WebCore::InjectedScriptManager::injectedScriptSource):
- * inspector/InjectedScriptSource.js: whitespace change to trigger \
compilation
- * inspector/xxd.pl:
- * xml/XMLViewer.xsl:
-
-2011-03-23 Ilya Tikhonovsky <loislo@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: move node searching and node highlight related methods from \
InspectorAgent to InspectorDOMAgent.
- https://bugs.webkit.org/show_bug.cgi?id=56912
-
- The next functions were moved:
- setSearchingForNode
- highlightDOMNode
- hideDOMNodeHighlight
- highlightFrame
- hideFrameHighlight
- mouseDidMoveOverElement
- handleMousePress
-
- The code which does real highlight in Graphic context was moved to new files \
DOMNodeHighlighter.*
-
- * CMakeLists.txt:
- * GNUmakefile.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * inspector/DOMNodeHighlighter.cpp: Added.
- (WebCore::DOMNodeHighlighter::DrawNodeHighlight):
- * inspector/DOMNodeHighlighter.h: Added.
- * inspector/Inspector.json:
- * inspector/InspectorAgent.cpp:
- (WebCore::InspectorAgent::InspectorAgent):
- (WebCore::InspectorAgent::~InspectorAgent):
- (WebCore::InspectorAgent::inspectedPageDestroyed):
- (WebCore::InspectorAgent::disconnectFrontend):
- * inspector/InspectorAgent.h:
- * inspector/InspectorController.cpp:
- (WebCore::InspectorController::drawNodeHighlight):
- (WebCore::InspectorController::hideHighlight):
- * inspector/InspectorDOMAgent.cpp:
- (WebCore::InspectorDOMAgent::InspectorDOMAgent):
- (WebCore::InspectorDOMAgent::~InspectorDOMAgent):
- (WebCore::InspectorDOMAgent::clearFrontend):
- (WebCore::InspectorDOMAgent::handleMousePress):
- (WebCore::InspectorDOMAgent::mouseDidMoveOverElement):
- (WebCore::InspectorDOMAgent::searchingForNodeInPage):
- (WebCore::InspectorDOMAgent::setSearchingForNode):
- (WebCore::InspectorDOMAgent::highlight):
- (WebCore::InspectorDOMAgent::highlightDOMNode):
- (WebCore::InspectorDOMAgent::highlightFrame):
- (WebCore::InspectorDOMAgent::hideHighlight):
- (WebCore::InspectorDOMAgent::drawNodeHighlight):
- * inspector/InspectorDOMAgent.h:
- (WebCore::InspectorDOMAgent::hideDOMNodeHighlight):
- (WebCore::InspectorDOMAgent::hideFrameHighlight):
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::mouseDidMoveOverElementImpl):
- (WebCore::InspectorInstrumentation::handleMousePressImpl):
- * inspector/InstrumentingAgents.h:
- (WebCore::InstrumentingAgents::InstrumentingAgents):
- (WebCore::InstrumentingAgents::inspectorAgent):
- (WebCore::InstrumentingAgents::setInspectorAgent):
- * inspector/front-end/ElementsPanel.js:
- (WebInspector.ElementsPanel.prototype.setSearchingForNode):
- * inspector/front-end/ResourcesPanel.js:
- (WebInspector.FrameTreeElement.prototype.onselect):
- (WebInspector.FrameTreeElement.prototype.set hovered):
- * inspector/front-end/inspector.js:
- (WebInspector.highlightDOMNode):
-
-2011-03-23 Yury Semikhatsky <yurys@chromium.org>
-
- Unreviewed. Rollout r81768 which broke compilation on Win.
-
- * xml/XMLTreeViewer.cpp:
- (WebCore::XMLTreeViewer::transformDocumentToTreeView):
- * xml/XMLViewer.xsl:
-
-2011-03-23 Yury Semikhatsky <yurys@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: remove unnecessary reinterpret_cast in XMLTreeViewer
- https://bugs.webkit.org/show_bug.cgi?id=56919
-
- * xml/XMLTreeViewer.cpp:
- (WebCore::XMLTreeViewer::transformDocumentToTreeView):
- * xml/XMLViewer.xsl: whitespace change to trigger compilation.
-
-2011-03-21 Pavel Podivilov <podivilov@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: move content loading logic to a new SourceFile class.
- https://bugs.webkit.org/show_bug.cgi?id=56748
-
- * WebCore.gypi:
- * WebCore.vcproj/WebCore.vcproj:
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel.prototype.requestSourceFileContent):
- (WebInspector.DebuggerPresentationModel.prototype._addScript.contentChanged):
- (WebInspector.DebuggerPresentationModel.prototype._addScript):
- (WebInspector.DebuggerPresentationModel.prototype._scriptSourceChanged):
- (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
- * inspector/front-end/SourceFile.js: Added.
- (WebInspector.SourceFile):
- (WebInspector.SourceFile.prototype.addScript):
- (WebInspector.SourceFile.prototype.requestContent):
- (WebInspector.SourceFile.prototype.forceLoadContent):
- (WebInspector.SourceFile.prototype.reload):
- (WebInspector.SourceFile.prototype._requestContent):
- (WebInspector.SourceFile.prototype._loadResourceContent):
- (WebInspector.SourceFile.prototype._loadScriptContent):
- (WebInspector.SourceFile.prototype._loadAndConcatenateScriptsContent):
- (WebInspector.SourceFile.prototype._didRequestContent):
- (WebInspector.SourceFile.prototype._hasPendingResource):
- * inspector/front-end/WebKit.qrc:
- * inspector/front-end/inspector.html:
-
-2011-03-23 Pavel Podivilov <podivilov@chromium.org>
-
- Unreviewed, fix compilation broken by r81758.
-
- * xml/XMLTreeViewer.cpp:
- (WebCore::XMLTreeViewer::transformDocumentToTreeView):
-
-2011-03-23 Pavel Feldman <pfeldman@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: define array types properly in the Inspector.json
- https://bugs.webkit.org/show_bug.cgi?id=56915
-
- * inspector/Inspector.json:
- * inspector/generate-inspector-idl:
-
-2011-03-23 Yury Semikhatsky <yurys@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
- https://bugs.webkit.org/show_bug.cgi?id=56843
-
- * inspector/front-end/WebKit.qrc:
-
-2011-03-23 Andrey Adaikin <aandrey@google.com>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: Add a star while editing a source code
- https://bugs.webkit.org/show_bug.cgi?id=56743
-
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel.prototype.setScriptSourceIsBeingEdited):
- (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.setScriptSourceIsBeingEdited):
- * inspector/front-end/SourceFrame.js:
- (WebInspector.SourceFrame.prototype._startEditing):
- (WebInspector.SourceFrame.prototype._registerShortcuts):
- (WebInspector.SourceFrame.prototype._handleSave):
- (WebInspector.SourceFrame.prototype._handleRevertEditing):
- (WebInspector.SourceFrameDelegate.prototype.setScriptSourceIsBeingEdited):
-
-2011-03-23 Andrey Adaikin <aandrey@google.com>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: Scrolling and navigation is not smooth on a script with many \
long lines
- https://bugs.webkit.org/show_bug.cgi?id=56559
-
- * inspector/front-end/TextViewer.js:
- (WebInspector.TextEditorChunkedPanel.prototype._expandChunks):
- (WebInspector.TextEditorMainPanel.prototype._expandChunks):
- (WebInspector.TextEditorMainPanel.prototype._highlightDataReady):
- (WebInspector.TextEditorMainPanel.prototype._schedulePaintLines):
- (WebInspector.TextEditorMainPanel.prototype._paintScheduledLines):
- (WebInspector.TextEditorMainPanel.prototype._restorePaintLinesOperationsCredit):
- (WebInspector.TextEditorMainPanel.prototype._paintLines):
- (WebInspector.TextEditorMainPanel.prototype._paintLine):
- (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):
-
-2011-03-22 Yury Semikhatsky <yurys@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
- https://bugs.webkit.org/show_bug.cgi?id=56843
-
- DebuggerScript.js is now translated into a char[] array before inspector \
compilation.
-
- * WebCore.gyp/WebCore.gyp:
- * WebCore.gypi:
- * bindings/v8/ScriptDebugServer.cpp:
- (WebCore::ScriptDebugServer::ensureDebuggerScriptCompiled):
- * bindings/v8/ScriptDebugServer.h:
- * inspector/InjectedScriptManager.cpp:
- (WebCore::InjectedScriptManager::injectedScriptSource):
- * inspector/InjectedScriptSource.js: whitespace change to trigger \
InjectedScriptSource.h generation.
- * inspector/xxd.pl:
-
-2011-03-23 Mark Rowe <mrowe@apple.com>
-
- Fix the 32-bit build.
-
- * html/canvas/WebGLRenderingContext.cpp:
- (WebCore::WebGLRenderingContext::initializeNewContext):
-
-2011-03-22 Noel Gordon <noel.gordon@gmail.com>
-
- Reviewed by Ojan Vafai.
-
- [chromium] skia image encoders should use <wtf/Vector.h>
- https://bugs.webkit.org/show_bug.cgi?id=56893
-
- No new tests. Covered by existing canvas.toDataURL tests.
-
- * platform/image-encoders/skia/JPEGImageEncoder.h:
- * platform/image-encoders/skia/PNGImageEncoder.h:
-
-2011-03-22 David Hyatt <hyatt@apple.com>
-
- Reviewed by Beth Dakin.
-
- Move the cellWidthChanged bit out of RenderObject and back down into \
RenderTableCell in order to
- free up a bit for another performance optimization I have planned.
-
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::RenderObject):
- * rendering/RenderObject.h:
- (WebCore::RenderObject::setHasColumns):
- * rendering/RenderTableCell.cpp:
- (WebCore::RenderTableCell::RenderTableCell):
- * rendering/RenderTableCell.h:
- (WebCore::RenderTableCell::cellWidthChanged):
- (WebCore::RenderTableCell::setCellWidthChanged):
-
-2011-03-22 David Hyatt <hyatt@apple.com>
-
- Reviewed by Dan Bernstein.
-
- https://bugs.webkit.org/show_bug.cgi?id=56892
-
- Adding floats to an empty block is O(n^2).
-
- If you just add floats back to back to an empty block, the addition is \
essentially O(n^2)
- once the floats move below your current line position. This is because we \
repeatedly ask for the
- available width for the line from scratch every time we add a float, \
regardless of whether the
- float even vertically intersected our current line position.
-
- Change positionNewFloatOnLine to update left and right line offsets \
intelligently and to only
- do it based off the single new float that just got added.
-
- This fix cuts the IE MazeSolver time in half.
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::positionNewFloatOnLine):
- * rendering/RenderBlock.h:
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::skipLeadingWhitespace):
- (WebCore::RenderBlock::findNextLineBreak):
-
-2011-03-22 Beth Dakin <bdakin@apple.com>
-
- Reviewed by Sam Weinig.
-
- Fix for https://bugs.webkit.org/show_bug.cgi?id=56890 It is possible to \
calculate a
- NaN value for "value" in ScrollbarThemeMac::paint()
- -and corresponding-
- <rdar://problem/9160621>
-
- * platform/mac/ScrollbarThemeMac.mm:
- (WebCore::ScrollbarThemeMac::paint):
-
-2011-03-17 Ojan Vafai <ojan@chromium.org>
-
- Reviewed by Antti Koivisto.
-
- webkit should implement -moz-any selector (as -webkit-any obviously)
- https://bugs.webkit.org/show_bug.cgi?id=38095
-
- For now, match the Mozilla implementation with respect to specificity
- and only allowing simple selectors. Both of these are likely to change
- pending discussion on www-style@.
-
- Tests: fast/css/pseudo-any.html
- fast/dom/SelectorAPI/unknown-pseudo.html
-
- * css/CSSGrammar.y:
- Create simple_selector_list. This is exactly like selector_list
- except it only allows simple selectors and creates a new vector
- instead of a reusable one since there can be multiple in one rule.
- * css/CSSParser.cpp:
- (WebCore::CSSParser::~CSSParser):
- (WebCore::CSSParser::lex):
- (WebCore::CSSParser::createFloatingSelectorVector):
- (WebCore::CSSParser::sinkFloatingSelectorVector):
- * css/CSSParser.h:
- * css/CSSParserValues.cpp:
- (WebCore::CSSParserSelector::adoptSelectorVector):
- * css/CSSParserValues.h:
- * css/CSSSelector.cpp:
- (WebCore::CSSSelector::specificityForOneSelector):
- (WebCore::CSSSelector::pseudoId):
- (WebCore::nameToPseudoTypeMap):
- (WebCore::CSSSelector::extractPseudoType):
- (WebCore::CSSSelector::selectorText):
- (WebCore::CSSSelector::setSelectorList):
- (WebCore::CSSSelector::RareData::RareData):
- (WebCore::CSSSelector::RareData::~RareData):
- These need to be moved into the cpp file so that we can
- have an OwnPtr<CSSSelectorList> in CSSSelector::RareData.
- * css/CSSSelector.h:
- (WebCore::CSSSelector::selectorList):
- * css/CSSSelectorList.cpp:
- (WebCore::forEachTagSelector):
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
- (WebCore::collectFeaturesFromSelector):
- * css/tokenizer.flex:
-
-2011-03-22 John Bauman <jbauman@chromium.org>
-
- Reviewed by Kenneth Russell.
-
- Add support for preserveDrawingBuffer context creation attribute
- https://bugs.webkit.org/show_bug.cgi?id=56431
-
- For the accelerated compositing case, only prepare the texture if it
- has been updated since the last composite. For the non-accelerated case, \
make sure to
- grab a copy of the image buffer and paint from that if the backbuffer
- would be cleared.
-
- In both cases, make sure to clear the context's backbuffer before the
- first operation that uses it.
-
- No new tests. It seems to be difficult/impossible to trigger an early
- compositing operation in DumpRenderTree, making this hard to
- test automatically. However, Chromium and Safari (Mac) have been
- tested manually on the webgl conformance test for this.
-
- * html/HTMLCanvasElement.cpp:
- (WebCore::HTMLCanvasElement::paint):
- (WebCore::HTMLCanvasElement::makePresentationCopy):
- (WebCore::HTMLCanvasElement::clearPresentationCopy):
- * html/HTMLCanvasElement.h:
- * html/canvas/WebGLContextAttributes.cpp:
- (WebCore::WebGLContextAttributes::preserveDrawingBuffer):
- (WebCore::WebGLContextAttributes::setPreserveDrawingBuffer):
- * html/canvas/WebGLContextAttributes.h:
- * html/canvas/WebGLContextAttributes.idl:
- * html/canvas/WebGLRenderingContext.cpp:
- (WebCore::WebGLRenderingContext::initializeNewContext):
- (WebCore::WebGLRenderingContext::markContextChanged):
- (WebCore::WebGLRenderingContext::clearIfComposited):
- (WebCore::WebGLRenderingContext::markLayerComposited):
- (WebCore::WebGLRenderingContext::paintRenderingResultsToCanvas):
- (WebCore::WebGLRenderingContext::paintRenderingResultsToImageData):
- (WebCore::WebGLRenderingContext::clear):
- (WebCore::WebGLRenderingContext::clearColor):
- (WebCore::WebGLRenderingContext::clearDepth):
- (WebCore::WebGLRenderingContext::clearStencil):
- (WebCore::WebGLRenderingContext::colorMask):
- (WebCore::WebGLRenderingContext::disable):
- (WebCore::WebGLRenderingContext::drawArrays):
- (WebCore::WebGLRenderingContext::drawElements):
- (WebCore::WebGLRenderingContext::enable):
- (WebCore::WebGLRenderingContext::readPixels):
- * html/canvas/WebGLRenderingContext.h:
- * platform/graphics/GraphicsContext3D.h:
- (WebCore::GraphicsContext3D::Attributes::Attributes):
- * platform/graphics/chromium/WebGLLayerChromium.cpp:
- (WebCore::WebGLLayerChromium::updateContentsIfDirty):
- (WebCore::WebGLLayerChromium::textureUpdated):
- (WebCore::WebGLLayerChromium::setContext):
- * platform/graphics/chromium/WebGLLayerChromium.h:
- * platform/graphics/mac/GraphicsContext3DMac.mm
- (WebCore::GraphicsContext3D::GraphicsContext3D):
- (WebCore::GraphicsContext3D::~GraphicsContext3D):
- * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
- (WebCore::GraphicsContext3D::reshape):
- (WebCore::GraphicsContext3D::prepareTexture):
- (WebCore::GraphicsContext3D::activeTexture):
- (WebCore::GraphicsContext3D::bindTexture):
- (WebCore::GraphicsContext3D::markContextChanged):
- (WebCore::GraphicsContext3D::markLayerComposited):
- (WebCore::GraphicsContext3D::layerComposited):
- * platform/graphics/qt/GraphicsContext3DQt.cpp:
- (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
- (WebCore::GraphicsContext3D::markLayerComposited):
- (WebCore::GraphicsContext3D::markContextChanged):
- (WebCore::GraphicsContext3D::layerComposited):
-
-2011-03-22 Sam Weinig <sam@webkit.org>
-
- Reviewed by Mark Rowe.
-
- Remove USE_WK_SCROLLBAR_PAINTER_AND_CONTROLLER.
- <rdar://problem/8944718>
-
- * DerivedSources.make:
- Remove generation of HeaderDetection.h.
-
- * WebCore.xcodeproj/project.pbxproj:
- Remove HeaderDetection.h.
-
- * platform/mac/ScrollAnimatorMac.h:
- * platform/mac/ScrollAnimatorMac.mm:
- * platform/mac/ScrollbarThemeMac.h:
- * platform/mac/ScrollbarThemeMac.mm:
- Replace use of USE_WK_SCROLLBAR_PAINTER_AND_CONTROLLER with \
USE(WK_SCROLLBAR_PAINTER).
-
-2011-03-22 Victoria Kirst <vrk@google.com>
-
- Reviewed by Kenneth Russell.
-
- [chromium] Properly reset VideoLayerChromium textures after lost renderer \
context
- https://bugs.webkit.org/show_bug.cgi?id=56514
-
- The VideoLayerChromium textures were still mapped to the old
- renderer's context when LayerRendererChromium was being recreated
- i.e. when GPU process is killed. This patch allows VideoLayerChromium
- it recreate textures in the new context when the old renderer is lost.
- Patch also does a bit of refactoring and code clean-up.
-
- * platform/graphics/chromium/VideoLayerChromium.cpp:
- (WebCore::VideoLayerChromium::~VideoLayerChromium):
- (WebCore::VideoLayerChromium::cleanupResources):
- (WebCore::VideoLayerChromium::updateContentsIfDirty):
- (WebCore::VideoLayerChromium::allocateTexturesIfNeeded):
- (WebCore::VideoLayerChromium::computeVisibleSize):
- (WebCore::VideoLayerChromium::drawYUV):
- (WebCore::VideoLayerChromium::drawRGBA):
- (WebCore::VideoLayerChromium::resetFrameParameters):
- (WebCore::VideoLayerChromium::saveCurrentFrame):
- * platform/graphics/chromium/VideoLayerChromium.h:
-
-2011-03-22 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- WebCore GYP build should export the headers needed by WebKit
- https://bugs.webkit.org/show_bug.cgi?id=56883
-
- * WebCore.gypi:
- * gyp/WebCore.gyp:
- - Export a couple more headers.
- - Remove FIXME comments for things we've already fixed.
-
-2011-03-22 Anton D'Auria <adauria@apple.com>
-
- Reviewed by Alexey Proskuryakov.
-
- Add +[WebApplicationCache getOriginsWithCache]
- https://bugs.webkit.org/show_bug.cgi?id=56722
-
- Added test that exercises WebCore API to get origins with application cache.
-
- Test: http/tests/appcache/origins-with-appcache.html
-
- * loader/appcache/ApplicationCacheStorage.cpp:
- (WebCore::ApplicationCacheStorage::getOriginsWithCache):
- * loader/appcache/ApplicationCacheStorage.h:
-
-2011-03-22 Carol Szabo <carol.szabo@nokia.com>
-
- Reviewed by David Hyatt.
-
- Introduced double linkage between a CounterNode and its display renderer.
-
- use of freed pointer in WebCore::RenderCounter::originalText()
- https://bugs.webkit.org/show_bug.cgi?id=56065
-
- No new tests. This bug could only be reproduced manually by
- refreshing the page during load at a critical point.
- See bug attachment for testing.
-
- * rendering/CounterNode.cpp:
- Introduced new member "m_owner" to store the renderer that has the
- style directives that produce the CounterNode.
- Repurposed m_renderer to reffer to the RenderCounter that shows the
- CounterNode.
- (WebCore::CounterNode::CounterNode):
- Updated member initialization.
- (WebCore::CounterNode::create):
- (WebCore::CounterNode::addRenderer):
- (WebCore::CounterNode::removeRenderer):
- Introduced to manage the renderer list associated wit this CounterNode.
- (WebCore::CounterNode::resetRenderers):
- This is the old resetRenderer. Renamed to take into account that there may \
be
- more than one renderer to a CounterNode.
- (WebCore::CounterNode::resetThisAndDescendantsRenderers):
- This is the old resetRenderers renamed for clarity.
- (WebCore::CounterNode::recount):
- (WebCore::CounterNode::insertAfter):
- (WebCore::CounterNode::removeChild):
- No functional changes.
- (WebCore::showTreeAndMark):
- Added flushing to ensure that the output is complete.
- * rendering/CounterNode.h:
- (WebCore::CounterNode::owner):
- Renamed from renderer()
- * rendering/RenderCounter.cpp:
- (WebCore::findPlaceForCounter):
- Fixed comments. No functional changes.
- (WebCore::RenderCounter::~RenderCounter):
- Made sure that the CounterNode that this renderers displays is
- detached from this.
- (WebCore::RenderCounter::originalText):
- (WebCore::RenderCounter::invalidate):
- Changed to maintain the bidirectional relationship with the displayed \
CounterNode.
- Also made "invalidate" private as it should be used only by \
CounterNode.
- (WebCore::destroyCounterNodeWithoutMapRemoval):
- (WebCore::RenderCounter::destroyCounterNodes):
- (WebCore::RenderCounter::destroyCounterNode):
- (WebCore::updateCounters):
- No change, just kept code in line with the changes above.
- (showCounterRendererTree):
- Added fflush to ensure complete display.
- * rendering/RenderCounter.h:
- * rendering/RenderObjectChildList.cpp:
- * rendering/RenderObjectChildList.h:
- Removed unneeded invalidateCounters related functions.
-
-2011-03-22 Dean Jackson <dino@apple.com>
-
- Reviewed by Simon Fraser.
-
- https://bugs.webkit.org/show_bug.cgi?id=56242
- Interrupted accelerated animations/transitions were causing
- subsequent animations to not start (because they were stuck
- waiting for a response from the compositing layer). I renamed
- the instance variable that indicates whether or not to
- notify animations of start time, from m_waitingForStartTimeResponse
- to m_waitingForAsyncStartNotification, so that it makes more sense.
- The actual bug fix was changing the logic so that the flag is reset
- when the list of waiting animations becomes empty. I mistakenly committed
- the bad logic in r81613.
-
- * page/animation/AnimationBase.cpp:
- (WebCore::AnimationBase::updateStateMachine):
- - Always set paused time as we enter the paused state
- * page/animation/AnimationController.cpp:
- (WebCore::AnimationControllerPrivate::AnimationControllerPrivate):
- (WebCore::AnimationControllerPrivate::endAnimationUpdate):
- (WebCore::AnimationControllerPrivate::receivedStartTimeResponse):
- (WebCore::AnimationControllerPrivate::addToAnimationsWaitingForStartTimeResponse):
- (WebCore::AnimationControllerPrivate::removeFromAnimationsWaitingForStartTimeResponse):
- - reset the waiting flag when the list is empty (rather than not empty)
- (WebCore::AnimationControllerPrivate::startTimeResponse):
- * page/animation/AnimationControllerPrivate.h:
- - rename m_waitingForStartTimeResponse to m_waitingForAsyncStartNotification
-
-2011-03-22 Brady Eidson <beidson@apple.com>
-
- Reviewed by Sam Weinig.
-
- <rdar://problem/8648311> and \
https://bugs.webkit.org/show_bug.cgi?id=56876
- WK2 Icon DB: Expand IconDatabaseClient interface and move it to the main \
thread
-
- * loader/icon/IconDatabase.cpp:
- Add a dummy client implementation for non-Mac, non-Win ports:
- (WebCore::DefaultIconDatabaseClient::performImport):
- (WebCore::DefaultIconDatabaseClient::didImportIconURLForPageURL):
- (WebCore::DefaultIconDatabaseClient::didImportIconDataForPageURL):
- (WebCore::DefaultIconDatabaseClient::didChangeIconForPageURL):
- (WebCore::DefaultIconDatabaseClient::didRemoveAllIcons):
- (WebCore::DefaultIconDatabaseClient::didFinishURLImport):
- (WebCore::defaultClient):
-
- Either call the client directly when on the main thread, or use the dispatch \
functions below
- if on the background thread:
- (WebCore::IconDatabase::setIconDataForIconURL):
- (WebCore::IconDatabase::setIconURLForPageURL):
- (WebCore::IconDatabase::performURLImport):
- (WebCore::IconDatabase::readFromDatabase):
- (WebCore::IconDatabase::removeAllIconsOnThread):
-
- Add a very targeted WorkItem interface for dispatching client calls on the \
main thread:
- (WebCore::ClientWorkItem::ClientWorkItem):
- (WebCore::ClientWorkItem::~ClientWorkItem):
- (WebCore::ImportedIconURLForPageURLWorkItem::ImportedIconURLForPageURLWorkItem):
- (WebCore::ImportedIconURLForPageURLWorkItem::~ImportedIconURLForPageURLWorkItem):
- (WebCore::ImportedIconURLForPageURLWorkItem::performWork):
- (WebCore::ImportedIconDataForPageURLWorkItem::ImportedIconDataForPageURLWorkItem):
- (WebCore::ImportedIconDataForPageURLWorkItem::~ImportedIconDataForPageURLWorkItem):
- (WebCore::ImportedIconDataForPageURLWorkItem::performWork):
- (WebCore::RemovedAllIconsWorkItem::RemovedAllIconsWorkItem):
- (WebCore::RemovedAllIconsWorkItem::performWork):
- (WebCore::performWorkItem):
-
- Use the client WorkItem interface to perform these callbacks on the main \
thread:
- (WebCore::IconDatabase::dispatchDidImportIconURLForPageURLOnMainThread):
- (WebCore::IconDatabase::dispatchDidImportIconDataForPageURLOnMainThread):
- (WebCore::IconDatabase::dispatchDidRemoveAllIconsOnMainThread):
- * loader/icon/IconDatabase.h:
- * loader/icon/IconDatabaseClient.h:
-
-2011-03-22 David Hyatt <hyatt@apple.com>
-
- Reviewed by Simon Fraser.
-
- https://bugs.webkit.org/show_bug.cgi?id=56869
-
- Make horizontal writing mode a bit on RenderObject with a fast inlined \
method for access. This should be
- a little faster than having to access the information from the RenderStyle's \
sub-structure.
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::layoutBlock):
- (WebCore::RenderBlock::addOverflowFromChildren):
- (WebCore::RenderBlock::computeOverflow):
- (WebCore::RenderBlock::adjustPositionedBlock):
- (WebCore::RenderBlock::setLogicalLeftForChild):
- (WebCore::RenderBlock::setLogicalTopForChild):
- (WebCore::RenderBlock::layoutPositionedObjects):
- (WebCore::RenderBlock::paintColumnRules):
- (WebCore::RenderBlock::paintColumnContents):
- (WebCore::RenderBlock::flipFloatForWritingMode):
- (WebCore::blockDirectionOffset):
- (WebCore::inlineDirectionOffset):
- (WebCore::RenderBlock::logicalRectToPhysicalRect):
- (WebCore::RenderBlock::inlineSelectionGaps):
- (WebCore::RenderBlock::addOverhangingFloats):
- (WebCore::RenderBlock::addIntrudingFloats):
- (WebCore::RenderBlock::hitTestColumns):
- (WebCore::positionForPointRespectingEditingBoundaries):
- (WebCore::RenderBlock::positionForPointWithInlineChildren):
- (WebCore::RenderBlock::positionForPoint):
- (WebCore::RenderBlock::columnRectAt):
- (WebCore::RenderBlock::adjustPointToColumnContents):
- (WebCore::RenderBlock::adjustRectForColumns):
- (WebCore::RenderBlock::flipForWritingModeIncludingColumns):
- (WebCore::RenderBlock::adjustForColumns):
- (WebCore::RenderBlock::lastLineBoxBaseline):
- (WebCore::RenderBlock::nextPageLogicalTop):
- (WebCore::RenderBlock::adjustForUnsplittableChild):
- (WebCore::RenderBlock::adjustLinePositionForPagination):
- (WebCore::RenderBlock::collapsedMarginBeforeForChild):
- (WebCore::RenderBlock::collapsedMarginAfterForChild):
- (WebCore::RenderBlock::marginStartForChild):
- (WebCore::RenderBlock::marginEndForChild):
- (WebCore::RenderBlock::setMarginStartForChild):
- (WebCore::RenderBlock::setMarginEndForChild):
- (WebCore::RenderBlock::marginValuesForChild):
- * rendering/RenderBlock.h:
- (WebCore::RenderBlock::logicalWidthForChild):
- (WebCore::RenderBlock::logicalHeightForChild):
- (WebCore::RenderBlock::logicalTopForChild):
- (WebCore::RenderBlock::logicalRightOffsetForContent):
- (WebCore::RenderBlock::logicalLeftOffsetForContent):
- (WebCore::RenderBlock::logicalTopForFloat):
- (WebCore::RenderBlock::logicalBottomForFloat):
- (WebCore::RenderBlock::logicalLeftForFloat):
- (WebCore::RenderBlock::logicalRightForFloat):
- (WebCore::RenderBlock::logicalWidthForFloat):
- (WebCore::RenderBlock::setLogicalTopForFloat):
- (WebCore::RenderBlock::setLogicalLeftForFloat):
- (WebCore::RenderBlock::setLogicalHeightForFloat):
- (WebCore::RenderBlock::setLogicalWidthForFloat):
- (WebCore::RenderBlock::xPositionForFloatIncludingMargin):
- (WebCore::RenderBlock::yPositionForFloatIncludingMargin):
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::createLineBoxes):
- (WebCore::RenderBlock::layoutInlineChildren):
- (WebCore::RenderBlock::checkFloatsInCleanLine):
- (WebCore::setStaticPositions):
- (WebCore::RenderBlock::findNextLineBreak):
- (WebCore::RenderBlock::beforeSideVisualOverflowForLine):
- (WebCore::RenderBlock::afterSideVisualOverflowForLine):
- (WebCore::RenderBlock::beforeSideLayoutOverflowForLine):
- (WebCore::RenderBlock::afterSideLayoutOverflowForLine):
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::marginStart):
- (WebCore::RenderBox::marginEnd):
- (WebCore::RenderBox::setMarginStart):
- (WebCore::RenderBox::setMarginEnd):
- (WebCore::RenderBox::styleDidChange):
- (WebCore::RenderBox::logicalScroll):
- (WebCore::RenderBox::computeLogicalWidth):
- (WebCore::RenderBox::computeLogicalHeight):
- (WebCore::RenderBox::availableLogicalHeightUsing):
- (WebCore::RenderBox::containingBlockLogicalWidthForPositioned):
- (WebCore::RenderBox::containingBlockLogicalHeightForPositioned):
- (WebCore::RenderBox::computePositionedLogicalWidth):
- (WebCore::computeLogicalLeftPositionedOffset):
- (WebCore::RenderBox::computePositionedLogicalHeight):
- (WebCore::computeLogicalTopPositionedOffset):
- (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
- (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
- (WebCore::RenderBox::addLayoutOverflow):
- (WebCore::RenderBox::flipForWritingMode):
- * rendering/RenderBoxModelObject.cpp:
- (WebCore::RenderBoxModelObject::updateBoxModelInfoFromStyle):
- * rendering/RenderObject.cpp:
- (WebCore::RenderObject::RenderObject):
- (WebCore::RenderObject::styleWillChange):
- * rendering/RenderObject.h:
- (WebCore::RenderObject::isHorizontalWritingMode):
- (WebCore::RenderObject::setHorizontalWritingMode):
- * rendering/RenderTableCell.cpp:
- (WebCore::RenderTableCell::paddingTop):
- (WebCore::RenderTableCell::paddingBottom):
- (WebCore::RenderTableCell::paddingLeft):
- (WebCore::RenderTableCell::paddingRight):
- (WebCore::RenderTableCell::scrollbarsChanged):
- * rendering/RootInlineBox.cpp:
- (WebCore::RootInlineBox::RootInlineBox):
- (WebCore::RootInlineBox::lineSelectionGap):
- (WebCore::RootInlineBox::verticalPositionForBox):
-
-2011-03-22 Simon Fraser <simon.fraser@apple.com>
-
- Reviewed by Beth Dakin.
-
- Incorrect rendering of composited element with negative z-index child
- https://bugs.webkit.org/show_bug.cgi?id=56846
-
- When a composited element has a child with negative z-index, we make
- a separate layer for that element's foreground content. This layer
- was positioned incorrectly (but the content happened to paint at
- the right location), resulting in right/bottom clipping.
-
- Fix this, remove the little-used graphicsLayerToContentsCoordinates()
- contentsToGraphicsLayerCoordinates() methods, and optimize incremental
- repaints in the foreground and mask layers.
-
- Tests: compositing/geometry/foreground-layer.html
- compositing/geometry/repaint-foreground-layer.html
-
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::setNeedsDisplayInRect): Cull repaints
- which fall outside the layer bounds, so callers don't have to,
- and to avoid unnecessary layer commits.
-
- * rendering/RenderLayerBacking.cpp:
- (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): If
- we have a foreground layer inside a clipping layer, the foreground
- layer's offset is zero, since the clipping layer is its parent.
-
- (WebCore::RenderLayerBacking::setContentsNeedDisplayInRect): Use
- offsetFromRenderer() directly instead of \
contentsToGraphicsLayerCoordinates().
- Also do incremental repaints of the foreground and mask layers.
-
- (WebCore::RenderLayerBacking::paintContents): It was incorrect to always
- use compositedBounds() to compute the painting offset, since that's
- per-RenderLayerBacking, but a single RenderLayerBacking can have different
- GraphicsLayers with different offsets (e.g. the foreground layer).
- Instead, use offsetFromRenderer(), which gives has the correct offset.
-
- * rendering/RenderLayerBacking.h: Remove unused methods.
-
-2011-03-22 Chris Rogers <crogers@google.com>
-
- Reviewed by Kenneth Russell.
-
- Use default-output instead of default-input to get hardware sample-rate
- https://bugs.webkit.org/show_bug.cgi?id=56858
-
- No new tests since audio API is not yet implemented.
-
- * platform/audio/mac/AudioDestinationMac.cpp:
- (WebCore::AudioDestination::hardwareSampleRate):
-
-2011-03-22 Pratik Solanki <psolanki@apple.com>
-
- Reviewed by David Kilzer.
-
- Implement -connection:didReceiveDataArray: NSURLConnection delegate method
- https://bugs.webkit.org/show_bug.cgi?id=56838
-
- Add experimental support for the didReceiveDataArray callback on
- NSURLConnection. A RessourceHandleClient indicates its ability to
- handle this callback by returning true from supportsDataArray() method.
- Currently only SubresourceLoader uses this so we get the benefit for
- CSS, JS and image loads. For other clients we call didReceiveData with
- the CFData contents as before.
-
- * WebCore.xcodeproj/project.pbxproj:
- * loader/ResourceLoader.h:
- * loader/SubresourceLoader.h:
- (WebCore::SubresourceLoader::supportsDataArray):
- * loader/cf/SubresourceLoaderCF.cpp: Added.
- (WebCore::SubresourceLoader::didReceiveDataArray):
- * loader/mac/ResourceLoaderMac.mm:
- (WebCore::ResourceLoader::didReceiveDataArray):
- * platform/SharedBuffer.cpp:
- (WebCore::SharedBuffer::clear):
- (WebCore::SharedBuffer::buffer):
- * platform/SharedBuffer.h:
- * platform/cf/SharedBufferCF.cpp:
- (WebCore::SharedBuffer::append):
- (WebCore::SharedBuffer::copyDataArrayAndClear):
- * platform/network/ResourceHandleClient.h:
- (WebCore::ResourceHandleClient::supportsDataArray):
- (WebCore::ResourceHandleClient::didReceiveDataArray):
- * platform/network/mac/ResourceHandleMac.mm:
- (-[WebCoreResourceHandleAsDelegate connection:didReceiveDataArray:]):
-
-2011-03-22 Eric Seidel <eric@webkit.org>
-
- Reviewed by Adam Barth.
-
- Make it possible to build JavaScriptCore and WebCore gyp builds outside of \
Source
- https://bugs.webkit.org/show_bug.cgi?id=56867
-
- This should make it possible to build the gyp-generated WebCore.xcodeproj
- from a WebCore directory outside of Source.
-
- * gyp/WebCore.gyp:
- * gyp/run-if-exists.sh: Added.
- * gyp/update-info-plist.sh: Added.
-
-2011-03-22 Anders Carlsson <andersca@apple.com>
-
- Fix WebKit2 build.
-
- * WebCore.exp.in:
- Export a symbol needed by WebKit2.
-
-2011-03-22 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Add the remaining steps to WebCore GYP build
- https://bugs.webkit.org/show_bug.cgi?id=56864
-
- These steps match the normal build. After this patch, I believe the
- WebCore GYP build is complete.
-
- * WebCore.gypi:
- * gyp/WebCore.gyp:
- * gyp/copy-inspector-resources.sh: Added.
-
-2011-03-22 Beth Dakin <bdakin@apple.com>
-
- Reviewed by Simon Fraser.
-
- Fix for https://bugs.webkit.org/show_bug.cgi?id=56856 RenderListBox needs to \
be
- added to Page::scrollableAreaSet()
-
- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::RenderListBox):
- (WebCore::RenderListBox::~RenderListBox):
- * rendering/RenderListBox.h:
- (WebCore::RenderListBox::disconnectFromPage):
-
-2011-03-22 Chris Rogers <crogers@google.com>
-
- Reviewed by Kenneth Russell.
-
- Add high-quality band-limited audio resampling algorithm
- https://bugs.webkit.org/show_bug.cgi?id=56692
-
- No new tests since audio API is not yet implemented.
-
- * platform/audio/SincResampler.cpp: Added.
- (WebCore::SincResampler::SincResampler):
- (WebCore::SincResampler::initializeKernel):
- (WebCore::SincResampler::consumeSource):
- (WebCore::SincResampler::process):
- * platform/audio/SincResampler.h: Added.
-
-2011-03-22 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- WebCore GYP build should build without help from normal WebCore build
- https://bugs.webkit.org/show_bug.cgi?id=56860
-
- Before this patch, the WebCore GYP build wasn't generating the derived
- sources quite right because the ENABLE macros were not being
- communicated to the "Derived Sources" target.
-
- This patch also adds the "Copy Forwarding and ICU Headers" as well \
as
- the "Streamline Inspector Source" steps, which are present in the
- normal build. Unlike the normal build, these steps occur in a new
- target, called "WebCore Support", which is less than aesthetically
- beautiful. Hopefully we'll be able to move them into the WebCore
- target proper in the future, but that will likely require some GYP
- changes.
-
- This patch probably could have been broken down into a couple smaller
- patches, but that doesn't seem necessary.
-
- * WebCore.gypi:
- - This file appears to no longer exist.
- * gyp/WebCore.gyp:
- * gyp/copy-forwarding-and-icu-headers.sh: Added.
- * gyp/streamline-inspector-source.sh: Added.
-
-2011-03-22 David Hyatt <hyatt@apple.com>
-
- Reviewed by Simon Fraser.
-
- https://bugs.webkit.org/show_bug.cgi?id=56859
-
- Floats in the floating object list occur in the order that they are \
positioned. This means
- that for a given vertical offset, the last left object in the list that \
intersects that offset
- will be the rightmost float. There is no need to check any previous floats, \
since they have to be
- further left than that rightmost float. The same rules hold true for \
right-aligned floats.
-
- Change logicalLeft/RightOffsetForLine to iterate backwards instead of \
forwards and to stop the moment
- they encounter a float that intersects the vertical range.
-
- This cuts the maze solving time for a 20x20 maze in the IE MazeSolver test \
in half.
-
- * rendering/RenderBlock.cpp:
- (WebCore::RenderBlock::logicalLeftOffsetForLine):
- (WebCore::RenderBlock::logicalRightOffsetForLine):
-
-2011-03-22 Justin Schuh <jschuh@chromium.org>
-
- Reviewed by Dirk Schulze.
-
- SVG displacement map should validate channel selections
- https://bugs.webkit.org/show_bug.cgi?id=56794
-
- Test: svg/filters/feDisplacementMap-crash-test.xhtml
-
- * svg/SVGFEDisplacementMapElement.cpp:
- (WebCore::SVGFEDisplacementMapElement::svgAttributeChanged):
-
-2011-03-22 Huahui Wu <mediadependent@gmail.com>
-
- Reviewed by Steve Block.
-
- [Android] Update PlatformTouchEvent for android so it can pass IDs and \
states around.
- https://bugs.webkit.org/show_bug.cgi?id=56763
-
- No new tests as no new functionality is exposed.
-
- * platform/PlatformTouchEvent.h:
- * platform/android/PlatformTouchEventAndroid.cpp:
- (WebCore::PlatformTouchEvent::PlatformTouchEvent):
-
-2011-03-22 David Hyatt <hyatt@apple.com>
-
- Reviewed by Simon Fraser.
-
- Implement the CSS3 line-box-contain property. This property provides authors \
with more control over spacing between lines. For example,
- you can fix the height of lines and cause all line contents to be ignored. \
You can make lines fit to glyphs. You can ignore leading and
- fit to the font size. You can ignore replaced elements, etc.
-
- Refactor the code in computeLogicalBoxHeights into helper methods on \
RootInlineBox. verticalPositionForBox moved over to RootInlineBox
- so that it could be called from RenderBlockLineLayout. \
ascentAndDescentForBox is the new method that computes the \
appropriate box
- height based off the block's line-box-contain value.
-
- GlyphOverflow can now have a computeBounds parameter set, in which case \
glyph bounds will be computed and stored in the overflow struct.
-
- RenderInline no longer returns 0 margins in the block direction, since \
line-box-contain can size around the margin box.
-
- Added new tests in fast/block/lineboxcontain
-
- * GNUmakefile.am:
- * WebCore.gypi:
- * WebCore.pro:
- * WebCore.vcproj/WebCore.vcproj:
- * WebCore.xcodeproj/project.pbxproj:
- * css/CSSComputedStyleDeclaration.cpp:
- (WebCore::createLineBoxContainValue):
- (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
- * css/CSSLineBoxContainValue.cpp: Added.
- (WebCore::CSSLineBoxContainValue::CSSLineBoxContainValue):
- (WebCore::CSSLineBoxContainValue::cssText):
- * css/CSSLineBoxContainValue.h: Added.
- (WebCore::CSSLineBoxContainValue::create):
- (WebCore::CSSLineBoxContainValue::value):
- (WebCore::CSSLineBoxContainValue::isCSSLineBoxContainValue):
- * css/CSSParser.cpp:
- (WebCore::CSSParser::parseValue):
- (WebCore::CSSParser::parseLineBoxContain):
- * css/CSSParser.h:
- * css/CSSPropertyNames.in:
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- * css/CSSValue.h:
- (WebCore::CSSValue::isCSSLineBoxContainValue):
- * css/CSSValueKeywords.in:
- * platform/graphics/Font.cpp:
- (WebCore::Font::width):
- * platform/graphics/Font.h:
- (WebCore::GlyphOverflow::GlyphOverflow):
- * platform/graphics/FontFastPath.cpp:
- (WebCore::Font::floatWidthForSimpleText):
- * platform/graphics/mac/FontComplexTextMac.cpp:
- (WebCore::Font::floatWidthForComplexText):
- * platform/graphics/win/FontWin.cpp:
- (WebCore::Font::floatWidthForComplexText):
- * rendering/InlineFlowBox.cpp:
- (WebCore::InlineFlowBox::computeLogicalBoxHeights):
- * rendering/InlineFlowBox.h:
- * rendering/RenderBlock.h:
- * rendering/RenderBlockLineLayout.cpp:
- (WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
- (WebCore::RenderBlock::layoutInlineChildren):
- * rendering/RenderInline.cpp:
- (WebCore::RenderInline::marginLeft):
- (WebCore::RenderInline::marginRight):
- (WebCore::RenderInline::marginTop):
- (WebCore::RenderInline::marginBottom):
- (WebCore::RenderInline::marginBefore):
- (WebCore::RenderInline::marginAfter):
- * rendering/RenderInline.h:
- * rendering/RenderText.cpp:
- (WebCore::RenderText::widthFromCache):
- (WebCore::RenderText::width):
- * rendering/RootInlineBox.cpp:
- (WebCore::RootInlineBox::alignBoxesInBlockDirection):
- (WebCore::setAscentAndDescent):
- (WebCore::RootInlineBox::ascentAndDescentForBox):
- (WebCore::RootInlineBox::verticalPositionForBox):
- (WebCore::RootInlineBox::includeLeadingForBox):
- (WebCore::RootInlineBox::includeFontForBox):
- (WebCore::RootInlineBox::includeGlyphsForBox):
- (WebCore::RootInlineBox::includeMarginForBox):
- (WebCore::RootInlineBox::fitsToGlyphs):
- (WebCore::RootInlineBox::includesRootLineBoxFontOrLeading):
- * rendering/RootInlineBox.h:
- * rendering/style/RenderStyle.cpp:
- (WebCore::RenderStyle::diff):
- * rendering/style/RenderStyle.h:
- (WebCore::InheritedFlags::lineBoxContain):
- (WebCore::InheritedFlags::setLineBoxContain):
- (WebCore::InheritedFlags::initialLineBoxContain):
- * rendering/style/StyleRareInheritedData.cpp:
- (WebCore::StyleRareInheritedData::StyleRareInheritedData):
- (WebCore::StyleRareInheritedData::operator==):
- * rendering/style/StyleRareInheritedData.h:
-
-2011-03-22 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r81653.
- http://trac.webkit.org/changeset/81653
- https://bugs.webkit.org/show_bug.cgi?id=56839
-
- Breaks fast/text/drawBidiText.html on Chromium. (Requested by
- pfeldman on #webkit).
-
- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::paintItemForeground):
-
-2011-03-22 Pavel Feldman <pfeldman@chromium.org>
-
- Not reviewed. Rolling out 81657, 81654, 81651 for breaking tests on \
chromium.
-
- * inspector/Inspector.json:
- * inspector/InspectorDatabaseResource.cpp:
- (WebCore::InspectorDatabaseResource::bind):
- * inspector/front-end/Database.js:
- (WebInspector.DatabaseDispatcher.prototype.addDatabase):
-
-2011-03-21 Pavel Podivilov <podivilov@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: [REGRESSION] scripts panel is broken when frontend is \
reopened.
- https://bugs.webkit.org/show_bug.cgi?id=56747
-
- Debugger should be enabled on front-end side to guarantee initialization \
sequence (resources come before scripts).
-
- * inspector/Inspector.json:
- * inspector/InspectorAgent.cpp:
- (WebCore::InspectorAgent::showProfilesPanel):
- * inspector/InspectorAgent.h:
- * inspector/InspectorController.cpp:
- (WebCore::InspectorController::InspectorController):
- (WebCore::InspectorController::connectFrontend):
- (WebCore::InspectorController::showAndEnableDebugger):
- * inspector/InspectorController.h:
- * inspector/InspectorDebuggerAgent.cpp:
- (WebCore::InspectorDebuggerAgent::setFrontend):
- (WebCore::InspectorDebuggerAgent::clearFrontend):
- * inspector/InspectorDebuggerAgent.h:
-
-2011-03-22 Jarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
-
- Reviewed by Benjamin Poulain.
-
- [Qt] WebGL: renderbufferStorage() fails with internal format GL_RGBA4
- https://bugs.webkit.org/show_bug.cgi?id=56824
-
- On desktop OpenGL substitute in renderbufferStorage:
- - GL_DEPTH24_STENCIL8 for GL_DEPTH_STENCIL
- - GL_DEPTH_COMPONENT for GL_DEPTH_COMPONENT16
- - GL_RGBA for GL_RGBA4 and GL_RGBA565
- - GL_RGB for RGB5_A1.
-
- Tests: fast/canvas/webgl/uninitialized-test.html
-
- * platform/graphics/qt/GraphicsContext3DQt.cpp:
- (WebCore::GraphicsContext3D::renderbufferStorage):
-
-2011-03-16 Dimitri Glazkov <dglazkov@chromium.org>
-
- Reviewed by Eric Seidel.
-
- Move volume slider positioning logic to a custom renderer.
- https://bugs.webkit.org/show_bug.cgi?id=56498
-
- No functional change, covered by existing tests.
-
- * html/shadow/MediaControls.cpp:
- (WebCore::MediaControls::updateVolumeSliderContainer): Removed positioning \
logic.
- * rendering/MediaControlElements.cpp:
- (WebCore::RenderMediaVolumeSliderContainer::RenderMediaVolumeSliderContainer): \
Added.
- (WebCore::RenderMediaVolumeSliderContainer::layout): Added.
- (WebCore::MediaControlVolumeSliderContainerElement::MediaControlVolumeSliderContainerElement): \
Removed storing of coordinates.
- (WebCore::MediaControlVolumeSliderContainerElement::createRenderer): Added.
- (WebCore::MediaControlVolumeSliderContainerElement::styleForElement): \
Removed setting of coordinates.
- * rendering/MediaControlElements.h: Changed corresponding decls.
-
-2011-03-22 Andrew Wason <rectalogic@rectalogic.com>
-
- Reviewed by Benjamin Poulain.
-
- [Qt] QWebPage with WebGL content crashes when rendering if no QWebView \
parent
- https://bugs.webkit.org/show_bug.cgi?id=54138
-
- * platform/graphics/qt/GraphicsContext3DQt.cpp:
- (WebCore::GraphicsContext3DInternal::getViewportGLWidget):
- Check if we actually have a QWebPageClient before dereferencing it.
-
-2011-03-22 Pavel Feldman <pfeldman@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: document DOM domain types and protocol methods.
- https://bugs.webkit.org/show_bug.cgi?id=56807
-
- * inspector/InjectedScript.cpp:
- (WebCore::InjectedScript::wrapNode):
- * inspector/InjectedScript.h:
- * inspector/Inspector.json:
- * inspector/InspectorBrowserDebuggerAgent.cpp:
- (WebCore::InspectorBrowserDebuggerAgent::descriptionForDOMEvent):
- * inspector/InspectorDOMAgent.cpp:
- (WebCore::InspectorDOMAgent::removeNode):
- (WebCore::InspectorDOMAgent::setNodeValue):
- * inspector/InspectorDOMAgent.h:
- * inspector/front-end/ElementsTreeOutline.js:
- (WebInspector.ElementsTreeElement.prototype._createTooltipForNode.resolvedNode):
- (WebInspector.ElementsTreeElement.prototype._createTooltipForNode):
- * inspector/front-end/EventListenersSidebarPane.js:
- * inspector/front-end/PropertiesSidebarPane.js:
- (WebInspector.PropertiesSidebarPane.prototype.update.nodeResolved):
- * inspector/front-end/RemoteObject.js:
- (WebInspector.RemoteObject.resolveNode):
-
-2011-03-22 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Production configuration in GYP isn&apos;t set up correctly
- https://bugs.webkit.org/show_bug.cgi?id=56786
-
- Update WebCore.gyp with information mined from WebCore.xcodeproj.
-
- * WebCore.gypi:
- * gyp/WebCore.gyp:
-
-2011-03-22 Ofri Wolfus <ofri@google.com>
-
- Reviewed by Eric Seidel.
-
- RTL: Select elements with a size attribute are always left aligned.
- https://bugs.webkit.org/show_bug.cgi?id=50928
-
- Added support for alignment in RenderListBox.
-
- Test: fast/forms/listbox-bidi-align.html
-
- * rendering/RenderListBox.cpp:
- (WebCore::RenderListBox::paintItemForeground): Add support for alignment and \
directionality.
-
-2011-03-22 Ilya Sherman <isherman@chromium.org>
-
- Reviewed by Kent Tamura.
-
- Clear autofilled flag when reseting a form
- In service of https://code.google.com/p/chromium/issues/detail?id=70037
- https://bugs.webkit.org/show_bug.cgi?id=56802
-
- Test: fast/forms/reset-autofilled.html
-
- * html/HTMLInputElement.cpp:
- (WebCore::HTMLInputElement::reset): Clear the autofilled flag.
-
-2011-03-22 Ilya Tikhonovsky <loislo@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: protocol cleanup. DatabaseAgent.
- https://bugs.webkit.org/show_bug.cgi?id=56815
-
- see protocol metabug:
- - All events should use notification wording, not command wording:
-
- addDatabase was renamed to DatabaseOpened.
-
- Test: inspector/protocol/database-agent.html
-
- * inspector/Inspector.json:
- * inspector/InspectorDatabaseResource.cpp:
- (WebCore::InspectorDatabaseResource::bind):
- * inspector/front-end/Database.js:
- (WebInspector.DatabaseDispatcher.prototype.DatabaseOpened):
-
-2011-03-22 Ilya Tikhonovsky <loislo@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: protocol cleanup. ConsoleAgent.
- https://bugs.webkit.org/show_bug.cgi?id=56806
-
- renamed method: void setConsoleMessagesEnabled(in boolean enabled, out \
boolean newState); => void enable(out long expiredMessagesCount);
- new method: disable()
- deleted method: [event] void consoleMessageExpiredCountUpdate(out unsigned \
long count); delete it. The counter will be transfered as out argument of enable \
command.
-
- * inspector/ConsoleMessage.cpp:
- (WebCore::ConsoleMessage::updateRepeatCountInConsole):
- * inspector/Inspector.json:
- * inspector/InspectorConsoleAgent.cpp:
- (WebCore::InspectorConsoleAgent::enable):
- (WebCore::InspectorConsoleAgent::disable):
- * inspector/InspectorConsoleAgent.h:
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessageRepeatCountUpdated):
- (WebInspector.ConsoleView.prototype.setConsoleMessageExpiredCount):
- * inspector/front-end/inspector.js:
-
-2011-03-22 Kent Tamura <tkent@chromium.org>
-
- Reviewed by Eric Seidel.
-
- REGRESSION(r80096): Number type input unexpectedly rounds fractional values
- https://bugs.webkit.org/show_bug.cgi?id=56367
-
- Because the default value of the maximum fractional digits of \
NSNumberFormatter
- and ICU NumberFormat is 3, the value 0.55555 is rounded to 0.556 in a
- localized representation. This bug affects only in Mac and Chromium.
-
- To fix this bug,
- - Add "maximum fractional digits" parameter to \
formatLocalizedNumber(), and
- - NumberInputType::visibleValue uses \
parseToDoubleForNumberTypeWithDecimalPlaces()
- instead of parseToDoubleForNumberType().
-
- No automated tests because the behavior is locale-dependent. This change
- updates a manual test.
-
- * html/NumberInputType.cpp:
- (WebCore::NumberInputType::visibleValue):
- Use parseToDoubleForNumberTypeWithDecimalPlaces() and passing fractional
- part length to formatLocalizedNumber().
- * manual-tests/input-number-localization.html:
- Update the test to cover this change.
- * platform/text/LocalizedNumber.h: Add a parameter to \
formatLocalizedNumber().
- * platform/text/LocalizedNumberICU.cpp:
- (WebCore::formatLocalizedNumber): Call setMaximumFractionalDigits().
- * platform/text/LocalizedNumberNone.cpp:
- (WebCore::formatLocalizedNumber):
- * platform/text/mac/LocalizedNumberMac.mm:
- (WebCore::formatLocalizedNumber): Call setMaximumFractionalDigits().
-
-2011-03-21 Abhishek Arya <inferno@chromium.org>
-
- Reviewed by Eric Seidel.
-
- Anonymous blocks need isRenderBlock cast check. Also, need
- to allow display BOX for flexible boxes.
- https://bugs.webkit.org/show_bug.cgi?id=56709
-
- Test: accessibility/anchor-linked-anonymous-block-crash.html
-
- * rendering/RenderBlock.cpp:
- (WebCore::canMergeContiguousAnonymousBlocks): remove specific
- fix in r81088 which is no longer needed.
- * rendering/RenderObject.h:
- (WebCore::RenderObject::isAnonymousBlock): Add isRenderBlock cast
- check.
-
-2011-03-21 Abhishek Arya <inferno@chromium.org>
-
- Reviewed by Eric Seidel.
-
- Revert small change made in r78846 of replacing move with positionLineBox
- in the adjusting position function for inline box.
- https://bugs.webkit.org/show_bug.cgi?id=56300
-
- The change in r78846 caused positioning line boxes during the step of \
adjusting
- position for inline box, thereby causing line boxes to be nuked. This \
happens as
- part of aligning boxes in block direction in \
RenderBlock::computeBlockDirectionPositionsForLine.
- Later on, we do the positioning of line boxes again later in that function. \
This
- causes use of removed inline box leading to crash. Also, it is unnecessary \
to do
- this twice.
-
- Tests: fast/inline/inline-box-adjust-position-crash.html
- fast/inline/inline-box-adjust-position-crash2.html
-
- * rendering/InlineBox.cpp:
- (WebCore::InlineBox::adjustPosition):
-
-2011-03-21 Adam Klein <adamk@chromium.org>
-
- Reviewed by David Levin.
-
- [fileapi] Add URI resolution support to WorkerContext
- https://bugs.webkit.org/show_bug.cgi?id=55644
-
- Tests: http/tests/filesystem/workers/resolve-url-sync.html
- http/tests/filesystem/workers/resolve-url.html
-
- * fileapi/LocalFileSystem.cpp:
- (WebCore::LocalFileSystem::readFileSystem):
- Add support for workers.
- * fileapi/LocalFileSystem.h:
- * workers/WorkerContext.cpp:
- (WebCore::WorkerContext::resolveLocalFileSystemURL):
- (WebCore::WorkerContext::resolveLocalFileSystemSyncURL):
- * workers/WorkerContext.h:
- * workers/WorkerContext.idl:
-
-2011-03-21 David Levin <levin@chromium.org>
-
- Reviewed by Adam Barth.
-
- XHR in Workers doesn't set the referrer correctly.
- https://bugs.webkit.org/show_bug.cgi?id=24683
-
- Tests: http/tests/xmlhttprequest/workers/referer.html
- http/tests/xmlhttprequest/workers/shared-worker-referer.html
-
- * loader/DocumentThreadableLoader.cpp:
- (WebCore::DocumentThreadableLoader::loadResourceSynchronously): Fill in \
empty string for the outgoing referrer.
- (WebCore::DocumentThreadableLoader::create): Added the ability to set the \
outgoing referrer.
- (WebCore::DocumentThreadableLoader::DocumentThreadableLoader): Ditto.
- (WebCore::DocumentThreadableLoader::loadRequest): Ditto.
- * loader/DocumentThreadableLoader.h: Ditto.
- * loader/ResourceLoadScheduler.cpp:
- (WebCore::ResourceLoadScheduler::scheduleSubresourceLoad): Ditto.
- * loader/ResourceLoadScheduler.h: Ditto.
- * loader/SubresourceLoader.cpp:
- (WebCore::SubresourceLoader::create): Fixed bug (caught by the test) in last \
minute change done in previous check-in.
- * loader/WorkerThreadableLoader.cpp:
- (WebCore::WorkerThreadableLoader::WorkerThreadableLoader): Fill in the \
outgoing referrer.
- (WebCore::WorkerThreadableLoader::MainThreadBridge::MainThreadBridge): \
Plumbing for the outgoing referrer.
- (WebCore::WorkerThreadableLoader::MainThreadBridge::mainThreadCreateLoader): \
Plumbing for the outgoing referrer.
- * loader/WorkerThreadableLoader.h:
-
-2011-03-21 Nate Chapin <japhet@chromium.org>
-
- Reviewed by Brady Eidson.
-
- Do not check the DocumentLoader's request cache policy
- in determining whether we should force revalidation of a cached
- subresource. If the main resource received headers telling it not
- to cache, that policy will be propagated to subresources.
-
- The previous behavior is left in behind a flag in Settings, since
- QuickLook depends on it.
-
- https://bugs.webkit.org/show_bug.cgi?id=38690
-
- Tests: http/tests/cache/post-redirect-get.php
- http/tests/cache/post-with-cached-subresources.php
-
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::subresourceCachePolicy):
- (WebCore::FrameLoader::loadPostRequest):
- * page/Settings.cpp:
- (WebCore::Settings::Settings):
- * page/Settings.h:
- (WebCore::Settings::setUseQuickLookResourceCachingQuirks):
- (WebCore::Settings::useQuickLookResourceCachingQuirks):
-
-2011-03-21 Rik Cabanier <cabanier@adobe.com>
-
- Reviewed by James Robinson.
-
- bug 56052: percentages are incorrectly rounded in WebKit
- https://bugs.webkit.org/show_bug.cgi?id=56052
-
- test: fast/css/percentage-non-integer.html
-
- * css/CSSStyleSelector.cpp:
- (WebCore::CSSStyleSelector::applyProperty):
- * page/PrintContext.cpp:
- (WebCore::PrintContext::pageProperty):
- * platform/Length.h:
- (WebCore::Length::Length):
- (WebCore::Length::operator*=):
- (WebCore::Length::value):
- (WebCore::Length::percent):
- (WebCore::Length::setValue):
- (WebCore::Length::calcValue):
- (WebCore::Length::calcMinValue):
- (WebCore::Length::isUndefined):
- (WebCore::Length::isZero):
- (WebCore::Length::isPositive):
- (WebCore::Length::isNegative):
- * rendering/AutoTableLayout.cpp:
- (WebCore::AutoTableLayout::recalcColumn):
- (WebCore::AutoTableLayout::computePreferredLogicalWidths):
- (WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
- (WebCore::AutoTableLayout::layout):
- * rendering/FixedTableLayout.cpp:
- (WebCore::FixedTableLayout::calcWidthArray):
- (WebCore::FixedTableLayout::layout):
- * rendering/RenderTableSection.cpp:
- (WebCore::RenderTableSection::addCell):
- (WebCore::RenderTableSection::layoutRows):
- * rendering/style/BorderData.h:
- (WebCore::BorderData::hasBorderRadius):
-
-2011-03-21 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Add WebCoreExportFileGenerator to WebCore GYP build
- https://bugs.webkit.org/show_bug.cgi?id=56778
-
- This target mirrors the eponymous target from WebCore.xcodeproj.
-
- * WebCore.gypi:
- * gyp/WebCore.gyp:
- * generate-webcore-export-file-generator.sh: Added.
-
-2011-03-21 Adam Barth <abarth@webkit.org>
-
- Reviewed by Dimitri Glazkov.
-
- WebCore GYP build shouldn&apos;t crash on startup
- https://bugs.webkit.org/show_bug.cgi?id=56776
-
- Debug builds shouldn't define NDEBUG. This same logic exists in the
- project.pbxproj file.
-
- * gyp/WebCore.gyp:
-
-2011-03-21 Daniel Cheng <dcheng@chromium.org>
-
- Reviewed by Tony Chang.
-
- [chromium] Implement glue between DataTransferItems and the pasteboard.
- https://bugs.webkit.org/show_bug.cgi?id=56330
-
- Support retrieving clipboard data in a paste through DataTransferItems.
-
- Test: editing/pasteboard/data-transfer-items.html
-
- * platform/chromium/ClipboardChromium.cpp:
- (WebCore::ClipboardChromium::items):
- * platform/chromium/DataTransferItemChromium.cpp:
- (WebCore::DataTransferItemChromium::createFromPasteboard):
- (WebCore::DataTransferItemChromium::create):
- (WebCore::DataTransferItemChromium::DataTransferItemChromium):
- (WebCore::DataTransferItemChromium::getAsString):
- * platform/chromium/DataTransferItemChromium.h:
- * platform/chromium/DataTransferItemsChromium.cpp:
- (WebCore::DataTransferItemsChromium::addPasteboardItem):
- * platform/chromium/DataTransferItemsChromium.h:
-
-2011-03-21 Chris Fleizach <cfleizach@apple.com>
-
- Reviewed by Darin Adler.
-
- AX: showContextMenu not working in WK2
- https://bugs.webkit.org/show_bug.cgi?id=56734
-
- WebKit2 is not able to directly open a context menu because the UI is in the \
other process.
- Instead the chrome client should be used. This also means implementing \
showContextMenu() in WebKit1
- code.
-
- * accessibility/mac/AccessibilityObjectWrapper.mm:
- (-[AccessibilityObjectWrapper accessibilityShowContextMenu]):
-
-2011-03-21 Robert Kroeger <rjkroege@chromium.org>
-
- Reviewed by Antonio Gomes.
-
- Add Support to WebCore to optionally call a platform-specific gesture \
recognizer
- https://bugs.webkit.org/show_bug.cgi?id=49345
-
- Added an ability for the EventHandler to invoke an optional platform
- specific gesture recognizer.
-
- No tests added because the change should be functionally invisible.
-
- * WebCore.gypi:
- * page/EventHandler.cpp:
- (WebCore::EventHandler::EventHandler):
- (WebCore::EventHandler::handleTouchEvent):
- * page/EventHandler.h:
- * platform/PlatformGestureRecognizer.cpp: Added.
- (WebCore::PlatformGestureRecognizer::PlatformGestureRecognizer):
- (WebCore::PlatformGestureRecognizer::~PlatformGestureRecognizer):
- (WebCore::PlatformGestureRecognizer::create):
- * platform/PlatformGestureRecognizer.h: Added.
-
-2011-03-21 Dean Jackson <dino@apple.com>
-
- Reviewed by Chris Marrin and Simon Fraser.
-
- https://bugs.webkit.org/show_bug.cgi?id=56325
- ASSERTION FAILED: paused() in AnimationBase::updateStateMachine()
-
- AnimationBase had a custom linked-list/self-pointer for keeping
- track of animations that needed to be notified of style updates
- and start progress. This caused problems when AnimationBase was
- destroyed, since the pointer wasn't managed in any way. I replaced
- these pointers with HashSets and moved the code that removes animations
- from the sets into AnimationControllerPrivate, where it belongs.
- CompositeAnimation is also more careful to tell AnimationControllerPrivate
- when it no longer needs to keep track of waiting animations.
-
- This should stop the style updates being called on non-active animations
- (which was the cause of the state machine error here) and should also
- stop a few of the related flakey test failures and occasional crashes.
-
- Test: animations/body-removal-crash.html
-
- * page/animation/AnimationBase.cpp:
- (WebCore::AnimationBase::AnimationBase):
- (WebCore::AnimationBase::updateStateMachine):
- * page/animation/AnimationBase.h:
- (WebCore::AnimationBase::~AnimationBase):
- - Remove the linked-list
- * page/animation/AnimationController.cpp:
- (WebCore::AnimationControllerPrivate::AnimationControllerPrivate):
- (WebCore::AnimationControllerPrivate::addToAnimationsWaitingForStyle):
- (WebCore::AnimationControllerPrivate::removeFromAnimationsWaitingForStyle):
- (WebCore::AnimationControllerPrivate::styleAvailable):
- (WebCore::AnimationControllerPrivate::addToAnimationsWaitingForStartTimeResponse):
- (WebCore::AnimationControllerPrivate::removeFromAnimationsWaitingForStartTimeResponse):
- (WebCore::AnimationControllerPrivate::startTimeResponse):
- (WebCore::AnimationControllerPrivate::animationWillBeRemoved):
- - New method to remove animations from the waiting lists
- * page/animation/AnimationControllerPrivate.h:
- - use a HashSet rather than an AnimationBase* pointer.
- * page/animation/CompositeAnimation.cpp:
- (WebCore::CompositeAnimation::~CompositeAnimation):
- (WebCore::CompositeAnimation::clearRenderer):
- (WebCore::CompositeAnimation::updateTransitions):
- (WebCore::CompositeAnimation::updateKeyframeAnimations):
- - remove the animations and transitions from the lists when we know
- they are no longer active (rather than waiting for the AnimationBase
- to do it when destructing)
-
-2011-03-21 Justin Schuh <jschuh@chromium.org>
-
- Reviewed by James Robinson.
-
- Stop inserting when the parent is removed
- https://bugs.webkit.org/show_bug.cgi?id=56690
-
- Tests: fast/dom/insertedIntoDocument-child.html
- fast/dom/insertedIntoDocument-iframe.html
- fast/dom/insertedIntoDocument-sibling.html
-
- * dom/ContainerNode.cpp:
- (WebCore::ContainerNode::insertedIntoDocument):
- * html/HTMLEmbedElement.cpp:
- (WebCore::HTMLEmbedElement::insertedIntoDocument):
- * html/HTMLObjectElement.cpp:
- (WebCore::HTMLObjectElement::insertedIntoDocument):
-
-2011-03-07 David Levin <levin@chromium.org>
-
- Reviewed by Adam Barth.
-
- SubresourceLoader should expose a way to set the outgoing referer/origin
- https://bugs.webkit.org/show_bug.cgi?id=55903
-
- No new tests as no new functionality is exposed.
-
- * loader/SubresourceLoader.cpp:
- (WebCore::SubresourceLoader::create):
- * loader/SubresourceLoader.h:
-
-2011-03-21 Daniel Sievers <sievers@google.com>
-
- Reviewed by Simon Fraser.
-
- [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable \
from the DumpRenderTree commandline
- https://bugs.webkit.org/show_bug.cgi?id=56139
-
- * WebCore.exp.in:
- * WebCore.order:
- * page/Frame.cpp:
- (WebCore::Frame::layerTreeAsText):
- * page/Frame.h:
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::layerTreeAsText):
- * rendering/RenderLayerCompositor.h:
-
-2011-03-21 Chang Shu <cshu@webkit.org>
-
- Reviewed by Alexey Proskuryakov.
-
- REGRESSION (r79953): Can't type in MS Outlook 2011
- https://bugs.webkit.org/show_bug.cgi?id=56665
-
- r79953 removed the WebView level editablity which is persistent no matter \
whether
- underlying document itself is changed and editability gets lost. The \
resolution is to
- set this WebView editable value to WebCore. This avoids the callback from \
WebCore to
- WebKit which was the main goal in r79953 to improve performance.
-
- * WebCore.exp.in:
- * accessibility/AccessibilityRenderObject.cpp:
- (WebCore::AccessibilityRenderObject::isReadOnly):
- * dom/Node.cpp:
- (WebCore::Node::isContentEditable):
- * editing/SelectionController.cpp:
- (WebCore::SelectionController::setSelectionFromNone):
- * page/DragController.cpp:
- (WebCore::DragController::operationForLoad):
- * page/Page.cpp:
- (WebCore::Page::Page):
- * page/Page.h:
- (WebCore::Page::setEditable):
- (WebCore::Page::isEditable):
-
-2011-03-21 Eric Uhrhane <ericu@chromium.org>
-
- Reviewed by David Levin.
-
- [fileapi/chromium] Fetch platform path using GetMetadata before creating \
File from FileEntry*
- https://bugs.webkit.org/show_bug.cgi?id=56704
-
- * fileapi/DOMFileSystemSync.cpp
- (DOMFileSystemSync::createFile)
- (class GetPathHelper): Added, to look up path before creating File.
- * fileapi/DOMFileSystem.cpp
- (DOMFileSystem::createFile)
- (GetPathCallback): Added, to look up path before creating File.
- * platform/FileMetadata.h
- (struct FileMetadata): Added new field platformPath.
-
-2011-03-21 Dominic Cooney <dominicc@google.com>
-
- Reviewed by Jeremy Orlow.
-
- Establishes a V8 context before executing MediaQueryList callbacks.
- https://bugs.webkit.org/show_bug.cgi?id=56166
-
- MediaQueryList listener callbacks didn't establish a V8 context
- before running script, causing crashes on C++-only
- callstacks (such as user resizing, printing, etc.) I believe this
- could also be contrived to execute media query list listener
- callbacks across domain.
-
- Test: fast/media/media-query-list-callback.html
-
- * css/MediaQueryListListener.cpp:
- (WebCore::MediaQueryListListener::queryChanged):
-
-2011-03-21 Andreas Kling <kling@webkit.org>
-
- Reviewed by Tor Arne Vestbø.
-
- [Qt] Add QNetworkReplyHandler::wasAborted()
-
- Instead of checking if the ResourceHandle is null everywhere,
- use a wasAborted() method to make the code readable.
-
- * platform/network/qt/QNetworkReplyHandler.h:
- (WebCore::QNetworkReplyHandler::wasAborted):
- * platform/network/qt/QNetworkReplyHandler.cpp:
- (WebCore::QNetworkReplyHandler::finish):
- (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
- (WebCore::QNetworkReplyHandler::redirect):
- (WebCore::QNetworkReplyHandler::forwardData):
- (WebCore::QNetworkReplyHandler::uploadProgress):
-
-2011-03-21 Christian Dywan <christian@lanedo.com>
-
- Reviewed by Martin Robinson.
-
- WebKitIconDatabase may trigger crash in cairoImageSurfaceToGdkPixbuf
- https://bugs.webkit.org/show_bug.cgi?id=56201
-
- * platform/graphics/gtk/ImageGtk.cpp: Don't attempt to make a pixbuf
- if there is no image.
-
-2011-03-21 Mario Sanchez Prada <msanchez@igalia.com>
-
- Reviewed by Martin Robinson.
-
- [GTK] [Stable] AtkHypertext exposes wrong offsets for links placed inside \
<span> nodes
- https://bugs.webkit.org/show_bug.cgi?id=56737
-
- Only consider parent objects not ignoring accessibility.
-
- * accessibility/gtk/WebKitAccessibleHyperlink.cpp:
- (webkitAccessibleHyperlinkGetStartIndex): Look for the parent
- object not ignoring accessibility for the current hyperlink.
- (webkitAccessibleHyperlinkGetEndIndex): Ditto.
-
-2011-03-21 Andreas Kling <kling@webkit.org>
-
- Reviewed by Benjamin Poulain.
-
- [Qt] Remove handling of QNetworkAccessManager::UnknownOperation
-
- Now that Qt 4.7 is required we never have to fall back to UnknownOperation.
- Custom verb requests are using CustomOperation already, so this was dead \
code.
-
- * platform/network/qt/QNetworkReplyHandler.cpp:
- (WebCore::QNetworkReplyHandler::start):
-
-2011-03-21 Adam Roben <aroben@apple.com>
-
- Fix multiple-definition linker warnings on Windows
-
- * WebCore.vcproj/WebCore.vcproj: Exclude RenderSVGPath.cpp from the build, \
since it is
- already being compiled via RenderingAllInOne.cpp. Let VS have its way with \
the rest of the
- file.
-
-2011-03-21 Andreas Kling <kling@webkit.org>
-
- Reviewed by Benjamin Poulain.
-
- [Qt] Clean up QNetworkReplyHandler::release()
-
- Since QNetworkReplyHandler no longer uses queued connections to
- the QNetworkReply, it's not necessary to mess with the event
- queue when releasing a reply.
-
- * platform/network/qt/QNetworkReplyHandler.cpp:
- (WebCore::QNetworkReplyHandler::abort):
- (WebCore::QNetworkReplyHandler::release):
-
-2011-03-21 Vsevolod Vlasov <vsevik@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: Inspector does not always show correct transfer size (for \
compressed/chunked data)
- https://bugs.webkit.org/show_bug.cgi?id=56691
-
- Added transfer size support in inspector for compressed data.
-
- Test: http/tests/inspector/network/network-size-chunked.html
-
- * inspector/Inspector.idl:
- * inspector/InspectorInstrumentation.cpp:
- (WebCore::InspectorInstrumentation::didReceiveContentLengthImpl):
- * inspector/InspectorInstrumentation.h:
- (WebCore::InspectorInstrumentation::didReceiveContentLength):
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::didReceiveResponse):
- (WebCore::InspectorResourceAgent::didReceiveContentLength):
- * inspector/InspectorResourceAgent.h:
- * inspector/front-end/NetworkManager.js:
- (WebInspector.NetworkDispatcher.prototype.didReceiveContentLength):
- * inspector/front-end/Resource.js:
- (WebInspector.Resource.prototype.get transferSize):
- (WebInspector.Resource.prototype.increaseTransferSize):
- * loader/ResourceLoadNotifier.cpp:
- (WebCore::ResourceLoadNotifier::didReceiveData):
- (WebCore::ResourceLoadNotifier::dispatchDidReceiveContentLength):
- (WebCore::ResourceLoadNotifier::sendRemainingDelegateMessages):
- * loader/ResourceLoadNotifier.h:
- * loader/appcache/ApplicationCacheGroup.cpp:
- (WebCore::ApplicationCacheGroup::didReceiveData):
- * platform/network/mac/ResourceHandleMac.mm:
- (-[WebCoreResourceHandleAsDelegate \
connection:didReceiveData:lengthReceived:]):
- * platform/network/qt/QNetworkReplyHandler.cpp:
- (WebCore::QNetworkReplyHandler::forwardData):
- * platform/network/soup/ResourceHandleSoup.cpp:
- (WebCore::gotChunkCallback):
- * platform/network/win/ResourceHandleWin.cpp:
- (WebCore::ResourceHandle::onRequestComplete):
- (WebCore::ResourceHandle::fileLoadTimer):
-
-2011-03-21 Leo Yang <leo.yang@torchmobile.com.cn>
-
- Reviewed by Dirk Schulze.
-
- symbol display <use> at wrong scale
- https://bugs.webkit.org/show_bug.cgi?id=54538
-
- SVG spec: http://www.w3.org/TR/SVG/struct.html#UseElement
- Quotation for referenced <symbol>: "If attributes 'width'
- and/or 'height' are provided on the 'use' element, then
- these attributes will be transferred to the generated 'svg'."
- Quotation for referenced <svg>: "If attributes 'width'
- and/or 'height' are provided on the 'use' element, then
- these values will override the corresponding attributes
- on the 'svg' in the generated tree."
- For above quotations, we should treat 'use' element as referencing
- 'use' element, just like Firefox 3.6 and Opera 11, instead of
- corrensponding 'use' element.
-
- Tests: svg/custom/use-transfer-width-height-properties-to-svg.svg
- svg/custom/use-transfer-width-height-properties-to-svg1.svg
- svg/custom/use-transfer-width-height-properties-to-svg2.svg
- svg/custom/use-transfer-width-height-properties-to-symbol.svg
- svg/custom/use-transfer-width-height-properties-to-symbol1.svg
- svg/custom/use-transfer-width-height-properties-to-symbol2.svg
-
- * svg/SVGElementInstance.cpp:
- (WebCore::SVGElementInstance::SVGElementInstance):
- * svg/SVGElementInstance.h:
- (WebCore::SVGElementInstance::create):
- (WebCore::SVGElementInstance::correspondingUseElement):
- (WebCore::SVGElementInstance::directUseElement):
- (WebCore::SVGElementInstance::clearUseElements):
- * svg/SVGUseElement.cpp:
- (WebCore::updateContainerSize):
- (WebCore::SVGUseElement::updateContainerSizes):
- (WebCore::dumpInstanceTree):
- (WebCore::SVGUseElement::detachInstance):
- (WebCore::SVGUseElement::buildInstanceTree):
-
-2011-03-21 Jaehun Lim <ljaehun.lim@samsung.com>
-
- Reviewed by Pavel Feldman.
-
- Fix build break when inspector is enabled.
- https://bugs.webkit.org/show_bug.cgi?id=56735
-
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::continueLoadAfterNavigationPolicy): Add \
ENABLE(INSPECTOR).
-
-2011-03-21 Philippe Normand <pnormand@igalia.com>
-
- Unreviewed, GTK distcheck build fix.
-
- * GNUmakefile.am:
-
-2011-03-21 Julien Chaffraix <jchaffraix@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Bug 51465 - chrome.dll!WebCore::RenderLayer::currentTransform
- ReadAV@NULL (8968fc97874fa23b6799ff8f09c142e4)
-
- Test: fast/css/webkit-empty-transform-preserve3d-crash.html
-
- * rendering/RenderBox.cpp:
- (WebCore::RenderBox::layoutOverflowRectForPropagation): Mimicked the
- rest of the code and check that the RenderBox has a layer to avoid
- crashing on the layer() call.
-
-2011-03-21 Pavel Feldman <pfeldman@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: move cookie processing and appcache from DOMAgent.js
- https://bugs.webkit.org/show_bug.cgi?id=56713
-
- * inspector/front-end/ApplicationCacheItemsView.js:
- (WebInspector.ApplicationCacheDispatcher):
- (WebInspector.ApplicationCacheDispatcher.getApplicationCachesAsync):
- (WebInspector.ApplicationCacheDispatcher.prototype.updateApplicationCacheStatus):
- (WebInspector.ApplicationCacheDispatcher.prototype.updateNetworkState):
- * inspector/front-end/CookieItemsView.js:
- (WebInspector.Cookies.getCookiesAsync):
- (WebInspector.Cookies.buildCookiesFromString):
- (WebInspector.Cookies.cookieMatchesResourceURL):
- (WebInspector.Cookies.cookieDomainMatchesResourceDomain):
- * inspector/front-end/DOMAgent.js:
- (WebInspector.DOMNode.prototype.eventListeners):
- * inspector/front-end/EventListenersSidebarPane.js:
- (WebInspector.EventListenersSidebarPane.prototype.update):
-
-2011-03-21 Pavel Feldman <pfeldman@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: migrate Inspector.json to valid JSON types.
- https://bugs.webkit.org/show_bug.cgi?id=56651
-
- This change migrates inspector from long to int as
- dom, storage, database and other id types.
-
- * inspector/InjectedScriptHost.cpp:
- (WebCore::InjectedScriptHost::inspectedNode):
- (WebCore::InjectedScriptHost::databaseIdImpl):
- (WebCore::InjectedScriptHost::storageIdImpl):
- (WebCore::InjectedScriptHost::didCreateWorker):
- (WebCore::InjectedScriptHost::didDestroyWorker):
- * inspector/InjectedScriptHost.h:
- * inspector/InjectedScriptHost.idl:
- * inspector/Inspector.json:
- * inspector/InspectorAgent.cpp:
- (WebCore::InspectorAgent::highlightDOMNode):
- * inspector/InspectorAgent.h:
- * inspector/InspectorBrowserDebuggerAgent.cpp:
- (WebCore::InspectorBrowserDebuggerAgent::setDOMBreakpoint):
- (WebCore::InspectorBrowserDebuggerAgent::removeDOMBreakpoint):
- (WebCore::InspectorBrowserDebuggerAgent::descriptionForDOMEvent):
- (WebCore::InspectorBrowserDebuggerAgent::hasBreakpoint):
- * inspector/InspectorBrowserDebuggerAgent.h:
- * inspector/InspectorCSSAgent.cpp:
- (WebCore::InspectorCSSAgent::getStylesForNode):
- (WebCore::InspectorCSSAgent::getInlineStyleForNode):
- (WebCore::InspectorCSSAgent::getComputedStyleForNode):
- (WebCore::InspectorCSSAgent::setPropertyText):
- (WebCore::InspectorCSSAgent::toggleProperty):
- (WebCore::InspectorCSSAgent::addRule):
- (WebCore::InspectorCSSAgent::elementForId):
- * inspector/InspectorCSSAgent.h:
- * inspector/InspectorConsoleAgent.cpp:
- (WebCore::InspectorConsoleAgent::count):
- (WebCore::InspectorConsoleAgent::addInspectedNode):
- (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
- * inspector/InspectorConsoleAgent.h:
- * inspector/InspectorDOMAgent.cpp:
- (WebCore::InspectorDOMAgent::bind):
- (WebCore::InspectorDOMAgent::unbind):
- (WebCore::InspectorDOMAgent::assertNode):
- (WebCore::InspectorDOMAgent::assertElement):
- (WebCore::InspectorDOMAgent::assertHTMLElement):
- (WebCore::InspectorDOMAgent::nodeToSelectOn):
- (WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
- (WebCore::InspectorDOMAgent::nodeForId):
- (WebCore::InspectorDOMAgent::getChildNodes):
- (WebCore::InspectorDOMAgent::querySelector):
- (WebCore::InspectorDOMAgent::querySelectorAll):
- (WebCore::InspectorDOMAgent::pushNodePathToFrontend):
- (WebCore::InspectorDOMAgent::boundNodeId):
- (WebCore::InspectorDOMAgent::setAttribute):
- (WebCore::InspectorDOMAgent::removeAttribute):
- (WebCore::InspectorDOMAgent::removeNode):
- (WebCore::InspectorDOMAgent::setNodeName):
- (WebCore::InspectorDOMAgent::getOuterHTML):
- (WebCore::InspectorDOMAgent::setOuterHTML):
- (WebCore::InspectorDOMAgent::setNodeValue):
- (WebCore::InspectorDOMAgent::getEventListenersForNode):
- (WebCore::InspectorDOMAgent::resolveNode):
- (WebCore::InspectorDOMAgent::pushNodeToFrontend):
- (WebCore::InspectorDOMAgent::buildObjectForNode):
- (WebCore::InspectorDOMAgent::loadEventFired):
- (WebCore::InspectorDOMAgent::didInsertDOMNode):
- (WebCore::InspectorDOMAgent::didRemoveDOMNode):
- (WebCore::InspectorDOMAgent::didModifyDOMAttr):
- (WebCore::InspectorDOMAgent::characterDataModified):
- (WebCore::InspectorDOMAgent::didInvalidateStyleAttr):
- (WebCore::InspectorDOMAgent::reportNodesAsSearchResults):
- (WebCore::InspectorDOMAgent::copyNode):
- (WebCore::InspectorDOMAgent::pushNodeByPathToFrontend):
- * inspector/InspectorDOMAgent.h:
- * inspector/InspectorDOMStorageAgent.cpp:
- (WebCore::InspectorDOMStorageAgent::getDOMStorageEntries):
- (WebCore::InspectorDOMStorageAgent::setDOMStorageItem):
- (WebCore::InspectorDOMStorageAgent::removeDOMStorageItem):
- (WebCore::InspectorDOMStorageAgent::storageId):
- (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
- * inspector/InspectorDOMStorageAgent.h:
- * inspector/InspectorDOMStorageResource.cpp:
- * inspector/InspectorDOMStorageResource.h:
- (WebCore::InspectorDOMStorageResource::id):
- * inspector/InspectorDatabaseAgent.cpp:
- (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
- (WebCore::InspectorDatabaseAgent::executeSQL):
- (WebCore::InspectorDatabaseAgent::databaseId):
- (WebCore::InspectorDatabaseAgent::databaseForId):
- * inspector/InspectorDatabaseAgent.h:
- * inspector/InspectorDatabaseResource.cpp:
- * inspector/InspectorDatabaseResource.h:
- (WebCore::InspectorDatabaseResource::id):
- * inspector/InspectorDebuggerAgent.cpp:
- (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
- * inspector/InspectorDebuggerAgent.h:
- * inspector/InspectorProfilerAgent.cpp:
- (WebCore::InspectorProfilerAgent::getExactHeapSnapshotNodeRetainedSize):
- * inspector/InspectorProfilerAgent.h:
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::InspectorResourceAgent::identifierForInitialRequest):
- (WebCore::InspectorResourceAgent::willSendRequest):
- (WebCore::InspectorResourceAgent::markResourceAsCached):
- (WebCore::InspectorResourceAgent::didReceiveResponse):
- (WebCore::InspectorResourceAgent::didReceiveContentLength):
- (WebCore::InspectorResourceAgent::didFinishLoading):
- (WebCore::InspectorResourceAgent::didFailLoading):
- (WebCore::InspectorResourceAgent::setInitialContent):
- (WebCore::InspectorResourceAgent::didCreateWebSocket):
- (WebCore::InspectorResourceAgent::willSendWebSocketHandshakeRequest):
- (WebCore::InspectorResourceAgent::didReceiveWebSocketHandshakeResponse):
- (WebCore::InspectorResourceAgent::didCloseWebSocket):
- * inspector/generate-inspector-idl:
-
-2011-03-21 Pavel Feldman <pfeldman@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: make frameId in network agent of type string, not unsigned \
long.
- https://bugs.webkit.org/show_bug.cgi?id=56708
-
- * inspector/Inspector.json:
- * inspector/InspectorAgent.cpp:
- (WebCore::InspectorAgent::highlightFrame):
- * inspector/InspectorAgent.h:
- * inspector/InspectorResourceAgent.cpp:
- (WebCore::pointerAsId):
- (WebCore::buildObjectForDocumentLoader):
- (WebCore::buildObjectForFrame):
- (WebCore::InspectorResourceAgent::frameDetachedFromParent):
- (WebCore::InspectorResourceAgent::frameForId):
- (WebCore::InspectorResourceAgent::resourceContent):
- * inspector/InspectorResourceAgent.h:
- * inspector/front-end/ResourcesPanel.js:
- (WebInspector.ResourcesPanel.prototype.addOrUpdateFrame):
-
-2011-03-21 Pavel Feldman <pfeldman@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: expose object id as string, not JSON struct in the protocol.
- https://bugs.webkit.org/show_bug.cgi?id=56681
-
- * bindings/js/JSInjectedScriptHostCustom.cpp:
- (WebCore::JSInjectedScriptHost::inspect):
- * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
- (WebCore::V8InjectedScriptHost::inspectCallback):
- * inspector/InjectedScript.cpp:
- (WebCore::InjectedScript::evaluateOn):
- (WebCore::InjectedScript::evaluateOnCallFrame):
- (WebCore::InjectedScript::getProperties):
- (WebCore::InjectedScript::nodeForObjectId):
- (WebCore::InjectedScript::setPropertyValue):
- (WebCore::InjectedScript::releaseObject):
- * inspector/InjectedScript.h:
- * inspector/InjectedScriptHost.cpp:
- (WebCore::InjectedScriptHost::inspectImpl):
- * inspector/InjectedScriptHost.h:
- * inspector/InjectedScriptManager.cpp:
- (WebCore::InjectedScriptManager::injectedScriptForObjectId):
- (WebCore::InjectedScriptManager::releaseObjectGroup):
- * inspector/InjectedScriptManager.h:
- * inspector/InjectedScriptSource.js:
- * inspector/Inspector.json:
- * inspector/InspectorConsoleAgent.cpp:
- (WebCore::InspectorConsoleAgent::clearConsoleMessages):
- * inspector/InspectorDOMAgent.cpp:
- (WebCore::InspectorDOMAgent::pushNodeToFrontend):
- * inspector/InspectorDOMAgent.h:
- * inspector/InspectorDebuggerAgent.cpp:
- (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
- * inspector/InspectorDebuggerAgent.h:
- * inspector/InspectorRuntimeAgent.cpp:
- (WebCore::InspectorRuntimeAgent::evaluateOn):
- (WebCore::InspectorRuntimeAgent::getProperties):
- (WebCore::InspectorRuntimeAgent::setPropertyValue):
- (WebCore::InspectorRuntimeAgent::releaseObject):
- (WebCore::InspectorRuntimeAgent::releaseObjectGroup):
- * inspector/InspectorRuntimeAgent.h:
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleView.prototype.completions.evaluatedProperties):
- (WebInspector.ConsoleView.prototype.completions):
- * inspector/front-end/PropertiesSidebarPane.js:
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.releaseEvaluationResult):
- * inspector/front-end/WatchExpressionsSidebarPane.js:
- (WebInspector.WatchExpressionsSection.prototype.update):
- * inspector/front-end/inspector.js:
- (WebInspector.inspect):
-
-2011-03-20 Bill Budge <bbudge@chromium.org>
-
- Reviewed by Adam Barth.
-
- Rename ThreadSafeShared to ThreadSafeRefCounted
- https://bugs.webkit.org/show_bug.cgi?id=56714
-
- No new tests. Exposes no new functionality.
-
- * ForwardingHeaders/wtf/ThreadSafeRefCounted.h: Copied from \
ForwardingHeaders/wtf/ThreadSafeShared.h.
- * ForwardingHeaders/wtf/ThreadSafeShared.h: Removed.
- * bindings/v8/SerializedScriptValue.h:
- * dom/Document.cpp:
- * dom/default/PlatformMessagePortChannel.h:
- * fileapi/FileThread.h:
- * loader/ThreadableLoaderClientWrapper.h:
- (WebCore::ThreadableLoaderClientWrapper::create):
- (WebCore::ThreadableLoaderClientWrapper::clearClient):
- (WebCore::ThreadableLoaderClientWrapper::done):
- (WebCore::ThreadableLoaderClientWrapper::didSendData):
- (WebCore::ThreadableLoaderClientWrapper::didReceiveResponse):
- (WebCore::ThreadableLoaderClientWrapper::didReceiveData):
- (WebCore::ThreadableLoaderClientWrapper::didReceiveCachedMetadata):
- (WebCore::ThreadableLoaderClientWrapper::didFinishLoading):
- (WebCore::ThreadableLoaderClientWrapper::didFail):
- (WebCore::ThreadableLoaderClientWrapper::didFailRedirectCheck):
- (WebCore::ThreadableLoaderClientWrapper::didReceiveAuthenticationCancellation):
- (WebCore::ThreadableLoaderClientWrapper::ThreadableLoaderClientWrapper):
- * page/SecurityOrigin.h:
- * platform/CrossThreadCopier.h:
- * platform/network/BlobData.h:
- * platform/network/cf/SocketStreamHandle.h:
- * storage/AbstractDatabase.h:
- * storage/DatabaseAuthorizer.h:
- * storage/DatabaseCallback.h:
- * storage/DatabaseThread.h:
- * storage/IDBCallbacks.h:
- * storage/IDBCursorBackendInterface.h:
- * storage/IDBDatabaseBackendInterface.h:
- * storage/IDBFactoryBackendInterface.h:
- * storage/IDBIndexBackendInterface.h:
- * storage/IDBKey.h:
- * storage/IDBKeyRange.h:
- * storage/IDBObjectStoreBackendInterface.h:
- * storage/IDBRequest.h:
- * storage/IDBTransactionBackendInterface.h:
- * storage/SQLError.h:
- * storage/SQLResultSet.h:
- * storage/SQLStatement.h:
- * storage/SQLStatementCallback.h:
- * storage/SQLStatementErrorCallback.h:
- * storage/SQLTransaction.h:
- * storage/SQLTransactionCallback.h:
- * storage/SQLTransactionErrorCallback.h:
- * websockets/ThreadableWebSocketChannelClientWrapper.h:
- * workers/DefaultSharedWorkerRepository.cpp:
-
-2011-03-20 Andreas Kling <kling@webkit.org>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [Qt] Clean up redirection logic in QNetworkReplyHandler
- https://bugs.webkit.org/show_bug.cgi?id=56717
-
- * platform/network/qt/QNetworkReplyHandler.cpp:
- (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
- Use resetState() when constructing QNRH as well.
-
- (WebCore::QNetworkReplyHandler::resetState):
- Delete (deferred) the m_reply if one exists (only when redirecting.)
-
- (WebCore::QNetworkReplyHandler::finish):
- Return early when redirecting.
-
- (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
- (WebCore::QNetworkReplyHandler::redirect):
- Move the redirection logic from sendResponseIfNeeded() into a
- separate redirect() method.
-
-2011-03-19 Andreas Kling <kling@webkit.org>
-
- Reviewed by Benjamin Poulain.
-
- [Qt] Rename ignoreHttpError() to shouldIgnoreHttpError()
-
- The function doesn't ignore anything, thus it shouldn't have an imperative \
name.
-
- * platform/network/qt/QNetworkReplyHandler.cpp:
- (WebCore::shouldIgnoreHttpError):
- (WebCore::QNetworkReplyHandler::finish):
- (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
-
-2011-03-19 Andreas Kling <kling@webkit.org>
-
- Reviewed by Benjamin Poulain.
-
- [Qt] Kill layer violation FIXME in ResourceHandleQt.
-
- We were including qwebframe_p.h from WebKit/qt for no reason.
-
- * platform/network/qt/ResourceHandleQt.cpp:
-
-2011-03-19 Andreas Kling <kling@webkit.org>
-
- Reviewed by Benjamin Poulain.
-
- [Qt] Refactor handling of deferred loads
- https://bugs.webkit.org/show_bug.cgi?id=56715
-
- Split QNetworkReplyHandler's "load mode" into two parameters
- instead of trying to fit the deferral mechanism into it.
-
- Loads are now AsynchronousLoad (default) or SynchronousLoad (for sync XHR.)
-
- * platform/network/qt/QNetworkReplyHandler.cpp:
- (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
- (WebCore::QNetworkReplyHandler::setLoadingDeferred):
- (WebCore::QNetworkReplyHandler::resumeDeferredLoad):
- (WebCore::QNetworkReplyHandler::finish):
- (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
- (WebCore::QNetworkReplyHandler::forwardData):
- (WebCore::QNetworkReplyHandler::start):
- (WebCore::QNetworkReplyHandler::resetState):
- * platform/network/qt/QNetworkReplyHandler.h:
- * platform/network/qt/ResourceHandleQt.cpp:
- (WebCore::ResourceHandle::start):
- (WebCore::ResourceHandle::loadResourceSynchronously):
- (WebCore::ResourceHandle::platformSetDefersLoading):
-
-2011-03-19 Anton D'Auria <adauria@apple.com>
-
- Reviewed by Alexey Proskuryakov.
-
- ApplicationCacheGroup is not obsolete after being deleted via \
ApplicationCacheStorage::deleteEntriesForOrigin
- https://bugs.webkit.org/show_bug.cgi?id=56415
-
- To delete all Application Cache for an origin, we must obsolete all
- in-memory cache groups for that origin. If a cache group isn't in memory,
- then it must be deleted from disk. The previous implementation correctly
- removed on-disk cache groups, but did not mark in-memory cache groups as \
obsolete.
- This caused an assertion failure in \
ApplicationCacheStorage::cacheGroupDestroyed()
- when the DocumentLoader was destroyed.
-
- Test: http/tests/appcache/origin-delete.html
-
- * WebCore.exp.in:
- * WebCore.xcodeproj/project.pbxproj:
- * loader/appcache/ApplicationCache.cpp:
- (WebCore::ApplicationCache::clearStorageID):
- (WebCore::ApplicationCache::deleteCacheForOrigin):
- * loader/appcache/ApplicationCache.h:
- * loader/appcache/ApplicationCacheStorage.cpp:
- (WebCore::ApplicationCacheStorage::findInMemoryCacheGroup):
- * loader/appcache/ApplicationCacheStorage.h:
-
-2011-03-19 Gyuyoung Kim <gyuyoung.kim@samsung.com>
-
- Reviewed by Antonio Gomes.
-
- [EFL] Add dummy GeolocationServiceEfl. cpp | h
- https://bugs.webkit.org/show_bug.cgi?id=56710
-
- Add dummy GeolocationServiceEfl.cpp | h to platform/efl.
-
- * CMakeListsEfl.txt:
- * platform/efl/GeolocationServiceEfl.cpp: Added.
- (WebCore::GeolocationServiceEfl::create):
- (WebCore::GeolocationServiceEfl::GeolocationServiceEfl):
- (WebCore::GeolocationServiceEfl::~GeolocationServiceEfl):
- (WebCore::GeolocationServiceEfl::startUpdating):
- (WebCore::GeolocationServiceEfl::stopUpdating):
- (WebCore::GeolocationServiceEfl::suspend):
- (WebCore::GeolocationServiceEfl::resume):
- (WebCore::GeolocationServiceEfl::lastPosition):
- (WebCore::GeolocationServiceEfl::lastError):
- * platform/efl/GeolocationServiceEfl.h: Added.
-
-2011-03-19 Patrick Gansterer <paroga@webkit.org>
-
- Unreviewed, rolling out r81551.
- http://trac.webkit.org/changeset/81551
- https://bugs.webkit.org/show_bug.cgi?id=55336
-
- Broke some storage tests on Win32.
-
- * platform/win/FileSystemWin.cpp:
- (WebCore::statFile):
- (WebCore::getFileSize):
- (WebCore::getFileModificationTime):
- (WebCore::fileExists):
-
-2011-03-19 Andreas Kling <kling@webkit.org>
-
- Reviewed by Benjamin Poulain.
-
- [Qt] Remove support for Qt 4.6
- https://bugs.webkit.org/show_bug.cgi?id=56712
-
- * platform/graphics/qt/FontPlatformDataQt.cpp:
- (WebCore::FontPlatformData::FontPlatformData):
- * platform/graphics/qt/FontQt.cpp:
- (WebCore::drawTextCommon):
- (WebCore::Font::drawSimpleText):
- (WebCore::Font::floatWidthForSimpleText):
- (WebCore::Font::offsetForPositionForSimpleText):
- (WebCore::Font::selectionRectForSimpleText):
- * platform/graphics/qt/GraphicsContext3DQt.cpp:
- (WebCore::GraphicsContext3DInternal::paint):
- * platform/graphics/qt/ImageBufferQt.cpp:
- (WebCore::getImageData):
- * platform/graphics/qt/ImageDecoderQt.cpp:
- (WebCore::ImageDecoderQt::internalHandleCurrentImage):
- * platform/graphics/qt/PathQt.cpp:
- (WebCore::Path::transform):
- * platform/network/qt/DnsPrefetchHelper.h:
- (WebCore::DnsPrefetchHelper::DnsPrefetchHelper):
- (WebCore::DnsPrefetchHelper::lookup):
- * platform/network/qt/NetworkStateNotifierPrivate.h:
- * platform/network/qt/NetworkStateNotifierQt.cpp:
- * platform/network/qt/QNetworkReplyHandler.cpp:
- (WebCore::QNetworkReplyHandler::httpMethod):
- (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
- (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
- (WebCore::QNetworkReplyHandler::start):
- * platform/network/qt/ResourceRequestQt.cpp:
- (WebCore::ResourceRequest::toNetworkRequest):
- * platform/qt/RenderThemeQt.cpp:
- (WebCore::RenderThemeQt::paintMediaSliderTrack):
-
-2011-03-19 Patrick Gansterer <paroga@webkit.org>
-
- Reviewed by Adam Roben.
-
- Use Win32 API to get file information
- https://bugs.webkit.org/show_bug.cgi?id=55336
-
- Use GetFileInformationByHandle() in favour over _wstat64(), GetFileSizeEx()
- and GetFileAttributesEx() so we can share the code with WinCE.
-
- * platform/win/FileSystemWin.cpp:
- (WebCore::createFileHandle):
- (WebCore::getFileInformation):
- (WebCore::getFileSize):
- (WebCore::getFileModificationTime):
- (WebCore::fileExists):
-
-2011-03-19 Xan Lopez <xlopez@igalia.com>
-
- Reviewed by Martin Robinson.
-
- [GTK] Simplify GObjectEventListener
- https://bugs.webkit.org/show_bug.cgi?id=56698
-
- Get rid of special case for DOMWindow, since it's also an
- EventTarget.
-
- * bindings/gobject/GObjectEventListener.cpp:
- (WebCore::GObjectEventListener::GObjectEventListener): remove
- DOMWindow special casing.
- (WebCore::GObjectEventListener::~GObjectEventListener): ditto.
- (WebCore::GObjectEventListener::gobjectDestroyed):
- * bindings/gobject/GObjectEventListener.h:
- (WebCore::GObjectEventListener::addEventListener): ditto.
- (WebCore::GObjectEventListener::removeEventListener): ditto.
-
-2011-03-19 Ben Taylor <bentaylor.solx86@gmail.com>
-
- Reviewed by Nikolas Zimmermann.
-
- https://bugs.webkit.org/show_bug.cgi?id=56195
- Fix conditional which had an int for one case and a pointer for another.
- Similar fix as https://bugs.webkit.org/show_bug.cgi?id=56198
-
- No new tests. Fix compilation on Solaris 10 with Sun Studio C++
-
- * svg/SVGElement.cpp:
- (WebCore::SVGElement::sendSVGLoadEventIfPossible):
-
-2011-03-19 Patrick Gansterer <paroga@webkit.org>
-
- Reviewed by Darin Adler.
-
- Rename WTF::StringHasher methods
- https://bugs.webkit.org/show_bug.cgi?id=53532
-
- Rename createHash to computeHash and createBlobHash to hashMemory.
- Also add a using WTF::StringHasher in the header file.
-
- * dom/Document.cpp:
- (WebCore::FormElementKeyHash::hash):
- * dom/QualifiedName.h:
- (WebCore::hashComponents):
- * dom/StyledElement.cpp:
- (WebCore::MappedAttributeHash::hash):
- * loader/appcache/ApplicationCacheStorage.cpp:
- (WebCore::urlHostHash):
- * page/SecurityOriginHash.h:
- (WebCore::SecurityOriginHash::hash):
- * platform/LinkHash.cpp:
- (WebCore::visitedLinkHashInline):
- * platform/cf/BinaryPropertyList.cpp:
- (WebCore::IntegerArrayHash::hash):
- * platform/cf/SchedulePair.h:
- (WebCore::SchedulePairHash::hash):
- * platform/graphics/FontCache.cpp:
- (WebCore::computeHash):
- * platform/graphics/chromium/FontPlatformDataChromiumWin.h:
- (WebCore::FontPlatformData::RefCountedHFONT::hash):
- * platform/graphics/cocoa/FontPlatformData.h:
- (WebCore::FontPlatformData::hash):
- * platform/graphics/pango/FontPlatformData.h:
- (WebCore::FontPlatformData::hash):
- * platform/graphics/wince/FontPlatformData.cpp:
- (WebCore::FixedSizeFontDataKeyHash::hash):
- * platform/graphics/wx/FontPlatformDataWx.cpp:
- (WebCore::FontPlatformData::computeHash):
- * platform/network/ProtectionSpaceHash.h:
- (WebCore::ProtectionSpaceHash::hash):
- * plugins/PluginPackage.cpp:
- (WebCore::PluginPackage::hash):
- * plugins/win/PluginPackageWin.cpp:
- (WebCore::PluginPackage::hash):
- * svg/properties/SVGAnimatedPropertyDescription.h:
- (WebCore::SVGAnimatedPropertyDescriptionHash::hash):
-
-2011-03-18 David Kilzer <ddkilzer@apple.com>
-
- <http://webkit.org/b/56688> Fix clang static analyzer warning in \
WebCoreViewFactory.m
-
- Reviewed by Anders Carlsson.
-
- Fixes the following static analyzer warning:
-
- Source/WebCore/page/mac/WebCoreViewFactory.m:45:5: warning: Returning \
'self' while it is not set to the result of '[(super or self) \
init...]'
- return self;
- ^
-
- * page/mac/WebCoreViewFactory.m:
- (-[WebCoreViewFactory init]): Assign the result of [super init]
- to self.
-
-2011-03-18 Adam Barth <abarth@webkit.org>
-
- Reviewed by Dimitri Glazkov.
-
- WebCore GYP build should build
- https://bugs.webkit.org/show_bug.cgi?id=56696
-
- After this patch, the WebCore GYP build successfully compiles and
- links. I haven't trying executing it yet.
-
- * WebCore.gypi:
- - DOMMouseEvent should be included as part of the Objective-C bindings.
- * WebCore.xcodeproj/project.pbxproj:
- - RenderSVGPath.cpp was mistakenly included directly in the project
- instead of being built by RenderSVGAllInOne.
- * gyp/WebCore.gyp:
- - Exclude some more files from the build. These files are absent
- in the normal build. I didn't see them earlier because the dead
- code stripping was hiding them. (They're probably unreferenced.)
- - Switch to using RenderSVGAllInOne. I'm not entirely sure if this
- part of the patch is necessary, but it matches the normal build
- more closely.
- * platform/mac/WebCoreObjCExtras.mm:
- - The normal build passes the -Wdeprecated-declarations flag when
- compiling this file. The GYP folks explicitly do not want to add
- that feature to GYP, and there does not appear to be a way to
- remove the deprecated call from this file.
- * rendering/svg/RenderSVGAllInOne.cpp:
- - Add RenderSVGPath.cpp, which was missing previously.
-
-2011-03-18 Adam Barth <abarth@webkit.org>
-
- Reviewed by Dimitri Glazkov.
-
- WebCore GYP build should (almost!) link
- https://bugs.webkit.org/show_bug.cgi?id=56689
-
- This patch is a grab-bag of small changes to bring the WebCore GYP
- build down to two link errors or one compile error (take your pick).
- We might need a GYP change to get this last file to compile, however.
-
- * WebCore.gypi:
- * gyp/WebCore.gyp:
-
-2011-03-16 Ryosuke Niwa <rniwa@webkit.org>
-
- Reviewed by Ojan Vafai.
-
- Add a test for r81266 and fix HTML Editing for fallback contents in object \
element
- https://bugs.webkit.org/show_bug.cgi?id=56505
-
- The bug was caused by canHaveChildrenForEditing's always returning false \
even when
- object element used fallback content. Fixed the bug by adding a check.
-
- Test: editing/editability/ignored-content.html
-
- * editing/htmlediting.cpp:
- (WebCore::canHaveChildrenForEditing):
-
-2011-03-18 Andy Estes <aestes@apple.com>
-
- Reviewed by Eric Seidel.
-
- REGRESSION (r80231): Bad cast in HTMLTreeBuilder::processStartTag
- https://bugs.webkit.org/show_bug.cgi?id=56380
-
- Fix two issues with parsing a fragment that has a foreign content
- element as its context element. The first issue is that the parser will
- initially be in the InForeignContentMode insertion mode when processing
- the first tag in the fragment in this case so one call site needs to
- change from currentElement() to currentNode(). The second issue is that
- when we changed fragments from using a fake HTML root element to a
- DocumentFragment we broke checks that assumed the root element was in
- the HTML namespace. Fix this by claiming that the DocumentFragment is
- also in the HTML namespace.
-
- Test: fast/parser/fragment-foreign-content-context.html
-
- * html/parser/HTMLElementStack.cpp:
- (WebCore::HTMLNames::isForeignContentScopeMarker):
- (WebCore::HTMLElementStack::hasOnlyHTMLElementsInScope):
- * html/parser/HTMLElementStack.h:
- (WebCore::isInHTMLNamespace):
- * html/parser/HTMLTreeBuilder.cpp:
- (WebCore::HTMLTreeBuilder::constructTreeFromAtomicToken):
- (WebCore::HTMLTreeBuilder::processStartTag):
- (WebCore::HTMLTreeBuilder::processEndTag):
-
-2011-03-18 James Robinson <jamesr@chromium.org>
-
- Reviewed by Dimitri Glazkov.
-
- REGRESSION(78846) [chromium] Justified text renders at incorrect offsets on \
windows
- https://bugs.webkit.org/show_bug.cgi?id=56629
-
- Preserves offsets as absolute floating point offsets and rounds to
- advances at the last possible second. I can't prove to myself that
- this is sound but it seems to work on the test cases I've constructed.
-
- Will probably change the pixel tests on chromium windows given that we
- were horribly broken before this patch.
-
- * platform/graphics/chromium/FontChromiumWin.cpp:
- (WebCore::Font::drawGlyphs):
- (WebCore::Font::drawComplexText):
-
-2011-03-18 Ryosuke Niwa <rniwa@webkit.org>
-
- Reviewed by Eric Seidel.
-
- REGRESSION(81374, 81384): editing/deleting/5206311-1.html hits assertion on \
non-Mac platforms
- https://bugs.webkit.org/show_bug.cgi?id=56599
-
- Debug build fix.
-
- * dom/Position.cpp:
- (WebCore::Position::parentAnchoredEquivalent): If the original position was \
a position before a node,
- then we can't necessarily instantiate a position inside the node.
- * editing/VisibleSelection.cpp:
- (WebCore::VisibleSelection::toNormalizedRange): Even if s and e were not \
null, container nodes of s and e
- could be null. Exit early in those cases as well.
-
-2011-03-18 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Add ObjC bindings to the WebCore GYP build
- https://bugs.webkit.org/show_bug.cgi?id=56671
-
- It turns out we generate a bunch of ObjC bindings files that we don't
- actually build. I've manually synced the list of ObjC derived source
- files to match the existing list. This brings us down to 19 link
- errors.
-
- * WebCore.gypi:
- * gyp/WebCore.gyp:
-
-2011-03-18 Ryuan Choi <ryuan.choi@samsung.com>
-
- Reviewed by Eric Seidel.
-
- [CMAKE] Split JSC related configurations from WebCore/CMakeLists.txt
- https://bugs.webkit.org/show_bug.cgi?id=56624
-
- No new tests, just splitting jsc related configuration.
-
- * CMakeLists.txt:
- * UseJSC.cmake: Added.
-
-2011-03-16 Stephen White <senorblanco@chromium.org>
-
- Reviewed by Kenneth Russell.
-
- Implement GPU-accelerated shadows.
- https://bugs.webkit.org/show_bug.cgi?id=56476
-
- For hard shadows, we simply offset the CTM and draw in the shadow
- color. For soft shadows, we use a separable Gaussian convolution,
- with a bilinear downsample and Mitchell-Netravali upsample in order to
- preserve quality.
-
- * WebCore.gypi:
- Add BicubicShader and ConvolutionShader to the build.
- * platform/graphics/chromium/GLES2Canvas.cpp:
- (WebCore::GLES2Canvas::State::State):
- Add shadow-related members to the GLES2Canvas::State
- (WebCore::GLES2Canvas::State::shadowActive):
- Add a helper function to know if shadows are active.
- (WebCore::GLES2Canvas::clearRect):
- (WebCore::GLES2Canvas::scissorClear):
- Refactor the scissor clearing function out of clearRect().
- (WebCore::GLES2Canvas::fillPath):
- Add hook for shadow rendering in paths. Bind framebuffer at this level.
- (WebCore::GLES2Canvas::fillRect):
- Add hook for shadow rendering in rects. Bind framebuffer at this level.
- (WebCore::GLES2Canvas::fillRectInternal):
- Rename fillRect() -> fillRectInternal(), which does bind its vertex
- buffer, but does not bind the framebuffer.
- (WebCore::GLES2Canvas::setShadowColor):
- (WebCore::GLES2Canvas::setShadowOffset):
- (WebCore::GLES2Canvas::setShadowBlur):
- (WebCore::GLES2Canvas::setShadowsIgnoreTransforms):
- Implement graphicsContext-style setters for shadow parameters.
- (WebCore::GLES2Canvas::clipPath):
- Call fillPathInternal(), not fillPath().
- (WebCore::GLES2Canvas::restore):
- (WebCore::GLES2Canvas::drawTexturedRect):
- Bind the framebuffer at this level. Do not bind vertices here (will
- be done in drawTexturedQuad).
- (WebCore::GLES2Canvas::drawTexturedRectTile):
- drawQuad() -> drawTexturedQuad().
- (WebCore::GLES2Canvas::convolveRect):
- Implement one pass of a convolution filter (X or Y).
- (WebCore::gauss):
- (WebCore::buildKernel):
- Some helper functions to build a Gaussian convolution kernel.
- (WebCore::GLES2Canvas::drawTexturedQuad):
- Rename drawQuad() -> drawTexturedQuad(), to be more clear. Do not
- bind the framebuffer at this level (it will be done higher).
- (WebCore::GLES2Canvas::drawTexturedQuadMitchell):
- Implement Mitchell-Netravali bicubic sampling, using BicubicShader.
- (WebCore::GLES2Canvas::fillPathInternal):
- Rename fillPath() -> fillPathInternal(), which does use quad vertices,
- but does not bind the framebuffer or set the compositing mode.
- (WebCore::GLES2Canvas::flipRect):
- Implement a helper function to flip a rectangle in Y within the canvas.
- (WebCore::GLES2Canvas::clearBorders):
- Implement a helper function to clear an n-pixel border around a rect.
- (WebCore::GLES2Canvas::beginShadowDraw):
- Setup before drawing a primitive's shadow: for hard shadows, just
- offset the CTM by the shadow offset. For soft shadows, bind to an
- offscreen DrawingBuffer.
- (WebCore::GLES2Canvas::endShadowDraw):
- Tear-down after drawing a primitive's shadow: for hard shadows, just
- restore the CTM. For soft shadows, downsample (if necessary), then
- blur in X, blur in Y, upsample if necessary).
- * platform/graphics/chromium/GLES2Canvas.h:
- * platform/graphics/gpu/BicubicShader.cpp: Added.
- (WebCore::BicubicShader::BicubicShader):
- (WebCore::BicubicShader::create):
- (WebCore::BicubicShader::use):
- * platform/graphics/gpu/BicubicShader.h: Added.
- Implement a bicubic image filtering shader.
- * platform/graphics/gpu/ConvolutionShader.cpp: Added.
- (WebCore::ConvolutionShader::ConvolutionShader):
- (WebCore::ConvolutionShader::create):
- (WebCore::ConvolutionShader::use):
- * platform/graphics/gpu/ConvolutionShader.h: Added.
- Implement a 1-dimensional convolution shader. In order to minimize
- texture samples, this shader is parameterized at compile time by the
- width of the convolution kernel.
- * platform/graphics/gpu/DrawingBuffer.h:
- (WebCore::DrawingBuffer::colorBuffer):
- Add an accessor to retrieve a DrawingBuffer's texture ID.
- * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
- (WebCore::SharedGraphicsContext3D::create):
- (WebCore::SharedGraphicsContext3D::SharedGraphicsContext3D):
- (WebCore::SharedGraphicsContext3D::useBicubicProgram):
- (WebCore::SharedGraphicsContext3D::useConvolutionProgram):
- Create BicubicShader and cMaxKernelWidth ConvolutionShader's (one for
- each possible kernel width).
- (WebCore::SharedGraphicsContext3D::getOffscreenBuffer):
- Implement a simple cache of offscreen DrawingBuffers, integer-indexed.
- This is done to minimize the VRAM usage: only 2 buffers are used for
- all canvases.
- * platform/graphics/gpu/SharedGraphicsContext3D.h:
- Add bicubic and convolution shader members, and useXXX() functions.
- * platform/graphics/skia/GraphicsContextSkia.cpp:
- (WebCore::GraphicsContext::setPlatformShadow):
- Hook into GraphicsContextSkia's platform shadow setters to set
- parameters on GLES2Canvas.
- * platform/graphics/skia/PlatformContextSkia.cpp:
- (WebCore::PlatformContextSkia::canAccelerate):
- Remove shadows (loopers) from the list of things we can't accelerate.
-
-2011-03-18 Andreas Kling <kling@webkit.org>
-
- Reviewed by Darin Adler.
-
- Remove unused method FontFallbackList::fontDataForCharacters()
- https://bugs.webkit.org/show_bug.cgi?id=56657
-
- * platform/graphics/Font.h:
- * platform/graphics/FontFallbackList.cpp:
- * platform/graphics/FontFallbackList.h:
-
-2011-03-18 Andreas Kling <kling@webkit.org>
-
- Reverting accidental changes in r81498.
-
-2011-03-18 Ilya Tikhonovsky <loislo@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: rename console agent events.
- https://bugs.webkit.org/show_bug.cgi?id=56646
-
- addConsoleMessage -> consoleMessage
- updateConsoleMessageExpiredCount -> consoleMessageExpiredCountUpdate
- updateConsoleMessageRepeatCount -> consoleMessageRepeatCountUpdate
-
- * inspector/ConsoleMessage.cpp:
- (WebCore::ConsoleMessage::addToFrontend):
- (WebCore::ConsoleMessage::updateRepeatCountInConsole):
- * inspector/Inspector.json:
- * inspector/InspectorConsoleAgent.cpp:
- (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessage):
- (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessageExpiredCountUpdate):
- (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessageRepeatCountUpdate):
-
-2011-03-18 Sheriff Bot <webkit.review.bot@gmail.com>
-
- Unreviewed, rolling out r81487.
- http://trac.webkit.org/changeset/81487
- https://bugs.webkit.org/show_bug.cgi?id=56662
-
- "Breaks inspector/styles/styles-add-blank-property.html"
- (Requested by apavlov on #webkit).
-
- * inspector/Inspector.json:
- * inspector/InspectorCSSAgent.cpp:
- (WebCore::InspectorCSSAgent::getAllStyles):
- * inspector/InspectorCSSAgent.h:
- * inspector/InspectorStyleSheet.cpp:
- (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
- * inspector/InspectorStyleSheet.h:
- * inspector/front-end/AuditRules.js:
- (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.styleSheetCallback):
- (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.allStylesCallback):
- (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
- * inspector/front-end/CSSStyleModel.js:
- (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
- (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
- (WebInspector.CSSStyleModel.prototype._onRevert):
- (WebInspector.CSSStyleSheet):
- (WebInspector.CSSStyleSheet.prototype.setText):
-
-2011-03-18 Justin Novosad <junov@chromium.org>
-
- Reviewed by Kenneth Russell.
-
- [Chromium] Canvas shadow is not working with drawImage
- https://bugs.webkit.org/show_bug.cgi?id=55506
-
- Patch also fixes shadow blur quality and color.
- Affects Chromium win/linux. Also fixes the following bugs:
- https://bugs.webkit.org/show_bug.cgi?id=50112
- https://bugs.webkit.org/show_bug.cgi?id=51989
- https://bugs.webkit.org/show_bug.cgi?id=55410
- No tests were added, impact is already covered by multiple layout tests.
-
- * platform/graphics/skia/GraphicsContextSkia.cpp:
- (WebCore::GraphicsContext::setPlatformShadow):
- * platform/graphics/skia/ImageSkia.cpp:
- (WebCore::paintSkBitmap):
-
-2011-03-15 Alexander Pavlov <apavlov@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: Fix handling of the CSSAgent.setStyleSheetText() results in \
CSSStyleModel.js
- https://bugs.webkit.org/show_bug.cgi?id=56310
-
- Instead of stylesheet ids, CSSAgent.getAllStyleSheets() now returns metainfo \
objects containing
- "styleSheetId", "sourceURL", "disabled", and \
"title" fields. The latter three are not returned
- by CSSAgent.getStyleSheet() anymore.
-
- Test: inspector/styles/get-set-stylesheet-text.html
-
- * inspector/Inspector.json:
- * inspector/InspectorCSSAgent.cpp:
- (WebCore::InspectorCSSAgent::getAllStyleSheets):
- * inspector/InspectorCSSAgent.h:
- * inspector/InspectorStyleSheet.cpp:
- (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
- (WebCore::InspectorStyleSheet::buildObjectForStyleSheetInfo):
- * inspector/InspectorStyleSheet.h:
- * inspector/front-end/AuditRules.js:
- (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.styleSheetCallback):
- (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.allStylesCallback):
- (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
- * inspector/front-end/CSSStyleModel.js:
- (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
- (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
- (WebInspector.CSSStyleModel.prototype._onRevert):
- (WebInspector.CSSStyleSheet):
- (WebInspector.CSSStyleSheet.prototype.setText):
-
-2011-03-18 David Keijser <keijser@gmail.com> and Xan Lopez \
<xlopez@igalia.com>
-
- Reviewed by Martin Robinson.
-
- [GTK] On-demand event-listeners for DOM event signals
- https://bugs.webkit.org/show_bug.cgi?id=49649
-
- Add explicit EventTarget API to add/remove event listeners instead
- of using GSignal, which due to internal limitations in glib makes
- us preemptively add listeners for all event types.
-
- * bindings/gobject/GObjectEventListener.cpp: add new
- addEventListener/removeEventListener methods, and small
- refactoring to store an EventTarget internally instead of a DOM
- node, which is more generic and can be reused in more cases.
- * bindings/gobject/GObjectEventListener.h: ditto.
- * bindings/gobject/WebKitDOMEventTarget.cpp:
- (webkit_dom_event_target_add_event_listener): new iface method to
- add an event listener.
- (webkit_dom_event_target_remove_event_listener): new iface method
- to remove an event listener.
- * bindings/gobject/WebKitDOMEventTarget.h: add new iface methods.
- * bindings/scripts/CodeGeneratorGObject.pm: change code generation
- accordingly.
-
-2011-03-18 Brady Eidson <beidson@apple.com>
-
- Reviewed by Sam Weinig.
-
- https://bugs.webkit.org/show_bug.cgi?id=56425
- More groundwork for WebKit2 IconDatabase
-
- -Update the synchronous method names to be prefixed with \
"synchronous."
- -Call asynchronous versions of the appropriate methods if the IconDatabase \
supports them.
-
- Update icon database calls to be prefixed with "synchronous":
- * loader/archive/cf/LegacyWebArchive.cpp:
- (WebCore::LegacyWebArchive::create):
- * loader/icon/IconDatabaseBase.h:
- (WebCore::IconDatabaseBase::synchronousIconDataKnownForIconURL):
- (WebCore::IconDatabaseBase::synchronousLoadDecisionForIconURL):
- (WebCore::IconDatabaseBase::synchronousIconForPageURL):
- * loader/icon/IconDatabase.cpp:
- (WebCore::IconDatabase::synchronousIconForPageURL):
- (WebCore::IconDatabase::readIconForPageURLFromDisk):
- (WebCore::IconDatabase::synchronousIconURLForPageURL):
- (WebCore::IconDatabase::synchronousLoadDecisionForIconURL):
- (WebCore::IconDatabase::synchronousIconDataKnownForIconURL):
- * loader/icon/IconDatabase.h:
- * loader/icon/IconDatabaseBase.cpp:
- (WebCore::IconDatabaseBase::synchronousIconURLForPageURL):
-
- Add nascent support for an asynchronous icon database mode:
- * loader/icon/IconDatabaseBase.h:
- (WebCore::EnumCallback::create):
- (WebCore::EnumCallback::~EnumCallback):
- (WebCore::EnumCallback::performCallback):
- (WebCore::EnumCallback::invalidate):
- (WebCore::EnumCallback::EnumCallback):
- (WebCore::ObjectCallback::create):
- (WebCore::ObjectCallback::~ObjectCallback):
- (WebCore::ObjectCallback::performCallback):
- (WebCore::ObjectCallback::invalidate):
- (WebCore::ObjectCallback::ObjectCallback):
- (WebCore::IconDatabaseBase::supportsAsynchronousMode):
- (WebCore::IconDatabaseBase::loadDecisionForIconURL):
- (WebCore::IconDatabaseBase::iconDataForIconURL):
-
- Add interfaces to use the asynchronous versions of certain IconDatabase \
calls:
- * loader/DocumentLoader.cpp:
- (WebCore::DocumentLoader::~DocumentLoader):
- (WebCore::DocumentLoader::iconLoadDecisionAvailable):
- (WebCore::iconLoadDecisionCallback):
- (WebCore::DocumentLoader::getIconLoadDecisionForIconURL):
- (WebCore::DocumentLoader::continueIconLoadWithDecision):
- (WebCore::iconDataCallback):
- (WebCore::DocumentLoader::getIconDataForIconURL):
- * loader/DocumentLoader.h:
-
- Break "startIconLoader" into two pieces so it can be used from \
both the synchronous and asynchronous
- icon database modes:
- * loader/FrameLoader.cpp:
- (WebCore::FrameLoader::iconLoadDecisionReceived):
- (WebCore::FrameLoader::startIconLoader):
- (WebCore::FrameLoader::continueIconLoadWithDecision):
- * loader/FrameLoader.h:
-
- * WebCore.exp.in:
-
-2011-03-18 Pavel Feldman <pfeldman@chromium.org>
-
- Not reviewed: add missing brace to the generated Inspector.idl.
-
- * inspector/generate-inspector-idl:
-
-2011-03-18 Pavel Feldman <pfeldman@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: migrate from Inspector.idl to InspectorAPI.json for protocol \
schema definition meta bug.
- https://bugs.webkit.org/show_bug.cgi?id=56294
-
- * CMakeLists.txt:
- * CodeGenerators.pri:
- * DerivedSources.make:
- * GNUmakefile.am:
- * WebCore.gyp/WebCore.gyp:
- * inspector/Inspector.idl: Removed.
- * inspector/Inspector.json: Added.
- * inspector/generate-inspector-idl: Added.
-
-2011-03-18 Pavel Podivilov <podivilov@chromium.org>
-
- Reviewed by Yury Semikhatsky.
-
- Web Inspector: implement inspector session storage.
- https://bugs.webkit.org/show_bug.cgi?id=56643
-
- We would like to enable debugger/profiler from frontend side only.
- However, when user clicks "Start Debugging JavaScript" in Safari, \
we
- need to enable debugger when frontend is opened or re-opened for the
- same page. The idea is to store debugger-enabled setting in session
- storage and check it on frontend load.
-
- * inspector/InspectorFrontendClient.h:
- (WebCore::InspectorFrontendClient::saveSessionSetting):
- (WebCore::InspectorFrontendClient::loadSessionSetting):
- * inspector/InspectorFrontendHost.cpp:
- (WebCore::InspectorFrontendHost::saveSessionSetting):
- (WebCore::InspectorFrontendHost::loadSessionSetting):
- * inspector/InspectorFrontendHost.h:
- * inspector/InspectorFrontendHost.idl:
-
-2011-03-18 Jarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
-
- Reviewed by Kenneth Rohde Christiansen.
-
- [Qt] Enable GraphicsContext3D only when the window surface support OpenGL
- https://bugs.webkit.org/show_bug.cgi?id=56555
-
- Allow creation of WebGLRenderingContext in the HTMLCanvasElement
- only if accelerated compositing is enabled. In GraphicsContext3D,
- while blitting the surface check that viewport hasn't changed from
- creation and painter is associated to the viewport.
-
- * html/HTMLCanvasElement.cpp:
- (WebCore::HTMLCanvasElement::getContext):
- * platform/graphics/qt/GraphicsContext3DQt.cpp:
- (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
- (WebCore::GraphicsContext3DInternal::getViewportGLWidget):
- (WebCore::GraphicsContext3DInternal::paint):
-
-2011-03-17 Pavel Podivilov <podivilov@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: extract content loading logic from scripts panel.
- https://bugs.webkit.org/show_bug.cgi?id=55237
-
- Encapsulate source files creation logic in debugger presentation model
- to support source mappings in a pluggable way.
-
- * inspector/front-end/DebuggerPresentationModel.js:
- (WebInspector.DebuggerPresentationModel.prototype.sourceFile):
- (WebInspector.DebuggerPresentationModel.prototype.requestSourceFileContent.else.didRequestSource):
- (WebInspector.DebuggerPresentationModel.prototype.requestSourceFileContent):
- (WebInspector.DebuggerPresentationModel.prototype._parsedScriptSource):
- (WebInspector.DebuggerPresentationModel.prototype._failedToParseScriptSource):
- (WebInspector.DebuggerPresentationModel.prototype._addScript.else.resourceFinished):
- (WebInspector.DebuggerPresentationModel.prototype._addScript):
- (WebInspector.DebuggerPresentationModel.prototype._ensureSourceFileAdded):
- (WebInspector.DebuggerPresentationModel.prototype._resourceForURL):
- (WebInspector.DebuggerPresentationModel.prototype._scriptSourceChanged):
- (WebInspector.DebuggerPresentationModel.prototype._sourceFileAdded):
- (WebInspector.DebuggerPresentationModel.prototype.breakpointsForSourceFileId):
- (WebInspector.DebuggerPresentationModel.prototype.findBreakpoint):
- (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
- (WebInspector.DebuggerPresentationModel.prototype._breakpointRemoved):
- (WebInspector.DebuggerPresentationModel.prototype._breakpointResolved):
- (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpoints):
- (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
- (WebInspector.DebuggerPresentationModel.prototype._actualLocationToSourceLocation):
- (WebInspector.DebuggerPresentationModel.prototype.reset):
- * inspector/front-end/ScriptsPanel.js:
- (WebInspector.ScriptsPanel):
- (WebInspector.ScriptsPanel.prototype._sourceFileAdded):
- (WebInspector.ScriptsPanel.prototype._showSourceFrame):
- (WebInspector.ScriptsPanel.prototype._sourceFileChanged):
- (WebInspector.ScriptsPanel.prototype._callFrameSelected):
- (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.requestContent):
-
-2011-03-18 Yury Semikhatsky <yurys@chromium.org>
-
- Reviewed by Pavel Feldman.
-
- Web Inspector: console doesn&apos;t scroll when multiline expression is \
being evaluated
- https://bugs.webkit.org/show_bug.cgi?id=56639
-
- Always scoll in the console when command result is received.
-
- * inspector/front-end/ConsoleView.js:
- (WebInspector.ConsoleView.prototype.addMessage):
-
-2011-03-18 Adam Roben <aroben@apple.com>
-
- Fix a CFNumber leak seen on the leaks bot
-
- Reviewed by Gavin Barraclough.
-
- * platform/network/mac/FormDataStreamMac.mm:
- (WebCore::advanceCurrentStream): Use a RetainPtr to cause the CFNumber we \
allocate to be
- released.
-
-2011-03-17 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Add some of the remaining platform/mac files to WebCore GYP build
- https://bugs.webkit.org/show_bug.cgi?id=56616
-
- These files used to be hard, but are now magically easy. 76 link errors.
-
- * gyp/WebCore.gyp:
-
-2011-03-17 Adam Klein <adamk@chromium.org>
-
- Reviewed by Adam Barth.
-
- [filesystem] Rename toURI->toURL, \
resolveLocalFileSystemURI->resolveLocalFileSystemURL
- https://bugs.webkit.org/show_bug.cgi?id=56502
-
- * fileapi/Entry.idl:
- * fileapi/EntryBase.cpp:
- (WebCore::EntryBase::toURL):
- * fileapi/EntryBase.h:
- * fileapi/EntrySync.idl:
- * page/DOMWindow.cpp:
- (WebCore::DOMWindow::resolveLocalFileSystemURL):
- * page/DOMWindow.h:
- * page/DOMWindow.idl:
-
-2011-03-17 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- Update CSP directive parser to match spec
- https://bugs.webkit.org/show_bug.cgi?id=56582
-
- Brandon updated the CSP spec. I've updated our implementation to
- match. In the process, I found a couple bugs in the spec, which I've
- sent to the working group. This patch assumes that the bugs will be
- fixed in the way I suggested. If they get fixed a different way, we
- might need to update the parser again.
-
- Test: http/tests/security/contentSecurityPolicy/directive-parsing.html
-
- * page/ContentSecurityPolicy.cpp:
- (WebCore::isDirectiveNameCharacter):
- (WebCore::isDirectiveValueCharacter):
- (WebCore::advanceUntil):
- (WebCore::ContentSecurityPolicy::parse):
- (WebCore::ContentSecurityPolicy::parseDirective):
- * page/ContentSecurityPolicy.h:
-
-2011-03-17 Adam Barth <abarth@webkit.org>
-
- Reviewed by Eric Seidel.
-
- WebCore GYP build should have PrivateHeaders
- https://bugs.webkit.org/show_bug.cgi?id=56604
-
- I've manually verified that this produces the correct set of
- PrivateHeaders (modulo the ForwardingHeaders and icu issue).
- Unforunately, this patch breakes compile slightly, but I'll fix that
- in a followup patch.
-
- * WebCore.gyp/WebCore.gyp:
- * WebCore.gypi:
- * gyp/WebCore.gyp:
-
</del><span class="cx"> 2011-03-17 Victoria Kirst <vrk@google.com>
</span><span class="cx">
</span><span class="cx"> Reviewed by Kenneth Russell.
</span></span></pre></div>
<a id="brancheschromium696SourceWebCoreplatformgraphicschromiumShaderChromiumcpp"></a>
<div class="modfile"><h4>Modified: \
branches/chromium/696/Source/WebCore/platform/graphics/chromium/ShaderChromium.cpp \
(82606 => 82607)</h4> <pre class="diff"><span>
<span class="info">--- \
branches/chromium/696/Source/WebCore/platform/graphics/chromium/ShaderChromium.cpp 2011-03-31 \
19:48:37 UTC (rev 82606)
+++ branches/chromium/696/Source/WebCore/platform/graphics/chromium/ShaderChromium.cpp 2011-03-31 \
19:54:50 UTC (rev 82607) </span><span class="lines">@@ -248,7 +248,7 @@
</span><span class="cx"> , m_vTextureLocation(-1)
</span><span class="cx"> , m_alphaLocation(-1)
</span><span class="cx"> , m_ccMatrixLocation(-1)
</span><del>- , m_signAdjLocation(-1)
</del><ins>+ , m_yuvAdjLocation(-1)
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -259,10 +259,10 @@
</span><span class="cx"> m_vTextureLocation = \
context->getUniformLocation(program, "v_texture"); </span><span \
class="cx"> m_alphaLocation = context->getUniformLocation(program, \
"alpha"); </span><span class="cx"> m_ccMatrixLocation = \
context->getUniformLocation(program, "cc_matrix"); </span><del>- \
m_signAdjLocation = context->getUniformLocation(program, "adj"); \
</del><ins>+ m_yuvAdjLocation = context->getUniformLocation(program, \
"yuv_adj"); </ins><span class="cx">
</span><span class="cx"> return m_yTextureLocation != -1 && \
m_uTextureLocation != -1 && m_vTextureLocation != -1 </span><del>- \
&& m_alphaLocation != -1 && m_ccMatrixLocation != -1 && \
m_signAdjLocation != -1; </del><ins>+ && m_alphaLocation != -1 \
&& m_ccMatrixLocation != -1 && m_yuvAdjLocation != -1; </ins><span \
class="cx"> } </span><span class="cx">
</span><span class="cx"> String FragmentShaderYUVVideo::getShaderString() const
</span><span class="lines">@@ -276,14 +276,15 @@
</span><span class="cx"> uniform sampler2D u_texture;
</span><span class="cx"> uniform sampler2D v_texture;
</span><span class="cx"> uniform float alpha;
</span><del>- uniform float adj;
</del><ins>+ uniform vec3 yuv_adj;
</ins><span class="cx"> uniform mat3 cc_matrix;
</span><span class="cx"> void main()
</span><span class="cx"> {
</span><del>- float y = texture2D(y_texture, y_texCoord).x;
- float u = texture2D(u_texture, uv_texCoord).x - adj;
- float v = texture2D(v_texture, uv_texCoord).x - adj;
- vec3 rgb = cc_matrix * vec3(y, u, v);
</del><ins>+ float y_raw = texture2D(y_texture, y_texCoord).x;
+ float u_unsigned = texture2D(u_texture, uv_texCoord).x;
+ float v_unsigned = texture2D(v_texture, uv_texCoord).x;
+ vec3 yuv = vec3(y_raw, u_unsigned, v_unsigned) + yuv_adj;
+ vec3 rgb = cc_matrix * yuv;
</ins><span class="cx"> gl_FragColor = vec4(rgb, float(1)) * alpha;
</span><span class="cx"> }
</span><span class="cx"> );
</span></span></pre></div>
<a id="brancheschromium696SourceWebCoreplatformgraphicschromiumShaderChromiumh"></a>
<div class="modfile"><h4>Modified: \
branches/chromium/696/Source/WebCore/platform/graphics/chromium/ShaderChromium.h \
(82606 => 82607)</h4> <pre class="diff"><span>
<span class="info">--- \
branches/chromium/696/Source/WebCore/platform/graphics/chromium/ShaderChromium.h 2011-03-31 \
19:48:37 UTC (rev 82606)
+++ branches/chromium/696/Source/WebCore/platform/graphics/chromium/ShaderChromium.h 2011-03-31 \
19:54:50 UTC (rev 82607) </span><span class="lines">@@ -158,7 +158,7 @@
</span><span class="cx"> int vTextureLocation() const { return \
m_vTextureLocation; } </span><span class="cx"> int alphaLocation() const { return \
m_alphaLocation; } </span><span class="cx"> int ccMatrixLocation() const { return \
m_ccMatrixLocation; } </span><del>- int signAdjLocation() const { return \
m_signAdjLocation; } </del><ins>+ int yuvAdjLocation() const { return \
m_yuvAdjLocation; } </ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> int m_yTextureLocation;
</span><span class="lines">@@ -166,7 +166,7 @@
</span><span class="cx"> int m_vTextureLocation;
</span><span class="cx"> int m_alphaLocation;
</span><span class="cx"> int m_ccMatrixLocation;
</span><del>- int m_signAdjLocation;
</del><ins>+ int m_yuvAdjLocation;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> class FragmentShaderColor {
</span></span></pre></div>
<a id="brancheschromium696SourceWebCoreplatformgraphicschromiumVideoLayerChromiumcpp"></a>
<div class="modfile"><h4>Modified: \
branches/chromium/696/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.cpp \
(82606 => 82607)</h4> <pre class="diff"><span>
<span class="info">--- \
branches/chromium/696/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.cpp 2011-03-31 \
19:48:37 UTC (rev 82606)
+++ branches/chromium/696/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.cpp 2011-03-31 \
19:54:50 UTC (rev 82607) </span><span class="lines">@@ -46,12 +46,26 @@
</span><span class="cx">
</span><span class="cx"> // These values are magic numbers that are used in the \
transformation </span><span class="cx"> // from YUV to RGB color values.
</span><ins>+// They are taken from the following webpage:
+// http://www.fourcc.org/fccyvrgb.php
</ins><span class="cx"> const float VideoLayerChromium::yuv2RGB[9] = {
</span><del>- 1.f, 1.f, 1.f,
- 0.f, -.344f, 1.772f,
- 1.403f, -.714f, 0.f,
</del><ins>+ 1.164f, 1.164f, 1.164f,
+ 0.f, -.391f, 2.018f,
+ 1.596f, -.813f, 0.f,
</ins><span class="cx"> };
</span><span class="cx">
</span><ins>+// These values map to 16, 128, and 128 respectively, and are computed
+// as a fraction over 256 (e.g. 16 / 256 = 0.0625).
+// They are used in the YUV to RGBA conversion formula:
+// Y - 16 : Gives 16 values of head and footroom for overshooting
+// U - 128 : Turns unsigned U into signed U [-128,127]
+// V - 128 : Turns unsigned V into signed V [-128,127]
+const float VideoLayerChromium::yuvAdjust[3] = {
+ -0.0625f,
+ -0.5f,
+ -0.5f,
+};
+
</ins><span class="cx"> PassRefPtr<VideoLayerChromium> \
VideoLayerChromium::create(GraphicsLayerChromium* owner, </span><span class="cx"> \
VideoFrameProvider* provider) </span><span class="cx"> {
</span><span class="lines">@@ -288,13 +302,8 @@
</span><span class="cx"> GLC(context, \
context->uniform1i(program->fragmentShader().uTextureLocation(), 2)); \
</span><span class="cx"> GLC(context, \
context->uniform1i(program->fragmentShader().vTextureLocation(), 3)); \
</span><span class="cx"> </span><del>- // This value of 0.5 maps to 128. It is \
used in the YUV to RGB conversion
- // formula to turn unsigned u and v values to signed u and v values.
- // This is loaded as a uniform because certain drivers have problems
- // reading literal float values.
- GLC(context, context->uniform1f(program->fragmentShader().signAdjLocation(), \
0.5));
-
</del><span class="cx"> GLC(context, \
context->uniformMatrix3fv(program->fragmentShader().ccMatrixLocation(), 0, \
const_cast<float*>(yuv2RGB), 1)); </span><ins>+ GLC(context, \
context->uniform3fv(program->fragmentShader().yuvAdjLocation(), \
const_cast<float*>(yuvAdjust), 1)); </ins><span class="cx">
</span><span class="cx"> drawTexturedQuad(context, \
layerRenderer()->projectionMatrix(), ccLayerImpl()->drawTransform(), \
</span><span class="cx"> bounds().width(), bounds().height(), \
ccLayerImpl()->drawOpacity(), </span></span></pre></div>
<a id="brancheschromium696SourceWebCoreplatformgraphicschromiumVideoLayerChromiumh"></a>
<div class="modfile"><h4>Modified: \
branches/chromium/696/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.h \
(82606 => 82607)</h4> <pre class="diff"><span>
<span class="info">--- \
branches/chromium/696/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.h 2011-03-31 \
19:48:37 UTC (rev 82606)
+++ branches/chromium/696/Source/WebCore/platform/graphics/chromium/VideoLayerChromium.h 2011-03-31 \
19:54:50 UTC (rev 82607) </span><span class="lines">@@ -75,6 +75,7 @@
</span><span class="cx"> void saveCurrentFrame(VideoFrameChromium*);
</span><span class="cx">
</span><span class="cx"> static const float yuv2RGB[9];
</span><ins>+ static const float yuvAdjust[3];
</ins><span class="cx">
</span><span class="cx"> bool m_skipsDraw;
</span><span class="cx"> VideoFrameChromium::Format m_frameFormat;
</span></span></pre>
</div>
</div>
</body>
</html>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic