WebKit.git
11 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: http://svn.webkit.org/repository/webkit/trunk@63063 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63062 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63061 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63060 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63059 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63058 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63057 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63056 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63055 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63054 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63053 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63052 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63051 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63050 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63049 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63048 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63047 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63046 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63045 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63044 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63043 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63042 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63041 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63040 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63039 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63038 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63037 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63036 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63035 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63034 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63033 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63032 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63031 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63025 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63024 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63023 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63022 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63020 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63017 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63016 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63014 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63013 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63011 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63010 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63009 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63004 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63003 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63001 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@63000 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62999 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62998 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62997 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62996 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62995 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62994 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62993 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62992 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62991 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62990 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62989 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62988 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62984 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62983 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62982 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62981 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62980 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62979 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 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: http://svn.webkit.org/repository/webkit/trunk@62978 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoNot reviewed
ajwong@chromium.org [Fri, 9 Jul 2010 19:00:54 +0000 (19:00 +0000)]
Not reviewed

[chromium] upstreaming expectations from chromium.

* platform/chromium/test_expectations.txt:

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

11 years agoNot reviewed, build fix.
ajwong@chromium.org [Fri, 9 Jul 2010 18:52:56 +0000 (18:52 +0000)]
Not reviewed, build fix.

[chromium] Update test expecations for failing tests.

* platform/chromium/test_expectations.txt:

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

11 years ago2010-07-09 Patrick Gansterer <paroga@paroga.com>
commit-queue@webkit.org [Fri, 9 Jul 2010 18:51:09 +0000 (18:51 +0000)]
2010-07-09  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by Kent Tamura.

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

        Use Clipboard.h instead of ClipboardWin.h on WinCE.

        * page/win/EventHandlerWin.cpp:

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

11 years agoPass a clip rect to the plugin and call NPP_SetWindow
andersca@apple.com [Fri, 9 Jul 2010 18:43:17 +0000 (18:43 +0000)]
Pass a clip rect to the plugin and call NPP_SetWindow
https://bugs.webkit.org/show_bug.cgi?id=41969

Reviewed by Sam Weinig.

* WebProcess/Plugins/DummyPlugin.cpp:
(WebKit::DummyPlugin::geometryDidChange):
* WebProcess/Plugins/DummyPlugin.h:
Add clip rect parameter.

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

(WebKit::NetscapePlugin::callSetWindow):
Call NPP_SetWindow.

(WebKit::NetscapePlugin::initialize):
Set the window type to NPWindowTypeDrawable for now.

(WebKit::NetscapePlugin::geometryDidChange):
Update the frame and clip rects and call NPP_SetWindow.

* WebProcess/Plugins/Netscape/NetscapePlugin.h:
Add an NPWindow member variable.

* WebProcess/Plugins/Plugin.h:
Add a clipRect parameter to geometryDidChange.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::PluginView):
Add the plug-in element to the constructor.

(WebKit::PluginView::viewGeometryDidChange):
Compute the clip rect and pass it to the plug-in.

* WebProcess/Plugins/PluginView.h:
(WebKit::PluginView::create):
Pass the plug-in element to the constructor.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::createPlugin):
Pass the plug-in element to PluginView::create.

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

11 years ago2010-07-09 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Fri, 9 Jul 2010 18:36:05 +0000 (18:36 +0000)]
2010-07-09  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r62946.
        http://trac.webkit.org/changeset/62946
        https://bugs.webkit.org/show_bug.cgi?id=41965

        AppCache inspector support should be enabled in WebKit ToT.
        (Requested by pfeldman_ on #webkit).

        * inspector/front-end/StoragePanel.js:
        (WebInspector.StoragePanel):
        (WebInspector.StoragePanel.prototype.reset):
        (WebInspector.StoragePanel.prototype.addApplicationCache):

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

11 years ago2010-07-09 François Sausset <sausset@gmail.com>
commit-queue@webkit.org [Fri, 9 Jul 2010 18:22:58 +0000 (18:22 +0000)]
2010-07-09  François Sausset  <sausset@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        Test for the newly implemented MathML mathcolor & mathbackground attributes
        https://bugs.webkit.org/show_bug.cgi?id=41895

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

        Reviewed by Kenneth Rohde Christiansen.

        Implement MathML mathcolor & mathbackground attributes
        https://bugs.webkit.org/show_bug.cgi?id=41895

        Test: mathml/presentation/attributes.xhtml

        * dom/MappedAttributeEntry.h:
        (WebCore::):
        * mathml/MathMLElement.cpp:
        (WebCore::MathMLElement::MathMLElement):
        (WebCore::MathMLElement::mapToEntry):
        (WebCore::MathMLElement::parseMappedAttribute):
        * mathml/MathMLElement.h:
        * mathml/mathattrs.in:

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

11 years agoSet the svn:mime-type property of recently-added PNG files to image/png.
mitz@apple.com [Fri, 9 Jul 2010 18:11:31 +0000 (18:11 +0000)]
Set the svn:mime-type property of recently-added PNG files to image/png.

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

11 years ago2010-07-09 Vitaly Repeshko <vitalyr@chromium.org>
vitalyr@chromium.org [Fri, 9 Jul 2010 17:53:17 +0000 (17:53 +0000)]
2010-07-09  Vitaly Repeshko  <vitalyr@chromium.org>

        Unreviewed.

        [chromium] Updating expectations.

        * platform/chromium-win/svg/batik/paints/gradientLimit-expected.txt:
        * platform/chromium-win/svg/batik/paints/patternPreserveAspectRatioA-expected.txt:
        * platform/chromium-win/svg/batik/text/textLength-expected.txt:
        * platform/chromium-win/svg/carto.net/button-expected.txt:
        * platform/chromium-win/svg/carto.net/colourpicker-expected.txt:
        * platform/chromium-win/svg/carto.net/combobox-expected.txt:
        * platform/chromium-win/svg/carto.net/slider-expected.txt:
        * platform/chromium-win/svg/carto.net/textbox-expected.txt:
        * platform/chromium-win/svg/carto.net/window-expected.txt:
        * platform/chromium-win/svg/custom/animate-path-morphing-expected.txt:
        * platform/chromium-win/svg/custom/coords-relative-units-transforms-expected.txt:
        * platform/chromium-win/svg/custom/foreign-object-skew-expected.txt:
        * platform/chromium-win/svg/custom/pattern-rotate-expected.txt:
        * platform/chromium-win/svg/custom/text-rotated-gradient-expected.txt:
        * platform/chromium-win/svg/custom/use-detach-expected.txt:
        * platform/chromium-win/svg/custom/use-font-face-crash-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-3-expected.txt:
        * platform/chromium-win/svg/custom/use-property-changes-through-svg-dom-expected.txt:
        * platform/chromium-win/svg/custom/use-referencing-nonexisting-symbol-expected.txt:
        * platform/chromium-win/svg/custom/use-transform-expected.txt:
        * platform/chromium-win/svg/hixie/text/003b-expected.txt:
        * platform/chromium-win/svg/text/foreignObject-repaint-expected.txt:
        * platform/chromium-win/svg/transforms/animated-path-inside-transformed-html-expected.txt:
        * platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt:
        * platform/chromium-win/svg/transforms/text-with-pattern-with-svg-transform-expected.txt:

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

11 years ago2010-07-09 Xiaomei Ji <xji@chromium.org>
xji@chromium.org [Fri, 9 Jul 2010 17:28:27 +0000 (17:28 +0000)]
2010-07-09  Xiaomei Ji  <xji@chromium.org>

        Reviewed by David Levin.

        Fix characters with unicode-bidi-mirror property are not correctly
        mirrored in Linux.
        https://bugs.webkit.org/show_bug.cgi?id=41305

        Since harfbuzz does not do mirroring, chromium should iterate each
        character in the string and mirror it if needed before passing the
        string to harfbuzz for shaping.

        Test: fast/text/international/bidi-mirror-he-ar.html

        * platform/graphics/chromium/FontLinux.cpp:
        (WebCore::TextRunWalker::TextRunWalker):
        (WebCore::TextRunWalker::~TextRunWalker):
        (WebCore::TextRunWalker::mirrorCharacters):

2010-07-09  Xiaomei Ji  <xji@chromium.org>

        Reviewed by David Levin.

        Fix characters with unicode-bidi-mirror property are not correctly
        mirrored in Linux.
        https://bugs.webkit.org/show_bug.cgi?id=41305

        Since harfbuzz does not do mirroring, chromium should iterate each
        character in the string and mirror it if needed before passing the
        string to harfbuzz for shaping.

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

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

11 years agoInstantiate Netscape plug-ins, pass geometry information to Plugin
andersca@apple.com [Fri, 9 Jul 2010 17:14:03 +0000 (17:14 +0000)]
Instantiate Netscape plug-ins, pass geometry information to Plugin
https://bugs.webkit.org/show_bug.cgi?id=41960

Reviewed by Simon Fraser.

WebCore:

* WebCore.exp.in:
Export ScrollView::contentsToWindow.

WebKit2:

* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
Handle NPNVsupportsCoreGraphicsBool and NPNVsupportsCocoaBool.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::NetscapePlugin):
Set npp.ndata.

(WebKit::NetscapePlugin::initialize):
Try to instantiate the plug-in by calling NPP_New.

* WebProcess/Plugins/Netscape/NetscapePlugin.h:
Store the NetscapePluginModule and the NPP struct.

* WebProcess/Plugins/Netscape/NetscapePluginModule.h:
Add a getter for the NPPluginFuncs vtable.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::frameRectsChanged):
Make sure to call viewGeometryDidChange.

(WebKit::PluginView::setParent):
Ditto.

(WebKit::PluginView::viewGeometryDidChange):
Convert the frame rect to window coordinates and pass it to the plug-in.

* WebProcess/Plugins/PluginView.h:
Add function declarations.

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

11 years ago2010-07-09 Patrick Gansterer <paroga@paroga.com>
commit-queue@webkit.org [Fri, 9 Jul 2010 17:12:26 +0000 (17:12 +0000)]
2010-07-09  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by Kent Tamura.

        [WINCE] Buildfix for FrameWince after r47440
        https://bugs.webkit.org/show_bug.cgi?id=41904

        * page/wince/FrameWince.cpp: Added property svn:eol-style.
        (WebCore::computePageRectsForFrame):
        (WebCore::imageFromSelection):

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

11 years ago2010-07-09 Vitaly Repeshko <vitalyr@chromium.org>
vitalyr@chromium.org [Fri, 9 Jul 2010 17:06:04 +0000 (17:06 +0000)]
2010-07-09  Vitaly Repeshko  <vitalyr@chromium.org>

        Reviewed by Pavel Feldman.

        [v8] Call JS gc in a fresh context to avoid retaining the current one.
        https://bugs.webkit.org/show_bug.cgi?id=41963
        http://crbug.com/46571

        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::collectGarbage):

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

11 years ago2010-07-09 Kenneth Russell <kbr@google.com>
kbr@google.com [Fri, 9 Jul 2010 16:43:38 +0000 (16:43 +0000)]
2010-07-09  Kenneth Russell  <kbr@google.com>

        Reviewed by Dimitri Glazkov.

        Crash with uniform array test
        https://bugs.webkit.org/show_bug.cgi?id=36028

        * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
        (WebCore::vertexAttribAndUniformHelperf):
        (WebCore::uniformHelperi):
        (WebCore::uniformMatrixHelper):
         - Fixed type tests and casting of incoming arrays.
        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::getUniform):
         - Fixed crash when null WebGLUniform is passed to getUniform.
2010-07-09  Kenneth Russell  <kbr@google.com>

        Reviewed by Dimitri Glazkov.

        Crash with uniform array test
        https://bugs.webkit.org/show_bug.cgi?id=36028

        * fast/canvas/webgl/gl-uniform-arrays-expected.txt:
         - Updated test expectations.
        * fast/canvas/webgl/gl-uniform-arrays.html:
         - Separated calling wrong uniform*fv entry point from calling with non-array.

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

11 years agoAX: text editing not spoken by VO on web view contenteditable textbox
cfleizach@apple.com [Fri, 9 Jul 2010 16:24:52 +0000 (16:24 +0000)]
AX:  text editing not spoken by VO on web view contenteditable textbox
https://bugs.webkit.org/show_bug.cgi?id=41912

Reviewed by Darin Adler.

WebCore:

Test: platform/mac/accessibility/selection-value-changes-for-aria-textbox.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::renderObjectIsObservable):

LayoutTests:

* platform/mac/accessibility/selection-value-changes-for-aria-textbox-expected.txt: Added.
* platform/mac/accessibility/selection-value-changes-for-aria-textbox.html: Added.

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

11 years ago2010-07-08 Diego Gonzalez <diegohcg@webkit.org>
diegohcg@webkit.org [Fri, 9 Jul 2010 16:14:32 +0000 (16:14 +0000)]
2010-07-08  Diego Gonzalez  <diegohcg@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] [WebKit2] Make QWKPage call _q_webActionTriggered as a private slot
        https://bugs.webkit.org/show_bug.cgi?id=41880

        * UIProcess/API/qt/qwkpage.cpp:
        * UIProcess/API/qt/qwkpage.h:

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

11 years ago2010-07-09 Vitaly Repeshko <vitalyr@chromium.org>
vitalyr@chromium.org [Fri, 9 Jul 2010 16:05:40 +0000 (16:05 +0000)]
2010-07-09  Vitaly Repeshko  <vitalyr@chromium.org>

        Unreviewed.

        [chromium] Updating expectations.

        * platform/chromium-linux/svg/batik/paints/patternRegions-expected.txt:
        * platform/chromium-linux/svg/batik/text/textOnPath-expected.txt:
        * platform/chromium-linux/svg/batik/text/textPosition-expected.txt:
        * platform/chromium-linux/svg/batik/text/textPosition2-expected.txt:
        * platform/chromium-linux/svg/batik/text/verticalTextOnPath-expected.txt:
        * platform/chromium-linux/svg/css/text-shadow-multiple-expected.txt: Removed.
        * platform/chromium-linux/svg/custom/image-with-transform-clip-filter-expected.txt:
        * platform/chromium-linux/svg/custom/repaint-moving-svg-and-div-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/stroke-width-large-expected.txt:
        * platform/chromium-linux/svg/hixie/perf/001-expected.txt:
        * platform/chromium-linux/svg/hixie/perf/002-expected.txt:
        * platform/chromium-linux/svg/hixie/perf/007-expected.txt:
        * platform/chromium-linux/svg/hixie/text/003a-expected.txt:
        * platform/chromium-linux/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt:
        * platform/chromium-linux/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt:
        * platform/chromium-linux/svg/text/select-textLength-spacing-stretch-1-expected.txt:
        * platform/chromium-linux/svg/text/select-textLength-spacing-stretch-2-expected.txt:
        * platform/chromium-linux/svg/text/select-textLength-spacing-stretch-3-expected.txt:
        * platform/chromium-linux/svg/text/select-textLength-spacing-stretch-4-expected.txt:
        * platform/chromium-linux/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt:
        * platform/chromium-linux/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt:
        * platform/chromium-linux/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt:
        * platform/chromium-linux/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt:
        * platform/chromium-linux/svg/text/selection-doubleclick-expected.txt:
        * platform/chromium-mac/fast/dom/prototype-inheritance-expected.txt: Added.
        * platform/chromium-mac/html5lib/runner-expected.txt:
        * platform/chromium-mac/ietestcenter/Javascript/15.5.4.20-1-1-expected.txt: Added.
        * platform/chromium-mac/ietestcenter/Javascript/15.5.4.20-1-2-expected.txt: Added.
        * platform/chromium-mac/plugins/clicking-missing-plugin-fires-delegate-expected.txt: Added.
        * platform/chromium-mac/svg/clip-path/clip-path-childs-clipped-expected.txt: Removed.
        * platform/chromium-mac/svg/clip-path/clip-path-clipped-expected.txt: Removed.
        * platform/chromium-mac/svg/clip-path/clip-path-evenodd-expected.txt: Removed.
        * platform/chromium-mac/svg/clip-path/clip-path-evenodd-nonzero-expected.txt: Removed.
        * platform/chromium-mac/svg/clip-path/clip-path-nonzero-evenodd-expected.txt: Removed.
        * platform/chromium-mac/svg/custom/clip-path-referencing-use2-expected.txt:
        * platform/chromium-mac/svg/custom/createelement-expected.txt:
        * platform/chromium-mac/svg/custom/junk-data-expected.txt:
        * platform/chromium-mac/svg/custom/missing-xlink-expected.txt:
        * platform/chromium-mac/svg/custom/repaint-moving-svg-and-div-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/repaint-moving-svg-and-div-expected.png: Added.
        * platform/chromium-mac/userscripts/user-script-top-frame-only-expected.txt: Added.
        * platform/chromium-mac/userscripts/user-style-top-frame-only-expected.txt: Added.
        * platform/chromium-win-xp/svg/batik/text/textFeatures-expected.txt:
        * platform/chromium-win/fast/dom/prototype-inheritance-expected.txt: Added.
        * platform/chromium-win/html5lib/runner-expected.txt:
        * platform/chromium-win/ietestcenter/Javascript/15.5.4.20-1-1-expected.txt: Added.
        * platform/chromium-win/ietestcenter/Javascript/15.5.4.20-1-2-expected.txt: Added.
        * platform/chromium-win/plugins/clicking-missing-plugin-fires-delegate-expected.txt: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-frag-03-t-expected.txt:
        * platform/chromium-win/svg/batik/filters/feTile-expected.txt:
        * platform/chromium-win/svg/batik/filters/filterRegions-expected.txt:
        * platform/chromium-win/svg/batik/masking/maskRegions-expected.txt:
        * platform/chromium-win/svg/batik/paints/patternRegionA-expected.txt:
        * platform/chromium-win/svg/batik/paints/patternRegions-expected.txt:
        * platform/chromium-win/svg/batik/text/longTextOnPath-expected.txt:
        * platform/chromium-win/svg/batik/text/textAnchor-expected.txt:
        * platform/chromium-win/svg/batik/text/textAnchor2-expected.txt:
        * platform/chromium-win/svg/batik/text/textAnchor3-expected.txt:
        * platform/chromium-win/svg/batik/text/textDecoration-expected.txt:
        * platform/chromium-win/svg/batik/text/textDecoration2-expected.txt:
        * platform/chromium-win/svg/batik/text/textEffect-expected.txt:
        * platform/chromium-win/svg/batik/text/textEffect2-expected.txt:
        * platform/chromium-win/svg/batik/text/textEffect3-expected.txt:
        * platform/chromium-win/svg/batik/text/textFeatures-expected.txt:
        * platform/chromium-win/svg/batik/text/textGlyphOrientationHorizontal-expected.txt:
        * platform/chromium-win/svg/batik/text/textLayout-expected.txt:
        * platform/chromium-win/svg/batik/text/textLayout2-expected.txt:
        * platform/chromium-win/svg/batik/text/textOnPath-expected.txt:
        * platform/chromium-win/svg/batik/text/textOnPath2-expected.txt:
        * platform/chromium-win/svg/batik/text/textOnPath3-expected.txt:
        * platform/chromium-win/svg/batik/text/textOnPathSpaces-expected.txt:
        * platform/chromium-win/svg/batik/text/textPCDATA-expected.txt:
        * platform/chromium-win/svg/batik/text/textPosition-expected.txt:
        * platform/chromium-win/svg/batik/text/textPosition2-expected.txt:
        * platform/chromium-win/svg/batik/text/textProperties-expected.txt:
        * platform/chromium-win/svg/batik/text/textProperties2-expected.txt:
        * platform/chromium-win/svg/batik/text/textStyles-expected.txt:
        * platform/chromium-win/svg/batik/text/verticalText-expected.txt:
        * platform/chromium-win/svg/batik/text/verticalTextOnPath-expected.txt:
        * platform/chromium-win/svg/batik/text/xmlSpace-expected.txt:
        * platform/chromium-win/svg/carto.net/scrollbar-expected.txt:
        * platform/chromium-win/svg/carto.net/selectionlist-expected.txt:
        * platform/chromium-win/svg/clip-path/clip-path-childs-clipped-expected.txt: Removed.
        * platform/chromium-win/svg/clip-path/clip-path-clipped-expected.txt: Removed.
        * platform/chromium-win/svg/clip-path/clip-path-evenodd-expected.txt: Removed.
        * platform/chromium-win/svg/clip-path/clip-path-evenodd-nonzero-expected.txt: Removed.
        * platform/chromium-win/svg/clip-path/clip-path-nonzero-evenodd-expected.txt: Removed.
        * platform/chromium-win/svg/clip-path/clip-path-text-and-shape-expected.txt:
        * platform/chromium-win/svg/clip-path/clip-path-text-and-stroke-expected.txt:
        * platform/chromium-win/svg/clip-path/clip-path-text-expected.txt:
        * platform/chromium-win/svg/clip-path/clip-path-with-text-clipped-expected.txt:
        * platform/chromium-win/svg/css/group-with-shadow-expected.txt:
        * platform/chromium-win/svg/css/text-shadow-multiple-expected.txt:
        * platform/chromium-win/svg/custom/SVGMatrix-interface-expected.txt:
        * platform/chromium-win/svg/custom/SVGPoint-matrixTransform-expected.txt:
        * platform/chromium-win/svg/custom/alignment-baseline-modes-expected.txt:
        * platform/chromium-win/svg/custom/altglyph-expected.txt:
        * platform/chromium-win/svg/custom/circle-move-invalidation-expected.txt:
        * platform/chromium-win/svg/custom/clip-path-referencing-use-expected.txt:
        * platform/chromium-win/svg/custom/clip-path-referencing-use2-expected.txt:
        * platform/chromium-win/svg/custom/clone-element-with-animated-svg-properties-expected.txt:
        * platform/chromium-win/svg/custom/container-opacity-clip-viewBox-expected.txt:
        * platform/chromium-win/svg/custom/createImageElement2-expected.txt:
        * platform/chromium-win/svg/custom/createelement-expected.txt:
        * platform/chromium-win/svg/custom/dominant-baseline-modes-expected.txt:
        * platform/chromium-win/svg/custom/empty-clip-path-expected.txt:
        * platform/chromium-win/svg/custom/empty-mask-expected.txt:
        * platform/chromium-win/svg/custom/feComponentTransfer-Discrete-expected.txt:
        * platform/chromium-win/svg/custom/feComponentTransfer-Gamma-expected.txt:
        * platform/chromium-win/svg/custom/feComponentTransfer-Linear-expected.txt:
        * platform/chromium-win/svg/custom/feComponentTransfer-Table-expected.txt:
        * platform/chromium-win/svg/custom/fill-fallback-expected.txt:
        * platform/chromium-win/svg/custom/focus-ring-expected.txt:
        * platform/chromium-win/svg/custom/font-face-cascade-order-expected.txt:
        * platform/chromium-win/svg/custom/font-face-simple-expected.txt:
        * platform/chromium-win/svg/custom/foreignObject-crash-on-hover-expected.txt:
        * platform/chromium-win/svg/custom/getTransformToElement-expected.txt:
        * platform/chromium-win/svg/custom/gradient-cycle-detection-expected.txt:
        * platform/chromium-win/svg/custom/gradient-deep-referencing-expected.txt:
        * platform/chromium-win/svg/custom/hit-test-unclosed-subpaths-expected.txt:
        * platform/chromium-win/svg/custom/image-small-width-height-expected.txt:
        * platform/chromium-win/svg/custom/image-with-transform-clip-filter-expected.txt:
        * platform/chromium-win/svg/custom/invalid-css-expected.txt:
        * platform/chromium-win/svg/custom/invalid-fill-expected.txt:
        * platform/chromium-win/svg/custom/invalid-fill-hex-expected.txt:
        * platform/chromium-win/svg/custom/invalid-lengthlist-expected.txt:
        * platform/chromium-win/svg/custom/js-late-clipPath-and-object-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-clipPath-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-gradient-and-object-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-gradient-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-pattern-and-object-creation-expected.txt:
        * platform/chromium-win/svg/custom/js-late-pattern-creation-expected.txt:
        * platform/chromium-win/svg/custom/junk-data-expected.txt:
        * platform/chromium-win/svg/custom/marker-default-width-height-expected.txt:
        * platform/chromium-win/svg/custom/marker-overflow-clip-expected.txt:
        * platform/chromium-win/svg/custom/mask-invalidation-expected.txt:
        * platform/chromium-win/svg/custom/missing-xlink-expected.txt:
        * platform/chromium-win/svg/custom/non-opaque-filters-expected.txt:
        * platform/chromium-win/svg/custom/path-bad-data-expected.txt:
        * platform/chromium-win/svg/custom/path-textPath-simulation-expected.txt:
        * platform/chromium-win/svg/custom/pattern-cycle-detection-expected.txt:
        * platform/chromium-win/svg/custom/pattern-deep-referencing-expected.txt:
        * platform/chromium-win/svg/custom/pattern-with-transformation-expected.txt:
        * platform/chromium-win/svg/custom/pointer-events-image-expected.txt:
        * platform/chromium-win/svg/custom/pointer-events-path-expected.txt:
        * platform/chromium-win/svg/custom/pointer-events-text-expected.txt:
        * platform/chromium-win/svg/custom/preserve-aspect-ratio-syntax-expected.txt:
        * platform/chromium-win/svg/custom/relative-sized-deep-shadow-tree-content-expected.txt:
        * platform/chromium-win/svg/custom/relative-sized-inner-svg-expected.txt:
        * platform/chromium-win/svg/custom/relative-sized-use-on-symbol-expected.txt:
        * platform/chromium-win/svg/custom/relative-sized-use-without-attributes-on-symbol-expected.txt:
        * platform/chromium-win/svg/custom/repaint-moving-svg-and-div-expected.checksum: Added.
        * platform/chromium-win/svg/custom/repaint-moving-svg-and-div-expected.png: Added.
        * platform/chromium-win/svg/custom/second-inline-text-expected.txt:
        * platform/chromium-win/svg/custom/shape-rendering-expected.txt:
        * platform/chromium-win/svg/custom/shapes-supporting-markers-expected.txt:
        * platform/chromium-win/svg/custom/stroke-fallback-expected.txt:
        * platform/chromium-win/svg/custom/stroke-width-large-expected.txt:
        * platform/chromium-win/svg/custom/stroked-pattern-expected.txt:
        * platform/chromium-win/svg/custom/style-attribute-font-size-expected.txt:
        * platform/chromium-win/svg/custom/svg-curve-with-relative-cordinates-expected.txt:
        * platform/chromium-win/svg/custom/svg-float-border-padding-expected.txt:
        * platform/chromium-win/svg/custom/text-clip-expected.txt:
        * platform/chromium-win/svg/custom/text-ctm-expected.txt:
        * platform/chromium-win/svg/custom/text-decoration-visibility-expected.txt:
        * platform/chromium-win/svg/custom/text-filter-expected.txt:
        * platform/chromium-win/svg/custom/text-hit-test-expected.txt:
        * platform/chromium-win/svg/custom/text-image-opacity-expected.txt:
        * platform/chromium-win/svg/custom/text-letter-spacing-expected.txt:
        * platform/chromium-win/svg/custom/text-linking-expected.txt:
        * platform/chromium-win/svg/custom/text-repaint-including-stroke-expected.txt:
        * platform/chromium-win/svg/custom/text-whitespace-handling-expected.txt:
        * platform/chromium-win/svg/custom/text-x-dx-lists-expected.txt:
        * platform/chromium-win/svg/custom/text-x-override-in-tspan-child-expected.txt:
        * platform/chromium-win/svg/custom/text-xy-updates-SVGList-expected.txt:
        * platform/chromium-win/svg/custom/text-xy-updates-expected.txt:
        * platform/chromium-win/svg/custom/tref-update-expected.txt:
        * platform/chromium-win/svg/custom/use-clipped-hit-expected.txt:
        * platform/chromium-win/svg/custom/use-dynamic-append-expected.txt:
        * platform/chromium-win/svg/custom/use-elementInstance-event-target-expected.txt:
        * platform/chromium-win/svg/custom/use-elementInstance-methods-expected.txt:
        * platform/chromium-win/svg/custom/use-event-handler-on-referenced-element-expected.txt:
        * platform/chromium-win/svg/custom/use-event-handler-on-use-element-expected.txt:
        * platform/chromium-win/svg/custom/use-events-crash-expected.txt:
        * platform/chromium-win/svg/custom/use-instanceRoot-modifications-expected.txt:
        * platform/chromium-win/svg/custom/use-modify-container-in-target-expected.txt:
        * platform/chromium-win/svg/custom/use-modify-target-container-expected.txt:
        * platform/chromium-win/svg/custom/use-modify-target-symbol-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-1-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-2-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-4-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-5-expected.txt:
        * platform/chromium-win/svg/custom/use-on-disallowed-foreign-object-6-expected.txt:
        * platform/chromium-win/svg/custom/use-on-g-containing-symbol-expected.txt:
        * platform/chromium-win/svg/custom/use-on-g-containing-use-expected.txt:
        * platform/chromium-win/svg/custom/use-on-g-expected.txt:
        * platform/chromium-win/svg/custom/use-on-non-svg-namespaced-element-expected.txt:
        * platform/chromium-win/svg/custom/use-on-rect-expected.txt:
        * platform/chromium-win/svg/custom/use-on-symbol-expected.txt:
        * platform/chromium-win/svg/custom/use-on-symbol-inside-pattern-expected.txt:
        * platform/chromium-win/svg/custom/use-on-text-expected.txt:
        * platform/chromium-win/svg/custom/use-on-use-expected.txt:
        * platform/chromium-win/svg/custom/use-property-changes-through-dom-expected.txt:
        * platform/chromium-win/svg/custom/use-recursion-1-expected.txt:
        * platform/chromium-win/svg/custom/use-recursion-2-expected.txt:
        * platform/chromium-win/svg/custom/use-recursion-3-expected.txt:
        * platform/chromium-win/svg/custom/use-recursion-4-expected.txt:
        * platform/chromium-win/svg/custom/use-setAttribute-crash-expected.txt:
        * platform/chromium-win/svg/custom/viewbox-syntax-expected.txt:
        * platform/chromium-win/svg/custom/viewport-em-expected.txt:
        * platform/chromium-win/svg/filters/feColorMatrix-values-expected.txt:
        * platform/chromium-win/svg/filters/feComposite-expected.txt:
        * platform/chromium-win/svg/filters/filter-on-filter-for-text-expected.txt:
        * platform/chromium-win/svg/filters/filter-on-tspan-expected.txt:
        * platform/chromium-win/svg/filters/filter-width-update-expected.txt:
        * platform/chromium-win/svg/filters/sourceAlpha-expected.txt:
        * platform/chromium-win/svg/foreignObject/no-crash-with-svg-content-in-html-document-expected.txt:
        * platform/chromium-win/svg/foreignObject/svg-document-as-direct-child-expected.txt:
        * platform/chromium-win/svg/foreignObject/svg-document-in-html-document-expected.txt:
        * platform/chromium-win/svg/hixie/data-types/002-expected.txt:
        * platform/chromium-win/svg/hixie/dynamic/002-expected.txt:
        * platform/chromium-win/svg/hixie/error/002-expected.txt:
        * platform/chromium-win/svg/hixie/error/010-expected.txt:
        * platform/chromium-win/svg/hixie/error/011-expected.txt:
        * platform/chromium-win/svg/hixie/error/012-expected.txt:
        * platform/chromium-win/svg/hixie/error/013-expected.txt:
        * platform/chromium-win/svg/hixie/error/017-expected.txt:
        * platform/chromium-win/svg/hixie/links/002-expected.txt:
        * platform/chromium-win/svg/hixie/links/003-broken-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/003-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/004-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/005-expected.txt:
        * platform/chromium-win/svg/hixie/mixed/011-expected.txt:
        * platform/chromium-win/svg/hixie/perf/001-expected.txt:
        * platform/chromium-win/svg/hixie/perf/002-expected.txt:
        * platform/chromium-win/svg/hixie/perf/007-expected.txt:
        * platform/chromium-win/svg/hixie/shapes/path/001-expected.txt:
        * platform/chromium-win/svg/hixie/text/002-expected.txt:
        * platform/chromium-win/svg/hixie/text/003a-expected.txt:
        * platform/chromium-win/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt:
        * platform/chromium-win/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt:
        * platform/chromium-win/svg/text/foreignObject-text-clipping-bug-expected.txt:
        * platform/chromium-win/svg/text/kerning-expected.txt:
        * platform/chromium-win/svg/text/multichar-glyph-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacing-squeeze-1-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacing-squeeze-2-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacing-squeeze-3-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacing-squeeze-4-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacing-stretch-1-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacing-stretch-2-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacing-stretch-3-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacing-stretch-4-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacingAndGlyphs-stretch-2-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacingAndGlyphs-stretch-3-expected.txt:
        * platform/chromium-win/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt:
        * platform/chromium-win/svg/text/select-x-list-1-expected.txt:
        * platform/chromium-win/svg/text/select-x-list-2-expected.txt:
        * platform/chromium-win/svg/text/select-x-list-3-expected.txt:
        * platform/chromium-win/svg/text/select-x-list-4-expected.txt:
        * platform/chromium-win/svg/text/select-x-list-with-tspans-1-expected.txt:
        * platform/chromium-win/svg/text/select-x-list-with-tspans-2-expected.txt:
        * platform/chromium-win/svg/text/select-x-list-with-tspans-3-expected.txt:
        * platform/chromium-win/svg/text/select-x-list-with-tspans-4-expected.txt:
        * platform/chromium-win/svg/text/selection-background-color-expected.txt:
        * platform/chromium-win/svg/text/selection-doubleclick-expected.txt:
        * platform/chromium-win/svg/text/selection-styles-expected.txt:
        * platform/chromium-win/svg/text/selection-tripleclick-expected.txt:
        * platform/chromium-win/svg/text/text-gradient-positioning-expected.txt:
        * platform/chromium-win/svg/text/text-repaint-rects-expected.txt:
        * platform/chromium-win/svg/text/textPathBoundsBug-expected.txt:
        * platform/chromium-win/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt:
        * platform/chromium-win/svg/zoom/page/zoom-foreignObject-expected.txt:
        * platform/chromium-win/svg/zoom/page/zoom-svg-float-border-padding-expected.txt:
        * platform/chromium-win/svg/zoom/text/zoom-foreignObject-expected.txt:
        * platform/chromium-win/svg/zoom/text/zoom-svg-float-border-padding-expected.txt:
        * platform/chromium-win/transforms/svg-vs-css-expected.txt:
        * platform/chromium-win/userscripts/user-script-top-frame-only-expected.txt: Added.
        * platform/chromium-win/userscripts/user-style-top-frame-only-expected.txt: Added.

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

11 years ago2010-07-09 Michael Nordman <michaeln@google.com>
commit-queue@webkit.org [Fri, 9 Jul 2010 15:55:57 +0000 (15:55 +0000)]
2010-07-09  Michael Nordman  <michaeln@google.com>

        Reviewed by Dumitru Daniliuc.

        Add a layout test to verify the expected number of progress events are raised by the appcache,
        and that those events have properly set 'lengthComputable', 'loaded', and 'total' attributes.
        Also update a couple of other tests that depend on counting the number of progress events to
        determine success or failure to now expect the additional final progress event that is being
        raised.
        https://bugs.webkit.org/show_bug.cgi?id=37602

        * http/tests/appcache/foreign-iframe-main-expected.txt:
        * http/tests/appcache/progress-counter-expected.txt: Added.
        * http/tests/appcache/progress-counter.html: Added.
        * http/tests/appcache/resources/different-https-origin-resource.html:
        * http/tests/appcache/resources/progress-counter.manifest: Added.
2010-07-09  Michael Nordman  <michaeln@google.com>

        Reviewed by Dumitru Daniliuc.

        Use class ProgressEvent when raising appcache related progress events and
        set the 'total', 'loaded', and 'lengthComputable' attributes.
        Also raise the final progress event with the 'total' and 'loaded' attribute
        values are equal to one another to keep pace with the spec for this feature.
        https://bugs.webkit.org/show_bug.cgi?id=37602

        Test: http/tests/appcache/progress-counter.html

        * loader/appcache/ApplicationCacheGroup.cpp:
        (WebCore::ApplicationCacheGroup::ApplicationCacheGroup):
        (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
        (WebCore::ApplicationCacheGroup::checkIfLoadIsComplete):
        (WebCore::ApplicationCacheGroup::startLoadingEntry):
        (WebCore::CallCacheListenerTask::create):
        (WebCore::CallCacheListenerTask::performTask):
        (WebCore::CallCacheListenerTask::CallCacheListenerTask):
        (WebCore::ApplicationCacheGroup::postListenerTask):
        * loader/appcache/ApplicationCacheGroup.h:
        (WebCore::ApplicationCacheGroup::postListenerTask):
        * loader/appcache/ApplicationCacheHost.cpp:
        (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
        (WebCore::ApplicationCacheHost::stopDeferringEvents):
        (WebCore::ApplicationCacheHost::dispatchDOMEvent):
        * loader/appcache/ApplicationCacheHost.h:
        (WebCore::ApplicationCacheHost::DeferredEvent::DeferredEvent):
2010-07-09  Michael Nordman  <michaeln@google.com>

        Reviewed by Dumitru Daniliuc.

        Use class ProgressEvent when raising appcache related progress events and
        set the 'total', 'loaded', and 'lengthComputable' attributes.
        Also raise the final progress event with the 'total' and 'loaded' attribute
        values are equal to one another to keep pace with the spec for this feature.
        https://bugs.webkit.org/show_bug.cgi?id=37602

        * src/ApplicationCacheHost.cpp:
        (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
        (WebCore::ApplicationCacheHost::stopDeferringEvents):
        (WebCore::ApplicationCacheHost::dispatchDOMEvent):
        * src/ApplicationCacheHostInternal.h:
        (WebCore::ApplicationCacheHostInternal::notifyEventListener):
        (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener):

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

11 years ago2010-07-09 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>
commit-queue@webkit.org [Fri, 9 Jul 2010 15:39:34 +0000 (15:39 +0000)]
2010-07-09  Kenneth Rohde Christiansen  <kenneth.christiansen@openbossa.org>

        Reviewed by Antti Koivisto.

        Implement MiniBrowser for Qt.
        https://bugs.webkit.org/show_bug.cgi?id=40233

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

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

11 years ago2010-07-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
commit-queue@webkit.org [Fri, 9 Jul 2010 15:26:16 +0000 (15:26 +0000)]
2010-07-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

        Reviewed by Gustavo Noronha Silva.

        Bug 41340 - [GStreamer] Subtle race condition during seeks
        https://bugs.webkit.org/show_bug.cgi?id=41340

        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
        (webKitWebSrcStop):
        (webKitWebSrcNeedDataMainCb):
        (webKitWebSrcNeedDataCb):
        (webKitWebSrcEnoughDataMainCb):
        (webKitWebSrcEnoughDataCb):
        (webKitWebSrcSeekDataCb):
        (StreamingClient::didFinishLoading):
        Fix two subtle race conditions that can happen during seeks:
        - The timeout callback could be called before the callback ID is
          assigned to the instance private data. This causes the ID to
          be set after the callback has finished and breaks all future
          processing.
        - The source must not go EOS while a seek is pending because
          this confuses appsrc due to the different threads involved here.

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

11 years ago[Qt] Removed hard-coded enabled default of video support
hausmann@webkit.org [Fri, 9 Jul 2010 15:06:29 +0000 (15:06 +0000)]
[Qt] Removed hard-coded enabled default of video support

Reviewed by Tor Arne Vestbø.

Properly detect video/audio instead of defaulting to true.Properly detect video/audio instead of defaulting to true.Properly detect video/audio instead of defaulting to true.Properly detect video/audio instead of defaulting to true.

* WebCore.pri:

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

11 years ago[Qt] Prospective build fix.
hausmann@webkit.org [Fri, 9 Jul 2010 14:59:09 +0000 (14:59 +0000)]
[Qt] Prospective build fix.

Reviewed by Tor Arne Vestbø.

Moved the media element detection from WebCore.pro into WebCore.pri, where
all the features are detected. This is also used by build-webkit to determine
the defaults, which may be the reason for the build breakage.

* WebCore.pri:
* WebCore.pro:

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

11 years ago[Arm] Missing NaN check in XPath substring function
benm@google.com [Fri, 9 Jul 2010 14:53:59 +0000 (14:53 +0000)]
[Arm] Missing NaN check in XPath substring function
https://bugs.webkit.org/show_bug.cgi?id=41862

Reviewed by Steve Block.

WebCore:

Test: fast/xpath/substring-nan-position.html

* xml/XPathFunctions.cpp:
(WebCore::XPath::FunSubstring::evaluate): Add an isnan()
    to the value returned from evaluating the position
    argument and early out and return the empty string.

LayoutTests:

This layout test checks for the case described in the bug
and some related edge cases that do currently already pass
but only through a fluke.

* fast/xpath/substring-nan-position-expected.txt: Added.
* fast/xpath/substring-nan-position.html: Added.

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

11 years ago[Qt] Re-enable support for QtMultimediaKit as backend for the media elements
hausmann@webkit.org [Fri, 9 Jul 2010 14:47:39 +0000 (14:47 +0000)]
[Qt] Re-enable support for QtMultimediaKit as backend for the media elements

Reviewed by Tor Arne Vestbø.

Experimental support is re-enabled if QtMobility is available and the Qt
version is 4.7 or above.

* WebCore.pro:
* platform/graphics/MediaPlayer.cpp:
* platform/graphics/qt/MediaPlayerPrivateQt.cpp:
(WebCore::MediaPlayerPrivate::supportsType): Adapt to latest QtMultimediaKit API changes.
(WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
(WebCore::MediaPlayerPrivate::totalBytes):

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

11 years ago2010-07-09 David Holloway <dhollowa@chromium.org>
commit-queue@webkit.org [Fri, 9 Jul 2010 14:28:03 +0000 (14:28 +0000)]
2010-07-09  David Holloway  <dhollowa@chromium.org>

        Reviewed by Dimitri Glazkov.

        Roll Chromium DEPS forward to r51736.
        https://bugs.webkit.org/show_bug.cgi?id=41867

        * DEPS:

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

11 years ago2010-07-09 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Fri, 9 Jul 2010 14:17:25 +0000 (14:17 +0000)]
2010-07-09  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: do not show default tooltip when detailed network info is available.

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

        * English.lproj/localizedStrings.js:
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel):
        (WebInspector.ResourcesPanel.prototype.reset):
        (WebInspector.ResourcesPanel.prototype.showResource):
        (WebInspector.ResourcesPanel.prototype._getPopoverAnchor):
        (WebInspector.ResourcesPanel.prototype._showPopover):
        (WebInspector.ResourceTimeCalculator.prototype.computeBarGraphLabels):

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

11 years ago2010-07-09 François Sausset <sausset@gmail.com>
commit-queue@webkit.org [Fri, 9 Jul 2010 14:11:14 +0000 (14:11 +0000)]
2010-07-09  François Sausset  <sausset@gmail.com>

        Reviewed by Beth Dakin.

        Add test to be sure that only <mi> elements use italic fonts by default.
        Update test with fractions to take into account the correct behaviour of mtext (regular instead of italic).
        https://bugs.webkit.org/show_bug.cgi?id=41626

        * mathml/presentation/tokenElements.xhtml: Added.
        * 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/tokenElements-expected.checksum: Added.
        * platform/mac/mathml/presentation/tokenElements-expected.png: Added.
        * platform/mac/mathml/presentation/tokenElements-expected.txt: Added.
2010-07-09  François Sausset  <sausset@gmail.com>

        Reviewed by Beth Dakin.

        Correct the default font variant of mtext (regular instead of italic).
        https://bugs.webkit.org/show_bug.cgi?id=41626

        Add test to be sure that only <mi> elements use italic fonts by default.
        Update test with fractions to take into account the correct behaviour of mtext (regular instead of italic).

        * css/mathml.css:
        (mi):

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

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

        Reviewed by Dimitri Glazkov.

        Implement performance.navigation.type
        https://bugs.webkit.org/show_bug.cgi?id=41564

        Expectations set to FAIL because disabled by default. Tests pass with --web-timing.

        * fast/dom/navigation-type-back-forward-expected.txt: Added.
        * fast/dom/navigation-type-back-forward.html: Added.
        * fast/dom/navigation-type-navigate-expected.txt: Added.
        * fast/dom/navigation-type-navigate.html: Added.
        * fast/dom/navigation-type-reload-expected.txt: Added.
        * fast/dom/navigation-type-reload.html: Added.
        * fast/dom/resources/navigation-type-matches-querystring.html: Added.
2010-07-09  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Dimitri Glazkov.

        Implement performance.navigation.type
        https://bugs.webkit.org/show_bug.cgi?id=41564

        Tests: fast/dom/navigation-type-back-forward.html
               fast/dom/navigation-type-navigate.html
               fast/dom/navigation-type-reload.html

        * page/Navigation.cpp:
        (WebCore::Navigation::type):
        * page/Navigation.h:
        (WebCore::Navigation::):
        * page/Navigation.idl:

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

11 years ago2010-07-09 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Fri, 9 Jul 2010 13:45:47 +0000 (13:45 +0000)]
2010-07-09  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: hide AppCache until implemented.

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

        * inspector/front-end/StoragePanel.js:
        (WebInspector.StoragePanel):
        (WebInspector.StoragePanel.prototype.reset):
        (WebInspector.StoragePanel.prototype.addApplicationCache):

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

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

        Reviewed by Kenneth Rohde Christiansen.

        Set the good default behaviour for the columalign attribute on MathML mtable element
        https://bugs.webkit.org/show_bug.cgi?id=41631

        Test updated.

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

        Reviewed by Kenneth Rohde Christiansen.

        Set the good default behaviour for the columalign attribute on MathML mtable element
        https://bugs.webkit.org/show_bug.cgi?id=41631

        Test update: mathml/tables.xhtml

        * css/mathml.css:
        (math):

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

11 years ago2010-07-09 Sheriff Bot <webkit.review.bot@gmail.com>
zimmermann@webkit.org [Fri, 9 Jul 2010 12:42:16 +0000 (12:42 +0000)]
2010-07-09  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r62937.
        http://trac.webkit.org/changeset/62937
        https://bugs.webkit.org/show_bug.cgi?id=41955

        Crashes SnowLeopard leaks and Windows debug bot in fast/xsl
        /xslt-relative-path.xml, with assertion in
        XSLTProcessorLibxslt.cpp:264 (Requested by WildFox on
        #webkit).

        * xml/XSLTProcessor.h:
        (WebCore::XSLTProcessor::XSLTProcessor):
        * xml/XSLTProcessorLibxslt.cpp:
        (WebCore::docLoaderFunc):
        (WebCore::setXSLTLoadCallBack):
        (WebCore::xsltStylesheetPointer):
        (WebCore::XSLTProcessor::transformToString):

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

11 years ago2010-07-09 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Fri, 9 Jul 2010 12:08:00 +0000 (12:08 +0000)]
2010-07-09  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed.

        RenderSVGRoot does not include border/padding while repainting
        https://bugs.webkit.org/show_bug.cgi?id=41854

        Add mac-tiger specific results. That should mark the end of the journey.

        * platform/mac-tiger/svg/hixie/text/003-expected.txt:
        * platform/mac-tiger/svg/hixie/text/003a-expected.txt:
        * platform/mac-tiger/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt:
        * platform/mac-tiger/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt:

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

11 years ago2010-07-09 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Fri, 9 Jul 2010 12:05:38 +0000 (12:05 +0000)]
2010-07-09  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: chromium build fix.

        * public/WebGLES2Context.h:

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