- 06 Jan, 2012 40 commits
-
-
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
-
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
-
mrowe@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
weinig@apple.com authored
* wtf/TypeTraits.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
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
-
https://bugs.webkit.org/show_bug.cgi?id=75742dslomov@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
-
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
-
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
-
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
-
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
-
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
-
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
-
tsepez@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=73242 Reviewed by David Levin. Tests: http/tests/security/contentSecurityPolicy/shared-worker-connect-src-allowed.html http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html http/tests/security/contentSecurityPolicy/worker-connect-src-allowed.html http/tests/security/contentSecurityPolicy/worker-connect-src-blocked.html * page/ContentSecurityPolicy.h: (WebCore::ContentSecurityPolicy::policy): (WebCore::ContentSecurityPolicy::headerType): * workers/DedicatedWorkerContext.cpp: (WebCore::DedicatedWorkerContext::DedicatedWorkerContext): * workers/DedicatedWorkerContext.h: (WebCore::DedicatedWorkerContext::create): * workers/DedicatedWorkerThread.cpp: (WebCore::DedicatedWorkerThread::create): (WebCore::DedicatedWorkerThread::DedicatedWorkerThread): (WebCore::DedicatedWorkerThread::createWorkerContext): * workers/DedicatedWorkerThread.h: * workers/DefaultSharedWorkerRepository.cpp: (WebCore::SharedWorkerScriptLoader::notifyFinished): (WebCore::DefaultSharedWorkerRepository::workerScriptLoaded): * workers/DefaultSharedWorkerRepository.h: * workers/SharedWorkerContext.cpp: (WebCore::SharedWorkerContext::SharedWorkerContext): * workers/SharedWorkerContext.h: (WebCore::SharedWorkerContext::create): * workers/SharedWorkerThread.cpp: (WebCore::SharedWorkerThread::create): (WebCore::SharedWorkerThread::SharedWorkerThread): (WebCore::SharedWorkerThread::createWorkerContext): * workers/SharedWorkerThread.h: * workers/WorkerContext.cpp: (WebCore::WorkerContext::WorkerContext): * workers/WorkerContext.h: * workers/WorkerMessagingProxy.cpp: (WebCore::WorkerMessagingProxy::startWorkerContext): * workers/WorkerThread.cpp: (WebCore::WorkerThreadStartupData::create): (WebCore::WorkerThreadStartupData::WorkerThreadStartupData): (WebCore::WorkerThread::WorkerThread): (WebCore::WorkerThread::workerThread): * workers/WorkerThread.h: Source/WebKit/chromium: Pass Content-security-policy directive to worker threads. https://bugs.webkit.org/show_bug.cgi?id=73242 Reviewed by David Levin. * src/WebSharedWorkerImpl.cpp: (WebKit::WebSharedWorkerImpl::startWorkerContext): * src/WebWorkerClientImpl.cpp: (WebKit::WebWorkerClientImpl::startWorkerContext): LayoutTests: Pass Content-Security-Policy directives to worker threads. https://bugs.webkit.org/show_bug.cgi?id=73242 Reviewed by David Levin. * http/tests/security/contentSecurityPolicy/resources/shared-worker-make-xhr.js: Added. (onconnect): * http/tests/security/contentSecurityPolicy/resources/worker-make-xhr.js: Added. * http/tests/security/contentSecurityPolicy/shared-worker-connect-src-allowed-expected.txt: Added. * http/tests/security/contentSecurityPolicy/shared-worker-connect-src-allowed.html: Added. * http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked-expected.txt: Added. * http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html: Added. * http/tests/security/contentSecurityPolicy/worker-connect-src-allowed-expected.txt: Added. * http/tests/security/contentSecurityPolicy/worker-connect-src-allowed.html: Added. * http/tests/security/contentSecurityPolicy/worker-connect-src-blocked-expected.txt: Added. * http/tests/security/contentSecurityPolicy/worker-connect-src-blocked.html: Added. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mihnea@adobe.com authored
https://bugs.webkit.org/show_bug.cgi?id=73735 Reviewed by David Hyatt. Source/WebCore: Tests: fast/regions/svg-doc-fragment-not-collected-expected.html fast/regions/svg-doc-fragment-not-collected.html fast/regions/svg-element-not-collected-expected.html fast/regions/svg-element-not-collected.html fast/regions/svg-root-element-collected.html By allowing only svg root elements to be collected in a render flow thread, the svg render tree is properly constructed, thus prevented a possible further crash. * dom/NodeRenderingContext.cpp: (WebCore::NodeRenderingContext::moveToFlowThreadIfNeeded): LayoutTests: * fast/regions/resources/region-style.css: * fast/regions/svg-doc-fragment-not-collected-expected.html: Added. * fast/regions/svg-doc-fragment-not-collected.html: Added. * fast/regions/svg-element-not-collected-expected.html: Added. * fast/regions/svg-element-not-collected.html: Added. * fast/regions/svg-root-element-collected-expected.txt: Added. * fast/regions/svg-root-element-collected.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric.carlson@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=72555 Reviewed by Anders Carlsson. Source/WebCore: Test: media/track/track-cue-mutable.html * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::updateActiveTextTrackCues): Do nothing if the "ignore cue updates" flag is set (WebCore::HTMLMediaElement::textTrackAddCues): Block cue updates until all of the new cues have been added, then call updateActiveTextTrackCues so update the display if necessary. (WebCore::HTMLMediaElement::textTrackRemoveCues): Block cue updates until all of the new cues have been removed, then call updateActiveTextTrackCues so update the display if necessary. (WebCore::HTMLMediaElement::textTrackAddCue): Call updateActiveTextTrackCues so update the display if necessary. (WebCore::HTMLMediaElement::textTrackRemoveCue): Ditto. * html/HTMLMediaElement.h: (WebCore::HTMLMediaElement::ignoreTrackDisplayUpdateRequests): (WebCore::HTMLMediaElement::beginIgnoringTrackDisplayUpdateRequests): (WebCore::HTMLMediaElement::endIgnoringTrackDisplayUpdateRequests): * html/TextTrack.cpp: (WebCore::TextTrack::cueWillChange): New, remove the cue from the media element because its position in the interval tree is based on start and end times. (WebCore::TextTrack::cueDidChange): Add the cue to the media element. * html/TextTrack.h: * html/TextTrackCue.cpp: (WebCore::startKeyword): New, use a static String for the constant. (WebCore::middleKeyword): Ditto. (WebCore::endKeyword): Ditto. (WebCore::horizontalKeyword): Ditto. (WebCore::verticalKeyword): Ditto. (WebCore::verticallrKeyword): Ditto. (WebCore::TextTrackCue::cueWillChange): New, tell the track the cue is about to change. (WebCore::TextTrackCue::cueDidChange): New, tell the track the cue has changed. (WebCore::TextTrackCue::setId): New, attribute is mutable. (WebCore::TextTrackCue::setStartTime): Ditto. (WebCore::TextTrackCue::setEndTime): Ditto. (WebCore::TextTrackCue::setPauseOnExit): Ditto. (WebCore::TextTrackCue::direction): Ditto. (WebCore::TextTrackCue::setDirection): Ditto. (WebCore::TextTrackCue::setSnapToLines): Ditto. (WebCore::TextTrackCue::setLinePosition): Ditto. (WebCore::TextTrackCue::setTextPosition): Ditto. (WebCore::TextTrackCue::setSize): Ditto. (WebCore::TextTrackCue::alignment): Ditto. (WebCore::TextTrackCue::setAlignment): Ditto. (WebCore::TextTrackCue::parseSettings): Use the static strings. * html/TextTrackCue.h: (WebCore::TextTrackCue::id): (WebCore::TextTrackCue::startTime): (WebCore::TextTrackCue::endTime): (WebCore::TextTrackCue::pauseOnExit): * html/TextTrackCue.idl: LayoutTests: * media/track/track-cue-mutable-expected.txt: Added. * media/track/track-cue-mutable.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
fpizlo@apple.com authored
* JavaScriptCore.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-