WebKit-https.git
9 years ago Reviewed by Darin Adler.
ap@apple.com [Mon, 12 Jul 2010 16:57:21 +0000 (16:57 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=13075
        XMLHttpRequest with failed authentication should set status to 401

        https://bugs.webkit.org/show_bug.cgi?id=6871
        <rdar://problem/3363403> 401 error page is never shown

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

9 years agoAdd a PluginController class, use it for invalidation and getting the user agent
andersca@apple.com [Mon, 12 Jul 2010 16:52:46 +0000 (16:52 +0000)]
Add a PluginController class, use it for invalidation and getting the user agent
https://bugs.webkit.org/show_bug.cgi?id=42084

Reviewed by Adam Roben.

WebCore:

* WebCore.exp.in:
Export Widget::convertToContainingWindow.

WebKit2:

* WebKit2.xcodeproj/project.pbxproj:
Add PluginController.h

* WebProcess/Plugins/DummyPlugin.cpp:
(WebKit::DummyPlugin::initialize):
* WebProcess/Plugins/DummyPlugin.h:
Pass the PluginController to initialize.

* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
Implement NPN_UserAgent, NPN_MemAlloc, NPN_MemFree, NPN_InvalidateRect and NPN_InvalidateRegion.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::NetscapePlugin):
Initialize m_pluginController to null.

(WebKit::NetscapePlugin::invalidate):
Ask the plug-in controller to invalidate.

(WebKit::NetscapePlugin::userAgent):´
Ask the plug-in controller for the user agent.

(WebKit::NetscapePlugin::initialize):
Set the m_pluginController member variable.

* WebProcess/Plugins/Plugin.h:
Make initialize take a PluginController.

* WebProcess/Plugins/PluginController.h: Added.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::initializePlugin):
Pass the PluginController to initialize.

(WebKit::PluginView::invalidateRect):
Tell the host window to invalidate the given rect.

(WebKit::PluginView::invalidate):
Call invalidateRect.

(WebKit::PluginView::userAgent):
Ask the frame loader client for the user agent.

* WebProcess/Plugins/PluginView.h:

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

9 years agoAdd WARN_UNUSED_RETURN to the smart pointer "leak" member functions
andersca@apple.com [Mon, 12 Jul 2010 16:41:13 +0000 (16:41 +0000)]
Add WARN_UNUSED_RETURN to the smart pointer "leak" member functions
https://bugs.webkit.org/show_bug.cgi?id=42086

Reviewed by Dan Bernstein.

* wtf/OwnPtr.h:
* wtf/PassOwnPtr.h:
* wtf/PassRefPtr.h:
(WTF::PassRefPtr::releaseRef):
(WTF::NonNullPassRefPtr::leakRef):
(WTF::NonNullPassRefPtr::releaseRef):
* wtf/RetainPtr.h:
(WTF::RetainPtr::releaseRef):

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

9 years ago2010-07-12 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 12 Jul 2010 16:07:17 +0000 (16:07 +0000)]
2010-07-12  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: chromium test expectations updated.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-07-12 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 12 Jul 2010 15:48:39 +0000 (15:48 +0000)]
2010-07-12  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: chromium test expectations updated.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-07-12 Andreas Kling <andreas.kling@nokia.com>
commit-queue@webkit.org [Mon, 12 Jul 2010 15:40:22 +0000 (15:40 +0000)]
2010-07-12  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Tor Arne Vestbø.

        [Qt] Add location bar (Ctrl+L) shortcut in QtTestBrowser
        https://bugs.webkit.org/show_bug.cgi?id=42082

        * QtTestBrowser/main.cpp:
        (LauncherWindow::createChrome):
        * QtTestBrowser/mainwindow.cpp:
        (MainWindow::openLocation):
        * QtTestBrowser/mainwindow.h:

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

9 years ago2010-07-12 Andreas Kling <andreas.kling@nokia.com>
commit-queue@webkit.org [Mon, 12 Jul 2010 15:18:01 +0000 (15:18 +0000)]
2010-07-12  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Dragging within webkit with a drag created via Javascript ends up misinterpreting the data
        https://bugs.webkit.org/show_bug.cgi?id=41457

        Rebaseline test now that Qt doesn't corrupt non-breaking spaces on clipboard roundtrip.

        * platform/qt/editing/pasteboard/onpaste-text-html-expected.txt:
2010-07-12  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Dragging within webkit with a drag created via Javascript ends up misinterpreting the data
        https://bugs.webkit.org/show_bug.cgi?id=41457

        Treat non-special-cased mime-types as Unicode strings in ClipboardQt's getData()
        Fixes corruption when retrieving data that was set with anything other than text/plain

        Also use QMimeData::setHtml() when applicable to be consistent with PasteboardQt.

        * platform/qt/ClipboardQt.cpp:
        (WebCore::isHtmlMimeType):
        (WebCore::ClipboardQt::getData):
        (WebCore::ClipboardQt::setData):

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

9 years ago2010-07-12 Steve Block <steveblock@google.com>
steveblock@google.com [Mon, 12 Jul 2010 15:06:28 +0000 (15:06 +0000)]
2010-07-12  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        add ANDROID to STORE_FONT_CUSTOM_PLATFORM_DATA
        https://bugs.webkit.org/show_bug.cgi?id=32273

        Tested by existing tests, just adding ANDROID to the list of platforms that use this feature.

        * loader/CachedFont.cpp:

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

9 years agoMake the Python autoinstaller not use a dead SourceForge server
aroben@apple.com [Mon, 12 Jul 2010 14:58:21 +0000 (14:58 +0000)]
Make the Python autoinstaller not use a dead SourceForge server

Fixes <http://webkit.org/b/42080> webkit-patch is broken due to
offline SourceForge server

Reviewed by Anders Carlsson.

* Scripts/webkitpy/thirdparty/__init__.py: Use
surfnet.dl.sourceforge.net instead of hivelocity.dl.sourceforge.net,
which seems to be down.

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

9 years ago2010-07-12 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 12 Jul 2010 14:54:25 +0000 (14:54 +0000)]
2010-07-12  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: rebaseline chromium layout tests.

        * platform/chromium-linux/fast/dom/HTMLLinkElement/prefetch-expected.txt: Added.
        * platform/chromium-linux/fast/gradients/radial-centered-expected.checksum:
        * platform/chromium-linux/fast/gradients/radial-centered-expected.png:
        * platform/chromium-linux/fast/gradients/radial-centered-expected.txt: Added.
        * platform/chromium-linux/fast/inline/continuation-outlines-with-layers-2-expected.checksum: Added.
        * platform/chromium-linux/fast/inline/continuation-outlines-with-layers-2-expected.png: Added.
        * platform/chromium-linux/fast/inline/continuation-outlines-with-layers-2-expected.txt: Added.
        * platform/chromium-mac/fast/dom/HTMLLinkElement/prefetch-expected.txt: Added.
        * platform/chromium-mac/fast/gradients/radial-centered-expected.checksum: Removed.
        * platform/chromium-mac/fast/gradients/radial-centered-expected.png: Removed.
        * platform/chromium-mac/fast/gradients/radial-centered-expected.txt: Removed.
        * platform/chromium-mac/fast/inline/continuation-outlines-with-layers-2-expected.checksum: Added.
        * platform/chromium-mac/fast/inline/continuation-outlines-with-layers-2-expected.png: Added.
        * platform/chromium-win-vista/fast/gradients/radial-centered-expected.checksum: Added.
        * platform/chromium-win-vista/fast/gradients/radial-centered-expected.png: Added.
        * platform/chromium-win-vista/fast/gradients/radial-centered-expected.txt: Added.

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

9 years agoMake run-webkit-tests print how many tests timed out when exiting early
aroben@apple.com [Mon, 12 Jul 2010 14:49:52 +0000 (14:49 +0000)]
Make run-webkit-tests print how many tests timed out when exiting early

The number of timed-out tests is taken into account when deciding
whether to exit early. Leaving it out of the output just makes the
script look buggy (because it might say something like "Exiting early
after 0 crashes.").

Fixes <http://webkit.org/b/42077> run-webkit-tests prints confusing
messages when exiting early due to crashes and time-outs

Reviewed by Anders Carlsson.

* Scripts/old-run-webkit-tests:
(stopRunningTestsEarlyIfNeeded): When stopping, print the number of
timed-out tests, too.

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

9 years ago2010-07-12 Lucas De Marchi <lucas.demarchi@profusion.mobi>
leandro@webkit.org [Mon, 12 Jul 2010 14:27:02 +0000 (14:27 +0000)]
2010-07-12  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Unreviewed.

        [EFL] Move ScriptConcotrollerEfl.cpp from CMakeLists.txt to
        CMakeListsEfl.txt.

        * CMakeLists.txt:
        * CMakeListsEfl.txt:

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

9 years ago2010-07-12 Lucas De Marchi <lucas.demarchi@profusion.mobi>
leandro@webkit.org [Mon, 12 Jul 2010 14:23:22 +0000 (14:23 +0000)]
2010-07-12  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Unreviewed build fix after r60050.

        * CMakeLists.txt: Add WebCore/bindings to the include path.
2010-07-12  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Unreviewed build fix after r60050.

        * CMakeLists.txt: Add WebCore/bindings to the include path.

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

9 years ago2010-07-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Mon, 12 Jul 2010 14:19:06 +0000 (14:19 +0000)]
2010-07-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

        Reviewed by Xan Lopez.

        [GTK] Crashes when going back with page cache in unknown circunstances
        https://bugs.webkit.org/show_bug.cgi?id=41710

        Could not yet find a way to reproduce this in a layout test. The
        issue is document being NULL, so this NULL-check should be enough
        to get rid of the crash. We are working on trying to find a better
        solution for these null cases, like attaching the document earlier
        when openning a cached page.

        * page/EventHandler.cpp:
        (WebCore::EventHandler::sendScrollEvent):

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

9 years agoWindows build fix
aroben@apple.com [Mon, 12 Jul 2010 14:13:15 +0000 (14:13 +0000)]
Windows build fix

* WebProcess/Plugins/Netscape/win/NetscapePluginModuleWin.cpp: Added.
(WebKit::NetscapePluginModule::tryLoad):
(WebKit::NetscapePluginModule::unload):
Stubbed these out.

* win/WebKit2.vcproj: Added a Netscape filter beneath
WebProcess/Plugins, and moved NetscapePlugin into it. Added
NetscapePluginModule to the new Netscape filter. Added
WebProcess/Plugins to the include path for all configurations (it was
only added to Release and Debug_Internal previously) and added
WebProcess/Plugins/Netscape to the include path for all
configurations.

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

9 years ago2010-07-12 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Mon, 12 Jul 2010 14:07:07 +0000 (14:07 +0000)]
2010-07-12  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        [Chromium] Crash when stepping on a breakpoint while debugging Web Inspector
        https://bugs.webkit.org/show_bug.cgi?id=41958

        WebCore:
        * page/PageGroupLoadDeferrer.cpp:
        (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer):
        * page/PageGroupLoadDeferrer.h:

        WebKit/chromium:
        * src/WebViewImpl.cpp:
        (WebKit::WebView::willEnterModalLoop):
        (WebKit::WebView::didExitModalLoop):

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

9 years ago2010-07-12 François Sausset <sausset@gmail.com>
commit-queue@webkit.org [Mon, 12 Jul 2010 13:20:50 +0000 (13:20 +0000)]
2010-07-12  François Sausset  <sausset@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        Test the mathsize MathML attribute.
        https://bugs.webkit.org/show_bug.cgi?id=42067

        * mathml/presentation/attributes.xhtml:
        * platform/mac/mathml/presentation/attributes-expected.checksum:
        * platform/mac/mathml/presentation/attributes-expected.png:
        * platform/mac/mathml/presentation/attributes-expected.txt:
2010-07-12  François Sausset  <sausset@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        Make the mathsize MathML attribute handle values in em, px, pt,...
        https://bugs.webkit.org/show_bug.cgi?id=42067

        Test: mathml/presentation/attributes.xhtml

        * css/mathml.css:
        (math[mathsize="small"], mstyle[mathsize="small"], mo[mathsize="small"], mn[mathsize="small"], mi[mathsize="small"], mtext[mathsize="small"], mspace[mathsize="small"], ms[mathsize="small"]):
        (math[mathsize="normal"], mstyle[mathsize="normal"], mo[mathsize="normal"], mn[mathsize="normal"], mi[mathsize="normal"], mtext[mathsize="normal"], mspace[mathsize="normal"], ms[mathsize="normal"]):
        (math[mathsize="big"], mstyle[mathsize="big"], mo[mathsize="big"], mn[mathsize="big"], mi[mathsize="big"], mtext[mathsize="big"], mspace[mathsize="big"], ms[mathsize="big"]):
        * mathml/MathMLElement.cpp:
        (WebCore::MathMLElement::parseMappedAttribute):

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

9 years agoWebCore:
xan@webkit.org [Mon, 12 Jul 2010 12:52:43 +0000 (12:52 +0000)]
WebCore:

2010-07-12  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Fix compilation with sealed GTK+.

        * platform/gtk/GtkVersioning.h:
        * platform/gtk/PasteboardHelper.cpp:
        (WebCore::PasteboardHelper::fillDataObjectFromDropData):

WebKit/gtk:

2010-07-12  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Fix compilation with sealed GTK+.

        * webkit/webkitwebview.cpp:
        (webkit_web_view_drag_motion):
        (webkit_web_view_drag_data_received):
        (webkit_web_view_drag_drop):

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

9 years ago2010-07-12 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Mon, 12 Jul 2010 12:51:12 +0000 (12:51 +0000)]
2010-07-12  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Add another include path to the scanner to avoid warnings related
        to undefined types. It wasn't picking up <webkit/foo.h>-like
        headers.

        * GNUmakefile.am:

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

9 years ago2010-07-12 Pavel Podivilov <podivilov@chromium.org>
pfeldman@chromium.org [Mon, 12 Jul 2010 12:45:16 +0000 (12:45 +0000)]
2010-07-12  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        [Chromium] Fix duplicate test expectations
        https://bugs.webkit.org/show_bug.cgi?id=42072

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-07-12 François Sausset <sausset@gmail.com>
commit-queue@webkit.org [Mon, 12 Jul 2010 12:43:37 +0000 (12:43 +0000)]
2010-07-12  François Sausset  <sausset@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        Update of the results to the test introduced here:
        https://bugs.webkit.org/show_bug.cgi?id=41626
        as they were outdated in the commit.

        * platform/mac/mathml/presentation/tokenElements-expected.checksum:
        * platform/mac/mathml/presentation/tokenElements-expected.png:
        * platform/mac/mathml/presentation/tokenElements-expected.txt:

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

9 years ago2010-07-12 François Sausset <sausset@gmail.com>
commit-queue@webkit.org [Mon, 12 Jul 2010 12:31:36 +0000 (12:31 +0000)]
2010-07-12  François Sausset  <sausset@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        Update tests to check that msqrt and mfrac use style color to draw themselves
        https://bugs.webkit.org/show_bug.cgi?id=41889

        * mathml/presentation/fractions.xhtml:
        * mathml/presentation/roots.xhtml:
        * platform/mac/mathml/presentation/fractions-expected.checksum:
        * platform/mac/mathml/presentation/fractions-expected.png:
        * platform/mac/mathml/presentation/fractions-expected.txt:
        * platform/mac/mathml/presentation/roots-expected.checksum:
        * platform/mac/mathml/presentation/roots-expected.png:
        * platform/mac/mathml/presentation/roots-expected.txt:
2010-07-12  François Sausset  <sausset@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        Fix a bug preventing msqrt and mfrac to use style color to draw themselves.
        In mfrac, the fraction bar is now using the color defined by the element style instead of black.
        In msqrt, the radical was always drawn in black due to a colorSpace problem.
        https://bugs.webkit.org/show_bug.cgi?id=41889

        Test: mathml/presentation/roots.xhtml
        Test: mathml/presentation/fractions.xhtml

        * mathml/RenderMathMLFraction.cpp:
        (WebCore::RenderMathMLFraction::paint):
        * mathml/RenderMathMLSquareRoot.cpp:
        (WebCore::RenderMathMLSquareRoot::paint):

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

9 years ago2010-07-12 Andreas Kling <andreas.kling@nokia.com>
commit-queue@webkit.org [Mon, 12 Jul 2010 12:17:40 +0000 (12:17 +0000)]
2010-07-12  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Antti Koivisto.

        Canvas: arc() with startAngle == endAngle shouldn't add to the path
        https://bugs.webkit.org/show_bug.cgi?id=41420

        Unskip (for Qt) test that now passes:
        - canvas/philip/tests/2d.path.stroke.prune.arc.html

        Spec link:
        http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-stroke

        * platform/qt/Skipped:
2010-07-12  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Antti Koivisto.

        Canvas: arc() with startAngle == endAngle shouldn't add to the path
        https://bugs.webkit.org/show_bug.cgi?id=41420

        Spec link:
        http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-stroke

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

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

9 years ago2010-07-12 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Mon, 12 Jul 2010 12:08:24 +0000 (12:08 +0000)]
2010-07-12  Jeremy Orlow  <jorlow@chromium.org>

        Somehow the updated expectations got dropped form the original patch.  Added.

        * storage/indexeddb/idb-objectstore-request-expected.txt:

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

9 years ago2010-07-12 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Mon, 12 Jul 2010 11:46:34 +0000 (11:46 +0000)]
2010-07-12  Shinichiro Hamaji  <hamaji@chromium.org>

        Reviewed by Ojan Vafai.

        Update padding on Windows?
        https://bugs.webkit.org/show_bug.cgi?id=38016

        * platform/chromium/test_expectations.txt:
        * platform/win/Skipped:
2010-07-12  Shinichiro Hamaji  <hamaji@chromium.org>

        Reviewed by Ojan Vafai.

        Update padding on Windows?
        https://bugs.webkit.org/show_bug.cgi?id=38016

        Remove internal padding and add 1px vertical padding for Windows.

        * css/themeWin.css:
        (input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button, button):
        * rendering/RenderButton.cpp:
        (WebCore::RenderButton::setupInnerStyle):
        * rendering/RenderTheme.h:
        * rendering/RenderThemeWin.cpp:
        * rendering/RenderThemeWin.h:
        * rendering/RenderThemeWince.cpp:
        * rendering/RenderThemeWince.h:

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

9 years ago2010-07-12 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Mon, 12 Jul 2010 11:18:42 +0000 (11:18 +0000)]
2010-07-12  Shinichiro Hamaji  <hamaji@chromium.org>

        Unreviewed. Put the expected result for Win.

        REGRESSION: printing is broken if stylesheet has @page
        https://bugs.webkit.org/show_bug.cgi?id=40452

        * platform/win/printing/page-rule-in-media-query-expected.txt: Added.

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

9 years ago2010-07-12 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Mon, 12 Jul 2010 11:15:58 +0000 (11:15 +0000)]
2010-07-12  Jeremy Orlow  <jorlow@chromium.org>

        Speculative fix for visual studio retardedness.

        * public/WebCommon.h:

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

9 years ago2010-07-12 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Mon, 12 Jul 2010 11:10:38 +0000 (11:10 +0000)]
2010-07-12  Shinichiro Hamaji  <hamaji@chromium.org>

        Unreviewed. Put wrong results for Mac and Win instead of Skipped list.

        Results for editing/pasteboard/5761530-1.html are wrong
        https://bugs.webkit.org/show_bug.cgi?id=38437

        * platform/mac/Skipped:
        * platform/mac/editing/pasteboard/5761530-1-expected.txt: Copied from LayoutTests/platform/chromium/editing/pasteboard/5761530-1-expected.txt.
        * platform/win/editing/pasteboard/5761530-1-expected.txt: Copied from LayoutTests/platform/chromium/editing/pasteboard/5761530-1-expected.txt.

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

9 years ago2010-07-12 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 12 Jul 2010 10:50:28 +0000 (10:50 +0000)]
2010-07-12  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Chromium tests fix.

        [Chromium, V8] r63057 regressed url tests.

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

        * bindings/scripts/CodeGeneratorV8.pm:

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

9 years ago2010-07-12 Steve Block <steveblock@google.com>
steveblock@google.com [Mon, 12 Jul 2010 10:42:38 +0000 (10:42 +0000)]
2010-07-12  Steve Block  <steveblock@google.com>

        Reviewed by Alexey Proskuryakov.

        XPath substring function does not correctly handle non-positive values for the position argument
        https://bugs.webkit.org/show_bug.cgi?id=41913

        This patch changes the behavior of the XPath evaluate function when a non-positive
        position argument is supplied and no length argument is supplied. In this case,
        we reset the position to 1. This follows the spec and matches the current behaviour
        when a length argument is supplied.

        Test: fast/xpath/substring-non-positive-postion.html

        * xml/XPathFunctions.cpp:
        (WebCore::XPath::FunSubstring::evaluate):
2010-07-12  Steve Block  <steveblock@google.com>

        Reviewed by Alexey Proskuryakov.

        XPath substring function does not correctly handle non-positive values for the position argument
        https://bugs.webkit.org/show_bug.cgi?id=41913

        * fast/xpath/substring-non-positive-postion-expected.txt: Added.
        * fast/xpath/substring-non-positive-postion.html: Added.

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

9 years ago2010-07-12 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Mon, 12 Jul 2010 10:39:21 +0000 (10:39 +0000)]
2010-07-12  Jeremy Orlow  <jorlow@chromium.org>

        Build fix.  Add an include.

        * public/WebCommon.h:

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

9 years ago2010-06-27 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Mon, 12 Jul 2010 10:00:45 +0000 (10:00 +0000)]
2010-06-27  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Dumitru Daniliuc.

        Implement IDBObjectStore.get/set/remove
        https://bugs.webkit.org/show_bug.cgi?id=41250

        Modify existing test to provide basic coverage for get/put/remove functions.

        * storage/indexeddb/script-tests/idb-objectstore-request.js:
        (test):
        (openSuccess):
        (createSuccess):
        (addSuccess):
        (getSuccess):
        (removeSuccess):
2010-06-27  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Dumitru Daniliuc.

        Implement IDBObjectStore.get/set/remove
        https://bugs.webkit.org/show_bug.cgi?id=41250

        Implement these functions in IDBObjectStore,
        add plumbing, teach IDBAny/Callbacks how to deal
        with IDBKey, and a few small bits of cleanup.

        Test: Modified existing test to provide basic coverage.
              Will add much more extensive layout test coverage
              in future patches.

        * Android.derived.jscbindings.mk:
        * Android.derived.v8bindings.mk:
        * Android.jscbindings.mk:
        * Android.mk:
        * Android.v8bindings.mk:
        * CMakeLists.txt:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSIDBAnyCustom.cpp:
        (WebCore::toJS):
        * bindings/v8/custom/V8IDBAnyCustom.cpp:
        (WebCore::toV8):
        * storage/IDBAny.cpp:
        (WebCore::IDBAny::idbKey):
        (WebCore::IDBAny::set):
        * storage/IDBAny.h:
        (WebCore::IDBAny::):
        * storage/IDBAny.idl:
        * storage/IDBCallbacks.h:
        * storage/IDBDatabaseRequest.h:
        * storage/IDBDatabaseRequest.idl:
        * storage/IDBKeyRange.h:
        * storage/IDBObjectStore.h:
        (WebCore::IDBObjectStore::):
        * storage/IDBObjectStoreImpl.cpp:
        (WebCore::IDBObjectStoreImpl::IDBObjectStoreImpl):
        (WebCore::IDBObjectStoreImpl::get):
        (WebCore::IDBObjectStoreImpl::set):
        (WebCore::IDBObjectStoreImpl::remove):
        * storage/IDBObjectStoreImpl.h:
        * storage/IDBObjectStoreRequest.cpp:
        (WebCore::IDBObjectStoreRequest::get):
        (WebCore::IDBObjectStoreRequest::add):
        (WebCore::IDBObjectStoreRequest::modify):
        (WebCore::IDBObjectStoreRequest::addOrModify):
        (WebCore::IDBObjectStoreRequest::remove):
        * storage/IDBObjectStoreRequest.h:
        * storage/IDBObjectStoreRequest.idl:
        * storage/IDBRequest.cpp:
        (WebCore::IDBRequest::onSuccess):
        * storage/IDBRequest.h:
2010-06-27  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Dumitru Daniliuc.

        Implement IDBObjectStore.get/set/remove
        https://bugs.webkit.org/show_bug.cgi?id=41250

        Plumbing for new features, IDBKey, and added support
        for both invalid (i.e. not serializable) and null
        (i.e. the RefPtr was 0) to SerializedScriptValue.

        * WebKit.gyp:
        * public/WebIDBCallbacks.h:
        (WebKit::WebIDBCallbacks::onSuccess):
        * public/WebIDBKey.h: Added.
        (WebKit::WebIDBKey::WebIDBKey):
        (WebKit::WebIDBKey::operator=):
        (WebKit::WebIDBKey::):
        * public/WebIDBObjectStore.h:
        (WebKit::WebIDBObjectStore::get):
        (WebKit::WebIDBObjectStore::set):
        (WebKit::WebIDBObjectStore::remove):
        (WebKit::WebIDBObjectStore::createIndex):
        (WebKit::WebIDBObjectStore::index):
        (WebKit::WebIDBObjectStore::removeIndex):
        * public/WebSerializedScriptValue.h:
        * src/IDBCallbacksProxy.cpp:
        (WebCore::IDBCallbacksProxy::onSuccess):
        * src/IDBCallbacksProxy.h:
        * src/IDBObjectStoreProxy.cpp:
        (WebCore::IDBObjectStoreProxy::get):
        (WebCore::IDBObjectStoreProxy::set):
        (WebCore::IDBObjectStoreProxy::remove):
        * src/IDBObjectStoreProxy.h:
        * src/WebIDBCallbacksImpl.cpp:
        (WebCore::WebIDBCallbacksImpl::onSuccess):
        * src/WebIDBCallbacksImpl.h:
        * src/WebIDBKey.cpp: Added.
        (WebKit::WebIDBKey::~WebIDBKey):
        (WebKit::WebIDBKey::createNull):
        (WebKit::WebIDBKey::createInvalid):
        (WebKit::WebIDBKey::assign):
        (WebKit::WebIDBKey::assignNull):
        (WebKit::WebIDBKey::assignInvalid):
        (WebKit::WebIDBKey::type):
        (WebKit::WebIDBKey::string):
        (WebKit::WebIDBKey::number):
        (WebKit::WebIDBKey::WebIDBKey):
        (WebKit::WebIDBKey::operator=):
        (WebKit::WebIDBKey::operator PassRefPtr<IDBKey>):
        * src/WebIDBObjectStoreImpl.cpp:
        (WebKit::WebIDBObjectStoreImpl::get):
        (WebKit::WebIDBObjectStoreImpl::set):
        (WebKit::WebIDBObjectStoreImpl::remove):
        * src/WebIDBObjectStoreImpl.h:
        * src/WebSerializedScriptValue.cpp:
        (WebKit::WebSerializedScriptValue::createInvalid):

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

9 years ago2010-07-11 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Mon, 12 Jul 2010 07:57:13 +0000 (07:57 +0000)]
2010-07-11  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Dan Bernstein.

        Implement animation-related methods for WebKitTestRunner
        https://bugs.webkit.org/show_bug.cgi?id=42053

        * WebCore.exp.in: Export Document::getElementById for WebKit2's benefit.
2010-07-11  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Dan Bernstein.

        Implement animation-related methods for WebKitTestRunner
        https://bugs.webkit.org/show_bug.cgi?id=42053

        Implemented numberOfActiveAnimatiosn and pauseAnimationAtTimeOnElementWithId. Many
        animation tests were hanging otherwise.

        * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
        (WTR::LayoutTestController::numberOfActiveAnimations):
        (WTR::LayoutTestController::pauseAnimationAtTimeOnElementWithId):
        (WTR::numberOfActiveAnimationsCallback):
        (WTR::pauseAnimationAtTimeOnElementWithIdCallback):
        (WTR::LayoutTestController::staticFunctions):
        * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
2010-07-11  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Dan Bernstein.

        Implement animation-related methods for WebKitTestRunner
        https://bugs.webkit.org/show_bug.cgi?id=42053

        Implemented some helpers for WebKitTestRunner;

        * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
        (WKBundleFrameGetNumberOfActiveAnimations):
        (WKBundleFramePauseAnimationOnElementWithId):
        * WebProcess/InjectedBundle/API/c/WKBundleFrame.h:
        * WebProcess/WebPage/WebFrame.cpp:
        (WebKit::WebFrame::numberOfActiveAnimations):
        (WebKit::WebFrame::pauseAnimationOnElementWithId):
        * WebProcess/WebPage/WebFrame.h:
        * mac/WebKit2.exp:

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

9 years ago2010-07-11 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Mon, 12 Jul 2010 06:29:06 +0000 (06:29 +0000)]
2010-07-11  Daniel Bates  <dbates@rim.com>

        Reviewed by David Kilzer.

        Enable executable support for svn-apply and svn-unapply
        https://bugs.webkit.org/show_bug.cgi?id=39409

        Connect up the Git and SVN executable bit support in parseDiff() so that
        executable bit changes are propagated via the returned diff hash to the
        patch function in svn-apply and svn-unapply.

        * Scripts/VCSUtils.pm:
          - Modified parseDiff() to call parseSvnDiffProperties when
            it finds the start of an SVN property change diff.
          - Removed FIXME comment above parseSvnDiffProperties() since
            it is now being used by parseDiff().
          - Export method scmToggleExecutableBit() now that we added the
            executableBitDelta hash key. (This should have been exported
            when we added this function in Bug #38423 <https://bugs.webkit.org/show_bug.cgi?id=38423>).
        * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
          - Updated results for:
            "rename (with executable bit change)"
              - Test value of executableBitDelta (now that we have support).
            "SVN: binary file (isBinary true)"
              - Remove the property change diff from svnConvertedText. We plan
                to remove svnConvertedText in the future. So, we decided
                against adding such support to any new code, such as the
                property parsing routines. Therefore, we do not keep SVN
                converted text for property change diffs.
          - Added unit tests:
            "SVN: file change diff with property change diff"
            "SVN: file change diff, followed by property change diff on different file"
            "SVN: property diff, followed by file change diff"
            "SVN: copied file with property change"
            "SVN: two consecutive property diffs"
            "SVN: binary file with executable bit change"
            "SVN: binary file followed by property change on different file"
            "SVN: binary file followed by file change on different file"
            "SVN: file change diff with property change, followed by property change diff"
            "SVN: file change diff with property change, followed by file change diff"

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

9 years ago2010-07-11 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Mon, 12 Jul 2010 03:41:11 +0000 (03:41 +0000)]
2010-07-11  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Dan Bernstein.

        Implement waitUntilDone and notifyDone for WebKitTestRunner
        https://bugs.webkit.org/show_bug.cgi?id=42049

        With this fix, most of the DOM tests pass.

        * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
        (WTR::InjectedBundle::didCreatePage): Track the main page. Not
        a great way to do it in the future case where we may get multiple
        pages - we really need a way to send it over from the ui process.
        * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
        (WTR::InjectedBundle::page): A way to get the main page.
        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
        (WTR::InjectedBundlePage::InjectedBundlePage): Initialize m_isLoading to false.
        (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame): Track that we
        are loading.
        (WTR::InjectedBundlePage::dump): Factor into a method so this can be
        called by the layout test controller. Also, cancel any pending watchdogs.
        (WTR::InjectedBundlePage::didFinishLoadForFrame): Note that we are done loading.
        (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame): Ditto.
        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
        (WTR::InjectedBundlePage::isLoading): A way to track if we are loading.
        * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
        (WTR::LayoutTestController::LayoutTestController): Initialize m_waitToDump
        to false.
        (WTR::LayoutTestController::invalidateWaitToDumpWatchdog): Invalidate
        the watchdog.
        (WTR::waitUntilDoneWatchdogFired): Static helper for the watchdog timer.
        (WTR::LayoutTestController::setWaitToDump): Set the flag.
        (WTR::LayoutTestController::waitToDumpWatchdogTimerFired): Handle the case
        where waitUntilDone times out.
        (WTR::LayoutTestController::notifyDone): Dump, if loading is done.
        (WTR::waitUntilDoneCallback): JS glue for waitUntilDone.
        (WTR::notifyDoneCallback): JS glue for notifyDone.
        (WTR::LayoutTestController::staticFunctions): Add waitUntilDone and notifyDone
        to the layoutController.
        * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
        (WTR::LayoutTestController::waitToDump): Inline method to get the wait state.

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

9 years ago2010-07-11 Gyuyoung Kim <gyuyoung.kim@samsung.com>
commit-queue@webkit.org [Mon, 12 Jul 2010 02:35:16 +0000 (02:35 +0000)]
2010-07-11  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Adam Barth.

        [EFL] Fix style errors in ewk_private.h.
        https://bugs.webkit.org/show_bug.cgi?id=41742

        * efl/ewk/ewk_private.h:

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

9 years ago2010-07-11 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 12 Jul 2010 00:09:30 +0000 (00:09 +0000)]
2010-07-11  Adam Barth  <abarth@webkit.org>

        Rubber-stamped by Eric Seidel

        Add a complete list of the HTML5 entities in JSON format.

        * html/HTMLEntityNames.json: Added.

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

9 years ago2010-07-11 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Sun, 11 Jul 2010 17:37:25 +0000 (17:37 +0000)]
2010-07-11  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] WebKitWebView should support drops
        https://bugs.webkit.org/show_bug.cgi?id=39843

        Add support for dropping content onto GTK+ WebViews.

        No new tests, as the DRT does not support simulating drops yet.

        * platform/gtk/ClipboardUtilitiesGtk.cpp:
        (WebCore::dragOperationToGdkDragAction): Added.
        (WebCore::gdkDragActionToDragOperation): Properly detect DragOperationEvery.
        * platform/gtk/ClipboardUtilitiesGtk.h: Add declaration for dragOperationToGdkDragAction.
        * platform/gtk/PasteboardHelper.cpp:
        Add new target atom and rename the markup target type to match the others.
        Add a method which fills a data object from drop data.
        (WebCore::PasteboardHelper::initializeTargetList): Add support for new atoms.
        (WebCore::selectionDataToUTF8String): Added this helper.
        (WebCore::PasteboardHelper::getClipboardContents): Use the selectionDataToUTF8String helper.
        (WebCore::PasteboardHelper::targetListForDataObject): Change to reflect markup atom rename.
        (WebCore::PasteboardHelper::fillDataObjectFromDropData): Added.
        (WebCore::PasteboardHelper::dropAtoms): Added.
        * platform/gtk/PasteboardHelper.h: Add declarations of new methods.
2010-07-11  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] WebKitWebView should support drops
        https://bugs.webkit.org/show_bug.cgi?id=39843

        Add support for dropping content onto GTK+ WebViews.

        * webkit/webkitprivate.h:
        Add a DroppingContext struct to keep track of drop data while the drop is
        in progress. Have WebKitWebView keep a map of GdkDragContexts to DroppingContexts.
        * webkit/webkitwebview.cpp: Add necessary includes and globalPointForClientPoint helper.
        (webkit_web_view_popup_menu_handler): Use globalPointForClientPoint helper.
        (webkit_web_view_dispose): Properly clean up droppingContexts member.
        (webkit_web_view_finalize): Delete droppingContext member.
        (globalPointForClientPoint): Added.
        (doDragLeaveLater): Added.
        (webkit_web_view_drag_leave): Added.
        (webkit_web_view_drag_motion): Added.
        (webkit_web_view_drag_data_received): Added.
        (webkit_web_view_drag_drop): Added.
        (webkit_web_view_class_init): Connect new drop signal handlers to the widget definition.
        (webkit_web_view_init): Set up the widget as a drop destination and initialize droppingContexts.

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

9 years ago2010-07-10 Darin Adler <darin@apple.com>
darin@apple.com [Sun, 11 Jul 2010 06:54:44 +0000 (06:54 +0000)]
2010-07-10  Darin Adler  <darin@apple.com>

        Reviewed by Anders Carlsson.

        Enhance content attribute reflection for URL attributes, including adding a non-empty option
        https://bugs.webkit.org/show_bug.cgi?id=42040

        Test: fast/dom/URL-attribute-reflection.html

        Changed syntax from [ReflectURL] to [Reflect,URL] and also added support for
        a new option, NonEmpty, which implements the non-empty URL concept from the
        HTML5 specification.

        * bindings/scripts/CodeGenerator.pm: Changed code to expect the Reflect and URL
        extended attributes to come in separately. The URL one simply means "the string
        of this attribute is a URL", since we don't have a distinct type for URL. Also
        added a new NonEmpty extended attribute.

        * bindings/scripts/CodeGeneratorJS.pm: Removed now-unneeded code to handle ReflectURL.
        * bindings/scripts/CodeGeneratorV8.pm: Ditto.

        * bindings/scripts/test/CPP/WebDOMTestObj.cpp: Updated for new added test cases
        and the fix I made to the reflectedCustomURLAttr test.
        * bindings/scripts/test/CPP/WebDOMTestObj.h: Ditto.
        * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp: Ditto.
        * bindings/scripts/test/GObject/WebKitDOMTestObj.h: Ditto.
        * bindings/scripts/test/JS/JSTestObj.cpp: Ditto.
        * bindings/scripts/test/JS/JSTestObj.h: Ditto.
        * bindings/scripts/test/ObjC/DOMTestObj.h: Ditto.
        * bindings/scripts/test/ObjC/DOMTestObj.mm: Ditto.
        * bindings/scripts/test/V8/V8TestObj.cpp: Ditto. Also, for some reason the V8
        bindig writes out the keywords into the generated file as comments, so the keyword
        change had a direct efffect on the output file.

        * bindings/scripts/test/TestObj.idl: Changed the test cases for ReflectURL to use
        the new syntax. Added test cases for NonEmpty. Fixed the name of
        reflectedNonEmptyURLAttr, which accidentally was repeating reflectedURLAttr
        instead; never noticed because we never compile the test output.

        * dom/Element.cpp:
        (WebCore::Element::getNonEmptyURLAttribute): Added. For use by NonEmpty and also
        by any code that wants to implement the non-empty URL content attribute semantic.
        * dom/Element.h: Ditto.

        * html/HTMLAnchorElement.idl: Use Reflect,URL instead of ReflectURL.
        * html/HTMLAreaElement.idl: Ditto.
        * html/HTMLFrameElement.idl: Ditto.
        * html/HTMLImageElement.idl: Ditto.
        * html/HTMLInputElement.idl: Ditto.
        * html/HTMLLinkElement.idl: Ditto.
        * html/HTMLMediaElement.idl: Ditto.
        * html/HTMLObjectElement.idl: Ditto.
        * html/HTMLScriptElement.idl: Ditto.
        * html/HTMLVideoElement.idl: Ditto.
2010-07-10  Darin Adler  <darin@apple.com>

        Reviewed by Anders Carlsson.

        Enhance content attribute reflection for URL attributes, including adding a non-empty option
        https://bugs.webkit.org/show_bug.cgi?id=42040

        The current test results show many failures, and we should follow up with fixes
        either to the DOM implementation, or to the test result expectations.

        * fast/dom/URL-attribute-reflection-expected.txt: Added.
        * fast/dom/URL-attribute-reflection.html: Added.
        * fast/dom/script-tests/URL-attribute-reflection.js: Added.

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

9 years ago2010-07-10 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Sun, 11 Jul 2010 01:14:47 +0000 (01:14 +0000)]
2010-07-10  Oliver Hunt  <oliver@apple.com>

        Reviewed by Maciej Stachowiak.

        HAVE_COMPUTED_GOTO is dependent on the interpreter being enabled
        https://bugs.webkit.org/show_bug.cgi?id=42039

        Separate the existence of computed goto support in the compiler
        from whether or not we are using the interpreter.  All the current
        HAVE(COMPUTED_GOTO) guards are for the interpreter, but I'd like
        the option of using it elsewhere.  The interpreter now uses
        ENABLE(COMPUTED_GOTO_INTERPRETER)

        * bytecode/Instruction.h:
        (JSC::Instruction::Instruction):
        * bytecode/Opcode.h:
        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::Interpreter):
        (JSC::Interpreter::isOpcode):
        (JSC::Interpreter::privateExecute):
        * interpreter/Interpreter.h:
        (JSC::Interpreter::getOpcode):
        (JSC::Interpreter::getOpcodeID):
        * wtf/Platform.h:

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

9 years ago2010-07-10 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Sun, 11 Jul 2010 00:11:08 +0000 (00:11 +0000)]
2010-07-10  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        Remove switches from inner expression loops in the parser
        https://bugs.webkit.org/show_bug.cgi?id=42035

        Use bitmasks and flags on the token types to identify unary and
        binary operators, rather than switching on the token type to
        identify them.

        * parser/JSParser.cpp:
        (JSC::isUnaryOp):
        (JSC::JSParser::isBinaryOperator):
        * parser/JSParser.h:
        (JSC::):

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

9 years ago2010-07-10 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Sat, 10 Jul 2010 23:11:16 +0000 (23:11 +0000)]
2010-07-10  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Darin Adler.

        Add missing derrived sources to xcode project
        https://bugs.webkit.org/show_bug.cgi?id=42034

        This allows --web-timing to work with build-webkit on OSX with JSC.
        This should have been done in bug 41442.

        No new tests because no new functionality.

        * WebCore.xcodeproj/project.pbxproj:

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

9 years agoDon't initialize plug-ins until allowed by the page
andersca@apple.com [Sat, 10 Jul 2010 22:28:39 +0000 (22:28 +0000)]
Don't initialize plug-ins until allowed by the page
https://bugs.webkit.org/show_bug.cgi?id=42033

Reviewed by Sam Weinig.

WebCore:

* WebCore.exp.in:
Export Document::addMediaCanStartListener and Document::removeMediaCanStartListener.

WebKit2:

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::paint):
(WebKit::NetscapePlugin::geometryDidChange):
Assert that the plug-in is started.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::PluginView):
Initialize m_isWaitingUntilMediaCanStart.

(WebKit::PluginView::~PluginView):
If necessary, remove the plug-in view as a MediaCanStartListener.

(WebKit::PluginView::initializePlugin):
If we're not allowed to initialize the plug-in, add the plug-in view as a MediaCanStartListener.

(WebKit::PluginView::paint):
Check that the plug-in is initialized.

(WebKit::PluginView::viewGeometryDidChange):
Ditto.

(WebKit::PluginView::mediaCanStart):
Initialize the plug-in.

* WebProcess/Plugins/PluginView.h:

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

9 years agoHave the plug-in view initialize the plug-in
andersca@apple.com [Sat, 10 Jul 2010 21:47:14 +0000 (21:47 +0000)]
Have the plug-in view initialize the plug-in
https://bugs.webkit.org/show_bug.cgi?id=42030

Reviewed by Dan Bernstein.

* WebProcess/Plugins/DummyPlugin.cpp:
(WebKit::DummyPlugin::initialize):
* WebProcess/Plugins/DummyPlugin.h:
Plugin::initialize now takes a struct.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::initialize):
* WebProcess/Plugins/Netscape/NetscapePlugin.h:
Plugin::initialize now takes a struct.

* WebProcess/Plugins/Plugin.h:
Add Parameters struct.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::PluginView):
Add Parameters parameter.

(WebKit::PluginView::~PluginView):
Add m_plugin null check.

(WebKit::PluginView::initializePlugin):
Try to initialize the plug-in and zero out the plug-in if initialization fails.

(WebKit::PluginView::paint):
Add m_plugin null check.

(WebKit::PluginView::setParent):
Initialize the plug-in.

* WebProcess/Plugins/PluginView.h:
(WebKit::PluginView::create):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::createPlugin):
Don't initialize the plug-in here.

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

9 years agoWebCore: Patch for https://bugs.webkit.org/show_bug.cgi?id=42021
weinig@apple.com [Sat, 10 Jul 2010 21:38:36 +0000 (21:38 +0000)]
WebCore: Patch for https://bugs.webkit.org/show_bug.cgi?id=42021
isEqualNode should work for DocumentType nodes

Reviewed by Anders Carlsson.

Test: fast/dom/Node/isEqualNode.html

* dom/Node.cpp:
(WebCore::Node::isEqualNode): Add DocumentType logic from the DOM3 spec.

LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=42021
isEqualNode should work for DocumentType nodes

Reviewed by Anders Carlsson.

* fast/dom/Node/isEqualNode-expected.txt: Added.
* fast/dom/Node/isEqualNode.html: Added.
* fast/dom/Node/script-tests/isEqualNode.js: Added.

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

9 years ago2010-07-10 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Sat, 10 Jul 2010 21:18:58 +0000 (21:18 +0000)]
2010-07-10  Daniel Bates  <dbates@rim.com>

        Reviewed by Adam Barth.

        Move enum ReasonForCallingCanExecuteScripts to header ScriptControllerBase.h
        https://bugs.webkit.org/show_bug.cgi?id=39339

        Moved the enum ReasonForCallingCanExecuteScripts, which was
        defined in both the JSC and V8 ScriptController.h file, into
        a shared file called ScriptControllerBase.h.

        No functionality was changed, so no new tests.

        * GNUmakefile.am: Added file bindings/ScriptControllerBase.h.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.vcproj/WebCoreCommon.vsprops: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * bindings/ScriptControllerBase.h: Added.
        (WebCore::):
        * bindings/js/ScriptController.h: #include ScriptControllerBase.h
        * bindings/v8/ScriptController.h: Ditto.

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

9 years agoCall Page::canStartMedia when the WKView is added to/removed from a window
andersca@apple.com [Sat, 10 Jul 2010 19:39:42 +0000 (19:39 +0000)]
Call Page::canStartMedia when the WKView is added to/removed from a window
https://bugs.webkit.org/show_bug.cgi?id=42029

Reviewed by Oliver Hunt.

* Shared/CoreIPCSupport/WebPageMessageKinds.h:
(WebPageMessage::):
Add SetIsInWindow.

* UIProcess/API/mac/WKView.mm:
(-[WKView initWithFrame:pageNamespaceRef:]):
Call setIsInWindow.

(-[WKView _updateVisibility]):
Call setIsInWindow.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
Initialize m_isInWindow.

(WebKit::WebPageProxy::setIsInWindow):
Send WebPageMessage::SetIsInWindow.

* UIProcess/WebPageProxy.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setIsInWindow):
Call Page::canStartMedia.

(WebKit::WebPage::didReceiveMessage):
Handle the SetIsInWindow message.

* WebProcess/WebPage/WebPage.h:

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

9 years ago<rdar://problem/8153214> Continuation outlines in layers do not paint correctly
mitz@apple.com [Sat, 10 Jul 2010 17:57:15 +0000 (17:57 +0000)]
<rdar://problem/8153214> Continuation outlines in layers do not paint correctly

Reviewed by Anders Carlsson.

WebCore:

Test: fast/inline/continuation-outlines-with-layers-2.html

Continuation outlines are normally painted by the containing block. However, when the
block and the inline are not enclosed by the same self-painting layer, the inline has to
paint its own outlines. This was handled correctly only for the case where the inline had
its own self-painting layer, but now when an ancestor inline had the self-painting layer.

* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::paint): Instead of testing for having a self-painting layer, test
whether any intermediate box between the inline and the containing block has a self-painting
layer.
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paintObject): Ditto.
* rendering/RenderObject.cpp:
(WebCore::RenderObject::enclosingBoxModelObject): Added this utility method.
* rendering/RenderObject.h:

LayoutTests:

* fast/inline/continuation-outlines-with-layers-2.html: Added.
* platform/mac/fast/inline/continuation-outlines-with-layers-2-expected.checksum: Added.
* platform/mac/fast/inline/continuation-outlines-with-layers-2-expected.png: Added.
* platform/mac/fast/inline/continuation-outlines-with-layers-2-expected.txt: Added.

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

9 years agoReuse initialized NetscapePluginModules, pass parameters to NPP_New
andersca@apple.com [Sat, 10 Jul 2010 17:33:29 +0000 (17:33 +0000)]
Reuse initialized NetscapePluginModules, pass parameters to NPP_New
https://bugs.webkit.org/show_bug.cgi?id=42028

Reviewed by Dan Bernstein.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::NetscapePlugin):
Let the plug-in module know that a plug-in has been created.

(WebKit::NetscapePlugin::~NetscapePlugin):
Let the plug-in module know that a plug-in has been destroyed.

(WebKit::NetscapePlugin::initialize):
Pass the MIME type and parameters to the plug-in.

* WebProcess/Plugins/Netscape/NetscapePluginModule.cpp:
(WebKit::initializedNetscapePluginModules):
Add list of initialized plug-in modules.

(WebKit::NetscapePluginModule::NetscapePluginModule):
Initialize m_pluginCount to 0.

(WebKit::NetscapePluginModule::~NetscapePluginModule):
Assert that we're not in the list of initialized plug-ins.

(WebKit::NetscapePluginModule::pluginCreated):
Increment the plug-in count.

(WebKit::NetscapePluginModule::pluginDestroyed):
Decrement the plug-in count and call shutdown if it's 0.

(WebKit::NetscapePluginModule::shutdown):
Call NP_Shutdown and remove the plug-in from the list of initialized plug-ins.

(WebKit::NetscapePluginModule::getOrCreate):
Look for an already initialized plug-in module before creating one.

(WebKit::NetscapePluginModule::load):
Set m_isInitialized to true.

* WebProcess/Plugins/Netscape/mac/NetscapePluginModuleMac.cpp:
(WebKit::NetscapePluginModule::unload):
Leak the CFBundleRef to avoid possible crashes.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::createPlugin):
Call getOrCreate instead of create.

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

9 years ago2010-07-10 François Sausset <sausset@gmail.com>
commit-queue@webkit.org [Sat, 10 Jul 2010 16:02:02 +0000 (16:02 +0000)]
2010-07-10  François Sausset  <sausset@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        Build fix: syntax and typo issues
        https://bugs.webkit.org/show_bug.cgi?id=41859

        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::processStartTagForInBody):
        (WebCore::HTMLTreeBuilder::processStartTag):

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

9 years ago2010-07-10 Eric Seidel <eric@webkit.org>
eric@webkit.org [Sat, 10 Jul 2010 09:01:35 +0000 (09:01 +0000)]
2010-07-10  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        HTMLTreeBuilder needs adjustForeignAttributes support
        https://bugs.webkit.org/show_bug.cgi?id=42022

        * html5lib/runner-expected-html5.txt:
         - We now pass 3 more tests.
2010-07-10  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        HTMLTreeBuilder needs adjustForeignAttributes support
        https://bugs.webkit.org/show_bug.cgi?id=42022

        To add adjust foreign attributes support I had to add an
        AtomicString (prefixed name) to QualifiedName hash.  Once I had
        done that, I decided it would be best for the other "adjust" functions
        to share the same hash logic, so I moved them to using the same
        AtomicString -> QualifiedName hash as well.

        Tested by html5lib/runner.html

        * dom/Attribute.h:
        (WebCore::Attribute::parserSetName):
        * html/HTMLTreeBuilder.cpp:

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

9 years ago2010-07-10 Rob Buis <rwlbuis@gmail.com>
rwlbuis@webkit.org [Sat, 10 Jul 2010 08:14:48 +0000 (08:14 +0000)]
2010-07-10  Rob Buis  <rwlbuis@gmail.com>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=41978
        Remove namespace prefixes from idl files

        No new tests, idl syntax fixes.

        * css/CSSImportRule.idl:
        * css/CSSMediaRule.idl:
        * css/CSSStyleSheet.idl:
        * css/CSSVariablesRule.idl:
        * svg/SVGAnimatedString.idl:
        * svg/SVGColor.idl:
        * svg/SVGDocument.idl:
        * svg/SVGLangSpace.idl:
        * svg/SVGSVGElement.idl:
        * svg/SVGStringList.idl:
        * svg/SVGStylable.idl:
        * svg/SVGStyleElement.idl:
        * svg/SVGTests.idl:
        * svg/SVGZoomEvent.idl:
        * xml/XPathEvaluator.idl:

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

9 years agoUnreviewed, GTK build fix.
dumi@chromium.org [Sat, 10 Jul 2010 07:59:39 +0000 (07:59 +0000)]
Unreviewed, GTK build fix.

* bindings/gobject/GObjectEventListener.h:

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

9 years agoRemove unnecessary includes in header files in WebCore/dom.
dumi@chromium.org [Sat, 10 Jul 2010 07:24:31 +0000 (07:24 +0000)]
Remove unnecessary includes in header files in WebCore/dom.
https://bugs.webkit.org/show_bug.cgi?id=41941

Reviewed by Darin Adler.

* css/StyleMedia.h:
* dom/BeforeLoadEvent.h:
* dom/CustomEvent.h:
* dom/DOMStringMap.h:
* dom/DeviceOrientationEvent.h:
* dom/EventListener.h:
* dom/MessagePort.h:
* dom/Node.cpp:
* dom/NodeFilter.h:
* dom/NodeRareData.h:
* dom/RegisteredEventListener.h:
* dom/SelectorNodeList.cpp:
* dom/SelectorNodeList.h:
* dom/StyleElement.h:
* dom/Traversal.h:

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

9 years agoWindows testers running Windows 7 were hanging during test_kill_process. Changing the
bweinstein@apple.com [Sat, 10 Jul 2010 05:01:36 +0000 (05:01 +0000)]
Windows testers running Windows 7 were hanging during test_kill_process. Changing the
number of attempts from 3 to 10 fixes the problem on the new bots (and doesn't seem to
slow down the tests).

Rubber-stamped by Dan Bernstein.

* Scripts/webkitpy/common/system/executive.py:

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

9 years ago2010-07-09 John Abd-El-Malek <jam@chromium.org>
jam@chromium.org [Sat, 10 Jul 2010 04:32:27 +0000 (04:32 +0000)]
2010-07-09  John Abd-El-Malek  <jam@chromium.org>

        Reviewed by Darin Fisher.

        [chromium] Take out WebPlugin::supportsFind since we can accomplish the same thing by having a return value on startFind
        https://bugs.webkit.org/show_bug.cgi?id=42011

        * public/WebPlugin.h:
        (WebKit::WebPlugin::startFind):

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

9 years ago2010-07-09 Tony Chang <tony@chromium.org>
tony@chromium.org [Sat, 10 Jul 2010 04:20:50 +0000 (04:20 +0000)]
2010-07-09  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        crash in WebCore::CompositeEditCommand::splitTreeToNode when indenting pre
        https://bugs.webkit.org/show_bug.cgi?id=38231

        * editing/execCommand/indent-pre-expected.txt: Added.
        * editing/execCommand/indent-pre.html: Added.
2010-07-09  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        crash in WebCore::CompositeEditCommand::splitTreeToNode when indenting pre
        https://bugs.webkit.org/show_bug.cgi?id=38231

        Test: editing/execCommand/indent-pre.html

        * editing/IndentOutdentCommand.cpp:
        (WebCore::countParagraphs):
        (WebCore::IndentOutdentCommand::indentRegion): Split text nodes into one node per paragraph
                                                       so moveParagraph doesn't get confused.
        (WebCore::IndentOutdentCommand::splitTextNodes):
        * editing/IndentOutdentCommand.h:

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

9 years ago2010-07-09 Erik Arvidsson <arv@chromium.org>
arv@chromium.org [Sat, 10 Jul 2010 04:08:32 +0000 (04:08 +0000)]
2010-07-09  Erik Arvidsson  <arv@chromium.org>

        Reviewed by Darin Adler.

        Computed style is not implemented for padding-start, padding-end, margin-start, margin-end
        https://bugs.webkit.org/show_bug.cgi?id=41496

        * fast/css/margin-start-end-expected.txt:
        * fast/css/padding-start-end-expected.txt:
        * fast/css/script-tests/margin-start-end.js: Added tests for computed style.
        * fast/css/script-tests/padding-start-end.js: Added tests for computed style.
2010-07-09  Erik Arvidsson  <arv@chromium.org>

        Reviewed by Darin Adler.

        Computed style is not implemented for padding-start, padding-end, margin-start, margin-end
        https://bugs.webkit.org/show_bug.cgi?id=41496

        * css/CSSComputedStyleDeclaration.cpp:
        (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
        * css/CSSProperty.cpp:
        (WebCore::CSSProperty::resolveDirectionAwareProperty): This function resolves the property ID for a direction aware property.
        * css/CSSProperty.h:
        * css/CSSStyleSelector.cpp: Use helper function.
        (WebCore::CSSStyleSelector::applyProperty):

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

9 years ago2010-07-09 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 10 Jul 2010 03:47:55 +0000 (03:47 +0000)]
2010-07-09  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        HTML5 tree builder should pass some LayoutTests
        https://bugs.webkit.org/show_bug.cgi?id=41991

        Before this patch, we weren't attaching text nodes to the render tree,
        which turns out to be important.  :)

        This patch fixes more than 10,000 LayoutTests.

        * html/HTMLConstructionSite.cpp:
        (WebCore::HTMLConstructionSite::attach):
        (WebCore::HTMLConstructionSite::attachAtSite):

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

9 years ago2010-07-09 Patrick Gansterer <paroga@paroga.com>
commit-queue@webkit.org [Sat, 10 Jul 2010 03:36:19 +0000 (03:36 +0000)]
2010-07-09  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by Darin Adler.

        [WINCE] Buildfix for TextEncodingRegistry
        https://bugs.webkit.org/show_bug.cgi?id=41992

        Renamed TextCodecWince to TextCodecWinCE.

        * platform/text/TextEncodingRegistry.cpp:
        (WebCore::buildBaseTextCodecMaps):
        (WebCore::extendTextCodecMaps):

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

9 years ago2010-07-09 Luiz Agostini <luiz.agostini@openbossa.org>
commit-queue@webkit.org [Sat, 10 Jul 2010 03:20:56 +0000 (03:20 +0000)]
2010-07-09  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Mac build fix
        https://bugs.webkit.org/show_bug.cgi?id=41967

        Adding file PluginObjectMac.mm and frameworks Cocoa and QuartzCore.

        * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:

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

9 years ago2010-07-09 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Sat, 10 Jul 2010 03:13:03 +0000 (03:13 +0000)]
2010-07-09  Daniel Bates  <dbates@rim.com>

        Reviewed by Darin Adler.

        Clean up: Move dump-list.js utility script from LayoutTests/fast/lists
        to LayoutTests/fast/lists/resources
        https://bugs.webkit.org/show_bug.cgi?id=42016

        Move fast/lists/dump-list.js to fast/lists/resources since it
        is a utility script and not a test case.

        * fast/lists/dump-list.js: Removed. Moved to fast/lists/resources.
        * fast/lists/ol-nested-items-dynamic-insert.html: Modified to look
          for dump-list.js in new location.
        * fast/lists/ol-nested-items-dynamic-remove.html: Ditto.
        * fast/lists/ol-nested-items.html: Ditto.
        * fast/lists/ol-nested-list-dynamic-insert.html: Ditto.
        * fast/lists/ol-nested-list-dynamic-remove.html: Ditto.
        * fast/lists/ol-nested-list.html: Ditto.
        * fast/lists/resources/dump-list.js: Copied from LayoutTests/fast/lists/dump-list.js.

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

9 years ago2010-07-09 Diego Gonzalez <diegohcg@webkit.org>
diegohcg@webkit.org [Sat, 10 Jul 2010 03:02:42 +0000 (03:02 +0000)]
2010-07-09  Diego Gonzalez  <diegohcg@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] [WebKit2] Add navigation actions to MiniBrowser toolbar
        https://bugs.webkit.org/show_bug.cgi?id=41966

        * MiniBrowser/qt/BrowserWindow.cpp:
        (BrowserWindow::BrowserWindow):

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

9 years ago2010-07-09 Leon Clarke <leonclarke@google.com>
commit-queue@webkit.org [Sat, 10 Jul 2010 02:41:10 +0000 (02:41 +0000)]
2010-07-09  Leon Clarke  <leonclarke@google.com>

        Reviewed by Adam Barth.

        add support for link prefetching
        https://bugs.webkit.org/show_bug.cgi?id=3652

        * Configurations/FeatureDefines.xcconfig:
2010-07-09  Leon Clarke  <leonclarke@google.com>

        Reviewed by Adam Barth.

        add support for link prefetching
        https://bugs.webkit.org/show_bug.cgi?id=3652

        * fast/dom/HTMLLinkElement/prefetch-expected.txt: Added.
        * fast/dom/HTMLLinkElement/prefetch.html: Added.
        * fast/dom/HTMLLinkElement/prefetch.link: Added.
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:
2010-07-09  Leon Clarke  <leonclarke@google.com>

        Reviewed by Adam Barth.

        add support for link prefetching
        https://bugs.webkit.org/show_bug.cgi?id=3652

        Test: fast/dom/HTMLLinkElement/prefetch.html

        * Configurations/FeatureDefines.xcconfig:
        * html/HTMLLinkElement.cpp:
        (WebCore::HTMLLinkElement::tokenizeRelAttribute):
        (WebCore::HTMLLinkElement::process):
        * html/HTMLLinkElement.h:
        (WebCore::HTMLLinkElement::RelAttribute::RelAttribute):
        * loader/Cache.cpp:
        (WebCore::createResource):
        * loader/CachedResource.cpp:
        (WebCore::CachedResource::data):
        (WebCore::CachedResource::didAddClient):
        * loader/CachedResource.h:
        (WebCore::CachedResource::):
        (WebCore::CachedResource::error):
        (WebCore::CachedResource::isPrefetch):
        (WebCore::CachedResource::schedule):
        * loader/CachedScript.cpp:
        * loader/CachedScript.h:
        * loader/DocLoader.cpp:
        (WebCore::DocLoader::requestLinkPrefetch):
        (WebCore::DocLoader::canRequest):
        (WebCore::DocLoader::incrementRequestCount):
        (WebCore::DocLoader::decrementRequestCount):
        * loader/DocLoader.h:
        * loader/loader.cpp:
        (WebCore::cachedResourceTypeToTargetType):
        (WebCore::Loader::determinePriority):
        (WebCore::Loader::load):
        (WebCore::Loader::Host::servePendingRequests):
        (WebCore::Loader::Host::didFinishLoading):
        (WebCore::Loader::Host::didFail):
        (WebCore::Loader::Host::didReceiveResponse):
        (WebCore::Loader::Host::cancelPendingRequests):
        * loader/loader.h:
        (WebCore::Loader::):
        * platform/network/ResourceRequestBase.h:
        (WebCore::ResourceRequestBase::):
2010-07-09  Leon Clarke  <leonclarke@google.com>

        Reviewed by Adam Barth.

        add support for link prefetching
        https://bugs.webkit.org/show_bug.cgi?id=3652

        * public/WebURLRequest.h:
        (WebKit::WebURLRequest::):
2010-07-09  Leon Clarke  <leonclarke@google.com>

        Reviewed by Adam Barth.

        add support for link prefetching
        https://bugs.webkit.org/show_bug.cgi?id=3652

        * Configurations/FeatureDefines.xcconfig:
2010-07-09  Leon Clarke  <leonclarke@google.com>

        Reviewed by Adam Barth.

        add support for link prefetching
        https://bugs.webkit.org/show_bug.cgi?id=3652

        * Configurations/FeatureDefines.xcconfig:
2010-07-09  Leon Clarke  <leonclarke@google.com>

        Reviewed by Adam Barth.

        add support for link prefetching
        https://bugs.webkit.org/show_bug.cgi?id=3652

        * Scripts/build-webkit:

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

9 years ago2010-07-09 James Robinson <jamesr@chromium.org>
jamesr@google.com [Sat, 10 Jul 2010 02:30:43 +0000 (02:30 +0000)]
2010-07-09  James Robinson  <jamesr@chromium.org>

        Unreviewed build fix.  Add #include to pick up ExceptionCode values for config (like Qt) where it's not picked up indirectly.

        * html/HTMLCanvasElement.cpp:

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

9 years ago2010-07-09 James Robinson <jamesr@chromium.org>
jamesr@google.com [Sat, 10 Jul 2010 01:26:56 +0000 (01:26 +0000)]
2010-07-09  James Robinson  <jamesr@chromium.org>

        Reviewed by Darin Adler.

        Removes CanvasSurface and moves all of its functionality to HTMLCanvasElement.
        https://bugs.webkit.org/show_bug.cgi?id=42005

        http://trac.webkit.org/changeset/55201 introduced a new base class for HTMLCanvasElement called CanvasSurface.
        The intention was that this would allow for code sharing with the then-proposed OffscreenCanvas.  However,
        there is no OffscreenCanvas and there's unlikely to be one soon.  Additionally CanvasSurface breaks
        encapsulation pretty badly by doing "static_cast<HTMLCanvasElement* const>(this)".  Until an abstraction is
        really needed we should just use HTMLCanvasElement when we want to talk about a canvas.

        This patch moves all of CanvasSurface's functionality back up to HTMLCanvasElement and reorders the header
        to be a bit more logical.

        Refactor with no behavior change, thus no new tests.

        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * dom/CanvasSurface.cpp: Removed.
        * dom/CanvasSurface.h: Removed.
        * html/HTMLCanvasElement.cpp:
        (WebCore::HTMLCanvasElement::HTMLCanvasElement):
        (WebCore::HTMLCanvasElement::willDraw):
        (WebCore::HTMLCanvasElement::setSurfaceSize):
        (WebCore::HTMLCanvasElement::toDataURL):
        (WebCore::HTMLCanvasElement::convertLogicalToDevice):
        (WebCore::HTMLCanvasElement::securityOrigin):
        (WebCore::HTMLCanvasElement::styleSelector):
        (WebCore::HTMLCanvasElement::createImageBuffer):
        (WebCore::HTMLCanvasElement::drawingContext):
        (WebCore::HTMLCanvasElement::buffer):
        (WebCore::HTMLCanvasElement::baseTransform):
        * html/HTMLCanvasElement.h:
        (WebCore::HTMLCanvasElement::setObserver):
        (WebCore::HTMLCanvasElement::width):
        (WebCore::HTMLCanvasElement::height):
        (WebCore::HTMLCanvasElement::size):
        (WebCore::HTMLCanvasElement::toDataURL):
        (WebCore::HTMLCanvasElement::setOriginTainted):
        (WebCore::HTMLCanvasElement::originClean):
        (WebCore::HTMLCanvasElement::hasCreatedImageBuffer):

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

9 years agoTidy up lexer token ids
oliver@apple.com [Sat, 10 Jul 2010 01:25:50 +0000 (01:25 +0000)]
Tidy up lexer token ids
https://bugs.webkit.org/show_bug.cgi?id=42014

Reviewed by Darin Adler

Stop using character literals to identify single character tokens
and instead use symbolic names for all tokens.

* parser/ASTBuilder.h:
(JSC::ASTBuilder::makeBinaryNode):
* parser/JSParser.cpp:
(JSC::JSParser::consume):
(JSC::JSParser::match):
(JSC::JSParser::autoSemiColon):
(JSC::JSParser::JSParser):
(JSC::JSParser::parseProgram):
(JSC::JSParser::allowAutomaticSemicolon):
(JSC::JSParser::parseDoWhileStatement):
(JSC::JSParser::parseWhileStatement):
(JSC::JSParser::parseVarDeclarationList):
(JSC::JSParser::parseConstDeclarationList):
(JSC::JSParser::parseForStatement):
(JSC::JSParser::parseReturnStatement):
(JSC::JSParser::parseWithStatement):
(JSC::JSParser::parseSwitchStatement):
(JSC::JSParser::parseSwitchClauses):
(JSC::JSParser::parseSwitchDefaultClause):
(JSC::JSParser::parseTryStatement):
(JSC::JSParser::parseDebuggerStatement):
(JSC::JSParser::parseStatement):
(JSC::JSParser::parseFormalParameters):
(JSC::JSParser::parseFunctionInfo):
(JSC::JSParser::parseExpressionOrLabelStatement):
(JSC::JSParser::parseIfStatement):
(JSC::JSParser::parseExpression):
(JSC::JSParser::parseAssignmentExpression):
(JSC::JSParser::parseConditionalExpression):
(JSC::isUnaryOp):
(JSC::JSParser::isBinaryOperator):
(JSC::JSParser::parseBinaryExpression):
(JSC::JSParser::parseProperty):
(JSC::JSParser::parseObjectLiteral):
(JSC::JSParser::parseStrictObjectLiteral):
(JSC::JSParser::parseArrayLiteral):
(JSC::JSParser::parsePrimaryExpression):
(JSC::JSParser::parseArguments):
(JSC::JSParser::parseMemberExpression):
(JSC::JSParser::parseUnaryExpression):
* parser/JSParser.h:
(JSC::):
* parser/Lexer.cpp:
(JSC::):
(JSC::Lexer::lex):
* parser/Lexer.h:

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

9 years agoBug 42015 - Enable JSValue32_64 on ARMv7
barraclough@apple.com [Sat, 10 Jul 2010 01:24:21 +0000 (01:24 +0000)]
Bug 42015 - Enable JSValue32_64 on ARMv7

Reviewed by Oliver Hunt.

* Configurations/JavaScriptCore.xcconfig:
* jit/JIT.h:
* jit/JITStubs.cpp:
* wtf/Platform.h:

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

9 years ago2010-07-09 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 10 Jul 2010 01:17:55 +0000 (01:17 +0000)]
2010-07-09  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Darin Adler.

        Calling layoutTestController.layerTreeAsText() should update layout
        https://bugs.webkit.org/show_bug.cgi?id=41818

        Need to call updateLayout() before we check for any layers, not after,
        since layout will update compositing, and may create layers.

        * page/Frame.cpp:
        (WebCore::Frame::layerTreeAsText):

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

9 years ago2010-07-09 Ojan Vafai <ojan@chromium.org>
abarth@webkit.org [Sat, 10 Jul 2010 01:14:03 +0000 (01:14 +0000)]
2010-07-09  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Adam Barth.

        r63004 broke some python tests
        https://bugs.webkit.org/show_bug.cgi?id=42007

        AbstractStep now checks options.no_squash and options.squash, so
        they needed to have real values. Mock would return an object for those,
        which would then act as if the values were True.

        * Scripts/webkitpy/tool/commands/commandtest.py:
        * Scripts/webkitpy/tool/commands/download_unittest.py:
        * Scripts/webkitpy/tool/commands/stepsequence.py:
        * Scripts/webkitpy/tool/commands/upload_unittest.py:
        * Scripts/webkitpy/tool/mocktool.py:
        * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py:
        * Scripts/webkitpy/tool/steps/preparechangelog_unittest.py:
        * Scripts/webkitpy/tool/steps/steps_unittest.py:
        * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py:
        * Scripts/webkitpy/tool/steps/validatereviewer_unittest.py:

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

9 years ago2010-07-09 Kenneth Russell <kbr@google.com>
kbr@google.com [Sat, 10 Jul 2010 00:47:59 +0000 (00:47 +0000)]
2010-07-09  Kenneth Russell  <kbr@google.com>

        Reviewed by Nate Chapin.

        bufferSubData causes crash in WebGLBuffer::associateBufferSubData
        https://bugs.webkit.org/show_bug.cgi?id=42004

        Test: fast/canvas/webgl/index-validation-crash-with-buffer-sub-data.html

        * html/canvas/WebGLBuffer.cpp:
        (WebCore::WebGLBuffer::associateBufferData):
         - Allocate m_elementArrayBuffer for entry point taking only size.
           Guard against allocation failures of m_elementArrayBuffer.
        (WebCore::WebGLBuffer::associateBufferSubData):
         - Guard against any possibility of crashes due to m_elementArrayBuffer being NULL.
2010-07-09  Kenneth Russell  <kbr@google.com>

        Reviewed by Nate Chapin.

        bufferSubData causes crash in WebGLBuffer::associateBufferSubData
        https://bugs.webkit.org/show_bug.cgi?id=42004

        * fast/canvas/webgl/index-validation-crash-with-buffer-sub-data-expected.txt: Added.
        * fast/canvas/webgl/index-validation-crash-with-buffer-sub-data.html: Added.

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

9 years ago2010-07-09 Kenneth Russell <kbr@google.com>
kbr@google.com [Sat, 10 Jul 2010 00:34:12 +0000 (00:34 +0000)]
2010-07-09  Kenneth Russell  <kbr@google.com>

        Reviewed by Dimitri Glazkov.

        Assertion failure in String::utf8() for certain invalid UTF16 inputs
        https://bugs.webkit.org/show_bug.cgi?id=41983

        * wtf/text/WTFString.cpp:
        (WebCore::String::utf8):
         - Fixed assertion when sourceExhausted is returned from convertUTF16ToUTF8.
2010-07-09  Kenneth Russell  <kbr@google.com>

        Reviewed by Dimitri Glazkov.

        Assertion failure in String::utf8() for certain invalid UTF16 inputs
        https://bugs.webkit.org/show_bug.cgi?id=41983

        * fast/canvas/webgl/invalid-UTF-16-expected.txt: Added.
        * fast/canvas/webgl/invalid-UTF-16.html: Added.

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

9 years agoUnreviewed, but pre-approved by Eric Seidel.
dumi@chromium.org [Sat, 10 Jul 2010 00:11:50 +0000 (00:11 +0000)]
Unreviewed, but pre-approved by Eric Seidel.

Remove unnecessary includes in header files in WebCore/css.
https://bugs.webkit.org/show_bug.cgi?id=41941

* css/CSSComputedStyleDeclaration.h:
* css/CSSFontFaceSource.cpp:
(WebCore::CSSFontFaceSource::getFontData):
* css/CSSFontFaceSource.h:
* css/CSSPrimitiveValueMappings.h:
* css/StyleMedia.h:

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

9 years ago2010-07-09 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 9 Jul 2010 23:23:11 +0000 (23:23 +0000)]
2010-07-09  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Get rid of manual case maps in HTMLTreeBuilder
        https://bugs.webkit.org/show_bug.cgi?id=42000

        No functional change, thus no tests.

        * html/HTMLTreeBuilder.cpp:

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

9 years ago2010-07-09 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Fri, 9 Jul 2010 23:10:07 +0000 (23:10 +0000)]
2010-07-09  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Dimitri Glazkov.

        Implement performance.timing.navigationStart
        https://bugs.webkit.org/show_bug.cgi?id=41815

        * fast/dom/script-tests/webtiming.js:
        (checkTimingBeforeLoad):
        (checkWebTimingOnLoad):
        (checkWebTimingAfterLoad):
        * fast/dom/webtiming-expected.txt:
2010-07-09  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Dimitri Glazkov.

        Implement performance.timing.navigationStart
        https://bugs.webkit.org/show_bug.cgi?id=41815

        See: http://dev.w3.org/2006/webapi/WebTiming/#nt-navigation-start

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::loadWithDocumentLoader):
        * loader/FrameLoaderTypes.h:
        (WebCore::FrameLoadTimeline::FrameLoadTimeline):
        * page/Timing.cpp:
        (WebCore::Timing::navigationStart):

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

9 years agoUnreviewed. Build fix.
ajwong@chromium.org [Fri, 9 Jul 2010 23:05:42 +0000 (23:05 +0000)]
Unreviewed. Build fix.

[chromium] Add in baseline for ietestcenter tests that pass.  Also
rebaseline two other tests.

* platform/chromium-mac/fast/js/no-semi-insertion-at-end-of-script-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/11.4.1-4.a-10-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/11.4.1-4.a-8-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.12.1.1-0-2-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.12.1.1-0-3-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.12.2-0-2-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.12.3-0-2-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-0-1-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-0-2-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-1-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-2-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-1-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-2-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-3-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-1-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-1-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-10-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-11-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-12-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-13-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-14-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-15-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-16-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-17-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-18-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-19-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-2-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-20-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-21-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-3-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-4-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-5-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-6-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-7-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-8-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-9-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.14-2-4-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.14-3-4-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.3-4-22-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.3-4-25-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.2.3.6-4-1-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.4.4.14-9-a-12-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-3-26-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-3-27-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-1-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-12-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-14-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-16-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-4-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-8-9-expected.txt: Added.
* platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-8-a-12-expected.txt: Added.
* platform/chromium-win/fast/js/no-semi-insertion-at-end-of-script-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/11.4.1-4.a-10-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/11.4.1-4.a-8-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.12.1.1-0-2-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.12.1.1-0-3-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.12.2-0-2-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.12.3-0-2-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.10-0-1-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.10-0-2-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.10-1-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.10-2-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-1-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-2-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-3-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-1-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-1-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-10-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-11-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-12-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-13-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-14-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-15-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-16-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-17-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-18-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-19-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-2-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-20-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-21-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-3-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-4-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-5-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-6-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-7-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-8-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-9-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.14-2-4-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.14-3-4-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.3-4-22-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.3-4-25-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.2.3.6-4-1-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.4.4.14-9-a-12-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.4.4.15-3-26-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.4.4.15-3-27-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-1-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-12-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-14-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-16-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-4-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.4.4.15-8-9-expected.txt: Added.
* platform/chromium-win/ietestcenter/Javascript/15.4.4.15-8-a-12-expected.txt: Added.

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

9 years ago2010-07-09 Albert J. Wong <ajwong@chromium.org>
ajwong@chromium.org [Fri, 9 Jul 2010 23:05:11 +0000 (23:05 +0000)]
2010-07-09  Albert J. Wong  <ajwong@chromium.org>

        Reviewed by NOBODY (OOPS!).

        Need a short description and bug URL (OOPS!)

        * platform/chromium-mac/media/video-volume-slider-expected.checksum:
        * platform/chromium-mac/media/video-volume-slider-expected.png:
        * platform/chromium-mac/media/video-volume-slider-expected.txt:
        * platform/chromium-win/http/tests/plugins/plugin-document-has-focus-expected.txt:
        * platform/chromium-win/plugins/keyboard-events-expected.txt:
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-07-09 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Fri, 9 Jul 2010 22:43:00 +0000 (22:43 +0000)]
2010-07-09  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Adam Barth.

        --squash should go away and become the default
        https://bugs.webkit.org/show_bug.cgi?id=39624

        If there are local commits and working copy changes, then prompt the user
        whether to continue. Setting git config webkit-patch.commit_should_always_squash
        true bypasses the prompt.

        --git-commit=HEAD.. operates on working copy changes only.
        --git-commit=committish operates on a range of commits as a single commit.
            e.g. --git-commit=HEAD only operates on the HEAD commit.
            --git-commit=HEAD~4..HEAD~2 will operate on HEAD~3 and HEAD~2 as a single commit.

        --no-squash and --squash are left in with descriptive error messages if used.

        * Scripts/check-webkit-style:
        * Scripts/webkitpy/common/checkout/api.py:
        * Scripts/webkitpy/common/checkout/api_unittest.py:
        * Scripts/webkitpy/common/checkout/scm.py:
        * Scripts/webkitpy/common/checkout/scm_unittest.py:
        * Scripts/webkitpy/common/net/rietveld.py:
        * Scripts/webkitpy/common/system/user.py:
        * Scripts/webkitpy/style/optparser.py:
        * Scripts/webkitpy/style_references.py:
        * Scripts/webkitpy/tool/commands/download.py:
        * Scripts/webkitpy/tool/commands/upload.py:
        * Scripts/webkitpy/tool/mocktool.py:
        * Scripts/webkitpy/tool/steps/abstractstep.py:
        * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py:
        * Scripts/webkitpy/tool/steps/checkstyle.py:
        * Scripts/webkitpy/tool/steps/checkstyle_unittest.py: Removed.
        * Scripts/webkitpy/tool/steps/commit.py:
        * Scripts/webkitpy/tool/steps/options.py:
        * Scripts/webkitpy/tool/steps/preparechangelog.py:
        * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
        * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
        * Scripts/webkitpy/tool/steps/validatereviewer.py:

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

9 years ago2010-07-09 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 9 Jul 2010 22:29:36 +0000 (22:29 +0000)]
2010-07-09  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Fix SVG tag name casing for HTMLTreeBuilder
        https://bugs.webkit.org/show_bug.cgi?id=41998

        * html5lib/runner-expected-html5.txt:
2010-07-09  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] GraphicsLayerQt must have syncCompositingStateForThisLayerOnly() implemented
        https://bugs.webkit.org/show_bug.cgi?id=41954

        Add GraphicsLayerQt::syncCompositingStateForThisLayerOnly, a non-recursive
        implementation of GraphicsLayerQt::syncCompositingState and which targets
        the current layer only.

        * platform/graphics/qt/GraphicsLayerQt.cpp:
        (WebCore::GraphicsLayerQt::syncCompositingStateForThisLayerOnly):
        * platform/graphics/qt/GraphicsLayerQt.h:

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

9 years ago2010-07-09 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
commit-queue@webkit.org [Fri, 9 Jul 2010 22:21:00 +0000 (22:21 +0000)]
2010-07-09  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] GraphicsLayerQt must have syncCompositingStateForThisLayerOnly() implemented
        https://bugs.webkit.org/show_bug.cgi?id=41954

        Add GraphicsLayerQt::syncCompositingStateForThisLayerOnly, a non-recursive
        implementation of GraphicsLayerQt::syncCompositingState and which targets
        the current layer only.

        * platform/graphics/qt/GraphicsLayerQt.cpp:
        (WebCore::GraphicsLayerQt::syncCompositingStateForThisLayerOnly):
        * platform/graphics/qt/GraphicsLayerQt.h:

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

9 years agoHandle setting of drawing and event models
andersca@apple.com [Fri, 9 Jul 2010 22:07:50 +0000 (22:07 +0000)]
Handle setting of drawing and event models
https://bugs.webkit.org/show_bug.cgi?id=41994

Reviewed by Sam Weinig and Dan Bernstein.

* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
Handle NPPVpluginDrawingModel and NPPVpluginEventModel.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::NetscapePlugin):
Initialize m_inNPPNew.

(WebKit::NetscapePlugin::~NetscapePlugin):
Assert that we aren't still running.

(WebKit::NetscapePlugin::fromNPP):
New function that returns a NetscapePlugin object given a NPP pointer.

(WebKit::NetscapePlugin::initialize):
* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.cpp:
(WebKit::NetscapePlugin::setDrawingModel):
Set the drawing model.

(WebKit::NetscapePlugin::setEventModel):
Set the event model.

(WebKit::initializeEvent):
(WebKit::NetscapePlugin::platformPaint):
Only send the Cocoa event when using the Cocoa event model.

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

9 years agoAdd two new Windows test build slaves.
mrowe@apple.com [Fri, 9 Jul 2010 21:58:47 +0000 (21:58 +0000)]
Add two new Windows test build slaves.

* BuildSlaveSupport/build.webkit.org-config/config.json:

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

9 years ago2010-07-09 David Kozub <zub@linux.fjfi.cvut.cz>
commit-queue@webkit.org [Fri, 9 Jul 2010 21:52:28 +0000 (21:52 +0000)]
2010-07-09  David Kozub  <zub@linux.fjfi.cvut.cz>

        Reviewed by Darin Adler.

        Fix build by adding missing html/TimeRanges.idl to CMakeLists.txt.

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

        No functional changes, thus no tests.

        * CMakeLists.txt:

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

9 years agoReviewed by David Levin.
ajwong@chromium.org [Fri, 9 Jul 2010 21:32:40 +0000 (21:32 +0000)]
Reviewed by David Levin.

rebaseline_chromium_webkit_tests missing --use_drt option on linux
https://bugs.webkit.org/show_bug.cgi?id=41985

This adds in the --use_drt option for rebaseline_chromium_webkit_tests
so that it works on linux. This is essentially a "compile-fix" for the
script.

* Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:

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

9 years agoPatch for https://bugs.webkit.org/show_bug.cgi?id=41971
weinig@apple.com [Fri, 9 Jul 2010 21:32:18 +0000 (21:32 +0000)]
Patch for https://bugs.webkit.org/show_bug.cgi?id=41971
Add really basic BackForwardList support.

Reviewed by Anders Carlsson.

* Shared/CoreIPCSupport/WebPageMessageKinds.h:
(WebPageMessage::):
Add new message kind.

* Shared/CoreIPCSupport/WebPageProxyMessageKinds.h:
(WebPageProxyMessage::):
Add new message kinds. Remove DidChangeCanGoBack and DidChangeCanGoForward.

* UIProcess/API/C/WKPage.cpp:
(WKPageGoToBackForwardListItem):
* UIProcess/API/C/WKPage.h:
Add function to initiate a navigation to a BackForward item.  The
BackForward list will be updated to use this as the current item
asynchronously.

* UIProcess/WebBackForwardList.cpp:
(WebKit::WebBackForwardList::WebBackForwardList):
(WebKit::WebBackForwardList::addItem): Added.
(WebKit::WebBackForwardList::goToItem): Added.
(WebKit::WebBackForwardList::itemAtIndex): Added.
(WebKit::WebBackForwardList::backListCount): Changed to return int matching WebCore.
(WebKit::WebBackForwardList::forwardListCount): Ditto.
(WebKit::WebBackForwardList::backListWithLimit): Add cast to int.
(WebKit::WebBackForwardList::forwardListWithLimit): Ditto.
(WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit): Ditto.
(WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit): Ditto.
* UIProcess/WebBackForwardList.h:

* UIProcess/WebBackForwardListItem.cpp:
(WebKit::WebBackForwardListItem::WebBackForwardListItem):
* UIProcess/WebBackForwardListItem.h:
(WebKit::WebBackForwardListItem::create):
(WebKit::WebBackForwardListItem::itemID):
Added itemID.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::close):
(WebKit::WebPageProxy::canGoForward):
(WebKit::WebPageProxy::canGoBack):
(WebKit::WebPageProxy::goToBackForwardItem):
(WebKit::WebPageProxy::didReceiveMessage):
(WebKit::WebPageProxy::didReceiveSyncMessage):
(WebKit::WebPageProxy::addItemToBackForwardList):
(WebKit::WebPageProxy::goToItemInBackForwardList):
(WebKit::WebPageProxy::processDidExit):
* UIProcess/WebPageProxy.h:
- Removed m_canGoBack and m_canGoForward booleans and instead use the BackForwardList.
- Forward goToBackForwardItem to the WebProcess.
- Respond to messages from the WebBackForwardListProxy in the WebProcess,
  forwarding to the WebBackForwardList.

* WebProcess/WebCoreSupport/WebBackForwardControllerClient.cpp:
(WebKit::WebBackForwardControllerClient::createBackForwardList):
Start using a WebBackForwardListProxy instead of a BackForwardListImpl.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidAddBackForwardItem):
(WebKit::WebFrameLoaderClient::dispatchDidRemoveBackForwardItem):
(WebKit::WebFrameLoaderClient::dispatchDidChangeBackForwardIndex):
Remove calls backForwardListDidChange() now that we communicate much more
information than just this state.

* WebProcess/WebPage/WebBackForwardListProxy.cpp:
(WebKit::idToHistoryItemMap):
(WebKit::historyItemToIDMap):
(WebKit::generateHistoryItemID):
(WebKit::getIDForHistoryItem):
(WebKit::WebBackForwardListProxy::itemForID):
Add leaking cached maps of HistoryItems to IDs, the life time of these
objects will be improved in a subsequent patch.

(WebKit::WebBackForwardListProxy::WebBackForwardListProxy):
(WebKit::WebBackForwardListProxy::addItem):
(WebKit::WebBackForwardListProxy::goBack):
(WebKit::WebBackForwardListProxy::goForward):
(WebKit::WebBackForwardListProxy::goToItem):
(WebKit::WebBackForwardListProxy::backItem):
(WebKit::WebBackForwardListProxy::currentItem):
(WebKit::WebBackForwardListProxy::forwardItem):
(WebKit::WebBackForwardListProxy::itemAtIndex):
(WebKit::WebBackForwardListProxy::backListWithLimit):
(WebKit::WebBackForwardListProxy::forwardListWithLimit):
(WebKit::WebBackForwardListProxy::capacity):
(WebKit::WebBackForwardListProxy::setCapacity):
(WebKit::WebBackForwardListProxy::enabled):
(WebKit::WebBackForwardListProxy::setEnabled):
(WebKit::WebBackForwardListProxy::backListCount):
(WebKit::WebBackForwardListProxy::forwardListCount):
(WebKit::WebBackForwardListProxy::containsItem):
(WebKit::WebBackForwardListProxy::close):
(WebKit::WebBackForwardListProxy::closed):
(WebKit::WebBackForwardListProxy::removeItem):
(WebKit::WebBackForwardListProxy::entries):
(WebKit::WebBackForwardListProxy::pushStateItem):
* WebProcess/WebPage/WebBackForwardListProxy.h:
Forward functions to the UIProcess.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::goToBackForwardItem):
(WebKit::WebPage::didReceiveMessage):
* WebProcess/WebPage/WebPage.h:
Respond to GoToBackForwardItem message.

* mac/WebKit2.exp: Add new API function.

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

9 years ago2010-07-09 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Fri, 9 Jul 2010 21:24:07 +0000 (21:24 +0000)]
2010-07-09  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        Remove a couple of excess writes from the lexer
        https://bugs.webkit.org/show_bug.cgi?id=41981

        Remove a couple of fields from JSTokenInfo, and rename the remaining ones
        to something more accurate

        * parser/JSParser.cpp:
        (JSC::JSParser::next):
        (JSC::JSParser::tokenStart):
        (JSC::JSParser::tokenLine):
        (JSC::JSParser::tokenEnd):
        * parser/JSParser.h:
        (JSC::JSTokenInfo::JSTokenInfo):
        * parser/Lexer.cpp:
        (JSC::Lexer::lex):

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

9 years ago2010-07-09 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 9 Jul 2010 21:21:46 +0000 (21:21 +0000)]
2010-07-09  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Implement SVG attribute case mapping for HTMLTreeBuilder
        https://bugs.webkit.org/show_bug.cgi?id=41949

        Update results now that we pass 3 more tests.

        * html5lib/runner-expected-html5.txt:
2010-07-09  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Implement SVG attribute case mapping for HTMLTreeBuilder
        https://bugs.webkit.org/show_bug.cgi?id=41949

        Tested by html5lib/runner.html.

        * html/HTMLTreeBuilder.cpp:

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

9 years agoVerify drawing coordinates, add crude painting support
andersca@apple.com [Fri, 9 Jul 2010 21:18:14 +0000 (21:18 +0000)]
Verify drawing coordinates, add crude painting support
https://bugs.webkit.org/show_bug.cgi?id=41984

Reviewed by Sam Weinig.

* WebKit2.xcodeproj/project.pbxproj:
Add NetscapePluginMac.cpp.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::NetscapePlugin):
Initialize drawing and event models.

(WebKit::NetscapePlugin::initialize):
Call platformPostInitialize.

(WebKit::NetscapePlugin::destroy):
Call NPP_Destroy.

(WebKit::NetscapePlugin::paint):
Call platformPaint.

* WebProcess/Plugins/Netscape/NetscapePlugin.h:
Add member functions.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.cpp: Added.
(WebKit::NetscapePlugin::platformPostInitialize):
Set default event and drawing models and verify that they are compatible.

(WebKit::NetscapePlugin::platformPaint):
Send a paint event (assuming the Cocoa event model currently).

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::paint):
Change the paint rect to be in window coordinates.

(WebKit::PluginView::viewGeometryDidChange):
(WebKit::PluginView::clipRectInWindowCoordinates):
* WebProcess/Plugins/PluginView.h:

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

9 years ago2010-07-09 Andy Estes <aestes@apple.com>
aestes@apple.com [Fri, 9 Jul 2010 21:04:46 +0000 (21:04 +0000)]
2010-07-09  Andy Estes  <aestes@apple.com>

        Reviewed by Adele Peterson.

        Remove the workaround for a Core Animation bug on platforms where the
        bug has been fixed.
        https://bugs.webkit.org/show_bug.cgi?id=41927
        <rdar://problem/7920153>

        * platform/graphics/mac/GraphicsLayerCA.mm:
        (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes): Add
        a compile-time check for platforms that have a Core Animation bug that
        needs working around.

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

9 years ago2010-07-09 Nico Weber <thakis@chromium.org>
thakis@chromium.org [Fri, 9 Jul 2010 20:50:07 +0000 (20:50 +0000)]
2010-07-09  Nico Weber  <thakis@chromium.org>

        Unreviewed. Adding myself as committer.

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

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

9 years agoRevert "<http://webkit.org/b/41788> commit-log-editor: wrong ChangeLog read when...
ddkilzer@apple.com [Fri, 9 Jul 2010 20:40:34 +0000 (20:40 +0000)]
Revert "<webkit.org/b/41788> commit-log-editor: wrong ChangeLog read when invoked from subdir with git"

This reverts commit r62692.

* Scripts/commit-log-editor:

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

9 years ago2010-07-08 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Fri, 9 Jul 2010 20:38:28 +0000 (20:38 +0000)]
2010-07-08  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by Ojan Vafai.

        cleanup json_results_generator dependencies so that non-layout-tests can also use it safely
        https://bugs.webkit.org/show_bug.cgi?id=38693

        Introduced a new base class JSONResultsGeneratorBase that doesn't
        have any dependency on layout_tests packages.
        Turned JSONResultsGenerator into a wrapper class of the base class
        so that the old code can work with it during the cleanup.

        Added json_results_generator_unittest.py.

        * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
        * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
        * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py: Added

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

9 years ago2010-07-09 Xiaomei Ji <xji@chromium.org>
xji@chromium.org [Fri, 9 Jul 2010 20:32:35 +0000 (20:32 +0000)]
2010-07-09  Xiaomei Ji  <xji@chromium.org>

        Reviewed by David Levin.

        Rebaseline bidi-mirror-he-ar.html and bidi-neutral-run.html for Chromium after r62965
        https://bugs.webkit.org/show_bug.cgi?id=41974

        * platform/chromium-linux/fast/text/international/bidi-mirror-he-ar-expected.checksum: Added.
        * platform/chromium-linux/fast/text/international/bidi-mirror-he-ar-expected.png: Added.
        * platform/chromium-linux/fast/text/international/bidi-mirror-he-ar-expected.txt: Added.
        * platform/chromium-linux/fast/text/international/bidi-neutral-run-expected.checksum:
        * platform/chromium-linux/fast/text/international/bidi-neutral-run-expected.png:
        * platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.txt: Added.
        * platform/chromium-win/fast/text/international/bidi-mirror-he-ar-expected.checksum: Added.
        * platform/chromium-win/fast/text/international/bidi-mirror-he-ar-expected.png: Added.
        * platform/chromium-win/fast/text/international/bidi-mirror-he-ar-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-07-08 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Fri, 9 Jul 2010 20:16:03 +0000 (20:16 +0000)]
2010-07-08  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Nate Chapin.

        Implement unloadEventEnd, loadEventStart, and loadEventEnd for Web Timing
        https://bugs.webkit.org/show_bug.cgi?id=41332

        Expectations are set to FAIL because disabled by default. Passes with --web-timing.

        * fast/dom/script-tests/webtiming.js: Added.
        (sleepFiftyMilliseconds):
        (shouldBeGreaterThanOrEqual):
        (checkTimingBeforeLoad):
        (checkWebTimingOnLoad):
        (checkWebTimingAfterLoad):
        * fast/dom/webtiming-expected.txt: Added.
        * fast/dom/webtiming.html: Added.
2010-07-08  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Nate Chapin.

        Implement unloadEventEnd, loadEventStart, and loadEventEnd for Web Timing
        https://bugs.webkit.org/show_bug.cgi?id=41332

        Test: fast/dom/webtiming.html

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::stopLoading):
        (WebCore::FrameLoader::loadWithDocumentLoader):
        * loader/FrameLoader.h:
        (WebCore::FrameLoader::frameLoadTimeline):
        * loader/FrameLoaderTypes.h:
        (WebCore::FrameLoadTimeline::FrameLoadTimeline):
        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::dispatchLoadEvent):
        * page/Timing.cpp:
        (WebCore::Timing::navigationStart):
        (WebCore::Timing::unloadEventEnd):
        (WebCore::Timing::loadEventStart):
        (WebCore::Timing::loadEventEnd):
        * page/Timing.h:
        * page/Timing.idl:

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

9 years ago2010-07-09 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Fri, 9 Jul 2010 20:13:15 +0000 (20:13 +0000)]
2010-07-09  Abhishek Arya  <inferno@chromium.org>

        Unreviewed.

        Marking myself as a committer.

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

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

9 years ago2010-07-09 Aaron Boodman <aa@chromium.org>
aa@chromium.org [Fri, 9 Jul 2010 20:05:28 +0000 (20:05 +0000)]
2010-07-09  Aaron Boodman  <aa@chromium.org>

        Reviewed by Ojan Vafai.

        Fix regression from r62876.
        https://bugs.webkit.org/show_bug.cgi?id=41928

        * platform/mac/Skipped:
        * printing/page-rule-selection.html:

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

9 years ago2010-07-09 Nico Weber <thakis@chromium.org>
thakis@chromium.org [Fri, 9 Jul 2010 19:53:52 +0000 (19:53 +0000)]
2010-07-09  Nico Weber  <thakis@chromium.org>

        Reviewed by Simon Fraser.
        https://bugs.webkit.org/show_bug.cgi?id=41580

        Fix layout test to be smaller in y direction. Also add explanatory text.

        * fast/gradients/radial-centered.html: Make divs display:inline-block.

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

9 years ago* StringsNotToBeLocalized.txt: Updated for recent changes.
darin@apple.com [Fri, 9 Jul 2010 19:45:08 +0000 (19:45 +0000)]
* StringsNotToBeLocalized.txt: Updated for recent changes.

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

9 years ago2010-07-09 Xiaomei Ji <xji@chromium.org>
xji@chromium.org [Fri, 9 Jul 2010 19:36:25 +0000 (19:36 +0000)]
2010-07-09  Xiaomei Ji  <xji@chromium.org>

        Reviewed by David Levin.

        Rebaseline bidi-mirror-he-ar.html for leopard and snowleopard.
        https://bugs.webkit.org/show_bug.cgi?id=41974

        * platform/mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.txt: Added.
        * platform/mac-snowleopard/platform/mac/fast/text: Removed.
        * platform/mac-snowleopard/platform/mac/fast/text/international: Removed.
        * platform/mac-snowleopard/platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt: Removed.
        * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt:

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

9 years agoUnreviewed, but pre-approved by Eric Seidel.
dumi@chromium.org [Fri, 9 Jul 2010 19:04:56 +0000 (19:04 +0000)]
Unreviewed, but pre-approved by Eric Seidel.

Remove all unnecessary includes from the header files in WebCore/accessibility/.
https://bugs.webkit.org/show_bug.cgi?id=41941

* accessibility/AXObjectCache.h:
* accessibility/AccessibilityListBox.cpp:
* accessibility/AccessibilityListBox.h:
* accessibility/AccessibilityMenuList.h:
* accessibility/mac/AccessibilityObjectWrapper.h:

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