1. 24 Nov, 2010 10 commits
    • pfeldman@chromium.org's avatar
      2010-11-24 Pavel Feldman <pfeldman@chromium.org> · cf67e2c2
      pfeldman@chromium.org authored
              Not reviewed. Follow up to r72652 (style id change in inspector).
      
              * inspector/front-end/AuditRules.js:
              (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback.selectorsCallback):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf67e2c2
    • pfeldman@chromium.org's avatar
      2010-11-22 Pavel Feldman <pfeldman@chromium.org> · 884822d3
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: refactor ResourceView hierarchy.
              https://bugs.webkit.org/show_bug.cgi?id=49864
      
              This refactoring splits ResourceView.js into:
                  NetworkItemView.js (tabbed pane)
                  ResourceHeadersView.js (header tab)
                  ResourceCookiesView.js (cookies tab)
                  ResourceView.js (base class for content tab).
              CookiesTable was extracted from CookieItemsView and
              brushed up. headersVisible flag has been removed.
      
              * English.lproj/localizedStrings.js:
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * inspector/front-end/CookieItemsView.js:
              (WebInspector.CookieItemsView):
              (WebInspector.CookieItemsView.prototype.get statusBarItems):
              (WebInspector.CookieItemsView.prototype.hide):
              (WebInspector.CookieItemsView.prototype.resize):
              (WebInspector.CookieItemsView.prototype._updateWithCookies):
              (WebInspector.CookieItemsView.prototype._filterCookiesForDomain):
              (WebInspector.CookieItemsView.prototype._deleteCookie):
              (WebInspector.CookieItemsView.prototype._deleteButtonClicked):
              (WebInspector.CookieItemsView.prototype._refreshButtonClicked):
              (WebInspector.SimpleCookiesTable):
              (WebInspector.SimpleCookiesTable.prototype.setCookies):
              (WebInspector.SimpleCookiesTable.prototype.resize):
              * inspector/front-end/CookiesTable.js: Added.
              (WebInspector.CookiesTable):
              (WebInspector.CookiesTable.prototype.updateWidths):
              (WebInspector.CookiesTable.prototype.setCookies):
              (WebInspector.CookiesTable.prototype.addCookiesFolder):
              (WebInspector.CookiesTable.prototype.get selectedCookie):
              (WebInspector.CookiesTable.prototype._rebuildTable):
              (WebInspector.CookiesTable.prototype.reset):
              (WebInspector.CookiesTable.prototype._populateNode):
              (WebInspector.CookiesTable.prototype._totalSize):
              (WebInspector.CookiesTable.prototype._sortCookies.localeCompare):
              (WebInspector.CookiesTable.prototype._sortCookies.numberCompare):
              (WebInspector.CookiesTable.prototype._sortCookies.expiresCompare):
              (WebInspector.CookiesTable.prototype._sortCookies):
              (WebInspector.CookiesTable.prototype._createGridNode):
              (WebInspector.CookiesTable.prototype._onDeleteFromGrid):
              * inspector/front-end/FileSystemView.js:
              (WebInspector.FileSystemView.prototype._selectFileSystemTab):
              (WebInspector.FileSystemView.prototype.selectTemporaryFileSystemTab):
              * inspector/front-end/FontView.js:
              (WebInspector.FontView.prototype.hasContent):
              (WebInspector.FontView.prototype._createContentIfNeeded):
              (WebInspector.FontView.prototype.show):
              (WebInspector.FontView.prototype.updateFontPreviewSize):
              * inspector/front-end/ImageView.js:
              (WebInspector.ImageView.prototype.hasContent):
              (WebInspector.ImageView.prototype.show):
              * inspector/front-end/NetworkItemView.js: Added.
              (WebInspector.NetworkItemView):
              (WebInspector.NetworkItemView.prototype.show):
              (WebInspector.NetworkItemView.prototype._selectTab):
              (WebInspector.NetworkItemView.prototype._tabSelected):
              (WebInspector.NetworkItemView.prototype.resize):
              (WebInspector.NetworkItemView.prototype.selectContentTab):
              * inspector/front-end/NetworkPanel.js:
              (WebInspector.NetworkPanel.prototype.show):
              (WebInspector.NetworkPanel.prototype.refreshResource):
              (WebInspector.NetworkPanel.prototype._showResource):
              (WebInspector.NetworkPanel.prototype._closeVisibleResource):
              * inspector/front-end/ResourceCookiesView.js: Added.
              (WebInspector.ResourceCookiesView):
              (WebInspector.ResourceCookiesView.prototype.show):
              * inspector/front-end/ResourceHeadersView.js: Added.
              (WebInspector.ResourceHeadersView):
              (WebInspector.ResourceHeadersView.prototype._refreshURL):
              (WebInspector.ResourceHeadersView.prototype._refreshQueryString):
              (WebInspector.ResourceHeadersView.prototype._refreshFormData):
              (WebInspector.ResourceHeadersView.prototype._refreshRequestPayload):
              (WebInspector.ResourceHeadersView.prototype._refreshParms):
              (WebInspector.ResourceHeadersView.prototype._toggleURLdecoding):
              (WebInspector.ResourceHeadersView.prototype._getHeaderValue):
              (WebInspector.ResourceHeadersView.prototype._refreshRequestHeaders):
              (WebInspector.ResourceHeadersView.prototype._refreshResponseHeaders):
              (WebInspector.ResourceHeadersView.prototype._refreshHTTPInformation):
              (WebInspector.ResourceHeadersView.prototype._refreshHeaders):
              * inspector/front-end/ResourceView.js:
              (WebInspector.ResourceView):
              (WebInspector.ResourceView.prototype.hasContent):
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel.prototype.show):
              (WebInspector.ResourcesPanel.prototype.showResource):
              (WebInspector.ResourcesPanel.prototype._showResourceView):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype.show):
              (WebInspector.ScriptsPanel.prototype._showScriptOrResource):
              * inspector/front-end/SourceView.js:
              (WebInspector.SourceView):
              (WebInspector.SourceView.prototype.show):
              (WebInspector.SourceView.prototype.hide):
              (WebInspector.SourceView.prototype.resize):
              (WebInspector.SourceView.prototype.setupSourceFrameIfNeeded):
              (WebInspector.SourceView.prototype.hasContent):
              (WebInspector.SourceView.prototype.updateLocalContent):
              (WebInspector.SourceView.prototype.selectLocalContentTab):
              * inspector/front-end/StylesSidebarPane.js:
              * inspector/front-end/TabbedPane.js:
              (WebInspector.TabbedPane):
              (WebInspector.TabbedPane.prototype.appendTab):
              (WebInspector.TabbedPane.prototype.selectTab):
              (WebInspector.TabbedPane.prototype._showTab):
              (WebInspector.TabbedPane.prototype._hideTab):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.css:
              (.webkit-line-gutter-backdrop):
              (.resource-view):
              (.resource-view.visible):
              (.resource-view.font):
              (.resource-view.image > .image):
              (.resource-view.image > .info):
              (.storage-view):
              (.storage-view .data-grid):
              (.storage-empty-view, .storage-view .storage-table-error):
              (.storage-view .storage-table-error):
              * inspector/front-end/inspector.html:
              * inspector/front-end/networkPanel.css:
              (.network-cell-subtitle):
              (.network-header-subtitle):
              (#network-views .network-item-view .tabbed-pane-header):
              (#network-views.small .network-item-view .tabbed-pane-header):
              (.network-item-view):
              (.network-item-view.visible):
              (.network-item-view .tabbed-pane-header):
              (.network-item-view .scope-bar li):
              (.resource-headers-view):
              (.resource-headers-view.visible):
              (.resource-headers-view .outline-disclosure .parent):
              (.resource-headers-view .outline-disclosure .children li):
              (.resource-headers-view .outline-disclosure li.expanded .header-count):
              (.resource-headers-view .outline-disclosure .header-name):
              (.resource-headers-view .outline-disclosure .header-value):
              (.resource-headers-view .outline-disclosure .raw-form-data):
              (.resource-cookies-view):
              (.resource-cookies-view.visible):
              (.resource-cookies-view .data-grid):
              (.resource-cookies-view .data-grid .row-group):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      884822d3
    • pfeldman@chromium.org's avatar
      2010-11-24 Pavel Feldman <pfeldman@chromium.org> · 6ec0d8d5
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: add "Locally modified" group into the resource panel.
              https://bugs.webkit.org/show_bug.cgi?id=50005
      
              * English.lproj/localizedStrings.js:
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel):
              (WebInspector.ResourcesPanel.prototype.reset):
              (WebInspector.ResourcesPanel.prototype.addLocallyModifiedRevision):
              (WebInspector.ResourcesPanel.prototype._innerShowView):
              (WebInspector.BaseStorageTreeElement.prototype.set titleText):
              (WebInspector.LocallyModifiedResourceTreeElement):
              (WebInspector.LocallyModifiedResourceTreeElement.prototype.onselect):
              (WebInspector.LocallyModifiedResourceTreeElement.prototype.gcRevisions):
              (WebInspector.LocallyModifiedRevisionTreeElement):
              (WebInspector.LocallyModifiedRevisionTreeElement.prototype.onattach):
              (WebInspector.LocallyModifiedRevisionTreeElement.prototype.onselect):
              (WebInspector.LocallyModifiedRevisionTreeElement.prototype._ondragstart):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ec0d8d5
    • commit-queue@webkit.org's avatar
      2010-11-24 Sheriff Bot <webkit.review.bot@gmail.com> · e7b5b2f3
      commit-queue@webkit.org authored
              Unreviewed, rolling out r72650.
              http://trac.webkit.org/changeset/72650
              https://bugs.webkit.org/show_bug.cgi?id=50010
      
              breaks focus in scenes focus item other than graphicswebiview
              (Requested by tronical_ on #webkit).
      
              * Api/qgraphicswebview.cpp:
              (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
              (QGraphicsWebView::QGraphicsWebView):
              (QGraphicsWebView::itemChange):
              * Api/qgraphicswebview.h:
              * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7b5b2f3
    • pfeldman@chromium.org's avatar
      2010-11-24 Pavel Feldman <pfeldman@chromium.org> · 4ee21ffa
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: pass style id to front-end as Object, not string.
              https://bugs.webkit.org/show_bug.cgi?id=49971
      
              * inspector/Inspector.idl:
              * inspector/InspectorCSSAgent.cpp:
              (WebCore::InspectorCSSAgent::getStylesForNode2):
              (WebCore::InspectorCSSAgent::getStyleSheetText2):
              (WebCore::InspectorCSSAgent::setPropertyText2):
              (WebCore::InspectorCSSAgent::toggleProperty2):
              (WebCore::InspectorCSSAgent::setRuleSelector2):
              * inspector/InspectorCSSAgent.h:
              * inspector/InspectorStyleSheet.cpp:
              (WebCore::InspectorStyle::buildObjectForStyle):
              (WebCore::InspectorStyleSheet::finalURL):
              (WebCore::InspectorStyleSheet::ruleForId):
              (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
              (WebCore::InspectorStyleSheet::buildObjectForRule):
              (WebCore::InspectorStyleSheet::text):
              (WebCore::InspectorStyleSheet::ruleOrStyleId):
              (WebCore::InspectorStyleSheetForInlineStyle::InspectorStyleSheetForInlineStyle):
              (WebCore::InspectorStyleSheetForInlineStyle::text):
              * inspector/InspectorStyleSheet.h:
              (WebCore::InspectorCSSId::InspectorCSSId):
              (WebCore::InspectorCSSId::isEmpty):
              (WebCore::InspectorCSSId::styleSheetId):
              (WebCore::InspectorCSSId::ordinal):
              (WebCore::InspectorCSSId::asInspectorValue):
              (WebCore::InspectorStyleSheet::id):
              (WebCore::InspectorStyleSheetForInlineStyle::styleForId):
              * inspector/front-end/CSSStyleModel.js:
              (WebInspector.CSSStyleModel.prototype.setRuleSelector):
              (WebInspector.CSSStyleModel.prototype.addRule):
              (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
              (WebInspector.CSSStyleDeclaration.prototype.insertPropertyAt):
              (WebInspector.CSSProperty.prototype.setText):
              (WebInspector.CSSProperty.prototype.setDisabled.callback):
              (WebInspector.CSSProperty.prototype.setDisabled):
              (WebInspector.CSSStyleSheet.createForId):
              (WebInspector.CSSStyleSheet.prototype.setText):
      
      2010-11-23  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: pass style id to front-end as Object, not string.
              https://bugs.webkit.org/show_bug.cgi?id=49971
      
              * inspector/styles-new-API.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4ee21ffa
    • andreas.kling@nokia.com's avatar
      2010-11-24 Andreas Kling <kling@webkit.org> · 237d219b
      andreas.kling@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Fix uninitialized variable in QGraphicsWKViewPrivate
      
              Always initialize QGWKVP::m_isChangingScale in the constructor.
      
              * UIProcess/API/qt/qgraphicswkview.cpp:
              (QGraphicsWKViewPrivate::QGraphicsWKViewPrivate):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      237d219b
    • commit-queue@webkit.org's avatar
      2010-11-24 Jan Erik Hanssen <jhanssen@sencha.com> · 7956a807
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Html autofocus not working with QGraphicsWebView
              https://bugs.webkit.org/show_bug.cgi?id=43169
      
              QGraphicsScene does not propagate Qt::ActivateWindowFocusReason focus
              events when there are no active items.
      
              * Api/qgraphicswebview.cpp:
              (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
              (QGraphicsWebView::QGraphicsWebView):
              (QGraphicsWebView::eventFilter):
              (QGraphicsWebView::itemChange):
              * Api/qgraphicswebview.h:
              * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
              (FocusPage::FocusPage):
              (FocusPage::event):
              (FocusPage::gotFocus):
              (tst_QGraphicsWebView::receivesFocusInOnShow):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7956a807
    • commit-queue@webkit.org's avatar
      2010-11-24 Sheriff Bot <webkit.review.bot@gmail.com> · 334460ec
      commit-queue@webkit.org authored
              Unreviewed, rolling out r72647.
              http://trac.webkit.org/changeset/72647
              https://bugs.webkit.org/show_bug.cgi?id=50009
      
              breaks the http layout tests (Requested by philn-tp on
              #webkit).
      
              * platform/network/soup/ResourceHandleSoup.cpp:
              (WebCore::sendRequestCallback):
              (WebCore::startHttp):
              (WebCore::ResourceHandle::platformSetDefersLoading):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      334460ec
    • loislo@chromium.org's avatar
      2010-11-23 Ilya Tikhonovsky <loislo@chromium.org> · 63b38432
      loislo@chromium.org authored
              Unreviewed. Fix for chromium expectations.
      
              composited-plugin.html is crashing on MAC.
              small-to-large-composited-plugin.html is crashing on MAC.
              font-size-zero.html is passing.
      
              * platform/chromium-gpu/test_expectations.txt:
              * platform/chromium/test_expectations.txt:
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63b38432
    • philn@webkit.org's avatar
      2010-11-23 Philippe Normand <pnormand@igalia.com> · f878cfce
      philn@webkit.org authored
              Reviewed by Martin Robinson.
      
              [soup] implement ResourceHandle::platformSetDefersLoading
              https://bugs.webkit.org/show_bug.cgi?id=44158
      
              * platform/network/soup/ResourceHandleSoup.cpp:
              (WebCore::ResourceHandle::platformSetDefersLoading): Implemented
              using the soup_session_{,un}pause_message APIs.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f878cfce
  2. 23 Nov, 2010 30 commits