WebKit-https.git
9 years agoUnreviewed.
ukai@chromium.org [Thu, 9 Sep 2010 05:57:24 +0000 (05:57 +0000)]
Unreviewed.

Rebaseline chromium-mac image: WebKit r67049 starts showing spelling marker under foo or so.

* platform/chromium-mac/editing/execCommand/outdent-selection-expected.checksum: Added.
* platform/chromium-mac/editing/execCommand/outdent-selection-expected.png: Added.
* platform/chromium-mac/editing/inserting/insert-3907422-fix-expected.checksum: Added.
* platform/chromium-mac/editing/inserting/insert-3907422-fix-expected.png: Added.
* platform/chromium-mac/editing/pasteboard/interchange-newline-1-expected.checksum: Added.
* platform/chromium-mac/editing/pasteboard/interchange-newline-1-expected.png: Added.
* platform/chromium-mac/editing/pasteboard/merge-after-delete-1-expected.checksum: Added.
* platform/chromium-mac/editing/pasteboard/merge-after-delete-1-expected.png: Added.
* platform/chromium-mac/editing/pasteboard/merge-after-delete-2-expected.checksum: Added.
* platform/chromium-mac/editing/pasteboard/merge-after-delete-2-expected.png: Added.
* platform/chromium-mac/editing/pasteboard/merge-after-delete-expected.checksum: Added.
* platform/chromium-mac/editing/pasteboard/merge-after-delete-expected.png: Added.
* platform/chromium-mac/editing/pasteboard/merge-end-4-expected.checksum: Added.
* platform/chromium-mac/editing/pasteboard/merge-end-4-expected.png: Added.
* platform/chromium-mac/editing/pasteboard/merge-end-blockquote-expected.checksum: Added.
* platform/chromium-mac/editing/pasteboard/merge-end-blockquote-expected.png: Added.
* platform/chromium-mac/editing/pasteboard/merge-end-list-expected.checksum: Added.
* platform/chromium-mac/editing/pasteboard/merge-end-list-expected.png: Added.
* platform/chromium-mac/editing/pasteboard/merge-end-table-expected.checksum: Added.
* platform/chromium-mac/editing/pasteboard/merge-end-table-expected.png: Added.
* platform/chromium-mac/editing/style/create-block-for-style-011-expected.checksum: Added.
* platform/chromium-mac/editing/style/create-block-for-style-011-expected.png: Added.
* platform/chromium-mac/editing/style/create-block-for-style-012-expected.checksum: Added.
* platform/chromium-mac/editing/style/create-block-for-style-012-expected.png: Added.

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

9 years ago2010-09-08 Csaba Osztrogonác <ossy@webkit.org>
ossy@webkit.org [Thu, 9 Sep 2010 05:35:29 +0000 (05:35 +0000)]
2010-09-08  Csaba Osztrogonác  <ossy@webkit.org>

        Reviewed by Oliver Hunt.

        [Qt] REGRESSION(63348): jsc is broken
        https://bugs.webkit.org/show_bug.cgi?id=42818

        Need fastcall conventions on Qt/Win/MinGW.
        Based on patches of Gavin Barraclough: r63947 and r63948.

        * jit/JITStubs.cpp:
        * jit/JITStubs.h:

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

9 years agoLayoutTest regressions due to http://trac.webkit.org/changeset/67001
ossy@webkit.org [Thu, 9 Sep 2010 05:26:33 +0000 (05:26 +0000)]
LayoutTest regressions due to trac.webkit.org/changeset/67001
https://bugs.webkit.org/show_bug.cgi?id=45411

* platform/qt/Skipped: Unskip tests, because bug fixed in r67052.

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

9 years ago2010-09-08 Mihai Parparita <mihaip@chromium.org>
commit-queue@webkit.org [Thu, 9 Sep 2010 05:18:29 +0000 (05:18 +0000)]
2010-09-08  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Dimitri Glazkov.

        pushstate-clears-forward-history.html crashes with Chromium DRT
        https://bugs.webkit.org/show_bug.cgi?id=45351

        pushstate-clears-forward-history.html would appear to crash with the
        Chromium DRT. The crash was actually caused by the test that preceded
        it, popstate-fires-with-page-cache.html, added with r66628. That test
        would close a popup window during a popstate event handler, triggering
        bug 36202 (popstate fires sychronously instead of asynchronously),
        leading to asserts firing.

        The workaround is to simulate popstate being async by wrapping the
        cleanup code in a timeout (fixing 36202 itself is also on my radar).

        * fast/loader/stateobjects/popstate-fires-with-page-cache.html:
        * platform/chromium/drt_expectations.txt:

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

9 years ago2010-09-08 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 9 Sep 2010 04:30:57 +0000 (04:30 +0000)]
2010-09-08  MORITA Hajime <morrita@google.com>

        Unreviewed, Added 1 test failures on Win to test_expectations.txt

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-09-08 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 9 Sep 2010 04:14:25 +0000 (04:14 +0000)]
2010-09-08  MORITA Hajime  <morrita@google.com>

        Unreviewed, Added newly failing test to skipped list.

        * platform/gtk/Skipped:

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

9 years ago2010-09-08 Tony Chang <tony@chromium.org>
tony@chromium.org [Thu, 9 Sep 2010 04:11:56 +0000 (04:11 +0000)]
2010-09-08  Tony Chang  <tony@chromium.org>

        Reviewed by Dimitri Glazkov.

        [chromium] remove Skipped file from google-chrome-linux64
        https://bugs.webkit.org/show_bug.cgi?id=45320

        The file is not used by chromium.  Also add a README files to try to
        make this less confusing.

        * platform/google-chrome-linux32/README: Added.
        * platform/google-chrome-linux64/README: Added.
        * platform/google-chrome-linux64/Skipped: Removed.

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

9 years agoUnreviewed.
ukai@chromium.org [Thu, 9 Sep 2010 04:00:01 +0000 (04:00 +0000)]
Unreviewed.

Rebaseline for chromium-win.  console message diffs in JavaScript engine.

* platform/chromium-win/inspector/debugger-autocontinue-on-syntax-error-expected.txt: Added.

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

9 years agoUnreviewed.
ukai@chromium.org [Thu, 9 Sep 2010 03:34:53 +0000 (03:34 +0000)]
Unreviewed.

Fixed typo: s/fixd/fixed/

* platform/chromium/test_expectations.txt:

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

9 years ago2010-09-08 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 9 Sep 2010 03:26:17 +0000 (03:26 +0000)]
2010-09-08  MORITA Hajime  <morrita@google.com>

        Unreviewed, Added newly failing test to skipped list.

        * platform/qt/Skipped:

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

9 years agoNot reviewed, layout test fix.
pkasting@chromium.org [Thu, 9 Sep 2010 03:15:51 +0000 (03:15 +0000)]
Not reviewed, layout test fix.

Fix flaky layout test results caused by not initializing members correctly.
https://bugs.webkit.org/show_bug.cgi?id=45411

* platform/ScrollAnimator.cpp:
(WebCore::ScrollAnimator::ScrollAnimator):
(WebCore::ScrollAnimator::~ScrollAnimator):
* platform/ScrollAnimator.h:

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

9 years ago2010-09-08 Mihai Parparita <mihaip@chromium.org>
jamesr@google.com [Thu, 9 Sep 2010 02:50:38 +0000 (02:50 +0000)]
2010-09-08  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by James Robinson.

        http/tests/navigation/anchor-frames.html doesn't pass with TestShell
        https://bugs.webkit.org/show_bug.cgi?id=45430

        Check scroll position in a timeout, otherwise TestShell will report 0
        for it.

        * http/tests/navigation/resources/frame-with-anchor.html:

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

9 years agoNot reviewed, fixing trivial typo.
mjs@apple.com [Thu, 9 Sep 2010 02:18:09 +0000 (02:18 +0000)]
Not reviewed, fixing trivial typo.

Fix typo in my last commit (.htm should be .html)

* platform/mac-wk2/Skipped:

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

9 years ago2010-09-08 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 9 Sep 2010 02:05:26 +0000 (02:05 +0000)]
2010-09-08  MORITA Hajime  <morrita@google.com>

        Reviewed by Tony Chang.

        spelling underline gets lost on backspace
        https://bugs.webkit.org/show_bug.cgi?id=41423

        * editing/spelling/script-tests/TEMPLATE.html: Copied from LayoutTests/editing/selection/script-tests/TEMPLATE.html.
        * editing/spelling/script-tests/spelling-backspace-between-lines.js: Added.
        * editing/spelling/spelling-backspace-between-lines-expected.txt: Added.
        * editing/spelling/spelling-backspace-between-lines.html: Added.
2010-09-08  MORITA Hajime  <morrita@google.com>

        Reviewed by Tony Chang.

        spelling underline gets lost on backspace
        https://bugs.webkit.org/show_bug.cgi?id=41423

        moveParagraphs() did make a DOM range by serializing source range
        and deserializing it back, and markers are gone during the process.
        This change marks that DOM range again.

        Test: editing/spelling/spelling-backspace-between-lines.html

        * editing/CompositeEditCommand.cpp:
        (WebCore::CompositeEditCommand::moveParagraphs):
        * editing/Editor.cpp:
        (WebCore::Editor::clearMisspellingsAndBadGrammar): Added.
        (WebCore::Editor::markMisspellingsAndBadGrammar): Added.
        * editing/Editor.h:
2010-09-08  MORITA Hajime  <morrita@google.com>

        Reviewed by Tony Chang.

        spelling underline gets lost on backspace
        https://bugs.webkit.org/show_bug.cgi?id=41423

        Switched to use a anchorNode of the selection instead of a focused
        node for finer control of node selection in spellingNode():
        With the focused node, we cannot select other nodes but the first
        child of that node. In some case, we need to inspect these.

        The API is only for LayoutTests, and the change is compatible for
        existing test cases.

        * WebView/WebFrame.mm:
        (spellingNode):

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

9 years agoUnreviewed.
ukai@chromium.org [Thu, 9 Sep 2010 01:57:51 +0000 (01:57 +0000)]
Unreviewed.

Add 4 tests failures on Win to test_expectations.txt
- editing/input/page-up-down-scrolls.html
- fast/events/remove-child-onscroll.html
- fast/events/scroll-event-does-not-bubble.html
- fast/repaint/fixd-move-after-keyboard-scroll.html

* platform/chromium/test_expectations.txt:

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

9 years agoWebKit2 needs a way to box numbers (for Array, Dictionary, etc.)
weinig@apple.com [Thu, 9 Sep 2010 01:43:42 +0000 (01:43 +0000)]
WebKit2 needs a way to box numbers (for Array, Dictionary, etc.)
<rdar://problem/8408844>
https://bugs.webkit.org/show_bug.cgi?id=45429

Reviewed by Dan Bernstein.

This adds a generic WebNumber class that can be used for any scalar
numeric type. Right now, we are only exposing a double version, but it
is designed to allow more.

* Shared/APIObject.h:
* Shared/WebNumber.h: Added.
(WebKit::WebNumber::create):
(WebKit::WebNumber::value):
(WebKit::WebNumber::setValue):
(WebKit::WebNumber::WebNumber):
(WebKit::WebNumber::type):
* UIProcess/API/C/WKAPICast.h:
* UIProcess/API/C/WKBase.h:
* UIProcess/API/C/WKNumber.cpp: Added.
(WKDoubleGetTypeID):
(WKDoubleCreate):
(WKDoubleGetValue):
(WKDoubleSetValue):
* UIProcess/API/C/WKNumber.h: Added.
* UIProcess/API/C/WebKit2.h:
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
* win/WebKit2Generated.make:

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

9 years agoUnreviewed.
ukai@chromium.org [Thu, 9 Sep 2010 01:31:54 +0000 (01:31 +0000)]
Unreviewed.

Add fast/dom/dataset-gc.html to test_expectations.txt

* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed.
ukai@chromium.org [Thu, 9 Sep 2010 01:25:13 +0000 (01:25 +0000)]
Unreviewed.

Add svg/dynamic-updates/SVGFEDiffuseLightingElement-lighting-color-css-prop.html to test_expectations.txt

* platform/chromium/test_expectations.txt:

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

9 years ago2010-09-08 Tony Chang <tony@chromium.org>
tony@chromium.org [Thu, 9 Sep 2010 01:09:04 +0000 (01:09 +0000)]
2010-09-08  Tony Chang  <tony@chromium.org>

        Unreviewed.  Remove compositing results because we skip these
        tests in chromium-linux.

        * platform/chromium-linux/compositing: Removed.
        * platform/chromium-linux/compositing/generated-content-expected.checksum: Removed.
        * platform/chromium-linux/compositing/generated-content-expected.png: Removed.
        * platform/chromium-linux/compositing/overflow: Removed.
        * platform/chromium-linux/compositing/overflow/overflow-positioning-expected.checksum: Removed.
        * platform/chromium-linux/compositing/overflow/overflow-positioning-expected.png: Removed.
        * platform/chromium-linux/compositing/repaint: Removed.
        * platform/chromium-linux/compositing/repaint/become-overlay-composited-layer-expected.checksum: Removed.

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

9 years ago2010-09-08 Tony Chang <tony@chromium.org>
tony@chromium.org [Thu, 9 Sep 2010 01:01:56 +0000 (01:01 +0000)]
2010-09-08  Tony Chang  <tony@chromium.org>

        Unreviewed.  Adding png files for chromium-linux tests that have
        .checksum files but no png files.  Also remove 4 checksums where
        there is no corresponding png file, but we're failing the tests so
        I didn't want to check in a bad png file.

        * platform/chromium-linux/editing/deleting/collapse-whitespace-3587601-fix-expected.png: Copied from LayoutTests/platform/chromium-win/editing/deleting/collapse-whitespace-3587601-fix-expected.png.
        * platform/chromium-linux/editing/deleting/delete-at-start-or-end-expected.png: Copied from LayoutTests/platform/chromium-win/editing/deleting/delete-at-start-or-end-expected.png.
        * platform/chromium-linux/editing/deleting/delete-block-contents-001-expected.png: Copied from LayoutTests/platform/chromium-win/editing/deleting/delete-block-contents-001-expected.png.
        * platform/chromium-linux/editing/deleting/delete-block-contents-002-expected.png: Copied from LayoutTests/platform/chromium-win/editing/deleting/delete-block-contents-002-expected.png.
        * platform/chromium-linux/editing/deleting/delete-image-004-expected.png: Copied from LayoutTests/platform/chromium-win/editing/deleting/delete-image-004-expected.png.
        * platform/chromium-linux/editing/deleting/delete-select-all-002-expected.png: Copied from LayoutTests/platform/chromium-win/editing/deleting/delete-select-all-002-expected.png.
        * platform/chromium-linux/editing/deleting/delete-select-all-003-expected.png: Copied from LayoutTests/platform/chromium-win/editing/deleting/delete-select-all-003-expected.png.
        * platform/chromium-linux/editing/pasteboard/innerText-inline-table-expected.png: Added.
        * platform/chromium-linux/editing/pasteboard/paste-table-cells-expected.png: Added.
        * platform/chromium-linux/editing/selection/selectNode-expected.png: Added.
        * platform/chromium-linux/editing/selection/selectNodeContents-expected.png: Added.
        * platform/chromium-linux/editing/undo/5378473-expected.png: Copied from LayoutTests/platform/chromium-win/editing/undo/5378473-expected.png.
        * platform/chromium-linux/editing/undo/undo-misspellings-expected.png: Copied from LayoutTests/platform/chromium-win/editing/undo/undo-misspellings-expected.png.
        * platform/chromium-linux/fast/backgrounds/bgCompositeCopy-expected.png: Copied from LayoutTests/platform/chromium-win/fast/backgrounds/bgCompositeCopy-expected.png.
        * platform/chromium-linux/fast/backgrounds/svg-as-background-2-expected.png: Copied from LayoutTests/platform/chromium-win/fast/backgrounds/svg-as-background-2-expected.png.
        * platform/chromium-linux/fast/block/basic/quirk-percent-height-table-cell-expected.png: Copied from LayoutTests/platform/chromium-win/fast/block/basic/quirk-percent-height-table-cell-expected.png.
        * platform/chromium-linux/fast/block/float/014-expected.png: Added.
        * platform/chromium-linux/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png: Added.
        * platform/chromium-linux/fast/borders/svg-as-border-image-2-expected.png: Added.
        * platform/chromium-linux/fast/borders/svg-as-border-image-expected.png: Added.
        * platform/chromium-linux/fast/canvas/canvas-as-image-incremental-repaint-expected.png: Copied from LayoutTests/platform/chromium-win/fast/canvas/canvas-as-image-incremental-repaint-expected.png.
        * platform/chromium-linux/fast/canvas/canvas-text-baseline-expected.png: Added.
        * platform/chromium-linux/fast/canvas/quadraticCurveTo-expected.png: Added.
        * platform/chromium-linux/fast/css-generated-content/table-row-group-to-inline-expected.png: Added.
        * platform/chromium-linux/fast/css-generated-content/table-row-group-with-before-expected.png: Added.
        * platform/chromium-linux/fast/css-generated-content/table-row-with-before-expected.png: Added.
        * platform/chromium-linux/fast/css-generated-content/table-with-before-expected.png: Added.
        * platform/chromium-linux/fast/css/001-expected.png: Added.
        * platform/chromium-linux/fast/css/background-shorthand-invalid-url-expected.png: Added.
        * platform/chromium-linux/fast/css/value-list-out-of-bounds-crash-expected.png: Added.
        * platform/chromium-linux/fast/css/variables/image-test-expected.png: Added.
        * platform/chromium-linux/fast/doctypes/001-expected.png: Added.
        * platform/chromium-linux/fast/doctypes/002-expected.png: Added.
        * platform/chromium-linux/fast/doctypes/004-expected.png: Added.
        * platform/chromium-linux/fast/forms/preserveFormDuringResidualStyle-expected.png: Added.
        * platform/chromium-linux/fast/inline-block/14498-positionForCoordinates-expected.png: Added.
        * platform/chromium-linux/fast/inline/emptyInlinesWithinLists-expected.png: Added.
        * platform/chromium-linux/fast/invalid/016-expected.png: Added.
        * platform/chromium-linux/fast/layers/add-layer-with-nested-stacking-expected.png: Copied from LayoutTests/platform/chromium-win/fast/layers/add-layer-with-nested-stacking-expected.png.
        * platform/chromium-linux/fast/layers/self-painting-outline-expected.png: Copied from LayoutTests/platform/chromium-win/fast/layers/self-painting-outline-expected.png.
        * platform/chromium-linux/fast/layers/video-layer-expected.png: Added.
        * platform/chromium-linux/fast/lists/005-expected.png: Added.
        * platform/chromium-linux/fast/lists/big-list-marker-expected.png: Added.
        * platform/chromium-linux/fast/lists/scrolled-marker-paint-expected.png: Added.
        * platform/chromium-linux/fast/parser/parseCommentsInTitles-expected.png: Added.
        * platform/chromium-linux/fast/repaint/background-generated-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/background-generated-expected.png.
        * platform/chromium-linux/fast/repaint/background-misaligned-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/background-misaligned-expected.png.
        * platform/chromium-linux/fast/repaint/block-selection-gap-in-table-cell-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/block-selection-gap-in-table-cell-expected.png.
        * platform/chromium-linux/fast/repaint/block-selection-gap-stale-cache-expected.png: Added.
        * platform/chromium-linux/fast/repaint/button-spurious-layout-hint-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/button-spurious-layout-hint-expected.png.
        * platform/chromium-linux/fast/repaint/clip-with-layout-delta-expected.png: Added.
        * platform/chromium-linux/fast/repaint/content-into-overflow-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/content-into-overflow-expected.png.
        * platform/chromium-linux/fast/repaint/float-in-new-block-with-layout-delta-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/float-in-new-block-with-layout-delta-expected.png.
        * platform/chromium-linux/fast/repaint/float-new-in-block-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/float-new-in-block-expected.png.
        * platform/chromium-linux/fast/repaint/focus-ring-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/focus-ring-expected.png.
        * platform/chromium-linux/fast/repaint/inline-relative-positioned-expected.png: Added.
        * platform/chromium-linux/fast/repaint/intermediate-layout-position-clip-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/intermediate-layout-position-clip-expected.png.
        * platform/chromium-linux/fast/repaint/intermediate-layout-position-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/intermediate-layout-position-expected.png.
        * platform/chromium-linux/fast/repaint/multicol-repaint-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/multicol-repaint-expected.png.
        * platform/chromium-linux/fast/repaint/outline-inset-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/outline-inset-expected.png.
        * platform/chromium-linux/fast/repaint/overflow-into-content-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/overflow-into-content-expected.png.
        * platform/chromium-linux/fast/repaint/positioned-document-element-expected.png: Added.
        * platform/chromium-linux/fast/repaint/selection-clear-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/selection-clear-expected.png.
        * platform/chromium-linux/fast/repaint/table-outer-border-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/table-outer-border-expected.png.
        * platform/chromium-linux/fast/repaint/table-section-repaint-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/table-section-repaint-expected.png.
        * platform/chromium-linux/fast/repaint/table-two-pass-layout-overpaint-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/table-two-pass-layout-overpaint-expected.png.
        * platform/chromium-linux/fast/repaint/transform-disable-layoutstate-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/transform-disable-layoutstate-expected.png.
        * platform/chromium-linux/fast/repaint/transform-replaced-shadows-expected.png: Copied from LayoutTests/platform/chromium-win/fast/repaint/transform-replaced-shadows-expected.png.
        * platform/chromium-linux/fast/replaced/image-sizing-expected.png: Added.
        * platform/chromium-linux/fast/runin/generated4-expected.png: Added.
        * platform/chromium-linux/fast/selectors/001-expected.png: Added.
        * platform/chromium-linux/fast/selectors/013-expected.png: Added.
        * platform/chromium-linux/fast/selectors/015-expected.png: Added.
        * platform/chromium-linux/fast/table/border-collapsing/equal-precedence-resolution-expected.png: Copied from LayoutTests/platform/chromium-win/fast/table/border-collapsing/equal-precedence-resolution-expected.png.
        * platform/chromium-linux/fast/table/giantRowspan-expected.png: Copied from LayoutTests/platform/chromium-win/fast/table/giantRowspan-expected.png.
        * platform/chromium-linux/fast/table/multiple-percent-height-rows-expected.png: Copied from LayoutTests/platform/chromium-win/fast/table/multiple-percent-height-rows-expected.png.
        * platform/chromium-linux/scrollbars/listbox-scrollbar-combinations-expected.png: Added.
        * platform/chromium-linux/svg/batik/masking/maskRegions-expected.checksum: Removed.
        * platform/chromium-linux/svg/custom/bug45331-expected.png: Added.
        * platform/chromium-linux/svg/custom/clone-element-with-animated-svg-properties-expected.png: Added.
        * platform/chromium-linux/svg/custom/control-points-for-S-and-T-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/control-points-for-S-and-T-expected.png.
        * platform/chromium-linux/svg/custom/deep-dynamic-updates-expected.png: Added.
        * platform/chromium-linux/svg/custom/dynamic-empty-path-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/dynamic-empty-path-expected.png.
        * platform/chromium-linux/svg/custom/feDisplacementMap-01-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/feDisplacementMap-01-expected.png.
        * platform/chromium-linux/svg/custom/fill-opacity-hsl-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/fill-opacity-hsl-expected.png.
        * platform/chromium-linux/svg/custom/fill-opacity-rgba-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/fill-opacity-rgba-expected.png.
        * platform/chromium-linux/svg/custom/glyph-transformation-with-hkern-expected.png: Added.
        * platform/chromium-linux/svg/custom/gradient-stop-corner-cases-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/gradient-stop-corner-cases-expected.png.
        * platform/chromium-linux/svg/custom/grayscale-gradient-mask-expected.checksum: Removed.
        * platform/chromium-linux/svg/custom/group-opacity-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/group-opacity-expected.png.
        * platform/chromium-linux/svg/custom/image-with-transform-clip-filter-expected.png: Added.
        * platform/chromium-linux/svg/custom/js-repaint-rect-on-path-with-stroke-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-repaint-rect-on-path-with-stroke-expected.png.
        * platform/chromium-linux/svg/custom/js-update-container-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-update-container-expected.png.
        * platform/chromium-linux/svg/custom/js-update-container2-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-update-container2-expected.png.
        * platform/chromium-linux/svg/custom/js-update-polygon-changes-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-update-polygon-changes-expected.png.
        * platform/chromium-linux/svg/custom/js-update-polygon-removal-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-update-polygon-removal-expected.png.
        * platform/chromium-linux/svg/custom/js-update-style-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-update-style-expected.png.
        * platform/chromium-linux/svg/custom/js-update-transform-addition-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/js-update-transform-addition-expected.png.
        * platform/chromium-linux/svg/custom/marker-referencePoint-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/marker-referencePoint-expected.png.
        * platform/chromium-linux/svg/custom/mouse-move-on-svg-container-expected.png: Added.
        * platform/chromium-linux/svg/custom/mouse-move-on-svg-container-standalone-expected.png: Added.
        * platform/chromium-linux/svg/custom/mouse-move-on-svg-root-expected.png: Added.
        * platform/chromium-linux/svg/custom/mouse-move-on-svg-root-standalone-expected.png: Added.
        * platform/chromium-linux/svg/custom/non-scaling-stroke-expected.checksum: Removed.
        * platform/chromium-linux/svg/custom/pattern-cycle-detection-expected.png: Added.
        * platform/chromium-linux/svg/custom/pattern-deep-referencing-expected.png: Added.
        * platform/chromium-linux/svg/custom/pattern-with-transformation-expected.png: Added.
        * platform/chromium-linux/svg/custom/pattern-y-offset-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/pattern-y-offset-expected.png.
        * platform/chromium-linux/svg/custom/repaint-moving-svg-and-div-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/repaint-moving-svg-and-div-expected.png.
        * platform/chromium-linux/svg/custom/repaint-stroke-width-changes-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/repaint-stroke-width-changes-expected.png.
        * platform/chromium-linux/svg/custom/stroked-pattern-expected.checksum: Removed.
        * platform/chromium-linux/svg/custom/svg-fonts-with-no-element-reference-expected.png: Added.
        * platform/chromium-linux/svg/custom/text-dom-removal-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/text-dom-removal-expected.png.
        * platform/chromium-linux/svg/custom/text-linking-expected.png: Added.
        * platform/chromium-linux/svg/custom/use-forward-refs-expected.png: Copied from LayoutTests/platform/chromium-win/svg/custom/use-forward-refs-expected.png.
        * platform/chromium-linux/svg/filters/feComposite-expected.png: Added.
        * platform/chromium-linux/svg/filters/filter-on-tspan-expected.png: Added.
        * platform/chromium-linux/svg/filters/filter-width-update-expected.png: Added.
        * platform/chromium-linux/svg/filters/sourceAlpha-expected.png: Added.
        * platform/chromium-linux/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.png: Added.
        * platform/chromium-linux/svg/foreignObject/svg-document-as-direct-child-expected.png: Added.
        * platform/chromium-linux/svg/foreignObject/svg-document-in-html-document-expected.png: Added.
        * platform/chromium-linux/svg/hixie/data-types/001-expected.png: Copied from LayoutTests/platform/chromium-win/svg/hixie/data-types/001-expected.png.
        * platform/chromium-linux/svg/zoom/text/absolute-sized-document-no-scrollbars-expected.png: Copied from LayoutTests/platform/chromium-win/svg/zoom/text/absolute-sized-document-no-scrollbars-expected.png.
        * platform/chromium-linux/svg/zoom/text/absolute-sized-document-scrollbars-expected.png: Copied from LayoutTests/platform/chromium-win/svg/zoom/text/absolute-sized-document-scrollbars-expected.png.
        * platform/chromium-linux/svg/zoom/text/relative-sized-document-scrollbars-expected.png: Copied from LayoutTests/platform/chromium-win/svg/zoom/text/relative-sized-document-scrollbars-expected.png.
        * platform/chromium-linux/tables/mozilla/bugs/bug106795-expected.png: Copied from LayoutTests/platform/chromium-win/tables/mozilla/bugs/bug106795-expected.png.
        * platform/chromium-linux/tables/mozilla/bugs/bug11026-expected.png: Added.
        * platform/chromium-linux/tables/mozilla/bugs/bug1296-expected.png: Added.
        * platform/chromium-linux/tables/mozilla/bugs/bug131020-2-expected.png: Copied from LayoutTests/platform/chromium-win/tables/mozilla/bugs/bug131020-2-expected.png.
        * platform/chromium-linux/tables/mozilla/bugs/bug13169-expected.png: Copied from LayoutTests/platform/chromium-win/tables/mozilla/bugs/bug13169-expected.png.
        * platform/chromium-linux/tables/mozilla/bugs/bug133948-expected.png: Copied from LayoutTests/platform/chromium-win/tables/mozilla/bugs/bug133948-expected.png.
        * platform/chromium-linux/tables/mozilla/bugs/bug15544-expected.png: Added.
        * platform/chromium-linux/tables/mozilla/bugs/bug1818-1-expected.png: Copied from LayoutTests/platform/chromium-win/tables/mozilla/bugs/bug1818-1-expected.png.
        * platform/chromium-linux/tables/mozilla/bugs/bug1818-2-expected.png: Copied from LayoutTests/platform/chromium-win/tables/mozilla/bugs/bug1818-2-expected.png.
        * platform/chromium-linux/tables/mozilla/bugs/bug1818-3-expected.png: Copied from LayoutTests/platform/chromium-win/tables/mozilla/bugs/bug1818-3-expected.png.
        * platform/chromium-linux/tables/mozilla/bugs/bug1818-4-expected.png: Copied from LayoutTests/platform/chromium-win/tables/mozilla/bugs/bug1818-4-expected.png.
        * platform/chromium-linux/tables/mozilla/bugs/bug219693-1-expected.png: Copied from LayoutTests/platform/chromium-win/tables/mozilla/bugs/bug219693-1-expected.png.
        * platform/chromium-linux/tables/mozilla/bugs/bug219693-2-expected.png: Copied from LayoutTests/platform/chromium-win/tables/mozilla/bugs/bug219693-2-expected.png.
        * platform/chromium-linux/tables/mozilla/bugs/bug26553-expected.png: Copied from LayoutTests/platform/chromium-win/tables/mozilla/bugs/bug26553-expected.png.
        * platform/chromium-linux/tables/mozilla/bugs/bug32447-expected.png: Added.
        * platform/chromium-linux/tables/mozilla/bugs/bug34538-expected.png: Added.
        * platform/chromium-linux/tables/mozilla/bugs/bug56201-expected.png: Copied from LayoutTests/platform/chromium-win/tables/mozilla/bugs/bug56201-expected.png.
        * platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug23847-expected.png: Copied from LayoutTests/platform/chromium-win/tables/mozilla_expected_failures/bugs/bug23847-expected.png.

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

9 years agoDon't include the std namespace in a header. This hopefully fixes the Windows build.
andersca@apple.com [Thu, 9 Sep 2010 00:45:50 +0000 (00:45 +0000)]
Don't include the std namespace in a header. This hopefully fixes the Windows build.

* Shared/WebCoreArgumentCoders.h:

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

9 years ago2010-09-08 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 9 Sep 2010 00:18:53 +0000 (00:18 +0000)]
2010-09-08  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        text/plain documents that start with \n trigger ASSERT
        https://bugs.webkit.org/show_bug.cgi?id=45409

        Because the TextDocumentParser uses a <pre> element to show the text,
        it ran into a requirement from HTML5 to skip any initial \n character
        tokens inside a <pre> element.  We don't want the behavior for
        TextDocuments, so I've loosened our ASSERTs and added a comment and a
        test to document the correct behavior.

        Test: fast/tokenizer/text-plain.html

        * html/parser/HTMLTokenizer.cpp:
        (WebCore::HTMLTokenizer::nextToken):
2010-09-08  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        text/plain documents that start with \n trigger ASSERT
        https://bugs.webkit.org/show_bug.cgi?id=45409

        * fast/tokenizer/resources/text.txt: Added.
        * fast/tokenizer/text-plain.html: Added.

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

9 years ago2010-09-08 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Thu, 9 Sep 2010 00:03:28 +0000 (00:03 +0000)]
2010-09-08  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Joseph Pecoraro.

        Web Inspector: test that debugger won't pause on syntax errors
        https://bugs.webkit.org/show_bug.cgi?id=45388

        * inspector/debugger-autocontinue-on-syntax-error-expected.txt: Added.
        * inspector/debugger-autocontinue-on-syntax-error.html: Added.
2010-09-08  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Joseph Pecoraro.

        Web Inspector: test that debugger won't pause on syntax errors
        https://bugs.webkit.org/show_bug.cgi?id=45388

        * src/js/Tests.js: removed testAutoContinueOnSyntaxError which is now covered by
        inspector/debugger-autocontinue-on-syntax-error.html layout test

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

9 years ago2010-09-08 James Robinson <jamesr@chromium.org>
jamesr@google.com [Wed, 8 Sep 2010 23:54:29 +0000 (23:54 +0000)]
2010-09-08  James Robinson  <jamesr@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Always do 2d canvas clearRect() in hardware
        https://bugs.webkit.org/show_bug.cgi?id=45415

        r67003 forced Canvas 2d's clearRect() to happen in software if a gradient/shadow/etc was
        active.  This is subtly wrong for mixed mode rendering since it results in only the
        software backing store being cleared and not the hardware.  This forces clearRect() to
        happen in hardware.  Since we upload mixed mode results before doing any hardware draw
        this means we always clear everything.

        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::GraphicsContext::clearRect):

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

9 years agoUpdated expected results for computed-style and prototype-inheritance tests on Windows.
bweinstein@apple.com [Wed, 8 Sep 2010 23:52:50 +0000 (23:52 +0000)]
Updated expected results for computed-style and prototype-inheritance tests on Windows.

Rubber-stamped by Steve Falkenburg.

* platform/win/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/win/fast/dom/prototype-inheritance-2-expected.txt:

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

9 years agoSuggested and reviewed by Darin Adler.
andersca@apple.com [Wed, 8 Sep 2010 23:37:20 +0000 (23:37 +0000)]
Suggested and reviewed by Darin Adler.

Fix an overflow bug in bufferIsLargeEnoughToContain.

* Platform/CoreIPC/ArgumentDecoder.h:
(CoreIPC::ArgumentDecoder::bufferIsLargeEnoughToContain):

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

9 years ago2010-09-08 Dean Jackson <dino@apple.com>
dino@apple.com [Wed, 8 Sep 2010 23:37:00 +0000 (23:37 +0000)]
2010-09-08  Dean Jackson  <dino@apple.com>

        Unreviewed attempt to fix the Mac builds.

        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseAnimationTimingFunction):

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

9 years ago2010-09-08 Dean Jackson <dino@apple.com>
dino@apple.com [Wed, 8 Sep 2010 23:28:10 +0000 (23:28 +0000)]
2010-09-08  Dean Jackson  <dino@apple.com>

        Unreviewed attempt to fix QT build.

        * platform/graphics/qt/GraphicsLayerQt.cpp:
        (WebCore::solveStepsFunction):
        (WebCore::applyTimingFunction):

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

9 years agoImprove CoreIPC encoding of strings
andersca@apple.com [Wed, 8 Sep 2010 23:26:03 +0000 (23:26 +0000)]
Improve CoreIPC encoding of strings
https://bugs.webkit.org/show_bug.cgi?id=45418

Reviewed by Darin Adler.

Encode and decode null Strings. Check that the string length isn't bogus.

* Platform/CoreIPC/ArgumentCoders.h:
* Platform/CoreIPC/ArgumentDecoder.cpp:
(CoreIPC::ArgumentDecoder::bufferIsLargeEnoughToContain):
* Platform/CoreIPC/ArgumentDecoder.h:
(CoreIPC::ArgumentDecoder::bufferIsLargeEnoughToContain):
* Shared/WebCoreArgumentCoders.h:

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

9 years agohttp/tests/navigation/anchor-frames.html should not be diffing images
dglazkov@chromium.org [Wed, 8 Sep 2010 23:20:38 +0000 (23:20 +0000)]
http/tests/navigation/anchor-frames.html should not be diffing images
https://bugs.webkit.org/show_bug.cgi?id=45307

Patch by Mihai Parparita <mihaip@chromium.org> on 2010-09-08
Reviewed by Dimitri Glazkov.

anchor-frames.html is a pretty straightforward test that makes sure that we
scroll to named anchors when they're used as frame sources. There's no need
for it to be a pixel test with per-platform expectations (which are currently
missing for Chromium Mac in any case).

* http/tests/navigation/anchor-frames-expected.txt: Added.
* http/tests/navigation/anchor-frames.html:
* http/tests/navigation/resources/frame-with-anchor.html: Added.
* platform/chromium-linux/http/tests/navigation/anchor-frames-expected.checksum: Removed.
* platform/chromium-linux/http/tests/navigation/anchor-frames-expected.png: Removed.
* platform/chromium-linux/http/tests/navigation/anchor-frames-expected.txt: Removed.
* platform/chromium-win/http/tests/navigation/anchor-frames-expected.checksum: Removed.
* platform/chromium-win/http/tests/navigation/anchor-frames-expected.png: Removed.
* platform/chromium-win/http/tests/navigation/anchor-frames-expected.txt: Removed.
* platform/chromium/test_expectations.txt:
* platform/mac/http/tests/navigation/anchor-frames-expected.checksum: Removed.
* platform/mac/http/tests/navigation/anchor-frames-expected.png: Removed.
* platform/mac/http/tests/navigation/anchor-frames-expected.txt: Removed.

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

9 years ago2010-09-08 Dean Jackson <dino@apple.com>
dino@apple.com [Wed, 8 Sep 2010 23:06:19 +0000 (23:06 +0000)]
2010-09-08  Dean Jackson  <dino@apple.com>

        Reviewed by Simon Fraser.

        Implement steps() timing function for animations
        https://bugs.webkit.org/show_bug.cgi?id=44541

        Tests: animations/timing-functions.html
               transitions/steps-timing-function.html

        * css/CSSComputedStyleDeclaration.cpp:
        (WebCore::getTimingFunctionValue):
            - when creating computed style we now test what
              type of timing function it being used
        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseCubicBezierTimingFunctionValue):
            - rename this method from parseTimingFunctionValue
        (WebCore::CSSParser::parseAnimationTimingFunction):
            - support parsing the steps() function
        * css/CSSParser.h:
            - method rename
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::mapAnimationTimingFunction):
            - handle 'step-start' and 'step-end' identifiers. Also
              now use ::create when constructing objects
        * css/CSSTimingFunctionValue.cpp:
        (WebCore::CSSLinearTimingFunctionValue::cssText):
        (WebCore::CSSCubicBezierTimingFunctionValue::cssText):
        (WebCore::CSSStepsTimingFunctionValue::cssText):
            - new text output for computed style. We now produce
              the text 'linear' when appropriate.
        * css/CSSTimingFunctionValue.h:
        (WebCore::CSSTimingFunctionValue::isLinearTimingFunctionValue):
        (WebCore::CSSTimingFunctionValue::isCubicBezierTimingFunctionValue):
        (WebCore::CSSTimingFunctionValue::isStepsTimingFunctionValue):
        (WebCore::CSSTimingFunctionValue::CSSTimingFunctionValue):
        (WebCore::CSSTimingFunctionValue::isTimingFunctionValue):
        (WebCore::CSSLinearTimingFunctionValue::create):
        (WebCore::CSSLinearTimingFunctionValue::isLinearTimingFunctionValue):
        (WebCore::CSSLinearTimingFunctionValue::CSSLinearTimingFunctionValue):
        (WebCore::CSSCubicBezierTimingFunctionValue::create):
        (WebCore::CSSCubicBezierTimingFunctionValue::isCubicBezierTimingFunctionValue):
        (WebCore::CSSCubicBezierTimingFunctionValue::CSSCubicBezierTimingFunctionValue):
        (WebCore::CSSStepsTimingFunctionValue::create):
        (WebCore::CSSStepsTimingFunctionValue::numberOfSteps):
        (WebCore::CSSStepsTimingFunctionValue::stepAtStart):
        (WebCore::CSSStepsTimingFunctionValue::isStepsTimingFunctionValue):
        (WebCore::CSSStepsTimingFunctionValue::CSSStepsTimingFunctionValue):
            - CSSTimingFunction is now a pure virtual ref-counted base class, with
              subclasses for each of the three supported timing functions.
        * css/CSSValueKeywords.in:
            - new keywords step-start and step-end
        * page/animation/AnimationBase.cpp:
        (WebCore::solveStepsFunction):
            - produces the output value from a stepping function
        (WebCore::AnimationBase::progress):
            - now has to switch based on timing function type
        * page/animation/KeyframeAnimation.cpp:
        (WebCore::KeyframeAnimation::fetchIntervalEndpointsForProperty):
            - use ref-counted access
        * platform/animation/Animation.cpp:
        (WebCore::Animation::animationsMatch):
            - change timing function comparison for operator==
        * platform/animation/Animation.h:
        (WebCore::Animation::timingFunction):
        (WebCore::Animation::setTimingFunction):
        (WebCore::Animation::initialAnimationTimingFunction):
            - move to ref-counted timing function class
        * platform/animation/TimingFunction.h:
        (WebCore::TimingFunction::~TimingFunction):
        (WebCore::TimingFunction::isLinearTimingFunction):
        (WebCore::TimingFunction::isCubicBezierTimingFunction):
        (WebCore::TimingFunction::isStepsTimingFunction):
        (WebCore::TimingFunction::TimingFunction):
        (WebCore::LinearTimingFunction::create):
        (WebCore::LinearTimingFunction::~LinearTimingFunction):
        (WebCore::LinearTimingFunction::operator==):
        (WebCore::LinearTimingFunction::LinearTimingFunction):
        (WebCore::CubicBezierTimingFunction::create):
        (WebCore::CubicBezierTimingFunction::~CubicBezierTimingFunction):
        (WebCore::CubicBezierTimingFunction::operator==):
        (WebCore::CubicBezierTimingFunction::CubicBezierTimingFunction):
        (WebCore::StepsTimingFunction::create):
        (WebCore::StepsTimingFunction::~StepsTimingFunction):
        (WebCore::StepsTimingFunction::operator==):
        (WebCore::StepsTimingFunction::numberOfSteps):
        (WebCore::StepsTimingFunction::stepAtStart):
        (WebCore::StepsTimingFunction::StepsTimingFunction):
            - TimingFunction is now a ref-counted pure virtual base class,
              with three subclasses representing the types of timing functions
              that are supported.
        * platform/graphics/GraphicsLayer.h:
        (WebCore::AnimationValue::AnimationValue):
        (WebCore::FloatAnimationValue::FloatAnimationValue):
        (WebCore::TransformAnimationValue::TransformAnimationValue):
            - use PassRefPtr in function parameters
        * platform/graphics/qt/GraphicsLayerQt.cpp:
        (WebCore::solveStepsFunction):
        (WebCore::applyTimingFunction):
        (WebCore::AnimationQt::AnimationQt):
        (WebCore::AnimationQt::updateCurrentTime):
            - implement the timing function switch for QT
        * platform/graphics/mac/GraphicsLayerCA.mm:
        (WebCore::getCAMediaTimingFunction):
            - update for new timing function interface
        (WebCore::animationHasStepsTimingFunction):
            - new method to make sure animations with steps() functions
              never try to execute in Core Animation
        (WebCore::GraphicsLayerCA::addAnimation):
            - test for steps() timing function
        (WebCore::GraphicsLayerCA::timingFunctionForAnimationValue):
        * rendering/style/RenderStyleConstants.h:
            - remove old RenderStyle enum for timing function types

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

9 years agoUnreviewed trivial fix after r66960.
ossy@webkit.org [Wed, 8 Sep 2010 23:01:51 +0000 (23:01 +0000)]
Unreviewed trivial fix after r66960.

* WebCore.pro: loader/TextDocument.h renamed to html/TextDocument.h

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

9 years ago2010-09-08 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 8 Sep 2010 22:46:53 +0000 (22:46 +0000)]
2010-09-08  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        move-during-parse-parent.html crashes
        https://bugs.webkit.org/show_bug.cgi?id=45210

        When inserting elements into the tree, they need to be associated with
        their parent's document, not the document for which the parser is
        running.  These two are different when the parent has been moved to a
        different document during parsing.

        Test: fast/parser/move-during-parsing.html

        * html/parser/HTMLConstructionSite.cpp:
        (WebCore::HTMLConstructionSite::insertComment):
        (WebCore::HTMLConstructionSite::insertCommentOnHTMLHtmlElement):
        (WebCore::HTMLConstructionSite::insertScriptElement):
        (WebCore::HTMLConstructionSite::insertTextNode):
        (WebCore::HTMLConstructionSite::createElement):
        (WebCore::HTMLConstructionSite::createHTMLElement):
2010-09-08  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        move-during-parse-parent.html crashes
        https://bugs.webkit.org/show_bug.cgi?id=45210

        * fast/parser/move-during-parsing-expected.txt: Added.
        * fast/parser/move-during-parsing.html: Added.
        * fast/parser/resources/move-during-parsing-iframe.html: Added.

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

9 years agoAdd newly failing test to skipped list.
mjs@apple.com [Wed, 8 Sep 2010 22:44:43 +0000 (22:44 +0000)]
Add newly failing test to skipped list.

Rubber stamped by John Honeycutt.

* platform/mac-wk2/Skipped:

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

9 years ago2010-09-08 Gabor Loki <loki@webkit.org>
loki@webkit.org [Wed, 8 Sep 2010 22:43:25 +0000 (22:43 +0000)]
2010-09-08  Gabor Loki  <loki@webkit.org>

        Reviewed by Andreas Kling.

        Fix increases required alignment of target type warning on ARM
        https://bugs.webkit.org/show_bug.cgi?id=45301

        No new tests needed.

        * bindings/js/SerializedScriptValue.cpp:
        (WebCore::CloneDeserializer::readLittleEndian):
        (WebCore::CloneDeserializer::readString):
        * plugins/PluginDatabase.cpp:
        (WebCore::readTime):

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

9 years agoLayoutTest regressions due to http://trac.webkit.org/changeset/67001
ossy@webkit.org [Wed, 8 Sep 2010 22:30:03 +0000 (22:30 +0000)]
LayoutTest regressions due to trac.webkit.org/changeset/67001
https://bugs.webkit.org/show_bug.cgi?id=45411

* platform/qt/Skipped: Skip some flakey tests to make buildbot green.

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

9 years agoMake FocusController::focusedOrMainFrame method const
tonikitoo@webkit.org [Wed, 8 Sep 2010 22:16:12 +0000 (22:16 +0000)]
Make FocusController::focusedOrMainFrame method const
https://bugs.webkit.org/show_bug.cgi?id=45406

Reviewed by Daniel Bates.
Patch by Antonio Gomes <agomes@rim.com>

No new tests once it is not a behavior change.

* page/FocusController.cpp:
(WebCore::FocusController::focusedOrMainFrame):
* page/FocusController.h:

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

9 years ago2010-09-08 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Wed, 8 Sep 2010 22:15:20 +0000 (22:15 +0000)]
2010-09-08  Victor Wang  <victorw@chromium.org>

        Reviewed by Ojan Vafai.

        [Chromium] Fix test results server to make sure
        it does not have corrupted data.

        results.json file size coulbe be >1M and we split
        the data into multiple data store entries in this
        case. This patch fixes the issue that the data may
        be corrupted if data store error happens in the middle
        of saving multiple entries.

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

        * TestResultServer/model/datastorefile.py:

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

9 years agoNot reviewed, build fix.
pkasting@chromium.org [Wed, 8 Sep 2010 22:10:09 +0000 (22:10 +0000)]
Not reviewed, build fix.

* WebScrollBar.cpp:
(WebScrollBar::setScrollOffsetFromAnimation):

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

9 years agoNot reviewed, build fix.
pkasting@chromium.org [Wed, 8 Sep 2010 22:05:47 +0000 (22:05 +0000)]
Not reviewed, build fix.

* WebScrollBar.cpp:
(WebScrollBar::scrollSize):
(WebScrollBar::setScrollOffsetFromAnimation):

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

9 years agoNot reviewed, build fix.
pkasting@chromium.org [Wed, 8 Sep 2010 21:49:49 +0000 (21:49 +0000)]
Not reviewed, build fix.

* WebScrollBar.cpp:
(WebScrollBar::setValue):
(WebScrollBar::scrollSize):
(WebScrollBar::setScrollOffsetFromAnimation):
* WebScrollBar.h:

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

9 years agoFix a problem in createCanonicalUUIDString that causes the last digit
jianli@chromium.org [Wed, 8 Sep 2010 21:40:37 +0000 (21:40 +0000)]
Fix a problem in createCanonicalUUIDString that causes the last digit
missing on Linux.
https://bugs.webkit.org/show_bug.cgi?id=45412

Reviewed by Darin Adler.

WebCore:

This is caused by not including the final null character into the count
that is provided to fgets.

This is covered by the existing test: send-form-data-with-sliced-file.html.

* platform/UUID.cpp:
(WebCore::createCanonicalUUIDString):

LayoutTests:

Remove the test that is now passing on Linux for chromium.

* platform/chromium/test_expectations.txt:

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

9 years agoAdd a way to cause the web process to crash at a random time
aroben@apple.com [Wed, 8 Sep 2010 21:27:10 +0000 (21:27 +0000)]
Add a way to cause the web process to crash at a random time

Setting the WEBKIT2_CRASH_WEB_PROCESS_RANDOMLY environment variable
will cause the web process to crash at a random point up to 3 minutes
after launching.

Fixes <http://webkit.org/b/43058> <rdar://problem/8240150>

Reviewed by Darin Adler.

* WebProcess/WebProcess.cpp:
(WebKit::sleep): Added an implementation of this function for Windows.
It just calls through to ::Sleep.
(WebKit::randomCrashThread): Added. Sleeps for a random amount of time
up to 3 minutes, then crashes.
(WebKit::startRandomCrashThreadIfRequested): Added. Starts the crash
thread if the WEBKIT2_CRASH_WEB_PROCESS_RANDOMLY environment variable
is set.
(WebKit::WebProcess::initialize): Added a call to
startRandomCrashThreadIfRequested.

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

9 years ago2010-09-08 Nico Weber <thakis@chromium.org>
thakis@chromium.org [Wed, 8 Sep 2010 21:25:00 +0000 (21:25 +0000)]
2010-09-08  Nico Weber  <thakis@chromium.org>

        Reviewed by Dimitri Glazkov.

        chromium/mac: Fix overrelease in ImageLayerChromium
        https://bugs.webkit.org/show_bug.cgi?id=45360

        Only release colorSpace if we created it.

        * platform/graphics/chromium/ImageLayerChromium.cpp:
        (WebCore::ImageLayerChromium::updateContents):

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

9 years agoFix potential ref-counting issues with WorkItemWin
aroben@apple.com [Wed, 8 Sep 2010 21:17:06 +0000 (21:17 +0000)]
Fix potential ref-counting issues with WorkItemWin

Reviewed by Anders Carlsson.

* Platform/WorkQueue.h: Changed WorkItemWin to inherit from
ThreadSafeShared instead of RefCounted so that its ref-count will stay
consistent when used on multiple threads.

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

9 years agoTeach WorkQueue how to stop waiting on objects on Windows
aroben@apple.com [Wed, 8 Sep 2010 21:16:45 +0000 (21:16 +0000)]
Teach WorkQueue how to stop waiting on objects on Windows

WorkQueue now uses a subclass of WorkItemWin, HandleWorkItem, to hold
the waited-upon HANDLE and its corresponding wait handle. When a
HANDLE is unregistered, we use the HandleWorkItem to cancel the wait
and destroy the HANDLE.

Fixes <http://webkit.org/b/42826> <rdar://problem/8222253> Crash in
thread pool because WorkQueue keeps waiting on closed HANDLEs

Reviewed by Anders Carlsson.

* Platform/CoreIPC/win/ConnectionWin.cpp:
(CoreIPC::Connection::platformInvalidate): Changed to call
WorkQueue::unregisterAndCloseHandle instead of closing our handles
manually.

(CoreIPC::Connection::readEventHandler):
(CoreIPC::Connection::writeEventHandler):
Handle cases where the pipe has already closed by just bailing out.
This can happen if a WorkItem to call one of these functions has
already been scheduled before platformInvalidate is called.

* Platform/WorkQueue.h: Gave WorkItemWin a virtual destructor, added
HandleWorkItem, changed m_handles to hold HandleWorkItems, and added
functions for unregistering waits.

* Platform/win/WorkQueueWin.cpp:
(WorkQueue::WorkItemWin::~WorkItemWin): Added. This virtual destructor
ensures that HandleWorkItem's destructor gets called.

(WorkQueue::HandleWorkItem::HandleWorkItem):
(WorkQueue::HandleWorkItem::createByAdoptingHandle):
Added simple constructor/creator.

(WorkQueue::HandleWorkItem::~HandleWorkItem): Closes the handle we
adopted.
(WorkQueue::registerHandle): Changed to create a HandleWorkItemWin and
to store the wait handle in it.
(WorkQueue::unregisterAndCloseHandle): Added. Removes the
HandleWorkItem for this HANDLE from m_handles and then schedules its
wait to be unregistered and the item to be destroyed.
(WorkQueue::platformInvalidate): Added an assertion and removed an
obsolete FIXME.
(WorkQueue::unregisterWaitAndDestroyItemSoon): Added. Calls
unregisterWaitAndDestroyItemCallback on a worker thread, passing it
ownership of the HandleWorkItem.
(WorkQueue::unregisterWaitAndDestroyItemCallback): Added. Adopts the
passed-in HandleWorkItem, then unregisters the handle's wait, then
destroys the HandleWorkItem when the RefPtr holding it goes out of
scope. Destroying the HandleWorkItem closes the handle.

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

9 years ago2010-09-08 Robert Hogan <robert@webkit.org>
robert@webkit.org [Wed, 8 Sep 2010 20:57:33 +0000 (20:57 +0000)]
2010-09-08  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        Remove some unnecessary duplicate calls to string functions

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

        * wtf/text/WTFString.cpp:
        (WTF::String::format):
2010-09-08  Robert Hogan  <robert@webkit.org>

        Reviewed by Antonio Gomes.

        Remove some unnecessary duplicate calls to string functions

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

        * platform/network/curl/ResourceHandleManager.cpp:
        (WebCore::parseDataUrl):
        * websockets/WebSocketChannel.cpp:
        (WebCore::WebSocketChannel::send):

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

9 years ago2010-09-08 Ryuan Choi <ryuan.choi@samsung.com>
demarchi@webkit.org [Wed, 8 Sep 2010 20:51:47 +0000 (20:51 +0000)]
2010-09-08  Ryuan Choi  <ryuan.choi@samsung.com>

        Unreviewed build fix.

        [EFL] Need to add custom dependencies.
        https://bugs.webkit.org/show_bug.cgi?id=45247

        Add WebKit_Theme into WebKit_SOURCES to make it while building.

        * CMakeListsEfl.txt:

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

9 years agoWebCore: Not reviewed, fallout from http://trac.webkit.org/changeset/67001
pkasting@chromium.org [Wed, 8 Sep 2010 20:33:06 +0000 (20:33 +0000)]
WebCore: Not reviewed, fallout from trac.webkit.org/changeset/67001

Fix compile failures and add svn:eol-style on two new files.

* platform/ScrollAnimator.h: Added property svn:eol-style.
* platform/ScrollAnimatorWin.cpp: Added property svn:eol-style.
* platform/win/PopupMenuWin.cpp: Fix compile errors.
(WebCore::PopupMenuWin::scrollToRevealSelection):
(WebCore::PopupMenuWin::scrollSize):

LayoutTests: Not reviewed, skip failing layout tests.

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

* platform/qt/Skipped:

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

9 years ago2010-09-08 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 8 Sep 2010 20:24:42 +0000 (20:24 +0000)]
2010-09-08  Martin Robinson  <mrobinson@igalia.com>

        Skip websocket tests until the GLib/GIO situation on the
        Debug bots can be sorted out.

        * platform/gtk/Skipped: Skip websocket tests.

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

9 years ago2010-09-08 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Wed, 8 Sep 2010 20:18:38 +0000 (20:18 +0000)]
2010-09-08  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Anders Carlsson.

        Add some entries to the WebKit2 skipped list, based on the buildbot
        https://bugs.webkit.org/show_bug.cgi?id=45380

        * platform/mac-wk2/Skipped:

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

9 years agoRemove WKSerializedScriptValue.cpp/h from the Copy Files build phase
aroben@apple.com [Wed, 8 Sep 2010 20:14:51 +0000 (20:14 +0000)]
Remove WKSerializedScriptValue.cpp/h from the Copy Files build phase

* WebKit2.xcodeproj/project.pbxproj:

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

9 years ago2010-09-08 Antonio Gomes <agomes@rim.com>
tonikitoo@webkit.org [Wed, 8 Sep 2010 19:56:11 +0000 (19:56 +0000)]
2010-09-08  Antonio Gomes  <agomes@rim.com>

        Unreviewed: adding my new commit email to committers.py

        * Scripts/webkitpy/common/config/committers.py:

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

9 years ago2010-09-08 James Robinson <jamesr@chromium.org>
jamesr@google.com [Wed, 8 Sep 2010 19:38:43 +0000 (19:38 +0000)]
2010-09-08  James Robinson  <jamesr@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Force canvas 2d draw calls to happen in software if a gradient, pattern, shadow, or clip are active
        https://bugs.webkit.org/show_bug.cgi?id=45405

        This forces all draw calls to happen in software instead of hardware if there is a fill pattern, gradient,
        shadow, or clip applied; at least until we can handle these in hardware.  Otherwise the pattern/gradient/etc
        is completely ignored by the hardware drawing routine and we render incorrectly.

        The test is slightly convervative - for example it will force drawImage() calls to happen in software if a
        fill gradient is set even though it's irrelevant.  This doesn't seem to be an issue in practice and we
        can tighten the checks later if needed.

        Tested by fast/canvas/canvas-incremental-repaint.html.

        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::GraphicsContext::canvasClip):
        (WebCore::GraphicsContext::fillRect):
        * platform/graphics/skia/ImageBufferSkia.cpp:
        (WebCore::ImageBuffer::draw):
        * platform/graphics/skia/ImageSkia.cpp:
        (WebCore::BitmapImage::draw):
        (WebCore::BitmapImageSingleFrameSkia::draw):
        * platform/graphics/skia/PlatformContextSkia.cpp:
        (WebCore::PlatformContextSkia::State::State):
        (WebCore::PlatformContextSkia::canvasClipPath):
        (WebCore::PlatformContextSkia::canAccelerate):
        * platform/graphics/skia/PlatformContextSkia.h:

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

9 years ago2010-09-08 Lucas De Marchi <lucas.demarchi@profusion.mobi>
demarchi@webkit.org [Wed, 8 Sep 2010 19:38:38 +0000 (19:38 +0000)]
2010-09-08  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Export data directory through pkg-config
        https://bugs.webkit.org/show_bug.cgi?id=45385

        Using pkg-config it's possible for a browser to know the location of
        installed themes. When compiling the browser, a variable might be
        defined with the datadir, like below:

        gcc -o browser browser.c $(pkg-config --libs --cflags ewebkit) \
           -DEWEBKIT_DATA_DIR=$(pkg-config --variable=datadir)

        * ewebkit.pc.in: Export datadir variable.

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

9 years ago2010-09-08 Peter Kasting <pkasting@google.com>
commit-queue@webkit.org [Wed, 8 Sep 2010 19:31:47 +0000 (19:31 +0000)]
2010-09-08  Peter Kasting  <pkasting@google.com>

        Reviewed by David Hyatt.

        Add smooth scrolling framework, and a Windows implementation.
        https://bugs.webkit.org/show_bug.cgi?id=32356

        * wscript: Add Windows ScrollAnimator.
2010-09-08  Peter Kasting  <pkasting@google.com>

        Reviewed by David Hyatt.

        Add smooth scrolling framework, and a Windows implementation.
        https://bugs.webkit.org/show_bug.cgi?id=32356

        * CMakeLists.txt: Add ScrollAnimator.
        * GNUmakefile.am: Add ScrollAnimator.
        * WebCore.gyp/WebCore.gyp: Add Windows ScrollAnimator.
        * WebCore.gypi: Add ScrollAnimator.
        * WebCore.pro: Add ScrollAnimator.
        * WebCore.vcproj/WebCore.vcproj: Add ScrollAnimator.
        * WebCore.xcodeproj/project.pbxproj: Add ScrollAnimator.
        * platform/ScrollAnimator.cpp: Added base implementation that does no animation.
        (WebCore::ScrollAnimator::create):
        (WebCore::ScrollAnimator::scroll):
        (WebCore::ScrollAnimator::setScrollPositionAndStopAnimation):
        * platform/ScrollAnimator.h: Added base implementation that does no animation.
        (WebCore::ScrollAnimator::ScrollAnimator):
        (WebCore::ScrollAnimator::~ScrollAnimator):
        * platform/ScrollAnimatorWin.cpp: Added Windows subclass that animates scrolls.
        (WebCore::ScrollAnimator::create):
        (WebCore::ScrollAnimatorWin::PerAxisData::PerAxisData):
        (WebCore::ScrollAnimatorWin::ScrollAnimatorWin):
        (WebCore::ScrollAnimatorWin::~ScrollAnimatorWin):
        (WebCore::ScrollAnimatorWin::scroll):
        (WebCore::ScrollAnimatorWin::setScrollPositionAndStopAnimation):
        (WebCore::ScrollAnimatorWin::accelerationTime):
        (WebCore::ScrollAnimatorWin::animationTimerFired):
        (WebCore::ScrollAnimatorWin::stopAnimationTimerIfNeeded):
        (WebCore::ScrollAnimatorWin::animateScroll):
        * platform/ScrollAnimatorWin.h: Added Windows subclass that animates scrolls.
        * platform/ScrollView.cpp: Implement new ScrollbarClient functions.  Allow wheel scrolls to be animated.
        (WebCore::ScrollView::scrollSize):
        (WebCore::ScrollView::setScrollOffsetFromAnimation):
        (WebCore::ScrollView::updateScrollbars):
        (WebCore::ScrollView::wheelEvent):
        * platform/ScrollView.h: Implement new ScrollbarClient functions.
        * platform/Scrollbar.cpp: Allow ScrollAnimator to handle scrolls if present.
        (WebCore::Scrollbar::setValue):
        (WebCore::Scrollbar::scroll):
        (WebCore::Scrollbar::moveThumb):
        (WebCore::Scrollbar::setCurrentPos):
        (WebCore::Scrollbar::mouseMoved):
        * platform/Scrollbar.h:
        * platform/ScrollbarClient.cpp: Added to avoid having to make ScrollAnimator.h non-private.
        (WebCore::ScrollbarClient::ScrollbarClient):
        (WebCore::ScrollbarClient::~ScrollbarClient):
        (WebCore::ScrollbarClient::scroll):
        (WebCore::ScrollbarClient::setScrollPositionAndStopAnimation):
        * platform/ScrollbarClient.h: Add hooks for ScrollAnimator.
        (WebCore::ScrollbarClient::convertFromScrollbarToContainingView):
        (WebCore::ScrollbarClient::convertFromContainingViewToScrollbar):
        * platform/gtk/MainFrameScrollbarGtk.cpp:
        (MainFrameScrollbarGtk::gtkValueChanged):
        * platform/qt/ScrollbarQt.cpp: Use scroll() in preference to setValue().
        (WebCore::Scrollbar::contextMenu):
        * platform/win/PopupMenuWin.cpp: Implement new ScrollbarClient functions.
        (WebCore::PopupMenuWin::scrollSize):
        (WebCore::PopupMenuWin::setScrollOffsetFromAnimation):
        * platform/win/PopupMenuWin.h: Implement new ScrollbarClient functions.
        * rendering/RenderDataGrid.cpp: Implement new ScrollbarClient functions.
        (WebCore::RenderDataGrid::scrollSize):
        (WebCore::RenderDataGrid::setScrollOffsetFromAnimation):
        * rendering/RenderDataGrid.h: Implement new ScrollbarClient functions.
        * rendering/RenderLayer.cpp: Implement new ScrollbarClient functions.
        (WebCore::RenderLayer::scrollToOffset):
        (WebCore::RenderLayer::scrollSize):
        (WebCore::RenderLayer::setScrollOffsetFromAnimation):
        (WebCore::RenderLayer::updateScrollInfoAfterLayout):
        * rendering/RenderLayer.h: Implement new ScrollbarClient functions.
        * rendering/RenderListBox.cpp: Implement new ScrollbarClient functions.
        (WebCore::RenderListBox::scrollToRevealElementAtListIndex):
        (WebCore::RenderListBox::scrollSize):
        (WebCore::RenderListBox::setScrollOffsetFromAnimation):
        (WebCore::RenderListBox::setScrollTop):
        * rendering/RenderListBox.h: Implement new ScrollbarClient functions.
2010-09-08  Peter Kasting  <pkasting@google.com>

        Reviewed by David Hyatt.

        Add smooth scrolling framework, and a Windows implementation.
        https://bugs.webkit.org/show_bug.cgi?id=32356

        * src/WebScrollbarImpl.cpp: Plumb new ScrollbarClient functions.  Allow wheel scrolls to be animated.
        (WebKit::WebScrollbarImpl::setLocation):
        (WebKit::WebScrollbarImpl::setValue):
        (WebKit::WebScrollbarImpl::scroll):
        (WebKit::WebScrollbarImpl::onMouseWheel):
        (WebKit::WebScrollbarImpl::onKeyDown):
        (WebKit::WebScrollbarImpl::setScrollOffsetFromAnimation):
        * src/WebScrollbarImpl.h: Plumb new ScrollbarClient functions.
        * src/win/WebInputEventFactory.cpp: Update comments now that we have smooth scrolling.
        (WebKit::WebInputEventFactory::mouseWheelEvent):
2010-09-08  Peter Kasting  <pkasting@google.com>

        Reviewed by David Hyatt.

        Add smooth scrolling framework, and a Windows implementation.
        https://bugs.webkit.org/show_bug.cgi?id=32356

        * Api/qwebframe.cpp:
        (QWebFrame::setScrollBarValue):

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

9 years ago2010-09-08 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 8 Sep 2010 19:24:10 +0000 (19:24 +0000)]
2010-09-08  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        applyInlineStyleToRange needs cleanup
        https://bugs.webkit.org/show_bug.cgi?id=45008

        Removed rangeIsEmpty and extracted the entire loop into applyInlineStyleToNodeRange.
        applyInlineStyleToRange is now a wrapper that fixes range and passes it on to applyInlineStyleToNodeRange.

        No new tests are added since this is a cleanup.

        * editing/ApplyStyleCommand.cpp:
        (WebCore::ApplyStyleCommand::applyInlineStyleToRange): Cleaned up.
        (WebCore::ApplyStyleCommand::applyInlineStyleToNodeRange): Extracted from applyInlineStyleToRange.
        * editing/ApplyStyleCommand.h:

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

9 years agoGet rid of WorkQueue::m_performWorkEvent
aroben@apple.com [Wed, 8 Sep 2010 19:20:17 +0000 (19:20 +0000)]
Get rid of WorkQueue::m_performWorkEvent

We were signaling m_performWorkEvent to spawn a worker thread. We can
use ::QueueUserWorkItem to spawn the thread instead.

Fixes <http://webkit.org/b/45407> WorkQueue::m_performWorkEvent is
unnecessary

Reviewed by Anders Carlsson.

* Platform/WorkQueue.h: Removed m_performWorkEvent.

* Platform/win/WorkQueueWin.cpp:
(WorkQueue::workThreadCallback): Replaced eventCallback with this
function. Its functionality is unchanged.

(WorkQueue::platformInitialize):
(WorkQueue::platformInvalidate):
Removed code to set up and clean up m_performWorkEvent.

(WorkQueue::scheduleWork): Use ::QueueUserWorkItem instead of
signaling m_performWorkEvent to spawn a worker thread.

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

9 years agoFix WebKit2Common.vsprops line-endings
aroben@apple.com [Wed, 8 Sep 2010 18:41:17 +0000 (18:41 +0000)]
Fix WebKit2Common.vsprops line-endings

* win/WebKit2Common.vsprops: Made all line-endings be CRLF, as this is
the format Visual Studio wants.

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

9 years agoIncorporate additional feedback from
aestes@apple.com [Wed, 8 Sep 2010 18:17:25 +0000 (18:17 +0000)]
Incorporate additional feedback from
https://bugs.webkit.org/show_bug.cgi?id=45364.

Rubber-stamped by Darin Adler.

* html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::parametersForPlugin): Rename urlParam to
urlParameter.
* loader/SubframeLoader.h: Add argument names to the definition of
SubframeLoader::resourceWillUsePlugin().

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

9 years ago2010-09-08 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 8 Sep 2010 18:07:12 +0000 (18:07 +0000)]
2010-09-08  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Joseph Pecoraro.

        Web Inspector: remove some obsolete interactive tests
        https://bugs.webkit.org/show_bug.cgi?id=45371

        * src/js/Tests.js:

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

9 years ago2010-09-07 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Wed, 8 Sep 2010 17:58:23 +0000 (17:58 +0000)]
2010-09-07  Oliver Hunt  <oliver@apple.com>

        Reviewed by Anders Carlsson.

        Support SerializedScriptValue in WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=45340

        Add a new constructor that allows WebKit2 to create a SerializedScriptValue
        directly from serialized data.

        * WebCore.exp.in:
        * bindings/js/SerializedScriptValue.h:
        (WebCore::SerializedScriptValue::adopt):
        (WebCore::SerializedScriptValue::data):
2010-09-07  Oliver Hunt  <oliver@apple.com>

        Reviewed by Anders Carlsson.

        Support SerializedScriptValue in WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=45340

        Add wrappers and IPC serialization for SerializedScriptValue

        * Shared/APIObject.h:
        * Shared/UserMessageCoders.h:
        (WebKit::UserMessageEncoder::baseEncode):
        (WebKit::UserMessageDecoder::baseDecode):
        * Shared/WebSerializedScriptValue.h: Added.
        (WebKit::WebSerializedScriptValue::create):
        (WebKit::WebSerializedScriptValue::adopt):
        (WebKit::WebSerializedScriptValue::deserialize):
        (WebKit::WebSerializedScriptValue::data):
        (WebKit::WebSerializedScriptValue::WebSerializedScriptValue):
        (WebKit::WebSerializedScriptValue::type):
        * UIProcess/API/C/WKAPICast.h:
        * UIProcess/API/C/WKBase.h:
        * UIProcess/API/C/WKSerializedScriptValue.cpp: Added.
        (WKSerializedScriptValueGetTypeID):
        (WKSerializedScriptValueCreate):
        (WKSerializedScriptValueDeserialize):
        * UIProcess/API/C/WKSerializedScriptValue.h: Added.
        * WebKit2.xcodeproj/project.pbxproj:

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

9 years ago2010-09-08 Andy Estes <aestes@apple.com>
aestes@apple.com [Wed, 8 Sep 2010 17:08:14 +0000 (17:08 +0000)]
2010-09-08  Andy Estes  <aestes@apple.com>

        Reviewed by Eric Carlson.

        Fallback content should be rendered when an <object> doesn't specify a
        data, type or classid attribute.
        https://bugs.webkit.org/show_bug.cgi?id=45364
        <rdar://problem/8375816>

        HTML5 says that if no data or type attribute is specified on an <object>,
        fallback content should be rendered. However, WebKit has traditionally
        supported specifying a URL and MIME type in <param> elements.

        To more closely match the spec while maintaining compatibility with
        content that relied on our old behavior, we will continue to load
        a resource specified by <param> elements if we can determine a priori
        that it will be handled by a plug-in.

        If we can't make this determination, and the <object> element has no
        "data" or "type" attribute, the <param> elements will be ignored and
        fallback content will be rendered. Otherwise, there is no change in
        behavior.

        * html/HTMLObjectElement.cpp:
        (WebCore::HTMLObjectElement::parametersForPlugin): If an empty url is
        passed to this function and a <param> exists that specifies a url that
        references a plug-in resource, set it to url, making it the url that
        will be loaded by the <object> element.
        (WebCore::HTMLObjectElement::updateWidget): If no type attribute was
        specified, but there is a classid attribute, try to map the classid to
        a MIME type. This needs to be done before calling
        HTMLObjectElement::parametersForPlugin().
        * loader/SubframeLoader.cpp:
        (WebCore::SubframeLoader::resourceWillUsePlugin): Make a public method
        that determines if a resource will load a plug-in based on its url and
        MIME type. This is equivalent to calling
        SubframeLoader::shouldUsePlugin(), but does not burden the caller with
        the details of fallback content.
        * loader/SubframeLoader.h:
2010-09-08  Andy Estes  <aestes@apple.com>

        Reviewed by Eric Carlson.

        Fallback content should be rendered when an <object> doesn't specify a
        data, type or classid attribute.
        https://bugs.webkit.org/show_bug.cgi?id=45364
        <rdar://problem/8375816>

        * fast/replaced/object-param-url-control-char.html:
        * fast/replaced/object-with-embed-url-param-expected.txt:
        * fast/replaced/object-with-embed-url-param.html:

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

9 years ago2010-09-08 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
jocelyn.turcotte@nokia.com [Wed, 8 Sep 2010 16:52:44 +0000 (16:52 +0000)]
2010-09-08  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>

        Reviewed by Andreas Kling.

        Re-Disable JIT for MSVC 64bit to fix the build on this compiler.
        https://bugs.webkit.org/show_bug.cgi?id=45382

        It was enabled in the cleanup made in r64176, though it is still
        not implemented.

        * wtf/Platform.h:

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

9 years agoUnreviewed buildfix after r66972.
ossy@webkit.org [Wed, 8 Sep 2010 16:35:40 +0000 (16:35 +0000)]
Unreviewed buildfix after r66972.

[Qt] Treat warnings as errors by default for gcc
https://bugs.webkit.org/show_bug.cgi?id=43191

* WebKit.pri: Don't add -Werror for maemo platforms.

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

9 years ago2010-09-08 Pavel Podivilov <podivilov@chromium.org>
commit-queue@webkit.org [Wed, 8 Sep 2010 16:11:12 +0000 (16:11 +0000)]
2010-09-08  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add breakpoints to source frame after content is loaded.
        https://bugs.webkit.org/show_bug.cgi?id=43056

        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype._resourceLoadingFinished):
        (WebInspector.ScriptsPanel.prototype._showScriptOrResource):
        * inspector/front-end/SourceView.js:
        (WebInspector.SourceView.prototype._contentLoaded):

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

9 years ago2010-09-08 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Wed, 8 Sep 2010 16:07:01 +0000 (16:07 +0000)]
2010-09-08  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        Canvas: Remove unnecessary null-check of canvas() in getImageData()
        https://bugs.webkit.org/show_bug.cgi?id=45394

        canvas() is already dereferenced earlier in the function so there is
        no use in checking it for null later.

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::getImageData):

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

9 years ago2010-09-08 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Wed, 8 Sep 2010 15:55:44 +0000 (15:55 +0000)]
2010-09-08  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Eric Carlson.

        [GStreamer] cache media duration in READY instead of PLAYING
        https://bugs.webkit.org/show_bug.cgi?id=39053

        New cacheDuration private method used to in updateStates() and
        durationChanged().

        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
        (WebCore::MediaPlayerPrivateGStreamer::updateStates):
        (WebCore::MediaPlayerPrivateGStreamer::cacheDuration):
        (WebCore::MediaPlayerPrivateGStreamer::durationChanged):
        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:

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

9 years ago2010-09-08 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 8 Sep 2010 15:27:17 +0000 (15:27 +0000)]
2010-09-08  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Need a WebSocket implementation
        https://bugs.webkit.org/show_bug.cgi?id=45197

        * configure.ac: Enable WebSocket by default.
2010-09-08  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Need a WebSocket implementation
        https://bugs.webkit.org/show_bug.cgi?id=45197

        Add a GIO-based WebSocket implementation.

        * wtf/gobject/GRefPtr.cpp: Added PlatformRefPtr support for GSource.
        (WTF::refPlatformPtr):
        (WTF::derefPlatformPtr):
        * wtf/gobject/GRefPtr.h: Added new template specialization declarations.
        * wtf/gobject/GTypedefs.h: Add some more GLib/GIO forward declarations.
2010-09-08  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Need a WebSocket implementation
        https://bugs.webkit.org/show_bug.cgi?id=45197

        * platform/gtk/Skipped: Unskip all WebSocket tests, as they are passing.
2010-09-08  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Need a WebSocket implementation
        https://bugs.webkit.org/show_bug.cgi?id=45197

        Add a GIO-based WebSocket implementation. This does not yet support
        SSL sockets or proxies, but these should be possible to add as support
        arrives in GLib/GIO for them.

        * platform/network/soup/SocketStreamHandle.h:
        * platform/network/soup/SocketStreamHandleSoup.cpp: Add a GIO-based WebSocket implementation.
        (WebCore::isActiveHandle): Added.
        (WebCore::deactivateHandle): Added.
        (WebCore::SocketStreamHandle::SocketStreamHandle): Filled out stub.
        (WebCore::SocketStreamHandle::~SocketStreamHandle): Ditto.
        (WebCore::SocketStreamHandle::connected): Added.
        (WebCore::SocketStreamHandle::readBytes): Added.
        (WebCore::SocketStreamHandle::writeReady): Added.
        (WebCore::SocketStreamHandle::platformSend): Filled out stub.
        (WebCore::SocketStreamHandle::platformClose): Filled out stub.
        (WebCore::SocketStreamHandle::beginWaitingForSocketWritability): Added.
        (WebCore::SocketStreamHandle::stopWaitingForSocketWritability):
        (WebCore::connectedCallback): Added.
        (WebCore::readReadyCallback): Added.
        (WebCore::writeReadyCallback): Added.

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

9 years ago2010-09-08 Sergio Villar Senin <svillar@igalia.com>
commit-queue@webkit.org [Wed, 8 Sep 2010 15:18:36 +0000 (15:18 +0000)]
2010-09-08  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Adam Barth.

        Errors in LayoutTests/http/tests/security/xss-DENIED-mime-type-execute-as-html.html
        https://bugs.webkit.org/show_bug.cgi?id=45377

        The test passes a MIME type as argument of a URL. A PHP code uses
        that MIME type to fill the Content-Type of the response.  If the
        MIME type is application/rss+xml the php decodes the '+' as a
        blank space and thus the returned content type is incorrectly set
        to "rss xml" instead of "rss+xml".

        * http/tests/security/resources/send-mime-types.php:
        * http/tests/security/xss-DENIED-mime-type-execute-as-html.html:

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

9 years agoFix ignoring return value warning in case of gcc 4.4.4
ossy@webkit.org [Wed, 8 Sep 2010 15:11:42 +0000 (15:11 +0000)]
Fix ignoring return value warning in case of gcc 4.4.4
https://bugs.webkit.org/show_bug.cgi?id=45384

Patch by Peter Varga <pvarga@inf.u-szeged.hu> on 2010-09-08
Reviewed by Kenneth Rohde Christiansen.

* DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
(testPostURLFile):
If fwrite have written zero byte then the testPostURLFile function
returns with false as tempFile can't be opened.
* DumpRenderTree/qt/ImageDiff.cpp:
(main):
Put fwrite function into an if condition without body to avoid
warning. It is safe because this function writes to the stdout.

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

9 years ago2010-09-07 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 8 Sep 2010 14:47:49 +0000 (14:47 +0000)]
2010-09-07  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Dirk Schulze.

        [Cairo] Actually use the antialias parameter of GraphicsContext::clipConvexPolygon
        https://bugs.webkit.org/show_bug.cgi?id=45355

        Rebaseline all differing border tests and unskip any border tests without results.

        * platform/gtk/Skipped: Unskip all border tests.
        * platform/gtk/fast/borders/block-mask-overlay-image-expected.checksum: Added.
        * platform/gtk/fast/borders/block-mask-overlay-image-expected.png: Added.
        * platform/gtk/fast/borders/block-mask-overlay-image-expected.txt: Added.
        * platform/gtk/fast/borders/border-color-inherit-expected.checksum: Added.
        * platform/gtk/fast/borders/border-color-inherit-expected.png: Added.
        * platform/gtk/fast/borders/border-color-inherit-expected.txt: Added.
        * platform/gtk/fast/borders/border-fit-expected.checksum: Added.
        * platform/gtk/fast/borders/border-fit-expected.png: Added.
        * platform/gtk/fast/borders/border-fit-expected.txt: Added.
        * platform/gtk/fast/borders/border-image-01-expected.checksum: Added.
        * platform/gtk/fast/borders/border-image-01-expected.png: Added.
        * platform/gtk/fast/borders/border-image-01-expected.txt: Added.
        * platform/gtk/fast/borders/border-image-border-radius-expected.checksum: Added.
        * platform/gtk/fast/borders/border-image-border-radius-expected.png: Added.
        * platform/gtk/fast/borders/border-image-border-radius-expected.txt: Added.
        * platform/gtk/fast/borders/border-image-omit-right-slice-expected.checksum: Added.
        * platform/gtk/fast/borders/border-image-omit-right-slice-expected.png: Added.
        * platform/gtk/fast/borders/border-image-omit-right-slice-expected.txt: Copied from LayoutTests/platform/mac/fast/borders/border-image-omit-right-slice-expected.txt.
        * platform/gtk/fast/borders/border-image-rotate-transform-expected.checksum: Added.
        * platform/gtk/fast/borders/border-image-rotate-transform-expected.png: Added.
        * platform/gtk/fast/borders/border-image-rotate-transform-expected.txt: Added.
        * platform/gtk/fast/borders/border-image-scale-transform-expected.checksum: Added.
        * platform/gtk/fast/borders/border-image-scale-transform-expected.png: Added.
        * platform/gtk/fast/borders/border-image-scale-transform-expected.txt: Added.
        * platform/gtk/fast/borders/border-radius-circle-expected.checksum:
        * platform/gtk/fast/borders/border-radius-circle-expected.png:
        * platform/gtk/fast/borders/border-radius-constraints-expected.checksum: Added.
        * platform/gtk/fast/borders/border-radius-constraints-expected.png: Added.
        * platform/gtk/fast/borders/border-radius-constraints-expected.txt: Added.
        * platform/gtk/fast/borders/border-radius-groove-01-expected.checksum:
        * platform/gtk/fast/borders/border-radius-groove-01-expected.png:
        * platform/gtk/fast/borders/border-radius-groove-02-expected.checksum:
        * platform/gtk/fast/borders/border-radius-groove-02-expected.png:
        * platform/gtk/fast/borders/border-radius-groove-03-expected.checksum:
        * platform/gtk/fast/borders/border-radius-groove-03-expected.png:
        * platform/gtk/fast/borders/border-radius-huge-assert-expected.checksum: Added.
        * platform/gtk/fast/borders/border-radius-huge-assert-expected.png: Added.
        * platform/gtk/fast/borders/border-radius-huge-assert-expected.txt: Added.
        * platform/gtk/fast/borders/border-radius-split-inline-expected.checksum: Added.
        * platform/gtk/fast/borders/border-radius-split-inline-expected.png: Added.
        * platform/gtk/fast/borders/border-radius-split-inline-expected.txt: Added.
        * platform/gtk/fast/borders/border-radius-wide-border-01-expected.checksum:
        * platform/gtk/fast/borders/border-radius-wide-border-01-expected.png:
        * platform/gtk/fast/borders/border-radius-wide-border-02-expected.checksum:
        * platform/gtk/fast/borders/border-radius-wide-border-02-expected.png:
        * platform/gtk/fast/borders/border-radius-wide-border-03-expected.checksum:
        * platform/gtk/fast/borders/border-radius-wide-border-03-expected.png:
        * platform/gtk/fast/borders/border-radius-wide-border-04-expected.checksum:
        * platform/gtk/fast/borders/border-radius-wide-border-04-expected.png:
        * platform/gtk/fast/borders/borderRadiusAllStylesAllCorners-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusAllStylesAllCorners-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusAllStylesAllCorners-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusArcs01-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusArcs01-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusArcs01-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusDashed01-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusDashed01-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusDashed01-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusDashed02-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusDashed02-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusDashed02-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusDashed03-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusDashed03-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusDashed03-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusDashed04-expected.checksum:
        * platform/gtk/fast/borders/borderRadiusDashed04-expected.png:
        * platform/gtk/fast/borders/borderRadiusDashed05-expected.checksum:
        * platform/gtk/fast/borders/borderRadiusDashed05-expected.png:
        * platform/gtk/fast/borders/borderRadiusDashed06-expected.checksum:
        * platform/gtk/fast/borders/borderRadiusDashed06-expected.png:
        * platform/gtk/fast/borders/borderRadiusDotted01-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusDotted01-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusDotted01-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusDotted02-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusDotted02-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusDotted02-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusDotted03-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusDotted03-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusDotted03-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusDotted04-expected.checksum:
        * platform/gtk/fast/borders/borderRadiusDotted04-expected.png:
        * platform/gtk/fast/borders/borderRadiusDotted05-expected.checksum:
        * platform/gtk/fast/borders/borderRadiusDotted05-expected.png:
        * platform/gtk/fast/borders/borderRadiusDotted06-expected.checksum:
        * platform/gtk/fast/borders/borderRadiusDotted06-expected.png:
        * platform/gtk/fast/borders/borderRadiusDouble01-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusDouble01-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusDouble01-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusDouble02-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusDouble02-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusDouble02-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusDouble03-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusDouble03-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusDouble03-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusDouble04-expected.checksum:
        * platform/gtk/fast/borders/borderRadiusDouble04-expected.png:
        * platform/gtk/fast/borders/borderRadiusDouble05-expected.checksum:
        * platform/gtk/fast/borders/borderRadiusDouble05-expected.png:
        * platform/gtk/fast/borders/borderRadiusDouble06-expected.checksum:
        * platform/gtk/fast/borders/borderRadiusDouble06-expected.png:
        * platform/gtk/fast/borders/borderRadiusDouble07-expected.checksum:
        * platform/gtk/fast/borders/borderRadiusDouble07-expected.png:
        * platform/gtk/fast/borders/borderRadiusDouble08-expected.checksum:
        * platform/gtk/fast/borders/borderRadiusDouble08-expected.png:
        * platform/gtk/fast/borders/borderRadiusDouble09-expected.checksum:
        * platform/gtk/fast/borders/borderRadiusDouble09-expected.png:
        * platform/gtk/fast/borders/borderRadiusGroove01-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusGroove01-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusGroove01-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusGroove02-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusGroove02-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusGroove02-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusInset01-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusInset01-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusInset01-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusInvalidColor-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusInvalidColor-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusInvalidColor-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusOutset01-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusOutset01-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusOutset01-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusRidge01-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusRidge01-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusRidge01-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusSolid01-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusSolid01-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusSolid01-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusSolid02-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusSolid02-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusSolid02-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusSolid03-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusSolid03-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusSolid03-expected.txt: Added.
        * platform/gtk/fast/borders/borderRadiusSolid04-expected.checksum: Added.
        * platform/gtk/fast/borders/borderRadiusSolid04-expected.png: Added.
        * platform/gtk/fast/borders/borderRadiusSolid04-expected.txt: Added.
        * platform/gtk/fast/borders/different-color-borders-expected.checksum:
        * platform/gtk/fast/borders/different-color-borders-expected.png:
        * platform/gtk/fast/borders/fieldsetBorderRadius-expected.checksum: Added.
        * platform/gtk/fast/borders/fieldsetBorderRadius-expected.png: Added.
        * platform/gtk/fast/borders/fieldsetBorderRadius-expected.txt: Copied from LayoutTests/platform/mac/fast/borders/fieldsetBorderRadius-expected.txt.
        * platform/gtk/fast/borders/inline-mask-overlay-image-expected.checksum: Added.
        * platform/gtk/fast/borders/inline-mask-overlay-image-expected.png: Added.
        * platform/gtk/fast/borders/inline-mask-overlay-image-expected.txt: Added.
        * platform/gtk/fast/borders/outline-offset-min-assert-expected.checksum: Added.
        * platform/gtk/fast/borders/outline-offset-min-assert-expected.png: Added.
        * platform/gtk/fast/borders/outline-offset-min-assert-expected.txt: Copied from LayoutTests/platform/mac/fast/borders/outline-offset-min-assert-expected.txt.
        * platform/gtk/fast/borders/svg-as-border-image-2-expected.checksum: Added.
        * platform/gtk/fast/borders/svg-as-border-image-2-expected.png: Added.
        * platform/gtk/fast/borders/svg-as-border-image-2-expected.txt: Added.
        * platform/gtk/fast/borders/svg-as-border-image-expected.checksum: Added.
        * platform/gtk/fast/borders/svg-as-border-image-expected.png: Added.
        * platform/gtk/fast/borders/svg-as-border-image-expected.txt: Added.
2010-09-07  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Dirk Schulze.

        [Cairo] Actually use the antialias parameter of GraphicsContext::clipConvexPolygon
        https://bugs.webkit.org/show_bug.cgi?id=45355

        r63864 added an additional boolean parameter to GraphicsContext::clipConvexPolygon,
        which determines whether or not to render the render the clip with anti-aliasing
        or not. The Cairo implementation now uses that parameter to determine the argument
        to pass to cairo_set_antialias(...) when clipping.

        Test: This is tested by many tests in fast/borders.

        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::GraphicsContext::clipConvexPolygon): Actually use the boolean antialias parameter.

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

9 years ago2010-09-08 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 8 Sep 2010 14:39:43 +0000 (14:39 +0000)]
2010-09-08  Martin Robinson  <mrobinson@igalia.com>

        Rebaseline mathml/presentation/attributes.xhtml.

        * platform/gtk/mathml/presentation/attributes-expected.txt:

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

9 years agoWould like WKBundleFrameRef to turn into WKFrameRef across postMessage boundary,...
weinig@apple.com [Wed, 8 Sep 2010 14:37:42 +0000 (14:37 +0000)]
Would like WKBundleFrameRef to turn into WKFrameRef across postMessage boundary, a la PageRef
<rdar://problem/8402804>
https://bugs.webkit.org/show_bug.cgi?id=45370

Reviewed by Jon Honeycutt.

* UIProcess/WebContextUserMessageCoders.h:
(WebKit::WebContextUserMessageEncoder::encode):
(WebKit::WebContextUserMessageDecoder::decode):
* WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h:
(WebKit::InjectedBundleUserMessageEncoder::encode):
(WebKit::InjectedBundleUserMessageDecoder::decode):

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

9 years ago2010-09-08 Gyuyoung Kim <gyuyoung.kim@samsung.com>
commit-queue@webkit.org [Wed, 8 Sep 2010 14:28:22 +0000 (14:28 +0000)]
2010-09-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Support to enable HTML5's Video based on gstreamer in WebKit-EFL
        https://bugs.webkit.org/show_bug.cgi?id=44098

        To support video of HTML5 based on gstreamer, add cmake files for gstreamer.

        * cmake/FindGStreamer-App.cmake: Added.
        * cmake/FindGStreamer-Base.cmake: Added.
        * cmake/FindGStreamer-Interfaces.cmake: Added.
        * cmake/FindGStreamer-Pbutils.cmake: Added.
        * cmake/FindGStreamer-Plugins-Base.cmake: Added.
        * cmake/FindGStreamer-Video.cmake: Added.
        * cmake/FindGStreamer.cmake: Added.
        * cmake/OptionsEfl.cmake:
2010-09-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Support to enable HTML5's Video based on gstreamer in WebKit-EFL
        https://bugs.webkit.org/show_bug.cgi?id=44098

        To support video of HTML5 based on gstreamer, add files regarding gstreamer to
        CMakeListsEfl.txt.

        * CMakeListsEfl.txt:

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

9 years ago2010-09-08 Jan E Hanssen <jhanssen@sencha.com>
commit-queue@webkit.org [Wed, 8 Sep 2010 14:07:01 +0000 (14:07 +0000)]
2010-09-08  Jan E Hanssen  <jhanssen@sencha.com>

        Reviewed by Dirk Schulze.

        Add a test for getting a point beyond the length of the path
        https://bugs.webkit.org/show_bug.cgi?id=43837

        * svg/dom/path-pointAtLength-expected.txt:
        * svg/dom/script-tests/path-pointAtLength.js:
2010-09-08  Jan E Hanssen  <jhanssen@sencha.com>

        Reviewed by Dirk Schulze.

        [Qt] PathQt should use the QPainterPath functionality for calculations
        https://bugs.webkit.org/show_bug.cgi?id=43837

        Change PathQt to use the built-in functionality of QPainterPath for
        calculating length(), pointAtLength() and normalAngleAtLength().

        * platform/graphics/Path.cpp:
        * platform/graphics/qt/PathQt.cpp:
        (WebCore::Path::length):
        (WebCore::Path::pointAtLength):
        (WebCore::Path::normalAngleAtLength):

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

9 years ago2010-09-08 Gyuyoung Kim <gyuyoung.kim@samsung.com>
commit-queue@webkit.org [Wed, 8 Sep 2010 13:46:16 +0000 (13:46 +0000)]
2010-09-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Dirk Schulze.

        [WML] Remove create() function in WMLTaskElement because of build break.
        https://bugs.webkit.org/show_bug.cgi?id=44954

        Remove create() function in WMLTaskElement.cpp because of build breaks.

        * wml/WMLTaskElement.cpp:
        * wml/WMLTaskElement.h:

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

9 years ago2010-09-08 Gyuyoung Kim <gyuyoung.kim@samsung.com>
commit-queue@webkit.org [Wed, 8 Sep 2010 13:27:44 +0000 (13:27 +0000)]
2010-09-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Dirk Schulze.

        [WML] Add create functions to WML.
        https://bugs.webkit.org/show_bug.cgi?id=44950

        There are missing definitions of create function in WML area.
        So, there are build breaks when enabling WML. The create functions and the construction
        are added. In addition, a style error and duplicated adoptRef usage are fixed.

        * wml/WMLDocument.h:
        (WebCore::WMLDocument::create):
        * wml/WMLFormControlElement.h:
        * wml/WMLIntrinsicEvent.cpp:
        (WebCore::WMLIntrinsicEvent::WMLIntrinsicEvent):
        * wml/WMLIntrinsicEvent.h:

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

9 years ago2010-09-08 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Wed, 8 Sep 2010 13:16:48 +0000 (13:16 +0000)]
2010-09-08  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        Plug leak in WebDeviceOrientationClientMock
        https://bugs.webkit.org/show_bug.cgi?id=45305

        WebDeviceOrientationClientMock is responsible for destroying the
        WebDeviceOrientationController object pointed to by the argument
        passed to the setController() member function.

        Also use the new WebPrivateOnwPtr for m_clientMock.

        * public/WebDeviceOrientationClientMock.h:
        * src/WebDeviceOrientationClientMock.cpp:
        (WebKit::WebDeviceOrientationClientMock::setController):
        (WebKit::WebDeviceOrientationClientMock::initialize):
        (WebKit::WebDeviceOrientationClientMock::reset):

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

9 years ago2010-09-08 Nico Weber <thakis@chromium.org>
thakis@chromium.org [Wed, 8 Sep 2010 13:02:16 +0000 (13:02 +0000)]
2010-09-08  Nico Weber  <thakis@chromium.org>

        Reviewed by Kenneth Russell.

        chromium/mac: Fix crash with compositor due to missing current NSGraphicsContext
        https://bugs.webkit.org/show_bug.cgi?id=45354

        * platform/graphics/chromium/ContentLayerChromium.cpp:
        (WebCore::ContentLayerChromium::updateContents): Set a current local context.

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

9 years ago2010-09-08 Yael Aharon <yael.aharon@nokia.com>
yael.aharon@nokia.com [Wed, 8 Sep 2010 12:38:02 +0000 (12:38 +0000)]
2010-09-08  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Antonio Gomes.

        Missing EOL in expected test results
        https://bugs.webkit.org/show_bug.cgi?id=45352

        Add the missing EOL.

        * fast/notifications/notifications-click-event-expected.txt:

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

9 years ago2010-09-08 Justin Schuh <jschuh@chromium.org>
jschuh@chromium.org [Wed, 8 Sep 2010 12:08:46 +0000 (12:08 +0000)]
2010-09-08  Justin Schuh  <jschuh@chromium.org>

        Reviewed by Nikolas Zimmermann.

        NULL deref when use target is reset, then set to display:none
        https://bugs.webkit.org/show_bug.cgi?id=45345

        * svg/custom/use-display-none-expected.txt: Added.
        * svg/custom/use-display-none.svg: Added.
2010-09-08  Justin Schuh  <jschuh@chromium.org>

        Reviewed by Nikolas Zimmermann.

        NULL deref when use target is reset, then set to display:none
        https://bugs.webkit.org/show_bug.cgi?id=45345

        Move the NULL check on shadowRoot earlier in SVGUseElement::recalcStyle

        Test: svg/custom/use-display-none.svg

        * svg/SVGUseElement.cpp:
        (WebCore::SVGUseElement::recalcStyle):

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

9 years ago2010-09-08 Csaba Osztrogonác <ossy@webkit.org>
ossy@webkit.org [Wed, 8 Sep 2010 11:34:58 +0000 (11:34 +0000)]
2010-09-08  Csaba Osztrogonác  <ossy@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] Treat warnings as errors by default for gcc
        https://bugs.webkit.org/show_bug.cgi?id=43191

        * WebKit.pri: -Werror added to QMAKE_CXXFLAGS for x86 Linux platforms

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

9 years agoAdding myself to committers list.
satish@chromium.org [Wed, 8 Sep 2010 11:33:03 +0000 (11:33 +0000)]
Adding myself to committers list.

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

9 years ago2010-09-08 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Wed, 8 Sep 2010 11:25:01 +0000 (11:25 +0000)]
2010-09-08  Hans Wennborg  <hans@chromium.org>

        Unreviewed.

        Adding myself as a committer in committers.py.

        * Scripts/webkitpy/common/config/committers.py:

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

9 years ago[Qt] Refactor MiniBrowser
zoltan@webkit.org [Wed, 8 Sep 2010 11:18:46 +0000 (11:18 +0000)]
[Qt] Refactor MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=45173

Reviewed by Simon Hausmann.

Split BrowserWindow into two source files and headers. Remove unnecessary header includes.

* MiniBrowser/qt/BrowserView.cpp: Added.
(createNewPage):
(BrowserView::BrowserView):
(BrowserView::resizeEvent):
(BrowserView::load):
(BrowserView::view):
* MiniBrowser/qt/BrowserView.h: Added.
(BrowserView::~BrowserView):
* MiniBrowser/qt/BrowserWindow.cpp:
* MiniBrowser/qt/BrowserWindow.h:
* MiniBrowser/qt/MiniBrowser.pro:

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

9 years ago2010-08-30 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Wed, 8 Sep 2010 11:08:08 +0000 (11:08 +0000)]
2010-08-30  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Darin Adler.

        Handle MediaQueryExp memory management exclusively with smart pointers
        https://bugs.webkit.org/show_bug.cgi?id=44874

        Implemented a non-copying sort function to make it possible to sort a Vector
        of OwnPtrs (which cannot be copied). This is required for the above.

        * wtf/NonCopyingSort.h: Added.
        (WTF::nonCopyingSort): It's secretly heapsort.
        (WTF::heapSort): heapsort implementation.
        (WTF::siftDown): Helper function for heapsort.
        (WTF::heapify): ditto

        Adjust build systems.

        * GNUmakefile.am:
        * JavaScriptCore.gypi:
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
2010-08-30  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Darin Adler.

        Handle MediaQueryExp memory management exclusively with smart pointers
        https://bugs.webkit.org/show_bug.cgi?id=44874

        Gace MediaQueryExp a create function, made the constructor private, and followed
        the implications. The one tricky bit was using a non-copying sort to sort
        the Vector<OwnPtr<MediaQueryExp> > in the MediaQuery constructor.

        * ForwardingHeaders/wtf/NonCopyingSort.h: Added.
        * css/CSSGrammar.y:
        * css/CSSParser.cpp:
        (WebCore::CSSParser::~CSSParser):
        (WebCore::CSSParser::createFloatingMediaQueryExp):
        (WebCore::CSSParser::createFloatingMediaQueryExpList):
        (WebCore::CSSParser::sinkFloatingMediaQueryExpList):
        (WebCore::CSSParser::createFloatingMediaQuery):
        * css/CSSParser.h:
        * css/MediaList.cpp:
        * css/MediaQuery.cpp:
        (WebCore::expressionCompare):
        (WebCore::MediaQuery::MediaQuery):
        (WebCore::MediaQuery::~MediaQuery):
        * css/MediaQuery.h:
        (WebCore::MediaQuery::expressions):
        * css/MediaQueryEvaluator.cpp:
        (WebCore::MediaQueryEvaluator::eval):
        * css/MediaQueryExp.h:
        (WebCore::MediaQueryExp::create):

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

9 years ago2010-09-08 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 8 Sep 2010 11:01:26 +0000 (11:01 +0000)]
2010-09-08  Adam Barth  <abarth@webkit.org>

        Reviewed by Maciej Stachowiak.

        Remove unused member variable from DecodedDocumentParser
        https://bugs.webkit.org/show_bug.cgi?id=45379

        This member variable isn't used because of the recent split of
        TextDocumentParser and TextViewSourceParser.

        * dom/DecodedDataDocumentParser.cpp:
        (WebCore::DecodedDataDocumentParser::DecodedDataDocumentParser):
        * dom/DecodedDataDocumentParser.h:
        * dom/ScriptableDocumentParser.cpp:
        (WebCore::ScriptableDocumentParser::ScriptableDocumentParser):
        * dom/ScriptableDocumentParser.h:

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

9 years ago2010-09-08 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 8 Sep 2010 10:58:58 +0000 (10:58 +0000)]
2010-09-08  Adam Barth  <abarth@webkit.org>

        Attempted Window build fix.

        * WebDataSource.cpp:
        (WebDataSource::subresourceForURL):

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

9 years ago2010-09-08 Csaba Osztrogonác <ossy@webkit.org>
ossy@webkit.org [Wed, 8 Sep 2010 10:48:38 +0000 (10:48 +0000)]
2010-09-08  Csaba Osztrogonác  <ossy@webkit.org>

        Reviewed by Andreas Kling.

        Fix warning in rendering/RenderBlock.cpp.
        https://bugs.webkit.org/show_bug.cgi?id=45373

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::hitTestColumns): Suggested parentheses added around && within ||

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

9 years ago2010-09-08 Mario Sanchez Prada <msanchez@igalia.com>
commit-queue@webkit.org [Wed, 8 Sep 2010 10:29:00 +0000 (10:29 +0000)]
2010-09-08  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Martin Robinson.

        [Gtk] A list item's number/bullet should not be a child of that list item
        https://bugs.webkit.org/show_bug.cgi?id=45190

        Ignore list markers and prefix them to the text for the item

        * accessibility/gtk/AccessibilityObjectAtk.cpp:
        (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
        Make list markers ignore accessibility for the GTK port.
        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (webkit_accessible_text_get_text): Prefix the text of a marker
        along with the accessible text for its list item's AtkObject
2010-09-08  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Martin Robinson.

        [Gtk] A list item's number/bullet should not be a child of that list item
        https://bugs.webkit.org/show_bug.cgi?id=45190

        New unit test added.

        * tests/testatk.c:
        (testWebkitAtkListsOfItems): New test to check ordered/unordered
        list of items are properly exposed to AT technologies.
        (main):

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

9 years ago2010-09-08 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 8 Sep 2010 10:26:02 +0000 (10:26 +0000)]
2010-09-08  Adam Barth  <abarth@webkit.org>

        Rubber-stamped by Eric Seidel.

        Rename DocLoader to CachedResourceLoader because that's what it does.

        * WebDataSource.cpp:
2010-09-08  Adam Barth  <abarth@webkit.org>

        Rubber-stamped by Eric Seidel.

        Rename DocLoader to CachedResourceLoader because that's what it does.

        * WebView/WebFrame.mm:
2010-09-08  Adam Barth  <abarth@webkit.org>

        Rubber-stamped by Eric Seidel.

        Rename DocLoader to CachedResourceLoader because that's what it does.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * css/CSSCursorImageValue.cpp:
        (WebCore::CSSCursorImageValue::cachedImage):
        * css/CSSCursorImageValue.h:
        * css/CSSFontFaceSource.cpp:
        (WebCore::CSSFontFaceSource::getFontData):
        * css/CSSFontSelector.cpp:
        (WebCore::CSSFontSelector::cachedResourceLoader):
        (WebCore::CSSFontSelector::addFontFaceRule):
        * css/CSSFontSelector.h:
        * css/CSSImageValue.cpp:
        (WebCore::CSSImageValue::cachedImage):
        * css/CSSImageValue.h:
        * css/CSSImportRule.cpp:
        (WebCore::CSSImportRule::insertedIntoParent):
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::loadPendingImages):
        * css/CSSStyleSheet.h:
        * dom/Document.cpp:
        (WebCore::Document::Document):
        (WebCore::Document::~Document):
        (WebCore::Document::implicitClose):
        * dom/Document.h:
        (WebCore::Document::cachedResourceLoader):
        * dom/ProcessingInstruction.cpp:
        (WebCore::ProcessingInstruction::checkStyleSheet):
        * dom/ScriptElement.cpp:
        (WebCore::ScriptElementData::requestScript):
        * dom/XMLDocumentParser.cpp:
        * dom/XMLDocumentParser.h:
        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::matchFunc):
        (WebCore::shouldAllowExternalLoad):
        (WebCore::openFunc):
        (WebCore::XMLDocumentParser::doWrite):
        (WebCore::XMLDocumentParser::endElementNs):
        (WebCore::XMLDocumentParser::initializeParserContext):
        (WebCore::XMLDocumentParser::doEnd):
        (WebCore::xmlDocPtrForString):
        * dom/XMLDocumentParserQt.cpp:
        (WebCore::XMLDocumentParser::parseEndElement):
        * dom/XMLDocumentParserScope.cpp:
        (WebCore::XMLDocumentParserScope::XMLDocumentParserScope):
        (WebCore::XMLDocumentParserScope::~XMLDocumentParserScope):
        * dom/XMLDocumentParserScope.h:
        * editing/Editor.cpp:
        (WebCore::Editor::paste):
        * editing/mac/EditorMac.mm:
        (WebCore::Editor::paste):
        * html/HTMLLinkElement.cpp:
        (WebCore::HTMLLinkElement::process):
        * html/parser/CSSPreloadScanner.cpp:
        (WebCore::CSSPreloadScanner::emitRule):
        * html/parser/HTMLPreloadScanner.cpp:
        (WebCore::HTMLNames::PreloadTask::preload):
        * html/parser/HTMLScriptRunner.cpp:
        (WebCore::HTMLScriptRunner::requestPendingScript):
        * inspector/InspectorResource.cpp:
        (WebCore::InspectorResource::cachedResource):
        * loader/Cache.cpp:
        (WebCore::Cache::requestResource):
        (WebCore::Cache::requestUserCSSStyleSheet):
        (WebCore::Cache::revalidateResource):
        (WebCore::Cache::addCachedResourceLoader):
        (WebCore::Cache::removeCachedResourceLoader):
        * loader/Cache.h:
        * loader/CachedCSSStyleSheet.h:
        * loader/CachedFont.cpp:
        (WebCore::CachedFont::load):
        (WebCore::CachedFont::beginLoadIfNeeded):
        * loader/CachedFont.h:
        * loader/CachedImage.cpp:
        (WebCore::CachedImage::load):
        (WebCore::CachedImage::maximumDecodedImageSize):
        * loader/CachedImage.h:
        * loader/CachedResource.cpp:
        (WebCore::CachedResource::CachedResource):
        (WebCore::CachedResource::~CachedResource):
        (WebCore::CachedResource::load):
        * loader/CachedResource.h:
        (WebCore::CachedResource::load):
        (WebCore::CachedResource::setCachedResourceLoader):
        * loader/CachedResourceLoader.cpp: Copied from WebCore/loader/DocLoader.cpp.
        (WebCore::CachedResourceLoader::CachedResourceLoader):
        (WebCore::CachedResourceLoader::~CachedResourceLoader):
        (WebCore::CachedResourceLoader::frame):
        (WebCore::CachedResourceLoader::checkForReload):
        (WebCore::CachedResourceLoader::requestImage):
        (WebCore::CachedResourceLoader::requestFont):
        (WebCore::CachedResourceLoader::requestCSSStyleSheet):
        (WebCore::CachedResourceLoader::requestUserCSSStyleSheet):
        (WebCore::CachedResourceLoader::requestScript):
        (WebCore::CachedResourceLoader::requestXSLStyleSheet):
        (WebCore::CachedResourceLoader::requestLinkPrefetch):
        (WebCore::CachedResourceLoader::canRequest):
        (WebCore::CachedResourceLoader::requestResource):
        (WebCore::CachedResourceLoader::printAccessDeniedMessage):
        (WebCore::CachedResourceLoader::setAutoLoadImages):
        (WebCore::CachedResourceLoader::cachePolicy):
        (WebCore::CachedResourceLoader::removeCachedResource):
        (WebCore::CachedResourceLoader::setLoadInProgress):
        (WebCore::CachedResourceLoader::checkCacheObjectStatus):
        (WebCore::CachedResourceLoader::incrementRequestCount):
        (WebCore::CachedResourceLoader::decrementRequestCount):
        (WebCore::CachedResourceLoader::requestCount):
        (WebCore::CachedResourceLoader::preload):
        (WebCore::CachedResourceLoader::checkForPendingPreloads):
        (WebCore::CachedResourceLoader::requestPreload):
        (WebCore::CachedResourceLoader::clearPreloads):
        (WebCore::CachedResourceLoader::clearPendingPreloads):
        (WebCore::CachedResourceLoader::printPreloadStats):
        * loader/CachedResourceLoader.h: Copied from WebCore/loader/DocLoader.h.
        * loader/CachedScript.h:
        * loader/CachedXSLStyleSheet.h:
        * loader/DocLoader.cpp: Removed.
        * loader/DocLoader.h: Removed.
        * loader/DocumentLoader.cpp:
        (WebCore::DocumentLoader::isLoadingInAPISense):
        (WebCore::DocumentLoader::subresource):
        (WebCore::DocumentLoader::getSubresources):
        * loader/FrameLoader.cpp:
        (WebCore::numRequests):
        (WebCore::FrameLoader::stopLoading):
        (WebCore::FrameLoader::didBeginDocument):
        * loader/HistoryController.cpp:
        (WebCore::HistoryController::createItem):
        * loader/ImageLoader.cpp:
        (WebCore::ImageLoader::updateFromElement):
        * loader/Request.cpp:
        (WebCore::Request::Request):
        * loader/Request.h:
        (WebCore::Request::cachedResourceLoader):
        * loader/loader.cpp:
        (WebCore::Loader::load):
        (WebCore::Loader::cancelRequests):
        (WebCore::Loader::Host::servePendingRequests):
        (WebCore::Loader::Host::didFinishLoading):
        (WebCore::Loader::Host::didFail):
        (WebCore::Loader::Host::didReceiveResponse):
        (WebCore::Loader::Host::cancelPendingRequests):
        (WebCore::Loader::Host::cancelRequests):
        * loader/loader.h:
        * page/DragController.cpp:
        (WebCore::DragController::concludeEditDrag):
        * page/Frame.cpp:
        * page/FrameView.cpp:
        (WebCore::FrameView::checkStopDelayingDeferredRepaints):
        (WebCore::FrameView::updateDeferredRepaintDelay):
        * page/Settings.cpp:
        (WebCore::setLoadsImagesAutomaticallyInAllFrames):
        * platform/android/TemporaryLinkStubs.cpp:
        (WebCore::CheckCacheObjectStatus):
        * platform/network/android/ResourceHandleAndroid.cpp:
        (WebCore::ResourceHandle::start):
        * platform/network/cf/ResourceHandleCFNet.cpp:
        * platform/network/curl/ResourceHandleCurl.cpp:
        * platform/network/mac/ResourceHandleMac.mm:
        * platform/network/qt/ResourceHandleQt.cpp:
        * platform/network/soup/ResourceHandleSoup.cpp:
        * platform/network/win/ResourceHandleWin.cpp:
        * svg/SVGFEImageElement.cpp:
        (WebCore::SVGFEImageElement::requestImageResource):
        * svg/SVGFontFaceUriElement.cpp:
        (WebCore::SVGFontFaceUriElement::loadFont):
        * workers/Worker.cpp:
        * xml/XSLImportRule.cpp:
        (WebCore::XSLImportRule::loadSheet):
        * xml/XSLStyleSheet.h:
        * xml/XSLStyleSheetLibxslt.cpp:
        (WebCore::XSLStyleSheet::cachedResourceLoader):
        (WebCore::XSLStyleSheet::parseString):
        * xml/XSLStyleSheetQt.cpp:
        (WebCore::XSLStyleSheet::cachedResourceLoader):
        * xml/XSLTProcessor.cpp:
        * xml/XSLTProcessorLibxslt.cpp:
        (WebCore::docLoaderFunc):
        (WebCore::setXSLTLoadCallBack):
        (WebCore::xmlDocPtrFromNode):
        (WebCore::XSLTProcessor::transformToString):
2010-09-08  Adam Barth  <abarth@webkit.org>

        Rubber-stamped by Eric Seidel.

        Rename DocLoader to CachedResourceLoader because that's what it does.

        * Scripts/do-webcore-rename:

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

9 years agoRefactoring multiline comments in the lexer
zherczeg@webkit.org [Wed, 8 Sep 2010 09:59:24 +0000 (09:59 +0000)]
Refactoring multiline comments in the lexer
https://bugs.webkit.org/show_bug.cgi?id=45289

Reviewed by Darin Adler.

MultiLine comment parsing is moved to a separate function.

Slight performance increase on --parse-only tests (from 33.6ms to 32.8ms)
SunSpider reports no change (from 523.1ms to 521.2ms).

* parser/Lexer.cpp:
(JSC::Lexer::parseMultilineComment):
(JSC::Lexer::lex):
* parser/Lexer.h:

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

9 years agoAdd mediaPlayerPlaybackStateChanged to MediaPlayerClient
vestbo@webkit.org [Wed, 8 Sep 2010 09:18:27 +0000 (09:18 +0000)]
Add mediaPlayerPlaybackStateChanged to MediaPlayerClient

Reviewed by Eric Carlson.

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

The platform backend may change state, for example as a result
of an external plugin controlling the backend, so we need to
react to this situation by syncing up the WebCore state with the
platform backend.

We call playInternal()/pauseInternal() depending on the backend
state, to trigger the corresponding DOM events to match the state.

updatePlayState() is then refactored to take into account the
situation where the backend is already in the correct state but
WebCore is not, so that we update the playback progress timer
and set m_playing correctly.

updatePlayState() changes Should be covered by existing tests.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::mediaPlayerPlaybackStateChanged):
(WebCore::HTMLMediaElement::updatePlayState):
* html/HTMLMediaElement.h:
* platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::playbackStateChanged):
* platform/graphics/MediaPlayer.h:
(WebCore::MediaPlayerClient::mediaPlayerPlaybackStateChanged):

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

9 years ago2010-09-08 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 8 Sep 2010 09:06:58 +0000 (09:06 +0000)]
2010-09-08  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        TextDocument doesn't belong in WebCore/loader
        https://bugs.webkit.org/show_bug.cgi?id=45346

        TextDocument has nothing to do with loading.  It turns out that it
        should be in WebCore/html because TextDocument is actually a subclass
        of HTMLDocument (in quirks mode, no less).

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * html/TextDocument.cpp: Renamed from WebCore/loader/TextDocument.cpp.
        (WebCore::TextDocument::TextDocument):
        (WebCore::TextDocument::createParser):
        * html/TextDocument.h: Renamed from WebCore/loader/TextDocument.h.
        (WebCore::TextDocument::create):

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

9 years ago2010-09-08 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 8 Sep 2010 09:04:17 +0000 (09:04 +0000)]
2010-09-08  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Create TextViewSourceParser
        https://bugs.webkit.org/show_bug.cgi?id=45343

        Rather than have the view source document set a flag on
        HTMLViewSourceParser to indicate whether we're parsing a text document,
        this patch creates a TextViewSourceParser for parsing text documents in
        view-source mode.  Like the TextDocumentParser, the
        TextViewSourceParser implements this functionality by subclassing its
        HTML counterpart.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * html/HTMLViewSourceDocument.cpp:
        (WebCore::HTMLViewSourceDocument::createParser):
        * html/parser/HTMLViewSourceParser.cpp:
        * html/parser/HTMLViewSourceParser.h:
        (WebCore::HTMLViewSourceParser::tokenizer):
        * html/parser/TextViewSourceParser.cpp: Added.
        (WebCore::TextViewSourceParser::TextViewSourceParser):
        (WebCore::TextViewSourceParser::~TextViewSourceParser):
        * html/parser/TextViewSourceParser.h: Added.
        (WebCore::TextViewSourceParser::create):

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

9 years ago2010-09-08 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 8 Sep 2010 08:59:44 +0000 (08:59 +0000)]
2010-09-08  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        Move HTMLInputStream to WebCore/html/parser
        https://bugs.webkit.org/show_bug.cgi?id=45339

        I forgot to move this file before.

        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * html/parser/HTMLInputStream.h: Renamed from WebCore/html/HTMLInputStream.h.
        (WebCore::HTMLInputStream::HTMLInputStream):
        (WebCore::HTMLInputStream::appendToEnd):
        (WebCore::HTMLInputStream::insertAtCurrentInsertionPoint):
        (WebCore::HTMLInputStream::hasInsertionPoint):
        (WebCore::HTMLInputStream::markEndOfFile):
        (WebCore::HTMLInputStream::haveSeenEndOfFile):
        (WebCore::HTMLInputStream::current):
        (WebCore::HTMLInputStream::splitInto):
        (WebCore::HTMLInputStream::mergeFrom):
        (WebCore::InsertionPointRecord::InsertionPointRecord):
        (WebCore::InsertionPointRecord::~InsertionPointRecord):

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

9 years ago2010-09-08 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 8 Sep 2010 08:52:17 +0000 (08:52 +0000)]
2010-09-08  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        TextDocument should come in from the cold
        https://bugs.webkit.org/show_bug.cgi?id=45334

        Previously, TextDocument reinvented the wheel to parse text.  This
        patch replaces TextDocument's hand-rolled parser with a parser built on
        the HTML parser infrustructure, which gives us that stuff for free.  I
        also disentangled TextDocument from HTMLViewSourceDocument.

        In a future patch, I'll move TextDocument out of the "loader" directory.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * html/HTMLViewSourceDocument.cpp:
        (WebCore::HTMLViewSourceDocument::createParser):
        * html/HTMLViewSourceDocument.h:
        * html/parser/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::constructTreeFromToken):
        (WebCore::HTMLTreeBuilder::constructTreeFromAtomicToken):
        * html/parser/HTMLTreeBuilder.h:
        * html/parser/HTMLViewSourceParser.cpp:
        (WebCore::HTMLViewSourceParser::forcePlaintext):
        * html/parser/HTMLViewSourceParser.h:
        * html/parser/TextDocumentParser.cpp: Added.
        (WebCore::TextDocumentParser::TextDocumentParser):
        (WebCore::TextDocumentParser::~TextDocumentParser):
        (WebCore::TextDocumentParser::insertFakePreElement):
        * html/parser/TextDocumentParser.h: Added.
        (WebCore::TextDocumentParser::create):
        * loader/TextDocument.cpp:
        * loader/TextDocument.h:

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

9 years agoImplement MediaPlayerPrivate::platformMedia() for the Qt port
vestbo@webkit.org [Wed, 8 Sep 2010 08:32:11 +0000 (08:32 +0000)]
Implement MediaPlayerPrivate::platformMedia() for the Qt port

Reviewed by Andreas Kling.

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

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

9 years agoAn individual renderer should be assigned to each SVGFE*Element class
zherczeg@webkit.org [Wed, 8 Sep 2010 07:23:17 +0000 (07:23 +0000)]
An individual renderer should be assigned to each SVGFE*Element class
https://bugs.webkit.org/show_bug.cgi?id=43954

Reviewed by Dirk Schulze.

WebCore:

RenderSVGResourceFilterPrimitive renderer is added to
the project, and assigned to each object, which class is
derived from SVGFilterPrimitiveStandardAttributes. The patch
mainly contains build system changes, and it fixes one layout
test in svg/dynamic-updates.

* Android.mk:
* CMakeLists.txt:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* rendering/RenderObject.h:
(WebCore::RenderObject::isSVGResourceFilterPrimitive):
* rendering/RenderSVGResourceFilterPrimitive.cpp: Added.
(WebCore::RenderSVGResourceFilterPrimitive::RenderSVGResourceFilterPrimitive):
* rendering/RenderSVGResourceFilterPrimitive.h: Added.
(WebCore::RenderSVGResourceFilterPrimitive::isSVGResourceFilterPrimitive):
* rendering/SVGRenderTreeAsText.cpp:
(WebCore::writeSVGContainer):
* svg/SVGFEDiffuseLightingElement.cpp:
(WebCore::SVGFEDiffuseLightingElement::svgAttributeChanged):
* svg/SVGFELightElement.cpp:
(WebCore::SVGFELightElement::svgAttributeChanged):
(WebCore::SVGFELightElement::childrenChanged):
* svg/SVGFEOffsetElement.cpp:
(WebCore::SVGFEOffsetElement::svgAttributeChanged):
* svg/SVGFilterElement.h:
* svg/SVGFilterPrimitiveStandardAttributes.cpp:
(WebCore::SVGFilterPrimitiveStandardAttributes::svgAttributeChanged):
(WebCore::SVGFilterPrimitiveStandardAttributes::childrenChanged):
(WebCore::SVGFilterPrimitiveStandardAttributes::createRenderer):
* svg/SVGFilterPrimitiveStandardAttributes.h:
(WebCore::SVGFilterPrimitiveStandardAttributes::invalidate):

LayoutTests:

The layout test below is fixed by this patch.

* platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-lighting-color-css-prop-expected.checksum:
* platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-lighting-color-css-prop-expected.png:

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