WebKit-https.git
10 years ago2011-03-23 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 23 Mar 2011 17:02:50 +0000 (17:02 +0000)]
2011-03-23  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [Chromium] Web Inspector: Remove DebuggerScript.js from Chromium resource bundle.
        https://bugs.webkit.org/show_bug.cgi?id=56916

        * DEPS: bump up Chromium dependency to the revision where no references to the DebuggerScript.js resource are left.
        * WebKit.grd:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81781 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-21 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Wed, 23 Mar 2011 16:49:31 +0000 (16:49 +0000)]
2011-03-21  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: move scripts concatenation logic to SourceFile.
        https://bugs.webkit.org/show_bug.cgi?id=56756

        * inspector/front-end/ScriptsPanel.js:
        * inspector/front-end/SourceFile.js:
        (WebInspector.SourceFile.prototype._requestContent):
        (WebInspector.SourceFile.prototype._loadResourceContent):
        (WebInspector.SourceFile.prototype._loadAndConcatenateScriptsContent):
        (WebInspector.SourceFile.prototype._concatenateScriptsContent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81780 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Leandro Gracia Gil <leandrogracia@chromium.org>
commit-queue@webkit.org [Wed, 23 Mar 2011 16:47:57 +0000 (16:47 +0000)]
2011-03-23  Leandro Gracia Gil  <leandrogracia@chromium.org>

        Reviewed by Steve Block.

        Media Stream API: add a flag to RuntimeEnabledFeatures.
        https://bugs.webkit.org/show_bug.cgi?id=56921

        Add a flag to RuntimeEnabledFeatures to check if the Media Stream API is enabled at runtime.

        Tests for the Media Stream API will be provided by the bug 56587.

        * bindings/generic/RuntimeEnabledFeatures.cpp:
        * bindings/generic/RuntimeEnabledFeatures.h:
        (WebCore::RuntimeEnabledFeatures::mediaStreamEnabled):
        (WebCore::RuntimeEnabledFeatures::setMediaStreamEnabled):
        (WebCore::RuntimeEnabledFeatures::webkitGetUserMediaEnabled):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81779 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Carol Szabo <carol.szabo@nokia.com>
carol.szabo@nokia.com [Wed, 23 Mar 2011 16:38:58 +0000 (16:38 +0000)]
2011-03-23  Carol Szabo  <carol.szabo@nokia.com>

        Reviewed by David Hyatt.

        Added new test to expose failure to correctly find the
        before/after container when creating a CSS counter.

        CSS 2.1 failure: various before-after-* tests fail
        https://bugs.webkit.org/show_bug.cgi?id=47207

        * fast/css/counters/complex-before-expected.txt: Added.
        * fast/css/counters/complex-before.html: Added.
2011-03-23  Carol Szabo  <carol.szabo@nokia.com>

        Reviewed by David Hyatt.

        Modified RenderCounter::originalText() to correctly attach
        the created counter to the before/after container even when
        that is not the RenderCounter's direct parent.

        CSS 2.1 failure: various before-after-* tests fail
        https://bugs.webkit.org/show_bug.cgi?id=47207

        Test: fast/css/counters/complex-before.html

        * rendering/RenderCounter.cpp:
        (WebCore::RenderCounter::originalText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81778 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Gyuyoung Kim <gyuyoung.kim@samsung.com>
gyuyoung.kim@samsung.com [Wed, 23 Mar 2011 16:21:29 +0000 (16:21 +0000)]
2011-03-23  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Add play / pause button to media control
        https://bugs.webkit.org/show_bug.cgi?id=55463

        Add play|pause button to media control.

        * platform/efl/RenderThemeEfl.cpp:
        (WebCore::RenderThemeEfl::edjeGroupFromFormType):
        (WebCore::RenderThemeEfl::emitMediaButtonSignal): Added.
        (WebCore::RenderThemeEfl::paintMediaPlayButton):
        * platform/efl/RenderThemeEfl.h:
2011-03-23  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Add play / pause button to media control
        https://bugs.webkit.org/show_bug.cgi?id=55463

        Add play|pause button to media control.

        * DefaultTheme/default.edc:
        * DefaultTheme/widget/mediacontrol/playpausebutton/pausebutton.png: Added.
        * DefaultTheme/widget/mediacontrol/playpausebutton/playbutton.png: Added.
        * DefaultTheme/widget/mediacontrol/playpausebutton/playpause_button.edc: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81777 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 23 Mar 2011 16:03:08 +0000 (16:03 +0000)]
2011-03-23  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [Chromium] Web Inspector: remove inspectNode method from WebDevToolsAgent
        https://bugs.webkit.org/show_bug.cgi?id=56926

        * public/WebDevToolsAgent.h:
        * src/WebDevToolsAgentImpl.cpp:
        * src/WebDevToolsAgentImpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81776 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Aparna Nandyal <aparna.nand@wipro.com>
commit-queue@webkit.org [Wed, 23 Mar 2011 15:54:29 +0000 (15:54 +0000)]
2011-03-23  Aparna Nandyal  <aparna.nand@wipro.com>

        Reviewed by Andreas Kling.

        [Qt] QtWebKit rendering problem when maximizing and doing a back
        https://bugs.webkit.org/show_bug.cgi?id=56669

        Contents of the page are not re-sized on going back after
        maximizing. ContentsResized() is not getting called. Hence old
        document width and height are used. Corrected this behaviour by
        calling setBoundsSize() which calls contentsSize().

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::open):
2011-03-23  Aparna Nandyal  <aparna.nand@wipro.com>

        Reviewed by Andreas Kling.

        [Qt] QtWebKit rendering problem when maximizing and doing a back
        https://bugs.webkit.org/show_bug.cgi?id=56669

        Added an auto test.
        Patch by Alexis Menard < alexis.menard@nokia.com> on 2011-03-21

        * tests/qwebview/tst_qwebview.cpp:
        (tst_QWebView::rendering):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81775 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-21 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Wed, 23 Mar 2011 15:04:53 +0000 (15:04 +0000)]
2011-03-21  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add support for formating source files in debugger presentation model.
        https://bugs.webkit.org/show_bug.cgi?id=56558

        * inspector/front-end/DebuggerModel.js:
        (WebInspector.DebuggerModel.prototype.reset):
        (WebInspector.DebuggerModel.prototype.get scripts):
        * inspector/front-end/DebuggerPresentationModel.js:
        (WebInspector.DebuggerPresentationModel):
        (WebInspector.DebuggerPresentationModel.prototype._addScript):
        (WebInspector.DebuggerPresentationModel.prototype._refreshBreakpoints):
        (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
        (WebInspector.DebuggerPresentationModel.prototype.continueToLine):
        (WebInspector.DebuggerPresentationModel.prototype.setBreakpoint):
        (WebInspector.DebuggerPresentationModel.prototype._breakpointAdded):
        (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
        (WebInspector.DebuggerPresentationModel.prototype._sourceFileForScript):
        (WebInspector.DebuggerPresentationModel.prototype._reset):
        * inspector/front-end/ScriptFormatter.js:
        (WebInspector.ScriptFormatter.prototype.formatContent.didFormatChunks):
        (WebInspector.ScriptFormatter.prototype.formatContent):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel):
        (WebInspector.ScriptsPanel.prototype.reset):
        (WebInspector.ScriptsPanel.prototype._toggleFormatSourceFiles):
        * inspector/front-end/Settings.js:
        * inspector/front-end/SourceFile.js:
        (WebInspector.SourceFile.prototype.scriptLocationToSourceLocation):
        (WebInspector.SourceFile.prototype.sourceLocationToScriptLocation):
        (WebInspector.FormattedSourceFile):
        (WebInspector.FormattedSourceFile.prototype.scriptLocationToSourceLocation):
        (WebInspector.FormattedSourceFile.prototype.sourceLocationToScriptLocation):
        (WebInspector.FormattedSourceFile.prototype._didRequestContent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81774 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 23 Mar 2011 14:04:44 +0000 (14:04 +0000)]
2011-03-23  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: use unsigned char instead of char when storing script source
        https://bugs.webkit.org/show_bug.cgi?id=56920

        * bindings/v8/DebuggerScript.js:
        * bindings/v8/ScriptDebugServer.cpp:
        (WebCore::ScriptDebugServer::ensureDebuggerScriptCompiled):
        * inspector/InjectedScriptManager.cpp:
        (WebCore::InjectedScriptManager::injectedScriptSource):
        * inspector/InjectedScriptSource.js: whitespace change to trigger compilation
        * inspector/xxd.pl:
        * xml/XMLViewer.xsl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81773 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Luca Ferretti <lferrett@gnome.org>
kov@webkit.org [Wed, 23 Mar 2011 13:56:26 +0000 (13:56 +0000)]
2011-03-23  Luca Ferretti  <lferrett@gnome.org>

        Rubber-stamped by Gustavo Noronha.

        Italian translation update.

        * it.po: Updated.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81772 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Wed, 23 Mar 2011 13:22:56 +0000 (13:22 +0000)]
2011-03-23  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: move node searching and node highlight related methods from InspectorAgent to InspectorDOMAgent.
        https://bugs.webkit.org/show_bug.cgi?id=56912

        The next functions were moved:
            setSearchingForNode
            highlightDOMNode
            hideDOMNodeHighlight
            highlightFrame
            hideFrameHighlight
            mouseDidMoveOverElement
            handleMousePress

        The code which does real highlight in Graphic context was moved to new files DOMNodeHighlighter.*

        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * inspector/DOMNodeHighlighter.cpp: Added.
        (WebCore::DOMNodeHighlighter::DrawNodeHighlight):
        * inspector/DOMNodeHighlighter.h: Added.
        * inspector/Inspector.json:
        * inspector/InspectorAgent.cpp:
        (WebCore::InspectorAgent::InspectorAgent):
        (WebCore::InspectorAgent::~InspectorAgent):
        (WebCore::InspectorAgent::inspectedPageDestroyed):
        (WebCore::InspectorAgent::disconnectFrontend):
        * inspector/InspectorAgent.h:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::drawNodeHighlight):
        (WebCore::InspectorController::hideHighlight):
        * inspector/InspectorDOMAgent.cpp:
        (WebCore::InspectorDOMAgent::InspectorDOMAgent):
        (WebCore::InspectorDOMAgent::~InspectorDOMAgent):
        (WebCore::InspectorDOMAgent::clearFrontend):
        (WebCore::InspectorDOMAgent::handleMousePress):
        (WebCore::InspectorDOMAgent::mouseDidMoveOverElement):
        (WebCore::InspectorDOMAgent::searchingForNodeInPage):
        (WebCore::InspectorDOMAgent::setSearchingForNode):
        (WebCore::InspectorDOMAgent::highlight):
        (WebCore::InspectorDOMAgent::highlightDOMNode):
        (WebCore::InspectorDOMAgent::highlightFrame):
        (WebCore::InspectorDOMAgent::hideHighlight):
        (WebCore::InspectorDOMAgent::drawNodeHighlight):
        * inspector/InspectorDOMAgent.h:
        (WebCore::InspectorDOMAgent::hideDOMNodeHighlight):
        (WebCore::InspectorDOMAgent::hideFrameHighlight):
        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::mouseDidMoveOverElementImpl):
        (WebCore::InspectorInstrumentation::handleMousePressImpl):
        * inspector/InstrumentingAgents.h:
        (WebCore::InstrumentingAgents::InstrumentingAgents):
        (WebCore::InstrumentingAgents::inspectorAgent):
        (WebCore::InstrumentingAgents::setInspectorAgent):
        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel.prototype.setSearchingForNode):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.FrameTreeElement.prototype.onselect):
        (WebInspector.FrameTreeElement.prototype.set hovered):
        * inspector/front-end/inspector.js:
        (WebInspector.highlightDOMNode):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81771 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 23 Mar 2011 13:19:40 +0000 (13:19 +0000)]
2011-03-23  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Rollout r81768 which broke compilation on Win.

        * xml/XMLTreeViewer.cpp:
        (WebCore::XMLTreeViewer::transformDocumentToTreeView):
        * xml/XMLViewer.xsl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81770 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago[Qt] Update expected files after r81684.
ossy@webkit.org [Wed, 23 Mar 2011 13:11:34 +0000 (13:11 +0000)]
[Qt] Update expected files after r81684.

* platform/qt/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81769 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 23 Mar 2011 12:56:45 +0000 (12:56 +0000)]
2011-03-23  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: remove unnecessary reinterpret_cast in XMLTreeViewer
        https://bugs.webkit.org/show_bug.cgi?id=56919

        * xml/XMLTreeViewer.cpp:
        (WebCore::XMLTreeViewer::transformDocumentToTreeView):
        * xml/XMLViewer.xsl: whitespace change to trigger compilation.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81768 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-21 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Wed, 23 Mar 2011 12:52:37 +0000 (12:52 +0000)]
2011-03-21  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: move content loading logic to a new SourceFile class.
        https://bugs.webkit.org/show_bug.cgi?id=56748

        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/front-end/DebuggerPresentationModel.js:
        (WebInspector.DebuggerPresentationModel.prototype.requestSourceFileContent):
        (WebInspector.DebuggerPresentationModel.prototype._addScript.contentChanged):
        (WebInspector.DebuggerPresentationModel.prototype._addScript):
        (WebInspector.DebuggerPresentationModel.prototype._scriptSourceChanged):
        (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
        * inspector/front-end/SourceFile.js: Added.
        (WebInspector.SourceFile):
        (WebInspector.SourceFile.prototype.addScript):
        (WebInspector.SourceFile.prototype.requestContent):
        (WebInspector.SourceFile.prototype.forceLoadContent):
        (WebInspector.SourceFile.prototype.reload):
        (WebInspector.SourceFile.prototype._requestContent):
        (WebInspector.SourceFile.prototype._loadResourceContent):
        (WebInspector.SourceFile.prototype._loadScriptContent):
        (WebInspector.SourceFile.prototype._loadAndConcatenateScriptsContent):
        (WebInspector.SourceFile.prototype._didRequestContent):
        (WebInspector.SourceFile.prototype._hasPendingResource):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81767 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Wed, 23 Mar 2011 12:41:42 +0000 (12:41 +0000)]
2011-03-23  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, fix compilation broken by r81758.

        * xml/XMLTreeViewer.cpp:
        (WebCore::XMLTreeViewer::transformDocumentToTreeView):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81766 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 23 Mar 2011 12:35:04 +0000 (12:35 +0000)]
2011-03-23  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: define array types properly in the Inspector.json
        https://bugs.webkit.org/show_bug.cgi?id=56915

        * inspector/Inspector.json:
        * inspector/generate-inspector-idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81765 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 23 Mar 2011 11:34:10 +0000 (11:34 +0000)]
2011-03-23  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: bring back Vector::contains that was removed as a part of roll back.

        * wtf/Vector.h:
        (WTF::::contains):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81764 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Sheriff Bot <webkit.review.bot@gmail.com>
pfeldman@chromium.org [Wed, 23 Mar 2011 11:09:31 +0000 (11:09 +0000)]
2011-03-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r81686.
        http://trac.webkit.org/changeset/81686
        https://bugs.webkit.org/show_bug.cgi?id=56914

        Breaks webkit_tests in Chromium again. (Requested by pfeldman
        on #webkit).

        * wtf/Vector.h:
2011-03-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r81686.
        http://trac.webkit.org/changeset/81686
        https://bugs.webkit.org/show_bug.cgi?id=56914

        Breaks webkit_tests in Chromium again. (Requested by pfeldman
        on #webkit).

        * WebKit.gyp:
        * public/WebPageSerializer.h:
        * public/WebURL.h:
        * public/WebVector.h:
        (WebKit::WebVector::operator[]):
        * src/WebDataSourceImpl.cpp:
        (WebKit::WebDataSourceImpl::WebDataSourceImpl):
        * src/WebPageSerializer.cpp:
        * tests/WebFrameTest.cpp:
        * tests/WebPageSerializerTest.cpp: Removed.
        * tests/data/pageserialization/awesome.png: Removed.
        * tests/data/pageserialization/embed_iframe.html: Removed.
        * tests/data/pageserialization/object_iframe.html: Removed.
        * tests/data/pageserialization/simple_iframe.html: Removed.
        * tests/data/pageserialization/simple_page.html: Removed.
        * tests/data/pageserialization/top_frame.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81763 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 23 Mar 2011 11:09:20 +0000 (11:09 +0000)]
2011-03-23  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
        https://bugs.webkit.org/show_bug.cgi?id=56843

        * inspector/front-end/WebKit.qrc:

2011-03-23  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
        https://bugs.webkit.org/show_bug.cgi?id=56843

        * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
        * DumpRenderTree/chromium/DRTDevToolsAgent.h:

2011-03-23  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
        https://bugs.webkit.org/show_bug.cgi?id=56843

        * WebCoreSupport/InspectorClientQt.cpp:
        (WebCore::InspectorClientQt::openInspectorFrontend):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81762 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Andrey Adaikin <aandrey@google.com>
podivilov@chromium.org [Wed, 23 Mar 2011 10:33:54 +0000 (10:33 +0000)]
2011-03-23  Andrey Adaikin  <aandrey@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Add a star while editing a source code
        https://bugs.webkit.org/show_bug.cgi?id=56743

        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype.setScriptSourceIsBeingEdited):
        (WebInspector.SourceFrameDelegateForScriptsPanel.prototype.setScriptSourceIsBeingEdited):
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype._startEditing):
        (WebInspector.SourceFrame.prototype._registerShortcuts):
        (WebInspector.SourceFrame.prototype._handleSave):
        (WebInspector.SourceFrame.prototype._handleRevertEditing):
        (WebInspector.SourceFrameDelegate.prototype.setScriptSourceIsBeingEdited):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81761 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Andrey Adaikin <aandrey@google.com>
podivilov@chromium.org [Wed, 23 Mar 2011 10:30:08 +0000 (10:30 +0000)]
2011-03-23  Andrey Adaikin  <aandrey@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Scrolling and navigation is not smooth on a script with many long lines
        https://bugs.webkit.org/show_bug.cgi?id=56559

        * inspector/front-end/TextViewer.js:
        (WebInspector.TextEditorChunkedPanel.prototype._expandChunks):
        (WebInspector.TextEditorMainPanel.prototype._expandChunks):
        (WebInspector.TextEditorMainPanel.prototype._highlightDataReady):
        (WebInspector.TextEditorMainPanel.prototype._schedulePaintLines):
        (WebInspector.TextEditorMainPanel.prototype._paintScheduledLines):
        (WebInspector.TextEditorMainPanel.prototype._restorePaintLinesOperationsCredit):
        (WebInspector.TextEditorMainPanel.prototype._paintLines):
        (WebInspector.TextEditorMainPanel.prototype._paintLine):
        (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81760 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 23 Mar 2011 10:17:22 +0000 (10:17 +0000)]
2011-03-23  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        JavaScriptCore GYP build should work on a case-sensitive file system
        https://bugs.webkit.org/show_bug.cgi?id=56911

        The issue is that there are two UString.h headers, one named UString.h
        and one named ustring.h.  This patch excludes ustring.h from the header
        map to avoid confusion.  While I was editing this part of the GYP file,
        I cleaned up the exclude rules to be more modern.

        * gyp/JavaScriptCore.gyp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81759 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 23 Mar 2011 10:09:29 +0000 (10:09 +0000)]
2011-03-22  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
        https://bugs.webkit.org/show_bug.cgi?id=56843

        DebuggerScript.js is now translated into a char[] array before inspector compilation.

        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * bindings/v8/ScriptDebugServer.cpp:
        (WebCore::ScriptDebugServer::ensureDebuggerScriptCompiled):
        * bindings/v8/ScriptDebugServer.h:
        * inspector/InjectedScriptManager.cpp:
        (WebCore::InjectedScriptManager::injectedScriptSource):
        * inspector/InjectedScriptSource.js: whitespace change to trigger InjectedScriptSource.h generation.
        * inspector/xxd.pl:
2011-03-22  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
        https://bugs.webkit.org/show_bug.cgi?id=56843

        * public/WebDevToolsAgentClient.h: the script source is now compiled along with the inspector code.
        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::WebDevToolsAgentImpl::attach):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81758 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 23 Mar 2011 09:49:10 +0000 (09:49 +0000)]
2011-03-22  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [Chromium] Web Inspector: remove obsolete methods from WebDevToolsAgentClient.h
        https://bugs.webkit.org/show_bug.cgi?id=56897

        * public/WebDevToolsAgentClient.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81757 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFix the 32-bit build.
mrowe@apple.com [Wed, 23 Mar 2011 07:34:54 +0000 (07:34 +0000)]
Fix the 32-bit build.

* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::initializeNewContext):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81756 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Chris Fleizach <cfleizach@apple.com>
cfleizach@apple.com [Wed, 23 Mar 2011 07:21:43 +0000 (07:21 +0000)]
2011-03-23  Chris Fleizach  <cfleizach@apple.com>

        Reviewed by Darin Adler.

        REGRESSION: WK2: AX: PDF in Safari no longer accessible.
        https://bugs.webkit.org/show_bug.cgi?id=56849

        The WKView needs to know when to return the WKPDFView and when to return
        the remote web process connection.

        * UIProcess/API/mac/PDFViewController.h:
        (WebKit::PDFViewController::pdfView):
        * UIProcess/API/mac/WKView.mm:
        (-[WKView accessibilityFocusedUIElement]):
        (-[WKView accessibilityHitTest:]):
        (-[WKView accessibilityAttributeValue:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81755 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-23 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 23 Mar 2011 07:16:01 +0000 (07:16 +0000)]
2011-03-23  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        GYP build should default to Production configuration
        https://bugs.webkit.org/show_bug.cgi?id=56899

        * Source/gyp/common.gypi:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81754 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Noel Gordon <noel.gordon@gmail.com>
commit-queue@webkit.org [Wed, 23 Mar 2011 06:44:40 +0000 (06:44 +0000)]
2011-03-22  Noel Gordon  <noel.gordon@gmail.com>

        Reviewed by Ojan Vafai.

        [chromium] skia image encoders should use <wtf/Vector.h>
        https://bugs.webkit.org/show_bug.cgi?id=56893

        No new tests. Covered by existing canvas.toDataURL tests.

        * platform/image-encoders/skia/JPEGImageEncoder.h:
        * platform/image-encoders/skia/PNGImageEncoder.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81753 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnskipped some tests, now that https://bugs.webkit.org/show_bug.cgi?id=54490
ggaren@apple.com [Wed, 23 Mar 2011 05:42:28 +0000 (05:42 +0000)]
Unskipped some tests, now that https://bugs.webkit.org/show_bug.cgi?id=54490
is fixed.

Rubber-stamped by Beth Dakin.

* platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81752 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Wed, 23 Mar 2011 05:21:38 +0000 (05:21 +0000)]
2011-03-22  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Maciej Stachowiak.

        REGRESSION (r78382): No scripts appear in the Web Inspector's Scripts
        panel on Windows, and many inspector regression tests are failing
        https://bugs.webkit.org/show_bug.cgi?id=54490

        The bug was caused by two different classes using the same name (Recompiler).

        * debugger/Debugger.cpp:
        * runtime/JSGlobalData.cpp:
        (WTF::Recompiler::operator()): Put Recompiler in an anonymous namespace,
        so our two recompilers' inline functions don't stomp each other at
        link time.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81751 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 23 Mar 2011 05:15:00 +0000 (05:15 +0000)]
2011-03-22  Mihai Parparita  <mihaip@chromium.org>

        Fix baselines for svg/W3C-I18N for Chromium Snow Leopard. Mac SL
        baselines were added with r81168, so the Chromium ones only need to
        be in chromium-mac-leopard/ (so that they don't override them). The
        chromium-mac/ text baselines can be deleted, since we can now
        fall back on the mac-leopard/ ones added by r81176.

        * platform/chromium-mac-leopard/svg/W3C-I18N/g-dirLTR-ubNone-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/g-dirLTR-ubNone-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/g-dirLTR-ubNone-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/g-dirLTR-ubNone-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/g-dirLTR-ubOverride-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/g-dirLTR-ubOverride-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/g-dirLTR-ubOverride-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/g-dirLTR-ubOverride-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/g-dirRTL-ubNone-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/g-dirRTL-ubNone-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/g-dirRTL-ubNone-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/g-dirRTL-ubNone-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/g-dirRTL-ubOverride-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/g-dirRTL-ubOverride-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/g-dirRTL-ubOverride-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/g-dirRTL-ubOverride-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-no-markup-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-no-markup-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-anchor-no-markup-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-anchor-no-markup-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-dirLTR-ubNone-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-dirLTR-ubNone-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-dirLTR-ubNone-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-dirLTR-ubNone-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-dirLTR-ubOverride-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-dirLTR-ubOverride-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-dirLTR-ubOverride-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-dirLTR-ubOverride-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-dirRTL-ubNone-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-dirRTL-ubNone-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-dirRTL-ubNone-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-dirRTL-ubNone-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-dirRTL-ubOverride-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-dirRTL-ubOverride-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/text-dirRTL-ubOverride-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/text-dirRTL-ubOverride-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirNone-ubOverride-in-rtl-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirNone-ubOverride-in-rtl-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirNone-ubOverride-in-rtl-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirNone-ubOverride-in-rtl-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-direction-ltr-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-direction-ltr-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-direction-ltr-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-direction-ltr-expected.png.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-direction-rtl-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-direction-rtl-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-I18N/tspan-direction-rtl-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/W3C-I18N/tspan-direction-rtl-expected.png.
        * platform/chromium-mac/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/g-dirRTL-ubNone-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/g-dirRTL-ubOverride-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-anchor-no-markup-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-dirRTL-ubNone-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/text-dirRTL-ubOverride-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-default-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-ltr-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirNone-ubOverride-in-default-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirNone-ubOverride-in-ltr-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirNone-ubOverride-in-rtl-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-default-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubEmbed-in-ltr-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubNone-in-default-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubNone-in-ltr-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-default-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-ltr-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-dirRTL-ubOverride-in-rtl-context-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-direction-ltr-expected.txt: Removed.
        * platform/chromium-mac/svg/W3C-I18N/tspan-direction-rtl-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81750 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 23 Mar 2011 04:51:54 +0000 (04:51 +0000)]
2011-03-22  Mihai Parparita  <mihaip@chromium.org>

        Add Snow Leopard baselines for fast/html/details* tests added by r81035
        (should work for both Mac and Chromium-Mac). Promote current
        chromium-mac baselines to mac-leopard, since they work for both on
        Leopard.

        * platform/mac-leopard/fast/html/details-add-summary-1-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-1-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-1-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-1-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-1-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-1-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-1-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-1-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-10-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-10-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-10-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-10-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-10-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-10-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-10-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-10-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-2-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-2-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-2-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-2-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-2-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-2-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-2-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-2-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-3-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-3-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-3-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-3-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-3-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-3-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-3-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-3-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-4-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-4-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-4-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-4-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-4-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-4-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-4-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-4-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-5-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-5-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-5-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-5-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-5-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-5-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-5-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-5-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-6-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-6-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-6-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-6-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-6-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-6-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-6-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-6-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-7-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-7-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-7-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-7-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-7-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-7-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-7-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-7-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-8-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-8-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-8-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-8-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-8-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-8-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-8-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-8-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-9-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-9-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-9-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-9-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-add-summary-9-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-9-expected.checksum.
        * platform/mac-leopard/fast/html/details-add-summary-9-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-add-summary-9-expected.png.
        * platform/mac-leopard/fast/html/details-no-summary1-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-no-summary1-expected.checksum.
        * platform/mac-leopard/fast/html/details-no-summary1-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-no-summary1-expected.png.
        * platform/mac-leopard/fast/html/details-no-summary2-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-no-summary2-expected.checksum.
        * platform/mac-leopard/fast/html/details-no-summary2-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-no-summary2-expected.png.
        * platform/mac-leopard/fast/html/details-no-summary3-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-no-summary3-expected.checksum.
        * platform/mac-leopard/fast/html/details-no-summary3-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-no-summary3-expected.png.
        * platform/mac-leopard/fast/html/details-no-summary4-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-no-summary4-expected.checksum.
        * platform/mac-leopard/fast/html/details-no-summary4-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-no-summary4-expected.png.
        * platform/mac-leopard/fast/html/details-open-javascript-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open-javascript-expected.checksum.
        * platform/mac-leopard/fast/html/details-open-javascript-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open-javascript-expected.png.
        * platform/mac-leopard/fast/html/details-open1-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open1-expected.checksum.
        * platform/mac-leopard/fast/html/details-open1-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open1-expected.png.
        * platform/mac-leopard/fast/html/details-open2-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open2-expected.checksum.
        * platform/mac-leopard/fast/html/details-open2-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open2-expected.png.
        * platform/mac-leopard/fast/html/details-open3-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open3-expected.checksum.
        * platform/mac-leopard/fast/html/details-open3-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open3-expected.png.
        * platform/mac-leopard/fast/html/details-open4-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open4-expected.checksum.
        * platform/mac-leopard/fast/html/details-open4-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open4-expected.png.
        * platform/mac-leopard/fast/html/details-open5-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open5-expected.checksum.
        * platform/mac-leopard/fast/html/details-open5-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open5-expected.png.
        * platform/mac-leopard/fast/html/details-open6-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open6-expected.checksum.
        * platform/mac-leopard/fast/html/details-open6-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-open6-expected.png.
        * platform/mac-leopard/fast/html/details-position-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-position-expected.checksum.
        * platform/mac-leopard/fast/html/details-position-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-position-expected.png.
        * platform/mac-leopard/fast/html/details-remove-summary-1-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-1-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-remove-summary-1-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-1-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-remove-summary-1-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-1-expected.checksum.
        * platform/mac-leopard/fast/html/details-remove-summary-1-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-1-expected.png.
        * platform/mac-leopard/fast/html/details-remove-summary-2-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-2-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-remove-summary-2-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-2-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-remove-summary-2-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-2-expected.checksum.
        * platform/mac-leopard/fast/html/details-remove-summary-2-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-2-expected.png.
        * platform/mac-leopard/fast/html/details-remove-summary-3-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-3-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-remove-summary-3-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-3-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-remove-summary-3-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-3-expected.checksum.
        * platform/mac-leopard/fast/html/details-remove-summary-3-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-3-expected.png.
        * platform/mac-leopard/fast/html/details-remove-summary-4-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-4-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-remove-summary-4-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-4-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-remove-summary-4-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-4-expected.checksum.
        * platform/mac-leopard/fast/html/details-remove-summary-4-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-4-expected.png.
        * platform/mac-leopard/fast/html/details-remove-summary-5-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-5-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-remove-summary-5-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-5-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-remove-summary-5-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-5-expected.checksum.
        * platform/mac-leopard/fast/html/details-remove-summary-5-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-5-expected.png.
        * platform/mac-leopard/fast/html/details-remove-summary-6-and-click-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-6-and-click-expected.checksum.
        * platform/mac-leopard/fast/html/details-remove-summary-6-and-click-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-6-and-click-expected.png.
        * platform/mac-leopard/fast/html/details-remove-summary-6-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-6-expected.checksum.
        * platform/mac-leopard/fast/html/details-remove-summary-6-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-remove-summary-6-expected.png.
        * platform/mac-leopard/fast/html/details-writing-mode-expected.checksum: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-writing-mode-expected.checksum.
        * platform/mac-leopard/fast/html/details-writing-mode-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-writing-mode-expected.png.
        * platform/mac/fast/html/details-add-summary-1-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-1-and-click-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-1-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-1-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-10-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-10-and-click-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-10-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-10-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-2-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-2-and-click-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-2-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-2-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-3-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-3-and-click-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-3-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-3-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-4-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-4-and-click-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-4-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-4-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-5-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-5-and-click-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-5-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-5-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-6-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-6-and-click-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-6-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-6-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-7-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-7-and-click-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-7-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-7-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-8-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-8-and-click-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-8-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-8-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-9-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-9-and-click-expected.png: Added.
        * platform/mac/fast/html/details-add-summary-9-expected.checksum: Added.
        * platform/mac/fast/html/details-add-summary-9-expected.png: Added.
        * platform/mac/fast/html/details-no-summary1-expected.checksum: Added.
        * platform/mac/fast/html/details-no-summary1-expected.png: Added.
        * platform/mac/fast/html/details-no-summary2-expected.checksum: Added.
        * platform/mac/fast/html/details-no-summary2-expected.png: Added.
        * platform/mac/fast/html/details-no-summary3-expected.checksum: Added.
        * platform/mac/fast/html/details-no-summary3-expected.png: Added.
        * platform/mac/fast/html/details-no-summary4-expected.checksum: Added.
        * platform/mac/fast/html/details-no-summary4-expected.png: Added.
        * platform/mac/fast/html/details-open-javascript-expected.checksum: Added.
        * platform/mac/fast/html/details-open-javascript-expected.png: Added.
        * platform/mac/fast/html/details-open1-expected.checksum: Added.
        * platform/mac/fast/html/details-open1-expected.png: Added.
        * platform/mac/fast/html/details-open2-expected.checksum: Added.
        * platform/mac/fast/html/details-open2-expected.png: Added.
        * platform/mac/fast/html/details-open3-expected.checksum: Added.
        * platform/mac/fast/html/details-open3-expected.png: Added.
        * platform/mac/fast/html/details-open4-expected.checksum: Added.
        * platform/mac/fast/html/details-open4-expected.png: Added.
        * platform/mac/fast/html/details-open5-expected.checksum: Added.
        * platform/mac/fast/html/details-open5-expected.png: Added.
        * platform/mac/fast/html/details-open6-expected.checksum: Added.
        * platform/mac/fast/html/details-open6-expected.png: Added.
        * platform/mac/fast/html/details-position-expected.checksum: Added.
        * platform/mac/fast/html/details-position-expected.png: Added.
        * platform/mac/fast/html/details-remove-summary-1-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-remove-summary-1-and-click-expected.png: Added.
        * platform/mac/fast/html/details-remove-summary-1-expected.checksum: Added.
        * platform/mac/fast/html/details-remove-summary-1-expected.png: Added.
        * platform/mac/fast/html/details-remove-summary-2-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-remove-summary-2-and-click-expected.png: Added.
        * platform/mac/fast/html/details-remove-summary-2-expected.checksum: Added.
        * platform/mac/fast/html/details-remove-summary-2-expected.png: Added.
        * platform/mac/fast/html/details-remove-summary-3-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-remove-summary-3-and-click-expected.png: Added.
        * platform/mac/fast/html/details-remove-summary-3-expected.checksum: Added.
        * platform/mac/fast/html/details-remove-summary-3-expected.png: Added.
        * platform/mac/fast/html/details-remove-summary-4-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-remove-summary-4-and-click-expected.png: Added.
        * platform/mac/fast/html/details-remove-summary-4-expected.checksum: Added.
        * platform/mac/fast/html/details-remove-summary-4-expected.png: Added.
        * platform/mac/fast/html/details-remove-summary-5-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-remove-summary-5-and-click-expected.png: Added.
        * platform/mac/fast/html/details-remove-summary-5-expected.checksum: Added.
        * platform/mac/fast/html/details-remove-summary-5-expected.png: Added.
        * platform/mac/fast/html/details-remove-summary-6-and-click-expected.checksum: Added.
        * platform/mac/fast/html/details-remove-summary-6-and-click-expected.png: Added.
        * platform/mac/fast/html/details-remove-summary-6-expected.checksum: Added.
        * platform/mac/fast/html/details-remove-summary-6-expected.png: Added.
        * platform/mac/fast/html/details-writing-mode-expected.checksum: Added.
        * platform/mac/fast/html/details-writing-mode-expected.png: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81749 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoMove the cellWidthChanged bit out of RenderObject and back down into RenderTableCell...
hyatt@apple.com [Wed, 23 Mar 2011 03:44:14 +0000 (03:44 +0000)]
Move the cellWidthChanged bit out of RenderObject and back down into RenderTableCell in order to
free up a bit for another performance optimization I have planned.

Reviewed by Beth Dakin.

* rendering/RenderObject.cpp:
(WebCore::RenderObject::RenderObject):
* rendering/RenderObject.h:
(WebCore::RenderObject::setHasColumns):
* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::RenderTableCell):
* rendering/RenderTableCell.h:
(WebCore::RenderTableCell::cellWidthChanged):
(WebCore::RenderTableCell::setCellWidthChanged):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81747 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=56892
hyatt@apple.com [Wed, 23 Mar 2011 03:27:12 +0000 (03:27 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=56892

Reviewed by Dan Bernstein.

Adding floats to an empty block is O(n^2).

If you just add floats back to back to an empty block, the addition is essentially O(n^2)
once the floats move below your current line position.  This is because we repeatedly ask for the
available width for the line from scratch every time we add a float, regardless of whether the
float even vertically intersected our current line position.

Change positionNewFloatOnLine to update left and right line offsets intelligently and to only
do it based off the single new float that just got added.

This fix cuts the IE MazeSolver time in half.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::positionNewFloatOnLine):
* rendering/RenderBlock.h:
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::skipLeadingWhitespace):
(WebCore::RenderBlock::findNextLineBreak):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81746 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFix for https://bugs.webkit.org/show_bug.cgi?id=56890 It is possible to calculate a
bdakin@apple.com [Wed, 23 Mar 2011 03:15:48 +0000 (03:15 +0000)]
Fix for https://bugs.webkit.org/show_bug.cgi?id=56890 It is possible to calculate a
NaN value for "value" in ScrollbarThemeMac::paint()
-and corresponding-
<rdar://problem/9160621>

Reviewed by Sam Weinig.

* platform/mac/ScrollbarThemeMac.mm:
(WebCore::ScrollbarThemeMac::paint):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81745 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 23 Mar 2011 03:09:16 +0000 (03:09 +0000)]
2011-03-22  Ojan Vafai  <ojan@chromium.org>

        Add a chromium expectation for this test. V8's exception logging
        is more specific than JSC's.

        * platform/chromium/fast/dom/SelectorAPI/unknown-pseudo-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81744 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Noel Gordon <noel.gordon@gmail.com>
commit-queue@webkit.org [Wed, 23 Mar 2011 01:45:23 +0000 (01:45 +0000)]
2011-03-22  Noel Gordon  <noel.gordon@gmail.com>

        Reviewed by Tony Chang.

        [chromium] Remove identity from dragTargetDragEnter() function signature
        https://bugs.webkit.org/show_bug.cgi?id=56875

        First part of 3-sided patch.  Add new function signature sans identity.

        * public/WebView.h:
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::dragTargetDragEnter):
        * src/WebViewImpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81743 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-17 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 23 Mar 2011 01:44:38 +0000 (01:44 +0000)]
2011-03-17  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Antti Koivisto.

        webkit should implement -moz-any selector (as -webkit-any obviously)
        https://bugs.webkit.org/show_bug.cgi?id=38095

        * fast/css/css-selector-text-expected.txt:
        * fast/css/css-selector-text.html:
        * fast/css/css-set-selector-text-expected.txt:
        * fast/css/css-set-selector-text.html:
        * fast/css/pseudo-any-expected.txt: Added.
        * fast/css/pseudo-any.html: Added.
        * fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt:
        * fast/dom/SelectorAPI/not-supported-namespace-in-selector.html:
        * fast/dom/SelectorAPI/unknown-pseudo-expected.txt: Added.
        * fast/dom/SelectorAPI/unknown-pseudo.html: Added.
2011-03-17  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Antti Koivisto.

        webkit should implement -moz-any selector (as -webkit-any obviously)
        https://bugs.webkit.org/show_bug.cgi?id=38095

        For now, match the Mozilla implementation with respect to specificity
        and only allowing simple selectors. Both of these are likely to change
        pending discussion on www-style@.

        Tests: fast/css/pseudo-any.html
               fast/dom/SelectorAPI/unknown-pseudo.html

        * css/CSSGrammar.y:
        Create simple_selector_list. This is exactly like selector_list
        except it only allows simple selectors and creates a new vector
        instead of a reusable one since there can be multiple in one rule.
        * css/CSSParser.cpp:
        (WebCore::CSSParser::~CSSParser):
        (WebCore::CSSParser::lex):
        (WebCore::CSSParser::createFloatingSelectorVector):
        (WebCore::CSSParser::sinkFloatingSelectorVector):
        * css/CSSParser.h:
        * css/CSSParserValues.cpp:
        (WebCore::CSSParserSelector::adoptSelectorVector):
        * css/CSSParserValues.h:
        * css/CSSSelector.cpp:
        (WebCore::CSSSelector::specificityForOneSelector):
        (WebCore::CSSSelector::pseudoId):
        (WebCore::nameToPseudoTypeMap):
        (WebCore::CSSSelector::extractPseudoType):
        (WebCore::CSSSelector::selectorText):
        (WebCore::CSSSelector::setSelectorList):
        (WebCore::CSSSelector::RareData::RareData):
        (WebCore::CSSSelector::RareData::~RareData):
        These need to be moved into the cpp file so that we can
        have an OwnPtr<CSSSelectorList> in CSSSelector::RareData.
        * css/CSSSelector.h:
        (WebCore::CSSSelector::selectorList):
        * css/CSSSelectorList.cpp:
        (WebCore::forEachTagSelector):
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
        (WebCore::collectFeaturesFromSelector):
        * css/tokenizer.flex:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81742 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 23 Mar 2011 01:27:25 +0000 (01:27 +0000)]
2011-03-22  Mihai Parparita  <mihaip@chromium.org>

        Remove duplicated test expectations for details tests (expectations were
        added to the mac/ directory with r81062, so chromium-mac ones are no
        longer necessary).

        * platform/chromium-mac/fast/html/details-add-summary-1-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-1-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-10-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-10-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-2-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-2-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-3-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-3-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-4-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-4-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-5-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-5-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-6-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-6-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-7-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-7-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-8-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-8-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-9-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-add-summary-9-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-no-summary1-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-no-summary2-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-no-summary3-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-no-summary4-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-open-javascript-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-open1-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-open2-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-open3-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-open4-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-open5-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-open6-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-position-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-remove-summary-1-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-remove-summary-1-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-remove-summary-2-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-remove-summary-2-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-remove-summary-3-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-remove-summary-3-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-remove-summary-4-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-remove-summary-4-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-remove-summary-5-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-remove-summary-5-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-remove-summary-6-and-click-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-remove-summary-6-expected.txt: Removed.
        * platform/chromium-mac/fast/html/details-writing-mode-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81741 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 John Bauman <jbauman@chromium.org>
commit-queue@webkit.org [Wed, 23 Mar 2011 01:24:03 +0000 (01:24 +0000)]
2011-03-22  John Bauman  <jbauman@chromium.org>

        Reviewed by Kenneth Russell.

        Add support for preserveDrawingBuffer context creation attribute
        https://bugs.webkit.org/show_bug.cgi?id=56431

        For the accelerated compositing case, only prepare the texture if it
        has been updated since the last composite. For the non-accelerated case, make sure to
        grab a copy of the image buffer and paint from that if the backbuffer
        would be cleared.

        In both cases, make sure to clear the context's backbuffer before the
        first operation that uses it.

        No new tests. It seems to be difficult/impossible to trigger an early
        compositing operation in DumpRenderTree, making this hard to
        test automatically. However, Chromium and Safari (Mac) have been
        tested manually on the webgl conformance test for this.

        * html/HTMLCanvasElement.cpp:
        (WebCore::HTMLCanvasElement::paint):
        (WebCore::HTMLCanvasElement::makePresentationCopy):
        (WebCore::HTMLCanvasElement::clearPresentationCopy):
        * html/HTMLCanvasElement.h:
        * html/canvas/WebGLContextAttributes.cpp:
        (WebCore::WebGLContextAttributes::preserveDrawingBuffer):
        (WebCore::WebGLContextAttributes::setPreserveDrawingBuffer):
        * html/canvas/WebGLContextAttributes.h:
        * html/canvas/WebGLContextAttributes.idl:
        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::initializeNewContext):
        (WebCore::WebGLRenderingContext::markContextChanged):
        (WebCore::WebGLRenderingContext::clearIfComposited):
        (WebCore::WebGLRenderingContext::markLayerComposited):
        (WebCore::WebGLRenderingContext::paintRenderingResultsToCanvas):
        (WebCore::WebGLRenderingContext::paintRenderingResultsToImageData):
        (WebCore::WebGLRenderingContext::clear):
        (WebCore::WebGLRenderingContext::clearColor):
        (WebCore::WebGLRenderingContext::clearDepth):
        (WebCore::WebGLRenderingContext::clearStencil):
        (WebCore::WebGLRenderingContext::colorMask):
        (WebCore::WebGLRenderingContext::disable):
        (WebCore::WebGLRenderingContext::drawArrays):
        (WebCore::WebGLRenderingContext::drawElements):
        (WebCore::WebGLRenderingContext::enable):
        (WebCore::WebGLRenderingContext::readPixels):
        * html/canvas/WebGLRenderingContext.h:
        * platform/graphics/GraphicsContext3D.h:
        (WebCore::GraphicsContext3D::Attributes::Attributes):
        * platform/graphics/chromium/WebGLLayerChromium.cpp:
        (WebCore::WebGLLayerChromium::updateContentsIfDirty):
        (WebCore::WebGLLayerChromium::textureUpdated):
        (WebCore::WebGLLayerChromium::setContext):
        * platform/graphics/chromium/WebGLLayerChromium.h:
        * platform/graphics/mac/GraphicsContext3DMac.mm
        (WebCore::GraphicsContext3D::GraphicsContext3D):
        (WebCore::GraphicsContext3D::~GraphicsContext3D):
        * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
        (WebCore::GraphicsContext3D::reshape):
        (WebCore::GraphicsContext3D::prepareTexture):
        (WebCore::GraphicsContext3D::activeTexture):
        (WebCore::GraphicsContext3D::bindTexture):
        (WebCore::GraphicsContext3D::markContextChanged):
        (WebCore::GraphicsContext3D::markLayerComposited):
        (WebCore::GraphicsContext3D::layerComposited):
        * platform/graphics/qt/GraphicsContext3DQt.cpp:
        (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
        (WebCore::GraphicsContext3D::markLayerComposited):
        (WebCore::GraphicsContext3D::markContextChanged):
        (WebCore::GraphicsContext3D::layerComposited):
2011-03-22  John Bauman  <jbauman@chromium.org>

        Reviewed by Kenneth Russell.

        Add support for preserveDrawingBuffer context creation attribute
        https://bugs.webkit.org/show_bug.cgi?id=56431

        * src/GraphicsContext3DChromium.cpp:
        (WebCore::GraphicsContext3DInternal::markContextChanged):
        (WebCore::GraphicsContext3DInternal::markLayerComposited):
        (WebCore::GraphicsContext3DInternal::layerComposited):
        (WebCore::GraphicsContext3D::layerComposited):
        * src/GraphicsContext3DInternal.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81740 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoRemove USE_WK_SCROLLBAR_PAINTER_AND_CONTROLLER.
weinig@apple.com [Wed, 23 Mar 2011 01:19:45 +0000 (01:19 +0000)]
Remove USE_WK_SCROLLBAR_PAINTER_AND_CONTROLLER.
<rdar://problem/8944718>

Reviewed by Mark Rowe.

Source/JavaScriptCore:

* DerivedSources.make:
Remove generation of USE_WK_SCROLLBAR_PAINTER_AND_CONTROLLER.

Source/WebCore:

* DerivedSources.make:
Remove generation of HeaderDetection.h.

* WebCore.xcodeproj/project.pbxproj:
Remove HeaderDetection.h.

* platform/mac/ScrollAnimatorMac.h:
* platform/mac/ScrollAnimatorMac.mm:
* platform/mac/ScrollbarThemeMac.h:
* platform/mac/ScrollbarThemeMac.mm:
Replace use of USE_WK_SCROLLBAR_PAINTER_AND_CONTROLLER with USE(WK_SCROLLBAR_PAINTER).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81739 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Dean Jackson <dino@apple.com>
dino@apple.com [Wed, 23 Mar 2011 01:19:43 +0000 (01:19 +0000)]
2011-03-22  Dean Jackson  <dino@apple.com>

        https://bugs.webkit.org/show_bug.cgi?id=56488
        Some transitions/animations tests fail assertion in AnimationBase::updateStateMachine

        Turning some tests back on after r81722.

        * platform/chromium/test_expectations.txt:
        * platform/mac/Skipped:
        * platform/win/Skipped:
        - unskipping
          animations/suspend-resume-animation-events.html
          compositing/transitions/scale-transition-no-start.html
          compositing/transitions/singular-scale-transition.html

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81738 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Victoria Kirst <vrk@google.com>
commit-queue@webkit.org [Wed, 23 Mar 2011 01:13:28 +0000 (01:13 +0000)]
2011-03-22  Victoria Kirst  <vrk@google.com>

        Reviewed by Kenneth Russell.

        [chromium] Properly reset VideoLayerChromium textures after lost renderer context
        https://bugs.webkit.org/show_bug.cgi?id=56514

        The VideoLayerChromium textures were still mapped to the old
        renderer's context when LayerRendererChromium was being recreated
        i.e. when GPU process is killed. This patch allows VideoLayerChromium
        it recreate textures in the new context when the old renderer is lost.
        Patch also does a bit of refactoring and code clean-up.

        * platform/graphics/chromium/VideoLayerChromium.cpp:
        (WebCore::VideoLayerChromium::~VideoLayerChromium):
        (WebCore::VideoLayerChromium::cleanupResources):
        (WebCore::VideoLayerChromium::updateContentsIfDirty):
        (WebCore::VideoLayerChromium::allocateTexturesIfNeeded):
        (WebCore::VideoLayerChromium::computeVisibleSize):
        (WebCore::VideoLayerChromium::drawYUV):
        (WebCore::VideoLayerChromium::drawRGBA):
        (WebCore::VideoLayerChromium::resetFrameParameters):
        (WebCore::VideoLayerChromium::saveCurrentFrame):
        * platform/graphics/chromium/VideoLayerChromium.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81737 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 23 Mar 2011 01:11:39 +0000 (01:11 +0000)]
2011-03-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        WebCore GYP build should export the headers needed by WebKit
        https://bugs.webkit.org/show_bug.cgi?id=56883

        * WebCore.gypi:
        * gyp/WebCore.gyp:
            - Export a couple more headers.
            - Remove FIXME comments for things we've already fixed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81736 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Eric Seidel <eric@webkit.org>
abarth@webkit.org [Wed, 23 Mar 2011 01:08:01 +0000 (01:08 +0000)]
2011-03-22  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Teach update-webkit about gyp
        https://bugs.webkit.org/show_bug.cgi?id=56881

        This makes it possible for someone who builds from Xcode
        to just run update-webkit --gyp and have the project files
        generated after update automatically.

        I also added a stand-alone "generate-project-files" script
        wrapping Source/gyp/configure.  This makes running gyp simpler
        since most people will not have gyp or Source/gyp in their path.

        * Scripts/build-webkit:
        * Scripts/generate-project-files: Added.
        * Scripts/update-webkit:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81735 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=56798
slewis@apple.com [Wed, 23 Mar 2011 01:05:55 +0000 (01:05 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=56798
Wrap autorelease pools around calls that can have pathological memory growth on Membuster.
Only wrap the main runloop because some background threads are not expected to call into
objc and an autorelease pool could mask bugs.

Reviewed by Simon Fraser.

* Platform/mac/RunLoopMac.mm:
(RunLoop::performWork):
(RunLoop::TimerBase::timerFired):
* WebProcess/WebPage/mac/LayerTreeHostMac.mm:
(WebKit::LayerTreeHostMac::flushPendingLayerChangesRunLoopObserverCallback):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81734 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Anton D'Auria <adauria@apple.com>
commit-queue@webkit.org [Wed, 23 Mar 2011 00:57:31 +0000 (00:57 +0000)]
2011-03-22  Anton D'Auria  <adauria@apple.com>

        Reviewed by Alexey Proskuryakov.

        Add +[WebApplicationCache getOriginsWithCache]
        https://bugs.webkit.org/show_bug.cgi?id=56722

        This test twice retrieves lists of origins with application cache.
        First, after deleting all application cache and after adding an iframe with an
        application cache.

        * http/tests/appcache/origins-with-appcache-expected.txt: Added.
        * http/tests/appcache/origins-with-appcache.html: Added.
        * http/tests/appcache/resources/origins-with-appcache-iframe.html: Added.
        * http/tests/appcache/resources/origins-with-appcache-iframe.manifest: Added.
        * platform/chromium/test_expectations.txt:
        * platform/gtk/Skipped:
        * platform/mac-wk2/Skipped:
        * platform/qt-wk2/Skipped:
        * platform/qt/Skipped:
2011-03-22  Anton D'Auria  <adauria@apple.com>

        Reviewed by Alexey Proskuryakov.

        Add +[WebApplicationCache getOriginsWithCache]
        https://bugs.webkit.org/show_bug.cgi?id=56722

        Added test that exercises WebCore API to get origins with application cache.

        Test: http/tests/appcache/origins-with-appcache.html

        * loader/appcache/ApplicationCacheStorage.cpp:
        (WebCore::ApplicationCacheStorage::getOriginsWithCache):
        * loader/appcache/ApplicationCacheStorage.h:
2011-03-22  Anton D'Auria  <adauria@apple.com>

        Reviewed by Alexey Proskuryakov.

        Add +[WebApplicationCache getOriginsWithCache]
        https://bugs.webkit.org/show_bug.cgi?id=56722

        Call existing WebCore::ApplicationCacheStorage::getOriginsWithCache API.

        * WebCoreSupport/WebApplicationCache.h:
        * WebCoreSupport/WebApplicationCache.mm:
        (+[WebApplicationCache originsWithCache]):
2011-03-22  Anton D'Auria  <adauria@apple.com>

        Reviewed by Alexey Proskuryakov.

        Add +[WebApplicationCache getOriginsWithCache]
        https://bugs.webkit.org/show_bug.cgi?id=56722

        * DumpRenderTree/LayoutTestController.cpp:
        (originsWithApplicationCacheCallback):
        (LayoutTestController::staticFunctions):
        * DumpRenderTree/LayoutTestController.h:
        * DumpRenderTree/chromium/LayoutTestController.cpp: Added stub.
        (LayoutTestController::originsWithApplicationCache):
        * DumpRenderTree/chromium/LayoutTestController.h:
        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added stub.
        (LayoutTestController::originsWithApplicationCache):
        * DumpRenderTree/mac/LayoutTestControllerMac.mm: Pass array of origin's database identifiers.
        (originsArrayToJS): Helper function for converting array of WebSecurityOrigins to a JS array of origin identifiers.
        (LayoutTestController::originsWithApplicationCache):
        (LayoutTestController::originsWithLocalStorage):
        * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Added stub.
        (LayoutTestController::originsWithApplicationCache):
        * DumpRenderTree/qt/LayoutTestControllerQt.h:
        * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added stub.
        (LayoutTestController::originsWithApplicationCache):
        * DumpRenderTree/wx/LayoutTestControllerWx.cpp: Added stub.
        (LayoutTestController::originsWithApplicationCache):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81733 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Wed, 23 Mar 2011 00:33:48 +0000 (00:33 +0000)]
2011-03-22  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        OBJECT element with DivX source is always downloaded
        https://bugs.webkit.org/show_bug.cgi?id=56879

        * Plugins/WebBasePluginPackage.mm:
        (-[WebBasePluginPackage getPluginInfoFromPLists]):
        Always try to split every element in the "WebPluginExtensions" array, since the DivX plug-in
        specifies multiple file extensions in a single element.
2011-03-22  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        OBJECT element with DivX source is always downloaded
        https://bugs.webkit.org/show_bug.cgi?id=56879

        * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
        (WebKit::getPluginInfoFromPropertyLists):
        Always try to split every element in the "WebPluginExtensions" array, since the DivX plug-in
        specifies multiple file extensions in a single element.

        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
        (WebKit::pluginSupportsExtension):
        Add a new helper function.

        (WebKit::WebFrameLoaderClient::objectContentType):
        If we can't find the MIME for an extension, explicitly check if there's a plugin that claims to
        handle the given extension.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81732 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Wed, 23 Mar 2011 00:28:49 +0000 (00:28 +0000)]
2011-03-22  James Simonsen  <simonjam@chromium.org>

        [Chromium] Unreviewed, rebaseline chromium gpu tests after r81715.

        * platform/chromium-gpu-linux/compositing/geometry/foreground-layer-expected.checksum: Added.
        * platform/chromium-gpu-linux/compositing/geometry/foreground-layer-expected.png: Added.
        * platform/chromium-gpu-linux/compositing/geometry/repaint-foreground-layer-expected.checksum: Added.
        * platform/chromium-gpu-linux/compositing/geometry/repaint-foreground-layer-expected.png: Added.
        * platform/chromium-gpu-mac/compositing/geometry/foreground-layer-expected.checksum: Added.
        * platform/chromium-gpu-mac/compositing/geometry/foreground-layer-expected.png: Added.
        * platform/chromium-gpu-mac/compositing/geometry/repaint-foreground-layer-expected.checksum: Added.
        * platform/chromium-gpu-mac/compositing/geometry/repaint-foreground-layer-expected.png: Added.
        * platform/chromium-gpu-win/compositing/geometry/foreground-layer-expected.checksum: Added.
        * platform/chromium-gpu-win/compositing/geometry/foreground-layer-expected.png: Added.
        * platform/chromium-gpu-win/compositing/geometry/repaint-foreground-layer-expected.checksum: Added.
        * platform/chromium-gpu-win/compositing/geometry/repaint-foreground-layer-expected.png: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81731 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 John Abd-El-Malek <jam@chromium.org>
jam@chromium.org [Wed, 23 Mar 2011 00:24:47 +0000 (00:24 +0000)]
2011-03-22  John Abd-El-Malek  <jam@chromium.org>

        Reviewed by Tony Chang.

        [chromium] Make WebTextCheckingResult&apos;s members be public in preparation for converting it to a struct
        https://bugs.webkit.org/show_bug.cgi?id=56857

        * DEPS:
        * public/WebTextCheckingResult.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81729 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Dean Jackson <dino@apple.com>
dino@apple.com [Wed, 23 Mar 2011 00:21:35 +0000 (00:21 +0000)]
2011-03-22  Dean Jackson  <dino@apple.com>

        https://bugs.webkit.org/show_bug.cgi?id=56242
        transitions/interrupted-accelerated-transition.html was failing

        Unskipping this after r81722

        * platform/chromium/test_expectations.txt:
        * platform/mac/Skipped:
        * platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81727 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Gabor Loki <loki@webkit.org>
loki@webkit.org [Wed, 23 Mar 2011 00:21:09 +0000 (00:21 +0000)]
2011-03-22  Gabor Loki  <loki@webkit.org>

        Reviewed by Csaba Osztrogon√°c.

        [Qt] Add DFG module to build system (disabled by default).
        https://bugs.webkit.org/show_bug.cgi?id=56845

        * JavaScriptCore.pri:
        * JavaScriptCore.pro:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81726 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Adam Klein <adamk@chromium.org>
commit-queue@webkit.org [Wed, 23 Mar 2011 00:07:25 +0000 (00:07 +0000)]
2011-03-22  Adam Klein  <adamk@chromium.org>

        Reviewed by David Levin.

        [fileapi] New resolve url tests don't pass on Chromium. Skipping them.
        https://bugs.webkit.org/show_bug.cgi?id=56800

        * platform/chromium/test_expectations.txt:
        Skip all tests in http/tests/filesystem/workers.
        They can't run in test_shell, and are instead run in
        Chromium's ui_tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81725 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Carol Szabo <carol.szabo@nokia.com>
carol.szabo@nokia.com [Wed, 23 Mar 2011 00:04:58 +0000 (00:04 +0000)]
2011-03-22  Carol Szabo  <carol.szabo@nokia.com>

        Reviewed by David Hyatt.

        Introduced double linkage between a CounterNode and its display renderer.

        use of freed pointer in WebCore::RenderCounter::originalText()
        https://bugs.webkit.org/show_bug.cgi?id=56065

        No new tests. This bug could only be reproduced manually by
        refreshing the page during load at a critical point.
        See bug attachment for testing.

        * rendering/CounterNode.cpp:
        Introduced new member "m_owner" to store the renderer that has the
        style directives that produce the CounterNode.
        Repurposed m_renderer to reffer to the RenderCounter that shows the
        CounterNode.
        (WebCore::CounterNode::CounterNode):
        Updated member initialization.
        (WebCore::CounterNode::create):
        (WebCore::CounterNode::addRenderer):
        (WebCore::CounterNode::removeRenderer):
        Introduced to manage the renderer list associated wit this CounterNode.
        (WebCore::CounterNode::resetRenderers):
        This is the old resetRenderer. Renamed to take into account that there may be
        more than one renderer to a CounterNode.
        (WebCore::CounterNode::resetThisAndDescendantsRenderers):
        This is the old resetRenderers renamed for clarity.
        (WebCore::CounterNode::recount):
        (WebCore::CounterNode::insertAfter):
        (WebCore::CounterNode::removeChild):
        No functional changes.
        (WebCore::showTreeAndMark):
        Added flushing to ensure that the output is complete.
        * rendering/CounterNode.h:
        (WebCore::CounterNode::owner):
        Renamed from renderer()
        * rendering/RenderCounter.cpp:
        (WebCore::findPlaceForCounter):
        Fixed comments. No functional changes.
        (WebCore::RenderCounter::~RenderCounter):
        Made sure that the CounterNode that this renderers displays is
        detached from this.
        (WebCore::RenderCounter::originalText):
        (WebCore::RenderCounter::invalidate):
        Changed to maintain the bidirectional relationship with the displayed CounterNode.
        Also made "invalidate" private as it should be used only by CounterNode.
        (WebCore::destroyCounterNodeWithoutMapRemoval):
        (WebCore::RenderCounter::destroyCounterNodes):
        (WebCore::RenderCounter::destroyCounterNode):
        (WebCore::updateCounters):
        No change, just kept code in line with the changes above.
        (showCounterRendererTree):
        Added fflush to ensure complete display.
        * rendering/RenderCounter.h:
        * rendering/RenderObjectChildList.cpp:
        * rendering/RenderObjectChildList.h:
        Removed unneeded invalidateCounters related functions.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81724 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Brady Eidson <beidson@apple.com>
beidson@apple.com [Wed, 23 Mar 2011 00:00:11 +0000 (00:00 +0000)]
2011-03-22  Brady Eidson  <beidson@apple.com>

        Reviewed by Sam Weinig.

        Rename the synchronous icon database messages to be prefixed with "synchronous"

        * UIProcess/WebIconDatabase.cpp:
        (WebKit::WebIconDatabase::synchronousIconDataForPageURL):
        (WebKit::WebIconDatabase::synchronousIconURLForPageURL):
        (WebKit::WebIconDatabase::synchronousIconDataKnownForIconURL):
        (WebKit::WebIconDatabase::synchronousLoadDecisionForIconURL):
        * UIProcess/WebIconDatabase.h:
        * UIProcess/WebIconDatabase.messages.in:

        * WebProcess/IconDatabase/WebIconDatabaseProxy.cpp:
        (WebKit::WebIconDatabaseProxy::synchronousIconForPageURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81723 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Dean Jackson <dino@apple.com>
dino@apple.com [Tue, 22 Mar 2011 23:52:01 +0000 (23:52 +0000)]
2011-03-22  Dean Jackson  <dino@apple.com>

        Reviewed by Simon Fraser.

        https://bugs.webkit.org/show_bug.cgi?id=56242
        Interrupted accelerated animations/transitions were causing
        subsequent animations to not start (because they were stuck
        waiting for a response from the compositing layer). I renamed
        the instance variable that indicates whether or not to
        notify animations of start time, from m_waitingForStartTimeResponse
        to m_waitingForAsyncStartNotification, so that it makes more sense.
        The actual bug fix was changing the logic so that the flag is reset
        when the list of waiting animations becomes empty. I mistakenly committed
        the bad logic in r81613.

        * page/animation/AnimationBase.cpp:
        (WebCore::AnimationBase::updateStateMachine):
        - Always set paused time as we enter the paused state
        * page/animation/AnimationController.cpp:
        (WebCore::AnimationControllerPrivate::AnimationControllerPrivate):
        (WebCore::AnimationControllerPrivate::endAnimationUpdate):
        (WebCore::AnimationControllerPrivate::receivedStartTimeResponse):
        (WebCore::AnimationControllerPrivate::addToAnimationsWaitingForStartTimeResponse):
        (WebCore::AnimationControllerPrivate::removeFromAnimationsWaitingForStartTimeResponse):
        - reset the waiting flag when the list is empty (rather than not empty)
        (WebCore::AnimationControllerPrivate::startTimeResponse):
        * page/animation/AnimationControllerPrivate.h:
        - rename m_waitingForStartTimeResponse to m_waitingForAsyncStartNotification

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81722 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoLoading a new tab does not dismiss Lookup
weinig@apple.com [Tue, 22 Mar 2011 23:43:02 +0000 (23:43 +0000)]
Loading a new tab does not dismiss Lookup
<rdar://problem/9138391>

Rubber-stamped by Anders Carlsson.

* UIProcess/API/mac/WKView.mm:
(-[WKView viewDidMoveToWindow]):
Hide the dictionary popup when moving the WKView out of a window.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81721 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago<rdar://problem/8648311> and https://bugs.webkit.org/show_bug.cgi?id=56876
beidson@apple.com [Tue, 22 Mar 2011 23:29:40 +0000 (23:29 +0000)]
<rdar://problem/8648311> and https://bugs.webkit.org/show_bug.cgi?id=56876
WK2 Icon DB: Expand IconDatabaseClient interface and move it to the main thread

Reviewed by Sam Weinig.

../WebCore:

* loader/icon/IconDatabase.cpp:
Add a dummy client implementation for non-Mac, non-Win ports:
(WebCore::DefaultIconDatabaseClient::performImport):
(WebCore::DefaultIconDatabaseClient::didImportIconURLForPageURL):
(WebCore::DefaultIconDatabaseClient::didImportIconDataForPageURL):
(WebCore::DefaultIconDatabaseClient::didChangeIconForPageURL):
(WebCore::DefaultIconDatabaseClient::didRemoveAllIcons):
(WebCore::DefaultIconDatabaseClient::didFinishURLImport):
(WebCore::defaultClient):

Either call the client directly when on the main thread, or use the dispatch functions below
if on the background thread:
(WebCore::IconDatabase::setIconDataForIconURL):
(WebCore::IconDatabase::setIconURLForPageURL):
(WebCore::IconDatabase::performURLImport):
(WebCore::IconDatabase::readFromDatabase):
(WebCore::IconDatabase::removeAllIconsOnThread):

Add a very targeted WorkItem interface for dispatching client calls on the main thread:
(WebCore::ClientWorkItem::ClientWorkItem):
(WebCore::ClientWorkItem::~ClientWorkItem):
(WebCore::ImportedIconURLForPageURLWorkItem::ImportedIconURLForPageURLWorkItem):
(WebCore::ImportedIconURLForPageURLWorkItem::~ImportedIconURLForPageURLWorkItem):
(WebCore::ImportedIconURLForPageURLWorkItem::performWork):
(WebCore::ImportedIconDataForPageURLWorkItem::ImportedIconDataForPageURLWorkItem):
(WebCore::ImportedIconDataForPageURLWorkItem::~ImportedIconDataForPageURLWorkItem):
(WebCore::ImportedIconDataForPageURLWorkItem::performWork):
(WebCore::RemovedAllIconsWorkItem::RemovedAllIconsWorkItem):
(WebCore::RemovedAllIconsWorkItem::performWork):
(WebCore::performWorkItem):

Use the client WorkItem interface to perform these callbacks on the main thread:
(WebCore::IconDatabase::dispatchDidImportIconURLForPageURLOnMainThread):
(WebCore::IconDatabase::dispatchDidImportIconDataForPageURLOnMainThread):
(WebCore::IconDatabase::dispatchDidRemoveAllIconsOnMainThread):
* loader/icon/IconDatabase.h:
* loader/icon/IconDatabaseClient.h:

../WebKit/mac:

Note that while the new client calls always come through on the main thread, our mechanisms to
route dispatches to the main thread are still valid and will still work.

Update to the new IconDatabaseClient interface:
* WebCoreSupport/WebIconDatabaseClient.h:
* WebCoreSupport/WebIconDatabaseClient.mm:
(WebIconDatabaseClient::didRemoveAllIcons):
(WebIconDatabaseClient::didImportIconURLForPageURL):
(WebIconDatabaseClient::didImportIconDataForPageURL):
(WebIconDatabaseClient::didChangeIconForPageURL):
(WebIconDatabaseClient::didFinishURLImport):

../WebKit/win:

Note that while the new client calls always come through on the main thread, our mechanisms to
route dispatches to the main thread are still valid and will still work.

Update to the new IconDatabaseClient interface:
* WebIconDatabase.cpp:
(WebIconDatabase::performImport):
(WebIconDatabase::didRemoveAllIcons):
(WebIconDatabase::didImportIconURLForPageURL):
(WebIconDatabase::didImportIconDataForPageURL):
(WebIconDatabase::didChangeIconForPageURL):
(WebIconDatabase::didFinishURLImport):
* WebIconDatabase.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81719 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Tue, 22 Mar 2011 23:29:07 +0000 (23:29 +0000)]
2011-03-22  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r81683.
        http://trac.webkit.org/changeset/81683
        https://bugs.webkit.org/show_bug.cgi?id=56872

        Crashing in some tests (Requested by weinig on #webkit).

        * win/lib/WebKitSystemInterface.lib:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81718 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 22 Mar 2011 23:23:15 +0000 (23:23 +0000)]
2011-03-22  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Add support to build-webkit for building with gyp-generated project files
        https://bugs.webkit.org/show_bug.cgi?id=56877

        Found a couple missing Private headers while trying to make WebCore build.

        * JavaScriptCore.gypi:
2011-03-22  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Add support to build-webkit for building with gyp-generated project files
        https://bugs.webkit.org/show_bug.cgi?id=56877

        build-webkit is a cesspool.  This change just hacks in --gyp support for Mac.
        Eventually we'll want to support gyp-generated projects in a more general manner.

        * Scripts/build-webkit:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81717 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=56869
hyatt@apple.com [Tue, 22 Mar 2011 23:21:54 +0000 (23:21 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=56869

Reviewed by Simon Fraser.

Make horizontal writing mode a bit on RenderObject with a fast inlined method for access. This should be
a little faster than having to access the information from the RenderStyle's sub-structure.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutBlock):
(WebCore::RenderBlock::addOverflowFromChildren):
(WebCore::RenderBlock::computeOverflow):
(WebCore::RenderBlock::adjustPositionedBlock):
(WebCore::RenderBlock::setLogicalLeftForChild):
(WebCore::RenderBlock::setLogicalTopForChild):
(WebCore::RenderBlock::layoutPositionedObjects):
(WebCore::RenderBlock::paintColumnRules):
(WebCore::RenderBlock::paintColumnContents):
(WebCore::RenderBlock::flipFloatForWritingMode):
(WebCore::blockDirectionOffset):
(WebCore::inlineDirectionOffset):
(WebCore::RenderBlock::logicalRectToPhysicalRect):
(WebCore::RenderBlock::inlineSelectionGaps):
(WebCore::RenderBlock::addOverhangingFloats):
(WebCore::RenderBlock::addIntrudingFloats):
(WebCore::RenderBlock::hitTestColumns):
(WebCore::positionForPointRespectingEditingBoundaries):
(WebCore::RenderBlock::positionForPointWithInlineChildren):
(WebCore::RenderBlock::positionForPoint):
(WebCore::RenderBlock::columnRectAt):
(WebCore::RenderBlock::adjustPointToColumnContents):
(WebCore::RenderBlock::adjustRectForColumns):
(WebCore::RenderBlock::flipForWritingModeIncludingColumns):
(WebCore::RenderBlock::adjustForColumns):
(WebCore::RenderBlock::lastLineBoxBaseline):
(WebCore::RenderBlock::nextPageLogicalTop):
(WebCore::RenderBlock::adjustForUnsplittableChild):
(WebCore::RenderBlock::adjustLinePositionForPagination):
(WebCore::RenderBlock::collapsedMarginBeforeForChild):
(WebCore::RenderBlock::collapsedMarginAfterForChild):
(WebCore::RenderBlock::marginStartForChild):
(WebCore::RenderBlock::marginEndForChild):
(WebCore::RenderBlock::setMarginStartForChild):
(WebCore::RenderBlock::setMarginEndForChild):
(WebCore::RenderBlock::marginValuesForChild):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::logicalWidthForChild):
(WebCore::RenderBlock::logicalHeightForChild):
(WebCore::RenderBlock::logicalTopForChild):
(WebCore::RenderBlock::logicalRightOffsetForContent):
(WebCore::RenderBlock::logicalLeftOffsetForContent):
(WebCore::RenderBlock::logicalTopForFloat):
(WebCore::RenderBlock::logicalBottomForFloat):
(WebCore::RenderBlock::logicalLeftForFloat):
(WebCore::RenderBlock::logicalRightForFloat):
(WebCore::RenderBlock::logicalWidthForFloat):
(WebCore::RenderBlock::setLogicalTopForFloat):
(WebCore::RenderBlock::setLogicalLeftForFloat):
(WebCore::RenderBlock::setLogicalHeightForFloat):
(WebCore::RenderBlock::setLogicalWidthForFloat):
(WebCore::RenderBlock::xPositionForFloatIncludingMargin):
(WebCore::RenderBlock::yPositionForFloatIncludingMargin):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::createLineBoxes):
(WebCore::RenderBlock::layoutInlineChildren):
(WebCore::RenderBlock::checkFloatsInCleanLine):
(WebCore::setStaticPositions):
(WebCore::RenderBlock::findNextLineBreak):
(WebCore::RenderBlock::beforeSideVisualOverflowForLine):
(WebCore::RenderBlock::afterSideVisualOverflowForLine):
(WebCore::RenderBlock::beforeSideLayoutOverflowForLine):
(WebCore::RenderBlock::afterSideLayoutOverflowForLine):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::marginStart):
(WebCore::RenderBox::marginEnd):
(WebCore::RenderBox::setMarginStart):
(WebCore::RenderBox::setMarginEnd):
(WebCore::RenderBox::styleDidChange):
(WebCore::RenderBox::logicalScroll):
(WebCore::RenderBox::computeLogicalWidth):
(WebCore::RenderBox::computeLogicalHeight):
(WebCore::RenderBox::availableLogicalHeightUsing):
(WebCore::RenderBox::containingBlockLogicalWidthForPositioned):
(WebCore::RenderBox::containingBlockLogicalHeightForPositioned):
(WebCore::RenderBox::computePositionedLogicalWidth):
(WebCore::computeLogicalLeftPositionedOffset):
(WebCore::RenderBox::computePositionedLogicalHeight):
(WebCore::computeLogicalTopPositionedOffset):
(WebCore::RenderBox::computePositionedLogicalWidthReplaced):
(WebCore::RenderBox::computePositionedLogicalHeightReplaced):
(WebCore::RenderBox::addLayoutOverflow):
(WebCore::RenderBox::flipForWritingMode):
* rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::updateBoxModelInfoFromStyle):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::RenderObject):
(WebCore::RenderObject::styleWillChange):
* rendering/RenderObject.h:
(WebCore::RenderObject::isHorizontalWritingMode):
(WebCore::RenderObject::setHorizontalWritingMode):
* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::paddingTop):
(WebCore::RenderTableCell::paddingBottom):
(WebCore::RenderTableCell::paddingLeft):
(WebCore::RenderTableCell::paddingRight):
(WebCore::RenderTableCell::scrollbarsChanged):
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::RootInlineBox):
(WebCore::RootInlineBox::lineSelectionGap):
(WebCore::RootInlineBox::verticalPositionForBox):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81716 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 22 Mar 2011 23:17:23 +0000 (23:17 +0000)]
2011-03-22  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Beth Dakin.

        Incorrect rendering of composited element with negative z-index child
        https://bugs.webkit.org/show_bug.cgi?id=56846

        When a composited element has a child with negative z-index, we make
        a separate layer for that element's foreground content. This layer
        was positioned incorrectly (but the content happened to paint at
        the right location), resulting in right/bottom clipping.

        Fix this, remove the little-used graphicsLayerToContentsCoordinates()
        contentsToGraphicsLayerCoordinates() methods, and optimize incremental
        repaints in the foreground and mask layers.

        Tests: compositing/geometry/foreground-layer.html
               compositing/geometry/repaint-foreground-layer.html

        * platform/graphics/ca/GraphicsLayerCA.cpp:
        (WebCore::GraphicsLayerCA::setNeedsDisplayInRect): Cull repaints
        which fall outside the layer bounds, so callers don't have to,
        and to avoid unnecessary layer commits.

        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): If
        we have a foreground layer inside a clipping layer, the foreground
        layer's offset is zero, since the clipping layer is its parent.

        (WebCore::RenderLayerBacking::setContentsNeedDisplayInRect): Use
        offsetFromRenderer() directly instead of contentsToGraphicsLayerCoordinates().
        Also do incremental repaints of the foreground and mask layers.

        (WebCore::RenderLayerBacking::paintContents): It was incorrect to always
        use compositedBounds() to compute the painting offset, since that's
        per-RenderLayerBacking, but a single RenderLayerBacking can have different
        GraphicsLayers with different offsets (e.g. the foreground layer).
        Instead, use offsetFromRenderer(), which gives has the correct offset.

        * rendering/RenderLayerBacking.h: Remove unused methods.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81715 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 22 Mar 2011 22:45:07 +0000 (22:45 +0000)]
2011-03-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        gyp/configure shouldn&apos;t require GYP to be in your path
        https://bugs.webkit.org/show_bug.cgi?id=56873

        Now that GYP is on Source/ThirdParty/gyp, we can just use that copy
        instead of requiring GYP to be in the user's path.

        * Source/gyp/configure:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81712 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Chris Rogers <crogers@google.com>
crogers@google.com [Tue, 22 Mar 2011 22:43:47 +0000 (22:43 +0000)]
2011-03-22  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

        Use default-output instead of default-input to get hardware sample-rate
        https://bugs.webkit.org/show_bug.cgi?id=56858

        No new tests since audio API is not yet implemented.

        * platform/audio/mac/AudioDestinationMac.cpp:
        (WebCore::AudioDestination::hardwareSampleRate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81711 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Pratik Solanki <psolanki@apple.com>
psolanki@apple.com [Tue, 22 Mar 2011 22:42:20 +0000 (22:42 +0000)]
2011-03-22  Pratik Solanki  <psolanki@apple.com>

        Reviewed by David Kilzer.

        Implement -connection:didReceiveDataArray: NSURLConnection delegate method
        https://bugs.webkit.org/show_bug.cgi?id=56838

        Add experimental support for the didReceiveDataArray callback on
        NSURLConnection. A RessourceHandleClient indicates its ability to
        handle this callback by returning true from supportsDataArray() method.
        Currently only SubresourceLoader uses this so we get the benefit for
        CSS, JS and image loads. For other clients we call didReceiveData with
        the CFData contents as before.

        * WebCore.xcodeproj/project.pbxproj:
        * loader/ResourceLoader.h:
        * loader/SubresourceLoader.h:
        (WebCore::SubresourceLoader::supportsDataArray):
        * loader/cf/SubresourceLoaderCF.cpp: Added.
        (WebCore::SubresourceLoader::didReceiveDataArray):
        * loader/mac/ResourceLoaderMac.mm:
        (WebCore::ResourceLoader::didReceiveDataArray):
        * platform/SharedBuffer.cpp:
        (WebCore::SharedBuffer::clear):
        (WebCore::SharedBuffer::buffer):
        * platform/SharedBuffer.h:
        * platform/cf/SharedBufferCF.cpp:
        (WebCore::SharedBuffer::append):
        (WebCore::SharedBuffer::copyDataArrayAndClear):
        * platform/network/ResourceHandleClient.h:
        (WebCore::ResourceHandleClient::supportsDataArray):
        (WebCore::ResourceHandleClient::didReceiveDataArray):
        * platform/network/mac/ResourceHandleMac.mm:
        (-[WebCoreResourceHandleAsDelegate connection:didReceiveDataArray:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81710 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 22 Mar 2011 22:36:52 +0000 (22:36 +0000)]
2011-03-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Add GYP to Source/ThirdParty
        https://bugs.webkit.org/show_bug.cgi?id=56870

        We probably don't need all the test files, but it seems cleaner to just
        check in the whole GYP tree.  GYP is BSD licensed, so it is compatible
        with the WebKit license.

        * Source/ThirdParty/gyp: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81709 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 22 Mar 2011 22:09:57 +0000 (22:09 +0000)]
2011-03-22  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Make it possible to build JavaScriptCore and WebCore gyp builds outside of Source
        https://bugs.webkit.org/show_bug.cgi?id=56867

        This should make it possible to build the gyp-generated JavaScriptCore.xcodeproj
        from a JavaScriptCore directory outside of Source.

        * gyp/JavaScriptCore.gyp:
        * gyp/run-if-exists.sh: Added.
        * gyp/update-info-plist.sh: Added.
2011-03-22  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Make it possible to build JavaScriptCore and WebCore gyp builds outside of Source
        https://bugs.webkit.org/show_bug.cgi?id=56867

        This should make it possible to build the gyp-generated JavaScriptGlue.xcodeproj
        from a JavaScriptGlue directory outside of Source.

        * gyp/JavaScriptGlue.gyp:
        * gyp/run-if-exists.sh: Added.
        * gyp/update-info-plist.sh: Added.
2011-03-22  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Make it possible to build JavaScriptCore and WebCore gyp builds outside of Source
        https://bugs.webkit.org/show_bug.cgi?id=56867

        This should make it possible to build the gyp-generated WebCore.xcodeproj
        from a WebCore directory outside of Source.

        * gyp/WebCore.gyp:
        * gyp/run-if-exists.sh: Added.
        * gyp/update-info-plist.sh: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81708 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFix WebKit2 build.
andersca@apple.com [Tue, 22 Mar 2011 21:57:32 +0000 (21:57 +0000)]
Fix WebKit2 build.

* WebCore.exp.in:
Export a symbol needed by WebKit2.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81707 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 22 Mar 2011 21:51:59 +0000 (21:51 +0000)]
2011-03-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Add the remaining steps to WebCore GYP build
        https://bugs.webkit.org/show_bug.cgi?id=56864

        These steps match the normal build.  After this patch, I believe the
        WebCore GYP build is complete.

        * WebCore.gypi:
        * gyp/WebCore.gyp:
        * gyp/copy-inspector-resources.sh: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81706 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 22 Mar 2011 21:41:18 +0000 (21:41 +0000)]
2011-03-22  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Microsoft Silverlight playback shows artifacts
        https://bugs.webkit.org/show_bug.cgi?id=56863
        <rdar://problem/9103136>

        * PluginProcess/PluginControllerProxy.cpp:
        (WebKit::PluginControllerProxy::paint):
        If the plug-in is transparent, clear the dirty rect before painting.

        * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
        (WebKit::NetscapePluginModule::determineQuirks):
        Add the MakeTransparentIfBackgroundAttributeExists quirk for Silverlight plug-ins.

        * Shared/Plugins/PluginQuirks.h:
        Add MakeTransparentIfBackgroundAttributeExists quirk.

        * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
        (WebKit::NPN_SetValue):
        Handle NPPVpluginTransparentBool.

        * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
        (WebKit::NetscapePlugin::NetscapePlugin):
        Initialize m_isTransparent to false.

        (WebKit::NetscapePlugin::setIsTransparent):
        Set m_isTransparent.

        (WebKit::NetscapePlugin::initialize):
        If the plug-in has the MakeTransparentIfBackgroundAttributeExists quirk, make it transparent
        if there's a 'background' attribute.

        (WebKit::NetscapePlugin::isTransparent):
        Add getter.

        * WebProcess/Plugins/Plugin.h:
        Add isTransparent().

        * WebProcess/Plugins/PluginProxy.cpp:
        (WebKit::PluginProxy::paint):
        Always copy the plug-in backing store to the plug-in proxy backing store.

        (WebKit::PluginProxy::isTransparent):
        Add getter that should never be called.

        (WebKit::PluginProxy::update):
        Always copy the plug-in backing store to the plug-in proxy backing store.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81705 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFix for https://bugs.webkit.org/show_bug.cgi?id=56856 RenderListBox needs to be
bdakin@apple.com [Tue, 22 Mar 2011 21:33:27 +0000 (21:33 +0000)]
Fix for https://bugs.webkit.org/show_bug.cgi?id=56856 RenderListBox needs to be
added to Page::scrollableAreaSet()

Reviewed by Simon Fraser.

* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::RenderListBox):
(WebCore::RenderListBox::~RenderListBox):
* rendering/RenderListBox.h:
(WebCore::RenderListBox::disconnectFromPage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81704 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Tue, 22 Mar 2011 21:33:14 +0000 (21:33 +0000)]
2011-03-22  James Simonsen  <simonjam@chromium.org>

        [Chromium] Unreviewed, rebaseline chromium tests after r81684.

        * platform/chromium-linux/fast/block/lineboxcontain/block-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/block-expected.png: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/block-font-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/block-font-expected.png: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/block-glyphs-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/block-glyphs-expected.png: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/block-replaced-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/block-replaced-expected.png: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/font-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/font-expected.png: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/font-replaced-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/font-replaced-expected.png: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/inline-box-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/inline-box-expected.png: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/inline-box-replaced-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/inline-box-replaced-expected.png: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/inline-box-vertical-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/inline-box-vertical-expected.png: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/inline-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/inline-expected.png: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/inline-replaced-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/inline-replaced-expected.png: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/none-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/none-expected.png: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/parsing-invalid-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/parsing-invalid-expected.png: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/replaced-expected.checksum: Added.
        * platform/chromium-linux/fast/block/lineboxcontain/replaced-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/block-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/block-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/block-font-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/block-font-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/block-glyphs-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/block-glyphs-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/block-glyphs-replaced-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/block-glyphs-replaced-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/block-replaced-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/block-replaced-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/font-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/font-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/font-replaced-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/font-replaced-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/glyphs-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/glyphs-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/inline-box-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/inline-box-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/inline-box-replaced-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/inline-box-replaced-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/inline-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/inline-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/inline-replaced-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/inline-replaced-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/none-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/none-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/parsing-invalid-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/parsing-invalid-expected.png: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/replaced-expected.checksum: Added.
        * platform/chromium-mac-leopard/fast/block/lineboxcontain/replaced-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/block-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/block-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/block-expected.txt: Added.
        * platform/chromium-win/fast/block/lineboxcontain/block-font-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/block-font-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/block-font-expected.txt: Added.
        * platform/chromium-win/fast/block/lineboxcontain/block-glyphs-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/block-glyphs-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/block-glyphs-expected.txt: Added.
        * platform/chromium-win/fast/block/lineboxcontain/block-replaced-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/block-replaced-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/block-replaced-expected.txt: Added.
        * platform/chromium-win/fast/block/lineboxcontain/font-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/font-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/font-expected.txt: Added.
        * platform/chromium-win/fast/block/lineboxcontain/font-replaced-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/font-replaced-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/font-replaced-expected.txt: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-box-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-box-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-box-expected.txt: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-box-replaced-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-box-replaced-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-box-replaced-expected.txt: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-box-vertical-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-box-vertical-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-box-vertical-expected.txt: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-expected.txt: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-replaced-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-replaced-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/inline-replaced-expected.txt: Added.
        * platform/chromium-win/fast/block/lineboxcontain/none-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/none-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/none-expected.txt: Added.
        * platform/chromium-win/fast/block/lineboxcontain/parsing-invalid-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/parsing-invalid-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/parsing-invalid-expected.txt: Added.
        * platform/chromium-win/fast/block/lineboxcontain/replaced-expected.checksum: Added.
        * platform/chromium-win/fast/block/lineboxcontain/replaced-expected.png: Added.
        * platform/chromium-win/fast/block/lineboxcontain/replaced-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81703 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Chris Rogers <crogers@google.com>
crogers@google.com [Tue, 22 Mar 2011 21:32:58 +0000 (21:32 +0000)]
2011-03-22  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

        Add high-quality band-limited audio resampling algorithm
        https://bugs.webkit.org/show_bug.cgi?id=56692

        No new tests since audio API is not yet implemented.

        * platform/audio/SincResampler.cpp: Added.
        (WebCore::SincResampler::SincResampler):
        (WebCore::SincResampler::initializeKernel):
        (WebCore::SincResampler::consumeSource):
        (WebCore::SincResampler::process):
        * platform/audio/SincResampler.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81702 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 22 Mar 2011 21:28:52 +0000 (21:28 +0000)]
2011-03-22  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Add Profiling Configuration to JavaScriptCore gyp build
        https://bugs.webkit.org/show_bug.cgi?id=56862

        It appears this is identical to Release, but I suspect
        there is someone/thing who uses the Profiling target
        so we're adding it for completeness.

        * gyp/JavaScriptCore.gyp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81701 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUpdate computed style results.
hyatt@apple.com [Tue, 22 Mar 2011 21:17:57 +0000 (21:17 +0000)]
Update computed style results.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81700 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUpdate computed style results.
hyatt@apple.com [Tue, 22 Mar 2011 21:13:44 +0000 (21:13 +0000)]
Update computed style results.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81699 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUpdate computed style results.
hyatt@apple.com [Tue, 22 Mar 2011 21:12:31 +0000 (21:12 +0000)]
Update computed style results.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81698 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUpdate computed style results.
hyatt@apple.com [Tue, 22 Mar 2011 21:10:46 +0000 (21:10 +0000)]
Update computed style results.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81697 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUpdate computed style results.
hyatt@apple.com [Tue, 22 Mar 2011 21:10:35 +0000 (21:10 +0000)]
Update computed style results.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81696 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 22 Mar 2011 21:07:18 +0000 (21:07 +0000)]
2011-03-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        WebCore GYP build should build without help from normal WebCore build
        https://bugs.webkit.org/show_bug.cgi?id=56860

        Before this patch, the WebCore GYP build wasn't generating the derived
        sources quite right because the ENABLE macros were not being
        communicated to the "Derived Sources" target.

        This patch also adds the "Copy Forwarding and ICU Headers" as well as
        the "Streamline Inspector Source" steps, which are present in the
        normal build.  Unlike the normal build, these steps occur in a new
        target, called "WebCore Support", which is less than aesthetically
        beautiful.  Hopefully we'll be able to move them into the WebCore
        target proper in the future, but that will likely require some GYP
        changes.

        This patch probably could have been broken down into a couple smaller
        patches, but that doesn't seem necessary.

        * WebCore.gypi:
            - This file appears to no longer exist.
        * gyp/WebCore.gyp:
        * gyp/copy-forwarding-and-icu-headers.sh: Added.
        * gyp/streamline-inspector-source.sh: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81695 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 22 Mar 2011 21:05:00 +0000 (21:05 +0000)]
2011-03-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove os_win32_files variable from the GYP build
        https://bugs.webkit.org/show_bug.cgi?id=56804

        Now that our understanding of GYP is sufficiently advanced, we don't
        need os_win32_files any more.  (Turns out Eric was right, as he always
        is.)

        * JavaScriptCore.gypi:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81694 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 22 Mar 2011 21:02:44 +0000 (21:02 +0000)]
2011-03-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        GYP build of JavaScriptCore should be able to link from an empty WebKitBuild directory
        https://bugs.webkit.org/show_bug.cgi?id=56803

        Previously, we thought we should generate the derived source files in
        the shared intermediate build products directory, but there are
        assumptions built into other parts of the Mac build system that the
        derived source files will be generated in a particular subdirectory of
        the build products directory.

        This patch is a partial revert of the change that moved the derived
        source files to the shared intermediate directory.  After this patch,
        the GYP build can build JavaScriptCore without help from the main
        normal build system.

        * JavaScriptCore.gypi:
        * gyp/JavaScriptCore.gyp:
        * gyp/generate-derived-sources.sh:
        * gyp/generate-dtrace-header.sh:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81693 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Matthew Delaney <mdelaney@apple.com>
mdelaney@apple.com [Tue, 22 Mar 2011 20:41:22 +0000 (20:41 +0000)]
2011-03-22  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Simon Fraser.

        Have WebKit push acceleratedDrawing preferences to settings
        https://bugs.webkit.org/show_bug.cgi?id=56792

        * WebView/WebView.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81692 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=56859
hyatt@apple.com [Tue, 22 Mar 2011 20:18:41 +0000 (20:18 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=56859

Reviewed by Simon Fraser.

Floats in the floating object list occur in the order that they are positioned. This means
that for a given vertical offset, the last left object in the list that intersects that offset
will be the rightmost float. There is no need to check any previous floats, since they have to be
further left than that rightmost float. The same rules hold true for right-aligned floats.

Change logicalLeft/RightOffsetForLine to iterate backwards instead of forwards and to stop the moment
they encounter a float that intersects the vertical range.

This cuts the maze solving time for a 20x20 maze in the IE MazeSolver test in half.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::logicalLeftOffsetForLine):
(WebCore::RenderBlock::logicalRightOffsetForLine):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81691 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago<http://webkit.org/b/56781> Add --dsym switch to enable dsym generation when building...
ddkilzer@apple.com [Tue, 22 Mar 2011 20:13:46 +0000 (20:13 +0000)]
<webkit.org/b/56781> Add --dsym switch to enable dsym generation when building with Xcode

Reviewed by Joseph Pecoraro.

* Scripts/build-webkit: Updated usage statement to include
--dsym.
* Scripts/webkitdirs.pm: Added $generateDsym variable.
(generateDsym): Added. Call determineGenerateDsym() and
return $generateDsym.
(determineGenerateDsym): Added.  Parse @ARGV for --dsym and set
$generateDsym.
(argumentsForXcode): Added.  Returns additional arguments for
xcodebuild based on command-line switches.
(XcodeOptions): Updated to include argumentsForXcode() in the
array returned.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81690 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Justin Schuh <jschuh@chromium.org>
jschuh@chromium.org [Tue, 22 Mar 2011 19:21:39 +0000 (19:21 +0000)]
2011-03-22  Justin Schuh  <jschuh@chromium.org>

        Reviewed by Dirk Schulze.

        SVG displacement map should validate channel selections
        https://bugs.webkit.org/show_bug.cgi?id=56794

        * svg/filters/feDisplacementMap-crash-test-expected.txt: Added.
        * svg/filters/feDisplacementMap-crash-test.xhtml: Added.
2011-03-22  Justin Schuh  <jschuh@chromium.org>

        Reviewed by Dirk Schulze.

        SVG displacement map should validate channel selections
        https://bugs.webkit.org/show_bug.cgi?id=56794

        Test: svg/filters/feDisplacementMap-crash-test.xhtml

        * svg/SVGFEDisplacementMapElement.cpp:
        (WebCore::SVGFEDisplacementMapElement::svgAttributeChanged):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81689 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFix EFL bustage.
hyatt@apple.com [Tue, 22 Mar 2011 19:21:29 +0000 (19:21 +0000)]
Fix EFL bustage.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81688 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFix Leopard build bustage.
hyatt@apple.com [Tue, 22 Mar 2011 19:18:39 +0000 (19:18 +0000)]
Fix Leopard build bustage.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81687 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Jay Civelli <jcivelli@chromium.org>
jcivelli@chromium.org [Tue, 22 Mar 2011 19:17:58 +0000 (19:17 +0000)]
2011-03-22  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by David Levin.

        Adding a contains method to Vector.
        https://bugs.webkit.org/show_bug.cgi?id=55859

        * wtf/Vector.h:
        (WTF::Vector::contains):
2011-03-22  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by David Levin.

        Relanding:
        Moving the method that is used to retrieve all the resources in
        a page from the Chromium code (dom_operations.cc) to WebKit.
        https://bugs.webkit.org/show_bug.cgi?id=55859

        * WebKit.gyp:
        * public/WebPageSerializer.h:
        * public/WebURL.h:
        (WebKit::operator==):
        (WebKit::operator!=):
        * public/WebVector.h:
        (WebKit::WebVector::contains):
        * src/WebDataSourceImpl.cpp:
        (WebKit::WebDataSourceImpl::WebDataSourceImpl):
        * src/WebPageSerializer.cpp:
        (WebCore::getSubResourceURLFromElement):
        (WebCore::retrieveResourcesForElement):
        (WebCore::retrieveResourcesForFrame):
        (WebKit::WebPageSerializer::retrieveAllResources):
        * tests/WebFrameTest.cpp:
        * tests/WebPageSerializerTest.cpp: Added.
        * tests/data/pageserialization/awesome.png: Added.
        * tests/data/pageserialization/embed_iframe.html: Added.
        * tests/data/pageserialization/object_iframe.html: Added.
        * tests/data/pageserialization/simple_iframe.html: Added.
        * tests/data/pageserialization/simple_page.html: Added.
        * tests/data/pageserialization/top_frame.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81686 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Huahui Wu <mediadependent@gmail.com>
commit-queue@webkit.org [Tue, 22 Mar 2011 19:16:10 +0000 (19:16 +0000)]
2011-03-22  Huahui Wu  <mediadependent@gmail.com>

        Reviewed by Steve Block.

        [Android] Update PlatformTouchEvent for android so it can pass IDs and states around.
        https://bugs.webkit.org/show_bug.cgi?id=56763

        No new tests as no new functionality is exposed.

        * platform/PlatformTouchEvent.h:
        * platform/android/PlatformTouchEventAndroid.cpp:
        (WebCore::PlatformTouchEvent::PlatformTouchEvent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81685 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoSource/WebCore: Implement the CSS3 line-box-contain property. This property provides...
hyatt@apple.com [Tue, 22 Mar 2011 19:03:50 +0000 (19:03 +0000)]
Source/WebCore: Implement the CSS3 line-box-contain property. This property provides authors with more control over spacing between lines. For example,
you can fix the height of lines and cause all line contents to be ignored. You can make lines fit to glyphs. You can ignore leading and
fit to the font size. You can ignore replaced elements, etc.

Reviewed by Simon Fraser.

Refactor the code in computeLogicalBoxHeights into helper methods on RootInlineBox. verticalPositionForBox moved over to RootInlineBox
so that it could be called from RenderBlockLineLayout. ascentAndDescentForBox is the new method that computes the appropriate box
height based off the block's line-box-contain value.

GlyphOverflow can now have a computeBounds parameter set, in which case glyph bounds will be computed and stored in the overflow struct.

RenderInline no longer returns 0 margins in the block direction, since line-box-contain can size around the margin box.

Added new tests in fast/block/lineboxcontain

* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::createLineBoxContainValue):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSLineBoxContainValue.cpp: Added.
(WebCore::CSSLineBoxContainValue::CSSLineBoxContainValue):
(WebCore::CSSLineBoxContainValue::cssText):
* css/CSSLineBoxContainValue.h: Added.
(WebCore::CSSLineBoxContainValue::create):
(WebCore::CSSLineBoxContainValue::value):
(WebCore::CSSLineBoxContainValue::isCSSLineBoxContainValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseLineBoxContain):
* css/CSSParser.h:
* css/CSSPropertyNames.in:
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
* css/CSSValue.h:
(WebCore::CSSValue::isCSSLineBoxContainValue):
* css/CSSValueKeywords.in:
* platform/graphics/Font.cpp:
(WebCore::Font::width):
* platform/graphics/Font.h:
(WebCore::GlyphOverflow::GlyphOverflow):
* platform/graphics/FontFastPath.cpp:
(WebCore::Font::floatWidthForSimpleText):
* platform/graphics/mac/FontComplexTextMac.cpp:
(WebCore::Font::floatWidthForComplexText):
* platform/graphics/win/FontWin.cpp:
(WebCore::Font::floatWidthForComplexText):
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::computeLogicalBoxHeights):
* rendering/InlineFlowBox.h:
* rendering/RenderBlock.h:
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
(WebCore::RenderBlock::layoutInlineChildren):
* rendering/RenderInline.cpp:
(WebCore::RenderInline::marginLeft):
(WebCore::RenderInline::marginRight):
(WebCore::RenderInline::marginTop):
(WebCore::RenderInline::marginBottom):
(WebCore::RenderInline::marginBefore):
(WebCore::RenderInline::marginAfter):
* rendering/RenderInline.h:
* rendering/RenderText.cpp:
(WebCore::RenderText::widthFromCache):
(WebCore::RenderText::width):
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::alignBoxesInBlockDirection):
(WebCore::setAscentAndDescent):
(WebCore::RootInlineBox::ascentAndDescentForBox):
(WebCore::RootInlineBox::verticalPositionForBox):
(WebCore::RootInlineBox::includeLeadingForBox):
(WebCore::RootInlineBox::includeFontForBox):
(WebCore::RootInlineBox::includeGlyphsForBox):
(WebCore::RootInlineBox::includeMarginForBox):
(WebCore::RootInlineBox::fitsToGlyphs):
(WebCore::RootInlineBox::includesRootLineBoxFontOrLeading):
* rendering/RootInlineBox.h:
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff):
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::lineBoxContain):
(WebCore::InheritedFlags::setLineBoxContain):
(WebCore::InheritedFlags::initialLineBoxContain):
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):
* rendering/style/StyleRareInheritedData.h:

LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=56388

Reviewed by Simon Fraser.

Implement the CSS3 line-box-contain property. This property provides authors with more control over spacing between lines. For example,
you can fix the height of lines and cause all line contents to be ignored. You can make lines fit to glyphs. You can ignore leading and
fit to the font size. You can ignore replaced elements, etc.

Refactor the code in computeLogicalBoxHeights into helper methods on RootInlineBox. verticalPositionForBox moved over to RootInlineBox
so that it could be called from RenderBlockLineLayout. ascentAndDescentForBox is the new method that computes the appropriate box
height based off the block's line-box-contain value.

GlyphOverflow can now have a computeBounds parameter set, in which case glyph bounds will be computed and stored in the overflow struct.

RenderInline no longer returns 0 margins in the block direction, since line-box-contain can size around the margin box.

* fast/block/lineboxcontain: Added.
* fast/block/lineboxcontain/block-font.html: Added.
* fast/block/lineboxcontain/block-glyphs-replaced.html: Added.
* fast/block/lineboxcontain/block-glyphs.html: Added.
* fast/block/lineboxcontain/block-replaced.html: Added.
* fast/block/lineboxcontain/block.html: Added.
* fast/block/lineboxcontain/font-replaced.html: Added.
* fast/block/lineboxcontain/font.html: Added.
* fast/block/lineboxcontain/glyphs.html: Added.
* fast/block/lineboxcontain/inline-box-replaced.html: Added.
* fast/block/lineboxcontain/inline-box-vertical.html: Added.
* fast/block/lineboxcontain/inline-box.html: Added.
* fast/block/lineboxcontain/inline-replaced.html: Added.
* fast/block/lineboxcontain/inline.html: Added.
* fast/block/lineboxcontain/none.html: Added.
* fast/block/lineboxcontain/replaced.html: Added.
* platform/mac/fast/block/lineboxcontain: Added.
* platform/mac/fast/block/lineboxcontain/block-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/block-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/block-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/block-font-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/block-font-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/block-font-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/block-glyphs-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/block-glyphs-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/block-glyphs-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/block-glyphs-replaced-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/block-glyphs-replaced-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/block-glyphs-replaced-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/block-replaced-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/block-replaced-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/block-replaced-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/font-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/font-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/font-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/font-replaced-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/font-replaced-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/font-replaced-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/glyphs-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/glyphs-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/glyphs-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/inline-box-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/inline-box-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/inline-box-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/inline-box-replaced-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/inline-box-replaced-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/inline-box-replaced-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/inline-box-vertical-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/inline-box-vertical-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/inline-box-vertical-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/inline-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/inline-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/inline-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/inline-replaced-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/inline-replaced-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/inline-replaced-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/none-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/none-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/none-expected.txt: Added.
* platform/mac/fast/block/lineboxcontain/replaced-expected.checksum: Added.
* platform/mac/fast/block/lineboxcontain/replaced-expected.png: Added.
* platform/mac/fast/block/lineboxcontain/replaced-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81684 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoGoing to certain pages causes a download of "st.html" or "jsp.html" (news.yahoo.com...
weinig@apple.com [Tue, 22 Mar 2011 19:03:23 +0000 (19:03 +0000)]
Going to certain pages causes a download of "st.html" or "jsp.html" (news.yahoo.com, etc.)
<rdar://problem/9139245>

Reviewed by Adam Roben.

"Windows edition".

* win/lib/WebKitSystemInterface.lib:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81683 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Gabor Loki <loki@webkit.org>
loki@webkit.org [Tue, 22 Mar 2011 18:52:48 +0000 (18:52 +0000)]
2011-03-22  Gabor Loki  <loki@webkit.org>

        Reviewed by Alexey Proskuryakov.

        Fix a bunch of typos in DFG.
        https://bugs.webkit.org/show_bug.cgi?id=56813

        * dfg/DFGByteCodeParser.cpp:
        (JSC::DFG::parse):
        * dfg/DFGGenerationInfo.h:
        (JSC::DFG::GenerationInfo::setSpilled):
        * dfg/DFGGraph.cpp:
        (JSC::DFG::Graph::dump):
        * dfg/DFGGraph.h:
        * dfg/DFGJITCodeGenerator.h:
        (JSC::DFG::JITCodeGenerator::setupStubArguments):
        * dfg/DFGJITCompiler.cpp:
        (JSC::DFG::JITCompiler::compileFunction):
        * dfg/DFGJITCompiler.h:
        * dfg/DFGNode.h:
        * dfg/DFGNonSpeculativeJIT.h:
        * dfg/DFGOperations.h:
        * dfg/DFGRegisterBank.h:
        (JSC::DFG::RegisterBank::allocate):
        * dfg/DFGScoreBoard.h:
        (JSC::DFG::ScoreBoard::~ScoreBoard):
        (JSC::DFG::ScoreBoard::allocate):
        * dfg/DFGSpeculativeJIT.cpp:
        (JSC::DFG::SpeculativeJIT::compile):
        * dfg/DFGSpeculativeJIT.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81682 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoGoing to certain pages causes a download of "st.html" or "jsp.html" (news.yahoo.com...
weinig@apple.com [Tue, 22 Mar 2011 18:48:30 +0000 (18:48 +0000)]
Going to certain pages causes a download of "st.html" or "jsp.html" (news.yahoo.com, etc.)
<rdar://problem/9139245>

Reviewed by Brady Eidson.

* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceSnowLeopard.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81681 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 22 Mar 2011 18:40:52 +0000 (18:40 +0000)]
2011-03-22  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Crash when calling PluginProxy::evaluate on a destroyed plug-in
        https://bugs.webkit.org/show_bug.cgi?id=56848
        <rdar://problem/9168975>

        Return early if the NPObject doesn't exist anymore.

        * WebProcess/Plugins/PluginProxy.cpp:
        (WebKit::PluginProxy::evaluate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81680 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebKit2: Cannot make a selection past the end of the visible page (no autoscrolling)
weinig@apple.com [Tue, 22 Mar 2011 18:26:12 +0000 (18:26 +0000)]
WebKit2: Cannot make a selection past the end of the visible page (no autoscrolling)
<rdar://problem/8823874>
https://bugs.webkit.org/show_bug.cgi?id=56847

Reviewed by Adam Roben.

* Shared/mac/WebEventFactory.mm:
(WebKit::currentMouseButton):
(WebKit::mouseButtonForEvent):
Add mouse button for mouseEnter/Exit events. [NSEvent buttonNumber] doesn't seem to give the right result
for these events, but getting the currentMouseButton does work.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81679 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Tue, 22 Mar 2011 17:33:42 +0000 (17:33 +0000)]
2011-03-22  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r81664.
        http://trac.webkit.org/changeset/81664
        https://bugs.webkit.org/show_bug.cgi?id=56840

        Rolling out followups to 81653 with expectations. (Requested
        by pfeldman on #webkit).

        * platform/win/fast/forms/listbox-bidi-align-expected.checksum: Removed.
        * platform/win/fast/forms/listbox-bidi-align-expected.png: Removed.
        * platform/win/fast/forms/listbox-bidi-align-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81677 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Noel Gordon <noel.gordon@gmail.com>
commit-queue@webkit.org [Tue, 22 Mar 2011 17:27:35 +0000 (17:27 +0000)]
2011-03-22  Noel Gordon  <noel.gordon@gmail.com>

        Reviewed by Tony Chang.

        [chromium] Remove Gears from Chromium WebKit
        https://bugs.webkit.org/show_bug.cgi?id=56808

        Gears has been removed from Chromium 12. Remove Gears drag drop support
        from WebKit. That work lead to http://webkit.org/b/25916, a proposal to
        add native file drag drop, and its subsequent standardization in HTML5.

        * public/WebBindings.h:
        * public/WebView.h:
        * src/WebBindings.cpp:
        (WebKit::getRangeImpl): FIXME note added.
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::WebViewImpl):
        (WebKit::WebViewImpl::dragTargetDragEnter):
        (WebKit::WebViewImpl::dragTargetDragLeave):
        (WebKit::WebViewImpl::dragTargetDrop):
        (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
        * src/WebViewImpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81676 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2011-03-22 Sheriff Bot <webkit.review.bot@gmail.com>
pfeldman@chromium.org [Tue, 22 Mar 2011 17:09:07 +0000 (17:09 +0000)]
2011-03-22  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r81653.
        http://trac.webkit.org/changeset/81653
        https://bugs.webkit.org/show_bug.cgi?id=56839

        Breaks fast/text/drawBidiText.html on Chromium. (Requested by
        pfeldman on #webkit).

        * fast/forms/listbox-bidi-align.html: Removed.
        * platform/mac/fast/forms/listbox-bidi-align-expected.checksum: Removed.
        * platform/mac/fast/forms/listbox-bidi-align-expected.png: Removed.
        * platform/mac/fast/forms/listbox-bidi-align-expected.txt: Removed.
2011-03-22  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r81653.
        http://trac.webkit.org/changeset/81653
        https://bugs.webkit.org/show_bug.cgi?id=56839

        Breaks fast/text/drawBidiText.html on Chromium. (Requested by
        pfeldman on #webkit).

        * rendering/RenderListBox.cpp:
        (WebCore::RenderListBox::paintItemForeground):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81675 268f45cc-cd09-0410-ab3c-d52691b4dbfc