1. 21 Jan, 2014 32 commits
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r162452. · 4acc4a4b
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/162452
      https://bugs.webkit.org/show_bug.cgi?id=127366
      
      broke a few tests on all Mac WebKit1 bots (Requested by
      thorton on #webkit).
      
      Source/WebCore:
      
      * WebCore.exp.in:
      * page/FocusController.cpp:
      (WebCore::FocusController::FocusController):
      (WebCore::FocusController::setFocused):
      (WebCore::FocusController::setActive):
      (WebCore::FocusController::setContentIsVisible):
      * page/FocusController.h:
      (WebCore::FocusController::isActive):
      (WebCore::FocusController::isFocused):
      * page/Page.cpp:
      (WebCore::Page::Page):
      (WebCore::Page::setIsInWindow):
      (WebCore::Page::setIsVisuallyIdle):
      (WebCore::Page::setIsVisible):
      (WebCore::Page::visibilityState):
      (WebCore::Page::hiddenPageCSSAnimationSuspensionStateChanged):
      * page/Page.h:
      (WebCore::Page::isVisible):
      (WebCore::Page::isInWindow):
      
      Source/WebKit/mac:
      
      * WebView/WebView.mm:
      (-[WebView _windowWillOrderOnScreen:]):
      (-[WebView _windowWillOrderOffScreen:]):
      
      Source/WebKit2:
      
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::WebPage):
      (WebKit::WebPage::setActive):
      (WebKit::WebPage::setViewIsVisible):
      (WebKit::WebPage::setFocused):
      (WebKit::WebPage::setIsInWindow):
      (WebKit::WebPage::setViewStateInternal):
      (WebKit::WebPage::setIsVisuallyIdle):
      * WebProcess/WebPage/WebPage.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4acc4a4b
    • cfleizach@apple.com's avatar
      AX: Mac: Expose the visible text of a password field to AX · 8b2c964a
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127353
      
      Reviewed by Brent Fulgham.
      
      Source/WebCore:
      
      The Mac platform should now expose the rendered value of password fields through AX.
      
      Test: accessibility/password-field-value.html
      
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::textLength):
      (WebCore::AccessibilityRenderObject::passwordFieldValue):
      
      LayoutTests:
      
      * accessibility/password-field-value-expected.txt: Added.
      * accessibility/password-field-value.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162466 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b2c964a
    • commit-queue@webkit.org's avatar
      Trivial Session API cleanup. · c3f31ab5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127356
      
      Patch by Martin Hock <mhock@apple.com> on 2014-01-21
      Reviewed by Alexey Proskuryakov.
      
      * UIProcess/API/C/WKSessionRef.cpp:
      (WKSessionIsEphemeral):
      * UIProcess/API/C/WKSessionRef.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3f31ab5
    • commit-queue@webkit.org's avatar
      Support SSL error handling in case of synchronous job. · 7167313c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125301
      
      Patch by Robert Sipka <sipka@inf.u-szeged.hu> on 2014-01-21
      Reviewed by Brent Fulgham.
      
      Set ssl error informations for the users.
      
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::ResourceHandleManager::dispatchSynchronousJob):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7167313c
    • simon.fraser@apple.com's avatar
      Export systemTotalMemory() and systemMemoryLevel() for MobileSafari · 3d5532ad
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127360
      
      Reviewed by Andy Estes.
      
      MobileSafari inappropriately calls these WebCore functions directly,
      so export them.
      
      * WebCore.exp.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d5532ad
    • simon.fraser@apple.com's avatar
      Clean up PLATFORM(IOS) code related to the custom fixed position layout rect · 037f67dc
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127362
      
      Reviewed by Dave Hyatt.
      
      Various platforms customize the rect used to layout position:fixed elements,
      and each modified RenderBox::availableLogicalHeight/WidthUsing() in different
      ways.
      
      Clean this up by adding RenderView::clientLogicalWidth/HeightForFixedPosition(),
      and moving the platform hacks into it.
      
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::availableLogicalHeightUsing):
      (WebCore::RenderBox::containingBlockLogicalWidthForPositioned):
      (WebCore::RenderBox::containingBlockLogicalHeightForPositioned):
      * rendering/RenderView.cpp:
      (WebCore::RenderView::clientLogicalWidthForFixedPosition):
      (WebCore::RenderView::clientLogicalHeightForFixedPosition):
      * rendering/RenderView.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      037f67dc
    • simon.fraser@apple.com's avatar
      Log an error for a common cause of WebProcess early launch crashing in... · 215375d8
      simon.fraser@apple.com authored
      Log an error for a common cause of WebProcess early launch crashing in misconfigured development builds
      https://bugs.webkit.org/show_bug.cgi?id=127121
      
      Reviewed by Anders Carlsson.
      
      A common cause of early WebProcess crashes during development is a null return
      from CFBundleGetValueForInfoDictionaryKey(), so log and return an error in
      this case rather than passing a null C string to dlsym().
      
      * Shared/EntryPointUtilities/mac/LegacyProcess/ChildProcessMain.mm:
      (WebKit::BootstrapMain):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      215375d8
    • mhahnenberg@apple.com's avatar
      Registers used in writeBarrierOnOperand can cause clobbering on some platforms · 598ec7e4
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127357
      
      Reviewed by Filip Pizlo.
      
      Some platforms use t0 and t1 for their first two arguments, so using those to load the
      cell for the write barrier is a bad idea because it will get clobbered.
      
      * llint/LowLevelInterpreter32_64.asm:
      * llint/LowLevelInterpreter64.asm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      598ec7e4
    • commit-queue@webkit.org's avatar
      ASSERT(time.isFinite()) in SVGSMILElement::createInstanceTimesFromSyncbase · 909a2e9a
      commit-queue@webkit.org authored
      <https://webkit.org/b/108184>
      
      Patch by Tamas Gergely <tgergely.u-szeged@partner.samsung.com> on 2014-01-21
      Reviewed by Philip Rogers.
      
      Source/WebCore:
      
      In the case a SMILElement timing had a syncbase dependency on an indefinite value
      the assert were raised. The assert has been removed and a check has been added
      instead that prevents the addition of indefinite times to the time list.
      
      Test: svg/animations/smil-syncbase-self-dependency.svg
      
      * svg/animation/SVGSMILElement.cpp:
      (WebCore::SVGSMILElement::createInstanceTimesFromSyncbase):
        ASSERT removed.
      
      LayoutTests:
      
      Test checks whether valid self-dependency is accidentally broken.
      
      * svg/animations/smil-syncbase-self-dependency-expected.txt: Added.
      * svg/animations/smil-syncbase-self-dependency.svg: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      909a2e9a
    • timothy_horton@apple.com's avatar
      Sort headers after the rename that happened in r162454. · f4bf3112
      timothy_horton@apple.com authored
      * UIProcess/mac/RemoteLayerTreeHost.mm:
      * WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4bf3112
    • commit-queue@webkit.org's avatar
      [WinCairo][Curl] Download request has incorrect user agent string. · 92ba2dd4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127110
      
      Patch by peavo@outlook.com <peavo@outlook.com> on 2014-01-21
      Reviewed by Brent Fulgham.
      
      * WebDownloadCurl.cpp:
      (WebDownload::init): Set user agent string in download request.
      * WebView.cpp:
      (WebView::downloadURL): Avoid early return if no ResourceHandle is provided.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162457 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92ba2dd4
    • zalan@apple.com's avatar
      Use 64 as the default value for the subpixel denominator. · e74ef369
      zalan@apple.com authored
      Reviewed by Simon Fraser.
      
      * lldb/lldb_webkit.py:
      (WebCoreLayoutUnitProvider.to_string):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e74ef369
    • mmaxfield@apple.com's avatar
      Test that text-decoration-skip: ink inherits as expected · 9becbb5b
      mmaxfield@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127329
      
      Reviewed by Dean Jackson.
      
      Adding a test for text-decoration-skip: ink inheriting
      
      * fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-inherit-expected.html: Added.
      * fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-inherit.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162455 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9becbb5b
    • timothy_horton@apple.com's avatar
      Address late review naming comments after r162453. · 8736f0e1
      timothy_horton@apple.com authored
      * UIProcess/API/mac/WKView.mm:
      And, fix the build by adding an include I accidentally missed.
      
      * UIProcess/mac/RemoteLayerTreeHost.mm:
      * WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm:
      
      * WebCore.xcodeproj/project.pbxproj:
      * platform/graphics/ca/mac/PlatformCALayerMac.mm:
      * platform/graphics/mac/CALayerWebAdditions.h: Removed.
      * platform/graphics/mac/CALayerWebAdditions.mm: Removed.
      * platform/graphics/mac/WebCoreCALayerExtras.h: Added.
      * platform/graphics/mac/WebCoreCALayerExtras.mm: Added.
      Rename.
      
      (-[CALayer web_disableAllActions]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8736f0e1
    • timothy_horton@apple.com's avatar
      Keep CALayer implicit animation disabling code in a single place · fdfc3bb9
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127355
      
      Reviewed by Simon Fraser.
      
      * WebCore.xcodeproj/project.pbxproj:
      Add CALayerWebAdditions.{h,mm}.
      
      * platform/graphics/ca/mac/PlatformCALayerMac.mm:
      (PlatformCALayerMac::commonInit):
      Remove nullActionsDictionary() and use [CALayer(WebAdditions) web_disableAllActions] instead.
      
      * platform/graphics/mac/CALayerWebAdditions.h: Added.
      * platform/graphics/mac/CALayerWebAdditions.mm: Added.
      (-[CALayer web_disableAllActions]):
      Added. Disable all implicit actions on the layer.
      
      * Shared/mac/RemoteLayerTreePropertyApplier.h:
      * Shared/mac/RemoteLayerTreePropertyApplier.mm:
      Remove disableActionsForLayer.
      
      * UIProcess/API/mac/WKView.mm:
      (-[WKView _rootLayer]):
      Disable actions on the root layer. It doesn't need them, and currently
      isn't affected by implicit animations, but future patches which animate
      the root layer will benefit from this.
      
      * UIProcess/mac/RemoteLayerTreeHost.mm:
      (WebKit::RemoteLayerTreeHost::createLayer):
      Use web_disableAllActions instead of disableActionsForLayer.
      
      * WebKit2.xcodeproj/project.pbxproj:
      * WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm: Renamed from Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.cpp.
      (PlatformCALayerRemoteCustom::PlatformCALayerRemoteCustom):
      (PlatformCALayerRemoteCustom::~PlatformCALayerRemoteCustom):
      (PlatformCALayerRemoteCustom::hostingContextID):
      Use web_disableAllActions instead of disableActionsForLayer.
      This requires making this file Obj-C++ but that's OK since it's Mac/iOS only.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fdfc3bb9
    • barraclough@apple.com's avatar
      Change Page, FocusController to use ViewState · 3ffc4f37
      barraclough@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126533
      
      Reviewed by Tim Horton.
      
      These classes currently maintain a set of separate fields to represent the view state;
      combine these into a single field, and allow WebPage to send the combined update rather
      than individual changes.
      
      Maintain existing interface for WebKit1 clients.
      
      Source/WebCore: 
      
      * WebCore.exp.in:
          - Added WebCore::setViewState, removed WebCore::setIsVisuallyIdle.
      * page/FocusController.cpp:
      (WebCore::FocusController::FocusController):
          - Initialize combined m_viewState.
      (WebCore::FocusController::setFocused):
          - Calls setViewState.
      (WebCore::FocusController::setFocusedInternal):
          - setFocused -> setFocusedInternal.
      (WebCore::FocusController::setViewState):
          - Added, update all ViewState flags.
      (WebCore::FocusController::setActive):
          - Calls setViewState.
      (WebCore::FocusController::setActiveInternal):
          - setActive -> setActiveInternal.
      (WebCore::FocusController::setContentIsVisible):
          - Calls setViewState.
      (WebCore::FocusController::setContentIsVisibleInternal):
          - setContentIsVisible -> setContentIsVisibleInternal.
      * page/FocusController.h:
      (WebCore::FocusController::isActive):
      (WebCore::FocusController::isFocused):
      (WebCore::FocusController::contentIsVisible):
          - Implemented in terms of ViewState.
      * page/Page.cpp:
      (WebCore::Page::Page):
          - Initialize using PageInitialViewState.
      (WebCore::Page::setIsInWindow):
          - Calls setViewState.
      (WebCore::Page::setIsInWindowInternal):
          - setIsInWindow -> setIsInWindowInternal.
      (WebCore::Page::setIsVisuallyIdleInternal):
          - setIsVisuallyIdle -> setIsVisuallyIdleInternal.
      (WebCore::Page::setViewState):
          - Added, update all ViewState flags, including FocusController.
      (WebCore::Page::setIsVisible):
          - Calls setViewState.
      (WebCore::Page::setIsVisibleInternal):
          - setIsVisible -> setIsVisibleInternal.
      (WebCore::Page::visibilityState):
          - m_isVisible -> isVisible()
      (WebCore::Page::hiddenPageCSSAnimationSuspensionStateChanged):
          - m_isVisible -> isVisible()
      * page/Page.h:
      (WebCore::Page::isVisible):
      (WebCore::Page::isInWindow):
          - Implemented in terms of ViewState.
      (WebCore::Page::scriptedAnimationsSuspended):
          - Combined member fields into ViewState::Flags.
      
      Source/WebKit/mac: 
      
      * WebView/WebView.mm:
      (-[WebView _windowWillOrderOnScreen:]):
      (-[WebView _windowWillOrderOffScreen:]):
          - remove calls to FocusController::setContentIsVisible, these are redundant
            (this is handled when page visibility is set).
      
      Source/WebKit2: 
      
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::WebPage):
          - Combined separate calls to Page::setViewState.
      (WebKit::WebPage::updateIsInWindow):
          - Simplied from setIsInWindow.
      (WebKit::WebPage::setViewState):
          - Combined separate calls to Page::setViewState.
      * WebProcess/WebPage/WebPage.h:
          - Declare updateIsInWindow.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ffc4f37
    • lauro.neto@openbossa.org's avatar
      Remove PLATFORM(NIX) from WebCore · ee418384
      lauro.neto@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127299
      
      Reviewed by Anders Carlsson.
      
      * editing/Editor.cpp:
      (WebCore::Editor::cut):
      (WebCore::Editor::copy):
      (WebCore::Editor::copyImage):
      * editing/Editor.h:
      * html/HTMLCanvasElement.h:
      * loader/EmptyClients.h:
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::defaultObjectContentType):
      * page/ChromeClient.h:
      * page/DragController.cpp:
      (WebCore::DragController::startDrag):
      * platform/Cursor.h:
      * platform/DragData.h:
      * platform/DragImage.h:
      * platform/FileSystem.h:
      * platform/LocalizedStrings.h:
      * platform/Widget.h:
      * platform/audio/FFTFrame.h:
      * platform/audio/HRTFElevation.cpp:
      * platform/cairo/WidgetBackingStore.h:
      * platform/graphics/ANGLEWebKitBridge.h:
      * platform/graphics/FontPlatformData.h:
      * platform/graphics/GLContext.cpp:
      (WebCore::GLContext::createContextForWindow):
      * platform/graphics/GLContext.h:
      * platform/graphics/GraphicsContext3D.h:
      * platform/graphics/GraphicsContext3DPrivate.cpp:
      (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
      * platform/graphics/OpenGLESShims.h:
      * platform/graphics/OpenGLShims.cpp:
      (WebCore::getProcAddress):
      * platform/graphics/OpenGLShims.h:
      * platform/graphics/PlatformLayer.h:
      * platform/graphics/freetype/FontPlatformDataFreeType.cpp:
      * platform/graphics/opengl/Extensions3DOpenGL.cpp:
      (WebCore::Extensions3DOpenGL::createVertexArrayOES):
      (WebCore::Extensions3DOpenGL::deleteVertexArrayOES):
      (WebCore::Extensions3DOpenGL::isVertexArrayOES):
      (WebCore::Extensions3DOpenGL::bindVertexArrayOES):
      (WebCore::Extensions3DOpenGL::supportsExtension):
      * platform/graphics/opengl/Extensions3DOpenGL.h:
      * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
      * platform/graphics/opengl/Extensions3DOpenGLES.h:
      * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
      * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
      (WebCore::GraphicsContext3D::reshape):
      * platform/graphics/opengl/TemporaryOpenGLSetting.cpp:
      * platform/graphics/texmap/TextureMapper.h:
      * platform/network/ResourceHandle.h:
      * plugins/PluginPackage.cpp:
      * plugins/PluginView.cpp:
      (WebCore::PluginView::PluginView):
      * plugins/PluginView.h:
      * plugins/PluginViewNone.cpp:
      * rendering/SimpleLineLayout.cpp:
      (WebCore::SimpleLineLayout::canUseFor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee418384
    • eric.carlson@apple.com's avatar
      Add &lrm; &rlm; and &nbsp; to WebVTT parser · dbc58ddb
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=85112
      
      Reviewed by Jer Noble.
      
      Source/WebCore:
      
      No new tests, track-webvtt-tc022-entities.html was updated to test this.
      
      * html/track/WebVTTTokenizer.cpp:
      (WebCore::WebVTTTokenizer::nextToken): Support RLM, LRM, and NBSP entities.
      
      LayoutTests:
      
      * media/track/captions-webvtt/tc022-entities.vtt:
      * media/track/track-webvtt-tc022-entities-expected.txt:
      * media/track/track-webvtt-tc022-entities.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162450 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dbc58ddb
    • carlosgc@webkit.org's avatar
      [SOUP] Implement CUSTOM PROTOCOLS · 6188bb92
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125583
      
      Reviewed by Anders Carlsson.
      
      Add new classes to implement CustomProtocols for soup. The
      implementation is the same, but using the CustomProtocol API and
      messages. The current implementation can be removed once all ports
      using soup switch to using CustomProtocols.
      
      * GNUmakefile.am: Add new include paths.
      * GNUmakefile.list.am: Add new files to compilation.
      * PlatformGTK.cmake: Add new files to compilation.
      * Shared/API/c/soup/WKBaseSoup.h:
      * Shared/APIObject.h:
      * Shared/Network/CustomProtocols/CustomProtocolManager.h:
      * Shared/Network/CustomProtocols/soup/CustomProtocolManagerImpl.cpp: Added.
      (WebKit::generateCustomProtocolID):
      (WebKit::WebSoupRequestAsyncData::WebSoupRequestAsyncData):
      (WebKit::WebSoupRequestAsyncData::~WebSoupRequestAsyncData):
      (WebKit::WebSoupRequestAsyncData::requestFailed):
      (WebKit::WebSoupRequestAsyncData::releaseTask):
      (WebKit::CustomProtocolManagerImpl::CustomProtocolManagerImpl):
      (WebKit::CustomProtocolManagerImpl::~CustomProtocolManagerImpl):
      (WebKit::CustomProtocolManagerImpl::registerScheme):
      (WebKit::CustomProtocolManagerImpl::supportsScheme):
      (WebKit::CustomProtocolManagerImpl::didFailWithError):
      (WebKit::CustomProtocolManagerImpl::didLoadData):
      (WebKit::CustomProtocolManagerImpl::didReceiveResponse):
      (WebKit::CustomProtocolManagerImpl::didFinishLoading):
      (WebKit::CustomProtocolManagerImpl::send):
      (WebKit::CustomProtocolManagerImpl::finish):
      * Shared/Network/CustomProtocols/soup/CustomProtocolManagerImpl.h: Added.
      * Shared/Network/CustomProtocols/soup/CustomProtocolManagerSoup.cpp:
      (WebKit::CustomProtocolManager::CustomProtocolManager):
      (WebKit::CustomProtocolManager::initialize):
      (WebKit::CustomProtocolManager::registerScheme):
      (WebKit::CustomProtocolManager::supportsScheme):
      (WebKit::CustomProtocolManager::didFailWithError):
      (WebKit::CustomProtocolManager::didLoadData):
      (WebKit::CustomProtocolManager::didReceiveResponse):
      (WebKit::CustomProtocolManager::didFinishLoading):
      * Shared/WebProcessCreationParameters.cpp:
      (WebKit::WebProcessCreationParameters::encode):
      (WebKit::WebProcessCreationParameters::decode):
      * Shared/WebProcessCreationParameters.h:
      * UIProcess/API/C/soup/WKAPICastSoup.h:
      * UIProcess/API/C/soup/WKSoupCustomProtocolRequestManager.cpp: Copied from Source/WebKit2/UIProcess/soup/WebContextSoup.cpp.
      (WKSoupCustomProtocolRequestManagerGetTypeID):
      (WKSoupCustomProtocolRequestManagerSetClient):
      * UIProcess/API/C/soup/WKSoupCustomProtocolRequestManager.h: Added.
      * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
      * UIProcess/Network/CustomProtocols/mac/CustomProtocolManagerProxyMac.mm:
      (WebKit::CustomProtocolManagerProxy::CustomProtocolManagerProxy):
      * UIProcess/Network/CustomProtocols/soup/CustomProtocolManagerProxySoup.cpp:
      (WebKit::CustomProtocolManagerProxy::CustomProtocolManagerProxy):
      (WebKit::CustomProtocolManagerProxy::startLoading):
      (WebKit::CustomProtocolManagerProxy::stopLoading):
      * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.cpp: Added.
      (WebKit::WebSoupCustomProtocolRequestManager::supplementName):
      (WebKit::WebSoupCustomProtocolRequestManager::create):
      (WebKit::WebSoupCustomProtocolRequestManager::WebSoupCustomProtocolRequestManager):
      (WebKit::WebSoupCustomProtocolRequestManager::~WebSoupCustomProtocolRequestManager):
      (WebKit::WebSoupCustomProtocolRequestManager::initializeClient):
      (WebKit::WebSoupCustomProtocolRequestManager::contextDestroyed):
      (WebKit::WebSoupCustomProtocolRequestManager::processDidClose):
      (WebKit::WebSoupCustomProtocolRequestManager::refWebContextSupplement):
      (WebKit::WebSoupCustomProtocolRequestManager::derefWebContextSupplement):
      (WebKit::WebSoupCustomProtocolRequestManager::registerSchemeForCustomProtocol):
      (WebKit::WebSoupCustomProtocolRequestManager::unregisterSchemeForCustomProtocol):
      (WebKit::WebSoupCustomProtocolRequestManager::startLoading):
      (WebKit::WebSoupCustomProtocolRequestManager::stopLoading):
      (WebKit::WebSoupCustomProtocolRequestManager::didReceiveResponse):
      (WebKit::WebSoupCustomProtocolRequestManager::didLoadData):
      (WebKit::WebSoupCustomProtocolRequestManager::didFailWithError):
      (WebKit::WebSoupCustomProtocolRequestManager::didFinishLoading):
      * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.h: Added.
      (WebKit::WebSoupCustomProtocolRequestManager::registeredSchemesForCustomProtocols):
      * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManagerClient.cpp: Added.
      (WebKit::WebSoupCustomProtocolRequestManagerClient::startLoading):
      (WebKit::WebSoupCustomProtocolRequestManagerClient::stopLoading):
      * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManagerClient.h: Added.
      * UIProcess/Network/NetworkProcessProxy.cpp:
      (WebKit::NetworkProcessProxy::NetworkProcessProxy):
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::WebContext):
      * UIProcess/WebPageProxy.cpp:
      * UIProcess/WebPageProxy.h:
      * UIProcess/WebPageProxy.messages.in:
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::WebProcessProxy):
      * UIProcess/gtk/WebContextGtk.cpp:
      (WebKit::WebContext::platformInitializeWebProcess):
      * UIProcess/soup/WebContextSoup.cpp:
      (WebKit::WebContext::platformInitializeNetworkProcess):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::WebProcess):
      * WebProcess/soup/WebKitSoupRequestGeneric.cpp:
      (webkitSoupRequestGenericSendAsync):
      (webkitSoupRequestGenericSendFinish):
      * WebProcess/soup/WebKitSoupRequestGeneric.h:
      * WebProcess/soup/WebProcessSoup.cpp:
      (WebKit::WebProcess::platformInitializeWebProcess):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6188bb92
    • changseok.oh@collabora.com's avatar
      [GTK] Fix a c++11 compliance issue for fontconfig · 9aa82356
      changseok.oh@collabora.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127283
      
      Reviewed by Martin Robinson.
      
      fontconfig-2.8.0 is not compliant with C++11. So I propose to apply a
      hotfix until bumping fontconfig up.
      
      * gtk/jhbuild.modules:
      * gtk/patches/fontconfig-C-11-requires-a-space-between-literal-and-identifier.patch: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162448 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9aa82356
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r162354. · a059000f
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/162354
      https://bugs.webkit.org/show_bug.cgi?id=127354
      
      Appears to have broken accessibility in a non-trivial way
      (Requested by ap on #webkit).
      
      * platform/ScrollView.cpp:
      (WebCore::ScrollView::updateScrollbars):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a059000f
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r162445. · 73f71181
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/162445
      https://bugs.webkit.org/show_bug.cgi?id=127351
      
      It broke the 32 bit GTK build (Requested by Ossy on #webkit).
      
      * rendering/style/StyleRareInheritedData.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73f71181
    • commit-queue@webkit.org's avatar
      Wrong struct size when CSS_IMAGE_ORIENTATION and CSS3_TEXT_DECORATION are enabled. · 2f7f766f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127346
      
      Efl build fix.
      
      Patch by László Langó <llango.u-szeged@partner.samsung.com> on 2014-01-21
      Reviewed by Csaba Osztrogonác.
      
      * rendering/style/StyleRareInheritedData.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162445 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f7f766f
    • commit-queue@webkit.org's avatar
      run-jsc-stress-tests should accept --child-processes option and WEBKIT_TEST_CHILD_PROCESSES env.var · 989b3c6b
      commit-queue@webkit.org authored
      like run_webkit_test does
      https://bugs.webkit.org/show_bug.cgi?id=127349
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2014-01-21
      Reviewed by Csaba Osztrogonác.
      
      * Scripts/run-jsc-stress-tests:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      989b3c6b
    • antti@apple.com's avatar
      Delay initial layer flush during loading on all platforms · 5fb12d3f
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127347
      
      Reviewed by Andreas Kling.
      
      To reduce unnecessary repaints enable the same behaviour as iOS already has.
      
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::RenderLayerCompositor):
              
          Set the initial state of m_layerFlushThrottlingEnabled correctly.
      
      (WebCore::RenderLayerCompositor::scheduleLayerFlush):
      (WebCore::RenderLayerCompositor::startInitialLayerFlushTimerIfNeeded):
      * rendering/RenderLayerCompositor.h:
              
          Enable initial layer flush delay on all platforms.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5fb12d3f
    • commit-queue@webkit.org's avatar
      Source/WebCore: If you set a tiled cross-faded-image or a tiled gradient as · 85fa8e43
      commit-queue@webkit.org authored
      a background layer, -webkit-background-blend-mode doesn't work.
      The problem consists in the blendMode parameter not being set
      for these specific drawing paths.
      
      https://bugs.webkit.org/show_bug.cgi?id=126888
      Patch by Mihai Tica <mitica@adobe.com> on 2014-01-21
      Reviewed by Dirk Schulze.
      
      Test: css3/compositing/background-blend-mode-tiled-layers.html
      
      * platform/graphics/CrossfadeGeneratedImage.cpp:
      (WebCore::CrossfadeGeneratedImage::drawPattern): Add the blendMode parameter and pass it to ImageBuffer::drawPattern.
      * platform/graphics/GradientImage.cpp:
      (WebCore::GradientImage::drawPattern): Add the blendMode parameter and pass it to ImageBuffer::drawPattern.
      * platform/graphics/ImageBuffer.h: Add a BlendMode parameter to the drawPattern method.
      * platform/graphics/cairo/ImageBufferCairo.cpp:
      (WebCore::ImageBuffer::drawPattern): Add the default BlendMode parameter to the method declaration.
      * platform/graphics/cg/ImageBufferCG.cpp:
      (WebCore::ImageBuffer::drawPattern): Add and use the blendMode parameter for all the code paths.
      * platform/graphics/wince/ImageBufferWinCE.cpp:
      (WebCore::BufferedImage::drawPattern): Add the default BlendMode parameter to the method declaration.
      
      LayoutTests: If you set a tiled cross-faded-image or a tiled gradient as
      a background layer, -webkit-background-blend-mode doesn't work.
      https://bugs.webkit.org/show_bug.cgi?id=126888
      
      Patch by Mihai Tica <mitica@adobe.com> on 2014-01-21
      Reviewed by Dirk Schulze.
      
      * css3/compositing/background-blend-mode-tiled-layers-expected.html: Added.
      * css3/compositing/background-blend-mode-tiled-layers.html: Added.
      * platform/efl/TestExpectations: Skip test for efl, blendModes are not implemented.
      * platform/mac/TestExpectations: Mark added test as ImageOnlyFailure due to slight differences between the actual result and the blending formula.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162442 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85fa8e43
    • commit-queue@webkit.org's avatar
      [GTK] Allow passing extra data to web extensions · 4c113670
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125990
      
      Patch by Adrian Perez de Castro <aperez@igalia.com> on 2014-01-21
      Reviewed by Carlos Garcia Campos.
      
      Allow passing additional information to the injected bundle. On top
      of the string containing the path to the web extensions directory,
      a GVariant can be set with additional data using
      webkit_web_context_set_web_extensions_initialization_user_data().
      Also, a new initialize-web-extensions signal is emitted before
      launching a new WebProcess to allow setting different user data
      for each process. The GVariant is serialized as a string, passed
      to the injected bundle, and the injected bundle deserializes back
      the data, which is passed to web extensions which define the
      webkit_web_extension_initialize_with_user_data() function (for
      backwards compatibility, webkit_web_extension_initialize() is
      used as a fallback.)
      
      Source/WebKit2:
      
      * UIProcess/API/gtk/WebKitInjectedBundleClient.cpp:
      (getInjectedBundleInitializationUserData): Define new callback
      function which causes emission of the initialize-web-extensions
      signal, and serializes the data to be passed to the web process.
      (attachInjectedBundleClientToContext): Set the
      getInjectedBundleInitializationUserData() callback.
      * UIProcess/API/gtk/WebKitWebContext.cpp:
      (webkit_web_context_class_init): Define the
      initialize-web-extensions signal.
      (webkit_web_context_set_web_extensions_directory):
      Web extensions directory as now member of WebKitWebContextPrivate,
      to be able to retrieve it later.
      (webkit_web_context_set_web_extensions_initialization_user_data):
      New API method to set the user data passed to the web extensions
      when initialized.
      (webkitWebContextInitializeWebExtensions): Private function used
      to trigger emission of the initialize-web-extensions signal.
      * UIProcess/API/gtk/WebKitWebContext.h:
      Added prototype for new API method
      webkit_web_context_set_web_extensions_initialization_user_data().
      * UIProcess/API/gtk/WebKitWebContextPrivate.h:
      Prototype of the new private function.
      * UIProcess/API/gtk/docs/webkit2gtk-sections.txt:
      Add new public API bits to the documentation.
      * WebProcess/gtk/WebGtkExtensionManager.cpp:
      (WebKit::WebGtkExtensionManager::initialize):
      Deserialize the data received from the UI process and pass it to
      webkit_web_extension_initialize_with_user_data() if available,
      keeping webkit_web_extension_initialize() as fallback.
      
      Tools:
      
      * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
      (initializeWebExtensions): Handles the initialize-web-extensions
      signal, and sets the web extensions directory and the initialization
      user data.
      (testWebExtensionInitializationUserData): New test case for checking
      the user data passed on initialization to web extensions.
      * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
      (methodCallCallback): Added implementation for the
      GetInitializationUserData D-Bus method, used by
      testWebExtensionInitializationUserData().
      (webkit_web_extension_initialize_with_user_data): Define the
      initialization function with the additional user data parameter.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c113670
    • commit-queue@webkit.org's avatar
      The WebCore.vcxproj.filters doesnot apply · ab31fb6f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127338
      
      Patch by Gurpreet Kaur <k.gurpreet@samsung.com> on 2014-01-21
      Reviewed by Csaba Osztrogonác.
      
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      Modified the WebCore.vcxproj.filters so that it is applied when loading
      WebCore.vcxproj file.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab31fb6f
    • commit-queue@webkit.org's avatar
      Fix SVG animations which set rx or ry attributes · 13ce54e1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127337
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2014-01-21
      Reviewed by Dirk Schulze.
      
      Source/WebCore:
      
      Test: svg/stroke/animated-non-scaling-rxry.html
      
      Merged from Blink: https://src.chromium.org/viewvc/blink?revision=152376&view=revision
      
      * rendering/svg/RenderSVGRect.cpp:
      (WebCore::RenderSVGRect::updateShapeFromElement):
      * rendering/svg/SVGPathData.cpp:
      (WebCore::updatePathFromRectElement):
      
      LayoutTests:
      
      Merged from Blink: https://src.chromium.org/viewvc/blink?revision=152376&view=revision
      
      * svg/stroke/animated-non-scaling-rxry-expected.html: Added.
      * svg/stroke/animated-non-scaling-rxry.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162438 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13ce54e1
    • s.mathur@ieee.org's avatar
      1bb1e9c4
    • mrowe@apple.com's avatar
      Mac production build fix. · d8d3cd29
      mrowe@apple.com authored
      Move the shell script build phase to copy jsc into JavaScriptCore.framework
      out of the jsc target and in to the All target so that it's not run during
      production builds. Xcode appears to the parent directories of paths referenced
      in the Output Files of the build phase, which leads to problems when the
      SYMROOT for the JavaScriptCore framework and the jsc executables are later merged.
      
      I've also fixed the path to the Resources folder in the script while I'm here.
      On iOS the framework bundle is shallow so the correct destination is Resources/
      rather than Versions/A/Resources. This is handled by tweaking the
      JAVASCRIPTCORE_RESOURCES_DIR configuration setting to be relative rather than
      a complete path so we can reuse it in the script. The references in JSC.xcconfig
      and ToolExecutable.xcconfig are updated to prepend JAVASCRIPTCORE_FRAMEWORKS_DIR
      to preserve their former values.
      
      * Configurations/Base.xcconfig:
      * Configurations/JSC.xcconfig:
      * Configurations/ToolExecutable.xcconfig:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162434 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8d3cd29
    • k.czech@samsung.com's avatar
      [ATK] Expose aria-flowto through ATK_RELATION_FLOWS_TO · 22545813
      k.czech@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127291
      
      Reviewed by Mario Sanchez Prada.
      
      Source/WebCore:
      
      Test: accessibility/aria-flowto.html
      
      Expose aria-flowto through ATK_RELATION_FLOWS_TO according to
      http://www.w3.org/TR/wai-aria-implementation/#mapping_state-property
      
      * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
      (setAtkRelationSetFromCoreObject):
      
      Tools:
      
      Implemented AccessibilityUIElement::ariaFlowToElementAtIndex method.
      
      * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
      (AccessibilityUIElement::ariaFlowToElementAtIndex):
      * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
      (WTR::AccessibilityUIElement::ariaFlowToElementAtIndex):
      
      LayoutTests:
      
      Share aria-flowto.html with other ports. It passes on GTK and EFL.
      
      * accessibility/aria-flowto-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-flowto-expected.txt.
      * accessibility/aria-flowto.html: Renamed from LayoutTests/platform/mac/accessibility/aria-flowto.html.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      22545813
  2. 20 Jan, 2014 8 commits
    • ryuan.choi@samsung.com's avatar
      [CMAKE] Remove Nix from CMake scripts · 050410ab
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127264
      
      Reviewed by Anders Carlsson.
      
      .:
      
      * CMakeLists.txt:
      * Source/CMakeLists.txt:
      * Source/cmake/FindEGL.cmake:
      * Source/cmake/OptionsCommon.cmake:
      
      Source/Platform:
      
      * CMakeLists.txt: Removed.
      
      Source/WebCore:
      
      * CMakeLists.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      050410ab
    • ryuan.choi@samsung.com's avatar
      [EFL][WK2] Move isEwkViewEvasObject back to ewk_view.cpp · bb116788
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127261
      
      Reviewed by Gyuyoung Kim.
      
      isEwkViewEvasObject is general check routine of EFL and mainly used in
      ewk_view.cpp but it was in EwkView.cpp since separated EwkView.cpp from ewk_view.cpp
      
      This patch moves it to EwkView.h as inline function with small refactoring.
      In addition, this patch added EINA_UNLIKELY keyword in cold paths.
      
      * UIProcess/API/efl/EwkView.cpp:
      (defaultSmartClassInstance):
      (toSmartData):
      (toEwkView): Moved it from bottom not to expose it to header file.
      * UIProcess/API/efl/EwkView.h:
      * UIProcess/API/efl/ewk_view.cpp:
      (isEwkViewEvasObject):
      (toEwkViewChecked):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162426 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb116788
    • zalan@apple.com's avatar
      Change image failures from [ Failure ] to [ ImageOnlyFailure ] where needed. · 64d1e069
      zalan@apple.com authored
      * platform/mac/TestExpectations:
      * platform/win/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162425 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64d1e069
    • zalan@apple.com's avatar
      Add missing expectations to subpixel failures. · de5f2d3a
      zalan@apple.com authored
      * platform/mac/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de5f2d3a
    • timothy@apple.com's avatar
      Add the recording button back to the Timelines sidebar. · 8bc799e8
      timothy@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127314
      
      Reviewed by Joseph Pecoraro.
      
      * Localizations/en.lproj/localizedStrings.js: Updated.
      
      * UserInterface/TimelineContentView.js:
      (WebInspector.TimelineContentView.prototype.get navigationItems):
      (WebInspector.TimelineContentView.prototype._update):
      (WebInspector.TimelineContentView.prototype._updateTimes):
      (WebInspector.TimelineContentView.prototype._startUpdatingCurrentTime):
      (WebInspector.TimelineContentView.prototype._recordingTimesUpdated):
      (WebInspector.TimelineContentView.prototype._clearTimeline):
      (WebInspector.TimelineContentView.prototype._recordingReset):
      Add a clear button and reset the time ruler and views when the recording resets.
      
      * UserInterface/TimelineSidebarPanel.css:
      (.sidebar > .panel.timeline > .status-bar):
      (.sidebar > .panel.timeline > .status-bar > .record-glyph):
      (.sidebar > .panel.timeline > .status-bar > .record-glyph.recording):
      (.sidebar > .panel.timeline > .status-bar > .record-glyph:hover):
      (.sidebar > .panel.timeline > .status-bar > .record-glyph.recording:hover):
      (.sidebar > .panel.timeline > .status-bar > .record-glyph.forced):
      (.sidebar > .panel.timeline > .status-bar > .record-glyph.recording.forced):
      (.sidebar > .panel.timeline > .status-bar > .record-status):
      Add styles for the recording button and status message.
      
      * UserInterface/TimelineSidebarPanel.js:
      (WebInspector.TimelineSidebarPanel.prototype._contentBrowserCurrentContentViewDidChange):
      (WebInspector.TimelineSidebarPanel.prototype._recordingStarted):
      (WebInspector.TimelineSidebarPanel.prototype._recordingStopped):
      (WebInspector.TimelineSidebarPanel.prototype._recordGlyphMousedOver):
      (WebInspector.TimelineSidebarPanel.prototype._recordGlyphMousedOut):
      (WebInspector.TimelineSidebarPanel.prototype._recordGlyphClicked):
      Add support for the recording button and status message.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8bc799e8
    • timothy@apple.com's avatar
      Make the TimelineRecordTreeElement location subtitle live. · 2733f18a
      timothy@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127270
      
      Reviewed by Joseph Pecoraro.
      
      * Localizations/en.lproj/localizedStrings.js: Updated.
      
      * UserInterface/SourceCodeLocation.js:
      (WebInspector.SourceCodeLocation.prototype.originalLocationString):
      (WebInspector.SourceCodeLocation.prototype.formattedLocationString):
      (WebInspector.SourceCodeLocation.prototype.displayLocationString):
      (WebInspector.SourceCodeLocation.prototype.updateDisplayString):
      (WebInspector.SourceCodeLocation.prototype._locationString):
      Support for a new nameStyle enum and a prefix for the location string.
      Passing the prefix here lets it be italicized with the line number.
      Support column number for SourceCode's without a URL too.
      
      * UserInterface/TimelineRecordTreeElement.js:
      (WebInspector.TimelineRecordTreeElement):
      (WebInspector.TimelineRecordTreeElement.prototype.onattach):
      Create a subtitle span to update the location inside. Update the tooltip on attach.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162421 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2733f18a
    • timothy@apple.com's avatar
      Generate better display names for timer and event Timeline records. · 080e5dc2
      timothy@apple.com authored
      Also support AnimationFrameRequested and AnimationFrameCanceled.
      
      https://bugs.webkit.org/show_bug.cgi?id=127258
      
      Reviewed by Joseph Pecoraro.
      
      * Localizations/en.lproj/localizedStrings.js: Updated.
      
      * UserInterface/LayoutTimelineRecord.js:
      (WebInspector.LayoutTimelineRecord.EventType.displayName):
      Generate past tense names that better match other names.
      
      * UserInterface/ScriptTimelineDataGridNode.js:
      (WebInspector.ScriptTimelineDataGridNode.prototype.createCellContent):
      Pass the details to displayName.
      
      * UserInterface/ScriptTimelineRecord.js:
      (WebInspector.ScriptTimelineRecord.EventType.displayName):
      Generate better names for timer and event records. Also add missing animation frame types.
      
      * UserInterface/ScriptTimelineView.js:
      (WebInspector.ScriptTimelineView.prototype._processPendingRecords):
      Pass true to WebInspector.TimelineRecordTreeElement to include timer identifiers in the title.
      
      * UserInterface/SourceCodeTimelineTreeElement.js:
      (WebInspector.SourceCodeTimelineTreeElement):
      Pass includeTimerIdentifierInMainTitle through to TimelineRecordTreeElement.
      
      * UserInterface/TimelineManager.js:
      (WebInspector.TimelineManager.prototype.eventRecorded.processRecord):
      Include AnimationFrameRequested and AnimationFrameCanceled.
      
      * UserInterface/TimelineRecordTreeElement.js:
      (WebInspector.TimelineRecordTreeElement):
      Use displayName functions instead and support includeTimerIdentifierInMainTitle.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      080e5dc2
    • timothy@apple.com's avatar
      Implement basic versions of the TimelineOverview graphs. · 594b2d9a
      timothy@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127184
      
      Reviewed by Joseph Pecoraro.
      
      * UserInterface/LayoutTimelineOverviewGraph.css: Added.
      (.timeline-overview-graph.layout > .timeline-record-bar):
      (.timeline-overview-graph.layout > .timeline-record-bar > .segment):
      
      * UserInterface/LayoutTimelineOverviewGraph.js: Added.
      (WebInspector.LayoutTimelineOverviewGraph.prototype.reset):
      (WebInspector.LayoutTimelineOverviewGraph.prototype.updateLayout):
      (WebInspector.LayoutTimelineOverviewGraph.prototype._layoutTimelineRecordAdded):
      
      * UserInterface/Main.html: Added new files.
      
      * UserInterface/NetworkTimelineOverviewGraph.css: Added.
      (.timeline-overview-graph.network):
      (.timeline-overview-graph.network > .graph-row):
      (.timeline-overview-graph.network > .graph-row > .bar):
      (.timeline-overview-graph.network > .graph-row > .bar.inactive):
      (.timeline-overview-graph.network > .graph-row > .bar.unfinished):
      (.timeline-overview-graph.network > .graph-row > .bar:not(.inactive)):
      (.timeline-overview-graph.network:nth-child(even) > .graph-row > .bar:not(.inactive)):
      
      * UserInterface/NetworkTimelineOverviewGraph.js: Added.
      (WebInspector.NetworkTimelineOverviewGraph.prototype.reset):
      (WebInspector.NetworkTimelineOverviewGraph.prototype.updateLayout.updateElementPosition):
      (WebInspector.NetworkTimelineOverviewGraph.prototype.updateLayout.createBar):
      (WebInspector.NetworkTimelineOverviewGraph.prototype.updateLayout):
      (WebInspector.NetworkTimelineOverviewGraph.prototype._networkTimelineRecordAdded.compareByStartTime):
      (WebInspector.NetworkTimelineOverviewGraph.prototype._networkTimelineRecordAdded.insertObjectIntoSortedArray):
      (WebInspector.NetworkTimelineOverviewGraph.prototype._networkTimelineRecordAdded):
      
      * UserInterface/ScriptTimelineOverviewGraph.css: Added.
      (.timeline-overview-graph.script > .timeline-record-bar):
      (.timeline-overview-graph.script > .timeline-record-bar > .segment):
      
      * UserInterface/ScriptTimelineOverviewGraph.js: Added.
      (WebInspector.ScriptTimelineOverviewGraph.prototype.reset):
      (WebInspector.ScriptTimelineOverviewGraph.prototype.updateLayout):
      (WebInspector.ScriptTimelineOverviewGraph.prototype._scriptTimelineRecordAdded):
      
      * UserInterface/TimelineContentView.js:
      (WebInspector.TimelineContentView.prototype._showTimelineView):
      (WebInspector.TimelineContentView.prototype._update):
      (WebInspector.TimelineContentView.prototype._recordingReset):
      Create and keep the graphs informed.
      
      * UserInterface/TimelineDataGridNode.js:
      (WebInspector.TimelineDataGridNode):
      (WebInspector.TimelineDataGridNode.prototype.refreshGraph):
      Combine records that might overlap.
      
      * UserInterface/TimelineOverview.css:
      (.timeline-overview > .graphs-container):
      (.timeline-overview > .graphs-container > .timeline-overview-graph):
      (.timeline-overview > .graphs-container > .timeline-overview-graph:nth-child(even)):
      (.timeline-overview > .graphs-container > .timeline-overview-graph:not(:first-child)):
      Add the graph rows with alternating stripe.
      
      * UserInterface/TimelineOverview.js:
      (WebInspector.TimelineOverview):
      (WebInspector.TimelineOverview.prototype.set startTime):
      (WebInspector.TimelineOverview.prototype.get currentTime):
      (WebInspector.TimelineOverview.prototype.set currentTime):
      (WebInspector.TimelineOverview.prototype.updateLayout):
      (WebInspector.TimelineOverview.prototype.updateLayoutIfNeeded):
      Track currentTime in a member variable and let TimelineOverview manage the current time marker.
      
      * UserInterface/TimelineOverviewGraph.js: Added.
      (WebInspector.TimelineOverviewGraph):
      (WebInspector.TimelineOverviewGraph.prototype.get zeroTime):
      (WebInspector.TimelineOverviewGraph.prototype.set zeroTime):
      (WebInspector.TimelineOverviewGraph.prototype.get startTime):
      (WebInspector.TimelineOverviewGraph.prototype.set startTime):
      (WebInspector.TimelineOverviewGraph.prototype.get endTime):
      (WebInspector.TimelineOverviewGraph.prototype.set endTime):
      (WebInspector.TimelineOverviewGraph.prototype.get currentTime):
      (WebInspector.TimelineOverviewGraph.prototype.set currentTime):
      (WebInspector.TimelineOverviewGraph.prototype.reset):
      (WebInspector.TimelineOverviewGraph.prototype.updateLayout):
      (WebInspector.TimelineOverviewGraph.prototype.updateLayoutIfNeeded):
      (WebInspector.TimelineOverviewGraph.prototype.needsLayout):
      
      * UserInterface/TimelineRecordBar.css:
      (.timeline-record-bar > .segment):
      (.timeline-record-bar.unfinished > .segment):
      (.timeline-record-bar > .segment.inactive + .segment):
      (.timeline-record-bar.timeline-record-type-network > .segment.inactive):
      
      * UserInterface/TimelineRecordBar.js:
      (WebInspector.TimelineRecordBar):
      (WebInspector.TimelineRecordBar.recordsCannotBeCombined):
      (WebInspector.TimelineRecordBar.prototype.get records):
      (WebInspector.TimelineRecordBar.prototype.set records):
      (WebInspector.TimelineRecordBar.prototype.refresh):
      Make TimelineRecordBar support multiple records.
      
      * UserInterface/TimelineRuler.css:
      (.timeline-ruler > .markers):
      (.timeline-ruler > .selection-handle):
      (.timeline-ruler > .shaded-area):
      Add some z-index values to stay above graph elements.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      594b2d9a