- 25 Feb, 2012 28 commits
-
-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=79585 Reviewed by Sam Weinig. Add admin/ to replace admin/create-models.html and admin/merge-tests. Also update MergeTestHandler to accept JSON requests and add "Admin" navigation link on all pages. * Websites/webkit-perf.appspot.com/admin_handlers.py: Added. * Websites/webkit-perf.appspot.com/controller.py: (RunsUpdateHandler.post): Fix a regression from r108399. * Websites/webkit-perf.appspot.com/css/admin.css: Added. * Websites/webkit-perf.appspot.com/js/admin.js: Added. * Websites/webkit-perf.appspot.com/js/config.js: * Websites/webkit-perf.appspot.com/main.py: * Websites/webkit-perf.appspot.com/merge_tests.html: Removed. * Websites/webkit-perf.appspot.com/merge_tests_handler.py: (MergeTestsHandler): (MergeTestsHandler.post): * Websites/webkit-perf.appspot.com/static: Removed. * Websites/webkit-perf.appspot.com/static/create-models.html: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kling@webkit.org authored
<http://webkit.org/b/79583> Reviewed by Antti Koivisto. There's no reason to disallow the matched style property cache for elements that return something from additionalAttributeStyle(). The only requirement for a property set to be cached is that it either doesn't mutate OR that it invalidates the document's CSSStyleSelector when doing so. This allows some more match caching for table-related elements, though we are still held back by explicitly 'inherited' properties in html.css. * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::collectMatchingRulesForList): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
http://trac.webkit.org/changeset/108900 https://bugs.webkit.org/show_bug.cgi?id=79587 broke some API tests, will investigate and re-commit (Requested by noamr on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-02-25 * UIProcess/API/qt/qquickwebpage.cpp: (computeEffectiveOpacity): (QQuickWebPagePrivate::paintToCurrentGLContext): (PageProxyNode::changedStates): (PageProxyNode::render): * UIProcess/API/qt/qquickwebpage_p_p.h: (QQuickWebPagePrivate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jchaffraix@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=77705 Reviewed by Nikolas Zimmermann. Refactoring / simplication of the code. This change removes some variables that were unneeded and were hiding what the code was really doing. Also some of the code was split and moved down to RenderTableCell. * rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::logicalHeightForRowSizing): * rendering/RenderTableCell.h: (RenderTableCell): Added the previous helper function to calculate the cell's adjusted logical height. * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::calcRowLogicalHeight): Removed some variables, simplified the rowspan logic to be clearer (and added a comment about how we handle rowspans). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108914 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=79584 Reviewed by Sam Weinig. Moved LowLevelInterpreter.asm to LowLevelInterpreter32_64.asm. Gave offlineasm the ability to include files, and correctly track dependencies: it restricts the include mechanism to using the same directory as the source file, and uses the SHA1 hash of all .asm files in that directory as an input hash. * llint/LLIntOfflineAsmConfig.h: * llint/LowLevelInterpreter.asm: * llint/LowLevelInterpreter32_64.asm: Added. - This is just the entire contents of what was previously LowLevelInterpreter.asm * llint/LowLevelInterpreter64.asm: Added. * offlineasm/asm.rb: * offlineasm/ast.rb: * offlineasm/generate_offset_extractor.rb: * offlineasm/parser.rb: * offlineasm/self_hash.rb: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108913 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=79581 Reviewed by Oliver Hunt. * llint/LLIntOfflineAsmConfig.h: * offlineasm/backends.rb: * offlineasm/instructions.rb: * offlineasm/settings.rb: * offlineasm/x86.rb: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=79554 Reviewed by Oliver Hunt. Wrote the simplest possible implementation of activations. Big speed-up on code that uses activations, no speed-up on major benchmarks (SunSpider, V8, Kraken) because they do not appear to have sufficient coverage over code that uses activations. * bytecode/PredictedType.cpp: (JSC::predictionToString): (JSC::predictionFromValue): * bytecode/PredictedType.h: (JSC): (JSC::isEmptyPrediction): * dfg/DFGAbstractState.cpp: (JSC::DFG::AbstractState::execute): * dfg/DFGByteCodeParser.cpp: (JSC::DFG::ByteCodeParser::ByteCodeParser): (ByteCodeParser): (JSC::DFG::ByteCodeParser::parseBlock): (JSC::DFG::ByteCodeParser::buildOperandMapsIfNecessary): (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry): (JSC::DFG::ByteCodeParser::parse): * dfg/DFGCapabilities.h: (JSC::DFG::canCompileOpcode): (JSC::DFG::canInlineOpcode): * dfg/DFGGraph.h: (JSC::DFG::Graph::needsActivation): * dfg/DFGNode.h: (DFG): (JSC::DFG::Node::storageAccessDataIndex): (Node): (JSC::DFG::Node::hasFunctionDeclIndex): (JSC::DFG::Node::functionDeclIndex): (JSC::DFG::Node::hasFunctionExprIndex): (JSC::DFG::Node::functionExprIndex): * dfg/DFGOperations.cpp: * dfg/DFGOperations.h: * dfg/DFGPredictionPropagationPhase.cpp: (JSC::DFG::PredictionPropagationPhase::propagate): * dfg/DFGSpeculativeJIT.cpp: (JSC::DFG::SpeculativeJIT::compileNewFunctionNoCheck): (DFG): (JSC::DFG::SpeculativeJIT::compileNewFunctionExpression): * dfg/DFGSpeculativeJIT.h: (JSC::DFG::SpeculativeJIT::callOperation): * dfg/DFGSpeculativeJIT32_64.cpp: (JSC::DFG::SpeculativeJIT::compile): * dfg/DFGSpeculativeJIT64.cpp: (JSC::DFG::SpeculativeJIT::compile): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
benjamin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=78990 Reviewed by Adam Barth. Source/JavaScriptCore: * JavaScriptCore.xcodeproj/project.pbxproj: Export the relevant classes from WTFURL so that can use them in WebCore. Source/WebCore: Add an empty skeleton of KURL based on WTFURL. With WTFURL, the data of KURL is in an implicitely shared object named KURLWTFURLImpl. In KURLWTFURLImpl, KURL created with invalid URL would be stored as a String. A valid URL would be stored as a ParsedURL. * ForwardingHeaders/wtf/url/ParsedURL.h: Added. * WebCore.exp.in: * WebCore.xcodeproj/project.pbxproj: * platform/KURL.cpp: (WebCore): * platform/KURL.h: (KURL): (WebCore::KURL::KURL): (WebCore::KURL::isHashTableDeletedValue): (WebCore): * platform/KURLWTFURL.cpp: Added. (WebCore): (WebCore::KURL::KURL): (WebCore::KURL::copy): (WebCore::KURL::isNull): (WebCore::KURL::isEmpty): (WebCore::KURL::isValid): (WebCore::KURL::hasPath): (WebCore::KURL::string): (WebCore::KURL::protocol): (WebCore::KURL::host): (WebCore::KURL::port): (WebCore::KURL::hasPort): (WebCore::KURL::user): (WebCore::KURL::pass): (WebCore::KURL::path): (WebCore::KURL::lastPathComponent): (WebCore::KURL::query): (WebCore::KURL::fragmentIdentifier): (WebCore::KURL::hasFragmentIdentifier): (WebCore::KURL::copyParsedQueryTo): (WebCore::KURL::baseAsString): (WebCore::KURL::deprecatedString): (WebCore::KURL::fileSystemPath): (WebCore::KURL::protocolIs): (WebCore::KURL::protocolIsInHTTPFamily): (WebCore::KURL::setProtocol): (WebCore::KURL::setHost): (WebCore::KURL::removePort): (WebCore::KURL::setPort): (WebCore::KURL::setHostAndPort): (WebCore::KURL::setUser): (WebCore::KURL::setPass): (WebCore::KURL::setPath): (WebCore::KURL::setQuery): (WebCore::KURL::setFragmentIdentifier): (WebCore::KURL::removeFragmentIdentifier): (WebCore::KURL::hostStart): (WebCore::KURL::hostEnd): (WebCore::KURL::pathStart): (WebCore::KURL::pathEnd): (WebCore::KURL::pathAfterLastSlash): (WebCore::KURL::invalidate): (WebCore::KURL::isHierarchical): (WebCore::protocolIs): (WebCore::equalIgnoringFragmentIdentifier): (WebCore::protocolHostAndPortAreEqual): (WebCore::encodeWithURLEscapeSequences): (WebCore::decodeURLEscapeSequences): * platform/KURLWTFURLImpl.h: Copied from Source/WebCore/platform/mac/KURLMac.mm. (WebCore): (KURLWTFURLImpl): * platform/cf/KURLCFNet.cpp: (WebCore): (WebCore::KURL::KURL): (WebCore::KURL::createCFURL): * platform/mac/KURLMac.mm: (WebCore): (WebCore::KURL::KURL): (WebCore::KURL::operator NSURL *): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=79578 <rdar://problem/10933150> Reviewed by Sam Weinig. Change the std::move implementation to take a WebCore::TimerHeapReference directly so WebCore still builds with a version of libc++ that has the right std::move function template. * WebCorePrefix.h: (WebCore): (move): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
fpizlo@apple.com authored
* jit/JIT.cpp: (JSC::JIT::privateCompile): * llint/LLIntSlowPaths.cpp: (LLInt): (JSC::LLInt::LLINT_SLOW_PATH_DECL): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kling@webkit.org authored
<http://webkit.org/b/79576> Reviewed by Anders Carlsson. * html/HTMLEmbedElement.cpp: * html/HTMLEmbedElement.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
enne@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=79575 Reviewed by Andreas Kling. In builds where asserts are not enabled, the error variable is unused. * platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp: (WebCore::normalizeSpacesAndMirrorChars): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
enne@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=78404 r108886 doesn't compile on Linux Clang due to OwnPtr's public copy constructor (i.e. "has internal linkage but is not defined"). Fixed locally by changing copy initialization to direct initialization. * tests/TiledLayerChromiumTest.cpp: (WTF::TEST): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kling@webkit.org authored
<http://webkit.org/b/79574> Reviewed by Anders Carlsson. Remove this attach() override since it was only used to assert that we're not already attached, and this is already done by Node::attach(). * html/HTMLTableElement.cpp: * html/HTMLTableElement.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
noam.rosenthal@nokia.com authored
https://bugs.webkit.org/show_bug.cgi?id=79543 Use QSGNode::inheritedOpacity() and QSGNode::matrix(). Also, remove flags from changedStates() that we don't actually touch. Reviewed by Kenneth Rohde Christiansen. * UIProcess/API/qt/qquickwebpage.cpp: (QQuickWebPagePrivate::paintToCurrentGLContext): (PageProxyNode::changedStates): (PageProxyNode::render): * UIProcess/API/qt/qquickwebpage_p_p.h: (QQuickWebPagePrivate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108900 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kling@webkit.org authored
<http://webkit.org/b/79573> Reviewed by Anders Carlsson. * html/HTMLTableElement.cpp: (WebCore::HTMLTableElement::createSharedCellStyle): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
enne@google.com authored
r1085557 got reverted, but tests had been rebaselined. Revert that. * platform/chromium-linux/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.png: * platform/chromium-mac-leopard/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.png: * platform/chromium-mac-snowleopard/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.png: * platform/chromium-mac-snowleopard/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt: Removed. * platform/chromium-win/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.png: * platform/chromium-win/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
enne@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=79572 * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
noel.gordon@gmail.com authored
https://bugs.webkit.org/show_bug.cgi?id=79423 Unreviewed. Rebaseline svg/carto.net/scrollbar.svg and svg/carto.net/selectionlist.svg to complete the JPEG decoding changes due to r107389. * platform/chromium-linux/svg/carto.net/scrollbar-expected.png: * platform/chromium-linux/svg/carto.net/selectionlist-expected.png: * platform/chromium-mac-leopard/svg/carto.net/scrollbar-expected.png: * platform/chromium-mac-leopard/svg/carto.net/scrollbar-expected.txt: * platform/chromium-mac-leopard/svg/carto.net/selectionlist-expected.png: * platform/chromium-mac-leopard/svg/carto.net/selectionlist-expected.txt: Added. * platform/chromium-mac-snowleopard/svg/carto.net/scrollbar-expected.png: * platform/chromium-mac-snowleopard/svg/carto.net/selectionlist-expected.png: * platform/chromium-win-xp/svg/carto.net/scrollbar-expected.txt: Renamed from LayoutTests/platform/chromium-mac-snowleopard/svg/carto.net/scrollbar-expected.txt. * platform/chromium-win-xp/svg/carto.net/selectionlist-expected.txt: Added. * platform/chromium-win/svg/carto.net/scrollbar-expected.png: * platform/chromium-win/svg/carto.net/selectionlist-expected.png: * platform/chromium/test_expectations.txt: * platform/mac/svg/carto.net/scrollbar-expected.png: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108896 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* platform/qt/http/tests/misc/object-embedding-svg-delayed-size-negotiation-2-expected.png: * platform/qt/http/tests/misc/object-embedding-svg-delayed-size-negotiation-2-expected.txt: * platform/qt/svg/css/getComputedStyle-basic-expected.png: * platform/qt/svg/css/getComputedStyle-basic-expected.txt: Added. * platform/qt/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.png: * platform/qt/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
noel.gordon@gmail.com authored
https://bugs.webkit.org/show_bug.cgi?id=79565 SKIP this test: color profiles are not supported on Chromium LINUX, WIN * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zimmermann@webkit.org authored
Not reviewed. Rebase SVG text result. * svg/css/getComputedStyle-basic-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zimmermann@webkit.org authored
http://trac.webkit.org/changeset/108557 https://bugs.webkit.org/show_bug.cgi?id=77705 Broke svg/zoom/page/zoom-replated-intrinsic-ratio-001.htm. * rendering/RenderTableCell.cpp: * rendering/RenderTableCell.h: (RenderTableCell): * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::calcRowLogicalHeight): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108892 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* platform/qt/Skipped: * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
<http://webkit.org/b/79559> Patch by Andreas Kling <awesomekling@apple.com> on 2012-02-25 Reviewed by Anders Carlsson. Out-of-line name() and value(), and move the logic from parseAttribute() into them instead. This makes the class a bit simpler and shrinks it by two AtomicStrings. Also reduced isURLAttribute() to a two-liner. * html/HTMLParamElement.cpp: (WebCore::HTMLParamElement::name): (WebCore::HTMLParamElement::value): (WebCore::HTMLParamElement::isURLAttribute): * html/HTMLParamElement.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
http://trac.webkit.org/changeset/108816 https://bugs.webkit.org/show_bug.cgi?id=79562 It made many tests crash and timeout on Qt-WK2 (Requested by ossy__ on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-02-25 * UIProcess/API/qt/qquickwebview.cpp: (QQuickWebViewPrivate::QQuickWebViewPrivate): (QQuickWebViewPrivate::initialize): (QQuickWebViewPrivate::setIcon): * UIProcess/API/qt/qquickwebview_p.h: * UIProcess/API/qt/qquickwebview_p_p.h: (QQuickWebViewPrivate): * UIProcess/API/qt/tests/publicapi/tst_publicapi.cpp: * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_linkHovered.qml: * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_loadHtml.qml: * UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp: (tst_QQuickWebView::loadProgress): * UIProcess/qt/QtWebPageLoadClient.cpp: (QtWebPageLoadClient::didCommitLoadForFrame): (QtWebPageLoadClient::didSameDocumentNavigationForFrame): (QtWebPageLoadClient::didReceiveTitleForFrame): (QtWebPageLoadClient::setLoadProgress): * UIProcess/qt/QtWebPageLoadClient.h: (QtWebPageLoadClient): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mhahnenberg@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=79556 Reviewed by Filip Pizlo. Replaced m_payload with a payload() method that calculates the offset of the payload with the proper alignment. This change allows us to avoid alignment-related issues in a cross-platform manner. * heap/CopiedAllocator.h: (JSC::CopiedAllocator::currentUtilization): * heap/CopiedBlock.h: (JSC::CopiedBlock::CopiedBlock): (JSC::CopiedBlock::payload): (CopiedBlock): * heap/CopiedSpace.cpp: (JSC::CopiedSpace::doneFillingBlock): * heap/CopiedSpaceInlineMethods.h: (JSC::CopiedSpace::borrowBlock): (JSC::CopiedSpace::allocateFromBlock): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
noel.gordon@gmail.com authored
* platform/chromium-mac-snowleopard/fast/images/rgb-jpeg-with-adobe-marker-only-expected.txt: Removed. * platform/chromium-win/fast/images/rgb-jpeg-with-adobe-marker-only-expected.png: Added. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 24 Feb, 2012 12 commits
-
-
jamesr@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=78404 Patch by Tien-Ren Chen <trchen@chromium.org> on 2012-02-24 Reviewed by James Robinson. Source/WebCore: No new tests. Updated existing test to reflect changes. * platform/graphics/chromium/CanvasLayerChromium.cpp: (WebCore::CanvasLayerChromium::createCCLayerImpl): * platform/graphics/chromium/CanvasLayerChromium.h: (CanvasLayerChromium): * platform/graphics/chromium/LayerChromium.cpp: (WebCore::LayerChromium::createCCLayerImpl): * platform/graphics/chromium/LayerChromium.h: (LayerChromium): * platform/graphics/chromium/PluginLayerChromium.cpp: (WebCore::PluginLayerChromium::createCCLayerImpl): * platform/graphics/chromium/PluginLayerChromium.h: (PluginLayerChromium): * platform/graphics/chromium/SolidColorLayerChromium.cpp: (WebCore::SolidColorLayerChromium::createCCLayerImpl): * platform/graphics/chromium/SolidColorLayerChromium.h: (SolidColorLayerChromium): * platform/graphics/chromium/TiledLayerChromium.cpp: (WebCore::TiledLayerChromium::createCCLayerImpl): * platform/graphics/chromium/TiledLayerChromium.h: (TiledLayerChromium): * platform/graphics/chromium/TreeSynchronizer.cpp: (WebCore::TreeSynchronizer::synchronizeTrees): (WebCore::TreeSynchronizer::collectExistingCCLayerImplRecursive): (WebCore): (WebCore::TreeSynchronizer::reuseOrCreateCCLayerImpl): (WebCore::TreeSynchronizer::synchronizeTreeRecursive): * platform/graphics/chromium/TreeSynchronizer.h: (TreeSynchronizer): * platform/graphics/chromium/VideoLayerChromium.cpp: (WebCore::VideoLayerChromium::createCCLayerImpl): * platform/graphics/chromium/VideoLayerChromium.h: (VideoLayerChromium): * platform/graphics/chromium/cc/CCCanvasLayerImpl.h: (WebCore::CCCanvasLayerImpl::create): * platform/graphics/chromium/cc/CCDamageTracker.cpp: (WebCore::CCDamageTracker::updateDamageTrackingState): (WebCore::CCDamageTracker::trackDamageFromActiveLayers): * platform/graphics/chromium/cc/CCDamageTracker.h: (CCDamageTracker): * platform/graphics/chromium/cc/CCLayerImpl.cpp: (WebCore::CCLayerImpl::CCLayerImpl): (WebCore::CCLayerImpl::addChild): (WebCore::sortLayers): (WebCore::CCLayerImpl::setMaskLayer): (WebCore::CCLayerImpl::setReplicaLayer): * platform/graphics/chromium/cc/CCLayerImpl.h: (WebCore::CCLayerImpl::create): (WebCore::CCLayerImpl::children): (CCLayerImpl): (WebCore): * platform/graphics/chromium/cc/CCLayerIterator.cpp: (WebCore): (WebCore::CCLayerIteratorActions::BackToFront::begin): (WebCore::CCLayerIteratorActions::BackToFront::end): (WebCore::CCLayerIteratorActions::BackToFront::next): (WebCore::CCLayerIteratorActions::FrontToBack::begin): (WebCore::CCLayerIteratorActions::FrontToBack::end): (WebCore::CCLayerIteratorActions::FrontToBack::next): (WebCore::CCLayerIteratorActions::FrontToBack::goToHighestInSubtree): * platform/graphics/chromium/cc/CCLayerIterator.h: (WebCore): (CCLayerIterator): (WebCore::CCLayerIterator::begin): (WebCore::CCLayerIterator::end): (WebCore::CCLayerIterator::targetRenderSurfaceLayer): (WebCore::CCLayerIterator::CCLayerIterator): (WebCore::CCLayerIterator::getRawPtr): (WebCore::CCLayerIterator::currentLayer): (WebCore::CCLayerIterator::targetRenderSurfaceChildren): (BackToFront): (FrontToBack): * platform/graphics/chromium/cc/CCLayerSorter.cpp: (WebCore::CCLayerSorter::createGraphNodes): * platform/graphics/chromium/cc/CCLayerSorter.h: (CCLayerSorter): * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: (WebCore::CCLayerTreeHost::finishCommitOnImplThread): (WebCore::CCLayerTreeHost::didBecomeInvisibleOnImplThread): (WebCore::CCLayerTreeHost::reserveTextures): (WebCore::CCLayerTreeHost::paintLayerContents): (WebCore::CCLayerTreeHost::updateCompositorResources): * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp: (WebCore): (WebCore::calculateDrawTransformsAndVisibilityInternal): (WebCore::walkLayersAndCalculateVisibleLayerRects): (WebCore::CCLayerTreeHostCommon::calculateDrawTransformsAndVisibility): * platform/graphics/chromium/cc/CCLayerTreeHostCommon.h: (CCLayerTreeHostCommon): * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp: (WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl): (WebCore::CCLayerTreeHostImpl::trackDamageForAllSurfaces): (WebCore::CCLayerTreeHostImpl::calculateRenderPasses): (WebCore::CCLayerTreeHostImpl::drawLayers): (WebCore::CCLayerTreeHostImpl::setRootLayer): * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h: (CCLayerTreeHostImpl): (WebCore::CCLayerTreeHostImpl::releaseRootLayer): (WebCore::CCLayerTreeHostImpl::scrollLayer): * platform/graphics/chromium/cc/CCPluginLayerImpl.h: (WebCore::CCPluginLayerImpl::create): * platform/graphics/chromium/cc/CCRenderSurface.h: (WebCore::CCRenderSurface::layerList): (CCRenderSurface): * platform/graphics/chromium/cc/CCSolidColorLayerImpl.h: (WebCore::CCSolidColorLayerImpl::create): * platform/graphics/chromium/cc/CCTiledLayerImpl.h: (WebCore::CCTiledLayerImpl::create): * platform/graphics/chromium/cc/CCVideoLayerImpl.h: (WebCore::CCVideoLayerImpl::create): Source/WebKit/chromium: * tests/CCDamageTrackerTest.cpp: (WebKitTests::executeCalculateDrawTransformsAndVisibility): (WebKitTests::emulateDrawingOneFrame): (WebKitTests::createTestTreeWithOneSurface): (WebKitTests::createTestTreeWithTwoSurfaces): (WebKitTests::createAndSetUpTestTreeWithOneSurface): (WebKitTests::createAndSetUpTestTreeWithTwoSurfaces): (WebKitTests::TEST_F): * tests/CCLayerImplTest.cpp: (WebCore::TEST): * tests/CCLayerIteratorTest.cpp: * tests/CCLayerSorterTest.cpp: (WebCore::TEST): * tests/CCLayerTreeHostCommonTest.cpp: (WebCore::TEST): * tests/CCLayerTreeHostImplTest.cpp: (WebKit::CCLayerTreeHostImplTest::setupScrollAndContentsLayers): (WebKit::TEST_F): (WebKit::DidDrawCheckLayer::create): (WebKit::BlendStateCheckLayer::create): * tests/CCRenderSurfaceTest.cpp: (WebCore::TEST): * tests/CCSolidColorLayerImplTest.cpp: (CCLayerTestCommon::TEST): * tests/CCTiledLayerImplTest.cpp: (CCLayerTestCommon::createLayer): (CCLayerTestCommon::TEST): (CCLayerTestCommon::getQuads): * tests/Canvas2DLayerChromiumTest.cpp: (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest): * tests/TiledLayerChromiumTest.cpp: (WTF::TEST): * tests/TreeSynchronizerTest.cpp: (WebKitTests::MockCCLayerImpl::create): (WebKitTests::MockLayerChromium::createCCLayerImpl): (WebKitTests::expectTreesAreIdentical): (WebKitTests::TEST): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kling@webkit.org authored
<http://webkit.org/b/79530> Reviewed by Anders Carlsson. "both" -> CSSValueBoth. "center" -> CSSValueCenter. * html/HTMLBRElement.cpp: (WebCore::HTMLBRElement::collectStyleForAttribute): * html/HTMLElement.cpp: (WebCore::HTMLElement::collectStyleForAttribute): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
enne@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=79457 WebKit is no abode for poor spelling. * fast/images/rgb-jpeg-with-adobe-marker-only-expected.txt: Renamed from LayoutTests/fast/images/rgb-jpeg-with-abode-marker-only-expected.txt. * fast/images/rgb-jpeg-with-adobe-marker-only.html: Renamed from LayoutTests/fast/images/rgb-jpeg-with-abode-marker-only.html. * platform/chromium-mac-snowleopard/fast/images/rgb-jpeg-with-adobe-marker-only-expected.png: Renamed from LayoutTests/platform/chromium-mac-snowleopard/fast/images/rgb-jpeg-with-abode-marker-only-expected.png. * platform/chromium-mac-snowleopard/fast/images/rgb-jpeg-with-adobe-marker-only-expected.txt: Renamed from LayoutTests/platform/chromium-mac-snowleopard/fast/images/rgb-jpeg-with-abode-marker-only-expected.txt. * platform/mac-snowleopard/fast/images/rgb-jpeg-with-adobe-marker-only-expected.png: Renamed from LayoutTests/platform/mac-snowleopard/fast/images/rgb-jpeg-with-abode-marker-only-expected.png. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=75591 Reviewed by Kenneth Russell. This converts WebViewImpl from depending on CCLayerTreeHost to WebLayerTreeView in order to provide better isolation and allow for future refactorings. The changes to WebViewImpl are mostly mechanical. The WebLayerTreeView and WebLayerTreeViewClient interfaces have both grown and changed slightly: - Setup path for WebLayerTreeView changed to expose an initialize() function instead of a create() factory function. The new model is that a WebLayerTreeView when constructed is in a null state. Calling initialize() attempts to re-initialize the WLTV, which can either fail or succeed. All other functions must be called on a successfully initialized view. - WebLayerTreeView expanded to include functionality that CCLayerTreeHost exposes but WebLayerTreeView did not. Some of this is only valid for the single thread case and will be removed when we invert the scheduling control logic, these bits are commented. - WebLayerTreeViewClient expanded with some flow-control related APIs. Refactor only, no change in behavior. * public/platform/WebLayerTreeView.h: (WebKit::WebLayerTreeView::Settings::Settings): (WebKit::WebLayerTreeView::isNull): * public/platform/WebLayerTreeViewClient.h: * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::scheduleCompositingLayerSync): * src/WebLayerTreeView.cpp: (WebKit::WebLayerTreeView::initialize): (WebKit::WebLayerTreeView::compositorIdentifier): (WebKit::WebLayerTreeView::setVisible): (WebKit::WebLayerTreeView::setNeedsAnimate): (WebKit::WebLayerTreeView::updateAnimations): (WebKit::WebLayerTreeView::setNeedsRedraw): (WebKit::WebLayerTreeView::setPageScaleFactorAndLimits): (WebKit::WebLayerTreeView::startPageScaleAnimation): (WebKit::WebLayerTreeView::finishAllRendering): (WebKit::WebLayerTreeView::context): (WebKit::WebLayerTreeView::loseCompositorContext): * src/WebLayerTreeViewImpl.cpp: (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext): (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame): (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::animate): (WebKit::WebViewImpl::doPixelReadbackToCanvas): (WebKit::WebViewImpl::paint): (WebKit::WebViewImpl::composite): (WebKit::WebViewImpl::loseCompositorContext): (WebKit::WebViewImpl::computePageScaleFactorLimits): (WebKit::WebViewImpl::addPageOverlay): (WebKit::WebViewImpl::removePageOverlay): (WebKit::WebViewImpl::setRootGraphicsLayer): (WebKit::WebViewImpl::scheduleCompositingLayerSync): (WebKit::WebViewImpl::scrollRootLayerRect): (WebKit::WebViewImpl::invalidateRootLayerRect): (WebKit::WebViewImpl::scheduleAnimation): (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): (WebKit::WebViewImpl::createContext3D): (WebKit::WebViewImpl::applyScrollAndScale): (WebKit::WebViewImpl::didRebindGraphicsContext): (WebKit::WebViewImpl::updateLayerTreeViewport): (WebKit::WebViewImpl::graphicsContext3D): (WebKit::WebViewImpl::setVisibilityState): * src/WebViewImpl.h: * tests/WebLayerTest.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yael.aharon@nokia.com authored
https://bugs.webkit.org/show_bug.cgi?id=79545 Reviewed by Noam Rosenthal. Add const to new methods. No new tests. * platform/graphics/texmap/TextureMapperShaderManager.cpp: (WebCore::TextureMapperShaderProgramSimple::vertexShaderSource): (WebCore::TextureMapperShaderProgramSimple::fragmentShaderSource): (WebCore::TextureMapperShaderProgramOpacityAndMask::vertexShaderSource): (WebCore::TextureMapperShaderProgramOpacityAndMask::fragmentShaderSource): * platform/graphics/texmap/TextureMapperShaderManager.h: (WebCore::TextureMapperShaderProgram::matrixVariable): (WebCore::TextureMapperShaderProgram::sourceMatrixVariable): (WebCore::TextureMapperShaderProgram::sourceTextureVariable): (WebCore::TextureMapperShaderProgram::opacityVariable): (TextureMapperShaderProgram): (TextureMapperShaderProgramSimple): (WebCore::TextureMapperShaderProgramOpacityAndMask::maskMatrixVariable): (WebCore::TextureMapperShaderProgramOpacityAndMask::maskTextureVariable): (TextureMapperShaderProgramOpacityAndMask): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tsepez@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=79397 Reviewed by Adam Barth. Source/WebCore: Test: http/tests/security/xssAuditor/script-tag-safe4.html * html/parser/XSSAuditor.cpp: (WebCore::XSSAuditor::filterCharacterToken): (WebCore::XSSAuditor::filterScriptToken): (WebCore::XSSAuditor::filterObjectToken): (WebCore::XSSAuditor::filterEmbedToken): (WebCore::XSSAuditor::filterAppletToken): (WebCore::XSSAuditor::filterIframeToken): (WebCore::XSSAuditor::decodedSnippetForToken): (WebCore): (WebCore::XSSAuditor::decodedSnippetForName): (WebCore::XSSAuditor::decodedSnippetForAttribute): (WebCore::XSSAuditor::decodedSnippetForJavascript): (WebCore::XSSAuditor::isContainedInRequest): (WebCore::XSSAuditor::isSameOriginResource): * html/parser/XSSAuditor.h: LayoutTests: * http/tests/security/xssAuditor/resources/script-tag-safe4-frame.html: Added. * http/tests/security/xssAuditor/script-tag-safe4-expected.txt: Added. * http/tests/security/xssAuditor/script-tag-safe4.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=77646 Patch by Ian Vollick <vollick@chromium.org> on 2012-02-24 Reviewed by James Robinson. Source/WebCore: * WebCore.gypi: * platform/graphics/chromium/GraphicsLayerChromium.cpp: (std): (WebCore::GraphicsLayerChromium::~GraphicsLayerChromium): (WebCore::GraphicsLayerChromium::addAnimation): (WebCore::GraphicsLayerChromium::pauseAnimation): (WebCore::GraphicsLayerChromium::removeAnimation): (WebCore::GraphicsLayerChromium::suspendAnimations): (WebCore::GraphicsLayerChromium::resumeAnimations): (WebCore::GraphicsLayerChromium::updateLayerPreserves3D): (WebCore::GraphicsLayerChromium::mapAnimationNameToId): (WebCore): (WebCore::GraphicsLayerChromium::notifyAnimationStarted): (WebCore::GraphicsLayerChromium::notifyAnimationFinished): * platform/graphics/chromium/GraphicsLayerChromium.h: (GraphicsLayerChromium): * platform/graphics/chromium/LayerChromium.cpp: (WebCore::LayerChromium::LayerChromium): (WebCore::LayerChromium::setAnimationEvent): (WebCore): * platform/graphics/chromium/LayerChromium.h: (WebCore): (LayerChromium): (WebCore::LayerChromium::setLayerAnimationDelegate): * platform/graphics/chromium/cc/CCAnimationEvents.cpp: Added. (WebCore): (WebCore::CCAnimationEvent::CCAnimationEvent): (WebCore::CCAnimationEvent::~CCAnimationEvent): (WebCore::CCAnimationEvent::toAnimationStartedEvent): (WebCore::CCAnimationEvent::toAnimationFinishedEvent): (WebCore::CCAnimationStartedEvent::create): (WebCore::CCAnimationStartedEvent::CCAnimationStartedEvent): (WebCore::CCAnimationStartedEvent::~CCAnimationStartedEvent): (WebCore::CCAnimationStartedEvent::type): (WebCore::CCAnimationFinishedEvent::create): (WebCore::CCAnimationFinishedEvent::CCAnimationFinishedEvent): (WebCore::CCAnimationFinishedEvent::~CCAnimationFinishedEvent): (WebCore::CCAnimationFinishedEvent::type): * platform/graphics/chromium/cc/CCAnimationEvents.h: (WebCore): (CCAnimationEvent): (WebCore::CCAnimationEvent::layerId): (CCAnimationStartedEvent): (WebCore::CCAnimationStartedEvent::startTime): (CCAnimationFinishedEvent): (WebCore::CCAnimationFinishedEvent::animationId): * platform/graphics/chromium/cc/CCLayerAnimationControllerImpl.cpp: (WebCore::CCLayerAnimationControllerImpl::animate): (WebCore::CCLayerAnimationControllerImpl::startAnimationsWaitingForNextTick): (WebCore::CCLayerAnimationControllerImpl::startAnimationsWaitingForStartTime): (WebCore::CCLayerAnimationControllerImpl::startAnimationsWaitingForTargetAvailability): (WebCore::CCLayerAnimationControllerImpl::purgeFinishedAnimations): (WebCore::CCLayerAnimationControllerImpl::tickAnimations): * platform/graphics/chromium/cc/CCLayerAnimationControllerImpl.h: (CCLayerAnimationControllerImpl): * platform/graphics/chromium/cc/CCLayerAnimationDelegate.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCAnimationEvents.h. (WebCore): (CCLayerAnimationDelegate): * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: (WebCore::CCLayerTreeHost::setAnimationEvents): (WebCore::CCLayerTreeHost::setAnimationEventsRecursive): (WebCore): * platform/graphics/chromium/cc/CCLayerTreeHost.h: Source/WebKit/chromium: * tests/CCLayerTreeHostTest.cpp: (TestHooks): (WTF::TestHooks::notifyAnimationStarted): (WTF::TestHooks::notifyAnimationFinished): (WTF::MockLayerTreeHost::create): (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation): (WTF::CCLayerTreeHostTestAddAnimation::animateLayers): (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationStarted): (CCLayerTreeHostTestAddAnimation): (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationFinished): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@chromium.org authored
Reviewed by James Robinson. * Scripts/webkitpy/common/config/watchlist: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
inferno@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=79532 Reviewed by Andreas Kling. Source/WebCore: Make sure that node is an element node before checking its id attribute. Test: fast/mutation/mutation-callback-non-element-crash.html * dom/StaticNodeList.cpp: (WebCore::StaticNodeList::itemWithName): LayoutTests: * fast/mutation/mutation-callback-non-element-crash-expected.txt: Added. * fast/mutation/mutation-callback-non-element-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=79539 Reviewed by Darin Fisher. Source/Platform: * Platform.gypi: * chromium/public/WebColor.h: (WebKit): Source/WebKit/chromium: * WebKit.gyp: * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h. (WebKit): * public/platform/WebColorName.h: * src/WebColor.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tony@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=79533 Reviewed by Ojan Vafai. No new tests, just refactoring. * rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::layoutFlexItems): Move the flipping of RTL+column positions to its own method. This might be a tiny bit slower, but it's clearer since it's not related to alignment. (WebCore::RenderFlexibleBox::layoutAndPlaceChildren): Move the logical height calculation out of the loop. We only need the final height. (WebCore::RenderFlexibleBox::alignChildren): (WebCore::RenderFlexibleBox::flipForRightToLeftColumn): * rendering/RenderFlexibleBox.h: (RenderFlexibleBox): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
inferno@chromium.org authored
to clone block in multi-column layout. https://bugs.webkit.org/show_bug.cgi?id=78416 Reviewed by Eric Seidel. Source/WebCore: Test: fast/multicol/span/positioned-child-not-removed-crash.html * rendering/RenderBlock.cpp: (WebCore::RenderBlock::splitBlocks): LayoutTests: * fast/multicol/span/positioned-child-not-removed-crash-expected.txt: Added. * fast/multicol/span/positioned-child-not-removed-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-