1. 25 Jan, 2011 21 commits
    • leviw@chromium.org's avatar
      2011-01-21 Levi Weintraub <leviw@chromium.org> · 2ea38bbf
      leviw@chromium.org authored
              Reviewed by Darin Adler.
      
              Adding border and padding to the calculation of the local caret rect for RenderBoxes.
      
              Undo moves caret to invalid position
              https://bugs.webkit.org/show_bug.cgi?id=49744
      
              Tests: editing/selection/caret-painting-after-paste-undo-rtl.html
                     editing/selection/caret-painting-after-paste-undo.html
      
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::localCaretRect):
      2011-01-21  Levi Weintraub  <leviw@chromium.org>
      
              Reviewed by Darin Adler.
      
              Updating the expected result for 5408255 and adding tests for caret positioning at the
              beginning and end of RenderBoxes.
      
              Undo moves caret to invalid position
              https://bugs.webkit.org/show_bug.cgi?id=49744
      
              * editing/selection/caret-painting-after-paste-undo-rtl.html: Added.
              * editing/selection/caret-painting-after-paste-undo.html: Added.
              * platform/mac/editing/deleting/5408255-expected.checksum:
              * platform/mac/editing/deleting/5408255-expected.png:
              * platform/mac/editing/selection/caret-painting-after-paste-undo-expected.checksum: Added.
              * platform/mac/editing/selection/caret-painting-after-paste-undo-expected.png: Added.
              * platform/mac/editing/selection/caret-painting-after-paste-undo-expected.txt: Added.
              * platform/mac/editing/selection/caret-painting-after-paste-undo-rtl-expected.checksum: Added.
              * platform/mac/editing/selection/caret-painting-after-paste-undo-rtl-expected.png: Added.
              * platform/mac/editing/selection/caret-painting-after-paste-undo-rtl-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76625 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2ea38bbf
    • weinig@apple.com's avatar
      2011-01-25 Sam Weinig <sam@webkit.org> · 7e6de6b9
      weinig@apple.com authored
              Reviewed by Anders Carlsson.
      
              Add hasPreciseScrollingDeltas bit to PlatformWheelEvent on the Mac.
              https://bugs.webkit.org/show_bug.cgi?id=53107
      
              * platform/PlatformWheelEvent.h:
              (WebCore::PlatformWheelEvent::PlatformWheelEvent):
              (WebCore::PlatformWheelEvent::hasPreciseScrollingDeltas):
              * platform/mac/WheelEventMac.mm:
              (WebCore::PlatformWheelEvent::PlatformWheelEvent):
      2011-01-25  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Anders Carlsson.
      
              Add hasPreciseScrollingDeltas bit to PlatformWheelEvent on the Mac.
              https://bugs.webkit.org/show_bug.cgi?id=53107
      
              * Shared/WebEvent.h:
              (WebKit::WebWheelEvent::hasPreciseScrollingDeltas):
              * Shared/WebEventConversion.cpp:
              (WebKit::WebKit2PlatformWheelEvent::WebKit2PlatformWheelEvent):
              * Shared/WebWheelEvent.cpp:
              (WebKit::WebWheelEvent::WebWheelEvent):
              * Shared/mac/WebEventFactory.mm:
              (WebKit::WebEventFactory::createWebWheelEvent):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e6de6b9
    • jer.noble@apple.com's avatar
      2011-01-20 Jer Noble <jer.noble@apple.com> · 1a9f042d
      jer.noble@apple.com authored
              Reviewed by Eric Carlson.
      
              REGRESSION (r72119): Audio never plays on Star Wars intro animation
              https://bugs.webkit.org/show_bug.cgi?id=52467
      
              Test the ability to read audio/m4a files.  Disabled this new test
              on the chromium and qt platforms, as they do not support M4A/AAC.
      
              * media/audio-mpeg4-supported-expected.txt: Added.
              * media/audio-mpeg4-supported.html: Added.
              * media/content/silence.m4a: Added.
              * platform/chromium/test_expectations.txt:
              * platform/qt/Skipped:
      2011-01-20  Jer Noble  <jer.noble@apple.com>
      
              Reviewed by Eric Carlson.
      
              REGRESSION (r72119): Audio never plays on Star Wars intro animation
              https://bugs.webkit.org/show_bug.cgi?id=52467
      
              QuickTime's eat/m4a movie importer compontent doesn't list audio/m4a as a mime
              type which it supports, though it handles .m4a files just fine.  Change the way
              we build the list of supported MIME Types through a new WebKitSystemInterface
              function.
      
              Caused by r72119, which adds system-specific extension->MIME entries to the cache
              before global entries, and the system-specific entries include QuickTime's registry
              entries which contain the audio/m4a MIME type, while its components do not.
      
              Test: media/audio-mpeg4-supported.html
      
              * WebCore.vcproj/QTMovieWinCommon.vsprops:
              * platform/graphics/win/QTMovie.cpp:
              (getMIMETypeCallBack):
              (initializeSupportedTypes):
              (QTMovie::countSupportedTypes): gSupportedTypes is now a CFArrayRef.
              (QTMovie::getSupportedType): Ditto.
      2011-01-24  Jer Noble  <jer.noble@apple.com>
      
              Reviewed by Eric Carlson.
      
              REGRESSION (r72119): Audio never plays on Star Wars intro animation
              https://bugs.webkit.org/show_bug.cgi?id=52467
      
              Add wkGetQuickTimeMIMETypeList() function.
      
              * win/include/WebKitSystemInterface/WebKitSystemInterface.h:
              * win/lib/WebKitSystemInterface.lib:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a9f042d
    • hans@chromium.org's avatar
      2011-01-25 Hans Wennborg <hans@chromium.org> · d10d6685
      hans@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              IndexedDB: Remove PlatformBridge::idbShutdown()
              https://bugs.webkit.org/show_bug.cgi?id=53077
      
              Since Chromium r72157, this is not used anymore. The previous use was
              to signal to the embedder that IndexedDB was shutting down, but we
              agreed it is better if the embedder keeps track of that itself.
      
              No new tests: this does not change any functionality.
      
              * platform/chromium/PlatformBridge.h:
              * storage/IDBFactoryBackendInterface.cpp:
              * storage/IDBFactoryBackendInterface.h:
              (WebCore::IDBFactoryBackendInterface::~IDBFactoryBackendInterface):
              * storage/chromium/IDBFactoryBackendInterface.cpp:
      2011-01-25  Hans Wennborg  <hans@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              IndexedDB: Remove PlatformBridge::idbShutdown()
              https://bugs.webkit.org/show_bug.cgi?id=53077
      
              Since Chromium r72157, this is not used anymore. Chromium keeps track
              of when it shuts down IndexedDB itself.
      
              * public/WebKitClient.h:
              * src/PlatformBridge.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d10d6685
    • darin@apple.com's avatar
      2011-01-25 Darin Adler <darin@apple.com> · c58ff503
      darin@apple.com authored
              Reviewed by Anders Carlsson.
      
              WebKit is using CSBackupSetItemExcluded incorrectly
              https://bugs.webkit.org/show_bug.cgi?id=53095
              rdar://problem/8790540
      
              * Misc/WebIconDatabase.mm:
              (importToWebCoreFormat): Removed code that was calling CSBackupSetItemExcluded.
              It was incorrect, and this responsibility has been moved to WebCore.
      2011-01-25  Darin Adler  <darin@apple.com>
      
              Reviewed by Anders Carlsson.
      
              WebKit is using CSBackupSetItemExcluded incorrectly
              https://bugs.webkit.org/show_bug.cgi?id=53095
              rdar://problem/8790540
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::performOpenInitialization): Added code to
              exclude the database from backup one time, and record inside the
              database that this has been done.
              (WebCore::IconDatabase::wasExcludedFromBackup): Added.
              (WebCore::IconDatabase::setWasExcludedFromBackup): Added.
              * loader/icon/IconDatabase.h: Added new functions above.
      
              * platform/FileSystem.cpp:
              (WebCore::canExcludeFromBackup): Added.
              (WebCore::excludeFromBackup): Added.
      
              * platform/FileSystem.h: Added canExcludeFromBackup, excludeFromBackup,
              and pathAsURL functions. Cleaned up ifdefs and comments a bit and sorted
              things alphabetically, particularly platform-specific sections.
      
              * platform/cf/FileSystemCF.cpp:
              (WebCore::pathAsURL): Added.
      
              * platform/mac/FileSystemMac.mm:
              (WebCore::canExcludeFromBackup): Added.
              (WebCore::excludeFromBackup): Added.
      
              * platform/network/cf/FormDataStreamCFNet.cpp:
              (WebCore::advanceCurrentStream): Changed to call pathAsURL.
              * platform/network/mac/FormDataStreamMac.mm:
              (WebCore::advanceCurrentStream): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c58ff503
    • commit-queue@webkit.org's avatar
      2011-01-25 Helder Correia <helder@sencha.com> · 7c90805c
      commit-queue@webkit.org authored
              Reviewed by Dirk Schulze.
      
              REGRESSION(75139): SVG gradients are not applied to texts
              https://bugs.webkit.org/show_bug.cgi?id=52531
      
              CGContextConcatCTM should use the CGLayer context, not the
              GraphicsContext. Also, the CTM needs to be adjusted (translated).
              This fixes SVG text gradient fill.
      
              Test: svg/css/composite-shadow-text.svg
      
              * platform/graphics/cg/GraphicsContextCG.cpp:
              (WebCore::GraphicsContext::fillRect):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c90805c
    • commit-queue@webkit.org's avatar
      2011-01-25 Benjamin Kalman <kalman@chromium.org> · 8043268f
      commit-queue@webkit.org authored
              Reviewed by Ryosuke Niwa.
      
              Cannot extend or modify forward by word over a non-contenteditable region
              https://bugs.webkit.org/show_bug.cgi?id=53070
      
              Add regression test.
      
              * editing/selection/extend-forward-by-word-over-non-editable-expected.txt: Added.
              * editing/selection/extend-forward-by-word-over-non-editable.html: Added.
      2011-01-25  Benjamin Kalman  <kalman@chromium.org>
      
              Reviewed by Ryosuke Niwa.
      
              Cannot extend or modify forward by word over a non-contenteditable region
              https://bugs.webkit.org/show_bug.cgi?id=53070
      
              Test: editing/selection/extend-forward-by-word-over-non-editable.html
      
              Change all instances of honorEditableBoundaryAtOrAfter to honorEditableBoundaryAtOrBefore and vice versa in the
              functions which determine the end/start of words/lines/sentences in visible_units.cpp.
      
              This fixes the bug where moving forwards by a word over a non-contenteditable region would place the cursor
              inside that region, and then get moved back to the start of the word due to honorEditableBoundaryAtOrBefore.
              The cursor is now moved to the end of the region (which is effectively a noop in this case).
      
              * editing/visible_units.cpp: Change all instances of honorEditableBoundaryAtOrAfter to
              honorEditableBoundaryAtOrBefore and vice versa.
              (WebCore::previousWordPosition):
              (WebCore::nextWordPosition):
              (WebCore::startOfLine):
              (WebCore::endOfLine):
              (WebCore::previousSentencePosition):
              (WebCore::nextSentencePosition):
              (WebCore::logicalStartOfLine):
              (WebCore::logicalEndOfLine):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8043268f
    • yael.aharon@nokia.com's avatar
      Unreviewed build fix. · b8dd8435
      yael.aharon@nokia.com authored
      After r76466, efsrv.lib is used unconditionally.
      Don't guard it with ENABLE_NETSCAPE_PLUGIN_API.
      
      * WebCore.pro:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8dd8435
    • zmo@google.com's avatar
      2011-01-24 Zhenyao Mo <zmo@google.com> · 6fefd21f
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              Style cleanup for WebGLRenderingContext
              https://bugs.webkit.org/show_bug.cgi?id=52352
      
              * html/canvas/WebGLBuffer.cpp:
              * html/canvas/WebGLBuffer.h:
              * html/canvas/WebGLObject.cpp:
              * html/canvas/WebGLProgram.cpp:
              * html/canvas/WebGLRenderbuffer.cpp:
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::create):
              (WebCore::WebGLRenderingContext::blendFunc):
              (WebCore::WebGLRenderingContext::createShader):
              (WebCore::WebGLRenderingContext::deleteBuffer):
              (WebCore::WebGLRenderingContext::deleteShader):
              (WebCore::WebGLRenderingContext::deleteTexture):
              (WebCore::WebGLRenderingContext::disableVertexAttribArray):
              (WebCore::WebGLRenderingContext::validateIndexArrayPrecise):
              (WebCore::WebGLRenderingContext::validateRenderingState):
              (WebCore::WebGLRenderingContext::enableVertexAttribArray):
              (WebCore::WebGLRenderingContext::getUniform):
              (WebCore::WebGLRenderingContext::detachAndRemoveAllObjects):
              * html/canvas/WebGLRenderingContext.h:
              * html/canvas/WebGLShader.cpp:
              * html/canvas/WebGLTexture.cpp:
              * html/canvas/WebGLUniformLocation.cpp:
              * html/canvas/WebGLUniformLocation.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fefd21f
    • zmo@google.com's avatar
      2011-01-24 Chris Marrin <cmarrin@apple.com> · 906abb4a
      zmo@google.com authored
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * Configurations/FeatureDefines.xcconfig:
              * DerivedSources.cpp:
              * GNUmakefile.am:
              * WebCore.pro:
              * bindings/generic/RuntimeEnabledFeatures.h:
              * bindings/js/JSArrayBufferCustom.cpp:
              * bindings/js/JSCanvasRenderingContextCustom.cpp:
              (WebCore::toJS):
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDataViewCustom.cpp:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/JSFloat32ArrayCustom.cpp:
              * bindings/js/JSHTMLCanvasElementCustom.cpp:
              (WebCore::JSHTMLCanvasElement::getContext):
              * bindings/js/JSInt16ArrayCustom.cpp:
              * bindings/js/JSInt32ArrayCustom.cpp:
              * bindings/js/JSInt8ArrayCustom.cpp:
              * bindings/js/JSUint16ArrayCustom.cpp:
              * bindings/js/JSUint32ArrayCustom.cpp:
              * bindings/js/JSUint8ArrayCustom.cpp:
              * bindings/js/JSWebGLRenderingContextCustom.cpp:
              * bindings/js/JSXMLHttpRequestCustom.cpp:
              (WebCore::JSXMLHttpRequest::markChildren):
              (WebCore::JSXMLHttpRequest::send):
              (WebCore::JSXMLHttpRequest::response):
              * bindings/v8/custom/V8ArrayBufferCustom.cpp:
              * bindings/v8/custom/V8ArrayBufferViewCustom.h:
              * bindings/v8/custom/V8DataViewCustom.cpp:
              * bindings/v8/custom/V8DocumentCustom.cpp:
              (WebCore::V8Document::getCSSCanvasContextCallback):
              * bindings/v8/custom/V8Float32ArrayCustom.cpp:
              * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
              (WebCore::V8HTMLCanvasElement::getContextCallback):
              * bindings/v8/custom/V8Int16ArrayCustom.cpp:
              * bindings/v8/custom/V8Int32ArrayCustom.cpp:
              * bindings/v8/custom/V8Int8ArrayCustom.cpp:
              * bindings/v8/custom/V8Uint16ArrayCustom.cpp:
              * bindings/v8/custom/V8Uint32ArrayCustom.cpp:
              * bindings/v8/custom/V8Uint8ArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
              * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
              (WebCore::V8XMLHttpRequest::responseAccessorGetter):
              (WebCore::V8XMLHttpRequest::sendCallback):
              * features.pri:
              * html/HTMLCanvasElement.cpp:
              (WebCore::HTMLCanvasElement::getContext):
              (WebCore::HTMLCanvasElement::reset):
              * html/HTMLCanvasElement.h:
              * html/canvas/ArrayBuffer.cpp:
              * html/canvas/ArrayBuffer.idl:
              * html/canvas/ArrayBufferView.cpp:
              * html/canvas/ArrayBufferView.idl:
              * html/canvas/DataView.cpp:
              * html/canvas/DataView.idl:
              * html/canvas/Float32Array.cpp:
              * html/canvas/Float32Array.idl:
              * html/canvas/Int16Array.cpp:
              * html/canvas/Int16Array.idl:
              * html/canvas/Int32Array.cpp:
              * html/canvas/Int32Array.idl:
              * html/canvas/Int8Array.cpp:
              * html/canvas/Int8Array.idl:
              * html/canvas/OESStandardDerivatives.cpp:
              * html/canvas/OESStandardDerivatives.idl:
              * html/canvas/OESTextureFloat.cpp:
              * html/canvas/OESTextureFloat.idl:
              * html/canvas/Uint16Array.cpp:
              * html/canvas/Uint16Array.idl:
              * html/canvas/Uint32Array.cpp:
              * html/canvas/Uint32Array.idl:
              * html/canvas/Uint8Array.cpp:
              * html/canvas/Uint8Array.idl:
              * html/canvas/WebGLActiveInfo.idl:
              * html/canvas/WebGLBuffer.cpp:
              * html/canvas/WebGLBuffer.idl:
              * html/canvas/WebGLContextAttributes.cpp:
              * html/canvas/WebGLContextAttributes.idl:
              * html/canvas/WebGLContextEvent.idl:
              * html/canvas/WebGLExtension.cpp:
              * html/canvas/WebGLFramebuffer.cpp:
              * html/canvas/WebGLFramebuffer.idl:
              * html/canvas/WebGLGetInfo.cpp:
              * html/canvas/WebGLObject.cpp:
              * html/canvas/WebGLProgram.cpp:
              * html/canvas/WebGLProgram.idl:
              * html/canvas/WebGLRenderbuffer.cpp:
              * html/canvas/WebGLRenderbuffer.idl:
              * html/canvas/WebGLRenderingContext.cpp:
              * html/canvas/WebGLRenderingContext.idl:
              * html/canvas/WebGLShader.cpp:
              * html/canvas/WebGLShader.idl:
              * html/canvas/WebGLTexture.cpp:
              * html/canvas/WebGLTexture.idl:
              * html/canvas/WebGLUniformLocation.cpp:
              * html/canvas/WebGLUniformLocation.idl:
              * html/canvas/WebKitLoseContext.cpp:
              * html/canvas/WebKitLoseContext.idl:
              * page/DOMWindow.idl:
              * platform/graphics/ANGLEWebKitBridge.cpp:
              * platform/graphics/GraphicsContext3D.cpp:
              * platform/graphics/cg/GraphicsContext3DCG.cpp:
              * platform/graphics/gpu/DrawingBuffer.cpp:
              * platform/graphics/gpu/mac/DrawingBufferMac.mm:
              * platform/graphics/mac/GraphicsContext3DMac.mm:
              * platform/graphics/mac/WebGLLayer.mm:
              * platform/graphics/opengl/Extensions3DOpenGL.cpp:
              * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
              * platform/graphics/qt/Extensions3DQt.cpp:
              * platform/graphics/qt/GraphicsContext3DQt.cpp:
              * platform/graphics/qt/GraphicsLayerQt.cpp:
              (WebCore::GraphicsLayerQtImpl::GraphicsLayerQtImpl):
              (WebCore::GraphicsLayerQtImpl::paint):
              (WebCore::GraphicsLayerQtImpl::flushChanges):
              * platform/graphics/qt/GraphicsLayerQt.h:
              * platform/graphics/skia/GraphicsContext3DSkia.cpp:
              * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
              * rendering/RenderLayerBacking.cpp:
              (WebCore::isAcceleratedCanvas):
              (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):
              (WebCore::RenderLayerBacking::containsPaintedContent):
              (WebCore::RenderLayerBacking::contentChanged):
              * webaudio/AudioBuffer.cpp:
              * webaudio/AudioBuffer.idl:
              * webaudio/RealtimeAnalyser.cpp:
              * webaudio/RealtimeAnalyser.h:
              * webaudio/RealtimeAnalyserNode.h:
              * webaudio/RealtimeAnalyserNode.idl:
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::setResponseType):
              (WebCore::XMLHttpRequest::clearResponse):
              (WebCore::XMLHttpRequest::didReceiveData):
              * xml/XMLHttpRequest.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      906abb4a
    • cmarrin@apple.com's avatar
      2011-01-24 Chris Marrin <cmarrin@apple.com> · 8b28bbc8
      cmarrin@apple.com authored
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * configure.ac:
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * Configurations/FeatureDefines.xcconfig:
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * WebKit.gyp:
              * features.gypi:
              * src/Extensions3DChromium.cpp:
              * src/GraphicsContext3DChromium.cpp:
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableWebGL):
              (WebKit::WebRuntimeFeatures::isWebGLEnabled):
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * Api/qwebsettings.cpp:
              (QWebSettingsPrivate::apply):
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * WebView.cpp:
              (WebView::notifyPreferencesChanged):
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * Configurations/FeatureDefines.xcconfig:
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * Configurations/FeatureDefines.xcconfig:
              * DerivedSources.cpp:
              * GNUmakefile.am:
              * WebCore.pro:
              * bindings/generic/RuntimeEnabledFeatures.h:
              * bindings/js/JSArrayBufferCustom.cpp:
              * bindings/js/JSCanvasRenderingContextCustom.cpp:
              (WebCore::toJS):
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDataViewCustom.cpp:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/JSFloat32ArrayCustom.cpp:
              * bindings/js/JSHTMLCanvasElementCustom.cpp:
              (WebCore::JSHTMLCanvasElement::getContext):
              * bindings/js/JSInt16ArrayCustom.cpp:
              * bindings/js/JSInt32ArrayCustom.cpp:
              * bindings/js/JSInt8ArrayCustom.cpp:
              * bindings/js/JSUint16ArrayCustom.cpp:
              * bindings/js/JSUint32ArrayCustom.cpp:
              * bindings/js/JSUint8ArrayCustom.cpp:
              * bindings/js/JSWebGLRenderingContextCustom.cpp:
              * bindings/js/JSXMLHttpRequestCustom.cpp:
              (WebCore::JSXMLHttpRequest::markChildren):
              (WebCore::JSXMLHttpRequest::send):
              (WebCore::JSXMLHttpRequest::response):
              * bindings/v8/custom/V8ArrayBufferCustom.cpp:
              * bindings/v8/custom/V8ArrayBufferViewCustom.h:
              * bindings/v8/custom/V8DataViewCustom.cpp:
              * bindings/v8/custom/V8DocumentCustom.cpp:
              (WebCore::V8Document::getCSSCanvasContextCallback):
              * bindings/v8/custom/V8Float32ArrayCustom.cpp:
              * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
              (WebCore::V8HTMLCanvasElement::getContextCallback):
              * bindings/v8/custom/V8Int16ArrayCustom.cpp:
              * bindings/v8/custom/V8Int32ArrayCustom.cpp:
              * bindings/v8/custom/V8Int8ArrayCustom.cpp:
              * bindings/v8/custom/V8Uint16ArrayCustom.cpp:
              * bindings/v8/custom/V8Uint32ArrayCustom.cpp:
              * bindings/v8/custom/V8Uint8ArrayCustom.cpp:
              * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
              * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
              (WebCore::V8XMLHttpRequest::responseAccessorGetter):
              (WebCore::V8XMLHttpRequest::sendCallback):
              * features.pri:
              * html/HTMLCanvasElement.cpp:
              (WebCore::HTMLCanvasElement::getContext):
              (WebCore::HTMLCanvasElement::reset):
              * html/HTMLCanvasElement.h:
              * html/canvas/ArrayBuffer.cpp:
              * html/canvas/ArrayBuffer.idl:
              * html/canvas/ArrayBufferView.cpp:
              * html/canvas/ArrayBufferView.idl:
              * html/canvas/DataView.cpp:
              * html/canvas/DataView.idl:
              * html/canvas/Float32Array.cpp:
              * html/canvas/Float32Array.idl:
              * html/canvas/Int16Array.cpp:
              * html/canvas/Int16Array.idl:
              * html/canvas/Int32Array.cpp:
              * html/canvas/Int32Array.idl:
              * html/canvas/Int8Array.cpp:
              * html/canvas/Int8Array.idl:
              * html/canvas/OESStandardDerivatives.cpp:
              * html/canvas/OESStandardDerivatives.idl:
              * html/canvas/OESTextureFloat.cpp:
              * html/canvas/OESTextureFloat.idl:
              * html/canvas/Uint16Array.cpp:
              * html/canvas/Uint16Array.idl:
              * html/canvas/Uint32Array.cpp:
              * html/canvas/Uint32Array.idl:
              * html/canvas/Uint8Array.cpp:
              * html/canvas/Uint8Array.idl:
              * html/canvas/WebGLActiveInfo.idl:
              * html/canvas/WebGLBuffer.cpp:
              * html/canvas/WebGLBuffer.idl:
              * html/canvas/WebGLContextAttributes.cpp:
              * html/canvas/WebGLContextAttributes.idl:
              * html/canvas/WebGLContextEvent.idl:
              * html/canvas/WebGLExtension.cpp:
              * html/canvas/WebGLFramebuffer.cpp:
              * html/canvas/WebGLFramebuffer.idl:
              * html/canvas/WebGLGetInfo.cpp:
              * html/canvas/WebGLObject.cpp:
              * html/canvas/WebGLProgram.cpp:
              * html/canvas/WebGLProgram.idl:
              * html/canvas/WebGLRenderbuffer.cpp:
              * html/canvas/WebGLRenderbuffer.idl:
              * html/canvas/WebGLRenderingContext.cpp:
              * html/canvas/WebGLRenderingContext.idl:
              * html/canvas/WebGLShader.cpp:
              * html/canvas/WebGLShader.idl:
              * html/canvas/WebGLTexture.cpp:
              * html/canvas/WebGLTexture.idl:
              * html/canvas/WebGLUniformLocation.cpp:
              * html/canvas/WebGLUniformLocation.idl:
              * html/canvas/WebKitLoseContext.cpp:
              * html/canvas/WebKitLoseContext.idl:
              * page/DOMWindow.idl:
              * platform/graphics/ANGLEWebKitBridge.cpp:
              * platform/graphics/GraphicsContext3D.cpp:
              * platform/graphics/cg/GraphicsContext3DCG.cpp:
              * platform/graphics/gpu/DrawingBuffer.cpp:
              * platform/graphics/gpu/mac/DrawingBufferMac.mm:
              * platform/graphics/mac/GraphicsContext3DMac.mm:
              * platform/graphics/mac/WebGLLayer.mm:
              * platform/graphics/opengl/Extensions3DOpenGL.cpp:
              * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
              * platform/graphics/qt/Extensions3DQt.cpp:
              * platform/graphics/qt/GraphicsContext3DQt.cpp:
              * platform/graphics/qt/GraphicsLayerQt.cpp:
              (WebCore::GraphicsLayerQtImpl::GraphicsLayerQtImpl):
              (WebCore::GraphicsLayerQtImpl::paint):
              (WebCore::GraphicsLayerQtImpl::flushChanges):
              * platform/graphics/qt/GraphicsLayerQt.h:
              * platform/graphics/skia/GraphicsContext3DSkia.cpp:
              * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
              * rendering/RenderLayerBacking.cpp:
              (WebCore::isAcceleratedCanvas):
              (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):
              (WebCore::RenderLayerBacking::containsPaintedContent):
              (WebCore::RenderLayerBacking::contentChanged):
              * webaudio/AudioBuffer.cpp:
              * webaudio/AudioBuffer.idl:
              * webaudio/RealtimeAnalyser.cpp:
              * webaudio/RealtimeAnalyser.h:
              * webaudio/RealtimeAnalyserNode.h:
              * webaudio/RealtimeAnalyserNode.idl:
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::setResponseType):
              (WebCore::XMLHttpRequest::clearResponse):
              (WebCore::XMLHttpRequest::didReceiveData):
              * xml/XMLHttpRequest.h:
      2011-01-24  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Eric Seidel.
      
              Change ENABLE_3D_CANVAS to ENABLE_WEBGL
              https://bugs.webkit.org/show_bug.cgi?id=53041
      
              * Configurations/FeatureDefines.xcconfig:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b28bbc8
    • mnaganov@chromium.org's avatar
      2011-01-25 Mikhail Naganov <mnaganov@chromium.org> · 8d2d9a40
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Prepare for landing of detailed heap snapshots.
      
              - Introduce Preferences.detailedHeapProfiles flag for controlling
                querying of detailed heap snapshots.
              - Add boilerplate code for the new view.
              - Factor out common code.
      
              https://bugs.webkit.org/show_bug.cgi?id=52624
      
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/ScriptProfiler.h:
              (WebCore::ScriptProfiler::HeapSnapshotControl::~HeapSnapshotControl):
              (WebCore::ScriptProfiler::takeHeapSnapshot):
              * bindings/v8/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::takeHeapSnapshot):
              * bindings/v8/ScriptProfiler.h:
              (WebCore::ScriptProfiler::HeapSnapshotControl::~HeapSnapshotControl):
              * inspector/Inspector.idl:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::takeHeapSnapshot):
              * inspector/InspectorProfilerAgent.h:
              * inspector/front-end/DetailedHeapshotView.js: Added.
              (WebInspector.DetailedHeapshotView):
              (WebInspector.DetailedHeapshotView.prototype.get statusBarItems):
              (WebInspector.DetailedHeapshotView.prototype.get profile):
              (WebInspector.DetailedHeapshotView.prototype.set profile):
              (WebInspector.DetailedHeapshotView.prototype.show):
              (WebInspector.DetailedHeapshotView.prototype.hide):
              (WebInspector.DetailedHeapshotProfileType):
              (WebInspector.DetailedHeapshotProfileType.prototype.get buttonTooltip):
              (WebInspector.DetailedHeapshotProfileType.prototype.get buttonStyle):
              (WebInspector.DetailedHeapshotProfileType.prototype.buttonClicked):
              (WebInspector.DetailedHeapshotProfileType.prototype.get welcomeMessage):
              (WebInspector.DetailedHeapshotProfileType.prototype.createSidebarTreeElementForProfile):
              (WebInspector.DetailedHeapshotProfileType.prototype.createView):
              * inspector/front-end/HeapSnapshot.js: Added.
              (WebInspector.HeapSnapshotEdgesIterator):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get done):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get isElement):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get isHidden):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get name):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.next):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get node):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get nodeIndex):
              (WebInspector.HeapSnapshotEdgesIterator.prototype._getNameOrIndex):
              (WebInspector.HeapSnapshotEdgesIterator.prototype._getType):
              (WebInspector.HeapSnapshotNodeWrapper):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get edges):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get edgesCount):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get instancesCount):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get isHidden):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get name):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get selfSize):
              (WebInspector.HeapSnapshotNodeWrapper.prototype._getName):
              (WebInspector.HeapSnapshotNodeWrapper.prototype._getEdges):
              (WebInspector.HeapSnapshotNodeWrapper.prototype._getType):
              (WebInspector.HeapSnapshot):
              (WebInspector.HeapSnapshot.prototype._init):
              (WebInspector.HeapSnapshot.prototype.get rootEdges):
              * inspector/front-end/HeapSnapshotView.js:
              (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype._setRecordingProfile):
              (WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress):
              (WebInspector.ProfilerDispatcher.prototype.setRecordingProfile):
              (WebInspector.ProfilerDispatcher.prototype.reportHeapSnapshotProgress):
              * inspector/front-end/Settings.js:
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.html:
              * inspector/front-end/inspector.js:
              (WebInspector._createPanels):
              * src/js/DevTools.js:
              ():
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8d2d9a40
    • yurys@chromium.org's avatar
      2011-01-25 Yury Semikhatsky <yurys@chromium.org> · d8b7ab36
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: remove "attached" state related methods from InspectorAgent
              https://bugs.webkit.org/show_bug.cgi?id=53086
      
              * WebCore.exp.in:
              * inspector/InspectorAgent.cpp:
              * inspector/InspectorAgent.h:
              * inspector/InspectorFrontendClientLocal.cpp:
              (WebCore::InspectorFrontendClientLocal::changeAttachedWindowHeight):
              (WebCore::InspectorFrontendClientLocal::restoreAttachedWindowHeight):
              * inspector/InspectorSettings.cpp:
              (WebCore::InspectorSettings::InspectorSettings):
              * inspector/InspectorSettings.h:
      2011-01-25  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: remove "attached" state related methods from InspectorAgent
              https://bugs.webkit.org/show_bug.cgi?id=53086
      
              * WebCoreSupport/WebInspectorClientCF.cpp:
              (WebInspectorClient::sendMessageToFrontend):
              (WebInspectorClient::inspectorStartsAttached):
              (WebInspectorClient::setInspectorStartsAttached):
              (WebInspectorClient::releaseFrontendPage):
      2011-01-25  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: remove "attached" state related methods from InspectorAgent
              https://bugs.webkit.org/show_bug.cgi?id=53086
      
              * WebCoreSupport/WebInspectorClient.h:
              * WebCoreSupport/WebInspectorClient.mm:
              (-[WebInspectorWindowController showWindow:]):
              (-[WebInspectorWindowController attach]):
              (-[WebInspectorWindowController detach]):
      2011-01-25  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: remove "attached" state related methods from InspectorAgent
              https://bugs.webkit.org/show_bug.cgi?id=53086
      
              * WebCoreSupport/WebInspectorClient.cpp:
              (WebInspectorFrontendClient::attachWindow):
              (WebInspectorFrontendClient::detachWindow):
              (WebInspectorFrontendClient::showWindowWithoutNotifications):
              * WebCoreSupport/WebInspectorClient.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8b7ab36
    • commit-queue@webkit.org's avatar
      2011-01-25 Qi Zhang <qi.2.zhang@nokia.com> · 36b7f076
      commit-queue@webkit.org authored
              Reviewed by Laszlo Gombos.
      
              [Symbian] RVCT fails to compile [U|I]nt[8|16|32]Array.h
              https://bugs.webkit.org/show_bug.cgi?id=51873
      
              Replace the using declaration, because it doesn't compile on RVCT, and WINSCW has the same issue.
              No new functionality so no new tests.
      
              * html/canvas/Int32Array.h:
              (WebCore::Int32Array::set):
              * html/canvas/Int8Array.h:
              (WebCore::Int8Array::set):
              * html/canvas/Uint16Array.h:
              (WebCore::Uint16Array::set):
              * html/canvas/Uint32Array.h:
              (WebCore::Uint32Array::set):
              * html/canvas/Uint8Array.h:
              (WebCore::Uint8Array::set):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      36b7f076
    • zherczeg@webkit.org's avatar
      Repaint SVG elements with filter instead of relayout where possible · dde95236
      zherczeg@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=52200
      
      Reviewed by Dirk Schulze.
      
      This patch allows repainting of filters, when their
      attribute changes does not require relayout.
      
      Existing dynamic-update tests cover this feature.
      
      * platform/graphics/filters/FilterEffect.cpp:
      (WebCore::FilterEffect::clearResult): Clearing the currently stored image
      before repainting.
      * platform/graphics/filters/FilterEffect.h:
      * rendering/RenderObject.h:
      (WebCore::RenderObject::isSVGResourceFilter): Not only the filter primitives,
      but filters should also be detected to allow safe testing and casting.
      * rendering/svg/RenderSVGResourceFilter.cpp:
      (WebCore::RenderSVGResourceFilter::buildPrimitives): Passing the renderer.
      (WebCore::RenderSVGResourceFilter::applyResource):
      determineFilterPrimitiveSubregion does not require the filter anymore.
      (WebCore::RenderSVGResourceFilter::postApplyResource): Repaint
      if lastEffect->hasResult() is false.
      (WebCore::RenderSVGResourceFilter::primitiveAttributeChanged):
      Searching for all FilterEffects, whose created by the current FilterElement,
      and clearing all resulting images depending on those FilterEffects.
      * rendering/svg/RenderSVGResourceFilter.h:
      (WebCore::RenderSVGResourceFilter::isSVGResourceFilter):
      * rendering/svg/RenderSVGResourceFilterPrimitive.cpp:
      (WebCore::RenderSVGResourceFilterPrimitive::determineFilterPrimitiveSubregion):
      The filter argument is unnecessary anymore. But is is still kept as a static
      member, since the primitive renderer still does not know about the
      FilterEffect objects.
      * rendering/svg/RenderSVGResourceFilterPrimitive.h:
      (WebCore::RenderSVGResourceFilterPrimitive::RenderSVGResourceFilterPrimitive):
      (WebCore::RenderSVGResourceFilterPrimitive::primitiveAttributeChanged):
      Calls RenderSVGResourceFilter::primitiveAttributeChanged.
      * svg/SVGFEDiffuseLightingElement.cpp:
      (WebCore::SVGFEDiffuseLightingElement::setFilterEffectAttribute):
      Setting the new attribute value for each FilterEffect.
      (WebCore::SVGFEDiffuseLightingElement::svgAttributeChanged):
      * svg/SVGFEDiffuseLightingElement.h:
      Calling primitiveAttributeChanged.
      * svg/SVGFilterPrimitiveStandardAttributes.cpp:
      (WebCore::SVGFilterPrimitiveStandardAttributes::setFilterEffectAttribute):
      This function will be removed when all FilterElement implements
      their setFilterEffectAttribute
      * svg/SVGFilterPrimitiveStandardAttributes.h:
      (WebCore::SVGFilterPrimitiveStandardAttributes::primitiveAttributeChanged):
      * svg/graphics/filters/SVGFilterBuilder.cpp:
      (WebCore::SVGFilterBuilder::appendEffectToEffectReferences): The
      renderers are assigned to the filter effects.
      (WebCore::SVGFilterBuilder::clearEffects):
      (WebCore::SVGFilterBuilder::clearResultsRecursive): Recursively
      clearing the result images for those filters, whose depend on
      the starting filter.
      * svg/graphics/filters/SVGFilterBuilder.h:
      (WebCore::SVGFilterBuilder::effectReferences): 'get' is unnecessary
      (WebCore::SVGFilterBuilder::effectByRenderer): returns the
      FilterEffect belongs to this RenderObject.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dde95236
    • krit@webkit.org's avatar
      2011-01-25 Dirk Schulze <krit@webkit.org> · 3ca490b2
      krit@webkit.org authored
              Reviewed by Nikolas Zimmermann.
      
              SVG is missing to-animation support for Path
              https://bugs.webkit.org/show_bug.cgi?id=52982
      
              Added an animation test to check 'to' animations in combination with SVG paths.
      
              * svg/animations/animate-path-to-animation-expected.txt: Added.
              * svg/animations/animate-path-to-animation.html: Added.
              * svg/animations/script-tests/animate-path-to-animation.js: Added.
              (sample1):
              (sample2):
              (sample3):
              (executeTest):
      2011-01-25  Dirk Schulze  <krit@webkit.org>
      
              Reviewed by Nikolas Zimmermann.
      
              SVG is missing to-animation support for Path
              https://bugs.webkit.org/show_bug.cgi?id=52982
      
              SVG was missing 'to' animation support for SVG paths. Even the fallback to discrete
              animation did not work and an assert was thrown, because of the missing m_fromPath.
              This also influences a test of the W3C test suite. Subtest 2 of animate-elem-83-t.svg passes now.
      
              Test: svg/animations/animate-path-to-animation.html
      
              * svg/SVGAnimateElement.cpp:
              (WebCore::SVGAnimateElement::calculateAnimatedValue): Take the value of the last SVGAnimateElement for
              m_fromPath, since 'to' animations are accumulative.
              (WebCore::SVGAnimateElement::calculateFromAndToValues): Added support for 'to' animations.
              (WebCore::SVGAnimateElement::resetToBaseValue): Set m_animatedPath on the first animation element to baseVal.
              * svg/SVGPathByteStream.h:
              (WebCore::SVGPathByteStream::copySVGPathByteStream): Return copy of current byte stream.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76589 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ca490b2
    • pfeldman@chromium.org's avatar
      2011-01-25 Pavel Feldman <pfeldman@chromium.org> · 66d4804d
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: bind resources to URLs upon adding them into the tree.
              https://bugs.webkit.org/show_bug.cgi?id=53013
      
              * inspector/debugger-scripts-expected.txt:
              * inspector/debugger-scripts.html:
      2011-01-25  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: bind resources to URLs upon adding them into the tree.
              https://bugs.webkit.org/show_bug.cgi?id=53013
      
              * inspector/front-end/AuditRules.js:
              (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback.selectorsCallback):
              * inspector/front-end/CSSStyleModel.js:
              (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
              (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
              * inspector/front-end/DebuggerModel.js:
              (WebInspector.DebuggerModel.prototype._parsedScriptSource):
              * inspector/front-end/NetworkManager.js:
              (WebInspector.NetworkManager.prototype._processCachedResources):
              (WebInspector.NetworkManager.prototype.inflightResourceForURL):
              (WebInspector.NetworkDispatcher):
              (WebInspector.NetworkDispatcher.prototype.willSendRequest):
              (WebInspector.NetworkDispatcher.prototype.markResourceAsCached):
              (WebInspector.NetworkDispatcher.prototype.didReceiveResponse):
              (WebInspector.NetworkDispatcher.prototype.didReceiveContentLength):
              (WebInspector.NetworkDispatcher.prototype.didFinishLoading):
              (WebInspector.NetworkDispatcher.prototype.didFailLoading):
              (WebInspector.NetworkDispatcher.prototype.willSendWebSocketHandshakeRequest):
              (WebInspector.NetworkDispatcher.prototype.didReceiveWebSocketHandshakeResponse):
              (WebInspector.NetworkDispatcher.prototype.didCloseWebSocket):
              (WebInspector.NetworkDispatcher.prototype._appendRedirect):
              (WebInspector.NetworkDispatcher.prototype._startResource):
              (WebInspector.NetworkDispatcher.prototype._finishResource):
              (WebInspector.NetworkDispatcher.prototype._createResource):
              * inspector/front-end/ResourceTreeModel.js:
              (WebInspector.ResourceTreeModel.prototype.addResourceToFrame):
              (WebInspector.ResourceTreeModel.prototype._bindResourceURL):
              (WebInspector.ResourceTreeModel.prototype._clearResources):
              (WebInspector.ResourceTreeModel.prototype._unbindResourceURL):
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel.prototype.canShowSourceLine):
              (WebInspector.ResourcesPanel.prototype.showSourceLine):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype._parsedScriptSource):
              (WebInspector.ScriptsPanel.prototype._addScript):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66d4804d
    • zimmermann@webkit.org's avatar
      2011-01-25 Nikolas Zimmermann <nzimmermann@rim.com> · 95ccc61b
      zimmermann@webkit.org authored
              Reviewed by Dirk Schulze.
      
              Introduce FontMetrics abstraction
              https://bugs.webkit.org/show_bug.cgi?id=51456
      
              Use accurate floating-point metrics for SVG Font calculations instead of casting float -> integer.
              This hopefully fixes differences between 32/64 bit bots.
      
              Needs new layout test results for several platforms, which need to be taken from the bots landing afterwards.
      
              * platform/graphics/SimpleFontData.cpp:
              (WebCore::SimpleFontData::SimpleFontData):
              (WebCore::SimpleFontData::initCharWidths):
      
      2011-01-25  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Dirk Schulze.
      
              Introduce FontMetrics abstraction
              https://bugs.webkit.org/show_bug.cgi?id=51456
      
              Update mac/mac-leopard pixel baseline after removing the float -> int truncation in the SVG Fonts ascent/descent calculation code.
      
              * platform/gtk/Skipped: Unskip several tests.
              * platform/mac-leopard/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.checksum:
              * platform/mac-leopard/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
              * platform/mac-leopard/svg/batik/text/textEffect-expected.checksum:
              * platform/mac-leopard/svg/batik/text/textEffect-expected.png:
              * platform/mac-leopard/svg/batik/text/textEffect3-expected.checksum:
              * platform/mac-leopard/svg/batik/text/textEffect3-expected.png:
              * platform/mac-leopard/svg/custom/svg-fonts-in-html-expected.checksum:
              * platform/mac-leopard/svg/custom/svg-fonts-in-html-expected.png:
              * platform/mac-leopard/svg/custom/svg-fonts-with-no-element-reference-expected.checksum:
              * platform/mac-leopard/svg/custom/svg-fonts-with-no-element-reference-expected.png:
              * platform/mac-leopard/svg/custom/svg-fonts-without-missing-glyph-expected.checksum:
              * platform/mac-leopard/svg/custom/svg-fonts-without-missing-glyph-expected.png:
              * platform/mac-leopard/svg/text/text-text-05-t-expected.checksum:
              * platform/mac-leopard/svg/text/text-text-05-t-expected.png:
              * platform/mac-leopard/svg/text/text-text-06-t-expected.checksum:
              * platform/mac-leopard/svg/text/text-text-06-t-expected.png:
              * platform/mac/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png:
              * platform/mac/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.png:
              * platform/mac/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1/text-text-05-t-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1/text-text-06-t-expected.txt:
              * platform/mac/svg/batik/text/textEffect-expected.txt:
              * platform/mac/svg/batik/text/textEffect3-expected.txt:
              * platform/mac/svg/batik/text/textPosition2-expected.png:
              * platform/mac/svg/batik/text/textPosition2-expected.txt:
              * platform/mac/svg/custom/svg-fonts-in-html-expected.txt:
              * platform/mac/svg/custom/svg-fonts-with-no-element-reference-expected.txt:
              * platform/mac/svg/custom/svg-fonts-without-missing-glyph-expected.txt:
              * platform/mac/svg/text/text-text-05-t-expected.txt:
              * platform/mac/svg/text/text-text-06-t-expected.txt:
              * svg/custom/glyph-transformation-with-hkern-expected.txt:
      -This line, and those below, will be ignored--
      
      M    LayoutTests/platform/mac-leopard/svg/text/text-text-05-t-expected.checksum
      M    LayoutTests/platform/mac-leopard/svg/text/text-text-06-t-expected.checksum
      M    LayoutTests/platform/mac-leopard/svg/text/text-text-05-t-expected.png
      M    LayoutTests/platform/mac-leopard/svg/text/text-text-06-t-expected.png
      M    LayoutTests/platform/mac-leopard/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png
      M    LayoutTests/platform/mac-leopard/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.checksum
      M    LayoutTests/platform/mac-leopard/svg/batik/text/textEffect3-expected.checksum
      M    LayoutTests/platform/mac-leopard/svg/batik/text/textEffect-expected.checksum
      M    LayoutTests/platform/mac-leopard/svg/batik/text/textEffect-expected.png
      M    LayoutTests/platform/mac-leopard/svg/batik/text/textEffect3-expected.png
      M    LayoutTests/platform/mac-leopard/svg/custom/svg-fonts-without-missing-glyph-expected.png
      M    LayoutTests/platform/mac-leopard/svg/custom/svg-fonts-with-no-element-reference-expected.checksum
      M    LayoutTests/platform/mac-leopard/svg/custom/svg-fonts-in-html-expected.checksum
      M    LayoutTests/platform/mac-leopard/svg/custom/svg-fonts-without-missing-glyph-expected.checksum
      M    LayoutTests/platform/mac-leopard/svg/custom/svg-fonts-with-no-element-reference-expected.png
      M    LayoutTests/platform/mac-leopard/svg/custom/svg-fonts-in-html-expected.png
      M    LayoutTests/platform/mac/svg/text/text-text-06-t-expected.txt
      M    LayoutTests/platform/mac/svg/text/text-text-05-t-expected.txt
      M    LayoutTests/platform/mac/svg/W3C-SVG-1.1/text-text-05-t-expected.txt
      M    LayoutTests/platform/mac/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt
      M    LayoutTests/platform/mac/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt
      M    LayoutTests/platform/mac/svg/W3C-SVG-1.1/text-text-06-t-expected.txt
      M    LayoutTests/platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt
      M    LayoutTests/platform/mac/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png
      M    LayoutTests/platform/mac/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt
      M    LayoutTests/platform/mac/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.png
      M    LayoutTests/platform/mac/svg/batik/text/textEffect3-expected.txt
      M    LayoutTests/platform/mac/svg/batik/text/textPosition2-expected.png
      M    LayoutTests/platform/mac/svg/batik/text/textEffect-expected.txt
      M    LayoutTests/platform/mac/svg/batik/text/textPosition2-expected.txt
      M    LayoutTests/platform/mac/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.txt
      M    LayoutTests/platform/mac/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.txt
      M    LayoutTests/platform/mac/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.txt
      M    LayoutTests/platform/mac/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.txt
      M    LayoutTests/platform/mac/svg/custom/svg-fonts-in-html-expected.txt
      M    LayoutTests/platform/mac/svg/custom/svg-fonts-with-no-element-reference-expected.txt
      M    LayoutTests/platform/mac/svg/custom/svg-fonts-without-missing-glyph-expected.txt
      M    LayoutTests/platform/gtk/Skipped
      M    LayoutTests/ChangeLog
      M    LayoutTests/svg/custom/glyph-transformation-with-hkern-expected.txt
      M    Source/WebCore/ChangeLog
      M    Source/WebCore/platform/graphics/SimpleFontData.cpp
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95ccc61b
    • podivilov@chromium.org's avatar
      2011-01-24 Pavel Podivilov <podivilov@chromium.org> · 8496c91d
      podivilov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: debugger and browser debugger agents should manage sticky breakpoints independently.
              https://bugs.webkit.org/show_bug.cgi?id=52999
      
              * inspector/Inspector.idl:
              * inspector/InspectorAgent.cpp:
              (WebCore::InspectorAgent::didCommitLoad):
              (WebCore::InspectorAgent::enableDebugger):
              (WebCore::InspectorAgent::inspectedURLWithoutFragment):
              * inspector/InspectorAgent.h:
              * inspector/InspectorBrowserDebuggerAgent.cpp:
              (WebCore::InspectorBrowserDebuggerAgent::setAllBrowserBreakpoints):
              (WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged):
              (WebCore::InspectorBrowserDebuggerAgent::restoreStickyBreakpoint):
              * inspector/InspectorBrowserDebuggerAgent.h:
              * inspector/InspectorDebuggerAgent.cpp:
              (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
              (WebCore::InspectorDebuggerAgent::setAllJavaScriptBreakpoints):
              (WebCore::InspectorDebuggerAgent::inspectedURLChanged):
              (WebCore::InspectorDebuggerAgent::restoreBreakpoints):
              * inspector/InspectorDebuggerAgent.h:
              * inspector/InspectorState.cpp:
              (WebCore::InspectorState::InspectorState):
              * inspector/InspectorState.h:
              * inspector/front-end/BreakpointManager.js:
              (WebInspector.BreakpointManager):
              (WebInspector.BreakpointManager.prototype._projectChanged):
              (WebInspector.BreakpointManager.prototype._saveBreakpoints):
              (WebInspector.BreakpointManager.prototype._pushBreakpointsToBackend):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8496c91d
    • carlosgc@webkit.org's avatar
      2011-01-25 Carlos Garcia Campos <cgarcia@igalia.com> · 96982e93
      carlosgc@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Crash in some pages containing flash
              https://bugs.webkit.org/show_bug.cgi?id=53016
      
              Flash plugin can produce X errors that are handled by the GDK X
              error handler, which exits the process. Since we don't want to
              crash due to flash bugs, we install a custom error handler to show
              a warning when a X error happens without aborting.
      
              * plugins/gtk/PluginPackageGtk.cpp:
              (WebCore::webkitgtkXError):
              (WebCore::PluginPackage::load):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      96982e93
    • carlosgc@webkit.org's avatar
      2011-01-25 Carlos Garcia Campos <cgarcia@igalia.com> · eec7e801
      carlosgc@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Implement spin buttons in RenderThemeGtk
              https://bugs.webkit.org/show_bug.cgi?id=51454
      
              Paint inner up/down buttons for spin button elements when building
              with GTK+ 3.x.
      
              Test results will land with the GTK+ 2.x version of this patch.
      
              * platform/gtk/RenderThemeGtk.h:
              * platform/gtk/RenderThemeGtk2.cpp:
              (WebCore::RenderThemeGtk::adjustInnerSpinButtonStyle):
              (WebCore::RenderThemeGtk::paintInnerSpinButton):
              * platform/gtk/RenderThemeGtk3.cpp:
              (WebCore::spinButtonArrowSize):
              (WebCore::RenderThemeGtk::adjustInnerSpinButtonStyle):
              (WebCore::paintSpinArrowButton):
              (WebCore::RenderThemeGtk::paintInnerSpinButton):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eec7e801
  2. 24 Jan, 2011 19 commits
    • mihaip@chromium.org's avatar
      2011-01-24 Mihai Parparita <mihaip@chromium.org> · 62fa096e
      mihaip@chromium.org authored
              Unreviewed. Missed move of one m_deleted use to be outside NDEBUG block
              in r76575.
      
              * loader/cache/CachedResource.cpp:
              (WebCore::CachedResource::~CachedResource):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      62fa096e
    • mihaip@chromium.org's avatar
      2011-01-24 Mihai Parparita <mihaip@chromium.org> · c41a2e4a
      mihaip@chromium.org authored
              Reviewed by Tony Chang.
      
              Add runtime checks for invariants in memory cache
              https://bugs.webkit.org/show_bug.cgi?id=53059
      
              To help track down bug 53045, add some CRASH calls in addition to
              ASSERTs, so that we can track down failures in reliability bots.
      
              Just some checks, no new tests necessary.
      
              * css/CSSImageValue.cpp:
              (WebCore::CSSImageValue::cachedImage):
              * loader/cache/CachedResource.h:
              * loader/cache/CachedResource.cpp:
              (WebCore::CachedResource::~CachedResource):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c41a2e4a
    • simon.fraser@apple.com's avatar
      2011-01-24 Simon Fraser <simon.fraser@apple.com> · 2c2b1793
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              Leaking CSSRuleDataList objects
              https://bugs.webkit.org/show_bug.cgi?id=53062
      
              Fix leaked CSSRuleDataLists added to the m_pseudoRules hash.
      
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSRuleSet::~CSSRuleSet):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c2b1793
    • simon.fraser@apple.com's avatar
      2011-01-24 Simon Fraser <simon.fraser@apple.com> · 95247979
      simon.fraser@apple.com authored
              Reviewed by Eric Seidel.
      
              Refcount Images used in rendering code
              https://bugs.webkit.org/show_bug.cgi?id=52701
      
              Change StyleImage::image(RenderObject*, const IntSize&) and
              CSSImageGeneratorValue::image(RenderObject*, const IntSize&) to
              return PassRefPtr<Image>, and adjust other code accordingly.
      
              This allows us to return one-time images, for example for CSS gradients
              whose appearance may change depending on factors other than the renderer
              and the destination size.
      
              * css/CSSCanvasValue.cpp:
              (WebCore::CSSCanvasValue::image):
              * css/CSSCanvasValue.h:
              * css/CSSGradientValue.cpp:
              (WebCore::CSSGradientValue::image):
              * css/CSSGradientValue.h:
              * css/CSSImageGeneratorValue.h:
              * rendering/RenderBoxModelObject.cpp:
              (WebCore::RenderBoxModelObject::paintFillLayerExtended):
              (WebCore::RenderBoxModelObject::paintNinePieceImage):
              * rendering/RenderImage.cpp:
              (WebCore::RenderImage::paintReplaced):
              (WebCore::RenderImage::paintIntoRect):
              * rendering/RenderImageResource.h:
              (WebCore::RenderImageResource::image):
              * rendering/RenderImageResourceStyleImage.h:
              (WebCore::RenderImageResourceStyleImage::image):
              * rendering/RenderListMarker.cpp:
              (WebCore::RenderListMarker::paint):
              * rendering/style/StyleCachedImage.cpp:
              (WebCore::StyleCachedImage::image):
              * rendering/style/StyleCachedImage.h:
              * rendering/style/StyleGeneratedImage.cpp:
              (WebCore::StyleGeneratedImage::image):
              * rendering/style/StyleGeneratedImage.h:
              * rendering/style/StyleImage.h:
              * rendering/style/StylePendingImage.h:
              (WebCore::StylePendingImage::image):
              * rendering/svg/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::paint):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95247979
    • tony@chromium.org's avatar
      2011-01-24 Tony Chang <tony@chromium.org> · b237ee51
      tony@chromium.org authored
              Unreviewed, reverting 5 changes of baselines that are incorrect for Linux.
              Mark win tests as failing for now.
      
              * platform/chromium-linux/fast/css/acid2-expected.txt: Removed.
              * platform/chromium-linux/fast/css/acid2-pixel-expected.checksum:
              * platform/chromium-linux/fast/css/acid2-pixel-expected.png:
              * platform/chromium-linux/fast/css/acid2-pixel-expected.txt: Removed.
              * platform/chromium-linux/fast/forms/button-sizes-expected.checksum:
              * platform/chromium-linux/fast/forms/button-sizes-expected.png:
              * platform/chromium-linux/fast/forms/button-sizes-expected.txt:
              * platform/chromium-linux/fast/forms/input-button-sizes-expected.checksum:
              * platform/chromium-linux/fast/forms/input-button-sizes-expected.png:
              * platform/chromium-linux/fast/forms/input-button-sizes-expected.txt:
              * platform/chromium-linux/http/tests/misc/acid2-expected.txt: Removed.
              * platform/chromium-linux/http/tests/misc/acid2-pixel-expected.checksum:
              * platform/chromium-linux/http/tests/misc/acid2-pixel-expected.png:
              * platform/chromium-linux/http/tests/misc/acid2-pixel-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt: Added.
              * platform/chromium-linux/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt: Removed.
              * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.txt:
              * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-04-t-expected.txt: Removed.
              * platform/chromium-linux/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt: Removed.
              * platform/chromium-linux/svg/custom/svg-fonts-in-html-expected.txt: Removed.
              * platform/chromium-linux/svg/custom/svg-fonts-with-no-element-reference-expected.txt: Removed.
              * platform/chromium-linux/svg/hixie/perf/003-expected.txt: Added.
              * platform/chromium-linux/svg/hixie/perf/004-expected.txt: Added.
              * platform/chromium-linux/svg/hixie/perf/005-expected.txt: Added.
              * platform/chromium-linux/svg/hixie/perf/006-expected.txt: Added.
              * platform/chromium-linux/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt: Added.
              * platform/chromium-linux/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt: Added.
              * platform/chromium-linux/svg/text/text-hkern-expected.txt: Removed.
              * platform/chromium-linux/svg/text/text-hkern-on-vertical-text-expected.checksum: Removed.
              * platform/chromium-linux/svg/text/text-hkern-on-vertical-text-expected.png: Removed.
              * platform/chromium-linux/svg/text/text-hkern-on-vertical-text-expected.txt: Removed.
              * platform/chromium-linux/svg/text/text-text-01-b-expected.checksum:
              * platform/chromium-linux/svg/text/text-text-01-b-expected.png:
              * platform/chromium-linux/svg/text/text-text-01-b-expected.txt:
              * platform/chromium-linux/svg/text/text-text-04-t-expected.txt: Removed.
              * platform/chromium-linux/svg/text/text-vkern-expected.checksum: Removed.
              * platform/chromium-linux/svg/text/text-vkern-expected.txt: Removed.
              * platform/chromium-linux/svg/text/text-vkern-on-horizontal-text-expected.txt: Removed.
              * platform/chromium-win/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.txt: Removed.
              * platform/chromium-win/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.txt: Removed.
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt:
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt:
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt:
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt:
              * platform/chromium-win/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt:
              * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt:
              * platform/chromium-win/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt:
              * platform/chromium-win/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt:
              * platform/chromium-win/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt:
              * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt:
              * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt:
              * platform/chromium-win/svg/W3C-SVG-1.1/text-text-04-t-expected.txt:
              * platform/chromium-win/svg/batik/text/xmlSpace-expected.txt:
              * platform/chromium-win/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
              * platform/chromium-win/svg/custom/svg-fonts-in-html-expected.checksum:
              * platform/chromium-win/svg/custom/svg-fonts-in-html-expected.png:
              * platform/chromium-win/svg/custom/svg-fonts-in-html-expected.txt:
              * platform/chromium-win/svg/custom/svg-fonts-with-no-element-reference-expected.checksum:
              * platform/chromium-win/svg/custom/svg-fonts-with-no-element-reference-expected.png:
              * platform/chromium-win/svg/custom/svg-fonts-with-no-element-reference-expected.txt: Removed.
              * platform/chromium-win/svg/text/text-hkern-expected.txt: Removed.
              * platform/chromium-win/svg/text/text-hkern-on-vertical-text-expected.checksum:
              * platform/chromium-win/svg/text/text-hkern-on-vertical-text-expected.png:
              * platform/chromium-win/svg/text/text-hkern-on-vertical-text-expected.txt: Removed.
              * platform/chromium-win/svg/text/text-text-04-t-expected.checksum:
              * platform/chromium-win/svg/text/text-text-04-t-expected.png:
              * platform/chromium-win/svg/text/text-text-04-t-expected.txt:
              * platform/chromium-win/svg/text/text-vkern-expected.checksum:
              * platform/chromium-win/svg/text/text-vkern-expected.png:
              * platform/chromium-win/svg/text/text-vkern-expected.txt: Removed.
              * platform/chromium-win/svg/text/text-vkern-on-horizontal-text-expected.txt: Removed.
              * platform/chromium/test_expectations.txt:
      2011-01-24  Tony Chang  <tony@chromium.org>
      
              Unreviewed, round ascent and descent to match old code.
      
              * platform/graphics/chromium/SimpleFontDataLinux.cpp:
              (WebCore::SimpleFontData::platformInit):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b237ee51
    • simon.fraser@apple.com's avatar
      2011-01-24 Simon Fraser <simon.fraser@apple.com> · 1cd2b884
      simon.fraser@apple.com authored
              Reviewed by Chris Marrin.
      
              perspective() transform function should take lengths
              https://bugs.webkit.org/show_bug.cgi?id=52683
      
              The argument to the perspective() transform function should
              be a Length, rather than a bare number. Bare numbers are still
              accepted (and treated as px), but this behavior is deprecated.
      
              Test: animations/3d/transform-perspective.html
                    transforms/3d/general/3dtransform-values.html
      
              * css/CSSParser.cpp:
              (WebCore::CSSParser::parseTransform): Check the units for the perspective()
              function. Allow bare numbers for backwards compatibility.
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::createTransformOperations): Convert
              value to Length.
              * platform/graphics/transforms/PerspectiveTransformOperation.cpp:
              (WebCore::clampToPostiveInteger): Helper.
              (WebCore::PerspectiveTransformOperation::blend): Blend via Lengths.
              * platform/graphics/transforms/PerspectiveTransformOperation.h:
              (WebCore::PerspectiveTransformOperation::create): double -> Length.
              (WebCore::PerspectiveTransformOperation::perspective): Ditto.
              (WebCore::PerspectiveTransformOperation::isIdentity): Ditto.
              (WebCore::PerspectiveTransformOperation::apply): Ditto.
              (WebCore::PerspectiveTransformOperation::PerspectiveTransformOperation): Assert
              that the Length is a fixed type.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1cd2b884
    • tkent@chromium.org's avatar
      2011-01-24 Kent Tamura <tkent@chromium.org> · 2134a7cb
      tkent@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              [Windows] Textfield <input>s have different widths.
              https://bugs.webkit.org/show_bug.cgi?id=48405
      
              * fast/forms/input-widths-expected.txt: Added.
              * fast/forms/input-widths.html: Added.
      2011-01-24  Kent Tamura  <tkent@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              [Windows] Textfield <input>s have different widths.
              https://bugs.webkit.org/show_bug.cgi?id=48405
      
              - Apply the padding override for type=text to other textfield types too.
              - Reset margin value of outer spin button, which is not used in Windows.
              - Don't add inner spin button width to the preferred text field width.
                Text fields should have the identical widths regardless of the
                existence of spin buttons.
      
              Test: fast/forms/input-widths.html
      
              * css/themeWin.css:
              (input[type="week"]):
              (input[type="week"]:disabled):
              (input[type="search"]::-webkit-search-cancel-button):
              (input::-webkit-outer-spin-button):
              * rendering/RenderTextControlSingleLine.cpp:
              (WebCore::RenderTextControlSingleLine::preferredContentWidth):
              Don't add inner spin button width to the preferred width.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2134a7cb
    • tkent@chromium.org's avatar
      2011-01-24 Kent Tamura <tkent@chromium.org> · ee540fdb
      tkent@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Some bugs of search cancel button and spin button about state change in
              an event handler.
              https://bugs.webkit.org/show_bug.cgi?id=46950
      
              * fast/forms/input-number-change-type-on-focus-expected.txt: Added.
              * fast/forms/input-number-change-type-on-focus.html: Added.
              * fast/forms/search-hide-cancel-on-cancel-expected.txt: Added.
              * fast/forms/search-hide-cancel-on-cancel.html: Added.
      2011-01-24  Kent Tamura  <tkent@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Some bugs of search cancel button and spin button about state change in
              an event handler.
              https://bugs.webkit.org/show_bug.cgi?id=46950
      
              Fix the following problems:
               * Type=search field didn't release event capturing
               * Assertion failure when an input field with spin buttons was changed
                 to another type on focus event.
               * A input field with spin button didn't release event capturing when it
                 was changed to another type on focus event.
      
              Tests: fast/forms/input-number-change-type-on-focus.html
                     fast/forms/search-hide-cancel-on-cancel.html
      
              * rendering/TextControlInnerElements.cpp:
              (WebCore::SearchFieldCancelButtonElement::defaultEventHandler):
               - Make the variable 'input' RefPtr.  It makes the code simpler.
               - Remove visibility check on mouseup event. We should release capturing
                 anyway because the cancel button may be invisible if JavaScript code
                 called by the focus event removes the input value.
              (WebCore::SpinButtonElement::detach):
               - Release capturing on detach because it is possible that a spin button
                 node is detached while it is capturing events.
              (WebCore::SpinButtonElement::defaultEventHandler):
                Take a reference to this and check renderer() after some functions which
                may run JavaScript code.
              (WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
                Make the variable 'input' RefPtr to align other functions in this file.
              (WebCore::InputFieldSpeechButtonElement::setRecognitionResult): ditto.
              * rendering/TextControlInnerElements.h: Declare SpinButtonElement::detach().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee540fdb
    • rniwa@webkit.org's avatar
      2011-01-24 Ryosuke Niwa <rniwa@webkit.org> · 920c61a5
      rniwa@webkit.org authored
              Reviewed by Ojan Vafai.
      
              Inserting multiple whitespace using text composition (IME) should insert interleaved nbsp and whitespace.
              https://bugs.webkit.org/show_bug.cgi?id=52781
      
              The test was rebaselined to have interleaved space and non-breaking space.
      
              * editing/inserting/insert-composition-whitespace-expected.txt:
              * editing/inserting/insert-composition-whitespace.html:
      2011-01-24  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Ojan Vafai.
      
              Inserting multiple whitespace using text composition (IME) should insert interleaved nbsp and whitespace.
              https://bugs.webkit.org/show_bug.cgi?id=52781
      
              The bug was caused by stringWithRebalancedWhitespace's replacing the space at the beginning of a paragraph
              and the end of a paragraph by a non-breaking space after it replaced two consecutive spaces by a space and
              non-breaking space pattern, thereby replacing more spaces by non-breaking spaces than needed.
      
              Rewrote the function using Vector<UChar> to fix the bug. New function no longer calls String::replace
              multiple times but instead it traverses through the string and replaces a space that immediately follows
              another space or appears at the beginning of a paragraph or at the end of a paragraph by a non-break space.
      
              * editing/CompositeEditCommand.cpp:
              * editing/htmlediting.cpp:
              (WebCore::stringWithRebalancedWhitespace): Written.
              * editing/htmlediting.h:
              (WebCore::isWhitespace): Removed from CompositeEditCommand.cpp
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      920c61a5
    • kbr@google.com's avatar
      2011-01-24 Kenneth Russell <kbr@google.com> · 3b66f107
      kbr@google.com authored
              Reviewed by James Robinson.
      
              Web Audio API: port FFTFrame to FFTW
              https://bugs.webkit.org/show_bug.cgi?id=52989
      
              Ported FFTFrame class to the open-source FFTW library. Tested with
              unit tests from Chris Rogers. Made preliminary changes to GYP
              files for conditional compilation of these files; will need to be
              adjusted once FFTW is integrated as third-party source.
      
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
              * platform/audio/FFTFrame.h:
              * platform/audio/fftw: Added.
              * platform/audio/fftw/FFTFrameFFTW.cpp: Added.
              (WebCore::FFTFrame::FFTFrame):
              (WebCore::FFTFrame::~FFTFrame):
              (WebCore::FFTFrame::multiply):
              (WebCore::FFTFrame::doFFT):
              (WebCore::FFTFrame::doInverseFFT):
              (WebCore::FFTFrame::cleanup):
              (WebCore::FFTFrame::realData):
              (WebCore::FFTFrame::imagData):
              (WebCore::FFTFrame::fftwPlanForSize):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b66f107
    • andersca@apple.com's avatar
      2011-01-24 Anders Carlsson <andersca@apple.com> · 34341a9c
      andersca@apple.com authored
              Reviewed by Dan Bernstein.
      
              Reset the page scale factor on standard frame loads
              https://bugs.webkit.org/show_bug.cgi?id=53058
              <rdar://problem/8908844>
      
              Add a symbol needed by WebKit2.
      
              * WebCore.exp.in:
      2011-01-24  Anders Carlsson  <andersca@apple.com>
      
              Reviewed by Dan Bernstein.
      
              Reset the page scale factor on standard frame loads
              https://bugs.webkit.org/show_bug.cgi?id=53058
              <rdar://problem/8908844>
      
              * UIProcess/WebPageProxy.cpp:
              (WebKit::WebPageProxy::scaleWebView):
              Don't set m_viewScaleFactor here. It will be set in viewScaleFactorDidChange.
      
              (WebKit::WebPageProxy::viewScaleFactorDidChange):
              Update m_viewScaleFactor.
      
              * UIProcess/WebPageProxy.h:
              Add viewScaleFactorDidChange.
      
              * UIProcess/WebPageProxy.messages.in:
              Add ViewScaleFactorDidChange message.
      
              * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
              (WebKit::WebFrameLoaderClient::dispatchDidCommitLoad):
              Set the scale factor.
      
              (WebKit::WebFrameLoaderClient::restoreViewState):
              Inform the UI process about the new view scale factor.
      
              * WebProcess/WebPage/WebPage.cpp:
              (WebKit::WebPage::scaleWebView):
              Send a ViewScaleFactorDidChange message.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34341a9c
    • rniwa@webkit.org's avatar
      2011-01-24 Ryosuke Niwa <rniwa@webkit.org> · 175c44be
      rniwa@webkit.org authored
              Reviewed by Eric Seidel.
      
              Stop instantiating legacy editing positions in InsertTextCommand, MoveSelectionCommand,
              ReplaceSelectionCommand, SelectionController, SpellChecker, TypingCommand, and markup.cpp
              https://bugs.webkit.org/show_bug.cgi?id=52676
      
              Stop instantiating legacy editing positions in the following files.
      
              * editing/InsertTextCommand.cpp:
              (WebCore::InsertTextCommand::prepareForTextInsertion):
              (WebCore::InsertTextCommand::performTrivialReplace):
              (WebCore::InsertTextCommand::input):
              (WebCore::InsertTextCommand::insertTab):
              * editing/MoveSelectionCommand.cpp:
              (WebCore::MoveSelectionCommand::doApply):
              * editing/ReplaceSelectionCommand.cpp:
              (WebCore::ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds):
              (WebCore::ReplaceSelectionCommand::mergeEndIfNeeded):
              (WebCore::ReplaceSelectionCommand::doApply):
              (WebCore::ReplaceSelectionCommand::shouldRemoveEndBR):
              (WebCore::ReplaceSelectionCommand::performTrivialReplace):
              * editing/SelectionController.cpp:
              (WebCore::SelectionController::setSelectionFromNone):
              * editing/SpellChecker.cpp:
              (WebCore::SpellChecker::didCheck):
              * editing/TypingCommand.cpp:
              (WebCore::TypingCommand::makeEditableRootEmpty):
              (WebCore::TypingCommand::deleteKeyPressed):
              (WebCore::TypingCommand::forwardDeleteKeyPressed):
              * editing/markup.cpp:
              (WebCore::StyledMarkupAccumulator::appendText):
              (WebCore::StyledMarkupAccumulator::serializeNodes):
              (WebCore::highestAncestorToWrapMarkup):
              (WebCore::createMarkup):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      175c44be
    • commit-queue@webkit.org's avatar
      2011-01-24 Peter Kasting <pkasting@google.com> · ada816be
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              Roll back r67261 ("Don't fire onclick on middle clicks") due to
              regressions.
              https://bugs.webkit.org/show_bug.cgi?id=46733
      
              * fast/events/mouse-click-events-expected.txt:
              * fast/events/script-tests/mouse-click-events.js:
      2011-01-24  Peter Kasting  <pkasting@google.com>
      
              Reviewed by Darin Adler.
      
              Roll back r67261 ("Don't fire onclick on middle clicks") due to
              regressions.
              https://bugs.webkit.org/show_bug.cgi?id=46733
      
              * html/HTMLAnchorElement.cpp:
              (WebCore::isLinkClick):
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::preDispatchEventHandler):
              (WebCore::HTMLInputElement::postDispatchEventHandler):
              (WebCore::HTMLInputElement::defaultEventHandler):
              * page/EventHandler.cpp:
              (WebCore::EventHandler::handleMouseDoubleClickEvent):
              (WebCore::EventHandler::handleMouseReleaseEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ada816be
    • mrobinson@webkit.org's avatar
      2011-01-24 Martin Robinson <mrobinson@igalia.com> · 20042ea6
      mrobinson@webkit.org authored
              Reviewed by Eric Seidel.
      
              [GTK] Many DOM XHTML tests time out
              https://bugs.webkit.org/show_bug.cgi?id=52553
      
              * platform/gtk/Skipped: Unskip tests which are no longer timing out.
      2011-01-24  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Eric Seidel.
      
              [GTK] Many DOM XHTML tests time out
              https://bugs.webkit.org/show_bug.cgi?id=52553
      
              Properly handle the situation where a synchronous load fails before the inner
              event loop has started. In this case, we simply do not run the inner event loop,
              or else it will block indefinitely (since no GIO or libsoup callbacks will fire).
      
              * platform/network/soup/ResourceHandleSoup.cpp:
              (WebCore::ResourceHandle::loadResourceSynchronously): Bail out of a synchronous
              load if it fails up front.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      20042ea6
    • zmo@google.com's avatar
      2011-01-24 Zhenyao Mo <zmo@google.com> · 092f8400
      zmo@google.com authored
              Reviewed by Darin Adler.
      
              Remove sizeInBytes from GraphicsContext3D's various implementations
              https://bugs.webkit.org/show_bug.cgi?id=52339
      
              * src/GraphicsContext3DChromium.cpp:
              * src/GraphicsContext3DInternal.h:
      2011-01-24  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Darin Adler.
      
              Remove sizeInBytes from GraphicsContext3D's various implementations
              https://bugs.webkit.org/show_bug.cgi?id=52339
      
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::sizeInBytes):
              * platform/graphics/GraphicsContext3D.h:
              * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
              * platform/graphics/qt/GraphicsContext3DQt.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      092f8400
    • aroben@apple.com's avatar
      Windows Production build fix · f4025fd1
      aroben@apple.com authored
      Source/JavaScriptCore:
      
      * JavaScriptCore.vcproj/JavaScriptCore.make: Update for move of JavaScriptCore into Source.
      
      Source/WebCore:
      
      * WebCore.vcproj/WebCore.make: Update for move of WebCore into Source.
      
      Source/WebKit/win:
      
      * WebKit.vcproj/WebKit.make: Update for move of WebKit into Source.
      
      Source/WebKit2:
      
      * win/WebKit2.make: Update for move of WebKit2 into Source.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4025fd1
    • antonm@chromium.org's avatar
      2011-01-24 Anton Muhin <antonm@chromium.org> · ea255cbc
      antonm@chromium.org authored
              Reviewed by Nate Chapin.
      
              [v8] Refactoring: extract IntrusiveDOMWrapperMap into a seprate class and files.
              https://bugs.webkit.org/show_bug.cgi?id=52911
      
              Plain refactoring, covered by the existing tests.
      
              * WebCore.gypi: IntrusiveDOMWrapperMap.h added.
              * bindings/v8/DOMDataStore.cpp: IntrusiveDOMWrapperMap is moved out of DOMDataStore class.
              * bindings/v8/DOMDataStore.h: IntrusiveDOMWrapperMap is moved out of DOMDataStore class.
              * bindings/v8/IntrusiveDOMWrapperMap.h: Added.
              (WebCore::ChunkedTable::ChunkedTable):
              (WebCore::ChunkedTable::add):
              (WebCore::ChunkedTable::remove):
              (WebCore::ChunkedTable::clear):
              (WebCore::ChunkedTable::visit):
              (WebCore::ChunkedTable::Chunk::Chunk):
              (WebCore::ChunkedTable::clearEntries):
              (WebCore::ChunkedTable::visitEntries):
              (WebCore::IntrusiveDOMWrapperMap::IntrusiveDOMWrapperMap):
              (WebCore::IntrusiveDOMWrapperMap::get):
              (WebCore::IntrusiveDOMWrapperMap::set):
              (WebCore::IntrusiveDOMWrapperMap::contains):
              (WebCore::IntrusiveDOMWrapperMap::visit):
              (WebCore::IntrusiveDOMWrapperMap::removeIfPresent):
              (WebCore::IntrusiveDOMWrapperMap::clear):
              (WebCore::IntrusiveDOMWrapperMap::ChunkedTableTraits::move):
              (WebCore::IntrusiveDOMWrapperMap::ChunkedTableTraits::clear):
              (WebCore::IntrusiveDOMWrapperMap::ChunkedTableTraits::visit):
              * bindings/v8/StaticDOMDataStore.h: include added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea255cbc
    • commit-queue@webkit.org's avatar
      2011-01-24 Shane Stephens <shanestephens@google.com> · 4413d10c
      commit-queue@webkit.org authored
              Reviewed by Chris Marrin.
      
              TransformationMatrix multiply operations apply operands in wrong order.
              https://bugs.webkit.org/show_bug.cgi?id=52780
      
              Rename TranformationMatrix::multLeft into multiply (the method does a multRight,
              not a multLeft).
      
              Remove TransformationMatrix::multiply, which was actually doing a multLeft.
      
              Fix TransformationMatrix::operator* and operator*= such that the operand is
              applied to the right-hand side of the matrix that the method is called on.
              i.e., previously "a * b" used to compute "b * a", and "a *= b" used to store
              "b * a" in "a".  This has now been fixed so "a * b" computes "a * b" and
              "a *= b" stores "a * b" in "a".
      
              Convert all call sites for these methods to provide operands in the correct order.
      
              No new tests as patch adds no new functionality.
      
              * css/WebKitCSSMatrix.cpp:
              (WebCore::WebKitCSSMatrix::multiply):
              * platform/graphics/transforms/Matrix3DTransformOperation.h:
              (WebCore::Matrix3DTransformOperation::apply):
              * platform/graphics/transforms/MatrixTransformOperation.h:
              (WebCore::MatrixTransformOperation::apply):
              * platform/graphics/transforms/TransformationMatrix.cpp:
              (WebCore::TransformationMatrix::scaleNonUniform):
              (WebCore::TransformationMatrix::scale3d):
              (WebCore::TransformationMatrix::rotate3d):
              (WebCore::TransformationMatrix::skew):
              (WebCore::TransformationMatrix::applyPerspective):
              (WebCore::TransformationMatrix::multiply):
              (WebCore::TransformationMatrix::recompose):
              * platform/graphics/transforms/TransformationMatrix.h:
              (WebCore::TransformationMatrix::operator*=):
              (WebCore::TransformationMatrix::operator*):
              * rendering/RenderLayer.cpp:
              (WebCore::transparencyClipBox):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::getTransformFromContainer):
              * rendering/TransformState.cpp:
              (WebCore::TransformState::applyTransform):
              (WebCore::HitTestingTransformState::applyTransform):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4413d10c
    • andreip@google.com's avatar
      2011-01-24 Andrei Popescu <andreip@google.com> · f86bef17
      andreip@google.com authored
              Reviewed by Nate Chapin.
      
              IndexedDatabase methods should not take arguments of type OptionsObject
              https://bugs.webkit.org/show_bug.cgi?id=53012
      
              * storage/indexeddb/create-object-store-options-expected.txt:
              * storage/indexeddb/create-object-store-options.html:
              * storage/indexeddb/cursor-delete-expected.txt:
              * storage/indexeddb/cursor-delete.html:
              * storage/indexeddb/cursor-index-delete-expected.txt:
              * storage/indexeddb/cursor-index-delete.html:
              * storage/indexeddb/data-corruption-expected.txt:
              * storage/indexeddb/data-corruption.html:
              * storage/indexeddb/database-quota-expected.txt:
              * storage/indexeddb/database-quota.html:
              * storage/indexeddb/index-cursor.html:
              * storage/indexeddb/objectstore-basics-expected.txt:
              * storage/indexeddb/objectstore-basics.html:
              * storage/indexeddb/objectstore-cursor.html:
              * storage/indexeddb/open-cursor-expected.txt:
              * storage/indexeddb/open-cursor.html:
              * storage/indexeddb/transaction-and-objectstore-calls-expected.txt:
              * storage/indexeddb/transaction-and-objectstore-calls.html:
              * storage/indexeddb/tutorial.html:
      2011-01-24  Andrei Popescu  <andreip@google.com>
      
              Reviewed by Nate Chapin.
      
              IndexedDatabase methods should not take arguments of type OptionsObject
              https://bugs.webkit.org/show_bug.cgi?id=53012
      
              This patch reverts all IDB methods, except IDBDatabase::createObjectStore and
              IDBObjectStore::createIndex, to using a plain list of arguments instead of
              grouping the various parameters inside a single OptionsObject argument.
              This decision was made on public-webapps@w3.org mailing list.
      
              We also add support (v8 only for now) for passing DOMStringList objects as arguments to native
              methods. The code for obtaining a DOMStringList object from a JS array of strings existed already
              in OptionsObject.cpp, I just copied it to V8Bindings.cpp and taught the v8 code generator how to
              use it.
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/V8Binding.cpp:
              (WebCore::v8ValueToWebCoreDOMStringList):
              * bindings/v8/V8Binding.h:
              * storage/IDBDatabase.cpp:
              (WebCore::IDBDatabase::transaction):
              * storage/IDBDatabase.h:
              (WebCore::IDBDatabase::transaction):
              * storage/IDBDatabase.idl:
              * storage/IDBIndex.cpp:
              (WebCore::IDBIndex::openCursor):
              (WebCore::IDBIndex::openKeyCursor):
              * storage/IDBIndex.h:
              (WebCore::IDBIndex::openCursor):
              (WebCore::IDBIndex::openKeyCursor):
              * storage/IDBIndex.idl:
              * storage/IDBObjectStore.cpp:
              (WebCore::IDBObjectStore::openCursor):
              * storage/IDBObjectStore.h:
              (WebCore::IDBObjectStore::openCursor):
              * storage/IDBObjectStore.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f86bef17