profile/ivi/webkit-efl.git
13 years ago2010-12-29 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 29 Dec 2010 22:22:10 +0000 (22:22 +0000)]
2010-12-29  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: revert r74755 and 74757.

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

13 years ago2010-12-29 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 29 Dec 2010 22:20:51 +0000 (22:20 +0000)]
2010-12-29  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Sam Weinig.

        JSDataViewCustom.cpp gives the fastcall calling convention to functions called via C++
        https://bugs.webkit.org/show_bug.cgi?id=51722

        Remove the JSC_HOST_CALL from methods that are called from C++. JSC_HOST_CALL gives
        methods the fastcall calling convention, which leads to runtime errors when they are
        called from C++. Also remove a bit of unnecessary code duplication.

        No new tests. This is covered by fast/canvas/webgl/data-view-test.html.

        * bindings/js/JSDataViewCustom.cpp:
        (WebCore::getDataViewMember): Remove duplicated code.
        (WebCore::JSDataView::getInt8): Remove JSC_HOST_CALL.
        (WebCore::JSDataView::getUint8): Ditto.
        (WebCore::JSDataView::getFloat32): Ditto.
        (WebCore::JSDataView::getFloat64): Ditto.
        (WebCore::setDataViewMember): Remove duplicated code.
        (WebCore::JSDataView::setInt8): Remove JSC_HOST_CALL.
        (WebCore::JSDataView::setUint8): Ditto.

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

13 years agoA more robust fix for https://bugs.webkit.org/show_bug.cgi?id=51681
mitz@apple.com [Wed, 29 Dec 2010 22:18:42 +0000 (22:18 +0000)]
A more robust fix for https://bugs.webkit.org/show_bug.cgi?id=51681

Reviewed by Kenneth Russel.

* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::attach): Added. Like recalcStyle(), calls
CanvasRenderingContext2D::updateFont() if necessary. This covers the case of a detach/
attach-type style recalc.
* html/HTMLCanvasElement.h:
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::drawTextInternal): Removed the early return added in
r74716. A font that is loading custom fonts is okay to use, as long as it is valid.
(WebCore::CanvasRenderingContext2D::accessFont): Added a call to
Document::updateStyleIfNeeded(). This ensures that any pending style recalc will take place
and update the font if it is invalid.
* platform/graphics/Font.h:
(WebCore::Font::loadingCustomFonts): Made this private.

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

13 years ago2010-12-29 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 29 Dec 2010 21:43:04 +0000 (21:43 +0000)]
2010-12-29  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium expectations update.

        fast/canvas/webgl/tex-image-with-format-and-type.html is flaky in
        the GPU suite too.

        * platform/chromium/test_expectations.txt:
        * platform/chromium-gpu/test_expectations.txt:

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

13 years ago2010-12-29 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 29 Dec 2010 21:39:14 +0000 (21:39 +0000)]
2010-12-29  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: Qt build fix.

        * inspector/InspectorController.cpp:

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

13 years ago2010-12-29 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 29 Dec 2010 21:38:32 +0000 (21:38 +0000)]
2010-12-29  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium expectations update.

        Remove failure expectations for tests that no longer fail:
        - fast/images/svg-as-background.html has not timed out for as long as
          the flakiness dashboard has history
        - svg/W3C-SVG-1.1/animate-elem-03-t.svg has not failed for as long as
          the flakiness dashboard has history

        * platform/chromium/test_expectations.txt:

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

13 years ago2010-12-29 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 29 Dec 2010 21:30:47 +0000 (21:30 +0000)]
2010-12-29  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: extract Database & DOM Storage
        agents; remove InspectorBackend.
        https://bugs.webkit.org/show_bug.cgi?id=51707

        This change brushes up storage agents + removes redundant
        InspectorBackend class.

        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * inspector/CodeGeneratorInspector.pm:
        * inspector/InjectedScriptHost.cpp:
        (WebCore::InjectedScriptHost::databaseForId):
        (WebCore::InjectedScriptHost::selectDatabase):
        (WebCore::InjectedScriptHost::selectDOMStorage):
        (WebCore::InjectedScriptHost::inspectorDOMAgent):
        * inspector/Inspector.idl:
        * inspector/InspectorBackend.cpp: Removed.
        * inspector/InspectorBackend.h: Removed.
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::InspectorController):
        (WebCore::InspectorController::~InspectorController):
        (WebCore::InspectorController::connectFrontend):
        (WebCore::InspectorController::releaseFrontendLifetimeAgents):
        (WebCore::InspectorController::didUseDOMStorage):
        (WebCore::InspectorController::setInjectedScriptSource):
        (WebCore::InspectorController::dispatchOnInjectedScript):
        (WebCore::InspectorController::releaseWrapperObjectGroup):
        * inspector/InspectorController.h:
        * inspector/InspectorDOMStorageAgent.cpp: Added.
        (WebCore::InspectorDOMStorageAgent::~InspectorDOMStorageAgent):
        (WebCore::InspectorDOMStorageAgent::getDOMStorageEntries):
        (WebCore::InspectorDOMStorageAgent::setDOMStorageItem):
        (WebCore::InspectorDOMStorageAgent::removeDOMStorageItem):
        (WebCore::InspectorDOMStorageAgent::selectDOMStorage):
        (WebCore::InspectorDOMStorageAgent::InspectorDOMStorageAgent):
        (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
        * inspector/InspectorDOMStorageAgent.h: Copied from WebCore/inspector/InspectorStorageAgent.h.
        (WebCore::InspectorDOMStorageAgent::create):
        (WebCore::InspectorDOMStorageAgent::frontend):
        * inspector/InspectorDatabaseAgent.cpp: Renamed from WebCore/inspector/InspectorStorageAgent.cpp.
        (WebCore::InspectorDatabaseAgent::~InspectorDatabaseAgent):
        (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
        (WebCore::InspectorDatabaseAgent::executeSQL):
        (WebCore::InspectorDatabaseAgent::databaseForId):
        (WebCore::InspectorDatabaseAgent::selectDatabase):
        (WebCore::InspectorDatabaseAgent::clearFrontend):
        (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
        * inspector/InspectorDatabaseAgent.h: Renamed from WebCore/inspector/InspectorStorageAgent.h.
        (WebCore::InspectorDatabaseAgent::create):
        (WebCore::InspectorDatabaseAgent::frontend):
        * inspector/InspectorFrontendClientLocal.cpp:
        * inspector/InspectorFrontendClientLocal.h:
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype.show):

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

13 years ago2010-12-29 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 29 Dec 2010 21:24:27 +0000 (21:24 +0000)]
2010-12-29  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium expectations update.
        Add recent upstream expectations Chromium changes.

        * platform/chromium/test_expectations.txt:

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

13 years ago2010-12-29 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 29 Dec 2010 20:49:13 +0000 (20:49 +0000)]
2010-12-29  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium expectations update.
        Mark http/tests/incremental/split-hex-entities.pl as flaky.

        * platform/chromium/test_expectations.txt:

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

13 years ago2010-12-29 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Wed, 29 Dec 2010 20:39:58 +0000 (20:39 +0000)]
2010-12-29  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Assertion failure: element->inDocument() in AsyncScriptRunner::executeScriptSoon()
        https://bugs.webkit.org/show_bug.cgi?id=51067

        * fast/dom/HTMLScriptElement/move-in-beforeload-expected.txt: Added.
        * fast/dom/HTMLScriptElement/move-in-beforeload.html: Added.
        * fast/dom/HTMLScriptElement/remove-in-beforeload-expected.txt: Added.
        * fast/dom/HTMLScriptElement/remove-in-beforeload.html: Added.
2010-12-29  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Assertion failure: element->inDocument() in AsyncScriptRunner::executeScriptSoon()
        https://bugs.webkit.org/show_bug.cgi?id=51067

        Typically when a script element is removed from the document, the cached script
        client is removed. However, during the before load event, the cached script client
        hasn't been created yet so it can't be removed.

        This patch handles that case by explicitly checking if the script element was
        removed during the beforeload event. Also, it avoids caching the Document references
        over the arbitrary script execution in the before load event.

        Test: fast/dom/HTMLScriptElement/move-in-beforeload.html
              fast/dom/HTMLScriptElement/remove-in-beforeload.html

        * dom/ScriptElement.cpp:
        (WebCore::ScriptElement::requestScript):

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

13 years ago<rdar://problem/8758191> REGRESSION (r72887): Mail crashes when doing searches in...
mitz@apple.com [Wed, 29 Dec 2010 20:02:10 +0000 (20:02 +0000)]
<rdar://problem/8758191> REGRESSION (r72887): Mail crashes when doing searches in a message due to method name conflict
https://bugs.webkit.org/show_bug.cgi?id=51717

Reviewed by Ada Chan.

Renamed -findString:options: to -_findString:options: in the WebDocumentOptionsSearching
protocol to avoid conflict with -[WebHTMLView(MailExtras) findString:options:] which Mail defines.

* WebView/WebDocumentInternal.h:
* WebView/WebHTMLView.mm:
(-[WebHTMLView searchFor:direction:caseSensitive:wrap:startInSelection:]):
(-[WebHTMLView _findString:options:]):
* WebView/WebView.mm:
(findString):

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

13 years ago2010-12-29 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 29 Dec 2010 19:20:05 +0000 (19:20 +0000)]
2010-12-29  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed, rolling out r74748.
        http://trac.webkit.org/changeset/74748

        r74735 was rolled out with r74749, the expectations update
        should be rolled out too

        * platform/chromium-mac/fast/events/ime-composition-events-001-expected.txt: Added.
        * platform/chromium-win/fast/events/ime-composition-events-001-expected.txt: Added.
        * platform/chromium/fast/events/ime-composition-events-001-expected.txt: Removed.

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

13 years ago2010-12-29 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Wed, 29 Dec 2010 19:13:20 +0000 (19:13 +0000)]
2010-12-29  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r74735.
        http://trac.webkit.org/changeset/74735
        https://bugs.webkit.org/show_bug.cgi?id=51715

        assert failures on fast/forms/input-maxlength-ime-
        completed.html (Requested by mihaip on #webkit).

        * platform/chromium/test_expectations.txt:
2010-12-29  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r74735.
        http://trac.webkit.org/changeset/74735
        https://bugs.webkit.org/show_bug.cgi?id=51715

        assert failures on fast/forms/input-maxlength-ime-
        completed.html (Requested by mihaip on #webkit).

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::setMarkedText):

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

13 years ago2010-12-29 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 29 Dec 2010 18:17:51 +0000 (18:17 +0000)]
2010-12-29  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium baselines. Update Chromium baselines for
        fast/events/ime-composition-events-001.html after r74735 (the
        new baselines are closer to the upstream Mac ones).

        * platform/chromium-mac/fast/events/ime-composition-events-001-expected.txt: Removed.
        * platform/chromium-win/fast/events/ime-composition-events-001-expected.txt: Removed.
        * platform/chromium/fast/events/ime-composition-events-001-expected.txt: Added.

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

13 years ago2010-12-29 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Wed, 29 Dec 2010 18:12:47 +0000 (18:12 +0000)]
2010-12-29  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium baselines. Add Chromium baselines for the
        layout test added by r74743.

        * platform/chromium-linux/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.checksum: Added.
        * platform/chromium-linux/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.png: Added.
        * platform/chromium-mac/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.checksum: Added.
        * platform/chromium-mac/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.png: Added.
        * platform/chromium-win/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.checksum: Added.
        * platform/chromium-win/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.png: Added.
        * platform/chromium-win/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt: Added.

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

13 years ago2010-12-29 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 29 Dec 2010 18:03:20 +0000 (18:03 +0000)]
2010-12-29  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Ojan Vafai.

        prepare-ChangeLog should support the -g option for specifying the git-commit
        https://bugs.webkit.org/show_bug.cgi?id=51708

        Add a -g shortcut for the --git-commit prepare-ChangeLog option. This matches
        webkit-patch, though the exact meaning of the two options remain different.

        * Scripts/prepare-ChangeLog: Add -g.

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

13 years ago2010-12-29 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Wed, 29 Dec 2010 18:01:39 +0000 (18:01 +0000)]
2010-12-29  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Element highlight tooltip displays wrong element size when zoomed in
        https://bugs.webkit.org/show_bug.cgi?id=51703

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::drawElementTitle):

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

13 years ago[HTML5][Forms] Support for :in-range and :out-of-range CSS selectors
yael.aharon@nokia.com [Wed, 29 Dec 2010 16:00:48 +0000 (16:00 +0000)]
[HTML5][Forms] Support for :in-range and :out-of-range CSS selectors
https://bugs.webkit.org/show_bug.cgi?id=29071

Reviewed by Kent Tamura.

WebCore:

Use InputType::rangeUnderflow() and InputType::rangeOverflow()
to determine if a control is in-range or out-of-range.

Tests: fast/css/pseudo-in-range-invalid-value.html
       fast/css/pseudo-in-range.html
       fast/css/pseudo-out-of-range.html

* css/CSSSelector.cpp:
(WebCore::CSSSelector::pseudoId):
(WebCore::nameToPseudoTypeMap):
(WebCore::CSSSelector::extractPseudoType):
* css/CSSSelector.h:
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::canShareStyleWithElement):
(WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
* dom/Element.h:
(WebCore::Element::isInRange):
(WebCore::Element::isOutOfRange):
* html/BaseDateAndTimeInputType.cpp:
(WebCore::BaseDateAndTimeInputType::supportsRangeLimitation):
* html/BaseDateAndTimeInputType.h:
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::isInRange):
(WebCore::HTMLInputElement::isOutOfRange):
* html/HTMLInputElement.h:
* html/InputType.cpp:
(WebCore::InputType::supportsRangeLimitation):
* html/InputType.h:
* html/NumberInputType.cpp:
(WebCore::NumberInputType::supportsRangeLimitation):
* html/NumberInputType.h:
* html/RangeInputType.cpp:
(WebCore::RangeInputType::supportsRangeLimitation):
* html/RangeInputType.h:

LayoutTests:

* fast/css/pseudo-in-range-expected.txt: Added.
* fast/css/pseudo-in-range-invalid-value-expected.txt: Added.
* fast/css/pseudo-in-range-invalid-value.html: Added.
* fast/css/pseudo-in-range.html: Added.
* fast/css/pseudo-out-of-range-expected.txt: Added.
* fast/css/pseudo-out-of-range.html: Added.
* fast/css/script-tests/pseudo-in-range-invalid-value.js: Added.
* fast/css/script-tests/pseudo-in-range.js: Added.
* fast/css/script-tests/pseudo-out-of-range.js: Added.

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

13 years ago2010-12-29 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Wed, 29 Dec 2010 15:50:15 +0000 (15:50 +0000)]
2010-12-29  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Eric Seidel.

        When cloning an anonymous block, make sure to set the childrenInline flag based
        on the state of the block to be cloned.
        https://bugs.webkit.org/show_bug.cgi?id=51489

        Test: fast/multicol/span/clone-anonymous-block-non-inline-child-crash.html

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::clone): add code to handle cloning of anonymous blocks.
        (WebCore::RenderBlock::splitBlocks): remove anonymous block creation calls since it is now handled by clone().
2010-12-29  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Eric Seidel.

        Tests that cloning an anonymous block with non inline children does not crash.
        https://bugs.webkit.org/show_bug.cgi?id=51489

        * fast/multicol/span/clone-anonymous-block-non-inline-child-crash.html: Added.
        * platform/mac/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.checksum: Added.
        * platform/mac/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.png: Added.
        * platform/mac/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt: Added.

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

13 years ago2010-12-29 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 29 Dec 2010 15:38:17 +0000 (15:38 +0000)]
2010-12-29  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed build fix for WinCE after r73802.

        Reapply parts from r72585:
        Port ContextMenuWin.cpp to WinCE
        https://bugs.webkit.org/show_bug.cgi?id=48408

        * CMakeLists.txt:
        * platform/ContextMenu.h:
        * platform/win/ContextMenuWin.cpp:
        (WebCore::ContextMenu::getContextMenuItems):
        (WebCore::ContextMenu::createNativeMenuFromItems):
2010-12-29  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed build fix for WinCE after r73802.

        * WebCoreSupport/ContextMenuClientWinCE.cpp:
        (WebKit::ContextMenuClientWinCE::customizeMenu):
        * WebCoreSupport/ContextMenuClientWinCE.h:

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

13 years ago2010-12-29 Kent Hansen <kent.hansen@nokia.com>
kent.hansen@nokia.com [Wed, 29 Dec 2010 13:39:37 +0000 (13:39 +0000)]
2010-12-29  Kent Hansen  <kent.hansen@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Fix compilation with Qt in namespace
        https://bugs.webkit.org/show_bug.cgi?id=51701

        * QtTestBrowser/webview.h:

2010-12-29  Kent Hansen  <kent.hansen@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Fix compilation with Qt in namespace
        https://bugs.webkit.org/show_bug.cgi?id=51701

        * platform/graphics/ContextShadow.h:
        * platform/graphics/GraphicsContext3D.h:
        * platform/network/NetworkingContext.h:
        * platform/network/qt/QtNAMThreadSafeProxy.h:
        * plugins/PluginView.h:

2010-12-29  Kent Hansen  <kent.hansen@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Fix compilation with Qt in namespace
        https://bugs.webkit.org/show_bug.cgi?id=51701

        * Api/qwebkitplatformplugin.h:
        * WebCoreSupport/InspectorServerQt.h:
        * tests/hybridPixmap/widget.h:

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

13 years ago2010-12-28 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Wed, 29 Dec 2010 11:53:48 +0000 (11:53 +0000)]
2010-12-28  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: A disabled style property should get enabled when edited
        https://bugs.webkit.org/show_bug.cgi?id=51679

        * inspector/styles-disable-then-change-expected.txt: Added.
        * inspector/styles-disable-then-change.html: Added.
2010-12-28  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: A disabled style property should get enabled when edited
        https://bugs.webkit.org/show_bug.cgi?id=51679

        Test: inspector/styles-disable-then-change.html

        * inspector/front-end/CSSStyleModel.js:
        (WebInspector.CSSProperty.prototype.setText):
        (WebInspector.CSSProperty.prototype.setText.callback):

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

13 years ago2010-12-29 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Wed, 29 Dec 2010 11:35:13 +0000 (11:35 +0000)]
2010-12-29  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed. Use gcc as default preprocessor.

        * Sources/cmake/OptionsCommon.cmake:
2010-12-29  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [CMake] Remove WebKitGenerators
        https://bugs.webkit.org/show_bug.cgi?id=50445

        * CMakeLists.txt: Pass preprocessor to generate-bindings.pl.

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

13 years ago2010-12-29 Juha Savolainen <juha.savolainen@weego.fi>
commit-queue@webkit.org [Wed, 29 Dec 2010 11:22:45 +0000 (11:22 +0000)]
2010-12-29  Juha Savolainen  <juha.savolainen@weego.fi>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] [WK2] Added more webattributes to the qwkpreferences
        https://bugs.webkit.org/show_bug.cgi?id=51697

        Added PrivateBrowsingEnabled, DeveloperExtrasEnabled, DnsPrefetchEnabled attributes

        * UIProcess/API/qt/qwkpreferences.cpp:
        (QWKPreferences::testAttribute):
        (QWKPreferences::setAttribute):
        * UIProcess/API/qt/qwkpreferences.h:

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

13 years ago2010-12-29 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Wed, 29 Dec 2010 09:32:12 +0000 (09:32 +0000)]
2010-12-29  Helder Correia  <helder@sencha.com>

        Reviewed by Eric Seidel.

        <VT> and <FF> are not valid JSON whitespace characters
        https://bugs.webkit.org/show_bug.cgi?id=51671

        Vertical Tab and Form Feed are not allowed white spaces by the JSON
        RFC 4627: http://www.ietf.org/rfc/rfc4627.txt (2. JSON Grammar).

        Tests: ietestcenter/Javascript/15.12.1.1-0-2.html
               ietestcenter/Javascript/15.12.1.1-0-3.html

        * runtime/LiteralParser.cpp:
        (JSC::isJSONWhiteSpace):
        (JSC::LiteralParser::Lexer::lex):
2010-12-29  Helder Correia  <helder@sencha.com>

        Reviewed by Eric Seidel.

        <VT> and <FF> are not valid JSON whitespace characters
        https://bugs.webkit.org/show_bug.cgi?id=51671

        Vertical Tab and Form Feed are not allowed white spaces by the JSON
        RFC 4627: http://www.ietf.org/rfc/rfc4627.txt (2. JSON Grammar).

        * ietestcenter/Javascript/15.12.1.1-0-2-expected.txt:
        * ietestcenter/Javascript/15.12.1.1-0-3-expected.txt:

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

13 years ago2010-12-29 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Wed, 29 Dec 2010 09:30:43 +0000 (09:30 +0000)]
2010-12-29  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skip flaky test on GTK.

        [GTK] editing/selection/extend-by-character-004.html is flaky
        https://bugs.webkit.org/show_bug.cgi?id=51699

        * platform/gtk/Skipped:

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

13 years ago2010-12-29 Zhe Su <suzhe@chromium.org>
commit-queue@webkit.org [Wed, 29 Dec 2010 09:22:19 +0000 (09:22 +0000)]
2010-12-29  Zhe Su  <suzhe@chromium.org>

        Reviewed by Eric Seidel.

        Remove entry for editing/input/ime-composition-clearpreedit.html test.
        https://bugs.webkit.org/show_bug.cgi?id=51693

        * platform/chromium/test_expectations.txt:
2010-12-29  Zhe Su  <suzhe@chromium.org>

        Reviewed by Eric Seidel.

        Fix editing/input/ime-composition-clearpreedit.html test in chromium
        by removing the line "editor->confirmComposition(text);" from
        WebFrameImpl::setMarkedText() method, because that line will insert the
        text into the focused node, which is apparently wrong.

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

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::setMarkedText):

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

13 years ago2010-12-28 Pratik Solanki <psolanki@apple.com>
commit-queue@webkit.org [Wed, 29 Dec 2010 07:45:28 +0000 (07:45 +0000)]
2010-12-28  Pratik Solanki  <psolanki@apple.com>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=51522
        Use deviceRGBColorSpaceRef() instead of calling CGColorSpaceCreateDeviceRGB()

        * page/win/FrameCGWin.cpp:
        (WebCore::imageFromRect):
        * platform/graphics/cg/GradientCG.cpp:
        (WebCore::Gradient::platformGradient):
        * platform/graphics/cg/GraphicsContext3DCG.cpp:
        (WebCore::GraphicsContext3D::paintToCanvas):
        * platform/graphics/cg/ImageCG.cpp:
        (WebCore::BitmapImage::checkForSolidColor):
        * platform/graphics/gstreamer/ImageGStreamerCG.mm:
        (ImageGStreamer::ImageGStreamer):
        * platform/graphics/win/GraphicsContextCGWin.cpp:
        (WebCore::CGContextWithHDC):
        (WebCore::GraphicsContext::releaseWindowsContext):
        (WebCore::GraphicsContext::drawWindowsBitmap):
        * platform/graphics/win/ImageCGWin.cpp:
        (WebCore::BitmapImage::create):
        (WebCore::BitmapImage::getHBITMAPOfSize):
        * platform/image-decoders/cg/ImageDecoderCG.cpp:
        (WebCore::createColorSpace):
        * platform/win/DragImageCGWin.cpp:
        (WebCore::allocImage):
        (WebCore::createCgContextFromBitmap):
        * rendering/RenderThemeMac.mm:
        (WebCore::RenderThemeMac::paintMenuListButtonGradients):
        (WebCore::RenderThemeMac::paintSliderTrack):
        * rendering/RenderThemeSafari.cpp:
        (WebCore::RenderThemeSafari::paintMenuListButtonGradients):
        (WebCore::RenderThemeSafari::paintSliderTrack):

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

13 years ago2010-12-28 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Wed, 29 Dec 2010 00:59:23 +0000 (00:59 +0000)]
2010-12-28  Daniel Bates  <dbates@rim.com>

        Reviewed by Sam Weinig.

        Substitute // MARK: for compiler-specific #pragma mark
        https://bugs.webkit.org/show_bug.cgi?id=51657

        For consistency, we should substitute "// MARK:" for compiler-
        specific "#pragma mark" in the source files for the Mac port.

        * History/WebHistory.mm:
        * Plugins/WebBaseNetscapePluginView.mm:
        * Plugins/WebNetscapePluginView.mm:
        * WebCoreSupport/WebInspectorClient.mm:
        * WebCoreSupport/WebSecurityOrigin.mm:
        * WebView/WebPDFView.mm:
        * WebView/WebVideoFullscreenController.mm:
        * WebView/WebVideoFullscreenHUDWindowController.mm:
2010-12-28  Daniel Bates  <dbates@rim.com>

        Reviewed by Sam Weinig.

        Substitute // MARK: for compiler-specific #pragma mark
        https://bugs.webkit.org/show_bug.cgi?id=51657

        Fix compilation warnings about "#pragma mark" on GTK+ bots by
        substituting  "// MARK:" for "#pragma mark", which provides
        analogous code-bookmarking functionality under Xcode.

        * platform/graphics/cg/PathCG.cpp:
        * platform/graphics/mac/WebLayer.mm:
2010-12-28  Daniel Bates  <dbates@rim.com>

        Reviewed by Sam Weinig.

        Substitute // MARK: for compiler-specific #pragma mark
        https://bugs.webkit.org/show_bug.cgi?id=51657

        Fix future compilation warnings about "#pragma mark" on GTK+ bots by
        substituting  "// MARK:" for "#pragma mark", which provides
        analogous code-bookmarking functionality under Xcode.

        Also, for consistency, we should substitute "// MARK:" for compiler-
        specific "#pragma mark" in the source files for the Mac port.

        * DumpRenderTree/AccessibilityTextMarker.cpp:
        * DumpRenderTree/cf/WebArchiveDumpSupport.h:
        * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm:
        * DumpRenderTree/mac/ObjCController.m:
        * MiniBrowser/mac/AppDelegate.m:
        * MiniBrowser/mac/BrowserWindowController.m:

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

13 years ago2010-12-28 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Wed, 29 Dec 2010 00:56:40 +0000 (00:56 +0000)]
2010-12-28  Daniel Bates  <dbates@rim.com>

        Reviewed by Antonio Gomes.

        Add comment to test case fast/repaint/no-caret-repaint-in-non-content-editable-element.html
        to clarify caret browsing disabled
        https://bugs.webkit.org/show_bug.cgi?id=51633

        Add a comment to test case fast/repaint/no-caret-repaint-in-non-content-editable-element.html
        that explains that this test is only applicable when caret browsing is disabled.

        * fast/repaint/no-caret-repaint-in-non-content-editable-element.html:

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

13 years ago2010-12-28 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 29 Dec 2010 00:39:42 +0000 (00:39 +0000)]
2010-12-28  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Closing a window during an onload event can trigger serious GLib warnings
        https://bugs.webkit.org/show_bug.cgi?id=51686

        Don't emit the close-web-view signal immediately during execution of closeWindowSoon.
        The signal handler may choose to destroy the web view while handling that signal,
        which may remove the last reference to the web view. FrameLoaderClient depends on the
        view still existing though. Instead, let the caller finish executing and emit the signal
        after a 0 length timeout. This matches the behavior on the Windows and Mac ports.

        * WebCoreSupport/ChromeClientGtk.cpp:
        (WebKit::ChromeClient::ChromeClient): Initialize the timer id.
        (WebKit::emitCloseWebViewSignalLater): Callback for the timer.
        (WebKit::ChromeClient::closeWindowSoon): Do the actual signal invocation after
        the caller finishes its tasks.
        * WebCoreSupport/ChromeClientGtk.h: Add a new member for the timer id. We
        can use this to prevent emitting the close-web-view signal twice.

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

13 years ago2010-12-28 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 28 Dec 2010 23:39:15 +0000 (23:39 +0000)]
2010-12-28  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Clean up usage of NULL in webkitwebframe.cpp
        https://bugs.webkit.org/show_bug.cgi?id=51685

        Replace occurrences of NULL with 0, in webkitwebframe.cpp. Not all
        uses of NULL have been changed, as certain GLib functions require
        an explicit NULL as a sentinel.

        * webkit/webkitwebframe.cpp:
        (webkit_web_frame_get_data_source_from_core_loader):
        (webkit_web_frame_class_init):
        (webkit_web_frame_new):
        (webkit_web_frame_get_title):
        (webkit_web_frame_get_uri):
        (webkit_web_frame_get_web_view):
        (webkit_web_frame_get_name):
        (webkit_web_frame_get_parent):
        (webkit_web_frame_load_string):
        (webkit_web_frame_load_alternate_string):
        (webkit_web_frame_find_frame):
        (webkit_web_frame_get_global_context):
        (webkit_web_frame_get_data_source):
        (webkit_web_frame_get_provisional_data_source):
        (webkit_web_frame_print_full):
        (webkit_web_frame_get_security_origin):
        (webkit_web_frame_get_network_response):

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

13 years ago2010-12-28 Kenneth Russell <kbr@google.com>
kbr@google.com [Tue, 28 Dec 2010 23:16:19 +0000 (23:16 +0000)]
2010-12-28  Kenneth Russell  <kbr@google.com>

        Reviewed by Eric Seidel.

        Make fast/canvas/canvas-save-restore-with-path.js more robust
        https://bugs.webkit.org/show_bug.cgi?id=51665

        * fast/canvas/canvas-save-restore-with-path-expected.txt:
        * fast/canvas/canvas-save-restore-with-path.js:

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

13 years ago2010-12-28 Jan Erik Hanssen <jhanssen@sencha.com>
commit-queue@webkit.org [Tue, 28 Dec 2010 22:56:01 +0000 (22:56 +0000)]
2010-12-28  Jan Erik Hanssen  <jhanssen@sencha.com>

        Reviewed by Eric Seidel.

        [Qt] GraphicsContext::getCTM() does not need to make a copy of QPainter::combinedTransform()
        https://bugs.webkit.org/show_bug.cgi?id=51687

        Use a const reference instead of a copy of QPainter::combinedTransform()
        in GraphicsContext::getCTM()

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::getCTM):

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

13 years ago2010-12-28 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Tue, 28 Dec 2010 22:45:20 +0000 (22:45 +0000)]
2010-12-28  Helder Correia  <helder@sencha.com>

        Reviewed by Eric Seidel.

        JSON.stringify must exist as a function taking 3 parameters
        https://bugs.webkit.org/show_bug.cgi?id=51667

        The reported function length is 1 instead.

        Test: ietestcenter/Javascript/15.12.3-0-2.html

        * runtime/JSONObject.cpp:
2010-12-28  Helder Correia  <helder@sencha.com>

        Reviewed by Eric Seidel.

        JSON.stringify must exist as a function taking 3 parameters
        https://bugs.webkit.org/show_bug.cgi?id=51667

        The reported function length is 1 instead.

        * ietestcenter/Javascript/15.12.3-0-2-expected.txt:

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

13 years ago2010-12-28 Xan Lopez <xlopez@igalia.com>
commit-queue@webkit.org [Tue, 28 Dec 2010 22:20:24 +0000 (22:20 +0000)]
2010-12-28  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Eric Seidel.

        Add --no-build option to run-sunspider
        https://bugs.webkit.org/show_bug.cgi?id=51658

        * Scripts/run-sunspider: add --no-build flag to skip building
        phase.

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

13 years ago2010-12-28 Takashi Toyoshima <toyoshim@google.com>
commit-queue@webkit.org [Tue, 28 Dec 2010 22:14:38 +0000 (22:14 +0000)]
2010-12-28  Takashi Toyoshima  <toyoshim@google.com>

        Reviewed by Eric Seidel.

        gcc detected 'control reaches end of non-void function' with
        -finstrument-functions option.
        https://bugs.webkit.org/show_bug.cgi?id=51669

        No new tests. These fixes are trivial.

        * dom/Element.cpp:
        (WebCore::Element::childTypeAllowed):
        * inspector/InspectorResourceAgent.cpp:
        (WebCore::cachedResourceTypeString):

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

13 years ago2010-12-28 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Tue, 28 Dec 2010 21:57:47 +0000 (21:57 +0000)]
2010-12-28  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Remove unused member of PendingScript
        https://bugs.webkit.org/show_bug.cgi?id=51684

        This was used when HTMLScriptRunner::runScript created a PendingScript
        for inline scripts. But now it just calls executeScript() directly.
        External scripts always have the minimum starting line number.

        No new tests because no changed functionality.

        * dom/PendingScript.cpp:
        (WebCore::PendingScript::releaseElementAndClear):
        * dom/PendingScript.h:
        (WebCore::PendingScript::PendingScript):
        (WebCore::PendingScript::operator=):
        * html/parser/HTMLScriptRunner.cpp:
        (WebCore::HTMLScriptRunner::sourceFromPendingScript):

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

13 years ago2010-12-20 Antonio Gomes <agomes@rim.com>
tonikitoo@webkit.org [Tue, 28 Dec 2010 21:57:11 +0000 (21:57 +0000)]
2010-12-20  Antonio Gomes  <agomes@rim.com>

        Reviewed by Daniel Bates.

        Spatial Navigation: code clean up (Part VI)
        https://bugs.webkit.org/show_bug.cgi?id=50666

        No new tests needed.

        * page/FocusController.cpp:
        (WebCore::updatFocusCandidateIfNeeded): Assert renderer() and
        isElementNode() now that we are bailing out earlier in both the
        FocusCandidate constructor and FocusController::findFocusCandidateInContainer().
        * page/SpatialNavigation.h: Swapped the parameters order in canScrollInDirection
        and virtualRectForAreaElementAndDirection functions.
        (WebCore::FocusController::findFocusCandidateInContainer):
        (WebCore::FocusController::advanceFocusDirectionallyInContainer): Adjusted call sites
        of canScrollInDirection(), and added an early return if !isElementNode().
        (WebCore::FocusController::advanceFocusDirectionally): Adjusted call site of
        virtualRectForAreaElementAndDirection().
        * page/SpatialNavigation.cpp:
        (WebCore::FocusCandidate::FocusCandidate): Assert if node is not an Element node.
        (WebCore::isScrollableNode): Renamed from isScrollableContainerNode.
        (WebCore::scrollInDirection): Adjusted call site after function name change;
        (WebCore::scrollableEnclosingBoxOrParentFrameForNodeInDi:rection): Assert if node is
        a Document node.
        (WebCore::canScrollInDirection): Signature changed.
        (WebCore::canBeScrolledIntoView): Ditto.
        (WebCore::virtualRectForAreaElementAndDirection): Ditto.

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

13 years ago2010-12-28 Adrienne Walker <enne@google.com>
enne@google.com [Tue, 28 Dec 2010 21:53:52 +0000 (21:53 +0000)]
2010-12-28  Adrienne Walker  <enne@google.com>

        Reviewed by Kenneth Russell.

        [chromium] Fix tiled compositor assertion after GPU process recovery.
        https://bugs.webkit.org/show_bug.cgi?id=51682

        After the GPU process recovers, the layer size is set to IntSize(),
        but IntRect::unite() has a special case for empty rects.  This
        behavior was causing the layer size to be too small, causing an
        out-of-bounds array access elsewhere.

        No new tests.

        * platform/graphics/chromium/LayerTilerChromium.cpp:
        (WebCore::LayerTilerChromium::growLayerToContain):

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

13 years ago2010-12-28 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Tue, 28 Dec 2010 21:36:54 +0000 (21:36 +0000)]
2010-12-28  Helder Correia  <helder@sencha.com>

        Reviewed by Sam Weinig.

        JSON.parse must exist as a function taking 2 parameters
        https://bugs.webkit.org/show_bug.cgi?id=51666

        Support for revivers was introduced in bug 26591, but the function
        length has since remained unchanged.

        Test: ietestcenter/Javascript/15.12.2-0-2.html

        * runtime/JSONObject.cpp:
2010-12-28  Helder Correia  <helder@sencha.com>

        Reviewed by Sam Weinig.

        JSON.parse must exist as a function taking 2 parameters
        https://bugs.webkit.org/show_bug.cgi?id=51666

        Support for revivers was introduced in bug 26591, but the function
        length has since remained unchanged.

        * ietestcenter/Javascript/15.12.2-0-2-expected.txt: Change expected
          result to success.

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

13 years ago2010-12-23 Zhenyao Mo <zmo@google.com>
zmo@google.com [Tue, 28 Dec 2010 21:35:20 +0000 (21:35 +0000)]
2010-12-23  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Initialize to 0 for undefined values in CopyTexImage2D
        https://bugs.webkit.org/show_bug.cgi?id=51421

        * src/GraphicsContext3DChromium.cpp: Implement getInternalFramebufferSize().
        (WebCore::GraphicsContext3DInternal::getInternalFramebufferSize):
        * src/GraphicsContext3DInternal.h:
2010-12-23  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Initialize to 0 for undefined values in CopyTexImage2D
        https://bugs.webkit.org/show_bug.cgi?id=51421

        * html/canvas/WebGLFramebuffer.cpp: Track width/height/internalFormat of color buffer.
        (WebCore::WebGLFramebuffer::WebGLFramebuffer):
        (WebCore::WebGLFramebuffer::setAttachment):
        (WebCore::WebGLFramebuffer::getWidth):
        (WebCore::WebGLFramebuffer::getHeight):
        (WebCore::WebGLFramebuffer::getColorBufferFormat):
        * html/canvas/WebGLFramebuffer.h:
        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::copyTexImage2D): Initialize undefined pixels to 0.
        (WebCore::WebGLRenderingContext::copyTexSubImage2D):
        (WebCore::WebGLRenderingContext::framebufferTexture2D):
        (WebCore::WebGLRenderingContext::renderbufferStorage):
        (WebCore::WebGLRenderingContext::getBoundFramebufferWidth):
        (WebCore::WebGLRenderingContext::getBoundFramebufferHeight):
        * html/canvas/WebGLRenderingContext.h:
        * html/canvas/WebGLTexture.cpp: Track width/height/internalFormat of a texture by target/level.
        (WebCore::WebGLTexture::getInternalFormat):
        (WebCore::WebGLTexture::getWidth):
        (WebCore::WebGLTexture::getHeight):
        (WebCore::WebGLTexture::mapTargetToIndex):
        (WebCore::WebGLTexture::getLevelInfo):
        * html/canvas/WebGLTexture.h:
        (WebCore::WebGLTexture::isTexture):
        * platform/graphics/GraphicsContext3D.h: Add getInternalFramebufferSize() function.
        * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
        (WebCore::GraphicsContext3D::getInternalFramebufferSize):
        * platform/graphics/qt/GraphicsContext3DQt.cpp:
        (WebCore::GraphicsContext3D::getInternalFramebufferSize):
2010-12-23  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Initialize to 0 for undefined values in CopyTexImage2D
        https://bugs.webkit.org/show_bug.cgi?id=51421

        * fast/canvas/webgl/uninitialized-test-expected.txt: Add test cases for copyTexImage2D.
        * fast/canvas/webgl/uninitialized-test.html: Ditto.

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

13 years ago2010-12-23 Zhenyao Mo <zmo@google.com>
zmo@google.com [Tue, 28 Dec 2010 21:26:58 +0000 (21:26 +0000)]
2010-12-23  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Map GLsizei to long instead of unsigned long in WebGLRenderingContext and GraphicsContext3D
        https://bugs.webkit.org/show_bug.cgi?id=39855

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::copyTexImage2D): Map GLsizei to long.
        (WebCore::WebGLRenderingContext::copyTexSubImage2D): Ditto.
        (WebCore::WebGLRenderingContext::renderbufferStorage): Ditto.
        (WebCore::WebGLRenderingContext::scissor): Ditto.
        (WebCore::WebGLRenderingContext::texImage2DBase): Ditto.
        (WebCore::WebGLRenderingContext::texImage2D): Ditto.
        (WebCore::WebGLRenderingContext::texSubImage2DBase): Ditto.
        (WebCore::WebGLRenderingContext::texSubImage2DImpl): Ditto.
        (WebCore::WebGLRenderingContext::texSubImage2D): Ditto.
        (WebCore::WebGLRenderingContext::viewport): Ditto.
        (WebCore::WebGLRenderingContext::validateSize): Check the sizes are non-negative.
        * html/canvas/WebGLRenderingContext.h:
        * html/canvas/WebGLRenderingContext.idl:
2010-12-28  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Map GLsizei to long instead of unsigned long in WebGLRenderingContext and GraphicsContext3D
        https://bugs.webkit.org/show_bug.cgi?id=39855

        * fast/canvas/webgl/invalid-passed-params-expected.txt: Add test cases for negative offset/width/height.
        * fast/canvas/webgl/invalid-passed-params.html: Ditto.

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

13 years ago2010-12-28 Kenneth Russell <kbr@google.com>
kbr@google.com [Tue, 28 Dec 2010 20:01:14 +0000 (20:01 +0000)]
2010-12-28  Kenneth Russell  <kbr@google.com>

        Unreviewed, Chromium test expectations update. Mark
        fast/forms/input-text-paste-maxlength.html as a flaky crash on
        Linux Release as well as Debug.

        * platform/chromium/test_expectations.txt:

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

13 years ago2010-12-28 Kenneth Russell <kbr@google.com>
kbr@google.com [Tue, 28 Dec 2010 19:36:52 +0000 (19:36 +0000)]
2010-12-28  Kenneth Russell  <kbr@google.com>

        Unreviewed, Chromium test expectations update.

        Marked inspector/styles-source-lines.html as a flaky failure on
        Win Debug and
        http/tests/inspector/extensions-resources-redirect.html as a flaky
        timeout on Win Release.

        * platform/chromium/test_expectations.txt:

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

13 years ago2010-12-28 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Tue, 28 Dec 2010 19:18:36 +0000 (19:18 +0000)]
2010-12-28  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Kenneth Russell.

        Fix crash with invalid font in m_fontList by not drawing text when a custom font is in the
        process of loading.
        https://bugs.webkit.org/show_bug.cgi?id=51681

        Test: canvas/philip/tests/2d.text-custom-font-load-crash.html

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::drawTextInternal): bail out if a custom font is loading.
        * platform/graphics/Font.cpp:
        (WebCore::Font::operator==): Replace condition with new function loadingCustomFonts()
        (WebCore::Font::drawText): Replace condition with new function loadingCustomFonts()
        (WebCore::Font::drawEmphasisMarks): Replace condition with new function loadingCustomFonts()
        * platform/graphics/Font.h:
        (WebCore::Font::loadingCustomFonts): new function that returns if a custom font is loading.
2010-12-28  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Kenneth Russell.

        Tests that we do not crash when drawing text during custom font load.
        https://bugs.webkit.org/show_bug.cgi?id=51681

        * canvas/philip/tests/2d.text-custom-font-load-crash-expected.txt: Added.
        * canvas/philip/tests/2d.text-custom-font-load-crash.html: Added.

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

13 years ago2010-12-28 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 28 Dec 2010 18:55:42 +0000 (18:55 +0000)]
2010-12-28  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Eric Seidel.

        Combine setShadowRoot and clearShadowRoot into a simpler API
        https://bugs.webkit.org/show_bug.cgi?id=50971

        No change in behavior, and API is not used yet.

        * dom/Element.cpp:
        (WebCore::Element::setShadowRoot): Combined clearing and setting of
            the shadowRoot, also hooked up with setting and clearing of the
            corresponding shadowHost values.
        * dom/Element.h: renamed clearShadowRoot to removeShadowRoot and made it
            private.
        * dom/Node.h: Made shadow host-related functions public so that
            Element::setShadowRoot can access setShadowHost. It seems logical
            to make shadowHost public as well to keep the defs together.

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

13 years ago2010-12-28 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Tue, 28 Dec 2010 18:11:13 +0000 (18:11 +0000)]
2010-12-28  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [Chromium] Expose extension API to select a node in WebInspector
        Do not request content for resources with non-numeric identifiers.
        https://bugs.webkit.org/show_bug.cgi?id=49727

        Test: http/tests/inspector/extensions-resources-redirect.html

        * inspector/front-end/NetworkManager.js:
        (WebInspector.NetworkManager.prototype._appendRedirect):

2010-12-28  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [Chromium] Expose extension API to select a node in WebInspector
        Do not request content for resources with non-numeric identifiers.
        https://bugs.webkit.org/show_bug.cgi?id=49727

        * http/tests/inspector/extensions-resources-redirect-expected.txt: Added.
        * http/tests/inspector/extensions-resources-redirect.html: Added.
        * http/tests/inspector/extensions-resources-test.js: Added.
        (extension_getResourceByUrl.onHAR):
        (extension_getResourceByUrl):
        * inspector/extensions-resources-expected.txt:
        * inspector/extensions-resources.html:
        * platform/mac-leopard/inspector/extensions-resources-expected.txt:

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

13 years ago2010-12-28 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Tue, 28 Dec 2010 17:58:44 +0000 (17:58 +0000)]
2010-12-28  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed build fix for Qt.

        ResourceTreeModel.js was added.

        * inspector/front-end/WebKit.qrc:

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

13 years ago2010-12-28 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Tue, 28 Dec 2010 17:24:06 +0000 (17:24 +0000)]
2010-12-28  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        [Chromium] Fix memory leak in Profiles tab concerned with heap profiles views.

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

        * inspector/front-end/ProfilesPanel.js:
        (WebInspector.ProfilesPanel.prototype._reset):

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

13 years ago2010-12-28 Kenneth Russell <kbr@google.com>
kbr@google.com [Tue, 28 Dec 2010 15:55:55 +0000 (15:55 +0000)]
2010-12-28  Kenneth Russell  <kbr@google.com>

        Unreviewed, Chromium test expectations update. Coalesce WebGL
        expectations for chromium-gpu platform and fix duplicate
        expectation for gl-object-get-calls.html accidentally introduced
        on Windows Debug.

        * platform/chromium-gpu/test_expectations.txt:

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

13 years ago2010-12-28 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Tue, 28 Dec 2010 15:32:33 +0000 (15:32 +0000)]
2010-12-28  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: REGRESSION: Clicking image resource in style sidebar doesn't actually go to resource anymore
        https://bugs.webkit.org/show_bug.cgi?id=51663

        * inspector/elements-tests2.js:
        (initialize_ElementTest.InspectorTest.dumpSelectedElementStyles): Drive-by: remove bad test exit code.
        * inspector/resources/styles-url-linkify-iframe.html: Added.
        * inspector/resources/styles-url-linkify.css: Added.
        (#local):
        * inspector/styles-url-linkify-expected.txt: Added.
        * inspector/styles-url-linkify.html: Added.
2010-12-28  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: REGRESSION: Clicking image resource in style sidebar doesn't actually go to resource anymore
        https://bugs.webkit.org/show_bug.cgi?id=51663

        The base URI is now computed correctly for links from CSS property uri(...) values. Additionally,
        optional quotes/apostrophes and spaces are now allowed inside uri(...).

        Test: inspector/styles-url-linkify.html

        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertyTreeElement.prototype.updateTitle.linkifyURL):
        (WebInspector.StylePropertyTreeElement.prototype.updateTitle):

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

13 years ago2010-12-21 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Tue, 28 Dec 2010 15:11:26 +0000 (15:11 +0000)]
2010-12-21  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Protocol cleanup task. Introduce Network, DOMStorage and Database domains.

        Domain was changed for Resources, FileSystem etc. related methods.
        ResourcesManager was renamed to NetworkManager.
        ResourceTreeModel was extracted as separate file.
        FileSystem, Database, DOMStorage and ApplicationCache methods were
        removed from NetworkManager and added to corresponding classes.

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

        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/CodeGeneratorInspector.pm:
        * inspector/Inspector.idl:
        * inspector/front-end/AuditRules.js:
        (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback.selectorsCallback):
        * inspector/front-end/CSSStyleModel.js:
        (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
        (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype.addMessage):
        (WebInspector.ConsoleView.prototype.clearMessages):
        * inspector/front-end/DOMAgent.js:
        (WebInspector.ApplicationCache.updateApplicationCacheStatus):
        (WebInspector.ApplicationCache.updateNetworkState):
        * inspector/front-end/DOMStorage.js:
        (WebInspector.DOMStorage.addDOMStorage):
        (WebInspector.DOMStorage.selectDOMStorage):
        (WebInspector.DOMStorage.updateDOMStorage):
        * inspector/front-end/Database.js:
        (WebInspector.Database.prototype.executeSql):
        (WebInspector.Database.addDatabase):
        (WebInspector.Database.selectDatabase):
        (WebInspector.Database.sqlTransactionSucceeded):
        (WebInspector.Database.sqlTransactionFailed):
        * inspector/front-end/FileSystemView.js:
        (WebInspector.FileSystem.didGetFileSystemPath):
        (WebInspector.FileSystem.didGetFileSystemError):
        (WebInspector.FileSystem.didGetFileSystemDisabled):
        * inspector/front-end/NetworkItemView.js:
        (WebInspector.NetworkItemView):
        * inspector/front-end/NetworkManager.js: Added.
        (WebInspector.NetworkManager):
        (WebInspector.NetworkManager.prototype._createResource):
        (WebInspector.NetworkManager.prototype.identifierForInitialRequest):
        (WebInspector.NetworkManager.prototype.willSendRequest):
        (WebInspector.NetworkManager.prototype._updateResourceWithRequest):
        (WebInspector.NetworkManager.prototype._appendRedirect):
        (WebInspector.NetworkManager.prototype.markResourceAsCached):
        (WebInspector.NetworkManager.prototype.didReceiveResponse):
        (WebInspector.NetworkManager.prototype._updateResourceWithResponse):
        (WebInspector.NetworkManager.prototype.didReceiveContentLength):
        (WebInspector.NetworkManager.prototype.didFinishLoading):
        (WebInspector.NetworkManager.prototype.didFailLoading):
        (WebInspector.NetworkManager.prototype.didLoadResourceFromMemoryCache):
        (WebInspector.NetworkManager.prototype._updateResourceWithCachedResource):
        (WebInspector.NetworkManager.prototype.setInitialContent):
        (WebInspector.NetworkManager.prototype.didCommitLoadForFrame):
        (WebInspector.NetworkManager.prototype.frameDetachedFromParent):
        (WebInspector.NetworkManager.prototype.didCreateWebSocket):
        (WebInspector.NetworkManager.prototype.willSendWebSocketHandshakeRequest):
        (WebInspector.NetworkManager.prototype.didReceiveWebSocketHandshakeResponse):
        (WebInspector.NetworkManager.prototype.didCloseWebSocket):
        (WebInspector.NetworkManager.prototype._processCachedResources):
        (WebInspector.NetworkManager.prototype._addFramesRecursively):
        (WebInspector.NetworkManager.requestContent):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype.refreshResource):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype._innerRequestContent):
        * inspector/front-end/ResourceManager.js: Removed.
        * inspector/front-end/ResourceTreeModel.js: Added.
        (WebInspector.ResourceTreeModel):
        (WebInspector.ResourceTreeModel.prototype.addOrUpdateFrame):
        (WebInspector.ResourceTreeModel.prototype.didCommitLoadForFrame):
        (WebInspector.ResourceTreeModel.prototype.frameDetachedFromParent):
        (WebInspector.ResourceTreeModel.prototype._clearChildFramesAndResources):
        (WebInspector.ResourceTreeModel.prototype.addResourceToFrame):
        (WebInspector.ResourceTreeModel.prototype._clearResources):
        (WebInspector.ResourceTreeModel.prototype.forAllResources):
        (WebInspector.ResourceTreeModel.prototype.addConsoleMessage):
        (WebInspector.ResourceTreeModel.prototype.clearConsoleMessages):
        (WebInspector.ResourceTreeModel.prototype._callForFrameResources):
        (WebInspector.ResourceTreeModel.prototype.resourceForURL):
        (WebInspector.ResourceTreeModel.prototype.bindResourceURL):
        (WebInspector.ResourceTreeModel.prototype._unbindResourceURL):
        (WebInspector.ResourceTreeModel.createResource):
        * inspector/front-end/ResourceView.js:
        (WebInspector.ResourceView.createResourceView):
        (WebInspector.ResourceView.resourceViewTypeMatchesResource):
        (WebInspector.ResourceView.resourceViewForResource):
        (WebInspector.ResourceView.recreateResourceView):
        (WebInspector.ResourceView.existingResourceViewForResource):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype.canShowSourceLine):
        (WebInspector.ResourcesPanel.prototype.showSourceLine):
        (WebInspector.ResourcesPanel.prototype.showResource):
        (WebInspector.ResourcesPanel.prototype.get searchableViews.callback):
        (WebInspector.ResourcesPanel.prototype.get searchableViews):
        (WebInspector.FrameResourceTreeElement.prototype._errorsWarningsUpdated):
        (WebInspector.FrameResourceTreeElement.prototype._contentChanged):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype._addScript):
        (WebInspector.ScriptsPanel.prototype.reset):
        (WebInspector.ScriptsPanel.prototype._sourceFrameForResource):
        (WebInspector.ScriptsPanel.prototype._showScriptOrResource):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.html:
        * inspector/front-end/inspector.js:
        (WebInspector.forAllResources):
        (WebInspector.resourceForURL):

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

13 years ago2010-12-27 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Tue, 28 Dec 2010 05:33:07 +0000 (05:33 +0000)]
2010-12-27  Helder Correia  <helder@sencha.com>

        Reviewed by Ariya Hidayat.

        ContextShadow should use AffineTransform instead of TransformationMatrix
        https://bugs.webkit.org/show_bug.cgi?id=51661

        ContextShadow needs the CTM to make sure shadows are not affected by
        transformations when drawing on a canvas. AffineTransform is sufficient
        in this case.

        Existing tests: fast/canvas/canvas*shadow*html

        * platform/graphics/ContextShadow.cpp:
        (WebCore::ContextShadow::mustUseContextShadow):
        (WebCore::ContextShadow::adjustBlurDistance):
        (WebCore::ContextShadow::calculateLayerBoundingRect):
        * platform/graphics/ContextShadow.h:
        * platform/graphics/cairo/ContextShadowCairo.cpp:
        (WebCore::ContextShadow::getTransformationMatrixFromContext):
        * platform/graphics/qt/ContextShadowQt.cpp:
        (WebCore::ContextShadow::getTransformationMatrixFromContext):

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

13 years ago2010-12-27 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Tue, 28 Dec 2010 05:15:57 +0000 (05:15 +0000)]
2010-12-27  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by David Levin.

        [EFL] Change path of eflsymbols.filter
        https://bugs.webkit.org/show_bug.cgi?id=51659

        * Sources/cmake/OptionsEfl.cmake:

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

13 years ago2010-12-27 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Tue, 28 Dec 2010 02:05:01 +0000 (02:05 +0000)]
2010-12-27  Daniel Bates  <dbates@rim.com>

        Rubber-stamped by Martin Robinson.

        Append the directory Tools/DumpRenderTree to the list of directories that
        do-webcore-rename should search so that it can rename DRT files and
        source code.

        * Scripts/do-webcore-rename:

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

13 years ago2010-12-27 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 28 Dec 2010 01:40:09 +0000 (01:40 +0000)]
2010-12-27  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Daniel Bates.

        Try to fix my previous commit for Mac by stepping up the precision of pi even more
        using Math.PI.

        * fast/canvas/canvas-save-restore-with-path.js: Use Math.PI instead of a
        hard-coded estimation.

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

13 years agoWebKit2 snapshots should contain accelerated content
weinig@apple.com [Tue, 28 Dec 2010 01:39:28 +0000 (01:39 +0000)]
WebKit2 snapshots should contain accelerated content
<rdar://problem/8807393>
https://bugs.webkit.org/show_bug.cgi?id=51660

Reviewed by Anders Carlsson.

When creating a snapshot, flatten the layer tree for painting so that
accelerated content is included in the snapshot.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::snapshotInViewCoordinates):
(WebKit::WebPage::snapshotInDocumentCoordinates):

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

13 years ago2010-12-27 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Tue, 28 Dec 2010 01:03:13 +0000 (01:03 +0000)]
2010-12-27  Daniel Bates  <dbates@rim.com>

        Attempt to fix the WebKit2 Windows build after changeset 74698
        <http://trac.webkit.org/changeset/74698> (bug #51656).

        Add "..\Shared\API\c\WKImage.h" to WebKit2Generated.make.

        * win/WebKit2Generated.make:

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

13 years ago2010-12-27 Kenneth Russell <kbr@google.com>
kbr@google.com [Tue, 28 Dec 2010 00:50:04 +0000 (00:50 +0000)]
2010-12-27  Kenneth Russell  <kbr@google.com>

        Unreviewed, Chromium test expectations update. Generalize
        suppressions for Chromium bugs 67732 and 67139 to cover Linux
        Debug.

        * platform/chromium/test_expectations.txt:

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

13 years ago2010-12-27 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Tue, 28 Dec 2010 00:44:33 +0000 (00:44 +0000)]
2010-12-27  Daniel Bates  <dbates@rim.com>

        Fix the first sentence of the change log message for changeset 74700
        <http://trac.webkit.org/changeset/74700> (bug #51634).

        As pointed out by Dan Bernstein, it should read: "Rename HTMLFrameElementBase::getMarginWidth()
        and HTMLFrameElementBase::getMarginHeight() to HTMLFrameElementBase::marginWidth() and
        HTMLFrameElementBase::marginHeight(), respectively."

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

13 years ago2010-12-27 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Tue, 28 Dec 2010 00:21:23 +0000 (00:21 +0000)]
2010-12-27  Daniel Bates  <dbates@rim.com>

        Reviewed by Antonio Gomes.

        Clean up: Rename HTMLFrameElementBase::getMarginWidth() and HTMLFrameElementBase::getMarginHeight()
        https://bugs.webkit.org/show_bug.cgi?id=51634

        Rename HTMLFrameElementBase::getMarginWidth() and HTMLFrameElementBase::getMarginHeight()
        to HTMLFrameElementBase::marginHeight() and HTMLFrameElementBase::marginHeight(), respectively.
        This will make the names of these getters consistent with the naming convention we use for
        getters.

        * html/HTMLBodyElement.cpp:
        (WebCore::HTMLBodyElement::insertedIntoDocument):
        * html/HTMLFrameElementBase.h:
        (WebCore::HTMLFrameElementBase::marginWidth): Renamed; Formerly getMarginWidth().
        (WebCore::HTMLFrameElementBase::marginHeight): Renamed; Formerly getMarginHeight().
        * loader/SubframeLoader.cpp:
        (WebCore::SubframeLoader::loadSubframe):
        * page/FrameView.cpp:
        (WebCore::FrameView::init):
        * rendering/RenderEmbeddedObject.cpp:
        (WebCore::RenderEmbeddedObject::viewCleared): Also renamed variables marginw and marginh
        to marginWidth and marginHeight, respectively. This makes the names of these variables
        consistent with the names of similar variables in SubframeLoader::loadSubframe() and FrameView::init().
        * rendering/RenderFrame.cpp:
        (WebCore::RenderFrame::viewCleared): Ditto.

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

13 years ago2010-12-27 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 28 Dec 2010 00:17:25 +0000 (00:17 +0000)]
2010-12-27  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Daniel Bates.

        [Cairo] fast/canvas/canvas-save-restore-with-path.html fails with some versions of Cairo
        https://bugs.webkit.org/show_bug.cgi?id=51655

        Increase the precision of pi used in this test case. It appears that
        some Cairo versions or processors are sensitive to rounding errors here.

        * fast/canvas/canvas-save-restore-with-path.js: Increase pi precision.

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

13 years agoWebKit2: Add API for getting snapshots
weinig@apple.com [Tue, 28 Dec 2010 00:01:08 +0000 (00:01 +0000)]
WebKit2: Add API for getting snapshots
https://bugs.webkit.org/show_bug.cgi?id=51656

Reviewed by Anders Carlsson.

* Shared/API/c/WKBase.h:
* Shared/API/c/WKImage.cpp: Added.
(WKImageGetTypeID):
(WKImageCreate):
(WKImageGetSize):
* Shared/API/c/WKImage.h: Added.
* Shared/WebImage.cpp: Added.
(WebKit::WebImage::create):
(WebKit::WebImage::size):
* Shared/WebImage.h: Added.
(WebKit::WebImage::backingStore):
(WebKit::WebImage::WebImage):
(WebKit::WebImage::type):
Add a general purpose API image class.

* Shared/API/c/cg: Added.
* Shared/API/c/cg/WKImageCG.cpp: Added.
(WKImageCreateCGImage):
* Shared/API/c/cg/WKImageCG.h: Added.
Add function to convert a WKImageRef to a CGImageRef for platforms that use CG.

* Shared/API/c/WKSharedAPICast.h:
(WebKit::toFloatRect):
(WebKit::toIntSize):
(WebKit::toIntPoint):
(WebKit::toIntRect):
(WebKit::toImageOptions):
Make conversion functions that are ambiguous more explicit.

* Shared/APIObject.h:
* Shared/BackingStore.h:
(WebKit::BackingStore::isBackedBySharedMemory):
* Shared/ImageOptions.h: Added.
* Shared/UserMessageCoders.h:
(WebKit::UserMessageEncoder::baseEncode):
(WebKit::UserMessageDecoder::baseDecode):
Allow a WKImageRef to be passed in user messages.  Right now, it only
works if the image is sharable.

* UIProcess/API/C/WKPage.cpp:
(WKPageScaleWebView):
* UIProcess/WebUIClient.cpp:
(WebKit::WebUIClient::windowFrame):
Use the more explicit conversion function name.

* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageCreateSnapshotInViewCoordinates):
(WKBundlePageCreateSnapshotInDocumentCoordinates):
* WebProcess/InjectedBundle/API/c/WKBundlePage.h:
* WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp:
(WKBundlePageOverlaySetNeedsDisplay):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::snapshotInViewCoordinates):
(WebKit::WebPage::snapshotInDocumentCoordinates):
Add function to take the snapshot.

* WebProcess/WebPage/WebPage.h:
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
Add new files.

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

13 years ago2010-12-27 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 27 Dec 2010 22:48:21 +0000 (22:48 +0000)]
2010-12-27  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Ryosuke Niwa.

        [GTK] EditorClient::generateEditorCommands queues up "null string" commands
        https://bugs.webkit.org/show_bug.cgi?id=51569

        Prevent adding "null string" editor commands by first checking whether or not
        the command string is null in generateEditorCommands before appending it to the
        list of pending editor command strings.

        * WebCoreSupport/EditorClientGtk.cpp:
        (WebKit::EditorClient::generateEditorCommands): Check for the null string (no
        command for this key combination) before appending a command string to the list of
        pending editor commands.
        (WebKit::EditorClient::executePendingEditorCommands): Add an ASSERT which detects
        null command strings.

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

13 years ago2010-12-27 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 27 Dec 2010 22:37:15 +0000 (22:37 +0000)]
2010-12-27  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Daniel Bates.

        [GTK] RenderThemeGtk::m_HScale and RenderThemeGtk::m_VScale are not initialized
        https://bugs.webkit.org/show_bug.cgi?id=51654

        Properly initialize slider members of RenderThemeGtk. This can lead to test crashes
        on some debug configurations.

        No new tests. This is already covered by current slider tests. It isn't crashing on
        the bots, but it does crash locally.

        * platform/gtk/RenderThemeGtk.cpp:
        (WebCore::RenderThemeGtk::RenderThemeGtk): Properly initialize members.

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

13 years ago2010-12-27 Jake Helfert <jake@jakeonthenet.com>
darin@apple.com [Mon, 27 Dec 2010 21:41:39 +0000 (21:41 +0000)]
2010-12-27  Jake Helfert  <jake@jakeonthenet.com>

        Reviewed and reworked by Darin Adler.

        Building WebKit with Visual Studio 2010 fails due
        to ambiguous assignment operator errors.
        https://bugs.webkit.org/show_bug.cgi?id=51116

        * wtf/NullPtr.h: Added a HAVE(NULLPTR) definition for use with
        Platform.h HAVE macro, and included the Visual Studio 2010 compiler
        as one of the ones that has nullptr.
        * wtf/NullPtr.cpp: Updated condition to match.

        * wtf/PassOwnArrayPtr.h: Don't include the operator=(nullptr_t)
        overload if we are compiling in loose mode and the compiler has
        nullptr, because assignment of 0 will otherwise encounter
        ambiguitity with this overload and the overload for loose mode
        that takes a raw pointer. The conditional can be removed when we
        get rid of loose mode.
        * wtf/PassOwnPtr.h: Ditto.

        * wtf/PassRefPtr.h: Don't include the operator=(nullptr_t) overload
        if the compiler has nullptr, because assignment of 0 would be
        ambiguous with the overload that takes a raw pointer. The conditional
        can be removed if we ever decide we no longer need to support
        assigning 0, but might need a way to catch that usage on older compilers.
        * wtf/RefPtr.h: Ditto.
        * wtf/RetainPtr.h: Ditto

        * JavaScriptCore.xcodeproj/project.pbxproj: Added NullPtr.cpp,
        accidentally omitted when the file was first added.

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

13 years ago2010-12-27 Eric Seidel <eric@webkit.org>
eric@webkit.org [Mon, 27 Dec 2010 21:13:03 +0000 (21:13 +0000)]
2010-12-27  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        build-webkit should detect missing Java SDK and explain how to install it
        https://bugs.webkit.org/show_bug.cgi?id=51651

        * Scripts/build-webkit:

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

13 years agoWebKit2: Add additional API for managing databases
weinig@apple.com [Mon, 27 Dec 2010 21:04:45 +0000 (21:04 +0000)]
WebKit2: Add additional API for managing databases
https://bugs.webkit.org/show_bug.cgi?id=51629

Reviewed by Anders Carlsson.

- Adds client for the database manager to get notifications
  of changes to databases.

* UIProcess/API/C/WKDatabaseManager.cpp:
(WKDatabaseManagerSetClient):
* UIProcess/API/C/WKDatabaseManager.h:
* UIProcess/WebDatabaseManagerProxy.cpp:
(WebKit::WebDatabaseManagerProxy::initializeClient):
(WebKit::WebDatabaseManagerProxy::didModifyOrigin):
(WebKit::WebDatabaseManagerProxy::didModifyDatabase):
* UIProcess/WebDatabaseManagerProxy.h:
* UIProcess/WebDatabaseManagerProxy.messages.in:
* UIProcess/WebDatabaseManagerProxyClient.cpp: Added.
(WebKit::WebDatabaseManagerProxyClient::didModifyOrigin):
(WebKit::WebDatabaseManagerProxyClient::didModifyDatabase):
* UIProcess/WebDatabaseManagerProxyClient.h: Added.
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
(WebKit::WebDatabaseManager::WebDatabaseManager):
(WebKit::WebDatabaseManager::~WebDatabaseManager):
(WebKit::WebDatabaseManager::dispatchDidModifyOrigin):
(WebKit::WebDatabaseManager::dispatchDidModifyDatabase):
* WebProcess/WebCoreSupport/WebDatabaseManager.h:
* win/WebKit2.vcproj:

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

13 years agoFix Makefile based build.
weinig@apple.com [Mon, 27 Dec 2010 19:41:35 +0000 (19:41 +0000)]
Fix Makefile based build.

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

13 years ago2010-12-27 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Mon, 27 Dec 2010 19:21:08 +0000 (19:21 +0000)]
2010-12-27  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        Remove unneeded includes from our headers.

        * WebCoreSupport/PasteboardHelperGtk.h: ditto.
        * webkit/webkitprivate.h: ditto.
        * webkit/webkitsoupauthdialog.h: ditto.

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

13 years agoWebKit2: Add additional API for managing databases
weinig@apple.com [Mon, 27 Dec 2010 19:17:31 +0000 (19:17 +0000)]
WebKit2: Add additional API for managing databases
https://bugs.webkit.org/show_bug.cgi?id=51629

Reviewed by Anders Carlsson.

- Adds WKDatabaseManagerGetDatabasesByOrigin, which asynchronously returns
  an array of dictionaries containing details about each origin using
  databases and details about each database. Keys were added for accessing
  the data in the dictionaries.
- Adds WKDatabaseManagerDeleteDatabasesWithNameForOrigin to delete a database
  with a specific identifier.
- Adds WKDatabaseManagerSetQuotaForOrigin to set the quota for an origin.

* Shared/OriginAndDatabases.cpp: Added.
(WebKit::OriginAndDatabases::encode):
(WebKit::OriginAndDatabases::decode):
* Shared/OriginAndDatabases.h: Added.
* Shared/WebCoreArgumentCoders.h:
* UIProcess/API/C/WKDatabaseManager.cpp:
(WKDatabaseManagerGetOriginKey):
(WKDatabaseManagerGetOriginQuotaKey):
(WKDatabaseManagerGetOriginUsageKey):
(WKDatabaseManagerGetDatabaseDetailsKey):
(WKDatabaseManagerGetDatabaseDetailsNameKey):
(WKDatabaseManagerGetDatabaseDetailsDisplayNameKey):
(WKDatabaseManagerGetDatabaseDetailsExpectedUsageKey):
(WKDatabaseManagerGetDatabaseDetailsCurrentUsageKey):
(WKDatabaseManagerGetDatabasesByOrigin):
(callGetDatabasesByOriginBlockAndDispose):
(WKDatabaseManagerGetDatabasesByOrigin_b):
(WKDatabaseManagerGetDatabaseOrigins):
(callGetDatabaseOriginsBlockBlockAndDispose):
(WKDatabaseManagerGetDatabaseOrigins_b):
(WKDatabaseManagerDeleteDatabasesWithNameForOrigin):
(WKDatabaseManagerDeleteDatabasesForOrigin):
(WKDatabaseManagerDeleteAllDatabases):
(WKDatabaseManagerSetQuotaForOrigin):
* UIProcess/API/C/WKDatabaseManager.h:
* UIProcess/WebDatabaseManagerProxy.cpp:
(WebKit::WebDatabaseManagerProxy::originKey):
(WebKit::WebDatabaseManagerProxy::originQuotaKey):
(WebKit::WebDatabaseManagerProxy::originUsageKey):
(WebKit::WebDatabaseManagerProxy::databaseDetailsKey):
(WebKit::WebDatabaseManagerProxy::databaseDetailsNameKey):
(WebKit::WebDatabaseManagerProxy::databaseDetailsDisplayNameKey):
(WebKit::WebDatabaseManagerProxy::databaseDetailsExpectedUsageKey):
(WebKit::WebDatabaseManagerProxy::databaseDetailsCurrentUsageKey):
(WebKit::WebDatabaseManagerProxy::invalidate):
(WebKit::WebDatabaseManagerProxy::getDatabasesByOrigin):
(WebKit::WebDatabaseManagerProxy::didGetDatabasesByOrigin):
(WebKit::WebDatabaseManagerProxy::getDatabaseOrigins):
(WebKit::WebDatabaseManagerProxy::didGetDatabaseOrigins):
(WebKit::WebDatabaseManagerProxy::deleteDatabaseWithNameForOrigin):
(WebKit::WebDatabaseManagerProxy::deleteDatabasesForOrigin):
(WebKit::WebDatabaseManagerProxy::setQuotaForOrigin):
* UIProcess/WebDatabaseManagerProxy.h:
* UIProcess/WebDatabaseManagerProxy.messages.in:
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
(WebKit::WebDatabaseManager::getDatabasesByOrigin):
(WebKit::WebDatabaseManager::deleteDatabaseWithNameForOrigin):
(WebKit::WebDatabaseManager::setQuotaForOrigin):
* WebProcess/WebCoreSupport/WebDatabaseManager.h:
* WebProcess/WebCoreSupport/WebDatabaseManager.messages.in:
* win/WebKit2.vcproj:

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

13 years ago2010-12-26 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 27 Dec 2010 19:07:45 +0000 (19:07 +0000)]
2010-12-26  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Daniel Bates.

        [GTK] Add support for build-jsc
        https://bugs.webkit.org/show_bug.cgi?id=51625

        Add GTK+ support to build-jsc now that building the jsc executable as
        a standalone target is easy.

        * Scripts/build-jsc: Call buildGtkProject for the GTK+ case now.
        * Scripts/build-webkit: Pass in the proper target name to buildGtkProject.
        * Scripts/webkitdirs.pm: Actually process the project parameter in buildGtkProject
        and pass it along to buildAutotoolsProject.

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

13 years agocheck-webkit-style check for meaningless variable names in function declarations.
levin@chromium.org [Mon, 27 Dec 2010 18:50:54 +0000 (18:50 +0000)]
check-webkit-style check for meaningless variable names in function declarations.
https://bugs.webkit.org/show_bug.cgi?id=51523

Reviewed by Eric Seidel.

* Scripts/webkitpy/style/checker.py: Exempted JavaScriptCore/jit/JITStubs.cpp
from the new check and whitespace/parens because the syntax is unusual and
produced a fair number of positives for these checks.
* Scripts/webkitpy/style/checkers/cpp.py:
(_convert_to_lower_with_underscores): Used as a canonical form for type names
and parameter names when determining if the parameter name is useless.
(_create_acronym): Used to check for redundant variable names in cases like "ExceptionCode ec"
(Parameter.lower_with_underscores_name): Gives back the parameter name in a lower_with_underscore
format.
(_check_parameter_name_against_text):  Checks to see if the parameter name is in the
text or an acronym of it.
(check_function_definition): Checks function definitions for meaningless variable names.
(process_line): Added call to check_function_definition.
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
(CppFunctionsTest.test_convert_to_lower_with_underscores): Test for _convert_to_lower_with_underscores.
(CppFunctionsTest.test_create_acronym): Test for _create_acronym.
(CppFunctionsTest.test_check_parameter_against_text): Test for _check_parameter_against_text.
(CppStyleTestBase.perform_single_line_lint): Removed the parameter name check
because when only checking a snippet, there are a lot of bogus functions.
(CppStyleTestBase.perform_multi_line_lint): Ditto and removed a bogus filter
that I put there previously and just noticed.
(WebKitStyleTest.test_parameter_names): Tests for the functionality -- both
check_function_definition and process_line.

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

13 years ago2010-12-27 Kenji Imasaki <imasaki@chromium.org>
commit-queue@webkit.org [Mon, 27 Dec 2010 18:46:29 +0000 (18:46 +0000)]
2010-12-27  Kenji Imasaki  <imasaki@chromium.org>

        Reviewed by David Levin.

        remove entries for media related non-flaky tests.
        https://bugs.webkit.org/show_bug.cgi?id=51225

        * platform/chromium/test_expectations.txt:

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

13 years ago2010-12-27 Anton Muhin <antonm@chromium.org>
antonm@chromium.org [Mon, 27 Dec 2010 17:41:55 +0000 (17:41 +0000)]
2010-12-27  Anton Muhin  <antonm@chromium.org>

        Reviewed by David Levin.

        [v8] Remove unused methods to protect/unprotect wrappers during garbage collection
        https://bugs.webkit.org/show_bug.cgi?id=51648

        * bindings/v8/ScriptController.cpp:
        * bindings/v8/ScriptController.h:
        * bindings/v8/V8GCController.cpp:
        (WebCore::V8GCController::gcEpilogue):
        * bindings/v8/V8GCController.h:

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

13 years ago2010-12-27 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Mon, 27 Dec 2010 17:37:25 +0000 (17:37 +0000)]
2010-12-27  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Disable flash plugin in GtkLauncher when using gtk3
        https://bugs.webkit.org/show_bug.cgi?id=51591

        Flash plugin uses gtk2 that is incompatible with gtk3 making
        webkit crash when it's built with gtk3.

        * GtkLauncher/main.c:
        (main):

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

13 years ago2010-12-27 Rafael Antognolli <antognolli@profusion.mobi>
commit-queue@webkit.org [Mon, 27 Dec 2010 17:10:42 +0000 (17:10 +0000)]
2010-12-27  Rafael Antognolli  <antognolli@profusion.mobi>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Set the frame smart object base clipper to non-static.
        https://bugs.webkit.org/show_bug.cgi?id=51552

        The base clipper of the clipped smart object, which is the parent
        class of the ewk_frame class is a static clipper. It's normally only
        used for showing/hiding the object, but in the case of the ewk_frame,
        it needs to clip the object to its dimension, in order to clip
        scrollbars of inner frames.

        Setting it to non-static makes the clipper to be automatically moved
        by the parent class, thus staying on the correct position when the
        frame is moved.

        This change needed to be done after the adoption of the static clipper
        on the clipped smart base class.

        * ewk/ewk_frame.cpp:
        (_ewk_frame_smart_add):

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

13 years ago2010-12-27 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Mon, 27 Dec 2010 14:51:09 +0000 (14:51 +0000)]
2010-12-27  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Removed trailing spaces from a localized
        string to make it the same as the one used in the code.

        * English.lproj/localizedStrings.js:

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

13 years ago2010-12-27 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Mon, 27 Dec 2010 14:36:47 +0000 (14:36 +0000)]
2010-12-27  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skip another GTK media test reporting wrong duration,
        see bug 51602.

        * platform/gtk/Skipped:

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

13 years ago2010-12-27 Yael Aharon <yael.aharon@nokia.com>
yael.aharon@nokia.com [Mon, 27 Dec 2010 14:10:57 +0000 (14:10 +0000)]
2010-12-27  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Eric Seidel.

        Browser is failing 16 baseline test from Selector API Test Suite
        https://bugs.webkit.org/show_bug.cgi?id=42968

        Update the expected result for the test.

        * fast/dom/SelectorAPI/resig-SelectorsAPI-test-expected.txt:
2010-12-27  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Eric Seidel.

        Browser is failing 16 baseline test from Selector API Test Suite
        https://bugs.webkit.org/show_bug.cgi?id=42968

        Throw an exception if there is no argument to querySelector or
        querySelectorAll. This replaces the current behavior of passing the string
        "undefined" as the argument.

        No new tests, just updating the existing results for
        fast/dom/SelectorAPI/resig-SelectorAPI-test.xhtml.

        * dom/Document.idl:
        * dom/DocumentFragment.idl:
        * dom/Element.idl:

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

13 years ago2010-12-27 Shinichiro Hamaji <shinichiro.hamaji@gmail.com>
hamaji@chromium.org [Mon, 27 Dec 2010 11:32:56 +0000 (11:32 +0000)]
2010-12-27  Shinichiro Hamaji  <shinichiro.hamaji@gmail.com>

        Chromium expectation update.

        Suppress fast/canvas/webgl/tex-image-with-format-and-type on linux debug

        * platform/chromium/test_expectations.txt:

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

13 years ago2010-12-27 MORITA Hajime <morrita@google.com>
morrita@google.com [Mon, 27 Dec 2010 08:06:39 +0000 (08:06 +0000)]
2010-12-27  MORITA Hajime  <morrita@google.com>

        Unreviewed expectation updates.

        * platform/chromium-linux/fast/box-shadow/spread-multiple-normal-expected.checksum: Added.
        * platform/chromium-linux/fast/box-shadow/spread-multiple-normal-expected.png: Added.
        * platform/chromium-win/fast/box-shadow/spread-multiple-normal-expected.checksum: Added.
        * platform/chromium-win/fast/box-shadow/spread-multiple-normal-expected.png: Added.

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

13 years agoFix bug number in previous commit.
abarth@webkit.org [Mon, 27 Dec 2010 07:27:20 +0000 (07:27 +0000)]
Fix bug number in previous commit.

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

13 years ago2010-12-26 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 27 Dec 2010 07:24:31 +0000 (07:24 +0000)]
2010-12-26  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        [Meta] Move source code into Sources
        https://bugs.webkit.org/show_bug.cgi?id=51606

        * PrettyPatch/PrettyPatch.rb:
          - Remove reference to non-existant autotools directory.
2010-12-26  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Siedel.

        [Meta] Move source code into Sources
        https://bugs.webkit.org/show_bug.cgi?id=51606

        * .gitignore:
        * GNUmakefile.am:
        * Sources/autotools: Copied from autotools.
        * autogen.sh:
        * autotools: Removed.
        * autotools/acinclude.m4: Removed.
        * autotools/dolt.m4: Removed.
        * autotools/gsettings.m4: Removed.
        * autotools/symbols.filter: Removed.
        * autotools/webkit.m4: Removed.
        * configure.ac:

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

13 years ago2010-12-26 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 27 Dec 2010 07:00:42 +0000 (07:00 +0000)]
2010-12-26  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Move cmake into Sources
        https://bugs.webkit.org/show_bug.cgi?id=51631

        * PrettyPatch/PrettyPatch.rb:
2010-12-26  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Move cmake into Sources
        https://bugs.webkit.org/show_bug.cgi?id=51631

        * CMakeLists.txt:
        * Sources/cmake: Copied from cmake.
        * cmake: Removed.
        * cmake/FindCFLite.cmake: Removed.
        * cmake/FindCairo.cmake: Removed.
        * cmake/FindEFL.cmake: Removed.
        * cmake/FindFontconfig.cmake: Removed.
        * cmake/FindFreetype.cmake: Removed.
        * cmake/FindGDK-PixBuf.cmake: Removed.
        * cmake/FindGDK.cmake: Removed.
        * cmake/FindGIO.cmake: Removed.
        * cmake/FindGStreamer-App.cmake: Removed.
        * cmake/FindGStreamer-Base.cmake: Removed.
        * cmake/FindGStreamer-Interfaces.cmake: Removed.
        * cmake/FindGStreamer-Pbutils.cmake: Removed.
        * cmake/FindGStreamer-Plugins-Base.cmake: Removed.
        * cmake/FindGStreamer-Video.cmake: Removed.
        * cmake/FindGStreamer.cmake: Removed.
        * cmake/FindGlib.cmake: Removed.
        * cmake/FindGperf.cmake: Removed.
        * cmake/FindGthread.cmake: Removed.
        * cmake/FindICU.cmake: Removed.
        * cmake/FindLibSoup2.cmake: Removed.
        * cmake/FindLibXlst.cmake: Removed.
        * cmake/FindPango.cmake: Removed.
        * cmake/FindSqlite.cmake: Removed.
        * cmake/LibFindMacros.cmake: Removed.
        * cmake/OptionsCommon.cmake: Removed.
        * cmake/OptionsEfl.cmake: Removed.
        * cmake/OptionsWinCE.cmake: Removed.
        * cmake/OptionsWindows.cmake: Removed.
        * cmake/WebKitEfl.cmake: Removed.
        * cmake/WebKitFS.cmake: Removed.
        * cmake/WebKitFeatures.cmake: Removed.
        * cmake/WebKitHelpers.cmake: Removed.
        * cmake/WebKitMacros.cmake: Removed.
        * cmake/WebKitPackaging.cmake: Removed.
        * cmake/eflsymbols.filter: Removed.

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

13 years ago2010-12-26 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 27 Dec 2010 06:11:22 +0000 (06:11 +0000)]
2010-12-26  Adam Barth  <abarth@webkit.org>

        Fix some references to the old location of the WebKit website in git
        metadata files.

        * .gitattributes:

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

13 years agoMove ANGLE to Sources/ThirdParty
abarth@webkit.org [Mon, 27 Dec 2010 05:51:00 +0000 (05:51 +0000)]
Move ANGLE to Sources/ThirdParty
https://bugs.webkit.org/show_bug.cgi?id=51605

Reviewed by Eric Seidel.

Actually move ANGLE and update the Makefile.

* ANGLE: Removed.
* ANGLE/ANGLE.xcodeproj: Removed.
* ANGLE/ANGLE.xcodeproj/project.pbxproj: Removed.
* ANGLE/Configurations: Removed.
* ANGLE/Configurations/ANGLE.xcconfig: Removed.
* ANGLE/Configurations/Base.xcconfig: Removed.
* ANGLE/Configurations/DebugRelease.xcconfig: Removed.
* ANGLE/Makefile: Removed.
* ANGLE/include: Removed.
* ANGLE/include/EGL: Removed.
* ANGLE/include/EGL/egl.h: Removed.
* ANGLE/include/EGL/eglext.h: Removed.
* ANGLE/include/EGL/eglplatform.h: Removed.
* ANGLE/include/GLES2: Removed.
* ANGLE/include/GLES2/gl2.h: Removed.
* ANGLE/include/GLES2/gl2ext.h: Removed.
* ANGLE/include/GLES2/gl2platform.h: Removed.
* ANGLE/include/GLSLANG: Removed.
* ANGLE/include/GLSLANG/ShaderLang.h: Removed.
* ANGLE/include/KHR: Removed.
* ANGLE/include/KHR/khrplatform.h: Removed.
* ANGLE/src: Removed.
* ANGLE/src/build_angle.xcodeproj: Removed.
* ANGLE/src/build_angle.xcodeproj/project.pbxproj: Removed.
* ANGLE/src/common: Removed.
* ANGLE/src/common/angleutils.h: Removed.
* ANGLE/src/common/debug.cpp: Removed.
* ANGLE/src/common/debug.h: Removed.
* ANGLE/src/compiler: Removed.
* ANGLE/src/compiler/BaseTypes.h: Removed.
* ANGLE/src/compiler/CodeGenGLSL.cpp: Removed.
* ANGLE/src/compiler/CodeGenHLSL.cpp: Removed.
* ANGLE/src/compiler/Common.h: Removed.
* ANGLE/src/compiler/ConstantUnion.h: Removed.
* ANGLE/src/compiler/InfoSink.cpp: Removed.
* ANGLE/src/compiler/InfoSink.h: Removed.
* ANGLE/src/compiler/Initialize.cpp: Removed.
* ANGLE/src/compiler/Initialize.h: Removed.
* ANGLE/src/compiler/InitializeDll.cpp: Removed.
* ANGLE/src/compiler/InitializeDll.h: Removed.
* ANGLE/src/compiler/InitializeGlobals.h: Removed.
* ANGLE/src/compiler/InitializeParseContext.h: Removed.
* ANGLE/src/compiler/IntermTraverse.cpp: Removed.
* ANGLE/src/compiler/Intermediate.cpp: Removed.
* ANGLE/src/compiler/MMap.h: Removed.
* ANGLE/src/compiler/OutputGLSL.cpp: Removed.
* ANGLE/src/compiler/OutputGLSL.h: Removed.
* ANGLE/src/compiler/OutputHLSL.cpp: Removed.
* ANGLE/src/compiler/OutputHLSL.h: Removed.
* ANGLE/src/compiler/ParseHelper.cpp: Removed.
* ANGLE/src/compiler/ParseHelper.h: Removed.
* ANGLE/src/compiler/PoolAlloc.cpp: Removed.
* ANGLE/src/compiler/PoolAlloc.h: Removed.
* ANGLE/src/compiler/QualifierAlive.cpp: Removed.
* ANGLE/src/compiler/QualifierAlive.h: Removed.
* ANGLE/src/compiler/RemoveTree.cpp: Removed.
* ANGLE/src/compiler/RemoveTree.h: Removed.
* ANGLE/src/compiler/ShHandle.h: Removed.
* ANGLE/src/compiler/ShaderLang.cpp: Removed.
* ANGLE/src/compiler/SymbolTable.cpp: Removed.
* ANGLE/src/compiler/SymbolTable.h: Removed.
* ANGLE/src/compiler/TranslatorGLSL.cpp: Removed.
* ANGLE/src/compiler/TranslatorGLSL.h: Removed.
* ANGLE/src/compiler/TranslatorHLSL.cpp: Removed.
* ANGLE/src/compiler/TranslatorHLSL.h: Removed.
* ANGLE/src/compiler/Types.h: Removed.
* ANGLE/src/compiler/UnfoldSelect.cpp: Removed.
* ANGLE/src/compiler/UnfoldSelect.h: Removed.
* ANGLE/src/compiler/debug.cpp: Removed.
* ANGLE/src/compiler/debug.h: Removed.
* ANGLE/src/compiler/glslang.l: Removed.
* ANGLE/src/compiler/glslang.y: Removed.
* ANGLE/src/compiler/intermOut.cpp: Removed.
* ANGLE/src/compiler/intermediate.h: Removed.
* ANGLE/src/compiler/localintermediate.h: Removed.
* ANGLE/src/compiler/osinclude.h: Removed.
* ANGLE/src/compiler/ossource_posix.cpp: Removed.
* ANGLE/src/compiler/ossource_win.cpp: Removed.
* ANGLE/src/compiler/parseConst.cpp: Removed.
* ANGLE/src/compiler/preprocessor: Removed.
* ANGLE/src/compiler/preprocessor/atom.c: Removed.
* ANGLE/src/compiler/preprocessor/atom.h: Removed.
* ANGLE/src/compiler/preprocessor/compile.h: Removed.
* ANGLE/src/compiler/preprocessor/cpp.c: Removed.
* ANGLE/src/compiler/preprocessor/cpp.h: Removed.
* ANGLE/src/compiler/preprocessor/cppstruct.c: Removed.
* ANGLE/src/compiler/preprocessor/memory.c: Removed.
* ANGLE/src/compiler/preprocessor/memory.h: Removed.
* ANGLE/src/compiler/preprocessor/parser.h: Removed.
* ANGLE/src/compiler/preprocessor/preprocess.h: Removed.
* ANGLE/src/compiler/preprocessor/scanner.c: Removed.
* ANGLE/src/compiler/preprocessor/scanner.h: Removed.
* ANGLE/src/compiler/preprocessor/slglobals.h: Removed.
* ANGLE/src/compiler/preprocessor/symbols.c: Removed.
* ANGLE/src/compiler/preprocessor/symbols.h: Removed.
* ANGLE/src/compiler/preprocessor/tokens.c: Removed.
* ANGLE/src/compiler/preprocessor/tokens.h: Removed.
* ANGLE/src/compiler/tools: Removed.
* ANGLE/src/compiler/unistd.h: Removed.
* ANGLE/src/libEGL: Removed.
* ANGLE/src/libEGL/Config.cpp: Removed.
* ANGLE/src/libEGL/Config.h: Removed.
* ANGLE/src/libEGL/Display.cpp: Removed.
* ANGLE/src/libEGL/Display.h: Removed.
* ANGLE/src/libEGL/Surface.cpp: Removed.
* ANGLE/src/libEGL/Surface.h: Removed.
* ANGLE/src/libEGL/libEGL.cpp: Removed.
* ANGLE/src/libEGL/libEGL.def: Removed.
* ANGLE/src/libEGL/libEGL.vcproj: Removed.
* ANGLE/src/libEGL/main.cpp: Removed.
* ANGLE/src/libEGL/main.h: Removed.
* ANGLE/src/libGLESv2: Removed.
* ANGLE/src/libGLESv2/Blit.cpp: Removed.
* ANGLE/src/libGLESv2/Blit.h: Removed.
* ANGLE/src/libGLESv2/Buffer.cpp: Removed.
* ANGLE/src/libGLESv2/Buffer.h: Removed.
* ANGLE/src/libGLESv2/Context.cpp: Removed.
* ANGLE/src/libGLESv2/Context.h: Removed.
* ANGLE/src/libGLESv2/Framebuffer.cpp: Removed.
* ANGLE/src/libGLESv2/Framebuffer.h: Removed.
* ANGLE/src/libGLESv2/Program.cpp: Removed.
* ANGLE/src/libGLESv2/Program.h: Removed.
* ANGLE/src/libGLESv2/RefCountObject.cpp: Removed.
* ANGLE/src/libGLESv2/RefCountObject.h: Removed.
* ANGLE/src/libGLESv2/Renderbuffer.cpp: Removed.
* ANGLE/src/libGLESv2/Renderbuffer.h: Removed.
* ANGLE/src/libGLESv2/ResourceManager.cpp: Removed.
* ANGLE/src/libGLESv2/ResourceManager.h: Removed.
* ANGLE/src/libGLESv2/Shader.cpp: Removed.
* ANGLE/src/libGLESv2/Shader.h: Removed.
* ANGLE/src/libGLESv2/Texture.cpp: Removed.
* ANGLE/src/libGLESv2/Texture.h: Removed.
* ANGLE/src/libGLESv2/geometry: Removed.
* ANGLE/src/libGLESv2/geometry/IndexDataManager.cpp: Removed.
* ANGLE/src/libGLESv2/geometry/IndexDataManager.h: Removed.
* ANGLE/src/libGLESv2/geometry/VertexDataManager.cpp: Removed.
* ANGLE/src/libGLESv2/geometry/VertexDataManager.h: Removed.
* ANGLE/src/libGLESv2/geometry/backend.cpp: Removed.
* ANGLE/src/libGLESv2/geometry/backend.h: Removed.
* ANGLE/src/libGLESv2/geometry/dx9.cpp: Removed.
* ANGLE/src/libGLESv2/geometry/dx9.h: Removed.
* ANGLE/src/libGLESv2/geometry/vertexconversion.h: Removed.
* ANGLE/src/libGLESv2/libGLESv2.cpp: Removed.
* ANGLE/src/libGLESv2/libGLESv2.def: Removed.
* ANGLE/src/libGLESv2/libGLESv2.vcproj: Removed.
* ANGLE/src/libGLESv2/main.cpp: Removed.
* ANGLE/src/libGLESv2/main.h: Removed.
* ANGLE/src/libGLESv2/mathutil.h: Removed.
* ANGLE/src/libGLESv2/utilities.cpp: Removed.
* ANGLE/src/libGLESv2/utilities.h: Removed.
* Makefile:
* Sources/ThirdParty: Added.
* Sources/ThirdParty/ANGLE: Copied from ANGLE.

Tools:

* Scripts/build-webkit:
  - Point to the new ANGLE location.

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

13 years ago2010-12-26 MORITA Hajime <morrita@google.com>
morrita@google.com [Mon, 27 Dec 2010 04:42:01 +0000 (04:42 +0000)]
2010-12-26  MORITA Hajime  <morrita@google.com>

        Reviewed by Dan Bernstein.

        For box-shadow, non-primary shadows should have specified radii.
        https://bugs.webkit.org/show_bug.cgi?id=51386

        * fast/box-shadow/spread-multiple-normal-expected.txt: Added.
        * fast/box-shadow/spread-multiple-normal.html: Added.
        * fast/box-shadow/spread-multiple-normal-expected.checksum: Added.
        * fast/box-shadow/spread-multiple-normal-expected.png: Added.
2010-12-26  MORITA Hajime  <morrita@google.com>

        Reviewed by Dan Bernstein.

        For box-shadow, non-primary shadows should have specified radii.
        https://bugs.webkit.org/show_bug.cgi?id=51386

        On paintBoxShadow(), the spread value accidentally accumulated accidentally
        during the loop, which should be applied individually for radius of each shadow.
        This change makes the radii for rects computed for each shadow.

        Test: fast/box-shadow/spread-multiple-normal.html

        * rendering/RenderBoxModelObject.cpp:
        (WebCore::RenderBoxModelObject::paintBoxShadow):

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

13 years ago2010-12-26 Xan Lopez <xlopez@igalia.com>
commit-queue@webkit.org [Sun, 26 Dec 2010 22:13:16 +0000 (22:13 +0000)]
2010-12-26  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Add standalone target for JSC
        https://bugs.webkit.org/show_bug.cgi?id=51607

        * GNUmakefile.am: add convenience target to only build jsc and its
        dependencies.

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

13 years ago2010-12-26 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 26 Dec 2010 22:00:33 +0000 (22:00 +0000)]
2010-12-26  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

        Improve output of HTML parser benchmark
        https://bugs.webkit.org/show_bug.cgi?id=51611

        Calculate and show median, min and max values.

        * benchmarks/parser/html-parser.html:

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

13 years ago2010-12-26 David Levin <levin@chromium.org>
levin@chromium.org [Sun, 26 Dec 2010 20:27:49 +0000 (20:27 +0000)]
2010-12-26  David Levin  <levin@chromium.org>

        Reviewed by Eric Seidel.

        check-webkit-style should be able to parse function declaration parameters.
        https://bugs.webkit.org/show_bug.cgi?id=51451

        * Scripts/webkitpy/style/checkers/cpp.py:
        (Position.__init__): Holds simple position information (row, column).
        (Parameter.__init__): Holds information about a parameter.
        (SingleLineView.__init): Converts multiple lines into a single line for simpler searches.
        (SingleLineView.convert_column_to_row): Returns the original row given a column.
        (create_skeleton_parameters): Simplifies a parameter list for easier searching.
        (find_parameter_name_index): Finds where the parameter name is.
        (parameter_list): Generates the list of parameters for a function.
        (_FunctionState.begin): Added information to allow determining the parameters
        on demand.
        (_FunctionState.get_parameter_list): Returns a tuple of function parameters.
        (detect_functions): Improve function detection for operator functions and
        determine where the parameters end and pass that to _FunctionState.begin.
        * Scripts/webkitpy/style/checkers/cpp_unittest.py:
        (CppFunctionsTest.test_parameter): Verifies Parameter functionality.
        (CppFunctionsTest.test_single_line_view): Verifies SingleLineView functionality.
        (CppFunctionsTest.test_create_skeleton_parameters): Verifies create_skeleton_parameters.
        (CppFunctionsTest.test_find_parameter_name_index): Verifies find_parameter_name_index.
        (CppFunctionsTest.test_parameter_list): Does some minimal verification for parameter list.
        Much more thorough verification is done as part of FunctionDetectionTest.test_parameter_list.
        (FunctionDetectionTest.perform_function_detection): Added support for verifying
        the parameters found.
        (FunctionDetectionTest.test_function_declaration_detection): Added more function
        detection test to verify that we catch the operator functions.
        (FunctionDetectionTest.test_ignore_macros): Verify that function detection ignores macros.
        (FunctionDetectionTest.test_parameter_list): Added tests to verify the parameter parsing.
        (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_for_bad_test_doesnt_break): Removed
        because the error. The test is about the bad function name. Fixing the name makes the test exactly like
        test_function_length_check_definition_severity1_for_test.

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

13 years agoRename DrawingAreaMessage and DrawingAreaLegacyMessage and
andersca@apple.com [Sun, 26 Dec 2010 19:41:17 +0000 (19:41 +0000)]
Rename DrawingAreaMessage and DrawingAreaLegacyMessage and
DrawingAreaProxyMessage to DrawingAreaProxyLegacyMessage.

Reviewed by Dan Bernstein.

* Platform/CoreIPC/MessageID.h:
* Shared/CoreIPCSupport/DrawingAreaMessageKinds.h:
* Shared/CoreIPCSupport/DrawingAreaProxyMessageKinds.h:
* UIProcess/ChunkedUpdateDrawingAreaProxy.cpp:
(WebKit::ChunkedUpdateDrawingAreaProxy::paint):
(WebKit::ChunkedUpdateDrawingAreaProxy::setPageIsVisible):
(WebKit::ChunkedUpdateDrawingAreaProxy::update):
(WebKit::ChunkedUpdateDrawingAreaProxy::sendSetSize):
(WebKit::ChunkedUpdateDrawingAreaProxy::didReceiveMessage):
* UIProcess/LayerBackedDrawingAreaProxy.cpp:
(WebKit::LayerBackedDrawingAreaProxy::sizeDidChange):
(WebKit::LayerBackedDrawingAreaProxy::setPageIsVisible):
(WebKit::LayerBackedDrawingAreaProxy::update):
(WebKit::LayerBackedDrawingAreaProxy::didReceiveMessage):
(WebKit::LayerBackedDrawingAreaProxy::didReceiveSyncMessage):
* UIProcess/TiledDrawingAreaProxy.cpp:
(WebKit::TiledDrawingAreaProxy::sizeDidChange):
(WebKit::TiledDrawingAreaProxy::setPageIsVisible):
(WebKit::TiledDrawingAreaProxy::didReceiveMessage):
(WebKit::TiledDrawingAreaProxy::requestTileUpdate):
(WebKit::TiledDrawingAreaProxy::waitUntilUpdatesComplete):
(WebKit::TiledDrawingAreaProxy::takeSnapshot):
(WebKit::TiledDrawingAreaProxy::removeTile):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveMessage):
(WebKit::WebPageProxy::didReceiveSyncMessage):
* WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
(WebKit::ChunkedUpdateDrawingArea::display):
(WebKit::ChunkedUpdateDrawingArea::setSize):
(WebKit::ChunkedUpdateDrawingArea::didReceiveMessage):
* WebProcess/WebPage/LayerBackedDrawingArea.cpp:
(WebKit::LayerBackedDrawingArea::setSize):
(WebKit::LayerBackedDrawingArea::didReceiveMessage):
* WebProcess/WebPage/TiledDrawingArea.cpp:
(WebKit::TiledDrawingArea::display):
(WebKit::TiledDrawingArea::setSize):
(WebKit::TiledDrawingArea::updateTile):
(WebKit::TiledDrawingArea::tileUpdateTimerFired):
(WebKit::TiledDrawingArea::didReceiveMessage):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didReceiveMessage):
* WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm:
(WebKit::LayerBackedDrawingArea::attachCompositingContext):

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

13 years agoDrawing area cleanup. Remove a bunch of redundant functions that just ended
andersca@apple.com [Sun, 26 Dec 2010 19:26:36 +0000 (19:26 +0000)]
Drawing area cleanup. Remove a bunch of redundant functions that just ended
up calling setNeedsDisplay.

Reviewed by Sam Weinig.

* UIProcess/DrawingAreaProxy.h:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::invalidateWindow):
(WebKit::WebChromeClient::invalidateContentsAndWindow):
(WebKit::WebChromeClient::invalidateContentsForSlowScroll):
* WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp:
* WebProcess/WebPage/ChunkedUpdateDrawingArea.h:
* WebProcess/WebPage/DrawingArea.h:
* WebProcess/WebPage/LayerBackedDrawingArea.cpp:
* WebProcess/WebPage/LayerBackedDrawingArea.h:
* WebProcess/WebPage/TiledDrawingArea.cpp:
* WebProcess/WebPage/TiledDrawingArea.h:

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

13 years ago2010-12-26 Kenneth Russell <kbr@google.com>
kbr@google.com [Sun, 26 Dec 2010 16:57:40 +0000 (16:57 +0000)]
2010-12-26  Kenneth Russell  <kbr@google.com>

        Unreviewed, Chromium expectations fix. Fix broken (duplicate)
        expectations for
        canvas/philip/tests/2d.gradient.radial.cone.top.html.

        * platform/chromium/test_expectations.txt:

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

13 years ago2010-12-26 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Sun, 26 Dec 2010 16:04:58 +0000 (16:04 +0000)]
2010-12-26  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Simon Fraser.

        Remove the bad assert in paintPaginatedChildLayer, hitTestPaginatedChildLayer.
        https://bugs.webkit.org/show_bug.cgi?id=48772

        Test: fast/multicol/renderer-positioned-assert-crash.html

        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::paintPaginatedChildLayer):
        (WebCore::RenderLayer::hitTestPaginatedChildLayer):
2010-12-26  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Simon Fraser.

        Tests passes if it does not crash.
        https://bugs.webkit.org/show_bug.cgi?id=48772

        * fast/multicol/renderer-positioned-assert-crash-expected.txt: Added.
        * fast/multicol/renderer-positioned-assert-crash.html: Added.

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

13 years ago2010-12-26 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 26 Dec 2010 10:04:26 +0000 (10:04 +0000)]
2010-12-26  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed WinCE buildfix after r74626.

        * cmake/OptionsWinCE.cmake:

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

13 years ago2010-12-25 Kenneth Russell <kbr@google.com>
kbr@google.com [Sun, 26 Dec 2010 05:05:27 +0000 (05:05 +0000)]
2010-12-25  Kenneth Russell  <kbr@google.com>

        Unreviewed, Chromium test expectations update.

        * platform/chromium-gpu/test_expectations.txt:
          Win Debug:
          Marked compositing/tiling/huge-layer-img.html as TIMEOUT.
          Marked fast/canvas/webgl/gl-object-get-calls.html as a flaky crash.
        * platform/chromium/test_expectations.txt:
          Adjusted expectations for the following tests:
          fast/canvas/shadow-offset-7.html
          svg/batik/paints/gradientLimit.svg
          fast/events/touch/touch-target.html
          canvas/philip/tests/2d.gradient.radial.cone.top.html
          fast/css/box-shadow.html

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

13 years ago2010-12-25 Peter Rybin <peter.rybin@gmail.com>
commit-queue@webkit.org [Sun, 26 Dec 2010 01:49:06 +0000 (01:49 +0000)]
2010-12-25  Peter Rybin  <peter.rybin@gmail.com>

        Reviewed by Adam Barth.

        Adds currentColumn (and currentLine) to SegmentedString. Switches
        HTMLTreeBuilder to HTMLDocumentParser::textPosition when it
        needs position for a <script> tag.

        SegmentedString should provide column position
        https://bugs.webkit.org/show_bug.cgi?id=51311

        * html/parser/HTMLDocumentParser.cpp:
        (WebCore::HTMLDocumentParser::HTMLDocumentParser):
        (WebCore::HTMLDocumentParser::textPosition):
        * html/parser/HTMLInputStream.h:
        (WebCore::HTMLInputStream::current):
        (WebCore::InsertionPointRecord::InsertionPointRecord):
        (WebCore::InsertionPointRecord::~InsertionPointRecord):
        * html/parser/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
        (WebCore::HTMLTreeBuilder::processScriptStartTag):
        * html/parser/HTMLTreeBuilder.h:
        (WebCore::HTMLTreeBuilder::create):
        * platform/text/SegmentedString.cpp:
        (WebCore::SegmentedString::operator=):
        (WebCore::SegmentedString::numberOfCharactersConsumedSlow):
        (WebCore::SegmentedString::advanceSlowCase):
        (WebCore::SegmentedString::currentLine):
        (WebCore::SegmentedString::currentColumn):
        (WebCore::SegmentedString::setCurrentPosition):
        * platform/text/SegmentedString.h:
        (WebCore::SegmentedString::SegmentedString):
        (WebCore::SegmentedString::advancePastNewline):
        (WebCore::SegmentedString::advance):
        (WebCore::SegmentedString::numberOfCharactersConsumed):

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

13 years ago2010-12-25 Andreas Kling <kling@webkit.org>
commit-queue@webkit.org [Sun, 26 Dec 2010 00:38:09 +0000 (00:38 +0000)]
2010-12-25  Andreas Kling  <kling@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        GraphicsContext: Don't pass StrokeStyle (enum) as const reference
        https://bugs.webkit.org/show_bug.cgi?id=51608

        * platform/graphics/GraphicsContext.cpp:
        (WebCore::GraphicsContext::setStrokeStyle):
        (WebCore::GraphicsContext::setPlatformStrokeStyle):
        (WebCore::GraphicsContext::adjustLineToPixelBoundaries):
        * platform/graphics/GraphicsContext.h:
        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::GraphicsContext::setPlatformStrokeStyle):
        * platform/graphics/haiku/GraphicsContextHaiku.cpp:
        (WebCore::GraphicsContext::setPlatformStrokeStyle):
        * platform/graphics/openvg/GraphicsContextOpenVG.cpp:
        (WebCore::GraphicsContext::setPlatformStrokeStyle):
        * platform/graphics/openvg/PainterOpenVG.cpp:
        (WebCore::PainterOpenVG::setStrokeStyle):
        * platform/graphics/openvg/PainterOpenVG.h:
        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::setPlatformStrokeStyle):
        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::GraphicsContext::setPlatformStrokeStyle):

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