1. 05 Aug, 2010 40 commits
    • loislo@chromium.org's avatar
      2010-08-05 Ilya Tikhonovsky <loislo@chromium.org> · dddc97ba
      loislo@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              WebInspector: In the current implementation of inspector agents we're calling
              did methods manually. That is error prone and is bad from protocol point of view.
              It would be better to call did methods automatically from the corresponding methods
              of InspectorBackendDispatcher and report the results. As far as our protocol is
              statefull this trick will keep it in the consistent state.
              https://bugs.webkit.org/show_bug.cgi?id=43489
      
              * inspector/CodeGeneratorInspector.pm:
              * inspector/Inspector.idl:
              * inspector/InspectorApplicationCacheAgent.cpp:
              (WebCore::InspectorApplicationCacheAgent::getApplicationCaches):
              * inspector/InspectorApplicationCacheAgent.h:
              * inspector/InspectorBackend.cpp:
              (WebCore::InspectorBackend::getProfilerLogLines):
              (WebCore::InspectorBackend::setInjectedScriptSource):
              (WebCore::InspectorBackend::dispatchOnInjectedScript):
              (WebCore::InspectorBackend::clearConsoleMessages):
              (WebCore::InspectorBackend::releaseWrapperObjectGroup):
              (WebCore::InspectorBackend::getDatabaseTableNames):
              * inspector/InspectorBackend.h:
              * inspector/InspectorCSSStore.cpp:
              (WebCore::InspectorCSSStore::inspectorStyleSheet):
              * inspector/InspectorCSSStore.h:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::InspectorController):
              (WebCore::InspectorController::getCookies):
              (WebCore::InspectorController::getDOMStorageEntries):
              (WebCore::InspectorController::setDOMStorageItem):
              (WebCore::InspectorController::removeDOMStorageItem):
              (WebCore::InspectorController::getProfileHeaders):
              (WebCore::InspectorController::getProfile):
              (WebCore::InspectorController::editScriptSource):
              (WebCore::InspectorController::getScriptSource):
              (WebCore::InspectorController::setBreakpoint):
              (WebCore::InspectorController::getResourceContent):
              * inspector/InspectorController.h:
              (WebCore::InspectorController::inspectorClient):
              * inspector/InspectorDOMAgent.cpp:
              (WebCore::InspectorDOMAgent::getChildNodes):
              (WebCore::InspectorDOMAgent::setAttribute):
              (WebCore::InspectorDOMAgent::removeAttribute):
              (WebCore::InspectorDOMAgent::removeNode):
              (WebCore::InspectorDOMAgent::changeTagName):
              (WebCore::InspectorDOMAgent::getOuterHTML):
              (WebCore::InspectorDOMAgent::setOuterHTML):
              (WebCore::InspectorDOMAgent::setTextNodeValue):
              (WebCore::InspectorDOMAgent::getEventListenersForNode):
              (WebCore::InspectorDOMAgent::getStyles):
              (WebCore::InspectorDOMAgent::getAllStyles):
              (WebCore::InspectorDOMAgent::getStyleSheet):
              (WebCore::InspectorDOMAgent::getRuleRanges):
              (WebCore::InspectorDOMAgent::getInlineStyle):
              (WebCore::InspectorDOMAgent::getComputedStyle):
              (WebCore::InspectorDOMAgent::applyStyleText):
              (WebCore::InspectorDOMAgent::setStyleText):
              (WebCore::InspectorDOMAgent::setStyleProperty):
              (WebCore::InspectorDOMAgent::toggleStyleEnabled):
              (WebCore::InspectorDOMAgent::setRuleSelector):
              (WebCore::InspectorDOMAgent::addRule):
              (WebCore::InspectorDOMAgent::buildObjectForRule):
              (WebCore::InspectorDOMAgent::pushNodeByPathToFrontend):
              * inspector/InspectorDOMAgent.h:
              * inspector/InspectorValues.cpp:
              (WebCore::InspectorValue::asNumber):
              (WebCore::InspectorBasicValue::asNumber):
              * inspector/InspectorValues.h:
              * inspector/front-end/Callback.js:
              (WebInspector.Callback.prototype.processCallback):
              (WebInspector.Callback.prototype.removeCallbackEntry):
              * inspector/front-end/ElementsPanel.js:
              (WebInspector.ElementsPanel.prototype.reset):
              * inspector/front-end/inspector.js:
              (WebInspector.reportProtocolError):
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dddc97ba
    • mrobinson@webkit.org's avatar
      2010-08-05 Martin Robinson <mrobinson@igalia.com> · 9a6d606c
      mrobinson@webkit.org authored
              [GTK] Some sputnik tests fail
              https://bugs.webkit.org/show_bug.cgi?id=43568
      
              Unskip the majority of the Sputnik tests. Most of them are passing
              and a few just needed GTK+ baselines showing that they pass.
      
              * platform/gtk/Skipped: Skip remaining failures.
              * platform/gtk/fast/js/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt: Copied from LayoutTests/platform/win/fast/js/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt.
              * platform/gtk/fast/js/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt: Copied from LayoutTests/platform/win/fast/js/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt.
              * platform/gtk/fast/js/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt: Copied from LayoutTests/platform/win/fast/js/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a6d606c
    • andersca@apple.com's avatar
      Add VisitedLinkTable class · 7cd2cf0d
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=43566
      
      Reviewed by Sam Weinig.
      
      * Shared/VisitedLinkTable.cpp: Added.
      (WebKit::VisitedLinkTable::VisitedLinkTable):
      (WebKit::VisitedLinkTable::~VisitedLinkTable):
      Add out of line constructors so we won't have to include SharedMemory.h in the
      VisitedLinkTable.h header.
      
      (WebKit::isPowerOf2):
      Add helper function.
      
      (WebKit::VisitedLinkTable::setSharedMemory):
      Set the new shared memory and update the table size and hash.
      
      (WebKit::doubleHash):
      Add helper function from the WTF HashTable.
      
      (WebKit::VisitedLinkTable::addLinkHash):
      Add a link hash to the table.
      
      (WebKit::VisitedLinkTable::isLinkVisited):
      See if there is an entry for the given link hash.
      
      * Shared/VisitedLinkTable.h: Added.
      (WebKit::VisitedLinkTable::sharedMemory):
      * WebKit2.xcodeproj/project.pbxproj:
      * win/WebKit2.vcproj:
      Add VisitedLinkTable.cpp and VisitedLinkTable.h
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7cd2cf0d
    • kbr@google.com's avatar
      2010-08-04 Kenneth Russell <kbr@google.com> · af472000
      kbr@google.com authored
              Reviewed by Dimitri Glazkov.
      
              Style cleanups in WebGL
              https://bugs.webkit.org/show_bug.cgi?id=38761
      
              Cleaned up all style violations in WebGL-related files reported by
              check-webkit-style. No logic or other changes. Built WebKit and
              Chromium and ran WebGL layout tests.
      
              * src/GraphicsContext3D.cpp:
              (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
              * src/WebGraphicsContext3DDefaultImpl.cpp:
              * src/WebGraphicsContext3DDefaultImpl.h:
      2010-08-04  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              Style cleanups in WebGL
              https://bugs.webkit.org/show_bug.cgi?id=38761
      
              Cleaned up all style violations in WebGL-related files reported by
              check-webkit-style. No logic or other changes. Built WebKit and
              Chromium and ran WebGL layout tests.
      
              * html/canvas/ArrayBuffer.cpp:
              (WebCore::ArrayBuffer::ArrayBuffer):
              (WebCore::ArrayBuffer::data):
              (WebCore::ArrayBuffer::byteLength):
              (WebCore::ArrayBuffer::~ArrayBuffer):
              (WebCore::ArrayBuffer::tryAllocate):
              * html/canvas/ArrayBufferView.cpp:
              (WebCore::ArrayBufferView::setImpl):
              * html/canvas/ArrayBufferView.h:
              * html/canvas/TypedArrayBase.h:
              * html/canvas/WebGLBuffer.cpp:
              (WebCore::WebGLBuffer::deleteObjectImpl):
              (WebCore::WebGLBuffer::associateBufferData):
              * html/canvas/WebGLBuffer.h:
              (WebCore::WebGLBuffer::~WebGLBuffer):
              (WebCore::WebGLBuffer::elementArrayBuffer):
              (WebCore::WebGLBuffer::getTarget):
              (WebCore::WebGLBuffer::isBuffer):
              * html/canvas/WebGLFramebuffer.cpp:
              (WebCore::WebGLFramebuffer::deleteObjectImpl):
              * html/canvas/WebGLFramebuffer.h:
              (WebCore::WebGLFramebuffer::~WebGLFramebuffer):
              (WebCore::WebGLFramebuffer::isDepthAttached):
              (WebCore::WebGLFramebuffer::isStencilAttached):
              (WebCore::WebGLFramebuffer::isDepthStencilAttached):
              (WebCore::WebGLFramebuffer::isFramebuffer):
              * html/canvas/WebGLGetInfo.cpp:
              * html/canvas/WebGLGetInfo.h:
              * html/canvas/WebGLObject.cpp:
              (WebCore::WebGLObject::deleteObject):
              * html/canvas/WebGLObject.h:
              (WebCore::WebGLObject::object):
              (WebCore::WebGLObject::detachContext):
              (WebCore::WebGLObject::context):
              (WebCore::WebGLObject::isBuffer):
              (WebCore::WebGLObject::isFramebuffer):
              (WebCore::WebGLObject::isProgram):
              (WebCore::WebGLObject::isRenderbuffer):
              (WebCore::WebGLObject::isShader):
              (WebCore::WebGLObject::isTexture):
              * html/canvas/WebGLProgram.cpp:
              (WebCore::WebGLProgram::deleteObjectImpl):
              * html/canvas/WebGLProgram.h:
              (WebCore::WebGLProgram::~WebGLProgram):
              (WebCore::WebGLProgram::isLinkFailureFlagSet):
              (WebCore::WebGLProgram::setLinkFailureFlag):
              (WebCore::WebGLProgram::isProgram):
              * html/canvas/WebGLRenderbuffer.cpp:
              (WebCore::WebGLRenderbuffer::deleteObjectImpl):
              * html/canvas/WebGLRenderbuffer.h:
              (WebCore::WebGLRenderbuffer::~WebGLRenderbuffer):
              (WebCore::WebGLRenderbuffer::setInternalFormat):
              (WebCore::WebGLRenderbuffer::getInternalFormat):
              (WebCore::WebGLRenderbuffer::isInitialized):
              (WebCore::WebGLRenderbuffer::setInitialized):
              (WebCore::WebGLRenderbuffer::isRenderbuffer):
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::beginPaint):
              (WebCore::WebGLRenderingContext::blendEquation):
              (WebCore::WebGLRenderingContext::getActiveAttrib):
              (WebCore::WebGLRenderingContext::getActiveUniform):
              (WebCore::WebGLRenderingContext::getBufferParameter):
              (WebCore::WebGLRenderingContext::getFramebufferAttachmentParameter):
              (WebCore::WebGLRenderingContext::vertexAttribPointer):
              * html/canvas/WebGLRenderingContext.h:
              (WebCore::WebGLRenderingContext::is3d):
              (WebCore::WebGLRenderingContext::isAccelerated):
              (WebCore::WebGLRenderingContext::graphicsContext3D):
              (WebCore::WebGLRenderingContext::cleanupAfterGraphicsCall):
              (WebCore::WebGLRenderingContext::VertexAttribState::VertexAttribState):
              (WebCore::WebGLRenderingContext::VertexAttribState::initValue):
              * html/canvas/WebGLShader.cpp:
              (WebCore::WebGLShader::deleteObjectImpl):
              * html/canvas/WebGLShader.h:
              (WebCore::WebGLShader::~WebGLShader):
              (WebCore::WebGLShader::getType):
              (WebCore::WebGLShader::isShader):
              * html/canvas/WebGLTexture.cpp:
              (WebCore::WebGLTexture::deleteObjectImpl):
              * html/canvas/WebGLTexture.h:
              (WebCore::WebGLTexture::~WebGLTexture):
              (WebCore::WebGLTexture::isCubeMapRWrapModeInitialized):
              (WebCore::WebGLTexture::setCubeMapRWrapModeInitialized):
              (WebCore::WebGLTexture::isTexture):
              (WebCore::WebGLTexture::LevelInfo::LevelInfo):
              (WebCore::WebGLTexture::LevelInfo::setInfo):
              * platform/graphics/GraphicsContext3D.h:
              (WebCore::GraphicsContext3D::):
              (WebCore::GraphicsContext3D::Attributes::Attributes):
              (WebCore::GraphicsContext3D::platformGraphicsContext3D):
              (WebCore::GraphicsContext3D::platformTexture):
              (WebCore::GraphicsContext3D::platformLayer):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af472000
    • jianli@chromium.org's avatar
      Update test results caused by r64763. · 35cdf14d
      jianli@chromium.org authored
      * fast/dom/Window/window-properties-expected.txt:
      * fast/dom/Window/window-properties.html:
      * fast/dom/constructed-objects-prototypes-expected.txt:
      * fast/dom/script-tests/constructed-objects-prototypes.js:
      (constructorPropertiesOnWindow):
      * platform/gtk/Skipped:
      * platform/gtk/fast/dom/Window/window-properties-expected.txt:
      * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
      * platform/gtk/fast/dom/prototype-inheritance-expected.txt:
      * platform/gtk/fast/js/global-constructors-expected.txt:
      * platform/qt/Skipped:
      * platform/qt/fast/dom/Window/window-properties-expected.txt:
      * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
      * platform/qt/fast/dom/prototype-inheritance-expected.txt:
      * platform/qt/fast/js/global-constructors-expected.txt:
      * platform/win/Skipped:
      * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
      * platform/win/fast/dom/prototype-inheritance-expected.txt:
      * platform/win/fast/js/global-constructors-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35cdf14d
    • andersca@apple.com's avatar
      Add shared memory abstraction · 2e056459
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=43535
      <rdar://problem/8275295>
      
      Reviewed by Adam Roben.
      
      * Platform/SharedMemory.h: Added.
      (WebKit::SharedMemory::):
      (WebKit::SharedMemory::size):
      Return the size, in bytes, of the shared memory object.
      
      (WebKit::SharedMemory::data):
      Return a pointer to the shared memory object.
      
      * Platform/mac/SharedMemoryMac.cpp: Added.
      (WebKit::SharedMemory::Handle):
      A shared memory handle, which can be passed in a CoreIPC Connection.
      
      (WebKit::SharedMemory::create):
      Allocate the shared memory.
      
      (WebKit::SharedMemory::~SharedMemory):
      Deallocate the shared memory.
      
      (WebKit::SharedMemory::createHandle):
      Create a mach port and pass it to the handle.
      
      (WebKit::SharedMemory::systemPageSize):
      Return the system page size, in bytes.
      
      * Platform/win/SharedMemoryWin.cpp: Added.
      Add stubbed out version.
      
      * WebKit2.xcodeproj/project.pbxproj:
      * win/WebKit2.vcproj:
      Add files.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64765 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e056459
    • commit-queue@webkit.org's avatar
      2010-08-05 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> · 916900d1
      commit-queue@webkit.org authored
              Reviewed by Simon Hausmann.
      
              Make the viewport meta tag parser support the Android
              target-densitydpi extension.
              http://webkit.org/b/43492
      
              http://developer.android.com/reference/android/webkit/WebView.html
              Section 'Building web pages to support different screen densities'
      
              * dom/ViewportArguments.cpp:
              (WebCore::setViewportFeature):
              (WebCore::viewportErrorMessageTemplate):
              * dom/ViewportArguments.h:
              (WebCore::):
              (WebCore::ViewportArguments::ViewportArguments):
              (WebCore::ViewportArguments::hasCustomArgument):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      916900d1
    • jianli@chromium.org's avatar
      Unify blob related feature defines to ENABLE(BLOB). · 30ebbd3e
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=43081
      
      Reviewed by David Levin.
      
      .:
      
      * cmakeconfig.h.cmake:
      * configure.ac:
      
      JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * WebCore.pri:
      * bindings/js/JSEventTarget.cpp:
      (WebCore::toJS):
      * bindings/v8/V8DOMWrapper.cpp:
      (WebCore::V8DOMWrapper::convertEventTargetToV8Object):
      * dom/EventTarget.cpp:
      * dom/EventTarget.h:
      * dom/ExceptionCode.h:
      (WebCore::):
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::~ScriptExecutionContext):
      * dom/ScriptExecutionContext.h:
      * html/Blob.cpp:
      * html/Blob.h:
      * html/Blob.idl:
      * html/FileError.h:
      * html/FileError.idl:
      * html/FileReader.cpp:
      * html/FileReader.h:
      * html/FileReader.idl:
      * html/FileStream.cpp:
      (WebCore::FileStream::openForRead):
      * html/FileStream.h:
      * html/FileStreamClient.h:
      * html/FileStreamProxy.cpp:
      * html/FileStreamProxy.h:
      * html/FileThread.cpp:
      * html/FileThread.h:
      * page/DOMWindow.idl:
      * platform/BlobItem.cpp:
      (WebCore::getFileSnapshotModificationTime):
      (WebCore::DataBlobItem::slice):
      (WebCore::FileBlobItem::slice):
      * platform/BlobItem.h:
      * platform/network/FormData.cpp:
      (WebCore::FormData::deepCopy):
      (WebCore::FormData::appendFile):
      (WebCore::FormData::appendItem):
      (WebCore::FormData::appendKeyValuePairItems):
      * platform/network/FormData.h:
      (WebCore::operator==):
      * platform/network/mac/FormDataStreamMac.mm:
      (WebCore::closeCurrentStream):
      (WebCore::advanceCurrentStream):
      (WebCore::formCreate):
      (WebCore::formRead):
      (WebCore::setHTTPBody):
      
      WebKit/chromium:
      
      * features.gypi:
      * src/WebHTTPBody.cpp:
      (WebKit::WebHTTPBody::elementAt):
      (WebKit::WebHTTPBody::appendFileRange):
      
      WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      WebKitTools:
      
      * Scripts/build-webkit:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30ebbd3e
    • jianli@chromium.org's avatar
      Chromium test expectations update. · 33096265
      jianli@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33096265
    • kov@webkit.org's avatar
      2010-08-05 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · eb90adca
      kov@webkit.org authored
              Rubber-stamped by Xan Lopez.
      
              Remove GHashTable left-overs. GHashTable is ref-counted, and is
              correctly supported by GRefPtr.
      
              * wtf/gobject/GOwnPtr.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb90adca
    • kov@webkit.org's avatar
      2010-08-05 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · e20e926e
      kov@webkit.org authored
              Reviewed by Xan Lopez.
      
              Move files that are generated by the configure script to
              DISTCLEANFILES, where they should be. This fixes building after a
              make clean.
      
              * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e20e926e
    • kov@webkit.org's avatar
      2010-08-05 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · 50f2bc9e
      kov@webkit.org authored
              Unreviewed.
      
              Typo fix that makes distcheck happy.
      
              * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50f2bc9e
    • xan@webkit.org's avatar
      2010-08-05 Xan Lopez <xlopez@igalia.com> · 8735257f
      xan@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              When trying to wrap a Node we know is an Element fallback to a
              simple Element wrapper in the worst case, not to Node.
      
              * bindings/gobject/WebKitDOMBinding.cpp:
              (WebKit::createWrapper):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8735257f
    • jorlow@chromium.org's avatar
      2010-08-05 Satish Sampath <satish@chromium.org> · e16605d9
      jorlow@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              Updated test expectations for speech input in the chromium port
              https://bugs.webkit.org/show_bug.cgi?id=43563
      
              * platform/chromium-linux/fast/speech/input-appearance-numberandspeech-expected.checksum: Added.
              * platform/chromium-linux/fast/speech/input-appearance-numberandspeech-expected.png: Added.
              * platform/chromium-linux/fast/speech/input-appearance-numberandspeech-expected.txt: Added.
              * platform/chromium-linux/fast/speech/input-appearance-searchandspeech-expected.checksum:
              * platform/chromium-linux/fast/speech/input-appearance-searchandspeech-expected.png:
              * platform/chromium-linux/fast/speech/input-appearance-searchandspeech-expected.txt:
              * platform/chromium-linux/fast/speech/input-appearance-speechbutton-expected.checksum:
              * platform/chromium-linux/fast/speech/input-appearance-speechbutton-expected.png:
              * platform/chromium-linux/fast/speech/input-appearance-speechbutton-expected.txt:
              * platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.checksum:
              * platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.png:
              * platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.txt:
              * platform/chromium-mac/fast/speech/input-appearance-searchandspeech-expected.checksum:
              * platform/chromium-mac/fast/speech/input-appearance-searchandspeech-expected.png:
              * platform/chromium-mac/fast/speech/input-appearance-searchandspeech-expected.txt:
              * platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.checksum:
              * platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.png:
              * platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.txt:
              * platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.checksum: Added.
              * platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.png: Added.
              * platform/chromium-win/fast/speech/input-appearance-numberandspeech-expected.txt: Added.
              * platform/chromium-win/fast/speech/input-appearance-searchandspeech-expected.checksum: Added.
              * platform/chromium-win/fast/speech/input-appearance-searchandspeech-expected.png: Added.
              * platform/chromium-win/fast/speech/input-appearance-searchandspeech-expected.txt: Added.
              * platform/chromium-win/fast/speech/input-appearance-speechbutton-expected.checksum: Added.
              * platform/chromium-win/fast/speech/input-appearance-speechbutton-expected.png: Added.
              * platform/chromium-win/fast/speech/input-appearance-speechbutton-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e16605d9
    • thakis@chromium.org's avatar
      2010-08-05 Nico Weber <thakis@chromium.org> · e8ba73a4
      thakis@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              Remove useless const on return-by-value (fixes a clang warning)
              https://bugs.webkit.org/show_bug.cgi?id=43491
      
              * src/WebInputEventConversion.cpp:
              (WebKit::toPlatformKeyboardEventType):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e8ba73a4
    • abecsi@webkit.org's avatar
      2010-08-05 Balazs Kelemen <kb@inf.u-szeged.hu> · 9c52b028
      abecsi@webkit.org authored
              Rubber-stamped by Kenneth Rohde Christiansen.
      
              [Qt] Remove redundant include paths from WebKit2.pro.
      
              * WebKit2.pro:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c52b028
    • jorlow@chromium.org's avatar
      2010-08-05 Jeremy Orlow <jorlow@chromium.org> · f574d44d
      jorlow@chromium.org authored
              Don't skip speech tests.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f574d44d
    • commit-queue@webkit.org's avatar
      2010-08-05 François Sausset <sausset@gmail.com> · b6d46ab7
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              Add test for basic values of the MathML mathvariant attribute
              https://bugs.webkit.org/show_bug.cgi?id=43481
      
              * mathml/presentation/attributes.xhtml:
              * platform/mac/mathml/presentation/attributes-expected.checksum:
              * platform/mac/mathml/presentation/attributes-expected.png:
              * platform/mac/mathml/presentation/attributes-expected.txt:
      2010-08-05  François Sausset  <sausset@gmail.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              Implement basic values of MathML mathvariant attribute
              https://bugs.webkit.org/show_bug.cgi?id=43481
      
              Test: mathml/presentation/attributes.xhtml
      
              * css/mathml.css:
              (math[mathvariant="normal"], mstyle[mathvariant="normal"], mo[mathvariant="normal"], mn[mathvariant="normal"], mi[mathvariant="normal"], mtext[mathvariant="normal"], mspace[mathvariant="normal"], ms[mathvariant="normal"]):
              (math[mathvariant="bold"], mstyle[mathvariant="bold"], mo[mathvariant="bold"], mn[mathvariant="bold"], mi[mathvariant="bold"], mtext[mathvariant="bold"], mspace[mathvariant="bold"], ms[mathvariant="bold"]):
              (math[mathvariant="italic"], mstyle[mathvariant="italic"], mo[mathvariant="italic"], mn[mathvariant="italic"], mi[mathvariant="italic"], mtext[mathvariant="italic"], mspace[mathvariant="italic"], ms[mathvariant="italic"]):
              (math[mathvariant="bold-italic"], mstyle[mathvariant="bold-italic"], mo[mathvariant="bold-italic"], mn[mathvariant="bold-italic"], mi[mathvariant="bold-italic"], mtext[mathvariant="bold-italic"], mspace[mathvariant="bold-italic"], ms[mathvariant="bold-italic"]):
              * mathml/mathattrs.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6d46ab7
    • xan@webkit.org's avatar
      2010-08-05 Xan Lopez <xlopez@igalia.com> · 3d1fc55a
      xan@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              [GTK] Use correct path for Inspector data files in GTK+3.x builds
              https://bugs.webkit.org/show_bug.cgi?id=43445
      
              Use the right data path for inspector files when building with
              GTK+ 3.x.
      
              * WebCoreSupport/InspectorClientGtk.cpp:
              (WebKit::InspectorClient::openInspectorFrontend):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d1fc55a
    • pfeldman@chromium.org's avatar
      2010-08-05 Pavel Feldman <pfeldman@chromium.org> · 378b9acf
      pfeldman@chromium.org authored
              Not reviewed. Chromium test expectations update.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      378b9acf
    • zimmermann@webkit.org's avatar
      2010-08-05 Nikolas Zimmermann <nzimmermann@rim.com> · 138ac571
      zimmermann@webkit.org authored
              Not reviewed. Add missing pixel test results for svg/in-html test.
      
              * platform/mac/svg/in-html/circle-expected.checksum: Added.
              * platform/mac/svg/in-html/circle-expected.png: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      138ac571
    • jorlow@chromium.org's avatar
      2010-08-05 Satish Sampath <satish@chromium.org> · 2ce2ad8d
      jorlow@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              Add speech input controller mock in WebKit and a layout test.
              https://bugs.webkit.org/show_bug.cgi?id=43477
      
              * fast/speech/input-text-speechbutton-expected.txt: Added.
              * fast/speech/input-text-speechbutton.html: Added.
              * fast/speech/script-tests/input-text-speechbutton.js: Added.
              (onChange):
              (run):
      2010-08-05  Satish Sampath  <satish@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              Add speech input controller mock in WebKit and a layout test.
              https://bugs.webkit.org/show_bug.cgi?id=43477
      
              * WebKit.gyp:
              * public/WebSpeechInputControllerMock.h: Added WebKit speech input controller mock interface.
              * src/WebSpeechInputControllerMockImpl.cpp: Added implementation of the above mock.
              (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
              (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
              (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording):
              (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition):
              (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
              (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
              (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition):
              (WebKit::WebSpeechInputControllerMockImpl::stopRecording):
              (WebKit::WebSpeechInputControllerMock::create):
      2010-08-05  Satish Sampath  <satish@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              Add speech input controller mock in WebKit and a layout test.
              https://bugs.webkit.org/show_bug.cgi?id=43477
      
              Added LayoutTestController::setMockSpeechInputResultCallback method.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setMockSpeechInputResultCallback): Wrapper invoking the member function.
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::setMockSpeechInputResult): Sets the mock result.
              (LayoutTestController::speechInputController): Creates the mock controller.
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/chromium/WebViewHost.cpp:
              (WebViewHost::speechInputController): Creates the mock controller.
              * DumpRenderTree/chromium/WebViewHost.h:
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setMockSpeechInputResult): dummy method.
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::setMockSpeechInputResult): dummy method.
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::setMockSpeechInputResult): dummy method.
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              * DumpRenderTree/win/LayoutTestControllerWin.cpp: dummy method.
              (LayoutTestController::setMockSpeechInputResult):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp: dummy method.
              (LayoutTestController::setMockSpeechInputResult):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2ce2ad8d
    • yurys@chromium.org's avatar
      2010-08-05 Yury Semikhatsky <yurys@chromium.org> · c78b297c
      yurys@chromium.org authored
              Unreviewed. Skip new debugger test on Qt.
      
              * platform/qt/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64748 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c78b297c
    • yurys@chromium.org's avatar
      2010-08-05 Yury Semikhatsky <yurys@chromium.org> · 9cdc572f
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: inspected page crashes when there is a cyclic reference in Object prototype
              https://bugs.webkit.org/show_bug.cgi?id=43558
      
              Test: inspector/debugger-cyclic-ref.html
      
              * bindings/v8/ScriptValue.cpp:
              (WebCore::v8ToInspectorValue):
      
      2010-08-05  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: inspected page crashes when there is a cyclic reference in Object prototype
              https://bugs.webkit.org/show_bug.cgi?id=43558
      
              * inspector/debugger-cyclic-ref-expected.txt: Added.
              * inspector/debugger-cyclic-ref.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9cdc572f
    • jorlow@chromium.org's avatar
      2010-08-05 Satish Sampath <satish@chromium.org> · eb405800
      jorlow@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              Fix rendering of speech button and enable layout tests
              https://bugs.webkit.org/show_bug.cgi?id=43425
      
              Added layout and pixel test expecations for speech button on chromium-linux and chromium-mac.
              Also enabled the relevant layout tests on these platforms.
              Non chromium ports don't have the feature flag enabled and the code does not get compiled in yet,
              so there are no test expectations for those ports.
      
              * fast/speech/input-appearance-numberandspeech-expected.txt: Removed.
              * fast/speech/input-appearance-numberandspeech.html:
              * fast/speech/input-appearance-searchandspeech-expected.txt: Removed.
              * fast/speech/input-appearance-searchandspeech.html:
              * fast/speech/input-appearance-speechbutton-expected.txt: Removed.
              * fast/speech/input-appearance-speechbutton.html:
              * platform/chromium-linux/fast/speech/input-appearance-searchandspeech-expected.checksum: Added.
              * platform/chromium-linux/fast/speech/input-appearance-searchandspeech-expected.png: Added.
              * platform/chromium-linux/fast/speech/input-appearance-searchandspeech-expected.txt: Added.
              * platform/chromium-linux/fast/speech/input-appearance-speechbutton-expected.checksum: Added.
              * platform/chromium-linux/fast/speech/input-appearance-speechbutton-expected.png: Added.
              * platform/chromium-linux/fast/speech/input-appearance-speechbutton-expected.txt: Added.
              * platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.checksum: Added.
              * platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.png: Added.
              * platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.txt: Added.
              * platform/chromium-mac/fast/speech/input-appearance-searchandspeech-expected.checksum: Added.
              * platform/chromium-mac/fast/speech/input-appearance-searchandspeech-expected.png: Added.
              * platform/chromium-mac/fast/speech/input-appearance-searchandspeech-expected.txt: Added.
              * platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.checksum: Added.
              * platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.png: Added.
              * platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
              * platform/mac/fast/forms/input-appearance-numberandspeech-expected.checksum: Removed.
              * platform/mac/fast/forms/input-appearance-numberandspeech-expected.png: Removed.
              * platform/mac/fast/forms/input-appearance-speechbutton-expected.checksum: Removed.
              * platform/mac/fast/forms/input-appearance-speechbutton-expected.png: Removed.
      2010-08-05  Satish Sampath  <satish@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              Fix rendering of speech button and enable layout tests
              https://bugs.webkit.org/show_bug.cgi?id=43425
      
              Rewrote the speech button rendering code to match how the spin buttons (for input type=number)
              are implemented as the previous implementation did not work well on many platforms.
      
              * rendering/RenderTextControlSingleLine.cpp:
              (WebCore::RenderTextControlSingleLine::~RenderTextControlSingleLine):
              (WebCore::RenderTextControlSingleLine::layout):
              (WebCore::RenderTextControlSingleLine::nodeAtPoint):
              (WebCore::RenderTextControlSingleLine::styleDidChange):
              (WebCore::RenderTextControlSingleLine::hasControlClip):
              (WebCore::RenderTextControlSingleLine::adjustControlHeightBasedOnLineHeight):
              (WebCore::RenderTextControlSingleLine::createSubtreeIfNeeded):
              (WebCore::RenderTextControlSingleLine::createInnerTextStyle):
              (WebCore::RenderTextControlSingleLine::createSpeechButtonStyle):
              (WebCore::RenderTextControlSingleLine::clientPaddingRight):
              * rendering/RenderTextControlSingleLine.h:
              * rendering/TextControlInnerElements.cpp:
              (WebCore::InputFieldSpeechButtonElement::InputFieldSpeechButtonElement):
              (WebCore::InputFieldSpeechButtonElement::create):
              * rendering/TextControlInnerElements.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64746 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb405800
    • commit-queue@webkit.org's avatar
      2010-08-05 Andrey Kosyakov <caseq@chromium.org> · b687dcbe
      commit-queue@webkit.org authored
              Reviewed by Pavel Feldman.
      
              Re-enabling inspector/extension* tests following a fix in InspectorController.
              https://bugs.webkit.org/show_bug.cgi?id=43344
      
              * platform/gtk/Skipped:
              * platform/qt/Skipped:
      2010-08-05  Andrey Kosyakov  <caseq@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: Separated WebInspector extension API injection logic from other scripts that inspector injects.
              Enabled injection of the API scripts even if inspector is disabled for inspector front-end page.
              https://bugs.webkit.org/show_bug.cgi?id=43344
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::inspectedWindowScriptObjectCleared):
              (WebCore::InspectorController::setInspectorExtensionAPI):
              * inspector/InspectorController.h:
              * inspector/InspectorFrontendHost.cpp:
              (WebCore::InspectorFrontendHost::setExtensionAPI):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64745 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b687dcbe
    • aroben@apple.com's avatar
      Get WebKitTestRunner loading TestNetscapePlugin on Windows · 8e98a39b
      aroben@apple.com authored
      Fixes <http://webkit.org/b/43513> WebKitTestRunner on Windows fails to
      load TestNetscapePlugin
      
      Reviewed by Jon Honeycutt.
      
      WebKit2:
      
      Teach WebKit2 how to load the TestNetscapePlugin
      
      * Platform/Module.cpp:
      (WebKit::Module::Module): Initialize m_module on Windows.
      
      * Platform/Module.h: Added m_module on Windows.
      
      * Platform/win/ModuleWin.cpp:
      (WebKit::Module::load): Implemented using ::LoadLibraryExW.
      (WebKit::Module::unload): Implemented using ::FreeLibrary.
      (WebKit::Module::platformFunctionPointer): Implemented using
      ::GetProcAddress.
      
      * Platform/win/RunLoopWin.cpp:
      (RunLoop::TimerBase::timerFired): Kill the native timer before calling
      the fired callback. This makes all our timers non-repeating, but
      that's all we need currently.
      (RunLoop::TimerBase::start): Added an assertion to help us figure out
      when we need to implement repeating timers. Also fixed a typo.
      
      * UIProcess/Plugins/win/PluginInfoStoreWin.cpp:
      (WebKit::PluginInfoStore::pluginsDirectories): Added a FIXME.
      
      (WebKit::PathWalker::PathWalker):
      (WebKit::PathWalker::~PathWalker):
      (WebKit::PathWalker::isValid):
      (WebKit::PathWalker::data):
      (WebKit::PathWalker::step):
      Added. This class wraps the ::FindFirstFile/::FindNextFile APIs.
      
      (WebKit::PluginInfoStore::pluginPathsInDirectory): Implemented by
      porting logic from
      WebCore::PluginDatabase::getPluginPathsInDirectories.
      (WebKit::getVersionInfo): Copied from PluginDatabaseWin.cpp.
      (WebKit::PluginInfoStore::getPluginInfo): Implemented by porting logic
      from WebCore::PluginPackage::fetchInfo.
      (WebKit::PluginInfoStore::shouldUsePlugin): Changed to always return
      true for now. Added a FIXME about implementing this for real.
      
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::didReceiveSyncMessage):
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::createPlugin):
      Removed PLATFORM(MAC) guards around plugin code.
      
      * win/WebKit2.vcproj: Let VS sort the file.
      
      WebKitTools:
      
      Fix the path to TestNetscapePlugin's directory on Windows
      
      * WebKitTestRunner/win/TestControllerWin.cpp:
      (WTR::TestController::initializeTestPluginDirectory):
      TestNetscapePlugin is in a TestNetscapePlugin[_Debug] directory that's
      next to WebKitTestRunner.exe. Previously we were passing the directory
      that contains WebKitTestRunner.exe. Also fixed some leaks.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64744 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e98a39b
    • commit-queue@webkit.org's avatar
      2010-08-05 Kenichi Ishibashi <bashi@google.com> · c987126f
      commit-queue@webkit.org authored
              Reviewed by Shinichiro Hamaji.
      
              check-webkit-style returns non-zero when patch is entirely minus lines.
              https://bugs.webkit.org/show_bug.cgi?id=38169
      
              * Scripts/check-webkit-style:
              Check whether a patch contains modified files that are entirely minus lines.
              * Scripts/webkitpy/style/filereader.py:
              Add a variable that holds number of files that contain only deleted lines.
              * Scripts/webkitpy/style/patchreader.py:
              Count up modified files that contain only deleted lines.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64743 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c987126f
    • pfeldman@chromium.org's avatar
      2010-08-05 Pavel Feldman <pfeldman@chromium.org> · 24acded4
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Chromium DevTools: [REGRESSION] Frame navigation is not handled in devtools.
      
              https://bugs.webkit.org/show_bug.cgi?id=43556
      
              * src/WebDevToolsAgentImpl.cpp:
              (WebKit::):
              (WebKit::WebDevToolsAgentImpl::detach):
              (WebKit::WebDevToolsAgentImpl::frontendLoaded):
              (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24acded4
    • pfeldman@chromium.org's avatar
      2010-08-05 Pavel Feldman <pfeldman@chromium.org> · 642d5d1a
      pfeldman@chromium.org authored
              Not reviewed. More chromium test rebaselines.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      642d5d1a
    • commit-queue@webkit.org's avatar
      2010-08-05 Charles Wei <charles.wei@torchmobile.com.cn> · 19f86479
      commit-queue@webkit.org authored
              Reviewed by George Staikos.
      
              https://bugs.webkit.org/show_bug.cgi?id=43469
              <noscript> is working wrong in some cases when xhtmlmp is enabled.
      
              * fast/xhtmlmp/noscript-basic-expected.txt: Added.
              * fast/xhtmlmp/noscript-basic.xhtml: Added.
      2010-08-05  Charles Wei  <charles.wei@torchmobile.com.cn>
      
              Reviewed by George Staikos.
      
              <noscript> is working the other way around in some cases with xhtmlmp enabled
              https://bugs.webkit.org/show_bug.cgi?id=43469
      
              Test: fast/xhtmlmp/noscript-basic.xhtml
      
              * dom/Document.cpp:
              (WebCore::Document::Document):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64740 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19f86479
    • antti.j.koivisto@nokia.com's avatar
      Use toCopiedRef for making WK objects · 1df6ebfe
      antti.j.koivisto@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=43552
      
      Reviewed by Kenneth Rohde Christiansen.
      
      * UIProcess/API/cpp/qt/WKStringQt.cpp:
      (WKStringCreateWithQString):
      * UIProcess/API/cpp/qt/WKURLQt.cpp:
      (WKURLCreateWithQUrl):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64739 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1df6ebfe
    • yurys@chromium.org's avatar
      2010-08-05 Yury Semikhatsky <yurys@chromium.org> · 4cb24551
      yurys@chromium.org authored
              Unreviewed. Fix Win compilation.
      
              * bindings/js/JSBindingsAllInOne.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64738 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cb24551
    • hausmann@webkit.org's avatar
      [Qt] Clean up the input method handling · 1b69ced8
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=43545
      
      Reviewed by Tor Arne Vestbø.
      
      WebCore:
      
      Changed input method hint interface to be more efficient by setting
      all hints in one shot, like in QWidget.
      
      * platform/qt/QWebPageClient.h:
      
      WebKit/qt:
      
      Replace the way of individually setting input method hints by
      many calls to QWidget::setInputMethodHints with one single call.
      
      This is more efficient by requiring less updates in the input
      method hint.
      
      * WebCoreSupport/EditorClientQt.cpp:
      (WebCore::EditorClientQt::setInputMethodState):
      * WebCoreSupport/PageClientQt.cpp:
      (WebCore::PageClientQWidget::setInputMethodHints):
      (WebCore::PageClientQGraphicsWidget::setInputMethodHints):
      * WebCoreSupport/PageClientQt.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b69ced8
    • pfeldman@chromium.org's avatar
      2010-08-05 Pavel Feldman <pfeldman@chromium.org> · 1d8dcafe
      pfeldman@chromium.org authored
              Not reviewed. More chromium test rebaselines.
      
              * platform/chromium-linux/svg/in-html/circle-expected.checksum: Added.
              * platform/chromium-linux/svg/in-html/circle-expected.png: Added.
              * platform/chromium-mac/fast/invalid/residual-style-expected.txt: Removed.
              * platform/chromium-mac/svg/in-html/circle-expected.checksum: Added.
              * platform/chromium-mac/svg/in-html/circle-expected.png: Added.
              * platform/chromium-win/svg/in-html/circle-expected.checksum: Added.
              * platform/chromium-win/svg/in-html/circle-expected.png: Added.
              * platform/chromium-win/svg/in-html/circle-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d8dcafe
    • yurys@chromium.org's avatar
      2010-08-05 Yury Semikhatsky <yurys@chromium.org> · 832b914a
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: remove mutator methods from ScriptObject and remove ScriptArray.
              We shouldn't modify JS objects from InspectorController, InspectorValues
              should be used instead.
              https://bugs.webkit.org/show_bug.cgi?id=43546
      
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/ScriptArray.cpp: Removed.
              * bindings/js/ScriptArray.h: Removed.
              * bindings/js/ScriptCallStack.h:
              * bindings/js/ScriptObject.cpp:
              * bindings/js/ScriptObject.h:
              * bindings/v8/ScriptArray.cpp: Removed.
              * bindings/v8/ScriptArray.h: Removed.
              * bindings/v8/ScriptCallStack.h:
              * bindings/v8/ScriptObject.cpp:
              * bindings/v8/ScriptObject.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      832b914a
    • commit-queue@webkit.org's avatar
      2010-08-05 Ned Holbrook <nholbrook@apple.com> · be7b06b0
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              ~5% complex layout performance improvement.
              https://bugs.webkit.org/show_bug.cgi?id=43436
      
              * platform/graphics/mac/ComplexTextController.h:
              * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
              (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun): Use Vector rather than CFMutableData.
              (WebCore::ComplexTextController::ComplexTextRun::createTextRunFromFontDataCoreText): Ditto.
              (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText): Avoid typesetter allocation unless using typesetter options.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be7b06b0
    • johnnyg@google.com's avatar
      2010-08-05 John Gregg <johnnyg@google.com> · 6ac7b0bc
      johnnyg@google.com authored
              Reviewed by Darin Fisher.
      
              [chromium] WebFileChooserParams should have default constructor
              https://bugs.webkit.org/show_bug.cgi?id=43435
      
              * public/WebFileChooserParams.h:
              (WebKit::WebFileChooserParams::WebFileChooserParams):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ac7b0bc
    • steveblock@google.com's avatar
      2010-08-05 Steve Block <steveblock@google.com> · 001cf704
      steveblock@google.com authored
              Reviewed by Jeremy Orlow.
      
              targetReferenceFromResource() in SVGResources.cpp is missing an ENABLE(FILTERS) guard
              https://bugs.webkit.org/show_bug.cgi?id=43550
      
              Also updates an existing ENABLE(FILTERS) guard to avoid a compiler
              warning 'case FilterResourceType not handled in switch' when FILTERS
              is not enabled.
      
              No new tests, build fix only.
      
              * rendering/SVGResources.cpp:
              (WebCore::targetReferenceFromResource):
              (WebCore::SVGResources::resourceDestroyed):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      001cf704
    • commit-queue@webkit.org's avatar
      2010-08-05 Victoria Kirst <vrk@google.com> · 2eac2e4b
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Added logic to use glMapTexSubImage2D to write video layer to GPU
              texture. Also fixes CPU usage problem from previous patch.
              https://bugs.webkit.org/show_bug.cgi?id=43101
      
              No change in user-visible functionality (since it isn't turned on),
              so no new tests.
      
              * platform/graphics/chromium/VideoLayerChromium.cpp:
              (WebCore::VideoLayerChromium::VideoLayerChromium):
              (WebCore::VideoLayerChromium::updateTextureContents):
              (WebCore::VideoLayerChromium::createTextureRect):
              (WebCore::VideoLayerChromium::updateTextureRect):
              (WebCore::VideoLayerChromium::updateCompleted):
              * platform/graphics/chromium/VideoLayerChromium.h:
      2010-08-05  Victoria Kirst  <vrk@google.com>
      
              Reviewed by David Levin.
      
              Added a repaint request so that VideoLayerChromium does not have
              a flickering problem when playing video.
              https://bugs.webkit.org/show_bug.cgi?id=43101
      
              * src/WebMediaPlayerClientImpl.cpp:
              (WebKit::WebMediaPlayerClientImpl::repaint):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2eac2e4b