1. 26 Feb, 2012 25 commits
    • commit-queue@webkit.org's avatar
      Update .gitignore for project property files generated by Eclipse. · 9367d6fa
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79463
      
      Patch by Chang Wan Hong <jourmoon@company100.net> on 2012-02-26
      Reviewed by Andreas Kling.
      
      * .gitignore: Ignore .project and .cproject
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9367d6fa
    • krit@webkit.org's avatar
      2012-02-26 Dirk Schulze <krit@webkit.org> · fab508ab
      krit@webkit.org authored
              Cleanup of Adobes copyright text. The text got harmonized with copyright texts of other companies. 
      
              Rubber stamped by Adam Barth.
      
              * css/CSSWrapShapes.cpp:
              * css/CSSWrapShapes.h:
              * css/WebKitCSSRegionRule.cpp:
              * css/WebKitCSSRegionRule.h:
              * css/WebKitCSSRegionRule.idl:
              * css/WebKitCSSShaderValue.cpp:
              * css/WebKitCSSShaderValue.h:
              * dom/WebKitNamedFlow.cpp:
              * dom/WebKitNamedFlow.h:
              * dom/WebKitNamedFlow.idl:
              * loader/cache/CachedShader.cpp:
              * loader/cache/CachedShader.h:
              * platform/graphics/filters/CustomFilterMesh.cpp:
              * platform/graphics/filters/CustomFilterMesh.h:
              * platform/graphics/filters/CustomFilterNumberParameter.h:
              * platform/graphics/filters/CustomFilterOperation.cpp:
              * platform/graphics/filters/CustomFilterOperation.h:
              * platform/graphics/filters/CustomFilterParameter.h:
              * platform/graphics/filters/CustomFilterProgram.cpp:
              * platform/graphics/filters/CustomFilterProgram.h:
              * platform/graphics/filters/CustomFilterProgramClient.h:
              * platform/graphics/filters/CustomFilterShader.cpp:
              * platform/graphics/filters/CustomFilterShader.h:
              * platform/graphics/filters/FECustomFilter.cpp:
              * platform/graphics/filters/FECustomFilter.h:
              * rendering/FilterEffectObserver.h:
              * rendering/RenderFlowThread.cpp:
              * rendering/RenderFlowThread.h:
              * rendering/RenderRegion.cpp:
              * rendering/RenderRegion.h:
              * rendering/style/StyleCachedShader.cpp:
              * rendering/style/StyleCachedShader.h:
              * rendering/style/StyleCustomFilterProgram.h:
              * rendering/style/StylePendingShader.h:
              * rendering/style/StyleShader.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108952 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fab508ab
    • commit-queue@webkit.org's avatar
      Use Functional instead of a MessageQueue for messages to the LayerTreeHostProxy · 5f6f10df
      commit-queue@webkit.org authored
      renderer.
      https://bugs.webkit.org/show_bug.cgi?id=79478
      
      This makes a lot of the broilerplate code for message-passing unnecessary, and
      results in a much more succinct implementation.
      
      Patch by Huang Dongsung <luxtella@company100.net> on 2012-02-26
      Reviewed by Noam Rosenthal.
      
      * UIProcess/LayerTreeHostProxy.h:
      (WebKit):
      (LayerTreeHostProxy):
      * UIProcess/qt/LayerTreeHostProxyQt.cpp:
      (WebKit):
      (WebKit::LayerTreeHostProxy::updateTile):
      (WebKit::LayerTreeHostProxy::createImage):
      (WebKit::LayerTreeHostProxy::syncRemoteContent):
      (WebKit::LayerTreeHostProxy::dispatchUpdate):
      (WebKit::LayerTreeHostProxy::createTileForLayer):
      (WebKit::LayerTreeHostProxy::updateTileForLayer):
      (WebKit::LayerTreeHostProxy::removeTileForLayer):
      (WebKit::LayerTreeHostProxy::deleteCompositingLayer):
      (WebKit::LayerTreeHostProxy::setRootCompositingLayer):
      (WebKit::LayerTreeHostProxy::syncCompositingLayerState):
      (WebKit::LayerTreeHostProxy::didRenderFrame):
      (WebKit::LayerTreeHostProxy::createDirectlyCompositedImage):
      (WebKit::LayerTreeHostProxy::destroyDirectlyCompositedImage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f6f10df
    • fpizlo@apple.com's avatar
      LayoutTests/fast/xpath/xpath-functional-test.html is crashing in the DFG · c69bd6f9
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79616
      
      Reviewed by Oliver Hunt.
              
      Guard against the fact that in JSVALUE64, JSValue().isCell() == true.
      
      * dfg/DFGAbstractValue.h:
      (JSC::DFG::AbstractValue::validate):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c69bd6f9
    • fpizlo@apple.com's avatar
      DFG should support activations and nested functions · c96de19d
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79554
      
      Reviewed by Sam Weinig.
              
      Fix 32-bit. The 32-bit function+activation code had some really weird
      register reuse bugs.
      
      * dfg/DFGSpeculativeJIT32_64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c96de19d
    • fpizlo@apple.com's avatar
      Unreviewed, update expectation files due to slight changes in the text · ad870559
      fpizlo@apple.com authored
      of exceptions.
      
      * sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1-expected.txt:
      * sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2-expected.txt:
      * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1-expected.txt:
      * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2-expected.txt:
      * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1-expected.txt:
      * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2-expected.txt:
      * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3-expected.txt:
      * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108948 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad870559
    • fpizlo@apple.com's avatar
      Build fix for SL. · b0c8dc0b
      fpizlo@apple.com authored
      * Platform/mac/RemoteLayerClient.mm:
      (WebKit::RemoteLayerClient::RemoteLayerClient):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0c8dc0b
    • weinig@apple.com's avatar
      Encapsulate uses of WKSI to setup a remote layer into a new RemoteLayerClient class · effb5e70
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79612
      
      Reviewed by Anders Carlsson.
      
      * Platform/mac/RemoteLayerClient.h:
      * Platform/mac/RemoteLayerClient.mm:
      (WebKit::RemoteLayerClient::create):
      (WebKit::RemoteLayerClient::RemoteLayerClient):
      (WebKit::RemoteLayerClient::~RemoteLayerClient):
      (WebKit::RemoteLayerClient::clientID):
      (WebKit::RemoteLayerClient::invalidate):
      New class that encapsulates calls to WKSI WKCARemoteLayerClient*. For platforms
      where the use of WKSI is not necessary, due to CARemoteLayerClient being available,
      stop using WKSI.
      
      * PluginProcess/PluginControllerProxy.cpp:
      * PluginProcess/PluginControllerProxy.h:
      * PluginProcess/mac/PluginControllerProxyMac.mm:
      (WebKit::PluginControllerProxy::platformInitialize):
      (WebKit::PluginControllerProxy::platformDestroy):
      (WebKit::PluginControllerProxy::remoteLayerClientID):
      (WebKit::PluginControllerProxy::platformGeometryDidChange):
      * WebKit2.xcodeproj/project.pbxproj:
      * WebProcess/FullScreen/mac/WebFullScreenManagerMac.h:
      * WebProcess/FullScreen/mac/WebFullScreenManagerMac.mm:
      (WebKit::WebFullScreenManagerMac::setRootFullScreenLayer):
      (WebKit::WebFullScreenManagerMac::disposeOfLayerClient):
      * WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.h:
      (LayerTreeHostCAMac):
      * WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm:
      (WebKit::LayerTreeHostCAMac::platformInitialize):
      (WebKit::LayerTreeHostCAMac::invalidate):
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
      (WebKit::TiledCoreAnimationDrawingArea::TiledCoreAnimationDrawingArea):
      Switch to using RemoteLayerClient.
      
      * UIProcess/mac/WebContextMac.mm:
      (WebKit::WebContext::platformInitializeWebProcess):
      * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
      (WebKit::PluginProcessProxy::platformInitializePluginProcess):
      Use CARemoteLayerServer directly if available.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108946 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      effb5e70
    • bashi@chromium.org's avatar
      [Chromium] Unreviewed test expectations update after r108892. · 37ac0062
      bashi@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108945 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37ac0062
    • bashi@chromium.org's avatar
      [Chromium] Unreviewed test expectations update after r108896 · 8360838a
      bashi@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8360838a
    • fpizlo@apple.com's avatar
      Getting the instruction stream for a code block should not require two loads · ebe232eb
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79608
      
      Reviewed by Sam Weinig.
              
      Introduced the RefCountedArray class, which contains a single inline pointer
      to a ref-counted non-resizeable vector backing store. This satisfies the
      requirements of CodeBlock, which desires the ability to share instruction
      streams with other CodeBlocks. It also reduces the number of loads required
      for getting the instruction stream by one.
              
      This patch also gets rid of the bytecode discarding logic, since we don't
      use it anymore and it's unlikely to ever work right with DFG or LLInt. And
      I didn't feel like porting dead code to use RefCountedArray.
      
      * GNUmakefile.list.am:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * bytecode/CodeBlock.cpp:
      (JSC::instructionOffsetForNth):
      (JSC::CodeBlock::dump):
      (JSC::CodeBlock::CodeBlock):
      (JSC::CodeBlock::finalizeUnconditionally):
      (JSC::CodeBlock::handlerForBytecodeOffset):
      (JSC::CodeBlock::lineNumberForBytecodeOffset):
      (JSC::CodeBlock::expressionRangeForBytecodeOffset):
      (JSC::CodeBlock::shrinkToFit):
      * bytecode/CodeBlock.h:
      (CodeBlock):
      (JSC::CodeBlock::numberOfInstructions):
      (JSC::CodeBlock::instructions):
      (JSC::CodeBlock::instructionCount):
      (JSC::CodeBlock::valueProfileForBytecodeOffset):
      (JSC):
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::Label::setLocation):
      (JSC):
      (JSC::BytecodeGenerator::generate):
      (JSC::BytecodeGenerator::newLabel):
      * bytecompiler/BytecodeGenerator.h:
      (JSC):
      (BytecodeGenerator):
      (JSC::BytecodeGenerator::instructions):
      * bytecompiler/Label.h:
      (JSC::Label::Label):
      (Label):
      * dfg/DFGByteCodeCache.h:
      (JSC::DFG::ByteCodeCache::~ByteCodeCache):
      (JSC::DFG::ByteCodeCache::get):
      * jit/JITExceptions.cpp:
      (JSC::genericThrow):
      * llint/LowLevelInterpreter32_64.asm:
      * runtime/Executable.cpp:
      (JSC::EvalExecutable::compileInternal):
      (JSC::ProgramExecutable::compileInternal):
      (JSC::FunctionExecutable::codeBlockWithBytecodeFor):
      (JSC::FunctionExecutable::produceCodeBlockFor):
      * wtf/RefCountedArray.h: Added.
      (WTF):
      (RefCountedArray):
      (WTF::RefCountedArray::RefCountedArray):
      (WTF::RefCountedArray::operator=):
      (WTF::RefCountedArray::~RefCountedArray):
      (WTF::RefCountedArray::size):
      (WTF::RefCountedArray::data):
      (WTF::RefCountedArray::begin):
      (WTF::RefCountedArray::end):
      (WTF::RefCountedArray::at):
      (WTF::RefCountedArray::operator[]):
      (Header):
      (WTF::RefCountedArray::Header::size):
      (WTF::RefCountedArray::Header::payload):
      (WTF::RefCountedArray::Header::fromPayload):
      * wtf/Platform.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebe232eb
    • haraken@chromium.org's avatar
      [Performance Tests] [Chromium] Bindings/dom-attributes.html is timing out · 43a93dc0
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79593
      
      Reviewed by Adam Barth.
      
      This patch halves the execution time of Bindings/dom-attributes.html
      in order to avoid timeout in Chromium. The reason for the timeout is that
      V8 DOM bindings are too much slower than JSC bindings.
      I am a bit afraid that this patch will reduce the accuracy of the
      perf test results, but it would make sense to reduce the execution time
      until we fix the performance issue in V8 DOM bindings.
      
      * Bindings/dom-attributes.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108942 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43a93dc0
    • jamesr@google.com's avatar
      Take 2 build fix. · 6d107a3a
      jamesr@google.com authored
      * tests/CCLayerTreeHostImplTest.cpp:
      (WebKit::TEST_F):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108941 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6d107a3a
    • noel.gordon@gmail.com's avatar
      [chromium] Update expectations for svg carto.net tests · ce10ba8b
      noel.gordon@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79423
      
      Unreviewed. Optimize svg/carto.net/scrollbar.svg and svg/carto.net/selectionlist.svg
      test baselines.
      
      
      * platform/chromium-mac-leopard/svg/carto.net/scrollbar-expected.txt: Removed.
      * platform/chromium-mac-leopard/svg/carto.net/selectionlist-expected.txt: Removed.
      * platform/chromium-win-xp/svg/carto.net/scrollbar-expected.txt: Removed.
      * platform/chromium-win-xp/svg/carto.net/selectionlist-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108940 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce10ba8b
    • jamesr@google.com's avatar
      Compile fix for CCLayerTreeHostImpl test. · 883d833c
      jamesr@google.com authored
      * tests/CCLayerTreeHostImplTest.cpp:
      (WebKit::TEST_F):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108939 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      883d833c
    • commit-queue@webkit.org's avatar
      [EFL] Implementation of GraphicsContext3D for EFL port · bd513e3d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79452
      
      Patch by Hyowon Kim <hw1008.kim@samsung.com> on 2012-02-26
      Reviewed by Noam Rosenthal.
      
      Evas_GL is used to do OpenGL rendering on Evas, in which
      a structure 'Evas_GL_API' contains all the OpenGL functions.
      
      GraphicsContext3D in EFL port should call OpenGL functions indirectly
      through the Evas_GL_API, and not use GraphicsContext3DOpenGL(Common).
      
      So, we use the GraphicsContext3DPrivate to delegate all OpenGL function calls,
      and it will be implemented to use Evas_GL (bug 62961).
      
      No new tests. No behavior change.
      
      * platform/graphics/efl/GraphicsContext3DEfl.cpp: Added.
      (WebCore):
      (WebCore::GraphicsContext3D::create):
      (WebCore::GraphicsContext3D::GraphicsContext3D):
      (WebCore::GraphicsContext3D::~GraphicsContext3D):
      (WebCore::GraphicsContext3D::platformGraphicsContext3D):
      (WebCore::GraphicsContext3D::platformLayer):
      (WebCore::GraphicsContext3D::makeContextCurrent):
      (WebCore::GraphicsContext3D::isGLES2Compliant):
      (WebCore::GraphicsContext3D::activeTexture):
      (WebCore::GraphicsContext3D::attachShader):
      (WebCore::GraphicsContext3D::bindAttribLocation):
      (WebCore::GraphicsContext3D::bindBuffer):
      (WebCore::GraphicsContext3D::bindFramebuffer):
      (WebCore::GraphicsContext3D::bindRenderbuffer):
      (WebCore::GraphicsContext3D::bindTexture):
      (WebCore::GraphicsContext3D::blendColor):
      (WebCore::GraphicsContext3D::blendEquation):
      (WebCore::GraphicsContext3D::blendEquationSeparate):
      (WebCore::GraphicsContext3D::blendFunc):
      (WebCore::GraphicsContext3D::blendFuncSeparate):
      (WebCore::GraphicsContext3D::bufferData):
      (WebCore::GraphicsContext3D::bufferSubData):
      (WebCore::GraphicsContext3D::checkFramebufferStatus):
      (WebCore::GraphicsContext3D::clear):
      (WebCore::GraphicsContext3D::clearColor):
      (WebCore::GraphicsContext3D::clearDepth):
      (WebCore::GraphicsContext3D::clearStencil):
      (WebCore::GraphicsContext3D::colorMask):
      (WebCore::GraphicsContext3D::compileShader):
      (WebCore::GraphicsContext3D::copyTexImage2D):
      (WebCore::GraphicsContext3D::copyTexSubImage2D):
      (WebCore::GraphicsContext3D::cullFace):
      (WebCore::GraphicsContext3D::depthFunc):
      (WebCore::GraphicsContext3D::depthMask):
      (WebCore::GraphicsContext3D::depthRange):
      (WebCore::GraphicsContext3D::detachShader):
      (WebCore::GraphicsContext3D::disable):
      (WebCore::GraphicsContext3D::disableVertexAttribArray):
      (WebCore::GraphicsContext3D::drawArrays):
      (WebCore::GraphicsContext3D::drawElements):
      (WebCore::GraphicsContext3D::enable):
      (WebCore::GraphicsContext3D::enableVertexAttribArray):
      (WebCore::GraphicsContext3D::finish):
      (WebCore::GraphicsContext3D::flush):
      (WebCore::GraphicsContext3D::framebufferRenderbuffer):
      (WebCore::GraphicsContext3D::framebufferTexture2D):
      (WebCore::GraphicsContext3D::frontFace):
      (WebCore::GraphicsContext3D::generateMipmap):
      (WebCore::GraphicsContext3D::getActiveAttrib):
      (WebCore::GraphicsContext3D::getActiveUniform):
      (WebCore::GraphicsContext3D::getAttachedShaders):
      (WebCore::GraphicsContext3D::getAttribLocation):
      (WebCore::GraphicsContext3D::getBooleanv):
      (WebCore::GraphicsContext3D::getBufferParameteriv):
      (WebCore::GraphicsContext3D::getContextAttributes):
      (WebCore::GraphicsContext3D::getError):
      (WebCore::GraphicsContext3D::getFloatv):
      (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
      (WebCore::GraphicsContext3D::getIntegerv):
      (WebCore::GraphicsContext3D::getProgramiv):
      (WebCore::GraphicsContext3D::getProgramInfoLog):
      (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
      (WebCore::GraphicsContext3D::getShaderiv):
      (WebCore::GraphicsContext3D::getShaderInfoLog):
      (WebCore::GraphicsContext3D::getShaderSource):
      (WebCore::GraphicsContext3D::getString):
      (WebCore::GraphicsContext3D::getTexParameterfv):
      (WebCore::GraphicsContext3D::getTexParameteriv):
      (WebCore::GraphicsContext3D::getUniformfv):
      (WebCore::GraphicsContext3D::getUniformiv):
      (WebCore::GraphicsContext3D::getUniformLocation):
      (WebCore::GraphicsContext3D::getVertexAttribfv):
      (WebCore::GraphicsContext3D::getVertexAttribiv):
      (WebCore::GraphicsContext3D::getVertexAttribOffset):
      (WebCore::GraphicsContext3D::hint):
      (WebCore::GraphicsContext3D::isBuffer):
      (WebCore::GraphicsContext3D::isEnabled):
      (WebCore::GraphicsContext3D::isFramebuffer):
      (WebCore::GraphicsContext3D::isProgram):
      (WebCore::GraphicsContext3D::isRenderbuffer):
      (WebCore::GraphicsContext3D::isShader):
      (WebCore::GraphicsContext3D::isTexture):
      (WebCore::GraphicsContext3D::lineWidth):
      (WebCore::GraphicsContext3D::linkProgram):
      (WebCore::GraphicsContext3D::pixelStorei):
      (WebCore::GraphicsContext3D::polygonOffset):
      (WebCore::GraphicsContext3D::readPixels):
      (WebCore::GraphicsContext3D::releaseShaderCompiler):
      (WebCore::GraphicsContext3D::renderbufferStorage):
      (WebCore::GraphicsContext3D::sampleCoverage):
      (WebCore::GraphicsContext3D::scissor):
      (WebCore::GraphicsContext3D::shaderSource):
      (WebCore::GraphicsContext3D::stencilFunc):
      (WebCore::GraphicsContext3D::stencilFuncSeparate):
      (WebCore::GraphicsContext3D::stencilMask):
      (WebCore::GraphicsContext3D::stencilMaskSeparate):
      (WebCore::GraphicsContext3D::stencilOp):
      (WebCore::GraphicsContext3D::stencilOpSeparate):
      (WebCore::GraphicsContext3D::texImage2D):
      (WebCore::GraphicsContext3D::texParameterf):
      (WebCore::GraphicsContext3D::texParameteri):
      (WebCore::GraphicsContext3D::texSubImage2D):
      (WebCore::GraphicsContext3D::uniform1f):
      (WebCore::GraphicsContext3D::uniform1fv):
      (WebCore::GraphicsContext3D::uniform1i):
      (WebCore::GraphicsContext3D::uniform1iv):
      (WebCore::GraphicsContext3D::uniform2f):
      (WebCore::GraphicsContext3D::uniform2fv):
      (WebCore::GraphicsContext3D::uniform2i):
      (WebCore::GraphicsContext3D::uniform2iv):
      (WebCore::GraphicsContext3D::uniform3f):
      (WebCore::GraphicsContext3D::uniform3fv):
      (WebCore::GraphicsContext3D::uniform3i):
      (WebCore::GraphicsContext3D::uniform3iv):
      (WebCore::GraphicsContext3D::uniform4f):
      (WebCore::GraphicsContext3D::uniform4fv):
      (WebCore::GraphicsContext3D::uniform4i):
      (WebCore::GraphicsContext3D::uniform4iv):
      (WebCore::GraphicsContext3D::uniformMatrix2fv):
      (WebCore::GraphicsContext3D::uniformMatrix3fv):
      (WebCore::GraphicsContext3D::uniformMatrix4fv):
      (WebCore::GraphicsContext3D::useProgram):
      (WebCore::GraphicsContext3D::validateProgram):
      (WebCore::GraphicsContext3D::vertexAttrib1f):
      (WebCore::GraphicsContext3D::vertexAttrib1fv):
      (WebCore::GraphicsContext3D::vertexAttrib2f):
      (WebCore::GraphicsContext3D::vertexAttrib2fv):
      (WebCore::GraphicsContext3D::vertexAttrib3f):
      (WebCore::GraphicsContext3D::vertexAttrib3fv):
      (WebCore::GraphicsContext3D::vertexAttrib4f):
      (WebCore::GraphicsContext3D::vertexAttrib4fv):
      (WebCore::GraphicsContext3D::vertexAttribPointer):
      (WebCore::GraphicsContext3D::viewport):
      (WebCore::GraphicsContext3D::reshape):
      (WebCore::GraphicsContext3D::markContextChanged):
      (WebCore::GraphicsContext3D::markLayerComposited):
      (WebCore::GraphicsContext3D::layerComposited):
      (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
      (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
      (WebCore::GraphicsContext3D::paintCompositedResultsToCanvas):
      (WebCore::GraphicsContext3D::createBuffer):
      (WebCore::GraphicsContext3D::createFramebuffer):
      (WebCore::GraphicsContext3D::createProgram):
      (WebCore::GraphicsContext3D::createRenderbuffer):
      (WebCore::GraphicsContext3D::createShader):
      (WebCore::GraphicsContext3D::createTexture):
      (WebCore::GraphicsContext3D::deleteBuffer):
      (WebCore::GraphicsContext3D::deleteFramebuffer):
      (WebCore::GraphicsContext3D::deleteProgram):
      (WebCore::GraphicsContext3D::deleteRenderbuffer):
      (WebCore::GraphicsContext3D::deleteShader):
      (WebCore::GraphicsContext3D::deleteTexture):
      (WebCore::GraphicsContext3D::synthesizeGLError):
      (WebCore::GraphicsContext3D::getExtensions):
      (WebCore::GraphicsContext3D::getInternalFramebufferSize):
      (WebCore::GraphicsContext3D::setContextLostCallback):
      (WebCore::GraphicsContext3D::getImageData):
      (WebCore::GraphicsContext3D::validateAttributes):
      (WebCore::GraphicsContext3D::readRenderingResults):
      (WebCore::GraphicsContext3D::reshapeFBOs):
      (WebCore::GraphicsContext3D::resolveMultisamplingIfNecessary):
      (WebCore::GraphicsContext3D::isResourceSafe):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108938 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd513e3d
    • jamesr@google.com's avatar
      [chromium] Wire up shouldUpdateScrollPositionOnMainThread and nonFastScrollableRegion to compositor · f088a322
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79155
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      This hooks up ScrollingCoordinator::setNonFastScrollableRegion() and
      ScrollingCoordinator::setShouldUpdateScrollLayerPositionOnMainThread() to the chromium compositor
      implementation and implements them on the impl thread.
      
      New compositor behavior is covered by unit tests in LayerChromiumTests and CCLayerTreeHostImplTests. The rest is
      just glue code.
      
      * page/scrolling/chromium/ScrollingCoordinatorChromium.cpp:
      (WebCore::ScrollingCoordinator::setNonFastScrollableRegion):
      (WebCore::ScrollingCoordinator::setShouldUpdateScrollLayerPositionOnMainThread):
      * platform/graphics/chromium/LayerChromium.cpp:
      (WebCore::LayerChromium::LayerChromium):
      (WebCore::LayerChromium::setShouldScrollOnMainThread):
      (WebCore):
      (WebCore::LayerChromium::setNonFastScrollableRegion):
      (WebCore::LayerChromium::pushPropertiesTo):
      * platform/graphics/chromium/LayerChromium.h:
      (WebCore):
      (LayerChromium):
      * platform/graphics/chromium/cc/CCLayerImpl.cpp:
      (WebCore::CCLayerImpl::CCLayerImpl):
      * platform/graphics/chromium/cc/CCLayerImpl.h:
      (WebCore::CCLayerImpl::shouldScrollOnMainThread):
      (WebCore::CCLayerImpl::setShouldScrollOnMainThread):
      (CCLayerImpl):
      (WebCore::CCLayerImpl::nonFastScrollableRegion):
      (WebCore::CCLayerImpl::setNonFastScrollableRegion):
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
      (WebCore::CCLayerTreeHostImpl::scrollBegin):
      
      Source/WebKit/chromium:
      
      Add new tests for shouldScrollOnMainThread and nonFastScrollableRegion properties.
      
      * tests/CCLayerTreeHostImplTest.cpp:
      (WebKit::TEST_F):
      (WebKit):
      * tests/LayerChromiumTest.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108937 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f088a322
    • haraken@chromium.org's avatar
      Unreviewed. Rebaselined run-bindings-tests results. · e13bba42
      haraken@chromium.org authored
      * bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:
      (webkit_dom_test_interface_supplemental_method4):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108936 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e13bba42
    • commit-queue@webkit.org's avatar
      StringLiteral and NumericLiteral are allowed as ObjectLiteral getter / setter name · 54da5c24
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79571
      
      Patch by Yusuke Suzuki <utatane.tea@gmail.com> on 2012-02-26
      Reviewed by Gavin Barraclough.
      
      Source/JavaScriptCore:
      
      * parser/ASTBuilder.h:
      (JSC::ASTBuilder::createGetterOrSetterProperty):
      * parser/Parser.cpp:
      (JSC::::parseProperty):
      * parser/SyntaxChecker.h:
      (JSC::SyntaxChecker::createGetterOrSetterProperty):
      
      LayoutTests:
      
      * fast/js/property-getters-and-setters-expected.txt:
      * fast/js/script-tests/property-getters-and-setters.js:
      (o9.string_appeared_here.7.get string_appeared_here):
      (o9.set string_appeared_here):
      (get shouldBe):
      (o10.string_appeared_here.7.get 42):
      (o10.set 42):
      * platform/chromium/fast/js/property-getters-and-setters-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54da5c24
    • mhahnenberg@apple.com's avatar
      Implement fast path for op_new_array in the baseline JIT · 87ff87df
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=78612
      
      Reviewed by Filip Pizlo.
      
      heap/CopiedAllocator.h:
      (CopiedAllocator): Friended the JIT to allow access to m_currentOffset.
      * heap/CopiedSpace.h:
      (CopiedSpace): Friended the JIT to allow access to isOversize.
      (JSC::CopiedSpace::allocator):
      * heap/Heap.h:
      (JSC::Heap::storageAllocator): Added a getter for the CopiedAllocator class so the JIT
      can use it for simple allocation i.e. when we can just bump the offset without having to 
      do anything else.
      * jit/JIT.cpp:
      (JSC::JIT::privateCompileSlowCases): Added new slow case for op_new_array for when
      we have to bail out because the fast allocation path fails for whatever reason.
      * jit/JIT.h:
      (JIT):
      * jit/JITInlineMethods.h:
      (JSC::JIT::emitAllocateBasicStorage): Added utility function that allows objects to 
      allocate generic backing stores. This function is used by emitAllocateJSArray.
      (JSC):
      (JSC::JIT::emitAllocateJSArray): Added utility function that allows the client to 
      more easily allocate JSArrays. This function is used by emit_op_new_array and I expect 
      it will also be used for emit_op_new_array_buffer.
      * jit/JITOpcodes.cpp:
      (JSC::JIT::emit_op_new_array): Changed to do inline allocation of JSArrays. Still does 
      a stub call for oversize arrays.
      (JSC):
      (JSC::JIT::emitSlow_op_new_array): New slow path that just bails out to a stub call if we 
      fail in any way on the fast path.
      * runtime/JSArray.cpp:
      (JSC):
      * runtime/JSArray.h: Added lots of offset functions for all the fields that we need to 
      initialize in the JIT.
      (ArrayStorage):
      (JSC::ArrayStorage::lengthOffset):
      (JSC::ArrayStorage::numValuesInVectorOffset):
      (JSC::ArrayStorage::allocBaseOffset):
      (JSC::ArrayStorage::vectorOffset):
      (JSArray):
      (JSC::JSArray::sparseValueMapOffset):
      (JSC::JSArray::subclassDataOffset):
      (JSC::JSArray::indexBiasOffset):
      (JSC):
      (JSC::JSArray::storageSize): Moved this function from being a static function in the cpp file
      to being a static function in the JSArray class. This move allows the JIT to call it to 
      see what size it should allocate.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87ff87df
    • inferno@chromium.org's avatar
      Unreviewed, rolling out r108547. · f5af4c40
      inferno@chromium.org authored
      http://trac.webkit.org/changeset/108547
      https://bugs.webkit.org/show_bug.cgi?id=79606
      
      Crashes on ClusterFuzz (Requested by inferno-sec on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-02-26
      
      Source/WebCore:
      
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::RenderBlock::layoutInlineChildren):
      
      LayoutTests:
      
      * fast/css-generated-content/first-letter-textbox-parent-crash-expected.txt: Removed.
      * fast/css-generated-content/first-letter-textbox-parent-crash.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5af4c40
    • paroga@webkit.org's avatar
      Unreviewed. Build fix for ENABLE(CLASSIC_INTERPRETER) after r108681. · 70b431c6
      paroga@webkit.org authored
      * interpreter/Interpreter.cpp:
      (JSC::getLineNumberForCallFrame):
      (JSC::Interpreter::getStackTrace):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70b431c6
    • paroga@webkit.org's avatar
      Unreviewed. Build fix for !ENABLE(JIT) after r108681. · dc90cbd3
      paroga@webkit.org authored
      * interpreter/Interpreter.cpp:
      (JSC::getLineNumberForCallFrame):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc90cbd3
    • abarth@webkit.org's avatar
      Move websockets to Modules/websockets · 1b18b622
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79598
      
      Reviewed by Eric Seidel.
      
      Nowadays, the only ENABLE(WEB_SOCKETS) ifdef in WebCore proper is in
      WebCore::Settings, and that will be removed (soon?) once Apple drops
      support for the old WebSockets protocol.
      
      * CMakeLists.txt:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.am:
      * GNUmakefile.list.am:
      * Modules/websockets: Copied from Source/WebCore/websockets.
      * Target.pri:
      * WebCore.gyp/WebCore.gyp:
      * WebCore.gypi:
      * WebCore.pri:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.vcproj/WebCoreCommon.vsprops:
      * WebCore.vcproj/copyForwardingHeaders.cmd:
      * WebCore.xcodeproj/project.pbxproj:
      * websockets: Removed.
      * websockets/CloseEvent.h: Removed.
      * websockets/CloseEvent.idl: Removed.
      * websockets/DOMWindowWebSocket.idl: Removed.
      * websockets/ThreadableWebSocketChannel.cpp: Removed.
      * websockets/ThreadableWebSocketChannel.h: Removed.
      * websockets/ThreadableWebSocketChannelClientWrapper.cpp: Removed.
      * websockets/ThreadableWebSocketChannelClientWrapper.h: Removed.
      * websockets/WebSocket.cpp: Removed.
      * websockets/WebSocket.h: Removed.
      * websockets/WebSocket.idl: Removed.
      * websockets/WebSocketChannel.cpp: Removed.
      * websockets/WebSocketChannel.h: Removed.
      * websockets/WebSocketChannelClient.h: Removed.
      * websockets/WebSocketDeflater.cpp: Removed.
      * websockets/WebSocketDeflater.h: Removed.
      * websockets/WebSocketExtensionDispatcher.cpp: Removed.
      * websockets/WebSocketExtensionDispatcher.h: Removed.
      * websockets/WebSocketExtensionProcessor.h: Removed.
      * websockets/WebSocketFrame.h: Removed.
      * websockets/WebSocketHandshake.cpp: Removed.
      * websockets/WebSocketHandshake.h: Removed.
      * websockets/WebSocketHandshakeRequest.cpp: Removed.
      * websockets/WebSocketHandshakeRequest.h: Removed.
      * websockets/WebSocketHandshakeResponse.cpp: Removed.
      * websockets/WebSocketHandshakeResponse.h: Removed.
      * websockets/WorkerThreadableWebSocketChannel.cpp: Removed.
      * websockets/WorkerThreadableWebSocketChannel.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b18b622
    • benjamin@webkit.org's avatar
      Get rid of KURL::deprecatedString() · ca8591a8
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79594
      
      Reviewed by Andreas Kling.
      
      The method KURL::deprecatedString() is unused, remove it from WebCore.
      
      The last reference to the method was removed in r96779.
      
      * platform/KURL.cpp:
      (WebCore):
      * platform/KURL.h:
      (KURL):
      * platform/KURLGoogle.cpp:
      (WebCore):
      * platform/KURLWTFURL.cpp:
      (WebCore):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca8591a8
  2. 25 Feb, 2012 15 commits