1. 06 Jan, 2012 40 commits
    • jarred@sencha.com's avatar
      Unreviewed build-webkit fix for Chromium to properly use make if gyp generates Makefiles. · 2cd8d015
      jarred@sencha.com authored
      * Scripts/webkitdirs.pm:
      (buildChromium):
      Missing parentheses.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104375 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2cd8d015
    • kling@webkit.org's avatar
      Unreviewed build fix after r104373. · 10ef3f9d
      kling@webkit.org authored
      * html/HTMLTableElement.cpp:
      (WebCore::HTMLTableElement::~HTMLTableElement):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104374 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10ef3f9d
    • kling@webkit.org's avatar
      Simplify HTMLCollection ownership model. · 23ad56ac
      kling@webkit.org authored
      <http://webkit.org/b/75437>
      
      Reviewed by Sam Weinig.
      
      Source/WebCore: 
      
      Remove HTMLCollection's inheritance from RefCounted and use OwnPtr to store it.
      Added ref()/deref() methods that forward to the collection's base node, these
      are only ever used by DOM wrappers.
      
      This is a behavior change, HTMLCollection wrappers now keep the base node alive.
      
      Test: fast/dom/htmlcollection-protects-base.html
      
      * html/HTMLCollection.h:
      (WebCore::HTMLCollection::ref):
      (WebCore::HTMLCollection::deref):
      
          Removed inheritance from RefCounted. Added ref/deref that forward the refs
          to the collection's base Node.
      
      * dom/Element.cpp:
      (WebCore::Element::~Element):
      * dom/Document.h:
      * dom/Document.cpp:
      (WebCore::Document::~Document):
      * html/HTMLFormElement.cpp:
      (WebCore::HTMLFormElement::~HTMLFormElement):
      * html/HTMLSelectElement.h:
      * html/HTMLSelectElement.cpp:
      
          Remove HTMLCollection::detachFromNode() and call sites.
      
      * html/HTMLAllCollection.cpp:
      (WebCore::HTMLAllCollection::namedItemWithIndex):
      * html/HTMLCollection.cpp:
      (WebCore::HTMLCollection::HTMLCollection):
      (WebCore::HTMLCollection::invalidateCacheIfNeeded):
      (WebCore::HTMLCollection::itemAfter):
      (WebCore::HTMLCollection::calcLength):
      (WebCore::HTMLCollection::length):
      (WebCore::HTMLCollection::item):
      (WebCore::HTMLCollection::nextItem):
      (WebCore::HTMLCollection::namedItem):
      (WebCore::HTMLCollection::updateNameCache):
      (WebCore::HTMLCollection::hasNamedItem):
      (WebCore::HTMLCollection::namedItems):
      (WebCore::HTMLCollection::tags):
      * html/HTMLFormCollection.cpp:
      (WebCore::HTMLFormCollection::calcLength):
      (WebCore::HTMLFormCollection::item):
      (WebCore::HTMLFormCollection::getNamedItem):
      (WebCore::HTMLFormCollection::namedItem):
      (WebCore::HTMLFormCollection::updateNameCache):
      * html/HTMLNameCollection.cpp:
      (WebCore::HTMLNameCollection::itemAfter):
      * html/HTMLOptionsCollection.cpp:
      (WebCore::HTMLOptionsCollection::add):
      (WebCore::HTMLOptionsCollection::remove):
      (WebCore::HTMLOptionsCollection::selectedIndex):
      (WebCore::HTMLOptionsCollection::setSelectedIndex):
      (WebCore::HTMLOptionsCollection::setLength):
      * html/HTMLPropertiesCollection.cpp:
      (WebCore::HTMLPropertiesCollection::length):
      (WebCore::HTMLPropertiesCollection::item):
      (WebCore::HTMLPropertiesCollection::names):
      
          Removed base node null-checks and assertions. Added one assertion to
          the HTMLCollection constructor (that m_base is non-null.)
      
      * dom/Document.h:
      * dom/Document.cpp:
      (WebCore::Document::openSearchDescriptionURL):
      (WebCore::Document::cachedCollection):
      (WebCore::Document::images):
      (WebCore::Document::applets):
      (WebCore::Document::embeds):
      (WebCore::Document::plugins):
      (WebCore::Document::objects):
      (WebCore::Document::scripts):
      (WebCore::Document::links):
      (WebCore::Document::forms):
      (WebCore::Document::anchors):
      (WebCore::Document::all):
      (WebCore::Document::windowNamedItems):
      (WebCore::Document::documentNamedItems):
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::namedItemGetter):
      * bindings/js/JSHTMLDocumentCustom.cpp:
      (WebCore::JSHTMLDocument::nameGetter):
      (WebCore::JSHTMLDocument::all):
      * bindings/v8/custom/V8DOMWindowCustom.cpp:
      (WebCore::V8DOMWindow::namedPropertyGetter):
      * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
      (WebCore::V8HTMLDocument::GetNamedProperty):
      * dom/ElementRareData.h:
      (WebCore::ElementRareData::ensureCachedHTMLCollection):
      * dom/NodeRareData.h:
      (WebCore::NodeRareData::properties):
      * html/HTMLAllCollection.h:
      * html/HTMLAllCollection.cpp:
      (WebCore::HTMLAllCollection::create):
      * html/HTMLCollection.h:
      * html/HTMLCollection.cpp:
      (WebCore::HTMLCollection::create):
      (WebCore::HTMLCollection::HTMLCollection):
      * html/HTMLDataListElement.cpp:
      (WebCore::HTMLDataListElement::options):
      * html/HTMLDataListElement.h:
      * html/HTMLElement.cpp:
      (WebCore::HTMLElement::children):
      * html/HTMLElement.h:
      * html/HTMLSelectElement.h:
      (WebCore::HTMLSelectElement::options):
      * html/HTMLFormCollection.h:
      * html/HTMLFormElement.h:
      * html/HTMLFormElement.cpp:
      (WebCore::HTMLFormElement::elements):
      * html/HTMLNameCollection.h:
      (WebCore::HTMLNameCollection::create):
      * html/HTMLFormCollection.cpp:
      (WebCore::HTMLFormCollection::create):
      * html/HTMLMapElement.cpp:
      (WebCore::HTMLMapElement::imageElement):
      (WebCore::HTMLMapElement::areas):
      * html/HTMLMapElement.h:
      * html/HTMLPropertiesCollection.h:
      * html/HTMLTableElement.cpp:
      (WebCore::HTMLTableElement::rows):
      (WebCore::HTMLTableElement::tBodies):
      * html/HTMLTableElement.h:
      * html/HTMLTableRowElement.cpp:
      (WebCore::HTMLTableRowElement::insertCell):
      (WebCore::HTMLTableRowElement::deleteCell):
      (WebCore::HTMLTableRowElement::cells):
      * html/HTMLTableRowElement.h:
      * html/HTMLTableRowsCollection.cpp:
      (WebCore::HTMLTableRowsCollection::create):
      (WebCore::HTMLTableRowsCollection::itemAfter):
      * html/HTMLTableRowsCollection.h:
      * html/HTMLTableSectionElement.h:
      * html/HTMLTableSectionElement.cpp:
      (WebCore::HTMLTableSectionElement::insertRow):
      (WebCore::HTMLTableSectionElement::deleteRow):
      (WebCore::HTMLTableSectionElement::rows):
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::selectedOption):
      * html/HTMLOptionsCollection.h:
      * html/HTMLOptionsCollection.cpp:
      (WebCore::HTMLOptionsCollection::create):
      * html/HTMLPropertiesCollection.cpp:
      (WebCore::HTMLPropertiesCollection::create):
      
          Store cached HTMLCollections in OwnPtrs. Methods that used to return
          PassRefPtr<HTMLCollection> now simply return HTMLCollection*.
          Updated call sites as appropriate.
      
      LayoutTests: 
      
      - Removed fast/dom/htmlcollection-zombies.html since it was testing bogus behavior.
      - Added a test to verify that HTMLCollection protects its base node from GC.
      
      * fast/dom/htmlcollection-protects-base-expected.txt: Added.
      * fast/dom/htmlcollection-protects-base.html: Added.
      * fast/dom/htmlcollection-zombies-expected.txt: Removed.
      * fast/dom/htmlcollection-zombies.html: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23ad56ac
    • abarth@webkit.org's avatar
      DOMWindow should be a FrameDestructionObserver · 3766b020
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75697
      
      Reviewed by Alexey Proskuryakov.
      
      DOMWindow plays exactly the role of a FrameDestructionObserver, just
      with special-case code.  It should just use the general-case code.
      
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::DOMWindow):
      (WebCore::DOMWindow::~DOMWindow):
      (WebCore::DOMWindow::frameDestroyed):
      * page/DOMWindow.h:
      * page/Frame.cpp:
      (WebCore::Frame::~Frame):
      (WebCore::Frame::clearDOMWindow):
      (WebCore::Frame::setDOMWindow):
      * page/Frame.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3766b020
    • commit-queue@webkit.org's avatar
      Web Inspector: Missing Implementation of Public InspectorDOMAgent Function · 3e7472be
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75759
      
      Implement missing accessor and make setter public.
      
      Patch by Joseph Pecoraro <pecoraro@apple.com> on 2012-01-06
      Reviewed by Timothy Hatcher.
      
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::searchingForNodeInPage):
      * inspector/InspectorDOMAgent.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e7472be
    • ostapenko.viatcheslav@nokia.com's avatar
      [Qt] [WK2] Minibrowser leaks memory ~6-7Mb per reload · 8dc2f13a
      ostapenko.viatcheslav@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75746
      
      Reset WebGraphicsLayer::m_layerTreeTileClient of all dependent
      layers from ~LayerTreeHostQt(). This replaces r103760 which
      causes leaks of GraphicsLayerTextureMapper objects on UI side.
      
      Reviewed by Noam Rosenthal.
      
      * WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
      (WebCore::WebGraphicsLayer::syncCompositingStateForThisLayerOnly):
      (WebCore::WebGraphicsLayer::setLayerTreeTileClient):
      * WebProcess/WebCoreSupport/WebGraphicsLayer.h:
      * WebProcess/WebPage/qt/LayerTreeHostQt.cpp:
      (WebKit::LayerTreeHostQt::~LayerTreeHostQt):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104370 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8dc2f13a
    • mrowe@apple.com's avatar
      Roll out r104362 since it broke the build. · 8fa8b1e8
      mrowe@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8fa8b1e8
    • wjmaclean@chromium.org's avatar
      [Chromium] Cull occluded tiles in tiled layers · 96bd28d6
      wjmaclean@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=70533
      
      Reviewed by James Robinson.
      
      Source/WebCore:
      
      Unit test provided, must pass all existing GPU layout tests.
      
      * WebCore.gypi:
      * platform/graphics/chromium/cc/CCLayerImpl.cpp:
      (WebCore::CCLayerImpl::appendQuads):
      (WebCore::CCLayerImpl::quadTransform):
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
      (WebCore::CCLayerTreeHostImpl::calculateRenderPasses):
      (WebCore::CCLayerTreeHostImpl::optimizeRenderPasses):
      (WebCore::CCLayerTreeHostImpl::drawLayers):
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
      * platform/graphics/chromium/cc/CCQuadCuller.cpp: Added.
      (std::swap):
      (WebCore::regionContainsRect):
      (WebCore::CCQuadCuller::cullOccludedQuads):
      * platform/graphics/chromium/cc/CCQuadCuller.h: Added.
      (WebCore::CCQuadCuller::CCQuadCuller):
      * platform/graphics/chromium/cc/CCRenderPass.cpp:
      (WebCore::CCRenderPass::optimizeQuads):
      * platform/graphics/chromium/cc/CCRenderPass.h:
      
      Source/WebKit/chromium:
      
      * WebKit.gypi:
      * tests/CCQuadCullerTest.cpp: Added.
      (WebCore::TestDrawQuad::TestDrawQuad):
      (WebCore::TestDrawQuad::create):
      (WebCore::setQuads):
      (WebCore::TEST):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      96bd28d6
    • andersca@apple.com's avatar
      Move more rubberbanding code into ScrollAnimatorMac::smoothScrollWithEvent · f18273ae
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75750
      
      Reviewed by Sam Weinig.
      
      * platform/mac/ScrollAnimatorMac.h:
      * platform/mac/ScrollAnimatorMac.mm:
      (WebCore::ScrollAnimatorMac::handleWheelEvent):
      Move rubberbanding related code into smoothScrollWithEvent.
      
      (WebCore::ScrollAnimatorMac::smoothScrollWithEvent):
      Move code here from handleWheelEvent and made the function return a boolean.
      
      (WebCore::ScrollAnimatorMac::snapRubberBand):
      Call the client.
      
      (WebCore::ScrollAnimatorMac::snapRubberBandTimerFired):
      Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104366 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f18273ae
    • cmarrin@apple.com's avatar
      Update ANGLE in WebKit tree · 128a99d8
      cmarrin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75753
      
      Reviewed by Simon Fraser.
      
      Updated ANGLE to r939. Fixed a compiler error (missing case in switch statement)
      and added 5 new files to xcodeproj. Other than that it is a straight copy of
      the files from the ANGLE repository.
      
      * ANGLE.xcodeproj/project.pbxproj:
      * include/EGL/eglext.h:
      * include/EGL/eglplatform.h:
      * include/GLES2/gl2ext.h:
      * include/GLSLANG/ShaderLang.h:
      * src/common/debug.cpp:
      (gl::output):
      (gl::trace):
      (gl::perfActive):
      (gl::ScopedPerfEventHelper::ScopedPerfEventHelper):
      (gl::ScopedPerfEventHelper::~ScopedPerfEventHelper):
      * src/common/version.h:
      * src/compiler/BaseTypes.h:
      (getBasicString):
      * src/compiler/BuiltInFunctionEmulator.cpp: Added.
      (BuiltInFunctionEmulator::BuiltInFunctionEmulator):
      (BuiltInFunctionEmulator::SetFunctionCalled):
      (BuiltInFunctionEmulator::OutputEmulatedFunctionDefinition):
      (BuiltInFunctionEmulator::IdentifyFunction):
      (BuiltInFunctionEmulator::MarkBuiltInFunctionsForEmulation):
      (BuiltInFunctionEmulator::Cleanup):
      (BuiltInFunctionEmulator::GetEmulatedFunctionName):
      * src/compiler/BuiltInFunctionEmulator.h: Added.
      * src/compiler/Compiler.cpp:
      (TCompiler::TCompiler):
      (TCompiler::compile):
      (TCompiler::clearResults):
      (TCompiler::detectRecursion):
      (TCompiler::getMappedNameMaxLength):
      (TCompiler::getBuiltInFunctionEmulator):
      * src/compiler/DetectRecursion.cpp: Added.
      (DetectRecursion::FunctionNode::FunctionNode):
      (DetectRecursion::FunctionNode::getName):
      (DetectRecursion::FunctionNode::addCallee):
      (DetectRecursion::FunctionNode::detectRecursion):
      (DetectRecursion::DetectRecursion):
      (DetectRecursion::~DetectRecursion):
      (DetectRecursion::visitAggregate):
      (DetectRecursion::detectRecursion):
      (DetectRecursion::findFunctionByName):
      * src/compiler/DetectRecursion.h: Added.
      * src/compiler/ExtensionBehavior.h:
      * src/compiler/ForLoopUnroll.cpp:
      (ForLoopUnroll::MarkForLoopsWithIntegerIndicesForUnrolling):
      * src/compiler/ForLoopUnroll.h:
      * src/compiler/Initialize.cpp:
      (BuiltInFunctionsCommon):
      (BuiltInFunctionsVertex):
      (BuiltInFunctionsFragment):
      (TBuiltIns::initialize):
      (IdentifyBuiltIns):
      (InitExtensionBehavior):
      * src/compiler/MapLongVariableNames.cpp:
      (MapLongVariableNames::MapLongVariableNames):
      (MapLongVariableNames::visitSymbol):
      (MapLongVariableNames::mapVaryingLongName):
      * src/compiler/MapLongVariableNames.h:
      * src/compiler/OutputGLSLBase.cpp:
      (TOutputGLSLBase::visitUnary):
      (TOutputGLSLBase::visitAggregate):
      * src/compiler/OutputHLSL.cpp:
      (sh::OutputHLSL::OutputHLSL):
      (sh::OutputHLSL::header):
      (sh::OutputHLSL::visitSymbol):
      (sh::OutputHLSL::visitAggregate):
      (sh::OutputHLSL::visitSelection):
      (sh::OutputHLSL::visitLoop):
      (sh::OutputHLSL::handleExcessiveLoop):
      (sh::OutputHLSL::addConstructor):
      (sh::OutputHLSL::decorate):
      (sh::OutputHLSL::decorateUniform):
      * src/compiler/OutputHLSL.h:
      * src/compiler/ParseHelper.cpp:
      (TParseContext::recover):
      (TParseContext::reservedErrorCheck):
      (TParseContext::constructorErrorCheck):
      (TParseContext::extensionErrorCheck):
      (TParseContext::supportsExtension):
      (TParseContext::enterStructDeclaration):
      (TParseContext::exitStructDeclaration):
      (TParseContext::structNestingErrorCheck):
      * src/compiler/ParseHelper.h:
      (TParseContext::TParseContext):
      * src/compiler/PoolAlloc.h:
      (pool_allocator::pool_allocator):
      (pool_allocator::operator=):
      (pool_allocator::setAllocator):
      (pool_allocator::getAllocator):
      * src/compiler/ShHandle.h:
      * src/compiler/ShaderLang.cpp:
      (checkActiveUniformAndAttribMaxLengths):
      (checkMappedNameMaxLength):
      (getVariableInfo):
      (ShInitBuiltInResources):
      (ShGetInfo):
      * src/compiler/SymbolTable.cpp:
      (TType::computeDeepestStructNesting):
      * src/compiler/TranslatorESSL.cpp:
      (TranslatorESSL::translate):
      (TranslatorESSL::writeExtensionBehavior):
      * src/compiler/TranslatorGLSL.cpp:
      (TranslatorGLSL::translate):
      * src/compiler/Types.h:
      (TType::TType):
      (TType::copyType):
      (TType::setStruct):
      (TType::getDeepestStructNesting):
      * src/compiler/UnfoldSelect.cpp:
      (sh::UnfoldSelect::traverse):
      (sh::UnfoldSelect::visitSelection):
      (sh::UnfoldSelect::visitLoop):
      (sh::UnfoldSelect::getNextTemporaryIndex):
      * src/compiler/UnfoldSelect.h:
      * src/compiler/ValidateLimitations.cpp:
      * src/compiler/ValidateLimitations.h:
      * src/compiler/VariableInfo.cpp:
      (getVariableDataType):
      * src/compiler/generate_glslang_lexer.sh: Removed.
      * src/compiler/generate_glslang_parser.sh: Removed.
      * src/compiler/generate_parser.sh: Added.
      * src/compiler/glslang.l:
      * src/compiler/glslang.y:
      * src/compiler/glslang_lex.cpp:
      (yy_get_previous_state):
      (yy_try_NUL_trans):
      * src/compiler/glslang_tab.cpp:
      * src/compiler/glslang_tab.h:
      * src/compiler/intermOut.cpp:
      (TOutputTraverser::visitAggregate):
      * src/compiler/intermediate.h:
      (TIntermUnary::TIntermUnary):
      (TIntermUnary::setUseEmulatedFunction):
      (TIntermUnary::getUseEmulatedFunction):
      (TIntermAggregate::TIntermAggregate):
      (TIntermAggregate::setUseEmulatedFunction):
      (TIntermAggregate::getUseEmulatedFunction):
      * src/compiler/osinclude.h:
      * src/compiler/ossource_posix.cpp:
      (OS_AllocTLSIndex):
      (OS_SetTLSValue):
      (OS_FreeTLSIndex):
      * src/compiler/preprocessor/atom.c:
      (GrowAtomTable):
      * src/compiler/preprocessor/length_limits.h: Added.
      * src/compiler/preprocessor/scanner.h:
      * src/libEGL/Display.cpp:
      (egl::Display::getDisplay):
      (egl::Display::Display):
      (egl::Display::~Display):
      (egl::Display::initialize):
      (egl::Display::terminate):
      (egl::Display::startScene):
      (egl::Display::endScene):
      (egl::Display::createDevice):
      (egl::Display::initializeDevice):
      (egl::Display::resetDevice):
      (egl::Display::createWindowSurface):
      (egl::Display::createOffscreenSurface):
      (egl::Display::createContext):
      (egl::Display::restoreLostDevice):
      (egl::Display::notifyDeviceLost):
      (egl::Display::isDeviceLost):
      (egl::Display::testDeviceLost):
      (egl::Display::testDeviceResettable):
      (egl::Display::getDXT1TextureSupport):
      (egl::Display::getDXT3TextureSupport):
      (egl::Display::getDXT5TextureSupport):
      (egl::Display::getFloat32TextureSupport):
      (egl::Display::getFloat16TextureSupport):
      (egl::Display::getTexturePool):
      (egl::Display::initExtensionString):
      * src/libEGL/Display.h:
      * src/libEGL/Surface.cpp:
      (egl::Surface::Surface):
      (egl::Surface::initialize):
      (egl::Surface::resetSwapChain):
      (egl::Surface::subclassWindow):
      (egl::Surface::unsubclassWindow):
      (egl::Surface::swap):
      (egl::Surface::postSubBuffer):
      (egl::Surface::isPostSubBufferSupported):
      * src/libEGL/Surface.h:
      * src/libEGL/libEGL.cpp:
      * src/libEGL/libEGL.rc:
      * src/libEGL/libEGL.vcproj:
      * src/libGLESv2/Buffer.cpp:
      (gl::Buffer::bufferSubData):
      * src/libGLESv2/Context.cpp:
      (gl::Context::Context):
      (gl::Context::makeCurrent):
      (gl::Context::markAllStateDirty):
      (gl::Context::markContextLost):
      (gl::Context::isContextLost):
      (gl::Context::setPackReverseRowOrder):
      (gl::Context::getPackReverseRowOrder):
      (gl::Context::deleteProgram):
      (gl::Context::getDrawFramebuffer):
      (gl::Context::bindDrawFramebuffer):
      (gl::Context::useProgram):
      (gl::Context::setFramebufferZero):
      (gl::Context::getCurrentProgram):
      (gl::Context::getBooleanv):
      (gl::Context::getIntegerv):
      (gl::Context::getQueryParameterInfo):
      (gl::Context::applyRenderTarget):
      (gl::Context::applyState):
      (gl::Context::applyVertexBuffer):
      (gl::Context::applyIndexBuffer):
      (gl::Context::applyShaders):
      (gl::Context::applyTextures):
      (gl::Context::readPixels):
      (gl::Context::clear):
      (gl::Context::drawArrays):
      (gl::Context::drawElements):
      (gl::Context::sync):
      (gl::Context::drawClosingLine):
      (gl::Context::getResetStatus):
      (gl::Context::isResetNotificationEnabled):
      (gl::Context::supportsDXT1Textures):
      (gl::Context::supportsDXT3Textures):
      (gl::Context::supportsDXT5Textures):
      (gl::Context::supportsFloat32Textures):
      (gl::Context::supportsFloat32LinearFilter):
      (gl::Context::supportsFloat32RenderableTextures):
      (gl::Context::supportsFloat16Textures):
      (gl::Context::supportsFloat16LinearFilter):
      (gl::Context::supportsFloat16RenderableTextures):
      (gl::Context::initExtensionString):
      (gl::Context::initRendererString):
      (gl::Context::getRendererString):
      (gl::Context::blitFramebuffer):
      (gl::VertexDeclarationCache::applyDeclaration):
      (gl::VertexDeclarationCache::markStateDirty):
      * src/libGLESv2/Context.h:
      * src/libGLESv2/Fence.cpp:
      (gl::Fence::testFence):
      (gl::Fence::getFenceiv):
      * src/libGLESv2/Framebuffer.cpp:
      (gl::Framebuffer::setColorbuffer):
      (gl::Framebuffer::setDepthbuffer):
      (gl::Framebuffer::setStencilbuffer):
      (gl::Framebuffer::getColorbuffer):
      (gl::Framebuffer::getDepthbuffer):
      (gl::Framebuffer::getStencilbuffer):
      (gl::Framebuffer::hasStencil):
      (gl::Framebuffer::completeness):
      (gl::DefaultFramebuffer::DefaultFramebuffer):
      * src/libGLESv2/Framebuffer.h:
      * src/libGLESv2/IndexDataManager.cpp:
      (gl::IndexDataManager::prepareIndexData):
      (gl::IndexBuffer::IndexBuffer):
      (gl::IndexBuffer::getSerial):
      (gl::IndexBuffer::issueSerial):
      (gl::StreamingIndexBuffer::reserveSpace):
      (gl::StaticIndexBuffer::reserveSpace):
      (gl::StaticIndexBuffer::lookupRange):
      (gl::StaticIndexBuffer::addRange):
      * src/libGLESv2/IndexDataManager.h:
      (gl::StaticIndexBuffer::IndexRange::operator<):
      * src/libGLESv2/Program.cpp:
      (gl::Uniform::Uniform):
      (gl::Uniform::isArray):
      (gl::UniformLocation::UniformLocation):
      (gl::Program::Program):
      (gl::Program::detachShader):
      (gl::Program::getUsedSamplerRange):
      (gl::Program::getSamplerMapping):
      (gl::Program::getUniformLocation):
      (gl::Program::setUniform1fv):
      (gl::Program::setUniform2fv):
      (gl::Program::setUniform3fv):
      (gl::transposeMatrix):
      (gl::Program::setUniformMatrix2fv):
      (gl::Program::setUniformMatrix3fv):
      (gl::Program::setUniformMatrix4fv):
      (gl::Program::getUniformfv):
      (gl::Program::getUniformiv):
      (gl::Program::applyUniforms):
      (gl::Program::compileToBinary):
      (gl::Program::linkVaryings):
      (gl::Program::link):
      (gl::Program::defineUniform):
      (gl::Program::createUniform):
      (gl::Program::decorateAttribute):
      (gl::Program::undecorateUniform):
      (gl::Program::applyUniformnbv):
      (gl::Program::applyUniformnfv):
      (gl::Program::applyUniform1iv):
      (gl::Program::applyUniform2iv):
      (gl::Program::applyUniform3iv):
      (gl::Program::applyUniform4iv):
      (gl::Program::applyUniformniv):
      (gl::Program::appendToInfoLogSanitized):
      (gl::Program::unlink):
      (gl::Program::getActiveUniform):
      (gl::Program::getActiveUniformCount):
      (gl::Program::getActiveUniformMaxLength):
      (gl::Program::validateSamplers):
      (gl::Program::initializeConstantHandles):
      (gl::Program::getDxCoordLocation):
      * src/libGLESv2/Program.h:
      * src/libGLESv2/Renderbuffer.cpp:
      (gl::RenderbufferInterface::RenderbufferInterface):
      (gl::RenderbufferInterface::getRedSize):
      (gl::RenderbufferInterface::getGreenSize):
      (gl::RenderbufferInterface::getBlueSize):
      (gl::RenderbufferInterface::getAlphaSize):
      (gl::RenderbufferInterface::getDepthSize):
      (gl::RenderbufferInterface::getStencilSize):
      (gl::RenderbufferTexture::RenderbufferTexture):
      (gl::RenderbufferTexture::~RenderbufferTexture):
      (gl::RenderbufferTexture::getRenderTarget):
      (gl::RenderbufferTexture::getDepthStencil):
      (gl::RenderbufferTexture::getWidth):
      (gl::RenderbufferTexture::getHeight):
      (gl::RenderbufferTexture::getInternalFormat):
      (gl::RenderbufferTexture::getD3DFormat):
      (gl::RenderbufferTexture::getSamples):
      (gl::RenderbufferTexture::getSerial):
      (gl::Renderbuffer::Renderbuffer):
      (gl::Renderbuffer::~Renderbuffer):
      (gl::Renderbuffer::getRenderTarget):
      (gl::Renderbuffer::getDepthStencil):
      (gl::Renderbuffer::getWidth):
      (gl::Renderbuffer::getHeight):
      (gl::Renderbuffer::getInternalFormat):
      (gl::Renderbuffer::getD3DFormat):
      (gl::Renderbuffer::getRedSize):
      (gl::Renderbuffer::getGreenSize):
      (gl::Renderbuffer::getBlueSize):
      (gl::Renderbuffer::getAlphaSize):
      (gl::Renderbuffer::getDepthSize):
      (gl::Renderbuffer::getStencilSize):
      (gl::Renderbuffer::getSamples):
      (gl::Renderbuffer::getSerial):
      (gl::Renderbuffer::setStorage):
      (gl::RenderbufferStorage::getD3DFormat):
      (gl::RenderbufferStorage::issueCubeSerials):
      (gl::Colorbuffer::Colorbuffer):
      (gl::Colorbuffer::getRenderTarget):
      (gl::Depthbuffer::Depthbuffer):
      (gl::Stencilbuffer::Stencilbuffer):
      * src/libGLESv2/Renderbuffer.h:
      (gl::RenderbufferInterface::~RenderbufferInterface):
      * src/libGLESv2/Shader.cpp:
      (gl::Shader::getTranslatedSourceLength):
      (gl::Shader::getSourceImpl):
      (gl::Shader::getSource):
      (gl::Shader::getTranslatedSource):
      * src/libGLESv2/Shader.h:
      * src/libGLESv2/Texture.cpp:
      (gl::ConvertTextureFormatType):
      (gl::IsTextureFormatRenderable):
      (gl::Image::Image):
      (gl::Image::~Image):
      (gl::Image::redefine):
      (gl::Image::createSurface):
      (gl::Image::lock):
      (gl::Image::unlock):
      (gl::Image::isRenderableFormat):
      (gl::Image::getD3DFormat):
      (gl::Image::getSurface):
      (gl::Image::setManagedSurface):
      (gl::Image::updateSurface):
      (gl::Image::loadData):
      (gl::Image::loadAlphaData):
      (gl::Image::loadAlphaFloatData):
      (gl::Image::loadAlphaHalfFloatData):
      (gl::Image::loadLuminanceData):
      (gl::Image::loadLuminanceFloatData):
      (gl::Image::loadLuminanceHalfFloatData):
      (gl::Image::loadLuminanceAlphaData):
      (gl::Image::loadLuminanceAlphaFloatData):
      (gl::Image::loadLuminanceAlphaHalfFloatData):
      (gl::Image::loadRGBUByteData):
      (gl::Image::loadRGB565Data):
      (gl::Image::loadRGBFloatData):
      (gl::Image::loadRGBHalfFloatData):
      (gl::Image::loadRGBAUByteDataSSE2):
      (gl::Image::loadRGBAUByteData):
      (gl::Image::loadRGBA4444Data):
      (gl::Image::loadRGBA5551Data):
      (gl::Image::loadRGBAFloatData):
      (gl::Image::loadRGBAHalfFloatData):
      (gl::Image::loadBGRAData):
      (gl::Image::loadCompressedData):
      (gl::FlipCopyDXT1BlockFull):
      (gl::FlipCopyDXT1BlockHalf):
      (gl::FlipCopyDXT3BlockFull):
      (gl::FlipCopyDXT3BlockHalf):
      (gl::FlipCopyDXT5BlockFull):
      (gl::FlipCopyDXT5BlockHalf):
      (gl::Image::loadDXT1Data):
      (gl::Image::loadDXT3Data):
      (gl::Image::loadDXT5Data):
      (gl::Image::copy):
      (gl::TextureStorage::TextureStorage):
      (gl::TextureStorage::~TextureStorage):
      (gl::TextureStorage::isRenderTarget):
      (gl::TextureStorage::isManaged):
      (gl::TextureStorage::getPool):
      (gl::TextureStorage::getTextureSerial):
      (gl::TextureStorage::issueTextureSerial):
      (gl::Texture::Texture):
      (gl::Texture::~Texture):
      (gl::Texture::setMinFilter):
      (gl::Texture::setMagFilter):
      (gl::Texture::setWrapS):
      (gl::Texture::setWrapT):
      (gl::Texture::setUsage):
      (gl::Texture::getMinFilter):
      (gl::Texture::getMagFilter):
      (gl::Texture::getWrapS):
      (gl::Texture::getWrapT):
      (gl::Texture::getUsage):
      (gl::Texture::setImage):
      (gl::Texture::setCompressedImage):
      (gl::Texture::subImage):
      (gl::Texture::subImageCompressed):
      (gl::Texture::getTexture):
      (gl::Texture::hasDirtyParameters):
      (gl::Texture::hasDirtyImages):
      (gl::Texture::resetDirty):
      (gl::Texture::getTextureSerial):
      (gl::Texture::getRenderTargetSerial):
      (gl::Texture::isImmutable):
      (gl::Texture::creationLevels):
      (gl::Texture::getBlitter):
      (gl::Texture::copyToRenderTarget):
      (gl::TextureStorage2D::TextureStorage2D):
      (gl::TextureStorage2D::~TextureStorage2D):
      (gl::TextureStorage2D::getSurfaceLevel):
      (gl::TextureStorage2D::getBaseTexture):
      (gl::TextureStorage2D::getRenderTargetSerial):
      (gl::Texture2D::Texture2D):
      (gl::Texture2D::~Texture2D):
      (gl::Texture2D::getWidth):
      (gl::Texture2D::getHeight):
      (gl::Texture2D::getInternalFormat):
      (gl::Texture2D::getType):
      (gl::Texture2D::redefineImage):
      (gl::Texture2D::setImage):
      (gl::Texture2D::bindTexImage):
      (gl::Texture2D::releaseTexImage):
      (gl::Texture2D::setCompressedImage):
      (gl::Texture2D::commitRect):
      (gl::Texture2D::copyImage):
      (gl::Texture2D::copySubImage):
      (gl::Texture2D::storage):
      (gl::Texture2D::isSamplerComplete):
      (gl::Texture2D::isMipmapComplete):
      (gl::Texture2D::getBaseTexture):
      (gl::Texture2D::createTexture):
      (gl::Texture2D::updateTexture):
      (gl::Texture2D::convertToRenderTarget):
      (gl::Texture2D::generateMipmaps):
      (gl::Texture2D::getRenderbuffer):
      (gl::Texture2D::getRenderTarget):
      (gl::Texture2D::getStorage):
      (gl::TextureStorageCubeMap::TextureStorageCubeMap):
      (gl::TextureStorageCubeMap::~TextureStorageCubeMap):
      (gl::TextureStorageCubeMap::getCubeMapSurface):
      (gl::TextureStorageCubeMap::getBaseTexture):
      (gl::TextureStorageCubeMap::getRenderTargetSerial):
      (gl::TextureCubeMap::TextureCubeMap):
      (gl::TextureCubeMap::~TextureCubeMap):
      (gl::TextureCubeMap::getWidth):
      (gl::TextureCubeMap::getHeight):
      (gl::TextureCubeMap::getInternalFormat):
      (gl::TextureCubeMap::getType):
      (gl::TextureCubeMap::setCompressedImage):
      (gl::TextureCubeMap::commitRect):
      (gl::TextureCubeMap::subImage):
      (gl::TextureCubeMap::subImageCompressed):
      (gl::TextureCubeMap::isSamplerComplete):
      (gl::TextureCubeMap::isCubeComplete):
      (gl::TextureCubeMap::isMipmapCubeComplete):
      (gl::TextureCubeMap::getBaseTexture):
      (gl::TextureCubeMap::createTexture):
      (gl::TextureCubeMap::updateTexture):
      (gl::TextureCubeMap::convertToRenderTarget):
      (gl::TextureCubeMap::setImage):
      (gl::TextureCubeMap::redefineImage):
      (gl::TextureCubeMap::copyImage):
      (gl::TextureCubeMap::copySubImage):
      (gl::TextureCubeMap::storage):
      (gl::TextureCubeMap::generateMipmaps):
      (gl::TextureCubeMap::getRenderbuffer):
      (gl::TextureCubeMap::getRenderTarget):
      (gl::TextureCubeMap::getStorage):
      * src/libGLESv2/Texture.h:
      (gl::Image::markDirty):
      (gl::Image::markClean):
      (gl::Image::getWidth):
      (gl::Image::getHeight):
      (gl::Image::getFormat):
      (gl::Image::getType):
      (gl::Image::isDirty):
      * src/libGLESv2/VertexDataManager.cpp:
      (gl::elementsInBuffer):
      (gl::VertexDataManager::VertexDataManager):
      (gl::VertexDataManager::writeAttributeData):
      (gl::VertexDataManager::prepareVertexData):
      (gl::VertexBuffer::VertexBuffer):
      (gl::VertexBuffer::getSerial):
      (gl::VertexBuffer::issueSerial):
      (gl::StreamingVertexBuffer::reserveRequiredSpace):
      (gl::StaticVertexBuffer::map):
      (gl::StaticVertexBuffer::reserveRequiredSpace):
      (gl::StaticVertexBuffer::lookupAttribute):
      * src/libGLESv2/VertexDataManager.h:
      (gl::ArrayVertexBuffer::size):
      * src/libGLESv2/geometry/IndexDataManager.cpp: Removed.
      * src/libGLESv2/geometry/IndexDataManager.h: Removed.
      * src/libGLESv2/geometry/VertexDataManager.cpp: Removed.
      * src/libGLESv2/geometry/VertexDataManager.h: Removed.
      * src/libGLESv2/geometry/vertexconversion.h: Removed.
      * src/libGLESv2/libGLESv2.cpp:
      (validateSubImageParams):
      (validReadFormatType):
      (Extension::glBindTexImage):
      * src/libGLESv2/libGLESv2.def:
      * src/libGLESv2/libGLESv2.rc:
      * src/libGLESv2/libGLESv2.vcproj:
      * src/libGLESv2/main.cpp:
      (gl::getNonLostContext):
      (gl::checkDeviceLost):
      * src/libGLESv2/main.h:
      * src/libGLESv2/utilities.cpp:
      (gl::UniformExternalComponentCount):
      (gl::UniformInternalComponentCount):
      (gl::UniformComponentSize):
      (gl::UniformInternalSize):
      (gl::UniformExternalSize):
      (gl::ComputeCompressedSize):
      (gl::IsCompressed):
      (gl::ExtractFormat):
      (gl::ExtractType):
      (dx2es::IsFloat32Format):
      (dx2es::IsFloat16Format):
      * src/libGLESv2/utilities.h:
      (isDeviceLostError):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104363 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      128a99d8
    • caio.oliveira@openbossa.org's avatar
      Use HashMap<OwnPtr> in SVGAttributeToPropertyMap · 1b16c7c6
      caio.oliveira@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75734
      
      Reviewed by Daniel Bates.
      
      * svg/properties/SVGAttributeToPropertyMap.cpp:
      (WebCore::SVGAttributeToPropertyMap::addProperties):
      (WebCore::SVGAttributeToPropertyMap::addProperty): use HashMap::add() to avoid an
      extra hash lookup to set a new PropertiesVector.
      (WebCore::SVGAttributeToPropertyMap::synchronizeProperties):
      * svg/properties/SVGAttributeToPropertyMap.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b16c7c6
    • dslomov@google.com's avatar
      Unreviewed: more rebaselines in chromium after r104240. · 255ff1bf
      dslomov@google.com authored
      * platform/chromium-cg-mac-leopard/fast/css/input-search-padding-expected.png: Removed.
      * platform/chromium-cg-mac-leopard/fast/events/context-no-deselect-expected.png: Removed.
      * platform/chromium-cg-mac-leopard/fast/forms/input-appearance-disabled-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-appearance-focus-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-appearance-height-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-appearance-preventDefault-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-appearance-readonly-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-appearance-selection-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-double-click-selection-gap-bug-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-readonly-autoscroll-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-text-click-inside-expected.png: Added.
      * platform/chromium-cg-mac-leopard/fast/forms/input-text-scroll-left-on-blur-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-text-word-wrap-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug12384-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/forms/textfield-overflow-expected.png.
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug18359-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug24200-expected.png: Added.
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug28928-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug4382-expected.png: Added.
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug4527-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug46368-1-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug46368-2-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug51037-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug55545-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/forms/number/input-appearance-spinbutton-layer-expected.png.
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug59354-expected.png: Added.
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug7342-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug96334-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug99948-expected.png: Added.
      * platform/chromium-cg-mac-leopard/tables/mozilla_expected_failures/bugs/bug92647-1-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-appearance-disabled-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-appearance-focus-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-appearance-height-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-appearance-preventDefault-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-appearance-readonly-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-appearance-selection-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-double-click-selection-gap-bug-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-readonly-autoscroll-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-text-click-inside-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-text-scroll-left-on-blur-expected.png:
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-text-word-wrap-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-width-expected.png: Removed.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug12384-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac-leopard/fast/forms/textfield-overflow-expected.png.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug18359-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug28928-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug4382-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug4527-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug46368-1-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug46368-2-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug51037-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug55545-expected.png: Copied from LayoutTests/platform/chromium-mac-leopard/fast/forms/number/input-appearance-spinbutton-layer-expected.png.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug59354-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug7342-expected.png:
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug96334-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug99948-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug92647-1-expected.png: Added.
      * platform/chromium-cg-mac/editing/selection/3690703-2-expected.png: Removed.
      * platform/chromium-cg-mac/editing/selection/3690703-expected.png: Removed.
      * platform/chromium-cg-mac/editing/selection/3690719-expected.png: Removed.
      * platform/chromium-cg-mac/editing/selection/4975120-expected.png: Removed.
      * platform/chromium-cg-mac/fast/block/margin-collapse/103-expected.png: Removed.
      * platform/chromium-cg-mac/fast/dom/isindex-001-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/input-appearance-bkcolor-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/input-appearance-focus-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/input-appearance-height-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/input-appearance-readonly-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/input-double-click-selection-gap-bug-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/minWidthPercent-expected.png: Removed.
      * platform/chromium-linux-x86/tables/mozilla/bugs/bug4527-expected.png: Added.
      * platform/chromium-linux/tables/mozilla/bugs/bug4527-expected.png:
      * platform/chromium-mac-leopard/editing/inserting/before-after-input-element-expected.png:
      * platform/chromium-mac-leopard/editing/pasteboard/4806874-expected.png:
      * platform/chromium-mac-leopard/editing/pasteboard/drop-text-without-selection-expected.png:
      * platform/chromium-mac-leopard/editing/pasteboard/input-field-1-expected.png:
      * platform/chromium-mac-leopard/editing/selection/3690703-2-expected.png:
      * platform/chromium-mac-leopard/editing/selection/3690703-expected.png:
      * platform/chromium-mac-leopard/editing/selection/3690719-expected.png:
      * platform/chromium-mac-leopard/editing/selection/4895428-3-expected.png:
      * platform/chromium-mac-leopard/editing/selection/4975120-expected.png:
      * platform/chromium-mac-leopard/editing/selection/drag-select-1-expected.png:
      * platform/chromium-mac-leopard/editing/selection/select-across-readonly-input-1-expected.png:
      * platform/chromium-mac-leopard/editing/selection/select-across-readonly-input-2-expected.png:
      * platform/chromium-mac-leopard/editing/selection/select-across-readonly-input-3-expected.png:
      * platform/chromium-mac-leopard/editing/selection/select-across-readonly-input-4-expected.png:
      * platform/chromium-mac-leopard/editing/selection/select-across-readonly-input-5-expected.png:
      * platform/chromium-mac-leopard/fast/block/margin-collapse/103-expected.png:
      * platform/chromium-mac-leopard/fast/css/input-search-padding-expected.png:
      * platform/chromium-mac-leopard/fast/css/line-height-expected.png:
      * platform/chromium-mac-leopard/fast/dom/isindex-001-expected.png:
      * platform/chromium-mac-leopard/fast/dom/isindex-002-expected.png:
      * platform/chromium-mac-leopard/fast/events/autoscroll-expected.png:
      * platform/chromium-mac-leopard/fast/events/context-no-deselect-expected.png:
      * platform/chromium-mac-leopard/fast/forms/basic-inputs-expected.png:
      * platform/chromium-mac-leopard/fast/forms/encoding-test-expected.png:
      * platform/chromium-mac-leopard/fast/forms/fieldset-align-expected.png:
      * platform/chromium-mac-leopard/fast/forms/floating-textfield-relayout-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-bkcolor-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-default-bkcolor-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-disabled-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-focus-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-height-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-preventDefault-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-readonly-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-selection-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-visibility-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-width-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-baseline-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-double-click-selection-gap-bug-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-field-text-truncated-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-placeholder-visibility-1-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-placeholder-visibility-3-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-readonly-autoscroll-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-readonly-dimmed-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-readonly-empty-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-spaces-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-table-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-text-click-inside-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-text-click-outside-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-text-self-emptying-click-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-text-word-wrap-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-type-text-min-width-expected.png:
      * platform/chromium-mac-leopard/fast/forms/minWidthPercent-expected.png:
      * platform/chromium-mac-leopard/fast/forms/number/input-appearance-number-rtl-expected.png:
      * platform/chromium-mac-leopard/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png:
      * platform/chromium-mac-leopard/fast/forms/number/input-appearance-spinbutton-layer-expected.png:
      * platform/chromium-mac-leopard/fast/forms/placeholder-position-expected.png:
      * platform/chromium-mac-leopard/fast/forms/placeholder-pseudo-style-expected.png:
      * platform/chromium-mac-leopard/fast/forms/plaintext-mode-2-expected.png:
      * platform/chromium-mac-leopard/fast/forms/text-style-color-expected.png:
      * platform/chromium-mac-leopard/fast/forms/textfield-focus-ring-expected.png:
      * platform/chromium-mac-leopard/fast/forms/validation-message-appearance-expected.png:
      * platform/chromium-mac-leopard/fast/forms/visual-hebrew-text-field-expected.png:
      * platform/chromium-mac-leopard/fast/frames/take-focus-from-iframe-expected.png:
      * platform/chromium-mac-leopard/fast/html/details-no-summary4-expected.png:
      * platform/chromium-mac-leopard/fast/html/details-open-javascript-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug12384-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug18359-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug24200-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug28928-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug4382-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug4527-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug46368-1-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug46368-2-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug51037-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug55545-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/forms/number/input-appearance-spinbutton-layer-expected.png.
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug59354-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug7342-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug96334-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug99948-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla_expected_failures/bugs/bug92647-1-expected.png:
      * platform/chromium-mac-snowleopard/editing/inserting/before-after-input-element-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/pasteboard/4806874-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/pasteboard/drop-text-without-selection-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/pasteboard/input-field-1-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/3690703-2-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/3690703-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/3690719-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/4895428-3-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/4975120-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/drag-select-1-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-1-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-2-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-3-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-4-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-5-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/block/margin-collapse/103-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/input-search-padding-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/line-height-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/dom/isindex-001-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/dom/isindex-002-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/events/autoscroll-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/events/context-no-deselect-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/forms/minWidthPercent-expected.png.
      * platform/chromium-mac-snowleopard/fast/forms/basic-inputs-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/encoding-test-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/fieldset-align-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/floating-textfield-relayout-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-bkcolor-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-default-bkcolor-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-disabled-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-focus-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-height-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-preventDefault-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-readonly-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-selection-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-visibility-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-width-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-baseline-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-double-click-selection-gap-bug-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-field-text-truncated-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-placeholder-visibility-1-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/input-placeholder-visibility-3-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/input-readonly-autoscroll-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-readonly-dimmed-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-readonly-empty-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-spaces-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-table-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-text-click-inside-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-text-click-outside-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-text-self-emptying-click-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-text-word-wrap-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-type-text-min-width-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/number/input-appearance-number-rtl-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/number/input-appearance-spinbutton-layer-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac-snowleopard/fast/forms/minWidthPercent-expected.png.
      * platform/chromium-mac-snowleopard/fast/forms/placeholder-position-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/placeholder-pseudo-style-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/plaintext-mode-2-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/text-style-color-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/textfield-focus-ring-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/textfield-overflow-expected.png: Copied from LayoutTests/platform/chromium-mac-leopard/tables/mozilla/bugs/bug12384-expected.png.
      * platform/chromium-mac-snowleopard/fast/forms/validation-message-appearance-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/visual-hebrew-text-field-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/forms/visual-hebrew-text-field-expected.png.
      * platform/chromium-mac-snowleopard/fast/frames/take-focus-from-iframe-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/html/details-no-summary4-expected.png: Copied from LayoutTests/platform/chromium-mac-leopard/fast/forms/minWidthPercent-expected.png.
      * platform/chromium-mac-snowleopard/fast/html/details-open-javascript-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug12384-expected.png: Renamed from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug12384-expected.png.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug18359-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug28928-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug4382-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug4527-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug46368-1-expected.png: Renamed from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug46368-1-expected.png.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug46368-2-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug51037-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug55545-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-no-summary4-expected.png.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug59354-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug7342-expected.png:
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug96334-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug99948-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug92647-1-expected.png: Added.
      * platform/chromium-mac/editing/inserting/before-after-input-element-expected.png: Removed.
      * platform/chromium-mac/editing/pasteboard/4806874-expected.png: Removed.
      * platform/chromium-mac/editing/pasteboard/drop-text-without-selection-expected.png: Removed.
      * platform/chromium-mac/editing/pasteboard/input-field-1-expected.png: Removed.
      * platform/chromium-mac/editing/selection/3690703-2-expected.png: Removed.
      * platform/chromium-mac/editing/selection/3690703-expected.png: Removed.
      * platform/chromium-mac/editing/selection/3690719-expected.png: Removed.
      * platform/chromium-mac/editing/selection/4895428-3-expected.png: Removed.
      * platform/chromium-mac/editing/selection/4975120-expected.png: Removed.
      * platform/chromium-mac/editing/selection/drag-select-1-expected.png: Removed.
      * platform/chromium-mac/editing/selection/select-across-readonly-input-1-expected.png: Removed.
      * platform/chromium-mac/editing/selection/select-across-readonly-input-2-expected.png: Removed.
      * platform/chromium-mac/editing/selection/select-across-readonly-input-3-expected.png: Removed.
      * platform/chromium-mac/editing/selection/select-across-readonly-input-4-expected.png: Removed.
      * platform/chromium-mac/editing/selection/select-across-readonly-input-5-expected.png: Removed.
      * platform/chromium-mac/fast/block/margin-collapse/103-expected.png: Removed.
      * platform/chromium-mac/fast/css/input-search-padding-expected.png: Removed.
      * platform/chromium-mac/fast/css/line-height-expected.png: Removed.
      * platform/chromium-mac/fast/dom/isindex-001-expected.png: Removed.
      * platform/chromium-mac/fast/dom/isindex-002-expected.png: Removed.
      * platform/chromium-mac/fast/events/autoscroll-expected.png: Removed.
      * platform/chromium-mac/fast/events/context-no-deselect-expected.png: Removed.
      * platform/chromium-mac/fast/forms/encoding-test-expected.png: Removed.
      * platform/chromium-mac/fast/forms/fieldset-align-expected.png: Removed.
      * platform/chromium-mac/fast/forms/floating-textfield-relayout-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-bkcolor-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-default-bkcolor-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-focus-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-height-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-height-expected.txt: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-preventDefault-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-readonly-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-selection-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-visibility-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-width-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-baseline-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-double-click-selection-gap-bug-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-field-text-truncated-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-readonly-autoscroll-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-readonly-dimmed-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-readonly-empty-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-spaces-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-table-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-text-click-inside-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-text-click-outside-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-text-self-emptying-click-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-text-word-wrap-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-type-text-min-width-expected.png: Removed.
      * platform/chromium-mac/fast/forms/number/input-appearance-number-rtl-expected.png: Removed.
      * platform/chromium-mac/fast/forms/plaintext-mode-2-expected.png: Removed.
      * platform/chromium-mac/fast/forms/text-style-color-expected.png: Removed.
      * platform/chromium-mac/fast/forms/textfield-focus-ring-expected.png: Removed.
      * platform/chromium-mac/fast/frames/take-focus-from-iframe-expected.png: Removed.
      * platform/chromium-mac/fast/html/details-open-javascript-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug18359-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug28928-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug4382-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug46368-2-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug51037-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug59354-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug96334-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug99948-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug92647-1-expected.png: Removed.
      * platform/chromium-win/tables/mozilla/bugs/bug4527-expected.png:
      * platform/chromium/fast/block/float/032-expected.png: Added.
      * platform/chromium/fast/forms/input-appearance-height-expected.txt: Renamed from LayoutTests/platform/chromium-cg-mac/fast/forms/input-appearance-height-expected.txt.
      * platform/chromium/fast/forms/input-width-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac-leopard/fast/forms/input-width-expected.png.
      * platform/chromium/fast/forms/minWidthPercent-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac-leopard/fast/forms/minWidthPercent-expected.png.
      * platform/chromium/tables/mozilla/bugs/bug24200-expected.png: Added.
      * platform/chromium/test_expectations.txt:
      * platform/mac-snowleopard/fast/forms/basic-inputs-expected.txt: Removed.
      * platform/mac-snowleopard/fast/forms/fieldset-align-expected.txt: Removed.
      * platform/mac-snowleopard/fast/forms/input-appearance-height-expected.txt: Removed.
      * platform/mac-snowleopard/fast/forms/input-table-expected.txt: Removed.
      * platform/mac-snowleopard/fast/forms/placeholder-position-expected.txt: Removed.
      * platform/mac/editing/input/caret-at-the-edge-of-input-expected.txt: Renamed from LayoutTests/editing/input/caret-at-the-edge-of-input-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      255ff1bf
    • simon.fraser@apple.com's avatar
      Fix DRT build on case-sensitive file systems. · 9e96b9c7
      simon.fraser@apple.com authored
      Fix case of include of WebDynamicScrollBarsView.h
      
      * DumpRenderTree/mac/DumpRenderTree.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104360 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e96b9c7
    • commit-queue@webkit.org's avatar
      https://bugs.webkit.org/show_bug.cgi?id=75296 · 58bd5c51
      commit-queue@webkit.org authored
      JSString should not have JS_EXPORTCLASS annotation
      
      Patch by Hajime Morrita <morrita@chromium.org> on 2012-01-06
      Reviewed by Kevin Ollivier.
      
      * runtime/JSString.h: Removed JS_EXPORTCLASS annotation.
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      Added missing symbols which were hidden by JS_EXPORTCLASS.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58bd5c51
    • abarth@webkit.org's avatar
      Source/WebCore: WebCore implementation of the Intent object · be27cd7c
      abarth@webkit.org authored
      See http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview.html
      for draft spec.
      
      https://bugs.webkit.org/show_bug.cgi?id=73051
      
      Patch by Greg Billock <gbillock@google.com> on 2012-01-06
      Reviewed by Adam Barth.
      
      Test: web-intents/web-intents-api.html
      
      * WebCore.gypi:
      * page/DOMWindow.idl:
      * Modules/intents/Intent.cpp: Added.
      (WebCore::Intent::Intent):
      (WebCore::Intent::action):
      (WebCore::Intent::setAction):
      (WebCore::Intent::type):
      (WebCore::Intent::setType):
      (WebCore::Intent::data):
      (WebCore::Intent::setData):
      (WebCore::Intent::create):
      * Modules/intents/Intent.h: Added.
      * Modules/intents/Intent.idl: Added.
      
      Source/WebKit/chromium: [Web Intents] Flagged-off WebCore implementation of navigator.startActivity
      https://bugs.webkit.org/show_bug.cgi?id=73051
      
      Patch by Greg Billock <gbillock@google.com> on 2012-01-06
      Reviewed by Adam Barth.
      
      * features.gypi:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be27cd7c
    • timothy_horton@apple.com's avatar
      [cg] userSpaceOnUse SVG Patterns have the wrong origin · 359441bd
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75741
      <rdar://problem/9383222>
      
      Reviewed by Simon Fraser.
      
      The transformation from pattern space to user space should use the userToBase CTM,
      not the current CTM.
      
      Test: svg/custom/pattern-userSpaceOnUse-userToBaseTransform.xhtml
      
      * platform/graphics/cg/GraphicsContextCG.cpp:
      (WebCore::GraphicsContext::applyStrokePattern):
      (WebCore::GraphicsContext::applyFillPattern):
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/cg/TransformationMatrixCG.cpp:
      (WebCore::AffineTransform::AffineTransform): Add a AffineTransform(CGAffineTransform) constructor
      * platform/graphics/transforms/AffineTransform.h:
      
      Add a test that ensures that userSpaceOnUse patterns are rendered in the
      correct orientation and location in both the accelerated compositing and
      regular cases, as well as with SVG translation.
      
      * platform/mac/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.png: Added.
      * platform/mac/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt: Added.
      * svg/custom/pattern-userSpaceOnUse-userToBaseTransform.xhtml: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      359441bd
    • msaboff@apple.com's avatar
      JSArray::pop() should compare SparseArrayValueMap::find() to SparseArrayValueMap::notFound() · 7ecb1d83
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75757
      
      Reviewed by Gavin Barraclough.
      
      * runtime/JSArray.cpp:
      (JSC::JSArray::pop): Changed map->end() to map->notFound().
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ecb1d83
    • commit-queue@webkit.org's avatar
      [chromium] Rebaseline media/media-document-audio-repaint after 74123 goes in. · 56cae44a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75505
      
      Patch by Dale Curtis <dalecurtis@chromium.org> on 2012-01-06
      Reviewed by Dimitri Glazkov.
      
      * platform/chromium-cg-mac-leopard/media/media-document-audio-repaint-expected.png:
      * platform/chromium-cg-mac-snowleopard/media/media-document-audio-repaint-expected.png:
      * platform/chromium-gpu-cg-mac/media/media-document-audio-repaint-expected.png:
      * platform/chromium-gpu-win/media/media-document-audio-repaint-expected.png:
      * platform/chromium-linux/media/media-document-audio-repaint-expected.png:
      * platform/chromium-mac-leopard/media/media-document-audio-repaint-expected.png:
      * platform/chromium-mac-snowleopard/media/media-document-audio-repaint-expected.png:
      * platform/chromium-win/media/media-document-audio-repaint-expected.png:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56cae44a
    • commit-queue@webkit.org's avatar
      LayoutTests/platform/chromium/fast/events/intercept-postmessage.html failing · 2135975e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75718
      
      Patch by Charlie Reis <creis@chromium.org> on 2012-01-06
      Reviewed by Adam Barth.
      
      Removing unnecessary log messages.
      
      * platform/chromium/fast/events/intercept-postmessage-expected.txt:
      * platform/chromium/fast/events/intercept-postmessage.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104353 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2135975e
    • simon.fraser@apple.com's avatar
      Avoid falling into tiled layers more often when the device scale factor is > 1 · b6cf421a
      simon.fraser@apple.com authored
      <rdar://problem/10588725>
      
      Source/WebCore:
      
      Reviewed by John Sullivan.
      
      Stop taking the device scale factor into account when deciding to make
      tiled layers.
      
      Test: compositing/tiled-layers-hidpi.html
      
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::requiresTiledLayer):
      
      LayoutTests:
      
      Reviewed by John Sullivan.
      
      Tests that a large layer with a device scale factor of 2 is not tiled.
      
      * compositing/tiled-layers-hidpi-expected.txt: Added.
      * compositing/tiled-layers-hidpi.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6cf421a
    • simon.fraser@apple.com's avatar
      Pixel results from DumpRenderTree and WebKitTestRunner don't match because of colorspace issues · e87b8372
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75662
      
      Reviewed by Dan Bernstein.
      
      The pixel results generated by DumpRenderTree and WebKitTestRunner differed because
      of color profile issues. Fix by keeping everything in device RGB and ensuring that the
      test window uses the main display's color space, so that the pixel values in the bitmap
      that gets checksummed are identical to the CSS colors.
      
      Removed the code that switches the display profile in DRT, since that is no longer required.
      
      * DumpRenderTree/PixelDumpSupport.h: Remove unused function declarations.
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (crashHandler): Remove code that switches display profiles.
      (prepareConsistentTestingEnvironment): Ditto.
      (dumpRenderTree): Ditto.
      * DumpRenderTree/mac/PixelDumpSupportMac.mm: Ditto.
      (createBitmapContext): Use DeviceRGB for the bitmap colorspace.
      (createBitmapContextFromWebView): Add comment about the colorspace handling.
      * WebKitTestRunner/cg/TestInvocationCG.cpp:
      (WTR::createCGContextFromImage): Use a RetainPtr, add comment.
      (WTR::computeMD5HashStringForContext): Simplify the #ifdefs around the braces.
      * WebKitTestRunner/mac/PlatformWebViewMac.mm:
      (WTR::PlatformWebView::PlatformWebView): Set the window's colorspace to that of the main display.
      (WTR::PlatformWebView::windowSnapshotImage): Add comment about colorspaces.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e87b8372
    • rniwa@webkit.org's avatar
      Touch a bunch of files in an attempt to fix Mac release builds. · e0f6b2a6
      rniwa@webkit.org authored
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::get):
      * accessibility/AccessibilityAllInOne.cpp:
      * editing/visible_units.cpp:
      (WebCore::previousBoundary):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0f6b2a6
    • fpizlo@apple.com's avatar
      JIT stub slow paths that would be identical to that of an interpreter should be factored out · 8ee73bee
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75743
      <rdar://problem/10657024>
      
      Reviewed by Geoff Garen.
      
      * GNUmakefile.list.am:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/CommonSlowPaths.h: Added.
      (JSC::CommonSlowPaths::opInstanceOfSlow):
      (JSC::CommonSlowPaths::opIn):
      (JSC::CommonSlowPaths::opResolve):
      (JSC::CommonSlowPaths::opResolveSkip):
      (JSC::CommonSlowPaths::opResolveWithBase):
      (JSC::CommonSlowPaths::opResolveWithThis):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ee73bee
    • noam.rosenthal@nokia.com's avatar
      Enable a compositing trigger for filters · e7d126ca
      noam.rosenthal@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75658
      
      This will enable forcing the compositing code path when filters exist for a RenderObject.
      
      Reviewed by Simon Fraser.
      
      No new functionality so no new tests.
      
      * page/ChromeClient.h:
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::requiresCompositingLayer):
      (WebCore::RenderLayerCompositor::requiresCompositingForFilters):
      * rendering/RenderLayerCompositor.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7d126ca
    • abarth@webkit.org's avatar
      Rebaseline editing/input/caret-at-the-edge-of-input.html. · bc3238b8
      abarth@webkit.org authored
      * platform/chromium-mac-leopard/editing/input/caret-at-the-edge-of-input-expected.png:
      * platform/chromium-mac-snowleopard/editing/input/caret-at-the-edge-of-input-expected.png:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc3238b8
    • andersca@apple.com's avatar
      Add and use ScrollElasticityControllerClient::absoluteScrollPosition · 49c0f278
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75744
      
      Reviewed by Dan Bernstein.
      
      * platform/mac/ScrollAnimatorMac.h:
      * platform/mac/ScrollAnimatorMac.mm:
      (WebCore::ScrollAnimatorMac::absoluteScrollPosition):
      (WebCore::ScrollAnimatorMac::snapRubberBandTimerFired):
      * platform/mac/ScrollElasticityController.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      49c0f278
    • abarth@webkit.org's avatar
      Move FrameDestructionObserver to its own file · e45e18f7
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75693
      
      Reviewed by Eric Seidel.
      
      We should have one class per file, on general principles.  Also, this
      make it possible to use this class in DOMWindow without introducing a
      circular include dependency.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * page/Frame.cpp:
      * page/Frame.h:
      * page/FrameDestructionObserver.cpp: Added.
      (WebCore::FrameDestructionObserver::FrameDestructionObserver):
      (WebCore::FrameDestructionObserver::~FrameDestructionObserver):
      (WebCore::FrameDestructionObserver::frameDestroyed):
      * page/FrameDestructionObserver.h: Added.
      (WebCore::FrameDestructionObserver::frame):
      * plugins/DOMMimeType.h:
      * plugins/DOMPlugin.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e45e18f7
    • ddkilzer@apple.com's avatar
      run-api-tests: specify individual suites and tests on the command-line · 0d876f85
      ddkilzer@apple.com authored
      Reviewed by Adam Roben.
      
      Fixes: <http://webkit.org/b/75065> run-api-tests should be able to run individual suites and tests
      
      The run-api-tests script will now accept a list of arguments on
      the command-line that are used as prefix filters.  To run all
      tests in a suite that starts with "WTF" (WTF and WTF_Vector)
      use:
      
          $ run-api-tests WTF
      
      To run only the tests in the "WTF" suite, not the "WTF_Vector"
      suite, use:
      
          $ run-api-tests WTF.
      
      * Scripts/run-api-tests: Filter tests if any prefix arguments
      are passed on the command-line.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d876f85
    • ddkilzer@apple.com's avatar
      run-api-tests: change internal representation of tests to array of "SuiteName.TestName" strings · 4f0b6eb1
      ddkilzer@apple.com authored
      Reviewed by Adam Roben.
      
      Part of: <http://webkit.org/b/75065> run-api-tests should be able to run individual suites and tests
      
      * Scripts/run-api-tests:
      (dumpTestsBySuite): Update to accept array of tests instead of
      hash data structure.
      (runTestsBySuite): Ditto.
      (listAllTests): Rename from populateTests().  Update to return
      an array of tests instad of the hash data structure.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f0b6eb1
    • andersca@apple.com's avatar
      Fix Snow Leopard build. · 6bbd79ff
      andersca@apple.com authored
      * platform/mac/ScrollAnimatorMac.mm:
      (WebCore::ScrollAnimatorMac::immediateScrollBy):
      Move the function definition inside #if ENABLE(RUBBER_BANDING).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6bbd79ff
    • dpranke@chromium.org's avatar
      webkitpy: clean up test/uri conversion routines · d96c4bde
      dpranke@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75648
      
      Reviewed by Eric Seidel.
      
      This change moves test_to_uri and uri_to_test from the Port
      class to the Driver class (the routines were only being
      called by the drivers), and removes a bunch of stale and/or
      busted logic.
      
      * Scripts/webkitpy/layout_tests/port/base.py:
      * Scripts/webkitpy/layout_tests/port/base_unittest.py:
      * Scripts/webkitpy/layout_tests/port/chromium.py:
      * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
      * Scripts/webkitpy/layout_tests/port/driver.py:
      (is_http_test):
      (test_to_uri):
      (uri_to_test):
      * Scripts/webkitpy/layout_tests/port/mock_drt.py:
      (run_one_test):
      * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
      (MockDRTTest.input_line):
      (input_line):
      (expected_output):
      * Scripts/webkitpy/layout_tests/port/test.py:
      * Scripts/webkitpy/layout_tests/port/webkit.py:
      (_command_from_driver_input):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d96c4bde
    • weinig@apple.com's avatar
      Fix windows build. · 2c2bf5b4
      weinig@apple.com authored
      * wtf/TypeTraits.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c2bf5b4
    • msaboff@apple.com's avatar
      Default HashTraits for Opcode don't work for Opcode = 0 · 07174d85
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75595
      
      Reviewed by Oliver Hunt.
      
      Removed the populating of the m_opcodeIDTable table in the
      case where the OpcodeID and Opcode are the same (m_enabled is false).
      Instead we just cast the one type to the other.
      
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::initialize):
      (JSC::Interpreter::isOpcode):
      * interpreter/Interpreter.h:
      (JSC::Interpreter::getOpcodeID):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07174d85
    • dslomov@google.com's avatar
      Unreviewed: filed https://bugs.webkit.org/show_bug.cgi?id=75742 · cca140f1
      dslomov@google.com authored
      and updated chromium-mac expectations for fast/forms/input-disabled-color.html.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cca140f1
    • andersca@apple.com's avatar
      Make JavaScriptCore.framework a reference and put it in a Frameworks group · ae521922
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75740
      
      Reviewed by Mark Rowe.
      
      * gtest/xcode/gtest.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae521922
    • ap@apple.com's avatar
      [Mac] Thread verifier assertions when printing · ea18caae
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=75738
      
              Reviewed by Sam Weinig.
      
              * UIProcess/API/mac/WKPrintingView.mm:
              (-[WKPrintingView dealloc]): Dealloc in main thread, so that WebFrameProxy doesn't get
              deref'ed from a secondary one.
              (-[WKPrintingView _adjustPrintingMarginsForHeaderAndFooter]): This method calls out to client,
              which only expects that on main thread.
              (-[WKPrintingView knowsPageRange:]): Call _adjustPrintingMarginsForHeaderAndFooter on main
              thread.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104334 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea18caae
    • weinig@apple.com's avatar
      Add a DecayArray type trait as a first step towards merging OwnPtr and OwnArrayPtr · b87c01c8
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75737
      
      Reviewed by Anders Carlsson.
      
      * wtf/TypeTraits.cpp:
      * wtf/TypeTraits.h:
      Added a DecayArray trait, that can convert T[] and T[3] -> T*. DecayArray
      is composed of some helpers which are also exposed, Conditional<>, which
      can provide one type or another based on a boolean predicate, IsArray<>
      which can deduce array types, and RemoveExtent<>, which removes the extent
      from an array type. 
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b87c01c8
    • jonlee@apple.com's avatar
      Clicking on the cancel button on readonly and disabled search fields darkens... · a41f4b6b
      jonlee@apple.com authored
      Clicking on the cancel button on readonly and disabled search fields darkens as if the search field was editable
      https://bugs.webkit.org/show_bug.cgi?id=69886
      <rdar://problem/10070187>
      
      Reviewed by Adele Peterson.
      
      .:
      
      * ManualTests/search-cancel-button.html: Added.
      
      Source/WebCore:
      
      Tests: ManualTests/search-cancel-button.html
      
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::paintSearchFieldCancelButton): If the input is readonly and/or disabled, force the cell to
      render without highlight.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a41f4b6b
    • simon.fraser@apple.com's avatar
      Mitigate scrollbar differences when running pixel tests · d3ee8b30
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=67217
      
      Source/WebCore:
      
      Reviewed by Dan Bernstein.
      
      Export WebCore::Settings::mockScrollbarsEnabled() for DRT.
      
      * WebCore.exp.in:
      
      Source/WebKit/mac:
      
      Reviewed by Dan Bernstein.
      
      Make it possible to register a custom NSScroller class, which
      the WebDynamicScrollBarsView will use when mock scrollbars are enabled.
      
      Also ensure that the WebPreferences mock scrollbars preference is
      migrated into Settings.
      
      * WebView/WebDynamicScrollBarsView.h:
      * WebView/WebDynamicScrollBarsView.mm:
      (+[WebDynamicScrollBarsView _horizontalScrollerClass]):
      (+[WebDynamicScrollBarsView _verticalScrollerClass]):
      (+[WebDynamicScrollBarsView setCustomScrollerClass:]):
      * WebView/WebView.mm:
      (-[WebView _preferencesChanged:]):
      
      Tools:
      
      Reviewed by Dan Bernstein.
      
      Add an NSScroller subclass that draws mock scrollbars identically
      to the WebCore mock scrollbar theme, and register it with the
      WebDynamicScrollbarsView.
      
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (-[DRTMockScroller rectForPart:]):
      (-[DRTMockScroller drawKnob]):
      (-[DRTMockScroller drawRect:]):
      (registerMockScrollbars):
      (prepareConsistentTestingEnvironment):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104331 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3ee8b30
    • oliver@apple.com's avatar
      GetByteArrayLength is incorrect · 5b955fb4
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75735
      
      Reviewed by Filip Pizlo.
      
      Load the byte array length from the correct location.
      This stops an existing test from hanging.
      
      * 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@104330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b955fb4