WebKit.git
11 years ago2010-09-23 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 23 Sep 2010 22:26:42 +0000 (22:26 +0000)]
2010-09-23  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Tony Chang.

        [Chromium] traversal/node-iterator-prototype.html has incorrect baselines
        https://bugs.webkit.org/show_bug.cgi?id=46413

        Chromium/V8 actually gets this test right (unlike JSC), but had
        incorrect baselines for it checked in by r58524.

        * platform/chromium-mac/traversal/node-iterator-prototype-expected.txt: Removed.
        * platform/chromium-win/traversal/node-iterator-prototype-expected.txt: Removed.
        * platform/chromium/test_expectations.txt:
        * platform/chromium/traversal/node-iterator-prototype-expected.txt: Added.

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

11 years ago2010-09-23 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Thu, 23 Sep 2010 22:23:19 +0000 (22:23 +0000)]
2010-09-23  Michael Saboff  <msaboff@apple.com>

        Reviewed by Geoffrey Garen.

        Removed extraneous truncation of ovector on entry and error exit.
        Changed the initialization to -1 of vector to only initialize
        the start indecies, which is sufficient for the pattern/subpatterns.
        Changed the JIT code to not clear the end index for subpatterns
        as it isn't needed.  These changes are worth ~2.7% on v8-regexp.
        https://bugs.webkit.org/show_bug.cgi?id=46404

        * runtime/RegExp.cpp:
        (JSC::RegExp::match):
        * yarr/RegexJIT.cpp:
        (JSC::Yarr::RegexGenerator::generateParenthesesSingle):

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

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=46414, rename line box methods that refer...
hyatt@apple.com [Thu, 23 Sep 2010 22:21:30 +0000 (22:21 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46414, rename line box methods that refer specifically to
"horizontal" and "vertical."  Replace those terms with "inline direction" and "block direction."

Reviewed by Adele Peterson.

* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::placeBoxesInInlineDirection):
(WebCore::InlineFlowBox::placeBoxesInBlockDirection):
(WebCore::InlineFlowBox::computeBlockDirectionOverflow):
* rendering/InlineFlowBox.h:
(WebCore::InlineFlowBox::setInlineDirectionOverflowPositions):
(WebCore::InlineFlowBox::setBlockDirectionOverflowPositions):
* rendering/RenderBlock.h:
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
(WebCore::RenderBlock::computeBlockDirectionPositionsForLine):
(WebCore::RenderBlock::layoutInlineChildren):
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::alignBoxesInBlockDirection):
* rendering/RootInlineBox.h:

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

11 years agoImplement handlers for the GetPluginProcessConnection message
andersca@apple.com [Thu, 23 Sep 2010 22:20:53 +0000 (22:20 +0000)]
Implement handlers for the GetPluginProcessConnection message
https://bugs.webkit.org/show_bug.cgi?id=46415

Reviewed by Darin Adler.

* Shared/CoreIPCSupport/WebProcessProxyMessageKinds.h:
Add GetPluginProcessConnection message kind

* UIProcess/Plugins/PluginProcessManager.cpp:
(WebKit::PluginProcessManager::PluginProcessManager):
Add missing constructor.

* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::getPluginProcessConnection):
Ask the plug-in process manager for a connection.

(WebKit::WebProcessProxy::didReceiveSyncMessage):
Call getPluginProcessConnection.

* UIProcess/WebProcessProxy.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::createPlugin):
Send the GetPluginProcessConnection message.

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

11 years ago2010-09-23 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
commit-queue@webkit.org [Thu, 23 Sep 2010 22:08:51 +0000 (22:08 +0000)]
2010-09-23  Ademar de Souza Reis Jr  <ademar.reis@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Fix QWebHapticFeedbackPlayer exposure via QWebKitPlatformPlugin

        [Qt] QWebHapticFeedbackPlayer needs correct exposure through QWebKitPlatformPlugin
        https://bugs.webkit.org/show_bug.cgi?id=46402

        QWebHapticFeedbackPlayer is exported through
        QWebKitPlatformPlugin::createExtension(), but
        createHapticFeedbackPlayer() and the correct
        inheritage are missing.

        * Api/qwebkitplatformplugin.h:
        * WebCoreSupport/QtPlatformPlugin.cpp:
        (WebCore::QtPlatformPlugin::createHapticFeedbackPlayer):
        * WebCoreSupport/QtPlatformPlugin.h:

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

11 years agoRevert "2010-09-23 Hans Wennborg <hans@chromium.org>"
atwilson@chromium.org [Thu, 23 Sep 2010 22:03:23 +0000 (22:03 +0000)]
Revert "2010-09-23  Hans Wennborg  <hans@chromium.org>"

Revert r68197 because it breaks the chromium linux build.
https://bugs.webkit.org/show_bug.cgi?id=46344

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

11 years ago2010-09-22 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 23 Sep 2010 21:56:14 +0000 (21:56 +0000)]
2010-09-22  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, expectations change.

        Update the comments to more accurately reflect which tests we expect
        to run and pass.

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

        * platform/chromium-gpu/test_expectations.txt:

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

11 years ago2010-09-23 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 23 Sep 2010 21:49:59 +0000 (21:49 +0000)]
2010-09-23  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by David Levin.

        Fix a condition check in ServerProcess, which becomes relevant when reading binary data.
        https://bugs.webkit.org/show_bug.cgi?id=46406

        This breaks when the method is called with specified size of data (image data), and the
        buffer hasn't yet reached this size.

        * Scripts/webkitpy/layout_tests/port/server_process.py: Changed to check for values of
          index larger than 0.

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

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=46403, convert the margin/border/padding...
hyatt@apple.com [Thu, 23 Sep 2010 21:47:13 +0000 (21:47 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46403, convert the margin/border/padding accessors
to be logical.

Reviewed by Adele Peterson.

* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::getFlowSpacingLogicalWidth):
(WebCore::InlineFlowBox::placeBoxesHorizontally):
(WebCore::InlineFlowBox::paintBoxShadow):
(WebCore::InlineFlowBox::paintBoxDecorations):
(WebCore::InlineFlowBox::paintTextDecorations):
* rendering/InlineFlowBox.h:
(WebCore::InlineFlowBox::InlineFlowBox):
(WebCore::InlineFlowBox::marginBorderPaddingLogicalLeft):
(WebCore::InlineFlowBox::marginBorderPaddingLogicalRight):
(WebCore::InlineFlowBox::marginLogicalLeft):
(WebCore::InlineFlowBox::marginLogicalRight):
(WebCore::InlineFlowBox::borderLogicalLeft):
(WebCore::InlineFlowBox::borderLogicalRight):
(WebCore::InlineFlowBox::paddingLogicalLeft):
(WebCore::InlineFlowBox::paddingLogicalRight):
(WebCore::InlineFlowBox::includeLogicalLeftEdge):
(WebCore::InlineFlowBox::includeLogicalRightEdge):
(WebCore::InlineFlowBox::setEdges):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::computeHorizontalPositionsForLine):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::containingBlockWidthForPositioned):
(WebCore::RenderBox::calcAbsoluteHorizontalValues):
(WebCore::RenderBox::calcAbsoluteHorizontalReplaced):
* rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintFillLayerExtended):

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

11 years ago2010-09-23 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 23 Sep 2010 21:36:53 +0000 (21:36 +0000)]
2010-09-23  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Nate Chapin.

        [GTK] Some tests from r68174 fail on the GTK+ bots
        https://bugs.webkit.org/show_bug.cgi?id=46396

        Fix since version number in this new WebKitWebSettings property.

        * webkit/webkitwebsettings.cpp:
        (webkit_web_settings_class_init): Fix the since version number.
2010-09-23  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Nate Chapin.

        [GTK] Some tests from r68174 fail on the GTK+ bots
        https://bugs.webkit.org/show_bug.cgi?id=46396

        Simplify LayoutTestController::overridePreference to make it easier for
        people unfamiliar with the code to keep the list of preferences up to date.
        Add the conversion for enable-hyperlink-auditing.

        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
        (LayoutTestController::overridePreference): Use a simple if-else block to determine
        out the property name for overrridePreference. Also simplify the logic for setting
        string properties. Add the conversion for enable-hyperlink-auditing.

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

11 years ago2010-09-23 Jeff Schiller <jeffschiller@google.com>
commit-queue@webkit.org [Thu, 23 Sep 2010 21:36:18 +0000 (21:36 +0000)]
2010-09-23  Jeff Schiller  <jeffschiller@google.com>

        Reviewed by David Hyatt.

        Test to confirm that object/iframe/embed backgrounds are transparent for SVG documents
        https://bugs.webkit.org/show_bug.cgi?id=10687

        * platform/mac/svg/in-html/by-reference-expected.txt: Added.
        * svg/in-html/by-reference-expected.checksum: Added.
        * svg/in-html/by-reference-expected.png: Added.
        * svg/in-html/by-reference.html: Added.
2010-09-23  Jeff Schiller  <jeffschiller@google.com>

        Reviewed by David Hyatt.

        Ensure that SVG documents included by reference (object, iframe, embed) have transparent
        backgrounds (not white).  https://bugs.webkit.org/show_bug.cgi?id=10687

        Test: svg/in-html/by-reference.html

        * dom/Document.cpp:
        (WebCore::Document::hasSVGRootNode):
        * dom/Document.h:
        (WebCore::Document::hasSVGRootNode):
        * rendering/RenderBoxModelObject.cpp:
        (WebCore::RenderBoxModelObject::paintFillLayerExtended):

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

11 years ago2010-09-23 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Thu, 23 Sep 2010 21:31:46 +0000 (21:31 +0000)]
2010-09-23  Hans Wennborg  <hans@chromium.org>

        Reviewed by Simon Fraser.

        Update DeviceMotionEvent to spec
        https://bugs.webkit.org/show_bug.cgi?id=46344

        * fast/dom/DeviceMotion/script-tests/create-event.js:
        * fast/dom/DeviceMotion/create-event-expected.txt:
        Look for the new attributes.

        * fast/dom/DeviceMotion/script-tests/optional-event-properties.js:
        * fast/dom/DeviceMotion/optional-event-properties-expected.txt:
        Test the new attributes.

        * fast/dom/script-tests/prototype-inheritance.js:
        DeviceMotionEvent is not implemented on all platforms, so it should be skipped in this test.
2010-09-23  Hans Wennborg  <hans@chromium.org>

        Reviewed by Simon Fraser.

        Update DeviceMotionEvent to spec
        https://bugs.webkit.org/show_bug.cgi?id=46344

        The spec has changed: the DeviceMotionEvent attributes accelerationX,
        accelerationY, etc. have been baked into an 'acceleration' attribute
        which returns an object with x, y, and z values. Likewise for the
        rotation rate. The 'accelerationIncludingGravity' attribute is new.

        * WebCore.exp.in:
        The DeviceMotionData::create member function has changed. Also export
        create functions for DeviceMotionData::Acceleration and RotationRate.

        * bindings/js/JSDeviceMotionEventCustom.cpp:
        (WebCore::JSDeviceMotionEvent::acceleration):
        (WebCore::JSDeviceMotionEvent::accelerationIncludingGravity):
        (WebCore::JSDeviceMotionEvent::rotationRate):
        (WebCore::JSDeviceMotionEvent::initDeviceMotionEvent):
        Manually create and return objects with the right attributes for
        acceleration, accelerationIncludingGravity, and rotationRate.
        When creating the DeviceMotionData object in initDeviceMotionEvent,
        accept any input objects that have the right attributes.

        * bindings/v8/custom/V8DeviceMotionEventCustom.cpp:
        (WebCore::V8DeviceMotionEvent::accelerationAccessorGetter):
        (WebCore::V8DeviceMotionEvent::accelerationIncludingGravityAccessorGetter):
        (WebCore::V8DeviceMotionEvent::rotationRateAccessorGetter):
        (WebCore::V8DeviceMotionEvent::initDeviceMotionEventCallback):
        V8 counterpart to the JSC code above.

        * dom/DeviceMotionData.cpp:
        (WebCore::DeviceMotionData::Acceleration::create):
        (WebCore::DeviceMotionData::Acceleration::Acceleration):
        (WebCore::DeviceMotionData::RotationRate::create):
        (WebCore::DeviceMotionData::RotationRate::RotationRate):
        (WebCore::DeviceMotionData::create):
        (WebCore::DeviceMotionData::DeviceMotionData):
        * dom/DeviceMotionData.h:
        (WebCore::DeviceMotionData::Acceleration::canProvideX):
        (WebCore::DeviceMotionData::Acceleration::canProvideY):
        (WebCore::DeviceMotionData::Acceleration::canProvideZ):
        (WebCore::DeviceMotionData::Acceleration::x):
        (WebCore::DeviceMotionData::Acceleration::y):
        (WebCore::DeviceMotionData::Acceleration::z):
        (WebCore::DeviceMotionData::RotationRate::canProvideAlpha):
        (WebCore::DeviceMotionData::RotationRate::canProvideBeta):
        (WebCore::DeviceMotionData::RotationRate::canProvideGamma):
        (WebCore::DeviceMotionData::RotationRate::alpha):
        (WebCore::DeviceMotionData::RotationRate::beta):
        (WebCore::DeviceMotionData::RotationRate::gamma):
        (WebCore::DeviceMotionData::acceleration):
        (WebCore::DeviceMotionData::accelerationIncludingGravity):
        (WebCore::DeviceMotionData::rotationRate):
        Add member classes Acceleration and RotationRate to DeviceMotionData.

        * dom/DeviceMotionEvent.idl:
        Update according to the spec. Acceleration and RotationRate need not
        be backed by native classes.

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

11 years ago2010-09-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 23 Sep 2010 21:18:47 +0000 (21:18 +0000)]
2010-09-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Set synchronous handle in ResourceHandleWin
        https://bugs.webkit.org/show_bug.cgi?id=46395

        When loading synchronous network resources, we need to use a synchronous internet handle.

        * platform/network/ResourceHandle.h:
        * platform/network/win/ResourceHandleWin.cpp:
        (WebCore::ResourceHandle::loadResourceSynchronously):
        (WebCore::ResourceHandle::setSynchronousInternetHandle):

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

11 years ago Reviewed by Darin Adler.
ap@apple.com [Thu, 23 Sep 2010 21:09:17 +0000 (21:09 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=46326
        Crash when trying to create a NodeIterator rooted at a document-less DocumentType node

        Test: fast/dom/node-iterator-with-doctype-root.html

        * dom/Document.cpp: (WebCore::Document::detachNodeIterator): Added a comment explaining that
        attach/detach may not always be paired.

        * dom/NodeIterator.cpp:
        (WebCore::NodeIterator::NodeIterator): Don't try to register with the document if there is none.
        (WebCore::NodeIterator::~NodeIterator): Ditto.
        (WebCore::NodeIterator::detach): Ditto.
        (WebCore::NodeIterator::updateForNodeRemoval): There should be a document if we're getting a
        notification.

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

11 years ago2010-09-23 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 23 Sep 2010 21:03:32 +0000 (21:03 +0000)]
2010-09-23  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed chromium text_expectations.txt change.

        Unskip traversal/node-iterator-prototype.html on Chromium, so we can
        get updated expectations for it from the bots.

        * platform/chromium/test_expectations.txt:

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

11 years agoUnreviewed chromium expectations update.
atwilson@chromium.org [Thu, 23 Sep 2010 20:56:44 +0000 (20:56 +0000)]
Unreviewed chromium expectations update.

* platform/chromium-win/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.checksum: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.png: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.checksum: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.png: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.checksum: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.png: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.checksum: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.png: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.checksum: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.png: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.checksum: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.png: Added.

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

11 years ago2010-09-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 23 Sep 2010 20:53:04 +0000 (20:53 +0000)]
2010-09-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Add synchronous loading for local files to ResourceHandleWin
        https://bugs.webkit.org/show_bug.cgi?id=46392

        * platform/network/win/ResourceHandleWin.cpp:
        (WebCore::ResourceHandle::start):

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

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

        Reviewed by David Levin.

        [chromium] add caretBrowsingEnabled to WebSettings and DRT
        https://bugs.webkit.org/show_bug.cgi?id=46388

        * public/WebSettings.h:
        * src/WebSettingsImpl.cpp:
        (WebKit::WebSettingsImpl::setCaretBrowsingEnabled):
        * src/WebSettingsImpl.h:
2010-09-23  Tony Chang  <tony@chromium.org>

        Reviewed by David Levin.

        [chromium] add caretBrowsingEnabled to WebSettings and DRT
        https://bugs.webkit.org/show_bug.cgi?id=46388

        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::overridePreference):
        * DumpRenderTree/chromium/WebPreferences.cpp:
        (WebPreferences::reset):
        (WebPreferences::applyTo):
        * DumpRenderTree/chromium/WebPreferences.h:

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

11 years ago2010-09-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 23 Sep 2010 20:45:48 +0000 (20:45 +0000)]
2010-09-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Remove (has|set)ReceivedResponse() from public ResourceHandleWin API
        https://bugs.webkit.org/show_bug.cgi?id=46391

        There is no need for this functions to be public, so remove them.

        * platform/network/ResourceHandle.h:
        * platform/network/win/ResourceHandleWin.cpp:
        (WebCore::ResourceHandle::onRequestComplete):

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

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=46400
hyatt@apple.com [Thu, 23 Sep 2010 20:41:19 +0000 (20:41 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46400

Reviewed by Adele Peterson.

Add logicalLeft/Top getter/setters to line boxes.

* rendering/InlineBox.h:
(WebCore::InlineBox::logicalLeft):
(WebCore::InlineBox::setLogicalLeft):
(WebCore::InlineBox::logicalTop):
(WebCore::InlineBox::setLogicalTop):

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

11 years ago2010-09-23 Matthew Delaney <mdelaney@apple.com>
commit-queue@webkit.org [Thu, 23 Sep 2010 20:35:30 +0000 (20:35 +0000)]
2010-09-23  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Simon Fraser.

        Reduce minimum DOMTimer interval
        https://bugs.webkit.org/show_bug.cgi?id=45362

        Since the setInterval call is meant to reflect a global change for
        all pages' DOMTimers, it's misleading to have it be a method on a
        given page's settings' object. Thus, this patch changes the call to be static.

        This simple change to using a static call instead of the page's setting's
        method doesn't warrant a test.

        * page/Settings.h: Changed the setInterval call to be static.
2010-09-23  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Simon Fraser.

        Reduce minimum DOMTimer interval
        https://bugs.webkit.org/show_bug.cgi?id=45362

        * WebView/WebView.mm:
        Updating set interval call to use Settings' static version inside
        one time init block.
2010-09-23  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Simon Fraser.

        Reduce minimum DOMTimer interval
        https://bugs.webkit.org/show_bug.cgi?id=45362

        * WebView.cpp:
        Updating set interval call to use Settings' static version inside
        one time init block.
2010-09-23  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Simon Fraser.

        Reduce minimum DOMTimer interval
        https://bugs.webkit.org/show_bug.cgi?id=45362

        * WebProcess/WebPage/WebPage.cpp:
        Updating set interval call to use Settings' static version.

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

11 years ago2010-09-23 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 23 Sep 2010 20:24:48 +0000 (20:24 +0000)]
2010-09-23  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by David Levin.

        [Chromium] remove incorrect baselines for two WebGL tests
        https://bugs.webkit.org/show_bug.cgi?id=46372

        As far as I can tell, these tests were not failing because of
        "new-run-webkit-tests's diff trimming line ends", but because they had
        chromium-mac baselines checked in with r56251, but then the test was
        changed since then, with the chromium-mac baselines not being updated.
        The test seems to pass on chromium-mac (both test_shell and DRT) with
        the regular baselines.

        * platform/chromium-mac/fast/canvas/webgl/null-object-behaviour-expected.txt: Removed.
        * platform/chromium-mac/fast/canvas/webgl/uniform-location-expected.txt: Removed.
        * platform/chromium/test_expectations.txt:

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

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=46386, give line boxes a vertical bit so...
hyatt@apple.com [Thu, 23 Sep 2010 20:21:49 +0000 (20:21 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46386, give line boxes a vertical bit so that it's easy to know
the overall direction of the line without having to ask the containing block.

Reviewed by Dan Bernstein.

Also couldn't resist some cleanup.  Tightened up the type of the renderobject passed to RootInlineBox's
constructor to be a RenderBlock.  Moved all the virtual logical height stuff outside of the SVG ifdef
since TrailingFloatsRootInlineBox uses it and should work without SVG enabled.

* rendering/EllipsisBox.h:
(WebCore::EllipsisBox::EllipsisBox):
* rendering/InlineBox.h:
(WebCore::InlineBox::InlineBox):
(WebCore::InlineBox::isVertical):
(WebCore::InlineBox::setIsVertical):
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::addToLine):
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::RootInlineBox):
(WebCore::RootInlineBox::placeEllipsis):
* rendering/RootInlineBox.h:
* rendering/SVGRootInlineBox.h:
(WebCore::SVGRootInlineBox::SVGRootInlineBox):
* rendering/TrailingFloatsRootInlineBox.h:
(WebCore::TrailingFloatsRootInlineBox::TrailingFloatsRootInlineBox):

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

11 years ago2010-09-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 23 Sep 2010 20:10:56 +0000 (20:10 +0000)]
2010-09-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Check for a valid ResourceHandleClient in ResourceHandleWin
        https://bugs.webkit.org/show_bug.cgi?id=46389

        * platform/network/win/ResourceHandleWin.cpp:
        (WebCore::ResourceHandle::onRequestComplete): Add checks to ensure client() is not 0.

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

11 years ago2010-09-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 23 Sep 2010 19:55:04 +0000 (19:55 +0000)]
2010-09-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Fix ResourceHandleWin::cancel() for network resources
        https://bugs.webkit.org/show_bug.cgi?id=46383

        * platform/network/win/ResourceHandleWin.cpp:
        (WebCore::ResourceHandle::onRequestComplete): Check it requestHandle is not 0.
        (WebCore::ResourceHandle::cancel): Set requestHandle to 0.

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

11 years ago2010-09-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 23 Sep 2010 19:43:56 +0000 (19:43 +0000)]
2010-09-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Add handling for form data and additional HTTP headers in ResourceHandleWin
        https://bugs.webkit.org/show_bug.cgi?id=46369

        * platform/network/win/ResourceHandleWin.cpp:
        (WebCore::ResourceHandle::start):

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

11 years agoTry to fix the Windows build
aroben@apple.com [Thu, 23 Sep 2010 19:39:43 +0000 (19:39 +0000)]
Try to fix the Windows build

* win/WebKit2Common.vsprops: Add WebKit2/PluginProcess to the include
path.

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

11 years ago2010-09-23 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Thu, 23 Sep 2010 19:37:09 +0000 (19:37 +0000)]
2010-09-23  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Simon Fraser

        'seeking' event should always fire
        https://bugs.webkit.org/show_bug.cgi?id=45694

        Update seek algorithm to match current spec.

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::setReadyState): Don't need to fire 'seeking' event here.
        (WebCore::HTMLMediaElement::seek): Always fire 'seeking'. Update comments.
        (WebCore::HTMLMediaElement::finishSeek): Update comments.
        (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): Ditto.

2010-09-23  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Simon Fraser

        'seeking' event should always fire
        https://bugs.webkit.org/show_bug.cgi?id=45694

        * media/event-attributes-expected.txt: Update for changes.

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

11 years ago2010-09-23 Eric Uhrhane <ericu@chromium.org>
commit-queue@webkit.org [Thu, 23 Sep 2010 19:33:39 +0000 (19:33 +0000)]
2010-09-23  Eric Uhrhane  <ericu@chromium.org>

        Reviewed by David Levin.

        Rename FileWriterClient to AsyncFileWriterClient.
        https://bugs.webkit.org/show_bug.cgi?id=46325

        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * fileapi/AsyncFileWriter.h:
        * fileapi/AsyncFileWriterClient.h: Copied from WebCore/fileapi/FileWriterClient.h.
        * fileapi/FileWriter.h:
        * fileapi/FileWriterClient.h: Removed.
        * platform/AsyncFileSystem.h:
2010-09-23  Eric Uhrhane  <ericu@chromium.org>

        Reviewed by David Levin.

        Rename FileWriterClient to AsyncFileWriterClient.
        https://bugs.webkit.org/show_bug.cgi?id=46325

        * src/AsyncFileSystemChromium.cpp:
        * src/AsyncFileSystemChromium.h:
        * src/AsyncFileWriterChromium.cpp:
        * src/AsyncFileWriterChromium.h:

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

11 years ago2010-09-23 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Thu, 23 Sep 2010 19:24:48 +0000 (19:24 +0000)]
2010-09-23  Nate Chapin  <japhet@chromium.org>

        Unreviewed, build fix.

        Move hyperlinkAuditingEnabled to IWebPreferencesPrivate.idl
        and touch WebKit.idl

        * Interfaces/IWebPreferences.idl:
        * Interfaces/IWebPreferencesPrivate.idl:
        * Interfaces/WebKit.idl:
        * WebView.cpp:
        (WebView::notifyPreferencesChanged):

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

11 years agoUnreviewed chromium expecations update.
atwilson@chromium.org [Thu, 23 Sep 2010 19:17:47 +0000 (19:17 +0000)]
Unreviewed chromium expecations update.

* platform/chromium-linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.checksum: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.png: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.checksum: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.png: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.checksum: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.png: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.checksum: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.png: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.checksum: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.png: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.checksum: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.png: Added.

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

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=46378, rename width/height on line boxes...
hyatt@apple.com [Thu, 23 Sep 2010 19:17:33 +0000 (19:17 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46378, rename width/height on line boxes to logicalWidth/logicalHeight.

Reviewed by Dan Bernstein.

* editing/visible_units.cpp:
(WebCore::previousLinePosition):
(WebCore::nextLinePosition):
* rendering/EllipsisBox.cpp:
(WebCore::EllipsisBox::paint):
(WebCore::EllipsisBox::paintSelection):
(WebCore::EllipsisBox::nodeAtPoint):
* rendering/InlineBox.cpp:
(WebCore::InlineBox::logicalHeight):
(WebCore::InlineBox::canAccommodateEllipsis):
* rendering/InlineBox.h:
(WebCore::InlineBox::InlineBox):
(WebCore::InlineBox::hasVirtualLogicalHeight):
(WebCore::InlineBox::setHasVirtualLogicalHeight):
(WebCore::InlineBox::virtualLogicalHeight):
(WebCore::InlineBox::setLogicalWidth):
(WebCore::InlineBox::logicalWidth):
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::placeBoxesHorizontally):
(WebCore::InlineFlowBox::placeBoxesVertically):
(WebCore::InlineFlowBox::computeVerticalOverflow):
(WebCore::InlineFlowBox::nodeAtPoint):
(WebCore::InlineFlowBox::paintFillLayer):
(WebCore::InlineFlowBox::paintBoxDecorations):
(WebCore::InlineFlowBox::paintMask):
(WebCore::InlineFlowBox::paintTextDecorations):
(WebCore::InlineFlowBox::placeEllipsisBox):
* rendering/InlineFlowBox.h:
(WebCore::InlineFlowBox::visibleOverflowRect):
(WebCore::InlineFlowBox::bottomLayoutOverflow):
(WebCore::InlineFlowBox::rightLayoutOverflow):
(WebCore::InlineFlowBox::layoutOverflowRect):
(WebCore::InlineFlowBox::bottomVisualOverflow):
(WebCore::InlineFlowBox::rightVisualOverflow):
(WebCore::InlineFlowBox::visualOverflowRect):
(WebCore::InlineFlowBox::setHorizontalOverflowPositions):
(WebCore::InlineFlowBox::setVerticalOverflowPositions):
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::selectionRect):
(WebCore::InlineTextBox::placeEllipsisBox):
(WebCore::InlineTextBox::nodeAtPoint):
(WebCore::InlineTextBox::paint):
(WebCore::InlineTextBox::paintSelection):
(WebCore::InlineTextBox::paintCustomHighlight):
(WebCore::InlineTextBox::paintDecoration):
(WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
(WebCore::InlineTextBox::paintTextMatchMarker):
(WebCore::InlineTextBox::paintCompositionUnderline):
* rendering/InlineTextBox.h:
(WebCore::InlineTextBox::calculateBoundaries):
(WebCore::InlineTextBox::setSpaceAdd):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paintEllipsisBoxes):
(WebCore::RenderBlock::rightmostPosition):
(WebCore::RenderBlock::adjustForBorderFit):
(WebCore::RenderBlock::addFocusRingRects):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::computeHorizontalPositionsForLine):
(WebCore::RenderBlock::checkLinesForTextOverflow):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::paintCustomHighlight):
(WebCore::RenderBox::containingBlockWidthForPositioned):
* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::applyLineClamp):
* rendering/RenderInline.cpp:
(WebCore::RenderInline::absoluteRects):
(WebCore::RenderInline::absoluteQuads):
(WebCore::RenderInline::linesBoundingBox):
(WebCore::RenderInline::addFocusRingRects):
(WebCore::RenderInline::paintOutline):
* rendering/RenderSVGInline.cpp:
(WebCore::RenderSVGInline::createInlineFlowBox):
(WebCore::RenderSVGInline::absoluteQuads):
* rendering/RenderSVGInlineText.cpp:
(WebCore::RenderSVGInlineText::createTextBox):
* rendering/RenderSVGText.cpp:
(WebCore::RenderSVGText::createRootInlineBox):
* rendering/RenderText.cpp:
(WebCore::RenderText::absoluteRects):
(WebCore::RenderText::absoluteRectsForRange):
(WebCore::RenderText::absoluteQuadsForRange):
(WebCore::RenderText::positionForPoint):
(WebCore::RenderText::localCaretRect):
(WebCore::RenderText::linesBoundingBox):
* rendering/RenderTreeAsText.cpp:
(WebCore::writeTextRun):
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::canAccommodateEllipsis):
(WebCore::RootInlineBox::placeEllipsis):
(WebCore::RootInlineBox::addHighlightOverflow):
(WebCore::RootInlineBox::paintCustomHighlight):
(WebCore::RootInlineBox::fillLineSelectionGap):
(WebCore::RootInlineBox::closestLeafChildForXPos):
* rendering/SVGInlineFlowBox.h:
(WebCore::SVGInlineFlowBox::SVGInlineFlowBox):
(WebCore::SVGInlineFlowBox::virtualLogicalHeight):
(WebCore::SVGInlineFlowBox::setLogicalHeight):
* rendering/SVGInlineTextBox.cpp:
(WebCore::SVGInlineTextBox::SVGInlineTextBox):
* rendering/SVGInlineTextBox.h:
(WebCore::SVGInlineTextBox::virtualLogicalHeight):
(WebCore::SVGInlineTextBox::setLogicalHeight):
(WebCore::SVGInlineTextBox::selectionHeight):
* rendering/SVGRenderTreeAsText.cpp:
(WebCore::writeRenderSVGTextBox):
* rendering/SVGRootInlineBox.cpp:
(WebCore::SVGRootInlineBox::layoutChildBoxes):
(WebCore::SVGRootInlineBox::layoutRootBox):
* rendering/SVGRootInlineBox.h:
(WebCore::SVGRootInlineBox::SVGRootInlineBox):
(WebCore::SVGRootInlineBox::virtualLogicalHeight):
(WebCore::SVGRootInlineBox::setLogicalHeight):
* rendering/TrailingFloatsRootInlineBox.h:
(WebCore::TrailingFloatsRootInlineBox::TrailingFloatsRootInlineBox):
(WebCore::TrailingFloatsRootInlineBox::virtualLogicalHeight):

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

11 years ago2010-09-23 Matthew Delaney <mdelaney@apple.com>
commit-queue@webkit.org [Thu, 23 Sep 2010 19:15:48 +0000 (19:15 +0000)]
2010-09-23  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Oliver Hunt.

        context.drawImage with (source rect's height) = -(input image's native height) draws nothing
        https://bugs.webkit.org/show_bug.cgi?id=46243

        These test simply exercise using negative widths and heights for the source rect in ctx.drawImage calls.

        * canvas/philip/tests/2d.drawImage.negativeSourceHeight-expected.txt: Added.
        * canvas/philip/tests/2d.drawImage.negativeSourceHeight.html: Added.
        * canvas/philip/tests/2d.drawImage.negativeSourceHeight2-expected.txt: Added.
        * canvas/philip/tests/2d.drawImage.negativeSourceHeight2.html: Added.
        * canvas/philip/tests/2d.drawImage.negativeSourceHeightAndWidth-expected.txt: Added.
        * canvas/philip/tests/2d.drawImage.negativeSourceHeightAndWidth.html: Added.
2010-09-23  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Oliver Hunt.

        context.drawImage with (source rect's height) = -(input image's native height) draws nothing
        https://bugs.webkit.org/show_bug.cgi?id=46243

        This patch changes canvasrenderingcontext2d's drawImage with an image element to
        normalize the source and dest rects to acheive the desired canvas spec behavior
        of allowing negative widths and heights that don't cause flipping and fix the
        adverse behavior of specifying a source rect height of negative the source image's height

        Tests: canvas/philip/tests/2d.drawImage.negativeSourceHeight.html
               canvas/philip/tests/2d.drawImage.negativeSourceHeight2.html
               canvas/philip/tests/2d.drawImage.negativeSourceHeightAndWidth.html

        * html/canvas/CanvasRenderingContext2D.cpp: Normalize rects in drawImage before calling
        lower level draw calls.

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

11 years ago2010-09-22 Andy Estes <aestes@apple.com>
aestes@apple.com [Thu, 23 Sep 2010 19:14:55 +0000 (19:14 +0000)]
2010-09-22  Andy Estes  <aestes@apple.com>

        Reviewed by Darin Adler.

        REGRESSION (r61285): Microsoft Entourage 2008 does not invoke My Day window
        https://bugs.webkit.org/show_bug.cgi?id=46334

        Microsoft My Day loads scripts using self-closing script tags, markup
        which is incompatible with the HTML5 parser. Enable parser quirks for
        this application.

        * WebView/WebView.mm:
        (shouldUsePreHTML5ParserQuirks): Return true if the application is
        Microsoft My Day and was linked against a version of WebKit prior to the
        introduction of the HTML5 parser.
2010-09-23  Renata Hodovan  <reni@inf.u-szeged.hu>

        Reviewed by Dirk Schulze.

        SVGFEMorphologyElement doesn't support dynamic invalidation, when attributes change.
        https://bugs.webkit.org/show_bug.cgi?id=46363
        The patch also implements the simple setRadius method.

        Tests: svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr.html
               svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr.html
               svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr.html
               svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop.html
               svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop.html
               svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call.html

        * svg/SVGFEMorphologyElement.cpp:
        (WebCore::SVGFEMorphologyElement::setRadius):
        (WebCore::SVGFEMorphologyElement::svgAttributeChanged):
        * svg/SVGFEMorphologyElement.h:

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

11 years ago2010-09-23 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Thu, 23 Sep 2010 19:06:10 +0000 (19:06 +0000)]
2010-09-23  Nate Chapin  <japhet@chromium.org>

        Unreviewed, Chromium expectations tweak.

        Temporarily add http/tests/navigation/ping-*.

        * platform/chromium/test_expectations.txt:

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

11 years agoAdd PluginProcessMain files
andersca@apple.com [Thu, 23 Sep 2010 18:59:30 +0000 (18:59 +0000)]
Add PluginProcessMain files
https://bugs.webkit.org/show_bug.cgi?id=46379

Reviewed by Sam Weinig.

* PluginProcess/PluginProcessMain.h: Added.
* PluginProcess/mac/PluginProcessMainMac.mm: Added.

* WebKit2.xcodeproj/project.pbxproj:
Add PluginProcessMain files. Remove PluginProcess.messages.in from the target so it
won't be installed in the WebKit2.framework bundle.

* WebProcess/WebKitMain.cpp:
(WebKitMain):
Call PluginProcessMain if the process type is ProcessLauncher::PluginProcess.

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

11 years ago2010-09-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 23 Sep 2010 18:50:52 +0000 (18:50 +0000)]
2010-09-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Add PlatformStrategiesWinCE
        https://bugs.webkit.org/show_bug.cgi?id=46371

        * WebCoreSupport/PlatformStrategiesWinCE.cpp: Copied from WebKit/win/WebCoreSupport/WebPlatformStrategies.cpp.
        * WebCoreSupport/PlatformStrategiesWinCE.h: Copied from WebKit/win/WebCoreSupport/WebPlatformStrategies.h.

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

11 years agoOnly copy captured variables into activation
oliver@apple.com [Thu, 23 Sep 2010 18:49:56 +0000 (18:49 +0000)]
Only copy captured variables into activation
https://bugs.webkit.org/show_bug.cgi?id=46330

Reviewed by Geoff Garen

We now track free variable information which means that
we no longer need to copy every variable defined in a
function.  With this patch activations only retain those
variables needed for correctness.  In order to interact
safely with the inspector this means that JSActivation
now provides its own lookup functions so it can avoid
trying to read or write to variables that have been
optimised out.

* bytecode/CodeBlock.h:
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::BytecodeGenerator):
* parser/Nodes.h:
(JSC::ScopeNode::capturedVariableCount):
(JSC::ScopeNode::captures):
* runtime/Arguments.h:
(JSC::JSActivation::copyRegisters):
* runtime/Executable.cpp:
(JSC::FunctionExecutable::FunctionExecutable):
(JSC::FunctionExecutable::compileForCallInternal):
(JSC::FunctionExecutable::compileForConstructInternal):
* runtime/Executable.h:
(JSC::FunctionExecutable::capturedVariableCount):
* runtime/JSActivation.cpp:
(JSC::JSActivation::markChildren):
(JSC::JSActivation::symbolTableGet):
(JSC::JSActivation::symbolTablePut):
(JSC::JSActivation::getOwnPropertyNames):
(JSC::JSActivation::symbolTablePutWithAttributes):
* runtime/JSActivation.h:

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

11 years agoAdd PluginProcessProxy class
andersca@apple.com [Thu, 23 Sep 2010 18:21:43 +0000 (18:21 +0000)]
Add PluginProcessProxy class
https://bugs.webkit.org/show_bug.cgi?id=46377

Reviewed by Sam Weinig.

* DerivedSources.make:
Add PluginProcess.

* Platform/CoreIPC/Connection.h:
(CoreIPC::Connection::send):
Add send overload that takes a message.

* Platform/CoreIPC/MessageID.h:
Add MessageClassPluginProcess message kind.

* PluginProcess/PluginProcess.messages.in: Added.
Add PluginProcess messages.

* UIProcess/Plugins/PluginInfoStore.cpp:
(WebKit::PluginInfoStore::infoForPluginWithPath):
* UIProcess/Plugins/PluginInfoStore.h:
New function that returns the plug-in info for a plug-in with the given path.

* UIProcess/Plugins/PluginProcessManager.cpp:
(WebKit::PluginProcessManager::getPluginProcessConnection):
Look for an existing plug-in process proxy.

* UIProcess/Plugins/PluginProcessProxy.cpp: Added.
(WebKit::PluginProcessProxy::create):
Launch the process.

(WebKit::PluginProcessProxy::didReceiveMessage):
(WebKit::PluginProcessProxy::didReceiveInvalidMessage):
Add stubbed out functions.

(WebKit::PluginProcessProxy::didClose):
Delete the plug-in process proxy.

(WebKit::PluginProcessProxy::didFinishLaunching):
Open a connection to the plug-in process proxy.

* UIProcess/Plugins/PluginProcessProxy.h: Added.
(WebKit::PluginProcessProxy::pluginInfo):
Return the plug-in info.

* UIProcess/WebProcessProxy.h:
(WebKit::WebProcessProxy::context):
Add a context getter.

* WebKit2.xcodeproj/project.pbxproj:
Add new files.

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

11 years ago2010-09-23 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Thu, 23 Sep 2010 18:19:13 +0000 (18:19 +0000)]
2010-09-23  Nate Chapin  <japhet@chromium.org>

        Unreviewed, build fix.

        Look for hyperlinkAuditingEnabled in the right set of preferences.

        * WebView.cpp:
        (WebView::notifyPreferencesChanged):

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

11 years ago2010-09-23 Renata Hodovan <reni@inf.u-szeged.hu>
commit-queue@webkit.org [Thu, 23 Sep 2010 18:17:56 +0000 (18:17 +0000)]
2010-09-23  Renata Hodovan  <reni@inf.u-szeged.hu>

        Reviewed by Dirk Schulze.

        SVGFEMorphologyElement doesn't support dynamic invalidation, when attributes change.
        https://bugs.webkit.org/show_bug.cgi?id=46363
        Adding layout tests for feMorphology dynamic changes.

        * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.png: Added.
        * svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr.html: Added.
        * svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr.html: Added.
        * svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr.html: Added.
        * svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.txt: Added.
        * svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop.html: Added.
        * svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.txt: Added.
        * svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop.html: Added.
        * svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.txt: Added.
        * svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call.html: Added.
        * svg/dynamic-updates/script-tests/SVGFEMorphologyElement-dom-in-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEMorphologyElement-dom-operator-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEMorphologyElement-dom-radius-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEMorphologyElement-svgdom-in-prop.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEMorphologyElement-svgdom-operator-prop.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEMorphologyElement-svgdom-radius-call.js: Added.
        (executeTest):
2010-09-23  Renata Hodovan  <reni@inf.u-szeged.hu>

        Reviewed by Dirk Schulze.

        SVGFEMorphologyElement doesn't support dynamic invalidation, when attributes change.
        https://bugs.webkit.org/show_bug.cgi?id=46363
        The patch also implements the simple setRadius method.

        Tests: svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr.html
               svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr.html
               svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr.html
               svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop.html
               svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop.html
               svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call.html

        * svg/SVGFEMorphologyElement.cpp:
        (WebCore::SVGFEMorphologyElement::setRadius):
        (WebCore::SVGFEMorphologyElement::svgAttributeChanged):
        * svg/SVGFEMorphologyElement.h:

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

11 years ago2010-09-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 23 Sep 2010 18:08:29 +0000 (18:08 +0000)]
2010-09-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Add synchronous loading for network resources to ResourceHandleWin
        https://bugs.webkit.org/show_bug.cgi?id=46364

        Use return value of onRequestComplete() to indicate that an additional
        call to it is required for receiving remaining network data.

        * platform/network/ResourceHandle.h:
        * platform/network/win/ResourceHandleWin.cpp:
        (WebCore::ResourceHandle::onRequestComplete):
        (WebCore::ResourceHandle::start):

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

11 years ago2010-09-23 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Thu, 23 Sep 2010 18:02:15 +0000 (18:02 +0000)]
2010-09-23  Nate Chapin  <japhet@chromium.org>

        Reviewed by Darin Fisher.

        Implement <a ping> (disabled by default).
        https://bugs.webkit.org/show_bug.cgi?id=30458

        Tests: http/tests/navigation/ping-cross-origin-from-https.html
               http/tests/navigation/ping-cross-origin.html
               http/tests/navigation/ping-same-origin.html

        * html/HTMLAnchorElement.cpp:
        (WebCore::HTMLAnchorElement::defaultEventHandler):
        (WebCore::HTMLAnchorElement::sendPings):
        * html/HTMLAnchorElement.h:
        * html/HTMLAttributeNames.in:
        * loader/PingLoader.cpp:
        (WebCore::PingLoader::sendPing): Set ping-specific headers.
        (WebCore::PingLoader::PingLoader):
        * loader/PingLoader.h:
        (WebCore::PingLoader::timeout): Ensure pings eventually timeout, since
            the normal cancel mechanism can't stop them.
        * page/Settings.cpp:
        * page/Settings.h: Add hyperlinkAuditingEnabled.

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

11 years ago2010-09-23 Steve VanDeBogart <vandebo@chromium.org>
jhawkins@chromium.org [Thu, 23 Sep 2010 17:56:21 +0000 (17:56 +0000)]
2010-09-23  Steve VanDeBogart  <vandebo@chromium.org>

        Reviewed by David Levin.

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

        Use Skia's SkSafeRef/SkSafeUnref functions instead of safeRef/safeUnref.

        * platform/graphics/chromium/FontLinux.cpp:
        (WebCore::Font::drawGlyphs):
        * platform/graphics/chromium/FontPlatformDataLinux.cpp:
        (WebCore::FontPlatformData::FontPlatformData):
        (WebCore::FontPlatformData::~FontPlatformData):
        * platform/graphics/skia/GradientSkia.cpp:
        (WebCore::Gradient::platformDestroy):
        * platform/graphics/skia/PatternSkia.cpp:
        (WebCore::Pattern::platformDestroy):
        * platform/graphics/skia/PlatformContextSkia.cpp:
        (WebCore::PlatformContextSkia::State::State):
        (WebCore::PlatformContextSkia::State::~State):
        (WebCore::PlatformContextSkia::drawRect):
        (WebCore::PlatformContextSkia::setStrokeShader):
        (WebCore::PlatformContextSkia::setFillShader):
        (WebCore::PlatformContextSkia::setDashPathEffect):
        * platform/graphics/skia/SkiaFontWin.cpp:
        (WebCore::paintSkiaText):

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

11 years ago2010-09-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
demarchi@webkit.org [Thu, 23 Sep 2010 17:52:42 +0000 (17:52 +0000)]
2010-09-23  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Csaba Osztrogonác.

        Fix warnings regarding print format in 64 bits
        https://bugs.webkit.org/show_bug.cgi?id=46357

        Use inttypes.h in order to have portable print formats across 32 and
        64 bits.

        * platform/sql/SQLiteFileSystem.cpp:
        (WebCore::SQLiteFileSystem::getFileNameForNewDatabase):

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

11 years ago2010-09-23 Chris Rogers <crogers@google.com>
crogers@google.com [Thu, 23 Sep 2010 17:49:52 +0000 (17:49 +0000)]
2010-09-23  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

        Add AudioContext files
        https://bugs.webkit.org/show_bug.cgi?id=44890

        No new tests since audio API is not yet implemented.

        * webaudio/AudioContext.cpp: Added.
        (WebCore::AudioContext::createAudioRequest):
        (WebCore::AudioContext::create):
        (WebCore::AudioContext::AudioContext):
        (WebCore::AudioContext::~AudioContext):
        (WebCore::AudioContext::lazyInitialize):
        (WebCore::AudioContext::uninitialize):
        (WebCore::AudioContext::isInitialized):
        (WebCore::AudioContext::isRunnable):
        (WebCore::AudioContext::stop):
        (WebCore::AudioContext::document):
        (WebCore::AudioContext::hasDocument):
        (WebCore::AudioContext::refBuffer):
        (WebCore::AudioContext::createBuffer):
        (WebCore::AudioContext::createBufferSource):
        (WebCore::AudioContext::createJavaScriptNode):
        (WebCore::AudioContext::createLowPass2Filter):
        (WebCore::AudioContext::createHighPass2Filter):
        (WebCore::AudioContext::createPanner):
        (WebCore::AudioContext::createConvolver):
        (WebCore::AudioContext::createAnalyser):
        (WebCore::AudioContext::createGainNode):
        (WebCore::AudioContext::createDelayNode):
        (WebCore::AudioContext::createChannelSplitter):
        (WebCore::AudioContext::createChannelMerger):
        (WebCore::AudioContext::notifyNodeFinishedProcessing):
        (WebCore::AudioContext::derefFinishedSourceNodes):
        (WebCore::AudioContext::refNode):
        (WebCore::AudioContext::derefNode):
        (WebCore::AudioContext::derefUnfinishedSourceNodes):
        (WebCore::AudioContext::lock):
        (WebCore::AudioContext::tryLock):
        (WebCore::AudioContext::unlock):
        (WebCore::AudioContext::isAudioThread):
        (WebCore::AudioContext::isGraphOwner):
        (WebCore::AudioContext::addDeferredFinishDeref):
        (WebCore::AudioContext::handlePostRenderTasks):
        (WebCore::AudioContext::handleDeferredFinishDerefs):
        (WebCore::AudioContext::markForDeletion):
        (WebCore::AudioContext::deleteMarkedNodes):
        * webaudio/AudioContext.h: Added.
        (WebCore::AudioContext::destination):
        (WebCore::AudioContext::currentTime):
        (WebCore::AudioContext::sampleRate):
        (WebCore::AudioContext::listener):
        (WebCore::AudioContext::temporaryMonoBus):
        (WebCore::AudioContext::temporaryStereoBus):
        (WebCore::AudioContext::incrementConnectionCount):
        (WebCore::AudioContext::connectionCount):
        (WebCore::AudioContext::setAudioThread):
        (WebCore::AudioContext::audioThread):
        (WebCore::AudioContext::isAudioThreadFinished):
        (WebCore::AudioContext::AutoLocker::AutoLocker):
        (WebCore::AudioContext::AutoLocker::~AutoLocker):
        (WebCore::AudioContext::RefInfo::RefInfo):
        * webaudio/AudioContext.idl: Added.

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

11 years agoExpose the BundlePage on the BundleFrame in the API.
jberlin@webkit.org [Thu, 23 Sep 2010 17:37:24 +0000 (17:37 +0000)]
Expose the BundlePage on the BundleFrame in the API.
https://bugs.webkit.org/show_bug.cgi?id=46366

Reviewed by Sam Weinig.

* WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
(WKBundleFrameGetPage):
* WebProcess/InjectedBundle/API/c/WKBundleFrame.h:

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

11 years ago2010-09-23 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Thu, 23 Sep 2010 17:32:52 +0000 (17:32 +0000)]
2010-09-23  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        IndexedDB shouldn't crash on invalid index names
        https://bugs.webkit.org/show_bug.cgi?id=46362

        * storage/indexeddb/objectstore-basics-expected.txt:
        * storage/indexeddb/objectstore-basics.html:
2010-09-23  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        IndexedDB shouldn't crash on invalid index names
        https://bugs.webkit.org/show_bug.cgi?id=46362

        For now, return null.  In a later patch, we'll do proper exception raising.

        * storage/IDBObjectStore.cpp:
        (WebCore::IDBObjectStore::index):

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

11 years ago Reviewed by Anders Carlsson.
ap@apple.com [Thu, 23 Sep 2010 17:29:05 +0000 (17:29 +0000)]
    Reviewed by Anders Carlsson.

        https://bugs.webkit.org/show_bug.cgi?id=43667
        ASSERT failure in NetscapePluginInstanceProxy::disconnectStream

        Test: plugins/get-javascript-url.html

        * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
        (WebKit::NetscapePluginInstanceProxy::evaluateJavaScript): Add the stream to m_streams, just
        like any other one.

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

11 years agoIt should be possible to conditionally define an entire group of messages
andersca@apple.com [Thu, 23 Sep 2010 17:27:36 +0000 (17:27 +0000)]
It should be possible to conditionally define an entire group of messages
https://bugs.webkit.org/show_bug.cgi?id=46368

Reviewed by Adam Roben.

* Scripts/webkit2/messages.py:
Check for a condition when parsing the "messages -> " string and set it as the
message receiver condition.

* Scripts/webkit2/messages_unittest.py:
Add test.

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

11 years ago2010-09-23 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Thu, 23 Sep 2010 17:21:07 +0000 (17:21 +0000)]
2010-09-23  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dave Hyatt.

        Fix the memory safety issue by checking containerObject is a RenderBox
        before doing the transforms.
        https://bugs.webkit.org/show_bug.cgi?id=46365

        Test: compositing/overflow/get-transform-from-non-box-container.html

        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::getTransformFromContainer):
2010-09-23  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dave Hyatt.

        Tests that we donot assert on object->isBox.
        https://bugs.webkit.org/show_bug.cgi?id=46365

        * compositing/overflow/get-transform-from-non-box-container-expected.txt: Added.
        * compositing/overflow/get-transform-from-non-box-container.html: Added.

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

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=46314.
hyatt@apple.com [Thu, 23 Sep 2010 17:17:54 +0000 (17:17 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46314.

Reviewed by Simon Fraser.

The RenderView's block-flow should match the root element's block-flow.  When we create (or re-create) the style for the document, take
the block-flow from the document element's style and use it if it's available.

Also patch styleDidChange so that if the block-flow changes dynamically after we have already made the document style, we'll propagate
the change back up to the RenderView and have it do a relayout.

No tests possible yet, since you can't see the document's style anywhere, and block-flow isn't doing anything to affect layout
yet.

* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::styleForDocument):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::styleDidChange):

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

11 years agoAdd a preference class for Qt for WebKit2.
kenneth@webkit.org [Thu, 23 Sep 2010 17:11:18 +0000 (17:11 +0000)]
Add a preference class for Qt for WebKit2.

Reviewed by Andreas Kling.

* UIProcess/API/qt/qwkpreferences.cpp: Added.
(QWKPreferences::globalPreferences):
(QWKPreferences::QWKPreferences):
(QWKPreferences::~QWKPreferences):
(QWKPreferences::testAttribute):
(QWKPreferences::setAttribute):
* UIProcess/API/qt/qwkpreferences.h: Added.
* WebKit2.pro:

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

11 years ago2010-09-23 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 23 Sep 2010 17:10:23 +0000 (17:10 +0000)]
2010-09-23  Dimitri Glazkov  <dglazkov@chromium.org>

        Remove passing tests. These were failing because the bot was missing QuickTime.

        * platform/chromium/drt_expectations.txt: Removed QuickTime-dependent tests
          after installing QuickTime on the build bot.

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

11 years ago2010-09-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
demarchi@webkit.org [Thu, 23 Sep 2010 16:56:47 +0000 (16:56 +0000)]
2010-09-23  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Csaba Osztrogonác.

        [EFL] Fix warnings during build
        https://bugs.webkit.org/show_bug.cgi?id=46354

        * ewk/ewk_frame.cpp:
        (ewk_frame_text_matches_nth_pos_get): Change argument type because
        it's meant to be always positive.
        * ewk/ewk_frame.h: Ditto.
        * ewk/ewk_view.cpp:
        (ewk_view_exceeded_database_quota): Add missing "%" causing warning about number of
        arguments to printf-like function.
        * ewk/ewk_view.h: Add missing initialization.

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

11 years agoMessage autogeneration script should parse sync message syntax
andersca@apple.com [Thu, 23 Sep 2010 16:46:36 +0000 (16:46 +0000)]
Message autogeneration script should parse sync message syntax
https://bugs.webkit.org/show_bug.cgi?id=46359

Reviewed by Adam Roben.

* Scripts/webkit2/messages.py:
(MessageReceiver.parse): Expand the regular expression to handle sync messages.
(function_parameter_type): Use a const reference for all parameters except the known builtins.
(base_class): Returns the base class for a sync message reply struct.
(delayed_base_class): Returns the base class for a delayed sync message reply struct.

* Scripts/webkit2/messages_unittest.py:
Add unit tests for various sync messages.

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

11 years ago2010-09-23 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Thu, 23 Sep 2010 16:45:15 +0000 (16:45 +0000)]
2010-09-23  Andrey Kosyakov  <caseq@chromium.org>

        Unreviewed build fix ("WTF/" -> "wtf/" in include, broke Arm build)

        * src/AsyncFileWriterChromium.h:

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

11 years ago2010-09-23 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 23 Sep 2010 16:37:14 +0000 (16:37 +0000)]
2010-09-23  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: source frame popups shouldn't disappear when hovered
        https://bugs.webkit.org/show_bug.cgi?id=46358

        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype._mouseMove):

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

11 years ago2010-09-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
demarchi@webkit.org [Thu, 23 Sep 2010 16:21:03 +0000 (16:21 +0000)]
2010-09-23  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Antonio Gomes.

        [EFL] Enable warnings during build by default
        https://bugs.webkit.org/show_bug.cgi?id=46351

        Change default build to enable several warnings like other ports do.
        We need to pay special attention to "-Wall" in order to produce better
        code, so highlight this keyword, too.

        * cmake/WebKitHelpers.cmake:

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

11 years ago2010-09-23 Mario Sanchez Prada <msanchez@igalia.com>
commit-queue@webkit.org [Thu, 23 Sep 2010 16:20:53 +0000 (16:20 +0000)]
2010-09-23  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        [Regression][Gtk] Left and Right Arrows no longer function when caret browsing is enabled
        https://bugs.webkit.org/show_bug.cgi?id=45375

        Added the following test to make sure key navigation across a
        paragraph always work as expected, both with and without the shift
        and ctrl modifiers.

        * platform/gtk/editing/selection/caret-mode-paragraph-keys-navigation-expected.txt: Added.
        * platform/gtk/editing/selection/caret-mode-paragraph-keys-navigation.html: Added.
2010-09-23  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        [Regression][Gtk] Left and Right Arrows no longer function when caret browsing is enabled
        https://bugs.webkit.org/show_bug.cgi?id=45375

        Consider caret browsing for Move commands.

        Test: platform/gtk/editing/selection/caret-mode-left-right-arrows.html

        * editing/EditorCommand.cpp:
        (WebCore::createCommandMap): Use "caret browsing aware functions"
        as isEnabled() function for those commands moving the caret
        forward and backward across characters, words, lines or paragraphs,
        not just left and right, as it was the case so far.

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

11 years agoAddress a remaining discrepancy in piecewise text measurement
mitz@apple.com [Thu, 23 Sep 2010 16:18:01 +0000 (16:18 +0000)]
Address a remaining discrepancy in piecewise text measurement
https://bugs.webkit.org/show_bug.cgi?id=45796

Patch by Brad Moore <bradm@apple.com> on 2010-09-23
Reviewed by Dan Bernstein.

Don't include always-integral space widths in the floating point accumulator designed
to minimize precision loss.  This brings whole-string measurement in line with piecewise
text measurement when dealing with fonts with fractional advances.

* platform/graphics/WidthIterator.cpp:
(WebCore::WidthIterator::advance): Change the associativity of width addition to minimize precision loss.

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

11 years ago2010-09-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 23 Sep 2010 16:12:57 +0000 (16:12 +0000)]
2010-09-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Cleanup network communication code in ResourceHandleWin
        https://bugs.webkit.org/show_bug.cgi?id=46200

        Add logic for request handling directly into ResourceHandle::start and fix style.
        Use Unicode instead of ASCII Windows API functions.

        * platform/network/ResourceHandleInternal.h:
        (WebCore::ResourceHandleInternal::ResourceHandleInternal):
        * platform/network/win/ResourceHandleWin.cpp:
        (WebCore::ResourceHandle::onRequestComplete):
        (WebCore::ResourceHandle::start):

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

11 years ago2010-09-23 Luiz Agostini <luiz.agostini@openbossa.org>
commit-queue@webkit.org [Thu, 23 Sep 2010 15:56:59 +0000 (15:56 +0000)]
2010-09-23  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Andreas Kling.

        Invalid assertion in ScriptCallback
        https://bugs.webkit.org/show_bug.cgi?id=46348

        Removing invalid ASSERT from method ScriptCallback::call().

        * bindings/js/ScriptFunctionCall.cpp:
        (WebCore::ScriptCallback::call):

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

11 years ago2010-09-23 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 23 Sep 2010 15:51:41 +0000 (15:51 +0000)]
2010-09-23  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Ariya Hidayat.

        [Cairo] Generalize ContextShadow from the Qt port and use it for shadow code
        https://bugs.webkit.org/show_bug.cgi?id=45599

        Make ContextShadow platform-independent and add a Cairo implementation. This is currently
        disabled for Cairo, but will be enabled in a followup patch with new baselines.

        No new tests as this does not change functionality.

        * GNUmakefile.am: Update source lists.
        * WebCore.pro: Update source lists.
        * platform/graphics/ContextShadow.cpp: Added. A generalized version of Qt's ContextShadow.
        (WebCore::ContextShadow::ContextShadow):
        (WebCore::ContextShadow::clear):
        (WebCore::ContextShadow::blurLayerImage):
        (WebCore::ContextShadow::calculateMinimalLayerRect):
        * platform/graphics/ContextShadow.h: Added.
        (WebCore::ContextShadow::offset):
        * platform/graphics/cairo/CairoUtilities.cpp: Added.
        (WebCore::setSourceRGBAFromColor): A utility to set the source RGBA on a Cairo surface from a WebCore color.
        * platform/graphics/cairo/CairoUtilities.h: Added.
        * platform/graphics/cairo/ContextShadowCairo.cpp: Added.
        (WebCore::purgeScratchBuffer): Static function to purge the shadow buffer.
        (WebCore::PurgeScratchBufferTimer::fired): Timer callback.
        (WebCore::scheduleScratchBufferPurge): Schedule's a WebCore timer to purge the shadow buffer.
        (WebCore::getScratchBuffer): Create or reuse the scratch buffer.
        (WebCore::ContextShadow::beginShadowLayer): Added.
        (WebCore::ContextShadow::endShadowLayer): Added.
        * platform/graphics/gtk/CairoUtilities.cpp: Removed.
        * platform/graphics/gtk/CairoUtilities.h: Removed.
        * platform/graphics/gtk/GdkCairoUtilities.cpp: Renamed from CairoUtilities.cpp.
        (getCairoSurfacePixel):
        (getGdkPixbufPixel):
        (cairoImageSurfaceToGdkPixbuf):
        * platform/graphics/gtk/GdkCairoUtilities.h: Added.
        * platform/graphics/gtk/ImageBufferGtk.cpp:
        * platform/graphics/gtk/ImageGtk.cpp:
        * platform/graphics/qt/ContextShadow.cpp: Removed.
        * platform/graphics/qt/ContextShadow.h: Removed.
        * platform/graphics/qt/ContextShadowQt.cpp: Added. Adapted from code originally in ContextShadow.cpp.
        (WebCore::ShadowBuffer::ShadowBuffer):
        (WebCore::ShadowBuffer::scratchImage):
        (WebCore::ShadowBuffer::schedulePurge):
        (WebCore::ShadowBuffer::timerEvent):
        (WebCore::ContextShadow::beginShadowLayer):
        (WebCore::ContextShadow::endShadowLayer):
        * platform/graphics/qt/FontQt.cpp:
        (WebCore::drawTextCommon): Updated to reflect new ContextShadow members.
        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContextPlatformPrivate::hasShadow): Updated to reflect new ContextShadow members.
        (WebCore::GraphicsContext::strokeArc): Ditto.
        (WebCore::GraphicsContext::drawConvexPolygon): Ditto.
        (WebCore::GraphicsContext::fillPath): Ditto.
        (WebCore::GraphicsContext::strokePath): Ditto.
        (WebCore::GraphicsContext::fillRect): Ditto.
        (WebCore::GraphicsContext::fillRoundedRect): Ditto.
        (WebCore::GraphicsContext::setPlatformShadow): Ditto.

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

11 years ago2010-09-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 23 Sep 2010 15:39:22 +0000 (15:39 +0000)]
2010-09-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Add internetStatusCallback to ResourceHandleWin.
        https://bugs.webkit.org/show_bug.cgi?id=46187

        Add callback for asynchronous network transfer.

        * platform/network/ResourceHandle.h:
        * platform/network/ResourceHandleInternal.h:
        * platform/network/win/ResourceHandleWin.cpp:
        (WebCore::callOnRedirect):
        (WebCore::callOnRequestComplete):
        (WebCore::ResourceHandle::internetStatusCallback):
        (WebCore::ResourceHandle::onRedirect):

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

11 years ago2010-09-23 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 23 Sep 2010 15:37:37 +0000 (15:37 +0000)]
2010-09-23  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IDBTransactionCoordinator contains a broken assertion.
        https://bugs.webkit.org/show_bug.cgi?id=46356

        Remove the broken assertion.

        * storage/IDBTransactionCoordinator.cpp:
        (WebCore::IDBTransactionCoordinator::processStartedTransactions):

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

11 years ago2010-09-23 Ismail Donmez <ismail@namtrac.org>
andreas.kling@nokia.com [Thu, 23 Sep 2010 15:29:42 +0000 (15:29 +0000)]
2010-09-23  Ismail Donmez  <ismail@namtrac.org>

        Reviewed by Andreas Kling.

        Fix jsc.exe build for Windows CE

        * jsc.pro: Add mmtimer.lib for Windows CE.

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

11 years ago2010-09-08 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Thu, 23 Sep 2010 15:29:22 +0000 (15:29 +0000)]
2010-09-08  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Darin Fisher.

        [chromium] Add chromium port API for accessing Web Timing information
        https://bugs.webkit.org/show_bug.cgi?id=45428

        * WebKit.gyp:
        * public/WebFrame.h:
        * public/WebPerformance.h: Added.
        (WebKit::WebPerformance::WebPerformance):
        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::performance):
        * src/WebFrameImpl.h:
        * src/WebPerformance.cpp: Added.
        (WebKit::WebPerformance::WebPerformance):
        (WebKit::WebPerformance::~WebPerformance):
        (WebKit::WebPerformance::operator=):
        (WebKit::WebPerformance::navigationType):
        (WebKit::WebPerformance::navigationStart):
        (WebKit::WebPerformance::unloadEventEnd):
        (WebKit::WebPerformance::redirectStart):
        (WebKit::WebPerformance::redirectEnd):
        (WebKit::WebPerformance::redirectCount):
        (WebKit::WebPerformance::fetchStart):
        (WebKit::WebPerformance::domainLookupStart):
        (WebKit::WebPerformance::domainLookupEnd):
        (WebKit::WebPerformance::connectStart):
        (WebKit::WebPerformance::connectEnd):
        (WebKit::WebPerformance::requestStart):
        (WebKit::WebPerformance::requestEnd):
        (WebKit::WebPerformance::responseStart):
        (WebKit::WebPerformance::responseEnd):
        (WebKit::WebPerformance::loadEventStart):
        (WebKit::WebPerformance::loadEventEnd):
        (WebKit::WebPerformance::operator PassRefPtr<Performance>):

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

11 years ago2010-09-23 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 23 Sep 2010 15:20:40 +0000 (15:20 +0000)]
2010-09-23  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: highlight DOM nodes when navigating the DOM with keyboard
        https://bugs.webkit.org/show_bug.cgi?id=46346

        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeElement.prototype.onselect):
        * inspector/front-end/treeoutline.js:
        (TreeOutline.prototype._treeKeyDown):
        (TreeElement.prototype.selectOnMouseDown):
        (TreeElement.prototype.select):

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

11 years ago2010-09-23 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 23 Sep 2010 15:13:18 +0000 (15:13 +0000)]
2010-09-23  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        [Chromium] Build broken due to missing include in IDBTransactionBackendImpl.h
        https://bugs.webkit.org/show_bug.cgi?id=46352

        No new tests needed, build fix.

        * storage/IDBTransaction.cpp:
        (WebCore::IDBTransaction::objectStore):
        * storage/IDBTransactionBackendImpl.h:

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

11 years ago2010-09-23 Andrei Popescu <andreip@google.com>
andreip@google.com [Thu, 23 Sep 2010 14:34:22 +0000 (14:34 +0000)]
2010-09-23  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IDBObjectStore::get should run in a transaction.
        https://bugs.webkit.org/show_bug.cgi?id=44700

        * storage/indexeddb/objectstore-basics-expected.txt:
        * storage/indexeddb/objectstore-basics.html:
        * storage/indexeddb/objectstore-removeobjectstore-expected.txt:
        * storage/indexeddb/objectstore-removeobjectstore.html:
2010-09-23  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IDBObjectStore::get should run in a transaction.
        https://bugs.webkit.org/show_bug.cgi?id=44700

        Implements logic for running IDBObjectStore::get() in a transaction.
        Refactors the pending transaction monitor and the transaction coordinator
        to use pointers instead of transaction IDs.

        * bindings/v8/V8Proxy.cpp:
        (WebCore::V8Proxy::didLeaveScriptContext):
        * storage/IDBCursorBackendImpl.cpp:
        * storage/IDBDatabase.cpp:
        (WebCore::IDBDatabase::objectStore):
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::objectStore):
        * storage/IDBDatabaseBackendImpl.h:
        (WebCore::IDBDatabaseBackendImpl::transactionCoordinator):
        * storage/IDBFactoryBackendImpl.cpp:
        * storage/IDBFactoryBackendImpl.h:
        * storage/IDBFactoryBackendInterface.h:
        * storage/IDBObjectStore.cpp:
        (WebCore::IDBObjectStore::IDBObjectStore):
        (WebCore::IDBObjectStore::get):
        * storage/IDBObjectStore.h:
        (WebCore::IDBObjectStore::create):
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::IDBTask::IDBTask):
        (WebCore::IDBTask::performTask):
        (WebCore::createTask):
        (WebCore::IDBObjectStoreBackendImpl::get):
        (WebCore::IDBObjectStoreBackendImpl::getInternal):
        * storage/IDBObjectStoreBackendImpl.h:
        * storage/IDBObjectStoreBackendInterface.h:
        * storage/IDBPendingTransactionMonitor.cpp:
        (WebCore::IDBPendingTransactionMonitor::addPendingTransaction):
        (WebCore::IDBPendingTransactionMonitor::removePendingTransaction):
        (WebCore::IDBPendingTransactionMonitor::abortPendingTransactions):
        * storage/IDBPendingTransactionMonitor.h:
        * storage/IDBRequest.cpp:
        (WebCore::IDBRequest::IDBRequest):
        (WebCore::IDBRequest::~IDBRequest):
        (WebCore::IDBRequest::onSuccess):
        (WebCore::IDBRequest::timerFired):
        * storage/IDBRequest.h:
        (WebCore::IDBRequest::create):
        * storage/IDBTransaction.cpp:
        (WebCore::IDBTransaction::IDBTransaction):
        (WebCore::IDBTransaction::objectStore):
        * storage/IDBTransactionBackendImpl.cpp:
        (WebCore::IDBTransactionBackendImpl::create):
        (WebCore::IDBTransactionBackendImpl::IDBTransactionBackendImpl):
        (WebCore::IDBTransactionBackendImpl::objectStore):
        (WebCore::IDBTransactionBackendImpl::scheduleTask):
        (WebCore::IDBTransactionBackendImpl::abort):
        (WebCore::IDBTransactionBackendImpl::didCompleteTaskEvents):
        (WebCore::IDBTransactionBackendImpl::run):
        (WebCore::IDBTransactionBackendImpl::start):
        (WebCore::IDBTransactionBackendImpl::commit):
        (WebCore::IDBTransactionBackendImpl::timerFired):
        * storage/IDBTransactionBackendImpl.h:
        (WebCore::IDBTransactionBackendImpl::~IDBTransactionBackendImpl):
        (WebCore::IDBTransactionBackendImpl::isFinished):
        * storage/IDBTransactionBackendInterface.h:
        * storage/IDBTransactionCoordinator.cpp:
        (WebCore::IDBTransactionCoordinator::createTransaction):
        (WebCore::IDBTransactionCoordinator::didStartTransaction):
        (WebCore::IDBTransactionCoordinator::didFinishTransaction):
        (WebCore::IDBTransactionCoordinator::processStartedTransactions):
        * storage/IDBTransactionCoordinator.h:
2010-09-23  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IDBObjectStore::get should run in a transaction.
        https://bugs.webkit.org/show_bug.cgi?id=44700

        * public/WebIDBFactory.h:
        * public/WebIDBObjectStore.h:
        * public/WebIDBTransaction.h:
        (WebKit::WebIDBTransaction::didCompleteTaskEvents):
        (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface):
        * src/IDBDatabaseProxy.h:
        * src/IDBFactoryBackendProxy.cpp:
        * src/IDBFactoryBackendProxy.h:
        * src/IDBObjectStoreProxy.cpp:
        (WebCore::IDBObjectStoreProxy::get):
        * src/IDBObjectStoreProxy.h:
        * src/IDBTransactionBackendProxy.cpp:
        (WebCore::IDBTransactionBackendProxy::scheduleTask):
        (WebCore::IDBTransactionBackendProxy::didCompleteTaskEvents):
        * src/IDBTransactionBackendProxy.h:
        (WebCore::IDBTransactionBackendProxy::getWebIDBTransaction):
        * src/WebIDBFactoryImpl.cpp:
        * src/WebIDBFactoryImpl.h:
        * src/WebIDBObjectStoreImpl.cpp:
        (WebKit::WebIDBObjectStoreImpl::get):
        * src/WebIDBObjectStoreImpl.h:
        * src/WebIDBTransactionImpl.cpp:
        (WebKit::WebIDBTransactionImpl::didCompleteTaskEvents):
        (WebKit::WebIDBTransactionImpl::getIDBTransactionBackendInterface):
        * src/WebIDBTransactionImpl.h:

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

11 years ago2010-09-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 23 Sep 2010 14:24:55 +0000 (14:24 +0000)]
2010-09-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Add ChromeClientWinCE
        https://bugs.webkit.org/show_bug.cgi?id=46294

        * WebCoreSupport/ChromeClientWinCE.cpp: Added.
        * WebCoreSupport/ChromeClientWinCE.h: Added.

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

11 years ago2010-09-21 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Thu, 23 Sep 2010 14:24:10 +0000 (14:24 +0000)]
2010-09-21  Stephen White  <senorblanco@chromium.org>

        Reviewed by David Levin.

        Implement --enable-accelerated-2d-canvas flag in DumpRenderTree.
        https://bugs.webkit.org/show_bug.cgi?id=46208

        This flag allows the layout tests to be run with or without accelerated
        2D canvas rendering.

        * DumpRenderTree/chromium/DumpRenderTree.cpp:
        (main):
        Declare the new flag string, and check for it on startup.
        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::TestShell):
        Add a boolean for the new flag, in order to preserve its value over
        preferences reset.
        (TestShell::resetWebSettings):
        Set the new flag to the stored value on reset.
        * DumpRenderTree/chromium/TestShell.h:
        (TestShell::setAccelerated2dCanvasEnabled):
        Add an accessor for the new flag.
        * DumpRenderTree/chromium/WebPreferences.cpp:
        (WebPreferences::reset):
        Initialize the new flag to false.
        (WebPreferences::applyTo):
        Copy the flag's value to the WebSettings.
        * DumpRenderTree/chromium/WebPreferences.h:
        Add the new flag.

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

11 years ago2010-09-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 23 Sep 2010 14:22:32 +0000 (14:22 +0000)]
2010-09-23  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        [WINCE] Remove usage of MemoryManager
        https://bugs.webkit.org/show_bug.cgi?id=46206

        MemoryManager does not provide any extra value, so remove it.

        * page/wince/FrameWinCE.cpp:
        (WebCore::imageFromSelection):
        * platform/graphics/wince/PlatformPathWinCE.cpp:
        (WebCore::drawPolygons):

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

11 years ago2010-09-23 Ismail Dönmez <ismail@namtrac.org>
paroga@webkit.org [Thu, 23 Sep 2010 14:14:34 +0000 (14:14 +0000)]
2010-09-23  Ismail Dönmez  <ismail@namtrac.org>

        Unreviewed.

        JIT should be disabled on Windows CE. Broken in r64176.

        * wtf/Platform.h:

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

11 years ago2010-09-23 Matthew Delaney <mdelaney@apple.com>
commit-queue@webkit.org [Thu, 23 Sep 2010 13:36:47 +0000 (13:36 +0000)]
2010-09-23  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Adam Roben.

        Create one time initialization block for WebView's initWithFrame
        https://bugs.webkit.org/show_bug.cgi?id=46307

        * WebView.cpp: Added one time initialization block for webview code
        that needs only be run once and not for each webview. This is just as
        the mac version WebView.mm does.

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

11 years ago2010-09-23 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 23 Sep 2010 13:29:47 +0000 (13:29 +0000)]
2010-09-23  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed.

        Build fix for FrameLoaderClientWinCE.

        * WebCoreSupport/FrameLoaderClientWinCE.cpp:
        (WebKit::FrameLoaderClientWinCE::canShowMIMETypeAsHTML): Add missing method.
        * WebCoreSupport/FrameLoaderClientWinCE.h:

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

11 years ago2010-09-23 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Thu, 23 Sep 2010 12:38:42 +0000 (12:38 +0000)]
2010-09-23  Jeremy Orlow  <jorlow@chromium.org>

        Unreviewed small fix for my last patch.

        * public/WebIDBTransaction.h:
        (WebKit::WebIDBTransaction::id):

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

11 years agoFix Qt build by adding missing file
vestbo@webkit.org [Thu, 23 Sep 2010 11:24:28 +0000 (11:24 +0000)]
Fix Qt build by adding missing file

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

11 years ago2010-09-23 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 23 Sep 2010 11:13:58 +0000 (11:13 +0000)]
2010-09-23  Adam Barth  <abarth@webkit.org>

        Rubber-stamped by Eric Seidel.

        Sync HTML5lib tests with upstream.

        * html5lib/resources/comments01.dat:
        * html5lib/resources/pending-spec-changes-plain-text-unsafe.dat: Added.
        * html5lib/resources/pending-spec-changes.dat: Added.
        * html5lib/resources/plain-text-unsafe.dat: Added.
        * html5lib/resources/tests1.dat:
        * html5lib/resources/tests10.dat:
        * html5lib/resources/tests13.dat: Removed.
        * html5lib/resources/tests14.dat:
        * html5lib/resources/tests15.dat:
        * html5lib/resources/tests17.dat:
        * html5lib/resources/tests19.dat:
        * html5lib/resources/tests20.dat:
        * html5lib/resources/tests21.dat:
        * html5lib/resources/tests9.dat:
        * html5lib/resources/tests_innerHTML_1.dat:
        * html5lib/runner-expected.txt:

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

11 years ago2010-09-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
vestbo@webkit.org [Thu, 23 Sep 2010 10:53:58 +0000 (10:53 +0000)]
2010-09-23  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Refactor QtWebKitPlatformPlugin interface

        Make it easier to keep source-compability for the
        QtWebKitPlatformPlugin interface, and run qmake
        on the example (but not build) for convenience.

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

        * Api/qwebkitplatformplugin.h:
        * WebCoreSupport/QtPlatformPlugin.cpp:
        * examples/platformplugin/README:
        * examples/platformplugin/WebPlugin.cpp:
        * examples/platformplugin/WebPlugin.h:
        * examples/platformplugin/qwebkitplatformplugin.h:
2010-09-23  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Refactor QtWebKitPlatformPlugin interface

        Make it easier to keep source-compability for the
        QtWebKitPlatformPlugin interface, and run qmake
        on the example (but not build) for convenience.

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

        * Scripts/webkitdirs.pm:

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

11 years ago2010-09-23 Peter Varga <pvarga@inf.u-szeged.hu>
commit-queue@webkit.org [Thu, 23 Sep 2010 08:40:10 +0000 (08:40 +0000)]
2010-09-23  Peter Varga  <pvarga@inf.u-szeged.hu>

        Reviewed by Gavin Barraclough.

        Reduce the number of BOL checks in YARR Interpreter
        https://bugs.webkit.org/show_bug.cgi?id=46260

        Extend the YARR Interpreter with an optimization which reduces the number of
        BOL assertion checks. If a "TypeBodyAlternative" byteTerm is followed by a
        "TypeAssertionBOL" byteTerm it will be checked just one time.

        * yarr/RegexInterpreter.cpp:
        (JSC::Yarr::Interpreter::matchDisjunction):
        (JSC::Yarr::ByteCompiler::compile):
        (JSC::Yarr::ByteCompiler::regexBegin):
        (JSC::Yarr::ByteCompiler::alternativeBodyDisjunction):
        (JSC::Yarr::ByteCompiler::emitDisjunction):
        * yarr/RegexInterpreter.h:
        (JSC::Yarr::ByteTerm::BodyAlternativeBegin):
        (JSC::Yarr::ByteTerm::BodyAlternativeDisjunction):
        (JSC::Yarr::ByteTerm::BodyAlternativeEnd):
        (JSC::Yarr::ByteTerm::AlternativeBegin):
        (JSC::Yarr::ByteTerm::AlternativeDisjunction):
        (JSC::Yarr::ByteTerm::AlternativeEnd):

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

11 years ago2010-09-23 Darin Adler <darin@apple.com>
darin@apple.com [Thu, 23 Sep 2010 08:38:32 +0000 (08:38 +0000)]
2010-09-23  Darin Adler  <darin@apple.com>

        Reviewed by Chris Fleizach.

        media/video-controls-with-mutation-event-handler.html crashing
        https://bugs.webkit.org/show_bug.cgi?id=46169

        * rendering/MediaControlElements.cpp:
        (WebCore::MediaControlInputElement::MediaControlInputElement): Don't take a type argument.
        We can't set the type until after the element is created beacuse of reference counting rules.
        (WebCore::MediaControlMuteButtonElement::MediaControlMuteButtonElement): Don't pass the type.
        (WebCore::MediaControlMuteButtonElement::create): Set the type.
        (WebCore::MediaControlPlayButtonElement::MediaControlPlayButtonElement): More of the same.
        (WebCore::MediaControlPlayButtonElement::create): Ditto.
        (WebCore::MediaControlSeekButtonElement::MediaControlSeekButtonElement): Ditto.
        (WebCore::MediaControlSeekButtonElement::create): Ditto.
        (WebCore::MediaControlRewindButtonElement::MediaControlRewindButtonElement): Ditto.
        (WebCore::MediaControlRewindButtonElement::create): Ditto.
        (WebCore::MediaControlReturnToRealtimeButtonElement::MediaControlReturnToRealtimeButtonElement): Ditto.
        (WebCore::MediaControlReturnToRealtimeButtonElement::create): Ditto.
        (WebCore::MediaControlToggleClosedCaptionsButtonElement::MediaControlToggleClosedCaptionsButtonElement): Ditto.
        (WebCore::MediaControlToggleClosedCaptionsButtonElement::create): Ditto.
        (WebCore::MediaControlTimelineElement::MediaControlTimelineElement): Ditto.
        (WebCore::MediaControlTimelineElement::create): Ditto.
        (WebCore::MediaControlVolumeSliderElement::MediaControlVolumeSliderElement): Ditto.
        (WebCore::MediaControlVolumeSliderElement::create): Ditto.
        (WebCore::MediaControlFullscreenButtonElement::MediaControlFullscreenButtonElement): Ditto.
        (WebCore::MediaControlFullscreenButtonElement::create): Ditto.

        * rendering/MediaControlElements.h: Removed the type argument from the MediaControlInputElement
        constructor.

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

11 years ago2010-09-23 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 23 Sep 2010 07:23:58 +0000 (07:23 +0000)]
2010-09-23  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Tweak some status messages that Eric thought were confusing
        https://bugs.webkit.org/show_bug.cgi?id=46342

        * Scripts/webkitpy/tool/commands/queues.py:
        * Scripts/webkitpy/tool/commands/queues_unittest.py:

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

11 years ago2010-09-22 Luke Macpherson <macpherson@chromium.org>
commit-queue@webkit.org [Thu, 23 Sep 2010 06:59:01 +0000 (06:59 +0000)]
2010-09-22  Luke Macpherson  <macpherson@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Don't allow empty strings as tokens in xmlhttprequest, as per rfc2616 section 2.2.

        XMLHttpRequest: setRequestHeader() does not throw SYNTAX_ERR exception if the header field name is empty
        https://bugs.webkit.org/show_bug.cgi?id=46151

        Test: http/tests/xmlhttprequest/xmlhttprequest-setrequestheader-no-name.html

        * xml/XMLHttpRequest.cpp:
        (WebCore::isValidToken):

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

11 years ago2010-09-22 Kwang Yul Seo <skyul@company100.net>
commit-queue@webkit.org [Thu, 23 Sep 2010 05:15:16 +0000 (05:15 +0000)]
2010-09-22  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Adam Barth.

        [BREWMP] Enable touch events
        https://bugs.webkit.org/show_bug.cgi?id=46321

        Enable TOUCH_EVENTS by porting PlatformTouchEvent and PlatformTouchPoint.
        Brew MP does not support multi touch, so enable only single touch for now.

        * platform/PlatformTouchEvent.h:
        * platform/PlatformTouchPoint.h:
        * platform/brew/PlatformTouchEventBrew.cpp: Added.
        (WebCore::PlatformTouchEvent::PlatformTouchEvent):
        * platform/brew/PlatformTouchPointBrew.cpp: Added.
        (WebCore::PlatformTouchPoint::PlatformTouchPoint):

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

11 years ago2010-09-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 23 Sep 2010 04:55:34 +0000 (04:55 +0000)]
2010-09-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Fix comm-queue typo
        https://bugs.webkit.org/show_bug.cgi?id=46339

        We were missing a "self".  The real problem is that we didn't have an
        integration test for the failure case.

        * Scripts/webkitpy/tool/commands/queues.py:
        * Scripts/webkitpy/tool/commands/queues_unittest.py:

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

11 years ago2010-09-22 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 23 Sep 2010 04:33:29 +0000 (04:33 +0000)]
2010-09-22  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Adam Barth.

        Rebaseline a few repainting tests for Chromium.
        https://bugs.webkit.org/show_bug.cgi?id=46337

        * platform/chromium-linux/fast/repaint/block-layout-inline-children-float-positioned-expected.checksum: Added.
        * platform/chromium-linux/fast/repaint/block-layout-inline-children-float-positioned-expected.png: Added.
        * platform/chromium-linux/fast/repaint/block-layout-inline-children-float-positioned-expected.txt: Added.
        * platform/chromium-linux/fast/repaint/block-layout-inline-children-replaced-expected.checksum: Added.
        * platform/chromium-linux/fast/repaint/block-layout-inline-children-replaced-expected.png: Added.
        * platform/chromium-linux/fast/repaint/block-layout-inline-children-replaced-expected.txt: Added.
        * platform/chromium-linux/fast/repaint/list-marker-expected.checksum:
        * platform/chromium-linux/fast/repaint/list-marker-expected.png:
        * platform/chromium-mac/fast/repaint/background-misaligned-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/background-misaligned-expected.png: Added.
        * platform/chromium-mac/fast/repaint/block-layout-inline-children-float-positioned-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/block-layout-inline-children-float-positioned-expected.png: Added.
        * platform/chromium-mac/fast/repaint/block-layout-inline-children-replaced-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/block-layout-inline-children-replaced-expected.png: Added.
        * platform/chromium-mac/fast/repaint/continuation-after-outline-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/continuation-after-outline-expected.png: Added.
        * platform/chromium-mac/fast/repaint/inline-outline-repaint-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/inline-outline-repaint-expected.png: Added.
        * platform/chromium-mac/fast/repaint/opacity-change-on-overflow-float-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/opacity-change-on-overflow-float-expected.png: Added.
        * platform/chromium-mac/fast/repaint/subtree-root-clip-3-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/subtree-root-clip-3-expected.png: Added.
        * platform/chromium-win/fast/repaint/block-layout-inline-children-float-positioned-expected.checksum: Added.
        * platform/chromium-win/fast/repaint/block-layout-inline-children-float-positioned-expected.png: Added.
        * platform/chromium-win/fast/repaint/block-layout-inline-children-float-positioned-expected.txt: Added.
        * platform/chromium-win/fast/repaint/block-layout-inline-children-replaced-expected.checksum: Added.
        * platform/chromium-win/fast/repaint/block-layout-inline-children-replaced-expected.png: Added.
        * platform/chromium-win/fast/repaint/block-layout-inline-children-replaced-expected.txt: Added.
        * platform/chromium-win/fast/repaint/list-marker-expected.checksum:
        * platform/chromium-win/fast/repaint/list-marker-expected.png:
        * platform/chromium/test_expectations.txt: Updated, removed crazy comment.

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

11 years ago2010-09-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 23 Sep 2010 04:19:47 +0000 (04:19 +0000)]
2010-09-22  Adam Barth  <abarth@webkit.org>

        Reviewed by John Sullivan.

        New review-page design doesn't include name of reviewer
        https://bugs.webkit.org/show_bug.cgi?id=46271

        * PrettyPatch/PrettyPatch.rb:
        * code-review.js:

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

11 years ago2010-09-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 23 Sep 2010 03:46:00 +0000 (03:46 +0000)]
2010-09-22  Adam Barth  <abarth@webkit.org>

        Fix typo in CSS.

        * PrettyPatch/PrettyPatch.rb:

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

11 years ago2010-09-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 23 Sep 2010 03:42:05 +0000 (03:42 +0000)]
2010-09-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Add link to bug to review page
        https://bugs.webkit.org/show_bug.cgi?id=46192

        To make room for the link, I moved the help text to the top of the page
        and tweaked the language to help folks discover that you can select
        context using the line numbers.

        Also, move more text to sans-serif since that fits in better with the
        pretty-patch fonts.

        * PrettyPatch/PrettyPatch.rb:
        * code-review.js:

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

11 years ago2010-09-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 23 Sep 2010 03:11:36 +0000 (03:11 +0000)]
2010-09-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        commit-queue should log more detailed messages to the QueueStatusServer
        https://bugs.webkit.org/show_bug.cgi?id=46333

        When I created CommitQueueTask, I removed most of the previous logging.
        This patch adds back more detailed logging so folks can see their patch
        progress through the queue.

        * Scripts/webkitpy/tool/bot/commitqueuetask.py:
        * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
        * Scripts/webkitpy/tool/commands/queues.py:
        * Scripts/webkitpy/tool/commands/queues_unittest.py:

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

11 years agoFix a typo and correct an inaccurate phrase in a comment.
aestes@apple.com [Thu, 23 Sep 2010 02:57:49 +0000 (02:57 +0000)]
Fix a typo and correct an inaccurate phrase in a comment.

Rubber-stamped by Darin Adler.

* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processEndTag):

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

11 years ago2010-09-22 Andy Estes <aestes@apple.com>
aestes@apple.com [Thu, 23 Sep 2010 02:39:21 +0000 (02:39 +0000)]
2010-09-22  Andy Estes  <aestes@apple.com>

        Reviewed by Adam Barth.

        REGRESSION (r61285): <script /> parses differently in HTML5
        https://bugs.webkit.org/show_bug.cgi?id=42909

        If pre-HTML5 parser quirks are enabled, the HTMLTreeBuilder should
        handle self-closing script tags like the old parser did. Specifically,
        "<script />" should be treated as "<script></script>".

        * html/parser/HTMLDocumentParser.cpp:
        (WebCore::HTMLDocumentParser::HTMLDocumentParser): Instantiate
        HTMLTreeBuilder with the value of usePreHTML5ParserQuirks().
        * html/parser/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
        (WebCore::HTMLTreeBuilder::processEndTag): If the tokenizer is not
        currently in DataState, this means that the current end token is fake
        and was created by the tree builder to handle a self-closing script tag.
        Assert that pre-HTML5 quirks are enabled and set the tokenizer's state
        to DataState in this case.
        (WebCore::HTMLTreeBuilder::processStartTagForInHead): If pre-HTML5
        parser quirks are enabled and the script tag is self-closing, create and
        procses a fake script end tag.
        * html/parser/HTMLTreeBuilder.h:
        (WebCore::HTMLTreeBuilder::create):
2010-09-22  Andy Estes  <aestes@apple.com>

        Reviewed by Adam Barth.

        REGRESSION (r61285): <script /> parses differently in HTML5
        https://bugs.webkit.org/show_bug.cgi?id=42909

        Add tests for the self-closing script tag quirk.

        * fast/parser/pre-html5-parser-quirks-expected.txt:
        * fast/parser/pre-html5-parser-quirks.html:
        * fast/parser/resources/pre-html5-parser-quirk-document-fragment.html:
        * fast/parser/resources/pre-html5-parser-quirk-self-closing-script-in-body.html: Added.
        * fast/parser/resources/pre-html5-parser-quirk-self-closing-script-in-head.html: Added.
        * fast/parser/resources/pre-html5-parser-quirk-self-closing-script.js: Added.
        (printToConsole):

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

11 years ago2010-09-22 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 23 Sep 2010 02:08:30 +0000 (02:08 +0000)]
2010-09-22  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] User style layout tests don't pass on Chromium
        https://bugs.webkit.org/show_bug.cgi?id=46069

        User style tests should now pass with the Chromium DRT since we now
        apply the styles immediately, just like the other ports (once we also
        remove some bad baselines for user-style-top-frame-only added by
        r62958).

        Tests still don't pass with test_shell until it starts to use
        InjectInExistingDocuments too.

        * platform/chromium-mac/userscripts/user-style-top-frame-only-expected.txt: Removed.
        * platform/chromium-win/userscripts/user-style-top-frame-only-expected.txt: Removed.
        * platform/chromium/drt_expectations.txt:
2010-09-22  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] User style layout tests don't pass on Chromium
        https://bugs.webkit.org/show_bug.cgi?id=46069

        Instead of making resetUserStyleCacheInAllFrames be a no-op for
        Chromium, have it be controlled by a UserStyleInjectionTime enum.

        Also move the UserStyleSheet::Level enum to be inside
        UserStyleSheetTypes for consistency.

        * WebCore.exp.in:
        * dom/Document.cpp:
        (WebCore::Document::pageGroupUserSheets):
        * page/PageGroup.cpp:
        (WebCore::PageGroup::addUserStyleSheetToWorld):
        * page/PageGroup.h:
        * page/UserStyleSheet.h:
        (WebCore::UserStyleSheet::UserStyleSheet):
        (WebCore::UserStyleSheet::level):
        * page/UserStyleSheetTypes.h:
2010-09-22  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] User style layout tests don't pass on Chromium
        https://bugs.webkit.org/show_bug.cgi?id=46069

        Expose UserStyleInjectionTime in WebView.

        * public/WebView.h:
        * src/WebViewImpl.cpp:
        (WebKit::WebView::addUserStyleSheet):
2010-09-22  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] User style layout tests don't pass on Chromium
        https://bugs.webkit.org/show_bug.cgi?id=46069

        Fix a typo in LayoutTestController::addUserStyleSheet that was causing a
        crash the Chromium DRT. Pass InjectInExistingDocuments to mimic DRT
        behavior from other ports.

        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::addUserStyleSheet):

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

11 years ago2010-09-22 James Robinson <jamesr@chromium.org>
jamesr@google.com [Thu, 23 Sep 2010 02:02:51 +0000 (02:02 +0000)]
2010-09-22  James Robinson  <jamesr@chromium.org>

        [chromium] Re-synchronizes features.gypi with upstream feature_overrides.gypi.

        * features.gypi:

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

11 years ago2010-09-22 Ruben <chromium@hybridsource.org>
jamesr@google.com [Thu, 23 Sep 2010 01:55:58 +0000 (01:55 +0000)]
2010-09-22  Ruben  <chromium@hybridsource.org>

        Reviewed by Tony Chang.

        [chromium] added ifdefs for FreeBSD support
        https://bugs.webkit.org/show_bug.cgi?id=46316

        * bindings/js/JSInspectorFrontendHostCustom.cpp:
        (WebCore::JSInspectorFrontendHost::platform):
        * bindings/v8/custom/V8InspectorFrontendHostCustom.cpp:
        (WebCore::V8InspectorFrontendHost::platformCallback):
        * dom/SelectElement.cpp:
        * loader/CachedFont.cpp:
        * page/EventHandler.cpp:
        * page/chromium/EventHandlerChromium.cpp:
        * platform/Scrollbar.cpp:
        * platform/chromium/ChromiumBridge.h:
        * platform/graphics/chromium/FontPlatformData.h:
        * platform/graphics/skia/FontCustomPlatformData.cpp:
        (WebCore::FontCustomPlatformData::~FontCustomPlatformData):
        (WebCore::FontCustomPlatformData::fontPlatformData):
        (WebCore::createFontCustomPlatformData):
        * platform/graphics/skia/FontCustomPlatformData.h:
2010-09-22  Ruben  <chromium@hybridsource.org>

        Reviewed by Tony Chang.

        [chromium] added ifdefs for FreeBSD support
        https://bugs.webkit.org/show_bug.cgi?id=46316

        * WebKit.gyp:
        * features.gypi:
        * src/ChromiumBridge.cpp:
        * src/WebFrameImpl.cpp:
        (WebKit::ChromePrintContext::spoolPage):
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::mouseDown):
        (WebKit::WebViewImpl::mouseUp):
        (WebKit::WebViewImpl::keyEvent):
        (WebKit::WebViewImpl::setScrollbarColors):
        (WebKit::WebViewImpl::setSelectionColors):

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

11 years ago2010-09-22 Mario Sanchez Prada <msanchez@igalia.com>
commit-queue@webkit.org [Thu, 23 Sep 2010 01:48:10 +0000 (01:48 +0000)]
2010-09-22  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Replace instances of g_timeout_add() with g_idle_add() in testatk.c
        https://bugs.webkit.org/show_bug.cgi?id=46284

        Use g_idle_add() whenever g_timeout_add() was being used.

        This is desired because it's better to rely on the main loop to
        decide when it's a good moment to execute the task (when idle)
        than manually setting a timeout, which also sets a minimum amount
        of time needed to get the function executed.

        * tests/testatk.c:
        (testWekitAtkTextSelections):
        (testWebkitAtkGetExtents):
        (testWebkitAtkListsOfItems):
        (main):

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

11 years ago2010-09-22 Rafael Antognolli <antognolli@profusion.mobi>
commit-queue@webkit.org [Thu, 23 Sep 2010 01:31:48 +0000 (01:31 +0000)]
2010-09-22  Rafael Antognolli  <antognolli@profusion.mobi>

        Unreviewed build fix.

        [EFL] Fix build due to latest EFL (Edje) changes.
        https://bugs.webkit.org/show_bug.cgi?id=46317

        Make the change int -> Edje_Load_Error (enum).

        No new functionality, so no new tests.

        * platform/efl/RenderThemeEfl.cpp:
        (WebCore::RenderThemeEfl::themePartCacheEntryReset):
        (WebCore::RenderThemeEfl::createEdje):
        (WebCore::RenderThemeEfl::applyPartDescriptions):
        * platform/efl/ScrollbarEfl.cpp:
        (ScrollbarEfl::setParent):

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

11 years ago2010-09-22 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Thu, 23 Sep 2010 01:31:00 +0000 (01:31 +0000)]
2010-09-22  Kinuko Yasuda  <kinuko@chromium.org>

        Unreviewed, temporarily disabling the new filesystem test on chromium.

        * platform/chromium/test_expectations.txt:

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