1. 03 Dec, 2010 40 commits
    • paroga@webkit.org's avatar
      2010-12-03 Patrick Gansterer <paroga@webkit.org> · 85911b55
      paroga@webkit.org authored
              Reviewed by Andreas Kling.
      
              [CMake] Remove WebCore_IDL_PURE_FILES
              https://bugs.webkit.org/show_bug.cgi?id=50445
      
              * CMakeLists.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85911b55
    • jberlin@webkit.org's avatar
      Update the Windows results for controls-without-preload.html to make the bots green. Unreviewed. · fd6821af
      jberlin@webkit.org authored
      media/controls-without-preload.html failing on Windows 
      https://bugs.webkit.org/show_bug.cgi?id=50471
      
      * platform/win/media/controls-without-preload-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd6821af
    • commit-queue@webkit.org's avatar
      2010-12-03 Jia Pu <jpu@apple.com> · 7ae7c0a1
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              Need to move all code that applies correction into correction panel callback.
              https://bugs.webkit.org/show_bug.cgi?id=50426
              <rdar://problem/8720832>
      
              Added expected png file.
      
              * platform/mac/editing/spelling/delete-autocorrected-word-1-expected.checksum: Added.
              * platform/mac/editing/spelling/delete-autocorrected-word-1-expected.png: Added.
      2010-12-03  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Need to move all code that applies correction into correction panel callback.
              https://bugs.webkit.org/show_bug.cgi?id=50426
              <rdar://problem/8720832>
      
              No new test, since there's no behavioral change.
      
              This patch is to prepare WebKit to work with upcoming AppKit changes. The main changes are:
              1. Moved all calls to applyCorrectionPanelInfo() into handleCorrectionPanelResult().
              2. Added more user dictionary learning code.
              3. Removed m_ prefix in all member variables of CorrectionPanelInfo.
      
              * editing/CorrectionPanelInfo.h: Remove m_ prefix on member variables. Added ReasonForDismissingCorrectionPanel enum type.
      
              * editing/Editor.cpp: Moved all calls to applyCorrectionPanelInfo() into handleCorrectionPanelResult().
                Adopted new member variable naming in class CorrectionPanelInfo.
              (WebCore::Editor::respondToChangedSelection):
              (WebCore::Editor::~Editor):
              (WebCore::Editor::markMisspellingsAfterTypingToWord):
              (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
              (WebCore::Editor::correctionPanelTimerFired):
              (WebCore::Editor::handleCorrectionPanelResult):
              (WebCore::Editor::startCorrectionPanelTimer):
              (WebCore::Editor::stopCorrectionPanelTimer):
              (WebCore::Editor::handleCancelOperation):
              (WebCore::Editor::dismissCorrectionPanel):
              (WebCore::Editor::applyCorrectionPanelInfo):
      
              * editing/Editor.h: Changed signature of dismissCorrectionPanel to use ReasonForDismissingCorrectionPanel.
      
              * loader/EmptyClients.h: Ditto.
              (WebCore::EmptyEditorClient::dismissCorrectionPanel):
      
              * page/EditorClient.h: Ditto.
      2010-12-03  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Need to move all code that applies correction into correction panel callback.
              https://bugs.webkit.org/show_bug.cgi?id=50426
              <rdar://problem/8720832>
      
              * WebCoreSupport/WebEditorClient.h: Adopted new signature of dismissCorrectionPanel.
      
              * WebCoreSupport/WebEditorClient.mm:
              (WebEditorClient::~WebEditorClient): Adopted new signature of dismissCorrectionPanel.
              (WebEditorClient::showCorrectionPanel): Added more user dictionary learning code.
              (WebEditorClient::dismissCorrectionPanel): Adopted new signature of dismissCorrectionPanel.
      2010-12-03  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Need to move all code that applies correction into correction panel callback.
              https://bugs.webkit.org/show_bug.cgi?id=50426
              <rdar://problem/8720832>
      
              Adopted new signature of dismissCorrectionPanel.
      
              * WebProcess/WebCoreSupport/WebEditorClient.h:
              * WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm:
              (WebKit::WebEditorClient::dismissCorrectionPanel):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ae7c0a1
    • jberlin@webkit.org's avatar
      Windows build fix. Unreviewed. · cf3a2a79
      jberlin@webkit.org authored
      * win/WebKit2Generated.make:
      Add the new API files from http://trac.webkit.org/changeset/73281.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf3a2a79
    • pfeldman@chromium.org's avatar
      2010-12-03 Pavel Feldman <pfeldman@chromium.org> · 817c4380
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: reveal in elements panel does not switch the panel itself.
              https://bugs.webkit.org/show_bug.cgi?id=50408
      
              * inspector/front-end/ElementsTreeOutline.js:
              (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired.focusElement):
              (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired):
              * inspector/front-end/ObjectPropertiesSection.js:
              (WebInspector.ObjectPropertyTreeElement.prototype._contextMenuEventFired):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      817c4380
    • simon.fraser@apple.com's avatar
      2010-12-03 Simon Fraser <simon.fraser@apple.com> · 41015fa0
      simon.fraser@apple.com authored
              Reviewed by Nikolas Zimmermann.
      
              Clean up some text-related code on GraphicsContext
              https://bugs.webkit.org/show_bug.cgi?id=50464
      
              Use defined types for textDrawingMode and it's associated flags.
      
              * html/canvas/CanvasRenderingContext2D.cpp:
              (WebCore::CanvasRenderingContext2D::drawTextInternal):
              * platform/graphics/GraphicsContext.cpp:
              (WebCore::GraphicsContext::textDrawingMode):
              (WebCore::GraphicsContext::setTextDrawingMode):
              (WebCore::GraphicsContext::setPlatformTextDrawingMode):
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/GraphicsContextPrivate.h:
              (WebCore::GraphicsContextState::GraphicsContextState):
              * platform/graphics/cairo/FontCairo.cpp:
              (WebCore::drawGlyphsShadow):
              (WebCore::Font::drawGlyphs):
              * platform/graphics/cg/GraphicsContextCG.cpp:
              (WebCore::GraphicsContext::setPlatformTextDrawingMode):
              * platform/graphics/chromium/FontLinux.cpp:
              (WebCore::Font::drawGlyphs):
              (WebCore::Font::drawComplexText):
              * platform/graphics/gtk/FontGtk.cpp:
              (WebCore::drawGlyphsShadow):
              (WebCore::Font::drawComplexText):
              * platform/graphics/mac/FontMac.mm:
              (WebCore::Font::drawGlyphs):
              * platform/graphics/openvg/PainterOpenVG.cpp:
              (WebCore::PlatformPainterState::PlatformPainterState):
              (WebCore::PainterOpenVG::textDrawingMode):
              (WebCore::PainterOpenVG::setTextDrawingMode):
              (WebCore::PainterOpenVG::drawText):
              * platform/graphics/qt/FontQt.cpp:
              (WebCore::drawTextCommon):
              * platform/graphics/skia/PlatformContextSkia.cpp:
              (WebCore::PlatformContextSkia::State::State):
              (WebCore::PlatformContextSkia::getTextDrawingMode):
              (WebCore::PlatformContextSkia::setTextDrawingMode):
              * platform/graphics/skia/SkiaFontWin.cpp:
              (WebCore::windowsCanHandleTextDrawing):
              (WebCore::paintSkiaText):
              * platform/graphics/texmap/TextureMapper.h:
              (WebCore::TextureMapper::setTextDrawingMode):
              (WebCore::TextureMapper::textDrawingMode):
              (WebCore::TextureMapper::TextureMapper):
              * platform/graphics/win/FontCGWin.cpp:
              (WebCore::drawGDIGlyphs):
              (WebCore::Font::drawGlyphs):
              * platform/graphics/wince/GraphicsContextWinCE.cpp:
              (WebCore::GraphicsContext::drawText):
              * rendering/InlineTextBox.cpp:
              (WebCore::updateGraphicsContext):
              * rendering/RenderSVGResourceGradient.cpp:
              (WebCore::RenderSVGResourceGradient::applyResource):
              * rendering/RenderSVGResourcePattern.cpp:
              (WebCore::RenderSVGResourcePattern::applyResource):
              * rendering/RenderSVGResourceSolidColor.cpp:
              (WebCore::RenderSVGResourceSolidColor::applyResource):
              * svg/SVGFont.cpp:
              (WebCore::Font::drawTextUsingSVGFont):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41015fa0
    • crogers@google.com's avatar
      2010-12-03 Chris Rogers <crogers@google.com> · 7bd2b397
      crogers@google.com authored
              Reviewed by Kenneth Russell.
      
              First steps to adding web audio files to build systems
              https://bugs.webkit.org/show_bug.cgi?id=49952
      
              * wtf/Complex.h:
      2010-12-03  Chris Rogers  <crogers@google.com>
      
              Reviewed by Kenneth Russell.
      
              First steps to adding web audio files to build systems
              https://bugs.webkit.org/show_bug.cgi?id=49952
      
              No new tests since audio API is not yet implemented.
      
              * CMakeLists.txt:
              * DerivedSources.make:
              * ForwardingHeaders/wtf/Complex.h: Added.
              * GNUmakefile.am:
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::audioContext):
              * features.pri:
              * page/DOMWindow.idl:
              * platform/audio/HRTFElevation.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73283 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7bd2b397
    • paroga@webkit.org's avatar
      2010-12-03 Patrick Gansterer <paroga@webkit.org> · 4252d665
      paroga@webkit.org authored
              Reviewed by David Levin.
      
              Use String::adopt in TextCodecWinCE::decode
              https://bugs.webkit.org/show_bug.cgi?id=50319
      
              * platform/text/wince/TextCodecWinCE.cpp:
              (WebCore::TextCodecWinCE::decode):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4252d665
    • beidson@apple.com's avatar
      Groundwork for <rdar://problem/7660733> and https://bugs.webkit.org/show_bug.cgi?id=50191 · 18c0c1ad
      beidson@apple.com authored
      WebKit2 Authentication Support
      
      Reviewed by Anders Carlsson.
      
      WebCore: 
      
      * WebCore.exp.in:
      
      Expose the AuthenticationClient for WK2 platforms (Windows already does this):
      * platform/network/mac/AuthenticationChallenge.h:
      * platform/network/mac/AuthenticationMac.mm:
      (-[WebCoreAuthenticationClientAsChallengeSender client]):
      (WebCore::AuthenticationChallenge::authenticationClient):
      
      * platform/network/qt/AuthenticationChallenge.h:
      (WebCore::AuthenticationChallenge::authenticationClient):
      
      WebKit2: 
      
      With this patch in place, authentication challenges are sent up from WebCore and shipped over the IPC layer.
      Client apps can implement the related client methods to attempt to continue without credentials or cancel a
      challenge.
      
      There's not yet API to inspect a challenge or create a credential to use in reply - that will come later.
      
      Build-system changes:
      * DerivedSources.make:
      * DerivedSources.pro:
      * WebKit2.pro:
      * WebKit2.xcodeproj/project.pbxproj:
      * win/WebKit2.vcproj:
      * win/WebKit2Common.vsprops:
      
      Messages and casts for IPC and APIs:
      * Platform/CoreIPC/MessageID.h:
      * Shared/API/c/WKBase.h:
      * Shared/APIObject.h:
      * Shared/WebCoreArgumentCoders.h:
      * UIProcess/API/C/WKAPICast.h:
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::didReceiveMessage):
      
      Stub out the AuthenticationChallenge class family:
      * UIProcess/API/C/WKAuthenticationChallenge.cpp: Added.
      (WKAuthenticationChallengeGetTypeID):
      * UIProcess/API/C/WKAuthenticationChallenge.h: Added.
      * UIProcess/API/C/WKCredential.cpp: Added.
      (WKCredentialGetTypeID):
      * UIProcess/API/C/WKCredential.h: Added.
      * UIProcess/API/C/WKProtectionSpace.cpp: Added.
      (WKProtectionSpaceGetTypeID):
      * UIProcess/API/C/WKProtectionSpace.h: Added.
      
      Add an Authentication listener for the client app to respond to:
      * UIProcess/API/C/WKAuthenticationDecisionListener.cpp: Added.
      (WKAuthenticationDecisionListenerGetTypeID):
      (WKAuthenticationDecisionListenerUseCredential):
      (WKAuthenticationDecisionListenerCancel):
      * UIProcess/API/C/WKAuthenticationDecisionListener.h: Added.
      
      Add Authentication related methods to the page loader client:
      * UIProcess/API/C/WKPage.h:
      
      Add empty implementations of the new API objects:
      * UIProcess/Authentication: Added.
      * UIProcess/Authentication/AuthenticationChallengeProxy.cpp: Added.
      (WebKit::AuthenticationChallengeProxy::AuthenticationChallengeProxy):
      (WebKit::AuthenticationChallengeProxy::~AuthenticationChallengeProxy):
      (WebKit::AuthenticationChallengeProxy::useCredential):
      (WebKit::AuthenticationChallengeProxy::cancel):
      * UIProcess/Authentication/AuthenticationChallengeProxy.h: Added.
      (WebKit::AuthenticationChallengeProxy::create):
      (WebKit::AuthenticationChallengeProxy::listener):
      (WebKit::AuthenticationChallengeProxy::type):
      
      * UIProcess/Authentication/WebCredential.cpp: Added.
      (WebKit::WebCredential::core):
      * UIProcess/Authentication/WebCredential.h: Added.
      (WebKit::WebCredential::create):
      (WebKit::WebCredential::type):
      * UIProcess/Authentication/WebProtectionSpace.cpp: Added.
      (WebKit::WebProtectionSpace::WebProtectionSpace):
      * UIProcess/Authentication/WebProtectionSpace.h: Added.
      (WebKit::WebProtectionSpace::create):
      (WebKit::WebProtectionSpace::type):
      
      Add implementation of the Authentication decision listener:
      * UIProcess/Authentication/AuthenticationDecisionListener.cpp: Added.
      (WebKit::AuthenticationDecisionListener::AuthenticationDecisionListener):
      (WebKit::AuthenticationDecisionListener::useCredential):
      (WebKit::AuthenticationDecisionListener::cancel):
      (WebKit::AuthenticationDecisionListener::detachChallenge):
      * UIProcess/Authentication/AuthenticationDecisionListener.h: Added.
      (WebKit::AuthenticationDecisionListener::create):
      (WebKit::AuthenticationDecisionListener::type):
      
      WebPage and PageLoaderClient glue:
      * UIProcess/WebLoaderClient.cpp:
      (WebKit::WebLoaderClient::canAuthenticateAgainstProtectionSpaceInFrame):
      (WebKit::WebLoaderClient::didReceiveAuthenticationChallengeInFrame):
      * UIProcess/WebLoaderClient.h:
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::canAuthenticateAgainstProtectionSpaceInFrame):
      (WebKit::WebPageProxy::didReceiveAuthenticationChallenge):
      * UIProcess/WebPageProxy.h:
      * UIProcess/WebPageProxy.messages.in:
      
      Add a manager to map the actual platform authentication challenges to a challenge ID,
      as at least some platforms require the object identity to persist:
      * WebProcess/Authentication: Added.
      * WebProcess/Authentication/AuthenticationManager.cpp: Added.
      (WebKit::generateAuthenticationChallengeID):
      (WebKit::AuthenticationManager::shared):
      (WebKit::AuthenticationManager::AuthenticationManager):
      (WebKit::AuthenticationManager::didReceiveMessage):
      (WebKit::AuthenticationManager::didReceiveAuthenticationChallenge):
      (WebKit::AuthenticationManager::useCredentialForChallenge):
      (WebKit::AuthenticationManager::continueWithoutCredentialForChallenge):
      (WebKit::AuthenticationManager::cancelChallenge):
      * WebProcess/Authentication/AuthenticationManager.h: Added.
      * WebProcess/Authentication/AuthenticationManager.messages.in: Added.
      
      Hand off Authentication challenges to the manager to be sent over IPC:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
      (WebKit::WebFrameLoaderClient::canAuthenticateAgainstProtectionSpace):
      
      * UIProcess/API/qt/qwkpage.cpp:
      
      WebKitTools: 
      
      Keep these builds working:
      * MiniBrowser/mac/BrowserWindowController.m:
      (-[BrowserWindowController awakeFromNib]):
      
      * WebKitTestRunner/TestController.cpp:
      (WTR::TestController::initialize):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18c0c1ad
    • weinig@apple.com's avatar
      Added fast/text/font-size-zero.html and svg/batik/text/smallFonts.svg to · 84ee04d3
      weinig@apple.com authored
      the leopard skipped list.
      
      Reviewed by Gavin Barraclough.
      
      * platform/mac-leopard/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84ee04d3
    • rniwa@webkit.org's avatar
      2010-12-03 Ryosuke Niwa <rniwa@webkit.org> · 54a246d2
      rniwa@webkit.org authored
              Reviewed by Darin Adler.
      
              REGRESSION: Crash when deleting text after textarea's value is modified on input event
              https://bugs.webkit.org/show_bug.cgi?id=49962
      
              The crash was caused by TypingCommand::deleteKeyPressed's reusing a typing command for
              textarea's shadow DOM after its input event handler rewrote the value set by the typing command.
              Because the reused typing command's ending selection was pointing at a shadow node
              that has been detached from the document when the event handler set the new value,
              rootEditableElement of the ending selection was null and caused the crash.
      
              Fixed the bug by updating the ending selection of the last typing command when it differsfrom
              that of the current selection held by the SelectionController in TypingCommand::deleteKeyPressed.
              Also fixed similar bugs in forwardDeleteKeyPressed and insertText, and insertTextRunWithoutNewlines.
      
              Tests: editing/input/set-value-on-input-and-delete.html
                     editing/input/set-value-on-input-and-forward-delete.html
                     editing/input/set-value-on-input-and-type-input.html
                     editing/input/set-value-on-input-and-type-textarea.html
      
              * editing/InsertTextCommand.h: Added TypingCommand as a friend because it needs to update selection.
              * editing/TypingCommand.cpp:
              (WebCore::TypingCommand::deleteKeyPressed): Updates the last typing command's selection as needed.
              (WebCore::TypingCommand::forwardDeleteKeyPressed): Ditto.
              (WebCore::TypingCommand::insertText): Ditto.
              (WebCore::TypingCommand::updateSelectionIfDifferentFromCurrentSelection): Added.
              (WebCore::TypingCommand::insertTextRunWithoutNewlines): Updates InsertTextCommand's selection as needed.
              * editing/TypingCommand.h:
      2010-12-03  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Darin Adler.
      
              REGRESSION: Crash when deleting text after textarea's value is modified on input event
              https://bugs.webkit.org/show_bug.cgi?id=49962
      
              Added tests to ensure inserting and deleting a character inside input or textarea
              succeeds even if the value of those elements have been rewritten by its input event handler.
      
              * editing/input/set-value-on-input-and-delete-expected.txt: Added.
              * editing/input/set-value-on-input-and-delete.html: Added.
              * editing/input/set-value-on-input-and-forward-delete-expected.txt: Added.
              * editing/input/set-value-on-input-and-forward-delete.html: Added.
              * editing/input/set-value-on-input-and-type-input-expected.txt: Added.
              * editing/input/set-value-on-input-and-type-input.html: Added.
              * editing/input/set-value-on-input-and-type-textarea-expected.txt: Added.
              * editing/input/set-value-on-input-and-type-textarea.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54a246d2
    • weinig@apple.com's avatar
      Add missing expected results. · fb09f7a5
      weinig@apple.com authored
      * media/controls-without-preload-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb09f7a5
    • jberlin@webkit.org's avatar
      Updating the Windows 7 results for clip-path-referencing-use.svg to make the... · 0c80eaf3
      jberlin@webkit.org authored
      Updating the Windows 7 results for clip-path-referencing-use.svg to make the bots green. Unreviewed.       
      
      svg/custom/clip-path-referencing-use.svg fails when run with Aero enabled.
      https://bugs.webkit.org/show_bug.cgi?id=49945
      
      Make sure that the XP results still match the Mac results.
      * platform/win-xp/svg: Added.
      * platform/win-xp/svg/custom: Added.
      * platform/win-xp/svg/custom/clip-path-referencing-use-expected.checksum: Added.
      * platform/win-xp/svg/custom/clip-path-referencing-use-expected.png: Added.
      * platform/win-xp/svg/custom/clip-path-referencing-use-expected.txt: Added.
      
      * platform/win/svg/custom/clip-path-referencing-use-expected.checksum: Added.
      * platform/win/svg/custom/clip-path-referencing-use-expected.png: Added.
      * platform/win/svg/custom/clip-path-referencing-use-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c80eaf3
    • tony@chromium.org's avatar
      2010-12-03 Daniel Cheng <dcheng@chromium.org> · 8e70816b
      tony@chromium.org authored
              Reviewed by Tony Chang.
      
              Dragging and dropping into an empty document crashes WebKit.
              https://bugs.webkit.org/show_bug.cgi?id=48793
      
              Remove the assert and update callers to check for a null return value.
      
              Test: manual-tests/drop-in-empty-doc.html
      
              * manual-tests/drop-in-empty-doc.html: Added.
              * manual-tests/resources/drop-in-empty-doc.xhtml: Added.
              * page/DragController.cpp:
              (WebCore::elementUnderMouse):
              (WebCore::DragController::tryDocumentDrag):
              (WebCore::DragController::concludeEditDrag):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e70816b
    • andersca@apple.com's avatar
      The chunked update drawing area is flipped twice when drawing · b8d82a06
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=50465
      <rdar://problem/8726836>
      
      Reviewed by Dan Bernstein.
      
      * UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm:
      (WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint):
      (WebKit::ChunkedUpdateDrawingAreaProxy::drawUpdateChunkIntoBackingStore):
      Flip the destination contexts, thus unflipping them. (Turns out two wrongs make a right here).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8d82a06
    • mihaip@chromium.org's avatar
      2010-12-02 Mihai Parparita <mihaip@chromium.org> · 1c7e9d54
      mihaip@chromium.org authored
              Reviewed by Tony Chang.
      
              Rebaseline server: move existing baselines
              https://bugs.webkit.org/show_bug.cgi?id=50421
      
              Implement moving of existing baselines: move all files that are about
              to be overwriten by update baselines.
      
              Also fix a typo in the UI JS.
      
              * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
              * Scripts/webkitpy/tool/commands/rebaselineserver.py:
              * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c7e9d54
    • paroga@webkit.org's avatar
      2010-12-03 Patrick Gansterer <paroga@webkit.org> · cde4da37
      paroga@webkit.org authored
              Reviewed by Andreas Kling.
      
              Move Inspector generator logic into main CMakeLists.txt file
              https://bugs.webkit.org/show_bug.cgi?id=50445
      
              * CMakeLists.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cde4da37
    • paroga@webkit.org's avatar
      2010-12-03 Patrick Gansterer <paroga@webkit.org> · a71aa04b
      paroga@webkit.org authored
              Reviewed by Andreas Kling.
      
              Move StringWx.cpp into wtf directory
              https://bugs.webkit.org/show_bug.cgi?id=50060
      
              * wtf/wx/StringWx.cpp: Renamed from WebCore/platform/text/wx/StringWx.cpp.
              (WTF::String::String):
      2010-12-03 Patrick Gansterer <paroga@webkit.org>
      
              Reviewed by Andreas Kling.
      
              Move StringWx.cpp into wtf directory
              https://bugs.webkit.org/show_bug.cgi?id=50060
      
              * WebCore.gypi:
              * platform/text/wx/StringWx.cpp: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a71aa04b
    • dglazkov@chromium.org's avatar
      2010-12-03 Dimitri Glazkov <dglazkov@chromium.org> · e32b39fa
      dglazkov@chromium.org authored
              Reviewed by Darin Adler.
      
              REGRESSION(r72783): DOMActivate fires multiple times from input type=file
              https://bugs.webkit.org/show_bug.cgi?id=50396
      
              * fast/events/shadow-boundary-crossing-2-expected.txt: Changed expectations.
              * fast/events/shadow-boundary-crossing-2.html: Added the correct test for event
                  retargeting, renamed previous test to be more specific in what it tests.
      2010-12-03  Dimitri Glazkov  <dglazkov@chromium.org>
      
              Reviewed by Darin Adler.
      
              REGRESSION(r72783): DOMActivate fires multiple times from input type=file
              https://bugs.webkit.org/show_bug.cgi?id=50396
      
              Test: fast/events/shadow-boundary-crossing-2.html
      
              * dom/EventContext.cpp: Reverted changes made in r72783.
              * dom/EventContext.h: Ditto.
              * dom/Node.cpp:
              (WebCore::Node::containsIncludingShadowDOM): Added.
              (WebCore::Node::dispatchGenericEvent): Reverted changes made in r72783.
              * dom/Node.h: Added decl.
              * html/HTMLLabelElement.cpp:
              (WebCore::HTMLLabelElement::defaultEventHandler): Reverted changes made in r72783.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e32b39fa
    • paroga@webkit.org's avatar
      2010-12-03 Patrick Gansterer <paroga@webkit.org> · ef8ce66b
      paroga@webkit.org authored
              Reviewed by Andreas Kling.
      
              Move StringBrew.cpp into wtf directory
              https://bugs.webkit.org/show_bug.cgi?id=50058
      
              * wtf/brew/StringBrew.cpp: Renamed from WebCore/platform/text/brew/StringBrew.cpp.
              (WTF::String::String):
      2010-12-03  Patrick Gansterer  <paroga@webkit.org>
      
              Reviewed by Andreas Kling.
      
              Move StringBrew.cpp into wtf directory
              https://bugs.webkit.org/show_bug.cgi?id=50058
      
              * platform/text/brew/StringBrew.cpp: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef8ce66b
    • paroga@webkit.org's avatar
      2010-12-03 Patrick Gansterer <paroga@webkit.org> · 1273b0df
      paroga@webkit.org authored
              Reviewed by Andreas Kling.
      
              Move StringHaiku.cpp into wtf directory
              https://bugs.webkit.org/show_bug.cgi?id=50057
      
              * wtf/haiku/StringHaiku.cpp: Renamed from WebCore/platform/text/haiku/StringHaiku.cpp.
              (WTF::String::String):
              (WTF::String::operator BString):
      2010-12-03  Patrick Gansterer  <paroga@webkit.org>
      
              Reviewed by Andreas Kling.
      
              Move StringHaiku.cpp into wtf directory
              https://bugs.webkit.org/show_bug.cgi?id=50057
      
              * platform/text/haiku/StringHaiku.cpp: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1273b0df
    • jberlin@webkit.org's avatar
      Need a WebKit2 Equivalent of WebSecurityOrigin · b6d662bc
      jberlin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=50170
      
      Reviewed by Sam Weinig.
      
      WebCore: 
      
      * WebCore.exp.in:
      Export the symbol for SecurityOrigin::createFromDatabaseIdentifier.
      
      WebKit2: 
      
      * Shared/API/c/WKBase.h:
      Add the WKSecurityOriginRef typedef.
      
      * Shared/APIObject.h:
      Add the SecurityOrigin type as a Shared type.
      
      * Shared/API/c/WKSharedAPICast.h::
      Add the mapping between WKSecurityOriginRef and WebSecurityOrigin.
      
      * UIProcess/API/C/WKSecurityOrigin.cpp: Added.
      (WKSecurityOriginGetTypeID):
      (WKSecurityOriginCreate):
      (WKSecurityOriginGetProtocol):
      (WKSecurityOriginGetHost):
      (WKSecurityOriginGetPort):
      * UIProcess/API/C/WKSecurityOrigin.h: Added.
      
      * UIProcess/WebSecurityOrigin.h: Added.
      (WebKit::WebSecurityOrigin::create):
      Create based on the database identifier, which contains the protocol, host and port.
      (WebKit::WebSecurityOrigin::protocol):
      (WebKit::WebSecurityOrigin::host):
      (WebKit::WebSecurityOrigin::port):
      (WebKit::WebSecurityOrigin::databaseIdentifier):
      (WebKit::WebSecurityOrigin::WebSecurityOrigin):
      (WebKit::WebSecurityOrigin::type):
      
      * WebKit2.pro:
      Add WKSecurityOrigin.cpp/.h.
      
      * WebKit2.xcodeproj/project.pbxproj:
      * win/WebKit2.vcproj:
      Add the WebSecurityOrigin.h and WKSecurityOrigin.cpp/.h.
      
      * win/WebKit2Generated.make:
      Make sure WKSecurityOrigin.h file gets copied over to the WebKitBuild directory on Windows.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6d662bc
    • abecsi@webkit.org's avatar
      2010-12-03 Andras Becsi <abecsi@inf.u-szeged.hu> · efc1e540
      abecsi@webkit.org authored
              Unreviewed build fix after r73254.
      
              [Qt][V8] Add missing headers to $headerIncludes rather than $implIncludes
              because headers are needed by the generated .h files.
      
              No new tests needed.
      
              * bindings/scripts/CodeGeneratorV8.pm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      efc1e540
    • inferno@chromium.org's avatar
      2010-12-03 Abhishek Arya <inferno@chromium.org> · 88816388
      inferno@chromium.org authored
              Unreviewed.
      
              Skipping drag-drop-same-unique-origin.html for win platform. Drag and drop
              does not work correctly in windows DRT. Skipping like other similar tests.
              https://bugs.webkit.org/show_bug.cgi?id=50438
      
              * platform/win/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      88816388
    • jorlow@chromium.org's avatar
      2010-11-29 Jeremy Orlow <jorlow@chromium.org> · 526aaff5
      jorlow@chromium.org authored
              Reviewed by Darin Fisher.
      
              [Chromium] Clean up IndexedDB 2 sided roll bits
              https://bugs.webkit.org/show_bug.cgi?id=50160
      
              * public/WebIDBDatabase.h:
              (WebKit::WebIDBDatabase::version):
              (WebKit::WebIDBDatabase::objectStoreNames):
              (WebKit::WebIDBDatabase::deleteObjectStore):
              * public/WebIDBFactory.h:
              (WebKit::WebIDBFactory::open):
              * public/WebIDBKeyRange.h:
              * public/WebIDBObjectStore.h:
              (WebKit::WebIDBObjectStore::deleteFunction):
              * src/IDBDatabaseProxy.cpp:
              * src/IDBDatabaseProxy.h:
              * src/WebIDBKeyRange.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      526aaff5
    • ossy@webkit.org's avatar
      Unreviewed. Add Qt specific expected result after r73246. · a2bbe80f
      ossy@webkit.org authored
      * platform/qt/css2.1/t040105-import-10-b-expected.checksum: Added.
      * platform/qt/css2.1/t040105-import-10-b-expected.png: Added.
      * platform/qt/css2.1/t040105-import-10-b-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2bbe80f
    • yutak@chromium.org's avatar
      2010-12-03 Yuta Kitamura <yutak@chromium.org> · b0776381
      yutak@chromium.org authored
              Unreviewed.
      
              Update Chromium test expectations.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0776381
    • yutak@chromium.org's avatar
      2010-12-03 Yuta Kitamura <yutak@chromium.org> · 4b195bb8
      yutak@chromium.org authored
              Unreviewed.
      
              Update Chromium test expectations.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b195bb8
    • yutak@chromium.org's avatar
      2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com> · f6291864
      yutak@chromium.org authored
              Unreviewed, rolling out r73211.
              http://trac.webkit.org/changeset/73211
              https://bugs.webkit.org/show_bug.cgi?id=50450
      
              Broke Chromium's "Webkit Win (dbg)(2)" bot. (Requested by
              yutak on #webkit).
      
              * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6291864
    • yutak@chromium.org's avatar
      2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com> · 567f4531
      yutak@chromium.org authored
              Unreviewed, rolling out r73222.
              http://trac.webkit.org/changeset/73222
              https://bugs.webkit.org/show_bug.cgi?id=50449
      
              r73211 seemed to break Chromium's "Webkit Win (dbg)(2)" bot.
              (Requested by yutak on #webkit).
      
              * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
              * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
              * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
              * Scripts/webkitpy/layout_tests/port/base.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      567f4531
    • zimmermann@webkit.org's avatar
      2010-12-03 Nikolas Zimmermann <nzimmermann@rim.com> · 42ab4a70
      zimmermann@webkit.org authored
              Reviewed by Dirk Schulze.
      
              1336 files in WebCore rebuild when you touch SVGNames
              https://bugs.webkit.org/show_bug.cgi?id=42025
      
              Remove global SVGNames.h dependency, as SVGAnimatedPropertyMacros.h included it.
              This requires to add the SVGNames.h include to lots of cpp files.
      
              No functional changes, thus no new tests.
      
              * css/CSSCursorImageValue.cpp:
              * css/CSSFontFaceSource.cpp:
              * dom/Node.cpp:
              * loader/cache/CachedFont.cpp:
              * rendering/RenderSVGResourceClipper.cpp:
              * rendering/RenderSVGResourceFilter.cpp:
              * rendering/RenderSVGTransformableContainer.cpp:
              * rendering/RenderSVGViewportContainer.cpp:
              * rendering/SVGRenderTreeAsText.cpp:
              * rendering/SVGResources.cpp:
              * rendering/svg/RenderSVGTextPath.cpp:
              * rendering/svg/SVGRootInlineBox.cpp:
              * svg/SVGAnimateElement.cpp:
              * svg/SVGAnimateMotionElement.cpp:
              * svg/SVGAnimateTransformElement.cpp:
              * svg/SVGDefsElement.cpp:
              * svg/SVGFEBlendElement.cpp:
              * svg/SVGFEDisplacementMapElement.cpp:
              * svg/SVGFEMergeElement.cpp:
              * svg/SVGFEMergeNodeElement.cpp:
              * svg/SVGFEOffsetElement.cpp:
              * svg/SVGFETileElement.cpp:
              * svg/SVGFETurbulenceElement.cpp:
              * svg/SVGFont.cpp:
              * svg/SVGGElement.cpp:
              * svg/SVGImageElement.cpp:
              * svg/SVGLength.cpp:
              * svg/SVGMPathElement.cpp:
              * svg/SVGPathElement.cpp:
              * svg/SVGPathSegList.cpp:
              * svg/SVGStyledTransformableElement.cpp:
              * svg/SVGSymbolElement.cpp:
              * svg/SVGTextContentElement.cpp:
              * svg/SVGTextElement.cpp:
              * svg/SVGTextPathElement.cpp:
              * svg/SVGUseElement.cpp:
              * svg/SVGViewSpec.cpp:
              * svg/animation/SMILTimeContainer.cpp:
              * svg/properties/SVGAnimatedPropertyMacros.h:
              * svg/properties/SVGPathSegListPropertyTearOff.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42ab4a70
    • philn@webkit.org's avatar
      2010-12-02 Philippe Normand <pnormand@igalia.com> · 5615320f
      philn@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GStreamer] hasVideo/Audio return false until the pipeline reaches PAUSED
              https://bugs.webkit.org/show_bug.cgi?id=50382
      
              Go to PAUSED even if preload is deactivated. In that case don't
              process the GStreamer state changes until commitLoad() has been
              called. This patch also fixes hasVideo and hasAudio methods,
              making them reactive to the playbin2 audio/video tags-changed
              signals.
      
              Test: media/controls-without-preload.html
      
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::mediaPlayerPrivateMessageCallback):
              (WebCore::mediaPlayerPrivateVideoTagsChangedCallback):
              (WebCore::mediaPlayerPrivateAudioTagsChangedCallback):
              (WebCore::mediaPlayerPrivateAudioTagsChangeTimeoutCallback):
              (WebCore::mediaPlayerPrivateVideoTagsChangeTimeoutCallback):
              (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
              (WebCore::MediaPlayerPrivateGStreamer::~MediaPlayerPrivateGStreamer):
              (WebCore::MediaPlayerPrivateGStreamer::load):
              (WebCore::MediaPlayerPrivateGStreamer::commitLoad):
              (WebCore::MediaPlayerPrivateGStreamer::videoTagsChanged):
              (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVideoTags):
              (WebCore::MediaPlayerPrivateGStreamer::audioTagsChanged):
              (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfAudioTags):
              (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
              (WebCore::MediaPlayerPrivateGStreamer::hasVideo):
              (WebCore::MediaPlayerPrivateGStreamer::hasAudio):
              (WebCore::MediaPlayerPrivateGStreamer::loadDelayed):
      
      LayoutTests:
      
              Reviewed by Martin Robinson.
      
              hasVideo/hasAudio reimplementations
      
              [GStreamer] hasVideo/Audio return false until the pipeline reaches PAUSED
              https://bugs.webkit.org/show_bug.cgi?id=50382
      
              * media/controls-without-preload.html: Added.
              * platform/gtk/media/controls-without-preload-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5615320f
    • commit-queue@webkit.org's avatar
      2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com> · d91def6f
      commit-queue@webkit.org authored
              Unreviewed, rolling out r73228.
              http://trac.webkit.org/changeset/73228
              https://bugs.webkit.org/show_bug.cgi?id=50448
      
              r73211 seemed to break Chromium's "Webkit Win (dbg)(2)" bot.
              (Requested by yutak on #webkit).
      
              * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
              * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
              * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
              * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py:
              * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d91def6f
    • commit-queue@webkit.org's avatar
      2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com> · 05d7ef01
      commit-queue@webkit.org authored
              Unreviewed, rolling out r73231.
              http://trac.webkit.org/changeset/73231
              https://bugs.webkit.org/show_bug.cgi?id=50443
      
              r73211 seemed to broke Chromium's "Webkit Win (dbg)(2)" bot.
              (Requested by yutak on #webkit).
      
              * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
              * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      05d7ef01
    • zimmermann@webkit.org's avatar
      2010-12-03 Nikolas Zimmermann <nzimmermann@rim.com> · e50a8b17
      zimmermann@webkit.org authored
              Reviewed by Dirk Schulze.
      
              Finish splitting DECLARE_ANIMATED_PROPERTY* in DECLARE/DEFINE parts for the remaining SVGAnimated* types
              https://bugs.webkit.org/show_bug.cgi?id=50440
      
              Continuing the work on bug 42025: Introduce (DECLARE|DEFINE)_ANIMATED_(ANGLE|BOOLEAN|INTEGER|PRESERVEASPECTRATIO|RECT).
              The animated property declaration lives in the header, the definition in the cpp file, to avoid the dependency on SVGNames.h in all headers.
      
              No functional changes, thus no new tests.
      
              * svg/SVGAElement.cpp:
              * svg/SVGAElement.h:
              * svg/SVGAnimatedAngle.h:
              * svg/SVGAnimatedBoolean.h:
              * svg/SVGAnimatedInteger.h:
              * svg/SVGAnimatedPreserveAspectRatio.h:
              * svg/SVGAnimatedRect.h:
              * svg/SVGAnimationElement.cpp:
              * svg/SVGAnimationElement.h:
              (WebCore::SVGAnimationElement::calculateDistance):
              (WebCore::SVGAnimationElement::animationPath):
              * svg/SVGCircleElement.cpp:
              * svg/SVGCircleElement.h:
              * svg/SVGClipPathElement.cpp:
              * svg/SVGClipPathElement.h:
              * svg/SVGCursorElement.cpp:
              * svg/SVGCursorElement.h:
              * svg/SVGDefsElement.cpp:
              * svg/SVGDefsElement.h:
              * svg/SVGEllipseElement.cpp:
              * svg/SVGEllipseElement.h:
              * svg/SVGFEConvolveMatrixElement.cpp:
              * svg/SVGFEConvolveMatrixElement.h:
              * svg/SVGFEImageElement.cpp:
              * svg/SVGFEImageElement.h:
              * svg/SVGFETurbulenceElement.cpp:
              * svg/SVGFETurbulenceElement.h:
              * svg/SVGFilterElement.cpp:
              * svg/SVGFilterElement.h:
              * svg/SVGFilterPrimitiveStandardAttributes.h:
              * svg/SVGFontElement.cpp:
              (WebCore::SVGFontElement::firstMissingGlyphElement):
              (WebCore::SVGFontElement::ensureGlyphCache):
              * svg/SVGFontElement.h:
              * svg/SVGForeignObjectElement.cpp:
              * svg/SVGForeignObjectElement.h:
              * svg/SVGGElement.cpp:
              * svg/SVGGElement.h:
              (WebCore::SVGGElement::isShadowTreeContainerElement):
              (WebCore::SVGGElement::isValid):
              * svg/SVGGradientElement.cpp:
              * svg/SVGGradientElement.h:
              * svg/SVGImageElement.cpp:
              * svg/SVGImageElement.h:
              * svg/SVGLineElement.cpp:
              * svg/SVGLineElement.h:
              * svg/SVGLinearGradientElement.h:
              * svg/SVGMPathElement.cpp:
              * svg/SVGMPathElement.h:
              * svg/SVGMarkerElement.cpp:
              * svg/SVGMarkerElement.h:
              * svg/SVGMaskElement.cpp:
              * svg/SVGMaskElement.h:
              * svg/SVGPathElement.cpp:
              * svg/SVGPathElement.h:
              * svg/SVGPatternElement.cpp:
              * svg/SVGPatternElement.h:
              * svg/SVGPolyElement.cpp:
              * svg/SVGPolyElement.h:
              * svg/SVGRadialGradientElement.h:
              * svg/SVGRectElement.cpp:
              * svg/SVGRectElement.h:
              * svg/SVGSVGElement.cpp:
              (WebCore::SVGSVGElement::contentScriptType):
              (WebCore::SVGSVGElement::contentStyleType):
              (WebCore::SVGSVGElement::parseMappedAttribute):
              * svg/SVGSVGElement.h:
              * svg/SVGScriptElement.cpp:
              * svg/SVGScriptElement.h:
              * svg/SVGSwitchElement.cpp:
              * svg/SVGSwitchElement.h:
              (WebCore::SVGSwitchElement::isValid):
              * svg/SVGSymbolElement.cpp:
              * svg/SVGSymbolElement.h:
              (WebCore::SVGSymbolElement::rendererIsNeeded):
              * svg/SVGTextContentElement.cpp:
              * svg/SVGTextContentElement.h:
              * svg/SVGUseElement.cpp:
              * svg/SVGUseElement.h:
              * svg/SVGViewElement.cpp:
              * svg/SVGViewElement.h:
              (WebCore::SVGViewElement::viewTarget):
              (WebCore::SVGViewElement::rendererIsNeeded):
              * svg/SVGViewSpec.cpp:
              * svg/SVGViewSpec.h:
              (WebCore::SVGViewSpec::transform):
              (WebCore::SVGViewSpec::viewTargetString):
              (WebCore::SVGViewSpec::contextElement):
              * svg/properties/SVGAnimatedPropertyMacros.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e50a8b17
    • yutak@chromium.org's avatar
      2010-12-03 Yuta Kitamura <yutak@chromium.org> · 449344cf
      yutak@chromium.org authored
              Unreviewed.
      
              Update Chromium test expectations.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      449344cf
    • philn@webkit.org's avatar
      2010-12-03 Philippe Normand <pnormand@igalia.com> · aef14dd2
      philn@webkit.org authored
              Unreviewed, skipping failing media test on GTK.
      
              * platform/gtk/Skipped: Skip media/controls-drag-timebar.html
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aef14dd2
    • yutak@chromium.org's avatar
      2010-12-03 Yuta Kitamura <yutak@chromium.org> · 3f4f4c0e
      yutak@chromium.org authored
              Unreviewed.
      
              Update Chromium test expectations.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f4f4c0e
    • commit-queue@webkit.org's avatar
      2010-12-03 Noel Gordon <noel.gordon@gmail.com> · ed64c5ee
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              [chromium] PNG encoder leaks memory on png_write_row errors.
              https://bugs.webkit.org/show_bug.cgi?id=50439
      
              Move the creation of needed C++ objects before the setjmp() point so
              those objects have their destructors called if libpng errors invoke
              the setjmp() return path.
      
              Other minor cleanup: use the skia bitmap locker class, and remove the
              PNGDestroyer class - instead directly call png_destroy_write_struct()
              at each of the encodeImpl() return points.
      
              No change in behaviour, so no new tests.
      
              * platform/image-encoders/skia/PNGImageEncoder.cpp:
              (WebCore::encodeImpl):
              (WebCore::PNGImageEncoder::encode):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ed64c5ee
    • philn@webkit.org's avatar
      2010-12-02 Philippe Normand <pnormand@igalia.com> · e21fbade
      philn@webkit.org authored
              Reviewed by Eric Carlson.
      
              Theme not updated when MediaPlayer m_private engine changes
              https://bugs.webkit.org/show_bug.cgi?id=50228
      
              Trigger a new rendering of the media element when the private
              media-player backend is updated.
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::mediaPlayerEngineUpdated):
              * html/HTMLMediaElement.h:
              * platform/graphics/MediaPlayer.cpp:
              (WebCore::MediaPlayer::MediaPlayer):
              (WebCore::MediaPlayer::load):
              * platform/graphics/MediaPlayer.h:
              (WebCore::MediaPlayerClient::mediaPlayerEngineUpdated):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e21fbade