Fix the Leopard 64-bit build.

* Configurations/WebKit.xcconfig: Add CoreServices.framework/Frameworks to the 
    framework search path.
* WebView/WebVideoFullscreenController.mm: Explicitly import <OSStatus/Power.h>.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Cris Neckar  <cdn@chromium.org>

        Reviewed by Adam Barth.

        Tests for crash when multiple objects tags with bad image content are nested as fallback content.
        https://bugs.webkit.org/show_bug.cgi?id=46921

        * fast/html/object-image-nested-fallback-expected.txt: Added.
        * fast/html/object-image-nested-fallback.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Adam Barth.

        rebaseline-chromium-webkit-tests relied on the filename_to_uri()
        hook in the Port infrastructure to generate URIs for the files
        in its summary HTML report; however, that method is supposed to only
        be used for test files (and should really be renamed), so this would
        crash.

        This change adds a new "path" module to the system package with a
        routine called abspath_to_uri() that handles converting paths to
        file: URIs independently of anything in the layout_tests package,
        and changes the code to use this. At some point in the near future
        the layout_tests/port/* code should use this as well.

        This change also deletes a bunch of unused code and fixes some
        comments in rebaseline_chromium_webkit_tests.py.

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

        * Scripts/webkitpy/common/system/path.py: Added.
        * Scripts/webkitpy/common/system/path_unittest.py: Added.
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69363 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Skip the new test in those unsupported platforms.

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

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69364 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Zhenyao Mo  <zmo@google.com>

        Reviewed by Tony Chang.

        Copy mesa lib into DumpRenderTree bundle in Mac
        https://bugs.webkit.org/show_bug.cgi?id=47385

        * WebKit.gyp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Martin Robinson  <mrobinson@igalia.com>

        Move GTK+ specific baselines to the platform-specific directories. In my
        last commit I mistakenly added these to the platform-independent locations.
        Also fix another baseline which seems to differ on the bots because they
        have a different version of DejaVu Serif than my machine.

        * platform/gtk/fast/blockflow/block-level-images-expected.txt: Renamed from LayoutTests/fast/blockflow/block-level-images-expected.txt.
        * platform/gtk/fast/blockflow/fieldsets-expected.txt: Renamed from LayoutTests/fast/blockflow/fieldsets-expected.txt.
        * platform/gtk/fast/blockflow/floats-in-block-layout-expected.txt: Renamed from LayoutTests/fast/blockflow/floats-in-block-layout-expected.txt.
        * platform/gtk/fast/blockflow/inline-direction-positioning-expected.txt: Renamed from LayoutTests/fast/blockflow/inline-direction-positioning-expected.txt.
        * platform/gtk/fast/blockflow/margin-collapse-expected.txt: Renamed from LayoutTests/fast/blockflow/margin-collapse-expected.txt.
        * platform/gtk/fast/blockflow/root-lr-basic-expected.txt: Renamed from LayoutTests/fast/blockflow/root-lr-basic-expected.txt.
        * platform/gtk/fast/blockflow/self-collapsing-block-expected.txt: Renamed from LayoutTests/fast/blockflow/self-collapsing-block-expected.txt.
        * platform/gtk/fast/css/first-letter-punctuation-expected.txt: Renamed from LayoutTests/fast/css/first-letter-punctuation-expected.txt.
        * platform/gtk/fast/css/font-face-opentype-expected.txt: Renamed from LayoutTests/fast/css/font-face-opentype-expected.txt.
        * platform/gtk/fast/css/rtl-to-viewport-expected.txt: Renamed from LayoutTests/fast/css/rtl-to-viewport-expected.txt.
        * platform/gtk/fast/css/transformed-mask-expected.txt: Renamed from LayoutTests/fast/css/transformed-mask-expected.txt.
        * platform/gtk/fast/fonts/fontconfig-synthetic-bold-exepcted.txt: Updated baseline.
        * platform/gtk/fast/forms/input-button-sizes-expected.txt: Renamed from LayoutTests/fast/forms/input-button-sizes-expected.txt.
        * platform/gtk/fast/forms/input-placeholder-focus-twice-expected.txt: Renamed from LayoutTests/fast/forms/input-placeholder-focus-twice-expected.txt.
        * platform/gtk/inspector/console-uncaught-exception-expected.txt: Renamed from LayoutTests/inspector/console-uncaught-exception-expected.txt.
        * platform/gtk/svg/custom/image-rescale-expected.txt: Renamed from LayoutTests/svg/custom/image-rescale-expected.txt.
        * platform/gtk/svg/custom/text-rotation-expected.txt: Renamed from LayoutTests/svg/custom/text-rotation-expected.txt.
        * platform/gtk/svg/custom/text-x-dy-lists-expected.txt: Renamed from LayoutTests/svg/custom/text-x-dy-lists-expected.txt.
        * platform/gtk/svg/custom/use-invalid-style-expected.txt: Renamed from LayoutTests/svg/custom/use-invalid-style-expected.txt.
        * platform/gtk/svg/filters/filterRes1-expected.txt: Renamed from LayoutTests/svg/filters/filterRes1-expected.txt.
        * platform/gtk/svg/filters/filterRes2-expected.txt: Renamed from LayoutTests/svg/filters/filterRes2-expected.txt.
        * platform/gtk/svg/filters/filterRes3-expected.txt: Renamed from LayoutTests/svg/filters/filterRes3-expected.txt.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69366 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Martin Robinson  <mrobinson@igalia.com>

        Very small reorganization of the GTK+ skipped list.

        * platform/gtk/Skipped: Moved to the formdata skipped line to the beginDragWithFiles section.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Abhishek Arya  <inferno@chromium.org>

        Unreviewed. 

        Skipping failing test on qt because of incorrect behavior.
        https://bugs.webkit.org/show_bug.cgi?id=47388

        * platform/qt/Skipped:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Nico Weber  <thakis@chromium.org>

        Reviewed by James Robinson.

        [chromium] Make sure to update the current graphics context when calling out to AppKit.
        https://bugs.webkit.org/show_bug.cgi?id=47387

        This ports r57741 to ThemeChromiumMac. It also reverts r66975, which is
        now no longer necessary.

        Should be covered by existing tests. The checkbox at
        http://webkit.org/blog-files/3d-transforms/morphing-cubes.html should
        now show up correctly.

        * platform/chromium/ThemeChromiumMac.mm:
        (WebCore::paintCheckbox):
        (WebCore::paintRadio):
        Create current context.
        * platform/graphics/chromium/ContentLayerChromium.cpp:
        (WebCore::ContentLayerChromium::updateContents):
        Remove LocalCurrentContext, it's now no longer necessary.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Eric Uhrhane  <ericu@chromium.org>

        Reviewed by Jian Li

        [V8] Add FileWriter to active DOM map
        https://bugs.webkit.org/show_bug.cgi?id=47380

        It's an ActiveDOMObject; it needs to be in the map.

        * bindings/scripts/CodeGeneratorV8.pm:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69370 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Zhenyao Mo  <zmo@google.com>

        Unreviewed, roll chromium to r61902.

        * DEPS



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  David Goodwin  <david_goodwin@apple.com>

        Reviewed by Oliver Hunt.

        ARM JIT generates undefined operations due to partially uninitialized ShiftTypeAndAmount
        https://bugs.webkit.org/show_bug.cgi?id=47356

        * assembler/ARMv7Assembler.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mac] [DRT] implement setSpatialNavigationEnabled
https://bugs.webkit.org/show_bug.cgi?id=47291

Patch by Antonio Gomes <agomes@rim.com> on 2010-10-07
Reviewed by Simon Fraser.

WebCore:

Added Settings::setSpatialNavigationEnabled symbols to WebKit.exp.in
so it can be used from WebKit/mac.

* WebCore.exp.in:

WebKit/mac:

Added the needed bits to make it possible to enabled spatial navigation
for the Mac port. For now it is being only used by DRT.

* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
(-[WebPreferences isSpatialNavigationEnabled]):
(-[WebPreferences setSpatialNavigationEnabled:]):
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.mm:
(-[WebView _preferencesChangedNotification:]):

WebKitTools:

Implemented LayoutTestController::setSpatialNavigationEnabled for Mac's DRT
so it can track regression on the existing implementation and future improvements
we are making.

* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setSpatialNavigationEnabled):

LayoutTests:

Unskiping all spatial-navigation tests in fast/events/spatial-navigation but two
(snav-iframe-with-offscreen-focusable-element.html and snav-unit-overflow-and-scroll-in-direction.html).
These will be fixed on their own bugs.

* platform/mac/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Texmap] [Qt] Texture mapper initial implementation
        Texture Mapper is an implementation of accelerated compositing that doesn't require a
        platform specific scenegraph library like CA or QGraphicsView. The idea is that with
        time this would replace GraphicsLayerQt, and could serve as an implementation for other
        platforms that don't have a scenegraph library. The first stage of this is to add all the code to trunk,
        and enable it in Qt with an opt-in build flag so that it can be easily tested. Once it reaches
        an adequate level of stability, we can enable it by default and eventually have it replace GraphicsLayerQt.

        This change includes only the common new files and the Qt backend; Still to come: the GL backend and integration layer.

        * platform/graphics/qt/TextureMapperQt.cpp: Added.
        * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp: Added.
        * platform/graphics/texmap/GraphicsLayerTextureMapper.h: Added.
        * platform/graphics/texmap/TextureMapper.h: Added.
        * platform/graphics/texmap/TextureMapperPlatformLayer.h: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69374 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Zhenyao Mo  <zmo@google.com>

        Unreviewerd, update DRT WebGL test expectations.

        * platform/chromium/drt_expectations.txt



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69375 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Implement pageRect() function
        https://bugs.webkit.org/show_bug.cgi?id=47395

        Implement pageRect() in ChromeClientEfl using frameRect().

        * CMakeListsEfl.txt:
        * WebCoreSupport/ChromeClientEfl.cpp:
        (WebCore::ChromeClientEfl::pageRect):
        * ewk/ewk_private.h:
        * ewk/ewk_view.cpp:
        (ewk_view_page_rect_get): Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        * platform/chromium/drt_expectations.txt: Add recent failures.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69377 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        Refactor HTMLInputElement: Move valueAsDate and valueAsNumber implementations
        https://bugs.webkit.org/show_bug.cgi?id=47327

        Move the content of HTMLInputElement::valueAsDate(), setValueAsDate(),
        valueAsNumber(), and setValueAsNumber() to InputType, and move
        serialize() and serializeForDateTimeTypes() too

        * html/BaseDateAndTimeInputType.cpp:
        (WebCore::BaseDateAndTimeInputType::valueAsDate):
        (WebCore::BaseDateAndTimeInputType::setValueAsDate):
        (WebCore::BaseDateAndTimeInputType::valueAsNumber):
        (WebCore::BaseDateAndTimeInputType::setValueAsNumber):
        (WebCore::BaseDateAndTimeInputType::serialize):
        * html/BaseDateAndTimeInputType.h:
        * html/DateInputType.cpp:
        (WebCore::DateInputType::setMillisecondToDateComponents):
        * html/DateInputType.h:
        * html/DateTimeInputType.cpp:
        (WebCore::DateTimeInputType::setMillisecondToDateComponents):
        * html/DateTimeInputType.h:
        * html/DateTimeLocalInputType.cpp:
        (WebCore::DateTimeLocalInputType::valueAsDate):
        (WebCore::DateTimeLocalInputType::setValueAsDate):
        (WebCore::DateTimeLocalInputType::setMillisecondToDateComponents):
        * html/DateTimeLocalInputType.h:
        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::valueAsDate):
        (WebCore::HTMLInputElement::setValueAsDate):
        (WebCore::HTMLInputElement::valueAsNumber):
        (WebCore::HTMLInputElement::setValueAsNumber):
        (WebCore::HTMLInputElement::stepUpFromRenderer):
        * html/HTMLInputElement.h:
        * html/InputType.cpp:
        (WebCore::InputType::valueAsDate):
        (WebCore::InputType::setValueAsDate):
        (WebCore::InputType::valueAsNumber):
        (WebCore::InputType::setValueAsNumber):
        (WebCore::InputType::serialize):
        * html/InputType.h:
        * html/MonthInputType.cpp:
        (WebCore::MonthInputType::valueAsDate):
        (WebCore::MonthInputType::setValueAsDate):
        (WebCore::MonthInputType::setMillisecondToDateComponents):
        * html/MonthInputType.h:
        * html/NumberInputType.cpp:
        (WebCore::NumberInputType::valueAsNumber):
        (WebCore::NumberInputType::setValueAsNumber):
        (WebCore::NumberInputType::serialize):
        * html/NumberInputType.h:
        * html/RangeInputType.cpp:
        (WebCore::RangeInputType::valueAsNumber):
        (WebCore::RangeInputType::setValueAsNumber):
        (WebCore::RangeInputType::serialize):
        * html/RangeInputType.h:
        * html/TimeInputType.cpp:
        (WebCore::TimeInputType::setMillisecondToDateComponents):
        * html/TimeInputType.h:
        * html/WeekInputType.cpp:
        (WebCore::WeekInputType::setMillisecondToDateComponents):
        * html/WeekInputType.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69378 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Martin Robinson  <mrobinson@igalia.com>

        Rebaseline failing GTK+ tests.

        * platform/gtk/fonts/fontconfig-synthetic-bold-expected.txt:
        * platform/gtk/fonts/fontconfig-synthetic-oblique-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69379 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-07  Daniel Cheng  <dcheng@chromium.org>

        Reviewed by Kent Tamura.

        [chromium] Fix indentation in ChromiumDataObject.h
        https://bugs.webkit.org/show_bug.cgi?id=47396

        Just a cleanup patch to make followup diffs smaller.

        * platform/chromium/ChromiumDataObject.h:
        (WebCore::ChromiumDataObject::create):
        (WebCore::ChromiumDataObject::copy):
        (WebCore::ChromiumDataObject::urlTitle):
        (WebCore::ChromiumDataObject::setUrlTitle):
        (WebCore::ChromiumDataObject::htmlBaseUrl):
        (WebCore::ChromiumDataObject::setHtmlBaseUrl):
        (WebCore::ChromiumDataObject::containsFilenames):
        (WebCore::ChromiumDataObject::filenames):
        (WebCore::ChromiumDataObject::setFilenames):
        (WebCore::ChromiumDataObject::fileExtension):
        (WebCore::ChromiumDataObject::setFileExtension):
        (WebCore::ChromiumDataObject::fileContentFilename):
        (WebCore::ChromiumDataObject::setFileContentFilename):
        (WebCore::ChromiumDataObject::fileContent):
        (WebCore::ChromiumDataObject::setFileContent):

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