WebKit-https.git
9 years agoWebContextMenuClient::fixMenuReceivedFromOldSafari is no longer needed on Windows
bweinstein@apple.com [Fri, 3 Dec 2010 22:36:04 +0000 (22:36 +0000)]
WebContextMenuClient::fixMenuReceivedFromOldSafari is no longer needed on Windows
https://bugs.webkit.org/show_bug.cgi?id=50486

Reviewed by Brady Eidson.

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

* WebCoreSupport/WebContextMenuClient.cpp:
(WebContextMenuClient::getCustomMenuFromDefaultItems):

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

9 years ago2010-12-03 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Fri, 3 Dec 2010 22:32:07 +0000 (22:32 +0000)]
2010-12-03  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed build fix.

        Try to fix EFL build after r73273.

        * CMakeLists.txt:

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

9 years ago2010-12-03 Chris Guillory <chris.guillory@google.com>
commit-queue@webkit.org [Fri, 3 Dec 2010 22:27:53 +0000 (22:27 +0000)]
2010-12-03  Chris Guillory  <chris.guillory@google.com>

        Reviewed by Chris Fleizach.

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

        * platform/win/Skipped:
2010-12-03  Chris Guillory  <chris.guillory@google.com>

        Reviewed by Chris Fleizach.

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

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

        * accessibility/AccessibilityRenderObject.cpp:
        (WebCore::AccessibilityRenderObject::renderParentObject):
        (WebCore::AccessibilityRenderObject::addChildren):
        (WebCore::AccessibilityRenderObject::addRenderWidgetChildren):
        * accessibility/AccessibilityRenderObject.h:
        * accessibility/chromium/AccessibilityObjectChromium.cpp:
        (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
2010-12-03  Chris Guillory  <chris.guillory@google.com>

        Reviewed by Chris Fleizach.

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

        * public/WebAccessibilityObject.h:
        * src/WebAccessibilityObject.cpp:
        (WebKit::WebAccessibilityObject::equals):
        (WebKit::WebAccessibilityObject::parentObject):
2010-12-03  Chris Guillory  <chris.guillory@google.com>

        Reviewed by Chris Fleizach.

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

        * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
        (AccessibilityUIElement::AccessibilityUIElement):
        (AccessibilityUIElement::parentElementCallback):
        (AccessibilityUIElement::isEqualCallback):
        * DumpRenderTree/chromium/AccessibilityUIElement.h:
        * DumpRenderTree/chromium/CppBoundClass.cpp:
        (CppBoundClass::getFromCppVariant):
        * DumpRenderTree/chromium/CppBoundClass.h:

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

9 years agoExport the 4 new API headers I added today.
beidson@apple.com [Fri, 3 Dec 2010 22:10:51 +0000 (22:10 +0000)]
Export the 4 new API headers I added today.

Reviewed by good sense in fixing builds.

* WebKit2.xcodeproj/project.pbxproj:

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

9 years ago2010-12-03 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Fri, 3 Dec 2010 22:08:30 +0000 (22:08 +0000)]
2010-12-03  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] clean up chromium test expectations.

        * platform/chromium-mac/platform/mac/editing: Removed.
        * platform/chromium-mac/platform/mac/editing/spelling: Removed.
        * platform/chromium-mac/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.checksum: Removed.
        * platform/chromium-mac/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.png: Removed.
        * platform/chromium-win/platform/mac/editing/spelling: Removed.
        * platform/chromium-win/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.checksum: Removed.
        * platform/chromium-win/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.png: Removed.

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

9 years ago<rdar://problem/8725679> and https://bugs.webkit.org/show_bug.cgi?id=50482
beidson@apple.com [Fri, 3 Dec 2010 22:06:14 +0000 (22:06 +0000)]
<rdar://problem/8725679> and https://bugs.webkit.org/show_bug.cgi?id=50482
Crash trying to empty caches with no WebProcess.

Reviewed by Sam Weinig.

* Shared/WebProcessCreationParameters.h: Add the "clear this cache" flags.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::ensureWebProcess): If either of the clear cache flags are set when a new WebProcess is
  created, include those flags in the parameters.
(WebKit::WebContext::clearResourceCaches): If the current process isn't valid, flag this action to be done later.
(WebKit::WebContext::clearApplicationCache): Ditto.
* UIProcess/WebContext.h:

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

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

9 years ago2010-12-03 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 3 Dec 2010 22:02:42 +0000 (22:02 +0000)]
2010-12-03  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Tony Chang.

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

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

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

        * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
        * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
        * Scripts/webkitpy/tool/commands/rebaselineserver.py:

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

9 years agoFix failing API test. The default san serif font on the mac
weinig@apple.com [Fri, 3 Dec 2010 21:51:30 +0000 (21:51 +0000)]
Fix failing API test. The default san serif font on the mac
should be Helvetica, not Courier.

Reviewed by Gavin Barraclough.

* Shared/WebPreferencesStore.h:

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

9 years ago2010-11-30 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Fri, 3 Dec 2010 21:44:21 +0000 (21:44 +0000)]
2010-11-30  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dave Hyatt.

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

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

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::splitBlocks):
        (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
2010-12-03  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dave Hyatt.

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

        * fast/multicol/span/anonymous-before-child-parent-crash.html: Added.
        * fast/multicol/span/anonymous-split-block-crash.html: Added.
        * platform/mac/fast/multicol/span/anonymous-before-child-parent-crash-expected.checksum: Added.
        * platform/mac/fast/multicol/span/anonymous-before-child-parent-crash-expected.png: Added.
        * platform/mac/fast/multicol/span/anonymous-before-child-parent-crash-expected.txt: Added.
        * platform/mac/fast/multicol/span/anonymous-split-block-crash-expected.checksum: Added.
        * platform/mac/fast/multicol/span/anonymous-split-block-crash-expected.png: Added.
        * platform/mac/fast/multicol/span/anonymous-split-block-crash-expected.txt: Added.

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

9 years ago2010-12-03 Mark Rowe <mrowe@apple.com>
mrowe@apple.com [Fri, 3 Dec 2010 21:41:00 +0000 (21:41 +0000)]
2010-12-03  Mark Rowe  <mrowe@apple.com>

        Reviewed by Eric Seidel.

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

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

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

        * platform/graphics/ImageSource.cpp:
        (WebCore::ImageSource::frameDurationAtIndex): Update the formatting of the comment and style
        of the code to match that in ImageSourceCG.
        * platform/graphics/cg/ImageSourceCG.cpp:
        (WebCore::ImageSource::frameDurationAtIndex):

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

9 years ago2010-12-03 Chris Rogers <crogers@google.com>
crogers@google.com [Fri, 3 Dec 2010 21:38:16 +0000 (21:38 +0000)]
2010-12-03  Chris Rogers  <crogers@google.com>

        Unreviewed build fix.

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

        * platform/audio/AudioUtilities.cpp:
        (WebCore::AudioUtilities::discreteTimeConstantForSampleRate):

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

9 years ago2010-12-03 Chris Rogers <crogers@google.com>
crogers@google.com [Fri, 3 Dec 2010 21:17:29 +0000 (21:17 +0000)]
2010-12-03  Chris Rogers  <crogers@google.com>

        Unreviewed build fix.

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

        * GNUmakefile.am:

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

9 years ago2010-12-03 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 3 Dec 2010 21:12:00 +0000 (21:12 +0000)]
2010-12-03  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dirk Schulze.

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

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

        * platform/graphics/GraphicsContextPrivate.h:
        (WebCore::GraphicsContextState::GraphicsContextState):

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

9 years ago2010-12-03 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 3 Dec 2010 21:09:17 +0000 (21:09 +0000)]
2010-12-03  Simon Fraser  <simon.fraser@apple.com>

        Another Chromium build fix.

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

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

9 years ago2010-12-03 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 3 Dec 2010 20:53:42 +0000 (20:53 +0000)]
2010-12-03  Simon Fraser  <simon.fraser@apple.com>

        Fix Chromium build.

        * platform/graphics/skia/PlatformContextSkia.h:

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

9 years ago2010-12-03 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Fri, 3 Dec 2010 20:53:07 +0000 (20:53 +0000)]
2010-12-03  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

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

        * CMakeLists.txt:

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

9 years agoUpdate the Windows results for controls-without-preload.html to make the bots green...
jberlin@webkit.org [Fri, 3 Dec 2010 20:52:23 +0000 (20:52 +0000)]
Update the Windows results for controls-without-preload.html to make the bots green. Unreviewed.

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

* platform/win/media/controls-without-preload-expected.txt: Added.

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

9 years ago2010-12-03 Jia Pu <jpu@apple.com>
commit-queue@webkit.org [Fri, 3 Dec 2010 20:45:34 +0000 (20:45 +0000)]
2010-12-03  Jia Pu  <jpu@apple.com>

        Reviewed by Darin Adler.

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

        Added expected png file.

        * platform/mac/editing/spelling/delete-autocorrected-word-1-expected.checksum: Added.
        * platform/mac/editing/spelling/delete-autocorrected-word-1-expected.png: Added.
2010-12-03  Jia Pu  <jpu@apple.com>

        Reviewed by Darin Adler.

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

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

        This patch is to prepare WebKit to work with upcoming AppKit changes. The main changes are:
        1. Moved all calls to applyCorrectionPanelInfo() into handleCorrectionPanelResult().
        2. Added more user dictionary learning code.
        3. Removed m_ prefix in all member variables of CorrectionPanelInfo.

        * editing/CorrectionPanelInfo.h: Remove m_ prefix on member variables. Added ReasonForDismissingCorrectionPanel enum type.

        * editing/Editor.cpp: Moved all calls to applyCorrectionPanelInfo() into handleCorrectionPanelResult().
          Adopted new member variable naming in class CorrectionPanelInfo.
        (WebCore::Editor::respondToChangedSelection):
        (WebCore::Editor::~Editor):
        (WebCore::Editor::markMisspellingsAfterTypingToWord):
        (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
        (WebCore::Editor::correctionPanelTimerFired):
        (WebCore::Editor::handleCorrectionPanelResult):
        (WebCore::Editor::startCorrectionPanelTimer):
        (WebCore::Editor::stopCorrectionPanelTimer):
        (WebCore::Editor::handleCancelOperation):
        (WebCore::Editor::dismissCorrectionPanel):
        (WebCore::Editor::applyCorrectionPanelInfo):

        * editing/Editor.h: Changed signature of dismissCorrectionPanel to use ReasonForDismissingCorrectionPanel.

        * loader/EmptyClients.h: Ditto.
        (WebCore::EmptyEditorClient::dismissCorrectionPanel):

        * page/EditorClient.h: Ditto.
2010-12-03  Jia Pu  <jpu@apple.com>

        Reviewed by Darin Adler.

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

        * WebCoreSupport/WebEditorClient.h: Adopted new signature of dismissCorrectionPanel.

        * WebCoreSupport/WebEditorClient.mm:
        (WebEditorClient::~WebEditorClient): Adopted new signature of dismissCorrectionPanel.
        (WebEditorClient::showCorrectionPanel): Added more user dictionary learning code.
        (WebEditorClient::dismissCorrectionPanel): Adopted new signature of dismissCorrectionPanel.
2010-12-03  Jia Pu  <jpu@apple.com>

        Reviewed by Darin Adler.

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

        Adopted new signature of dismissCorrectionPanel.

        * WebProcess/WebCoreSupport/WebEditorClient.h:
        * WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm:
        (WebKit::WebEditorClient::dismissCorrectionPanel):

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

9 years agoWindows build fix. Unreviewed.
jberlin@webkit.org [Fri, 3 Dec 2010 20:35:15 +0000 (20:35 +0000)]
Windows build fix. Unreviewed.

* win/WebKit2Generated.make:
Add the new API files from http://trac.webkit.org/changeset/73281.

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

9 years ago2010-12-03 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Fri, 3 Dec 2010 20:11:23 +0000 (20:11 +0000)]
2010-12-03  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

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

        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired.focusElement):
        (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired):
        * inspector/front-end/ObjectPropertiesSection.js:
        (WebInspector.ObjectPropertyTreeElement.prototype._contextMenuEventFired):

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

9 years ago2010-12-03 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 3 Dec 2010 20:08:04 +0000 (20:08 +0000)]
2010-12-03  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Nikolas Zimmermann.

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

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

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::drawTextInternal):
        * platform/graphics/GraphicsContext.cpp:
        (WebCore::GraphicsContext::textDrawingMode):
        (WebCore::GraphicsContext::setTextDrawingMode):
        (WebCore::GraphicsContext::setPlatformTextDrawingMode):
        * platform/graphics/GraphicsContext.h:
        * platform/graphics/GraphicsContextPrivate.h:
        (WebCore::GraphicsContextState::GraphicsContextState):
        * platform/graphics/cairo/FontCairo.cpp:
        (WebCore::drawGlyphsShadow):
        (WebCore::Font::drawGlyphs):
        * platform/graphics/cg/GraphicsContextCG.cpp:
        (WebCore::GraphicsContext::setPlatformTextDrawingMode):
        * platform/graphics/chromium/FontLinux.cpp:
        (WebCore::Font::drawGlyphs):
        (WebCore::Font::drawComplexText):
        * platform/graphics/gtk/FontGtk.cpp:
        (WebCore::drawGlyphsShadow):
        (WebCore::Font::drawComplexText):
        * platform/graphics/mac/FontMac.mm:
        (WebCore::Font::drawGlyphs):
        * platform/graphics/openvg/PainterOpenVG.cpp:
        (WebCore::PlatformPainterState::PlatformPainterState):
        (WebCore::PainterOpenVG::textDrawingMode):
        (WebCore::PainterOpenVG::setTextDrawingMode):
        (WebCore::PainterOpenVG::drawText):
        * platform/graphics/qt/FontQt.cpp:
        (WebCore::drawTextCommon):
        * platform/graphics/skia/PlatformContextSkia.cpp:
        (WebCore::PlatformContextSkia::State::State):
        (WebCore::PlatformContextSkia::getTextDrawingMode):
        (WebCore::PlatformContextSkia::setTextDrawingMode):
        * platform/graphics/skia/SkiaFontWin.cpp:
        (WebCore::windowsCanHandleTextDrawing):
        (WebCore::paintSkiaText):
        * platform/graphics/texmap/TextureMapper.h:
        (WebCore::TextureMapper::setTextDrawingMode):
        (WebCore::TextureMapper::textDrawingMode):
        (WebCore::TextureMapper::TextureMapper):
        * platform/graphics/win/FontCGWin.cpp:
        (WebCore::drawGDIGlyphs):
        (WebCore::Font::drawGlyphs):
        * platform/graphics/wince/GraphicsContextWinCE.cpp:
        (WebCore::GraphicsContext::drawText):
        * rendering/InlineTextBox.cpp:
        (WebCore::updateGraphicsContext):
        * rendering/RenderSVGResourceGradient.cpp:
        (WebCore::RenderSVGResourceGradient::applyResource):
        * rendering/RenderSVGResourcePattern.cpp:
        (WebCore::RenderSVGResourcePattern::applyResource):
        * rendering/RenderSVGResourceSolidColor.cpp:
        (WebCore::RenderSVGResourceSolidColor::applyResource):
        * svg/SVGFont.cpp:
        (WebCore::Font::drawTextUsingSVGFont):

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

9 years ago2010-12-03 Chris Rogers <crogers@google.com>
crogers@google.com [Fri, 3 Dec 2010 20:05:14 +0000 (20:05 +0000)]
2010-12-03  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

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

        * wtf/Complex.h:
2010-12-03  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

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

        No new tests since audio API is not yet implemented.

        * CMakeLists.txt:
        * DerivedSources.make:
        * ForwardingHeaders/wtf/Complex.h: Added.
        * GNUmakefile.am:
        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * bindings/js/JSDOMWindowCustom.cpp:
        (WebCore::JSDOMWindow::audioContext):
        * features.pri:
        * page/DOMWindow.idl:
        * platform/audio/HRTFElevation.cpp:

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

9 years ago2010-12-03 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Fri, 3 Dec 2010 19:47:38 +0000 (19:47 +0000)]
2010-12-03  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by David Levin.

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

        * platform/text/wince/TextCodecWinCE.cpp:
        (WebCore::TextCodecWinCE::decode):

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

9 years agoGroundwork for <rdar://problem/7660733> and https://bugs.webkit.org/show_bug.cgi...
beidson@apple.com [Fri, 3 Dec 2010 19:41:49 +0000 (19:41 +0000)]
Groundwork for <rdar://problem/7660733> and https://bugs.webkit.org/show_bug.cgi?id=50191
WebKit2 Authentication Support

Reviewed by Anders Carlsson.

WebCore:

* WebCore.exp.in:

Expose the AuthenticationClient for WK2 platforms (Windows already does this):
* platform/network/mac/AuthenticationChallenge.h:
* platform/network/mac/AuthenticationMac.mm:
(-[WebCoreAuthenticationClientAsChallengeSender client]):
(WebCore::AuthenticationChallenge::authenticationClient):

* platform/network/qt/AuthenticationChallenge.h:
(WebCore::AuthenticationChallenge::authenticationClient):

WebKit2:

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

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

Build-system changes:
* DerivedSources.make:
* DerivedSources.pro:
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
* win/WebKit2Common.vsprops:

Messages and casts for IPC and APIs:
* Platform/CoreIPC/MessageID.h:
* Shared/API/c/WKBase.h:
* Shared/APIObject.h:
* Shared/WebCoreArgumentCoders.h:
* UIProcess/API/C/WKAPICast.h:
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::didReceiveMessage):

Stub out the AuthenticationChallenge class family:
* UIProcess/API/C/WKAuthenticationChallenge.cpp: Added.
(WKAuthenticationChallengeGetTypeID):
* UIProcess/API/C/WKAuthenticationChallenge.h: Added.
* UIProcess/API/C/WKCredential.cpp: Added.
(WKCredentialGetTypeID):
* UIProcess/API/C/WKCredential.h: Added.
* UIProcess/API/C/WKProtectionSpace.cpp: Added.
(WKProtectionSpaceGetTypeID):
* UIProcess/API/C/WKProtectionSpace.h: Added.

Add an Authentication listener for the client app to respond to:
* UIProcess/API/C/WKAuthenticationDecisionListener.cpp: Added.
(WKAuthenticationDecisionListenerGetTypeID):
(WKAuthenticationDecisionListenerUseCredential):
(WKAuthenticationDecisionListenerCancel):
* UIProcess/API/C/WKAuthenticationDecisionListener.h: Added.

Add Authentication related methods to the page loader client:
* UIProcess/API/C/WKPage.h:

Add empty implementations of the new API objects:
* UIProcess/Authentication: Added.
* UIProcess/Authentication/AuthenticationChallengeProxy.cpp: Added.
(WebKit::AuthenticationChallengeProxy::AuthenticationChallengeProxy):
(WebKit::AuthenticationChallengeProxy::~AuthenticationChallengeProxy):
(WebKit::AuthenticationChallengeProxy::useCredential):
(WebKit::AuthenticationChallengeProxy::cancel):
* UIProcess/Authentication/AuthenticationChallengeProxy.h: Added.
(WebKit::AuthenticationChallengeProxy::create):
(WebKit::AuthenticationChallengeProxy::listener):
(WebKit::AuthenticationChallengeProxy::type):

* UIProcess/Authentication/WebCredential.cpp: Added.
(WebKit::WebCredential::core):
* UIProcess/Authentication/WebCredential.h: Added.
(WebKit::WebCredential::create):
(WebKit::WebCredential::type):
* UIProcess/Authentication/WebProtectionSpace.cpp: Added.
(WebKit::WebProtectionSpace::WebProtectionSpace):
* UIProcess/Authentication/WebProtectionSpace.h: Added.
(WebKit::WebProtectionSpace::create):
(WebKit::WebProtectionSpace::type):

Add implementation of the Authentication decision listener:
* UIProcess/Authentication/AuthenticationDecisionListener.cpp: Added.
(WebKit::AuthenticationDecisionListener::AuthenticationDecisionListener):
(WebKit::AuthenticationDecisionListener::useCredential):
(WebKit::AuthenticationDecisionListener::cancel):
(WebKit::AuthenticationDecisionListener::detachChallenge):
* UIProcess/Authentication/AuthenticationDecisionListener.h: Added.
(WebKit::AuthenticationDecisionListener::create):
(WebKit::AuthenticationDecisionListener::type):

WebPage and PageLoaderClient glue:
* UIProcess/WebLoaderClient.cpp:
(WebKit::WebLoaderClient::canAuthenticateAgainstProtectionSpaceInFrame):
(WebKit::WebLoaderClient::didReceiveAuthenticationChallengeInFrame):
* UIProcess/WebLoaderClient.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::canAuthenticateAgainstProtectionSpaceInFrame):
(WebKit::WebPageProxy::didReceiveAuthenticationChallenge):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:

Add a manager to map the actual platform authentication challenges to a challenge ID,
as at least some platforms require the object identity to persist:
* WebProcess/Authentication: Added.
* WebProcess/Authentication/AuthenticationManager.cpp: Added.
(WebKit::generateAuthenticationChallengeID):
(WebKit::AuthenticationManager::shared):
(WebKit::AuthenticationManager::AuthenticationManager):
(WebKit::AuthenticationManager::didReceiveMessage):
(WebKit::AuthenticationManager::didReceiveAuthenticationChallenge):
(WebKit::AuthenticationManager::useCredentialForChallenge):
(WebKit::AuthenticationManager::continueWithoutCredentialForChallenge):
(WebKit::AuthenticationManager::cancelChallenge):
* WebProcess/Authentication/AuthenticationManager.h: Added.
* WebProcess/Authentication/AuthenticationManager.messages.in: Added.

Hand off Authentication challenges to the manager to be sent over IPC:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
(WebKit::WebFrameLoaderClient::canAuthenticateAgainstProtectionSpace):

* UIProcess/API/qt/qwkpage.cpp:

WebKitTools:

Keep these builds working:
* MiniBrowser/mac/BrowserWindowController.m:
(-[BrowserWindowController awakeFromNib]):

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::initialize):

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

9 years agoAdded fast/text/font-size-zero.html and svg/batik/text/smallFonts.svg to
weinig@apple.com [Fri, 3 Dec 2010 19:33:28 +0000 (19:33 +0000)]
Added fast/text/font-size-zero.html and svg/batik/text/smallFonts.svg to
the leopard skipped list.

Reviewed by Gavin Barraclough.

* platform/mac-leopard/Skipped:

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

9 years ago2010-12-03 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 3 Dec 2010 19:26:22 +0000 (19:26 +0000)]
2010-12-03  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

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

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

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

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

        * editing/InsertTextCommand.h: Added TypingCommand as a friend because it needs to update selection.
        * editing/TypingCommand.cpp:
        (WebCore::TypingCommand::deleteKeyPressed): Updates the last typing command's selection as needed.
        (WebCore::TypingCommand::forwardDeleteKeyPressed): Ditto.
        (WebCore::TypingCommand::insertText): Ditto.
        (WebCore::TypingCommand::updateSelectionIfDifferentFromCurrentSelection): Added.
        (WebCore::TypingCommand::insertTextRunWithoutNewlines): Updates InsertTextCommand's selection as needed.
        * editing/TypingCommand.h:
2010-12-03  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

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

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

        * editing/input/set-value-on-input-and-delete-expected.txt: Added.
        * editing/input/set-value-on-input-and-delete.html: Added.
        * editing/input/set-value-on-input-and-forward-delete-expected.txt: Added.
        * editing/input/set-value-on-input-and-forward-delete.html: Added.
        * editing/input/set-value-on-input-and-type-input-expected.txt: Added.
        * editing/input/set-value-on-input-and-type-input.html: Added.
        * editing/input/set-value-on-input-and-type-textarea-expected.txt: Added.
        * editing/input/set-value-on-input-and-type-textarea.html: Added.

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

9 years agoAdd missing expected results.
weinig@apple.com [Fri, 3 Dec 2010 19:20:56 +0000 (19:20 +0000)]
Add missing expected results.

* media/controls-without-preload-expected.txt: Added.

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

9 years agoUpdating the Windows 7 results for clip-path-referencing-use.svg to make the bots...
jberlin@webkit.org [Fri, 3 Dec 2010 19:18:55 +0000 (19:18 +0000)]
Updating the Windows 7 results for clip-path-referencing-use.svg to make the bots green. Unreviewed.

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

Make sure that the XP results still match the Mac results.
* platform/win-xp/svg: Added.
* platform/win-xp/svg/custom: Added.
* platform/win-xp/svg/custom/clip-path-referencing-use-expected.checksum: Added.
* platform/win-xp/svg/custom/clip-path-referencing-use-expected.png: Added.
* platform/win-xp/svg/custom/clip-path-referencing-use-expected.txt: Added.

* platform/win/svg/custom/clip-path-referencing-use-expected.checksum: Added.
* platform/win/svg/custom/clip-path-referencing-use-expected.png: Added.
* platform/win/svg/custom/clip-path-referencing-use-expected.txt: Added.

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

9 years ago2010-12-03 Daniel Cheng <dcheng@chromium.org>
tony@chromium.org [Fri, 3 Dec 2010 19:18:09 +0000 (19:18 +0000)]
2010-12-03  Daniel Cheng  <dcheng@chromium.org>

        Reviewed by Tony Chang.

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

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

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

        * manual-tests/drop-in-empty-doc.html: Added.
        * manual-tests/resources/drop-in-empty-doc.xhtml: Added.
        * page/DragController.cpp:
        (WebCore::elementUnderMouse):
        (WebCore::DragController::tryDocumentDrag):
        (WebCore::DragController::concludeEditDrag):

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

9 years agoThe chunked update drawing area is flipped twice when drawing
andersca@apple.com [Fri, 3 Dec 2010 19:11:49 +0000 (19:11 +0000)]
The chunked update drawing area is flipped twice when drawing
https://bugs.webkit.org/show_bug.cgi?id=50465
<rdar://problem/8726836>

Reviewed by Dan Bernstein.

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

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

9 years ago2010-12-02 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 3 Dec 2010 18:35:37 +0000 (18:35 +0000)]
2010-12-02  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Tony Chang.

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

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

        Also fix a typo in the UI JS.

        * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
        * Scripts/webkitpy/tool/commands/rebaselineserver.py:
        * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:

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

9 years ago2010-12-03 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Fri, 3 Dec 2010 18:15:39 +0000 (18:15 +0000)]
2010-12-03  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

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

        * CMakeLists.txt:

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

9 years ago2010-12-03 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Fri, 3 Dec 2010 18:08:13 +0000 (18:08 +0000)]
2010-12-03  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

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

        * wtf/wx/StringWx.cpp: Renamed from WebCore/platform/text/wx/StringWx.cpp.
        (WTF::String::String):
2010-12-03 Patrick Gansterer <paroga@webkit.org>

        Reviewed by Andreas Kling.

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

        * WebCore.gypi:
        * platform/text/wx/StringWx.cpp: Removed.

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

9 years ago2010-12-03 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Fri, 3 Dec 2010 17:56:04 +0000 (17:56 +0000)]
2010-12-03  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

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

        * fast/events/shadow-boundary-crossing-2-expected.txt: Changed expectations.
        * fast/events/shadow-boundary-crossing-2.html: Added the correct test for event
            retargeting, renamed previous test to be more specific in what it tests.
2010-12-03  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

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

        Test: fast/events/shadow-boundary-crossing-2.html

        * dom/EventContext.cpp: Reverted changes made in r72783.
        * dom/EventContext.h: Ditto.
        * dom/Node.cpp:
        (WebCore::Node::containsIncludingShadowDOM): Added.
        (WebCore::Node::dispatchGenericEvent): Reverted changes made in r72783.
        * dom/Node.h: Added decl.
        * html/HTMLLabelElement.cpp:
        (WebCore::HTMLLabelElement::defaultEventHandler): Reverted changes made in r72783.

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

9 years ago2010-12-03 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Fri, 3 Dec 2010 17:52:37 +0000 (17:52 +0000)]
2010-12-03  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

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

        * wtf/brew/StringBrew.cpp: Renamed from WebCore/platform/text/brew/StringBrew.cpp.
        (WTF::String::String):
2010-12-03  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

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

        * platform/text/brew/StringBrew.cpp: Removed.

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

9 years ago2010-12-03 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Fri, 3 Dec 2010 17:42:53 +0000 (17:42 +0000)]
2010-12-03  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

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

        * wtf/haiku/StringHaiku.cpp: Renamed from WebCore/platform/text/haiku/StringHaiku.cpp.
        (WTF::String::String):
        (WTF::String::operator BString):
2010-12-03  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

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

        * platform/text/haiku/StringHaiku.cpp: Removed.

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

9 years agoNeed a WebKit2 Equivalent of WebSecurityOrigin
jberlin@webkit.org [Fri, 3 Dec 2010 17:30:57 +0000 (17:30 +0000)]
Need a WebKit2 Equivalent of WebSecurityOrigin
https://bugs.webkit.org/show_bug.cgi?id=50170

Reviewed by Sam Weinig.

WebCore:

* WebCore.exp.in:
Export the symbol for SecurityOrigin::createFromDatabaseIdentifier.

WebKit2:

* Shared/API/c/WKBase.h:
Add the WKSecurityOriginRef typedef.

* Shared/APIObject.h:
Add the SecurityOrigin type as a Shared type.

* Shared/API/c/WKSharedAPICast.h::
Add the mapping between WKSecurityOriginRef and WebSecurityOrigin.

* UIProcess/API/C/WKSecurityOrigin.cpp: Added.
(WKSecurityOriginGetTypeID):
(WKSecurityOriginCreate):
(WKSecurityOriginGetProtocol):
(WKSecurityOriginGetHost):
(WKSecurityOriginGetPort):
* UIProcess/API/C/WKSecurityOrigin.h: Added.

* UIProcess/WebSecurityOrigin.h: Added.
(WebKit::WebSecurityOrigin::create):
Create based on the database identifier, which contains the protocol, host and port.
(WebKit::WebSecurityOrigin::protocol):
(WebKit::WebSecurityOrigin::host):
(WebKit::WebSecurityOrigin::port):
(WebKit::WebSecurityOrigin::databaseIdentifier):
(WebKit::WebSecurityOrigin::WebSecurityOrigin):
(WebKit::WebSecurityOrigin::type):

* WebKit2.pro:
Add WKSecurityOrigin.cpp/.h.

* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
Add the WebSecurityOrigin.h and WKSecurityOrigin.cpp/.h.

* win/WebKit2Generated.make:
Make sure WKSecurityOrigin.h file gets copied over to the WebKitBuild directory on Windows.

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

9 years ago2010-12-03 Andras Becsi <abecsi@inf.u-szeged.hu>
abecsi@webkit.org [Fri, 3 Dec 2010 16:47:25 +0000 (16:47 +0000)]
2010-12-03  Andras Becsi  <abecsi@inf.u-szeged.hu>

        Unreviewed build fix after r73254.

        [Qt][V8] Add missing headers to $headerIncludes rather than $implIncludes
        because headers are needed by the generated .h files.

        No new tests needed.

        * bindings/scripts/CodeGeneratorV8.pm:

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

9 years ago2010-12-03 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Fri, 3 Dec 2010 16:34:04 +0000 (16:34 +0000)]
2010-12-03  Abhishek Arya  <inferno@chromium.org>

        Unreviewed.

        Skipping drag-drop-same-unique-origin.html for win platform. Drag and drop
        does not work correctly in windows DRT. Skipping like other similar tests.
        https://bugs.webkit.org/show_bug.cgi?id=50438

        * platform/win/Skipped:

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

9 years ago2010-11-29 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Fri, 3 Dec 2010 16:14:21 +0000 (16:14 +0000)]
2010-11-29  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] Clean up IndexedDB 2 sided roll bits
        https://bugs.webkit.org/show_bug.cgi?id=50160

        * public/WebIDBDatabase.h:
        (WebKit::WebIDBDatabase::version):
        (WebKit::WebIDBDatabase::objectStoreNames):
        (WebKit::WebIDBDatabase::deleteObjectStore):
        * public/WebIDBFactory.h:
        (WebKit::WebIDBFactory::open):
        * public/WebIDBKeyRange.h:
        * public/WebIDBObjectStore.h:
        (WebKit::WebIDBObjectStore::deleteFunction):
        * src/IDBDatabaseProxy.cpp:
        * src/IDBDatabaseProxy.h:
        * src/WebIDBKeyRange.cpp:

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

9 years agoUnreviewed. Add Qt specific expected result after r73246.
ossy@webkit.org [Fri, 3 Dec 2010 14:28:20 +0000 (14:28 +0000)]
Unreviewed. Add Qt specific expected result after r73246.

* platform/qt/css2.1/t040105-import-10-b-expected.checksum: Added.
* platform/qt/css2.1/t040105-import-10-b-expected.png: Added.
* platform/qt/css2.1/t040105-import-10-b-expected.txt: Added.

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

9 years ago2010-12-03 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 13:07:10 +0000 (13:07 +0000)]
2010-12-03  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Update Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-03 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 11:49:25 +0000 (11:49 +0000)]
2010-12-03  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Update Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
yutak@chromium.org [Fri, 3 Dec 2010 11:34:28 +0000 (11:34 +0000)]
2010-12-03  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r73211.
        http://trac.webkit.org/changeset/73211
        https://bugs.webkit.org/show_bug.cgi?id=50450

        Broke Chromium's "Webkit Win (dbg)(2)" bot. (Requested by
        yutak on #webkit).

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:

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

9 years ago2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
yutak@chromium.org [Fri, 3 Dec 2010 11:27:50 +0000 (11:27 +0000)]
2010-12-03  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r73222.
        http://trac.webkit.org/changeset/73222
        https://bugs.webkit.org/show_bug.cgi?id=50449

        r73211 seemed to break Chromium's "Webkit Win (dbg)(2)" bot.
        (Requested by yutak on #webkit).

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
        * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
        * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

9 years ago2010-12-03 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Fri, 3 Dec 2010 11:14:32 +0000 (11:14 +0000)]
2010-12-03  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        1336 files in WebCore rebuild when you touch SVGNames
        https://bugs.webkit.org/show_bug.cgi?id=42025

        Remove global SVGNames.h dependency, as SVGAnimatedPropertyMacros.h included it.
        This requires to add the SVGNames.h include to lots of cpp files.

        No functional changes, thus no new tests.

        * css/CSSCursorImageValue.cpp:
        * css/CSSFontFaceSource.cpp:
        * dom/Node.cpp:
        * loader/cache/CachedFont.cpp:
        * rendering/RenderSVGResourceClipper.cpp:
        * rendering/RenderSVGResourceFilter.cpp:
        * rendering/RenderSVGTransformableContainer.cpp:
        * rendering/RenderSVGViewportContainer.cpp:
        * rendering/SVGRenderTreeAsText.cpp:
        * rendering/SVGResources.cpp:
        * rendering/svg/RenderSVGTextPath.cpp:
        * rendering/svg/SVGRootInlineBox.cpp:
        * svg/SVGAnimateElement.cpp:
        * svg/SVGAnimateMotionElement.cpp:
        * svg/SVGAnimateTransformElement.cpp:
        * svg/SVGDefsElement.cpp:
        * svg/SVGFEBlendElement.cpp:
        * svg/SVGFEDisplacementMapElement.cpp:
        * svg/SVGFEMergeElement.cpp:
        * svg/SVGFEMergeNodeElement.cpp:
        * svg/SVGFEOffsetElement.cpp:
        * svg/SVGFETileElement.cpp:
        * svg/SVGFETurbulenceElement.cpp:
        * svg/SVGFont.cpp:
        * svg/SVGGElement.cpp:
        * svg/SVGImageElement.cpp:
        * svg/SVGLength.cpp:
        * svg/SVGMPathElement.cpp:
        * svg/SVGPathElement.cpp:
        * svg/SVGPathSegList.cpp:
        * svg/SVGStyledTransformableElement.cpp:
        * svg/SVGSymbolElement.cpp:
        * svg/SVGTextContentElement.cpp:
        * svg/SVGTextElement.cpp:
        * svg/SVGTextPathElement.cpp:
        * svg/SVGUseElement.cpp:
        * svg/SVGViewSpec.cpp:
        * svg/animation/SMILTimeContainer.cpp:
        * svg/properties/SVGAnimatedPropertyMacros.h:
        * svg/properties/SVGPathSegListPropertyTearOff.cpp:

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

9 years ago2010-12-02 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Fri, 3 Dec 2010 11:06:08 +0000 (11:06 +0000)]
2010-12-02  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Martin Robinson.

        [GStreamer] hasVideo/Audio return false until the pipeline reaches PAUSED
        https://bugs.webkit.org/show_bug.cgi?id=50382

        Go to PAUSED even if preload is deactivated. In that case don't
        process the GStreamer state changes until commitLoad() has been
        called. This patch also fixes hasVideo and hasAudio methods,
        making them reactive to the playbin2 audio/video tags-changed
        signals.

        Test: media/controls-without-preload.html

        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
        (WebCore::mediaPlayerPrivateMessageCallback):
        (WebCore::mediaPlayerPrivateVideoTagsChangedCallback):
        (WebCore::mediaPlayerPrivateAudioTagsChangedCallback):
        (WebCore::mediaPlayerPrivateAudioTagsChangeTimeoutCallback):
        (WebCore::mediaPlayerPrivateVideoTagsChangeTimeoutCallback):
        (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
        (WebCore::MediaPlayerPrivateGStreamer::~MediaPlayerPrivateGStreamer):
        (WebCore::MediaPlayerPrivateGStreamer::load):
        (WebCore::MediaPlayerPrivateGStreamer::commitLoad):
        (WebCore::MediaPlayerPrivateGStreamer::videoTagsChanged):
        (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfVideoTags):
        (WebCore::MediaPlayerPrivateGStreamer::audioTagsChanged):
        (WebCore::MediaPlayerPrivateGStreamer::notifyPlayerOfAudioTags):
        (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
        (WebCore::MediaPlayerPrivateGStreamer::hasVideo):
        (WebCore::MediaPlayerPrivateGStreamer::hasAudio):
        (WebCore::MediaPlayerPrivateGStreamer::loadDelayed):

LayoutTests:

        Reviewed by Martin Robinson.

        hasVideo/hasAudio reimplementations

        [GStreamer] hasVideo/Audio return false until the pipeline reaches PAUSED
        https://bugs.webkit.org/show_bug.cgi?id=50382

        * media/controls-without-preload.html: Added.
        * platform/gtk/media/controls-without-preload-expected.txt: Added.

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

9 years ago2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Fri, 3 Dec 2010 10:20:13 +0000 (10:20 +0000)]
2010-12-03  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r73228.
        http://trac.webkit.org/changeset/73228
        https://bugs.webkit.org/show_bug.cgi?id=50448

        r73211 seemed to break Chromium's "Webkit Win (dbg)(2)" bot.
        (Requested by yutak on #webkit).

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
        * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
        * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
        * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py:
        * Scripts/webkitpy/layout_tests/test_types/text_diff.py:

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

9 years ago2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Fri, 3 Dec 2010 10:03:44 +0000 (10:03 +0000)]
2010-12-03  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r73231.
        http://trac.webkit.org/changeset/73231
        https://bugs.webkit.org/show_bug.cgi?id=50443

        r73211 seemed to broke Chromium's "Webkit Win (dbg)(2)" bot.
        (Requested by yutak on #webkit).

        * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
        * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

9 years ago2010-12-03 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Fri, 3 Dec 2010 09:44:21 +0000 (09:44 +0000)]
2010-12-03  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Finish splitting DECLARE_ANIMATED_PROPERTY* in DECLARE/DEFINE parts for the remaining SVGAnimated* types
        https://bugs.webkit.org/show_bug.cgi?id=50440

        Continuing the work on bug 42025: Introduce (DECLARE|DEFINE)_ANIMATED_(ANGLE|BOOLEAN|INTEGER|PRESERVEASPECTRATIO|RECT).
        The animated property declaration lives in the header, the definition in the cpp file, to avoid the dependency on SVGNames.h in all headers.

        No functional changes, thus no new tests.

        * svg/SVGAElement.cpp:
        * svg/SVGAElement.h:
        * svg/SVGAnimatedAngle.h:
        * svg/SVGAnimatedBoolean.h:
        * svg/SVGAnimatedInteger.h:
        * svg/SVGAnimatedPreserveAspectRatio.h:
        * svg/SVGAnimatedRect.h:
        * svg/SVGAnimationElement.cpp:
        * svg/SVGAnimationElement.h:
        (WebCore::SVGAnimationElement::calculateDistance):
        (WebCore::SVGAnimationElement::animationPath):
        * svg/SVGCircleElement.cpp:
        * svg/SVGCircleElement.h:
        * svg/SVGClipPathElement.cpp:
        * svg/SVGClipPathElement.h:
        * svg/SVGCursorElement.cpp:
        * svg/SVGCursorElement.h:
        * svg/SVGDefsElement.cpp:
        * svg/SVGDefsElement.h:
        * svg/SVGEllipseElement.cpp:
        * svg/SVGEllipseElement.h:
        * svg/SVGFEConvolveMatrixElement.cpp:
        * svg/SVGFEConvolveMatrixElement.h:
        * svg/SVGFEImageElement.cpp:
        * svg/SVGFEImageElement.h:
        * svg/SVGFETurbulenceElement.cpp:
        * svg/SVGFETurbulenceElement.h:
        * svg/SVGFilterElement.cpp:
        * svg/SVGFilterElement.h:
        * svg/SVGFilterPrimitiveStandardAttributes.h:
        * svg/SVGFontElement.cpp:
        (WebCore::SVGFontElement::firstMissingGlyphElement):
        (WebCore::SVGFontElement::ensureGlyphCache):
        * svg/SVGFontElement.h:
        * svg/SVGForeignObjectElement.cpp:
        * svg/SVGForeignObjectElement.h:
        * svg/SVGGElement.cpp:
        * svg/SVGGElement.h:
        (WebCore::SVGGElement::isShadowTreeContainerElement):
        (WebCore::SVGGElement::isValid):
        * svg/SVGGradientElement.cpp:
        * svg/SVGGradientElement.h:
        * svg/SVGImageElement.cpp:
        * svg/SVGImageElement.h:
        * svg/SVGLineElement.cpp:
        * svg/SVGLineElement.h:
        * svg/SVGLinearGradientElement.h:
        * svg/SVGMPathElement.cpp:
        * svg/SVGMPathElement.h:
        * svg/SVGMarkerElement.cpp:
        * svg/SVGMarkerElement.h:
        * svg/SVGMaskElement.cpp:
        * svg/SVGMaskElement.h:
        * svg/SVGPathElement.cpp:
        * svg/SVGPathElement.h:
        * svg/SVGPatternElement.cpp:
        * svg/SVGPatternElement.h:
        * svg/SVGPolyElement.cpp:
        * svg/SVGPolyElement.h:
        * svg/SVGRadialGradientElement.h:
        * svg/SVGRectElement.cpp:
        * svg/SVGRectElement.h:
        * svg/SVGSVGElement.cpp:
        (WebCore::SVGSVGElement::contentScriptType):
        (WebCore::SVGSVGElement::contentStyleType):
        (WebCore::SVGSVGElement::parseMappedAttribute):
        * svg/SVGSVGElement.h:
        * svg/SVGScriptElement.cpp:
        * svg/SVGScriptElement.h:
        * svg/SVGSwitchElement.cpp:
        * svg/SVGSwitchElement.h:
        (WebCore::SVGSwitchElement::isValid):
        * svg/SVGSymbolElement.cpp:
        * svg/SVGSymbolElement.h:
        (WebCore::SVGSymbolElement::rendererIsNeeded):
        * svg/SVGTextContentElement.cpp:
        * svg/SVGTextContentElement.h:
        * svg/SVGUseElement.cpp:
        * svg/SVGUseElement.h:
        * svg/SVGViewElement.cpp:
        * svg/SVGViewElement.h:
        (WebCore::SVGViewElement::viewTarget):
        (WebCore::SVGViewElement::rendererIsNeeded):
        * svg/SVGViewSpec.cpp:
        * svg/SVGViewSpec.h:
        (WebCore::SVGViewSpec::transform):
        (WebCore::SVGViewSpec::viewTargetString):
        (WebCore::SVGViewSpec::contextElement):
        * svg/properties/SVGAnimatedPropertyMacros.h:

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

9 years ago2010-12-03 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 09:24:08 +0000 (09:24 +0000)]
2010-12-03  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Update Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-03 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Fri, 3 Dec 2010 09:11:08 +0000 (09:11 +0000)]
2010-12-03  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skipping failing media test on GTK.

        * platform/gtk/Skipped: Skip media/controls-drag-timebar.html

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

9 years ago2010-12-03 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 09:07:35 +0000 (09:07 +0000)]
2010-12-03  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Update Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-03 Noel Gordon <noel.gordon@gmail.com>
commit-queue@webkit.org [Fri, 3 Dec 2010 08:53:41 +0000 (08:53 +0000)]
2010-12-03  Noel Gordon  <noel.gordon@gmail.com>

        Reviewed by Darin Fisher.

        [chromium] PNG encoder leaks memory on png_write_row errors.
        https://bugs.webkit.org/show_bug.cgi?id=50439

        Move the creation of needed C++ objects before the setjmp() point so
        those objects have their destructors called if libpng errors invoke
        the setjmp() return path.

        Other minor cleanup: use the skia bitmap locker class, and remove the
        PNGDestroyer class - instead directly call png_destroy_write_struct()
        at each of the encodeImpl() return points.

        No change in behaviour, so no new tests.

        * platform/image-encoders/skia/PNGImageEncoder.cpp:
        (WebCore::encodeImpl):
        (WebCore::PNGImageEncoder::encode):

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

9 years ago2010-12-02 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Fri, 3 Dec 2010 08:39:04 +0000 (08:39 +0000)]
2010-12-02  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Eric Carlson.

        Theme not updated when MediaPlayer m_private engine changes
        https://bugs.webkit.org/show_bug.cgi?id=50228

        Trigger a new rendering of the media element when the private
        media-player backend is updated.

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::mediaPlayerEngineUpdated):
        * html/HTMLMediaElement.h:
        * platform/graphics/MediaPlayer.cpp:
        (WebCore::MediaPlayer::MediaPlayer):
        (WebCore::MediaPlayer::load):
        * platform/graphics/MediaPlayer.h:
        (WebCore::MediaPlayerClient::mediaPlayerEngineUpdated):

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

9 years ago2010-12-03 David Levin <levin@chromium.org>
levin@chromium.org [Fri, 3 Dec 2010 08:32:56 +0000 (08:32 +0000)]
2010-12-03  David Levin  <levin@chromium.org>

        Reviewed by Shinichiro Hamaji.

        check-webkit-style: false positive reported for #if macro
        https://bugs.webkit.org/show_bug.cgi?id=48242

        * Scripts/webkitpy/style/checkers/cpp.py: Adjusted check to avoid
          all preprocessor commands.
        * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added test.

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

9 years ago2010-12-03 Yonathan Randolph <yonathan@gmail.com>
commit-queue@webkit.org [Fri, 3 Dec 2010 08:12:10 +0000 (08:12 +0000)]
2010-12-03  Yonathan Randolph  <yonathan@gmail.com>

        Reviewed by Alexey Proskuryakov.

        XPath lexer misinterprets expression starting with "div".
        https://bugs.webkit.org/show_bug.cgi?id=50366

        * fast/xpath/ambiguous-operators-expected.txt: Added.
        * fast/xpath/ambiguous-operators.html: Added.
2010-12-03  Yonathan Randolph  <yonathan@gmail.com>

        Reviewed by Alexey Proskuryakov.

        XPath lexer misinterprets expression starting with "div".
        https://bugs.webkit.org/show_bug.cgi?id=50366

        * xml/XPathParser.cpp:
        * xml/XPathParser.h:
        (WebCore::XPath::Parser::isOperatorContext): removed (renamed)
        (WebCore::XPath::Parser::isBinaryOperatorContext): added

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

9 years ago2010-12-02 Rob Buis <rwlbuis@gmail.com>
rwlbuis@webkit.org [Fri, 3 Dec 2010 08:08:46 +0000 (08:08 +0000)]
2010-12-02  Rob Buis  <rwlbuis@gmail.com>

        Reviewed by Alexey Proskuryakov.

        CSS 2.1 failure: at-import-*
        https://bugs.webkit.org/show_bug.cgi?id=47153

        Fix at-import-010.htm by only setting m_allowImportRules
        to false when creating valid style or page rules.

         Test: css2.1/t040105-import-10-b.html

        * css/CSSParser.cpp:
        (WebCore::CSSParser::createStyleRule):

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

9 years ago2010-12-02 Aaron Boodman <aa@chromium.org>
aa@chromium.org [Fri, 3 Dec 2010 07:44:47 +0000 (07:44 +0000)]
2010-12-02  Aaron Boodman  <aa@chromium.org>

        Reviewed by David Hyatt.

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

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

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

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

9 years ago2010-12-02 Gregg Tavares <gman@google.com>
commit-queue@webkit.org [Fri, 3 Dec 2010 07:25:10 +0000 (07:25 +0000)]
2010-12-02  Gregg Tavares  <gman@google.com>

        Reviewed by David Levin.

        Need to initialize destination variables before calling GL
        https://bugs.webkit.org/show_bug.cgi?id=50048

        No new tests because no change in functionality.

        * html/canvas/WebGLFramebuffer.cpp:
        (WebCore::WebGLFramebuffer::initializeRenderbuffers):
        * html/canvas/WebGLProgram.cpp:
        (WebCore::WebGLProgram::cacheActiveAttribLocations):
        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::getAttachedShaders):
        (WebCore::WebGLRenderingContext::getBufferParameter):
        (WebCore::WebGLRenderingContext::getFramebufferAttachmentParameter):
        (WebCore::WebGLRenderingContext::getBooleanParameter):
        (WebCore::WebGLRenderingContext::getFloatParameter):
        (WebCore::WebGLRenderingContext::getLongParameter):
        (WebCore::WebGLRenderingContext::getUnsignedLongParameter):
        * platform/graphics/chromium/LayerChromium.cpp:
        (WebCore::loadShader):
        (WebCore::LayerChromium::createShaderProgram):
        * platform/graphics/chromium/LayerRendererChromium.cpp:
        (WebCore::LayerRendererChromium::initializeSharedObjects):
        * platform/graphics/gpu/DrawingBuffer.cpp:
        (WebCore::DrawingBuffer::reset):
        * platform/graphics/gpu/Shader.cpp:
        (WebCore::Shader::loadProgram):

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

9 years ago2010-12-02 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
commit-queue@webkit.org [Fri, 3 Dec 2010 07:05:49 +0000 (07:05 +0000)]
2010-12-02  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Reviewed by Eric Seidel.

        [EFL] Fails to build with non-system cairo
        https://bugs.webkit.org/show_bug.cgi?id=50395

        Do not add 'cairo' as a suffix for the paths provided by
        pkgconfig. The paths provided by pkgconfig already include it.

        * cmake/FindCairo.cmake:

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

9 years ago2010-12-02 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Fri, 3 Dec 2010 06:49:09 +0000 (06:49 +0000)]
2010-12-02  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Enable Web Timing for Qt
        https://bugs.webkit.org/show_bug.cgi?id=42433

        * fast/dom/webtiming-document-open-expected.txt:
          Add an extra line to the expected results.

        * platform/qt/Skipped: Enable Web Timing tests.

        * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
          Add webkitPerformance property.
2010-12-02  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Enable Web Timing for Qt
        https://bugs.webkit.org/show_bug.cgi?id=42433

        * features.pri: Enable Web Timing for trunk (but not yet for
          production)

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

9 years ago2010-12-02 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 3 Dec 2010 06:15:37 +0000 (06:15 +0000)]
2010-12-02  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Update the EWSTools scripts to use modern-style git repos
        https://bugs.webkit.org/show_bug.cgi?id=50402

        * EWSTools/create-webkit-git:
        * EWSTools/start-commit-queue.sh:
        * EWSTools/start-queue.sh:

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

9 years ago2010-12-02 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 05:34:29 +0000 (05:34 +0000)]
2010-12-02  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Revert Chromium test expectations updates at r73234 and r73232.
        Tests added in these changes are no longer failing.

        * platform/chromium/test_expectations.txt:

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

9 years agoUpdate bindings test results with new GObject results.
aestes@apple.com [Fri, 3 Dec 2010 05:21:57 +0000 (05:21 +0000)]
Update bindings test results with new GObject results.

Rubber-stamped by Mark Rowe.

* bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
(WebKit::kit):
* bindings/scripts/test/GObject/WebKitDOMTestCallbackPrivate.h:
* bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:
(WebKit::kit):
* bindings/scripts/test/GObject/WebKitDOMTestInterfacePrivate.h:
* bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp:
(WebKit::kit):
* bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListenerPrivate.h:
* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
(WebKit::kit):
(webkit_dom_test_obj_obj_method):
(webkit_dom_test_obj_obj_method_with_args):
(webkit_dom_test_obj_method_that_requires_all_args):
(webkit_dom_test_obj_method_that_requires_all_args_and_throws):
(webkit_dom_test_obj_with_script_state_obj):
(webkit_dom_test_obj_with_script_state_obj_exception):
(webkit_dom_test_obj_get_read_only_test_obj_attr):
(webkit_dom_test_obj_get_test_obj_attr):
(webkit_dom_test_obj_get_xml_obj_attr):
* bindings/scripts/test/GObject/WebKitDOMTestObjPrivate.h:

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

9 years ago2010-12-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 3 Dec 2010 04:59:38 +0000 (04:59 +0000)]
2010-12-02  Simon Fraser  <simon.fraser@apple.com>

        Revert r73217 and r73227 because of continued bustage.

        * WebCore.xcodeproj/project.pbxproj:
        * platform/graphics/GraphicsLayer.h:
        (WebCore::GraphicsLayer::nativeLayer):
        * platform/graphics/ca/PlatformCAAnimation.h: Removed.
        * platform/graphics/ca/PlatformCALayer.h: Removed.
        * platform/graphics/ca/mac/PlatformCAAnimationMac.mm: Removed.
        * platform/graphics/ca/mac/PlatformCALayerMac.mm: Removed.
        * platform/graphics/chromium/GraphicsLayerChromium.cpp:
        (WebCore::GraphicsLayerChromium::nativeLayer):
        * platform/graphics/chromium/GraphicsLayerChromium.h:
        * platform/graphics/mac/GraphicsLayerMac.h: Renamed from WebCore/platform/graphics/ca/GraphicsLayerCA.h.
        (WebCore::GraphicsLayerMac::hasContentsLayer):
        (WebCore::GraphicsLayerMac::primaryLayer):
        (WebCore::GraphicsLayerMac::isReplicatedRootClone):
        (WebCore::GraphicsLayerMac::primaryLayerClones):
        (WebCore::GraphicsLayerMac::animationIsRunning):
        (WebCore::GraphicsLayerMac::contentsLayer):
        (WebCore::GraphicsLayerMac::ReplicaState::ReplicaState):
        (WebCore::GraphicsLayerMac::ReplicaState::push):
        (WebCore::GraphicsLayerMac::ReplicaState::setBranchType):
        (WebCore::GraphicsLayerMac::ReplicaState::pop):
        (WebCore::GraphicsLayerMac::ReplicaState::depth):
        (WebCore::GraphicsLayerMac::ReplicaState::replicaDepth):
        (WebCore::GraphicsLayerMac::hasCloneLayers):
        (WebCore::GraphicsLayerMac::LayerPropertyAnimation::LayerPropertyAnimation):
        (WebCore::GraphicsLayerMac::AnimationProcessingAction::AnimationProcessingAction):
        * platform/graphics/mac/GraphicsLayerMac.mm: Renamed from WebCore/platform/graphics/ca/GraphicsLayerCA.cpp.
        (WebCore::currentTimeToMediaTime):
        (WebCore::mediaTimeToCurrentTime):
        (-[WebAnimationDelegate animationDidStart:]):
        (-[WebAnimationDelegate WebCore::]):
        (-[WebAnimationDelegate setLayer:WebCore::]):
        (WebCore::copyTransform):
        (WebCore::getTransformFunctionValue):
        (WebCore::getValueFunctionNameForTransformOperation):
        (WebCore::propertyIdToString):
        (WebCore::animationIdentifier):
        (WebCore::getCAMediaTimingFunction):
        (WebCore::setLayerBorderColor):
        (WebCore::clearBorderColor):
        (WebCore::setLayerBackgroundColor):
        (WebCore::clearLayerBackgroundColor):
        (WebCore::safeSetSublayers):
        (WebCore::caValueFunctionSupported):
        (WebCore::forceSoftwareAnimation):
        (WebCore::nullActionsDictionary):
        (WebCore::animationHasStepsTimingFunction):
        (WebCore::GraphicsLayer::create):
        (WebCore::GraphicsLayerMac::GraphicsLayerMac):
        (WebCore::GraphicsLayerMac::~GraphicsLayerMac):
        (WebCore::GraphicsLayerMac::setName):
        (WebCore::GraphicsLayerMac::nativeLayer):
        (WebCore::GraphicsLayerMac::setChildren):
        (WebCore::GraphicsLayerMac::addChild):
        (WebCore::GraphicsLayerMac::addChildAtIndex):
        (WebCore::GraphicsLayerMac::addChildBelow):
        (WebCore::GraphicsLayerMac::addChildAbove):
        (WebCore::GraphicsLayerMac::replaceChild):
        (WebCore::GraphicsLayerMac::removeFromParent):
        (WebCore::GraphicsLayerMac::setMaskLayer):
        (WebCore::GraphicsLayerMac::setReplicatedLayer):
        (WebCore::GraphicsLayerMac::setReplicatedByLayer):
        (WebCore::GraphicsLayerMac::setPosition):
        (WebCore::GraphicsLayerMac::setAnchorPoint):
        (WebCore::GraphicsLayerMac::setSize):
        (WebCore::GraphicsLayerMac::setTransform):
        (WebCore::GraphicsLayerMac::setChildrenTransform):
        (WebCore::GraphicsLayerMac::moveOrCopyLayerAnimation):
        (WebCore::GraphicsLayerMac::moveOrCopyAnimationsForProperty):
        (WebCore::GraphicsLayerMac::setPreserves3D):
        (WebCore::GraphicsLayerMac::setMasksToBounds):
        (WebCore::GraphicsLayerMac::setDrawsContent):
        (WebCore::GraphicsLayerMac::setBackgroundColor):
        (WebCore::GraphicsLayerMac::clearBackgroundColor):
        (WebCore::GraphicsLayerMac::setContentsOpaque):
        (WebCore::GraphicsLayerMac::setBackfaceVisibility):
        (WebCore::GraphicsLayerMac::setOpacity):
        (WebCore::GraphicsLayerMac::setNeedsDisplay):
        (WebCore::GraphicsLayerMac::setNeedsDisplayInRect):
        (WebCore::GraphicsLayerMac::setContentsNeedsDisplay):
        (WebCore::GraphicsLayerMac::setContentsRect):
        (WebCore::GraphicsLayerMac::addAnimation):
        (WebCore::GraphicsLayerMac::pauseAnimation):
        (WebCore::GraphicsLayerMac::removeAnimation):
        (WebCore::GraphicsLayerMac::animationDidStart):
        (WebCore::GraphicsLayerMac::setContentsToImage):
        (WebCore::GraphicsLayerMac::setContentsToMedia):
        (WebCore::GraphicsLayerMac::didDisplay):
        (WebCore::GraphicsLayerMac::syncCompositingState):
        (WebCore::GraphicsLayerMac::syncCompositingStateForThisLayerOnly):
        (WebCore::GraphicsLayerMac::recursiveCommitChanges):
        (WebCore::GraphicsLayerMac::commitLayerChangesBeforeSublayers):
        (WebCore::GraphicsLayerMac::commitLayerChangesAfterSublayers):
        (WebCore::GraphicsLayerMac::updateLayerNames):
        (WebCore::GraphicsLayerMac::updateSublayerList):
        (WebCore::GraphicsLayerMac::updateLayerPosition):
        (WebCore::GraphicsLayerMac::updateLayerSize):
        (WebCore::GraphicsLayerMac::updateAnchorPoint):
        (WebCore::GraphicsLayerMac::updateTransform):
        (WebCore::GraphicsLayerMac::updateChildrenTransform):
        (WebCore::GraphicsLayerMac::updateMasksToBounds):
        (WebCore::GraphicsLayerMac::updateContentsOpaque):
        (WebCore::GraphicsLayerMac::updateBackfaceVisibility):
        (WebCore::GraphicsLayerMac::updateStructuralLayer):
        (WebCore::GraphicsLayerMac::ensureStructuralLayer):
        (WebCore::GraphicsLayerMac::structuralLayerPurpose):
        (WebCore::GraphicsLayerMac::updateLayerDrawsContent):
        (WebCore::GraphicsLayerMac::updateLayerBackgroundColor):
        (WebCore::GraphicsLayerMac::updateContentsImage):
        (WebCore::GraphicsLayerMac::updateContentsMediaLayer):
        (WebCore::GraphicsLayerMac::updateContentsCanvasLayer):
        (WebCore::GraphicsLayerMac::updateContentsRect):
        (WebCore::GraphicsLayerMac::updateMaskLayer):
        (WebCore::GraphicsLayerMac::updateReplicatedLayers):
        (WebCore::GraphicsLayerMac::ReplicaState::cloneID):
        (WebCore::GraphicsLayerMac::replicatedLayerRoot):
        (WebCore::GraphicsLayerMac::updateLayerAnimations):
        (WebCore::GraphicsLayerMac::setCAAnimationOnLayer):
        (WebCore::bug7311367Workaround):
        (WebCore::GraphicsLayerMac::removeCAAnimationFromLayer):
        (WebCore::copyAnimationProperties):
        (WebCore::GraphicsLayerMac::pauseCAAnimationOnLayer):
        (WebCore::GraphicsLayerMac::setContentsToCanvas):
        (WebCore::GraphicsLayerMac::repaintLayerDirtyRects):
        (WebCore::GraphicsLayerMac::updateContentsNeedsDisplay):
        (WebCore::GraphicsLayerMac::createAnimationFromKeyframes):
        (WebCore::GraphicsLayerMac::createTransformAnimationsFromKeyframes):
        (WebCore::GraphicsLayerMac::createBasicAnimation):
        (WebCore::GraphicsLayerMac::createKeyframeAnimation):
        (WebCore::GraphicsLayerMac::setupAnimation):
        (WebCore::GraphicsLayerMac::timingFunctionForAnimationValue):
        (WebCore::GraphicsLayerMac::setAnimationEndpoints):
        (WebCore::GraphicsLayerMac::setAnimationKeyframes):
        (WebCore::GraphicsLayerMac::setTransformAnimationEndpoints):
        (WebCore::GraphicsLayerMac::setTransformAnimationKeyframes):
        (WebCore::GraphicsLayerMac::suspendAnimations):
        (WebCore::GraphicsLayerMac::resumeAnimations):
        (WebCore::GraphicsLayerMac::hostLayerForSublayers):
        (WebCore::GraphicsLayerMac::layerForSuperlayer):
        (WebCore::GraphicsLayerMac::animatedLayer):
        (WebCore::GraphicsLayerMac::animatedLayerClones):
        (WebCore::GraphicsLayerMac::platformLayer):
        (WebCore::GraphicsLayerMac::setDebugBackgroundColor):
        (WebCore::GraphicsLayerMac::setDebugBorder):
        (WebCore::GraphicsLayerMac::constrainedSize):
        (WebCore::GraphicsLayerMac::requiresTiledLayer):
        (WebCore::GraphicsLayerMac::swapFromOrToTiledLayer):
        (WebCore::GraphicsLayerMac::defaultContentsOrientation):
        (WebCore::GraphicsLayerMac::updateContentsTransform):
        (WebCore::GraphicsLayerMac::setupContentsLayer):
        (WebCore::GraphicsLayerMac::findOrMakeClone):
        (WebCore::GraphicsLayerMac::ensureCloneLayers):
        (WebCore::GraphicsLayerMac::removeCloneLayers):
        (WebCore::GraphicsLayerMac::positionForCloneRootLayer):
        (WebCore::GraphicsLayerMac::propagateLayerChangeToReplicas):
        (WebCore::GraphicsLayerMac::fetchCloneLayers):
        (WebCore::GraphicsLayerMac::cloneLayer):
        (WebCore::GraphicsLayerMac::setOpacityInternal):
        (WebCore::GraphicsLayerMac::updateOpacityOnLayer):
        (WebCore::GraphicsLayerMac::noteSublayersChanged):
        (WebCore::GraphicsLayerMac::noteLayerPropertyChanged):
        * platform/graphics/mac/WebLayer.h:
        * platform/graphics/mac/WebLayer.mm:
        (-[WebLayer initWithLayer:]):
        (-[WebLayer setNeedsDisplay]):
        (-[WebLayer setNeedsDisplayInRect:]):
        (-[WebLayer display]):
        (-[WebLayer drawInContext:]):
        (-[WebLayer setLayerOwner:]):
        (-[WebLayer layerOwner]):
        * platform/graphics/mac/WebTiledLayer.h:
        * platform/graphics/mac/WebTiledLayer.mm:
        (-[WebTiledLayer initWithLayer:]):
        (-[WebTiledLayer setNeedsDisplay]):
        (-[WebTiledLayer setNeedsDisplayInRect:]):
        (-[WebTiledLayer display]):
        (-[WebTiledLayer drawInContext:]):
        (-[WebTiledLayer setLayerOwner:]):
        (-[WebTiledLayer layerOwner]):
        * platform/graphics/qt/GraphicsLayerQt.cpp:
        (WebCore::GraphicsLayerQtImpl::flushChanges):
        (WebCore::GraphicsLayerQt::nativeLayer):
        * platform/graphics/qt/GraphicsLayerQt.h:
        * platform/graphics/win/GraphicsLayerCACF.cpp:
        (WebCore::GraphicsLayerCACF::nativeLayer):
        * platform/graphics/win/GraphicsLayerCACF.h:

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

9 years ago2010-12-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 3 Dec 2010 04:49:27 +0000 (04:49 +0000)]
2010-12-02  Simon Fraser  <simon.fraser@apple.com>

        Fix Chromium Linux plugin tests by not logging
        unconditionally from the event handling code.

        * DumpRenderTree/TestNetscapePlugIn/main.cpp:
        (handleEventX11):

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

9 years ago2010-12-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 3 Dec 2010 04:46:20 +0000 (04:46 +0000)]
2010-12-02  Simon Fraser  <simon.fraser@apple.com>

        Move to platform/mac, since the paint call is only made for plugins using QuickDraw or
        CoreGraphics.

        * platform/mac/plugins/testplugin-onnew-onpaint-expected.txt: Renamed from LayoutTests/plugins/testplugin-onnew-onpaint-expected.txt.
        * platform/mac/plugins/testplugin-onnew-onpaint.html: Renamed from LayoutTests/plugins/testplugin-onnew-onpaint.html.

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

9 years ago2010-12-02 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 04:39:39 +0000 (04:39 +0000)]
2010-12-02  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Remove duplicate entries from Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago[chromium] Remove dead code from PNG encoder
jianli@chromium.org [Fri, 3 Dec 2010 04:35:13 +0000 (04:35 +0000)]
[chromium] Remove dead code from PNG encoder
https://bugs.webkit.org/show_bug.cgi?id=50377

Patch by Noel Gordon <noel.gordon@gmail.com> on 2010-12-02
Reviewed by David Levin.

Also webkit style the PNG encoder files.

No change in behaviour, so no new tests.

* platform/image-encoders/skia/PNGImageEncoder.cpp:
(WebCore::encodeImpl):
(WebCore::PNGImageEncoder::encode):
* platform/image-encoders/skia/PNGImageEncoder.h:

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

9 years ago2010-12-02 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 04:06:43 +0000 (04:06 +0000)]
2010-12-02  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Update Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-02 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 3 Dec 2010 03:41:43 +0000 (03:41 +0000)]
2010-12-02  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        nrwt multiprocessing - move logic back into run_webkit_tests

        This change moves a bunch of logic that I had put into
        message_broker back into run_webkit_tests, in a slightly
        different format. WorkerMessageBroker needed to become less aware of
        the logic the TestRunner class uses, and more generic.
        Eventually the MessageBroker will only do generic messaging and
        thread/process-pooling, and (almost) all of the
        run-webkit-tests-specific logic will be moved to
        run_webkit_tests.py and dump_render_tree_thread.py.

        The biggest changes are that the Broker can now start a single
        worker, but the responsibility for starting all of them is pushed
        back to the TestRunner (Manager), and the logic for checking if
        the threads are done or wedged is moved back to TestRunner. We
        also remove WorkerMessageBroker.cleanup (not needed) and
        cancel_workers (they have to be cancelled individually).

        The  message_broker is now encapsulated inside
        TestRunner._run_tests(); it only needs to exist while actually
        running the tests.

        Also, delete a bunch of tests in message_broker_unittest that no
        longer make much sense.

        This patch depends on bug 50372.

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

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
        * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
        * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

9 years ago2010-12-02 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Fri, 3 Dec 2010 03:41:25 +0000 (03:41 +0000)]
2010-12-02  Yuta Kitamura  <yutak@chromium.org>

        Reviewed by Alexey Proskuryakov.

        An attempt to fix Chromium's clang build.

        Implement (non-EventListener) marquee IDL attributes from HTML5.
        https://bugs.webkit.org/show_bug.cgi?id=49786

        * rendering/style/RenderStyle.h:
        (WebCore::InheritedFlags::initialMarqueeSpeed):

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

9 years ago2010-12-02 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Fri, 3 Dec 2010 02:30:41 +0000 (02:30 +0000)]
2010-12-02  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

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

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

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

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

9 years ago2010-12-02 Hayato Ito <hayato@chromium.org>
hayato@chromium.org [Fri, 3 Dec 2010 02:29:13 +0000 (02:29 +0000)]
2010-12-02  Hayato Ito  <hayato@chromium.org>

        Reviewed by Eric Seidel.

        Refactor test_types's compare_output() method so that it takes a
        TestInput object.

        compare_output() will need additional information included in a TestInput
        object to support reftests. This change is a pre-requirement of that.

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

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
        * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
        * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
        * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py:
        * Scripts/webkitpy/layout_tests/test_types/text_diff.py:

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

9 years ago2010-12-02 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Fri, 3 Dec 2010 02:24:27 +0000 (02:24 +0000)]
2010-12-02  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Fix Leopard build broken by http://trac.webkit.org/changeset/73217

        * platform/graphics/ca/GraphicsLayerCA.cpp:
        (WebCore::getTransformFunctionValue):
        (WebCore::GraphicsLayerCA::updateContentsTransform):
        * platform/graphics/ca/PlatformCALayer.h:
        * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
        (PlatformCAAnimation::valueFunction):
        (PlatformCAAnimation::setValueFunction):
        * platform/graphics/ca/mac/PlatformCALayerMac.mm:
        (PlatformCALayer::PlatformCALayer):
        (PlatformCALayer::anchorPoint):
        (PlatformCALayer::setAnchorPoint):
        (PlatformCALayer::contentsTransform):
        (PlatformCALayer::setContentsTransform):
        (PlatformCALayer::isGeometryFlipped):
        (PlatformCALayer::setGeometryFlipped):
        (PlatformCALayer::setMinificationFilter):
        (PlatformCALayer::setMagnificationFilter):

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

9 years ago2010-12-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 3 Dec 2010 01:42:03 +0000 (01:42 +0000)]
2010-12-02  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Anders Carlsson.

        Add the ability to run script on 'new' and 'paint' in the test plugin
        https://bugs.webkit.org/show_bug.cgi?id=50425

        Add "onnew" and "onpaintevent" attributes to the test plugin,
        so that tests can run JS at these times.

        * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
        (pluginAllocate):
        * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
        * DumpRenderTree/TestNetscapePlugIn/main.cpp:
        (NPP_New):
        (NPP_Destroy):
        (handleEventCarbon):
        (handleEventCocoa):
        (NPP_HandleEvent):

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

9 years agoTry to fix Windows build.
ggaren@apple.com [Fri, 3 Dec 2010 01:30:53 +0000 (01:30 +0000)]
Try to fix Windows build.

* runtime/GCActivityCallback.cpp:
(JSC::DefaultGCActivityCallback::synchronize): Added a non-CF implementation.

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

9 years ago2010-12-02 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Fri, 3 Dec 2010 01:26:18 +0000 (01:26 +0000)]
2010-12-02  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update bug numbers in chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years agoFixed <rdar://problem/8310571> CrashTracer: 60 crashes in Photo Booth at
ggaren@apple.com [Fri, 3 Dec 2010 01:16:11 +0000 (01:16 +0000)]
Fixed <rdar://problem/8310571> CrashTracer: 60 crashes in Photo Booth at
com.apple.JavaScriptCore: JSC::Heap::markRoots + 746

Reviewed by Gavin Barraclough.

* API/APIShims.h:
(JSC::APIEntryShimWithoutLock::APIEntryShimWithoutLock): Call our new
synchronize() function.

* runtime/Collector.cpp:
(JSC::Heap::activityCallback):
* runtime/Collector.h: Added an activityCallback() accessor, for the
call above.

* runtime/GCActivityCallback.h:
(JSC::GCActivityCallback::synchronize):
* runtime/GCActivityCallbackCF.cpp:
(JSC::DefaultGCActivityCallback::DefaultGCActivityCallback):
(JSC::DefaultGCActivityCallback::~DefaultGCActivityCallback):
(JSC::DefaultGCActivityCallback::operator()):
(JSC::DefaultGCActivityCallback::synchronize): Track the run loop we're
scheduled in. If we begin/resume execution within a new run loop, reschedule
on it. This prevents a crash when using a lockless context group on
multiple threads -- the crash would happen if the GC timer scheduled on
thread A, then you continued execution on thread B, then the thread A
timer fired.

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

9 years ago2010-12-02 Sam Weinig <sam@webkit.org>
dpranke@chromium.org [Fri, 3 Dec 2010 01:13:59 +0000 (01:13 +0000)]
2010-12-02  Sam Weinig  <sam@webkit.org>

        Fix Qt build.

        * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
        (WTR::PlatformWebView::PlatformWebView):

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

9 years ago2010-12-02 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Fri, 3 Dec 2010 00:38:54 +0000 (00:38 +0000)]
2010-12-02  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Csaba Osztrogon√°c.

        [Qt] Fix compilation with !ENABLE(OFFLINE_WEB_APPLICATIONS) and
        !ENABLE(TILED_BACKING_STORE) for WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=50071

        Add appropriate guards. No functional change if guards are set.

        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPage::setActualVisibleContentsRect):
        * UIProcess/TiledDrawingAreaProxy.cpp:
        * UIProcess/qt/TiledDrawingAreaProxyQt.cpp:
        * UIProcess/qt/TiledDrawingAreaTileQt.cpp:
        * UIProcess/qt/WebContextQt.cpp:
        (WebKit::WebContext::applicationCacheDirectory):
        * WebProcess/WebProcess.cpp:
        (WebKit::WebProcess::initializeWebProcess):

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

9 years agoFix Qt build.
weinig@apple.com [Fri, 3 Dec 2010 00:38:28 +0000 (00:38 +0000)]
Fix Qt build.

* WebKitTestRunner/qt/PlatformWebViewQt.cpp:
(WTR::PlatformWebView::PlatformWebView):

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

9 years agoWebCore: CSS support for the text-emphasis properties
mitz@apple.com [Fri, 3 Dec 2010 00:36:15 +0000 (00:36 +0000)]
WebCore: CSS support for the text-emphasis properties
https://bugs.webkit.org/show_bug.cgi?id=48539

Reviewed by Dave Hyatt.

Test: fast/css/parsing-text-emphasis.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Added text-emphasis-color,
text-emphasis-position and text-emphasis-style. Left the text-emphasis shorthand unsupported.
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue): Parse the properties.
(WebCore::CSSParser::parseTextEmphasisStyle): Added.
* css/CSSParser.h:
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Added TextEmphasisPosition, TextEmphasisFill
and TextEmphasisMark mappings.
(WebCore::CSSPrimitiveValue::operator TextEmphasisPosition): Added.
(WebCore::CSSPrimitiveValue::operator TextEmphasisFill): Added.
(WebCore::CSSPrimitiveValue::operator TextEmphasisMark): Added.
* css/CSSPropertyLonghand.cpp:
(WebCore::initShorthandMap): Added the text-emphasis shorthand.
* css/CSSPropertyNames.in: Added -webkit-text-emphasis, -webkit-text-emphasis-color,
-webkit-text-emphasis-position, and -webkit-text-emphasis-style.
* css/CSSStyleSelector.cpp:
(WebCore::isValidVisitedLinkProperty): Added text-emphasis-color.
(WebCore::CSSStyleSelector::applyProperty): Handle the properties.
* css/CSSValueKeywords.in: Added 'over' and 'under' for text-emphasis-position. Added 'dot',
'double-circle', 'triangle', 'sesame', 'filled' and 'open' for text-emphasis-style.
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::colorIncludingFallback): Handle text-emphasis-color.
(WebCore::RenderStyle::textEmphasisMark): Added. Maps the fake 'auto' value to 'dot' or
'sesame' based on writing direction.
* rendering/style/RenderStyle.h: Added accessors.
(WebCore::InheritedFlags::textEmphasisFill):
(WebCore::InheritedFlags::textEmphasisCustomMark):
(WebCore::InheritedFlags::textEmphasisPosition):
(WebCore::InheritedFlags::setTextEmphasisColor):
(WebCore::InheritedFlags::setTextEmphasisFill):
(WebCore::InheritedFlags::setTextEmphasisMark):
(WebCore::InheritedFlags::setTextEmphasisCustomMark):
(WebCore::InheritedFlags::setTextEmphasisPosition):
(WebCore::InheritedFlags::initialTextEmphasisColor):
(WebCore::InheritedFlags::initialTextEmphasisFill):
(WebCore::InheritedFlags::initialTextEmphasisMark):
(WebCore::InheritedFlags::initialTextEmphasisCustomMark):
(WebCore::InheritedFlags::initialTextEmphasisPosition):
(WebCore::InheritedFlags::textEmphasisColor):
* rendering/style/RenderStyleConstants.h:
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):
* rendering/style/StyleRareInheritedData.h:

LayoutTests: Test parsing of the text-emphasis CSS properties
https://bugs.webkit.org/show_bug.cgi?id=48539

Reviewed by Dave Hyatt.

* fast/css/parsing-text-emphasis-expected.txt: Added.
* fast/css/parsing-text-emphasis.html: Added.

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

9 years ago2010-12-02 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Fri, 3 Dec 2010 00:35:26 +0000 (00:35 +0000)]
2010-12-02  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] merge toDataURL-supportedTypes in chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-02 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Fri, 3 Dec 2010 00:34:37 +0000 (00:34 +0000)]
2010-12-02  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

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

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

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

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

9 years agoFix Qt.
weinig@apple.com [Fri, 3 Dec 2010 00:33:46 +0000 (00:33 +0000)]
Fix Qt.

* UIProcess/API/qt/qwkpreferences.cpp:
(QWKPreferencesPrivate::createPreferences):

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

9 years agoWebKit2 Preferences should be held off the PageGroup, not the Context
weinig@apple.com [Fri, 3 Dec 2010 00:30:58 +0000 (00:30 +0000)]
WebKit2 Preferences should be held off the PageGroup, not the Context
https://bugs.webkit.org/show_bug.cgi?id=50414

Reviewed by Anders Carlsson.

WebKit2:

- In addition, this now makes the preference held off the PageGroup have
  the identifier of the PageGroup and autosave to disk (only on the mac
  for now).
- Adds ability to create an arbitrary preference that can be autosaved
  via a new WKPreferencesCreateWithIdentifier function.

* UIProcess/API/C/WKContext.cpp:
* UIProcess/API/C/WKContext.h:
Remove preference related code.

* UIProcess/API/C/WKPageGroup.cpp:
(WKPageGroupSetPreferences):
(WKPageGroupGetPreferences):
* UIProcess/API/C/WKPageGroup.h:
Add getter/setter for preferences.

* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesCreateWithIdentifier):
* UIProcess/API/C/WKPreferences.h:
Add WKPreferencesCreateWithIdentifier and remove WKPreferencesCreateCopy which is
unused.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
(WebKit::WebContext::~WebContext):
* UIProcess/WebContext.h:
Remove preference related code.

* UIProcess/WebPageGroup.cpp:
(WebKit::WebPageGroup::WebPageGroup):
(WebKit::WebPageGroup::addPage):
(WebKit::WebPageGroup::removePage):
(WebKit::WebPageGroup::setPreferences):
(WebKit::WebPageGroup::preferences):
(WebKit::WebPageGroup::preferencesDidChange):
* UIProcess/WebPageGroup.h:
Add preference and page tracking.

* UIProcess/WebPageNamespace.cpp:
* UIProcess/WebPageNamespace.h:
Remove preference change notification code.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::~WebPageProxy):
Add/remove self from page group set.

(WebKit::WebPageProxy::preferencesDidChange):
(WebKit::WebPageProxy::creationParameters):
Get preferences from the pageGroup.

* UIProcess/WebPreferences.cpp:
(WebKit::WebPreferences::WebPreferences):
(WebKit::WebPreferences::addPageGroup):
(WebKit::WebPreferences::removePageGroup):
(WebKit::WebPreferences::update):
* UIProcess/WebPreferences.h:
(WebKit::WebPreferences::create):
Change to track page groups instead of contexts.

* UIProcess/mac/WebPreferencesMac.mm:
(WebKit::makeKey): Add ".WebKit2" prefix for keys.

WebKitTools:

Update for API changes.

* WebKitTestRunner/PlatformWebView.h:
* WebKitTestRunner/TestController.cpp:
(WTR::createOtherPage):
(WTR::TestController::initialize):
(WTR::TestController::resetStateToConsistentValues):
* WebKitTestRunner/TestController.h:
* WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::PlatformWebView):
* WebKitTestRunner/win/PlatformWebViewWin.cpp:
(WTR::PlatformWebView::PlatformWebView):

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

9 years ago<rdar://problem/8708730> Objects reported as being leaked due to lack of autorelease...
mrowe@apple.com [Fri, 3 Dec 2010 00:30:17 +0000 (00:30 +0000)]
<rdar://problem/8708730> Objects reported as being leaked due to lack of autorelease pool

Reviewed by Beth Dakin.

* Misc/WebNSFileManagerExtras.m:
(setMetaData): Create an autorelease pool for the duration of the thread body.

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

9 years ago2010-12-02 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Fri, 3 Dec 2010 00:04:16 +0000 (00:04 +0000)]
2010-12-02  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-02 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 2 Dec 2010 23:55:31 +0000 (23:55 +0000)]
2010-12-02  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        This change is a bunch of cleanup / refactoring of the file
        below. It moves a bunch of free functions to methods on the
        TestShellThread class, and restructures other methods to be
        closer to the structure we'll need for the multiprocessing
        rewrite.

        It also makes the logic of --run-singly a *lot* easier to follow
        by nestling all of the separate-thread logic into a single
        routine.

        There should be no semantic changes in this patch, just cleanup.

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

        * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:

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

9 years ago2010-12-02 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Thu, 2 Dec 2010 23:49:54 +0000 (23:49 +0000)]
2010-12-02  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Darin Adler.

        Update ResourceLoaderSet Enumeration
        https://bugs.webkit.org/show_bug.cgi?id=50405

        Use size_t when working with Vectors and when comparing between size_t types.

        * loader/DocumentLoader.cpp:
        (WebCore::cancelAll):
        (WebCore::setAllDefersLoading):

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

9 years agoInteger calculation issues in DataView constructor
jianli@chromium.org [Thu, 2 Dec 2010 23:39:41 +0000 (23:39 +0000)]
Integer calculation issues in DataView constructor
https://bugs.webkit.org/show_bug.cgi?id=50354

Reviewed by Kenneth Russell.

WebCore:

Test: fast/canvas/webgl/data-view-crash.html

* html/canvas/DataView.cpp:
(WebCore::DataView::create):

LayoutTests:

* fast/canvas/webgl/data-view-crash-expected.txt: Added.
* fast/canvas/webgl/data-view-crash.html: Added.

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

9 years ago2010-12-02 Tony Chang <tony@chromium.org>
tony@chromium.org [Thu, 2 Dec 2010 23:20:33 +0000 (23:20 +0000)]
2010-12-02  Tony Chang  <tony@chromium.org>

        Unreviewed, rolling out r73164.
        http://trac.webkit.org/changeset/73164
        https://bugs.webkit.org/show_bug.cgi?id=50359

        broke debugger tests on win

        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

9 years ago* wtf/ASCIICType.h: Fix wrong type from last check-in.
darin@apple.com [Thu, 2 Dec 2010 23:04:40 +0000 (23:04 +0000)]
* wtf/ASCIICType.h: Fix wrong type from last check-in.

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

9 years agoTry to fix certain builds (Qt Windows).
darin@apple.com [Thu, 2 Dec 2010 23:01:08 +0000 (23:01 +0000)]
Try to fix certain builds (Qt Windows).

* wtf/ASCIICType.h: Added an overload for unsigned because in obsolete
versions of ICU, UChar32 can be a typedef for unsigned. Adding this
overload should make us compatible with these old ICUs.

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

9 years ago2010-11-30 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 2 Dec 2010 22:53:47 +0000 (22:53 +0000)]
2010-11-30  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Tony Chang.

        Rebaseline server: add updating of baselines
        https://bugs.webkit.org/show_bug.cgi?id=50305

        Implements updating of baselines, where we copy -actual.* files over
        the current -expected.* files. To do this, we need a
        _get_actual_result_files method to get test results files and a
        _rebaseline_test method to actually do the file copy and SCM operation.
        _rebaseline_test logs output into a buffer, this is useful for both
        showing result in the UI and for unit tests.

        To make passing around of the various test environment properties
        (results directory, filesystem, SCM, etc) easier, add a TestConfig
        class for them.

        Moving of existing baselines is not implemented yet, this patch is big
        enough as it is.

        * Scripts/webkitpy/common/system/filesystem.py:
        * Scripts/webkitpy/common/system/filesystem_mock.py:
        * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
        * Scripts/webkitpy/tool/commands/rebaselineserver.py:
        * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:
        * Scripts/webkitpy/tool/mocktool.py:

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

9 years ago2010-12-02 Xiaomei Ji <xji@chromium.org>
xji@chromium.org [Thu, 2 Dec 2010 22:49:27 +0000 (22:49 +0000)]
2010-12-02  Xiaomei Ji  <xji@chromium.org>

        Unreviewed.

        2nd try on rebaseline vertical-scrollbar-in-rtl.

        * platform/chromium-mac/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Removed.
        * platform/chromium-win/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Removed.
        * platform/chromium/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/dom/vertical-scrollbar-in-rtl-expected.txt.
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-02 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 2 Dec 2010 22:45:36 +0000 (22:45 +0000)]
2010-12-02  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Add AtomicString::fromUTF8
        https://bugs.webkit.org/show_bug.cgi?id=45594

        Unicode::calculateStringHashFromUTF8 creates a StringHash out of UTF8 input data and
        calculates the required length for the UTF16 conversation in one step.
        This is then used in a specialized translator for the string table of AtomicString.

        * JavaScriptCore.exp:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
        * wtf/text/AtomicString.cpp:
        (WTF::CStringTranslator::equal):
        (WTF::HashAndUTF8CharactersTranslator::hash):
        (WTF::HashAndUTF8CharactersTranslator::equal):
        (WTF::HashAndUTF8CharactersTranslator::translate):
        (WTF::AtomicString::add):
        (WTF::AtomicString::addSlowCase):
        (WTF::AtomicString::find):
        (WTF::AtomicString::fromUTF8):
        * wtf/text/AtomicString.h:
        * wtf/text/StringImpl.h:
        * wtf/text/WTFString.h:
        * wtf/unicode/UTF8.cpp:
        (WTF::Unicode::readUTF8Sequence):
        (WTF::Unicode::convertUTF8ToUTF16):
        (WTF::Unicode::calculateStringHashFromUTF8):
        (WTF::Unicode::equalUTF16WithUTF8):
        * wtf/unicode/UTF8.h:
2010-12-02  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Add AtomicString::fromUTF8
        https://bugs.webkit.org/show_bug.cgi?id=45594

        Use AtomicString::fromUTF8 directly in the libxml2 parser.

        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::toAtomicString):

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

9 years ago2010-12-02 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Thu, 2 Dec 2010 22:33:04 +0000 (22:33 +0000)]
2010-12-02  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update chromium test expectations for failed canvas toDataURL test.

        * platform/chromium/test_expectations.txt:

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