1. 15 Mar, 2011 40 commits
    • bdakin@apple.com's avatar
      Attempted build fix. · 7bfa1c24
      bdakin@apple.com authored
      * platform/mac/ScrollAnimatorMac.mm:
      (WebCore::ScrollAnimatorMac::cancelAnimations):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81163 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7bfa1c24
    • hyatt@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=56329 · 956bb716
      hyatt@apple.com authored
      Reviewed by Dave Levin.
      
      Fix FontCache problems on Linux.  Make sure not to mutate the platform data passed in to SimpleFontData's
      constructor.  Change this code to match Mac and to set the new m_hasVerticalGlyphs boolean instead of
      mutating orientation.
      
      * platform/graphics/chromium/SimpleFontDataLinux.cpp:
      (WebCore::SimpleFontData::platformInit):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81162 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      956bb716
    • simon.fraser@apple.com's avatar
      2011-03-15 Simon Fraser <simon.fraser@apple.com> · 9eb61a0b
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              Disable ShadowBlur shadow drawing in accelerated contexts
              https://bugs.webkit.org/show_bug.cgi?id=56392
      
              When drawing into a graphics context that is accelerated, don't use
              ShadowBlur, because it may be slower.
      
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/cg/GraphicsContextCG.cpp:
              (WebCore::GraphicsContext::fillRect):
              (WebCore::GraphicsContext::fillRoundedRect):
              (WebCore::GraphicsContext::fillRectWithRoundedHole):
              (WebCore::GraphicsContext::setIsCALayerContext):
              (WebCore::GraphicsContext::isCALayerContext):
              (WebCore::GraphicsContext::setIsAcceleratedContext):
              (WebCore::GraphicsContext::isAcceleratedContext):
              * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
              (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
              * platform/graphics/mac/WebLayer.mm:
              (drawLayerContents):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81161 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9eb61a0b
    • andersca@apple.com's avatar
      Try to fix the Windows build. · 8ad1e467
      andersca@apple.com authored
      * DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp:
      (NPDeallocateCalledBeforeNPShutdown::TestObject::~TestObject):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81160 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8ad1e467
    • bdakin@apple.com's avatar
      Source/WebCore: Fix for <rdar://problem/9075624> Overlay scrollbars slow down PLT by 6% · 457f6851
      bdakin@apple.com authored
      Reviewed by Simon Fraser.
      
      Tell the ScrollAnimator to cancelAnimations() since we are navigating to a new 
      page.
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::transitionToCommitted):
              
      Scroll animations should be suspended if the FrameLoadState is anything but 
      complete.
      * page/FrameView.cpp:
      (WebCore::FrameView::shouldSuspendScrollAnimations):
      * page/FrameView.h:
      * platform/ScrollableArea.h:
      (WebCore::ScrollableArea::shouldSuspendScrollAnimations):
      * rendering/RenderDataGrid.cpp:
      (WebCore::RenderDataGrid::shouldSuspendScrollAnimations):
      * rendering/RenderDataGrid.h:
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::shouldSuspendScrollAnimations):
      * rendering/RenderLayer.h:
      * rendering/RenderListBox.cpp:
      (WebCore::RenderListBox::shouldSuspendScrollAnimations):
      * rendering/RenderListBox.h:
      
      New virtual function cancelAnimations() is only needed on the Mac, so the base 
      class is empty.
      * platform/ScrollAnimator.h:
      (WebCore::ScrollAnimator::cancelAnimations):
      
      ScrollAnimatorMac needs to keep track of whether the page has been scrolled since 
      it started loading. If so, we will override optimizations that wait for the 
      FrameLoadState to be complete before animating scrollbars.
      * platform/mac/ScrollAnimatorMac.h:
      (WebCore::ScrollAnimatorMac::haveScrolledSincePageLoad):
      
      If the scrollbar animations should be suspended, we start a timer to make sure 
      that we do flash the scrollbars. Animating the scrollbars is expensive, so this is 
      both a performance optimization and a UI enhancement since the scrollbar won't 
      jump around nearly as much on a page load.
      * platform/mac/ScrollAnimatorMac.mm:
      (-[ScrollbarPainterDelegate cancelAnimations]):
      (-[ScrollbarPainterDelegate scrollerImp:animateKnobAlphaTo:duration:]):
      (-[ScrollbarPainterDelegate scrollerImp:animateTrackAlphaTo:duration:]):
      (-[ScrollbarPainterDelegate scrollerImp:overlayScrollerStateChangedTo:]):
      (WebCore::ScrollAnimatorMac::ScrollAnimatorMac):
      (WebCore::ScrollAnimatorMac::scroll):
      (WebCore::ScrollAnimatorMac::handleWheelEvent):
      (WebCore::ScrollAnimatorMac::cancelAnimations):
      (WebCore::ScrollAnimatorMac::smoothScrollWithEvent):
      (WebCore::ScrollAnimatorMac::beginScrollGesture):
      (WebCore::ScrollAnimatorMac::startScrollbarPaintTimer):
      (WebCore::ScrollAnimatorMac::scrollbarPaintTimerIsActive):
      (WebCore::ScrollAnimatorMac::stopScrollbarPaintTimer):
      (WebCore::ScrollAnimatorMac::initialScrollbarPaintTimerFired):
      
      New WebCoreSystemInterface function to force the scrollbars to flash
      * WebCore.exp.in:
      * platform/mac/WebCoreSystemInterface.h:
      * platform/mac/WebCoreSystemInterface.mm:
      
      Source/WebKit/mac: WebKit part of <rdar://problem/9075624> Overlay scrollbars slow down PLT by 6%
      
      Reviewed by Simon Fraser.
      
      New WebKitystemInterface function to force the scrollbars to flash
      * WebCoreSupport/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      
      Source/WebKit2: WebKit2 part of <rdar://problem/9075624> Overlay scrollbars slow down PLT by 6%
      
      Reviewed by Simon Fraser.
      
      New WebKitystemInterface function to force the scrollbars to flash
      * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81159 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      457f6851
    • dglazkov@chromium.org's avatar
      2011-03-15 Dimitri Glazkov <dglazkov@chromium.org> · 637fc83c
      dglazkov@chromium.org authored
              Reviewed by Adam Barth.
      
              Remove stale comment at RenderStyle::diff.
              https://bugs.webkit.org/show_bug.cgi?id=56387
      
              * rendering/style/RenderStyle.cpp: Removed comment.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81158 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      637fc83c
    • andersca@apple.com's avatar
      2011-03-15 Anders Carlsson <andersca@apple.com> · 857357f3
      andersca@apple.com authored
              Reviewed by Sam Weinig.
      
              Make sure that NP_Shutdown is always the last NPP function called
              https://bugs.webkit.org/show_bug.cgi?id=56391
              <rdar://problem/8989902>
      
              Make sure to always increment the load count whenever a web process connection
              is opened to a plug-in process, and decrement it when the last web process connection
              goes away.
      
              * PluginProcess/PluginProcess.cpp:
              (WebKit::PluginProcess::createWebProcessConnection):
              (WebKit::PluginProcess::startShutdownTimerIfNecessary):
              * Shared/Plugins/Netscape/NetscapePluginModule.cpp:
              * Shared/Plugins/Netscape/NetscapePluginModule.h:
              * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
              (WebKit::NetscapePlugin::NetscapePlugin):
              (WebKit::NetscapePlugin::~NetscapePlugin):
      2011-03-15  Anders Carlsson  <andersca@apple.com>
      
              Reviewed by Sam Weinig.
      
              Make sure that NP_Shutdown is always the last NPP function called
              https://bugs.webkit.org/show_bug.cgi?id=56391
              <rdar://problem/8989902>
      
              Add test.
      
              * plugins/npruntime/np-deallocate-called-before-np-shutdown-expected.txt: Added.
              * plugins/npruntime/np-deallocate-called-before-np-shutdown.html: Added.
      2011-03-15  Anders Carlsson  <andersca@apple.com>
      
              Reviewed by Sam Weinig.
      
              Make sure that NP_Shutdown is always the last NPP function called
              https://bugs.webkit.org/show_bug.cgi?id=56391
      
              Add a test that times out if an NP_Deallocate object is called after NP_Shutdown.
      
              * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
              * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
              (PluginTest::PluginTest):
              (PluginTest::NP_Shutdown):
              (PluginTest::registerNPShutdownFunction):
              * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
              * DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp: Added.
              (NPDeallocateCalledBeforeNPShutdown::NPDeallocateCalledBeforeNPShutdown):
              (NPDeallocateCalledBeforeNPShutdown::TestObject::~TestObject):
              (NPDeallocateCalledBeforeNPShutdown::ScriptableObject::hasProperty):
              (NPDeallocateCalledBeforeNPShutdown::ScriptableObject::getProperty):
              (NPDeallocateCalledBeforeNPShutdown::NPP_New):
              (NPDeallocateCalledBeforeNPShutdown::NPP_GetValue):
              (NPDeallocateCalledBeforeNPShutdown::shutdown):
              * DumpRenderTree/TestNetscapePlugIn/main.cpp:
              (NP_Shutdown):
              * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
              * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
              * GNUmakefile.am:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81157 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      857357f3
    • ddkilzer@apple.com's avatar
      <http://webkit.org/b/56381> Objective-C classes should be typedef-ed as structs (not void*) in C++ · 83a6ac21
      ddkilzer@apple.com authored
      Reviewed by Simon Fraser.
      
      Typedef-ing Objective-C classes as void* for pure C++ makes it
      easier for bugs to creep in because compilers can't do any type
      checking for void pointers.
      
      * platform/graphics/GraphicsContext3D.h: Changed typedef
      declarations for CALayer and WebGLLayer from void* to structs.
      (WebCore::GraphicsContext3D::platformLayer): Changed
      static_cast<CALayer*> to reinterpret_cast<CALayer*> now that
      CALayer and WebGLLayer are not void pointers.
      * platform/graphics/GraphicsLayer.h: Changed typedef declaration
      for PlatformLayer from void* to struct CALayer.
      * platform/graphics/ca/PlatformCAAnimation.h: Changed typedef
      declaration for CAPropertyAnimation from void* to a struct.
      Extracted typdef for PlatformAnimationRef.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81156 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      83a6ac21
    • commit-queue@webkit.org's avatar
      2011-03-15 Ilya Sherman <isherman@chromium.org> · 8d3a38c9
      commit-queue@webkit.org authored
              Reviewed by Tony Chang.
      
              Autofilled form elements are assigned fixed background color but not text color
              https://bugs.webkit.org/show_bug.cgi?id=48382
      
              * fast/forms/input-autofilled-expected.txt: Added.
              * fast/forms/input-autofilled.html: Added.
              * platform/win/fast/forms/input-autofilled-expected.txt: Added.
      2011-03-15  Ilya Sherman  <isherman@chromium.org>
      
              Reviewed by Tony Chang.
      
              Autofilled form elements are assigned fixed background color but not text color
              https://bugs.webkit.org/show_bug.cgi?id=48382
      
              Test: fast/forms/input-autofilled.html
      
              * css/html.css:
              (input:-webkit-autofill): Added foreground color: #000000
              * css/wml.css:
              (input:-webkit-autofill): Added foreground color: #000000
      2011-03-15  Ilya Sherman  <isherman@chromium.org>
      
              Reviewed by Tony Chang.
      
              Autofilled form elements are assigned fixed background color but not text color
              https://bugs.webkit.org/show_bug.cgi?id=48382
      
              * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
              (DumpRenderTreeSupportGtk::setAutofilled): Added.
              * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      2011-03-15  Ilya Sherman  <isherman@chromium.org>
      
              Reviewed by Tony Chang.
      
              Autofilled form elements are assigned fixed background color but not text color
              https://bugs.webkit.org/show_bug.cgi?id=48382
      
              * DOM/WebDOMOperations.mm:
              (-[DOMHTMLInputElement _setAutofilled:]): Added (wrapper).
              * DOM/WebDOMOperationsPrivate.h:
      2011-03-15  Ilya Sherman  <isherman@chromium.org>
      
              Reviewed by Tony Chang.
      
              Autofilled form elements are assigned fixed background color but not text color
              https://bugs.webkit.org/show_bug.cgi?id=48382
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setAutofilledCallback): Added.
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::setAutofilled): Added.
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setAutofilled): Added.
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::setAutofilled): Added.
              (LayoutTestController::setValueForUser): Style tweak.
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::setAutofilled): Added (stub).
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              (LayoutTestController::setAutofilled): Added (stub).
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81155 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8d3a38c9
    • barraclough@apple.com's avatar
      Fix broken assert in new code. · 449a1e4c
      barraclough@apple.com authored
      Reviewed by Sam Weinig.
      
      * dfg/DFGAliasTracker.h:
      (JSC::DFG::AliasTracker::recordPutByVal):
          - recordPutByVal is called for both PutByVal & PutByValAlias.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81154 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      449a1e4c
    • barraclough@apple.com's avatar
      Removed redundant code from BytecodeGenerator. · 272cb785
      barraclough@apple.com authored
      Rubber stamped by Sam Weinig.
      
      * bytecompiler/BytecodeGenerator.cpp:
      * bytecompiler/BytecodeGenerator.h:
          - delete uncalled code missed when reparsing was removed.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81153 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      272cb785
    • tony@chromium.org's avatar
      2011-03-15 Tony Chang <tony@chromium.org> · f0a2eb50
      tony@chromium.org authored
              Revert r81147 and r81149, broke the chromium win build.
      
              * WebKit.gyp:
              * scripts/generate_devtools_grd.py: Removed.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81152 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f0a2eb50
    • aroben@apple.com's avatar
      2011-03-15 Adam Roben <aroben@apple.com> · 3d20aebe
      aroben@apple.com authored
              Fix a leak in WebStorageTrackerClient::dispatchDidModifyOrigin
      
              Fixes <http://webkit.org/b/56385> SecurityOrigin leaks seen in
              WebStorageTrackerClient::dispatchDidModifyOrigin
      
              Reviewed by Antti Koivisto.
      
              * Storage/WebStorageTrackerClient.mm:
              (WebStorageTrackerClient::dispatchDidModifyOriginOnMainThread): Adopt the reference passed
              to us by dispatchDidModifyOrigin.
              (WebStorageTrackerClient::dispatchDidModifyOrigin): Added a comment and removed an
              unnecessary cast.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81150 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3d20aebe
    • tony@chromium.org's avatar
      2011-03-15 Tony Chang <tony@chromium.org> · e2b16a8f
      tony@chromium.org authored
              Fix chromium build using python 2.5 (with statement).
      
              * scripts/generate_devtools_grd.py:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81149 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e2b16a8f
    • tony@chromium.org's avatar
      2011-03-15 Tony Chang <tony@chromium.org> · f75fd421
      tony@chromium.org authored
              Reviewed by Adam Barth.
      
              [chromium] add a build target to create a grd file with devtool resources
              https://bugs.webkit.org/show_bug.cgi?id=56335
      
              This is the webkit side of the fix for
              http://code.google.com/p/chromium/issues/detail?id=35793
      
              * WebKit.gyp:
              * scripts/generate_devtools_grd.py: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81147 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f75fd421
    • aroben@apple.com's avatar
      Update WebKit2 Skipped file for some new tests that rely on unimplemented features · 7c6ec3d8
      aroben@apple.com authored
      * platform/mac-wk2/Skipped:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81146 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7c6ec3d8
    • commit-queue@webkit.org's avatar
      2011-03-15 Alexis Menard <alexis.menard@openbossa.org> · 89cf65df
      commit-queue@webkit.org authored
              Reviewed by Eric Carlson.
      
              HTMLMediaElement::mediaPlayerPlaybackStateChanged should not change the "public" state of the element
              if it's an internal pause for example.
              https://bugs.webkit.org/show_bug.cgi?id=56374
      
              In case of an internal pause, the callback from the mediaplayer should be ignored to avoid reflecting the
              change into the DOM.
      
              No new tests: Verified manually.
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::mediaPlayerPlaybackStateChanged):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81145 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      89cf65df
    • commit-queue@webkit.org's avatar
      2011-03-15 Bill Budge <bbudge@chromium.org> · fef8f2e9
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              AssociatedURLLoader does not support Cross Origin Requests
              https://bugs.webkit.org/show_bug.cgi?id=53925
      
              No new tests. No new functionality exposed.
      
              * public/WebURLLoader.h:
              (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
              * src/AssociatedURLLoader.cpp:
              (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
              (WebKit::AssociatedURLLoader::ClientAdapter::create):
              (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
              (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
              (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
              (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
              (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
              (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
              (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
              (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
              (WebKit::AssociatedURLLoader::AssociatedURLLoader):
              (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
              (WebKit::AssociatedURLLoader::loadSynchronously):
              (WebKit::AssociatedURLLoader::loadAsynchronously):
              (WebKit::AssociatedURLLoader::cancel):
              (WebKit::AssociatedURLLoader::setDefersLoading):
              * src/AssociatedURLLoader.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81144 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      fef8f2e9
    • commit-queue@webkit.org's avatar
      2011-03-15 Alok priyadarshi <alokp@chromium.org> · 1dc09361
      commit-queue@webkit.org authored
              Reviewed by James Robinson.
      
              Remove unnecessary function WebPlugin::getBackingTextureId
              https://bugs.webkit.org/show_bug.cgi?id=56122
      
              It will be tested by Pepper2D and Pepper3D layout/smoke tests
              on the Chromium side.
      
              * public/WebPlugin.h:
              * src/WebPluginContainerImpl.cpp:
              (WebKit::WebPluginContainerImpl::platformLayer):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81143 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1dc09361
    • mitz@apple.com's avatar
      Build fix after r81135. · 5d078dda
      mitz@apple.com authored
      * TestWebKitAPI/Configurations/InjectedBundle.xcconfig:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81142 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5d078dda
    • mnaganov@chromium.org's avatar
      2011-03-15 Mikhail Naganov <mnaganov@chromium.org> · a0b2e344
      mnaganov@chromium.org authored
              Unreviewed. Update chromium deps to pick up the latest V8.
      
              * DEPS:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81141 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a0b2e344
    • mitz@apple.com's avatar
      Build fix after r81135. · 22c83abd
      mitz@apple.com authored
      * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
      * WebKitTestRunner/mac/TestControllerMac.mm:
      * WebKitTestRunner/mac/TestInvocationMac.mm:
      * WebKitTestRunner/mac/main.mm:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81140 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      22c83abd
    • kbalazs@webkit.org's avatar
      2011-03-15 Balazs Kelemen <kbalazs@webkit.org> · 8969fbce
      kbalazs@webkit.org authored
              Reviewed by Adam Barth.
      
              REGRESSION(80977): breaks Qt ARMv7 Linux Release bot
              https://bugs.webkit.org/show_bug.cgi?id=56349
      
              * QtTestBrowser/QtTestBrowser.pro: Link against fontconfig
              on platforms where we use it. Copied from DumpRenderTree.pro.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81139 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8969fbce
    • mitz@apple.com's avatar
      Build fix after r81135. · 8a373e74
      mitz@apple.com authored
      * DumpRenderTree/cf/WebArchiveDumpSupport.cpp:
      * DumpRenderTree/mac/WebArchiveDumpSupportMac.mm:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81138 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8a373e74
    • mrobinson@webkit.org's avatar
      2011-03-15 Martin Robinson <mrobinson@igalia.com> · 6e8124fa
      mrobinson@webkit.org authored
              Reviewed by Adam Barth.
      
              [GTK] [WebKit2] The UIProcess never changes the mouse cursor
              https://bugs.webkit.org/show_bug.cgi?id=56333
      
              Add an implementation for WebView::addCursor for WebKit2 GTK+. This allows
              the cursor to change as the user mouses around the page. There is currently
              no test infrastructure to track cursor changes.
      
              * UIProcess/gtk/WebView.cpp:
              (WebKit::WebView::setCursor): Ported implementation from WebKit1.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81137 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6e8124fa
    • podivilov@chromium.org's avatar
      2011-03-12 Pavel Podivilov <podivilov@chromium.org> · 314f8355
      podivilov@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: re-implement xhr breakpoints.
              https://bugs.webkit.org/show_bug.cgi?id=56252
      
              * inspector/debugger/xhr-breakpoints-expected.txt: Added.
              * inspector/debugger/xhr-breakpoints.html: Added.
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2011-03-12  Pavel Podivilov  <podivilov@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: re-implement xhr breakpoints.
              https://bugs.webkit.org/show_bug.cgi?id=56252
      
              - restore xhr breakpoints one by one instead of using setAllBrowserBreakpoints
              - store xhr breakpoints in a separate setting
              - move presentation-related code from BreakpointManager to XHRBreakpointsSidebarPane
      
              Test: inspector/debugger/xhr-breakpoints.html
      
              * inspector/InspectorBrowserDebuggerAgent.cpp:
              (WebCore::InspectorBrowserDebuggerAgent::InspectorBrowserDebuggerAgent):
              (WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged):
              (WebCore::InspectorBrowserDebuggerAgent::restoreStickyBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::setXHRBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::removeXHRBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::willSendXMLHttpRequest):
              (WebCore::InspectorBrowserDebuggerAgent::clear):
              * inspector/InspectorBrowserDebuggerAgent.h:
              * inspector/front-end/BreakpointManager.js:
              (WebInspector.BreakpointManager.prototype.setXHRBreakpoint):
              (WebInspector.BreakpointManager.prototype.removeXHRBreakpoint):
              (WebInspector.BreakpointManager.prototype.breakpointViewForEventData):
              (WebInspector.BreakpointManager.prototype._projectChanged):
              (WebInspector.BreakpointManager.prototype._validateBreakpoints):
              (WebInspector.BreakpointManager.prototype._createEventListenerBreakpointId):
              * inspector/front-end/BreakpointsSidebarPane.js:
              (WebInspector.XHRBreakpointsSidebarPane):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._addButtonClicked.finishEditing):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._addButtonClicked):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._setBreakpoint):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._removeBreakpoint):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._contextMenu.removeBreakpoint):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._contextMenu):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._checkboxClicked):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._labelClicked.finishEditing):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._labelClicked):
              (WebInspector.XHRBreakpointsSidebarPane.prototype.highlightBreakpoint):
              (WebInspector.XHRBreakpointsSidebarPane.prototype.clearBreakpointHighlight):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._saveBreakpoints):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._restoreBreakpoints):
              (WebInspector.XHRBreakpointsSidebarPane.prototype._projectChanged):
              * inspector/front-end/CallStackSidebarPane.js:
              (WebInspector.CallStackSidebarPane.prototype.update):
              (WebInspector.CallStackSidebarPane.prototype._xhrBreakpointHit):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel):
              (WebInspector.ScriptsPanel.prototype._debuggerPaused):
              (WebInspector.ScriptsPanel.prototype._clearInterface):
              * inspector/front-end/Settings.js:
              (WebInspector.Settings):
              * inspector/front-end/inspector.js:
              (WebInspector.resetFocusElement):
              (WebInspector.set attached):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81136 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      314f8355
    • kevino@webkit.org's avatar
      Reviewed by Darin Adler. · db7c0a75
      kevino@webkit.org authored
      Introduce WTF_USE_EXPORT_MACROS, which will allow us to put shared library import/export
      info into the headers rather than in export symbol definition files, but disable it on 
      all platforms initially so we can deal with port build issues one port at a time.
              
      https://bugs.webkit.org/show_bug.cgi?id=27551
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81135 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      db7c0a75
    • loislo@chromium.org's avatar
      2011-03-15 Ilya Tikhonovsky <loislo@chromium.org> · da05cf8a
      loislo@chromium.org authored
              Unreviewed build fix.
      
              Chromium: shared lib linux build are failing.
      
              Two exclude rules for LocalizedNumberNone and TextEncodingDetectorNone were added to the wrong library.
              It was webcore_remaining instead of webcore_platform.
      
              * WebCore.gyp/WebCore.gyp:
      
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81134 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      da05cf8a
    • yurys@chromium.org's avatar
      2011-03-15 Yury Semikhatsky <yurys@chromium.org> · f7f5442c
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: expanding/collapsing object shouldn&apos;t affect outer console.group expansion state
              https://bugs.webkit.org/show_bug.cgi?id=56373
      
              * inspector/front-end/Section.js:
              (WebInspector.Section):
              (WebInspector.Section.prototype.toggleExpanded):
              (WebInspector.Section.prototype.handleClick): stop click even propagation if it was handled by this section.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81133 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f7f5442c
    • pfeldman@chromium.org's avatar
      2011-03-15 Pavel Feldman <pfeldman@chromium.org> · 656c5bd8
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: crash upon "//html//@id" search in elements panel.
              https://bugs.webkit.org/show_bug.cgi?id=56334
      
              * inspector/elements/elements-panel-search-expected.txt:
              * inspector/elements/elements-panel-search.html:
      2011-03-15  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: crash upon "//html//@id" search in elements panel.
              https://bugs.webkit.org/show_bug.cgi?id=56334
      
              * inspector/InspectorDOMAgent.cpp:
              * inspector/front-end/ElementsTreeOutline.js:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81132 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      656c5bd8
    • caseq@chromium.org's avatar
      2011-03-15 Andrey Kosyakov <caseq@chromium.org> · e26a12e3
      caseq@chromium.org authored
              Unreviewed. Swap two calls to setMonitoringXHREnabled to get rid of side effects on other tests.
      
              * inspector/protocol/console-agent-expected.txt:
              * inspector/protocol/console-agent.html:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81131 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e26a12e3
    • caseq@chromium.org's avatar
      2011-03-15 Andrey Kosyakov <caseq@chromium.org> · ec17f345
      caseq@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: further extension API cleanup (removed inspectedPage, add experimental prefix)
              https://bugs.webkit.org/show_bug.cgi?id=56327
      
              * inspector/front-end/ExtensionAPI.js:
              (WebInspector.injectedExtensionAPI):
              * inspector/front-end/ExtensionAPISchema.json:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81130 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ec17f345
    • yurys@chromium.org's avatar
      2011-03-15 Yury Semikhatsky <yurys@chromium.org> · 6faf5f65
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: when console.groupEnd calls twice
              https://bugs.webkit.org/show_bug.cgi?id=56114
      
              * inspector/console/console-nested-group-expected.txt: Added.
              * inspector/console/console-nested-group.html: Added.
      2011-03-15  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: when console.groupEnd calls twice
              https://bugs.webkit.org/show_bug.cgi?id=56114
      
              Test: inspector/console/console-nested-group.html
      
              * inspector/ConsoleMessage.h:
              (WebCore::ConsoleMessage::type):
              * inspector/InspectorConsoleAgent.cpp:
              (WebCore::InspectorConsoleAgent::addConsoleMessage): do not coalesce adjacent EndGroup messages.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81129 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6faf5f65
    • commit-queue@webkit.org's avatar
      2011-03-15 Chris Mumford <chris.mumford@palm.com> · 2497cd67
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              Initializing several member variables that were not initialized in
              their constructors. These values were all read prior to initialization
              as reported by Valgrind.
      
              No new tests: No feature additions/removals.
      
              * accessibility/AccessibilityImageMapLink.cpp:
              (WebCore::AccessibilityImageMapLink::AccessibilityImageMapLink):
              * editing/DeleteSelectionCommand.cpp:
              (WebCore::DeleteSelectionCommand::DeleteSelectionCommand):
              * html/HTMLCanvasElement.cpp:
              (WebCore::HTMLCanvasElement::HTMLCanvasElement):
              * xml/XPathResult.cpp:
              (WebCore::XPathResult::XPathResult):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81128 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2497cd67
    • hayato@chromium.org's avatar
      2011-03-15 Hayato Ito <hayato@chromium.org> · 51a84ad4
      hayato@chromium.org authored
              Reviewed by Shinichiro Hamaji.
      
              [NRWT] Add support for reftests to new-run-webkit-tests.
      
              https://bugs.webkit.org/show_bug.cgi?id=55457
      
              * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
              * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
              * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
              * Scripts/webkitpy/layout_tests/port/base.py:
              * Scripts/webkitpy/layout_tests/port/dryrun.py:
              * Scripts/webkitpy/layout_tests/port/test.py:
              * Scripts/webkitpy/layout_tests/port/test_files.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81127 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      51a84ad4
    • commit-queue@webkit.org's avatar
      2011-03-15 Ben Taylor <bentaylor.solx86@gmail.com> · 4c5be784
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              https://bugs.webkit.org/show_bug.cgi?id=56255
              Fix build on Solaris 10/Sun Studio 12 C++
      
              No new tests. This is to fix compilation on Solaris 10 with Sun Studio 12 C++
      
              * bridge/runtime_array.h:
              (JSC::RuntimeArray::getConcreteArray):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81126 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4c5be784
    • philn@webkit.org's avatar
      2011-03-15 Philippe Normand <pnormand@igalia.com> · a3d6bde6
      philn@webkit.org authored
              Unreviewed, skip failing media test on GTK.
      
              * platform/gtk/Skipped:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81125 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a3d6bde6
    • apavlov@chromium.org's avatar
      2011-03-15 Alexander Pavlov <apavlov@chromium.org> · 4ae9a11a
      apavlov@chromium.org authored
              [Chromium] Unreviewed, update test expectations
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81124 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4ae9a11a
    • alex@webkit.org's avatar
      2011-03-15 Alejandro G. Castro <alex@igalia.com> · 9f73fc8d
      alex@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Fix compilation warning after r80892
              https://bugs.webkit.org/show_bug.cgi?id=56302
      
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::originsWithLocalStorage):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81123 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9f73fc8d
    • robert@webkit.org's avatar
      2011-03-15 Robert Hogan <robert@webkit.org> · 31609201
      robert@webkit.org authored
              Reviewed by Adam Barth.
      
              Document the qmakearg argument, and hint how to build webkit2 on Qt
              https://bugs.webkit.org/show_bug.cgi?id=56326
      
              * Scripts/build-webkit: add --qmakearg to build-webkit --help
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81122 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      31609201