WebKit.git
11 years agoUnreviewed. Added missing expectations in chromium-mac-leopard to
jianli@chromium.org [Tue, 14 Dec 2010 20:32:51 +0000 (20:32 +0000)]
Unreviewed. Added missing expectations in chromium-mac-leopard to
complete the move in r74042.

* platform/chromium-mac-leopard/editing/deleting/5144139-2-expected.checksum:
* platform/chromium-mac-leopard/editing/deleting/5144139-2-expected.png:
* platform/chromium-mac-leopard/editing/selection/extend-selection-bidi-expected.checksum:
* platform/chromium-mac-leopard/editing/selection/extend-selection-bidi-expected.png:
* platform/chromium-mac-leopard/fast/text/complex-text-opacity-expected.checksum:
* platform/chromium-mac-leopard/fast/text/complex-text-opacity-expected.png:
* platform/chromium-mac-leopard/fast/text/complex-text-opacity-expected.txt:
* platform/chromium-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.png: Added.
* platform/chromium-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.txt: Added.
* platform/chromium-mac-leopard/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png: Added.
* platform/chromium-mac-leopard/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt: Added.
* platform/chromium-mac-leopard/fast/text/international/bidi-neutral-run-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/text/international/bidi-neutral-run-expected.png: Added.
* platform/chromium-mac-leopard/fast/text/international/bidi-neutral-run-expected.txt: Added.

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

11 years ago2010-12-14 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Tue, 14 Dec 2010 20:31:14 +0000 (20:31 +0000)]
2010-12-14  Nate Chapin  <japhet@chromium.org>

        Unreviewed, fix mac and qt builds.

        Missed a couple of references to loader.h and
        improperly added CachedResourceRequest.h to
        WebCore.xcodeproj.

        * WebCore.xcodeproj/project.pbxproj:
        * platform/android/TemporaryLinkStubs.cpp:
        * platform/qt/TemporaryLinkStubsQt.cpp:

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

11 years ago2010-12-14 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Tue, 14 Dec 2010 20:09:45 +0000 (20:09 +0000)]
2010-12-14  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Rename Loader to CachedResourceRequest.
        https://bugs.webkit.org/show_bug.cgi?id=50848

        No new tests, rename only.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * css/CSSStyleSelector.cpp:
        * loader/cache/CachedCSSStyleSheet.cpp:
        * loader/cache/CachedFont.cpp:
        * loader/cache/CachedResource.cpp:
        (WebCore::CachedResource::setRequest):
        * loader/cache/CachedResource.h:
        * loader/cache/CachedResourceLoader.cpp:
        (WebCore::CachedResourceLoader::load):
        (WebCore::CachedResourceLoader::loadDone):
        (WebCore::CachedResourceLoader::cancelRequests):
        * loader/cache/CachedResourceLoader.h:
        * loader/cache/CachedResourceRequest.cpp: Copied from WebCore/loader/loader.cpp.
        * loader/cache/CachedResourceRequest.h: Copied from WebCore/loader/loader.h.
        * loader/loader.cpp: Removed.
        * loader/loader.h: Removed.
        * xml/XSLStyleSheetLibxslt.cpp:
        * xml/XSLTProcessor.cpp:
        * xml/XSLTProcessorLibxslt.cpp:

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

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=46422
hyatt@apple.com [Tue, 14 Dec 2010 19:58:38 +0000 (19:58 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=46422

Reviewed by Tim Hatcher.

Rename pageHeight variables and members in WebCore to pageLogicalHeight in preparation for
making printing and pagination work with vertical writing modes.

* page/FrameView.cpp:
(WebCore::FrameView::forceLayoutForPagination):
* rendering/LayoutState.cpp:
(WebCore::LayoutState::LayoutState):
(WebCore::LayoutState::clearPaginationInformation):
* rendering/LayoutState.h:
(WebCore::LayoutState::LayoutState):
(WebCore::LayoutState::isPaginated):
(WebCore::LayoutState::pageLogicalHeight):
(WebCore::LayoutState::pageLogicalHeightChanged):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutBlock):
(WebCore::RenderBlock::markForPaginationRelayoutIfNeeded):
(WebCore::RenderBlock::insertFloatingObject):
(WebCore::RenderBlock::layoutColumns):
(WebCore::RenderBlock::nextPageTop):
(WebCore::RenderBlock::applyBeforeBreak):
(WebCore::RenderBlock::applyAfterBreak):
(WebCore::RenderBlock::adjustForUnsplittableChild):
(WebCore::RenderBlock::adjustLinePositionForPagination):
* rendering/RenderBlock.h:
* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeLogicalHeight):
* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutBlock):
* rendering/RenderTable.cpp:
(WebCore::RenderTable::layout):
* rendering/RenderTableRow.cpp:
(WebCore::RenderTableRow::layout):
* rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::layoutRows):
* rendering/RenderView.cpp:
(WebCore::RenderView::RenderView):
(WebCore::RenderView::layout):
* rendering/RenderView.h:
(WebCore::RenderView::pageLogicalHeight):
(WebCore::RenderView::setPageLogicalHeight):

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

11 years ago2010-12-14 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 14 Dec 2010 19:57:42 +0000 (19:57 +0000)]
2010-12-14  Dimitri Glazkov  <dglazkov@chromium.org>

        Fix GTK build by adding source files that were accidentally skipped in
        r74044. Sorry!

        * GNUmakefile.am: Added SliderThumbElement.

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

11 years agoHandle complex text input for plug-ins
andersca@apple.com [Tue, 14 Dec 2010 19:41:52 +0000 (19:41 +0000)]
Handle complex text input for plug-ins
https://bugs.webkit.org/show_bug.cgi?id=51047

Reviewed by Sam Weinig.

* PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::sendComplexTextInput):
Pass along the text input to the plug-in.

* PluginProcess/PluginControllerProxy.messages.in:
Add SendComplexTextInput message.

* UIProcess/API/mac/WKTextInputWindowController.h: Added.
* UIProcess/API/mac/WKTextInputWindowController.mm: Added.
Add text input window controller, mostly copied from WebKit1.

* UIProcess/API/mac/WKView.mm:
(-[WKView keyDown:]):
If needed, pass along the event to the text input window controller.

(-[WKView inputContext]):
Return the input context of the text input window controller.

(-[WKView _setComplexTextInputEnabled:pluginComplexTextInputIdentifier:]):
Notify the input window controller that the input source changed.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::sendComplexTextInputToPlugin):
Send the complex text input to the web process.

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

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::convertStringToKeyCodes):
Convert a string to a vector of key codes in the current encoding.

(WebKit::NetscapePlugin::sendComplexTextInput):
In the Cocoa event model, create and dispatch an NPCocoaEventTextInput event.
In the Carbon event model, convert the string to individual key codes and send them
as key down events.

* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::sendComplexTextInput):
Send the text to the plug-in controller proxy.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::sendComplexTextInput):
If the plug-in has a matching text input identifier, call Plugin::sendComplexTextInput.

* WebProcess/WebPage/WebPage.messages.in:
Add SendComplexTextInputToPlugin message.

* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::sendComplexTextInputToPlugin):
Iterate over all known plug-in views and try to find one to send the text input to.

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

11 years agoWebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=50974
bdakin@apple.com [Tue, 14 Dec 2010 19:34:32 +0000 (19:34 +0000)]
WebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=50974
getComputedStyle() returns wrong values for zoomed elements when
display is none
-and corresponding-
<rdar://problem/8522731>

Reviewed by Darin Adler.

If there is no renderer but the RenderStyle's value is a fixed
length, send it through zoomAdjustedPixelValue(). There's not much
we can do for other length types without a renderer.
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::zoomAdjustedPixelValueForLength):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):

LayoutTests: New test for https://bugs.webkit.org/show_bug.cgi?id=50974
getComputedStyle() returns wrong values for zoomed elements when
display is none
-and corresponding-
<rdar://problem/8522731>

Reviewed by Darin Adler.

* fast/css/getComputedStyle/zoom-on-display-none-expected.txt: Added.
* fast/css/getComputedStyle/zoom-on-display-none.html: Added.

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

11 years ago2010-12-13 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 14 Dec 2010 19:30:22 +0000 (19:30 +0000)]
2010-12-13  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by David Levin.

        Move SliderThumbElement into its own file.
        https://bugs.webkit.org/show_bug.cgi?id=50973

        No change in behavior, so no tests.

        * Android.mk: Added SliderThumbElement.
        * CMakeLists.txt: Ditto.
        * WebCore.gyp/WebCore.gyp: Ditto.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto,
        * html/shadow/SliderThumbElement.cpp: Added.
        * html/shadow/SliderThumbElement.h: Added.
        * rendering/RenderSlider.cpp: Removed code that was moved into
            SliderThumbElement.

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

11 years agoAdd WKGetScriptCodeFromCurrentKeyboardInputSource function.
andersca@apple.com [Tue, 14 Dec 2010 19:09:30 +0000 (19:09 +0000)]
Add WKGetScriptCodeFromCurrentKeyboardInputSource function.

Reviewed by Dan Bernstein.

* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceSnowLeopard.a:

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

11 years ago2010-12-14 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 14 Dec 2010 18:40:03 +0000 (18:40 +0000)]
2010-12-14  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Move chromium-mac expectations to chromium-mac-leopard.

        * platform/chromium-mac-leopard/css2.1/t0805-c5518-brdr-t-01-e-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0805-c5518-brdr-t-01-e-expected.png:
        * platform/chromium-mac-leopard/css2.1/t0805-c5519-brdr-r-00-a-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0805-c5519-brdr-r-00-a-expected.png:
        * platform/chromium-mac-leopard/css2.1/t0805-c5520-brdr-b-01-e-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0805-c5520-brdr-b-01-e-expected.png:
        * platform/chromium-mac-leopard/css2.1/t0805-c5521-brdr-l-00-a-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0805-c5521-brdr-l-00-a-expected.png:
        * platform/chromium-mac-leopard/css2.1/t0805-c5521-brdr-l-01-e-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0805-c5521-brdr-l-01-e-expected.png:
        * platform/chromium-mac-leopard/css2.1/t0805-c5521-ibrdr-l-00-a-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0805-c5521-ibrdr-l-00-a-expected.png:
        * platform/chromium-mac-leopard/css2.1/t0905-c414-flt-02-c-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0905-c414-flt-02-c-expected.png:
        * platform/chromium-mac-leopard/css2.1/t0905-c414-flt-03-c-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0905-c414-flt-03-c-expected.png:
        * platform/chromium-mac-leopard/css2.1/t0905-c414-flt-04-c-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0905-c414-flt-04-c-expected.png:
        * platform/chromium-mac-leopard/css2.1/t0905-c414-flt-fit-01-d-g-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0905-c414-flt-fit-01-d-g-expected.png:
        * platform/chromium-mac-leopard/css2.1/t0905-c5525-fltblck-01-d-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0905-c5525-fltblck-01-d-expected.png:
        * platform/chromium-mac-leopard/css2.1/t0905-c5525-fltcont-00-d-g-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0905-c5525-fltcont-00-d-g-expected.png:
        * platform/chromium-mac-leopard/css2.1/t0905-c5525-fltwidth-03-c-g-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png:
        * platform/chromium-mac-leopard/css2.1/t090501-c414-flt-01-b-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t090501-c414-flt-01-b-expected.png:
        * platform/chromium-mac-leopard/css2.1/t090501-c5525-flt-l-00-b-g-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t090501-c5525-flt-l-00-b-g-expected.png:
        * platform/chromium-mac-leopard/css2.1/t090501-c5525-flt-r-00-b-g-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t090501-c5525-flt-r-00-b-g-expected.png:
        * platform/chromium-mac-leopard/css2.1/t1202-counter-03-b-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t1202-counter-03-b-expected.png:
        * platform/chromium-mac-leopard/css2.1/t1202-counter-04-b-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t1202-counter-04-b-expected.png:
        * platform/chromium-mac-leopard/css2.1/t1202-counter-09-b-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t1202-counter-09-b-expected.png:
        * platform/chromium-mac-leopard/css2.1/t1202-counters-03-b-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t1202-counters-03-b-expected.png:
        * platform/chromium-mac-leopard/css2.1/t1202-counters-04-b-expected.checksum:
        * platform/chromium-mac-leopard/css2.1/t1202-counters-04-b-expected.png:
        * platform/chromium-mac-leopard/fast/css/beforeSelectorOnCodeElement-expected.checksum:
        * platform/chromium-mac-leopard/fast/css/beforeSelectorOnCodeElement-expected.png:
        * platform/chromium-mac-leopard/fast/css/font-face-opentype-expected.checksum:
        * platform/chromium-mac-leopard/fast/css/font-face-opentype-expected.png:
        * platform/chromium-mac-leopard/fast/css/rtl-ordering-expected.checksum:
        * platform/chromium-mac-leopard/fast/css/rtl-ordering-expected.png:
        * platform/chromium-mac-leopard/fast/css/text-overflow-ellipsis-bidi-expected.checksum:
        * platform/chromium-mac-leopard/fast/css/text-overflow-ellipsis-bidi-expected.png:
        * platform/chromium-mac-leopard/fast/css/text-security-expected.checksum:
        * platform/chromium-mac-leopard/fast/css/text-security-expected.png:
        * platform/chromium-mac-leopard/fast/encoding/denormalised-voiced-japanese-chars-expected.checksum:
        * platform/chromium-mac-leopard/fast/encoding/denormalised-voiced-japanese-chars-expected.png:
        * platform/chromium-mac-leopard/fast/encoding/invalid-UTF-8-expected.checksum:
        * platform/chromium-mac-leopard/fast/encoding/invalid-UTF-8-expected.png:
        * platform/chromium-mac-leopard/fast/forms/select-visual-hebrew-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/select-visual-hebrew-expected.png:
        * platform/chromium-mac-leopard/fast/forms/visual-hebrew-text-field-expected.checksum:
        * platform/chromium-mac-leopard/fast/forms/visual-hebrew-text-field-expected.png:
        * platform/chromium-mac-leopard/fast/text/bidi-embedding-pop-and-push-same-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/bidi-embedding-pop-and-push-same-expected.png:
        * platform/chromium-mac-leopard/fast/text/cg-fallback-bolding-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/cg-fallback-bolding-expected.png:
        * platform/chromium-mac-leopard/fast/text/in-rendered-text-rtl-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/in-rendered-text-rtl-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/001-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/001-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-L-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-L-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.txt:
        * platform/chromium-mac-leopard/fast/text/international/bidi-CS-after-AN-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-CS-after-AN-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-CS-after-AN-expected.txt:
        * platform/chromium-mac-leopard/fast/text/international/bidi-L2-run-reordering-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-L2-run-reordering-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-CSS-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-CSS-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-HTML-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-HTML-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-formatting-characters-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-european-terminators-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-european-terminators-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-ignored-for-first-child-inline-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-innertext-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-innertext-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-001-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-001-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-002-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-002-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-003-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-003-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-listbox-atsui-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-listbox-atsui-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-listbox-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-listbox-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/bidi-override-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/bidi-override-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/danda-space-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/danda-space-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/hebrew-vowels-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/hebrew-vowels-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/hindi-spacing-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/hindi-spacing-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/hindi-whitespace-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/hindi-whitespace-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/plane2-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/plane2-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/rtl-caret-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/rtl-caret-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/thai-baht-space-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/thai-baht-space-expected.png:
        * platform/chromium-mac-leopard/fast/text/international/thai-baht-space-expected.txt:
        * platform/chromium-mac-leopard/fast/text/international/wrap-CJK-001-expected.checksum:
        * platform/chromium-mac-leopard/fast/text/international/wrap-CJK-001-expected.png:
        * platform/chromium-mac/css2.1/t0805-c5518-brdr-t-01-e-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t0805-c5518-brdr-t-01-e-expected.png: Removed.
        * platform/chromium-mac/css2.1/t0805-c5519-brdr-r-00-a-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t0805-c5519-brdr-r-00-a-expected.png: Removed.
        * platform/chromium-mac/css2.1/t0805-c5520-brdr-b-01-e-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t0805-c5520-brdr-b-01-e-expected.png: Removed.
        * platform/chromium-mac/css2.1/t0805-c5521-brdr-l-00-a-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t0805-c5521-brdr-l-00-a-expected.png: Removed.
        * platform/chromium-mac/css2.1/t0805-c5521-brdr-l-01-e-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t0805-c5521-brdr-l-01-e-expected.png: Removed.
        * platform/chromium-mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.png: Removed.
        * platform/chromium-mac/css2.1/t0905-c414-flt-02-c-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t0905-c414-flt-02-c-expected.png: Removed.
        * platform/chromium-mac/css2.1/t0905-c414-flt-03-c-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t0905-c414-flt-03-c-expected.png: Removed.
        * platform/chromium-mac/css2.1/t0905-c414-flt-04-c-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t0905-c414-flt-04-c-expected.png: Removed.
        * platform/chromium-mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.png: Removed.
        * platform/chromium-mac/css2.1/t0905-c5525-fltblck-01-d-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t0905-c5525-fltblck-01-d-expected.png: Removed.
        * platform/chromium-mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.png: Removed.
        * platform/chromium-mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png: Removed.
        * platform/chromium-mac/css2.1/t090501-c414-flt-01-b-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t090501-c414-flt-01-b-expected.png: Removed.
        * platform/chromium-mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.png: Removed.
        * platform/chromium-mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.png: Removed.
        * platform/chromium-mac/css2.1/t1202-counter-03-b-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t1202-counter-03-b-expected.png: Removed.
        * platform/chromium-mac/css2.1/t1202-counter-04-b-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t1202-counter-04-b-expected.png: Removed.
        * platform/chromium-mac/css2.1/t1202-counter-09-b-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t1202-counter-09-b-expected.png: Removed.
        * platform/chromium-mac/css2.1/t1202-counters-03-b-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t1202-counters-03-b-expected.png: Removed.
        * platform/chromium-mac/css2.1/t1202-counters-04-b-expected.checksum: Removed.
        * platform/chromium-mac/css2.1/t1202-counters-04-b-expected.png: Removed.
        * platform/chromium-mac/editing/deleting/5144139-2-expected.checksum: Removed.
        * platform/chromium-mac/editing/deleting/5144139-2-expected.png: Removed.
        * platform/chromium-mac/editing/selection/extend-selection-bidi-expected.checksum: Removed.
        * platform/chromium-mac/editing/selection/extend-selection-bidi-expected.png: Removed.
        * platform/chromium-mac/fast/css/beforeSelectorOnCodeElement-expected.checksum: Removed.
        * platform/chromium-mac/fast/css/beforeSelectorOnCodeElement-expected.png: Removed.
        * platform/chromium-mac/fast/css/font-face-opentype-expected.checksum: Removed.
        * platform/chromium-mac/fast/css/font-face-opentype-expected.png: Removed.
        * platform/chromium-mac/fast/css/rtl-ordering-expected.checksum: Removed.
        * platform/chromium-mac/fast/css/rtl-ordering-expected.png: Removed.
        * platform/chromium-mac/fast/css/text-overflow-ellipsis-bidi-expected.checksum: Removed.
        * platform/chromium-mac/fast/css/text-overflow-ellipsis-bidi-expected.png: Removed.
        * platform/chromium-mac/fast/css/text-security-expected.checksum: Removed.
        * platform/chromium-mac/fast/css/text-security-expected.png: Removed.
        * platform/chromium-mac/fast/encoding/denormalised-voiced-japanese-chars-expected.checksum: Removed.
        * platform/chromium-mac/fast/encoding/denormalised-voiced-japanese-chars-expected.png: Removed.
        * platform/chromium-mac/fast/encoding/invalid-UTF-8-expected.checksum: Removed.
        * platform/chromium-mac/fast/encoding/invalid-UTF-8-expected.png: Removed.
        * platform/chromium-mac/fast/forms/select-visual-hebrew-expected.checksum: Removed.
        * platform/chromium-mac/fast/forms/select-visual-hebrew-expected.png: Removed.
        * platform/chromium-mac/fast/forms/visual-hebrew-text-field-expected.checksum: Removed.
        * platform/chromium-mac/fast/forms/visual-hebrew-text-field-expected.png: Removed.
        * platform/chromium-mac/fast/text/bidi-embedding-pop-and-push-same-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/bidi-embedding-pop-and-push-same-expected.png: Removed.
        * platform/chromium-mac/fast/text/cg-fallback-bolding-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/cg-fallback-bolding-expected.png: Removed.
        * platform/chromium-mac/fast/text/complex-text-opacity-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/complex-text-opacity-expected.png: Removed.
        * platform/chromium-mac/fast/text/complex-text-opacity-expected.txt: Removed.
        * platform/chromium-mac/fast/text/in-rendered-text-rtl-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/in-rendered-text-rtl-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/001-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/001-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-AN-after-L-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-AN-after-L-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-AN-after-empty-run-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-AN-after-empty-run-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-AN-after-empty-run-expected.txt: Removed.
        * platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.txt: Removed.
        * platform/chromium-mac/fast/text/international/bidi-L2-run-reordering-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-L2-run-reordering-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-LDB-2-CSS-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-LDB-2-CSS-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-LDB-2-HTML-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-LDB-2-HTML-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-european-terminators-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-european-terminators-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-innertext-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-innertext-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-linebreak-001-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-linebreak-001-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-linebreak-002-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-linebreak-002-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-linebreak-003-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-linebreak-003-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-listbox-atsui-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-listbox-atsui-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-listbox-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-listbox-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.txt: Removed.
        * platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt: Removed.
        * platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.txt: Removed.
        * platform/chromium-mac/fast/text/international/bidi-override-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/bidi-override-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/danda-space-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/danda-space-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/hebrew-vowels-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/hebrew-vowels-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/hindi-spacing-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/hindi-spacing-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/hindi-whitespace-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/hindi-whitespace-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/plane2-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/plane2-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/rtl-caret-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/rtl-caret-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/thai-baht-space-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/thai-baht-space-expected.png: Removed.
        * platform/chromium-mac/fast/text/international/thai-baht-space-expected.txt: Removed.
        * platform/chromium-mac/fast/text/international/wrap-CJK-001-expected.checksum: Removed.
        * platform/chromium-mac/fast/text/international/wrap-CJK-001-expected.png: Removed.
        * platform/chromium/test_expectations.txt:

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

11 years ago Reviewed by Adam Barth.
ap@apple.com [Tue, 14 Dec 2010 18:35:50 +0000 (18:35 +0000)]
    Reviewed by Adam Barth.

        https://bugs.webkit.org/show_bug.cgi?id=50953
        DNS Prefetch should be an opt-in feature

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

11 years ago2010-12-14 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Tue, 14 Dec 2010 18:30:34 +0000 (18:30 +0000)]
2010-12-14  Helder Correia  <helder@sencha.com>

        Reviewed by Ariya Hidayat.

        [Qt] Canvas shadow offset should not be affected by any transformation
        https://bugs.webkit.org/show_bug.cgi?id=50422

        On a canvas context, shadows are currently affected by all
        transformations except scaling. According to the spec:
        http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#shadows

        "The shadowOffsetX and shadowOffsetY attributes specify the distance
        that the shadow will be offset in the positive horizontal and positive
        vertical distance respectively. Their values are in coordinate space
        units. They are not affected by the current transformation matrix."

        NOTE: this applies only to canvas, not to box shadows.

        Add new test to ensure that shadows are correctly transformed keeping
        the relative offset to the shape.

        * fast/canvas/canvas-scale-strokePath-shadow-expected.txt:
        * fast/canvas/canvas-transforms-fillRect-shadow-expected.txt: Added.
        * fast/canvas/canvas-transforms-fillRect-shadow.html: Added.
        * fast/canvas/script-tests/canvas-scale-fillPath-shadow.js:
        * fast/canvas/script-tests/canvas-scale-fillRect-shadow.js:
        * fast/canvas/script-tests/canvas-scale-strokePath-shadow.js: Now using
          a lineWidth > 1 to make it easier to test and more fair among all
          ports, since there can be different transformation smoothness or
          aliasing settings.
        * fast/canvas/script-tests/canvas-transforms-fillRect-shadow.js: Added.
2010-12-14  Helder Correia  <helder@sencha.com>

        Reviewed by Ariya Hidayat.

        [Qt] Canvas shadow offset should not be affected by any transformation
        https://bugs.webkit.org/show_bug.cgi?id=50422

        On a canvas context, shadows are currently affected by all
        transformations except scaling. According to the spec:
        http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#shadows

        "The shadowOffsetX and shadowOffsetY attributes specify the distance
        that the shadow will be offset in the positive horizontal and positive
        vertical distance respectively. Their values are in coordinate space
        units. They are not affected by the current transformation matrix."

        NOTE: this applies only to canvas, not to box shadows.

        Test: fast/canvas/canvas-transforms-fillRect-shadow.html

        * platform/graphics/ContextShadow.cpp:
        (WebCore::ContextShadow::ContextShadow):
        (WebCore::ContextShadow::calculateLayerBoundingRect):
        * platform/graphics/ContextShadow.h:
        (WebCore::ContextShadow::setShadowsIgnoreTransforms):
        (WebCore::ContextShadow::shadowsIgnoreTransforms):
        (WebCore::ContextShadow::offset):
        * platform/graphics/qt/ContextShadowQt.cpp:
        (WebCore::ContextShadow::beginShadowLayer):
        (WebCore::ContextShadow::endShadowLayer):
        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::mustUseContextShadow):
        (WebCore::GraphicsContext::fillPath):
        (WebCore::GraphicsContext::strokePath):
        (WebCore::GraphicsContext::fillRect):
        (WebCore::GraphicsContext::fillRoundedRect):
        (WebCore::GraphicsContext::setPlatformShadow):

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

11 years ago2010-12-14 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 14 Dec 2010 18:07:31 +0000 (18:07 +0000)]
2010-12-14  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Removed obsolete chromium expectations.

        * platform/chromium/accessibility/post-notification-ActiveDescendantChanged-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-ActiveDescendantChanged.html: Removed.
        * platform/chromium/accessibility/post-notification-CheckedStateChanged-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-CheckedStateChanged.html: Removed.
        * platform/chromium/accessibility/post-notification-ChildrenChanged-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-ChildrenChanged.html: Removed.
        * platform/chromium/accessibility/post-notification-FocusedUIElementChanged-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-FocusedUIElementChanged.html: Removed.
        * platform/chromium/accessibility/post-notification-LayoutComplete-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-LayoutComplete.html: Removed.
        * platform/chromium/accessibility/post-notification-LiveRegionChanged-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-LiveRegionChanged.html: Removed.
        * platform/chromium/accessibility/post-notification-LoadComplete-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-LoadComplete.html: Removed.
        * platform/chromium/accessibility/post-notification-MenuListValueChanged-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-MenuListValueChanged.html: Removed.
        * platform/chromium/accessibility/post-notification-RowCollapsed-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-RowCollapsed.html: Removed.
        * platform/chromium/accessibility/post-notification-RowCountChanged-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-RowCountChanged.html: Removed.
        * platform/chromium/accessibility/post-notification-RowExpanded-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-RowExpanded.html: Removed.
        * platform/chromium/accessibility/post-notification-ScrolledToAnchor-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-ScrolledToAnchor.html: Removed.
        * platform/chromium/accessibility/post-notification-SelectedChildrenChanged-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-SelectedChildrenChanged.html: Removed.
        * platform/chromium/accessibility/post-notification-SelectedTextChanged-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-SelectedTextChanged.html: Removed.
        * platform/chromium/accessibility/post-notification-ValueChanged-expected.txt: Removed.
        * platform/chromium/accessibility/post-notification-ValueChanged.html: Removed.
        * platform/chromium/accessibility/post-notification.js: Removed.
        * platform/chromium/test_expectations.txt:

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

11 years ago2010-12-14 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Tue, 14 Dec 2010 18:06:03 +0000 (18:06 +0000)]
2010-12-14  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Rule data not updated in Styles pane after stylesheet gets reverted
        https://bugs.webkit.org/show_bug.cgi?id=51034

        * inspector/front-end/CSSStyleModel.js:
        (WebInspector.CSSStyleModel.prototype._onRevert):
        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel):
        (WebInspector.ElementsPanel.prototype._metricsPaneEdited):
        (WebInspector.ElementsPanel.prototype._stylesPaneEdited):
        (WebInspector.ElementsPanel.prototype._styleSheetChanged):

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

11 years agoPass the complex text input status to the WKView
andersca@apple.com [Tue, 14 Dec 2010 17:54:39 +0000 (17:54 +0000)]
Pass the complex text input status to the WKView
https://bugs.webkit.org/show_bug.cgi?id=50993

Reviewed by Kevin Decker.

* UIProcess/API/mac/PageClientImpl.h:
* UIProcess/API/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::setComplexTextInputEnabled):
* UIProcess/API/mac/WKView.mm:
(-[WKView _setComplexTextInputEnabled:pluginComplexTextInputIdentifier:]):
* UIProcess/API/mac/WKViewInternal.h:
* UIProcess/PageClient.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::setComplexTextInputEnabled):

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

11 years ago2010-12-14 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Tue, 14 Dec 2010 17:54:09 +0000 (17:54 +0000)]
2010-12-14  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Ojan Vafai.

        [new-run-webkit-tests] expectations parsing is slow
        https://bugs.webkit.org/show_bug.cgi?id=50635

        Avoid expensive iteration of all the tests when checking if a test
        file is to be skipped or not.

        * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
        * Scripts/webkitpy/layout_tests/port/test.py:

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

11 years ago2010-12-14 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Tue, 14 Dec 2010 17:49:06 +0000 (17:49 +0000)]
2010-12-14  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Avoid GraphicsContext save/restore in Image::drawPattern()
        https://bugs.webkit.org/show_bug.cgi?id=51037

        It's enough to restore the CompositeOperator after drawing.

        * platform/graphics/qt/ImageQt.cpp:
        (WebCore::Image::drawPattern):

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

11 years ago2010-12-14 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Tue, 14 Dec 2010 17:27:11 +0000 (17:27 +0000)]
2010-12-14  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Dan Bernstein.

        <rdar://problem/8763862>
        r72017 used incorrect compiler conditional.

        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
        (WebCore::MediaPlayerPrivateQTKit::createQTMovie):

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

11 years ago2010-12-14 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 14 Dec 2010 17:21:49 +0000 (17:21 +0000)]
2010-12-14  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. More chromium rebaselines.

        * platform/chromium-mac/fast/text/complex-text-opacity-expected.checksum: Added.
        * platform/chromium-mac/fast/text/complex-text-opacity-expected.png: Added.
        * platform/chromium-mac/fast/text/complex-text-opacity-expected.txt: Added.
        * platform/chromium-mac/fast/text/international/bidi-AN-after-empty-run-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-AN-after-empty-run-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-AN-after-empty-run-expected.txt: Added.
        * platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.txt: Added.
        * platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.checksum:
        * platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.png:
        * platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.txt:
        * platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.checksum:
        * platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png:
        * platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt:
        * platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.checksum:
        * platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.png:
        * platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.txt:
        * platform/chromium-mac/fast/text/international/thai-baht-space-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/thai-baht-space-expected.png: Added.
        * platform/chromium-mac/fast/text/international/thai-baht-space-expected.txt: Added.

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

11 years ago2010-12-14 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Tue, 14 Dec 2010 17:05:47 +0000 (17:05 +0000)]
2010-12-14  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed, skipping flaky test on GTK debug bot.

        [gtk] editing/selection/extend-by-character-002.html is flaky on
GTK Linux 64 bit debug
        https://bugs.webkit.org/show_bug.cgi?id=51017

        * platform/gtk/Skipped: Skipped test.

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

11 years ago2010-12-14 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Tue, 14 Dec 2010 17:05:30 +0000 (17:05 +0000)]
2010-12-14  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed, skipping test crashing in the GTK release bot.

        [GTK] Crash in LayoutTest/fast/history/history_reload.html
        https://bugs.webkit.org/show_bug.cgi?id=51038

        * platform/gtk/Skipped: Skipped fast/history/history_reload.html.

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

11 years agoNot reviewed.
cwzwarich@webkit.org [Tue, 14 Dec 2010 16:59:46 +0000 (16:59 +0000)]
Not reviewed.

Revert accidental change disabling the JIT for most platforms.

* wtf/Platform.h:

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

11 years agoReviewed by Eric Seidel.
cwzwarich@webkit.org [Tue, 14 Dec 2010 16:57:14 +0000 (16:57 +0000)]
Reviewed by Eric Seidel.

Clang fails to build the JSC interpreter
https://bugs.webkit.org/show_bug.cgi?id=51016

Clang does not allow indirect gotos out of scopes with cleanup. GCC 4.2 allows
them, but it does not correctly generate the cleanup, causing a leak if the
cleanup decrements a reference count.

* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute): Put an Identifier into its own scope.

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

11 years ago2010-12-14 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Tue, 14 Dec 2010 16:25:19 +0000 (16:25 +0000)]
2010-12-14  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Simplify context-menu handling code
        https://bugs.webkit.org/show_bug.cgi?id=49658

        * wtf/PlatformRefPtr.h: Add leakRef()
2010-12-14  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Simplify context-menu handling code
        https://bugs.webkit.org/show_bug.cgi?id=49658

        * platform/ContextMenuItem.h:
        * platform/gtk/ContextMenuGtk.cpp:
        (WebCore::ContextMenu::appendItem):
        * platform/gtk/ContextMenuItemGtk.cpp:
        (WebCore::ContextMenuItem::ContextMenuItem):
        (WebCore::ContextMenuItem::~ContextMenuItem):
        (WebCore::ContextMenuItem::releasePlatformDescription):
        (WebCore::ContextMenuItem::type):
        (WebCore::ContextMenuItem::setType):
        (WebCore::ContextMenuItem::action):
        (WebCore::ContextMenuItem::setAction):
        (WebCore::ContextMenuItem::title):
        (WebCore::ContextMenuItem::setTitle):
        (WebCore::ContextMenuItem::platformSubMenu):
        (WebCore::ContextMenuItem::setSubMenu):
        (WebCore::ContextMenuItem::setChecked):
        (WebCore::ContextMenuItem::setEnabled):
2010-12-14  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Simplify context-menu handling code
        https://bugs.webkit.org/show_bug.cgi?id=49658

        Use gtk_container_foreach() so that we only iterate the list of
        children once and we avoid creating/destroying the list. It also
        connects the activate signal for submenu items.

        * webkit/webkitwebview.cpp:
        (contextMenuConnectActivate):
        (webkit_web_view_forward_context_menu_event):

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

11 years ago2010-12-14 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 14 Dec 2010 15:55:35 +0000 (15:55 +0000)]
2010-12-14  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Updated chromium expectations.

        * platform/chromium/test_expectations.txt:

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

11 years ago2010-12-14 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Tue, 14 Dec 2010 15:55:24 +0000 (15:55 +0000)]
2010-12-14  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Fix several issues in r73858
        https://bugs.webkit.org/show_bug.cgi?id=51032

        - It uses both glib private data and it allocates its own private
          structure.
        - It calls parent's dispose method from finalize.
        - webkit_web_plugin_get_mimetypes() uses a wrong annotation for the
          returned value, it should be transfer none rather than transfer
          container.
        - Since the mime type list is internal and we return the list and not a
          copy, it should never be freed by the caller, so
          webkit_web_plugin_mime_type_list_free() should be removed from the
          public API.
        - Mime types list is used uninitialized.
        - Mention in the docs that list returned by
          webkit_web_plugin_database_get_plugins() must be freed with
          webkit_web_plugin_database_plugins_list_free().

        * webkit/webkitwebplugin.cpp:
        (webkit_web_plugin_finalize):
        (webkit_web_plugin_class_init):
        (webkit_web_plugin_init):
        * webkit/webkitwebplugin.h:
        * webkit/webkitwebplugindatabase.cpp:

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

11 years ago2010-12-14 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Tue, 14 Dec 2010 15:35:22 +0000 (15:35 +0000)]
2010-12-14  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Xan Lopez.

        [Gtk] Implement STATE_FOCUSED, STATE_FOCUSABLE, and corresponding events for text objects
        https://bugs.webkit.org/show_bug.cgi?id=27048

        Added a new GTK-specific test to check focus{able|ed} states are
        properly set when moving the caret across text objects.

        * platform/gtk/accessibility/caret-browsing-text-focus-expected.txt: Added.
        * platform/gtk/accessibility/caret-browsing-text-focus.html: Added.
2010-12-14  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Xan Lopez.

        [Gtk] Implement STATE_FOCUSED, STATE_FOCUSABLE, and corresponding events for text objects
        https://bugs.webkit.org/show_bug.cgi?id=27048

        Handle focus change for text objects based in caret changes.

        As text objects (such as paragraphs) seem not to accept focus in
        WebCore in the same way other objects (text controls) do, a
        Gtk-specific workaround is needed to expose this states and the
        related events to ATK-based assistive technologies.

        Test: platform/gtk/accessibility/caret-browsing-text-focus.html

        Ensure that text objects are exposed with the ATK_STATE_FOCUSABLE
        state, and that the ATK_STATE_FOCUSED state is added to those
        text objects containing the currently active caret selection.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (selectionBelongsToObject): Moved upwards to use it from
        the new isTextWithCaret() function.
        (isTextWithCaret): New, checks whether an accessibility object
        represents a text object with the current caret selection on it.
        (setAtkStateSetFromCoreObject): Add the ATK_STATE_FOCUSED state
        when also when isTextWithCaret(coreObject) returns true.
        (webkit_accessible_ref_state_set): Add the ATK_STATE_FOCUSABLE
        state to text objects and those with the ATK_ROLE_PARAGRAPH role.
        (webkit_accessible_text_get_n_selections): Optimize return expression.

        Make sure the proper events associated to a change of focus are
        emitted, based on caret changes across different accessibility
        objects. Also, refactored the code in more manageable and
        understandable helper functions.

        * editing/gtk/SelectionControllerGtk.cpp:
        (WebCore::emitTextSelectionChange): New, includes the specific
        code formerly placed in notifyAccessibilityForSelectionChange() to
        emit the 'text-caret-moved' and 'text-selection-change' signals.
        (WebCore::maybeEmitTextFocusChange): New, takes care of emitting
        the 'focus-event' and 'state-changed::focused' signals when
        needed, that is, when a change in the selection happens across
        different accessible objects.
        (WebCore::SelectionController::notifyAccessibilityForSelectionChange):
        Refactored some code here, by using the new helper functions.
2010-12-14  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Xan Lopez.

        [Gtk] Implement STATE_FOCUSED, STATE_FOCUSABLE, and corresponding events for text objects
        https://bugs.webkit.org/show_bug.cgi?id=27048

        Add support in DRT for checking whether an accessibility UI
        element is focusable and/or focused. Implemented for GTK.

        * DumpRenderTree/AccessibilityUIElement.cpp:
        (getIsFocusedCallback): New.
        (getIsFocusableCallback): New.
        (AccessibilityUIElement::getJSClass): Add the new available
        callbacks for isFocused and isFocusable.
        * DumpRenderTree/AccessibilityUIElement.h:
        * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
        (AccessibilityUIElement::isFocused): New, implemented by checking
        whether the related AtkState value is in the object's state set.
        (AccessibilityUIElement::isFocusable): Ditto.
        * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
        (AccessibilityUIElement::isFocused): New, dummy implementation.
        (AccessibilityUIElement::isFocusable): Ditto.
        * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
        (AccessibilityUIElement::isFocused): Ditto.
        (AccessibilityUIElement::isFocusable): Ditto.

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

11 years ago2010-12-14 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Tue, 14 Dec 2010 14:54:41 +0000 (14:54 +0000)]
2010-12-14  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: regroup Inspector.idl entries.
        Just for better visibility.

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

        * inspector/Inspector.idl:

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

11 years ago2010-12-14 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 14 Dec 2010 14:52:02 +0000 (14:52 +0000)]
2010-12-14  Pavel Feldman  <pfeldman@chromium.org>

        Not reviwed. Chromium expectations updated.

        * platform/chromium/test_expectations.txt:

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

11 years ago2010-12-14 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Tue, 14 Dec 2010 14:46:25 +0000 (14:46 +0000)]
2010-12-14  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Reverted stylesheet breaks style data
        https://bugs.webkit.org/show_bug.cgi?id=51030

        WebCore:
        * inspector/InspectorStyleSheet.cpp:
        (WebCore::InspectorStyleSheet::reparseStyleSheet):

        LayoutTests:
        * inspector/styles-new-API-expected.txt:
        * inspector/styles-new-API.html:

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

11 years ago2010-12-14 Mads Ager <ager@chromium.org>
ager@chromium.org [Tue, 14 Dec 2010 13:39:06 +0000 (13:39 +0000)]
2010-12-14  Mads Ager  <ager@chromium.org>

        Reviewed by Pavel Feldman.

        [V8] Reflected unsigned attributes should be in the range [0, 2^31)
        https://bugs.webkit.org/show_bug.cgi?id=51023

        Remove test that now passes from chromium test expectations.

        * platform/chromium/test_expectations.txt:
2010-12-14  Mads Ager  <ager@chromium.org>

        Reviewed by Pavel Feldman.

        [V8] Reflected unsigned attributes should be in the range [0, 2^31)
        https://bugs.webkit.org/show_bug.cgi?id=51023

        Follow the changes made to CodeGeneratorJS.pm to return 0 for
        reflected unsigned attributes that are outside the allowed range.
        See https://bugs.webkit.org/show_bug.cgi?id=50472

        * bindings/scripts/CodeGeneratorV8.pm:

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

11 years ago2010-12-14 Diego Escalante Urrelo <descalante@igalia.com>
commit-queue@webkit.org [Tue, 14 Dec 2010 13:22:15 +0000 (13:22 +0000)]
2010-12-14  Diego Escalante Urrelo  <descalante@igalia.com>

        Reviewed by Xan Lopez.

        [gtk] misnamed gtk-doc strings for webkit_web_view_can_{c|c|p}_clipboard
        https://bugs.webkit.org/show_bug.cgi?id=50571

        * webkit/webkitwebview.cpp:

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

11 years ago2010-12-14 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Tue, 14 Dec 2010 13:17:52 +0000 (13:17 +0000)]
2010-12-14  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed, skipping failing test in the release bots.

        Incorrect refcount on plug.testObject in LayoutTests/plugins/refcount-leaks.html
        https://bugs.webkit.org/show_bug.cgi?id=51027

        * platform/gtk/Skipped: Skip plugins/refcount-leaks.html.

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

11 years ago2010-12-14 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 14 Dec 2010 12:36:03 +0000 (12:36 +0000)]
2010-12-14  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Chromium tests rebaselined.

        * platform/chromium-mac/css2.1/t0805-c5518-brdr-t-01-e-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0805-c5518-brdr-t-01-e-expected.png: Added.
        * platform/chromium-mac/css2.1/t0805-c5519-brdr-r-00-a-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0805-c5519-brdr-r-00-a-expected.png: Added.
        * platform/chromium-mac/css2.1/t0805-c5520-brdr-b-01-e-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0805-c5520-brdr-b-01-e-expected.png: Added.
        * platform/chromium-mac/css2.1/t0805-c5521-brdr-l-00-a-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0805-c5521-brdr-l-00-a-expected.png: Added.
        * platform/chromium-mac/css2.1/t0805-c5521-brdr-l-01-e-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0805-c5521-brdr-l-01-e-expected.png: Added.
        * platform/chromium-mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.png: Added.
        * platform/chromium-mac/css2.1/t0905-c414-flt-02-c-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0905-c414-flt-02-c-expected.png: Added.
        * platform/chromium-mac/css2.1/t0905-c414-flt-03-c-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0905-c414-flt-03-c-expected.png: Added.
        * platform/chromium-mac/css2.1/t0905-c414-flt-04-c-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0905-c414-flt-04-c-expected.png: Added.
        * platform/chromium-mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.png: Added.
        * platform/chromium-mac/css2.1/t0905-c5525-fltblck-01-d-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0905-c5525-fltblck-01-d-expected.png: Added.
        * platform/chromium-mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.png: Added.
        * platform/chromium-mac/css2.1/t0905-c5525-flthw-00-c-g-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0905-c5525-flthw-00-c-g-expected.png: Added.
        * platform/chromium-mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum:
        * platform/chromium-mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
        * platform/chromium-mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png: Added.
        * platform/chromium-mac/css2.1/t0905-c5526-flthw-00-c-g-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t0905-c5526-flthw-00-c-g-expected.png: Added.
        * platform/chromium-mac/css2.1/t090501-c414-flt-01-b-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t090501-c414-flt-01-b-expected.png: Added.
        * platform/chromium-mac/css2.1/t090501-c414-flt-03-b-g-expected.checksum:
        * platform/chromium-mac/css2.1/t090501-c414-flt-03-b-g-expected.png:
        * platform/chromium-mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.png: Added.
        * platform/chromium-mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.png: Added.
        * platform/chromium-mac/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.checksum:
        * platform/chromium-mac/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png:
        * platform/chromium-mac/css2.1/t1202-counter-03-b-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t1202-counter-03-b-expected.png: Added.
        * platform/chromium-mac/css2.1/t1202-counter-04-b-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t1202-counter-04-b-expected.png: Added.
        * platform/chromium-mac/css2.1/t1202-counter-09-b-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t1202-counter-09-b-expected.png: Added.
        * platform/chromium-mac/css2.1/t1202-counters-03-b-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t1202-counters-03-b-expected.png: Added.
        * platform/chromium-mac/css2.1/t1202-counters-04-b-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t1202-counters-04-b-expected.png: Added.
        * platform/chromium-mac/css2.1/t1202-counters-09-b-expected.checksum:
        * platform/chromium-mac/css2.1/t1202-counters-09-b-expected.png:
        * platform/chromium-mac/editing/deleting/5144139-2-expected.checksum: Added.
        * platform/chromium-mac/editing/deleting/5144139-2-expected.png: Added.
        * platform/chromium-mac/editing/selection/caret-rtl-2-expected.checksum:
        * platform/chromium-mac/editing/selection/caret-rtl-2-expected.png:
        * platform/chromium-mac/editing/selection/caret-rtl-2-left-expected.checksum:
        * platform/chromium-mac/editing/selection/caret-rtl-2-left-expected.png:
        * platform/chromium-mac/editing/selection/caret-rtl-expected.checksum:
        * platform/chromium-mac/editing/selection/caret-rtl-expected.png:
        * platform/chromium-mac/editing/selection/caret-rtl-right-expected.checksum:
        * platform/chromium-mac/editing/selection/caret-rtl-right-expected.png:
        * platform/chromium-mac/editing/selection/extend-selection-bidi-expected.checksum: Added.
        * platform/chromium-mac/editing/selection/extend-selection-bidi-expected.png: Added.
        * platform/chromium-mac/fast/css/beforeSelectorOnCodeElement-expected.checksum: Added.
        * platform/chromium-mac/fast/css/beforeSelectorOnCodeElement-expected.png: Added.
        * platform/chromium-mac/fast/css/font-face-opentype-expected.checksum: Added.
        * platform/chromium-mac/fast/css/font-face-opentype-expected.png: Added.
        * platform/chromium-mac/fast/css/rtl-ordering-expected.checksum: Added.
        * platform/chromium-mac/fast/css/rtl-ordering-expected.png: Added.
        * platform/chromium-mac/fast/css/text-overflow-ellipsis-bidi-expected.checksum: Added.
        * platform/chromium-mac/fast/css/text-overflow-ellipsis-bidi-expected.png: Added.
        * platform/chromium-mac/fast/css/text-overflow-ellipsis-strict-expected.checksum:
        * platform/chromium-mac/fast/css/text-overflow-ellipsis-strict-expected.png:
        * platform/chromium-mac/fast/css/text-security-expected.checksum: Added.
        * platform/chromium-mac/fast/css/text-security-expected.png: Added.
        * platform/chromium-mac/fast/encoding/denormalised-voiced-japanese-chars-expected.checksum: Added.
        * platform/chromium-mac/fast/encoding/denormalised-voiced-japanese-chars-expected.png: Added.
        * platform/chromium-mac/fast/encoding/invalid-UTF-8-expected.checksum: Added.
        * platform/chromium-mac/fast/encoding/invalid-UTF-8-expected.png: Added.
        * platform/chromium-mac/fast/forms/select-visual-hebrew-expected.checksum: Added.
        * platform/chromium-mac/fast/forms/select-visual-hebrew-expected.png: Added.
        * platform/chromium-mac/fast/forms/visual-hebrew-text-field-expected.checksum: Added.
        * platform/chromium-mac/fast/forms/visual-hebrew-text-field-expected.png: Added.
        * platform/chromium-mac/fast/text/backslash-to-yen-sign-euc-expected.checksum:
        * platform/chromium-mac/fast/text/backslash-to-yen-sign-euc-expected.png:
        * platform/chromium-mac/fast/text/backslash-to-yen-sign-expected.checksum:
        * platform/chromium-mac/fast/text/backslash-to-yen-sign-expected.png:
        * platform/chromium-mac/fast/text/bidi-embedding-pop-and-push-same-expected.checksum: Added.
        * platform/chromium-mac/fast/text/bidi-embedding-pop-and-push-same-expected.png: Added.
        * platform/chromium-mac/fast/text/cg-fallback-bolding-expected.checksum: Added.
        * platform/chromium-mac/fast/text/cg-fallback-bolding-expected.png: Added.
        * platform/chromium-mac/fast/text/in-rendered-text-rtl-expected.checksum: Added.
        * platform/chromium-mac/fast/text/in-rendered-text-rtl-expected.png: Added.
        * platform/chromium-mac/fast/text/international/001-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/001-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-AN-after-L-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-AN-after-L-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-L2-run-reordering-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-L2-run-reordering-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-LDB-2-CSS-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-LDB-2-CSS-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-LDB-2-HTML-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-LDB-2-HTML-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-european-terminators-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-european-terminators-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-innertext-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-innertext-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-linebreak-001-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-linebreak-001-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-linebreak-002-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-linebreak-002-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-linebreak-003-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-linebreak-003-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-listbox-atsui-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-listbox-atsui-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-listbox-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-listbox-expected.png: Added.
        * platform/chromium-mac/fast/text/international/bidi-override-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/bidi-override-expected.png: Added.
        * platform/chromium-mac/fast/text/international/complex-character-based-fallback-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/complex-character-based-fallback-expected.png: Added.
        * platform/chromium-mac/fast/text/international/danda-space-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/danda-space-expected.png: Added.
        * platform/chromium-mac/fast/text/international/hebrew-vowels-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/hebrew-vowels-expected.png: Added.
        * platform/chromium-mac/fast/text/international/hindi-spacing-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/hindi-spacing-expected.png: Added.
        * platform/chromium-mac/fast/text/international/hindi-whitespace-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/hindi-whitespace-expected.png: Added.
        * platform/chromium-mac/fast/text/international/plane2-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/plane2-expected.png: Added.
        * platform/chromium-mac/fast/text/international/rtl-caret-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/rtl-caret-expected.png: Added.
        * platform/chromium-mac/fast/text/international/wrap-CJK-001-expected.checksum: Added.
        * platform/chromium-mac/fast/text/international/wrap-CJK-001-expected.png: Added.
        * platform/chromium-win/svg/filters/feColorMatrix-offset-expected.checksum: Added.
        * platform/chromium-win/svg/filters/feColorMatrix-offset-expected.png: Added.
        * platform/chromium/test_expectations.txt:

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

11 years ago2010-12-14 Benjamin Poulain <benjamin.poulain@nokia.com>
benjamin.poulain@nokia.com [Tue, 14 Dec 2010 12:10:45 +0000 (12:10 +0000)]
2010-12-14  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        WebKit 2 does not send touch cancel events correctly between processes
        https://bugs.webkit.org/show_bug.cgi?id=50235

        The classes WebKit2PlatformTouchPoint and WebKit2PlatformTouchEvent
        misses the conversion of TouchCancel events and points.

        This patch add the missing enums when converting from a WebTouchEvent
        to a PlatformTouchEvent.

        Testing is already covered by fast/events/touch/send-oncancel-event.html

        * Shared/WebEventConversion.cpp:
        (WebKit::WebKit2PlatformTouchPoint::WebKit2PlatformTouchPoint):
        (WebKit::WebKit2PlatformTouchEvent::WebKit2PlatformTouchEvent):

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

11 years ago2010-12-14 Charlie Reis <creis@chromium.org>
commit-queue@webkit.org [Tue, 14 Dec 2010 12:03:15 +0000 (12:03 +0000)]
2010-12-14  Charlie Reis  <creis@chromium.org>

        Reviewed by Darin Adler.

        Remove stale include of Document.h in V8DOMWrapper.h
        https://bugs.webkit.org/show_bug.cgi?id=50607

        We no longer need to include Document.h or V8DOMMap.h in
        V8DOMWrapper.  Removing them to avoid dependencies.

        * bindings/v8/V8DOMWrapper.h:

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

11 years ago2010-12-14 Zalan Bujtas <zbujtas@gmail.com>
commit-queue@webkit.org [Tue, 14 Dec 2010 11:48:18 +0000 (11:48 +0000)]
2010-12-14  Zalan Bujtas  <zbujtas@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        Add loadFinished() for provisional load error
        This fixes the hanging UI state, when provisional load error occurs due to
        the async nature of policy check.

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

        * UIProcess/API/qt/ClientImpl.cpp:
        (loadFinished):
        (qt_wk_didFailProvisionalLoadWithErrorForFrame):
        (qt_wk_didFinishLoadForFrame):
        (qt_wk_didFailLoadWithErrorForFrame):

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

11 years ago2010-12-14 Lucas De Marchi <lucas.demarchi@profusion.mobi>
commit-queue@webkit.org [Tue, 14 Dec 2010 11:40:13 +0000 (11:40 +0000)]
2010-12-14  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Eric Seidel.

        [EFL] Add linker script to export less symbols
        https://bugs.webkit.org/show_bug.cgi?id=44609

        Filter the exported symbols by using a linker script. Only symbols
        starting with "ewk_" are exported.

        * cmake/OptionsEfl.cmake: Pass linker option to use a version script
        when linking webkit.
        * cmake/eflsymbols.filter: Added. Export only symbols starting with
        "ewk_" (C linkage).
2010-12-14  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Eric Seidel.

        [EFL] Add linker script to export less symbols
        https://bugs.webkit.org/show_bug.cgi?id=44609

        Filter the exported symbols by using a linker script. Only symbols
        starting with "ewk_" are exported.

        * CMakeLists.txt: Add link flags to webkit library when there's a
        version script.

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

11 years ago2010-12-14 Julien Chaffraix <jchaffraix@codeaurora.org>
commit-queue@webkit.org [Tue, 14 Dec 2010 11:29:43 +0000 (11:29 +0000)]
2010-12-14  Julien Chaffraix  <jchaffraix@codeaurora.org>

        Reviewed by Darin Adler.

        Test for: EventSource fails to connect if Content-Type header has a charset attribute
        https://bugs.webkit.org/show_bug.cgi?id=45372

        Test that a Content-Type of "text/event-stream; charset=UTF8" works correctly but
        "text/event-stream" does not work.

        * http/tests/eventsource/eventsource-content-type-charset-expected.txt: Added.
        * http/tests/eventsource/eventsource-content-type-charset.html: Added.
        * http/tests/eventsource/eventsource-content-type-text-event-stream-foobar-expected.txt: Added.
        * http/tests/eventsource/eventsource-content-type-text-event-stream-foobar.html: Added.
        * http/tests/eventsource/resources/response-content-type-charset.php: Added.
        * http/tests/eventsource/resources/response-content-type-event-stream-foobar.php: Added.
2010-12-14  Julien Chaffraix  <jchaffraix@codeaurora.org>

        Reviewed by Darin Adler.

        Test for: EventSource fails to connect if Content-Type header has a charset attribute
        https://bugs.webkit.org/show_bug.cgi?id=45372

        Tests: http/tests/eventsource/eventsource-content-type-charset.html
               http/tests/eventsource/eventsource-content-type-text-event-stream-foobar.html

        * page/EventSource.cpp:
        (WebCore::EventSource::didReceiveResponse): Use the mimeType instead of the Content-Type
        header directly. This makes the detection of the "text/stream" mimeType more accurate.

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

11 years ago2010-12-14 Pieter Senster <psenster@google.com>
commit-queue@webkit.org [Tue, 14 Dec 2010 11:02:56 +0000 (11:02 +0000)]
2010-12-14  Pieter Senster  <psenster@google.com>

        Reviewed by Dirk Schulze.

        Test that the channel offsets in the ColorMatrix filter are correctly incorporated
        https://bugs.webkit.org/show_bug.cgi?id=50682

        * platform/mac/svg/filters/feColorMatrix-offset-expected.checksum: Added.
        * platform/mac/svg/filters/feColorMatrix-offset-expected.png: Added.
        * platform/mac/svg/filters/feColorMatrix-offset-expected.txt: Added.
        * svg/filters/feColorMatrix-offset.svg: Added.
2010-12-14  Pieter Senster  <psenster@google.com>

        Reviewed by Dirk Schulze.

        Incorporate the channel offsets from the ColorMatrix filter in the filter calculation
        https://bugs.webkit.org/show_bug.cgi?id=50682

        Test: svg/filters/feColorMatrix-offset.svg

        * platform/graphics/filters/FEColorMatrix.cpp:
        (WebCore::matrix):

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

11 years ago2010-12-14 Jarred Nicholls <jarred@sencha.com>
commit-queue@webkit.org [Tue, 14 Dec 2010 10:50:03 +0000 (10:50 +0000)]
2010-12-14  Jarred Nicholls  <jarred@sencha.com>

        Reviewed by Kenneth Rohde Christiansen.

        Qt's Clipboard::files() implementation for HTML5 Drag/Drop (DataTransfer)

        No new tests. Run tests manually until DRT is updated w/ beginDragWithFiles.

        * platform/qt/ClipboardQt.cpp:
        (WebCore::ClipboardQt::files):

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

11 years ago2010-12-14 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 14 Dec 2010 09:43:46 +0000 (09:43 +0000)]
2010-12-14  Eric Seidel  <eric@webkit.org>

        Reviewed by Ojan Vafai.

        webkit-patch should warn users when they're using a 32-bit git on a 64-bit system
        https://bugs.webkit.org/show_bug.cgi?id=50715

        This patch makes webkit-patch print the following:

        Warning: This machine is 64-bit, but the git binary (/usr/local/git/bin/git) does not support 64-bit.
        Install a 64-bit git for better performance, see:
        https://lists.webkit.org/pipermail/webkit-dev/2010-December/015249.html

        I wrote this mostly because I have approximately 8 machines that I use
        and making sure each one is using a good Git install seemed folly.
        webkit-patch makes a lot of git calls, so using a fast git can shave
        several seconds in every invocation.  See the webkit-dev thread for more info.

        This message will print twice during 'webkit-patch upload',
        once from webkit-patch and once from check-webkit-style.

        Unfortunately there is no good way to test this due to how machine-dependent
        the code is.  I considered writing a test for the log message, but it seemed not worth it.

        * Scripts/webkitpy/common/checkout/scm.py:

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

11 years ago2010-12-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
gyuyoung.kim@samsung.com [Tue, 14 Dec 2010 08:34:08 +0000 (08:34 +0000)]
2010-12-13  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Unreviewed build fix for EFL.

        Remove DataSourceGStreamer.cpp in WebCore/CMakeListsEfl.txt
        Because, DataSourceGStreamer.cpp was removed by Bug 30007.

        * ../WebCore/CMakeListsEfl.txt:

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

11 years ago2010-12-13 Antonio Gomes <agomes@rim.com>
tonikitoo@webkit.org [Tue, 14 Dec 2010 07:17:23 +0000 (07:17 +0000)]
2010-12-13  Antonio Gomes  <agomes@rim.com>

        Rubber stamped by Daniel Bates.

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

        No new tests needed.

        * page/SpatialNavigation.cpp:
        (WebCore::distanceDataForNode): Made 'FocusCandidate current' const since it is
        not supposed to change within this function.
        * page/SpatialNavigation.h: Ditto.

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

11 years ago2010-12-13 takano takumi <takano@apple.com>
commit-queue@webkit.org [Tue, 14 Dec 2010 06:58:06 +0000 (06:58 +0000)]
2010-12-13  takano takumi  <takano@apple.com>

        Reviewed by Dan Bernstein.

        GlyphPage::fill() is slow on vertical writing (Mac)
        https://bugs.webkit.org/show_bug.cgi?id=50865

        No test. Just a performance improvement.

        * platform/graphics/Font.cpp:
        (WebCore::Font::isCJKIdeograph): Now this only checks pure ideographs (Hanji).
        (WebCore::Font::isCJKIdeographOrSymbol): Added this for Hanji and Hanji related symbols.
        * platform/graphics/Font.h:
        * platform/graphics/FontFastPath.cpp:
        (WebCore::Font::glyphDataForCharacter): Changed to call isCJKIdeographOrSymbol() instead of isCJKIdeograph().
        * platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
        (WebCore::shouldUseCoreText): This tests if GlyphPage::fill() should use CoreText or not.
        For vertical writing, if the current page contains only ideographs, we go CG path.
        (WebCore::GlyphPage::fill): Made to call shouldUseCoreText() and switch code path.

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

11 years ago2010-12-13 Antonio Gomes <agomes@rim.com>
tonikitoo@webkit.org [Tue, 14 Dec 2010 06:51:52 +0000 (06:51 +0000)]
2010-12-13  Antonio Gomes  <agomes@rim.com>

        Reviewed by Daniel Bates.

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

        Avoid calling canScrollInDirection more than necessary.

        No new tests needed.

        * page/FocusController.cpp:
        (WebCore::FocusController::advanceFocusDirectionallyInContainer): Moved the call to canScrollInDirection()
        to within the scrollInDirection().
        * page/SpatialNavigation.cpp: Removed the assertion to canScrollingDirection function.
        (WebCore::scrollInDirection):

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

11 years ago2010-12-13 Antonio Gomes <agomes@rim.com>
tonikitoo@webkit.org [Tue, 14 Dec 2010 06:51:41 +0000 (06:51 +0000)]
2010-12-13  Antonio Gomes  <agomes@rim.com>

        Reviewed by Daniel Bates.

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

        No new tests needed.

        * page/SpatialNavigation.h: Added FocusCandidate::isFrameOwnerElement and
        WebCore::frameOwnerElement helper functions.
        (WebCore::FocusCandidate::isFrameOwnerElement): Returns true if the Node pointer
        wrapped by FocusCandidate is an instance of HTMLFrameOwnerElement. Returns false
        otherwise.
        * page/SpatialNavigation.cpp:
        (WebCore::frameOwnerElement): Returns the HTMLFrameOwnerElement associated with
        the FocusCandidate if appropriate.
        * page/FocusController.cpp:
        (WebCore::updateFocusCandidateIfNeeded): Make use of newly added frameOwnerElement() helper.
        (WebCore::FocusController::adva

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

11 years agoUpdated Leopard-specific results after r73993.
mitz@apple.com [Tue, 14 Dec 2010 06:03:48 +0000 (06:03 +0000)]
Updated Leopard-specific results after r73993.

* platform/mac-leopard/css2.1/t1202-counter-04-b-expected.txt:
* platform/mac-leopard/css2.1/t1202-counters-04-b-expected.txt:
* platform/mac-leopard/fast/text/complex-text-opacity-expected.txt:
* platform/mac-leopard/fast/text/international/bidi-AN-after-L-expected.txt:
* platform/mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.txt:
* platform/mac-leopard/fast/text/international/bidi-CS-after-AN-expected.txt:
* platform/mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.txt:
* platform/mac-leopard/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt:
* platform/mac-leopard/fast/text/international/bidi-neutral-run-expected.txt:
* platform/mac-leopard/fast/text/international/thai-baht-space-expected.txt:
* platform/mac-leopard/platform/mac/editing/input/devanagari-ligature-expected.txt:

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

11 years ago2010-12-13 Mike Lawther <mikelawther@chromium.org>
commit-queue@webkit.org [Tue, 14 Dec 2010 05:53:03 +0000 (05:53 +0000)]
2010-12-13  Mike Lawther  <mikelawther@chromium.org>

        Reviewed by Daniel Bates.

        [skia] ignore transform for canvas shadows
        https://bugs.webkit.org/show_bug.cgi?id=50437

        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::GraphicsContext::setPlatformShadow):

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

11 years agoWebKit2: Need to be able to set the application name for the user agent for a WKPage
weinig@apple.com [Tue, 14 Dec 2010 05:49:20 +0000 (05:49 +0000)]
WebKit2: Need to be able to set the application name for the user agent for a WKPage
https://bugs.webkit.org/show_bug.cgi?id=51011

Reviewed by Anders Carlsson.

Fixes:
    WebKit2: Need to be able to set the application name for the user agent for a WKPage
    <rdar://problem/8564532>
    WebKit2: Need to be able to get the computed user agent for a WKPage
    <rdar://problem/8637285>

Moves user agent computation to the UIProcess and just passes it to the WebProcess
when it has changed.

* Shared/WebPageCreationParameters.cpp:
(WebKit::WebPageCreationParameters::encode):
(WebKit::WebPageCreationParameters::decode):
* Shared/WebPageCreationParameters.h:
Add a user agent to the creation parameters.

* UIProcess/API/C/WKPage.cpp:
(WKPageCopyUserAgent):
(WKPageCopyApplicationNameForUserAgent):
(WKPageSetApplicationNameForUserAgent):
(WKPageSetCustomUserAgent):
* UIProcess/API/C/WKPage.h:
Add new API to set the application name and access the computed user agent.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::close):
(WebKit::WebPageProxy::setUserAgent):
(WebKit::WebPageProxy::setApplicationNameForUserAgent):
(WebKit::WebPageProxy::setCustomUserAgent):
(WebKit::WebPageProxy::processDidCrash):
(WebKit::WebPageProxy::creationParameters):
* UIProcess/WebPageProxy.h:
(WebKit::WebPageProxy::userAgent):
(WebKit::WebPageProxy::applicationNameForUserAgent):
* UIProcess/mac/WebPageProxyMac.mm: Added.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
(WebKit::WebPage::setUserAgent):
* WebProcess/WebPage/WebPage.h:
(WebKit::WebPage::userAgent):
* WebProcess/WebPage/WebPage.messages.in:
Pipe through user agent.

(WebKit::callGestalt):
(WebKit::macOSXVersionString):
(WebKit::userVisibleWebKitVersionString):
(WebKit::WebPageProxy::standardUserAgent):
* UIProcess/win/WebPageProxyWin.cpp: Added.
(WebKit::windowsVersion):
(WebKit::userVisibleWebKitVersionString):
(WebKit::WebPageProxy::standardUserAgent):
Port standardUserAgent computation from WebKit1.

* UIProcess/qt/WebPageProxyQt.cpp: Added.
(WebKit::WebPageProxy::standardUserAgent):
Stub out the user agent so there is no change in behavior.

* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
Add new file.

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

11 years ago2010-12-13 Dai Mikurube <dmikurube@google.com>
commit-queue@webkit.org [Tue, 14 Dec 2010 05:19:30 +0000 (05:19 +0000)]
2010-12-13  Dai Mikurube  <dmikurube@google.com>

        Reviewed by Kent Tamura.

        ValidityState's exposed functions should check if willValidate() is true before all
        https://bugs.webkit.org/show_bug.cgi?id=50617

        * fast/css/pseudo-required-optional-005-expected.txt:
        * fast/css/pseudo-required-optional-005.html:
        * fast/css/pseudo-valid-001-expected.txt:
        * fast/css/pseudo-valid-001.html:
        * fast/css/pseudo-valid-unapplied-expected.txt:
        * fast/css/pseudo-valid-unapplied.html:
        * fast/forms/ValidityState-customError.html:
        * fast/forms/ValidityState-customError-expected.txt:
        * fast/forms/ValidityState-customError.html:
        * fast/forms/ValidityState-patternMismatch-expected.txt:
        * fast/forms/ValidityState-patternMismatch.html:
        * fast/forms/ValidityState-rangeOverflow-expected.txt:
        * fast/forms/ValidityState-rangeUnderflow-expected.txt:
        * fast/forms/ValidityState-stepMismatch-expected.txt:
        * fast/forms/ValidityState-tooLong-input-expected.txt:
        * fast/forms/ValidityState-tooLong-textarea-expected.txt:
        * fast/forms/ValidityState-typeMismatch-color-expected.txt:
        * fast/forms/ValidityState-typeMismatch-date-expected.txt:
        * fast/forms/ValidityState-typeMismatch-datetime-expected.txt:
        * fast/forms/ValidityState-typeMismatch-datetimelocal-expected.txt:
        * fast/forms/ValidityState-typeMismatch-month-expected.txt:
        * fast/forms/ValidityState-typeMismatch-number-expected.txt:
        * fast/forms/ValidityState-typeMismatch-time-expected.txt:
        * fast/forms/ValidityState-typeMismatch-url-expected.txt:
        * fast/forms/ValidityState-typeMismatch-week-expected.txt:
        * fast/forms/script-tests/ValidityState-rangeOverflow.js:
        (checkOverflow):
        (checkNotOverflow):
        * fast/forms/script-tests/ValidityState-rangeUnderflow.js:
        (checkUnderflow):
        (checkNotUnderflow):
        * fast/forms/script-tests/ValidityState-stepMismatch.js:
        (stepMismatchFor):
        * fast/forms/script-tests/ValidityState-tooLong-input.js:
        * fast/forms/script-tests/ValidityState-tooLong-textarea.js:
        * fast/forms/script-tests/ValidityState-typeMismatch-color.js:
        ():
        * fast/forms/script-tests/ValidityState-typeMismatch-date.js:
        ():
        (shouldBeValid):
        (shouldBeInvalid):
        * fast/forms/script-tests/ValidityState-typeMismatch-datetime.js:
        ():
        (shouldBeValid):
        (shouldBeInvalid):
        * fast/forms/script-tests/ValidityState-typeMismatch-datetimelocal.js:
        ():
        (shouldBeValid):
        (shouldBeInvalid):
        * fast/forms/script-tests/ValidityState-typeMismatch-month.js:
        ():
        (shouldBeValid):
        (shouldBeInvalid):
        * fast/forms/script-tests/ValidityState-typeMismatch-number.js:
        ():
        * fast/forms/script-tests/ValidityState-typeMismatch-time.js:
        ():
        (shouldBeValid):
        (shouldBeInvalid):
        * fast/forms/script-tests/ValidityState-typeMismatch-url.js:
        (check):
        (expectValid):
        (expectInvalid):
        * fast/forms/script-tests/ValidityState-typeMismatch-week.js:
        ():
        (shouldBeValid):
        (shouldBeInvalid):
        * fast/forms/script-tests/willvalidate.js:
        * fast/forms/willvalidate-expected.txt:
2010-12-13  Dai Mikurube  <dmikurube@google.com>

        Reviewed by Kent Tamura.

        ValidityState's exposed functions should check if willValidate() is true before all
        https://bugs.webkit.org/show_bug.cgi?id=50617

        Added checking willValidate() to exposed functions. And modified willValidate() behavior
        for <button type="submit"> and <input type="submit"> to return true if not disabled and
        not readonly.

        * html/HTMLButtonElement.cpp:
        (WebCore::HTMLButtonElement::parseMappedAttribute): Added calling setNeedsWillValidateCheck() to refresh willValidate() after changing its type.
        (WebCore::HTMLButtonElement::recalcWillValidate): Added to return true if not disabled and not readonly when type="submit". It's to be compliant to the spec.
        * html/HTMLButtonElement.h:
        * html/SubmitInputType.cpp:
        (WebCore::SubmitInputType::supportsValidation): Removed it to enable willValidate() for <input> when type="submit". It's to be compliant to the spec.
        (WebCore::SubmitInputType::supportsRequired): Added it to reject required attributes though validation is available.
        * html/SubmitInputType.h:
        * html/ValidityState.cpp: Added checking willValidate().
        (WebCore::ValidityState::typeMismatch):
        (WebCore::ValidityState::patternMismatch):
        (WebCore::ValidityState::tooLong):
        (WebCore::ValidityState::rangeUnderflow):
        (WebCore::ValidityState::rangeOverflow):
        (WebCore::ValidityState::stepMismatch):
        (WebCore::ValidityState::customError):
        * html/ValidityState.h:

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

11 years agoRebaseline Windows test results after r73993. All of these results were updated on...
bweinstein@apple.com [Tue, 14 Dec 2010 05:08:53 +0000 (05:08 +0000)]
Rebaseline Windows test results after r73993. All of these results were updated on the Mac with this
change, and this rebaselines Windows results to pass.

* platform/win/css2.1/t0805-c5519-brdr-r-01-e-expected.txt: Added.
* platform/win/css2.1/t0805-c5521-brdr-l-01-e-expected.txt: Added.
* platform/win/css2.1/t0905-c5525-fltblck-00-d-ag-expected.txt: Added.
* platform/win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt: Added.
* platform/win/css2.1/t0905-c5525-fltwrap-00-b-expected.txt: Added.
* platform/win/css2.1/t1202-counter-04-b-expected.txt:
* platform/win/css2.1/t1202-counters-04-b-expected.txt:
* platform/win/editing/deleting/5144139-2-expected.txt: Added.
* platform/win/fast/text/international/bidi-mirror-he-ar-expected.txt:
* platform/win/fast/text/international/bold-bengali-expected.txt:
* platform/win/fast/text/international/complex-character-based-fallback-expected.txt:
* platform/win/fast/text/international/hebrew-vowels-expected.txt:
* platform/win/transforms/2d/hindi-rotated-expected.txt:

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

11 years ago2010-12-13 Noel Gordon <noel.gordon@gmail.com>
commit-queue@webkit.org [Tue, 14 Dec 2010 04:47:34 +0000 (04:47 +0000)]
2010-12-13  Noel Gordon  <noel.gordon@gmail.com>

        Reviewed by David Levin.

        [chromium] Upstream skia/ImageBuffer.cpp routine mulDiv255Ceil()
        https://bugs.webkit.org/show_bug.cgi?id=50545

        Skia has rolled, replace uses of mulDiv255Ceil with SkMulDiv255Ceiling.

        No new tests, no change in behaviour.

        * platform/graphics/skia/ImageBufferSkia.cpp:
        (WebCore::putImageData):

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

11 years ago2010-12-13 Gavin Peters <gavinp@chromium.org>
commit-queue@webkit.org [Tue, 14 Dec 2010 03:21:25 +0000 (03:21 +0000)]
2010-12-13  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        Re land Purpose after bad merge
        https://bugs.webkit.org/show_bug.cgi?id=51000

        * http/tests/misc/resources/prefetch-purpose.php:
2010-12-13  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        Re land Purpose after bad merge
        https://bugs.webkit.org/show_bug.cgi?id=51000

        * loader/loader.cpp:
        (WebCore::Loader::load):

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

11 years ago2010-12-13 Mike Lawther <mikelawther@chromium.org>
commit-queue@webkit.org [Tue, 14 Dec 2010 03:04:38 +0000 (03:04 +0000)]
2010-12-13  Mike Lawther  <mikelawther@chromium.org>

        Reviewed by James Robinson.

        Update chromium DEPS to pull in latest Skia
        https://bugs.webkit.org/show_bug.cgi?id=50984

        Roll to revision that pulled in Skia r632 (http://src.chromium.org/viewvc/chrome?view=rev&revision=68558)

        * DEPS:

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

11 years ago2010-12-13 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Tue, 14 Dec 2010 02:16:23 +0000 (02:16 +0000)]
2010-12-13  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium test expectations update.

        Now that we've switched Chromium to the DRT (and the switch seems to
        have stuck), remove the BUG_AWESOME lines about tests that only pass
        with the DRT (but not test_shell).

        * platform/chromium/test_expectations.txt:

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

11 years ago<rdar://problem/8763696> REGRESSION (r72173): Fallback fonts’ vertical metrics aren...
mitz@apple.com [Tue, 14 Dec 2010 02:14:32 +0000 (02:14 +0000)]
<rdar://problem/8763696> REGRESSION (r72173): Fallback fonts’ vertical metrics aren’t accounted for even when line-height is unspecified
https://bugs.webkit.org/show_bug.cgi?id=50979

Reviewed by Simon Fraser.

WebCore:

Many test results updated.

* rendering/InlineFlowBox.cpp: Reinstated the code that updates affectsAscent and
affectsDescent in the used-fonts code path. Renamed variables for clarity. Added
a check whether usedFonts is empty (which it might be if there is glyph overflow
but no fallback) as an optimization.

LayoutTests:

* editing/selection/extend-selection-bidi-expected.txt:
* platform/mac/css2.1/t0805-c5518-brdr-t-01-e-expected.checksum:
* platform/mac/css2.1/t0805-c5518-brdr-t-01-e-expected.png:
* platform/mac/css2.1/t0805-c5518-brdr-t-01-e-expected.txt:
* platform/mac/css2.1/t0805-c5519-brdr-r-00-a-expected.checksum:
* platform/mac/css2.1/t0805-c5519-brdr-r-00-a-expected.png:
* platform/mac/css2.1/t0805-c5519-brdr-r-00-a-expected.txt:
* platform/mac/css2.1/t0805-c5520-brdr-b-01-e-expected.checksum:
* platform/mac/css2.1/t0805-c5520-brdr-b-01-e-expected.png:
* platform/mac/css2.1/t0805-c5520-brdr-b-01-e-expected.txt:
* platform/mac/css2.1/t0805-c5521-brdr-l-00-a-expected.checksum:
* platform/mac/css2.1/t0805-c5521-brdr-l-00-a-expected.png:
* platform/mac/css2.1/t0805-c5521-brdr-l-00-a-expected.txt:
* platform/mac/css2.1/t0805-c5521-brdr-l-01-e-expected.checksum:
* platform/mac/css2.1/t0805-c5521-brdr-l-01-e-expected.png:
* platform/mac/css2.1/t0805-c5521-brdr-l-01-e-expected.txt:
* platform/mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.checksum:
* platform/mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.png:
* platform/mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.txt:
* platform/mac/css2.1/t0905-c414-flt-02-c-expected.checksum:
* platform/mac/css2.1/t0905-c414-flt-02-c-expected.png:
* platform/mac/css2.1/t0905-c414-flt-02-c-expected.txt:
* platform/mac/css2.1/t0905-c414-flt-03-c-expected.checksum:
* platform/mac/css2.1/t0905-c414-flt-03-c-expected.png:
* platform/mac/css2.1/t0905-c414-flt-03-c-expected.txt:
* platform/mac/css2.1/t0905-c414-flt-04-c-expected.checksum:
* platform/mac/css2.1/t0905-c414-flt-04-c-expected.png:
* platform/mac/css2.1/t0905-c414-flt-04-c-expected.txt:
* platform/mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.checksum:
* platform/mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.png:
* platform/mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.txt:
* platform/mac/css2.1/t0905-c5525-fltblck-01-d-expected.checksum:
* platform/mac/css2.1/t0905-c5525-fltblck-01-d-expected.png:
* platform/mac/css2.1/t0905-c5525-fltblck-01-d-expected.txt:
* platform/mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.checksum:
* platform/mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.png:
* platform/mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt:
* platform/mac/css2.1/t0905-c5525-flthw-00-c-g-expected.checksum:
* platform/mac/css2.1/t0905-c5525-flthw-00-c-g-expected.png:
* platform/mac/css2.1/t0905-c5525-flthw-00-c-g-expected.txt:
* platform/mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum:
* platform/mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
* platform/mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt:
* platform/mac/css2.1/t0905-c5525-fltwidth-02-c-g-expected.checksum:
* platform/mac/css2.1/t0905-c5525-fltwidth-02-c-g-expected.png:
* platform/mac/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt:
* platform/mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.checksum:
* platform/mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png:
* platform/mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt:
* platform/mac/css2.1/t0905-c5525-fltwrap-00-b-expected.checksum:
* platform/mac/css2.1/t0905-c5525-fltwrap-00-b-expected.png:
* platform/mac/css2.1/t0905-c5525-fltwrap-00-b-expected.txt:
* platform/mac/css2.1/t0905-c5526-flthw-00-c-g-expected.checksum:
* platform/mac/css2.1/t0905-c5526-flthw-00-c-g-expected.png:
* platform/mac/css2.1/t0905-c5526-flthw-00-c-g-expected.txt:
* platform/mac/css2.1/t090501-c414-flt-01-b-expected.checksum:
* platform/mac/css2.1/t090501-c414-flt-01-b-expected.png:
* platform/mac/css2.1/t090501-c414-flt-01-b-expected.txt:
* platform/mac/css2.1/t090501-c414-flt-03-b-g-expected.checksum:
* platform/mac/css2.1/t090501-c414-flt-03-b-g-expected.png:
* platform/mac/css2.1/t090501-c414-flt-03-b-g-expected.txt:
* platform/mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.checksum:
* platform/mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.png:
* platform/mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.txt:
* platform/mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.checksum:
* platform/mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.png:
* platform/mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.txt:
* platform/mac/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.checksum:
* platform/mac/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png:
* platform/mac/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt:
* platform/mac/css2.1/t1202-counter-03-b-expected.checksum:
* platform/mac/css2.1/t1202-counter-03-b-expected.png:
* platform/mac/css2.1/t1202-counter-03-b-expected.txt:
* platform/mac/css2.1/t1202-counter-04-b-expected.checksum:
* platform/mac/css2.1/t1202-counter-04-b-expected.png:
* platform/mac/css2.1/t1202-counter-04-b-expected.txt:
* platform/mac/css2.1/t1202-counter-09-b-expected.checksum:
* platform/mac/css2.1/t1202-counter-09-b-expected.png:
* platform/mac/css2.1/t1202-counter-09-b-expected.txt:
* platform/mac/css2.1/t1202-counters-03-b-expected.checksum:
* platform/mac/css2.1/t1202-counters-03-b-expected.png:
* platform/mac/css2.1/t1202-counters-03-b-expected.txt:
* platform/mac/css2.1/t1202-counters-04-b-expected.checksum:
* platform/mac/css2.1/t1202-counters-04-b-expected.png:
* platform/mac/css2.1/t1202-counters-04-b-expected.txt:
* platform/mac/css2.1/t1202-counters-09-b-expected.checksum:
* platform/mac/css2.1/t1202-counters-09-b-expected.png:
* platform/mac/css2.1/t1202-counters-09-b-expected.txt:
* platform/mac/editing/deleting/5144139-2-expected.checksum:
* platform/mac/editing/deleting/5144139-2-expected.png:
* platform/mac/editing/deleting/5144139-2-expected.txt:
* platform/mac/editing/selection/caret-rtl-2-expected.checksum:
* platform/mac/editing/selection/caret-rtl-2-expected.png:
* platform/mac/editing/selection/caret-rtl-2-expected.txt:
* platform/mac/editing/selection/caret-rtl-2-left-expected.checksum:
* platform/mac/editing/selection/caret-rtl-2-left-expected.png:
* platform/mac/editing/selection/caret-rtl-2-left-expected.txt:
* platform/mac/editing/selection/caret-rtl-expected.checksum:
* platform/mac/editing/selection/caret-rtl-expected.png:
* platform/mac/editing/selection/caret-rtl-expected.txt:
* platform/mac/editing/selection/caret-rtl-right-expected.checksum:
* platform/mac/editing/selection/caret-rtl-right-expected.png:
* platform/mac/editing/selection/caret-rtl-right-expected.txt:
* platform/mac/editing/selection/extend-selection-bidi-expected.checksum:
* platform/mac/editing/selection/extend-selection-bidi-expected.png:
* platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum:
* platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png:
* platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.txt:
* platform/mac/fast/css/beforeSelectorOnCodeElement-expected.checksum:
* platform/mac/fast/css/beforeSelectorOnCodeElement-expected.png:
* platform/mac/fast/css/beforeSelectorOnCodeElement-expected.txt:
* platform/mac/fast/css/font-face-opentype-expected.checksum:
* platform/mac/fast/css/font-face-opentype-expected.png:
* platform/mac/fast/css/font-face-opentype-expected.txt:
* platform/mac/fast/css/rtl-ordering-expected.checksum:
* platform/mac/fast/css/rtl-ordering-expected.png:
* platform/mac/fast/css/rtl-ordering-expected.txt:
* platform/mac/fast/css/text-overflow-ellipsis-bidi-expected.checksum:
* platform/mac/fast/css/text-overflow-ellipsis-bidi-expected.png:
* platform/mac/fast/css/text-overflow-ellipsis-bidi-expected.txt:
* platform/mac/fast/css/text-overflow-ellipsis-expected.checksum:
* platform/mac/fast/css/text-overflow-ellipsis-expected.png:
* platform/mac/fast/css/text-overflow-ellipsis-expected.txt:
* platform/mac/fast/css/text-overflow-ellipsis-strict-expected.checksum:
* platform/mac/fast/css/text-overflow-ellipsis-strict-expected.png:
* platform/mac/fast/css/text-overflow-ellipsis-strict-expected.txt:
* platform/mac/fast/css/text-security-expected.checksum:
* platform/mac/fast/css/text-security-expected.png:
* platform/mac/fast/css/text-security-expected.txt:
* platform/mac/fast/encoding/denormalised-voiced-japanese-chars-expected.checksum:
* platform/mac/fast/encoding/denormalised-voiced-japanese-chars-expected.png:
* platform/mac/fast/encoding/denormalised-voiced-japanese-chars-expected.txt:
* platform/mac/fast/encoding/invalid-UTF-8-expected.checksum:
* platform/mac/fast/encoding/invalid-UTF-8-expected.png:
* platform/mac/fast/encoding/invalid-UTF-8-expected.txt:
* platform/mac/fast/events/updateLayoutForHitTest-expected.checksum:
* platform/mac/fast/events/updateLayoutForHitTest-expected.png:
* platform/mac/fast/events/updateLayoutForHitTest-expected.txt:
* platform/mac/fast/forms/select-visual-hebrew-expected.checksum:
* platform/mac/fast/forms/select-visual-hebrew-expected.png:
* platform/mac/fast/forms/select-visual-hebrew-expected.txt:
* platform/mac/fast/forms/select-writing-direction-natural-expected.checksum:
* platform/mac/fast/forms/select-writing-direction-natural-expected.png:
* platform/mac/fast/forms/select-writing-direction-natural-expected.txt:
* platform/mac/fast/forms/visual-hebrew-text-field-expected.checksum:
* platform/mac/fast/forms/visual-hebrew-text-field-expected.png:
* platform/mac/fast/forms/visual-hebrew-text-field-expected.txt:
* platform/mac/fast/ruby/nested-ruby-expected.txt:
* platform/mac/fast/text/atsui-multiple-renderers-expected.checksum:
* platform/mac/fast/text/atsui-multiple-renderers-expected.png:
* platform/mac/fast/text/atsui-multiple-renderers-expected.txt:
* platform/mac/fast/text/backslash-to-yen-sign-euc-expected.checksum:
* platform/mac/fast/text/backslash-to-yen-sign-euc-expected.png:
* platform/mac/fast/text/backslash-to-yen-sign-euc-expected.txt:
* platform/mac/fast/text/backslash-to-yen-sign-expected.checksum:
* platform/mac/fast/text/backslash-to-yen-sign-expected.png:
* platform/mac/fast/text/backslash-to-yen-sign-expected.txt:
* platform/mac/fast/text/bidi-embedding-pop-and-push-same-expected.checksum:
* platform/mac/fast/text/bidi-embedding-pop-and-push-same-expected.png:
* platform/mac/fast/text/bidi-embedding-pop-and-push-same-expected.txt:
* platform/mac/fast/text/capitalize-boundaries-expected.checksum:
* platform/mac/fast/text/capitalize-boundaries-expected.png:
* platform/mac/fast/text/capitalize-boundaries-expected.txt:
* platform/mac/fast/text/cg-fallback-bolding-expected.checksum:
* platform/mac/fast/text/cg-fallback-bolding-expected.png:
* platform/mac/fast/text/cg-fallback-bolding-expected.txt:
* platform/mac/fast/text/complex-text-opacity-expected.checksum:
* platform/mac/fast/text/complex-text-opacity-expected.png:
* platform/mac/fast/text/complex-text-opacity-expected.txt:
* platform/mac/fast/text/in-rendered-text-rtl-expected.checksum:
* platform/mac/fast/text/in-rendered-text-rtl-expected.png:
* platform/mac/fast/text/in-rendered-text-rtl-expected.txt:
* platform/mac/fast/text/international/001-expected.checksum:
* platform/mac/fast/text/international/001-expected.png:
* platform/mac/fast/text/international/001-expected.txt:
* platform/mac/fast/text/international/002-expected.checksum:
* platform/mac/fast/text/international/002-expected.png:
* platform/mac/fast/text/international/002-expected.txt:
* platform/mac/fast/text/international/003-expected.checksum:
* platform/mac/fast/text/international/003-expected.png:
* platform/mac/fast/text/international/003-expected.txt:
* platform/mac/fast/text/international/bidi-AN-after-L-expected.checksum:
* platform/mac/fast/text/international/bidi-AN-after-L-expected.png:
* platform/mac/fast/text/international/bidi-AN-after-L-expected.txt:
* platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.checksum:
* platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.png:
* platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.txt:
* platform/mac/fast/text/international/bidi-CS-after-AN-expected.checksum:
* platform/mac/fast/text/international/bidi-CS-after-AN-expected.png:
* platform/mac/fast/text/international/bidi-CS-after-AN-expected.txt:
* platform/mac/fast/text/international/bidi-L2-run-reordering-expected.checksum:
* platform/mac/fast/text/international/bidi-L2-run-reordering-expected.png:
* platform/mac/fast/text/international/bidi-L2-run-reordering-expected.txt:
* platform/mac/fast/text/international/bidi-LDB-2-CSS-expected.checksum:
* platform/mac/fast/text/international/bidi-LDB-2-CSS-expected.png:
* platform/mac/fast/text/international/bidi-LDB-2-CSS-expected.txt:
* platform/mac/fast/text/international/bidi-LDB-2-HTML-expected.checksum:
* platform/mac/fast/text/international/bidi-LDB-2-HTML-expected.png:
* platform/mac/fast/text/international/bidi-LDB-2-HTML-expected.txt:
* platform/mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum:
* platform/mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.png:
* platform/mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.txt:
* platform/mac/fast/text/international/bidi-european-terminators-expected.checksum:
* platform/mac/fast/text/international/bidi-european-terminators-expected.png:
* platform/mac/fast/text/international/bidi-european-terminators-expected.txt:
* platform/mac/fast/text/international/bidi-fallback-font-weight-expected.checksum:
* platform/mac/fast/text/international/bidi-fallback-font-weight-expected.png:
* platform/mac/fast/text/international/bidi-fallback-font-weight-expected.txt:
* platform/mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum:
* platform/mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.png:
* platform/mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.txt:
* platform/mac/fast/text/international/bidi-innertext-expected.checksum:
* platform/mac/fast/text/international/bidi-innertext-expected.png:
* platform/mac/fast/text/international/bidi-innertext-expected.txt:
* platform/mac/fast/text/international/bidi-linebreak-001-expected.checksum:
* platform/mac/fast/text/international/bidi-linebreak-001-expected.png:
* platform/mac/fast/text/international/bidi-linebreak-001-expected.txt:
* platform/mac/fast/text/international/bidi-linebreak-002-expected.checksum:
* platform/mac/fast/text/international/bidi-linebreak-002-expected.png:
* platform/mac/fast/text/international/bidi-linebreak-002-expected.txt:
* platform/mac/fast/text/international/bidi-linebreak-003-expected.checksum:
* platform/mac/fast/text/international/bidi-linebreak-003-expected.png:
* platform/mac/fast/text/international/bidi-linebreak-003-expected.txt:
* platform/mac/fast/text/international/bidi-listbox-atsui-expected.checksum:
* platform/mac/fast/text/international/bidi-listbox-atsui-expected.png:
* platform/mac/fast/text/international/bidi-listbox-atsui-expected.txt:
* platform/mac/fast/text/international/bidi-listbox-expected.checksum:
* platform/mac/fast/text/international/bidi-listbox-expected.png:
* platform/mac/fast/text/international/bidi-listbox-expected.txt:
* platform/mac/fast/text/international/bidi-menulist-expected.checksum:
* platform/mac/fast/text/international/bidi-menulist-expected.png:
* platform/mac/fast/text/international/bidi-menulist-expected.txt:
* platform/mac/fast/text/international/bidi-mirror-he-ar-expected.checksum:
* platform/mac/fast/text/international/bidi-mirror-he-ar-expected.png:
* platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt:
* platform/mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.checksum:
* platform/mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png:
* platform/mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt:
* platform/mac/fast/text/international/bidi-neutral-run-expected.checksum:
* platform/mac/fast/text/international/bidi-neutral-run-expected.png:
* platform/mac/fast/text/international/bidi-neutral-run-expected.txt:
* platform/mac/fast/text/international/bidi-override-expected.checksum:
* platform/mac/fast/text/international/bidi-override-expected.png:
* platform/mac/fast/text/international/bidi-override-expected.txt:
* platform/mac/fast/text/international/complex-character-based-fallback-expected.checksum:
* platform/mac/fast/text/international/complex-character-based-fallback-expected.png:
* platform/mac/fast/text/international/complex-character-based-fallback-expected.txt:
* platform/mac/fast/text/international/danda-space-expected.checksum:
* platform/mac/fast/text/international/danda-space-expected.png:
* platform/mac/fast/text/international/danda-space-expected.txt:
* platform/mac/fast/text/international/hebrew-vowels-expected.checksum:
* platform/mac/fast/text/international/hebrew-vowels-expected.png:
* platform/mac/fast/text/international/hebrew-vowels-expected.txt:
* platform/mac/fast/text/international/hindi-spacing-expected.checksum:
* platform/mac/fast/text/international/hindi-spacing-expected.png:
* platform/mac/fast/text/international/hindi-spacing-expected.txt:
* platform/mac/fast/text/international/hindi-whitespace-expected.checksum:
* platform/mac/fast/text/international/hindi-whitespace-expected.png:
* platform/mac/fast/text/international/hindi-whitespace-expected.txt:
* platform/mac/fast/text/international/plane2-expected.checksum:
* platform/mac/fast/text/international/plane2-expected.png:
* platform/mac/fast/text/international/plane2-expected.txt:
* platform/mac/fast/text/international/rtl-caret-expected.checksum:
* platform/mac/fast/text/international/rtl-caret-expected.png:
* platform/mac/fast/text/international/rtl-caret-expected.txt:
* platform/mac/fast/text/international/thai-baht-space-expected.checksum:
* platform/mac/fast/text/international/thai-baht-space-expected.png:
* platform/mac/fast/text/international/thai-baht-space-expected.txt:
* platform/mac/fast/text/international/thai-line-breaks-expected.checksum:
* platform/mac/fast/text/international/thai-line-breaks-expected.png:
* platform/mac/fast/text/international/thai-line-breaks-expected.txt:
* platform/mac/fast/text/international/wrap-CJK-001-expected.checksum:
* platform/mac/fast/text/international/wrap-CJK-001-expected.png:
* platform/mac/fast/text/international/wrap-CJK-001-expected.txt:
* platform/mac/transforms/2d/hindi-rotated-expected.checksum:
* platform/mac/transforms/2d/hindi-rotated-expected.png:
* platform/mac/transforms/2d/hindi-rotated-expected.txt:

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

11 years ago<rdar://problem/8752202> and https://bugs.webkit.org/show_bug.cgi?id=50997
beidson@apple.com [Tue, 14 Dec 2010 01:59:26 +0000 (01:59 +0000)]
<rdar://problem/8752202> and https://bugs.webkit.org/show_bug.cgi?id=50997
Expose "link title" and "link label" to InjectedBundleHitTestResult API

Reviewed by Jon Honeycutt (and Brian Weinstein in heart).

* WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp:
(WKBundleHitTestResultCopyLinkLabel):
(WKBundleHitTestResultCopyLinkTitle):
* WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.h:

* WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp:
(WebKit::InjectedBundleHitTestResult::linkLabel):
(WebKit::InjectedBundleHitTestResult::linkTitle):
* WebProcess/InjectedBundle/InjectedBundleHitTestResult.h:

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

11 years ago2010-12-13 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 14 Dec 2010 01:42:35 +0000 (01:42 +0000)]
2010-12-13  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        FlakyTestReporter doesn't understand bots running from multiple email addresses
        https://bugs.webkit.org/show_bug.cgi?id=50960

        This explains at least one of the dupes of:
        https://bugs.webkit.org/show_bug.cgi?id=50863
        that we saw filed by the commit-queue this morning.
        I think the other one was explained by my previous fix to result counting code.

        Since this is really hard to test with a unit test, instead I
        create a new (possibly useful in the future) command
        which given a layout test path will return you
        the one bug which our tools would assume it the flaky test bug.
        If some other script wants to use bug-for-test we'll
        need to extend it with some options like --create-if-missing or similar.

        * Scripts/webkitpy/common/net/bugzilla/bug.py:
        * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
        * Scripts/webkitpy/tool/bot/flakytestreporter.py:
        * Scripts/webkitpy/tool/commands/__init__.py:
        * Scripts/webkitpy/tool/commands/bugfortest.py: Added.

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

11 years ago2010-12-13 Alex Bredariol Grilo <abgrilo@profusion.mobi>
demarchi@webkit.org [Tue, 14 Dec 2010 01:28:15 +0000 (01:28 +0000)]
2010-12-13  Alex Bredariol Grilo  <abgrilo@profusion.mobi>

        Reviewed by Andreas Kling.

        Remove adjacent tiles rendering queue.
        https://bugs.webkit.org/show_bug.cgi?id=50023

        In the current implementation of the tiled backing store, one extra row
        and column of tiles are needed to render the entire viewport. These
        extra row/col proved to be expensive when being rendered, and were
        postponed to a queue that would render them after rendering the other
        tiles of the viewport first. This approach complicated unnecessarily
        the logics with no gain for keeping the extra row and column. This
        change removes this rendering queue, for later removing the extra row
        and column of tiles.

        * ewk/ewk_tiled_backing_store.c:
        (_ewk_tiled_backing_store_pre_render_request_add):
        (_ewk_tiled_backing_store_pre_render_request_flush):
        (_ewk_tiled_backing_store_pre_render_request_clear):
        (_ewk_tiled_backing_store_pre_render_request_process_single):
        (_ewk_tiled_backing_store_item_fill):
        (_ewk_tiled_backing_store_item_add):
        (_ewk_tiled_backing_store_item_del):
        (_ewk_tiled_backing_store_recalc_renderers):
        (ewk_tiled_backing_store_pre_render_region):
        (ewk_tiled_backing_store_pre_render_relative_radius):
        (ewk_tiled_backing_store_pre_render_cancel):

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

11 years agoRemove unnecessary include of Switch module.
mrowe@apple.com [Tue, 14 Dec 2010 01:08:54 +0000 (01:08 +0000)]
Remove unnecessary include of Switch module.

Rubber-stamped by Jon Honeycutt.

There are no switch statements in this file.

* dom/make_names.pl:

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

11 years agoWindows Build Fix. Add a needed include.
bweinstein@apple.com [Tue, 14 Dec 2010 01:08:04 +0000 (01:08 +0000)]
Windows Build Fix. Add a needed include.

* UIProcess/win/WebView.cpp:

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

11 years agoAdd a failing test to the Windows skipped list.
jhoneycutt@apple.com [Tue, 14 Dec 2010 00:59:12 +0000 (00:59 +0000)]
Add a failing test to the Windows skipped list.

Rubber-stamped by Steve Falkenburg.

* platform/win/Skipped:
Added fast/loader/user-stylesheet-fast-path.html.

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

11 years agoRemove associated page concept from WKView constructor
weinig@apple.com [Tue, 14 Dec 2010 00:55:54 +0000 (00:55 +0000)]
Remove associated page concept from WKView constructor
https://bugs.webkit.org/show_bug.cgi?id=50983

Reviewed by Anders Carlsson.

Step 2: Remove WebPageNamespace.  It no longer does anything.

* Shared/APIObject.h:
* UIProcess/API/C/WKPage.h:
* UIProcess/API/mac/WKView.mm:
(-[WKView initWithFrame:contextRef:pageGroupRef:]):
* UIProcess/API/qt/qgraphicswkview.cpp:
* UIProcess/API/qt/qwkcontext.cpp:
(QWKContext::QWKContext):
* UIProcess/API/qt/qwkcontext_p.h:
* UIProcess/API/qt/qwkpage.cpp:
(QWKPagePrivate::QWKPagePrivate):
* UIProcess/API/qt/qwkpage_p.h:
* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::~WebContext):
(WebKit::WebContext::createWebPage):
* UIProcess/WebContext.h:
* UIProcess/WebPageNamespace.cpp: Removed.
* UIProcess/WebPageNamespace.h: Removed.
* UIProcess/WebPageProxy.cpp:
* UIProcess/WebPageProxy.h:
(WebKit::WebPageProxy::context):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::createWebPage):
* UIProcess/WebProcessProxy.h:
* UIProcess/win/WebView.cpp:
(WebKit::WebView::WebView):
* UIProcess/win/WebView.h:
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:

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

11 years ago2010-12-13 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Tue, 14 Dec 2010 00:55:03 +0000 (00:55 +0000)]
2010-12-13  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by James Robinson.

        Add option to build-webkit to not build WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=50988

        Add support for a --no-webkit2 option to build-webkit. It seems to save
        ~1 minute from clean builds and ~10 seconds from no-op builds.

        * Scripts/build-webkit:

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

11 years ago2010-12-13 Emil Eklund <eae@chromium.org>
commit-queue@webkit.org [Tue, 14 Dec 2010 00:24:48 +0000 (00:24 +0000)]
2010-12-13  Emil Eklund  <eae@chromium.org>

        Reviewed by Dimitri Glazkov.

        Change SelectionController::setFocusedNodeIfNeeded to traverse the DOM
        tree instead of the render tree.
        https://bugs.webkit.org/show_bug.cgi?id=50989

        * editing/SelectionController.cpp:
        (WebCore::SelectionController::setFocusedNodeIfNeeded):
        Walk up DOM/hosted tree rather than render tree and remove FIXME comment
        that does't apply (SelectionController and EventHandler needs different
        checks).

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

11 years agoAX: aria-invalid should be supported.
cfleizach@apple.com [Tue, 14 Dec 2010 00:16:07 +0000 (00:16 +0000)]
AX: aria-invalid should be supported.
https://bugs.webkit.org/show_bug.cgi?id=50573

Reviewed by Beth Dakin.

WebCore:

Test: platform/mac/accessibility/aria-invalid.html

* accessibility/AXObjectCache.h:
* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::invalidStatus):
* accessibility/AccessibilityObject.h:
* accessibility/chromium/AXObjectCacheChromium.cpp
(WebCore::AXObjectCache::postPlatformNotification):
* accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::postPlatformNotification):
* accessibility/mac/AccessibilityObjectWrapper.mm:
(-[AccessibilityObjectWrapper accessibilityAttributeNames]):
(-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
* dom/Element.cpp:
(WebCore::Element::updateAfterAttributeChanged):
* html/HTMLAttributeNames.in:

LayoutTests:

* platform/mac/accessibility/aria-invalid-expected.txt: Added.
* platform/mac/accessibility/aria-invalid.html: Added.
* platform/mac/accessibility/radio-button-group-members-expected.txt:

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

11 years agoUpdate iexploder from 1.3.2 to 1.7.2
slewis@apple.com [Tue, 14 Dec 2010 00:15:51 +0000 (00:15 +0000)]
Update iexploder from 1.3.2 to 1.7.2
Move 1.3.2 into its own subdir
Add 1.7.2 into its own subdir
update scripts to point to new 1.3.2 location (avoid breaking existing scripts)

Reviewed by Dave Kilzer.

* Scripts/run-iexploder-tests:
* Scripts/update-iexploder-cssproperties:
* iExploder/CHANGELOG.txt: Removed.
* iExploder/LICENSE.txt: Removed.
* iExploder/README.txt: Removed.
* iExploder/htdocs: Removed.
* iExploder/iexploder-1.3.2: Added.
* iExploder/iexploder-1.3.2/CHANGELOG.txt: Copied from iExploder/CHANGELOG.txt.
* iExploder/iexploder-1.3.2/LICENSE.txt: Copied from iExploder/LICENSE.txt.
* iExploder/iexploder-1.3.2/README.txt: Copied from iExploder/README.txt.
* iExploder/iexploder-1.3.2/htdocs: Added.
* iExploder/iexploder-1.3.2/htdocs/config.rb: Copied from iExploder/htdocs/config.rb.
* iExploder/iexploder-1.3.2/htdocs/cssproperties.in: Copied from iExploder/htdocs/cssproperties.in.
* iExploder/iexploder-1.3.2/htdocs/cssvalues.in: Copied from iExploder/htdocs/cssvalues.in.
* iExploder/iexploder-1.3.2/htdocs/htmlattrs.in: Copied from iExploder/htdocs/htmlattrs.in.
* iExploder/iexploder-1.3.2/htdocs/htmltags.in: Copied from iExploder/htdocs/htmltags.in.
* iExploder/iexploder-1.3.2/htdocs/htmlvalues.in: Copied from iExploder/htdocs/htmlvalues.in.
* iExploder/iexploder-1.3.2/htdocs/iexploder.cgi: Copied from iExploder/htdocs/iexploder.cgi.
* iExploder/iexploder-1.3.2/htdocs/iexploder.rb: Copied from iExploder/htdocs/iexploder.rb.
* iExploder/iexploder-1.3.2/htdocs/index.html: Copied from iExploder/htdocs/index.html.
* iExploder/iexploder-1.3.2/htdocs/webserver.rb: Copied from iExploder/htdocs/webserver.rb.
* iExploder/iexploder-1.3.2/tools: Added.
* iExploder/iexploder-1.3.2/tools/lasthit.rb: Copied from iExploder/tools/lasthit.rb.
* iExploder/iexploder-1.3.2/tools/osx_last_crash.rb: Copied from iExploder/tools/osx_last_crash.rb.
* iExploder/iexploder-1.3.2/tools/showtest.rb: Copied from iExploder/tools/showtest.rb.
* iExploder/iexploder-1.7.2: Added.
* iExploder/iexploder-1.7.2/ChangeLog.txt: Added.
* iExploder/iexploder-1.7.2/LICENSE.txt: Added.
* iExploder/iexploder-1.7.2/README.txt: Added.
* iExploder/iexploder-1.7.2/output: Added.
* iExploder/iexploder-1.7.2/src: Added.
* iExploder/iexploder-1.7.2/src/browser_harness.rb: Added.
* iExploder/iexploder-1.7.2/src/config.yaml: Added.
* iExploder/iexploder-1.7.2/src/css-atrules: Added.
* iExploder/iexploder-1.7.2/src/css-atrules/mozilla: Added.
* iExploder/iexploder-1.7.2/src/css-atrules/webkit: Added.
* iExploder/iexploder-1.7.2/src/css-properties: Added.
* iExploder/iexploder-1.7.2/src/css-properties/dillo: Added.
* iExploder/iexploder-1.7.2/src/css-properties/gtkhtml: Added.
* iExploder/iexploder-1.7.2/src/css-properties/internet_explorer6: Added.
* iExploder/iexploder-1.7.2/src/css-properties/mozilla: Added.
* iExploder/iexploder-1.7.2/src/css-properties/webkit: Added.
* iExploder/iexploder-1.7.2/src/css-pseudo: Added.
* iExploder/iexploder-1.7.2/src/css-pseudo/mozilla: Added.
* iExploder/iexploder-1.7.2/src/css-pseudo/webkit: Added.
* iExploder/iexploder-1.7.2/src/css-values: Added.
* iExploder/iexploder-1.7.2/src/css-values/dillo: Added.
* iExploder/iexploder-1.7.2/src/css-values/gtkhtml: Added.
* iExploder/iexploder-1.7.2/src/css-values/mozilla: Added.
* iExploder/iexploder-1.7.2/src/css-values/other: Added.
* iExploder/iexploder-1.7.2/src/css-values/webkit: Added.
* iExploder/iexploder-1.7.2/src/headers: Added.
* iExploder/iexploder-1.7.2/src/headers/dillo: Added.
* iExploder/iexploder-1.7.2/src/headers/gtkhtml: Added.
* iExploder/iexploder-1.7.2/src/headers/mozilla: Added.
* iExploder/iexploder-1.7.2/src/headers/webkit: Added.
* iExploder/iexploder-1.7.2/src/html-attrs: Added.
* iExploder/iexploder-1.7.2/src/html-attrs/dillo: Added.
* iExploder/iexploder-1.7.2/src/html-attrs/gtkhtml: Added.
* iExploder/iexploder-1.7.2/src/html-attrs/internet_explorer6: Added.
* iExploder/iexploder-1.7.2/src/html-attrs/mozilla: Added.
* iExploder/iexploder-1.7.2/src/html-attrs/other: Added.
* iExploder/iexploder-1.7.2/src/html-attrs/webkit: Added.
* iExploder/iexploder-1.7.2/src/html-tags: Added.
* iExploder/iexploder-1.7.2/src/html-tags/dillo: Added.
* iExploder/iexploder-1.7.2/src/html-tags/gtkhtml: Added.
* iExploder/iexploder-1.7.2/src/html-tags/mozilla: Added.
* iExploder/iexploder-1.7.2/src/html-tags/other: Added.
* iExploder/iexploder-1.7.2/src/html-tags/webkit: Added.
* iExploder/iexploder-1.7.2/src/html-values: Added.
* iExploder/iexploder-1.7.2/src/html-values/dillo: Added.
* iExploder/iexploder-1.7.2/src/html-values/gtkhtml: Added.
* iExploder/iexploder-1.7.2/src/html-values/mozilla: Added.
* iExploder/iexploder-1.7.2/src/html-values/other: Added.
* iExploder/iexploder-1.7.2/src/html-values/webkit: Added.
* iExploder/iexploder-1.7.2/src/iexploder.cgi: Added.
* iExploder/iexploder-1.7.2/src/iexploder.rb: Added.
* iExploder/iexploder-1.7.2/src/index.html: Added.
* iExploder/iexploder-1.7.2/src/media: Added.
* iExploder/iexploder-1.7.2/src/media/blank.ogg: Added.
* iExploder/iexploder-1.7.2/src/media/blank.snd: Added.
* iExploder/iexploder-1.7.2/src/media/blank.wav: Added.
* iExploder/iexploder-1.7.2/src/media/bug.bmp: Added.
* iExploder/iexploder-1.7.2/src/media/bug.gif: Added.
* iExploder/iexploder-1.7.2/src/media/bug.ico: Added.
* iExploder/iexploder-1.7.2/src/media/bug.jng: Added.
* iExploder/iexploder-1.7.2/src/media/bug.jpg: Added.
* iExploder/iexploder-1.7.2/src/media/bug.png: Added.
* iExploder/iexploder-1.7.2/src/media/bug.svg: Added.
* iExploder/iexploder-1.7.2/src/media/bug.tiff: Added.
* iExploder/iexploder-1.7.2/src/media/bug.xbm: Added.
* iExploder/iexploder-1.7.2/src/media/bug.xpm: Added.
* iExploder/iexploder-1.7.2/src/mime-types: Added.
* iExploder/iexploder-1.7.2/src/mime-types/dillo: Added.
* iExploder/iexploder-1.7.2/src/mime-types/mozilla: Added.
* iExploder/iexploder-1.7.2/src/mime-types/webkit: Added.
* iExploder/iexploder-1.7.2/src/protocols: Added.
* iExploder/iexploder-1.7.2/src/protocols/dillo: Added.
* iExploder/iexploder-1.7.2/src/protocols/gtkhtml: Added.
* iExploder/iexploder-1.7.2/src/protocols/mozilla: Added.
* iExploder/iexploder-1.7.2/src/protocols/webkit: Added.
* iExploder/iexploder-1.7.2/src/scanner.rb: Added.
* iExploder/iexploder-1.7.2/src/version.rb: Added.
* iExploder/iexploder-1.7.2/src/webserver.rb: Added.
* iExploder/iexploder-1.7.2/testcases: Added.
* iExploder/iexploder-1.7.2/testcases/testcase-Linux_x86_64_rv2.0b6pre_Gecko-20100904_Firefox-4.0b6pre-TEST-8375-1_59.html: Added.
* iExploder/iexploder-1.7.2/testcases/testcase-Opera-9.80_Linux_x86_64_en_Presto-2.6.30_Version-10.61-16704-3_108,3.html: Added.
* iExploder/iexploder-1.7.2/testcases/testcase-U_Intel_Mac_OS_X_10_6_4_en-US_AppleWebKit-534.8_Chrome-7.0.529.0-TEST-611-3_36,9.html: Added.
* iExploder/iexploder-1.7.2/testcases/testcase-U_Intel_Mac_OS_X_10_6_4_en-US_AppleWebKit-534.8_hrome-7.0.529.0-TEST-55313622206-3_6,0.html: Added.
* iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.6_Chrome-7.0.503.1-TEST-120813-8_72,56,24,8,0.html: Added.
* iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.6_Chrome-7.0.503.1-TEST-121240-3_81,3.html: Added.
* iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.7_Chrome-7.0.513.0-4800-5_80,65,15.html: Added.
* iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.7_Chrome-7.0.513.0-TEST-23583190347-3_15,12.html: Added.
* iExploder/iexploder-1.7.2/tools: Added.
* iExploder/iexploder-1.7.2/tools/lasthit.rb: Added.
* iExploder/iexploder-1.7.2/tools/osx_last_crash.rb: Added.
* iExploder/iexploder-1.7.2/tools/release_src.sh: Added.
* iExploder/iexploder-1.7.2/tools/update_html_tags_from_sources.sh: Added.
* iExploder/tools: Removed.

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

11 years agoReviewed by Gavin Barraclough.
cwzwarich@webkit.org [Tue, 14 Dec 2010 00:02:49 +0000 (00:02 +0000)]
Reviewed by Gavin Barraclough.

JavaScriptCore should not use "asm volatile" outside of a function
https://bugs.webkit.org/show_bug.cgi?id=50991

* jit/JITStubs.cpp: Remove the volatile keyword from asm statements.

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

11 years agoFix windows build.
weinig@apple.com [Mon, 13 Dec 2010 23:39:56 +0000 (23:39 +0000)]
Fix windows build.

* UIProcess/win/WebView.h:

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

11 years agoFix windows build.
weinig@apple.com [Mon, 13 Dec 2010 23:39:11 +0000 (23:39 +0000)]
Fix windows build.

* UIProcess/win/WebInspectorProxyWin.cpp:
(WebKit::WebInspectorProxy::platformCreateInspectorPage):
* UIProcess/win/WebView.h:
(WebKit::WebView::create):

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

11 years agoRemove associated page concept from WKView constructor
weinig@apple.com [Mon, 13 Dec 2010 23:23:19 +0000 (23:23 +0000)]
Remove associated page concept from WKView constructor
https://bugs.webkit.org/show_bug.cgi?id=50983

Reviewed by Anders Carlsson.

Step 1: Remove associate page constructors from WKView and make
all views use the shared namespace for the context.

WebKit2:

* UIProcess/API/C/win/WKView.cpp:
* UIProcess/API/C/win/WKView.h:
* UIProcess/API/mac/WKView.h:
* UIProcess/API/mac/WKView.mm:
(-[WKView initWithFrame:contextRef:pageGroupRef:]):
* UIProcess/API/qt/qwkcontext.cpp:
* UIProcess/API/qt/qwkcontext.h:
* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::WebInspectorProxy::platformCreateInspectorPage):
* UIProcess/win/WebView.cpp:
(WebKit::WebView::WebView):
* UIProcess/win/WebView.h:
(WebKit::WebView::create):

WebKitTools:

* TestWebKitAPI/PlatformWebView.h:
* TestWebKitAPI/mac/PlatformWebViewMac.mm:
* TestWebKitAPI/win/PlatformWebViewWin.cpp:
* WebKitTestRunner/PlatformWebView.h:
* WebKitTestRunner/TestController.cpp:
(WTR::createOtherPage):
* WebKitTestRunner/mac/PlatformWebViewMac.mm:
* WebKitTestRunner/qt/PlatformWebViewQt.cpp:
* WebKitTestRunner/win/PlatformWebViewWin.cpp:

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

11 years ago2010-12-13 Joone Hur <joone@kldp.org>
commit-queue@webkit.org [Mon, 13 Dec 2010 23:20:55 +0000 (23:20 +0000)]
2010-12-13  Joone Hur  <joone@kldp.org>

        Reviewed by Eric Seidel.

        WebKit fails to compile when building with WML support enabled
        https://bugs.webkit.org/show_bug.cgi?id=42943

        Use TextPosition instead of lineNumber() and columNumber().

        No new tests are added, because this is just a build fix.

        * dom/XMLDocumentParser.h: Make lineNumber() private.
        * wml/WMLErrorHandling.cpp:
        (WebCore::reportWMLError): Use TextPosition instead of lineNumber() and columnNumber().

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

11 years agoFix build.
andersca@apple.com [Mon, 13 Dec 2010 23:19:59 +0000 (23:19 +0000)]
Fix build.

* UIProcess/WebPageProxy.h:

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

11 years agoAX: lists and list boxes need different attributes
cfleizach@apple.com [Mon, 13 Dec 2010 23:06:29 +0000 (23:06 +0000)]
AX: lists and list boxes need different attributes
https://bugs.webkit.org/show_bug.cgi?id=50978

Reviewed by Beth Dakin.

WebCore:

Separate out the attributes being returned for lists (<ul>) and listboxes (<select multiple>).

* accessibility/mac/AccessibilityObjectWrapper.mm:
(-[AccessibilityObjectWrapper accessibilityAttributeNames]):

LayoutTests:

* platform/mac/accessibility/lists-expected.txt:

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

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=50963
hyatt@apple.com [Mon, 13 Dec 2010 23:05:25 +0000 (23:05 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=50963

Reviewed by Sam Weinig.

REGRESSION: Scrolling nested iframes is messed up on platforms that use the cross-platform ScrollView.

The selfClipRect and childrenClipRect methods of RenderLayer were incorrectly relying on the bounding box
of the root layer.  This bounding box was only coincidentally incorporating overflow as part of the
RenderLayer's bounds.  Since I fixed the RenderLayer bounds to not include layout overflow any longer,
this check is now exposed as incorrect.  Use the entire document size  when computing layer clip
rects.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::childrenClipRect):
(WebCore::RenderLayer::selfClipRect):
* rendering/RenderView.h:
(WebCore::RenderView::documentRect):

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

11 years ago2010-12-13 Chris Fleizach <cfleizach@apple.com>
cfleizach@apple.com [Mon, 13 Dec 2010 23:05:20 +0000 (23:05 +0000)]
2010-12-13  Chris Fleizach  <cfleizach@apple.com>

        Reviewed by Beth Dakin.

        AX: lists and list boxes need different attributes
        https://bugs.webkit.org/show_bug.cgi?id=50978

        Separate out the attributes being returned for lists (<ul>) and listboxes (<select multiple>).

        * accessibility/mac/AccessibilityObjectWrapper.mm:
        (-[AccessibilityObjectWrapper accessibilityAttributeNames]):

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

11 years agoWebKit2: Leaks a WebView when opening/closing Web Inspector on Windows
bweinstein@apple.com [Mon, 13 Dec 2010 23:02:47 +0000 (23:02 +0000)]
WebKit2: Leaks a WebView when opening/closing Web Inspector on Windows
https://bugs.webkit.org/show_bug.cgi?id=50975
<rdar://problem/8763501>

Reviewed by Adam Roben.

Make m_inspectorView be a RefPtr<WebView>, instead of a WebView*.

* UIProcess/WebInspectorProxy.cpp:
(WebKit::WebInspectorProxy::WebInspectorProxy): If we are on Windows, include WebView.h.
* UIProcess/WebInspectorProxy.h: Change the type of m_inspectorView to a RefPtr<WebView>.
* UIProcess/win/WebInspectorProxyWin.cpp:
(WebKit::WebInspectorProxy::platformCreateInspectorPage): Remove the call to leakRef when creating the WebView.

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

11 years agoPass the complex text input state all the way to the UI process
andersca@apple.com [Mon, 13 Dec 2010 23:01:44 +0000 (23:01 +0000)]
Pass the complex text input state all the way to the UI process
https://bugs.webkit.org/show_bug.cgi?id=50980

Reviewed by Darin Adler.

* PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::setComplexTextInputEnabled):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::setComplexTextInputEnabled):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/Plugins/Netscape/NetscapePlugin.h:
* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::pluginComplexTextInputIdentifier):
* WebProcess/Plugins/Plugin.h:
* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::pluginComplexTextInputIdentifier):
(WebKit::PluginProxy::setComplexTextInputEnabled):
* WebProcess/Plugins/PluginProxy.h:
* WebProcess/Plugins/PluginProxy.messages.in:
* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::setComplexTextInputEnabled):

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

11 years agoWindows production build fix.
sfalken@apple.com [Mon, 13 Dec 2010 23:01:36 +0000 (23:01 +0000)]
Windows production build fix.
Try copying ICU 4.6 in addition to 4.4 and 4.2.

* JavaScriptCore.vcproj/jsc/jscPostBuild.cmd:

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

11 years agoUnreviewed. Updated chromium test expectations.
jianli@chromium.org [Mon, 13 Dec 2010 22:50:59 +0000 (22:50 +0000)]
Unreviewed. Updated chromium test expectations.

* platform/chromium/test_expectations.txt:

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

11 years agoChange the WebKit2 public API so there is no explicit WKPageNamespace object
weinig@apple.com [Mon, 13 Dec 2010 22:38:27 +0000 (22:38 +0000)]
Change the WebKit2 public API so there is no explicit WKPageNamespace object
https://bugs.webkit.org/show_bug.cgi?id=50898

Reviewed by Anders Carlsson.

WebKit2:

* Shared/API/c/WKBase.h: Remove definition of WKPageNamespaceRef.
* UIProcess/API/C/WKAPICast.h: Remove toAPI/toImpl for WKPageNamespaceRef.

* UIProcess/API/C/WKPage.cpp:
* UIProcess/API/C/WKPage.h:
Replace WKPageGetPageNamespace with WKPageGetContext.

* UIProcess/API/C/WKPageNamespace.cpp: Removed.
* UIProcess/API/C/WKPageNamespace.h: Removed.

* UIProcess/API/C/WebKit2.h: Remove #include of WKPageNamespace.h.

* UIProcess/API/C/win/WKView.cpp:
(WKViewCreate): Changed to take a WKContextRef instead of a WKPageNamespaceRef.
(WKViewCreateUsingSharedProcess): Added. Similar to WKViewCreate except that
all callers of it will have their views end up in the same shared process, whereas
with WKViewCreate, a new internal page namespace will be created and could place
the view's WebPage into a new process.
(WKViewCreateForAssociatedPage): Added. Creates a view that is forced to use the
same process as the passed in page.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::WebView):
(WebKit::WebView::initialize):
* UIProcess/win/WebView.h:
(WebKit::WebView::create):
(WebKit::WebView::createUsingSharedProcess):
(WebKit::WebView::createForAssociatedPage):
Implementation of the WKView create functions.

* UIProcess/API/C/win/WKView.h:
* UIProcess/API/mac/WKView.h:
* UIProcess/API/mac/WKView.mm:
(-[WKView initWithFrame:]):
(-[WKView initWithFrame:contextRef:]):
(-[WKView initWithFrame:contextRef:pageGroupRef:]):
(-[WKView initWithFrame:contextRef:usingSharedProcess:]):
(-[WKView initWithFrame:contextRef:pageGroupRef:usingSharedProcess:]):
(-[WKView initWithFrame:forAssociatedPageRef:]):
(-[WKView initWithFrame:forAssociatedPageRef:pageGroupRef:]):
(-[WKView initWithFrame:pageNamespace:pageGroup:]):
Add new initializers for the objective-c WKView. It follows the same
pattern as WKViewRef.

* UIProcess/API/qt/qwkcontext.cpp:
(QWKContext::QWKContext):
* UIProcess/API/qt/qwkcontext.h:
Remove uses of WKPageNamespaceRef.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::sharedPageNamespace): Returns a shared
page namespace used by the view's createUsingSharedProcess constructions.
(WebKit::WebContext::createPageNamespace): Change to return
a PassRefPtr to make things clearer.
(WebKit::WebContext::pageNamespaceWasDestroyed): Clear the shared
namespace if it is cleared.
* UIProcess/WebContext.h:

* UIProcess/WebPageNamespace.h: Remove unused "struct WKContextStatistics".

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::context):
* UIProcess/WebPageProxy.h:
Add context getter.

* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::WebInspectorProxy::platformCreateInspectorPage):
* UIProcess/win/WebInspectorProxyWin.cpp:
(WebKit::WebInspectorProxy::platformCreateInspectorPage):
Use forAssociatedPageRef constructor for the WebInspector view.

* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
* win/WebKit2Generated.make:
Remove WKPageNamespace.h/cpp.

WebKitTools:

* MiniBrowser/mac/AppDelegate.h:
* MiniBrowser/mac/AppDelegate.m:
* MiniBrowser/mac/BrowserWindowController.h:
* MiniBrowser/mac/BrowserWindowController.m:
* MiniBrowser/win/BrowserView.cpp:
Convert MiniBrowser to not use PageNamespaces.

* TestWebKitAPI/PlatformWebView.h:
* TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
* TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
* TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
* TestWebKitAPI/Tests/WebKit2/Find.cpp:
* TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp:
* TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp:
* TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp:
* TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
* TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
* TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
* TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
* TestWebKitAPI/Tests/WebKit2/win/AltKeyGeneratesWMSysCommand.cpp:
* TestWebKitAPI/Tests/WebKit2/win/WMCloseCallsUIClientClose.cpp:
* TestWebKitAPI/mac/PlatformWebViewMac.mm:
* TestWebKitAPI/win/PlatformWebViewWin.cpp:
Convert TestWebKitAPI to not use PageNamespaces.

* WebKitTestRunner/PlatformWebView.h:
* WebKitTestRunner/TestController.cpp:
* WebKitTestRunner/TestController.h:
* WebKitTestRunner/mac/PlatformWebViewMac.mm:
* WebKitTestRunner/qt/PlatformWebViewQt.cpp:
* WebKitTestRunner/win/PlatformWebViewWin.cpp:
Convert WebKitTestRunner to not use PageNamespaces.

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

11 years ago2010-12-13 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 13 Dec 2010 22:34:19 +0000 (22:34 +0000)]
2010-12-13  Simon Fraser  <simon.fraser@apple.com>

        GraphicsContextPrivate.h was removed. Nuke it from the project.

        * WebCore.xcodeproj/project.pbxproj:

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

11 years agoUnreviewed build fix.
bfulgham@webkit.org [Mon, 13 Dec 2010 22:29:25 +0000 (22:29 +0000)]
Unreviewed build fix.

* UIProcess/win/WebInspectorProxyWin.cpp: Non-Apple builds
need to include <wtf/RetainPtr.h>.

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

11 years ago2010-12-13 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Mon, 13 Dec 2010 22:19:48 +0000 (22:19 +0000)]
2010-12-13  Michael Saboff  <msaboff@apple.com>

        Reviewed by Oliver Hunt.

        REGRESSION: mobileme mail viewing is broken
        https://bugs.webkit.org/show_bug.cgi?id=50884

        Fixed problem where simple parenthesis (those without capture and
        with a fixed count) where not propagating backtrack to labels for
        nested parentheses.  Also added the nesting level for the parentheses
        state created in that case as well.

        * yarr/RegexJIT.cpp:
        (JSC::Yarr::RegexGenerator::BacktrackDestination::copyBacktrackToLabel):
        (JSC::Yarr::RegexGenerator::TermGenerationState::isLastTerm):
        (JSC::Yarr::RegexGenerator::ParenthesesTail::generateCode):
        (JSC::Yarr::RegexGenerator::generateParenthesesSingle):
2010-12-13  Michael Saboff  <msaboff@apple.com>

        Reviewed by Oliver Hunt.

        REGRESSION: mobileme mail viewing is broken
        https://bugs.webkit.org/show_bug.cgi?id=50884

        Added a test to check parentheses nesting within parentheses that
        don't capture and that are fixed count.  There is special handling
        for this case in the RegExp JIT code.

        * fast/regex/parentheses-expected.txt:
        * fast/regex/script-tests/parentheses.js:

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

11 years ago2010-12-13 Chris Fleizach <cfleizach@apple.com>
cfleizach@apple.com [Mon, 13 Dec 2010 22:15:50 +0000 (22:15 +0000)]
2010-12-13  Chris Fleizach  <cfleizach@apple.com>

        Reviewed by Beth Dakin.

        Fix legend.htm accessibility test so it doesn't dump all attributes
        https://bugs.webkit.org/show_bug.cgi?id=50957

        * accessibility/legend.html:
        * platform/mac/accessibility/legend-expected.txt:

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

11 years ago2010-12-13 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Mon, 13 Dec 2010 22:08:22 +0000 (22:08 +0000)]
2010-12-13  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r73922.
        http://trac.webkit.org/changeset/73922
        https://bugs.webkit.org/show_bug.cgi?id=50964

        Remove rebaseline results due to that 73914 has been rolled
        out (Requested by jianli on #webkit).

        * platform/chromium-linux/http/tests/security/xss-DENIED-frame-name-expected.txt: Copied from LayoutTests/platform/chromium-win/http/tests/security/xss-DENIED-frame-name-expected.txt.
        * platform/chromium-mac/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
        * platform/chromium-mac/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
        * platform/chromium-mac/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
        * platform/chromium-mac/http/tests/security/xss-DENIED-frame-name-expected.txt:
        * platform/chromium-win/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
        * platform/chromium-win/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
        * platform/chromium-win/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
        * platform/chromium-win/http/tests/security/xss-DENIED-frame-name-expected.txt:
        * platform/chromium/test_expectations.txt:

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

11 years agoRemove some empty files that should've been removed as part of r73942.
jhoneycutt@apple.com [Mon, 13 Dec 2010 22:03:29 +0000 (22:03 +0000)]
Remove some empty files that should've been removed as part of r73942.

Reviewed by Ojan Vafai.

* editing/selection/extend-to-line-boundary-expected.txt: Removed.
* editing/selection/extend-to-line-boundary.html: Removed.

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

11 years agoUnreviewed build fix after r73807.
bfulgham@webkit.org [Mon, 13 Dec 2010 22:00:20 +0000 (22:00 +0000)]
Unreviewed build fix after r73807.

Added stub implementation of Download object.

* WebProcess/Downloads/curl: Added.
* WebProcess/Downloads/curl/DownloadCurl.cpp: Added.
(WebKit::Download::start):
(WebKit::Download::startWithHandle):
(WebKit::Download::cancel):
(WebKit::Download::platformInvalidate):
* win/WebKit2.vcproj: Exclude DownloadCFNet for Cairo builds,
added DownloadCurl (excluded for regular Apple builds.)

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

11 years ago2010-12-13 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Mon, 13 Dec 2010 21:57:49 +0000 (21:57 +0000)]
2010-12-13  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Antti Koivisto.

        HTMLMediaElement::endedPlayback should not return true if duration is zero
        https://bugs.webkit.org/show_bug.cgi?id=50962

        (WebCore::HTMLMediaElement::endedPlayback): Don't return true when duration is zero because a
        media file can't play if it has no duration, therefore it can't have ended playback.

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

11 years agoAdd the ability for plug-ins to toggle complex text input
andersca@apple.com [Mon, 13 Dec 2010 21:53:11 +0000 (21:53 +0000)]
Add the ability for plug-ins to toggle complex text input
https://bugs.webkit.org/show_bug.cgi?id=50966

Reviewed by Sam Weinig.

* PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::PluginControllerProxy):
Initialize m_isComplexTextInputEnabled.

(WebKit::PluginControllerProxy::setComplexTextInputEnabled):
Update m_isComplexTextInputEnabled.

* PluginProcess/PluginControllerProxy.h:
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::NetscapePlugin):
Initialize m_pluginHasFocus and m_windowHasFocus.

* WebProcess/Plugins/Netscape/NetscapePlugin.h:
(WebKit::NetscapePlugin::isWindowActive):
Return m_windowHasFocus.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::platformSetFocus):
Update m_pluginHasFocus and call setComplexTextInputEnabled.

(WebKit::NetscapePlugin::windowFocusChanged):
Update m_windowHasFocus and call setComplexTextInputEnabled.

* WebProcess/Plugins/PluginController.h:
Add setComplexTextInputEnabled.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::setComplexTextInputEnabled):
* WebProcess/Plugins/PluginView.h:
Add setComplexTextInputEnabled

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

11 years agoUnreviewed build fix after r73840.
bfulgham@webkit.org [Mon, 13 Dec 2010 21:25:27 +0000 (21:25 +0000)]
Unreviewed build fix after r73840.

* WebCore.vcproj/WebCoreGeneratedCairo.vsprops: Update property file
to pass three arguments to build-generated-files.sh, just like
the official Apple port.

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

11 years agoUnreviewed.
antti@apple.com [Mon, 13 Dec 2010 21:21:35 +0000 (21:21 +0000)]
Unreviewed.

Adding

http/tests/local/link-stylesheet-load-order.html
http/tests/local/link-stylesheet-load-order-preload.html

to the Gtk skip list.

* platform/gtk/Skipped:

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

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=50956
mthole@apple.com [Mon, 13 Dec 2010 21:11:51 +0000 (21:11 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=50956
WebAuthenticationPanel.nib appears to have a cut-off sentence

Rubber-stamped by John Sullivan.

Replace the sentence fragment in the sheet layout with "<-- do not localize -->" style text.
The contents of this text field are updated dynamically before the sheet is displayed.

* Panels/English.lproj/WebAuthenticationPanel.nib/designable.nib:
* Panels/English.lproj/WebAuthenticationPanel.nib/keyedobjects.nib:

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

11 years agoWebCore: Make sure the defaultSpaceEventHandler does logical scrolling.
hyatt@apple.com [Mon, 13 Dec 2010 20:54:47 +0000 (20:54 +0000)]
WebCore: Make sure the defaultSpaceEventHandler does logical scrolling.

Reviewed by Adam Roben.

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

WebKit2: Remove the space behavior that I added.  It's covered in EventHandler in WebCore
already for Windows.

Reviewed by Adam Roben.

* WebProcess/WebPage/win/WebPageWin.cpp:
(WebKit::WebPage::performDefaultBehaviorForKeyEvent):

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

11 years ago2010-12-13 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
commit-queue@webkit.org [Mon, 13 Dec 2010 20:41:03 +0000 (20:41 +0000)]
2010-12-13  Gabor Rapcsanyi  <rgabor@inf.u-szeged.hu>

        Reviewed by Eric Seidel.

        webkit-patch rollout should be able to do multi-revision rollouts
        https://bugs.webkit.org/show_bug.cgi?id=33336

        Make it possible to pass more than one revision to webkit-patch.

        * Scripts/webkitpy/common/checkout/api.py:
        * Scripts/webkitpy/common/checkout/changelog.py:
        * Scripts/webkitpy/common/checkout/changelog_unittest.py:
        * Scripts/webkitpy/tool/commands/abstractsequencedcommand.py:
        * Scripts/webkitpy/tool/commands/download.py:
        * Scripts/webkitpy/tool/commands/download_unittest.py:
        * Scripts/webkitpy/tool/mocktool.py:
        * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
        * Scripts/webkitpy/tool/steps/revertrevision.py:

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

11 years ago2010-12-13 Eric Seidel <eric@webkit.org>
eric@webkit.org [Mon, 13 Dec 2010 20:36:22 +0000 (20:36 +0000)]
2010-12-13  Eric Seidel  <eric@webkit.org>

        Unreviewed.

        Teach webkit-patch how to search bugzilla
        https://bugs.webkit.org/show_bug.cgi?id=50500

        webkit-patch bug-search fails when there is only one result.
        Turns out we needed a bit more logic in our result count parsing code.

        * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
        * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:

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

11 years ago2010-12-13 Matthew Delaney <mdelaney@apple.com>
mdelaney@apple.com [Mon, 13 Dec 2010 20:35:28 +0000 (20:35 +0000)]
2010-12-13  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Simon Fraser.

        https://bugs.webkit.org/show_bug.cgi?id=50591 Adopt new CG API for canvas

        No new tests necessary.

        * Configurations/WebCore.xcconfig: Added IOSurface framework link.
        * html/canvas/CanvasRenderingContext2D.cpp: Used IOSurface def. instead.
        * platform/graphics/ImageBuffer.h: Pushed renderingMode down into ctor.
        * platform/graphics/cairo/ImageBufferCairo.cpp:
        * platform/graphics/cg/ImageBufferCG.cpp:
        * platform/graphics/haiku/ImageBufferHaiku.cpp:
        * platform/graphics/qt/ImageBufferQt.cpp:
        * platform/graphics/skia/ImageBufferSkia.cpp:
        * platform/graphics/wince/ImageBufferWinCE.cpp:
        * platform/graphics/wx/ImageBufferWx.cpp:

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

11 years agoUnreviewed.
antti@apple.com [Mon, 13 Dec 2010 20:30:49 +0000 (20:30 +0000)]
Unreviewed.

Adding

http/tests/local/link-stylesheet-load-order.html
http/tests/local/link-stylesheet-load-order-preload.html

to Mac WebKit2 and Qt skip lists.

* platform/mac-wk2/Skipped:
* platform/qt/Skipped:

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

11 years agoUnreviewed, rolling out r73923.
jianli@chromium.org [Mon, 13 Dec 2010 20:20:52 +0000 (20:20 +0000)]
Unreviewed, rolling out r73923.
http://trac.webkit.org/changeset/73923
https://bugs.webkit.org/show_bug.cgi?id=50944

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2010-12-13
Broke editing/selection/extend-selection-home-end.html on non-
mac platforms. Looks like a real bug. (Requested by ojan on

WebCore:

* editing/SelectionController.cpp:
(WebCore::SelectionController::positionForPlatform):
(WebCore::SelectionController::modifyExtendingForward):

LayoutTests:

* editing/selection/extend-to-line-boundary-expected.txt: Removed.
* editing/selection/extend-to-line-boundary.html: Removed.

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