Timeline



Dec 6, 2010:

11:31 PM Changeset in webkit [73429] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-06 Yuta Kitamura <yutak@chromium.org>

Unreviewed.

Update Chromium test expectations for svg/custom/text-linking.svg.

11:09 PM Changeset in webkit [73428] by pfeldman@chromium.org
  • 1 edit in branches/chromium/597/WebCore/css/CSSImportRule.cpp

Merge 73427 - 2010-12-06 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Rolling out r72988 for breaking iframes.

  • css/CSSImportRule.cpp: (WebCore::CSSImportRule::insertedIntoParent):

BUG=65376
TBR=jamesr@chromium.org
Review URL: http://codereview.chromium.org/5521007

11:01 PM Changeset in webkit [73427] by pfeldman@chromium.org
  • 2 edits in trunk/WebCore

2010-12-06 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Rolling out r72988 for breaking iframes.

  • css/CSSImportRule.cpp: (WebCore::CSSImportRule::insertedIntoParent):
10:02 PM Changeset in webkit [73426] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-06 Yuta Kitamura <yutak@chromium.org>

Unreviewed.

Update Chromium test expectations.

  • platform/chromium/test_expectations.txt:
9:05 PM Changeset in webkit [73425] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-06 Hironori Bono <hbono@chromium.org>

Reviewed by David Levin.

[Chromium] Refactor FontCacheChromiumWin.cpp
https://bugs.webkit.org/show_bug.cgi?id=50611

This change just moved the helper functions for the WebCore::FontCache class to the beginning of ths file.

No new tests are added since this is a refactoring.

  • platform/graphics/chromium/FontCacheChromiumWin.cpp: (WebCore::fontDataFromDescriptionAndLogFont): Moved to the beginning of the file. (WebCore::toGDIFontWeight): Moved to the beginning of the file. (WebCore::FillLogFont): Moved to the beginning of the file. (WebCore::TraitsInFamilyProcData::TraitsInFamilyProcData): Moved to the beginning of the file. (WebCore::traitsInFamilyEnumProc): Moved to the beginning of the file. (WebCore::FontCache::platformInit): Moved after the static functions.
8:24 PM Changeset in webkit [73424] by commit-queue@webkit.org
  • 3 edits in trunk/WebCore

2010-12-06 Alexey Marinichev <amarinichev@chromium.org>

Reviewed by Kenneth Russell.

Throw webglcontextlost and webglcontextrestored events when a WebGL context is lost and restored.
https://bugs.webkit.org/show_bug.cgi?id=50364

No new tests since there is currently no way to force a context lost event.

  • html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::WebGLRenderingContextRestoreTimer::fired): (WebCore::WebGLRenderingContext::create): (WebCore::WebGLRenderingContext::WebGLRenderingContext): (WebCore::WebGLRenderingContext::isContextLost): (WebCore::WebGLRenderingContext::loseContext): (WebCore::WebGLRenderingContext::restoreContext):
  • html/canvas/WebGLRenderingContext.h: (WebCore::WebGLRenderingContext::WebGLRenderingContextRestoreTimer::WebGLRenderingContextRestoreTimer):
7:42 PM Changeset in webkit [73423] by hyatt@apple.com
  • 3 edits
    4 adds in trunk

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

Reviewed by Simon Fraser.

Fix background canvas painting for documents with left/top overflow. The math from the original RTL patch was incorrect.

Just use the RenderView's document dimensions always.

WebCore:

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::paintRootBoxDecorations):

LayoutTests:

  • fast/blockflow/Kusa-Makura-background-canvas.html: Added.
  • platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum: Added.
  • platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png: Added.
  • platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.txt: Added.
6:01 PM Changeset in webkit [73422] by Simon Fraser
  • 3 edits in trunk/WebKit2

2010-12-06 Simon Fraser <Simon Fraser>

Reviewed by Sam Weinig.

Fix two WebKit2 prefs issues.

  • Shared/WebPreferencesStore.h: Include font-family preferences in the FOR_EACH_WEBKIT_STRING_PREFERENCE macro, actually propagating font family prefs to WebCore settings.
  • UIProcess/WebPageGroup.cpp: (WebKit::WebPageGroup::WebPageGroup): (WebKit::WebPageGroup::~WebPageGroup): Add and remove the WebPageGroup from the preference object it creates. This allows preference changes to actually be propagated to the web process.
6:01 PM Changeset in webkit [73421] by Simon Fraser
  • 6 edits
    2 adds in trunk

2010-12-06 Simon Fraser <Simon Fraser>

Reviewed by Beth Dakin.

CSS animation doesn't work for border-radius
https://bugs.webkit.org/show_bug.cgi?id=48340

Include CSSPropertyBorderRadius in the list of shorthand
properties, so that the individual border-radius properties
get animated.

Test: transitions/border-radius-transition.html

  • page/animation/AnimationBase.cpp: (WebCore::addShorthandProperties):
5:24 PM Changeset in webkit [73420] by victorw@chromium.org
  • 3 edits in trunk/LayoutTests

2010-12-06 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] update chromium test expectations.

  • platform/chromium-mac-leopard/fast/repaint/box-shadow-h-expected.checksum:
  • platform/chromium-mac-leopard/fast/repaint/box-shadow-h-expected.png:
5:14 PM Changeset in webkit [73419] by andersca@apple.com
  • 7 edits in trunk/WebKit2

The plug-in process crashes if it can't load the plug-in module
https://bugs.webkit.org/show_bug.cgi?id=50601
<rdar://problem/8692654>

Reviewed by Sam Weinig.

  • PluginProcess/PluginControllerProxy.cpp:

(WebKit::PluginControllerProxy::initialize):
Handle m_plugin being 0.

  • PluginProcess/PluginProcess.cpp:

(WebKit::PluginProcess::netscapePluginModule):
Create the plug-in module if it doesn't exist.

(WebKit::PluginProcess::initialize):
Store the plug-in path.

  • PluginProcess/PluginProcess.h:
  • WebProcess/Plugins/Netscape/NetscapePlugin.cpp:

(WebKit::NetscapePlugin::create):
Return null if the plug-in module doesn't exist.

  • WebProcess/Plugins/Netscape/NetscapePlugin.h:
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::createPlugin):
Simplify code.

5:12 PM Changeset in webkit [73418] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

2010-12-06 Emil Eklund <eae@chromium.org>

Reviewed by Dimitri Glazkov.

Fix for classList perf test, failing due to typo.
https://bugs.webkit.org/show_bug.cgi?id=50578

  • perf/class-list-remove.html: Changed to use the right value.
5:01 PM Changeset in webkit [73417] by ggaren@apple.com
  • 4 edits in trunk/JavaScriptCore

2010-12-06 Geoffrey Garen <ggaren@apple.com>

Reviewed by Gavin Barraclough.

Simplified some ASLR-related code in PageAllocation/Reservation
https://bugs.webkit.org/show_bug.cgi?id=50599


Removed reserveAt, allocateAt, and friends, since they all existed to
serve one feature: ASLR for executable memory on x86_64 on Mac. Moved
ASLR code down into systemAllocate -- now, any time you allocate
executable memory on a supporting platform, the memory's location is
randomized.

  • jit/ExecutableAllocatorFixedVMPool.cpp: (JSC::FixedVMPoolAllocator::FixedVMPoolAllocator): No need for the caller to randomize anything.
  • wtf/PageAllocation.h: (WTF::PageAllocation::systemAllocate): Removed some *At() functions, and beefed up executable allocation with randomization.
  • wtf/PageReservation.h: (WTF::PageReservation::systemReserve): Removed some *At() functions.
5:00 PM Changeset in webkit [73416] by rniwa@webkit.org
  • 21 edits in trunk/WebCore

2010-12-06 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Tony Chang.

ApplyStyleCommand should take EditingStyle instead of CSSStyleDeclaration
https://bugs.webkit.org/show_bug.cgi?id=49938

Modified ApplyStyleCommand::ApplyStyleCommand and ApplyStyleCommand::create to take EditingStyle*
instead of CSSStyleDeclaration*. Also replaced much of code in Editor::computeAndSetTypingStyle
by calls to EditingStyle's member functions and extracted EditingStyle::overrideWith and
EditingStyle::extractAndRemoveBlockProperties.

No new tests are added since this is a refactoring.

  • WebCore.exp.in: Added SelectionController::copyTypingStyle and EditingStyle::~EditingStyle.
  • css/CSSMutableStyleDeclaration.cpp: Made CSSMutableStyleDeclaration* in the argument list const. (WebCore::CSSMutableStyleDeclaration::merge):
  • css/CSSMutableStyleDeclaration.h:
  • editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::ApplyStyleCommand): Takes EditingStyle* instead of CSSStyleDeclaration*. (WebCore::ApplyStyleCommand::doApply): Uses EditingStyle.
  • editing/ApplyStyleCommand.h: m_style is now a ref-pointer to EditingStyle instead of CSSMutableStyleDeclaration. (WebCore::ApplyStyleCommand::create): Takes EditingStyle* instead of CSSStyleDeclaration*.
  • editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::applyStyle): Ditto. (WebCore::CompositeEditCommand::moveParagraphs): Calls applyStyle. (WebCore::CompositeEditCommand::breakOutOfEmptyListItem): Ditto.
  • editing/CompositeEditCommand.h:
  • editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::calculateTypingStyleAfterDelete): Ditto.
  • editing/EditCommand.cpp:
  • editing/EditCommand.h:
  • editing/EditingStyle.cpp: (WebCore::EditingStyle::~EditingStyle): Added. (WebCore::EditingStyle::overrideWithStyle): Extracted from Editor::calculateTypingStyleAfterDelete. (WebCore::EditingStyle::copy): Added. (WebCore::EditingStyle::extractAndRemoveBlockProperties): Extracted from Editor::calculateTypingStyleAfterDelete.
  • editing/EditingStyle.h:
  • editing/Editor.cpp: (WebCore::Editor::applyStyle): Calls ApplyStyleCommand::create. (WebCore::Editor::applyParagraphStyle): Ditto. (WebCore::Editor::computeAndSetTypingStyle): Ditto.
  • editing/InsertLineBreakCommand.cpp: (WebCore::InsertLineBreakCommand::doApply): Calls applyStyle.
  • editing/InsertParagraphSeparatorCommand.cpp: (WebCore::InsertParagraphSeparatorCommand::applyStyleAfterInsertion): Ditto.
  • editing/InsertTextCommand.cpp: (WebCore::InsertTextCommand::input): Ditto.
  • editing/RemoveFormatCommand.cpp: (WebCore::RemoveFormatCommand::doApply): Calls ApplyStyleCommand::create.
  • editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::completeHTMLReplacement): Calls applyStyle.
  • editing/SelectionController.cpp: (WebCore::SelectionController::copyTypingStyle): Moved from SelectionController.h
  • editing/SelectionController.h:
4:58 PM Changeset in webkit [73415] by commit-queue@webkit.org
  • 9 edits
    6 deletes in trunk/LayoutTests

2010-12-06 Cosmin Truta <ctruta@chromium.org>

Reviewed by Eric Seidel.

Fix testcase: textPath cannot be inside another textPath
https://bugs.webkit.org/show_bug.cgi?id=50211

  • platform/mac/svg/custom/text-linking-expected.checksum: Updated.
  • platform/mac/svg/custom/text-linking-expected.png: Updated.
  • platform/mac/svg/custom/text-linking-expected.txt: Updated.
  • platform/chromium-linux/svg/custom/text-linking-expected.checksum: Updated.
  • platform/chromium-linux/svg/custom/text-linking-expected.png: Updated.
  • platform/chromium-linux/svg/custom/text-linking-expected.txt: Updated.
  • platform/chromium-win-vista/svg/custom/text-linking-expected.checksum: Deleted.
  • platform/chromium-win-vista/svg/custom/text-linking-expected.png: Deleted.
  • platform/chromium-win-vista/svg/custom/text-linking-expected.txt: Deleted.
  • platform/chromium-win-xp/svg/custom/text-linking-expected.checksum: Deleted.
  • platform/chromium-win-xp/svg/custom/text-linking-expected.png: Deleted.
  • platform/chromium-win-xp/svg/custom/text-linking-expected.txt: Deleted.
  • svg/custom/text-linking.svg: Removed test for <textPath> inside <textPath>.
4:57 PM Changeset in webkit [73414] by andersca@apple.com
  • 5 edits in trunk/WebKit2

WebProcess crash in NPRemoteObjectMap::invalidate when closing tab
https://bugs.webkit.org/show_bug.cgi?id=50597
<rdar://problem/8655584>

Reviewed by Sam Weinig.

When invalidating the NPRemoteObjectMap, we don't want NPObjectMessageReceiver to
release all objects NPObjects blindly because NPJSObjects have already been deallocated by the plug-in view.

This is not an ideal solution; an ideal solution would involve NPJSObjects notifying any NPObjectMessageReceiver objects
that the NPJSObject is being destroyed. The NPObjectMessageReceiver could then simply null out the NPObject pointer.

  • Shared/Plugins/NPObjectMessageReceiver.cpp:

(WebKit::NPObjectMessageReceiver::NPObjectMessageReceiver):
(WebKit::NPObjectMessageReceiver::~NPObjectMessageReceiver):

  • Shared/Plugins/NPObjectMessageReceiver.h:
  • Shared/Plugins/NPRemoteObjectMap.cpp:

(WebKit::NPRemoteObjectMap::NPRemoteObjectMap):
(WebKit::NPRemoteObjectMap::invalidate):

  • Shared/Plugins/NPRemoteObjectMap.h:

(WebKit::NPRemoteObjectMap::isInvalidating):

4:49 PM Changeset in webkit [73413] by jhoneycutt@apple.com
  • 5 edits in trunk/LayoutTests

Update Windows results after r73385.

Unreviewed.

  • platform/win/fast/forms/basic-textareas-quirks-expected.txt:
  • platform/win/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum:
  • platform/win/scrollbars/custom-scrollbar-with-incomplete-style-expected.png:
  • platform/win/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt:
4:33 PM Changeset in webkit [73412] by weinig@apple.com
  • 26 edits
    2 adds in trunk

Generalize didChangeLocationWithinPageForFrame for all same document navigations
https://bugs.webkit.org/show_bug.cgi?id=50584

Reviewed by Anders Carlsson.

WebKit2:

  • Rename didChangeLocationWithinPageForFrame callbacks to didSameDocumentNavigationForFrame
  • Add WKSameDocumentNavigationType to didChangeLocationWithinPageForFrame.
  • Call didSameDocumentNavigationForFrame for HTML session state changes.
  • Shared/API/c/WKPageLoadTypes.h: Added.
  • Shared/API/c/WKSharedAPICast.h:

(WebKit::toAPI):
Moved WKFrameNavigationType here from WKPage.h and add WKSameDocumentNavigationType.

  • Shared/SameDocumentNavigationType.h: Added.
  • UIProcess/API/C/WKAPICast.h:

Moved WKFrameNavigationType conversion from here.

  • UIProcess/API/C/WKPage.h:
  • UIProcess/API/qt/qwkpage.cpp:

(QWKPage::QWKPage):
Update comment.

  • UIProcess/WebFrameProxy.cpp:

(WebKit::WebFrameProxy::didSameDocumentNavigation):

  • UIProcess/WebFrameProxy.h:
  • UIProcess/WebLoaderClient.cpp:

(WebKit::WebLoaderClient::didSameDocumentNavigationForFrame):

  • UIProcess/WebLoaderClient.h:
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::didSameDocumentNavigationForFrame):

  • UIProcess/WebPageProxy.h:
  • UIProcess/WebPageProxy.messages.in:
  • WebProcess/InjectedBundle/API/c/WKBundlePage.h:
  • WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:

(WebKit::InjectedBundlePageLoaderClient::didSameDocumentNavigationForFrame):

  • WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:

Pipe new name through.

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:

(WebKit::WebFrameLoaderClient::dispatchDidChangeLocationWithinPage):
(WebKit::WebFrameLoaderClient::dispatchDidPushStateWithinPage):
(WebKit::WebFrameLoaderClient::dispatchDidReplaceStateWithinPage):
(WebKit::WebFrameLoaderClient::dispatchDidPopStateWithinPage):
Call didChangeLocationWithinPageForFrame for session state changes.

  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:
  • win/WebKit2Generated.make:

Add new files.

WebKitTools:

  • MiniBrowser/mac/BrowserWindowController.m:

(didSameDocumentNavigationForFrame):
(-[BrowserWindowController awakeFromNib]):
(-[BrowserWindowController didSameDocumentNavigationForFrame:]):

  • TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:

(TestWebKitAPI::didSameDocumentNavigationForFrame):
(TestWebKitAPI::TEST):

  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:

(WTR::InjectedBundlePage::InjectedBundlePage):
(WTR::InjectedBundlePage::didSameDocumentNavigationForFrame):

  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::initialize):

4:31 PM Changeset in webkit [73411] by rniwa@webkit.org
  • 10 edits
    2 adds in trunk

2010-12-05 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Tony Chang.

Executing FormatBlock on multiple paragraphs inside pre does not remove the outer pre
https://bugs.webkit.org/show_bug.cgi?id=47300

The bug was caused by FormatBlockCommand::formatRange's not removing refNode when the refNode
contains more than one paragraphs even when the refNode is fully selected.

Fixed the bug by modifying FormatBlockCommand::formatRange to correctly remove the node in
such a situation.

Also fixed a bug in ApplyBlockElementCommand::formatSelection that the end of selection
is not properly updated when the end of selection resides in the node split by
rangeForParagraphSplittingTextNodesIfNeeded or endOfNextParagrahSplittingTextNodesIfNeeded.

Test: editing/execCommand/format-block-multiple-paragraphs-in-pre.html

  • editing/ApplyBlockElementCommand.cpp: (WebCore::ApplyBlockElementCommand::formatSelection): Calls formatRange with m_endOfLastParagraph. (WebCore::ApplyBlockElementCommand::rangeForParagraphSplittingTextNodesIfNeeded): Updates m_endOfLastParagraph when the position points to the node split by this function. (WebCore::ApplyBlockElementCommand::endOfNextParagrahSplittingTextNodesIfNeeded): Ditto.
  • editing/ApplyBlockElementCommand.h: Added m_endOfLastParagraph as a member variable.
  • editing/FormatBlockCommand.cpp: (WebCore::FormatBlockCommand::formatRange): See above.
  • editing/FormatBlockCommand.h:
  • editing/IndentOutdentCommand.cpp: (WebCore::IndentOutdentCommand::formatRange): Ignores the end of selection.
  • editing/IndentOutdentCommand.h:

2010-12-05 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Tony Chang.

Executing FormatBlock on multiple paragraphs inside pre does not remove the outer pre
https://bugs.webkit.org/show_bug.cgi?id=47300

Added a test to ensure execCommand('FormatBlock') correctly removes pre when formatting paragraphs within.
Also rebaselined several tests because WebKit no longer erroneously format the paragraphs immediately
after the selection.

  • editing/execCommand/format-block-multiple-paragraphs-in-pre-expected.txt: Added.
  • editing/execCommand/format-block-multiple-paragraphs-in-pre.html: Added.
  • editing/execCommand/format-block-multiple-paragraphs-expected.txt: No longer erroneously format the last paragraph in a pre by a blockquote when formatting all but the last paragraph in the pre.
  • editing/execCommand/indent-pre-expected.txt: No longer erroneously format the last paragraph in the pre-list by a blockquote.
4:18 PM Changeset in webkit [73410] by jberlin@webkit.org
  • 5 edits in trunk/WebKit2

WebKit2: Expose the preference to enable or disable HTML5 Databases.
https://bugs.webkit.org/show_bug.cgi?id=50411

Reviewed by Dan Bernstein.

  • Shared/WebPreferencesStore.h:

Make the preference to enable HTML5 Databases default ot true.

  • UIProcess/API/C/WKPreferences.cpp:

(WKPreferencesSetDatabasesEnabled):
(WKPreferencesGetDatabasesEnabled):

  • UIProcess/API/C/WKPreferences.h:
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::updatePreferences):
Set AbstractDatabase::isAvailable (mimicking how the preference is set in WebKit1).

4:07 PM Changeset in webkit [73409] by kinuko@chromium.org
  • 2 edits in trunk/WebKitTools

2010-12-06 Kinuko Yasuda <kinuko@chromium.org>

Reviewed by Ojan Vafai.

Make TestResultsServer return 404 for non-existing results files.
https://bugs.webkit.org/show_bug.cgi?id=50581

  • TestResultServer/handlers/testfilehandler.py:
3:52 PM Changeset in webkit [73408] by victorw@chromium.org
  • 1 edit
    8 adds in trunk/LayoutTests

2010-12-06 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] update chromium test expectations for fast/html/marquee-scrollamount.html

  • platform/chromium-linux/fast/html/marquee-scrollamount-expected.checksum: Added.
  • platform/chromium-linux/fast/html/marquee-scrollamount-expected.png: Added.
  • platform/chromium-mac/fast/html: Added.
  • platform/chromium-mac/fast/html/marquee-scrollamount-expected.checksum: Added.
  • platform/chromium-mac/fast/html/marquee-scrollamount-expected.png: Added.
  • platform/chromium-win/fast/html/marquee-scrollamount-expected.checksum: Added.
  • platform/chromium-win/fast/html/marquee-scrollamount-expected.png: Added.
  • platform/chromium-win/fast/html/marquee-scrollamount-expected.txt: Added.
3:24 PM Changeset in webkit [73407] by Csaba Osztrogonác
  • 125 edits
    7 copies
    57 adds in trunk/LayoutTests

Unreviewed.

Update Qt specific expected results after r73385.

  • platform/qt/css1/box_properties/margin-expected.checksum: Added.
  • platform/qt/css1/box_properties/margin-expected.png: Added.
  • platform/qt/css1/box_properties/margin-expected.txt:
  • platform/qt/css1/box_properties/margin_right-expected.checksum: Added.
  • platform/qt/css1/box_properties/margin_right-expected.png: Added.
  • platform/qt/css1/box_properties/margin_right-expected.txt:
  • platform/qt/css1/formatting_model/inline_elements-expected.checksum: Added.
  • platform/qt/css1/formatting_model/inline_elements-expected.png: Added.
  • platform/qt/css1/formatting_model/inline_elements-expected.txt:
  • platform/qt/css2.1/t1202-counter-08-b-expected.checksum: Added.
  • platform/qt/css2.1/t1202-counter-08-b-expected.png: Added.
  • platform/qt/css2.1/t1202-counter-08-b-expected.txt:
  • platform/qt/css2.1/t1202-counters-08-b-expected.checksum: Added.
  • platform/qt/css2.1/t1202-counters-08-b-expected.png: Added.
  • platform/qt/css2.1/t1202-counters-08-b-expected.txt:
  • platform/qt/editing/deleting/delete-after-span-ws-001-expected.checksum:
  • platform/qt/editing/deleting/delete-after-span-ws-001-expected.png:
  • platform/qt/editing/deleting/delete-after-span-ws-001-expected.txt:
  • platform/qt/editing/deleting/delete-after-span-ws-002-expected.checksum:
  • platform/qt/editing/deleting/delete-after-span-ws-002-expected.png:
  • platform/qt/editing/deleting/delete-after-span-ws-002-expected.txt:
  • platform/qt/editing/deleting/delete-after-span-ws-003-expected.checksum:
  • platform/qt/editing/deleting/delete-after-span-ws-003-expected.png:
  • platform/qt/editing/deleting/delete-after-span-ws-003-expected.txt:
  • platform/qt/editing/deleting/delete-line-end-ws-001-expected.checksum:
  • platform/qt/editing/deleting/delete-line-end-ws-001-expected.png:
  • platform/qt/editing/deleting/delete-line-end-ws-001-expected.txt:
  • platform/qt/fast/backgrounds/repeat/negative-offset-repeat-expected.checksum: Added.
  • platform/qt/fast/backgrounds/repeat/negative-offset-repeat-expected.png: Added.
  • platform/qt/fast/backgrounds/repeat/negative-offset-repeat-expected.txt:
  • platform/qt/fast/backgrounds/size/backgroundSize15-expected.checksum: Added.
  • platform/qt/fast/backgrounds/size/backgroundSize15-expected.png: Added.
  • platform/qt/fast/backgrounds/size/backgroundSize15-expected.txt:
  • platform/qt/fast/block/float/008-expected.checksum: Added.
  • platform/qt/fast/block/float/008-expected.png: Copied from LayoutTests/platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png.
  • platform/qt/fast/block/float/008-expected.txt:
  • platform/qt/fast/block/float/019-expected.checksum: Added.
  • platform/qt/fast/block/float/019-expected.png: Copied from LayoutTests/platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png.
  • platform/qt/fast/block/float/019-expected.txt:
  • platform/qt/fast/block/float/033-expected.checksum: Added.
  • platform/qt/fast/block/float/033-expected.png: Added.
  • platform/qt/fast/block/float/033-expected.txt:
  • platform/qt/fast/block/float/035-expected.checksum:
  • platform/qt/fast/block/float/035-expected.png:
  • platform/qt/fast/block/float/035-expected.txt:
  • platform/qt/fast/block/float/avoidance-percent-width-strict-expected.checksum: Added.
  • platform/qt/fast/block/float/avoidance-percent-width-strict-expected.png: Added.
  • platform/qt/fast/block/float/avoidance-percent-width-strict-expected.txt:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/004-expected.checksum: Added.
  • platform/qt/fast/block/margin-collapse/block-inside-inline/004-expected.png: Added.
  • platform/qt/fast/block/margin-collapse/block-inside-inline/004-expected.txt:
  • platform/qt/fast/block/margin-collapse/block-inside-inline/005-expected.checksum: Added.
  • platform/qt/fast/block/margin-collapse/block-inside-inline/005-expected.png: Added.
  • platform/qt/fast/block/margin-collapse/block-inside-inline/005-expected.txt:
  • platform/qt/fast/block/positioning/049-expected.checksum: Added.
  • platform/qt/fast/block/positioning/049-expected.png: Copied from LayoutTests/platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png.
  • platform/qt/fast/block/positioning/049-expected.txt:
  • platform/qt/fast/blockflow/block-level-images-expected.checksum:
  • platform/qt/fast/blockflow/block-level-images-expected.png:
  • platform/qt/fast/blockflow/block-level-images-expected.txt:
  • platform/qt/fast/blockflow/border-radius-clipping-vertical-lr-expected.checksum:
  • platform/qt/fast/blockflow/border-radius-clipping-vertical-lr-expected.png:
  • platform/qt/fast/blockflow/border-radius-clipping-vertical-lr-expected.txt:
  • platform/qt/fast/blockflow/box-shadow-vertical-lr-expected.checksum:
  • platform/qt/fast/blockflow/box-shadow-vertical-lr-expected.png:
  • platform/qt/fast/blockflow/box-shadow-vertical-lr-expected.txt:
  • platform/qt/fast/blockflow/box-shadow-vertical-rl-expected.checksum:
  • platform/qt/fast/blockflow/box-shadow-vertical-rl-expected.png:
  • platform/qt/fast/blockflow/box-shadow-vertical-rl-expected.txt:
  • platform/qt/fast/blockflow/floats-in-block-layout-expected.checksum:
  • platform/qt/fast/blockflow/floats-in-block-layout-expected.png:
  • platform/qt/fast/blockflow/floats-in-block-layout-expected.txt:
  • platform/qt/fast/box-shadow/basic-shadows-expected.checksum:
  • platform/qt/fast/box-shadow/basic-shadows-expected.png:
  • platform/qt/fast/box-shadow/basic-shadows-expected.txt:
  • platform/qt/fast/css/negative-leading-expected.png:
  • platform/qt/fast/css/negative-leading-expected.txt:
  • platform/qt/fast/dynamic/window-resize-scrollbars-test-expected.checksum: Added.
  • platform/qt/fast/dynamic/window-resize-scrollbars-test-expected.png: Added.
  • platform/qt/fast/dynamic/window-resize-scrollbars-test-expected.txt:
  • platform/qt/fast/flexbox/flex-hang-expected.checksum: Added.
  • platform/qt/fast/flexbox/flex-hang-expected.png: Copied from LayoutTests/platform/qt/fast/table/height-percent-test-vertical-expected.png.
  • platform/qt/fast/flexbox/flex-hang-expected.txt:
  • platform/qt/fast/frames/flattening/frameset-flattening-advanced-expected.checksum: Added.
  • platform/qt/fast/frames/flattening/frameset-flattening-advanced-expected.png: Added.
  • platform/qt/fast/frames/flattening/frameset-flattening-advanced-expected.txt:
  • platform/qt/fast/frames/flattening/frameset-flattening-grid-expected.checksum: Added.
  • platform/qt/fast/frames/flattening/frameset-flattening-grid-expected.png: Added.
  • platform/qt/fast/frames/flattening/frameset-flattening-grid-expected.txt:
  • platform/qt/fast/frames/flattening/frameset-flattening-simple-expected.checksum: Added.
  • platform/qt/fast/frames/flattening/frameset-flattening-simple-expected.png: Added.
  • platform/qt/fast/frames/flattening/frameset-flattening-simple-expected.txt:
  • platform/qt/fast/frames/flattening/frameset-flattening-subframe-resize-expected.checksum: Added.
  • platform/qt/fast/frames/flattening/frameset-flattening-subframe-resize-expected.png: Added.
  • platform/qt/fast/frames/flattening/frameset-flattening-subframe-resize-expected.txt:
  • platform/qt/fast/frames/flattening/frameset-flattening-subframesets-expected.checksum: Added.
  • platform/qt/fast/frames/flattening/frameset-flattening-subframesets-expected.png: Added.
  • platform/qt/fast/frames/flattening/frameset-flattening-subframesets-expected.txt:
  • platform/qt/fast/frames/frame-scrolling-attribute-expected.checksum: Added.
  • platform/qt/fast/frames/frame-scrolling-attribute-expected.png: Added.
  • platform/qt/fast/frames/frame-scrolling-attribute-expected.txt:
  • platform/qt/fast/frames/iframe-scrolling-attribute-expected.checksum: Added.
  • platform/qt/fast/frames/iframe-scrolling-attribute-expected.png: Added.
  • platform/qt/fast/frames/iframe-scrolling-attribute-expected.txt:
  • platform/qt/fast/images/gif-large-checkerboard-expected.checksum:
  • platform/qt/fast/images/gif-large-checkerboard-expected.png:
  • platform/qt/fast/images/gif-large-checkerboard-expected.txt:
  • platform/qt/fast/lists/001-vertical-expected.checksum:
  • platform/qt/fast/lists/001-vertical-expected.png:
  • platform/qt/fast/lists/001-vertical-expected.txt:
  • platform/qt/fast/lists/003-vertical-expected.checksum:
  • platform/qt/fast/lists/003-vertical-expected.png:
  • platform/qt/fast/lists/003-vertical-expected.txt:
  • platform/qt/fast/multicol/column-count-with-rules-expected.checksum:
  • platform/qt/fast/multicol/column-count-with-rules-expected.png:
  • platform/qt/fast/multicol/column-count-with-rules-expected.txt:
  • platform/qt/fast/multicol/float-paginate-complex-expected.checksum:
  • platform/qt/fast/multicol/float-paginate-complex-expected.png:
  • platform/qt/fast/multicol/float-paginate-complex-expected.txt:
  • platform/qt/fast/multicol/float-paginate-expected.checksum:
  • platform/qt/fast/multicol/float-paginate-expected.png:
  • platform/qt/fast/multicol/float-paginate-expected.txt:
  • platform/qt/fast/multicol/layers-in-multicol-expected.checksum:
  • platform/qt/fast/multicol/layers-in-multicol-expected.png:
  • platform/qt/fast/multicol/layers-in-multicol-expected.txt:
  • platform/qt/fast/multicol/nested-columns-expected.checksum:
  • platform/qt/fast/multicol/nested-columns-expected.png:
  • platform/qt/fast/multicol/nested-columns-expected.txt:
  • platform/qt/fast/multicol/paginate-block-replaced-expected.checksum:
  • platform/qt/fast/multicol/paginate-block-replaced-expected.png:
  • platform/qt/fast/multicol/paginate-block-replaced-expected.txt:
  • platform/qt/fast/multicol/positioned-with-constrained-height-expected.checksum: Added.
  • platform/qt/fast/multicol/positioned-with-constrained-height-expected.png: Added.
  • platform/qt/fast/multicol/positioned-with-constrained-height-expected.txt:
  • platform/qt/fast/multicol/span/anonymous-style-inheritance-expected.checksum:
  • platform/qt/fast/multicol/span/anonymous-style-inheritance-expected.png:
  • platform/qt/fast/multicol/span/anonymous-style-inheritance-expected.txt:
  • platform/qt/fast/multicol/span/span-margin-collapsing-expected.checksum:
  • platform/qt/fast/multicol/span/span-margin-collapsing-expected.png:
  • platform/qt/fast/multicol/span/span-margin-collapsing-expected.txt:
  • platform/qt/fast/multicol/table-vertical-align-expected.checksum:
  • platform/qt/fast/multicol/table-vertical-align-expected.png:
  • platform/qt/fast/multicol/table-vertical-align-expected.txt:
  • platform/qt/fast/repaint/content-into-overflow-expected.checksum: Added.
  • platform/qt/fast/repaint/content-into-overflow-expected.png: Copied from LayoutTests/platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png.
  • platform/qt/fast/repaint/content-into-overflow-expected.txt:
  • platform/qt/fast/repaint/overflow-into-content-expected.checksum: Added.
  • platform/qt/fast/repaint/overflow-into-content-expected.png: Copied from LayoutTests/platform/qt/fast/block/float/035-expected.png.
  • platform/qt/fast/repaint/overflow-into-content-expected.txt:
  • platform/qt/fast/table/border-collapsing/004-vertical-expected.checksum:
  • platform/qt/fast/table/border-collapsing/004-vertical-expected.png:
  • platform/qt/fast/table/border-collapsing/004-vertical-expected.txt:
  • platform/qt/fast/table/fixed-with-auto-with-colspan-vertical-expected.checksum:
  • platform/qt/fast/table/fixed-with-auto-with-colspan-vertical-expected.png:
  • platform/qt/fast/table/fixed-with-auto-with-colspan-vertical-expected.txt:
  • platform/qt/fast/table/height-percent-test-vertical-expected.checksum:
  • platform/qt/fast/table/height-percent-test-vertical-expected.png:
  • platform/qt/fast/table/height-percent-test-vertical-expected.txt:
  • platform/qt/fast/table/wide-colspan-expected.checksum: Added.
  • platform/qt/fast/table/wide-colspan-expected.png: Added.
  • platform/qt/fast/table/wide-colspan-expected.txt:
  • platform/qt/fast/table/wide-column-expected.checksum: Added.
  • platform/qt/fast/table/wide-column-expected.png: Copied from LayoutTests/platform/qt/fast/table/height-percent-test-vertical-expected.png.
  • platform/qt/fast/table/wide-column-expected.txt:
  • platform/qt/fast/text/text-letter-spacing-expected.checksum: Added.
  • platform/qt/fast/text/text-letter-spacing-expected.png: Added.
  • platform/qt/fast/text/text-letter-spacing-expected.txt:
  • platform/qt/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum:
  • platform/qt/scrollbars/custom-scrollbar-with-incomplete-style-expected.png:
  • platform/qt/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt:
  • platform/qt/svg/custom/text-xy-updates-SVGList-expected.checksum: Added.
  • platform/qt/svg/custom/text-xy-updates-SVGList-expected.png: Added.
  • platform/qt/svg/custom/text-xy-updates-SVGList-expected.txt:
  • platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.checksum:
  • platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png:
  • platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.txt:
  • platform/qt/svg/text/foreignObject-text-clipping-bug-expected.checksum:
  • platform/qt/svg/text/foreignObject-text-clipping-bug-expected.png:
  • platform/qt/svg/text/foreignObject-text-clipping-bug-expected.txt:
  • platform/qt/svg/zoom/page/zoom-hixie-mixed-009-expected.checksum: Added.
  • platform/qt/svg/zoom/page/zoom-hixie-mixed-009-expected.png: Added.
  • platform/qt/svg/zoom/page/zoom-hixie-mixed-009-expected.txt:
  • platform/qt/svg/zoom/text/zoom-hixie-mixed-009-expected.checksum:
  • platform/qt/svg/zoom/text/zoom-hixie-mixed-009-expected.png:
  • platform/qt/svg/zoom/text/zoom-hixie-mixed-009-expected.txt:
  • platform/qt/tables/mozilla/bugs/bug29314-expected.checksum: Added.
  • platform/qt/tables/mozilla/bugs/bug29314-expected.png: Added.
  • platform/qt/tables/mozilla/bugs/bug29314-expected.txt:
3:16 PM Changeset in webkit [73406] by zmo@google.com
  • 10 edits in trunk/WebCore

2010-12-03 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Postpone gl delete* calls until shaders/programs are no longer attached
https://bugs.webkit.org/show_bug.cgi?id=50501

  • html/canvas/WebGLBuffer.cpp: (WebCore::WebGLBuffer::deleteObjectImpl): Simply delete GL resource.
  • html/canvas/WebGLFramebuffer.cpp: (WebCore::WebGLFramebuffer::deleteObjectImpl): Ditto.
  • html/canvas/WebGLObject.cpp: (WebCore::WebGLObject::deleteObject): Tracking whether deleteObjectImpl should be called or not.
  • html/canvas/WebGLObject.h: (WebCore::WebGLObject::detachContext): Set attachmentCount to 0 to ensure OpenGL resource deletion. (WebCore::WebGLObject::onDetached): No need to track attachmentCount here as we track it in deleteObject. (WebCore::WebGLObject::isDeleted): Make this public.
  • html/canvas/WebGLProgram.cpp: (WebCore::WebGLProgram::deleteObjectImpl): Simply delete GL resource.
  • html/canvas/WebGLRenderbuffer.cpp: (WebCore::WebGLRenderbuffer::deleteObjectImpl): Ditto.
  • html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::getProgramParameter): intercept DELETE_STATUS. (WebCore::WebGLRenderingContext::getShaderParameter): Ditto.
  • html/canvas/WebGLShader.cpp: (WebCore::WebGLShader::deleteObjectImpl): Simply delete GL resource.
  • html/canvas/WebGLTexture.cpp: (WebCore::WebGLTexture::deleteObjectImpl): Simply delete GL resource.
3:14 PM Changeset in webkit [73405] by ggaren@apple.com
  • 2 edits in trunk/JavaScriptCore

reserveAndCommit doesn't commit on MADVISE_FREE_REUSE systems
https://bugs.webkit.org/show_bug.cgi?id=50588

Reviewed by Maciej Stachowiak.

  • wtf/OSAllocatorPosix.cpp:

(WTF::OSAllocator::reserve):
(WTF::OSAllocator::reserveAndCommit):
(WTF::OSAllocator::commit): Tightened up some comments. Changed
reserveAndCommit to actually commit on MADVISE_FREE_REUSE systems.

3:12 PM RebaselineServer edited by mihaip@chromium.org
(diff)
3:12 PM Changeset in webkit [73404] by rniwa@webkit.org
  • 1 edit
    4 deletes in trunk/LayoutTests

2010-12-06 Ryosuke Niwa <rniwa@webkit.org>

Unreviewed Leopard rebaseline for r73385. The actual results now match that of Snow Leopard.

  • platform/chromium-mac/fast/multicol/span/anonymous-style-inheritance-expected.txt Removed.
  • platform/mac-leopard/fast/multicol/span/anonymous-style-inheritance-expected.checksum: Removed.
  • platform/mac-leopard/fast/multicol/span/anonymous-style-inheritance-expected.png: Removed.
  • platform/mac-leopard/fast/multicol/span/anonymous-style-inheritance-expected.txt: Removed.
3:08 PM Changeset in webkit [73403] by victorw@chromium.org
  • 13 edits
    4 adds in trunk/LayoutTests

2010-12-06 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] update chromium mac test baselines affected by http://trac.webkit.org/changeset/73385

  • platform/chromium-mac/fast/forms/file-input-direction-expected.txt:
  • platform/chromium-mac/fast/images/gif-large-checkerboard-expected.txt: Added.
  • platform/chromium-mac/fast/layers/video-layer-expected.txt:
  • platform/chromium-mac/fast/multicol/span/anonymous-style-inheritance-expected.txt: Added.
  • platform/chromium-mac/fast/repaint/box-shadow-h-expected.checksum: Added.
  • platform/chromium-mac/fast/repaint/box-shadow-h-expected.png: Added.
  • platform/chromium-mac/media/audio-controls-rendering-expected.txt:
  • platform/chromium-mac/media/controls-after-reload-expected.txt:
  • platform/chromium-mac/media/controls-strict-expected.txt:
  • platform/chromium-mac/media/video-display-toggle-expected.txt:
  • platform/chromium-mac/media/video-empty-source-expected.txt:
  • platform/chromium-mac/media/video-no-audio-expected.txt:
  • platform/chromium-mac/media/video-volume-slider-expected.txt:
  • platform/chromium-mac/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum:
  • platform/chromium-mac/scrollbars/custom-scrollbar-with-incomplete-style-expected.png:
  • platform/chromium-mac/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt:
3:04 PM RebaselineServer edited by mihaip@chromium.org
(diff)
3:03 PM section-8.png attached to RebaselineServer by mihaip@chromium.org
3:02 PM RebaselineServer edited by mihaip@chromium.org
Rebaseline server: rest of UI walkthrough (diff)
2:54 PM Changeset in webkit [73402] by hyatt@apple.com
  • 1 edit in trunk/LayoutTests/http/tests/misc/acid3-expected.txt

Land updated results for acid3.

2:49 PM section-4.png attached to RebaselineServer by mihaip@chromium.org
2:48 PM RebaselineServer edited by mihaip@chromium.org
Rebaseline server: more UI walkthrough (diff)
2:41 PM overview.png attached to RebaselineServer by mihaip@chromium.org
2:40 PM RebaselineServer edited by mihaip@chromium.org
Rebaseline server: begin UI walkthrough (diff)
2:34 PM section-1.png attached to RebaselineServer by mihaip@chromium.org
2:32 PM Changeset in webkit [73401] by victorw@chromium.org
  • 294 edits
    10 adds
    9 deletes in trunk/LayoutTests

2010-12-06 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] update chromium layout test baselines affected by http://trac.webkit.org/changeset/73385

  • platform/chromium-linux/css2.1/t0905-c414-flt-02-c-expected.txt:
  • platform/chromium-linux/css2.1/t0905-c414-flt-03-c-expected.txt:
  • platform/chromium-linux/css2.1/t0905-c414-flt-04-c-expected.txt:
  • platform/chromium-linux/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt:
  • platform/chromium-linux/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt:
  • platform/chromium-linux/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt:
  • platform/chromium-linux/css2.1/t090501-c414-flt-03-b-g-expected.txt:
  • platform/chromium-linux/css2.1/t1202-counters-09-b-expected.txt:
  • platform/chromium-linux/fast/block/positioning/047-expected.txt:
  • platform/chromium-linux/fast/forms/file-input-direction-expected.txt:
  • platform/chromium-linux/fast/lists/001-expected.checksum: Added.
  • platform/chromium-linux/fast/lists/001-expected.png: Added.
  • platform/chromium-linux/fast/lists/001-vertical-expected.txt: Removed.
  • platform/chromium-linux/fast/lists/003-vertical-expected.txt: Removed.
  • platform/chromium-linux/fast/multicol/float-multicol-expected.txt: Removed.
  • platform/chromium-linux/fast/multicol/float-paginate-complex-expected.txt: Removed.
  • platform/chromium-linux/fast/multicol/float-paginate-expected.txt: Removed.
  • platform/chromium-linux/fast/multicol/layers-in-multicol-expected.txt: Removed.
  • platform/chromium-linux/fast/multicol/paginate-block-replaced-expected.txt: Removed.
  • platform/chromium-linux/fast/multicol/table-vertical-align-expected.txt: Removed.
  • platform/chromium-linux/fast/overflow/image-selection-highlight-expected.checksum:
  • platform/chromium-linux/fast/overflow/image-selection-highlight-expected.png:
  • platform/chromium-linux/fast/overflow/infiniteRecursionGuard-expected.checksum:
  • platform/chromium-linux/fast/overflow/infiniteRecursionGuard-expected.png:
  • platform/chromium-linux/fast/overflow/overflow-float-stacking-expected.txt: Added.
  • platform/chromium-linux/fast/overflow/overflow-rtl-vertical-expected.checksum: Added.
  • platform/chromium-linux/fast/overflow/overflow-rtl-vertical-expected.png: Added.
  • platform/chromium-linux/fast/overflow/overflow-with-local-background-attachment-expected.checksum:
  • platform/chromium-linux/fast/overflow/overflow-with-local-background-attachment-expected.png:
  • platform/chromium-linux/fast/repaint/box-shadow-h-expected.checksum:
  • platform/chromium-linux/fast/repaint/box-shadow-h-expected.png:
  • platform/chromium-linux/fast/repaint/box-shadow-v-expected.checksum:
  • platform/chromium-linux/fast/repaint/box-shadow-v-expected.png:
  • platform/chromium-linux/fast/repaint/text-selection-rect-in-overflow-2-expected.checksum:
  • platform/chromium-linux/fast/repaint/text-selection-rect-in-overflow-2-expected.png:
  • platform/chromium-linux/fast/repaint/text-selection-rect-in-overflow-expected.checksum:
  • platform/chromium-linux/fast/repaint/text-selection-rect-in-overflow-expected.png:
  • platform/chromium-linux/fast/replaced/border-radius-clip-expected.checksum:
  • platform/chromium-linux/fast/replaced/border-radius-clip-expected.png:
  • platform/chromium-linux/fast/text/international/thai-line-breaks-expected.checksum:
  • platform/chromium-linux/fast/text/international/thai-line-breaks-expected.png:
  • platform/chromium-linux/fast/text/international/thai-line-breaks-expected.txt:
  • platform/chromium-linux/fast/text/letter-spacing-negative-opacity-expected.txt:
  • platform/chromium-linux/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum:
  • platform/chromium-linux/scrollbars/custom-scrollbar-with-incomplete-style-expected.png:
  • platform/chromium-linux/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt: Removed.
  • platform/chromium-linux/tables/mozilla/bugs/bug96334-expected.txt:
  • platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug2479-5-expected.checksum:
  • platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png:
  • platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
  • platform/chromium-win/css1/box_properties/margin-expected.txt:
  • platform/chromium-win/css1/box_properties/margin_right-expected.txt:
  • platform/chromium-win/css1/classification/white_space-expected.txt:
  • platform/chromium-win/css1/color_and_background/background_attachment-expected.txt:
  • platform/chromium-win/css1/color_and_background/background_repeat-expected.txt:
  • platform/chromium-win/css2.1/t0803-c5502-mrgn-r-02-c-expected.txt:
  • platform/chromium-win/css2.1/t0803-c5505-mrgn-02-c-expected.txt:
  • platform/chromium-win/css2.1/t0804-c5508-ipadn-b-02-b-a-expected.txt:
  • platform/chromium-win/css2.1/t0905-c414-flt-00-d-expected.txt:
  • platform/chromium-win/css2.1/t0905-c414-flt-01-d-g-expected.txt:
  • platform/chromium-win/css2.1/t0905-c414-flt-02-c-expected.txt:
  • platform/chromium-win/css2.1/t0905-c414-flt-03-c-expected.txt:
  • platform/chromium-win/css2.1/t0905-c414-flt-04-c-expected.txt:
  • platform/chromium-win/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt:
  • platform/chromium-win/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt:
  • platform/chromium-win/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt:
  • platform/chromium-win/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt:
  • platform/chromium-win/css2.1/t090501-c414-flt-02-d-g-expected.txt:
  • platform/chromium-win/css2.1/t090501-c414-flt-03-b-g-expected.txt:
  • platform/chromium-win/css2.1/t1202-counters-08-b-expected.txt:
  • platform/chromium-win/css2.1/t1202-counters-09-b-expected.txt:
  • platform/chromium-win/editing/deleting/delete-after-span-ws-001-expected.txt:
  • platform/chromium-win/editing/deleting/delete-after-span-ws-002-expected.txt:
  • platform/chromium-win/editing/deleting/delete-after-span-ws-003-expected.txt:
  • platform/chromium-win/editing/deleting/delete-line-end-ws-001-expected.txt:
  • platform/chromium-win/editing/deleting/delete-line-end-ws-002-expected.txt:
  • platform/chromium-win/editing/selection/focus_editable_html-expected.txt:
  • platform/chromium-win/editing/selection/select-all-001-expected.txt:
  • platform/chromium-win/editing/selection/select-all-002-expected.txt:
  • platform/chromium-win/editing/selection/select-all-003-expected.txt:
  • platform/chromium-win/editing/selection/select-all-004-expected.txt:
  • platform/chromium-win/editing/selection/unrendered-001-expected.txt:
  • platform/chromium-win/editing/selection/unrendered-002-expected.txt:
  • platform/chromium-win/editing/selection/unrendered-003-expected.txt:
  • platform/chromium-win/editing/selection/unrendered-004-expected.txt:
  • platform/chromium-win/editing/selection/unrendered-005-expected.txt:
  • platform/chromium-win/fast/backgrounds/repeat/negative-offset-repeat-expected.txt:
  • platform/chromium-win/fast/backgrounds/size/backgroundSize15-expected.txt:
  • platform/chromium-win/fast/block/basic/010-expected.txt:
  • platform/chromium-win/fast/block/float/013-expected.txt:
  • platform/chromium-win/fast/block/float/021-expected.txt:
  • platform/chromium-win/fast/block/float/029-expected.txt:
  • platform/chromium-win/fast/block/float/031-expected.txt:
  • platform/chromium-win/fast/block/float/avoidance-percent-width-strict-expected.txt:
  • platform/chromium-win/fast/block/float/clamped-right-float-expected.txt:
  • platform/chromium-win/fast/block/float/float-in-float-painting-expected.txt:
  • platform/chromium-win/fast/block/float/nested-clearance-expected.txt:
  • platform/chromium-win/fast/block/margin-collapse/004-expected.txt:
  • platform/chromium-win/fast/block/margin-collapse/062-expected.txt:
  • platform/chromium-win/fast/block/margin-collapse/063-expected.txt:
  • platform/chromium-win/fast/block/margin-collapse/104-expected.txt:
  • platform/chromium-win/fast/block/margin-collapse/block-inside-inline/004-expected.txt:
  • platform/chromium-win/fast/block/margin-collapse/block-inside-inline/005-expected.txt:
  • platform/chromium-win/fast/block/positioning/002-expected.txt:
  • platform/chromium-win/fast/block/positioning/047-expected.txt:
  • platform/chromium-win/fast/block/positioning/051-expected.txt:
  • platform/chromium-win/fast/block/positioning/061-expected.txt:
  • platform/chromium-win/fast/block/positioning/auto-height-with-top-and-bottom-expected.txt:
  • platform/chromium-win/fast/blockflow/border-radius-clipping-vertical-lr-expected.txt:
  • platform/chromium-win/fast/blockflow/box-shadow-vertical-lr-expected.txt:
  • platform/chromium-win/fast/blockflow/box-shadow-vertical-rl-expected.txt:
  • platform/chromium-win/fast/body-propagation/background-color/002-expected.txt:
  • platform/chromium-win/fast/body-propagation/background-color/002-xhtml-expected.txt:
  • platform/chromium-win/fast/body-propagation/background-image/002-expected.txt:
  • platform/chromium-win/fast/body-propagation/background-image/002-xhtml-expected.txt:
  • platform/chromium-win/fast/body-propagation/overflow/001-expected.txt:
  • platform/chromium-win/fast/body-propagation/overflow/001-xhtml-expected.txt:
  • platform/chromium-win/fast/body-propagation/overflow/005-declarative-expected.txt:
  • platform/chromium-win/fast/body-propagation/overflow/005-expected.txt:
  • platform/chromium-win/fast/body-propagation/overflow/005-xhtml-expected.txt:
  • platform/chromium-win/fast/box-shadow/basic-shadows-expected.txt:
  • platform/chromium-win/fast/box-sizing/box-sizing-expected.txt:
  • platform/chromium-win/fast/clip/008-expected.txt:
  • platform/chromium-win/fast/clip/009-expected.txt:
  • platform/chromium-win/fast/clip/010-expected.txt:
  • platform/chromium-win/fast/clip/011-expected.txt:
  • platform/chromium-win/fast/clip/012-expected.txt:
  • platform/chromium-win/fast/compact/001-expected.txt:
  • platform/chromium-win/fast/css/MarqueeLayoutTest-expected.txt:
  • platform/chromium-win/fast/css/negative-leading-expected.txt:
  • platform/chromium-win/fast/css/percentage-non-integer-expected.txt:
  • platform/chromium-win/fast/css/word-space-extra-expected.txt:
  • platform/chromium-win/fast/dom/clone-node-dynamic-style-expected.txt:
  • platform/chromium-win/fast/dynamic/window-resize-scrollbars-test-expected.txt:
  • platform/chromium-win/fast/events/focusingUnloadedFrame-expected.txt:
  • platform/chromium-win/fast/flexbox/009-expected.txt:
  • platform/chromium-win/fast/flexbox/016-expected.txt:
  • platform/chromium-win/fast/forms/basic-textareas-quirks-expected.txt:
  • platform/chromium-win/fast/forms/file-input-direction-expected.txt:
  • platform/chromium-win/fast/forms/floating-textfield-relayout-expected.txt:
  • platform/chromium-win/fast/forms/textfield-overflow-expected.txt:
  • platform/chromium-win/fast/frames/frame-scrolling-attribute-expected.txt:
  • platform/chromium-win/fast/frames/iframe-scrolling-attribute-expected.txt:
  • platform/chromium-win/fast/frames/inline-object-inside-frameset-expected.txt:
  • platform/chromium-win/fast/images/gif-large-checkerboard-expected.txt: Added.
  • platform/chromium-win/fast/inline-block/inline-block-vertical-align-expected.txt:
  • platform/chromium-win/fast/inline-block/tricky-baseline-expected.txt:
  • platform/chromium-win/fast/inline/long-wrapped-line-expected.txt:
  • platform/chromium-win/fast/layers/layer-visibility-expected.txt:
  • platform/chromium-win/fast/layers/layer-visibility-sublayer-expected.txt:
  • platform/chromium-win/fast/layers/overflow-scroll-auto-switch-expected.txt:
  • platform/chromium-win/fast/layers/video-layer-expected.txt:
  • platform/chromium-win/fast/lists/001-expected.txt:
  • platform/chromium-win/fast/lists/001-vertical-expected.txt:
  • platform/chromium-win/fast/lists/003-expected.txt:
  • platform/chromium-win/fast/lists/003-vertical-expected.txt:
  • platform/chromium-win/fast/lists/li-br-expected.txt:
  • platform/chromium-win/fast/media/mq-relative-constraints-02-expected.txt:
  • platform/chromium-win/fast/media/mq-relative-constraints-03-expected.txt:
  • platform/chromium-win/fast/media/mq-relative-constraints-04-expected.txt:
  • platform/chromium-win/fast/media/mq-relative-constraints-05-expected.txt:
  • platform/chromium-win/fast/media/mq-relative-constraints-06-expected.txt:
  • platform/chromium-win/fast/media/mq-relative-constraints-07-expected.txt:
  • platform/chromium-win/fast/media/mq-relative-constraints-08-expected.txt:
  • platform/chromium-win/fast/media/mq-relative-constraints-09-expected.txt:
  • platform/chromium-win/fast/media/mq-width-absolute-01-expected.txt:
  • platform/chromium-win/fast/media/mq-width-absolute-02-expected.txt:
  • platform/chromium-win/fast/media/mq-width-absolute-03-expected.txt:
  • platform/chromium-win/fast/media/mq-width-absolute-04-expected.txt:
  • platform/chromium-win/fast/multicol/float-multicol-expected.txt:
  • platform/chromium-win/fast/multicol/float-paginate-complex-expected.txt:
  • platform/chromium-win/fast/multicol/float-paginate-expected.txt:
  • platform/chromium-win/fast/multicol/layers-in-multicol-expected.txt:
  • platform/chromium-win/fast/multicol/nested-columns-expected.txt:
  • platform/chromium-win/fast/multicol/paginate-block-replaced-expected.txt:
  • platform/chromium-win/fast/multicol/positioned-with-constrained-height-expected.txt:
  • platform/chromium-win/fast/multicol/span/anonymous-style-inheritance-expected.txt:
  • platform/chromium-win/fast/multicol/table-vertical-align-expected.txt:
  • platform/chromium-win/fast/overflow/002-expected.txt:
  • platform/chromium-win/fast/overflow/006-expected.txt:
  • platform/chromium-win/fast/overflow/dynamic-hidden-expected.txt:
  • platform/chromium-win/fast/overflow/float-in-relpositioned-expected.txt:
  • platform/chromium-win/fast/overflow/image-selection-highlight-expected.checksum:
  • platform/chromium-win/fast/overflow/image-selection-highlight-expected.png:
  • platform/chromium-win/fast/overflow/image-selection-highlight-expected.txt:
  • platform/chromium-win/fast/overflow/infiniteRecursionGuard-expected.checksum:
  • platform/chromium-win/fast/overflow/infiniteRecursionGuard-expected.png:
  • platform/chromium-win/fast/overflow/infiniteRecursionGuard-expected.txt:
  • platform/chromium-win/fast/overflow/overflow-auto-table-expected.txt:
  • platform/chromium-win/fast/overflow/overflow-focus-ring-expected.txt:
  • platform/chromium-win/fast/overflow/overflow-rtl-vertical-expected.checksum: Added.
  • platform/chromium-win/fast/overflow/overflow-rtl-vertical-expected.png: Added.
  • platform/chromium-win/fast/overflow/overflow-rtl-vertical-expected.txt: Added.
  • platform/chromium-win/fast/overflow/overflow-stacking-expected.txt:
  • platform/chromium-win/fast/overflow/overflow-with-local-background-attachment-expected.txt:
  • platform/chromium-win/fast/overflow/overflow-x-y-expected.txt:
  • platform/chromium-win/fast/overflow/scrollRevealButton-expected.txt:
  • platform/chromium-win/fast/reflections/reflection-direction-expected.txt:
  • platform/chromium-win/fast/repaint/box-shadow-h-expected.checksum:
  • platform/chromium-win/fast/repaint/box-shadow-h-expected.png:
  • platform/chromium-win/fast/repaint/box-shadow-h-expected.txt:
  • platform/chromium-win/fast/repaint/box-shadow-v-expected.checksum:
  • platform/chromium-win/fast/repaint/box-shadow-v-expected.png:
  • platform/chromium-win/fast/repaint/box-shadow-v-expected.txt:
  • platform/chromium-win/fast/repaint/dynamic-table-vertical-alignment-change-expected.txt:
  • platform/chromium-win/fast/repaint/float-overflow-expected.txt:
  • platform/chromium-win/fast/repaint/float-overflow-right-expected.txt:
  • platform/chromium-win/fast/repaint/overflow-scroll-body-appear-expected.txt:
  • platform/chromium-win/fast/repaint/overflow-scroll-delete-expected.checksum:
  • platform/chromium-win/fast/repaint/overflow-scroll-delete-expected.png:
  • platform/chromium-win/fast/repaint/overflow-scroll-delete-expected.txt:
  • platform/chromium-win/fast/repaint/text-selection-rect-in-overflow-2-expected.checksum:
  • platform/chromium-win/fast/repaint/text-selection-rect-in-overflow-2-expected.png:
  • platform/chromium-win/fast/repaint/text-selection-rect-in-overflow-2-expected.txt:
  • platform/chromium-win/fast/repaint/text-selection-rect-in-overflow-expected.checksum:
  • platform/chromium-win/fast/repaint/text-selection-rect-in-overflow-expected.png:
  • platform/chromium-win/fast/repaint/text-selection-rect-in-overflow-expected.txt:
  • platform/chromium-win/fast/repaint/transform-absolute-in-positioned-container-expected.txt:
  • platform/chromium-win/fast/replaced/004-expected.txt:
  • platform/chromium-win/fast/replaced/border-radius-clip-expected.checksum:
  • platform/chromium-win/fast/replaced/border-radius-clip-expected.png:
  • platform/chromium-win/fast/replaced/border-radius-clip-expected.txt:
  • platform/chromium-win/fast/table/034-expected.txt:
  • platform/chromium-win/fast/table/border-collapsing/004-vertical-expected.txt:
  • platform/chromium-win/fast/table/colspanMinWidth-vertical-expected.txt:
  • platform/chromium-win/fast/table/frame-and-rules-expected.txt:
  • platform/chromium-win/fast/table/overflowHidden-expected.txt:
  • platform/chromium-win/fast/text/international/thai-line-breaks-expected.txt:
  • platform/chromium-win/fast/text/large-text-composed-char-expected.txt:
  • platform/chromium-win/fast/text/letter-spacing-negative-opacity-expected.txt:
  • platform/chromium-win/fast/text/text-letter-spacing-expected.txt:
  • platform/chromium-win/fast/text/whitespace/012-expected.txt:
  • platform/chromium-win/media/audio-controls-rendering-expected.txt:
  • platform/chromium-win/media/controls-after-reload-expected.txt:
  • platform/chromium-win/media/controls-strict-expected.txt:
  • platform/chromium-win/media/video-controls-rendering-expected.txt:
  • platform/chromium-win/media/video-display-toggle-expected.txt:
  • platform/chromium-win/media/video-empty-source-expected.txt:
  • platform/chromium-win/media/video-no-audio-expected.txt:
  • platform/chromium-win/media/video-volume-slider-expected.txt:
  • platform/chromium-win/scrollbars/basic-scrollbar-expected.txt:
  • platform/chromium-win/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum:
  • platform/chromium-win/scrollbars/custom-scrollbar-with-incomplete-style-expected.png:
  • platform/chromium-win/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt:
  • platform/chromium-win/scrollbars/disabled-scrollbar-expected.txt:
  • platform/chromium-win/scrollbars/scrollbar-buttons-expected.txt:
  • platform/chromium-win/scrollbars/scrollbar-orientation-expected.txt:
  • platform/chromium-win/svg/custom/altglyph-expected.txt:
  • platform/chromium-win/svg/custom/getscreenctm-in-mixed-content-expected.txt:
  • platform/chromium-win/svg/custom/getscreenctm-in-scrollable-div-area-expected.txt:
  • platform/chromium-win/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.txt:
  • platform/chromium-win/svg/custom/invisible-text-after-scrolling-expected.txt:
  • platform/chromium-win/svg/custom/path-bad-data-expected.txt:
  • platform/chromium-win/svg/custom/scroll-hit-test-expected.txt: Added.
  • platform/chromium-win/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
  • platform/chromium-win/svg/custom/svg-fonts-in-html-expected.txt:
  • platform/chromium-win/svg/custom/text-xy-updates-SVGList-expected.txt:
  • platform/chromium-win/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.txt:
  • platform/chromium-win/svg/text/foreignObject-text-clipping-bug-expected.txt:
  • platform/chromium-win/svg/text/kerning-expected.txt:
  • platform/chromium-win/svg/text/multichar-glyph-expected.txt:
  • platform/chromium-win/svg/transforms/animated-path-inside-transformed-html-expected.txt:
  • platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt:
  • platform/chromium-win/svg/zoom/text/zoom-hixie-mixed-009-expected.txt:
  • platform/chromium-win/tables/mozilla/bugs/bug120364-expected.txt:
  • platform/chromium-win/tables/mozilla/bugs/bug131020-expected.txt:
  • platform/chromium-win/tables/mozilla/bugs/bug23151-expected.txt:
  • platform/chromium-win/tables/mozilla/bugs/bug43039-expected.txt:
  • platform/chromium-win/tables/mozilla/bugs/bug43854-1-expected.txt:
  • platform/chromium-win/tables/mozilla/bugs/bug45055-2-expected.txt:
  • platform/chromium-win/tables/mozilla/bugs/bug5797-expected.txt:
  • platform/chromium-win/tables/mozilla/bugs/bug625-expected.txt:
  • platform/chromium-win/tables/mozilla/bugs/bug72359-expected.txt:
  • platform/chromium-win/tables/mozilla/bugs/bug83786-expected.txt:
  • platform/chromium-win/tables/mozilla/bugs/bug92143-expected.txt:
  • platform/chromium-win/tables/mozilla/bugs/bug96334-expected.txt:
  • platform/chromium-win/tables/mozilla/core/nested1-expected.txt:
  • platform/chromium-win/tables/mozilla/marvin/backgr_index-expected.txt:
  • platform/chromium-win/tables/mozilla/marvin/x_table_align_left-expected.txt:
  • platform/chromium-win/tables/mozilla/marvin/x_table_align_right-expected.txt:
  • platform/chromium-win/tables/mozilla/marvin/x_td_nowrap-expected.txt:
  • platform/chromium-win/tables/mozilla/marvin/x_th_nowrap-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/bugs/bug220653-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/bugs/bug2479-5-expected.checksum:
  • platform/chromium-win/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png:
  • platform/chromium-win/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/bugs/bug67915-2-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_caption-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_caption_bottom-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_caption_left-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_caption_right-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_caption_top-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_row-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_table-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_tbody-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell_sibling-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row_sibling-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table_caption-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody_sibling-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_td_align_right-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_bottom-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_middle-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_top-expected.txt:
  • platform/chromium-win/transforms/svg-vs-css-expected.txt:
2:10 PM RebaselineServer edited by mihaip@chromium.org
Rebaseline server: more code descriptions (diff)
2:02 PM Changeset in webkit [73400] by xji@chromium.org
  • 15 edits
    12 copies in branches/chromium/597

Merge 72852 - 2010-11-29 Jeremy Moskovich <jeremy@chromium.org>

Reviewed by David Hyatt.

Right-to-left pages should be scrollable to reveal left overflow.
https://bugs.webkit.org/show_bug.cgi?id=23556

Set and get the original x-axis scroll position and reset scroll position on HOME/END key press.
Modify WebFrameView to support setting the initial horizontal scroller's thumb position to the right for
pages with a left overflow.

  • WebView/WebDynamicScrollBarsView.h:
  • WebView/WebDynamicScrollBarsView.mm: (-[WebDynamicScrollBarsView inProgramaticScroll]): (-[WebDynamicScrollBarsView refreshInitialScrollbarPosition]): (-[WebDynamicScrollBarsView updateScrollers]): (-[WebDynamicScrollBarsView reflectScrolledClipView:]): (-[WebDynamicScrollBarsView setScrollOriginX:]): (-[WebDynamicScrollBarsView scrollOriginX]):
  • WebView/WebFrameView.mm: (-[WebFrameView _scrollToBeginningOfDocument]): (-[WebFrameView _scrollToEndOfDocument]):
  • WebView/WebHTMLView.mm: (-[WebHTMLView _frameOrBoundsChanged]):

2010-11-29 Xiaomei Ji <xji@chromium.org>

Reviewed by David Hyatt.

Right-to-left pages should be scrollable to reveal left overflow.
https://bugs.webkit.org/show_bug.cgi?id=23556

For RTL page, save left layout overflow and include it into the document
size during layout. Use the left layout overflow when scroll and paint
the page. Behavior on LTR page should be untouched since left layout
overflow is set as 0 for LTR page.

Tests: fast/dom/horizontal-scrollbar-in-rtl-doesnt-fire-onscroll.html

fast/dom/horizontal-scrollbar-in-rtl.html
fast/dom/horizontal-scrollbar-when-dir-change.html
fast/dom/left-overflow-in-ltr.html
fast/dom/right-overflow-in-rtl.html

  • page/FrameView.cpp: (WebCore::FrameView::adjustViewSize): Save negative of left layout overflow as scroll X origin. And includes left layout overflow into document size.
  • page/mac/WebCoreFrameView.h: Add methods for setting and getting scroll X origin.
  • platform/ScrollView.cpp: (WebCore::ScrollView::ScrollView): (WebCore::ScrollView::maximumScrollPosition): Minus scroll X origin from maximum horizontal scroll position. (WebCore::ScrollView::minimumScrollPosition): (WebCore::ScrollView::adjustScrollPositionWithinRange): (WebCore::ScrollView::valueChanged): (WebCore::ScrollView::setScrollPosition): (WebCore::ScrollView::updateScrollbars): (WebCore::ScrollView::wheelEvent):
  • platform/ScrollView.h:
  • platform/mac/ScrollViewMac.mm: (WebCore::ScrollView::platformSetContentsSize): (WebCore::ScrollView::platformSetScrollPosition): (WebCore::ScrollView::platformSetScrollOriginX):
  • rendering/RenderBox.cpp: (WebCore::RenderBox::styleDidChange): (WebCore::RenderBox::paintRootBoxDecorations): Include left layout overflow into canvas size.
  • rendering/RenderView.cpp: (WebCore::RenderView::layout): Save left layout overflow. (WebCore::RenderView::docLeft): (WebCore::RenderView::docWidth): Include left layout overflow into doc width for RTL page.
  • rendering/RenderView.h:

2010-11-29 Xiaomei Ji <xji@chromium.org>

Reviewed by David Hyatt.

Right-to-left pages should be scrollable to reveal left overflow.
https://bugs.webkit.org/show_bug.cgi?id=23556

For RTL page, save left layout overflow and include it into the document
size during layout. Use the left layout overflow when scroll and paint
the page. Behavior on LTR page should be untouched since left layout
overflow is set as 0 for LTR page.

  • fast/dom/horizontal-scrollbar-in-rtl-doesnt-fire-onscroll-expected.txt: Added.
  • fast/dom/horizontal-scrollbar-in-rtl-doesnt-fire-onscroll.html: Added.
  • fast/dom/horizontal-scrollbar-in-rtl.html: Added.
  • fast/dom/horizontal-scrollbar-when-dir-change.html: Added.
  • fast/dom/left-overflow-in-ltr.html: Added.
  • fast/dom/right-overflow-in-rtl.html: Added.
  • platform/chromium/fast/dom/horizontal-scrollbar-in-rtl-expected.txt: Added.
  • platform/chromium/fast/dom/horizontal-scrollbar-when-dir-change-expected.txt: Added.
  • platform/mac/fast/block/basic/truncation-rtl-expected.checksum:
  • platform/mac/fast/block/basic/truncation-rtl-expected.txt:
  • platform/mac/fast/dom/horizontal-scrollbar-in-rtl-expected.txt: Added.
  • platform/mac/fast/dom/horizontal-scrollbar-when-dir-change-expected.txt: Added.
  • platform/mac/fast/dom/left-overflow-in-ltr-expected.txt: Added.
  • platform/mac/fast/dom/right-overflow-in-rtl-expected.txt: Added.
  • fast/dom/horizontal-scrollbar-in-rtl-doesnt-fire-onscroll-expected.txt: Added.
  • fast/dom/horizontal-scrollbar-in-rtl-doesnt-fire-onscroll.html: Added.
  • fast/dom/horizontal-scrollbar-in-rtl.html: Added.
  • fast/dom/horizontal-scrollbar-when-dir-change.html: Added.
  • fast/dom/left-overflow-in-ltr.html: Added.
  • fast/dom/right-overflow-in-rtl.html: Added.
  • platform/chromium/fast/dom/horizontal-scrollbar-in-rtl-expected.txt: Added.
  • platform/chromium/fast/dom/horizontal-scrollbar-when-dir-change-expected.txt: Added.
  • platform/mac/fast/block/basic/truncation-rtl-expected.checksum:
  • platform/mac/fast/block/basic/truncation-rtl-expected.txt:
  • platform/mac/fast/dom/horizontal-scrollbar-in-rtl-expected.txt: Added.
  • platform/mac/fast/dom/horizontal-scrollbar-when-dir-change-expected.txt: Added.
  • platform/mac/fast/dom/left-overflow-in-ltr-expected.txt: Added.
  • platform/mac/fast/dom/right-overflow-in-rtl-expected.txt: Added.

TBR=xji@chromium.org

2:01 PM Changeset in webkit [73399] by rniwa@webkit.org
  • 3 edits in trunk/WebCore

2010-12-06 Ryosuke Niwa <rniwa@webkit.org>

Yet unreviewed another Leopard build fix for r73380.

  • platform/graphics/ca/mac/PlatformCAAnimationMac.mm: (PlatformCAAnimation::setKeyTimes):
  • platform/graphics/ca/mac/PlatformCALayerMac.mm: (PlatformCALayer::platformCALayer):
1:58 PM RebaselineServer created by mihaip@chromium.org
Initial rebaseline server wiki page.
1:57 PM Changeset in webkit [73398] by aestes@apple.com
  • 3 edits
    4 adds in trunk

2010-12-06 Andy Estes <aestes@apple.com>

Reviewed by Darin Adler.

Marquee elements do not stop animating when scrollAmount is set to 0.
https://bugs.webkit.org/show_bug.cgi?id=50434

Test: fast/html/marquee-scrollamount.html

  • rendering/RenderMarquee.cpp: (WebCore::RenderMarquee::timerFired): Allow increment to be 0.

2010-12-06 Andy Estes <aestes@apple.com>

Reviewed by Darin Adler.

Marquee elements do not stop animating when scrollAmount is set to 0.
https://bugs.webkit.org/show_bug.cgi?id=50434

  • fast/html/marquee-scrollamount.html: Added.
  • platform/mac/fast/html/marquee-scrollamount-expected.checksum: Added.
  • platform/mac/fast/html/marquee-scrollamount-expected.png: Added.
  • platform/mac/fast/html/marquee-scrollamount-expected.txt: Added.
1:52 PM Changeset in webkit [73397] by rniwa@webkit.org
  • 3 edits in trunk/WebCore

2010-12-06 Ryosuke Niwa <rniwa@webkit.org>

Unreviewed Leopard buildfix for r73380.

  • platform/graphics/ca/mac/PlatformCAAnimationMac.mm: (PlatformCAAnimation::setTimingFunctions):
  • platform/graphics/ca/mac/PlatformCALayerMac.mm: (PlatformCALayer::PlatformCALayer):
1:37 PM Changeset in webkit [73396] by Philippe Normand
  • 2 edits in trunk/WebCore

2010-12-06 Philippe Normand <pnormand@igalia.com>

Reviewed by Martin Robinson.

[GStreamer] use ResourceHandle::setDefersLoading in WebKitWebSourceGStreamer
https://bugs.webkit.org/show_bug.cgi?id=44157

  • platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: (webKitWebSrcNeedDataMainCb): (webKitWebSrcEnoughDataMainCb): Replaced platform-specific code with cross-platform ResourceHandle::setDefersLoading calls.
1:30 PM WikiStart edited by mihaip@chromium.org
(diff)
1:27 PM Changeset in webkit [73395] by rniwa@webkit.org
  • 2 edits in trunk/WebCore

2010-12-06 Ryosuke Niwa <rniwa@webkit.org>

Unreviewed Leopard build fix for r73388.

  • accessibility/AccessibilitySlider.cpp: (WebCore::AccessibilitySlider::maxValueForRange): (WebCore::AccessibilitySlider::minValueForRange):
1:25 PM WikiStart edited by mihaip@chromium.org
Group layout test-related wiki pages. (diff)
1:19 PM Changeset in webkit [73394] by rniwa@webkit.org
  • 2 edits in trunk/WebCore

2010-12-06 Ryosuke Niwa <rniwa@webkit.org>

Unreviewed build fix for Leopard after r73379.

  • platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::setAllowsFontSmoothing):
1:15 PM Changeset in webkit [73393] by mrowe@apple.com
  • 2 edits in trunk/WebKit2

Build fix.

  • WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:

(WebKit::NetscapePlugin::platformHandleKeyboardEvent): Wrap Carbon-specific code in #ifndef NP_NO_CARBON.

1:11 PM Changeset in webkit [73392] by Nate Chapin
  • 37 edits in trunk

2010-12-06 Nate Chapin <Nate Chapin>

Reviewed by Adam Barth.

Make DocumentWriter a member of DocumentLoader
instead of FrameLoader.
https://bugs.webkit.org/show_bug.cgi?id=50489

Refactor, no new tests.

  • bindings/ScriptControllerBase.cpp: (WebCore::ScriptController::executeIfJavaScriptURL):
  • dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::close): (WebCore::Document::lastModified): (WebCore::Document::finishedParsing): (WebCore::Document::initSecurityContext): (WebCore::Document::updateURLForPushOrReplaceState):
  • dom/Document.h: (WebCore::Document::setDocumentLoader): (WebCore::Document::loader):
  • dom/ProcessingInstruction.cpp: (WebCore::ProcessingInstruction::checkStyleSheet):
  • dom/ScriptElement.cpp: (WebCore::ScriptElement::scriptCharset):
  • html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::process):
  • html/MediaDocument.cpp: (WebCore::MediaDocument::replaceMediaElementTimerFired):
  • html/PluginDocument.cpp: (WebCore::PluginDocumentParser::createDocumentStructure):
  • loader/DocumentLoader.cpp: (WebCore::DocumentLoader::DocumentLoader): (WebCore::DocumentLoader::finishedLoading): (WebCore::DocumentLoader::commitData): (WebCore::DocumentLoader::setupForReplaceByMIMEType): (WebCore::DocumentLoader::setFrame):
  • loader/DocumentLoader.h: (WebCore::DocumentLoader::writer):
  • loader/DocumentWriter.h: (WebCore::DocumentWriter::setFrame):
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::FrameLoader): (WebCore::FrameLoader::init): (WebCore::FrameLoader::clear): (WebCore::FrameLoader::receivedFirstData): (WebCore::FrameLoader::transitionToCommitted): (WebCore::FrameLoader::open): (WebCore::FrameLoader::finishedLoadingDocument): (WebCore::FrameLoader::addExtraFieldsToRequest):
  • loader/FrameLoader.h: (WebCore::FrameLoader::notifier):
  • loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::requestPreload):
  • platform/network/FormDataBuilder.cpp: (WebCore::FormDataBuilder::encodingFromAcceptCharset):
  • svg/graphics/SVGImage.cpp: (WebCore::SVGImage::dataChanged):
12:58 PM Changeset in webkit [73391] by andersca@apple.com
  • 6 edits in trunk/WebKit2

Add a shim for GetCurrentEventButtonState
https://bugs.webkit.org/show_bug.cgi?id=50583

Reviewed by Adam Roben.

  • PluginProcess/mac/PluginProcessMac.mm:

(WebKit::getCurrentEventButtonState):
Get the event button state from the plug-in.

(WebKit::PluginProcess::initializeShim):
Add new shim callback.

  • PluginProcess/mac/PluginProcessShim.cpp:

(WebKit::shimGetCurrentEventButtonState):
Add shim.

  • PluginProcess/mac/PluginProcessShim.h:
  • WebProcess/Plugins/Netscape/NetscapePlugin.h:
  • WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:

(WebKit::NetscapePlugin::buttonState):
Return the button state.

(WebKit::NetscapePlugin::platformHandleMouseEvent):
Update the button state. Also, make sure to actually pass the modifiers to NPP_HandleEvent.

12:58 PM Changeset in webkit [73390] by mrowe@apple.com
  • 2 edits in trunk/WebCore

Build fix.

  • WebCore.xcodeproj/project.pbxproj: Don't force WebCore to build against the 10.5 SDK.

That's just plain wrong.

12:39 PM Changeset in webkit [73389] by tony@chromium.org
  • 2 edits in trunk/WebKitTools

2010-12-06 Tony Chang <tony@chromium.org>

Reviewed by Ojan Vafai.

[chromium] fix an assert hit in DRT
https://bugs.webkit.org/show_bug.cgi?id=50575

This class uses WTF's RefPtr, but expects chrome's base::RefPtr
semantics.

Otherwise, we hit ASSERTION FAILED: !m_adoptionIsRequired
(third_party/WebKit/JavaScriptCore/wtf/RefCounted.h:37 void
WTF::RefCountedBase::ref()).

  • DumpRenderTree/chromium/TestWebWorker.h: (TestWebWorker::TestWebWorker):
12:37 PM Changeset in webkit [73388] by Chris Fleizach
  • 9 edits
    2 adds in trunk

HTML5 Slider does not work correctly with VoiceOver
https://bugs.webkit.org/show_bug.cgi?id=50505

Reviewed by Darin Adler.

Address a few problems with the Mac implementation for the accessibility slider.

1) The value indicator is not hit testable.
2) The value indicator does not return an AXValue.
3) In the slider, the min/max values are not correct when min/max attributes are not present.
4) When you change the value with the keyboard, it doesn't send out the right notification.
5) Sliders were returning AXValue and AXTopLevelUIElement attributes twice in their list of attributes.

Test: platform/mac/accessibility/html-slider-indicator.html

WebCore:

  • accessibility/AccessibilityObject.cpp:

(WebCore::AccessibilityObject::getAttribute):

Use fastGetAttribute on Element, instead of getAttribute.

  • accessibility/AccessibilityObject.h:

(WebCore::AccessibilityObject::isInputSlider):

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::doAccessibilityHitTest):

  • accessibility/AccessibilitySlider.cpp:

(WebCore::AccessibilitySlider::doAccessibilityHitTest):
(WebCore::AccessibilitySlider::maxValueForRange):
(WebCore::AccessibilitySlider::minValueForRange):

  • accessibility/AccessibilitySlider.h:

(WebCore::AccessibilitySlider::isInputSlider):

  • accessibility/mac/AccessibilityObjectWrapper.mm:

(-[AccessibilityObjectWrapper accessibilityAttributeNames]):
(-[AccessibilityObjectWrapper accessibilityAttributeValue:]):

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::applyStep):

LayoutTests:

  • platform/mac/accessibility/html-slider-indicator-expected.txt: Added.
  • platform/mac/accessibility/html-slider-indicator.html: Added.
12:34 PM Changeset in webkit [73387] by andersca@apple.com
  • 7 edits in trunk/WebKit2

Add a shim for IsWindowActive
https://bugs.webkit.org/show_bug.cgi?id=50582

Reviewed by Adam Roben.

  • PluginProcess/mac/PluginProcessMac.mm:

(WebKit::isWindowActive):
Get the NetscapePlugin from the WindowRef and check if the plug-in's window is active.

(WebKit::PluginProcess::initializeShim):

  • PluginProcess/mac/PluginProcessShim.cpp

(WebKit::shimIsWindowActive):
Call isWindowActive. If it returns true, return the result value. Otherwise, call the real
IsWindowActive function.

  • PluginProcess/mac/PluginProcessShim.h:
  • WebProcess/Plugins/Netscape/NetscapePlugin.cpp:

(WebKit::NetscapePlugin::NetscapePlugin):
Initialize m_isWindowactive.

  • WebProcess/Plugins/Netscape/NetscapePlugin.h:

(WebKit::NetscapePlugin::isWindowActive):
Return whether the window is active.

  • WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:

(WebKit::windowMap):
(WebKit::NetscapePlugin::platformPostInitialize):
(WebKit::NetscapePlugin::platformDestroy):
(WebKit::NetscapePlugin::netscapePluginFromWindow):
Add a mapping between windows and the corresponding NetscapePlugin objects.

(WebKit::NetscapePlugin::windowFocusChanged):
Update the window focus member variable.

12:32 PM Changeset in webkit [73386] by aa@chromium.org
  • 2 edits in branches/chromium/597/WebCore

Merge 73245 - 2010-12-02 Aaron Boodman <aa@chromium.org>

Reviewed by David Hyatt.

Reduce the number of cases where we end up with a stale value for
minimumPreferredLogicalWidth(). This isn't a complete fix, but fixes a
large number of cases.

RenderObject::minimumPreferredLogicalWidth() sometimes reports wrong value.
https://bugs.webkit.org/show_bug.cgi?id=50119

  • rendering/RenderBox.cpp: (WebCore::RenderBox::styleDidChange):

TBR=aa@chromium.org
Review URL: http://codereview.chromium.org/5661001

12:03 PM Changeset in webkit [73385] by hyatt@apple.com
  • 303 edits
    4 adds in trunk

Fix for https://bugs.webkit.org/show_bug.cgi?id=49220 <<rdar://problem/8644849>, REGRESSION: transforms now
O(n3) from pathological behavior in lowestPosition, rightmostPosition, leftmostPosition and topmostPosition.

Reviewed by Simon Fraser.

This patch throws out the lowest/rightmost/leftmost/topmostPosition functions and re-architects layout overflow
in the engine to cache all the information required to properly handle scrolling.

In the old code, there were two types of overflow: layout overflow and visual overflow. The former could
affect scrolling and the latter could not. The distinction was largely meaningless, since layout overflow
wasn't actually used to determine scroll width or scroll height. It didn't propagate across self-painting layer
boundaries either. In the old code, the term visible overflow meant the union of the layout overflow and
visual overflow rects.

In the new code, the two types of overflow remain, but the distinction between the two is now clear. Visual overflow
is used purely for painting and hit testing checks and layout overflow is used specifically for scrolling. It has
been expanded to propagate across self-painting layers, to factor in relative positioning and transforms, and to
work with writing modes.

In order to minimize layout test changes, layers no longer incorporate right/bottom overflow into their width/height members.
Doing so uncovered two bugs where left/top overflow was ignored (proof that even having layer dimensions is harmful).
A render tree dump hack has been put into the code to keep this overflow dumping for the RenderView's layer, since otherwise
a huge number of tests would change.

Added fast/overflow/overflow-rtl-vertical.html to test vertical writing-mode overflow. Existing tests cover the rest.

WebCore:

  • page/FrameView.cpp:

(WebCore::FrameView::adjustViewSize):
(WebCore::FrameView::forceLayoutForPagination):
Changed to use RenderView's docTop/Left/Width/Height accessors, which simply grab the overflow and properly flip it
to account for writing modes.

  • platform/graphics/IntRect.h:

(WebCore::IntRect::shiftLeftEdgeTo):
(WebCore::IntRect::shiftRightEdgeTo):
(WebCore::IntRect::shiftTopEdgeTo):
(WebCore::IntRect::shiftBottomEdgeTo):
New helper functions for sliding the edge of a rectangle without moving any of the other three edges.

  • rendering/InlineBox.h:

(WebCore::InlineBox::frameRect):
frameRect is a helper for obtaining the x, y, width, height of an InlineBox as an IntRect.

  • rendering/InlineFlowBox.cpp:

(WebCore::InlineFlowBox::placeBoxesInInlineDirection):
All of the overflow setting in the inline direction has been removed from this function. All line overflow is computed
at once now in a single function: computeOverflow.

(WebCore::InlineFlowBox::addBoxShadowVisualOverflow):
(WebCore::InlineFlowBox::addTextBoxVisualOverflow):
(WebCore::InlineFlowBox::addReplacedChildOverflow):
Helper for propagating overflow from specific types of children that occur on a line into the InlineFlowBox's overflow.

(WebCore::InlineFlowBox::computeOverflow):
The new function that computes both horizontal and vertical overflow for a line box.

(WebCore::InlineFlowBox::setLayoutOverflow):
(WebCore::InlineFlowBox::setVisualOverflow):
(WebCore::InlineFlowBox::setOverflowFromLogicalRects):
New functions that set the overflow computed by computeOverflow. These replace setBlockDirectionOverflowPositions
and setInlineDirectionOverflowPositions. They essentially do the same thing, but they operate on rectangles.

(WebCore::InlineFlowBox::nodeAtPoint):
(WebCore::InlineFlowBox::paint):
Changed to use visual overflow instead of visible overflow. (Visible overflow as a union of layout and visual
overflow is no longer necessary, since visual overflow is now equivalent to the old visible overflow concept.)

  • rendering/InlineFlowBox.h:

(WebCore::InlineFlowBox::logicalLayoutOverflowRect):
(WebCore::InlineFlowBox::logicalVisualOverflowRect):
Helpers for obtaining logical overflow rectangles, since lines compute their overflow in logical terms before
converting to block coordinates at the end.

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::layoutBlock):
(WebCore::RenderBlock::addOverflowFromChildren):
(WebCore::RenderBlock::computeOverflow):
(WebCore::RenderBlock::addOverflowFromFloats):
(WebCore::RenderBlock::addOverflowFromPositionedObjects):
Blocks now have a computeOverflow function called at the end of layout that adds in all the types of overflow. The addOverflowFromChildren
method is virtual so that RenderListItem and RenderTable can subclass it. RenderListItem has to position its list marker and
propagate marker overflow up, and RenderTable adds in overflow from its sections.

(WebCore::RenderBlock::layoutOnlyPositionedObjects):
(WebCore::RenderBlock::layoutPositionedObjects):
When only positioned objects lay out, overflow must still be recomputed. The refactoring of overflow computation into a single
callable method: computeOverflow, makes it possible for this to be done easily.

(WebCore::RenderBlock::paint):
visible -> visual.

(WebCore::RenderBlock::addOverhangingFloats):
The propagation of float overflow has changed substantially. The basic rules are:

(1) The float must be in our floating objects list to contribute to overflow.
(2) The float must be a descendant to contribute to overflow.
(3) The block must have the outermost list that contains the float, or it has a self-painting layer and

so the float needs to be included in its overflow.

(WebCore::RenderBlock::nodeAtPoint):
visible -> visual.

(WebCore::RenderBlock::layoutColumns):
Remove column overflow computation from layoutColumns and move it to computeOverflow.

(WebCore::RenderBlock::adjustLinePositionForPagination):
visible -> visual.

  • rendering/RenderBlock.h:

(WebCore::RenderBlock::scrollbarsChanged):
Added a new virtual method used by table cells when scrollbars in an overflow:auto/scroll table cell come and go.

  • rendering/RenderBlockLineLayout.cpp:

(WebCore::RenderBlock::layoutInlineChildren):
(WebCore::RenderBlock::determineStartPosition):
(WebCore::RenderBlock::matchedEndLine):
(WebCore::RenderBlock::addOverflowFromInlineChildren):
(WebCore::RenderBlock::beforeSideVisualOverflowForLine):
(WebCore::RenderBlock::afterSideVisualOverflowForLine):
visible -> visual.

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::scrollWidth):
(WebCore::RenderBox::scrollHeight):
Patched to use layoutOverflow functions instead of the old rightmost/leftmostPosition functions.

(WebCore::RenderBox::paintRootBoxDecorations):
Use docLeft and docTop here, so that writing modes are handled.

(WebCore::RenderBox::clippedOverflowRectForRepaint):
visible -> visual.

(WebCore::RenderBox::addOverflowFromChild):
(WebCore::RenderBox::addLayoutOverflow):
(WebCore::RenderBox::addVisualOverflow):
(WebCore::RenderBox::logicalVisualOverflowRectForPropagation):
(WebCore::RenderBox::visualOverflowRectForPropagation):
(WebCore::RenderBox::logicalLayoutOverflowRectForPropagation):
(WebCore::RenderBox::layoutOverflowRectForPropagation):

  • rendering/RenderBox.h:

The new overflow system for boxes. Layout overflow now crosses self-painting layer boundaries and adjusts child boxes
for transforms, relative positioning and writing mode differences.

(WebCore::RenderBox::layoutOverflowRect):
(WebCore::RenderBox::topLayoutOverflow):
(WebCore::RenderBox::bottomLayoutOverflow):
(WebCore::RenderBox::leftLayoutOverflow):
(WebCore::RenderBox::rightLayoutOverflow):
Changed the default rectangle for layout overflow to be the client box to match the scrollable areas of overflow regions.

(WebCore::RenderBox::clientLogicalBottom):
New helper for obtaining the logical bottom of the client box.

(WebCore::RenderBox::clientBoxRect):
New helper for obtaining the clientLeft/Top/Width/Height box.

  • rendering/RenderBoxModelObject.h:

(WebCore::RenderBoxModelObject::relativePositionLogicalOffset):
Helper for obtaining the relative position offset transposed for vertical writing modes. Used by line overflow.

  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::layoutBlock):
Changed flexible boxes to just call the base class computeOverflow method.

  • rendering/RenderInline.cpp:

(WebCore::RenderInline::linesVisualOverflowBoundingBox):
(WebCore::RenderInline::clippedOverflowRectForRepaint):
visible -> visual.

  • rendering/RenderInline.h:
  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::updateLayerPosition):
Changed layers to no longer incorporate right/bottom overflow into width/height. This is the reason many layout
tests change. (Not doing this makes the layout test changes far worse, since overflow propagates across self-painting
layers now.)

(WebCore::RenderLayer::overflowTop):
(WebCore::RenderLayer::overflowBottom):
(WebCore::RenderLayer::overflowLeft):
(WebCore::RenderLayer::overflowRight):
overflowTop/Bottom/Left/Right return overflow that accounts for writing modes, i.e., purely physical overflow that can be used
to set up the scroll area.

(WebCore::RenderLayer::computeScrollDimensions):
Drastically simplified this method now that overflowTop/Bottom/Left/Right just do the right thing regarding unreachable overflow.

(WebCore::RenderLayer::updateScrollInfoAfterLayout):
Make sure to explicitly set the vertical scrollbar's position just as we did with horizontal scrollbars, so that clamping to the
bottom works.

(WebCore::performOverlapTests):
(WebCore::RenderLayer::paintLayer):
Fix a bug in performOverlapTests. It incorrectly used the layer's bounds, and so it didn't account for left/top overflow out
of the layer (see why I hate layers even having dimensions?). Changed it to use the bounding box of the layer instead.

(WebCore::RenderLayer::hitTest):
Fix a bug in hit testing. It incorrectly used the root layer's bounds as the limit of the hit test, and so it didn't account
for left/top overflow in a ScrollView (hate hate hate layers having dimensions). I changed it to use the hit test rect instead,
so that the damage rect never stops the point from being tested (unless the hit test request says not to ignore clipping).

(WebCore::RenderLayer::localBoundingBox):
visible -> visual.

  • rendering/RenderLayer.h:

Added the new overflowTop/Left/Right/Bottom accessors.

  • rendering/RenderLineBoxList.cpp:

(WebCore::RenderLineBoxList::anyLineIntersectsRect):
(WebCore::RenderLineBoxList::lineIntersectsDirtyRect):
(WebCore::RenderLineBoxList::paint):
(WebCore::RenderLineBoxList::hitTest):
visible -> visual.

  • rendering/RenderListItem.cpp:

(WebCore::RenderListItem::addOverflowFromChildren):
(WebCore::RenderListItem::positionListMarker):

  • rendering/RenderListItem.h:

RenderListItem now positions the list marker when computing its overflow, since the marker propagates overflow back up to the list item.

  • rendering/RenderListMarker.cpp:

(WebCore::RenderListMarker::paint):
visible -> visual.

  • rendering/RenderMarquee.cpp:

(WebCore::RenderMarquee::computePosition):
Changed to use overflow functions instead of rightmost/lowestPosition.

  • rendering/RenderMedia.cpp:
  • rendering/RenderMedia.h:

Removed the lowest/topmost/rightmost/leftmostPosition functions, since control overflow is handled properly already.

  • rendering/RenderOverflow.h:

(WebCore::RenderOverflow::RenderOverflow):
(WebCore::RenderOverflow::setLayoutOverflow):
(WebCore::RenderOverflow::setVisualOverflow):
Add new setters for layout and visual overflow as rects.

  • rendering/RenderReplaced.cpp:

(WebCore::RenderReplaced::shouldPaint):
(WebCore::RenderReplaced::clippedOverflowRectForRepaint):
visible -> visual.

  • rendering/RenderRubyRun.cpp:

(WebCore::RenderRubyRun::layout):
Call computeOverflow to recompute our overflow information after we adjust the ruby.

  • rendering/RenderTable.cpp:

(WebCore::RenderTable::layout):
(WebCore::RenderTable::addOverflowFromChildren):
(WebCore::RenderTable::paint):

  • rendering/RenderTable.h:

Move section overflow propagation into addOverflowFromChildren, and change RenderTable to just call computeOverflow.

  • rendering/RenderTableCell.cpp:

(WebCore::RenderTableCell::clippedOverflowRectForRepaint):
visible -> visual.

(WebCore::RenderTableCell::scrollbarsChanged):
Adding unreachable overflow support (something that in the old code only existed for positioned objects in the root view) exposed
a bug in table layout. If scrollbars are added during the layout that occurs after intrinsic padding was incorporated into the
cell, then the cell won't lay out properly the second time (after the scrollbars have been added). We have to adjust the intrinsic
padding accounting for the presence of the new scrollbar so the second layout will get the right dimensions.

  • rendering/RenderTableCell.h:

(WebCore::RenderTableCell::hasVisualOverflow):
visible -> visual.

  • rendering/RenderTableSection.cpp:

(WebCore::RenderTableSection::layoutRows):

  • rendering/RenderTableSection.h:

visible -> visual. Removed the leftmost/rightmost/topmost/bottommostPosition functions.

  • rendering/RenderTreeAsText.cpp:

(WebCore::writeLayers):
Added a hack to render tree dumping to include right/bottom overflow for the root layer only. This keeps a zillion layout tests
from failing.

  • rendering/RenderView.cpp:

(WebCore::RenderView::layout):
(WebCore::RenderView::docTop):
(WebCore::RenderView::docBottom):
(WebCore::RenderView::docLeft):
(WebCore::RenderView::docRight):

  • rendering/RenderView.h:

(WebCore::RenderView::docHeight):
(WebCore::RenderView::docWidth):
RenderView now uses docLeft/Top/Height/Width functions, which are just overflow queries that account for writing modes. These methods
are now the preferred way to query for the physical dimensions of a document.

  • rendering/RootInlineBox.cpp:

(WebCore::RootInlineBox::addHighlightOverflow):
Changed to call setOverflowFromLogicalRects instead of the block/inline position functions.

(WebCore::RootInlineBox::alignBoxesInBlockDirection):
Remove the computation of block direction overflow, since it now all happens at once after the line is built.

(WebCore::RootInlineBox::paddedLayoutOverflowRect):

  • rendering/RootInlineBox.h:

Added a new helper function for incorporating the end padding into a line. This end padding also includes the single pixel for a caret
in LTR if needed.

LayoutTests:

  • compositing/checkerboard-expected.txt:
  • compositing/geometry/limit-layer-bounds-transformed-expected.txt:
  • compositing/iframes/composited-parent-iframe-expected.txt:
  • fast/backgrounds/size/contain-and-cover-expected.txt:
  • fast/flexbox/009.html:
  • fast/overflow/overflow-rtl-vertical.html: Added.
  • fast/spatial-navigation/snav-clipped-overflowed-content-expected.txt:
  • fast/spatial-navigation/snav-clipped-overflowed-content.html:
  • platform/mac/compositing/direct-image-compositing-expected.txt:
  • platform/mac/compositing/geometry/fixed-position-expected.txt:
  • platform/mac/compositing/geometry/video-opacity-overlay-expected.txt:
  • platform/mac/compositing/overflow/fixed-position-ancestor-clip-expected.txt:
  • platform/mac/compositing/overflow/scroll-ancestor-update-expected.txt:
  • platform/mac/compositing/reflections/load-video-in-reflection-expected.txt:
  • platform/mac/compositing/repaint/content-into-overflow-expected.txt:
  • platform/mac/compositing/repaint/overflow-into-content-expected.txt:
  • platform/mac/css1/box_properties/margin-expected.txt:
  • platform/mac/css1/box_properties/margin_right-expected.txt:
  • platform/mac/css1/classification/white_space-expected.txt:
  • platform/mac/css1/color_and_background/background_attachment-expected.txt:
  • platform/mac/css1/color_and_background/background_repeat-expected.txt:
  • platform/mac/css2.1/t0803-c5502-mrgn-r-02-c-expected.txt:
  • platform/mac/css2.1/t0803-c5505-mrgn-02-c-expected.txt:
  • platform/mac/css2.1/t0804-c5508-ipadn-b-02-b-a-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-00-d-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-01-d-g-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-02-c-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-03-c-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-04-c-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt:
  • platform/mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt:
  • platform/mac/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt:
  • platform/mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt:
  • platform/mac/css2.1/t090501-c414-flt-02-d-g-expected.txt:
  • platform/mac/css2.1/t090501-c414-flt-03-b-g-expected.txt:
  • platform/mac/css2.1/t1202-counters-08-b-expected.txt:
  • platform/mac/css2.1/t1202-counters-09-b-expected.txt:
  • platform/mac/editing/deleting/delete-after-span-ws-001-expected.txt:
  • platform/mac/editing/deleting/delete-after-span-ws-002-expected.txt:
  • platform/mac/editing/deleting/delete-after-span-ws-003-expected.txt:
  • platform/mac/editing/deleting/delete-line-end-ws-001-expected.txt:
  • platform/mac/editing/deleting/delete-line-end-ws-002-expected.txt:
  • platform/mac/editing/selection/25228-expected.txt:
  • platform/mac/editing/selection/focus_editable_html-expected.txt:
  • platform/mac/editing/selection/select-all-001-expected.txt:
  • platform/mac/editing/selection/select-all-002-expected.txt:
  • platform/mac/editing/selection/select-all-003-expected.txt:
  • platform/mac/editing/selection/select-all-004-expected.txt:
  • platform/mac/editing/selection/unrendered-001-expected.txt:
  • platform/mac/editing/selection/unrendered-002-expected.txt:
  • platform/mac/editing/selection/unrendered-003-expected.txt:
  • platform/mac/editing/selection/unrendered-004-expected.txt:
  • platform/mac/editing/selection/unrendered-005-expected.txt:
  • platform/mac/fast/backgrounds/repeat/negative-offset-repeat-expected.txt:
  • platform/mac/fast/backgrounds/size/backgroundSize15-expected.txt:
  • platform/mac/fast/block/basic/010-expected.txt:
  • platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.txt:
  • platform/mac/fast/block/float/008-expected.txt:
  • platform/mac/fast/block/float/013-expected.txt:
  • platform/mac/fast/block/float/019-expected.txt:
  • platform/mac/fast/block/float/021-expected.txt:
  • platform/mac/fast/block/float/029-expected.txt:
  • platform/mac/fast/block/float/031-expected.txt:
  • platform/mac/fast/block/float/033-expected.txt:
  • platform/mac/fast/block/float/035-expected.txt:
  • platform/mac/fast/block/float/avoidance-percent-width-strict-expected.txt:
  • platform/mac/fast/block/float/clamped-right-float-expected.txt:
  • platform/mac/fast/block/float/float-in-float-painting-expected.txt:
  • platform/mac/fast/block/float/nested-clearance-expected.txt:
  • platform/mac/fast/block/float/relative-painted-twice-expected.txt:
  • platform/mac/fast/block/margin-collapse/004-expected.txt:
  • platform/mac/fast/block/margin-collapse/062-expected.txt:
  • platform/mac/fast/block/margin-collapse/063-expected.txt:
  • platform/mac/fast/block/margin-collapse/104-expected.txt:
  • platform/mac/fast/block/margin-collapse/block-inside-inline/004-expected.txt:
  • platform/mac/fast/block/margin-collapse/block-inside-inline/005-expected.txt:
  • platform/mac/fast/block/positioning/002-expected.txt:
  • platform/mac/fast/block/positioning/047-expected.txt:
  • platform/mac/fast/block/positioning/049-expected.txt:
  • platform/mac/fast/block/positioning/051-expected.txt:
  • platform/mac/fast/block/positioning/auto-height-with-top-and-bottom-expected.txt:
  • platform/mac/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.txt:
  • platform/mac/fast/blockflow/block-level-images-expected.txt:
  • platform/mac/fast/blockflow/border-radius-clipping-vertical-lr-expected.txt:
  • platform/mac/fast/blockflow/box-shadow-vertical-lr-expected.txt:
  • platform/mac/fast/blockflow/box-shadow-vertical-rl-expected.txt:
  • platform/mac/fast/blockflow/floats-in-block-layout-expected.txt:
  • platform/mac/fast/body-propagation/background-color/002-expected.txt:
  • platform/mac/fast/body-propagation/background-color/002-xhtml-expected.txt:
  • platform/mac/fast/body-propagation/background-image/002-expected.txt:
  • platform/mac/fast/body-propagation/background-image/002-xhtml-expected.txt:
  • platform/mac/fast/body-propagation/overflow/001-expected.txt:
  • platform/mac/fast/body-propagation/overflow/001-xhtml-expected.txt:
  • platform/mac/fast/body-propagation/overflow/005-declarative-expected.txt:
  • platform/mac/fast/body-propagation/overflow/005-expected.txt:
  • platform/mac/fast/body-propagation/overflow/005-xhtml-expected.txt:
  • platform/mac/fast/borders/fieldsetBorderRadius-expected.txt:
  • platform/mac/fast/box-shadow/basic-shadows-expected.txt:
  • platform/mac/fast/box-sizing/box-sizing-expected.txt:
  • platform/mac/fast/clip/008-expected.txt:
  • platform/mac/fast/clip/009-expected.txt:
  • platform/mac/fast/clip/010-expected.txt:
  • platform/mac/fast/clip/011-expected.txt:
  • platform/mac/fast/clip/012-expected.txt:
  • platform/mac/fast/compact/001-expected.txt:
  • platform/mac/fast/css/color-correction-on-background-image-expected.txt:
  • platform/mac/fast/css/negative-leading-expected.txt:
  • platform/mac/fast/css/percentage-non-integer-expected.txt:
  • platform/mac/fast/css/word-space-extra-expected.txt:
  • platform/mac/fast/dom/clone-node-dynamic-style-expected.txt:
  • platform/mac/fast/dynamic/window-resize-scrollbars-test-expected.txt:
  • platform/mac/fast/events/focusingUnloadedFrame-expected.txt:
  • platform/mac/fast/flexbox/009-expected.txt:
  • platform/mac/fast/flexbox/016-expected.txt:
  • platform/mac/fast/flexbox/flex-hang-expected.txt:
  • platform/mac/fast/forms/basic-textareas-quirks-expected.txt:
  • platform/mac/fast/forms/file-input-direction-expected.txt:
  • platform/mac/fast/forms/floating-textfield-relayout-expected.txt:
  • platform/mac/fast/forms/textfield-overflow-expected.txt:
  • platform/mac/fast/frames/flattening/frameset-flattening-advanced-expected.txt:
  • platform/mac/fast/frames/flattening/frameset-flattening-grid-expected.txt:
  • platform/mac/fast/frames/flattening/frameset-flattening-simple-expected.txt:
  • platform/mac/fast/frames/flattening/frameset-flattening-subframe-resize-expected.txt:
  • platform/mac/fast/frames/flattening/frameset-flattening-subframesets-expected.txt:
  • platform/mac/fast/frames/frame-scrolling-attribute-expected.txt:
  • platform/mac/fast/frames/iframe-scrolling-attribute-expected.txt:
  • platform/mac/fast/frames/inline-object-inside-frameset-expected.txt:
  • platform/mac/fast/gradients/background-clipped-expected.txt:
  • platform/mac/fast/images/gif-large-checkerboard-expected.txt:
  • platform/mac/fast/images/pdf-as-image-landscape-expected.txt:
  • platform/mac/fast/inline-block/inline-block-vertical-align-expected.txt:
  • platform/mac/fast/inline/long-wrapped-line-expected.txt:
  • platform/mac/fast/layers/layer-visibility-expected.txt:
  • platform/mac/fast/layers/layer-visibility-sublayer-expected.txt:
  • platform/mac/fast/lists/001-expected.txt:
  • platform/mac/fast/lists/001-vertical-expected.txt:
  • platform/mac/fast/lists/003-expected.txt:
  • platform/mac/fast/lists/003-vertical-expected.txt:
  • platform/mac/fast/lists/li-br-expected.txt:
  • platform/mac/fast/media/mq-relative-constraints-02-expected.txt:
  • platform/mac/fast/media/mq-relative-constraints-03-expected.txt:
  • platform/mac/fast/media/mq-relative-constraints-04-expected.txt:
  • platform/mac/fast/media/mq-relative-constraints-05-expected.txt:
  • platform/mac/fast/media/mq-relative-constraints-06-expected.txt:
  • platform/mac/fast/media/mq-relative-constraints-07-expected.txt:
  • platform/mac/fast/media/mq-relative-constraints-08-expected.txt:
  • platform/mac/fast/media/mq-relative-constraints-09-expected.txt:
  • platform/mac/fast/media/mq-width-absolute-01-expected.txt:
  • platform/mac/fast/media/mq-width-absolute-02-expected.txt:
  • platform/mac/fast/media/mq-width-absolute-03-expected.txt:
  • platform/mac/fast/media/mq-width-absolute-04-expected.txt:
  • platform/mac/fast/multicol/float-multicol-expected.txt:
  • platform/mac/fast/multicol/float-paginate-complex-expected.txt:
  • platform/mac/fast/multicol/float-paginate-expected.txt:
  • platform/mac/fast/multicol/layers-in-multicol-expected.txt:
  • platform/mac/fast/multicol/paginate-block-replaced-expected.txt:
  • platform/mac/fast/multicol/positioned-with-constrained-height-expected.txt:
  • platform/mac/fast/multicol/span/anonymous-style-inheritance-expected.txt:
  • platform/mac/fast/multicol/table-vertical-align-expected.txt:
  • platform/mac/fast/overflow/006-expected.txt:
  • platform/mac/fast/overflow/float-in-relpositioned-expected.txt:
  • platform/mac/fast/overflow/overflow-auto-table-expected.txt:
  • platform/mac/fast/overflow/overflow-rtl-vertical-expected.checksum: Added.
  • platform/mac/fast/overflow/overflow-rtl-vertical-expected.png: Added.
  • platform/mac/fast/overflow/overflow-rtl-vertical-expected.txt: Added.
  • platform/mac/fast/overflow/scrollRevealButton-expected.txt:
  • platform/mac/fast/reflections/reflection-direction-expected.txt:
  • platform/mac/fast/repaint/box-shadow-h-expected.checksum:
  • platform/mac/fast/repaint/box-shadow-h-expected.png:
  • platform/mac/fast/repaint/box-shadow-h-expected.txt:
  • platform/mac/fast/repaint/box-shadow-v-expected.txt:
  • platform/mac/fast/repaint/content-into-overflow-expected.txt:
  • platform/mac/fast/repaint/dynamic-table-vertical-alignment-change-expected.txt:
  • platform/mac/fast/repaint/float-overflow-expected.txt:
  • platform/mac/fast/repaint/float-overflow-right-expected.txt:
  • platform/mac/fast/repaint/overflow-into-content-expected.txt:
  • platform/mac/fast/repaint/overflow-scroll-body-appear-expected.txt:
  • platform/mac/fast/repaint/subtree-root-clip-expected.txt:
  • platform/mac/fast/repaint/transform-absolute-in-positioned-container-expected.txt:
  • platform/mac/fast/repaint/transform-replaced-shadows-expected.checksum:
  • platform/mac/fast/repaint/transform-replaced-shadows-expected.png:
  • platform/mac/fast/replaced/004-expected.txt:
  • platform/mac/fast/table/034-expected.txt:
  • platform/mac/fast/table/border-collapsing/004-vertical-expected.txt:
  • platform/mac/fast/table/colspanMinWidth-vertical-expected.txt:
  • platform/mac/fast/table/fixed-with-auto-with-colspan-expected.txt:
  • platform/mac/fast/table/fixed-with-auto-with-colspan-vertical-expected.txt:
  • platform/mac/fast/table/frame-and-rules-expected.txt:
  • platform/mac/fast/table/height-percent-test-vertical-expected.txt:
  • platform/mac/fast/table/wide-colspan-expected.txt:
  • platform/mac/fast/table/wide-column-expected.txt:
  • platform/mac/fast/text/international/thai-line-breaks-expected.txt:
  • platform/mac/fast/text/large-text-composed-char-expected.txt:
  • platform/mac/fast/text/letter-spacing-negative-opacity-expected.txt:
  • platform/mac/fast/text/text-letter-spacing-expected.txt:
  • platform/mac/fast/text/whitespace/012-expected.txt:
  • platform/mac/mathml/presentation/fenced-expected.txt:
  • platform/mac/mathml/presentation/mo-expected.txt:
  • platform/mac/mathml/presentation/over-expected.txt:
  • platform/mac/mathml/presentation/row-alignment-expected.txt:
  • platform/mac/mathml/presentation/row-expected.txt:
  • platform/mac/printing/return-from-printing-mode-expected.txt:
  • platform/mac/svg/custom/altglyph-expected.txt:
  • platform/mac/svg/custom/getscreenctm-in-mixed-content-expected.txt:
  • platform/mac/svg/custom/path-bad-data-expected.txt:
  • platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
  • platform/mac/svg/custom/svg-fonts-in-html-expected.txt:
  • platform/mac/svg/custom/text-xy-updates-SVGList-expected.txt:
  • platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.txt:
  • platform/mac/svg/text/foreignObject-text-clipping-bug-expected.txt:
  • platform/mac/svg/text/kerning-expected.txt:
  • platform/mac/svg/text/multichar-glyph-expected.txt:
  • platform/mac/svg/transforms/animated-path-inside-transformed-html-expected.txt:
  • platform/mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt:
  • platform/mac/svg/zoom/text/zoom-hixie-mixed-009-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug120364-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug131020-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug196870-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug23151-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug29314-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug43039-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug43854-1-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug45055-2-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug5797-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug625-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug72359-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug83786-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug92143-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug96334-expected.txt:
  • platform/mac/tables/mozilla/core/nested1-expected.txt:
  • platform/mac/tables/mozilla/marvin/backgr_index-expected.txt:
  • platform/mac/tables/mozilla/marvin/x_table_align_left-expected.txt:
  • platform/mac/tables/mozilla/marvin/x_table_align_right-expected.txt:
  • platform/mac/tables/mozilla/marvin/x_td_nowrap-expected.txt:
  • platform/mac/tables/mozilla/marvin/x_th_nowrap-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/bugs/bug220653-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/bugs/bug67915-2-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_caption-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_caption_bottom-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_caption_left-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_caption_right-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_caption_top-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_row-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_table-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_tbody-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell_sibling-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row_sibling-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table_caption-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody_sibling-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_td_align_right-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_bottom-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_middle-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_top-expected.txt:
  • platform/mac/transforms/3d/point-mapping/3d-point-mapping-2-expected.txt:
  • platform/mac/transforms/3d/point-mapping/3d-point-mapping-expected.txt:
  • platform/mac/transforms/3d/point-mapping/3d-point-mapping-origins-expected.txt:
  • platform/mac/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.txt:
  • platform/mac/transforms/svg-vs-css-expected.txt:
  • svg/custom/text-zoom-expected.txt:
12:00 PM Changeset in webkit [73384] by ojan@chromium.org
  • 3 edits in trunk/WebKitTools

2010-12-02 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

make webkit-patch command work when the git branch is not synced to the remote svn branch
https://bugs.webkit.org/show_bug.cgi?id=50424

  • Scripts/webkitpy/common/checkout/scm.py:
  • Scripts/webkitpy/common/checkout/scm_unittest.py:
11:59 AM Changeset in webkit [73383] by andersca@apple.com
  • 5 edits in trunk/WebKit2

REGERSSION (r73310?): Contents of <select> popup menus are upside-down on Windows
https://bugs.webkit.org/show_bug.cgi?id=50544
<rdar://problem/8732336>

Reviewed by Dan Bernstein.

  • Shared/BackingStore.cpp:
  • Shared/BackingStore.h:
  • Shared/cairo/BackingStoreCairo.cpp:

Remove BackingStore::createFlippedGraphicsContext.

  • WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp:

(WebKit::WebPopupMenu::setUpPlatformData):
Don't create a flipped graphics context.

11:52 AM Changeset in webkit [73382] by andersca@apple.com
  • 2 edits in trunk/WebKit2

REGRESSION: Text in Find indicator is vertically flipped
https://bugs.webkit.org/show_bug.cgi?id=50524
<rdar://problem/8732978>

Reviewed by Dan Bernstein.

Don't flip the graphics context.

  • UIProcess/FindIndicator.cpp:

(WebKit::FindIndicator::draw):

11:48 AM Changeset in webkit [73381] by andersca@apple.com
  • 11 edits in trunk

Dispatch keyboard events in the Carbon event model
https://bugs.webkit.org/show_bug.cgi?id=50503

Reviewed by Sam Weinig.

WebKit2:

  • Shared/WebEvent.h:

(WebKit::WebKeyboardEvent::macCharCode):

  • Shared/WebKeyboardEvent.cpp:

(WebKit::WebKeyboardEvent::WebKeyboardEvent):
(WebKit::WebKeyboardEvent::encode):
(WebKit::WebKeyboardEvent::decode):
Add macCharCode field.

  • Shared/mac/WebEventFactory.mm:

(WebKit::WebEventFactory::createWebKeyboardEvent):

  • Shared/qt/WebEventFactoryQt.cpp:

(WebKit::WebEventFactory::createWebKeyboardEvent):

  • Shared/win/WebEventFactory.cpp:

(WebKit::WebEventFactory::createWebKeyboardEvent):
Pass along the Mac char code.

  • WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:

(WebKit::NetscapePlugin::platformHandleKeyboardEvent):
Convert the event to a Carobn event.

WebKitLibraries:

Make WKGetNSEventKeyChar available in 32-bit.

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
11:35 AM Changeset in webkit [73380] by cmarrin@apple.com
  • 16 edits
    6 copies
    2 deletes in trunk

2010-12-06 Chris Marrin <cmarrin@apple.com>

Reviewed by Simon Fraser.

Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
https://bugs.webkit.org/show_bug.cgi?id=49388

Replaced GraphicsLayerMac with GraphicsLayerCA. GraphicsLayerCA is essentially
identical to GraphicsLayerMac, but replaces all the CoreAnimation specific calls
with calls to PlatformCALayer and PlatformCAAnimation. This makes GraphicsLayerCA
platform neutral as long as implementations of those two classes are available.
Added implementations in PlatformCALayerMac and PlatformCAAnimationMac. Also got
rid of GraphicsLayer::nativeLayer() and replaced it with GraphicsLayer::platformLayer()
to avoid confusion since both names were used to refer to the same thing.

This patch is only for Mac. Windows implementation has not changed.

11:31 AM Changeset in webkit [73379] by Simon Fraser
  • 4 edits in trunk/WebCore

2010-12-06 Simon Fraser <Simon Fraser>

Reviewed by Dan Bernstein.

Font antialiasing (smoothing) changes when elements are rendered into compositing layers
https://bugs.webkit.org/show_bug.cgi?id=23364

Text rendered by Core Graphics over a transparent background looks bad because of
font smoothing, so turn off smoothing when rendering text into compositing layers.

  • platform/graphics/GraphicsContext.h:
  • platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::setAllowsFontSmoothing):
  • platform/graphics/mac/WebLayer.mm: (drawLayerContents):
11:08 AM Changeset in webkit [73378] by Patrick Gansterer
  • 5 edits
    8 adds in trunk

2010-12-06 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

[WINCE] Add build system
https://bugs.webkit.org/show_bug.cgi?id=50522

  • cmake/OptionsWinCE.cmake: Added.
  • cmake/OptionsWindows.cmake: Added.

2010-12-06 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

[WINCE] Add build system
https://bugs.webkit.org/show_bug.cgi?id=50522

  • CMakeListsWinCE.txt: Added.
  • shell/CMakeListsWinCE.txt: Added.
  • wtf/CMakeListsWinCE.txt: Added.

2010-12-06 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

[WINCE] Add build system
https://bugs.webkit.org/show_bug.cgi?id=50522

  • CMakeListsWinCE.txt: Added.

2010-12-06 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

[WINCE] Add build system
https://bugs.webkit.org/show_bug.cgi?id=50522

  • CMakeListsWinCE.txt: Added.

2010-12-06 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

[WINCE] Add build system
https://bugs.webkit.org/show_bug.cgi?id=50522

  • CMakeListsWinCE.txt: Added.
10:46 AM Changeset in webkit [73377] by commit-queue@webkit.org
  • 2 edits in trunk/JavaScriptCore

2010-12-06 John Tantalo <john.tantalo@gmail.com>

Reviewed by Geoffrey Garen.

jsc does not ignore shebang
https://bugs.webkit.org/show_bug.cgi?id=49576

  • jsc.cpp: (fillBufferWithContentsOfFile):
    • translate shebang into a valid JavaScript comment so the lexer ignores it
10:20 AM Changeset in webkit [73376] by mihaip@chromium.org
  • 1 edit
    512 moves
    51 adds in trunk/LayoutTests

2010-12-06 Mihai Parparita <mihaip@chromium.org>

Unreviewed move of Chromium baselines.

In preparation for making pixel tests pass for Chromium on Snow Leopard,
move baselines for 273 tests from chromium-mac to chromium-mac-leopard.
These tests will then use the mac baselines, which will enable them
to pass on Snow Leopard, but keep passing for Leopard too.

List of files omitted due to length but composed entirely of moves from
platform/chromium-mac to platform/chromium-mac-leopard.

10:06 AM Changeset in webkit [73375] by mihaip@chromium.org
  • 2 edits in trunk/WebKitTools

2010-12-03 Mihai Parparita <mihaip@chromium.org>

Reviewed by Tony Chang.

Allow the Chromium port to have Leopard-specific baselines
https://bugs.webkit.org/show_bug.cgi?id=50506

  • Scripts/webkitpy/layout_tests/port/chromium_mac.py:
9:36 AM Changeset in webkit [73374] by Chris Fleizach
  • 3 edits
    2 adds in trunk

AX does not support HTML5 "required"
https://bugs.webkit.org/show_bug.cgi?id=50507

Reviewed by Oliver Hunt.

WebCore:

Test: platform/mac/accessibility/html5-required-attribute.html

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::isRequired):

LayoutTests:

  • platform/mac/accessibility/html5-required-attribute-expected.txt: Added.
  • platform/mac/accessibility/html5-required-attribute.html: Added.
9:35 AM Changeset in webkit [73373] by tony@chromium.org
  • 5 edits in trunk/WebKitTools

2010-12-03 Tony Chang <tony@chromium.org>

Reviewed by Kent Tamura.

[chromium] fix 2 bugs with inspector tests in DRT
https://bugs.webkit.org/show_bug.cgi?id=50492

Tasks can outlive the tasklist (even when canceled) so this was
causing a crash when ~WebTask() ran. Avoid this by unregistering
when a task is canceled.

Also fix an assert when closing devtool windows by copying some
logic from test_shell.

  • DumpRenderTree/chromium/Task.cpp: (WebTask::~WebTask): (TaskList::revokeAll):
  • DumpRenderTree/chromium/Task.h: Canceling a task now removes it from

the tasklist (since the task can outlive the tasklist).

  • DumpRenderTree/chromium/TestShell.h: (TestShell::devToolsWebView):
  • DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::~WebViewHost): Don't load about:blank when closing

a window if the window has devtools loaded. This avoids an
ASSERT and matches test_shell.

9:13 AM Changeset in webkit [73372] by victorw@chromium.org
  • 1 edit
    21 adds in trunk/LayoutTests

2010-12-06 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] update chromium test expectations.

  • platform/chromium-linux/fast/css/focus-ring-outline-color-expected.checksum: Added.
  • platform/chromium-linux/fast/css/focus-ring-outline-color-expected.png: Added.
  • platform/chromium-linux/fast/css/focus-ring-outline-offset-expected.checksum: Added.
  • platform/chromium-linux/fast/css/focus-ring-outline-offset-expected.png: Added.
  • platform/chromium-linux/fast/css/focus-ring-outline-width-expected.checksum: Added.
  • platform/chromium-linux/fast/css/focus-ring-outline-width-expected.png: Added.
  • platform/chromium-mac/fast/css/focus-ring-outline-color-expected.checksum: Added.
  • platform/chromium-mac/fast/css/focus-ring-outline-color-expected.png: Added.
  • platform/chromium-mac/fast/css/focus-ring-outline-offset-expected.checksum: Added.
  • platform/chromium-mac/fast/css/focus-ring-outline-offset-expected.png: Added.
  • platform/chromium-mac/fast/css/focus-ring-outline-width-expected.checksum: Added.
  • platform/chromium-mac/fast/css/focus-ring-outline-width-expected.png: Added.
  • platform/chromium-win/fast/css/focus-ring-outline-color-expected.checksum: Added.
  • platform/chromium-win/fast/css/focus-ring-outline-color-expected.png: Added.
  • platform/chromium-win/fast/css/focus-ring-outline-color-expected.txt: Added.
  • platform/chromium-win/fast/css/focus-ring-outline-offset-expected.checksum: Added.
  • platform/chromium-win/fast/css/focus-ring-outline-offset-expected.png: Added.
  • platform/chromium-win/fast/css/focus-ring-outline-offset-expected.txt: Added.
  • platform/chromium-win/fast/css/focus-ring-outline-width-expected.checksum: Added.
  • platform/chromium-win/fast/css/focus-ring-outline-width-expected.png: Added.
  • platform/chromium-win/fast/css/focus-ring-outline-width-expected.txt: Added.
8:49 AM Changeset in webkit [73371] by Dimitri Glazkov
  • 3 edits
    2 copies in branches/chromium/597

Merge 73319 - 2010-12-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

REGRESSION(r71934): input event fires twice when editing text inside a text input.
https://bugs.webkit.org/show_bug.cgi?id=50477

  • fast/forms/text-input-event-expected.txt: Added.
  • fast/forms/text-input-event.html: Added.

2010-12-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

REGRESSION(r71934): input event fires twice when editing text inside a text input.
https://bugs.webkit.org/show_bug.cgi?id=50477

Now that events escape the shadow DOM boundary, the input event is fired twice
for each input, once triggered by editing, once triggered by value change.

Test: fast/forms/text-input-event.html

  • dom/InputElement.cpp: (WebCore::InputElement::setValueFromRenderer): Added a check to ensure editable fields

don't fire an extra input event.

BUG=64750
TBR=Dimitri Glazkov
Review URL: http://codereview.chromium.org/5589004

8:45 AM Changeset in webkit [73370] by sullivan@apple.com
  • 4 edits in trunk/WebKit2

https://bugs.webkit.org/show_bug.cgi?id=50504
Expose some more WebCore settings in WebKit2 preferences

Reviewed by Adam Roben.

  • Shared/WebPreferencesStore.h:

Changed name of existing FOR_EACH_WEBKIT_STRING_PREFERENCE macro to
FOR_EACH_WEBKIT_FONT_FAMILY_PREFERENCE since it was all about platform-specific
font families, and I'm now introducing a non-platform-spacific string, and
I didn't want to put the new preference in two platform-specific lists. Then
added a new FOR_EACH_WEBKIT_STRING_PREFERENCE to hold the new preference. Note
that the other preferences exposed in this patch were already declared here.

  • UIProcess/API/C/WKPreferences.cpp:

(WKPreferencesSetDefaultFontSize):
New wrapper.
(WKPreferencesGetDefaultFontSize):
Ditto.
(WKPreferencesSetDefaultFixedFontSize):
Ditto.
(WKPreferencesGetDefaultFixedFontSize):
Ditto.
(WKPreferencesSetDefaultTextEncodingName):
Ditto.
(WKPreferencesCopyDefaultTextEncodingName):
Ditto.

  • UIProcess/API/C/WKPreferences.h:

Declare new wrappers.

8:00 AM Changeset in webkit [73369] by alex
  • 3 edits in trunk/WebCore

2010-12-06 Alejandro G. Castro <alex@igalia.com>

Reviewed by Martin Robinson.

[GTK] using shadows leaks memory
https://bugs.webkit.org/show_bug.cgi?id=50541

Fixed leaks in the shadow code.

  • platform/graphics/cairo/CairoUtilities.cpp: (WebCore::drawPatternToCairoContext): adoptRef instead of just getting a new reference.
  • platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::drawPathShadow): handle cairo_path_t with smart pointers.
7:59 AM Changeset in webkit [73368] by Martin Robinson
  • 2 edits in trunk/WebKit/gtk

2010-12-06 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] Build is broken after r73353
https://bugs.webkit.org/show_bug.cgi?id=50568

Fix the gtk-doc build by making all members of the cache model
enum public. gtk-doc does not support making only some enum
members private. We should also expose it so that users querying
the cache model do not get mysterious, undocumented results.

  • webkit/webkitwebview.h: Fix gtk-doc for the cache model enum.
7:41 AM Changeset in webkit [73367] by alex
  • 2 edits in trunk/WebKitTools

2010-12-06 Alejandro G. Castro <alex@igalia.com>

Reviewed by Martin Robinson.

[GTK] Fix GtkLauncher.c style, use webkit style
https://bugs.webkit.org/show_bug.cgi?id=50542

  • GtkLauncher/main.c: (activateUriEntryCb): (updateTitle): (linkHoverCb): (notifyTitleCb): (notifyLoadStatusCb): (notifyProgressCb): (destroyCb): (goBackCb): (goForwardCb): (create_webViewCb): (webViewReadyCb): (closeWebViewCb): (createBrowser): (createStatusbar): (createToolbar): (createWindow): (main):
7:40 AM Changeset in webkit [73366] by yurys@chromium.org
  • 11 edits in trunk/WebCore

2010-12-06 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

[v8] Web Inspector: remove duplicate code for capturing stack trace
https://bugs.webkit.org/show_bug.cgi?id=50461

No new tests. Covered with existing inspector tests.

  • bindings/js/ScriptCallStackFactory.cpp: (WebCore::createScriptCallStack):
  • bindings/js/ScriptCallStackFactory.h:
  • bindings/v8/ScriptCallStackFactory.cpp: (WebCore::toScriptCallFrame): (WebCore::toScriptCallFramesVector): (WebCore::createScriptCallStack):
  • bindings/v8/ScriptCallStackFactory.h:
  • bindings/v8/V8ConsoleMessage.cpp: (WebCore::V8ConsoleMessage::handler):
  • inspector/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::ScriptCallFrame): (WebCore::ScriptCallFrame::isEqual): (WebCore::ScriptCallFrame::buildInspectorObject):
  • inspector/ScriptCallFrame.h: (WebCore::ScriptCallFrame::sourceURL):
  • inspector/ScriptCallStack.h:
  • inspector/TimelineRecordFactory.cpp: (WebCore::TimelineRecordFactory::createGenericRecord):
  • inspector/front-end/ConsoleView.js: (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement):
7:06 AM Changeset in webkit [73365] by Csaba Osztrogonác
  • 1 edit
    4 adds in trunk/LayoutTests

Unreviewed.

Add Qt specific expected result for test introduced in r73257.

  • platform/qt/media/controls-without-preload-expected.checksum: Added.
  • platform/qt/media/controls-without-preload-expected.png: Added.
  • platform/qt/media/controls-without-preload-expected.txt: Added.
7:04 AM Changeset in webkit [73364] by yurys@chromium.org
  • 2 edits in branches/chromium/597/WebCore/inspector/front-end

Merge 73229 - 2010-12-02 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Fix heap snapshots loading. Loading is now
conducted by the Profiles panel which prevents accidental
simultaneous attempts to load the same profile several times in
parallel.

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

  • inspector/front-end/HeapSnapshotView.js: (WebInspector.HeapSnapshotView.prototype._loadProfile): (WebInspector.HeapSnapshotView.prototype.processLoadedSnapshot):
  • inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype.loadHeapSnapshot): (WebInspector.ProfilesPanel.prototype.addHeapSnapshotChunk): (WebInspector.ProfilesPanel.prototype.finishHeapSnapshot):

TBR=mnaganov@chromium.org
Review URL: http://codereview.chromium.org/5657001

6:52 AM Changeset in webkit [73363] by Csaba Osztrogonác
  • 2 edits
    2 copies in trunk

Unreviewed.

WebCore: == Rolled over to ChangeLog-2010-12-06 ==
LayoutTests: == Rolled over to ChangeLog-2010-12-06 ==

6:47 AM Changeset in webkit [73362] by yael.aharon@nokia.com
  • 3 edits
    21 adds in trunk

[Qt] Support focus ring outline color for links.
https://bugs.webkit.org/show_bug.cgi?id=50428

Reviewed by Andreas Kling.

WebCore:

Take width and offset into account when drawing focus ring.

Tests: fast/css/focus-ring-outline-color.html

fast/css/focus-ring-outline-offset.html
fast/css/focus-ring-outline-width.html

  • platform/graphics/qt/GraphicsContextQt.cpp:

(WebCore::GraphicsContext::drawFocusRing):

LayoutTests:

  • fast/css/focus-ring-outline-color.html: Added.
  • fast/css/focus-ring-outline-offset.html: Added.
  • fast/css/focus-ring-outline-width.html: Added.
  • platform/mac/fast/css/focus-ring-outline-color-expected.checksum: Added.
  • platform/mac/fast/css/focus-ring-outline-color-expected.png: Added.
  • platform/mac/fast/css/focus-ring-outline-color-expected.txt: Added.
  • platform/mac/fast/css/focus-ring-outline-offset-expected.checksum: Added.
  • platform/mac/fast/css/focus-ring-outline-offset-expected.png: Added.
  • platform/mac/fast/css/focus-ring-outline-offset-expected.txt: Added.
  • platform/mac/fast/css/focus-ring-outline-width-expected.checksum: Added.
  • platform/mac/fast/css/focus-ring-outline-width-expected.png: Added.
  • platform/mac/fast/css/focus-ring-outline-width-expected.txt: Added.
  • platform/qt/fast/css/focus-ring-outline-color-expected.checksum: Added.
  • platform/qt/fast/css/focus-ring-outline-color-expected.png: Added.
  • platform/qt/fast/css/focus-ring-outline-color-expected.txt: Added.
  • platform/qt/fast/css/focus-ring-outline-offset-expected.checksum: Added.
  • platform/qt/fast/css/focus-ring-outline-offset-expected.png: Added.
  • platform/qt/fast/css/focus-ring-outline-offset-expected.txt: Added.
  • platform/qt/fast/css/focus-ring-outline-width-expected.checksum: Added.
  • platform/qt/fast/css/focus-ring-outline-width-expected.png: Added.
  • platform/qt/fast/css/focus-ring-outline-width-expected.txt: Added.
6:33 AM Changeset in webkit [73361] by yael.aharon@nokia.com
  • 8 edits
    9 adds in trunk

[Qt] Fix focus ring outline color support
https://bugs.webkit.org/show_bug.cgi?id=50325

Reviewed by Andreas Kling.

WebCore:

  • platform/graphics/qt/GraphicsContextQt.cpp:

(WebCore::GraphicsContext::drawFocusRing):

Take the outline width into account when drawing the focus ring of image map.
Change the outline-style from dotted to solid. The default outline-width is
5 pixels, and dotted lines just don't make sense anymore.
Give the focus ring alpha of 50%, following what other ports do.
Save and restore the pen when drawing a focus ring.

LayoutTests:

  • platform/qt/Skipped:
  • platform/qt/fast/images/imagemap-focus-ring-expected.checksum:
  • platform/qt/fast/images/imagemap-focus-ring-expected.png:
  • platform/qt/fast/images/imagemap-focus-ring-outline-color-expected.checksum: Added.
  • platform/qt/fast/images/imagemap-focus-ring-outline-color-expected.png: Added.
  • platform/qt/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
  • platform/qt/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.checksum: Added.
  • platform/qt/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png: Added.
  • platform/qt/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
  • platform/qt/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.checksum: Added.
  • platform/qt/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png: Added.
  • platform/qt/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
  • platform/qt/fast/images/imagemap-focus-ring-zoom-expected.checksum:
  • platform/qt/fast/images/imagemap-focus-ring-zoom-expected.png:
5:45 AM Changeset in webkit [73360] by yael.aharon@nokia.com
  • 3 edits in trunk/LayoutTests

Unreviewed.

Added a proper mime-type to images.

  • platform/qt/fast/images/imagemap-focus-ring-expected.png: Added property svn:mime-type.
  • platform/qt/fast/images/imagemap-focus-ring-zoom-expected.png: Added property svn:mime-type.
5:21 AM Changeset in webkit [73359] by Csaba Osztrogonác
  • 1 edit
    6 adds in trunk/LayoutTests

Unreviewed.

Add Qt specific expected results for tests introduced in r73296.
Compared to Mac png files and Mac expected files.

  • platform/qt/fast/multicol/span/anonymous-before-child-parent-crash-expected.checksum: Added.
  • platform/qt/fast/multicol/span/anonymous-before-child-parent-crash-expected.png: Added.
  • platform/qt/fast/multicol/span/anonymous-before-child-parent-crash-expected.txt: Added.
  • platform/qt/fast/multicol/span/anonymous-split-block-crash-expected.checksum: Added.
  • platform/qt/fast/multicol/span/anonymous-split-block-crash-expected.png: Added.
  • platform/qt/fast/multicol/span/anonymous-split-block-crash-expected.txt: Added.
5:19 AM Changeset in webkit [73358] by abecsi@webkit.org
  • 2 edits in trunk/WebCore

2010-12-06 Andras Becsi <abecsi@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt][V8] Build fix after r73283.

No new tests needed.

  • WebCore.pri: Add missing webaudio directory to IDL generator includes.
4:31 AM Changeset in webkit [73357] by Philippe Normand
  • 2 edits in trunk/WebCore

2010-12-06 Philippe Normand <pnormand@igalia.com>

Reviewed by Martin Robinson.

[soup] implement ResourceHandle::platformSetDefersLoading
https://bugs.webkit.org/show_bug.cgi?id=44158

  • platform/network/soup/ResourceHandleSoup.cpp: (WebCore::ResourceHandle::platformSetDefersLoading): Implemented using the soup_session_{,un}pause_message APIs.
4:24 AM Changeset in webkit [73356] by sergio@webkit.org
  • 2 edits in trunk/WebCore

2010-12-06 Sergio Villar Senin <svillar@igalia.com>

Reviewed by Martin Robinson.

[GTK] Leak in webkit_soup_cache_load if file contents load fails
https://bugs.webkit.org/show_bug.cgi?id=50558

g_file_get_contents() could return an error after allocating a
buffer for file contents. We must free that memory before
returning.

  • platform/network/soup/cache/webkit/soup-cache.c: (webkit_soup_cache_load): Added a missing g_free().
3:59 AM Changeset in webkit [73355] by yurys@chromium.org
  • 11 edits in trunk/WebCore

2010-12-06 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73351.
http://trac.webkit.org/changeset/73351
https://bugs.webkit.org/show_bug.cgi?id=50560

"The change broke plugin tests in Chromium" (Requested by
yurys on #webkit).

  • bindings/js/ScriptCallStackFactory.cpp: (WebCore::ScriptCallStack::stackTrace):
  • bindings/js/ScriptCallStackFactory.h:
  • bindings/v8/ScriptCallStackFactory.cpp: (WebCore::toScriptCallFrame): (WebCore::toScriptCallFramesVector): (WebCore::createScriptCallStack): (WebCore::ScriptCallStack::stackTrace):
  • bindings/v8/ScriptCallStackFactory.h:
  • bindings/v8/V8ConsoleMessage.cpp: (WebCore::V8ConsoleMessage::handler):
  • inspector/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::ScriptCallFrame): (WebCore::ScriptCallFrame::isEqual): (WebCore::ScriptCallFrame::buildInspectorObject):
  • inspector/ScriptCallFrame.h: (WebCore::ScriptCallFrame::sourceURL):
  • inspector/ScriptCallStack.h:
  • inspector/TimelineRecordFactory.cpp: (WebCore::TimelineRecordFactory::createGenericRecord):
  • inspector/front-end/ConsoleView.js: (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement):
3:23 AM Changeset in webkit [73354] by Martin Robinson
  • 2 edits in trunk/WebKit/gtk

2010-12-06 Derek Weitzel <djw8605@gmail.com>

Reviewed by Martin Robinson.

[GTK] API Documentation referencing depreciated GTK_WIDGET_TOPLEVEL
https://bugs.webkit.org/show_bug.cgi?id=50512

Fixed reference to depreciated GTK_WIDGET_TOPLEVEL.

  • webkit/webkitwebview.cpp:
3:18 AM Changeset in webkit [73353] by Martin Robinson
  • 5 edits in trunk/WebKit/gtk

2010-12-06 Joone Hur <joone@kldp.org>

Reviewed by Xan Lopez.

[GTK] The webkit cache model needs to be set when WebFrameLoaderClient::didPerformFirstNavigation() is called
https://bugs.webkit.org/show_bug.cgi?id=50430

  • WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::didPerformFirstNavigation): Set the webview cache model.
  • webkit/webkitprivate.cpp: (webkit_init): Removed the code of setting the webview cache model.
2:55 AM QtWebKitFeaturePlanning edited by Henry Haverinen
(diff)
2:24 AM Changeset in webkit [73352] by Csaba Osztrogonác
  • 2 edits in trunk/WebCore

[Qt] Report zero width for zero size fonts

Patch by Robert Hogan <robert@webkit.org> on 2010-12-06
Reviewed by Kenneth Rohde Christiansen.

Report zero width when font size is zero.

Fixes fast/text/font-size-zero.html

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

  • platform/graphics/qt/FontQt.cpp:

(WebCore::Font::floatWidthForSimpleText):
(WebCore::Font::floatWidthForComplexText):

2:13 AM Changeset in webkit [73351] by yurys@chromium.org
  • 11 edits in trunk/WebCore

2010-12-03 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

[v8] Web Inspector: remove duplicate code for capturing stack trace
https://bugs.webkit.org/show_bug.cgi?id=50461

No new tests. Covered with existing inspector tests.

  • bindings/js/ScriptCallStackFactory.cpp: (WebCore::createScriptCallStack):
  • bindings/js/ScriptCallStackFactory.h:
  • bindings/v8/ScriptCallStackFactory.cpp: (WebCore::toScriptCallFrame): (WebCore::toScriptCallFramesVector): (WebCore::createScriptCallStack):
  • bindings/v8/ScriptCallStackFactory.h:
  • bindings/v8/V8ConsoleMessage.cpp: (WebCore::V8ConsoleMessage::handler):
  • inspector/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::ScriptCallFrame): (WebCore::ScriptCallFrame::isEqual): (WebCore::ScriptCallFrame::buildInspectorObject):
  • inspector/ScriptCallFrame.h: (WebCore::ScriptCallFrame::sourceURL):
  • inspector/ScriptCallStack.h:
  • inspector/TimelineRecordFactory.cpp: (WebCore::TimelineRecordFactory::createGenericRecord):
  • inspector/front-end/ConsoleView.js: (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement):
2:03 AM BuildingQtOnWindows edited by jocelyn.turcotte@nokia.com
(diff)
2:01 AM BuildingQtOnWindows edited by jocelyn.turcotte@nokia.com
(diff)
1:50 AM BuildingQtOnSymbian edited by jocelyn.turcotte@nokia.com
QtLauncher --> QtTestBrowser (diff)
1:49 AM BuildingQtOnWindows edited by jocelyn.turcotte@nokia.com
QtLauncher --> QtTestBrowser (diff)
1:42 AM Changeset in webkit [73350] by sergio@webkit.org
  • 2 edits in trunk/WebCore

2010-12-06 Sergio Villar Senin <svillar@igalia.com>

Reviewed by Martin Robinson.

[GTK] webkit_soup_cache_clear() does not delete all entries in the cache
https://bugs.webkit.org/show_bug.cgi?id=50462

Do not use g_hash_table_foreach to remove entries from the cache
entries hashtable. Iterate over a list of entries to remove them
from the hash table.

  • platform/network/soup/ResourceHandleSoup.cpp:
  • platform/network/soup/cache/webkit/soup-cache.c: (remove_cache_item): (webkit_soup_cache_finalize): (clear_cache_item): (webkit_soup_cache_clear):

Dec 5, 2010:

9:15 PM Changeset in webkit [73349] by tkent@chromium.org
  • 2 edits in trunk/WebCore

2010-12-05 Kent Tamura <tkent@chromium.org>

Unreviewed. Run sort-Xcode-project-file.

  • WebCore.xcodeproj/project.pbxproj:
5:21 PM Changeset in webkit [73348] by tonikitoo@webkit.org
  • 9 edits in trunk

2010-12-04 Antonio Gomes <agomes@rim.com>

Reviewed by Martin Robinson.

[Gtk] Populate DumpRenderTreeSupportGtk (Part II)
https://bugs.webkit.org/show_bug.cgi?id=48429

Moved more private method declared with WEBKIT_API to
DumpRenderTreeSupportGtk, since they were only being used by DRT.

WebKit:

  • WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::executeCoreCommandByName): (DumpRenderTreeSupportGtk::isCommandEnabled): (DumpRenderTreeSupportGtk::whiteListAccessFromOrigin): (DumpRenderTreeSupportGtk::resetOriginAccessWhiteLists):
  • WebCoreSupport/DumpRenderTreeSupportGtk.h:
  • webkit/webkitprivate.cpp:
  • webkit/webkitprivate.h:
  • webkit/webkitwebview.cpp:

WebKitTools:

  • DumpRenderTree/gtk/DumpRenderTree.cpp: (resetDefaultsToConsistentValues):
  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::addOriginAccessWhitelistEntry): (LayoutTestController::execCommand): (LayoutTestController::isCommandEnabled):
5:21 PM Changeset in webkit [73347] by tonikitoo@webkit.org
  • 2 edits in trunk/WebKitTools

2010-12-04 Antonio Gomes <agomes@rim.com>

Reviewed by Andreas Kling.

Removed extern webkit_web_view_set_group_name from gtk/DumpRenderTree.cpp

Method was removed by http://trac.webkit.org/changeset/71604

  • DumpRenderTree/gtk/DumpRenderTree.cpp:
5:14 PM Changeset in webkit [73346] by luiz@webkit.org
  • 17 edits
    9 adds in trunk/WebCore

2010-11-30 Luiz Agostini <luiz.agostini@openbossa.org>

Reviewed by Darin Adler.

HTML5 <details> and <summary> initial implementation
https://bugs.webkit.org/show_bug.cgi?id=50309

HTML5 <details> and <summary> elements initial implementation. The main objective is
to add the files for html element and renderers, and to get rid of build system issues
in future patches.

See: http://www.w3.org/TR/html5/interactive-elements.html#the-details-element

http://www.w3.org/TR/html5/interactive-elements.html#the-summary-element

build systems

  • CMakeLists.txt:
  • DerivedSources.cpp:
  • DerivedSources.make:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pri:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/gobject/GNUmakefile.am:

Some css properties to the new html elements.

  • css/html.css: (details): (summary):

New html element associated with the corresponding tag.

  • html/HTMLAttributeNames.in:
  • html/HTMLTagNames.in:

1 html element and 3 renderers were added.

  • html/HTMLDetailsElement.cpp: Added.
  • html/HTMLDetailsElement.h: Added.
  • html/HTMLDetailsElement.idl: Added.
  • html/HTMLElementsAllInOne.cpp:
  • rendering/RenderDetails.cpp: Added.
  • rendering/RenderDetails.h: Added.
  • rendering/RenderDetailsMarker.cpp: Added.
  • rendering/RenderDetailsMarker.h: Added.
  • rendering/RenderSummary.cpp: Added.
  • rendering/RenderSummary.h: Added.
  • rendering/RenderingAllInOne.cpp:

New renderer type checkers.

  • rendering/RenderObject.h: (WebCore::RenderObject::isDetails): (WebCore::RenderObject::isDetailsMarker): (WebCore::RenderObject::isSummary):
12:13 PM Changeset in webkit [73345] by rwlbuis@webkit.org
  • 6 edits in trunk

2010-12-05 Rob Buis <rwlbuis@gmail.com>

Reviewed by Nikolas Zimmermann.

createSVGTransformFromMatrix(undefined) => NULL ptr
https://bugs.webkit.org/show_bug.cgi?id=49564

Throw TYPE_MISMATCH_ERR when using undefined or null as value for matrix parameter.

  • svg/SVGTransformList.idl:
  • svg/properties/SVGTransformListPropertyTearOff.h: (WebCore::SVGTransformListPropertyTearOff::createSVGTransformFromMatrix):
11:21 AM Changeset in webkit [73344] by alex
  • 5 edits in trunk

2010-12-05 Alejandro G. Castro <alex@igalia.com>

Reviewed by Xan Lopez.

[GTK] Fix compilation warnings reported by clang
https://bugs.webkit.org/show_bug.cgi?id=50252

  • platform/graphics/Path.h: CairoPath is now a class, not a struct.
  • platform/network/soup/ResourceHandleSoup.cpp: (WebCore::sendRequestCallback): Cast the status_code to int.

2010-12-05 Alejandro G. Castro <alex@igalia.com>

Reviewed by Xan Lopez.

[GTK] Fix compilation warnings reported by clang
https://bugs.webkit.org/show_bug.cgi?id=50252

  • GtkLauncher/main.c: (create_window): The create_statusbar function does not have parameters.
10:43 AM Changeset in webkit [73343] by alex
  • 2 edits in trunk/WebCore

2010-12-05 Alejandro G. Castro <alex@igalia.com>

Reviewed by Martin Robinson.

[GTK] Remove setColor functions it was replicated in
CairoUtilities: setSourceRGBAFromColor.

  • platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::setPlatformFill): (WebCore::setPlatformStroke): (WebCore::fillRectSourceOver): (WebCore::GraphicsContext::drawRect): (WebCore::GraphicsContext::drawLine): (WebCore::GraphicsContext::drawEllipse): (WebCore::GraphicsContext::strokeArc): (WebCore::GraphicsContext::drawConvexPolygon): (WebCore::GraphicsContext::drawFocusRing): (WebCore::GraphicsContext::fillRoundedRect):
10:28 AM Changeset in webkit [73342] by Adam Roben
  • 8 edits in trunk

Windows production build fix

Put spaces after trailing backslashes when setting
%WebKitVSPropsRedirectionDir%. According to MSDN
<http://msdn.microsoft.com/en-us/library/2kzfk8c7(v=VS.80).aspx>:

A backslash ( \ ) followed by a newline character is interpreted as
a space in the command; use a backslash at the end of a line to
continue a command onto the next line. NMAKE interprets the
backslash literally if any other character, including a space or
tab, follows the backslash.

JavaScriptCore:

WebCore:

  • WebCore.vcproj/WebCore.make:

WebKit/win:

  • WebKit.vcproj/WebKit.make:

WebKit2:

  • win/WebKit2.make:
7:10 AM Changeset in webkit [73341] by robert@webkit.org
  • 8 edits in trunk

2010-12-05 Robert Hogan <robert@webkit.org>

Reviewed by Andreas Kling.

[Qt] Zero-sized font does not yet work

Fix fast/text/font-size-zero.html

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

  • platform/qt/Skipped:

2010-12-05 Robert Hogan <robert@webkit.org>

Reviewed by Andreas Kling.

[Qt] Zero-sized font does not yet work

Fix fast/text/font-size-zero.html

Copy other ports by setting minimumFontSize to 0 for DRT runs,
copy a fix to SimpleFontData from chromium/safari, and set font
size in FontPlatformData to zero if size zero is requested
and QFont::pixelSize otherwise. (Note that QFont doesn't accept
a pixel size of zero).

Also fix QFont::setPixelSize in FontPlatformData to use
description.computedPixelSize rather than computedSize and
pixelSize() rather than pointSizeF - since the latter gets
set to -1 if pixelSize is set at all.

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

  • platform/graphics/qt/FontPlatformData.h: (WebCore::FontPlatformDataPrivate::FontPlatformDataPrivate): (WebCore::FontPlatformData::pixelSize):
  • platform/graphics/qt/FontPlatformDataQt.cpp: (WebCore::FontPlatformData::FontPlatformData):
  • platform/graphics/qt/FontQt.cpp: (WebCore::drawTextCommon):
  • platform/graphics/qt/SimpleFontDataQt.cpp: (WebCore::SimpleFontData::platformInit): (WebCore::SimpleFontData::platformGlyphInit): (WebCore::SimpleFontData::platformCharWidthInit):

2010-12-05 Robert Hogan <robert@webkit.org>

Reviewed by Andreas Kling.

[Qt] Zero-sized font does not yet work

Fix fast/text/font-size-zero.html

Copy other ports by setting minimumFontSize to 0 for DRT runs.

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

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::WebPage::WebPage):

Dec 4, 2010:

10:22 PM Changeset in webkit [73340] by dbates@webkit.org
  • 2 edits in trunk/LayoutTests

2010-12-04 Daniel Bates <dbates@rim.com>

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

Inadvertently committed the wrong results for test case fast/lists/w3-css3-list-styles-fallback-style.html
in <http://trac.webkit.org/changeset/73339>.

  • fast/lists/w3-css3-list-styles-fallback-style-expected.txt: Rebased results.
9:57 PM Changeset in webkit [73339] by dbates@webkit.org
  • 3 edits in trunk/LayoutTests

2010-12-04 Daniel Bates <dbates@rim.com>

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

Update test case and result for fast/lists/w3-css3-list-styles-fallback-style.html
since we now support list style types lower-armenian and upper-armenian.

  • fast/lists/w3-css3-list-styles-fallback-style-expected.txt:
  • fast/lists/w3-css3-list-styles-fallback-style.html:
9:12 PM Changeset in webkit [73338] by dbates@webkit.org
  • 7 edits
    4 adds in trunk

2010-12-04 Daniel Bates <dbates@rim.com>

Reviewed by Darin Adler.

Add support for lower-armenian and upper-armenian
https://bugs.webkit.org/show_bug.cgi?id=49641

Implement support for list-style-types lower-armenian and upper-armenian
for lowercase Armenian and uppercase Armenian numerals, respectively.

Tests: fast/lists/w3-css3-lower-armenian.html

fast/lists/w3-css3-upper-armenian.html

  • css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Added enum values LowerArmenian and UpperArmenian.
  • css/CSSValueKeywords.in: Added "upper-armenian" and "lower-armenian".
  • inspector/front-end/SourceCSSTokenizer.re2js: Ditto.
  • rendering/RenderListMarker.cpp: (WebCore::effectiveListMarkerType): Added enum values LowerArmenian and UpperArmenian. (WebCore::listMarkerSuffix): Ditto. (WebCore::listMarkerText): Ditto. (WebCore::RenderListMarker::paint): Ditto. (WebCore::RenderListMarker::computePreferredLogicalWidths): Ditto. (WebCore::RenderListMarker::getRelativeMarkerRect): Ditto.
  • rendering/style/RenderStyleConstants.h: Ditto.

2010-12-04 Daniel Bates <dbates@rim.com>

Reviewed by Darin Adler.

Add support for lower-armenian and upper-armenian
https://bugs.webkit.org/show_bug.cgi?id=49641

Tests cases for lower-armenian and upper-armenian list-style-types
derived from the HTML+CSS Internationalization Tests "lower-armenian, up to 9,999",
and "armenian, up to 9,999", respectively.

See <http://www.w3.org/International/tests/tests-html-css/list-lists>.

  • fast/lists/w3-css3-lower-armenian-expected.txt: Added.
  • fast/lists/w3-css3-lower-armenian.html: Added.
  • fast/lists/w3-css3-upper-armenian-expected.txt: Added.
  • fast/lists/w3-css3-upper-armenian.html: Added.
7:21 PM Changeset in webkit [73337] by mitz@apple.com
  • 10 edits in trunk

2010-12-04 Dan Bernstein <mitz@apple.com>

Reviewed by Sam Weinig.

WebKit part of <rdar://problem/8145955> Add text search API for counting/marking/highlighting matches in a range
https://bugs.webkit.org/show_bug.cgi?id=50530

  • WebView/WebDocumentInternal.h: Added a DOMRange parameter to -countMatchesForText:options:limit:markMatches:
  • WebView/WebHTMLView.mm: (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]): Added DOMRange parameter, which is passed through to WebCore.
  • WebView/WebPDFView.mm: (isFrameInRange): Added this helper function. (-[WebPDFView countMatchesForText:inDOMRange:options:limit:markMatches:]): Added DOMRange parameter and a check if the frame is in the range.
  • WebView/WebView.mm: (-[WebView countMatchesForText:options:highlight:limit:markMatches:]): Now calls the inDOMRange: version. (-[WebView countMatchesForText:inDOMRange:options:highlight:limit:markMatches:]): Added DOMRange parameter, which is passed to document views' -countMatchesForText:inDOMRange:options:limit:markMatches:.
  • WebView/WebViewPrivate.h:

2010-12-04 Dan Bernstein <mitz@apple.com>

Reviewed by Sam Weinig.

WebCore part of <rdar://problem/8145955> Add text search API for counting/marking/highlighting matches in a range
https://bugs.webkit.org/show_bug.cgi?id=50530

  • WebCore.exp.in: Export Range version of countMatchesForText().
  • editing/Editor.cpp: (WebCore::isFrameInRange): Added this helper method. (WebCore::Editor::countMatchesForText): Added a Range parameter and restricted the result to matches that occur in the range.
  • editing/Editor.h:
1:51 PM Changeset in webkit [73336] by weinig@apple.com
  • 24 edits
    2 adds in trunk

WebKit2: Need client functions to notify app when the url changes due to a fragment navigation
https://bugs.webkit.org/show_bug.cgi?id=50511

Reviewed by Jon Honeycutt.

WebKit2:

Pipe didChangeLocationWithinPageForFrame up through the UIProcess to the WKPageLoadClient,
updating the WebFrameProxy's URL on the way.

Test: PageLoadDidChangeLocationWithinPageForFrame

  • UIProcess/API/C/WKPage.h:
  • UIProcess/API/qt/qwkpage.cpp:

(QWKPage::QWKPage):

  • UIProcess/WebFrameProxy.cpp:

(WebKit::WebFrameProxy::didChangeURLWithoutNavigation):

  • UIProcess/WebFrameProxy.h:
  • UIProcess/WebLoaderClient.cpp:

(WebKit::WebLoaderClient::didChangeLocationWithinPageForFrame):

  • UIProcess/WebLoaderClient.h:
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::didChangeLocationWithinPageForFrame):

  • UIProcess/WebPageProxy.h:
  • UIProcess/WebPageProxy.messages.in:
  • WebProcess/InjectedBundle/API/c/WKBundlePage.h:
  • WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:

(WebKit::InjectedBundlePageLoaderClient::didChangeLocationWithinPageForFrame):
(WebKit::InjectedBundlePageLoaderClient::didDisplayInsecureContentForFrame):
(WebKit::InjectedBundlePageLoaderClient::didRunInsecureContentForFrame):

  • WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:

(WebKit::WebFrameLoaderClient::dispatchDidCancelClientRedirect): Fix typo.
(WebKit::WebFrameLoaderClient::dispatchDidChangeLocationWithinPage):

WebKitTools:

Update tools for new didChangeLocationWithinPageForFrame client function (and changed bundle
signature) and added a test for the functionality (PageLoadDidChangeLocationWithinPageForFrame.cpp)

  • MiniBrowser/mac/BrowserWindowController.m:

(didChangeLocationWithinPageForFrame):
(-[BrowserWindowController awakeFromNib]):
(-[BrowserWindowController didChangeLocationWithinPageForFrame:]):

  • TestWebKitAPI/PlatformUtilities.cpp:

(TestWebKitAPI::Util::toWK):

  • TestWebKitAPI/PlatformUtilities.h:

(TestWebKitAPI::Util::adoptWK):

  • TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  • TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp: Added.

(TestWebKitAPI::nullJavaScriptCallback):
(TestWebKitAPI::didFinishLoadForFrame):
(TestWebKitAPI::didChangeLocationWithinPageForFrame):
(TestWebKitAPI::TEST):

  • TestWebKitAPI/Tests/WebKit2/file-with-anchor.html: Added.
  • TestWebKitAPI/win/TestWebKitAPI.vcproj:
  • TestWebKitAPI/win/copy-resources.cmd:
  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:

(WTR::InjectedBundlePage::InjectedBundlePage):
(WTR::InjectedBundlePage::didChangeLocationWithinPageForFrame):

  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::initialize):

12:40 PM Changeset in webkit [73335] by commit-queue@webkit.org
  • 12 edits
    4 adds in trunk

2010-12-04 Gavin Peters <gavinp@chromium.org>

Reviewed by Adam Barth.

Implement onload events for <link rel=prefetch>
https://bugs.webkit.org/show_bug.cgi?id=50187

  • fast/dom/HTMLLinkElement/link-and-subresource-test-expected.txt: Added.
  • fast/dom/HTMLLinkElement/link-and-subresource-test.html: Added.
  • fast/dom/HTMLLinkElement/prefetch-expected.txt:
  • fast/dom/HTMLLinkElement/prefetch-onload-expected.txt: Added.
  • fast/dom/HTMLLinkElement/prefetch-onload.html: Added.
  • fast/dom/HTMLLinkElement/prefetch.html:
  • http/tests/misc/prefetch-purpose.html:
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:

2010-12-04 Gavin Peters <gavinp@chromium.org>

Reviewed by Adam Barth.

Implement onload events for <link rel=prefetch>
https://bugs.webkit.org/show_bug.cgi?id=50187

Tests: fast/dom/HTMLLinkElement/link-and-subresource-test.html

fast/dom/HTMLLinkElement/prefetch-onload.html

  • html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::HTMLLinkElement): (WebCore::HTMLLinkElement::~HTMLLinkElement): (WebCore::HTMLLinkElement::parseMappedAttribute): (WebCore::HTMLLinkElement::process): (WebCore::HTMLLinkElement::onloadTimerFired): (WebCore::HTMLLinkElement::notifyFinished):
  • html/HTMLLinkElement.h:
  • loader/cache/CachedResource.cpp: (WebCore::CachedResource::data):
11:53 AM Changeset in webkit [73334] by Patrick Gansterer
  • 2 edits in trunk/BugsSite

2010-12-04 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Barth.

Increase size of status bubbles
https://bugs.webkit.org/show_bug.cgi?id=50496

The current available space isn't enough to display all
pending results including position in the queue.

  • PrettyPatch/PrettyPatch.rb:
10:57 AM Changeset in webkit [73333] by Patrick Gansterer
  • 2 edits in trunk/JavaScriptCore

2010-12-04 Patrick Gansterer <Patrick Gansterer>

Unreviewed, build fix after r69132.

  • shell/CMakeLists.txt: Fix directory name (jsc -> shell).
7:19 AM Changeset in webkit [73332] by Patrick Gansterer
  • 2 edits in trunk

2010-12-04 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

[CMake] Better detection of ARM platform
https://bugs.webkit.org/show_bug.cgi?id=50452

  • CMakeLists.txt:
7:19 AM Changeset in webkit [73331] by Martin Robinson
  • 2 edits in trunk/LayoutTests

2010-12-04 Martin Robinson <mrobinson@igalia.com>

Fix a baseline which differs between my machine and the bots.

  • platform/gtk/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Fix differing baseline.
6:37 AM Changeset in webkit [73330] by xan@webkit.org
  • 10 edits in trunk

WebCore:

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

Reviewed by Martin Robinson.

[GTK] Drop GdkDrawable usage, it's deprecated in GTK+3.x and we can use GdkWindow
https://bugs.webkit.org/show_bug.cgi?id=50451

GdkDrawable has been removed in GTK+3.x. To cope with this we can
actually stop using it altogether, since GdkWindow is just a
typedef for it and that seems to be good enough for us.

  • platform/graphics/GraphicsContext.h: s/GdkDrawable/GdkWindow/.
  • platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::gdkWindow): ditto.
  • platform/gtk/GtkVersioning.h: declare GDK_WINDOW_XWINDOW for GTK 3.x builds.
  • platform/gtk/PlatformScreenGtk.cpp: (WebCore::screenAvailableRect): s/GdkDrawable/GdkWindow/.
  • platform/gtk/WidgetGtk.cpp: (WebCore::gdkWindow): ditto. (WebCore::Widget::setCursor): ditto.
  • platform/gtk/WidgetRenderingContextGtk2.cpp: ditto.

JavaScriptCore:

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

Reviewed by Martin Robinson.

[GTK] Drop GdkDrawable usage, it's deprecated in GTK+3.x and we can use GdkWindow
https://bugs.webkit.org/show_bug.cgi?id=50451

  • wtf/gobject/GTypedefs.h: add GdkWindow defines.
6:34 AM Changeset in webkit [73329] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2010-12-04 Philippe Normand <pnormand@igalia.com>

Unreviewed, skipping failing media test.

  • platform/gtk/Skipped: Skip media/controls-without-preload.html
6:23 AM Changeset in webkit [73328] by Martin Robinson
  • 1 edit
    2 adds in trunk/LayoutTests

2010-12-04 Martin Robinson <mrobinson@igalia.com>

Check in platform-specific results for failing RTL tests on GTK+. Comments
at https://bugs.webkit.org/show_bug.cgi?id=50352 suggest that these failing
results are fine for now.

  • platform/gtk/fast/dom/horizontal-scrollbar-in-rtl-expected.txt: Added.
  • platform/gtk/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Added.
4:15 AM Changeset in webkit [73327] by jnd@chromium.org
  • 1 edit
    2 adds in trunk/LayoutTests

2010-12-04 Johnny Ding <jnd@chromium.org>

Reviewed by Alexey Proskuryakov.

The JavaScript created (untrusted) event inside a user-initiated
(trusted) event should not cache the UserGesture status.

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

  • fast/events/popup-blocked-from-untrusted-mouse-click-expected.txt: Added.
  • fast/events/popup-blocked-from-untrusted-mouse-click.html: Added.
2:04 AM Changeset in webkit [73326] by Patrick Gansterer
  • 4 edits in trunk/BugsSite

2010-12-04 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Barth.

Increase size of status bubbles
https://bugs.webkit.org/show_bug.cgi?id=50496

The current available space isn't enough to display all
pending results including position in the queue.

  • template/en/custom/attachment/edit.html.tmpl:
  • template/en/custom/attachment/list.html.tmpl:
  • template/en/custom/attachment/reviewform.html.tmpl:

Dec 3, 2010:

9:27 PM Changeset in webkit [73325] by tonikitoo@webkit.org
  • 9 edits in trunk

[GTK+] Populate DumpRenderTreeSupportGtk
https://bugs.webkit.org/show_bug.cgi?id=48429

Reviewed by Martin Robinson.
Patch by Antonio Gomes <agomes@rim.com>

WebKit/gtk:

Moved most of the webkit_web_frame* methods defined as private APIs in webkitprivate.h
to DumpRenderTreeSupportGtk, as static class methods. These methods had
not gone throught the formal API review process and were only being used by DRT for now.

The essence of each original method name were kept. For example
webkit_web_frame_get_children(...) was renamed to DumpRenderTreeSupportGtk::getFrameChildren(...),
and so on.

Also some of the method bodies were changed to return non-glib types (gchar* -> CString).

  • WebCoreSupport/DumpRenderTreeSupportGtk.cpp:

(DumpRenderTreeSupportGtk::getFrameChildren):
(DumpRenderTreeSupportGtk::getInnerText):
(DumpRenderTreeSupportGtk::dumpRenderTree):
(DumpRenderTreeSupportGtk::counterValueForElementById):
(DumpRenderTreeSupportGtk::pageNumberForElementById):
(DumpRenderTreeSupportGtk::numberOfPagesForFrame):
(DumpRenderTreeSupportGtk::getPendingUnloadEventCount):
(DumpRenderTreeSupportGtk::pauseAnimation):
(DumpRenderTreeSupportGtk::pauseTransition):
(DumpRenderTreeSupportGtk::pauseSvgAnimation):
(DumpRenderTreeSupportGtk::markerTextForListItem):
(DumpRenderTreeSupportGtk::numberOfActiveAnimations):
(DumpRenderTreeSupportGtk::suspendAnimations):
(DumpRenderTreeSupportGtk::resumeAnimations):
(DumpRenderTreeSupportGtk::clearMainFrameName):
(DumpRenderTreeSupportGtk::getFocusedAccessibleElement):

  • WebCoreSupport/DumpRenderTreeSupportGtk.h:
  • webkit/webkitprivate.h:
  • webkit/webkitwebframe.cpp:

WebKitTools:

Made the previous calls to webkit_web_frame* functions defined as private
APIs in webkitprivate.h go through DRTSupportGtk.

  • DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:

(AccessibilityController::focusedElement):

  • DumpRenderTree/gtk/DumpRenderTree.cpp:

(dumpFramesAsText):
(resetDefaultsToConsistentValues):
(dump):
(webViewDocumentLoadFinished):

  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:

(LayoutTestController::counterValueForElementById):
(LayoutTestController::pageNumberForElementById):
(LayoutTestController::numberOfPages):
(LayoutTestController::pauseAnimationAtTimeOnElementWithId):
(LayoutTestController::pauseTransitionAtTimeOnElementWithId):
(LayoutTestController::sampleSVGAnimationForElementAtTime):
(LayoutTestController::numberOfActiveAnimations):
(LayoutTestController::suspendAnimations):
(LayoutTestController::resumeAnimations):
(LayoutTestController::markerTextForListItem):

7:19 PM Changeset in webkit [73324] by timothy@apple.com
  • 12 edits in trunk/WebKit2

Make the Web Inspector window show and be usable on Mac.

https://webkit.org/b/50490

Reviewed by Sam Weinig.

  • UIProcess/WebInspectorProxy.cpp:

(WebKit::WebInspectorProxy::invalidate): Call platformClose.
(WebKit::WebInspectorProxy::didLoadInspectorPage): Call platformOpen.
(WebKit::WebInspectorProxy::didClose): Call platformClose.

  • UIProcess/WebInspectorProxy.h:
  • UIProcess/WebInspectorProxy.messages.in: Added DidClose.
  • UIProcess/mac/WebInspectorProxyMac.mm:

(-[WebInspectorProxyObjCAdapter initWithWebInspectorProxy:]): Added.
(-[WebInspectorProxyObjCAdapter windowWillClose:]): Added. Call WebInspectorProxy::close.
(WebKit::WebInspectorProxy::platformOpen): Added.
(WebKit::WebInspectorProxy::platformClose): Added.

  • UIProcess/qt/WebInspectorProxyQt.cpp:

(WebKit::WebInspectorProxy::platformOpen): Added stub.
(WebKit::WebInspectorProxy::platformClose): Added stub.

  • UIProcess/win/WebInspectorProxyWin.cpp:

(WebKit::WebInspectorProxy::platformOpen): Added stub.
(WebKit::WebInspectorProxy::platformClose): Added stub.

  • WebProcess/WebCoreSupport/WebInspectorClient.cpp:

(WebKit::WebInspectorClient::sendMessageToFrontend): Added more null checks to avoid a crash.

  • WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp:

(WebKit::WebInspectorFrontendClient::closeWindow): Call WebInspector::didClose.
(WebKit::WebInspectorFrontendClient::disconnectFromBackend): Ditto.
(WebKit::WebInspectorFrontendClient::sendMessageToBackend): Removed. This does not need to be
implemented by our subclass since we are in a single process.

  • WebProcess/WebCoreSupport/WebInspectorFrontendClient.h: Removed sendMessageToBackend.
  • WebProcess/WebPage/WebInspector.cpp:

(WebKit::WebInspector::didClose): Added. Send a DidClose message to the UI process.

  • WebProcess/WebPage/WebInspector.h:
6:46 PM Changeset in webkit [73323] by barraclough@apple.com
  • 8 edits in trunk/JavaScriptCore

Bug 50509 - set* methods on MacroAssembler are awfully named.

Rubber stamped by Oliver Hunt.

Methods set32 and setTest32 compare 32-bit operands, and set a 32-bit results based on the comparison.
set8 compares 32-bit operands, and sets an 8-bit result based on the comparison.
setTest8 compares 8-bit operands, and sets a 32-bit result based on the comparison.

Rename to clarify.

set32 -> set32Compare32
setTest32 -> set32Test32
set8 -> set8Compare32
setTest8 -> set32Test8

  • assembler/MacroAssembler.h:

(JSC::MacroAssembler::setPtr):

  • assembler/MacroAssemblerARM.h:

(JSC::MacroAssemblerARM::set32Compare32):
(JSC::MacroAssemblerARM::set8Compare32):
(JSC::MacroAssemblerARM::set32Test32):
(JSC::MacroAssemblerARM::set32Test8):

  • assembler/MacroAssemblerARMv7.h:

(JSC::MacroAssemblerARMv7::set32Compare32):
(JSC::MacroAssemblerARMv7::set8Compare32):
(JSC::MacroAssemblerARMv7::set32Test32):
(JSC::MacroAssemblerARMv7::set32Test8):

  • assembler/MacroAssemblerMIPS.h:

(JSC::MacroAssemblerMIPS::set8Compare32):
(JSC::MacroAssemblerMIPS::set32Compare32):
(JSC::MacroAssemblerMIPS::set32Test8):
(JSC::MacroAssemblerMIPS::set32Test32):

  • assembler/MacroAssemblerX86Common.h:

(JSC::MacroAssemblerX86Common::set8Compare32):
(JSC::MacroAssemblerX86Common::set32Compare32):
(JSC::MacroAssemblerX86Common::set32Test8):
(JSC::MacroAssemblerX86Common::set32Test32):

  • jit/JITOpcodes.cpp:

(JSC::JIT::emit_op_eq):
(JSC::JIT::emit_op_neq):
(JSC::JIT::compileOpStrictEq):
(JSC::JIT::emit_op_eq_null):
(JSC::JIT::emit_op_neq_null):

  • jit/JITOpcodes32_64.cpp:

(JSC::JIT::emit_op_eq):
(JSC::JIT::emit_op_neq):
(JSC::JIT::compileOpStrictEq):
(JSC::JIT::emit_op_eq_null):
(JSC::JIT::emit_op_neq_null):

6:45 PM Changeset in webkit [73322] by Martin Robinson
  • 1 edit
    1 add in trunk/LayoutTests

2010-12-03 Martin Robinson <mrobinson@igalia.com>

Add a platform-specific baseline for GTK+ after r73128. This test
just click at a predetermined location in the middle of the text field.
Since GTK+ font sizes differ from other ports, the text selected differs.

  • platform/gtk/fast/forms/onselect-textarea-expected.txt: Added.
6:05 PM Changeset in webkit [73321] by oliver@apple.com
  • 3 edits in trunk/JavaScriptCore

2010-12-03 Oliver Hunt <oliver@apple.com>

Reviewed by Geoff Garen.

Incorrect logic for returning memory at the end of linking.
Reviewed by Geoff Garen.

At the end of linking we return any space at the end of the
allocated executable region that was saved due to branch
compaction. This is currently by done by subtracting the
different from the m_freePtr in the allocation pool. This
can be incorrect if your allocation was made from a new
page that was not selected for subsequent allocations.

This patch corrects this behaviour by verifying that the
memory being returned actually comes from the current
allocation pool.

  • assembler/LinkBuffer.h: (JSC::LinkBuffer::linkCode):
  • jit/ExecutableAllocator.h: (JSC::ExecutablePool::tryShrink):
5:46 PM Changeset in webkit [73320] by mihaip@chromium.org
  • 5 edits in trunk/WebKitTools

2010-12-03 Mihai Parparita <mihaip@chromium.org>

Reviewed by Tony Chang.

Rebaseline server: use pretty text diff output
https://bugs.webkit.org/show_bug.cgi?id=50484

Serve *-pretty-diff.html for text diff output.

  • Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
  • Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
  • Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
  • Scripts/webkitpy/tool/commands/rebaselineserver.py:
4:11 PM Changeset in webkit [73319] by Dimitri Glazkov
  • 3 edits
    2 adds in trunk

2010-12-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

REGRESSION(r71934): input event fires twice when editing text inside a text input.
https://bugs.webkit.org/show_bug.cgi?id=50477

  • fast/forms/text-input-event-expected.txt: Added.
  • fast/forms/text-input-event.html: Added.

2010-12-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

REGRESSION(r71934): input event fires twice when editing text inside a text input.
https://bugs.webkit.org/show_bug.cgi?id=50477

Now that events escape the shadow DOM boundary, the input event is fired twice
for each input, once triggered by editing, once triggered by value change.

Test: fast/forms/text-input-event.html

  • dom/InputElement.cpp: (WebCore::InputElement::setValueFromRenderer): Added a check to ensure editable fields

don't fire an extra input event.

4:04 PM Changeset in webkit [73318] by andersca@apple.com
  • 5 edits in trunk/WebKit2

Clean up the BackingStore implementation
https://bugs.webkit.org/show_bug.cgi?id=50498

Reviewed by Sam Weinig and Dan Bernstein.

  • Shared/BackingStore.cpp:

(WebKit::BackingStore::create):
(WebKit::BackingStore::createSharable):
(WebKit::BackingStore::resize):
Use new numBytesForSize helper function.

(WebKit::BackingStore::createFlippedGraphicsContext):
Make this function platform independent.

  • Shared/BackingStore.h:

(WebKit::BackingStore::numBytesForSize):
Given a size, return the number of bytes needed for it.

(WebKit::BackingStore::sizeInBytes):
Implement.

  • Shared/cg/BackingStoreCG.cpp:

(WebKit::BackingStore::paint):
Don't use CGBitmapContextCreateImage; it creates an extra copy of the image data.

  • Shared/qt/BackingStoreQt.cpp:

Remove createFlippedGraphicsContext.

4:01 PM Changeset in webkit [73317] by commit-queue@webkit.org
  • 14 edits in trunk

2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73302.
http://trac.webkit.org/changeset/73302
https://bugs.webkit.org/show_bug.cgi?id=50499

Causes crashes in debug LayoutTests (Requested by xan_ on
#webkit).

  • platform/win/Skipped:

2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73302.
http://trac.webkit.org/changeset/73302
https://bugs.webkit.org/show_bug.cgi?id=50499

Causes crashes in debug LayoutTests (Requested by xan_ on
#webkit).

  • accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::renderParentObject): (WebCore::AccessibilityRenderObject::addChildren):
  • accessibility/AccessibilityRenderObject.h:
  • accessibility/chromium/AccessibilityObjectChromium.cpp: (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):

2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73302.
http://trac.webkit.org/changeset/73302
https://bugs.webkit.org/show_bug.cgi?id=50499

Causes crashes in debug LayoutTests (Requested by xan_ on
#webkit).

  • public/WebAccessibilityObject.h:
  • src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::parentObject):

2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73302.
http://trac.webkit.org/changeset/73302
https://bugs.webkit.org/show_bug.cgi?id=50499

Causes crashes in debug LayoutTests (Requested by xan_ on
#webkit).

  • DumpRenderTree/chromium/AccessibilityUIElement.cpp: (AccessibilityUIElement::AccessibilityUIElement): (AccessibilityUIElement::parentElementCallback):
  • DumpRenderTree/chromium/AccessibilityUIElement.h:
  • DumpRenderTree/chromium/CppBoundClass.cpp:
  • DumpRenderTree/chromium/CppBoundClass.h:
3:52 PM Changeset in webkit [73316] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit/efl

2010-12-03 Alex Bredariol Grilo <abgrilo@profusion.mobi>

Reviewed by Andreas Kling.

Update usage of Eina_Iterator due to EFL changes.
https://bugs.webkit.org/show_bug.cgi?id=50457

  • ewk/ewk_tiled_model.c: (ewk_tile_updates_process):
3:40 PM Changeset in webkit [73315] by loislo@chromium.org
  • 13 edits in trunk

2010-12-01 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Inspector protocol cleanup task.

The patch has just small renames and adjustments for the protocol things.
'handler' keyword in idl file was replaced with 'domain'.
'domain' property was assigned for the each backend to frontend messages.
At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly.

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

  • inspector/CodeGeneratorInspector.pm:
  • inspector/Inspector.idl:
  • inspector/front-end/inspector.js: (WebInspector_syncDispatch):

2010-12-01 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Inspector protocol cleanup task.

The patch has just small renames and adjustments for the protocol things.
'handler' keyword in idl file was replaced with 'domain'.
'domain' property was assigned for the each backend to frontend messages.
At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly.

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

  • src/WebDevToolsFrontendImpl.cpp: (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):

2010-12-01 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Inspector protocol cleanup task.

The patch has just small renames and adjustments for the protocol things.
'handler' keyword in idl file was replaced with 'domain'.
'domain' property was assigned for the each backend to frontend messages.
At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly.

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

  • inspector/report-API-errors-expected.txt:
  • inspector/report-API-errors.html:
  • inspector/report-protocol-errors-expected.txt:
3:38 PM Changeset in webkit [73314] by weinig@apple.com
  • 2 edits in trunk/LayoutTests

Update WebKit2 skipped list.

  • platform/mac-wk2/Skipped:
3:34 PM Changeset in webkit [73313] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit2

2010-12-03 Siddharth Mathur <siddharth.mathur@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] [WK2] Build system improvements for non-Unix targets
https://bugs.webkit.org/show_bug.cgi?id=50257

  • DerivedSources.pro: Fix dir seperator errors on Windows build host. Thanks to Laszlo Gombos.
3:25 PM Changeset in webkit [73312] by weinig@apple.com
  • 10 edits in trunk

Enable <a ping> for Mac/Windows/WebKit2 builds
<rdar://problem/8504473>
https://bugs.webkit.org/show_bug.cgi?id=50488

Reviewed by Maciej Stachowiak.

WebKit/mac:

  • WebView/WebPreferences.mm:

(+[WebPreferences initialize]): Enable "HyperlinkAuditing" by default.

WebKit/win:

  • WebPreferences.cpp:

(WebPreferences::initializeDefaultSettings): Enable "HyperlinkAuditing" by default.

WebKit2:

  • Shared/WebPreferencesStore.h:
  • UIProcess/API/C/WKPreferences.cpp:

(WKPreferencesSetHyperlinkAuditingEnabled):
(WKPreferencesGetHyperlinkAuditingEnabled):

  • UIProcess/API/C/WKPreferences.h:

Add "HyperlinkAuditing" preference and enabled it by default.

WebKitTools:

  • TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:

(TestWebKitAPI::TEST): Test that the default value of
WKPreferencesGetHyperlinkAuditingEnabled is true.

3:18 PM Changeset in webkit [73311] by apavlov@chromium.org
  • 3 edits in trunk/WebCore

2010-12-03 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Duplicate "!important" for !important properties displayed in the Styles pane
https://bugs.webkit.org/show_bug.cgi?id=50460

  • inspector/front-end/StylesSidebarPane.js:
  • inspector/front-end/inspector.css:
3:16 PM Changeset in webkit [73310] by andersca@apple.com
  • 2 edits in trunk/WebKit2

Flip the destination context when painting a backing store into the destination
https://bugs.webkit.org/show_bug.cgi?id=50491

Reviewed by Dan Bernstein.

  • Shared/cg/BackingStoreCG.cpp:

(WebKit::BackingStore::paint):

3:09 PM Changeset in webkit [73309] by xan@webkit.org
  • 4 edits in trunk

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

Unreviewed build fix for GTK+.

Add configure.ac-fu for WebAudio.

  • configure.ac:

WebCore:

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

Unreviewed build fix.

The JS code generator includes headers unconditionally, so we need
to generate them unconditionally and disable the feature. The
WebAudio files hadn't been added to our sources list.

  • GNUmakefile.am:
3:08 PM Changeset in webkit [73308] by victorw@chromium.org
  • 1 edit
    14 adds in trunk/LayoutTests

2010-12-03 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] update chromium baselines for tests added by http://trac.webkit.org/changeset/73296

  • platform/chromium-linux/fast/multicol/span/anonymous-before-child-parent-crash-expected.checksum: Added.
  • platform/chromium-linux/fast/multicol/span/anonymous-before-child-parent-crash-expected.png: Added.
  • platform/chromium-linux/fast/multicol/span/anonymous-split-block-crash-expected.checksum: Added.
  • platform/chromium-linux/fast/multicol/span/anonymous-split-block-crash-expected.png: Added.
  • platform/chromium-mac/fast/multicol/span/anonymous-before-child-parent-crash-expected.checksum: Added.
  • platform/chromium-mac/fast/multicol/span/anonymous-before-child-parent-crash-expected.png: Added.
  • platform/chromium-mac/fast/multicol/span/anonymous-split-block-crash-expected.checksum: Added.
  • platform/chromium-mac/fast/multicol/span/anonymous-split-block-crash-expected.png: Added.
  • platform/chromium-win/fast/multicol/span/anonymous-before-child-parent-crash-expected.checksum: Added.
  • platform/chromium-win/fast/multicol/span/anonymous-before-child-parent-crash-expected.png: Added.
  • platform/chromium-win/fast/multicol/span/anonymous-before-child-parent-crash-expected.txt: Added.
  • platform/chromium-win/fast/multicol/span/anonymous-split-block-crash-expected.checksum: Added.
  • platform/chromium-win/fast/multicol/span/anonymous-split-block-crash-expected.png: Added.
  • platform/chromium-win/fast/multicol/span/anonymous-split-block-crash-expected.txt: Added.
3:04 PM EFLWebKit edited by Patrick Gansterer
(diff)
2:48 PM Changeset in webkit [73307] by msaboff@apple.com
  • 12 edits
    3 adds in trunk

2010-12-03 Michael Saboff <msaboff@apple.com>

Reviewed by Gavin Barraclough

Changes to significantly reduce branches to branches in JIT'ed
parentheses backtrack processing. The changes include the following:

  • Taking the backtracking processing out of line and adding it as code at the end of the JIT'ed routine.
  • Allow backtracks to be direct via an indirect branch for an address pushed onto the stack. If the use of an indirect branch is from a conditional jump, then we emit a trampoline at the end of the routine.
  • Propogate backtracks instead of adding trampolines. Backtracks are propogated to where they are used. This change also eliminated trampoline branch code that aren't used.
  • Added global expression state to keep track of parentheses tail code and indirect branches. Other changes made to support these changes.
  • Split invertOrCapture flag on Patterns to two separate flags. Added getters for these flags. Rippled these changes to both the JIT and interpreter code.
  • Split BacktrackDestination out off TermGenerationState struct. This is done to hold references to a backtrack for later code generation. https://bugs.webkit.org/show_bug.cgi?id=50295
  • assembler/ARMAssembler.h: (JSC::ARMAssembler::JmpDst::isSet):
  • assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::JmpDst::isSet):
  • assembler/AbstractMacroAssembler.h: (JSC::AbstractMacroAssembler::Label::isSet): (JSC::AbstractMacroAssembler::DataLabelPtr::isUsed): (JSC::AbstractMacroAssembler::DataLabelPtr::used): (JSC::AbstractMacroAssembler::JumpList::clear):
  • assembler/MIPSAssembler.h: (JSC::MIPSAssembler::JmpDst::isSet):
  • assembler/X86Assembler.h: (JSC::X86Assembler::JmpDst::isSet):
  • yarr/RegexCompiler.cpp: (JSC::Yarr::RegexPatternConstructor::atomParenthesesSubpatternBegin): (JSC::Yarr::RegexPatternConstructor::atomParentheticalAssertionBegin): (JSC::Yarr::RegexPatternConstructor::atomBackReference): (JSC::Yarr::RegexPatternConstructor::setupAlternativeBeginTerms):
  • yarr/RegexInterpreter.cpp: (JSC::Yarr::ByteCompiler::atomParenthesesOnceBegin): (JSC::Yarr::ByteCompiler::atomParenthesesTerminalBegin): (JSC::Yarr::ByteCompiler::atomParenthesesSubpatternBegin): (JSC::Yarr::ByteCompiler::atomParentheticalAssertionBegin): (JSC::Yarr::ByteCompiler::atomParentheticalAssertionEnd): (JSC::Yarr::ByteCompiler::atomParenthesesSubpatternEnd): (JSC::Yarr::ByteCompiler::atomParenthesesOnceEnd): (JSC::Yarr::ByteCompiler::atomParenthesesTerminalEnd): (JSC::Yarr::ByteCompiler::emitDisjunction):
  • yarr/RegexInterpreter.h: (JSC::Yarr::ByteTerm::ByteTerm): (JSC::Yarr::ByteTerm::BackReference): (JSC::Yarr::ByteTerm::invert): (JSC::Yarr::ByteTerm::capture):
  • yarr/RegexJIT.cpp: (JSC::Yarr::RegexGenerator::IndirectJumpEntry::IndirectJumpEntry): (JSC::Yarr::RegexGenerator::IndirectJumpEntry::addJump): (JSC::Yarr::RegexGenerator::GenerationState::GenerationState): (JSC::Yarr::RegexGenerator::GenerationState::addIndirectJumpEntry): (JSC::Yarr::RegexGenerator::GenerationState::emitIndirectJumpTable): (JSC::Yarr::RegexGenerator::GenerationState::addParenthesesTail): (JSC::Yarr::RegexGenerator::GenerationState::emitParenthesesTail): (JSC::Yarr::RegexGenerator::GenerationState::addJumpToNextInteration): (JSC::Yarr::RegexGenerator::GenerationState::addJumpsToNextInteration): (JSC::Yarr::RegexGenerator::GenerationState::addDataLabelToNextIteration): (JSC::Yarr::RegexGenerator::GenerationState::linkToNextIteration): (JSC::Yarr::RegexGenerator::BacktrackDestination::BacktrackDestination): (JSC::Yarr::RegexGenerator::BacktrackDestination::clear): (JSC::Yarr::RegexGenerator::BacktrackDestination::clearDataLabel): (JSC::Yarr::RegexGenerator::BacktrackDestination::haveDestination): (JSC::Yarr::RegexGenerator::BacktrackDestination::isStackOffset): (JSC::Yarr::RegexGenerator::BacktrackDestination::isLabel): (JSC::Yarr::RegexGenerator::BacktrackDestination::isJumpList): (JSC::Yarr::RegexGenerator::BacktrackDestination::haveDataLabel): (JSC::Yarr::RegexGenerator::BacktrackDestination::copyTarget): (JSC::Yarr::RegexGenerator::BacktrackDestination::copyTo): (JSC::Yarr::RegexGenerator::BacktrackDestination::addBacktrackJump): (JSC::Yarr::RegexGenerator::BacktrackDestination::setStackOffset): (JSC::Yarr::RegexGenerator::BacktrackDestination::setLabel): (JSC::Yarr::RegexGenerator::BacktrackDestination::setNextBacktrackLabel): (JSC::Yarr::RegexGenerator::BacktrackDestination::setBacktrackToLabel): (JSC::Yarr::RegexGenerator::BacktrackDestination::setBacktrackJumpList): (JSC::Yarr::RegexGenerator::BacktrackDestination::setBacktrackSourceLabel): (JSC::Yarr::RegexGenerator::BacktrackDestination::setDataLabel): (JSC::Yarr::RegexGenerator::BacktrackDestination::setSubDataLabelPtr): (JSC::Yarr::RegexGenerator::BacktrackDestination::linkToNextBacktrack): (JSC::Yarr::RegexGenerator::BacktrackDestination::getStackOffset): (JSC::Yarr::RegexGenerator::BacktrackDestination::getLabel): (JSC::Yarr::RegexGenerator::BacktrackDestination::getBacktrackJumps): (JSC::Yarr::RegexGenerator::BacktrackDestination::getDataLabel): (JSC::Yarr::RegexGenerator::BacktrackDestination::jumpToBacktrack): (JSC::Yarr::RegexGenerator::BacktrackDestination::linkDataLabelToHereIfExists): (JSC::Yarr::RegexGenerator::BacktrackDestination::plantJumpToBacktrackIfExists): (JSC::Yarr::RegexGenerator::BacktrackDestination::linkAlternativeBacktracks): (JSC::Yarr::RegexGenerator::BacktrackDestination::linkAlternativeBacktracksTo): (JSC::Yarr::RegexGenerator::TermGenerationState::TermGenerationState): (JSC::Yarr::RegexGenerator::TermGenerationState::resetAlternative): (JSC::Yarr::RegexGenerator::TermGenerationState::isLastAlternative): (JSC::Yarr::RegexGenerator::TermGenerationState::clearBacktrack): (JSC::Yarr::RegexGenerator::TermGenerationState::jumpToBacktrack): (JSC::Yarr::RegexGenerator::TermGenerationState::plantJumpToBacktrackIfExists): (JSC::Yarr::RegexGenerator::TermGenerationState::linkDataLabelToBacktrackIfExists): (JSC::Yarr::RegexGenerator::TermGenerationState::addBacktrackJump): (JSC::Yarr::RegexGenerator::TermGenerationState::setDataLabelPtr): (JSC::Yarr::RegexGenerator::TermGenerationState::setBackTrackStackOffset): (JSC::Yarr::RegexGenerator::TermGenerationState::setBacktrackLabel): (JSC::Yarr::RegexGenerator::TermGenerationState::linkAlternativeBacktracks): (JSC::Yarr::RegexGenerator::TermGenerationState::linkAlternativeBacktracksTo): (JSC::Yarr::RegexGenerator::TermGenerationState::setBacktrackLink): (JSC::Yarr::RegexGenerator::TermGenerationState::chainBacktracks): (JSC::Yarr::RegexGenerator::TermGenerationState::chainBacktrackJumps): (JSC::Yarr::RegexGenerator::TermGenerationState::getBacktrackDestination): (JSC::Yarr::RegexGenerator::TermGenerationState::propagateBacktrackingFrom): (JSC::Yarr::RegexGenerator::ParenthesesTail::ParenthesesTail): (JSC::Yarr::RegexGenerator::ParenthesesTail::processBacktracks): (JSC::Yarr::RegexGenerator::ParenthesesTail::setNextIteration): (JSC::Yarr::RegexGenerator::ParenthesesTail::generateCode): (JSC::Yarr::RegexGenerator::generateAssertionBOL): (JSC::Yarr::RegexGenerator::generateAssertionEOL): (JSC::Yarr::RegexGenerator::generateAssertionWordBoundary): (JSC::Yarr::RegexGenerator::generatePatternCharacterSingle): (JSC::Yarr::RegexGenerator::generatePatternCharacterPair): (JSC::Yarr::RegexGenerator::generatePatternCharacterFixed): (JSC::Yarr::RegexGenerator::generatePatternCharacterGreedy): (JSC::Yarr::RegexGenerator::generatePatternCharacterNonGreedy): (JSC::Yarr::RegexGenerator::generateCharacterClassSingle): (JSC::Yarr::RegexGenerator::generateCharacterClassFixed): (JSC::Yarr::RegexGenerator::generateCharacterClassGreedy): (JSC::Yarr::RegexGenerator::generateCharacterClassNonGreedy): (JSC::Yarr::RegexGenerator::generateParenthesesDisjunction): (JSC::Yarr::RegexGenerator::generateParenthesesSingle): (JSC::Yarr::RegexGenerator::generateParenthesesGreedyNoBacktrack): (JSC::Yarr::RegexGenerator::generateParentheticalAssertion): (JSC::Yarr::RegexGenerator::generateDisjunction): (JSC::Yarr::RegexGenerator::compile):
  • yarr/RegexPattern.h: (JSC::Yarr::PatternTerm::PatternTerm): (JSC::Yarr::PatternTerm::invert): (JSC::Yarr::PatternTerm::capture):

2010-12-03 Michael Saboff <msaboff@apple.com>

Reviewed by Gavin Barraclough

Added new tests to support changes to Regexp JIT code handling
of parentheses. Tests focused on backtracking and nested
subexpressions.
https://bugs.webkit.org/show_bug.cgi?id=50295

  • fast/regex/parentheses-expected.txt: Added.
  • fast/regex/parentheses.html: Added.
  • fast/regex/script-tests/parentheses.js: Added.
2:36 PM Changeset in webkit [73306] by inferno@chromium.org
  • 1 edit
    8 copies in branches/chromium/552

Merge 73296

BUG=63982

2:36 PM Changeset in webkit [73305] by bweinstein@apple.com
  • 2 edits in trunk/WebKit/win

WebContextMenuClient::fixMenuReceivedFromOldSafari is no longer needed on Windows
https://bugs.webkit.org/show_bug.cgi?id=50486

Reviewed by Brady Eidson.

Remove the static fixMenuReceivedFromOldSafari and isPreInspectElementTagSafari methods
from WebContextMenuClient. There were there for when WebKit had the Inspect Element context menu
item, but Safari didn't support it. We don't support that old Safari, so that code can go.

  • WebCoreSupport/WebContextMenuClient.cpp:

(WebContextMenuClient::getCustomMenuFromDefaultItems):

2:32 PM Changeset in webkit [73304] by inferno@chromium.org
  • 1 edit
    8 copies in branches/chromium/597

Merge 73296

BUG=63982
Review URL: http://codereview.chromium.org/5643001

2:32 PM Changeset in webkit [73303] by Patrick Gansterer
  • 2 edits in trunk/WebCore

2010-12-03 Patrick Gansterer <Patrick Gansterer>

Unreviewed build fix.

Try to fix EFL build after r73273.

  • CMakeLists.txt:
2:27 PM Changeset in webkit [73302] by commit-queue@webkit.org
  • 14 edits in trunk

2010-12-03 Chris Guillory <chris.guillory@google.com>

Reviewed by Chris Fleizach.

Include the FrameView widget of a RenderWidget in the accessibility tree.
https://bugs.webkit.org/show_bug.cgi?id=49106

  • platform/win/Skipped:

2010-12-03 Chris Guillory <chris.guillory@google.com>

Reviewed by Chris Fleizach.

Include the FrameView widget of a RenderWidget in the accessibility tree.
https://bugs.webkit.org/show_bug.cgi?id=49106

Include render widget children in the accessibility tree for not mac webkit ports.

  • accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::renderParentObject): (WebCore::AccessibilityRenderObject::addChildren): (WebCore::AccessibilityRenderObject::addRenderWidgetChildren):
  • accessibility/AccessibilityRenderObject.h:
  • accessibility/chromium/AccessibilityObjectChromium.cpp: (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):

2010-12-03 Chris Guillory <chris.guillory@google.com>

Reviewed by Chris Fleizach.

Include the FrameView widget of a RenderWidget in the accessibility tree.
https://bugs.webkit.org/show_bug.cgi?id=49106

  • public/WebAccessibilityObject.h:
  • src/WebAccessibilityObject.cpp: (WebKit::WebAccessibilityObject::equals): (WebKit::WebAccessibilityObject::parentObject):

2010-12-03 Chris Guillory <chris.guillory@google.com>

Reviewed by Chris Fleizach.

Include the FrameView widget of a RenderWidget in the accessibility tree.
https://bugs.webkit.org/show_bug.cgi?id=49106

  • DumpRenderTree/chromium/AccessibilityUIElement.cpp: (AccessibilityUIElement::AccessibilityUIElement): (AccessibilityUIElement::parentElementCallback): (AccessibilityUIElement::isEqualCallback):
  • DumpRenderTree/chromium/AccessibilityUIElement.h:
  • DumpRenderTree/chromium/CppBoundClass.cpp: (CppBoundClass::getFromCppVariant):
  • DumpRenderTree/chromium/CppBoundClass.h:
2:10 PM Changeset in webkit [73301] by beidson@apple.com
  • 2 edits in trunk/WebKit2

Export the 4 new API headers I added today.

Reviewed by good sense in fixing builds.

  • WebKit2.xcodeproj/project.pbxproj:
2:08 PM Changeset in webkit [73300] by victorw@chromium.org
  • 1 edit
    2 deletes in trunk/LayoutTests

2010-12-03 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] clean up chromium test expectations.

  • platform/chromium-mac/platform/mac/editing: Removed.
  • platform/chromium-mac/platform/mac/editing/spelling: Removed.
  • platform/chromium-mac/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.checksum: Removed.
  • platform/chromium-mac/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.png: Removed.
  • platform/chromium-win/platform/mac/editing/spelling: Removed.
  • platform/chromium-win/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.checksum: Removed.
  • platform/chromium-win/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.png: Removed.
2:06 PM Changeset in webkit [73299] by beidson@apple.com
  • 5 edits in trunk/WebKit2

<rdar://problem/8725679> and https://bugs.webkit.org/show_bug.cgi?id=50482
Crash trying to empty caches with no WebProcess.

Reviewed by Sam Weinig.

  • Shared/WebProcessCreationParameters.h: Add the "clear this cache" flags.
  • UIProcess/WebContext.cpp:

(WebKit::WebContext::WebContext):
(WebKit::WebContext::ensureWebProcess): If either of the clear cache flags are set when a new WebProcess is

created, include those flags in the parameters.

(WebKit::WebContext::clearResourceCaches): If the current process isn't valid, flag this action to be done later.
(WebKit::WebContext::clearApplicationCache): Ditto.

  • UIProcess/WebContext.h:
  • WebProcess/WebProcess.cpp:

(WebKit::WebProcess::initializeWebProcess): Clear the caches if told to.

2:02 PM Changeset in webkit [73298] by mihaip@chromium.org
  • 4 edits in trunk/WebKitTools

2010-12-03 Mihai Parparita <mihaip@chromium.org>

Reviewed by Tony Chang.

Rebaseline server: organize tests by state, add dry run mode
https://bugs.webkit.org/show_bug.cgi?id=50473

Group tests in the menu by state, so that it's easier to see after
processing the queue which failed.

Add support for the --dry-run flag so that it's easier to test changes
such as this (stubs out filesystem and SCM operations).

  • Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
  • Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
  • Scripts/webkitpy/tool/commands/rebaselineserver.py:
1:51 PM Changeset in webkit [73297] by weinig@apple.com
  • 2 edits in trunk/WebKit2

Fix failing API test. The default san serif font on the mac
should be Helvetica, not Courier.

Reviewed by Gavin Barraclough.

  • Shared/WebPreferencesStore.h:
1:44 PM Changeset in webkit [73296] by inferno@chromium.org
  • 3 edits
    8 adds in trunk

2010-11-30 Abhishek Arya <inferno@chromium.org>

Reviewed by Dave Hyatt.

Don't clone an anonymous block, instead create a new one in splitBlocks. Also,
when beforeChild is not in one of our children, then do the processing first
to get its anonymous container before calling splitBlocks.
https://bugs.webkit.org/show_bug.cgi?id=49928

Tests: fast/multicol/span/anonymous-before-child-parent-crash.html

fast/multicol/span/anonymous-split-block-crash.html

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::splitBlocks): (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):

2010-12-03 Abhishek Arya <inferno@chromium.org>

Reviewed by Dave Hyatt.

Test passes if we do not crash in splitBlocks while working with anonymous
blocks.
https://bugs.webkit.org/show_bug.cgi?id=49928

  • fast/multicol/span/anonymous-before-child-parent-crash.html: Added.
  • fast/multicol/span/anonymous-split-block-crash.html: Added.
  • platform/mac/fast/multicol/span/anonymous-before-child-parent-crash-expected.checksum: Added.
  • platform/mac/fast/multicol/span/anonymous-before-child-parent-crash-expected.png: Added.
  • platform/mac/fast/multicol/span/anonymous-before-child-parent-crash-expected.txt: Added.
  • platform/mac/fast/multicol/span/anonymous-split-block-crash-expected.checksum: Added.
  • platform/mac/fast/multicol/span/anonymous-split-block-crash-expected.png: Added.
  • platform/mac/fast/multicol/span/anonymous-split-block-crash-expected.txt: Added.
1:41 PM Changeset in webkit [73295] by mrowe@apple.com
  • 3 edits in trunk/WebCore

2010-12-03 Mark Rowe <mrowe@apple.com>

Reviewed by Eric Seidel.

Animated GIF animates much more slowly in Safari than Firefox
<rdar://problem/7689300> / <http://webkit.org/b/26455>

Adopt Firefox's behavior for frame duration clamping. Images that specify a frame duration
of <= 10ms are treated as having a frame duration of 100ms, while all other images use the
frame duration that they specify.

ImageIO currently implements its own clamping of frame durations (<rdar://problem/7689297>)
which will result in this change having no observable effect on platforms where it is used
until an updated version of ImageIO becomes available.

  • platform/graphics/ImageSource.cpp: (WebCore::ImageSource::frameDurationAtIndex): Update the formatting of the comment and style of the code to match that in ImageSourceCG.
  • platform/graphics/cg/ImageSourceCG.cpp: (WebCore::ImageSource::frameDurationAtIndex):
1:38 PM Changeset in webkit [73294] by crogers@google.com
  • 2 edits in trunk/WebCore

2010-12-03 Chris Rogers <crogers@google.com>

Unreviewed build fix.

Fix M_E compile error on Chromium Win
https://bugs.webkit.org/show_bug.cgi?id=50479

  • platform/audio/AudioUtilities.cpp: (WebCore::AudioUtilities::discreteTimeConstantForSampleRate):
1:17 PM Changeset in webkit [73293] by crogers@google.com
  • 2 edits in trunk/WebCore

2010-12-03 Chris Rogers <crogers@google.com>

Unreviewed build fix.

Try to fix GTK build due to recent web audio makefile changes (disable ENABLE_WEB_AUDIO explicitly)
https://bugs.webkit.org/show_bug.cgi?id=50478

  • GNUmakefile.am:
1:12 PM Changeset in webkit [73292] by Simon Fraser
  • 2 edits in trunk/WebCore

2010-12-03 Simon Fraser <Simon Fraser>

Reviewed by Dirk Schulze.

Clean up some text-related code on GraphicsContext
https://bugs.webkit.org/show_bug.cgi?id=50464

Save 8 bytes in GraphicsContextState by rearranging the
data members to reduce padding.

  • platform/graphics/GraphicsContextPrivate.h: (WebCore::GraphicsContextState::GraphicsContextState):
1:09 PM Changeset in webkit [73291] by Simon Fraser
  • 2 edits in trunk/WebCore

2010-12-03 Simon Fraser <Simon Fraser>

Another Chromium build fix.

  • platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::setPlatformTextDrawingMode):
12:53 PM Changeset in webkit [73290] by Simon Fraser
  • 2 edits in trunk/WebCore

2010-12-03 Simon Fraser <Simon Fraser>

Fix Chromium build.

  • platform/graphics/skia/PlatformContextSkia.h:
12:53 PM Changeset in webkit [73289] by Patrick Gansterer
  • 2 edits in trunk/WebCore

2010-12-03 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

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

  • CMakeLists.txt:
12:52 PM Changeset in webkit [73288] by jberlin@webkit.org
  • 1 edit
    1 add in trunk/LayoutTests

Update the Windows results for controls-without-preload.html to make the bots green. Unreviewed.

media/controls-without-preload.html failing on Windows
https://bugs.webkit.org/show_bug.cgi?id=50471

  • platform/win/media/controls-without-preload-expected.txt: Added.
12:45 PM Changeset in webkit [73287] by commit-queue@webkit.org
  • 13 edits
    2 adds in trunk

2010-12-03 Jia Pu <jpu@apple.com>

Reviewed by Darin Adler.

Need to move all code that applies correction into correction panel callback.
https://bugs.webkit.org/show_bug.cgi?id=50426
<rdar://problem/8720832>

Added expected png file.

  • platform/mac/editing/spelling/delete-autocorrected-word-1-expected.checksum: Added.
  • platform/mac/editing/spelling/delete-autocorrected-word-1-expected.png: Added.

2010-12-03 Jia Pu <jpu@apple.com>

Reviewed by Darin Adler.

Need to move all code that applies correction into correction panel callback.
https://bugs.webkit.org/show_bug.cgi?id=50426
<rdar://problem/8720832>

No new test, since there's no behavioral change.

This patch is to prepare WebKit to work with upcoming AppKit changes. The main changes are:

  1. Moved all calls to applyCorrectionPanelInfo() into handleCorrectionPanelResult().
  2. Added more user dictionary learning code.
  3. Removed m_ prefix in all member variables of CorrectionPanelInfo.
  • editing/CorrectionPanelInfo.h: Remove m_ prefix on member variables. Added ReasonForDismissingCorrectionPanel enum type.
  • editing/Editor.cpp: Moved all calls to applyCorrectionPanelInfo() into handleCorrectionPanelResult(). Adopted new member variable naming in class CorrectionPanelInfo. (WebCore::Editor::respondToChangedSelection): (WebCore::Editor::~Editor): (WebCore::Editor::markMisspellingsAfterTypingToWord): (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): (WebCore::Editor::correctionPanelTimerFired): (WebCore::Editor::handleCorrectionPanelResult): (WebCore::Editor::startCorrectionPanelTimer): (WebCore::Editor::stopCorrectionPanelTimer): (WebCore::Editor::handleCancelOperation): (WebCore::Editor::dismissCorrectionPanel): (WebCore::Editor::applyCorrectionPanelInfo):
  • editing/Editor.h: Changed signature of dismissCorrectionPanel to use ReasonForDismissingCorrectionPanel.
  • loader/EmptyClients.h: Ditto. (WebCore::EmptyEditorClient::dismissCorrectionPanel):
  • page/EditorClient.h: Ditto.

2010-12-03 Jia Pu <jpu@apple.com>

Reviewed by Darin Adler.

Need to move all code that applies correction into correction panel callback.
https://bugs.webkit.org/show_bug.cgi?id=50426
<rdar://problem/8720832>

  • WebCoreSupport/WebEditorClient.h: Adopted new signature of dismissCorrectionPanel.
  • WebCoreSupport/WebEditorClient.mm: (WebEditorClient::~WebEditorClient): Adopted new signature of dismissCorrectionPanel. (WebEditorClient::showCorrectionPanel): Added more user dictionary learning code. (WebEditorClient::dismissCorrectionPanel): Adopted new signature of dismissCorrectionPanel.

2010-12-03 Jia Pu <jpu@apple.com>

Reviewed by Darin Adler.

Need to move all code that applies correction into correction panel callback.
https://bugs.webkit.org/show_bug.cgi?id=50426
<rdar://problem/8720832>

Adopted new signature of dismissCorrectionPanel.

  • WebProcess/WebCoreSupport/WebEditorClient.h:
  • WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm: (WebKit::WebEditorClient::dismissCorrectionPanel):
12:35 PM Changeset in webkit [73286] by jberlin@webkit.org
  • 2 edits in trunk/WebKit2

Windows build fix. Unreviewed.

  • win/WebKit2Generated.make:

Add the new API files from http://trac.webkit.org/changeset/73281.

12:11 PM Changeset in webkit [73285] by pfeldman@chromium.org
  • 3 edits in trunk/WebCore

2010-12-03 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: reveal in elements panel does not switch the panel itself.
https://bugs.webkit.org/show_bug.cgi?id=50408

  • inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired.focusElement): (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired):
  • inspector/front-end/ObjectPropertiesSection.js: (WebInspector.ObjectPropertyTreeElement.prototype._contextMenuEventFired):
12:08 PM Changeset in webkit [73284] by Simon Fraser
  • 22 edits in trunk/WebCore

2010-12-03 Simon Fraser <Simon Fraser>

Reviewed by Nikolas Zimmermann.

Clean up some text-related code on GraphicsContext
https://bugs.webkit.org/show_bug.cgi?id=50464

Use defined types for textDrawingMode and it's associated flags.

  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::drawTextInternal):
  • platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::textDrawingMode): (WebCore::GraphicsContext::setTextDrawingMode): (WebCore::GraphicsContext::setPlatformTextDrawingMode):
  • platform/graphics/GraphicsContext.h:
  • platform/graphics/GraphicsContextPrivate.h: (WebCore::GraphicsContextState::GraphicsContextState):
  • platform/graphics/cairo/FontCairo.cpp: (WebCore::drawGlyphsShadow): (WebCore::Font::drawGlyphs):
  • platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::setPlatformTextDrawingMode):
  • platform/graphics/chromium/FontLinux.cpp: (WebCore::Font::drawGlyphs): (WebCore::Font::drawComplexText):
  • platform/graphics/gtk/FontGtk.cpp: (WebCore::drawGlyphsShadow): (WebCore::Font::drawComplexText):
  • platform/graphics/mac/FontMac.mm: (WebCore::Font::drawGlyphs):
  • platform/graphics/openvg/PainterOpenVG.cpp: (WebCore::PlatformPainterState::PlatformPainterState): (WebCore::PainterOpenVG::textDrawingMode): (WebCore::PainterOpenVG::setTextDrawingMode): (WebCore::PainterOpenVG::drawText):
  • platform/graphics/qt/FontQt.cpp: (WebCore::drawTextCommon):
  • platform/graphics/skia/PlatformContextSkia.cpp: (WebCore::PlatformContextSkia::State::State): (WebCore::PlatformContextSkia::getTextDrawingMode): (WebCore::PlatformContextSkia::setTextDrawingMode):
  • platform/graphics/skia/SkiaFontWin.cpp: (WebCore::windowsCanHandleTextDrawing): (WebCore::paintSkiaText):
  • platform/graphics/texmap/TextureMapper.h: (WebCore::TextureMapper::setTextDrawingMode): (WebCore::TextureMapper::textDrawingMode): (WebCore::TextureMapper::TextureMapper):
  • platform/graphics/win/FontCGWin.cpp: (WebCore::drawGDIGlyphs): (WebCore::Font::drawGlyphs):
  • platform/graphics/wince/GraphicsContextWinCE.cpp: (WebCore::GraphicsContext::drawText):
  • rendering/InlineTextBox.cpp: (WebCore::updateGraphicsContext):
  • rendering/RenderSVGResourceGradient.cpp: (WebCore::RenderSVGResourceGradient::applyResource):
  • rendering/RenderSVGResourcePattern.cpp: (WebCore::RenderSVGResourcePattern::applyResource):
  • rendering/RenderSVGResourceSolidColor.cpp: (WebCore::RenderSVGResourceSolidColor::applyResource):
  • svg/SVGFont.cpp: (WebCore::Font::drawTextUsingSVGFont):
12:05 PM Changeset in webkit [73283] by crogers@google.com
  • 14 edits
    1 add in trunk

2010-12-03 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

First steps to adding web audio files to build systems
https://bugs.webkit.org/show_bug.cgi?id=49952

  • wtf/Complex.h:

2010-12-03 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

First steps to adding web audio files to build systems
https://bugs.webkit.org/show_bug.cgi?id=49952

No new tests since audio API is not yet implemented.

  • CMakeLists.txt:
  • DerivedSources.make:
  • ForwardingHeaders/wtf/Complex.h: Added.
  • GNUmakefile.am:
  • WebCore.gyp/WebCore.gyp:
  • WebCore.gypi:
  • WebCore.pri:
  • WebCore.pro:
  • bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::audioContext):
  • features.pri:
  • page/DOMWindow.idl:
  • platform/audio/HRTFElevation.cpp:
11:47 AM Changeset in webkit [73282] by Patrick Gansterer
  • 2 edits in trunk/WebCore

2010-12-03 Patrick Gansterer <Patrick Gansterer>

Reviewed by David Levin.

Use String::adopt in TextCodecWinCE::decode
https://bugs.webkit.org/show_bug.cgi?id=50319

  • platform/text/wince/TextCodecWinCE.cpp: (WebCore::TextCodecWinCE::decode):
11:41 AM Changeset in webkit [73281] by beidson@apple.com
  • 29 edits
    21 adds in trunk

Groundwork for <rdar://problem/7660733> and https://bugs.webkit.org/show_bug.cgi?id=50191
WebKit2 Authentication Support

Reviewed by Anders Carlsson.

WebCore:

  • WebCore.exp.in:

Expose the AuthenticationClient for WK2 platforms (Windows already does this):

  • platform/network/mac/AuthenticationChallenge.h:
  • platform/network/mac/AuthenticationMac.mm:

(-[WebCoreAuthenticationClientAsChallengeSender client]):
(WebCore::AuthenticationChallenge::authenticationClient):

  • platform/network/qt/AuthenticationChallenge.h:

(WebCore::AuthenticationChallenge::authenticationClient):

WebKit2:

With this patch in place, authentication challenges are sent up from WebCore and shipped over the IPC layer.
Client apps can implement the related client methods to attempt to continue without credentials or cancel a
challenge.

There's not yet API to inspect a challenge or create a credential to use in reply - that will come later.

Build-system changes:

  • DerivedSources.make:
  • DerivedSources.pro:
  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:
  • win/WebKit2Common.vsprops:

Messages and casts for IPC and APIs:

  • Platform/CoreIPC/MessageID.h:
  • Shared/API/c/WKBase.h:
  • Shared/APIObject.h:
  • Shared/WebCoreArgumentCoders.h:
  • UIProcess/API/C/WKAPICast.h:
  • WebProcess/WebProcess.cpp:

(WebKit::WebProcess::didReceiveMessage):

Stub out the AuthenticationChallenge class family:

  • UIProcess/API/C/WKAuthenticationChallenge.cpp: Added.

(WKAuthenticationChallengeGetTypeID):

  • UIProcess/API/C/WKAuthenticationChallenge.h: Added.
  • UIProcess/API/C/WKCredential.cpp: Added.

(WKCredentialGetTypeID):

  • UIProcess/API/C/WKCredential.h: Added.
  • UIProcess/API/C/WKProtectionSpace.cpp: Added.

(WKProtectionSpaceGetTypeID):

  • UIProcess/API/C/WKProtectionSpace.h: Added.

Add an Authentication listener for the client app to respond to:

  • UIProcess/API/C/WKAuthenticationDecisionListener.cpp: Added.

(WKAuthenticationDecisionListenerGetTypeID):
(WKAuthenticationDecisionListenerUseCredential):
(WKAuthenticationDecisionListenerCancel):

  • UIProcess/API/C/WKAuthenticationDecisionListener.h: Added.

Add Authentication related methods to the page loader client:

  • UIProcess/API/C/WKPage.h:

Add empty implementations of the new API objects:

  • UIProcess/Authentication: Added.
  • UIProcess/Authentication/AuthenticationChallengeProxy.cpp: Added.

(WebKit::AuthenticationChallengeProxy::AuthenticationChallengeProxy):
(WebKit::AuthenticationChallengeProxy::~AuthenticationChallengeProxy):
(WebKit::AuthenticationChallengeProxy::useCredential):
(WebKit::AuthenticationChallengeProxy::cancel):

  • UIProcess/Authentication/AuthenticationChallengeProxy.h: Added.

(WebKit::AuthenticationChallengeProxy::create):
(WebKit::AuthenticationChallengeProxy::listener):
(WebKit::AuthenticationChallengeProxy::type):

  • UIProcess/Authentication/WebCredential.cpp: Added.

(WebKit::WebCredential::core):

  • UIProcess/Authentication/WebCredential.h: Added.

(WebKit::WebCredential::create):
(WebKit::WebCredential::type):

  • UIProcess/Authentication/WebProtectionSpace.cpp: Added.

(WebKit::WebProtectionSpace::WebProtectionSpace):

  • UIProcess/Authentication/WebProtectionSpace.h: Added.

(WebKit::WebProtectionSpace::create):
(WebKit::WebProtectionSpace::type):

Add implementation of the Authentication decision listener:

  • UIProcess/Authentication/AuthenticationDecisionListener.cpp: Added.

(WebKit::AuthenticationDecisionListener::AuthenticationDecisionListener):
(WebKit::AuthenticationDecisionListener::useCredential):
(WebKit::AuthenticationDecisionListener::cancel):
(WebKit::AuthenticationDecisionListener::detachChallenge):

  • UIProcess/Authentication/AuthenticationDecisionListener.h: Added.

(WebKit::AuthenticationDecisionListener::create):
(WebKit::AuthenticationDecisionListener::type):

WebPage and PageLoaderClient glue:

  • UIProcess/WebLoaderClient.cpp:

(WebKit::WebLoaderClient::canAuthenticateAgainstProtectionSpaceInFrame):
(WebKit::WebLoaderClient::didReceiveAuthenticationChallengeInFrame):

  • UIProcess/WebLoaderClient.h:
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::canAuthenticateAgainstProtectionSpaceInFrame):
(WebKit::WebPageProxy::didReceiveAuthenticationChallenge):

  • UIProcess/WebPageProxy.h:
  • UIProcess/WebPageProxy.messages.in:

Add a manager to map the actual platform authentication challenges to a challenge ID,
as at least some platforms require the object identity to persist:

  • WebProcess/Authentication: Added.
  • WebProcess/Authentication/AuthenticationManager.cpp: Added.

(WebKit::generateAuthenticationChallengeID):
(WebKit::AuthenticationManager::shared):
(WebKit::AuthenticationManager::AuthenticationManager):
(WebKit::AuthenticationManager::didReceiveMessage):
(WebKit::AuthenticationManager::didReceiveAuthenticationChallenge):
(WebKit::AuthenticationManager::useCredentialForChallenge):
(WebKit::AuthenticationManager::continueWithoutCredentialForChallenge):
(WebKit::AuthenticationManager::cancelChallenge):

  • WebProcess/Authentication/AuthenticationManager.h: Added.
  • WebProcess/Authentication/AuthenticationManager.messages.in: Added.

Hand off Authentication challenges to the manager to be sent over IPC:

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:

(WebKit::WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
(WebKit::WebFrameLoaderClient::canAuthenticateAgainstProtectionSpace):

  • UIProcess/API/qt/qwkpage.cpp:

WebKitTools:

Keep these builds working:

  • MiniBrowser/mac/BrowserWindowController.m:

(-[BrowserWindowController awakeFromNib]):

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::initialize):

11:33 AM Changeset in webkit [73280] by weinig@apple.com
  • 2 edits in trunk/LayoutTests

Added fast/text/font-size-zero.html and svg/batik/text/smallFonts.svg to
the leopard skipped list.

Reviewed by Gavin Barraclough.

  • platform/mac-leopard/Skipped:
11:26 AM Changeset in webkit [73279] by rniwa@webkit.org
  • 5 edits
    8 adds in trunk

2010-12-03 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

REGRESSION: Crash when deleting text after textarea's value is modified on input event
https://bugs.webkit.org/show_bug.cgi?id=49962

The crash was caused by TypingCommand::deleteKeyPressed's reusing a typing command for
textarea's shadow DOM after its input event handler rewrote the value set by the typing command.
Because the reused typing command's ending selection was pointing at a shadow node
that has been detached from the document when the event handler set the new value,
rootEditableElement of the ending selection was null and caused the crash.

Fixed the bug by updating the ending selection of the last typing command when it differsfrom
that of the current selection held by the SelectionController in TypingCommand::deleteKeyPressed.
Also fixed similar bugs in forwardDeleteKeyPressed and insertText, and insertTextRunWithoutNewlines.

Tests: editing/input/set-value-on-input-and-delete.html

editing/input/set-value-on-input-and-forward-delete.html
editing/input/set-value-on-input-and-type-input.html
editing/input/set-value-on-input-and-type-textarea.html

  • editing/InsertTextCommand.h: Added TypingCommand as a friend because it needs to update selection.
  • editing/TypingCommand.cpp: (WebCore::TypingCommand::deleteKeyPressed): Updates the last typing command's selection as needed. (WebCore::TypingCommand::forwardDeleteKeyPressed): Ditto. (WebCore::TypingCommand::insertText): Ditto. (WebCore::TypingCommand::updateSelectionIfDifferentFromCurrentSelection): Added. (WebCore::TypingCommand::insertTextRunWithoutNewlines): Updates InsertTextCommand's selection as needed.
  • editing/TypingCommand.h:

2010-12-03 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

REGRESSION: Crash when deleting text after textarea's value is modified on input event
https://bugs.webkit.org/show_bug.cgi?id=49962

Added tests to ensure inserting and deleting a character inside input or textarea
succeeds even if the value of those elements have been rewritten by its input event handler.

  • editing/input/set-value-on-input-and-delete-expected.txt: Added.
  • editing/input/set-value-on-input-and-delete.html: Added.
  • editing/input/set-value-on-input-and-forward-delete-expected.txt: Added.
  • editing/input/set-value-on-input-and-forward-delete.html: Added.
  • editing/input/set-value-on-input-and-type-input-expected.txt: Added.
  • editing/input/set-value-on-input-and-type-input.html: Added.
  • editing/input/set-value-on-input-and-type-textarea-expected.txt: Added.
  • editing/input/set-value-on-input-and-type-textarea.html: Added.
11:20 AM Changeset in webkit [73278] by weinig@apple.com
  • 1 edit
    1 add in trunk/LayoutTests

Add missing expected results.

  • media/controls-without-preload-expected.txt: Added.
11:18 AM Changeset in webkit [73277] by jberlin@webkit.org
  • 1 edit
    8 adds in trunk/LayoutTests

Updating the Windows 7 results for clip-path-referencing-use.svg to make the bots green. Unreviewed.

svg/custom/clip-path-referencing-use.svg fails when run with Aero enabled.
https://bugs.webkit.org/show_bug.cgi?id=49945

Make sure that the XP results still match the Mac results.

  • platform/win-xp/svg: Added.
  • platform/win-xp/svg/custom: Added.
  • platform/win-xp/svg/custom/clip-path-referencing-use-expected.checksum: Added.
  • platform/win-xp/svg/custom/clip-path-referencing-use-expected.png: Added.
  • platform/win-xp/svg/custom/clip-path-referencing-use-expected.txt: Added.
  • platform/win/svg/custom/clip-path-referencing-use-expected.checksum: Added.
  • platform/win/svg/custom/clip-path-referencing-use-expected.png: Added.
  • platform/win/svg/custom/clip-path-referencing-use-expected.txt: Added.
11:18 AM Changeset in webkit [73276] by tony@chromium.org
  • 2 edits
    2 adds in trunk/WebCore

2010-12-03 Daniel Cheng <dcheng@chromium.org>

Reviewed by Tony Chang.

Dragging and dropping into an empty document crashes WebKit.
https://bugs.webkit.org/show_bug.cgi?id=48793

Remove the assert and update callers to check for a null return value.

Test: manual-tests/drop-in-empty-doc.html

  • manual-tests/drop-in-empty-doc.html: Added.
  • manual-tests/resources/drop-in-empty-doc.xhtml: Added.
  • page/DragController.cpp: (WebCore::elementUnderMouse): (WebCore::DragController::tryDocumentDrag): (WebCore::DragController::concludeEditDrag):
11:11 AM Changeset in webkit [73275] by andersca@apple.com
  • 2 edits in trunk/WebKit2

The chunked update drawing area is flipped twice when drawing
https://bugs.webkit.org/show_bug.cgi?id=50465
<rdar://problem/8726836>

Reviewed by Dan Bernstein.

  • UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm:

(WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint):
(WebKit::ChunkedUpdateDrawingAreaProxy::drawUpdateChunkIntoBackingStore):
Flip the destination contexts, thus unflipping them. (Turns out two wrongs make a right here).

10:35 AM Changeset in webkit [73274] by mihaip@chromium.org
  • 4 edits in trunk/WebKitTools

2010-12-02 Mihai Parparita <mihaip@chromium.org>

Reviewed by Tony Chang.

Rebaseline server: move existing baselines
https://bugs.webkit.org/show_bug.cgi?id=50421

Implement moving of existing baselines: move all files that are about
to be overwriten by update baselines.

Also fix a typo in the UI JS.

  • Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
  • Scripts/webkitpy/tool/commands/rebaselineserver.py:
  • Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:
10:15 AM Changeset in webkit [73273] by Patrick Gansterer
  • 2 edits in trunk/WebCore

2010-12-03 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

Move Inspector generator logic into main CMakeLists.txt file
https://bugs.webkit.org/show_bug.cgi?id=50445

  • CMakeLists.txt:
10:08 AM Changeset in webkit [73272] by Patrick Gansterer
  • 3 edits
    1 copy
    1 delete in trunk

2010-12-03 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

Move StringWx.cpp into wtf directory
https://bugs.webkit.org/show_bug.cgi?id=50060

  • wtf/wx/StringWx.cpp: Renamed from WebCore/platform/text/wx/StringWx.cpp. (WTF::String::String):

2010-12-03 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

Move StringWx.cpp into wtf directory
https://bugs.webkit.org/show_bug.cgi?id=50060

  • WebCore.gypi:
  • platform/text/wx/StringWx.cpp: Removed.
10:01 AM Changeset in webkit [73271] by Dimitri Glazkov
  • 9 edits in branches/chromium/597

Merge 73270 - 2010-12-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

REGRESSION(r72783): DOMActivate fires multiple times from input type=file
https://bugs.webkit.org/show_bug.cgi?id=50396

  • fast/events/shadow-boundary-crossing-2-expected.txt: Changed expectations.
  • fast/events/shadow-boundary-crossing-2.html: Added the correct test for event

retargeting, renamed previous test to be more specific in what it tests.

2010-12-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

REGRESSION(r72783): DOMActivate fires multiple times from input type=file
https://bugs.webkit.org/show_bug.cgi?id=50396

Test: fast/events/shadow-boundary-crossing-2.html

  • dom/EventContext.cpp: Reverted changes made in r72783.
  • dom/EventContext.h: Ditto.
  • dom/Node.cpp: (WebCore::Node::containsIncludingShadowDOM): Added. (WebCore::Node::dispatchGenericEvent): Reverted changes made in r72783.
  • dom/Node.h: Added decl.
  • html/HTMLLabelElement.cpp: (WebCore::HTMLLabelElement::defaultEventHandler): Reverted changes made in r72783.

TBR=Dimitri Glazkov
Review URL: http://codereview.chromium.org/5605003

9:56 AM Changeset in webkit [73270] by Dimitri Glazkov
  • 9 edits in trunk

2010-12-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

REGRESSION(r72783): DOMActivate fires multiple times from input type=file
https://bugs.webkit.org/show_bug.cgi?id=50396

  • fast/events/shadow-boundary-crossing-2-expected.txt: Changed expectations.
  • fast/events/shadow-boundary-crossing-2.html: Added the correct test for event

retargeting, renamed previous test to be more specific in what it tests.

2010-12-03 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Darin Adler.

REGRESSION(r72783): DOMActivate fires multiple times from input type=file
https://bugs.webkit.org/show_bug.cgi?id=50396

Test: fast/events/shadow-boundary-crossing-2.html

  • dom/EventContext.cpp: Reverted changes made in r72783.
  • dom/EventContext.h: Ditto.
  • dom/Node.cpp: (WebCore::Node::containsIncludingShadowDOM): Added. (WebCore::Node::dispatchGenericEvent): Reverted changes made in r72783.
  • dom/Node.h: Added decl.
  • html/HTMLLabelElement.cpp: (WebCore::HTMLLabelElement::defaultEventHandler): Reverted changes made in r72783.
9:52 AM Changeset in webkit [73269] by Patrick Gansterer
  • 2 edits
    1 move in trunk

2010-12-03 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

Move StringBrew.cpp into wtf directory
https://bugs.webkit.org/show_bug.cgi?id=50058

  • wtf/brew/StringBrew.cpp: Renamed from WebCore/platform/text/brew/StringBrew.cpp. (WTF::String::String):

2010-12-03 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

Move StringBrew.cpp into wtf directory
https://bugs.webkit.org/show_bug.cgi?id=50058

  • platform/text/brew/StringBrew.cpp: Removed.
9:42 AM Changeset in webkit [73268] by Patrick Gansterer
  • 2 edits
    1 move in trunk

2010-12-03 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

Move StringHaiku.cpp into wtf directory
https://bugs.webkit.org/show_bug.cgi?id=50057

  • wtf/haiku/StringHaiku.cpp: Renamed from WebCore/platform/text/haiku/StringHaiku.cpp. (WTF::String::String): (WTF::String::operator BString):

2010-12-03 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

Move StringHaiku.cpp into wtf directory
https://bugs.webkit.org/show_bug.cgi?id=50057

  • platform/text/haiku/StringHaiku.cpp: Removed.
9:30 AM Changeset in webkit [73267] by jberlin@webkit.org
  • 10 edits
    3 adds in trunk

Need a WebKit2 Equivalent of WebSecurityOrigin
https://bugs.webkit.org/show_bug.cgi?id=50170

Reviewed by Sam Weinig.

WebCore:

  • WebCore.exp.in:

Export the symbol for SecurityOrigin::createFromDatabaseIdentifier.

WebKit2:

  • Shared/API/c/WKBase.h:

Add the WKSecurityOriginRef typedef.

  • Shared/APIObject.h:

Add the SecurityOrigin type as a Shared type.

  • Shared/API/c/WKSharedAPICast.h::

Add the mapping between WKSecurityOriginRef and WebSecurityOrigin.

  • UIProcess/API/C/WKSecurityOrigin.cpp: Added.

(WKSecurityOriginGetTypeID):
(WKSecurityOriginCreate):
(WKSecurityOriginGetProtocol):
(WKSecurityOriginGetHost):
(WKSecurityOriginGetPort):

  • UIProcess/API/C/WKSecurityOrigin.h: Added.
  • UIProcess/WebSecurityOrigin.h: Added.

(WebKit::WebSecurityOrigin::create):
Create based on the database identifier, which contains the protocol, host and port.
(WebKit::WebSecurityOrigin::protocol):
(WebKit::WebSecurityOrigin::host):
(WebKit::WebSecurityOrigin::port):
(WebKit::WebSecurityOrigin::databaseIdentifier):
(WebKit::WebSecurityOrigin::WebSecurityOrigin):
(WebKit::WebSecurityOrigin::type):

  • WebKit2.pro:

Add WKSecurityOrigin.cpp/.h.

  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:

Add the WebSecurityOrigin.h and WKSecurityOrigin.cpp/.h.

  • win/WebKit2Generated.make:

Make sure WKSecurityOrigin.h file gets copied over to the WebKitBuild directory on Windows.

8:47 AM Changeset in webkit [73266] by abecsi@webkit.org
  • 2 edits in trunk/WebCore

2010-12-03 Andras Becsi <abecsi@inf.u-szeged.hu>

Unreviewed build fix after r73254.

[Qt][V8] Add missing headers to $headerIncludes rather than $implIncludes
because headers are needed by the generated .h files.

No new tests needed.

  • bindings/scripts/CodeGeneratorV8.pm:
8:34 AM Changeset in webkit [73265] by inferno@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-03 Abhishek Arya <inferno@chromium.org>

Unreviewed.

Skipping drag-drop-same-unique-origin.html for win platform. Drag and drop
does not work correctly in windows DRT. Skipping like other similar tests.
https://bugs.webkit.org/show_bug.cgi?id=50438

  • platform/win/Skipped:
8:14 AM Changeset in webkit [73264] by jorlow@chromium.org
  • 8 edits in trunk/WebKit/chromium

2010-11-29 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Darin Fisher.

[Chromium] Clean up IndexedDB 2 sided roll bits
https://bugs.webkit.org/show_bug.cgi?id=50160

  • public/WebIDBDatabase.h: (WebKit::WebIDBDatabase::version): (WebKit::WebIDBDatabase::objectStoreNames): (WebKit::WebIDBDatabase::deleteObjectStore):
  • public/WebIDBFactory.h: (WebKit::WebIDBFactory::open):
  • public/WebIDBKeyRange.h:
  • public/WebIDBObjectStore.h: (WebKit::WebIDBObjectStore::deleteFunction):
  • src/IDBDatabaseProxy.cpp:
  • src/IDBDatabaseProxy.h:
  • src/WebIDBKeyRange.cpp:
6:28 AM Changeset in webkit [73263] by Csaba Osztrogonác
  • 1 edit
    3 adds in trunk/LayoutTests

Unreviewed. Add Qt specific expected result after r73246.

  • platform/qt/css2.1/t040105-import-10-b-expected.checksum: Added.
  • platform/qt/css2.1/t040105-import-10-b-expected.png: Added.
  • platform/qt/css2.1/t040105-import-10-b-expected.txt: Added.
5:07 AM Changeset in webkit [73262] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-03 Yuta Kitamura <yutak@chromium.org>

Unreviewed.

Update Chromium test expectations.

  • platform/chromium/test_expectations.txt:
3:49 AM Changeset in webkit [73261] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-03 Yuta Kitamura <yutak@chromium.org>

Unreviewed.

Update Chromium test expectations.

  • platform/chromium/test_expectations.txt:
3:34 AM Changeset in webkit [73260] by yutak@chromium.org
  • 2 edits in trunk/WebKitTools

2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73211.
http://trac.webkit.org/changeset/73211
https://bugs.webkit.org/show_bug.cgi?id=50450

Broke Chromium's "Webkit Win (dbg)(2)" bot. (Requested by
yutak on #webkit).

  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
3:27 AM Changeset in webkit [73259] by yutak@chromium.org
  • 7 edits in trunk/WebKitTools

2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73222.
http://trac.webkit.org/changeset/73222
https://bugs.webkit.org/show_bug.cgi?id=50449

r73211 seemed to break Chromium's "Webkit Win (dbg)(2)" bot.
(Requested by yutak on #webkit).

  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  • Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
  • Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
3:14 AM Changeset in webkit [73258] by Nikolas Zimmermann
  • 41 edits in trunk/WebCore

2010-12-03 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Dirk Schulze.

1336 files in WebCore rebuild when you touch SVGNames
https://bugs.webkit.org/show_bug.cgi?id=42025

Remove global SVGNames.h dependency, as SVGAnimatedPropertyMacros.h included it.
This requires to add the SVGNames.h include to lots of cpp files.

No functional changes, thus no new tests.

  • css/CSSCursorImageValue.cpp:
  • css/CSSFontFaceSource.cpp:
  • dom/Node.cpp:
  • loader/cache/CachedFont.cpp:
  • rendering/RenderSVGResourceClipper.cpp:
  • rendering/RenderSVGResourceFilter.cpp:
  • rendering/RenderSVGTransformableContainer.cpp:
  • rendering/RenderSVGViewportContainer.cpp:
  • rendering/SVGRenderTreeAsText.cpp:
  • rendering/SVGResources.cpp:
  • rendering/svg/RenderSVGTextPath.cpp:
  • rendering/svg/SVGRootInlineBox.cpp:
  • svg/SVGAnimateElement.cpp:
  • svg/SVGAnimateMotionElement.cpp:
  • svg/SVGAnimateTransformElement.cpp:
  • svg/SVGDefsElement.cpp:
  • svg/SVGFEBlendElement.cpp:
  • svg/SVGFEDisplacementMapElement.cpp:
  • svg/SVGFEMergeElement.cpp:
  • svg/SVGFEMergeNodeElement.cpp:
  • svg/SVGFEOffsetElement.cpp:
  • svg/SVGFETileElement.cpp:
  • svg/SVGFETurbulenceElement.cpp:
  • svg/SVGFont.cpp:
  • svg/SVGGElement.cpp:
  • svg/SVGImageElement.cpp:
  • svg/SVGLength.cpp:
  • svg/SVGMPathElement.cpp:
  • svg/SVGPathElement.cpp:
  • svg/SVGPathSegList.cpp:
  • svg/SVGStyledTransformableElement.cpp:
  • svg/SVGSymbolElement.cpp:
  • svg/SVGTextContentElement.cpp:
  • svg/SVGTextElement.cpp:
  • svg/SVGTextPathElement.cpp:
  • svg/SVGUseElement.cpp:
  • svg/SVGViewSpec.cpp:
  • svg/animation/SMILTimeContainer.cpp:
  • svg/properties/SVGAnimatedPropertyMacros.h:
  • svg/properties/SVGPathSegListPropertyTearOff.cpp:
3:06 AM Changeset in webkit [73257] by Philippe Normand
  • 4 edits
    2 adds in trunk

2010-12-02 Philippe Normand <pnormand@igalia.com>

Reviewed by Martin Robinson.

[GStreamer] hasVideo/Audio return false until the pipeline reaches PAUSED
https://bugs.webkit.org/show_bug.cgi?id=50382

Go to PAUSED even if preload is deactivated. In that case don't
process the GStreamer state changes until commitLoad() has been
called. This patch also fixes hasVideo and hasAudio methods,
making them reactive to the playbin2 audio/video tags-changed
signals.

Test: media/controls-without-preload.html

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::mediaPlayerPrivateMessageCallback): (WebCore::mediaPlayerPrivateVideoTagsChangedCallback): (WebCore::mediaPlayerPrivateAudioTagsChangedCallback): (WebCore::mediaPlayerPrivateAudioTagsChangeTimeoutCallback): (WebCore::mediaPlayerPrivateVideoTagsChangeTimeoutCallback): (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer): (WebCore::MediaPlayerPrivateGStreamer::~MediaPlayerPrivateGStreamer): (WebCore::MediaPlayerPrivateGStreamer::load): (WebCore::MediaPlayerPrivateGStreamer::commitLoad): (WebCore::MediaPlayerPrivateGStreamer::videoTagsChanged): (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVideoTags): (WebCore::MediaPlayerPrivateGStreamer::audioTagsChanged): (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfAudioTags): (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: (WebCore::MediaPlayerPrivateGStreamer::hasVideo): (WebCore::MediaPlayerPrivateGStreamer::hasAudio): (WebCore::MediaPlayerPrivateGStreamer::loadDelayed):

LayoutTests:

Reviewed by Martin Robinson.

hasVideo/hasAudio reimplementations

[GStreamer] hasVideo/Audio return false until the pipeline reaches PAUSED
https://bugs.webkit.org/show_bug.cgi?id=50382

  • media/controls-without-preload.html: Added.
  • platform/gtk/media/controls-without-preload-expected.txt: Added.
2:20 AM Changeset in webkit [73256] by commit-queue@webkit.org
  • 6 edits in trunk/WebKitTools

2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73228.
http://trac.webkit.org/changeset/73228
https://bugs.webkit.org/show_bug.cgi?id=50448

r73211 seemed to break Chromium's "Webkit Win (dbg)(2)" bot.
(Requested by yutak on #webkit).

  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  • Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  • Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  • Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py:
  • Scripts/webkitpy/layout_tests/test_types/text_diff.py:
2:03 AM Changeset in webkit [73255] by commit-queue@webkit.org
  • 5 edits in trunk/WebKitTools

2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73231.
http://trac.webkit.org/changeset/73231
https://bugs.webkit.org/show_bug.cgi?id=50443

r73211 seemed to broke Chromium's "Webkit Win (dbg)(2)" bot.
(Requested by yutak on #webkit).

  • Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
  • Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
1:44 AM Changeset in webkit [73254] by Nikolas Zimmermann
  • 75 edits in trunk/WebCore

2010-12-03 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Dirk Schulze.

Finish splitting DECLARE_ANIMATED_PROPERTY* in DECLARE/DEFINE parts for the remaining SVGAnimated* types
https://bugs.webkit.org/show_bug.cgi?id=50440

Continuing the work on bug 42025: Introduce (DECLARE|DEFINE)_ANIMATED_(ANGLE|BOOLEAN|INTEGER|PRESERVEASPECTRATIO|RECT).
The animated property declaration lives in the header, the definition in the cpp file, to avoid the dependency on SVGNames.h in all headers.

No functional changes, thus no new tests.

  • svg/SVGAElement.cpp:
  • svg/SVGAElement.h:
  • svg/SVGAnimatedAngle.h:
  • svg/SVGAnimatedBoolean.h:
  • svg/SVGAnimatedInteger.h:
  • svg/SVGAnimatedPreserveAspectRatio.h:
  • svg/SVGAnimatedRect.h:
  • svg/SVGAnimationElement.cpp:
  • svg/SVGAnimationElement.h: (WebCore::SVGAnimationElement::calculateDistance): (WebCore::SVGAnimationElement::animationPath):
  • svg/SVGCircleElement.cpp:
  • svg/SVGCircleElement.h:
  • svg/SVGClipPathElement.cpp:
  • svg/SVGClipPathElement.h:
  • svg/SVGCursorElement.cpp:
  • svg/SVGCursorElement.h:
  • svg/SVGDefsElement.cpp:
  • svg/SVGDefsElement.h:
  • svg/SVGEllipseElement.cpp:
  • svg/SVGEllipseElement.h:
  • svg/SVGFEConvolveMatrixElement.cpp:
  • svg/SVGFEConvolveMatrixElement.h:
  • svg/SVGFEImageElement.cpp:
  • svg/SVGFEImageElement.h:
  • svg/SVGFETurbulenceElement.cpp:
  • svg/SVGFETurbulenceElement.h:
  • svg/SVGFilterElement.cpp:
  • svg/SVGFilterElement.h:
  • svg/SVGFilterPrimitiveStandardAttributes.h:
  • svg/SVGFontElement.cpp: (WebCore::SVGFontElement::firstMissingGlyphElement): (WebCore::SVGFontElement::ensureGlyphCache):
  • svg/SVGFontElement.h:
  • svg/SVGForeignObjectElement.cpp:
  • svg/SVGForeignObjectElement.h:
  • svg/SVGGElement.cpp:
  • svg/SVGGElement.h: (WebCore::SVGGElement::isShadowTreeContainerElement): (WebCore::SVGGElement::isValid):
  • svg/SVGGradientElement.cpp:
  • svg/SVGGradientElement.h:
  • svg/SVGImageElement.cpp:
  • svg/SVGImageElement.h:
  • svg/SVGLineElement.cpp:
  • svg/SVGLineElement.h:
  • svg/SVGLinearGradientElement.h:
  • svg/SVGMPathElement.cpp:
  • svg/SVGMPathElement.h:
  • svg/SVGMarkerElement.cpp:
  • svg/SVGMarkerElement.h:
  • svg/SVGMaskElement.cpp:
  • svg/SVGMaskElement.h:
  • svg/SVGPathElement.cpp:
  • svg/SVGPathElement.h:
  • svg/SVGPatternElement.cpp:
  • svg/SVGPatternElement.h:
  • svg/SVGPolyElement.cpp:
  • svg/SVGPolyElement.h:
  • svg/SVGRadialGradientElement.h:
  • svg/SVGRectElement.cpp:
  • svg/SVGRectElement.h:
  • svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::contentScriptType): (WebCore::SVGSVGElement::contentStyleType): (WebCore::SVGSVGElement::parseMappedAttribute):
  • svg/SVGSVGElement.h:
  • svg/SVGScriptElement.cpp:
  • svg/SVGScriptElement.h:
  • svg/SVGSwitchElement.cpp:
  • svg/SVGSwitchElement.h: (WebCore::SVGSwitchElement::isValid):
  • svg/SVGSymbolElement.cpp:
  • svg/SVGSymbolElement.h: (WebCore::SVGSymbolElement::rendererIsNeeded):
  • svg/SVGTextContentElement.cpp:
  • svg/SVGTextContentElement.h:
  • svg/SVGUseElement.cpp:
  • svg/SVGUseElement.h:
  • svg/SVGViewElement.cpp:
  • svg/SVGViewElement.h: (WebCore::SVGViewElement::viewTarget): (WebCore::SVGViewElement::rendererIsNeeded):
  • svg/SVGViewSpec.cpp:
  • svg/SVGViewSpec.h: (WebCore::SVGViewSpec::transform): (WebCore::SVGViewSpec::viewTargetString): (WebCore::SVGViewSpec::contextElement):
  • svg/properties/SVGAnimatedPropertyMacros.h:
1:24 AM Changeset in webkit [73253] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-03 Yuta Kitamura <yutak@chromium.org>

Unreviewed.

Update Chromium test expectations.

  • platform/chromium/test_expectations.txt:
1:11 AM Changeset in webkit [73252] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2010-12-03 Philippe Normand <pnormand@igalia.com>

Unreviewed, skipping failing media test on GTK.

  • platform/gtk/Skipped: Skip media/controls-drag-timebar.html
1:07 AM Changeset in webkit [73251] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-03 Yuta Kitamura <yutak@chromium.org>

Unreviewed.

Update Chromium test expectations.

  • platform/chromium/test_expectations.txt:
12:53 AM Changeset in webkit [73250] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-03 Noel Gordon <noel.gordon@gmail.com>

Reviewed by Darin Fisher.

[chromium] PNG encoder leaks memory on png_write_row errors.
https://bugs.webkit.org/show_bug.cgi?id=50439

Move the creation of needed C++ objects before the setjmp() point so
those objects have their destructors called if libpng errors invoke
the setjmp() return path.

Other minor cleanup: use the skia bitmap locker class, and remove the
PNGDestroyer class - instead directly call png_destroy_write_struct()
at each of the encodeImpl() return points.

No change in behaviour, so no new tests.

  • platform/image-encoders/skia/PNGImageEncoder.cpp: (WebCore::encodeImpl): (WebCore::PNGImageEncoder::encode):
12:39 AM Changeset in webkit [73249] by Philippe Normand
  • 5 edits in trunk/WebCore

2010-12-02 Philippe Normand <pnormand@igalia.com>

Reviewed by Eric Carlson.

Theme not updated when MediaPlayer m_private engine changes
https://bugs.webkit.org/show_bug.cgi?id=50228

Trigger a new rendering of the media element when the private
media-player backend is updated.

  • html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::mediaPlayerEngineUpdated):
  • html/HTMLMediaElement.h:
  • platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::MediaPlayer): (WebCore::MediaPlayer::load):
  • platform/graphics/MediaPlayer.h: (WebCore::MediaPlayerClient::mediaPlayerEngineUpdated):
12:32 AM Changeset in webkit [73248] by levin@chromium.org
  • 3 edits in trunk/WebKitTools

2010-12-03 David Levin <levin@chromium.org>

Reviewed by Shinichiro Hamaji.

check-webkit-style: false positive reported for #if macro
https://bugs.webkit.org/show_bug.cgi?id=48242

  • Scripts/webkitpy/style/checkers/cpp.py: Adjusted check to avoid all preprocessor commands.
  • Scripts/webkitpy/style/checkers/cpp_unittest.py: Added test.
12:12 AM Changeset in webkit [73247] by commit-queue@webkit.org
  • 4 edits
    2 adds in trunk

2010-12-03 Yonathan Randolph <yonathan@gmail.com>

Reviewed by Alexey Proskuryakov.

XPath lexer misinterprets expression starting with "div".
https://bugs.webkit.org/show_bug.cgi?id=50366

  • fast/xpath/ambiguous-operators-expected.txt: Added.
  • fast/xpath/ambiguous-operators.html: Added.

2010-12-03 Yonathan Randolph <yonathan@gmail.com>

Reviewed by Alexey Proskuryakov.

XPath lexer misinterprets expression starting with "div".
https://bugs.webkit.org/show_bug.cgi?id=50366

  • xml/XPathParser.cpp:
  • xml/XPathParser.h: (WebCore::XPath::Parser::isOperatorContext): removed (renamed) (WebCore::XPath::Parser::isBinaryOperatorContext): added
12:08 AM Changeset in webkit [73246] by rwlbuis@webkit.org
  • 3 edits
    4 adds in trunk

2010-12-02 Rob Buis <rwlbuis@gmail.com>

Reviewed by Alexey Proskuryakov.

CSS 2.1 failure: at-import-*
https://bugs.webkit.org/show_bug.cgi?id=47153

Fix at-import-010.htm by only setting m_allowImportRules
to false when creating valid style or page rules.

Test: css2.1/t040105-import-10-b.html

  • css/CSSParser.cpp: (WebCore::CSSParser::createStyleRule):

Dec 2, 2010:

11:44 PM Changeset in webkit [73245] by aa@chromium.org
  • 2 edits in trunk/WebCore

2010-12-02 Aaron Boodman <aa@chromium.org>

Reviewed by David Hyatt.

Reduce the number of cases where we end up with a stale value for
minimumPreferredLogicalWidth(). This isn't a complete fix, but fixes a
large number of cases.

RenderObject::minimumPreferredLogicalWidth() sometimes reports wrong value.
https://bugs.webkit.org/show_bug.cgi?id=50119

  • rendering/RenderBox.cpp: (WebCore::RenderBox::styleDidChange):
11:25 PM Changeset in webkit [73244] by commit-queue@webkit.org
  • 8 edits in trunk/WebCore

2010-12-02 Gregg Tavares <gman@google.com>

Reviewed by David Levin.

Need to initialize destination variables before calling GL
https://bugs.webkit.org/show_bug.cgi?id=50048

No new tests because no change in functionality.

  • html/canvas/WebGLFramebuffer.cpp: (WebCore::WebGLFramebuffer::initializeRenderbuffers):
  • html/canvas/WebGLProgram.cpp: (WebCore::WebGLProgram::cacheActiveAttribLocations):
  • html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::getAttachedShaders): (WebCore::WebGLRenderingContext::getBufferParameter): (WebCore::WebGLRenderingContext::getFramebufferAttachmentParameter): (WebCore::WebGLRenderingContext::getBooleanParameter): (WebCore::WebGLRenderingContext::getFloatParameter): (WebCore::WebGLRenderingContext::getLongParameter): (WebCore::WebGLRenderingContext::getUnsignedLongParameter):
  • platform/graphics/chromium/LayerChromium.cpp: (WebCore::loadShader): (WebCore::LayerChromium::createShaderProgram):
  • platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::initializeSharedObjects):
  • platform/graphics/gpu/DrawingBuffer.cpp: (WebCore::DrawingBuffer::reset):
  • platform/graphics/gpu/Shader.cpp: (WebCore::Shader::loadProgram):
11:21 PM Changeset in webkit [73243] by abarth@webkit.org
  • 2 edits
    3 copies in branches/chromium/597

Merge 73112 - 2010-12-02 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Gray-scale JPEG images with a color profile are stretched horizonally
https://bugs.webkit.org/show_bug.cgi?id=49950

Turns out gray-scale JPEGs with color profiles have the same issue as
PNGs. As with PNGs, we suppress now suppress the color profile for
gray-scale JPEGs. Most importantly, this patch adds a test.

Test: fast/images/gray-scale-jpeg-with-color-profile.html

  • platform/image-decoders/jpeg/JPEGImageDecoder.cpp: (WebCore::JPEGImageReader::decode):

2010-12-02 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Gray-scale JPEG images with a color profile are stretched horizonally
https://bugs.webkit.org/show_bug.cgi?id=49950

Test that we properly render gray-scale JPEGs with embedded color
profiles.

  • fast/images/gray-scale-jpeg-with-color-profile.html: Added.
  • fast/images/resources/flowchart.jpg: Added.
  • platform/mac/fast/images/gray-scale-jpeg-with-color-profile-expected.txt: Added.

TBR=abarth@webkit.org
Review URL: http://codereview.chromium.org/5635002

11:05 PM Changeset in webkit [73242] by commit-queue@webkit.org
  • 2 edits in trunk

2010-12-02 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Eric Seidel.

[EFL] Fails to build with non-system cairo
https://bugs.webkit.org/show_bug.cgi?id=50395

Do not add 'cairo' as a suffix for the paths provided by
pkgconfig. The paths provided by pkgconfig already include it.

  • cmake/FindCairo.cmake:
10:49 PM Changeset in webkit [73241] by Laszlo Gombos
  • 6 edits in trunk

2010-12-02 Laszlo Gombos <Laszlo Gombos>

Reviewed by Andreas Kling.

[Qt] Enable Web Timing for Qt
https://bugs.webkit.org/show_bug.cgi?id=42433

  • fast/dom/webtiming-document-open-expected.txt: Add an extra line to the expected results.
  • platform/qt/Skipped: Enable Web Timing tests.
  • platform/qt/fast/dom/Window/window-property-descriptors-expected.txt: Add webkitPerformance property.

2010-12-02 Laszlo Gombos <Laszlo Gombos>

Reviewed by Andreas Kling.

[Qt] Enable Web Timing for Qt
https://bugs.webkit.org/show_bug.cgi?id=42433

  • features.pri: Enable Web Timing for trunk (but not yet for production)
10:15 PM Changeset in webkit [73240] by eric@webkit.org
  • 4 edits in trunk/WebKitTools

2010-12-02 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Update the EWSTools scripts to use modern-style git repos
https://bugs.webkit.org/show_bug.cgi?id=50402

  • EWSTools/create-webkit-git:
  • EWSTools/start-commit-queue.sh:
  • EWSTools/start-queue.sh:
9:34 PM Changeset in webkit [73239] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Yuta Kitamura <yutak@chromium.org>

Unreviewed.

Revert Chromium test expectations updates at r73234 and r73232.
Tests added in these changes are no longer failing.

  • platform/chromium/test_expectations.txt:
9:21 PM Changeset in webkit [73238] by aestes@apple.com
  • 9 edits in trunk/WebCore

Update bindings test results with new GObject results.

Rubber-stamped by Mark Rowe.

  • bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:

(WebKit::kit):

  • bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h:
  • bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:

(WebKit::kit):

  • bindings/scripts/test/GObject/WebKitDOMTestInterfacePrivate.h:
  • bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp:

(WebKit::kit):

  • bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListenerPrivate.h:
  • bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:

(WebKit::kit):
(webkit_dom_test_obj_obj_method):
(webkit_dom_test_obj_obj_method_with_args):
(webkit_dom_test_obj_method_that_requires_all_args):
(webkit_dom_test_obj_method_that_requires_all_args_and_throws):
(webkit_dom_test_obj_with_script_state_obj):
(webkit_dom_test_obj_with_script_state_obj_exception):
(webkit_dom_test_obj_get_read_only_test_obj_attr):
(webkit_dom_test_obj_get_test_obj_attr):
(webkit_dom_test_obj_get_xml_obj_attr):

  • bindings/scripts/test/GObject/WebKitDOMTestObjPrivate.h:
8:59 PM Changeset in webkit [73237] by Simon Fraser
  • 15 edits
    1 move
    1 add
    5 deletes in trunk

2010-12-02 Simon Fraser <Simon Fraser>

Revert r73217 and r73227 because of continued bustage.

  • WebCore.xcodeproj/project.pbxproj:
  • platform/graphics/GraphicsLayer.h: (WebCore::GraphicsLayer::nativeLayer):
  • platform/graphics/ca/PlatformCAAnimation.h: Removed.
  • platform/graphics/ca/PlatformCALayer.h: Removed.
  • platform/graphics/ca/mac/PlatformCAAnimationMac.mm: Removed.
  • platform/graphics/ca/mac/PlatformCALayerMac.mm: Removed.
  • platform/graphics/chromium/GraphicsLayerChromium.cpp: (WebCore::GraphicsLayerChromium::nativeLayer):
  • platform/graphics/chromium/GraphicsLayerChromium.h:
  • platform/graphics/mac/GraphicsLayerMac.h: Renamed from WebCore/platform/graphics/ca/GraphicsLayerCA.h. (WebCore::GraphicsLayerMac::hasContentsLayer): (WebCore::GraphicsLayerMac::primaryLayer): (WebCore::GraphicsLayerMac::isReplicatedRootClone): (WebCore::GraphicsLayerMac::primaryLayerClones): (WebCore::GraphicsLayerMac::animationIsRunning): (WebCore::GraphicsLayerMac::contentsLayer): (WebCore::GraphicsLayerMac::ReplicaState::ReplicaState): (WebCore::GraphicsLayerMac::ReplicaState::push): (WebCore::GraphicsLayerMac::ReplicaState::setBranchType): (WebCore::GraphicsLayerMac::ReplicaState::pop): (WebCore::GraphicsLayerMac::ReplicaState::depth): (WebCore::GraphicsLayerMac::ReplicaState::replicaDepth): (WebCore::GraphicsLayerMac::hasCloneLayers): (WebCore::GraphicsLayerMac::LayerPropertyAnimation::LayerPropertyAnimation): (WebCore::GraphicsLayerMac::AnimationProcessingAction::AnimationProcessingAction):
  • platform/graphics/mac/GraphicsLayerMac.mm: Renamed from WebCore/platform/graphics/ca/GraphicsLayerCA.cpp. (WebCore::currentTimeToMediaTime): (WebCore::mediaTimeToCurrentTime): (-[WebAnimationDelegate animationDidStart:]): (-[WebAnimationDelegate WebCore::]): (-[WebAnimationDelegate setLayer:WebCore::]): (WebCore::copyTransform): (WebCore::getTransformFunctionValue): (WebCore::getValueFunctionNameForTransformOperation): (WebCore::propertyIdToString): (WebCore::animationIdentifier): (WebCore::getCAMediaTimingFunction): (WebCore::setLayerBorderColor): (WebCore::clearBorderColor): (WebCore::setLayerBackgroundColor): (WebCore::clearLayerBackgroundColor): (WebCore::safeSetSublayers): (WebCore::caValueFunctionSupported): (WebCore::forceSoftwareAnimation): (WebCore::nullActionsDictionary): (WebCore::animationHasStepsTimingFunction): (WebCore::GraphicsLayer::create): (WebCore::GraphicsLayerMac::GraphicsLayerMac): (WebCore::GraphicsLayerMac::~GraphicsLayerMac): (WebCore::GraphicsLayerMac::setName): (WebCore::GraphicsLayerMac::nativeLayer): (WebCore::GraphicsLayerMac::setChildren): (WebCore::GraphicsLayerMac::addChild): (WebCore::GraphicsLayerMac::addChildAtIndex): (WebCore::GraphicsLayerMac::addChildBelow): (WebCore::GraphicsLayerMac::addChildAbove): (WebCore::GraphicsLayerMac::replaceChild): (WebCore::GraphicsLayerMac::removeFromParent): (WebCore::GraphicsLayerMac::setMaskLayer): (WebCore::GraphicsLayerMac::setReplicatedLayer): (WebCore::GraphicsLayerMac::setReplicatedByLayer): (WebCore::GraphicsLayerMac::setPosition): (WebCore::GraphicsLayerMac::setAnchorPoint): (WebCore::GraphicsLayerMac::setSize): (WebCore::GraphicsLayerMac::setTransform): (WebCore::GraphicsLayerMac::setChildrenTransform): (WebCore::GraphicsLayerMac::moveOrCopyLayerAnimation): (WebCore::GraphicsLayerMac::moveOrCopyAnimationsForProperty): (WebCore::GraphicsLayerMac::setPreserves3D): (WebCore::GraphicsLayerMac::setMasksToBounds): (WebCore::GraphicsLayerMac::setDrawsContent): (WebCore::GraphicsLayerMac::setBackgroundColor): (WebCore::GraphicsLayerMac::clearBackgroundColor): (WebCore::GraphicsLayerMac::setContentsOpaque): (WebCore::GraphicsLayerMac::setBackfaceVisibility): (WebCore::GraphicsLayerMac::setOpacity): (WebCore::GraphicsLayerMac::setNeedsDisplay): (WebCore::GraphicsLayerMac::setNeedsDisplayInRect): (WebCore::GraphicsLayerMac::setContentsNeedsDisplay): (WebCore::GraphicsLayerMac::setContentsRect): (WebCore::GraphicsLayerMac::addAnimation): (WebCore::GraphicsLayerMac::pauseAnimation): (WebCore::GraphicsLayerMac::removeAnimation): (WebCore::GraphicsLayerMac::animationDidStart): (WebCore::GraphicsLayerMac::setContentsToImage): (WebCore::GraphicsLayerMac::setContentsToMedia): (WebCore::GraphicsLayerMac::didDisplay): (WebCore::GraphicsLayerMac::syncCompositingState): (WebCore::GraphicsLayerMac::syncCompositingStateForThisLayerOnly): (WebCore::GraphicsLayerMac::recursiveCommitChanges): (WebCore::GraphicsLayerMac::commitLayerChangesBeforeSublayers): (WebCore::GraphicsLayerMac::commitLayerChangesAfterSublayers): (WebCore::GraphicsLayerMac::updateLayerNames): (WebCore::GraphicsLayerMac::updateSublayerList): (WebCore::GraphicsLayerMac::updateLayerPosition): (WebCore::GraphicsLayerMac::updateLayerSize): (WebCore::GraphicsLayerMac::updateAnchorPoint): (WebCore::GraphicsLayerMac::updateTransform): (WebCore::GraphicsLayerMac::updateChildrenTransform): (WebCore::GraphicsLayerMac::updateMasksToBounds): (WebCore::GraphicsLayerMac::updateContentsOpaque): (WebCore::GraphicsLayerMac::updateBackfaceVisibility): (WebCore::GraphicsLayerMac::updateStructuralLayer): (WebCore::GraphicsLayerMac::ensureStructuralLayer): (WebCore::GraphicsLayerMac::structuralLayerPurpose): (WebCore::GraphicsLayerMac::updateLayerDrawsContent): (WebCore::GraphicsLayerMac::updateLayerBackgroundColor): (WebCore::GraphicsLayerMac::updateContentsImage): (WebCore::GraphicsLayerMac::updateContentsMediaLayer): (WebCore::GraphicsLayerMac::updateContentsCanvasLayer): (WebCore::GraphicsLayerMac::updateContentsRect): (WebCore::GraphicsLayerMac::updateMaskLayer): (WebCore::GraphicsLayerMac::updateReplicatedLayers): (WebCore::GraphicsLayerMac::ReplicaState::cloneID): (WebCore::GraphicsLayerMac::replicatedLayerRoot): (WebCore::GraphicsLayerMac::updateLayerAnimations): (WebCore::GraphicsLayerMac::setCAAnimationOnLayer): (WebCore::bug7311367Workaround): (WebCore::GraphicsLayerMac::removeCAAnimationFromLayer): (WebCore::copyAnimationProperties): (WebCore::GraphicsLayerMac::pauseCAAnimationOnLayer): (WebCore::GraphicsLayerMac::setContentsToCanvas): (WebCore::GraphicsLayerMac::repaintLayerDirtyRects): (WebCore::GraphicsLayerMac::updateContentsNeedsDisplay): (WebCore::GraphicsLayerMac::createAnimationFromKeyframes): (WebCore::GraphicsLayerMac::createTransformAnimationsFromKeyframes): (WebCore::GraphicsLayerMac::createBasicAnimation): (WebCore::GraphicsLayerMac::createKeyframeAnimation): (WebCore::GraphicsLayerMac::setupAnimation): (WebCore::GraphicsLayerMac::timingFunctionForAnimationValue): (WebCore::GraphicsLayerMac::setAnimationEndpoints): (WebCore::GraphicsLayerMac::setAnimationKeyframes): (WebCore::GraphicsLayerMac::setTransformAnimationEndpoints): (WebCore::GraphicsLayerMac::setTransformAnimationKeyframes): (WebCore::GraphicsLayerMac::suspendAnimations): (WebCore::GraphicsLayerMac::resumeAnimations): (WebCore::GraphicsLayerMac::hostLayerForSublayers): (WebCore::GraphicsLayerMac::layerForSuperlayer): (WebCore::GraphicsLayerMac::animatedLayer): (WebCore::GraphicsLayerMac::animatedLayerClones): (WebCore::GraphicsLayerMac::platformLayer): (WebCore::GraphicsLayerMac::setDebugBackgroundColor): (WebCore::GraphicsLayerMac::setDebugBorder): (WebCore::GraphicsLayerMac::constrainedSize): (WebCore::GraphicsLayerMac::requiresTiledLayer): (WebCore::GraphicsLayerMac::swapFromOrToTiledLayer): (WebCore::GraphicsLayerMac::defaultContentsOrientation): (WebCore::GraphicsLayerMac::updateContentsTransform): (WebCore::GraphicsLayerMac::setupContentsLayer): (WebCore::GraphicsLayerMac::findOrMakeClone): (WebCore::GraphicsLayerMac::ensureCloneLayers): (WebCore::GraphicsLayerMac::removeCloneLayers): (WebCore::GraphicsLayerMac::positionForCloneRootLayer): (WebCore::GraphicsLayerMac::propagateLayerChangeToReplicas): (WebCore::GraphicsLayerMac::fetchCloneLayers): (WebCore::GraphicsLayerMac::cloneLayer): (WebCore::GraphicsLayerMac::setOpacityInternal): (WebCore::GraphicsLayerMac::updateOpacityOnLayer): (WebCore::GraphicsLayerMac::noteSublayersChanged): (WebCore::GraphicsLayerMac::noteLayerPropertyChanged):
  • platform/graphics/mac/WebLayer.h:
  • platform/graphics/mac/WebLayer.mm: (-[WebLayer initWithLayer:]): (-[WebLayer setNeedsDisplay]): (-[WebLayer setNeedsDisplayInRect:]): (-[WebLayer display]): (-[WebLayer drawInContext:]): (-[WebLayer setLayerOwner:]): (-[WebLayer layerOwner]):
  • platform/graphics/mac/WebTiledLayer.h:
  • platform/graphics/mac/WebTiledLayer.mm: (-[WebTiledLayer initWithLayer:]): (-[WebTiledLayer setNeedsDisplay]): (-[WebTiledLayer setNeedsDisplayInRect:]): (-[WebTiledLayer display]): (-[WebTiledLayer drawInContext:]): (-[WebTiledLayer setLayerOwner:]): (-[WebTiledLayer layerOwner]):
  • platform/graphics/qt/GraphicsLayerQt.cpp: (WebCore::GraphicsLayerQtImpl::flushChanges): (WebCore::GraphicsLayerQt::nativeLayer):
  • platform/graphics/qt/GraphicsLayerQt.h:
  • platform/graphics/win/GraphicsLayerCACF.cpp: (WebCore::GraphicsLayerCACF::nativeLayer):
  • platform/graphics/win/GraphicsLayerCACF.h:
8:49 PM Changeset in webkit [73236] by Simon Fraser
  • 2 edits in trunk/WebKitTools

2010-12-02 Simon Fraser <Simon Fraser>

Fix Chromium Linux plugin tests by not logging
unconditionally from the event handling code.

  • DumpRenderTree/TestNetscapePlugIn/main.cpp: (handleEventX11):
8:46 PM Changeset in webkit [73235] by Simon Fraser
  • 1 edit
    2 moves in trunk/LayoutTests

2010-12-02 Simon Fraser <Simon Fraser>

Move to platform/mac, since the paint call is only made for plugins using QuickDraw or
CoreGraphics.

  • platform/mac/plugins/testplugin-onnew-onpaint-expected.txt: Renamed from LayoutTests/plugins/testplugin-onnew-onpaint-expected.txt.
  • platform/mac/plugins/testplugin-onnew-onpaint.html: Renamed from LayoutTests/plugins/testplugin-onnew-onpaint.html.
8:39 PM Changeset in webkit [73234] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Yuta Kitamura <yutak@chromium.org>

Unreviewed.

Remove duplicate entries from Chromium test expectations.

  • platform/chromium/test_expectations.txt:
8:35 PM Changeset in webkit [73233] by jianli@chromium.org
  • 3 edits in trunk/WebCore

[chromium] Remove dead code from PNG encoder
https://bugs.webkit.org/show_bug.cgi?id=50377

Patch by Noel Gordon <noel.gordon@gmail.com> on 2010-12-02
Reviewed by David Levin.

Also webkit style the PNG encoder files.

No change in behaviour, so no new tests.

  • platform/image-encoders/skia/PNGImageEncoder.cpp:

(WebCore::encodeImpl):
(WebCore::PNGImageEncoder::encode):

  • platform/image-encoders/skia/PNGImageEncoder.h:
8:06 PM Changeset in webkit [73232] by yutak@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Yuta Kitamura <yutak@chromium.org>

Unreviewed.

Update Chromium test expectations.

  • platform/chromium/test_expectations.txt:
7:41 PM Changeset in webkit [73231] by dpranke@chromium.org
  • 5 edits in trunk/WebKitTools

2010-12-02 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

nrwt multiprocessing - move logic back into run_webkit_tests

This change moves a bunch of logic that I had put into
message_broker back into run_webkit_tests, in a slightly
different format. WorkerMessageBroker needed to become less aware of
the logic the TestRunner class uses, and more generic.
Eventually the MessageBroker will only do generic messaging and
thread/process-pooling, and (almost) all of the
run-webkit-tests-specific logic will be moved to
run_webkit_tests.py and dump_render_tree_thread.py.

The biggest changes are that the Broker can now start a single
worker, but the responsibility for starting all of them is pushed
back to the TestRunner (Manager), and the logic for checking if
the threads are done or wedged is moved back to TestRunner. We
also remove WorkerMessageBroker.cleanup (not needed) and
cancel_workers (they have to be cancelled individually).

The message_broker is now encapsulated inside
TestRunner._run_tests(); it only needs to exist while actually
running the tests.

Also, delete a bunch of tests in message_broker_unittest that no
longer make much sense.

This patch depends on bug 50372.

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

  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  • Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
  • Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
7:41 PM Changeset in webkit [73230] by yutak@chromium.org
  • 2 edits in trunk/WebCore

2010-12-02 Yuta Kitamura <yutak@chromium.org>

Reviewed by Alexey Proskuryakov.

An attempt to fix Chromium's clang build.

Implement (non-EventListener) marquee IDL attributes from HTML5.
https://bugs.webkit.org/show_bug.cgi?id=49786

  • rendering/style/RenderStyle.h: (WebCore::InheritedFlags::initialMarqueeSpeed):
6:30 PM Changeset in webkit [73229] by mnaganov@chromium.org
  • 3 edits in trunk/WebCore

2010-12-02 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Fix heap snapshots loading. Loading is now
conducted by the Profiles panel which prevents accidental
simultaneous attempts to load the same profile several times in
parallel.

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

  • inspector/front-end/HeapSnapshotView.js: (WebInspector.HeapSnapshotView.prototype._loadProfile): (WebInspector.HeapSnapshotView.prototype.processLoadedSnapshot):
  • inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype.loadHeapSnapshot): (WebInspector.ProfilesPanel.prototype.addHeapSnapshotChunk): (WebInspector.ProfilesPanel.prototype.finishHeapSnapshot):
6:29 PM Changeset in webkit [73228] by hayato@chromium.org
  • 6 edits in trunk/WebKitTools

2010-12-02 Hayato Ito <hayato@chromium.org>

Reviewed by Eric Seidel.

Refactor test_types's compare_output() method so that it takes a
TestInput object.

compare_output() will need additional information included in a TestInput
object to support reftests. This change is a pre-requirement of that.

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

  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  • Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  • Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  • Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py:
  • Scripts/webkitpy/layout_tests/test_types/text_diff.py:
6:24 PM Changeset in webkit [73227] by cmarrin@apple.com
  • 5 edits in trunk/WebCore

2010-12-02 Chris Marrin <cmarrin@apple.com>

Reviewed by Simon Fraser.

Fix Leopard build broken by http://trac.webkit.org/changeset/73217

  • platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::getTransformFunctionValue): (WebCore::GraphicsLayerCA::updateContentsTransform):
  • platform/graphics/ca/PlatformCALayer.h:
  • platform/graphics/ca/mac/PlatformCAAnimationMac.mm: (PlatformCAAnimation::valueFunction): (PlatformCAAnimation::setValueFunction):
  • platform/graphics/ca/mac/PlatformCALayerMac.mm: (PlatformCALayer::PlatformCALayer): (PlatformCALayer::anchorPoint): (PlatformCALayer::setAnchorPoint): (PlatformCALayer::contentsTransform): (PlatformCALayer::setContentsTransform): (PlatformCALayer::isGeometryFlipped): (PlatformCALayer::setGeometryFlipped): (PlatformCALayer::setMinificationFilter): (PlatformCALayer::setMagnificationFilter):
5:42 PM Changeset in webkit [73226] by Simon Fraser
  • 5 edits
    2 adds in trunk

2010-12-02 Simon Fraser <Simon Fraser>

Reviewed by Anders Carlsson.

Add the ability to run script on 'new' and 'paint' in the test plugin
https://bugs.webkit.org/show_bug.cgi?id=50425

Add "onnew" and "onpaintevent" attributes to the test plugin,
so that tests can run JS at these times.

  • DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp: (pluginAllocate):
  • DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
  • DumpRenderTree/TestNetscapePlugIn/main.cpp: (NPP_New): (NPP_Destroy): (handleEventCarbon): (handleEventCocoa): (NPP_HandleEvent):
5:30 PM Changeset in webkit [73225] by ggaren@apple.com
  • 2 edits in trunk/JavaScriptCore

Try to fix Windows build.

  • runtime/GCActivityCallback.cpp:

(JSC::DefaultGCActivityCallback::synchronize): Added a non-CF implementation.

5:26 PM Changeset in webkit [73224] by victorw@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] update bug numbers in chromium test expectations.

  • platform/chromium/test_expectations.txt:
5:16 PM Changeset in webkit [73223] by ggaren@apple.com
  • 6 edits in trunk/JavaScriptCore

Fixed <rdar://problem/8310571> CrashTracer: 60 crashes in Photo Booth at
com.apple.JavaScriptCore: JSC::Heap::markRoots + 746

Reviewed by Gavin Barraclough.

  • API/APIShims.h:

(JSC::APIEntryShimWithoutLock::APIEntryShimWithoutLock): Call our new
synchronize() function.

  • runtime/Collector.cpp:

(JSC::Heap::activityCallback):

  • runtime/Collector.h: Added an activityCallback() accessor, for the

call above.

  • runtime/GCActivityCallback.h:

(JSC::GCActivityCallback::synchronize):

  • runtime/GCActivityCallbackCF.cpp:

(JSC::DefaultGCActivityCallback::DefaultGCActivityCallback):
(JSC::DefaultGCActivityCallback::~DefaultGCActivityCallback):
(JSC::DefaultGCActivityCallback::operator()):
(JSC::DefaultGCActivityCallback::synchronize): Track the run loop we're
scheduled in. If we begin/resume execution within a new run loop, reschedule
on it. This prevents a crash when using a lockless context group on
multiple threads -- the crash would happen if the GC timer scheduled on
thread A, then you continued execution on thread B, then the thread A
timer fired.

5:13 PM Changeset in webkit [73222] by dpranke@chromium.org
  • 7 edits in trunk/WebKitTools

2010-12-02 Sam Weinig <sam@webkit.org>

Fix Qt build.

  • WebKitTestRunner/qt/PlatformWebViewQt.cpp: (WTR::PlatformWebView::PlatformWebView):
4:38 PM Changeset in webkit [73221] by Laszlo Gombos
  • 7 edits in trunk/WebKit2

2010-12-02 Laszlo Gombos <Laszlo Gombos>

Reviewed by Csaba Osztrogonác.

[Qt] Fix compilation with !ENABLE(OFFLINE_WEB_APPLICATIONS) and
!ENABLE(TILED_BACKING_STORE) for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=50071

Add appropriate guards. No functional change if guards are set.

  • UIProcess/API/qt/qwkpage.cpp: (QWKPage::setActualVisibleContentsRect):
  • UIProcess/TiledDrawingAreaProxy.cpp:
  • UIProcess/qt/TiledDrawingAreaProxyQt.cpp:
  • UIProcess/qt/TiledDrawingAreaTileQt.cpp:
  • UIProcess/qt/WebContextQt.cpp: (WebKit::WebContext::applicationCacheDirectory):
  • WebProcess/WebProcess.cpp: (WebKit::WebProcess::initializeWebProcess):
4:38 PM Changeset in webkit [73220] by weinig@apple.com
  • 2 edits in trunk/WebKitTools

Fix Qt build.

  • WebKitTestRunner/qt/PlatformWebViewQt.cpp:

(WTR::PlatformWebView::PlatformWebView):

4:36 PM Changeset in webkit [73219] by mitz@apple.com
  • 15 edits
    2 adds in trunk

WebCore: CSS support for the text-emphasis properties
https://bugs.webkit.org/show_bug.cgi?id=48539

Reviewed by Dave Hyatt.

Test: fast/css/parsing-text-emphasis.html

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Added text-emphasis-color,
text-emphasis-position and text-emphasis-style. Left the text-emphasis shorthand unsupported.

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseValue): Parse the properties.
(WebCore::CSSParser::parseTextEmphasisStyle): Added.

  • css/CSSParser.h:
  • css/CSSPrimitiveValueMappings.h:

(WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Added TextEmphasisPosition, TextEmphasisFill
and TextEmphasisMark mappings.
(WebCore::CSSPrimitiveValue::operator TextEmphasisPosition): Added.
(WebCore::CSSPrimitiveValue::operator TextEmphasisFill): Added.
(WebCore::CSSPrimitiveValue::operator TextEmphasisMark): Added.

  • css/CSSPropertyLonghand.cpp:

(WebCore::initShorthandMap): Added the text-emphasis shorthand.

  • css/CSSPropertyNames.in: Added -webkit-text-emphasis, -webkit-text-emphasis-color,

-webkit-text-emphasis-position, and -webkit-text-emphasis-style.

  • css/CSSStyleSelector.cpp:

(WebCore::isValidVisitedLinkProperty): Added text-emphasis-color.
(WebCore::CSSStyleSelector::applyProperty): Handle the properties.

  • css/CSSValueKeywords.in: Added 'over' and 'under' for text-emphasis-position. Added 'dot',

'double-circle', 'triangle', 'sesame', 'filled' and 'open' for text-emphasis-style.

  • rendering/style/RenderStyle.cpp:

(WebCore::RenderStyle::colorIncludingFallback): Handle text-emphasis-color.
(WebCore::RenderStyle::textEmphasisMark): Added. Maps the fake 'auto' value to 'dot' or
'sesame' based on writing direction.

  • rendering/style/RenderStyle.h: Added accessors.

(WebCore::InheritedFlags::textEmphasisFill):
(WebCore::InheritedFlags::textEmphasisCustomMark):
(WebCore::InheritedFlags::textEmphasisPosition):
(WebCore::InheritedFlags::setTextEmphasisColor):
(WebCore::InheritedFlags::setTextEmphasisFill):
(WebCore::InheritedFlags::setTextEmphasisMark):
(WebCore::InheritedFlags::setTextEmphasisCustomMark):
(WebCore::InheritedFlags::setTextEmphasisPosition):
(WebCore::InheritedFlags::initialTextEmphasisColor):
(WebCore::InheritedFlags::initialTextEmphasisFill):
(WebCore::InheritedFlags::initialTextEmphasisMark):
(WebCore::InheritedFlags::initialTextEmphasisCustomMark):
(WebCore::InheritedFlags::initialTextEmphasisPosition):
(WebCore::InheritedFlags::textEmphasisColor):

  • rendering/style/RenderStyleConstants.h:
  • rendering/style/StyleRareInheritedData.cpp:

(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):

  • rendering/style/StyleRareInheritedData.h:

LayoutTests: Test parsing of the text-emphasis CSS properties
https://bugs.webkit.org/show_bug.cgi?id=48539

Reviewed by Dave Hyatt.

  • fast/css/parsing-text-emphasis-expected.txt: Added.
  • fast/css/parsing-text-emphasis.html: Added.
4:35 PM Changeset in webkit [73218] by victorw@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] merge toDataURL-supportedTypes in chromium test expectations.

  • platform/chromium/test_expectations.txt:
4:34 PM Changeset in webkit [73217] by cmarrin@apple.com
  • 15 edits
    8 adds
    2 deletes in trunk

2010-12-02 Chris Marrin <cmarrin@apple.com>

Reviewed by Simon Fraser.

Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
https://bugs.webkit.org/show_bug.cgi?id=49388

Replaced GraphicsLayerMac with GraphicsLayerCA. GraphicsLayerCA is essentially
identical to GraphicsLayerMac, but replaces all the CoreAnimation specific calls
with calls to PlatformCALayer and PlatformCAAnimation. This makes GraphicsLayerCA
platform neutral as long as implementations of those two classes are available.
Added implementations in PlatformCALayerMac and PlatformCAAnimationMac. Also got
rid of GraphicsLayer::nativeLayer() and replaced it with GraphicsLayer::platformLayer()
to avoid confusion since both names were used to refer to the same thing.

This patch is only for Mac. Windows implementation has not changed.

4:33 PM Changeset in webkit [73216] by weinig@apple.com
  • 2 edits in trunk/WebKit2

Fix Qt.

  • UIProcess/API/qt/qwkpreferences.cpp:

(QWKPreferencesPrivate::createPreferences):

4:30 PM Changeset in webkit [73215] by weinig@apple.com
  • 26 edits in trunk

WebKit2 Preferences should be held off the PageGroup, not the Context
https://bugs.webkit.org/show_bug.cgi?id=50414

Reviewed by Anders Carlsson.

WebKit2:

  • In addition, this now makes the preference held off the PageGroup have the identifier of the PageGroup and autosave to disk (only on the mac for now).
  • Adds ability to create an arbitrary preference that can be autosaved via a new WKPreferencesCreateWithIdentifier function.
  • UIProcess/API/C/WKContext.cpp:
  • UIProcess/API/C/WKContext.h:

Remove preference related code.

  • UIProcess/API/C/WKPageGroup.cpp:

(WKPageGroupSetPreferences):
(WKPageGroupGetPreferences):

  • UIProcess/API/C/WKPageGroup.h:

Add getter/setter for preferences.

  • UIProcess/API/C/WKPreferences.cpp:

(WKPreferencesCreateWithIdentifier):

  • UIProcess/API/C/WKPreferences.h:

Add WKPreferencesCreateWithIdentifier and remove WKPreferencesCreateCopy which is
unused.

  • UIProcess/WebContext.cpp:

(WebKit::WebContext::WebContext):
(WebKit::WebContext::~WebContext):

  • UIProcess/WebContext.h:

Remove preference related code.

  • UIProcess/WebPageGroup.cpp:

(WebKit::WebPageGroup::WebPageGroup):
(WebKit::WebPageGroup::addPage):
(WebKit::WebPageGroup::removePage):
(WebKit::WebPageGroup::setPreferences):
(WebKit::WebPageGroup::preferences):
(WebKit::WebPageGroup::preferencesDidChange):

  • UIProcess/WebPageGroup.h:

Add preference and page tracking.

  • UIProcess/WebPageNamespace.cpp:
  • UIProcess/WebPageNamespace.h:

Remove preference change notification code.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::~WebPageProxy):
Add/remove self from page group set.

(WebKit::WebPageProxy::preferencesDidChange):
(WebKit::WebPageProxy::creationParameters):
Get preferences from the pageGroup.

  • UIProcess/WebPreferences.cpp:

(WebKit::WebPreferences::WebPreferences):
(WebKit::WebPreferences::addPageGroup):
(WebKit::WebPreferences::removePageGroup):
(WebKit::WebPreferences::update):

  • UIProcess/WebPreferences.h:

(WebKit::WebPreferences::create):
Change to track page groups instead of contexts.

  • UIProcess/mac/WebPreferencesMac.mm:

(WebKit::makeKey): Add ".WebKit2" prefix for keys.

WebKitTools:

Update for API changes.

  • WebKitTestRunner/PlatformWebView.h:
  • WebKitTestRunner/TestController.cpp:

(WTR::createOtherPage):
(WTR::TestController::initialize):
(WTR::TestController::resetStateToConsistentValues):

  • WebKitTestRunner/TestController.h:
  • WebKitTestRunner/mac/PlatformWebViewMac.mm:

(WTR::PlatformWebView::PlatformWebView):

  • WebKitTestRunner/win/PlatformWebViewWin.cpp:

(WTR::PlatformWebView::PlatformWebView):

4:30 PM Changeset in webkit [73214] by mrowe@apple.com
  • 2 edits in trunk/WebKit/mac

<rdar://problem/8708730> Objects reported as being leaked due to lack of autorelease pool

Reviewed by Beth Dakin.

  • Misc/WebNSFileManagerExtras.m:

(setMetaData): Create an autorelease pool for the duration of the thread body.

4:09 PM Changeset in webkit [73213] by jianli@chromium.org
  • 1 edit
    2 copies in branches/chromium/597

Merge 73208 - Integer calculation issues in DataView constructor
https://bugs.webkit.org/show_bug.cgi?id=50354

Reviewed by Kenneth Russell.

WebCore:

Test: fast/canvas/webgl/data-view-crash.html

  • html/canvas/DataView.cpp:

(WebCore::DataView::create):

LayoutTests:

  • fast/canvas/webgl/data-view-crash-expected.txt: Added.
  • fast/canvas/webgl/data-view-crash.html: Added.

BUG=64974
TEST=Layout test
TBR=jianli@chromium.org
Review URL: http://codereview.chromium.org/5556003

4:04 PM Changeset in webkit [73212] by victorw@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] update chromium test expectations.

  • platform/chromium/test_expectations.txt:
3:55 PM Changeset in webkit [73211] by dpranke@chromium.org
  • 2 edits in trunk/WebKitTools

2010-12-02 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

This change is a bunch of cleanup / refactoring of the file
below. It moves a bunch of free functions to methods on the
TestShellThread class, and restructures other methods to be
closer to the structure we'll need for the multiprocessing
rewrite.

It also makes the logic of --run-singly a *lot* easier to follow
by nestling all of the separate-thread logic into a single
routine.

There should be no semantic changes in this patch, just cleanup.

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

  • Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
3:49 PM Changeset in webkit [73210] by Joseph Pecoraro
  • 2 edits in trunk/WebCore

2010-12-02 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Darin Adler.

Update ResourceLoaderSet Enumeration
https://bugs.webkit.org/show_bug.cgi?id=50405

Use size_t when working with Vectors and when comparing between size_t types.

  • loader/DocumentLoader.cpp: (WebCore::cancelAll): (WebCore::setAllDefersLoading):
3:44 PM Changeset in webkit [73209] by jamesr@google.com
  • 6 edits in branches/chromium/597

Merge 73137 - 2010-12-02 Vincent Scheib <scheib@chromium.org>

Reviewed by Darin Fisher.

[chromium] histograms api updated in WebKitClient and added to ChromiumBridge
https://bugs.webkit.org/show_bug.cgi?id=50285

Test by loading "about:histograms" after navigating to accelerated pages.

  • platform/chromium/ChromiumBridge.h: api update.

2010-12-02 Vincent Scheib <scheib@chromium.org>

Reviewed by Darin Fisher.

[chromium] histograms api updated in WebKitClient/ChromiumBridge and histogram "GPU.setIsAcceleratedCompositingActive" added.
https://bugs.webkit.org/show_bug.cgi?id=50285

Test by loading "about:histograms" after navigating to accelerated pages.

  • public/WebKitClient.h: (WebKit::WebKitClient::histogramCustomCounts): api update. (WebKit::WebKitClient::histogramEnumeration): api update.
  • src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::histogramCustomCounts): api update. (WebCore::ChromiumBridge::histogramEnumeration): api update.
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): "GPU.setIsAcceleratedCompositingActive" added.

TBR=scheib@chromium.org

Review URL: http://codereview.chromium.org/5622002

3:39 PM Changeset in webkit [73208] by jianli@chromium.org
  • 3 edits
    2 adds in trunk

Integer calculation issues in DataView constructor
https://bugs.webkit.org/show_bug.cgi?id=50354

Reviewed by Kenneth Russell.

WebCore:

Test: fast/canvas/webgl/data-view-crash.html

  • html/canvas/DataView.cpp:

(WebCore::DataView::create):

LayoutTests:

  • fast/canvas/webgl/data-view-crash-expected.txt: Added.
  • fast/canvas/webgl/data-view-crash.html: Added.
3:20 PM Changeset in webkit [73207] by tony@chromium.org
  • 2 edits in trunk/WebKitTools

2010-12-02 Tony Chang <tony@chromium.org>

Unreviewed, rolling out r73164.
http://trac.webkit.org/changeset/73164
https://bugs.webkit.org/show_bug.cgi?id=50359

broke debugger tests on win

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3:04 PM Changeset in webkit [73206] by Darin Adler
  • 2 edits in trunk/JavaScriptCore
  • wtf/ASCIICType.h: Fix wrong type from last check-in.
3:01 PM Changeset in webkit [73205] by Darin Adler
  • 2 edits in trunk/JavaScriptCore

Try to fix certain builds (Qt Windows).

  • wtf/ASCIICType.h: Added an overload for unsigned because in obsolete

versions of ICU, UChar32 can be a typedef for unsigned. Adding this
overload should make us compatible with these old ICUs.

2:53 PM Changeset in webkit [73204] by mihaip@chromium.org
  • 7 edits in trunk/WebKitTools

2010-11-30 Mihai Parparita <mihaip@chromium.org>

Reviewed by Tony Chang.

Rebaseline server: add updating of baselines
https://bugs.webkit.org/show_bug.cgi?id=50305

Implements updating of baselines, where we copy -actual.* files over
the current -expected.* files. To do this, we need a
_get_actual_result_files method to get test results files and a
_rebaseline_test method to actually do the file copy and SCM operation.
_rebaseline_test logs output into a buffer, this is useful for both
showing result in the UI and for unit tests.

To make passing around of the various test environment properties
(results directory, filesystem, SCM, etc) easier, add a TestConfig
class for them.

Moving of existing baselines is not implemented yet, this patch is big
enough as it is.

  • Scripts/webkitpy/common/system/filesystem.py:
  • Scripts/webkitpy/common/system/filesystem_mock.py:
  • Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
  • Scripts/webkitpy/tool/commands/rebaselineserver.py:
  • Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:
  • Scripts/webkitpy/tool/mocktool.py:
2:49 PM Changeset in webkit [73203] by xji@chromium.org
  • 2 edits
    1 move
    1 delete in trunk/LayoutTests

2010-12-02 Xiaomei Ji <xji@chromium.org>

Unreviewed.

2nd try on rebaseline vertical-scrollbar-in-rtl.

  • platform/chromium-mac/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Removed.
  • platform/chromium-win/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Removed.
  • platform/chromium/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/dom/vertical-scrollbar-in-rtl-expected.txt.
  • platform/chromium/test_expectations.txt:
2:46 PM Changeset in webkit [73202] by jamesr@google.com
  • 2 edits in branches/chromium/597/WebKit/chromium

Merge 73079 - 2010-12-01 Alexey Marinichev <amarinichev@chromium.org>

Reviewed by James Robinson.

[chromium] renderer does not realize hardware compositing is disabled and crashes
https://bugs.webkit.org/show_bug.cgi?id=50264

  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::setRootGraphicsLayer): repaint always (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): null check (WebKit::WebViewImpl::reallocateRenderer):

TBR=kbr@google.com
BUG=64650

Review URL: http://codereview.chromium.org/5592002

2:45 PM Changeset in webkit [73201] by Patrick Gansterer
  • 11 edits in trunk

2010-12-02 Patrick Gansterer <Patrick Gansterer>

Reviewed by Darin Adler.

Add AtomicString::fromUTF8
https://bugs.webkit.org/show_bug.cgi?id=45594

Unicode::calculateStringHashFromUTF8 creates a StringHash out of UTF8 input data and
calculates the required length for the UTF16 conversation in one step.
This is then used in a specialized translator for the string table of AtomicString.

  • JavaScriptCore.exp:
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
  • wtf/text/AtomicString.cpp: (WTF::CStringTranslator::equal): (WTF::HashAndUTF8CharactersTranslator::hash): (WTF::HashAndUTF8CharactersTranslator::equal): (WTF::HashAndUTF8CharactersTranslator::translate): (WTF::AtomicString::add): (WTF::AtomicString::addSlowCase): (WTF::AtomicString::find): (WTF::AtomicString::fromUTF8):
  • wtf/text/AtomicString.h:
  • wtf/text/StringImpl.h:
  • wtf/text/WTFString.h:
  • wtf/unicode/UTF8.cpp: (WTF::Unicode::readUTF8Sequence): (WTF::Unicode::convertUTF8ToUTF16): (WTF::Unicode::calculateStringHashFromUTF8): (WTF::Unicode::equalUTF16WithUTF8):
  • wtf/unicode/UTF8.h:

2010-12-02 Patrick Gansterer <Patrick Gansterer>

Reviewed by Darin Adler.

Add AtomicString::fromUTF8
https://bugs.webkit.org/show_bug.cgi?id=45594

Use AtomicString::fromUTF8 directly in the libxml2 parser.

  • dom/XMLDocumentParserLibxml2.cpp: (WebCore::toAtomicString):
2:33 PM Changeset in webkit [73200] by victorw@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] update chromium test expectations for failed canvas toDataURL test.

  • platform/chromium/test_expectations.txt:
2:09 PM Changeset in webkit [73199] by victorw@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] add vertical-scrollbar-in-rtl back to test expectations for mac.
The test does not putput consistent y-scroll position with HOME keydown.

  • platform/chromium/test_expectations.txt:
2:07 PM Changeset in webkit [73198] by ggaren@apple.com
  • 3 edits in trunk/JavaScriptCore

Added a little hardening to OSAllocator.

Reviewed by Sam Weinig.

  • wtf/OSAllocatorPosix.cpp:

(WTF::OSAllocator::release):

  • wtf/OSAllocatorWin.cpp:

(WTF::OSAllocator::reserve):
(WTF::OSAllocator::reserveAndCommit):
(WTF::OSAllocator::commit):
(WTF::OSAllocator::decommit):
(WTF::OSAllocator::release): CRASH() if the OS's virtual memory system
reports an error.

1:56 PM Changeset in webkit [73197] by aestes@apple.com
  • 2 edits in trunk/WebCore

Fix the Qt Linux Release minimal build.

  • html/HTMLMarqueeElement.cpp: Include ExceptionCode.h
1:55 PM Changeset in webkit [73196] by xan@webkit.org
  • 2 edits in trunk

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

Third attempt to fix the build.

  • autotools/symbols.filter: be more liberal in one more symbol.
1:49 PM Changeset in webkit [73195] by andersca@apple.com
  • 2 edits in trunk/WebKit2

Flash videos on YouTube flicker
https://bugs.webkit.org/show_bug.cgi?id=50409
<rdar://problem/8668757>

Reviewed by Sam Weinig.

When painting from a backing store, we need to add the source location
to the destination point.

  • WebProcess/Plugins/PluginProxy.cpp:

(WebKit::PluginProxy::paint):
(WebKit::PluginProxy::update):

1:47 PM Changeset in webkit [73194] by bfulgham@webkit.org
  • 3 edits in trunk/WebKitTools

Unreviewed build fix after vcproj updates.

  • DumpRenderTree/win/DumpRenderTreeCairo.vsprops: Make sure

that WIN_CAIRO is defined for this build.

  • DumpRenderTree/win/DumpRenderTreePreBuild.cmd: Update file

to reflect new 'Debug_Cairo_CFLite' and 'Release_Cairo_CFLite'
(these were previously 'Debug_Cairo' and 'Release_Cairo'

1:35 PM Changeset in webkit [73193] by crogers@google.com
  • 5 edits in trunk/WebKit/chromium

2010-12-02 Chris Rogers <crogers@google.com>

Reviewed by Darin Fisher.

Fine-tune chromium WebKit API for loading audio resources
https://bugs.webkit.org/show_bug.cgi?id=50406

  • public/WebAudioBus.h: (WebKit::WebAudioBus::~WebAudioBus):
  • public/WebKitClient.h: (WebKit::WebKitClient::loadAudioResource):
  • src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::decodeAudioFileData):
  • src/WebAudioBus.cpp: (WebKit::WebAudioBus::reset):
1:23 PM Changeset in webkit [73192] by victorw@chromium.org
  • 20 edits in trunk/LayoutTests

2010-12-02 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] update chromium test expectations for failed svg tests.

  • platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-30-t-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png:
  • platform/chromium-linux/svg/custom/image-small-width-height-expected.checksum:
  • platform/chromium-linux/svg/custom/image-small-width-height-expected.png:
  • platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.checksum:
  • platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png:
  • platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.checksum:
  • platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png:
  • platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-30-t-expected.checksum:
  • platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png:
  • platform/chromium-win/svg/carto.net/selectionlist-expected.checksum:
  • platform/chromium-win/svg/carto.net/selectionlist-expected.png:
  • platform/chromium-win/svg/custom/image-small-width-height-expected.checksum:
  • platform/chromium-win/svg/custom/image-small-width-height-expected.png:
  • platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.checksum:
  • platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png:
  • platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.checksum:
  • platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png:
  • platform/chromium/test_expectations.txt:
1:22 PM Changeset in webkit [73191] by Joseph Pecoraro
  • 2 edits in trunk/WebCore

2010-12-02 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Darin Adler.

Update ResourceLoaderSet Enumeration
https://bugs.webkit.org/show_bug.cgi?id=50405

  • loader/DocumentLoader.cpp: (WebCore::cancelAll): instead of copying the HashSet, use copyToVector. (WebCore::setAllDefersLoading): instead of copying the HashSet, use copyToVector.
1:18 PM Changeset in webkit [73190] by darin@chromium.org
  • 2 edits in trunk/WebKit/chromium

2010-12-02 Darin Fisher <darin@chromium.org>

Fix the Windows multi-dll build. Do not export functions that are
implemented inline!

  • public/WebFormControlElement.h: (WebKit::WebFormControlElement::assign):
1:14 PM Changeset in webkit [73189] by aestes@apple.com
  • 6 edits
    2 adds in trunk

Implement (non-EventListener) marquee IDL attributes from HTML5.
https://bugs.webkit.org/show_bug.cgi?id=49786

Reviewed by Darin Adler.

WebCore:

Test: fast/html/marquee-element.html

  • html/HTMLMarqueeElement.cpp:

(WebCore::HTMLMarqueeElement::scrollAmount): If the content attribute
can be converted to a signed integer and is >= 0, return it.
Otherwise, return the default scrollAmount value.
(WebCore::HTMLMarqueeElement::setScrollAmount): Update the content
attribute if it is >= 0. Otherwise, raise INDEX_SIZE_ERR.
(WebCore::HTMLMarqueeElement::scrollDelay): Same as scrollAmount.
(WebCore::HTMLMarqueeElement::setScrollDelay): Same as setScrollAmount.
(WebCore::HTMLMarqueeElement::loop): If the content attribute can be
converted to a signed integer and is greater than 0 or equal to -1,
return it. Otherwise, return the default loop value.
(WebCore::HTMLMarqueeElement::setLoop): Update the content attribute if
it is greater than 0 or equal to -1. Otherwise, raise INDEX_SIZE_ERR.

  • html/HTMLMarqueeElement.h:
  • html/HTMLMarqueeElement.idl: Update the IDL to match what is in HTML5.
  • rendering/style/RenderStyle.h:

(WebCore::InheritedFlags::initialMarqueeSpeed):

LayoutTests:

  • fast/html/marquee-element-expected.txt: Added.
  • fast/html/marquee-element.html: Added.
1:10 PM Changeset in webkit [73188] by xan@webkit.org
  • 2 edits in trunk

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

Another attempt to fix the GTK+ build.

  • autotools/symbols.filter: try to be more liberal with the mangled names of some symbols.
12:55 PM Changeset in webkit [73187] by weinig@apple.com
  • 8 edits in trunk

WebKit2 needs API to turn on popup blocking
https://bugs.webkit.org/show_bug.cgi?id=50407

Reviewed by Anders Carlsson.

WebKit2:

Pipe-through a preference for javascript being able to open
windows without user gesture.

  • Shared/WebPreferencesStore.h:
  • UIProcess/API/C/WKPreferences.cpp:

(WKPreferencesSetJavaScriptCanOpenWindowsAutomatically):
(WKPreferencesGetJavaScriptCanOpenWindowsAutomatically):

  • UIProcess/API/C/WKPreferences.h:
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::updatePreferences):

WebKitTools:

  • TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:

(TestWebKitAPI::TEST):

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::resetStateToConsistentValues):

12:49 PM Changeset in webkit [73186] by xji@chromium.org
  • 2 edits
    2 adds in trunk/LayoutTests

2010-12-02 Xiaomei Ji <xji@chromium.org>

Unreviewed.

Rebaseline vertical-scrollbar-in-rtl after r73063.
Enable truncation-rtl after r73087.
https://bugs.webkit.org/show_bug.cgi?id=50352

  • platform/chromium-mac/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Added.
  • platform/chromium-win/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
12:43 PM Changeset in webkit [73185] by victorw@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] update chromium test expectations.

  • platform/chromium/test_expectations.txt:
12:41 PM Changeset in webkit [73184] by Patrick Gansterer
  • 5 edits in trunk/WebCore

2010-12-02 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

[OpenVG] Remove "current path" of GraphicsContext
https://bugs.webkit.org/show_bug.cgi?id=50294

  • platform/graphics/GraphicsContext.h:
  • platform/graphics/openvg/GraphicsContextOpenVG.cpp: (WebCore::GraphicsContext::fillPath): (WebCore::GraphicsContext::strokePath): (WebCore::GraphicsContext::clipPath):
  • platform/graphics/openvg/PainterOpenVG.cpp: (WebCore::PainterOpenVG::PainterOpenVG): (WebCore::PainterOpenVG::~PainterOpenVG): (WebCore::PainterOpenVG::drawPath):
  • platform/graphics/openvg/PainterOpenVG.h:
12:36 PM Changeset in webkit [73183] by Patrick Gansterer
  • 3 edits in trunk/WebCore

2010-12-02 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

[WINCE] Remove "current path" of GraphicsContext
https://bugs.webkit.org/show_bug.cgi?id=50284

  • platform/graphics/GraphicsContext.h:
  • platform/graphics/wince/GraphicsContextWinCE.cpp: (WebCore::GraphicsContext::fillPath): (WebCore::GraphicsContext::strokePath):
12:27 PM Changeset in webkit [73182] by victorw@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Victor Wang <victorw@chromium.org>

Unreviewed.

[Chromium] update chromium test expectations.
These svg tests need to rebaseline on win and linux.

  • platform/chromium/test_expectations.txt:
12:17 PM Changeset in webkit [73181] by jnd@chromium.org
  • 5 edits
    5 adds in trunk

2010-12-02 Johnny Ding <jnd@chromium.org>

Reviewed by Adam Barth.

Set the right gesture status for URL redirections.
https://bugs.webkit.org/show_bug.cgi?id=47817

  • fast/frames/location-redirect-user-gesture-expected.txt: Added.
  • fast/frames/location-redirect-user-gesture.html: Added.
  • fast/frames/meta-refresh-user-gesture-expected.txt: Added.
  • fast/frames/meta-refresh-user-gesture.html: Added.
  • fast/frames/resources/meta-refresh-target.html: Added.
  • platform/gtk/Skipped:
  • platform/win/Skipped:

2010-12-02 Johnny Ding <jnd@chromium.org>

Reviewed by Adam Barth.

Set the right gesture status for URL redirections.
https://bugs.webkit.org/show_bug.cgi?id=47817

Tests: fast/frames/location-redirect-user-gesture.html

fast/frames/meta-refresh-user-gesture.html

  • loader/NavigationScheduler.cpp: (WebCore::ScheduledNavigation::clearUserGesture): (WebCore::ScheduledRedirect::ScheduledRedirect):
12:16 PM Changeset in webkit [73180] by xan@webkit.org
  • 2 edits in trunk

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

Try to fix GTK+ build.

  • autotools/symbols.filter: add missing ';'.
12:09 PM Changeset in webkit [73179] by Csaba Osztrogonác
  • 5 edits in trunk/JavaScriptCore

2010-12-02 Csaba Osztrogonác <Csaba Osztrogonác>

Reviewed by Geoffrey Garen.

[Qt] Make platform managing of OSAllocator better than r73106
https://bugs.webkit.org/show_bug.cgi?id=50385

  • wtf/OSAllocatorPosix.cpp: Remove platform specific guard.
  • wtf/OSAllocatorSymbian.cpp: Remove platform specific guard.
  • wtf/OSAllocatorWin.cpp: Remove platform specific guard.
  • wtf/wtf.pri: Add the correct platform specific source file instead of all of them.
12:07 PM Changeset in webkit [73178] by inferno@chromium.org
  • 2 edits
    35 copies in branches/chromium/552

Merge 72802

BUG=62358

11:57 AM Changeset in webkit [73177] by Patrick Gansterer
  • 2 edits in trunk/JavaScriptCore

2010-12-02 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

[WINCE] Use GetTickCount() for srand()
https://bugs.webkit.org/show_bug.cgi?id=50338

time() is not a native function on WinCE, so use GetTickCount() instead.

  • wtf/RandomNumberSeed.h: (WTF::initializeRandomNumberGenerator):
11:56 AM Changeset in webkit [73176] by dimich@chromium.org
  • 2 edits in branches/chromium/597/WebCore

Merge 72863 - Crash when iframe transfers from one page to another and has child frames.
https://bugs.webkit.org/show_bug.cgi?id=50200

Reviewed by David Levin.

  • page/Frame.cpp:

(WebCore::Frame::transferChildFrameToNewDocument):
avoid overriding 'didTransfer' which has the result of previous check.

TBR=dimich@chromium.org
Review URL: http://codereview.chromium.org/5564003

11:53 AM Changeset in webkit [73175] by eric@webkit.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Eric Seidel <eric@webkit.org>

Unreviewed.

animations/stop-animation-on-suspend.html sometimes fails on all platforms
https://bugs.webkit.org/show_bug.cgi?id=49182

  • platform/mac/Skipped:
11:48 AM Changeset in webkit [73174] by crogers@google.com
  • 4 edits in trunk/WebCore

2010-12-02 Chris Rogers <crogers@google.com>

Reviewed by Kenneth Russell.

AudioContext needs createBuffer() method from ArrayBuffer
https://bugs.webkit.org/show_bug.cgi?id=50343

No new tests since audio API is not yet implemented.

  • webaudio/AudioContext.cpp: (WebCore::AudioContext::createBuffer):
  • webaudio/AudioContext.h:
  • webaudio/AudioContext.idl:
11:42 AM Changeset in webkit [73173] by commit-queue@webkit.org
  • 6 edits
    2 adds
    1 delete in trunk

2010-12-02 Noel Gordon <noel.gordon@gmail.com>

Reviewed by David Levin.

[chromium] Add canvas.toDataURL("image/jpeg", quality) support
https://bugs.webkit.org/show_bug.cgi?id=49365

Chromium window/linux layout try results now match the default test result, so
remove this platform-specific test exception file.

  • platform/chromium-win/fast/canvas/canvas-toDataURL-case-insensitive-mimetype-expected.txt: Removed.

2010-12-02 Noel Gordon <noel.gordon@gmail.com>

Reviewed by David Levin.

[chromium] Add canvas.toDataURL("image/jpeg", quality) support
https://bugs.webkit.org/show_bug.cgi?id=49365

Adds a libjpeg-based image encoder for Skia bitmaps. Default encoding quality
is 92 to match Mozilla, also Safari, though the actual value used by Safari is
undocumented, and it appears to pre-blur images prior to compression.

The preMultipliedBGRAtoRGB() routine restores the un-premultiplied RGB colors
where there is non-zero alpha. Again, this matches Firefox and Safari, but no
browser conforms to the HTML5 canvas standard here, I believe, considering the
result of canvas/philip/tests/toDataURL.jpeg.alpha.html; that test ignores the
alpha channel when extracting an "image/jpeg".toDataURL(). The correct answer
needs more investigation, bug http://webkit.org/b/40147.

Canvas toDataURL is covered by existing tests canvas/philip/tests/toDataURL.*,
and fast/canvas/*toDataURL* tests.

  • WebCore.gypi:
  • bindings/v8/custom/V8HTMLCanvasElementCustom.cpp: (WebCore::V8HTMLCanvasElement::toDataURLCallback): don't set encoding quality here, just pass the toDataURL parameters through to the canvas layer.
  • platform/chromium/MIMETypeRegistryChromium.cpp: (WebCore::MIMETypeRegistry::isSupportedImageMIMETypeForEncoding): implement the supported mimeTypes for encoding in-place.
  • platform/graphics/skia/ImageBufferSkia.cpp: (WebCore::ImageBuffer::toDataURL): add jpeg encoding and quality support.
  • platform/image-encoders/skia/JPEGImageEncoder.cpp: Added. (WebCore::prepareOutput): (WebCore::writeOutput): (WebCore::finishOutput): (WebCore::handleError): (WebCore::preMultipliedBGRAtoRGB): FIXME: bug 40147. (WebCore::JPEGImageEncoder::encode):
  • platform/image-encoders/skia/JPEGImageEncoder.h: Added.
11:32 AM Changeset in webkit [73172] by inferno@chromium.org
  • 1 edit in branches/chromium/552/WebCore/css/StyleSheet.cpp

Merge 71769

BUG=62496

11:30 AM Changeset in webkit [73171] by commit-queue@webkit.org
  • 11 edits in trunk

2010-12-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73152.
http://trac.webkit.org/changeset/73152
https://bugs.webkit.org/show_bug.cgi?id=50401

the patch has broken chromium win layout tests (Requested by
loislo on #webkit).

  • inspector/report-API-errors-expected.txt:
  • inspector/report-API-errors.html:
  • inspector/report-protocol-errors-expected.txt:
  • inspector/report-protocol-errors.html:

2010-12-02 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73152.
http://trac.webkit.org/changeset/73152
https://bugs.webkit.org/show_bug.cgi?id=50401

the patch has broken chromium win layout tests (Requested by
loislo on #webkit).

  • inspector/CodeGeneratorInspector.pm:
  • inspector/Inspector.idl:
  • inspector/front-end/Callback.js:
  • inspector/front-end/DOMAgent.js: (WebInspector.DOMNode):
  • inspector/front-end/inspector.js: (WebInspector.loaded.WebInspector.socket.onmessage): (WebInspector.dispatch): (WebInspector_syncDispatch): (WebInspector.reportProtocolError):
11:30 AM Changeset in webkit [73170] by inferno@chromium.org
  • 15 edits
    8 copies
    4 deletes in branches/chromium/552

Merge 71767

BUG=62496

11:23 AM Changeset in webkit [73169] by commit-queue@webkit.org
  • 4 edits
    25 adds in trunk

2010-12-02 W. James MacLean <wjmaclean@chromium.org>

Reviewed by James Robinson.

Scaled Resized images are blurred when sent to Skia
https://bugs.webkit.org/show_bug.cgi?id=42370

  • platform/chromium-linux/svg/custom/image-rescale-clip-expected.checksum: Added.
  • platform/chromium-linux/svg/custom/image-rescale-clip-expected.png: Added.
  • platform/chromium-linux/svg/custom/image-rescale-clip-expected.txt: Added.
  • platform/chromium-linux/svg/custom/image-rescale-expected.checksum: Added.
  • platform/chromium-linux/svg/custom/image-rescale-expected.png: Added.
  • platform/chromium-linux/svg/custom/image-rescale-expected.txt: Added.
  • platform/chromium-linux/svg/custom/image-rescale-scroll-expected.checksum: Added.
  • platform/chromium-linux/svg/custom/image-rescale-scroll-expected.png: Added.
  • platform/chromium-linux/svg/custom/image-rescale-scroll-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
  • platform/mac-leopard/svg/custom/image-rescale-expected.checksum: Added.
  • platform/mac-leopard/svg/custom/image-rescale-expected.png: Added.
  • platform/mac-leopard/svg/custom/image-rescale-expected.txt: Added.
  • platform/mac/svg/custom/image-rescale-clip-expected.checksum: Added.
  • platform/mac/svg/custom/image-rescale-clip-expected.png: Added.
  • platform/mac/svg/custom/image-rescale-clip-expected.txt: Added.
  • platform/mac/svg/custom/image-rescale-expected.checksum: Added.
  • platform/mac/svg/custom/image-rescale-expected.png: Added.
  • platform/mac/svg/custom/image-rescale-expected.txt: Added.
  • platform/mac/svg/custom/image-rescale-scroll-expected.checksum: Added.
  • platform/mac/svg/custom/image-rescale-scroll-expected.png: Added.
  • platform/mac/svg/custom/image-rescale-scroll-expected.txt: Added.
  • svg/custom/image-rescale-clip.html: Added.
  • svg/custom/image-rescale-scroll.html: Added.
  • svg/custom/image-rescale.svg: Added.
  • svg/custom/resources/image-rescale.jpg: Added.

2010-12-02 W. James MacLean <wjmaclean@chromium.org>

Reviewed by James Robinson.

Scaled Resized images are blurred when sent to Skia
https://bugs.webkit.org/show_bug.cgi?id=42370

This patch modifies ImageSkia.cpp to fix the calculation of resampled
bitmap sizes so as to include the transform matrix of the canvas.
Includes new tests to catch a scrolling regression and a clipping regression.

Tests: svg/custom/image-rescale-clip.html

svg/custom/image-rescale-scroll.html
svg/custom/image-rescale.svg

  • platform/graphics/skia/ImageSkia.cpp: (WebCore::computeResamplingMode): (WebCore::drawResampledBitmap):
11:21 AM Changeset in webkit [73168] by arv@chromium.org
  • 3 edits
    3 adds in trunk

2010-12-02 Erik Arvidsson <arv@chromium.org>

Reviewed by Darin Adler.

Missing DOM property for incremental input attribute
https://bugs.webkit.org/show_bug.cgi?id=50335

  • fast/forms/incremental-dom-property-expected.txt: Added.
  • fast/forms/incremental-dom-property.html: Added.
  • fast/forms/script-tests/incremental-dom-property.js: Added.

2010-12-02 Erik Arvidsson <arv@chromium.org>

Reviewed by Darin Adler.

Missing DOM property for incremental input attribute
https://bugs.webkit.org/show_bug.cgi?id=50335

Test: fast/forms/incremental-dom-property.html

  • html/HTMLInputElement.idl: Added attribute
11:17 AM Changeset in webkit [73167] by Martin Robinson
  • 2 edits in trunk

2010-12-02 Martin Robinson <mrobinson@igalia.com>

Attempt to fix the GTK+ build. Add missing symbol the
list of unfiltered symbols for the linker.

  • autotools/symbols.filter: Add symbol used in DumpRenderTree.
11:13 AM Changeset in webkit [73166] by inferno@chromium.org
  • 2 edits
    4 copies in branches/chromium/597

Merge 72924

BUG=52587
Review URL: http://codereview.chromium.org/5601001

11:07 AM Changeset in webkit [73165] by inferno@chromium.org
  • 2 edits
    4 copies in branches/chromium/552

Merge 72924

BUG=52587

11:00 AM Changeset in webkit [73164] by tony@chromium.org
  • 2 edits in trunk/WebKitTools

2010-12-01 Tony Chang <tony@chromium.org>

Reviewed by Ojan Vafai.

[chromium] force NRWT to use DRT
https://bugs.webkit.org/show_bug.cgi?id=50359

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
10:59 AM Changeset in webkit [73163] by commit-queue@webkit.org
  • 19 edits in trunk

2010-12-02 John Knottenbelt <jknotten@chromium.org>

Reviewed by Steve Block.

Move requestGeolocationPermissionForFrame to GeolocationClient
https://bugs.webkit.org/show_bug.cgi?id=50061

This change facilitates client-based geolocation implementation by
bringing together permission control into the geolocation client
interface.

  • page/Chrome.h:
  • page/ChromeClient.h:
  • page/Geolocation.cpp: (WebCore::Geolocation::disconnectFrame): (WebCore::Geolocation::requestPermission):
  • page/GeolocationClient.h:
  • page/GeolocationController.cpp: (WebCore::GeolocationController::requestPermission): (WebCore::GeolocationController::cancelPermissionRequest):
  • page/GeolocationController.h:
  • platform/mock/GeolocationClientMock.cpp: (WebCore::GeolocationClientMock::GeolocationClientMock): (WebCore::GeolocationClientMock::setPermission): (WebCore::GeolocationClientMock::requestPermission): (WebCore::GeolocationClientMock::cancelPermissionRequest): (WebCore::GeolocationClientMock::asyncUpdatePermission): (WebCore::GeolocationClientMock::permissionTimerFired): (WebCore::GeolocationClientMock::reset): (WebCore::GeolocationClientMock::stopUpdating): (WebCore::GeolocationClientMock::asyncUpdateController): (WebCore::GeolocationClientMock::controllerTimerFired):
  • platform/mock/GeolocationClientMock.h:

2010-12-02 John Knottenbelt <jknotten@chromium.org>

Reviewed by Steve Block.

Move requestGeolocationPermissionForFrame to GeolocationClient
https://bugs.webkit.org/show_bug.cgi?id=50061

This change facilitates client-based geolocation implementation by
bringing together permission control into the geolocation client
interface.

Move method ChromeClient::requestGeolocationPermissionForFrame to
GeolocationClient::requestPermission, and supporting class
WebGeolocationPolicyListener. The moved code is unchanged except
that requestPermission now takes only one argument (Geolocation*)
and the Frame parameter is retrieved from the Geolocation object.

  • WebCoreSupport/WebChromeClient.h:
  • WebCoreSupport/WebChromeClient.mm:
  • WebCoreSupport/WebGeolocationClient.h: (WebGeolocationClient::cancelPermissionRequest):
  • WebCoreSupport/WebGeolocationClient.mm: (WebGeolocationClient::requestPermission): (-[WebGeolocationPolicyListener initWithGeolocation:]): (-[WebGeolocationPolicyListener allow]): (-[WebGeolocationPolicyListener deny]):

2010-12-02 John Knottenbelt <jknotten@chromium.org>

Reviewed by Steve Block.

Move requestGeolocationPermissionForFrame to GeolocationClient
https://bugs.webkit.org/show_bug.cgi?id=50061

This change facilitates client-based geolocation implementation by
bringing together permission control into the geolocation client
interface.

Move method ChromeClient::requestGeolocationPermissionForFrame to
GeolocationClient::requestPermission. The moved code is unchanged
except that requestPermission now takes only one argument (Geolocation*),
the Frame parameter is retrieved from the Geolocation object and we need to
call m_webView.get() as it is a COMPtr in GeolocationClient.

  • WebCoreSupport/WebChromeClient.cpp:
  • WebCoreSupport/WebChromeClient.h:
  • WebCoreSupport/WebGeolocationClient.cpp: (WebGeolocationClient::requestPermission):
  • WebCoreSupport/WebGeolocationClient.h: (WebGeolocationClient::cancelPermissionRequest):
10:56 AM Changeset in webkit [73162] by inferno@chromium.org
  • 3 edits
    2 copies in branches/chromium/552

Merge 72969

BUG=64424

10:53 AM Changeset in webkit [73161] by inferno@chromium.org
  • 3 edits
    2 copies in branches/chromium/597

Merge 72969

BUG=64424
Review URL: http://codereview.chromium.org/5543004

10:48 AM Changeset in webkit [73160] by inferno@chromium.org
  • 1 edit
    2 copies in branches/chromium/552

Merge 72685

BUG=63866

10:41 AM Changeset in webkit [73159] by andersca@apple.com
  • 6 edits in trunk

Plug-ins should be able to update the mouse cursor
https://bugs.webkit.org/show_bug.cgi?id=50399

Reviewed by Sam Weinig.

WebKit2:

Call WKEnableSettingCursorWhenInBackground.

  • PluginProcess/mac/PluginProcessMainMac.mm:

(WebKit::PluginProcessMain):

WebKitLibraries:

Add WKEnableSettingCursorWhenInBackground.

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
10:35 AM Changeset in webkit [73158] by inferno@chromium.org
  • 1 edit
    2 copies in branches/chromium/597

Merge 72927

BUG=64559
Review URL: http://codereview.chromium.org/5526003

10:33 AM Changeset in webkit [73157] by inferno@chromium.org
  • 1 edit
    2 copies in branches/chromium/552

Merge 72927

BUG=64559

10:33 AM Changeset in webkit [73156] by tony@chromium.org
  • 4 edits in trunk

2010-12-02 Tony Chang <tony@chromium.org>

Unreviewed, update DRT crash on mac.

  • platform/chromium/test_expectations.txt:

2010-12-02 Tony Chang <tony@chromium.org>

Unreviewed, roll chromium deps to r67980.

  • DEPS:
10:30 AM Changeset in webkit [73155] by inferno@chromium.org
  • 1 edit
    3 copies in branches/chromium/552

Merge 72625

BUG=62987

10:30 AM Changeset in webkit [73154] by weinig@apple.com
  • 12 edits
    3 adds in trunk/WebKit2

https://bugs.webkit.org/show_bug.cgi?id=50368
Overhaul WebKit2 preferences code

Reviewed by Anders Carlsson.

  • Reduces the number of places you have to touch to add a new preference (From 9 down to 4, but with a bit of elbow grease, we should get that

down to 2 or 3).

  • Add hooks so that platforms can initialize the preferences based on an identifier. This is currently only used on the Mac to initialize a preference store from NSUserDefaults and autosave the changes to disk. It is not yet enabled due to no way to set the identifier from client code.
  • Shared/WebPageCreationParameters.cpp:

Add necessary #include of WebCoreArgumentCoders.h which is now needed
due to cleanup in WebPreferencesStore.h.

  • Shared/WebPreferencesStore.cpp:

(WebKit::WebPreferencesStore::WebPreferencesStore):
(WebKit::WebPreferencesStore::encode):
(WebKit::WebPreferencesStore::decode):
(WebKit::defaultValueForKey):
(WebKit::setValueForKey):
(WebKit::valueForKey):
(WebKit::WebPreferencesStore::setStringValueForKey):
(WebKit::WebPreferencesStore::getStringValueForKey):
(WebKit::WebPreferencesStore::setBoolValueForKey):
(WebKit::WebPreferencesStore::getBoolValueForKey):
(WebKit::WebPreferencesStore::setUInt32ValueForKey):
(WebKit::WebPreferencesStore::getUInt32ValueForKey):

  • Shared/WebPreferencesStore.h:

Complete overhaul of this class to store the preferences as
a set of HashMaps and use macros to define the keys and default
values.

  • UIProcess/API/C/WKPreferences.cpp:

(WKPreferencesGetFontSmoothingLevel):
Add cast to keep conversion function working.

  • UIProcess/WebPreferences.cpp:

(WebKit::WebPreferences::WebPreferences): Add identifier constructor.
(WebKit::WebPreferences::updateStringValueForKey):
(WebKit::WebPreferences::updateBoolValueForKey):
(WebKit::WebPreferences::updateUInt32ValueForKey):
Add type based updaters. These currently give hooks to the platform and
call the generic update, but in the future, we can use this to optimize
updating preferences to not send the entire store for each change.

  • UIProcess/WebPreferences.h:

Generate the getters and setters via macro instantiation.

  • UIProcess/cf/WebPreferencesCF.cpp: Added.

(WebKit::WebPreferences::platformInitializeStore):
(WebKit::WebPreferences::platformUpdateStringValueForKey):
(WebKit::WebPreferences::platformUpdateBoolValueForKey):
(WebKit::WebPreferences::platformUpdateUInt32ValueForKey):
Stubbed out.

  • UIProcess/mac/WebPreferencesMac.mm: Added.

(WebKit::makeKey):
(WebKit::setStringValueIfInUserDefaults):
(WebKit::setBoolValueIfInUserDefaults):
(WebKit::setUInt32ValueIfInUserDefaults):
(WebKit::WebPreferences::platformInitializeStore):
(WebKit::WebPreferences::platformUpdateStringValueForKey):
(WebKit::WebPreferences::platformUpdateBoolValueForKey):
(WebKit::WebPreferences::platformUpdateUInt32ValueForKey):
Use the platform hooks to initialize and update the store from
NSUserDefaults.

  • UIProcess/qt/WebPreferencesQt.cpp: Added.

(WebKit::WebPreferences::platformInitializeStore):
(WebKit::WebPreferences::platformUpdateStringValueForKey):
(WebKit::WebPreferences::platformUpdateBoolValueForKey):
(WebKit::WebPreferences::platformUpdateUInt32ValueForKey):
Stubbed out.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::updatePreferences):

  • WebProcess/WebPage/win/WebPageWin.cpp:

(WebKit::WebPage::platformPreferencesDidChange):
Update to pull the value using the new type based getters.

  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:

Add new files.

10:25 AM Changeset in webkit [73153] by inferno@chromium.org
  • 1 edit
    2 copies in branches/chromium/552

Merge 72639

BUG=63924

10:22 AM Changeset in webkit [73152] by loislo@chromium.org
  • 11 edits in trunk

2010-12-01 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Inspector protocol cleanup task.

The patch has just small renames and adjustments for the protocol things.
'handler' keyword in idl file was replaced with 'domain'.
'domain' property was assigned for the each backend to frontend messages.
At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly.

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

  • inspector/CodeGeneratorInspector.pm:
  • inspector/Inspector.idl:
  • inspector/front-end/inspector.js: (WebInspector_syncDispatch):

2010-12-01 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Inspector protocol cleanup task.

The patch has just small renames and adjustments for the protocol things.
'handler' keyword in idl file was replaced with 'domain'.
'domain' property was assigned for the each backend to frontend messages.
At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly.

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

  • inspector/report-API-errors-expected.txt:
  • inspector/report-API-errors.html:
  • inspector/report-protocol-errors-expected.txt:
10:17 AM Changeset in webkit [73151] by inferno@chromium.org
  • 1 edit
    2 copies in branches/chromium/552

Merge 72748

BUG=63454

10:14 AM Changeset in webkit [73150] by Martin Robinson
  • 7 edits in trunk

2010-12-02 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] DumpRenderTree has two copies of JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=49877

Prevent the need to compile JSC into DumpRenderTree twice, by adjusting
the symbol visibility rules for libwebkit. Make all JSC symbols visible,
while hiding WebCore/WebKit symbols.

  • GNUmakefile.am: Move the symbol visibility flags to the WebKit build.
  • autotools/symbols.filter: Update the symbol filter list with the real mangled names of the symbols and include other symbols that DRT needs.

2010-12-02 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] DumpRenderTree has two copies of JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=49877

Keep WebKit/WebCore symbols hidden.

  • GNUmakefile.am: Move the symbol visibility rules here, because now JSC symbols are visible, but WebCore/WebKit symbols are hidden.

2010-12-02 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] DumpRenderTree has two copies of JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=49877

  • GNUmakefile.am: Remove the second copy of JavaScriptCore from the LDADD list for DumpRenderTree.
10:07 AM Changeset in webkit [73149] by Joseph Pecoraro
  • 2 edits in trunk/WebKit/mac

2010-12-02 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Eric Carlson.

Style Fixes in WebPluginController
https://bugs.webkit.org/show_bug.cgi?id=50397

  • Plugins/WebPluginController.mm: (-[WebPluginController startAllPlugins]): (-[WebPluginController stopAllPlugins]):
9:55 AM Changeset in webkit [73148] by sfalken@apple.com
  • 2 edits in trunk/WebKit2

Mac build fix.

  • WebProcess/WebKitMain.cpp:

(enableDataExecutionPrevention):

9:46 AM Changeset in webkit [73147] by vangelis@chromium.org
  • 6 edits in branches/chromium/597

Part 2 of merges for Chromium bug #64589
Merge 73055 - 2010-11-30 Vangelis Kokkevis <vangelis@chromium.org>

Reviewed by Darin Fisher.

Get the value of the accelerated compositing triggers from the Settings
class. This allows setting the triggers via command line flags.
https://bugs.webkit.org/show_bug.cgi?id=50301

  • public/WebSettings.h:
  • src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::allowedCompositingTriggers):
  • src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setAcceleratedCompositingFor3DTransformsEnabled): (WebKit::WebSettingsImpl::setAcceleratedCompositingForVideoEnabled): (WebKit::WebSettingsImpl::setAcceleratedCompositingForPluginsEnabled): (WebKit::WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled): (WebKit::WebSettingsImpl::setAcceleratedCompositingForAnimationEnabled):
  • src/WebSettingsImpl.h:

2010-11-30 Vangelis Kokkevis <vangelis@chromium.org>

Reviewed by Darin Fisher.

Adds accelerated compositing trigger flags to Settings to allow
ports to set them via command line flags, etc.
https://bugs.webkit.org/show_bug.cgi?id=50301

  • page/Settings.cpp: (WebCore::Settings::Settings): (WebCore::Settings::setAcceleratedCompositingFor3DTransformsEnabled): (WebCore::Settings::setAcceleratedCompositingForVideoEnabled): (WebCore::Settings::setAcceleratedCompositingForPluginsEnabled): (WebCore::Settings::setAcceleratedCompositingForCanvasEnabled): (WebCore::Settings::setAcceleratedCompositingForAnimationEnabled):
  • page/Settings.h: (WebCore::Settings::acceleratedCompositingFor3DTransformsEnabled): (WebCore::Settings::acceleratedCompositingForVideoEnabled): (WebCore::Settings::acceleratedCompositingForPluginsEnabled): (WebCore::Settings::acceleratedCompositingForCanvasEnabled): (WebCore::Settings::acceleratedCompositingForAnimationEnabled):

TBR=vangelis@chromium.org
Review URL: http://codereview.chromium.org/5534003

9:45 AM Changeset in webkit [73146] by tony@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Tony Chang <tony@chromium.org>

Unreviewed, add back fast/overflow/hit-test-overflow-controls.html
to chromium test_expectations.txt. It's failing on the main
waterfall. Thanks to victorw for notifying me.

  • platform/chromium/test_expectations.txt:
9:42 AM Changeset in webkit [73145] by caseq@chromium.org
  • 5 edits in trunk

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

Reviewed by Pavel Feldman.

Web Inspector: [Resources panel] [HAR] Need a way to save timing data.
Re-implementing HAR export functionality that used to be in Resources
tab in Network tab.
https://bugs.webkit.org/show_bug.cgi?id=45663

  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel.prototype._createTable): (WebInspector.NetworkPanel.prototype._toggleViewingResourceMode): (WebInspector.NetworkPanel.prototype._contextMenu): (WebInspector.NetworkPanel.prototype._exportAll): (WebInspector.NetworkPanel.prototype._exportResource): (WebInspector.NetworkDataGridNode.prototype.refreshResource):
  • inspector/front-end/networkPanel.css: (.data-grid table.data tr.revealed.network-item): (.data-grid.filter-other table.data tr.revealed.network-category-other):

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

Reviewed by Pavel Feldman.

Web Inspector: [Resources panel] [HAR] Need a way to save timing data.
Enable resource export to HAR for Chromium.
https://bugs.webkit.org/show_bug.cgi?id=45663

  • src/js/DevTools.js: Preferences.resourceExportEnabled = true
9:42 AM Changeset in webkit [73144] by vangelis@chromium.org
  • 11 edits in branches/chromium/597

Part 1 of merges for Chromium bug #64589

Merge 72954 - 2010-11-29 Vangelis Kokkevis <vangelis@chromium.org>

Reviewed by Simon Fraser.

Provide more fine grained control to ports over when to turn on accelerated
compositing.
https://bugs.webkit.org/show_bug.cgi?id=49998

As part of this change, the old hasAcceleratedCompositing method on the ChromeClient
has now been replaced by allowedCompositingTriggers which returns a bitfield of
all the features which can trigger the compositor.

  • src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::allowedCompositingTriggers):
  • src/ChromeClientImpl.h:

2010-11-29 Vangelis Kokkevis <vangelis@chromium.org>

Reviewed by Simon Fraser.

Provide more fine grained control to ports over when to turn on accelerated
compositing.
https://bugs.webkit.org/show_bug.cgi?id=49998

As part of this change, the old hasAcceleratedCompositing method on the ChromeClient
has now been replaced by allowedCompositingTriggers which returns a bitfield of
all the features which can trigger the compositor.

  • WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::allowedCompositingTriggers):
  • WebCoreSupport/ChromeClientQt.h:

2010-11-30 Vangelis Kokkevis <vangelis@chromium.org>

Reviewed by Simon Fraser.

Provide more fine grained control to ports over when to turn on
accelerated compositing.
https://bugs.webkit.org/show_bug.cgi?id=49998

The RenderLayerCompositor now checks with the chrome client whether
3d transforms, video, plugins, canvas and animation require
switching over to the composited path. Layers that overlap composited
content will still turn into composited layers regardless of the
setting.

  • css/MediaQueryEvaluator.cpp: (WebCore::transform_3dMediaFeatureEval):
  • page/ChromeClient.h: (WebCore::ChromeClient::allowedCompositingTriggers):
  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::canRender3DTransforms): (WebCore::RenderLayer::updateTransform): (WebCore::RenderLayer::currentTransform):
  • rendering/RenderLayer.h:
  • rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateLayerTransform):
  • rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::RenderLayerCompositor): (WebCore::RenderLayerCompositor::cacheAcceleratedCompositingFlags): (WebCore::RenderLayerCompositor::canRender3DTransforms): (WebCore::RenderLayerCompositor::requiresCompositingLayer): (WebCore::RenderLayerCompositor::requiresCompositingForTransform): (WebCore::RenderLayerCompositor::requiresCompositingForVideo): (WebCore::RenderLayerCompositor::requiresCompositingForCanvas): (WebCore::RenderLayerCompositor::requiresCompositingForPlugin): (WebCore::RenderLayerCompositor::requiresCompositingForAnimation):
  • rendering/RenderLayerCompositor.h:

TBR=vangelis@chromium.org
Review URL: http://codereview.chromium.org/5523003

9:39 AM Changeset in webkit [73143] by sullivan@apple.com
  • 2 edits in trunk/WebKit/mac

Slightly speculative fix for:

Reviewed by Adam Roben.

<rdar://problem/8712674>
<https://bugs.webkit.org/show_bug.cgi?id=50393>
setStringValue: sometimes called with nil in [WebAuthenticationPanel setUpForChallenge]

  • Panels/WebAuthenticationPanel.m:

(-[WebAuthenticationPanel setUpForChallenge:]):
If the realm is nil, use @"" instead.

9:34 AM Changeset in webkit [73142] by commit-queue@webkit.org
  • 5 edits
    4 adds in trunk/WebKit2

2010-11-30 Amruth Raj <amruthraj@motorola.com> and Ravi Kasibhatla <ravi.kasibhatla@motorola.com>

Reviewed by Martin Robinson.

[GTK] Implement RunLoop, WorkQueue, Connection classes for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=48507

  • Platform/CoreIPC/Connection.h: UNIX_X11 specific changes for GTK port. (CoreIPC::Connection::messageProcessingCompleted):
  • Platform/CoreIPC/gtk: Added.
  • Platform/CoreIPC/gtk/ConnectionGtk.cpp: Added. Connection class implementation for GTK port (UNIX_X11 specific). (CoreIPC::readBytesFromSocket): (CoreIPC::writeBytesToSocket): (CoreIPC::Connection::platformInitialize): (CoreIPC::Connection::platformInvalidate): (CoreIPC::Connection::processCompletedMessage): (CoreIPC::Connection::readEventHandler): (CoreIPC::Connection::open): (CoreIPC::Connection::platformCanSendOutgoingMessages): (CoreIPC::Connection::sendOutgoingMessage):
  • Platform/PlatformProcessIdentifier.h: UNIX_X11 specific changes for GTK port.
  • Platform/RunLoop.h: GTK port specific changes.
  • Platform/WorkQueue.h: GTK port specific changes.
  • Platform/gtk/RunLoopGtk.cpp: Added. Runs an event loop using GMainLoop and handles the incoming messages. (RunLoop::RunLoop): (RunLoop::~RunLoop): (RunLoop::run): (RunLoop::mainLoop): (RunLoop::stop): (RunLoop::queueWork): (RunLoop::wakeUp): (RunLoop::TimerBase::TimerBase): (RunLoop::TimerBase::~TimerBase): (RunLoop::TimerBase::resetTimerSource): (RunLoop::TimerBase::oneShotTimerFired): (RunLoop::TimerBase::repeatingTimerFired): (RunLoop::TimerBase::start): (RunLoop::TimerBase::stop): (RunLoop::TimerBase::isActive):
  • Platform/gtk/WorkQueueGtk.cpp: Added. Creates a thread and polls on a given fd using GIOChannel. Dispatches the obtained messages to RunLoop's GMainLoop. (WorkQueue::EventSource::EventSource): (WorkQueue::EventSource::dispatchSource): (WorkQueue::EventSource::performWorkOnce): (WorkQueue::EventSource::performWork): (WorkQueue::EventSource::deleteEventSource): (WorkQueue::platformInitialize): (WorkQueue::platformInvalidate): (WorkQueue::startWorkQueueThread): (WorkQueue::workQueueThreadBody): (WorkQueue::registerEventSourceHandler): (WorkQueue::unregisterEventSourceHandler): (WorkQueue::scheduleWork):
9:33 AM Changeset in webkit [73141] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2010-12-02 Philippe Normand <pnormand@igalia.com>

Unreviewed, skip failing tests.

  • platform/gtk/Skipped:
9:24 AM Changeset in webkit [73140] by sfalken@apple.com
  • 3 edits in trunk/WebKit2

2010-12-02 Steve Falkenburg <sfalken@apple.com>

Reviewed by Adam Roben.

Move enableExecutionPrevention to WebKitMain
https://bugs.webkit.org/show_bug.cgi?id=50392

  • WebProcess/WebKitMain.cpp: (enableDataExecutionPrevention): (WebKitMain):
  • WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMain):
9:11 AM Changeset in webkit [73139] by commit-queue@webkit.org
  • 5 edits in trunk

2010-12-02 Dai Mikurube <dmikurube@google.com>

Reviewed by Kent Tamura.

Reject named colors, accept only #rrggbb in <input type=color />
https://bugs.webkit.org/show_bug.cgi?id=50308

  • fast/forms/ValidityState-typeMismatch-color-expected.txt:
  • fast/forms/script-tests/ValidityState-typeMismatch-color.js: Changed to reject English color names.

2010-12-02 Dai Mikurube <dmikurube@google.com>

Reviewed by Kent Tamura.

Reject named colors, accept only #rrggbb in <input type=color />
https://bugs.webkit.org/show_bug.cgi?id=50308

  • html/ColorInputType.cpp: Modified to accept only simple colors like #xxxxxx. (WebCore::isValidColorString):
9:10 AM Changeset in webkit [73138] by sfalken@apple.com
  • 3 edits in trunk/WebKit2

2010-12-02 Steve Falkenburg <sfalken@apple.com>

Reviewed by Adam Roben.

Enable DEP at runtime to allow for compatibility with older versions of ATL
https://bugs.webkit.org/show_bug.cgi?id=50378

  • WebProcess/win/WebProcessMainWin.cpp: (WebKit::enableDataExecutionPrevention): (WebKit::WebProcessMain):
  • win/WebKit2WebProcessCommon.vsprops:
8:51 AM XBL2UseCases edited by Dimitri Glazkov
(diff)
8:33 AM Changeset in webkit [73137] by commit-queue@webkit.org
  • 6 edits in trunk

2010-12-02 Vincent Scheib <scheib@chromium.org>

Reviewed by Darin Fisher.

[chromium] histograms api updated in WebKitClient and added to ChromiumBridge
https://bugs.webkit.org/show_bug.cgi?id=50285

Test by loading "about:histograms" after navigating to accelerated pages.

  • platform/chromium/ChromiumBridge.h: api update.

2010-12-02 Vincent Scheib <scheib@chromium.org>

Reviewed by Darin Fisher.

[chromium] histograms api updated in WebKitClient/ChromiumBridge and histogram "GPU.setIsAcceleratedCompositingActive" added.
https://bugs.webkit.org/show_bug.cgi?id=50285

Test by loading "about:histograms" after navigating to accelerated pages.

  • public/WebKitClient.h: (WebKit::WebKitClient::histogramCustomCounts): api update. (WebKit::WebKitClient::histogramEnumeration): api update.
  • src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::histogramCustomCounts): api update. (WebCore::ChromiumBridge::histogramEnumeration): api update.
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): "GPU.setIsAcceleratedCompositingActive" added.
8:23 AM Changeset in webkit [73136] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2010-12-02 Philippe Normand <pnormand@igalia.com>

Unreviewed, skip failing test.

  • platform/gtk/Skipped: Skip media/video-volume.html
8:14 AM Changeset in webkit [73135] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2010-12-02 Philippe Normand <pnormand@igalia.com>

Unreviewed, unskip passing media tests on GTK.

  • platform/gtk/Skipped: Unskip fullscreen video tests, now passing.
8:13 AM Changeset in webkit [73134] by Csaba Osztrogonác
  • 1 edit
    2 copies in trunk/LayoutTests

Unreviewed. Add Qt specific expected files after r73063.

Make scrolling work properly with writing modes
https://bugs.webkit.org/show_bug.cgi?id=46645

  • platform/qt/fast/dom/horizontal-scrollbar-in-rtl-expected.txt: Copied from LayoutTests/fast/dom/horizontal-scrollbar-in-rtl-expected.txt.
  • platform/qt/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Copied from LayoutTests/fast/dom/vertical-scrollbar-in-rtl-expected.txt.
8:12 AM Changeset in webkit [73133] by abecsi@webkit.org
  • 2 edits in trunk/WebCore

2010-12-02 Andras Becsi <abecsi@webkit.org>

Unreviewed build fix.

[Qt][V8] Fix linking of generated sources.

No new tests needed.

  • WebCore.pro: add missing V8ImageDataCustom.cpp.
7:55 AM Changeset in webkit [73132] by Adam Roben
  • 2 edits in trunk/LayoutTests

Remove a test that we were only skipping to see if it would fix other tests

It didn't.

  • platform/mac-wk2/Skipped:
7:51 AM Changeset in webkit [73131] by Adam Roben
  • 2 edits in trunk/LayoutTests

Add some new tests to the mac-wk2 Skipped file

All of the tests depend on EventSender.keyDown.

  • platform/mac-wk2/Skipped:
7:19 AM Changeset in webkit [73130] by Nikolas Zimmermann
  • 74 edits in trunk/WebCore

2010-12-02 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Adam Roben.

Split DECLARE_ANIMATED_PROPERTY* in DECLARE/DEFINE parts for SVGAnimatedString/SVGAnimatedEnumeration
https://bugs.webkit.org/show_bug.cgi?id=50383

Continuing the work on bug 42025: Introduce DECLARE_ANIMATED_(STRING|ENUMERATION) / DEFINE_ANIMATED_(STRING|ENUMERATION).
The animated property declaration lives in the header, the definition in the cpp file, to avoid the dependency on SVGNames.h in all headers.

No functional changes, thus no new tests.

  • svg/SVGAElement.cpp:
  • svg/SVGAElement.h: (WebCore::SVGAElement::isValid): (WebCore::SVGAElement::target):
  • svg/SVGAltGlyphElement.cpp:
  • svg/SVGAltGlyphElement.h:
  • svg/SVGAnimatedEnumeration.h:
  • svg/SVGAnimatedString.h:
  • svg/SVGClipPathElement.cpp:
  • svg/SVGClipPathElement.h:
  • svg/SVGComponentTransferFunctionElement.cpp:
  • svg/SVGComponentTransferFunctionElement.h:
  • svg/SVGCursorElement.cpp:
  • svg/SVGCursorElement.h:
  • svg/SVGFEBlendElement.cpp:
  • svg/SVGFEBlendElement.h:
  • svg/SVGFEColorMatrixElement.cpp:
  • svg/SVGFEColorMatrixElement.h:
  • svg/SVGFEComponentTransferElement.cpp:
  • svg/SVGFEComponentTransferElement.h:
  • svg/SVGFECompositeElement.cpp:
  • svg/SVGFECompositeElement.h:
  • svg/SVGFEConvolveMatrixElement.cpp:
  • svg/SVGFEConvolveMatrixElement.h:
  • svg/SVGFEDiffuseLightingElement.cpp:
  • svg/SVGFEDiffuseLightingElement.h:
  • svg/SVGFEDisplacementMapElement.cpp:
  • svg/SVGFEDisplacementMapElement.h:
  • svg/SVGFEGaussianBlurElement.cpp:
  • svg/SVGFEGaussianBlurElement.h:
  • svg/SVGFEImageElement.cpp:
  • svg/SVGFEImageElement.h:
  • svg/SVGFELightElement.cpp:
  • svg/SVGFEMergeNodeElement.cpp:
  • svg/SVGFEMergeNodeElement.h:
  • svg/SVGFEMorphologyElement.cpp:
  • svg/SVGFEMorphologyElement.h:
  • svg/SVGFEOffsetElement.cpp:
  • svg/SVGFEOffsetElement.h:
  • svg/SVGFESpecularLightingElement.cpp:
  • svg/SVGFESpecularLightingElement.h:
  • svg/SVGFETileElement.cpp:
  • svg/SVGFETileElement.h:
  • svg/SVGFETurbulenceElement.cpp:
  • svg/SVGFETurbulenceElement.h:
  • svg/SVGFilterElement.cpp:
  • svg/SVGFilterElement.h:
  • svg/SVGFilterPrimitiveStandardAttributes.cpp:
  • svg/SVGFilterPrimitiveStandardAttributes.h:
  • svg/SVGForeignObjectElement.cpp:
  • svg/SVGForeignObjectElement.h:
  • svg/SVGGradientElement.cpp:
  • svg/SVGGradientElement.h:
  • svg/SVGImageElement.cpp:
  • svg/SVGImageElement.h:
  • svg/SVGMPathElement.cpp:
  • svg/SVGMPathElement.h:
  • svg/SVGMarkerElement.cpp:
  • svg/SVGMarkerElement.h:
  • svg/SVGMaskElement.cpp:
  • svg/SVGMaskElement.h:
  • svg/SVGPatternElement.cpp:
  • svg/SVGPatternElement.h:
  • svg/SVGScriptElement.cpp:
  • svg/SVGScriptElement.h:
  • svg/SVGStyledElement.cpp:
  • svg/SVGStyledElement.h: (WebCore::SVGStyledElement::hasRelativeLengths): (WebCore::SVGStyledElement::supportsMarkers): (WebCore::SVGStyledElement::style): (WebCore::SVGStyledElement::updateRelativeLengthsInformation): (WebCore::SVGStyledElement::selfHasRelativeLengths): (WebCore::SVGStyledElement::isStyled):
  • svg/SVGTRefElement.cpp:
  • svg/SVGTRefElement.h:
  • svg/SVGTextContentElement.cpp:
  • svg/SVGTextContentElement.h:
  • svg/SVGTextPathElement.cpp:
  • svg/SVGTextPathElement.h:
  • svg/SVGUseElement.cpp:
  • svg/SVGUseElement.h:
6:28 AM Changeset in webkit [73129] by Patrick Gansterer
  • 3 edits in trunk/WebCore

2010-12-02 Patrick Gansterer <Patrick Gansterer>

Reviewed by Andreas Kling.

[WX] Remove "current path" of GraphicsContext
https://bugs.webkit.org/show_bug.cgi?id=50286

  • platform/graphics/GraphicsContext.h:
  • platform/graphics/wx/GraphicsContextWx.cpp: (WebCore::GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::fillPath): (WebCore::GraphicsContext::strokePath):
6:11 AM Changeset in webkit [73128] by Martin Robinson
  • 230 edits
    2 adds in trunk

2010-11-24 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] Text input controls do not react properly to CSS styling
https://bugs.webkit.org/show_bug.cgi?id=40855

Update tests which have changed after fixes to text field layout.

  • platform/gtk/fast/css/input-search-padding-expected.txt:
  • platform/gtk/fast/css/text-input-with-webkit-border-radius-expected.txt:
  • platform/gtk/fast/forms/basic-inputs-expected.txt:
  • platform/gtk/fast/forms/basic-textareas-expected.txt:
  • platform/gtk/fast/forms/box-shadow-override-expected.txt:
  • platform/gtk/fast/forms/control-restrict-line-height-expected.txt:
  • platform/gtk/fast/forms/encoding-test-expected.txt:
  • platform/gtk/fast/forms/fieldset-align-expected.txt:
  • platform/gtk/fast/forms/floating-textfield-relayout-expected.txt:
  • platform/gtk/fast/forms/form-element-geometry-expected.txt:
  • platform/gtk/fast/forms/input-align-expected.txt:
  • platform/gtk/fast/forms/input-appearance-default-bkcolor-expected.txt:
  • platform/gtk/fast/forms/input-appearance-disabled-expected.txt:
  • platform/gtk/fast/forms/input-appearance-focus-expected.txt:
  • platform/gtk/fast/forms/input-appearance-height-expected.txt:
  • platform/gtk/fast/forms/input-appearance-preventDefault-expected.txt:
  • platform/gtk/fast/forms/input-appearance-readonly-expected.txt:
  • platform/gtk/fast/forms/input-appearance-selection-expected.txt:
  • platform/gtk/fast/forms/input-appearance-visibility-expected.txt:
  • platform/gtk/fast/forms/input-appearance-width-expected.txt:
  • platform/gtk/fast/forms/input-baseline-expected.txt:
  • platform/gtk/fast/forms/input-disabled-color-expected.txt:
  • platform/gtk/fast/forms/input-double-click-selection-gap-bug-expected.txt:
  • platform/gtk/fast/forms/input-field-text-truncated-expected.txt:
  • platform/gtk/fast/forms/input-paste-undo-expected.txt:
  • platform/gtk/fast/forms/input-placeholder-focus-twice-expected.txt:
  • platform/gtk/fast/forms/input-readonly-autoscroll-expected.txt:
  • platform/gtk/fast/forms/input-readonly-dimmed-expected.txt:
  • platform/gtk/fast/forms/input-readonly-empty-expected.txt:
  • platform/gtk/fast/forms/input-spaces-expected.txt:
  • platform/gtk/fast/forms/input-table-expected.txt:
  • platform/gtk/fast/forms/input-text-click-inside-expected.txt:
  • platform/gtk/fast/forms/input-text-click-outside-expected.txt:
  • platform/gtk/fast/forms/input-text-double-click-expected.txt:
  • platform/gtk/fast/forms/input-text-drag-down-expected.txt:
  • platform/gtk/fast/forms/input-text-option-delete-expected.txt:
  • platform/gtk/fast/forms/input-text-scroll-left-on-blur-expected.txt:
  • platform/gtk/fast/forms/input-text-self-emptying-click-expected.txt:
  • platform/gtk/fast/forms/input-text-word-wrap-expected.txt:
  • platform/gtk/fast/forms/input-type-change2-expected.txt:
  • platform/gtk/fast/forms/input-type-text-min-width-expected.txt:
  • platform/gtk/fast/forms/input-value-expected.txt:
  • platform/gtk/fast/forms/input-width-expected.txt:
  • platform/gtk/fast/forms/isindex-placeholder-expected.txt:
  • platform/gtk/fast/forms/minWidthPercent-expected.txt:
  • platform/gtk/fast/forms/password-placeholder-expected.txt:
  • platform/gtk/fast/forms/password-placeholder-text-security-expected.txt:
  • platform/gtk/fast/forms/placeholder-pseudo-style-expected.txt:
  • platform/gtk/fast/forms/placeholder-set-attribute-expected.txt:
  • platform/gtk/fast/forms/placeholder-set-value-expected.txt:
  • platform/gtk/fast/forms/placeholder-stripped-expected.txt:
  • platform/gtk/fast/forms/plaintext-mode-2-expected.txt:
  • platform/gtk/fast/forms/search-cancel-button-style-sharing-expected.txt:
  • platform/gtk/fast/forms/search-display-none-cancel-button-expected.txt:
  • platform/gtk/fast/forms/search-placeholder-value-changed-expected.txt:
  • platform/gtk/fast/forms/search-rtl-expected.txt:
  • platform/gtk/fast/forms/search-styled-expected.txt:
  • platform/gtk/fast/forms/search-transformed-expected.txt:
  • platform/gtk/fast/forms/search-zoomed-expected.txt:
  • platform/gtk/fast/forms/searchfield-heights-expected.txt:
  • platform/gtk/fast/forms/tabbing-input-iframe-expected.txt:
  • platform/gtk/fast/forms/text-control-intrinsic-widths-expected.txt:
  • platform/gtk/fast/forms/text-style-color-expected.txt:
  • platform/gtk/fast/forms/textAreaLineHeight-expected.txt:
  • platform/gtk/fast/forms/textarea-align-expected.txt:
  • platform/gtk/fast/forms/textarea-placeholder-pseudo-style-expected.txt:
  • platform/gtk/fast/forms/textarea-placeholder-set-attribute-expected.txt:
  • platform/gtk/fast/forms/textarea-placeholder-set-value-expected.txt:
  • platform/gtk/fast/forms/textarea-scroll-height-expected.txt:
  • platform/gtk/fast/forms/textarea-scrollbar-expected.txt:
  • platform/gtk/fast/forms/textarea-scrolled-type-expected.txt:
  • platform/gtk/fast/forms/textarea-setinnerhtml-expected.txt:
  • platform/gtk/fast/forms/textarea-width-expected.txt:
  • platform/gtk/fast/forms/textfield-focus-ring-expected.txt:
  • platform/gtk/fast/forms/textfield-overflow-expected.txt:
  • platform/gtk/fast/forms/visual-hebrew-text-field-expected.txt:
  • platform/gtk/fast/frames/take-focus-from-iframe-expected.txt:

2010-10-26 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] Text input controls do not react properly to CSS styling
https://bugs.webkit.org/show_bug.cgi?id=40855

Improve text input control rendering. Instead of using the GTK+ border
attributes of the control modify the padding, they modify the border.
Make this same choice for search inputs and text area inputs.

  • platform/gtk/RenderThemeGtk.cpp: (WebCore::setTextInputBorders): Added this helper which sets text input control borders based on GTK+ theme settings. (WebCore::RenderThemeGtk::adjustTextFieldStyle): Use the setTextInputBorders helper. (WebCore::RenderThemeGtk::adjustTextAreaStyle): Ditto. (WebCore::RenderThemeGtk::adjustSearchFieldStyle): Ditto.
  • platform/gtk/RenderThemeGtk.h:
6:00 AM Changeset in webkit [73127] by vitalyr@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Vitaly Repeshko <vitalyr@chromium.org>

Unreviewed.

[chromium] Updating test expectations.

  • platform/chromium/test_expectations.txt:
5:58 AM Changeset in webkit [73126] by commit-queue@webkit.org
  • 2 edits in trunk/JavaScriptCore

2010-12-02 Norbert Leser <norbert.leser@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] [Symbian] Reintroduce compiler optimizations for JSC
https://bugs.webkit.org/show_bug.cgi?id=50270

Add compiler optimization (symbian ARM target) which was lost after split from WebCore.
Tested via Sunspider and V8 - both of which show significant performance improvement.

5:39 AM Changeset in webkit [73125] by commit-queue@webkit.org
  • 3 edits
    3 adds in trunk

2010-12-02 Andreas Kling <kling@webkit.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt] GraphicsContext::strokeRect() taints the context's lineWidth
https://bugs.webkit.org/show_bug.cgi?id=50269

  • fast/canvas/canvas-lineWidth-intact-after-strokeRect-expected.txt: Added.
  • fast/canvas/canvas-lineWidth-intact-after-strokeRect.html: Added.
  • fast/canvas/script-tests/canvas-lineWidth-intact-after-strokeRect.js: Added.

2010-12-02 Andreas Kling <kling@webkit.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt] GraphicsContext::strokeRect() taints the context's lineWidth
https://bugs.webkit.org/show_bug.cgi?id=50269

Test: fast/canvas/canvas-lineWidth-intact-after-strokeRect.html

  • platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::strokeRect): Restore the context's original stroke thickness after painting.
5:36 AM Changeset in webkit [73124] by abecsi@webkit.org
  • 7 edits in trunk/JavaScriptCore

2010-12-02 Peter Varga <pvarga@inf.u-szeged.hu>

Reviewed by Gavin Barraclough.

Move regex parsing and fallback handling to runtime/RegExp.cpp
https://bugs.webkit.org/show_bug.cgi?id=50015

  • runtime/RegExp.cpp: (JSC::RegExp::RegExp): (JSC::RegExp::create): (JSC::RegExp::compile): (JSC::RegExp::match): (JSC::RegExp::printTraceData):
  • runtime/RegExp.h: (JSC::RegExp::pattern):
  • yarr/RegexInterpreter.cpp:
  • yarr/RegexInterpreter.h:
  • yarr/RegexJIT.cpp: (JSC::Yarr::RegexGenerator::compile): (JSC::Yarr::jitCompileRegex):
  • yarr/RegexJIT.h: (JSC::Yarr::RegexCodeBlock::RegexCodeBlock): (JSC::Yarr::RegexCodeBlock::setFallBack): (JSC::Yarr::RegexCodeBlock::isFallBack): (JSC::Yarr::executeRegex):
4:38 AM Changeset in webkit [73123] by reni@webkit.org
  • 2 edits in trunk/WebCore

[Qt] GraphicsContext::clip(path) should clip using winding fill
https://bugs.webkit.org/show_bug.cgi?id=49912

Patch by Renata Hodovan <reni@webkit.org> on 2010-12-02
Reviewed by Andreas Kling.

GraphicsContext::clip(path) now uses winding fill and this function is called by
GraphicsContext::canvasClip(path).

No new test is needed.

  • platform/graphics/qt/GraphicsContextQt.cpp:

(WebCore::GraphicsContext::clip):
(WebCore::GraphicsContext::canvasClip):

4:33 AM Changeset in webkit [73122] by apavlov@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-02 Alexander Pavlov <apavlov@chromium.org>

Unreviewed, build fix.

  • http/tests/inspector/inspect-iframe-from-different-domain.html:
3:25 AM Changeset in webkit [73121] by apavlov@chromium.org
  • 19 edits
    2 deletes in trunk

2010-12-01 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Remove obsolete CSS backend API from InspectorDOMAgent
https://bugs.webkit.org/show_bug.cgi?id=50318

WebCore:

  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.order:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • inspector/Inspector.idl:
  • inspector/InspectorCSSAgent.h:
  • inspector/InspectorCSSStore.cpp: Removed.
  • inspector/InspectorCSSStore.h: Removed.
  • inspector/InspectorController.cpp: (WebCore::InspectorController::InspectorController): (WebCore::InspectorController::connectFrontend): (WebCore::InspectorController::didCommitLoad):
  • inspector/InspectorController.h:
  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::InspectorDOMAgent): (WebCore::InspectorDOMAgent::unbind):
  • inspector/InspectorDOMAgent.h: (WebCore::InspectorDOMAgent::create):

LayoutTests:

  • inspector/styles-iframe.html:
  • inspector/styles-source-lines.html:
  • inspector/styles-source-offsets-expected.txt:
  • inspector/styles-source-offsets.html:
2:50 AM Changeset in webkit [73120] by Csaba Osztrogonác
  • 2 edits in trunk/WebCore

Unreviewed trivial buildfix after r73117.

  • page/FrameView.cpp:

(WebCore::FrameView::calculateScrollbarModesForLayout):

2:40 AM Changeset in webkit [73119] by commit-queue@webkit.org
  • 6 edits
    1 copy in trunk/WebCore

2010-12-02 Yuqiang Xian <yuqiang.xian@intel.com>

Reviewed by Pavel Feldman.

[V8] Speed up data property access for ImageData.
https://bugs.webkit.org/show_bug.cgi?id=49999

We create a normal V8 object which has a PixelArray as the backing storage,
and set the "data" property of the ImageData object to it.
This way "data" becomes a pure JS property and we don't need to call through
the C++ bindings for ImageData "data" access.
This eliminates big overhead in switching between JavaScript and native
contexts and performing object bindings.

No new tests. Relying on existing Canvas tests.

  • WebCore.gypi:
  • bindings/scripts/CodeGeneratorV8.pm:
  • bindings/v8/custom/V8CanvasPixelArrayCustom.cpp: (WebCore::toV8):
  • bindings/v8/custom/V8ImageDataCustom.cpp: Added. (WebCore::toV8):
  • html/ImageData.idl:
  • html/canvas/CanvasPixelArray.idl:
2:23 AM Changeset in webkit [73118] by tkent@chromium.org
  • 2 edits in trunk/WebCore

2010-12-02 Kent Tamura <tkent@chromium.org>

Unreviewed. Run sort-Xcode-project-file.

  • WebCore.xcodeproj/project.pbxproj:
2:12 AM Changeset in webkit [73117] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-02 Mike Lawther <mikelawther@chromium.org>

Reviewed by David Hyatt.

Clean up of iframe scrollbar mode code
https://bugs.webkit.org/show_bug.cgi?id=47797

Pull setChildNeedsLayout/setNeedsLayout calls out of scrollbar mode
calculation method and put back into main layout function.
Early exit from the scrollbar calc when scrollbars are turned off.

  • page/FrameView.cpp: (WebCore::FrameView::calculateScrollbarModesForLayout): (WebCore::FrameView::layout):
1:54 AM Changeset in webkit [73116] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-02 Hironori Bono <hbono@chromium.org>

Reviewed by Darin Fisher.

[Chromium] Fix possible crashes in FontFallbackFont::determinePitch().
https://bugs.webkit.org/show_bug.cgi?id=25770

When all of "Arial", "Courier New", and "Times New Roman" fonts are corrupted,
FontCache::getLastResortFallbackFont() returns 0 and it causes this crash. To
avoid this crash, this change falls back to system fonts (Windows ensures they
are sane) as Win Safari does. Unfortunately, I don't have any ideas how I can
write a layout test for this issue because this crash happens on a PC some of
its system fonts are corrupted.

  • platform/graphics/chromium/FontCacheChromiumWin.cpp: (WebCore::fontDataFromDescriptionAndLogFont): (WebCore::FontCache::getLastResortFallbackFont):
1:39 AM Changeset in webkit [73115] by sergio@webkit.org
  • 2 edits in trunk/WebKitTools

2010-12-02 Sergio Villar Senin <svillar@igalia.com>

Unreviewed: Added myself to list of Committers.

  • Scripts/webkitpy/common/config/committers.py:
1:15 AM Changeset in webkit [73114] by Dimitri Glazkov
  • 4 edits in trunk/WebCore

2010-12-02 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Kent Tamura.

Provide means to store shadow DOM nodes on Element
https://bugs.webkit.org/show_bug.cgi?id=48697

Adds shadow DOM awareness to the standard Node attach/detach,
document and tree insertion and removal cycle.

No new tests, because the code is not yet used.

  • dom/Element.cpp: (WebCore::Element::insertedIntoDocument): Added logic to cascade down to shadow DOM, if present. (WebCore::Element::removedFromDocument): Ditto. (WebCore::Element::insertedIntoTree): Ditto. (WebCore::Element::removedFromTree): Ditto. (WebCore::Element::attach): Ditto. (WebCore::Element::detach): Ditto. (WebCore::Element::recalcStyle): (WebCore::Element::shadowRoot): Added. (WebCore::Element::setShadowRoot): Added. (WebCore::Element::clearShadowRoot): Added.
  • dom/Element.h: Added decls.
  • dom/ElementRareData.h: Added a member to hold a RefPtr to the shadow DOM root for the element.
12:18 AM Changeset in webkit [73113] by dbates@webkit.org
  • 6 edits in trunk

2010-12-02 Daniel Bates <dbates@rim.com>

Add autotools generated files to svn:ignore so that these
files do not show up in an svn stat.

  • .: Modified property svn:ignore.
  • autotools: Added property svn:ignore.

2010-12-02 Daniel Bates <dbates@rim.com>

Ignore WebKit/gtk/docs/GNUmakefile.in and WebKit/gtk/po/*.pot so that
these files do not appear in an svn stat. This change makes SVN
consistent with the current Git ignore behavior for these files.

  • docs: Added property svn:ignore.
  • po: Added property svn:ignore.
12:05 AM Changeset in webkit [73112] by abarth@webkit.org
  • 4 edits
    3 adds in trunk

2010-12-02 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Gray-scale JPEG images with a color profile are stretched horizonally
https://bugs.webkit.org/show_bug.cgi?id=49950

Turns out gray-scale JPEGs with color profiles have the same issue as
PNGs. As with PNGs, we suppress now suppress the color profile for
gray-scale JPEGs. Most importantly, this patch adds a test.

Test: fast/images/gray-scale-jpeg-with-color-profile.html

  • platform/image-decoders/jpeg/JPEGImageDecoder.cpp: (WebCore::JPEGImageReader::decode):

2010-12-02 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Gray-scale JPEG images with a color profile are stretched horizonally
https://bugs.webkit.org/show_bug.cgi?id=49950

Test that we properly render gray-scale JPEGs with embedded color
profiles.

  • fast/images/gray-scale-jpeg-with-color-profile.html: Added.
  • fast/images/resources/flowchart.jpg: Added.
  • platform/mac/fast/images/gray-scale-jpeg-with-color-profile-expected.txt: Added.
Note: See TracTimeline for information about the timeline view.