- 21 Jan, 2014 28 commits
-
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
s.mathur@ieee.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162435 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
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
-
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....
-
- 20 Jan, 2014 12 commits
-
-
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
-
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
-
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
-
zalan@apple.com authored
* platform/mac/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
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
-
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
-
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
-
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
-
timothy@apple.com authored
Also don't recreate Timeline objects when TimelineRecording is reset, reset them instead. https://bugs.webkit.org/show_bug.cgi?id=127157 Reviewed by Joseph Pecoraro. * UserInterface/LayoutTimelineView.js: (WebInspector.LayoutTimelineView.prototype.reset): * UserInterface/NetworkTimeline.js: (WebInspector.NetworkTimeline): (WebInspector.NetworkTimeline.prototype.reset): * UserInterface/NetworkTimelineView.js: (WebInspector.NetworkTimelineView.prototype.reset): * UserInterface/OverviewTimelineView.js: (WebInspector.OverviewTimelineView.prototype._networkTimelineRecordAdded): * UserInterface/ScriptTimelineView.js: (WebInspector.ScriptTimelineView.prototype.reset): * UserInterface/Timeline.js: (WebInspector.Timeline): (WebInspector.Timeline.prototype.reset): * UserInterface/TimelineContentView.js: (WebInspector.TimelineContentView.set createPathComponent): (WebInspector.TimelineContentView.set var): (WebInspector.TimelineContentView.prototype.showOverviewTimelineView): (WebInspector.TimelineContentView.prototype.showTimelineView): (WebInspector.TimelineContentView.prototype._showTimelineView): (WebInspector.TimelineContentView.prototype._update): (WebInspector.TimelineContentView.prototype._recordingReset): * UserInterface/TimelineRecording.js: (WebInspector.TimelineRecording.prototype.reset): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162418 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=127145 Reviewed by Joseph Pecoraro. * UserInterface/TimelineOverview.css: (.timeline-overview > .scroll-container): (.timeline-overview > .timeline-ruler): (.timeline-overview > .scroll-container > .scroll-width-sizer): * UserInterface/TimelineOverview.js: (WebInspector.TimelineOverview): (WebInspector.TimelineOverview.prototype.get startTime): (WebInspector.TimelineOverview.prototype.set startTime): (WebInspector.TimelineOverview.prototype.get secondsPerPixel): (WebInspector.TimelineOverview.prototype.set secondsPerPixel): (WebInspector.TimelineOverview.prototype.get scrollStartTime): (WebInspector.TimelineOverview.prototype.set scrollStartTime): (WebInspector.TimelineOverview.prototype.get visibleDuration): (WebInspector.TimelineOverview.prototype.revealMarker): (WebInspector.TimelineOverview.prototype.updateLayout): (WebInspector.TimelineOverview.prototype._handleScrollEvent): (WebInspector.TimelineOverview.prototype._handleWheelEvent): * UserInterface/TimelineRuler.js: (WebInspector.TimelineRuler.MinimumSelectionTimeRange): Reduce to 10ms now that super zoom has no performance impact. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162417 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=127063 Reviewed by Joseph Pecoraro. * Localizations/en.lproj/localizedStrings.js: Updated. * UserInterface/DataGrid.js: (WebInspector.DataGrid): Support hidden columns by default. (WebInspector.DataGrid.prototype.updateLayout): Set the column width to zero for hidden columns. * UserInterface/LayoutTimelineDataGrid.js: (WebInspector.LayoutTimelineDataGrid): Pass the right parameters to the superclass. * UserInterface/LayoutTimelineRecord.js: (WebInspector.LayoutTimelineRecord.prototype.saveIdentityToCookie): Added. * UserInterface/LayoutTimelineView.css: Copied from Source/WebInspectorUI/UserInterface/ScriptTimelineDataGrid.js. (.timeline-view.layout > .data-grid): (.timeline-view.layout > .data-grid .eventType-column): (.sidebar > .panel.timeline.timeline-content-view-showing .navigation-sidebar-panel-content-tree-outline.layout .item .subtitle): * UserInterface/LayoutTimelineView.js: Added. (WebInspector.LayoutTimelineView): (WebInspector.LayoutTimelineView.prototype.get navigationSidebarTreeOutlineLabel): (WebInspector.LayoutTimelineView.prototype.shown): (WebInspector.LayoutTimelineView.prototype.hidden): (WebInspector.LayoutTimelineView.prototype.updateLayout): (WebInspector.LayoutTimelineView.prototype.matchTreeElementAgainstCustomFilters): (WebInspector.LayoutTimelineView.prototype._layoutTimelineRecordAdded): (WebInspector.LayoutTimelineView.prototype._dataGridFiltersDidChange): (WebInspector.LayoutTimelineView.prototype._treeElementSelected): * UserInterface/Main.html: Added new files. * UserInterface/ScriptTimelineDataGrid.js: (WebInspector.ScriptTimelineDataGrid): Pass the right parameters to the superclass. * UserInterface/ScriptTimelineDataGridNode.js: (WebInspector.ScriptTimelineDataGridNode.prototype.createCellContent): Fix up how we create the link. * UserInterface/ScriptTimelineRecord.js: (WebInspector.ScriptTimelineRecord.prototype.saveIdentityToCookie): Added. * UserInterface/ScriptTimelineView.css: Copied from Source/WebInspectorUI/UserInterface/ScriptTimelineDataGrid.js. (.timeline-view.script > .data-grid): (.timeline-view.script > .data-grid .eventType-column): (.sidebar > .panel.timeline.timeline-content-view-showing .navigation-sidebar-panel-content-tree-outline.script .item .subtitle): * UserInterface/ScriptTimelineView.js: Added. (WebInspector.ScriptTimelineView): (WebInspector.ScriptTimelineView.prototype.get navigationSidebarTreeOutlineLabel): (WebInspector.ScriptTimelineView.prototype.shown): (WebInspector.ScriptTimelineView.prototype.hidden): (WebInspector.ScriptTimelineView.prototype.updateLayout): (WebInspector.ScriptTimelineView.prototype.matchTreeElementAgainstCustomFilters): (WebInspector.ScriptTimelineView.prototype._scriptTimelineRecordAdded): (WebInspector.ScriptTimelineView.prototype._dataGridFiltersDidChange): (WebInspector.ScriptTimelineView.prototype._treeElementSelected): * UserInterface/SourceCodeTimelineTreeElement.js: (WebInspector.SourceCodeTimelineTreeElement): Moved code to TimelineRecordTreeElement. Subclass from it. * UserInterface/TimelineContentView.js: (WebInspector.TimelineContentView.prototype.matchTreeElementAgainstCustomFilters): Support TimelineRecordTreeElement. (WebInspector.TimelineContentView.prototype._timeRangeSelectionChanged): Update zeroTime for all views. * UserInterface/TimelineDataGrid.css: (.data-grid.timeline td .icon): (.data-grid.timeline td .go-to-arrow): (.data-grid.timeline tr:hover .go-to-arrow): (.data-grid.timeline td .subtitle): (.data-grid.timeline td .subtitle::before): (.data-grid.timeline:focus tr.selected td .subtitle): * UserInterface/TimelineRecord.js: (WebInspector.TimelineRecord.prototype.saveIdentityToCookie): Added. * UserInterface/TimelineRecordTreeElement.js: Added. (WebInspector.TimelineRecordTreeElement): (WebInspector.TimelineRecordTreeElement.prototype.get record): (WebInspector.TimelineRecordTreeElement.prototype.get filterableData): Factored out from SourceCodeTimelineTreeElement. * UserInterface/TimelineSidebarPanel.js: (WebInspector.TimelineSidebarPanel.prototype.treeElementForRepresentedObject.looslyCompareRepresentedObjects): (WebInspector.TimelineSidebarPanel.prototype.treeElementForRepresentedObject): Find TreeElements via a loose lookup based on represented objects that might contain the represented object we are really looking for. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=127022 Reviewed by Joseph Pecoraro. * UserInterface/DataGrid.js: (WebInspector.DataGrid): Align the labels of the column headers to match the data. (WebInspector.DataGridNode.prototype.get selectable): Prevent selection when hidden. * UserInterface/DetailsSection.css: (.details-section > .header): Bump the font size to match data grid header sizes. * UserInterface/Main.html: Add new files. * UserInterface/NetworkTimelineView.css: Added. (.timeline-view.network > .data-grid): (.sidebar > .panel.timeline.timeline-content-view-showing > .content .item.resource .subtitle): Hide the domain subtitle when the content view is showing which also has the domain. * UserInterface/NetworkTimelineView.js: Added. (WebInspector.NetworkTimelineView): (WebInspector.NetworkTimelineView.prototype.get navigationSidebarTreeOutlineLabel): (WebInspector.NetworkTimelineView.prototype.shown): (WebInspector.NetworkTimelineView.prototype.hidden): (WebInspector.NetworkTimelineView.prototype.updateLayout): (WebInspector.NetworkTimelineView.prototype.matchTreeElementAgainstCustomFilters): (WebInspector.NetworkTimelineView.prototype._networkTimelineRecordAdded): (WebInspector.NetworkTimelineView.prototype._dataGridFiltersDidChange): (WebInspector.NetworkTimelineView.prototype._treeElementSelected): * UserInterface/ResourceTimelineDataGridNode.js: (WebInspector.ResourceTimelineDataGridNode.prototype._needsRefresh): Call dataGridNodeNeedsRefresh on the TimelineDataGrid so things can be batched with one request animation frame. * UserInterface/TimelineContentView.js: (WebInspector.TimelineContentView): Create a NetworkTimelineView. (WebInspector.TimelineContentView.prototype.matchTreeElementAgainstCustomFilters): * UserInterface/TimelineDataGrid.css: (.data-grid.timeline table): (.data-grid.timeline th): (.data-grid.timeline th:not(:last-child)): (.data-grid.timeline th.sortable:active): (.data-grid.timeline th.sort-descending): (.data-grid.timeline .data-container): (.data-grid.timeline td): (.data-grid.timeline td:last-child): (.data-grid.timeline td:not(:last-child)): (.data-grid.timeline:focus tr.selected td:not(:last-child)): (.data-grid.timeline th.sort-descending > div:first-child): (.data-grid.timeline th.sort-descending > div:first-child::after): (.data-grid.timeline td.error): (.data-grid.timeline tr.selected td.error): (.data-grid.timeline > .navigation-bar-container): (.data-grid.timeline:hover > .navigation-bar-container): (.data-grid.timeline > .navigation-bar-container > .navigation-bar): * UserInterface/TimelineDataGrid.js: (WebInspector.TimelineDataGrid): (WebInspector.TimelineDataGrid.createColumnScopeBar): (WebInspector.TimelineDataGrid.prototype.reset): (WebInspector.TimelineDataGrid.prototype.shown): (WebInspector.TimelineDataGrid.prototype.hidden): (WebInspector.TimelineDataGrid.prototype.callFramePopoverAnchorElement): (WebInspector.TimelineDataGrid.prototype.updateLayout): (WebInspector.TimelineDataGrid.prototype.treeElementMatchesActiveScopeFilters): (WebInspector.TimelineDataGrid.prototype.addRowInSortOrder): (WebInspector.TimelineDataGrid.prototype.shouldIgnoreSelectionEvent): (WebInspector.TimelineDataGrid.prototype.dataGridNodeNeedsRefresh): (WebInspector.TimelineDataGrid.prototype._refreshDirtyDataGridNodes): (WebInspector.TimelineDataGrid.prototype._sort): (WebInspector.TimelineDataGrid.prototype._sortComparator): Add support for sorting, batch refresh and managing of a TreeOutlineDataGridSynchronizer. * UserInterface/TimelineSidebarPanel.css: (.sidebar > .panel.timeline > .title-bar): Bump the font size to match data grid header sizes. * UserInterface/TimelineView.js: (WebInspector.TimelineView.prototype.matchTreeElementAgainstCustomFilters): Added stub. * UserInterface/TreeOutlineDataGridSynchronizer.js: (WebInspector.TreeOutlineDataGridSynchronizer.prototype.get treeOutline): (WebInspector.TreeOutlineDataGridSynchronizer.prototype.get dataGrid): (WebInspector.TreeOutlineDataGridSynchronizer.prototype.get enabled): (WebInspector.TreeOutlineDataGridSynchronizer.prototype.set enabled): (WebInspector.TreeOutlineDataGridSynchronizer.prototype.treeElementForDataGridNode): (WebInspector.TreeOutlineDataGridSynchronizer.prototype.dataGridNodeForTreeElement): (WebInspector.TreeOutlineDataGridSynchronizer.prototype._treeOutlineScrolled): (WebInspector.TreeOutlineDataGridSynchronizer.prototype._dataGridScrolled): (WebInspector.TreeOutlineDataGridSynchronizer.prototype._dataGridNodeSelected): (WebInspector.TreeOutlineDataGridSynchronizer.prototype._dataGridNodeExpanded): (WebInspector.TreeOutlineDataGridSynchronizer.prototype._dataGridNodeCollapsed): (WebInspector.TreeOutlineDataGridSynchronizer.prototype._treeElementSelected): (WebInspector.TreeOutlineDataGridSynchronizer.prototype._treeElementAdded): (WebInspector.TreeOutlineDataGridSynchronizer.prototype._treeElementRemoved): (WebInspector.TreeOutlineDataGridSynchronizer.prototype._treeElementExpanded): (WebInspector.TreeOutlineDataGridSynchronizer.prototype._treeElementCollapsed): (WebInspector.TreeOutlineDataGridSynchronizer.prototype._treeElementHiddenChanged): Added support for disabling the synchronizer when the client can do a better job. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-