WebKit-https.git
10 years ago2009-06-29 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 30 Jun 2009 05:56:29 +0000 (05:56 +0000)]
2009-06-29  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Jan Alonzo.

        Remove unused function.

        * plugins/gtk/PluginPackageGtk.cpp:

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

10 years ago2009-06-29 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 30 Jun 2009 05:12:33 +0000 (05:12 +0000)]
2009-06-29  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Change RenderLayer::updateLayerPositions() to use a bitmask instead of two
        boolean arguments. FullUpdate is unused at present, but will be used soon.

        * page/FrameView.cpp:
        (WebCore::FrameView::layout):
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::updateLayerPositions):
        (WebCore::RenderLayer::scrollToOffset):
        * rendering/RenderLayer.h:
        (WebCore::RenderLayer::):

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

10 years ago2009-06-29 David Levin <levin@chromium.org>
levin@chromium.org [Tue, 30 Jun 2009 00:09:28 +0000 (00:09 +0000)]
2009-06-29  David Levin  <levin@chromium.org>

        Reviewed by Oliver Hunt.

        Still seeing occasional leaks from UString::sharedBuffer code
        https://bugs.webkit.org/show_bug.cgi?id=26420

        The problem is that the pointer to the memory allocation isn't visible
        by "leaks" due to the lower bits being used as flags.  The fix is to
        make the pointer visible in memory (in debug only). The downside of
        this fix that the memory allocated by sharedBuffer will still look like
        a leak in non-debug builds when any flags are set.

        * wtf/PtrAndFlags.h:
        (WTF::PtrAndFlags::set):

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

10 years ago2009-06-29 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Mon, 29 Jun 2009 23:44:36 +0000 (23:44 +0000)]
2009-06-29  Nate Chapin  <japhet@chromium.org>

        Reviewed by Dimitri Glazkov.

        Fix one more bad merge in V8Proxy.

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

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

10 years ago2009-06-29 David Hyatt <hyatt@apple.com>
hyatt@apple.com [Mon, 29 Jun 2009 23:21:10 +0000 (23:21 +0000)]
2009-06-29  David Hyatt  <hyatt@apple.com>

        Fix Windows bustage.  Missed two configurations for enabling DATAGRID.

        * WebKit.vcproj/WebKit.vcproj:

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

10 years agoJavaScriptCore:
weinig@apple.com [Mon, 29 Jun 2009 22:35:44 +0000 (22:35 +0000)]
JavaScriptCore:

2009-06-29  Sam Weinig  <sam@webkit.org>

        Reviewed by Mark Rowe.

        Remove more unused scons support.

        * SConstruct: Removed.

WebCore:

2009-06-29  Sam Weinig  <sam@webkit.org>

        Reviewed by Mark Rowe.

        Remove more unused scons support.

        * SConstruct: Removed.

WebKitTools:

2009-06-29  Sam Weinig  <sam@webkit.org>

        Reviewed by Mark Rowe.

        Remove more unused scons support.

        * Scripts/build-jsc:
        * Scripts/build-webkit:
        * Scripts/webkitdirs.pm:

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

10 years ago<rdar://problem/7016214> JSON.parse fails to parse valid JSON with most Unicode chara...
oliver@apple.com [Mon, 29 Jun 2009 22:33:55 +0000 (22:33 +0000)]
<rdar://problem/7016214> JSON.parse fails to parse valid JSON with most Unicode characters
<https://bugs.webkit.org/show_bug.cgi?id=26802>

Reviewed by Gavin Barraclough.

In the original JSON.parse patch unicode was handled correctly, however in some last
minute "clean up" I oversimplified isSafeStringCharacter.  This patch corrects this bug.

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

10 years ago2009-06-29 Sam Weinig <sam@webkit.org>
weinig@apple.com [Mon, 29 Jun 2009 21:38:10 +0000 (21:38 +0000)]
2009-06-29  Sam Weinig  <sam@webkit.org>

        Reviewed by Dave Hyatt.

        Fix some incorrect create functions.

        * html/DataGridColumn.h:
        (WebCore::DataGridColumn::create):
        * html/DataGridColumnList.h:
        (WebCore::DataGridColumnList::create):

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

10 years ago2009-06-29 Antonio Gomes <antonio.gomes@openbossa.org>
hausmann@webkit.org [Mon, 29 Jun 2009 21:32:02 +0000 (21:32 +0000)]
2009-06-29  Antonio Gomes   <antonio.gomes@openbossa.org>

        Reviewed by Simon Hausmann.

        Updated LayoutTests/platform/qt/fast/css/getComputedStyle/computed-style-expected.txt to some newly cross-platform CSS properties.

        The file has not been updated for a while.

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

10 years agoWebCore:
weinig@apple.com [Mon, 29 Jun 2009 21:31:15 +0000 (21:31 +0000)]
WebCore:

2009-06-29  Sam Weinig  <sam@webkit.org>

        Reviewed by Dave Hyatt.

        Remove initialize method from DataGridDataSource and add
        DOMDataGridDataSource.

        * GNUmakefile.am:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCoreSources.bkl:
        * bindings/js/JSDataGridDataSource.cpp:
        * bindings/js/JSDataGridDataSource.h:
        * bindings/js/JSHTMLDataGridElementCustom.cpp:
        (WebCore::JSHTMLDataGridElement::setDataSource):
        * html/DOMDataGridDataSource.cpp: Added.
        (WebCore::DOMDataGridDataSource::DOMDataGridDataSource):
        (WebCore::DOMDataGridDataSource::~DOMDataGridDataSource):
        * html/DOMDataGridDataSource.h: Added.
        (WebCore::DOMDataGridDataSource::create):
        (WebCore::DOMDataGridDataSource::isDOMDataGridDataSource):
        (WebCore::asDOMDataGridDataSource):
        * html/DataGridDataSource.h:
        (WebCore::DataGridDataSource::isDOMDataGridDataSource):
        (WebCore::DataGridDataSource::isJSDataGridDataSource):
        * html/HTMLDataGridElement.cpp:
        (WebCore::HTMLDataGridElement::HTMLDataGridElement):
        (WebCore::HTMLDataGridElement::setDataSource):
        (WebCore::HTMLDataGridElement::dataSource):
        * html/HTMLDataGridElement.h:

LayoutTests:

2009-06-29  Sam Weinig  <sam@webkit.org>

        Reviewed by Dave Hyatt.

        Update for the change in DataGridDataSource API.

        * fast/dom/HTMLDataGridElement/DataGridDataSource-basic-expected.txt:
        * fast/dom/HTMLDataGridElement/DataGridDataSource-basic.html:

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

10 years ago2009-06-29 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Mon, 29 Jun 2009 20:58:08 +0000 (20:58 +0000)]
2009-06-29  Nate Chapin  <japhet@chromium.org>

        Reviewed by Dimitri Glazkov.

        Fix a couple of bad merge items from my previous V8Proxy patch.

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

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

10 years ago2009-06-26 Eric Seidel <eric@webkit.org>
eric@webkit.org [Mon, 29 Jun 2009 20:42:30 +0000 (20:42 +0000)]
2009-06-26  Eric Seidel  <eric@webkit.org>

        Reviewed by David Levin.

        Rename land-and-update to land-diff and make it awesome.
        https://bugs.webkit.org/show_bug.cgi?id=26734

        Renamed land-and-update to land-diff
        Made the BUGID argument optional.
        Added optional support for building and testing before landing.

        land-diff [options] [BUGID]    Lands the current working directory diff and updates the bug if provided.
          Options:
            -r REVIEWER, --reviewer=REVIEWER
                              Update ChangeLogs to say Reviewed by REVIEWER.
            --no-close        Leave bug open after landing.
            --no-build        Commit without building first, implies --no-test.
            --no-test         Commit without running run-webkit-tests.

        * Scripts/bugzilla-tool:

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

10 years ago https://bugs.webkit.org/show_bug.cgi?id=26706
cmarrin@apple.com [Mon, 29 Jun 2009 20:41:16 +0000 (20:41 +0000)]
    https://bugs.webkit.org/show_bug.cgi?id=26706

        Fixed crash due to dereference of m_toStyle

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

10 years agobuild fix. accidental omission of end paren
alice.liu@apple.com [Mon, 29 Jun 2009 20:36:04 +0000 (20:36 +0000)]
build fix.  accidental omission of end paren

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

10 years ago2009-06-29 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Mon, 29 Jun 2009 20:22:03 +0000 (20:22 +0000)]
2009-06-29  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Simon Fraser.

        <rdar://problem/7014813> Ask media engine if a movie is streamed or downloaded.

        * WebCore.base.exp:
            Export _wkQTMovieGetType

        * platform/graphics/MediaPlayer.cpp:
        (WebCore::MediaPlayer::hasSingleSecurityOrigin):
            Move to keep with other non-callback functions.
        (WebCore::MediaPlayer::movieLoadType):
            New, returns the movie type.
        * platform/graphics/MediaPlayer.h:
            Declare MovieLoadType enum and movieLoadType method.

        * platform/graphics/MediaPlayerPrivate.h:
        (WebCore::MediaPlayerPrivateInterface::movieLoadType):
            Default implementation of movieLoadType

        * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
        (WebCore::MediaPlayerPrivate::createQTMovie):
            Don't base m_isStreaming on protocol, there are other types of streaming movies.
        (WebCore::MediaPlayerPrivate::maxTimeBuffered):
            Don't assume all streams are unbuffered.
        (WebCore::MediaPlayerPrivate::updateStates):
            Update m_isStreaming once we have metadata.
        (WebCore::MediaPlayerPrivate::disableUnsupportedTracks):
            Tracks that are disabled to begin with shouldn't be included in m_enabledTrackCount.
        (WebCore::MediaPlayerPrivate::movieLoadType):
            New, return movie type.

        * platform/mac/WebCoreSystemInterface.h:
        * platform/mac/WebCoreSystemInterface.mm:
            Add wkQTMovieGetType.

2009-06-29  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Simon Fraser.

        <rdar://problem/7014813> Ask media engine if a movie is streamed or downloaded.

        * WebCoreSupport/WebSystemInterface.m:
        (InitWebCoreSystemInterface):
            Add QTMovieGetType.

2009-06-29  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Simon Fraser.

        Update WebKitSystemInterface for <rdar://problem/7014813>

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

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

10 years ago2009-06-29 Alice Liu <alice.liu@apple.com>
alice.liu@apple.com [Mon, 29 Jun 2009 20:15:09 +0000 (20:15 +0000)]
2009-06-29  Alice Liu  <alice.liu@apple.com>

        Fixed <rdar://problem/6930280> Reproducible crash at USA Today photo gallery

        Reviewed by Anders Carlsson.

        No test added because the crash requires a flash plugin

        * plugins/win/PluginMessageThrottlerWin.cpp:
        Rely on the hWnd of the plugin to tell us whether the PluginView has
        been deleted during execution of its wndProc.
        (WebCore::PluginMessageThrottlerWin::messageThrottleTimerFired):

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

10 years ago2009-06-29 Dmitry Titov <dimich@chromium.org>
dimich@chromium.org [Mon, 29 Jun 2009 20:02:50 +0000 (20:02 +0000)]
2009-06-29  Dmitry Titov  <dimich@chromium.org>

        Reviewed by David Levin.

        https://bugs.webkit.org/show_bug.cgi?id=26811
         [Chromium] Remove a flag and functions used to enable workers in runtime.

        * bindings/v8/WorkerContextExecutionProxy.cpp:
        * bindings/v8/WorkerContextExecutionProxy.h:

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

10 years ago2009-06-29 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 29 Jun 2009 20:00:44 +0000 (20:00 +0000)]
2009-06-29  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dave Hyatt.

        <rdar://problem/6976712> Text antialiasing problems when rendering into compositing layers.

        Improve the appearance of text in compositing layers by making use of
        CA's layer geometry flipping, rather that doing it ourselves with a flip
        transform. This allows CG to use font autohinting in the layer text.

        * platform/graphics/GraphicsLayer.h:
        (WebCore::GraphicsLayer::setGeometryOrientation):
        (WebCore::GraphicsLayer::geometryOrientation):
        New methods to set whether this layer uses flipped geometry.

        * platform/graphics/mac/GraphicsLayerCA.h:
        * platform/graphics/mac/GraphicsLayerCA.mm:
        (WebCore::GraphicsLayerCA::setGeometryOrientation):
        (WebCore::GraphicsLayerCA::geometryOrientation):
        Subclass in order to call into CA

        (WebCore::GraphicsLayerCA::setContentsLayer):
        Now that CA is doing the geometry flipping, we no longer need to flip the content
        layers for image and video manually

        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::ensureRootPlatformLayer):
        Turn on flipping on the root layer.

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

10 years ago2009-06-29 David Hyatt <hyatt@apple.com>
hyatt@apple.com [Mon, 29 Jun 2009 19:52:30 +0000 (19:52 +0000)]
2009-06-29  David Hyatt  <hyatt@apple.com>

        Reviewed by Mark Rowe.

        Update layout tests for addition of HTMLDataGridCellElement constructor.

        * fast/dom/Window/window-properties-expected.txt:
        * fast/js/global-constructors-expected.txt:

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

10 years agoReviewed by Adam Treat.
zimmermann@webkit.org [Mon, 29 Jun 2009 19:36:23 +0000 (19:36 +0000)]
Reviewed by Adam Treat.
Rename go-task-animation.* to ontimer-inline-event.* to reflect what it really tests.

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

10 years agoReviewed by Adam Treat.
zimmermann@webkit.org [Mon, 29 Jun 2009 19:11:12 +0000 (19:11 +0000)]
Reviewed by Adam Treat.

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

Implement most WML specific <select> element features.
Add 'iname' / 'ivalue' support and support variable references.

Add two tests covering most select/variable related functionality.
Needs more tests when adding full 'iname' / 'ivalue' support (used in conjuction with onpick).

Tests: http/tests/wml/post-data-to-server.html
       wml/select-element-variables.html

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

10 years ago2009-06-29 Jessie Berlin <jberlin@apple.com>
jberlin@apple.com [Mon, 29 Jun 2009 16:34:59 +0000 (16:34 +0000)]
2009-06-29  Jessie Berlin  <jberlin@apple.com>

        Fix the windows build.

        Reviewed by Adam Roben.

        * WebCoreSupport/WebContextMenuClient.cpp:
        (WebContextMenuClient::isSpeaking):
        * WebCoreSupport/WebContextMenuClient.h:

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

10 years ago2009-06-29 David Hyatt <hyatt@apple.com>
hyatt@apple.com [Mon, 29 Jun 2009 16:03:34 +0000 (16:03 +0000)]
2009-06-29  David Hyatt  <hyatt@apple.com>

        Reviewed by Adam Roben.

        Make sure to patch all configurations to have datagrid enabled.

        * WebKit.vcproj/WebKit.vcproj:

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

10 years agoWebCore:
hyatt@apple.com [Mon, 29 Jun 2009 15:52:00 +0000 (15:52 +0000)]
WebCore:

2009-06-29  David Hyatt  <hyatt@apple.com>

        Reviewed by Adam Roben.

        Put <datagrid> behind an ifdef.

        * Configurations/FeatureDefines.xcconfig:
        * bindings/js/JSDataGridColumnListCustom.cpp:
        * bindings/js/JSDataGridDataSource.cpp:
        * bindings/js/JSDataGridDataSource.h:
        * bindings/js/JSHTMLDataGridElementCustom.cpp:
        * html/DataGridColumn.cpp:
        * html/DataGridColumn.h:
        * html/DataGridColumn.idl:
        * html/DataGridColumnList.cpp:
        * html/DataGridColumnList.h:
        * html/DataGridColumnList.idl:
        * html/DataGridDataSource.h:
        * html/HTMLDataGridCellElement.cpp:
        * html/HTMLDataGridCellElement.h:
        * html/HTMLDataGridCellElement.idl:
        * html/HTMLDataGridColElement.cpp:
        * html/HTMLDataGridColElement.h:
        * html/HTMLDataGridColElement.idl:
        * html/HTMLDataGridElement.cpp:
        * html/HTMLDataGridElement.h:
        * html/HTMLDataGridElement.idl:
        * html/HTMLDataGridRowElement.cpp:
        * html/HTMLDataGridRowElement.h:
        * html/HTMLDataGridRowElement.idl:
        * html/HTMLTagNames.in:
        * page/DOMWindow.idl:
        * rendering/RenderDataGrid.cpp:
        * rendering/RenderDataGrid.h:

WebKit/mac:

2009-06-29  David Hyatt  <hyatt@apple.com>

        Reviewed by Adam Roben.

        Put datagrid behind an #ifdef.

        * Configurations/FeatureDefines.xcconfig:

WebKit/win:

2009-06-29  David Hyatt  <hyatt@apple.com>

        Reviewed by Adam Roben.

        Put <datagrid> behind an ifdef.

        * WebKit.vcproj/WebKit.vcproj:

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

10 years ago2009-06-29 Simon Hausmann <simon.hausmann@nokia.com>
hausmann@webkit.org [Mon, 29 Jun 2009 13:57:44 +0000 (13:57 +0000)]
2009-06-29  Simon Hausmann  <simon.hausmann@nokia.com>

        Reviewed by Ariya Hidayat and Adam Roben.

        Fix compilation with MINGW. Ported MSVC inline assembly to
        GNU inline assembly. Also fixed casting errors where gcc
        refused to cast a pointer-to-function to a pointer-to-object,
        without an intermediate cast to a non-pointer type.

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

10 years ago2009-06-29 Simon Hausmann <simon.hausmann@nokia.com>
hausmann@webkit.org [Mon, 29 Jun 2009 09:17:05 +0000 (09:17 +0000)]
2009-06-29  Simon Hausmann  <simon.hausmann@nokia.com>

        Fix the Qt build, add missing isSpeaking() implementation to
        ContextMenuClient.

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

10 years ago2009-06-28 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Mon, 29 Jun 2009 05:24:13 +0000 (05:24 +0000)]
2009-06-28  Xan Lopez  <xlopez@igalia.com>

        Fix the GTK+ build.

        * WebCoreSupport/ContextMenuClientGtk.cpp:
        (WebKit::ContextMenuClient::isSpeaking):
        * WebCoreSupport/ContextMenuClientGtk.h:

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

10 years agoWebCore:
sullivan@apple.com [Mon, 29 Jun 2009 03:06:17 +0000 (03:06 +0000)]
WebCore:

2009-06-26  John Sullivan  <sullivan@apple.com>

        Added Speech submenu to context menu on Mac when there's a non-editable selection
        (it was already present when there's an editable selection).
        Also added support for disabling "Stop Speaking" when there is no speaking to stop.

        Reviewed by Tim Hatcher.

        * loader/EmptyClients.h:
        (WebCore::EmptyContextMenuClient::isSpeaking):
        implemented this new virtual function to return false

        * page/ContextMenuClient.h:
        declared this new pure virtual function

        * platform/ContextMenu.cpp:
        (WebCore::ContextMenu::populate):
        insert Speech item (after a separator) on Mac when there's selected non-editable text
        (WebCore::ContextMenu::checkOrEnableIfNeeded):
        enable Stop Speaking item only if the context menu client returns true for isSpeaking()

WebKit/mac:

2009-06-26  John Sullivan  <sullivan@apple.com>

        Added support for disabling Stop Speaking when there is no speaking to stop.
        Also fixed Stop Speaking so that it works (formerly it would throw an exception, and
        selecting it from the menu would perform a web search instead (!)).

        Reviewed by Tim Hatcher.

        * WebCoreSupport/WebContextMenuClient.h:
        declare isSpeaking()

        * WebCoreSupport/WebContextMenuClient.mm:
        (WebContextMenuClient::isSpeaking):
        implement by calling through to NSApplication
        (WebContextMenuClient::stopSpeaking):
        fixed implementation by correcting the signature of the NSApplication method

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

10 years agoWebCore:
mitz@apple.com [Mon, 29 Jun 2009 02:54:03 +0000 (02:54 +0000)]
WebCore:

        Reviewed by Simon Fraser.

        - fix https://bugs.webkit.org/show_bug.cgi?id=26783
          <rdar://problem/7014543> REGRESSION (r45296): Subfolders not displayed
          in MobileMe iDisk Web App

        Test: added a case to fast/dom/Element/scrollWidth.html

        Ensure that scroll{Width, Height} is greater or equal to
        client{Width, Height}.

        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::scrollWidth):
        (WebCore::RenderBox::scrollHeight):

LayoutTests:

        Reviewed by Simon Fraser.

        - add a test case for https://bugs.webkit.org/show_bug.cgi?id=26783
          <rdar://problem/7014543> REGRESSION (r45296): Subfolders not displayed
          in MobileMe iDisk Web App

        * fast/dom/Element/scrollWidth-expected.txt:
        * fast/dom/Element/scrollWidth.html:

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

10 years ago2009-06-27 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sun, 28 Jun 2009 17:25:01 +0000 (17:25 +0000)]
2009-06-27  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Eric Seidel.

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

        Do not make compositing layers for non-self-painting RenderLayers,
        since these exist only to push a clip onto the clipping stack. If such
        a layer gets compositied for some other reason, it should not paint.

        Also ensure that we update composited layer positions correctly
        inside overflow:scroll layers. We can't assume that the contents
        are child layers, so we have to go up to the compositing ancestor,
        and tell it to update all its child layer positions as we do
        after layout.

        Tests: compositing/layers-inside-overflow-scroll.html
               compositing/self-painting-layers.html

        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::scrollToOffset):
        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::paintIntoLayer):
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::calculateCompositedBounds):
        (WebCore::RenderLayerCompositor::needsToBeComposited):

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

10 years ago2009-06-28 Sriram Yadavalli <sriram.yadavalli@nokia.com>
jmalonzo@webkit.org [Sun, 28 Jun 2009 12:40:40 +0000 (12:40 +0000)]
2009-06-28  Sriram Yadavalli  <sriram.yadavalli@nokia.com>

        Reviewed by Eric Seidel.

        [Qt] Fix build break for Qt
        https://bugs.webkit.org/show_bug.cgi?id=26779

        * Api/qwebpage.cpp:
        (QWebPage::swallowContextMenuEvent):

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

10 years ago2009-06-28 Jan Michael Alonzo <jmalonzo@webkit.org>
jmalonzo@webkit.org [Sun, 28 Jun 2009 11:58:14 +0000 (11:58 +0000)]
2009-06-28  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Gtk build fix - include stdarg.h for va_start/va_end.

        * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:

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

10 years ago2009-06-28 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
eric@webkit.org [Sun, 28 Jun 2009 11:15:01 +0000 (11:15 +0000)]
2009-06-28  Luke Kenneth Casson Leighton  <lkcl@lkcl.net>

        Reviewed by Eric Seidel.

        PurgeableBuffer #defines leave out functions on gtk MacOSX 10.4 build
        https://bugs.webkit.org/show_bug.cgi?id=23057

        Define these functions for Gtk as well.

        * platform/PurgeableBuffer.h:

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

10 years ago2009-06-28 Nate Chapin <japhet@chromium.org>
eric@webkit.org [Sun, 28 Jun 2009 11:14:00 +0000 (11:14 +0000)]
2009-06-28  Nate Chapin  <japhet@chromium.org>

        Reviewed by Dimitri Glazkov.

        Update CodeGeneratorV8.pm to match the new api for V8Proxy.

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

        * bindings/scripts/CodeGeneratorV8.pm: Match the current version of V8Proxy.

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

10 years ago2009-06-28 Nicolas Sylvain <nsylvain@chromium.org>
eric@webkit.org [Sun, 28 Jun 2009 11:13:25 +0000 (11:13 +0000)]
2009-06-28  Nicolas Sylvain  <nsylvain@chromium.org>

        Reviewed by Dimitri Glazkov.

        If loading a font fails because of the sandbox, we ask the browser process to
        try to load it by calling ensureFontLoaded. If it still fails after
        ensureFontLoaded, we hit a ASSERT_NOT_REACHED.

        This case happens once in a while during browser shutdown. The browser will
        queue a message to the renderer to shutdown, and will then stop answering sync
        messages from the renderer. If the renderer is still loading a page during this
        time, it might try to call the browser process to ask to load a font. The
        browser process will ignore the request, and the font will fail to load, even
        after the second try.

        This is unfortunate, but there is no real risk here, since the renderer will be
        going away as soon as it processes another message.

        This can't be layout tested as it depends on the sandbox.

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

        * platform/graphics/chromium/FontChromiumWin.cpp:
        * platform/graphics/chromium/FontPlatformDataChromiumWin.cpp:
        * platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp:
        * platform/graphics/chromium/SimpleFontDataChromiumWin.cpp:

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

10 years ago2009-06-28 John Abd-El-Malek <jam@chromium.org>
eric@webkit.org [Sun, 28 Jun 2009 10:31:58 +0000 (10:31 +0000)]
2009-06-28  John Abd-El-Malek  <jam@chromium.org>

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

        Layout tests to ensure that "src" paramater is added when it's missing
        but "data" is present.

        * plugins/netscape-plugin-map-data-to-src-expected.txt: Added.
        * plugins/netscape-plugin-map-data-to-src.html: Added.

2009-06-28  John Abd-El-Malek  <jam@chromium.org>

        Reviewed by Eric Seidel.

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

        Test: plugins/netscape-plugin-map-data-to-src.html

        Fix problems with Real or WMP plugins not displaying because "data" was set
        on the OBJECT tag instead of "src".  This is based on what Firefox does, see
        http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsObjectFrame.cpp#3045

        * rendering/RenderPartObject.cpp:
        (WebCore::mapDataParamToSrc):
        (WebCore::RenderPartObject::updateWidget):

2009-06-28  John Abd-El-Malek  <jam@chromium.org>

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

        Modify NPAPI test plugin to verify that "src" paramater is added when
        it's missing but "data" is present.

        * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
        (pluginLog):
        * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
        * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
        (NPP_New):
        (NPP_Destroy):
        (NPP_SetWindow):
        (handleEventCarbon):
        (handleEventCocoa):
        * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
        (NPP_New):

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

10 years ago2009-06-28 Eric Seidel <eric@webkit.org>
eric@webkit.org [Sun, 28 Jun 2009 10:19:53 +0000 (10:19 +0000)]
2009-06-28  Eric Seidel  <eric@webkit.org>

        No review.  Just updating test results Kevin seems to have missed.

        Test failure started with:
        http://trac.webkit.org/changeset/45287
        The new results definitely look better.

        * fast/profiler/profile-with-no-title-expected.txt:

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

10 years ago2009-06-28 Miloš Popović <gpopac@gmail.com>
jmalonzo@webkit.org [Sun, 28 Jun 2009 09:36:50 +0000 (09:36 +0000)]
2009-06-28  Miloš Popović  <gpopac@gmail.com>

        Rubber-stamped by Jan Alonzo.

        New Serbian translation.

        * sr.po: Added.
        * sr@latin.po: Added.

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

10 years ago2009-06-27 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sun, 28 Jun 2009 06:05:01 +0000 (06:05 +0000)]
2009-06-27  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

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

        Fix up previous change. When computeCompositingRequirements() determines
        that the current layer is composited, it needs to inform its parent
        by setting compositingState.m_subtreeIsCompositing() to true. That didn't
        always happen after the previous patch. Clarified the logic here.

        * rendering/RenderLayerCompositor.cpp:
        (WebCore::CompositingState::CompositingState):
        (WebCore::RenderLayerCompositor::computeCompositingRequirements):

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

10 years ago2009-06-27 Laszlo Gombos <laszlo.1.gombos@nokia.com>
jmalonzo@webkit.org [Sun, 28 Jun 2009 05:54:52 +0000 (05:54 +0000)]
2009-06-27  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Jan Alonzo.

        [Qt] Build fix after r45290
        https://bugs.webkit.org/show_bug.cgi?id=26769

        * WebCore.pro:

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

10 years ago2009-06-27 Emilio Pozuelo Monfort <pochu27@gmail.com>
jmalonzo@webkit.org [Sun, 28 Jun 2009 05:54:40 +0000 (05:54 +0000)]
2009-06-27  Emilio Pozuelo Monfort  <pochu27@gmail.com>

        Reviewed by Jan Alonzo.

        [GTK] Don't use deprecated GTK+ symbols.
        https://bugs.webkit.org/show_bug.cgi?id=26583

        * plugins/gtk/gtk2xtbin.c:
        (gtk_xtbin_class_init):
        (gtk_xtbin_new):
        (gtk_xtbin_destroy):
        * GtkLauncher/main.c:
        (create_toolbar):

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

10 years ago2009-06-27 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sun, 28 Jun 2009 04:38:26 +0000 (04:38 +0000)]
2009-06-27  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

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

        First part: fix the RenderLayer::hasCompositingDescendant() flag to be set
        correctly.

        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::computeCompositingRequirements):
        Do not unconditionally set compositingState.m_subtreeIsCompositing, because
        that can clobber the value from an earlier sibling. Add some more comments.

        Remove a final use of Vector iterators.

        (WebCore::RenderLayerCompositor::recursiveRepaintLayerRect):
        Move the normalFlowList() processing outside the test for isStackingContext().

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

10 years ago Reviewed by Simon Fraser and Antti Koivisto.
mitz@apple.com [Sun, 28 Jun 2009 04:19:11 +0000 (04:19 +0000)]
    Reviewed by Simon Fraser and Antti Koivisto.

        - make paintFillLayerExtended() non-virtual and remove its clipY and
          clipH parameters

        These parameters were computed and passed along to
        paintFillLayerExtended in order to vertically constrain the rect fill to
        the damage rect, because Qt cannot paint tall rectangles (see
        <http://websvn.kde.org/?view=rev&revision=42721>). Since the damage rect
        is passed along in the PaintInfo, the extra parameters are redundant,
        and the intersection can just take place in paintFillLayerExtended().

        * rendering/InlineFlowBox.cpp:
        (WebCore::InlineFlowBox::paintFillLayers):
        (WebCore::InlineFlowBox::paintFillLayer):
        (WebCore::InlineFlowBox::paintBoxDecorations):
        (WebCore::InlineFlowBox::paintMask):
        * rendering/InlineFlowBox.h:
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::paintRootBoxDecorations):
        (WebCore::RenderBox::paintBoxDecorations):
        (WebCore::RenderBox::paintMask):
        (WebCore::RenderBox::paintMaskImages):
        (WebCore::RenderBox::paintFillLayers):
        (WebCore::RenderBox::paintFillLayer):
        * rendering/RenderBox.h:
        * rendering/RenderBoxModelObject.cpp:
        (WebCore::RenderBoxModelObject::paintFillLayerExtended):
        * rendering/RenderBoxModelObject.h:
        * rendering/RenderFieldset.cpp:
        (WebCore::RenderFieldset::paintBoxDecorations):
        (WebCore::RenderFieldset::paintMask):
        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::paintBoxDecorations):
        (WebCore::RenderTable::paintMask):
        * rendering/RenderTableCell.cpp:
        (WebCore::RenderTableCell::paintBackgroundsBehindCell):
        (WebCore::RenderTableCell::paintMask):

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

10 years agoWebCore:
bfulgham@webkit.org [Sun, 28 Jun 2009 03:13:52 +0000 (03:13 +0000)]
WebCore:

2009-06-27  Ryosuke Niwa  <rniwa@google.com>

        Reviewed by Eric Seidel.

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

        Clean up for IndentOutdentCommand::indentRegion, and solved most of problems related to the bug 21712.
        https://bugs.webkit.org/show_bug.cgi?id=21712

        Added few utility functions to htmlediting.h/cpp

        isVisibilyAdjacent checks whether the first position is visibly next to the second position.
        i.e. there is no visible node between the first and second positions

        canMergeLists checks whether two lists can be merged.
        It checks the type of list, the editing boundary, and adjacency of the lists.

        Tests: editing/execCommand/indent-nested-lists-1.html
               editing/execCommand/indent-nested-lists-2.html
               editing/execCommand/indent-nested-lists-3.html
               editing/execCommand/indent-nested-lists-4.html
               editing/execCommand/indent-nested-lists-5.html
               editing/execCommand/indent-nested-lists-6.html
               editing/execCommand/indent-nested-lists-7.html
               editing/execCommand/outdent-nested-lists-1.html
               editing/execCommand/outdent-nested-lists-2.html
               editing/execCommand/outdent-nested-lists-3.html
               editing/execCommand/outdent-nested-lists-4.html

        * editing/IndentOutdentCommand.cpp:
        (WebCore::IndentOutdentCommand::prepareBlockquoteLevelForInsertion):
        (WebCore::IndentOutdentCommand::tryIndentingAsListItem):
        (WebCore::IndentOutdentCommand::indentIntoBlockquote):
        (WebCore::IndentOutdentCommand::indentRegion):
        * editing/IndentOutdentCommand.h:
        * editing/htmlediting.cpp:
        (WebCore::enclosingListChild):
        (WebCore::canMergeLists):
        (WebCore::isVisibilyAdjacent):
        * editing/htmlediting.h:

LayoutTests:

2009-06-27  Ryosuke Niwa  <set EMAIL_ADDRESS environment variable>

        Reviewed by Eric Seidel.

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

        Clean up for IndentOutdentCommand::indentRegion, and solved most of problems related to the bug 21712.
        https://bugs.webkit.org/show_bug.cgi?id=21712

        The following test cases are intended for 21712, but included here
        since this patch already solved a lot of problems.

        * editing/execCommand/indent-nested-lists-1-expected.txt: Added.
        * editing/execCommand/indent-nested-lists-1.html: Added.
        * editing/execCommand/indent-nested-lists-2-expected.txt: Added.
        * editing/execCommand/indent-nested-lists-2.html: Added.
        * editing/execCommand/indent-nested-lists-3-expected.txt: Added.
        * editing/execCommand/indent-nested-lists-3.html: Added.
        * editing/execCommand/indent-nested-lists-4-expected.txt: Added.
        * editing/execCommand/indent-nested-lists-4.html: Added.
        * editing/execCommand/indent-nested-lists-5-expected.txt: Added.
        * editing/execCommand/indent-nested-lists-5.html: Added.
        * editing/execCommand/indent-nested-lists-6-expected.txt: Added.
        * editing/execCommand/indent-nested-lists-6.html: Added.
        * editing/execCommand/indent-nested-lists-7-expected.txt: Added.
        * editing/execCommand/indent-nested-lists-7.html: Added.
        * editing/execCommand/outdent-nested-lists-1-expected.txt: Added.
        * editing/execCommand/outdent-nested-lists-1.html: Added.
        * editing/execCommand/outdent-nested-lists-2-expected.txt: Added.
        * editing/execCommand/outdent-nested-lists-2.html: Added.
        * editing/execCommand/outdent-nested-lists-3-expected.txt: Added.
        * editing/execCommand/outdent-nested-lists-3.html: Added.
        * editing/execCommand/outdent-nested-lists-4-expected.txt: Added.
        * editing/execCommand/outdent-nested-lists-4.html: Added.

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

10 years ago2009-06-27 Pavel Feldman <pfeldman@chromium.org>
bfulgham@webkit.org [Sun, 28 Jun 2009 02:31:03 +0000 (02:31 +0000)]
2009-06-27  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        WebInspector: Fix completion when iterating options using Tab.

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

        * inspector/front-end/TextPrompt.js:
        (WebInspector.TextPrompt.prototype._completionsReady):

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

10 years ago2009-06-27 Daniel Bates <dbates@intudata.com>
abarth@webkit.org [Sun, 28 Jun 2009 00:32:19 +0000 (00:32 +0000)]
2009-06-27  Daniel Bates  <dbates@intudata.com>

        Reviewed by Adam Barth.

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

        More tests for the XSSAuditor.

        * http/tests/security/xssAuditor/anchor-url-dom-write-location-expected.txt: Added.
        * http/tests/security/xssAuditor/anchor-url-dom-write-location-inline-event-expected.txt: Added.
        * http/tests/security/xssAuditor/anchor-url-dom-write-location-inline-event.html: Added.
        * http/tests/security/xssAuditor/anchor-url-dom-write-location-javascript-URL-expected.txt: Added.
        * http/tests/security/xssAuditor/anchor-url-dom-write-location-javascript-URL.html: Added.
        * http/tests/security/xssAuditor/anchor-url-dom-write-location.html: Added.
        * http/tests/security/xssAuditor/dom-write-URL-expected.txt: Added.
        * http/tests/security/xssAuditor/dom-write-URL.html: Added.
        * http/tests/security/xssAuditor/dom-write-innerHTML-expected.txt: Added.
        * http/tests/security/xssAuditor/dom-write-innerHTML.html: Added.
        * http/tests/security/xssAuditor/dom-write-location-expected.txt: Added.
        * http/tests/security/xssAuditor/dom-write-location-inline-event-expected.txt: Added.
        * http/tests/security/xssAuditor/dom-write-location-inline-event.html: Added.
        * http/tests/security/xssAuditor/dom-write-location-javascript-URL-expected.txt: Added.
        * http/tests/security/xssAuditor/dom-write-location-javascript-URL.html: Added.
        * http/tests/security/xssAuditor/dom-write-location.html: Added.
        * http/tests/security/xssAuditor/faux-script1-expected.txt: Added.
        * http/tests/security/xssAuditor/faux-script1.html: Added.
        * http/tests/security/xssAuditor/faux-script2-expected.txt: Added.
        * http/tests/security/xssAuditor/faux-script2.html: Added.
        * http/tests/security/xssAuditor/faux-script3-expected.txt: Added.
        * http/tests/security/xssAuditor/faux-script3.html: Added.
        * http/tests/security/xssAuditor/get-from-iframe-expected.txt: Added.
        * http/tests/security/xssAuditor/get-from-iframe.html: Added.
        * http/tests/security/xssAuditor/malformed-HTML-expected.txt: Added.
        * http/tests/security/xssAuditor/malformed-HTML.html: Added.
        * http/tests/security/xssAuditor/post-from-iframe-expected.txt: Added.
        * http/tests/security/xssAuditor/post-from-iframe.html: Added.
        * http/tests/security/xssAuditor/resources/anchor-url-dom-write-location-click.html: Added.
        * http/tests/security/xssAuditor/resources/echo-dom-write-URL.html: Added.
        * http/tests/security/xssAuditor/resources/echo-dom-write-innerHTML.html: Added.
        * http/tests/security/xssAuditor/resources/echo-dom-write-location.html: Added.
        * http/tests/security/xssAuditor/resources/utilities.js: Added.
        (sendRequestFromIFrame):

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

10 years ago2009-06-27 Gustavo Noronha Silva <gns@gnome.org>
kov@webkit.org [Sat, 27 Jun 2009 21:38:23 +0000 (21:38 +0000)]
2009-06-27  Gustavo Noronha Silva  <gns@gnome.org>

        Reviewed by Holger Freyther.

        https://bugs.webkit.org/show_bug.cgi?id=25889
        [GTK] scrollbar policy for main frame is not implementable

        Override visibleContentRect to handle GTK+'s case, in which
        scrollbars or equivalent decoration are painted by the parent
        widget.

        * platform/ScrollView.cpp:
        * platform/gtk/ScrollViewGtk.cpp:
        (WebCore::ScrollView::visibleContentRect):

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

10 years agoWebCore:
abarth@webkit.org [Sat, 27 Jun 2009 19:36:47 +0000 (19:36 +0000)]
WebCore:

2009-06-27  Daniel Bates  <dbates@intudata.com>

        Reviewed by Adam Barth.

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

        Fix addresses false negatives with respect to scheme relative paths, iFrame JavaScript URLs,
        and UTF-7 encoded payloads.

        Tests: http/tests/security/xssAuditor/http-equiv-utf-7-encoded.html
               http/tests/security/xssAuditor/iframe-javascript-url.html
               http/tests/security/xssAuditor/script-tag-utf-7-encoded.html
               http/tests/security/xssAuditor/script-tag-with-source-relative-scheme.html

        * html/HTMLTokenizer.cpp:
        (WebCore::HTMLTokenizer::scriptHandler): Moved XSSAuditor check to HTMLTokenizer::parseTag.
        (WebCore::HTMLTokenizer::parseTag):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::loadSubframe): Modified to inform XSSAuditor of parent frame so
        as to compare against iFrame javascript URL.
        * page/XSSAuditor.cpp: Removed method XSSAuditor::isControlCharacter. Instead, exposed method
        isControlCharacter in ResourceResponseBase.cpp.
        (WebCore::XSSAuditor::XSSAuditor):
        (WebCore::XSSAuditor::decodeURL): Modified to decode string using specified encoder.
        (WebCore::XSSAuditor::findInRequest): Generalized to arbitrary frame so as to prevent execution
        of iFrame javascript URL.
        * page/XSSAuditor.h: Added field m_parentFrame.
        * platform/network/ResourceResponseBase.cpp:
        (WebCore::isControlCharacter):
        * platform/network/ResourceResponseBase.h:

LayoutTests:

2009-06-27  Daniel Bates  <dbates@intudata.com>

        Reviewed by Adam Barth.

        Tests for https://bugs.webkit.org/show_bug.cgi?id=26708

        Tests prevention of injected scripts with scheme relative paths, iFrame JavaScript URLs,
        and UTF-7 encoding.

        * http/tests/security/xssAuditor/http-equiv-utf-7-encoded-expected.txt: Added.
        * http/tests/security/xssAuditor/http-equiv-utf-7-encoded.html: Added.
        * http/tests/security/xssAuditor/iframe-javascript-url-expected.txt: Added.
        * http/tests/security/xssAuditor/iframe-javascript-url.html: Added.
        * http/tests/security/xssAuditor/resources/echo-intertag-default-encode.pl: Added.
        * http/tests/security/xssAuditor/script-tag-utf-7-encoded-expected.txt: Added.
        * http/tests/security/xssAuditor/script-tag-utf-7-encoded.html: Added.
        * http/tests/security/xssAuditor/script-tag-with-source-relative-scheme-expected.txt: Added.
        * http/tests/security/xssAuditor/script-tag-with-source-relative-scheme.html: Added.

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

10 years agoBug 26771: Canvas is incorrectly tainted when drawing from a video element that uses...
oliver@apple.com [Sat, 27 Jun 2009 08:34:47 +0000 (08:34 +0000)]
Bug 26771: Canvas is incorrectly tainted when drawing from a video element that uses <source> elements

Reviewed by Maciej Stachowiak.

The drawImage(<video>) logic naively assumes that it just needs
to check the src attribute of the video element when in fact it
needs to look at the url that is being played instead.  Failure
to do this means that video provided through source elements
taints the canvas.

Test: media/video-canvas-source.html

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

10 years ago2009-06-27 Simon Hausmann <simon.hausmann@nokia.com>
hausmann@webkit.org [Sat, 27 Jun 2009 07:34:57 +0000 (07:34 +0000)]
2009-06-27  Simon Hausmann  <simon.hausmann@nokia.com>

        Build fix for Qt under Windows.

        * Api/qwebhistory.h: Use consistent export linkage for the datastream operators.

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

10 years ago2009-06-26 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 27 Jun 2009 06:22:30 +0000 (06:22 +0000)]
2009-06-26  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        <rdar://problem/7011924> Opacity transitions should not trigger hardware compositing mode

        Don't go into compositing mode just for opacity transitions, but they will be
        hardware accelerated if we're already compositing.

        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::requiresCompositingLayer):
        (WebCore::RenderLayerCompositor::requiresCompositingForTransform):
        (WebCore::RenderLayerCompositor::requiresCompositingForAnimation):
        * rendering/RenderLayerCompositor.h:

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

10 years ago Updating Tiger results for a recently modified test.
ap@webkit.org [Sat, 27 Jun 2009 05:19:03 +0000 (05:19 +0000)]
    Updating Tiger results for a recently modified test.

        * platform/mac-tiger/fast/encoding/idn-security-expected.txt:

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

10 years ago<rdar://problem/7009684> REGRESSION(r45039): Crashes inside JSEvent::put on PowerPC...
oliver@apple.com [Sat, 27 Jun 2009 05:15:25 +0000 (05:15 +0000)]
<rdar://problem/7009684> REGRESSION(r45039): Crashes inside JSEvent::put on PowerPC (26746)
<https://bugs.webkit.org/show_bug.cgi?id=26746>

Reviewed by Dan Bernstein

Fix for r45039 incorrectly uncached a get_by_id by converting it to put_by_id.  Clearly this
is less than correct.  This patch corrects that error.

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

10 years agoMac build fix part 2 - add new mangled symbol
bweinstein@apple.com [Sat, 27 Jun 2009 02:49:52 +0000 (02:49 +0000)]
Mac build fix part 2 - add new mangled symbol

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

10 years agoFirst part of Mac Build Fix - find missing symbol
bweinstein@apple.com [Sat, 27 Jun 2009 02:40:33 +0000 (02:40 +0000)]
First part of Mac Build Fix - find missing symbol

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

10 years ago2009-06-26 Brian Weinstein <bweinstein@apple.com>
bweinstein@apple.com [Sat, 27 Jun 2009 02:23:32 +0000 (02:23 +0000)]
2009-06-26  Brian Weinstein  <bweinstein@apple.com>

        Reviewed by Simon Fraser.

        Changed call of scrollbarUnderMouse to scrollbarUnderPoint to match new API.

        * Api/qwebpage.cpp:
        (QWebPage::swallowContextMenuEvent):

2009-06-26  Brian Weinstein  <bweinstein@apple.com>

        Reviewed by Simon Fraser.

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

        Added hit testing on scrollbars, so if you start a gesture over a scrollbar,
        it isn't counted, and lets the user drag the scrollbar itself instead of a
        panning gesture. Also cleaned up code in gesture.

        * WebView.cpp:
        (WebView::gestureNotify):
        (WebView::gesture):

2009-06-26  Brian Weinstein  <bweinstein@apple.com>

        Reviewed by Simon Fraser.

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

        Added the ability to do scrollbar hit testing in EventHandler, changed the
        signature of a PlatformWheelEvent constructor, and changed scrollbarUnderMouse
        to scrollbarUnderPoint, and updated all calls to that function.

        * page/EventHandler.cpp:
        (WebCore::EventHandler::hitTestResultAtPoint):
        (WebCore::EventHandler::handleMousePressEvent):
        (WebCore::EventHandler::handleMouseMoveEvent):
        * page/EventHandler.h:
        (WebCore::):
        * platform/PlatformWheelEvent.h:
        * platform/ScrollView.cpp:
        (WebCore::ScrollView::scrollbarUnderPoint):
        * platform/ScrollView.h:
        * platform/chromium/PopupMenuChromium.cpp:
        (WebCore::PopupListBox::handleMouseDownEvent):
        (WebCore::PopupListBox::handleMouseMoveEvent):
        * platform/win/WheelEventWin.cpp:
        (WebCore::PlatformWheelEvent::PlatformWheelEvent):

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

10 years ago2009-06-26 Jeremy Orlow <jorlow@chromium.org>
abarth@webkit.org [Sat, 27 Jun 2009 01:52:55 +0000 (01:52 +0000)]
2009-06-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Adam Barth.

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

        Fix a build break due to LocalStorage.h being included in WebKitDLL.cpp
        despite it being deleted from the repo by the following patch/commit:
        https://bugs.webkit.org/show_bug.cgi?id=26732
        http://trac.webkit.org/changeset/45290

        * WebKitDLL.cpp:

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

10 years ago2009-06-26 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 27 Jun 2009 01:49:42 +0000 (01:49 +0000)]
2009-06-26  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Make SVN work (again?).

        * Scripts/modules/scm.py:

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

10 years ago2009-06-26 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 27 Jun 2009 00:58:30 +0000 (00:58 +0000)]
2009-06-26  Simon Fraser  <simon.fraser@apple.com>

        Rubber-stamped by Dave Levin

        Rename ioCompState to compositingState to better match WebCore coding style.

        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::computeCompositingRequirements):
        (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree):

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

10 years ago Reviewed by Mark Rowe.
mitz@apple.com [Sat, 27 Jun 2009 00:50:09 +0000 (00:50 +0000)]
    Reviewed by Mark Rowe.

        - revert unintentional project changes from r45277

        * WebCore.xcodeproj/project.pbxproj:

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

10 years agoFix the Windows build.
mrowe@apple.com [Sat, 27 Jun 2009 00:44:53 +0000 (00:44 +0000)]
Fix the Windows build.

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

10 years ago2009-06-26 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 27 Jun 2009 00:37:46 +0000 (00:37 +0000)]
2009-06-26  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

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

        Change to use array indexing rather than Vector enumerators; the former
        are preferred style.

        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::hasNonCompositingContent):
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::calculateCompositedBounds):
        (WebCore::RenderLayerCompositor::computeCompositingRequirements):
        (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree):
        (WebCore::RenderLayerCompositor::updateCompositingChildrenGeometry):
        (WebCore::RenderLayerCompositor::recursiveRepaintLayerRect):
        (WebCore::RenderLayerCompositor::layerHas3DContent):

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

10 years agoWebCore:
mitz@apple.com [Sat, 27 Jun 2009 00:17:47 +0000 (00:17 +0000)]
WebCore:

        Reviewed by Oliver Hunt.

        - fix <rdar://problem/6961476> REGRESSION (r42043): scrollWidth reported
          as 1 px

        Test: fast/dom/Element/scrollWidth.html

        Changed scrollWidth and scrollHeight to use the same logic for
        visible overflow boxes that is used for clipped overflow boxes. In
        particular, borders are not included and
        {leftmost,rightmost,lowest}Position() are used. This logic matches IE8.

        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::scrollWidth):
        (WebCore::RenderBox::scrollHeight):

LayoutTests:

        Reviewed by Oliver Hunt.

        * fast/dom/Element/scrollWidth-expected.txt: Added.
        * fast/dom/Element/scrollWidth.html: Added.

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

10 years agoBug 26725: aria-hidden, aria-disabled, aria-readonly need to be implemented
cfleizach@apple.com [Sat, 27 Jun 2009 00:07:11 +0000 (00:07 +0000)]
Bug 26725: aria-hidden, aria-disabled, aria-readonly need to be implemented
https://bugs.webkit.org/show_bug.cgi?id=26725

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

10 years ago2009-06-26 Brady Eidson <beidson@apple.com>
beidson@apple.com [Sat, 27 Jun 2009 00:02:20 +0000 (00:02 +0000)]
2009-06-26  Brady Eidson  <beidson@apple.com>

        OMG.

        * platform/mac-tiger/fast/loader/file-url-mimetypes-expected.txt: Removed.
        * platform/mac-tiger/platform: Added.
        * platform/mac-tiger/platform/mac: Added.
        * platform/mac-tiger/platform/mac/fast: Added.
        * platform/mac-tiger/platform/mac/fast/loader: Added.
        * platform/mac-tiger/platform/mac/fast/loader/file-url-mimetypes-expected.txt: Copied from platform/mac-tiger/fast/loader/file-url-mimetypes-expected.txt.

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

10 years ago2009-06-26 Brett Wilson <brettw@chromium.org>
brettw@chromium.org [Fri, 26 Jun 2009 23:09:11 +0000 (23:09 +0000)]
2009-06-26  Brett Wilson  <brettw@chromium.org>

        Reviewed by David Levin.

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

        GIFImageDecoder is broken.

        Make the GIFImageDecoder.repetitionCount function const to match the
        base class. The mismatched definitions were causing the function to not
        get called.

        * platform/image-decoders/gif/GIFImageDecoder.cpp:
        (WebCore::GIFImageDecoder::repetitionCount):
        * platform/image-decoders/gif/GIFImageDecoder.h:

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

10 years ago Additional fix for https://bugs.webkit.org/show_bug.cgi?id=26651
cmarrin@apple.com [Fri, 26 Jun 2009 22:58:47 +0000 (22:58 +0000)]
    Additional fix for https://bugs.webkit.org/show_bug.cgi?id=26651

        The flag should always default to true to avoid it getting set
        to false in a build with accelerated compositing turned off
        and then disabling accelerated compositing when subsequently
        running a build with it turned on.

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

10 years ago2009-06-26 Brady Eidson <beidson@apple.com>
beidson@apple.com [Fri, 26 Jun 2009 22:53:02 +0000 (22:53 +0000)]
2009-06-26  Brady Eidson  <beidson@apple.com>

        Reviewed by Sam Weinig.

        Followup for the fix for <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails

        Now that other MIME type correction stuff is in our swizzled method, Tiger needs it too!

        * platform/network/mac/ResourceHandleMac.mm:
        (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]):
        * platform/network/mac/WebCoreURLResponse.h:

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

10 years ago2009-06-26 Jeremy Orlow <jorlow@chromium.org>
dglazkov@chromium.org [Fri, 26 Jun 2009 22:49:43 +0000 (22:49 +0000)]
2009-06-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Darin Fisher.

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

        For the final step of https://bugs.webkit.org/show_bug.cgi?id=25376,
        combine LocalStorage and SessionStorage into StorageNamespace. The
        synching code (for LocalStorage) has already been removed, so these
        classes are now very similar.  All they do is essentially contain a
        logical grouping of origins that are attached to specific contexts
        (be it PageGroups for LocalStorage and Page for SessionStorage).

        * GNUmakefile.am:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCoreSources.bkl:
        * page/Chrome.cpp:
        (WebCore::Chrome::createWindow):
        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::localStorage):
        * page/DOMWindow.h:
        * page/Page.cpp:
        (WebCore::Page::sessionStorage):
        (WebCore::Page::setSessionStorage):
        * page/Page.h:
        * page/PageGroup.cpp:
        (WebCore::PageGroup::localStorage):
        * page/PageGroup.h:
        * storage/LocalStorage.cpp: Removed.
        * storage/LocalStorage.h: Removed.
        * storage/LocalStorageTask.cpp:
        * storage/LocalStorageThread.cpp:
        * storage/SessionStorage.cpp: Removed.
        * storage/SessionStorage.h: Removed.
        * storage/StorageArea.cpp:
        (WebCore::StorageArea::create):
        (WebCore::StorageArea::StorageArea):
        (WebCore::StorageArea::copy):
        (WebCore::StorageArea::length):
        (WebCore::StorageArea::key):
        (WebCore::StorageArea::getItem):
        (WebCore::StorageArea::setItem):
        (WebCore::StorageArea::removeItem):
        (WebCore::StorageArea::clear):
        (WebCore::StorageArea::contains):
        (WebCore::StorageArea::importItem):
        (WebCore::StorageArea::close):
        (WebCore::StorageArea::dispatchStorageEvent):
        * storage/StorageArea.h:
        (WebCore::):
        * storage/StorageAreaSync.cpp:
        (WebCore::StorageAreaSync::scheduleFinalSync):
        * storage/StorageNamespace.cpp: Copied from WebCore/storage/LocalStorage.cpp.
        (WebCore::localStorageNamespaceMap):
        (WebCore::StorageNamespace::localStorageNamespace):
        (WebCore::StorageNamespace::sessionStorageNamespace):
        (WebCore::StorageNamespace::StorageNamespace):
        (WebCore::StorageNamespace::~StorageNamespace):
        (WebCore::StorageNamespace::copy):
        (WebCore::StorageNamespace::storageArea):
        (WebCore::StorageNamespace::close):
        * storage/StorageNamespace.h: Copied from WebCore/storage/LocalStorage.h.

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

10 years ago2009-06-26 Brady Eidson <beidson@apple.com>
beidson@apple.com [Fri, 26 Jun 2009 22:48:11 +0000 (22:48 +0000)]
2009-06-26  Brady Eidson  <beidson@apple.com>

        Fix Tiger results for the new mime type layout test.

        * platform/mac-tiger/fast/loader: Added.
        * platform/mac-tiger/fast/loader/file-url-mimetypes-expected.txt: Added.

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

10 years ago2009-06-26 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Fri, 26 Jun 2009 22:22:02 +0000 (22:22 +0000)]
2009-06-26  Nate Chapin  <japhet@chromium.org>

        Reviewed by David Levin.

        Upstream V8Proxy.  This involved updating a lot of function and variable names to match WebKit style, hence the large size.

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

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

10 years ago2009-06-26 Kevin McCullough <kmccullough@apple.com>
kmccullough@apple.com [Fri, 26 Jun 2009 22:08:54 +0000 (22:08 +0000)]
2009-06-26  Kevin McCullough  <kmccullough@apple.com>

        Reviewed by Tim Hatcher.

        <rdar://problem/7011047> Profiler shows the record button 'on' even
        though it's finished

        I consolidated the creation of the user initiated profile name into
        its own function and then called it from console::profile instead of
        calling startUserInitiatedProfiling().  This way we don't call
        toggleRecordButton() which turns on the record button.

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::didCommitLoad):
        (WebCore::InspectorController::getCurrentUserInitiatedProfileName):
        (WebCore::InspectorController::startUserInitiatedProfiling):
        (WebCore::InspectorController::stopUserInitiatedProfiling):
        * inspector/InspectorController.h:
        * page/Console.cpp:
        (WebCore::Console::profile):
        (WebCore::Console::profileEnd):

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

10 years ago2009-06-26 Jessie Berlin <jberlin@apple.com>
jberlin@apple.com [Fri, 26 Jun 2009 22:06:48 +0000 (22:06 +0000)]
2009-06-26  Jessie Berlin  <jberlin@apple.com>

        Reviewed by Mark Rowe.

        Fix the build bots.

        * editing/selection/drag-start-event-client-x-y-expected.txt:

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

10 years agoMove focusRingColor to RenderTheme
jeremy@chromium.org [Fri, 26 Jun 2009 21:53:19 +0000 (21:53 +0000)]
Move focusRingColor to RenderTheme

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

10 years ago2009-06-26 Dmitry Titov <dimich@chromium.org>
dimich@chromium.org [Fri, 26 Jun 2009 21:51:10 +0000 (21:51 +0000)]
2009-06-26  Dmitry Titov  <dimich@chromium.org>

        Reviewed by David Levin.

        https://bugs.webkit.org/show_bug.cgi?id=26761
        [Chromium] Enable Dedicated Workers in Chromium.

        * bindings/v8/custom/V8WorkerCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):
        Remove the check that prevented workers from being created w/o a command-line switch.
        The flag itself and methods will be removed in a subsequent patch, after
        corresponding change in Chromium.

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

10 years ago2009-06-26 Brady Eidson <beidson@apple.com>
beidson@apple.com [Fri, 26 Jun 2009 21:46:34 +0000 (21:46 +0000)]
2009-06-26  Brady Eidson  <beidson@apple.com>

        Step 2 (new Mac results)

        * platform/mac/fast/images/favicon-as-image-expected.checksum: Added.
        * platform/mac/fast/images/favicon-as-image-expected.png: Added.
        * platform/mac/fast/images/favicon-as-image-expected.txt: Added.

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

10 years ago2009-06-26 Brady Eidson <beidson@apple.com>
beidson@apple.com [Fri, 26 Jun 2009 21:44:22 +0000 (21:44 +0000)]
2009-06-26  Brady Eidson  <beidson@apple.com>

        1st step of fixing the layout test I broke on Mac platforms.

        * platform/mac-leopard/fast/images/favicon-as-image-expected.checksum: Removed.
        * platform/mac-leopard/fast/images/favicon-as-image-expected.png: Removed.
        * platform/mac-leopard/fast/images/favicon-as-image-expected.txt: Removed.
        * platform/mac-tiger/fast/images/favicon-as-image-expected.checksum: Removed.
        * platform/mac-tiger/fast/images/favicon-as-image-expected.png: Removed.
        * platform/mac-tiger/fast/images/favicon-as-image-expected.txt: Removed.
        * platform/mac/fast/images/favicon-as-image-expected.checksum: Removed.
        * platform/mac/fast/images/favicon-as-image-expected.png: Removed.
        * platform/mac/fast/images/favicon-as-image-expected.txt: Removed.
        * platform/win/fast/images: Added.
        * platform/win/fast/images/favicon-as-image-expected.checksum: Copied from platform/mac/fast/images/favicon-as-image-expected.checksum.
        * platform/win/fast/images/favicon-as-image-expected.png: Copied from platform/mac/fast/images/favicon-as-image-expected.png.
        * platform/win/fast/images/favicon-as-image-expected.txt: Copied from platform/mac/fast/images/favicon-as-image-expected.txt.

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

10 years ago2009-06-26 Brady Eidson <beidson@apple.com>
beidson@apple.com [Fri, 26 Jun 2009 20:49:02 +0000 (20:49 +0000)]
2009-06-26  Brady Eidson  <beidson@apple.com>

        Fix SnowLeopard build.

        * Plugins/Hosted/HostedNetscapePluginStream.mm:
        (WebKit::HostedNetscapePluginStream::didReceiveResponse):

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

10 years agoLand updated results after the test change.
mrowe@apple.com [Fri, 26 Jun 2009 20:40:01 +0000 (20:40 +0000)]
Land updated results after the test change.

* editing/selection/user-drag-element-and-user-select-none-expected.txt:

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

10 years ago2009-06-26 Jessie Berlin <jberlin@apple.com>
jberlin@apple.com [Fri, 26 Jun 2009 20:29:49 +0000 (20:29 +0000)]
2009-06-26  Jessie Berlin  <jberlin@apple.com>

        Fix: https://bugs.webkit.org/show_bug.cgi?id=26723
        Where the m_mouseDown event was never being set on windows, so the
        client X and Y coordinates were always being reported as zero in a
        dragstart handler.

        Reviewed by Mark Rowe.

        Test: editing/selection/drag-start-event-client-x-y.html

        * page/EventHandler.cpp:
        (WebCore::EventHandler::handleMousePressEvent):
        Set the m_mouseDown event when the mouse press is handled.
        * page/mac/EventHandlerMac.mm:
        (WebCore::EventHandler::mouseDown):
        Removed now redundant setting of m_mouseDown.

        Layout test for making sure the client X Y coordinates of the event
        in a dragstart handler are correct.

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

        * editing/selection/drag-start-event-client-x-y-expected.txt: Added.
        * editing/selection/drag-start-event-client-x-y.html: Added.

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

10 years ago2009-06-26 Brady Eidson <beidson@apple.com>
beidson@apple.com [Fri, 26 Jun 2009 20:13:51 +0000 (20:13 +0000)]
2009-06-26  Brady Eidson  <beidson@apple.com>

        Tiger build fix

        * WebCore.xcodeproj/project.pbxproj:
        * platform/network/mac/WebCoreURLResponse.mm:
        (swizzleMIMETypeMethodIfNecessary):

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

10 years agoFix user-drag-element-and-user-select-none.html to not rely on a bug in Mac DRT.
mrowe@apple.com [Fri, 26 Jun 2009 19:43:04 +0000 (19:43 +0000)]
Fix user-drag-element-and-user-select-none.html to not rely on a bug in Mac DRT.

Reviewed by Sam Weinig.

* editing/selection/user-drag-element-and-user-select-none.html:

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

10 years ago Reviewed by Sam Weinig.
ap@webkit.org [Fri, 26 Jun 2009 19:38:51 +0000 (19:38 +0000)]
    Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=26681
        Problem updating applicationCache when server returns 304

        Improve the fix, make the test pass on Tiger.

        * loader/appcache/ApplicationCacheGroup.cpp:
        (WebCore::ApplicationCacheGroup::didReceiveResponse): Fix another code path to remove the
        current item from list.

        * platform/network/mac/ResourceHandleMac.mm: (WebCore::ResourceHandle::start): On Tiger,
        conditional requests that cannot be cached by network layer cause errors with default cache
        policy.

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

10 years agoWebCore:
beidson@apple.com [Fri, 26 Jun 2009 19:23:11 +0000 (19:23 +0000)]
WebCore:

2009-06-26  Brady Eidson  <beidson@apple.com>

        Reviewed by Sam Weinig

        <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails

        When we disabled content sniffing for file urls we lost knowledge of many file extensions that we
        didn't intend to lose.  Turns out the CoreTypes UTI database doesn't know about every extension Gatekeeper
        knew about.

        By comparing CoreTypes' database to Gatekeepers, this patch adds a hardcoded list of file extension to MIME
        type mappings that are missing in CoreType's database.

        Test: platform/mac/fast/loader/file-url-mimetypes.html

        * platform/network/mac/ResourceHandleMac.mm:
        (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]): Move the MIME Type swizzling code to
          WebCoreURLResponse.

        * platform/network/mac/ResourceResponseMac.mm:
        (WebCore::ResourceResponse::platformLazyInit): _webcore_MIMEType -> MIMEType, as we now have only one place
          where we do all MIMEType correction.

        * platform/network/mac/WebCoreURLResponse.h: Remove _webcore_MIMEType, as it is now folded into the swizzled
          implementation of MIMEType.
        * platform/network/mac/WebCoreURLResponse.mm:
        (createBinaryExtensionsSet):
        (createExtensionToMIMETypeMap):
        (swizzleMIMETypeMethodIfNecessary):
        (webNSURLResponseMIMEType): If it's a file URL and there's no MIME type, see if the extension exists in the
          extension -> MIME type map before turning to the default MIME type.  Also roll in what was previously
          implemented in _webcore_MIMEType.

        * svg/graphics/SVGImage.cpp:
        (WebCore::SVGImage::~SVGImage): Tweak this ASSERT - SVGImages might get destroyed without ever having a client.

WebKit/mac:

2009-06-26  Brady Eidson  <beidson@apple.com>

        Reviewed by Sam Weinig

        <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails

        Replace all usage of the now obsolete [NSURLResponse _webcore_MIMEType].

        * Plugins/WebBaseNetscapePluginStream.mm:
        (WebNetscapePluginStream::didReceiveResponse):
        * Plugins/WebNetscapePluginView.mm:
        (-[WebNetscapePluginView pluginView:receivedData:]):
        * Plugins/WebPluginController.mm:
        (-[WebPluginController pluginView:receivedResponse:]):
        * WebView/WebDataSource.mm:
        (-[WebDataSource _responseMIMEType]):
        * WebView/WebResource.mm:
        (-[WebResource _initWithData:URL:response:]):

WebKitTools:

2009-06-26  Brady Eidson  <beidson@apple.com>

        Reviewed by Sam Weinig

        <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails

        Add a dumpResourceResponseMIMETypes() mode so the ResourceLoadDelegate will dump the mime type from
        the NSURLResponse.  Needed for the test for this bug fix.

        * DumpRenderTree/LayoutTestController.cpp:
        (LayoutTestController::LayoutTestController):
        (dumpResourceResponseMIMETypesCallback):
        (LayoutTestController::staticFunctions):
        * DumpRenderTree/LayoutTestController.h:
        (LayoutTestController::dumpResourceResponseMIMETypes):
        (LayoutTestController::setDumpResourceResponseMIMETypes):

        * DumpRenderTree/mac/ResourceLoadDelegate.mm:
        (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):

LayoutTests:

2009-06-25  Brady Eidson  <beidson@apple.com>

        Reviewed by Sam Weinig

        <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails

        Add a test file for each of file extensions we think WebKit on Mac should know the MIME type for.

        * platform/mac/fast/loader/file-url-mimetypes-expected.txt: Added.
        * platform/mac/fast/loader/file-url-mimetypes.html: Added.
        * platform/mac/fast/loader/resources: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-3g2.3g2: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-3gp.3gp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-3gp2.3gp2: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-3gpp.3gpp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-Z.Z: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ac3.ac3: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ai.ai: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-aif.aif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-aifc.aifc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-aiff.aiff: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-asc.asc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-asf.asf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-asx.asx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-au.au: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-avi.avi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bcpio.bcpio: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bin.bin: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bmp.bmp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bz.bz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-bz2.bz2: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-cdf.cdf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-class.class: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-cpgz.cpgz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-cpio.cpio: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-cpt.cpt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-crw.crw: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-csh.csh: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-css.css: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dcr.dcr: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dif.dif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dir.dir: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dll.dll: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dls.dls: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dmg.dmg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dms.dms: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-doc.doc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-docm.docm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-docx.docx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dotm.dotm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dotx.dotx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dv.dv: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dvi.dvi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-dxr.dxr: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-efx.efx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-eps.eps: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-etx.etx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-exe.exe: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ez.ez: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fdf.fdf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fla.fla: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp.fp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp2.fp2: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp3.fp3: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp4.fp4: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp5.fp5: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fp6.fp6: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-fpx.fpx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-gif.gif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-gtar.gtar: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-gz.gz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-gzip.gzip: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-hdf.hdf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-hqx.hqx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-htm.htm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-html.html: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ice.ice: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ico.ico: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ics.ics: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ief.ief: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-iges.iges: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-igs.igs: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-iso.iso: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-j2k.j2k: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jar.jar: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-javascript.javascript: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jhtml.jhtml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jnlp.jnlp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jp2.jp2: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpe.jpe: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpeg.jpeg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpf.jpf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpg.jpg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jpx.jpx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-js.js: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-jscript.jscript: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-kar.kar: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-latex.latex: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-lha.lha: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-lzh.lzh: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m15.m15: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m2v.m2v: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m3u.m3u: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m4p.m4p: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-m75.m75: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mac.mac: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-man.man: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-me.me: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mesh.mesh: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mid.mid: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-midi.midi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mif.mif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mov.mov: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-movie.movie: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mp2.mp2: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mp3.mp3: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mp4.mp4: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mpe.mpe: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mpeg.mpeg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mpg.mpg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mpga.mpga: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ms.ms: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-msh.msh: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-mxu.mxu: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-nc.nc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-oda.oda: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odc.odc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odf.odf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odg.odg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odi.odi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odm.odm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odp.odp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ods.ods: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-odt.odt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-otc.otc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-otf.otf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-otg.otg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-oth.oth: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-oti.oti: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-otp.otp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ots.ots: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ott.ott: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pbm.pbm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pct.pct: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pcx.pcx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pdb.pdb: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pdf.pdf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pgm.pgm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pgn.pgn: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ph3.ph3: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ph4.ph4: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-php.php: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-php3.php3: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-php4.php4: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-phtml.phtml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pic.pic: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pict.pict: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pl.pl: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pls.pls: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pm.pm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-png.png: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pnm.pnm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pnt.pnt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pntg.pntg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-potm.potm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-potx.potx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ppm.ppm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ppsm.ppsm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ppsx.ppsx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ppt.ppt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pptm.pptm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-pptx.pptx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ps.ps: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-psd.psd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-py.py: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qif.qif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qt.qt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qti.qti: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qtif.qtif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-qtz.qtz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ra.ra: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ram.ram: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ras.ras: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rb.rb: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rbw.rbw: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rgb.rgb: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rm.rm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-roff.roff: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rpm.rpm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rtf.rtf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-rtx.rtx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sgi.sgi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sgm.sgm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sgml.sgml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sh.sh: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-shar.shar: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-shtm.shtm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-shtml.shtml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-silo.silo: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sit.sit: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sitx.sitx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-skd.skd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-skm.skm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-skp.skp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-skt.skt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-smf.smf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-smi.smi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-smil.smil: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-snd.snd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-so.so: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-spl.spl: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-src.src: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sv4cpio.sv4cpio: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-sv4crc.sv4crc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-svg.svg: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-svgz.svgz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-swf.swf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-t.t: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tar.tar: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-targa.targa: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tcl.tcl: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tex.tex: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-texi.texi: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-texinfo.texinfo: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-text.text: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tga.tga: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tgz.tgz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tif.tif: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tiff.tiff: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-torrent.torrent: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tr.tr: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-tsv.tsv: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-txt.txt: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-ustar.ustar: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vcard.vcard: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vcd.vcd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vcf.vcf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vfw.vfw: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-vrml.vrml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wav.wav: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wave.wave: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wax.wax: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wbmp.wbmp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wbxml.wbxml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-webarchive.webarchive: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wm.wm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wma.wma: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmd.wmd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wml.wml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmlc.wmlc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmls.wmls: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmlsc.wmlsc: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmp.wmp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmv.wmv: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wmx.wmx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wrl.wrl: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-wvx.wvx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xbm.xbm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xdp.xdp: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xfd.xfd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xfdf.xfdf: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xht.xht: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xhtm.xhtm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xhtml.xhtml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xls.xls: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsb.xlsb: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsm.xlsm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xlsx.xlsx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xltm.xltm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xltx.xltx: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xml.xml: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xpm.xpm: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xsl.xsl: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xwd.xwd: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-xyz.xyz: Added.
        * platform/mac/fast/loader/resources/mimeTypeExamples/example-zip.zip: Added.

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

10 years ago2009-06-25 Pierre d'Herbemont <pdherbemont@apple.com>
simon.fraser@apple.com [Fri, 26 Jun 2009 18:28:32 +0000 (18:28 +0000)]
2009-06-25  Pierre d'Herbemont  <pdherbemont@apple.com>

        Reviewed by Simon Fraser.

        Show the fullscreen button only if the backend has support for it.

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

        No test since this is not reachable via the DOM.

        * html/HTMLMediaElement.h:
        (WebCore::HTMLMediaElement::supportsFullscreen): new
        * html/HTMLVideoElement.h:
        (WebCore::HTMLVideoElement::supportsFullscreen): new
        * platform/graphics/MediaPlayer.cpp:
        (WebCore::NullMediaPlayerPrivate::supportsFullscreen): new
        (WebCore::MediaPlayer::supportsFullscreen): new
        * platform/graphics/MediaPlayer.h: new
        * platform/graphics/MediaPlayerPrivate.h: new
        (WebCore::MediaPlayerPrivateInterface::supportsFullscreen): new
        * rendering/MediaControlElements.cpp:
        (WebCore::MediaControlFullscreenButtonElement::rendererIsNeeded): new
        * rendering/MediaControlElements.h:

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

10 years ago2009-06-25 Pierre d'Herbemont <pdherbemont@apple.com>
simon.fraser@apple.com [Fri, 26 Jun 2009 18:02:53 +0000 (18:02 +0000)]
2009-06-25  Pierre d'Herbemont  <pdherbemont@apple.com>

        Reviewed by Simon Fraser.

        <rdar://problem/7007776> Controller doesn't automatically update counters when file
        is playing ( http://www.jazzguitar.be/mp3/Michael%20Lewis%20-%20SSSJ.mp3 )

        Update the time display when the movie time changes.

        * rendering/RenderMedia.cpp:
        (WebCore::RenderMedia::updateControls):

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

10 years ago2009-06-25 Pierre d'Herbemont <pdherbemont@apple.com>
simon.fraser@apple.com [Fri, 26 Jun 2009 18:00:31 +0000 (18:00 +0000)]
2009-06-25  Pierre d'Herbemont  <pdherbemont@apple.com>

        Reviewed by Simon Fraser.

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

        Support hidding a control bar element from the Media element controller.

        Update layout tests since the fullscreen button no longer has a renderer.

        * rendering/MediaControlElements.cpp:
        (WebCore::MediaTextDisplayElement::update): call updateStyle() so everything
        is updated properly.
        (WebCore::MediaControlInputElement::MediaControlInputElement):
        (WebCore::MediaControlInputElement::update): call updateStyle()
        (WebCore::MediaControlInputElement::updateStyle): create the renderer properly
        or not depending on what rendererIsNeeded() return.
        * rendering/MediaControlElements.h:

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

10 years ago2009-06-26 Kevin McCullough <kmccullough@apple.com>
kmccullough@apple.com [Fri, 26 Jun 2009 17:48:46 +0000 (17:48 +0000)]
2009-06-26  Kevin McCullough  <kmccullough@apple.com>

        Reviewed by Oliver Hunt.

        <rdar://problem/6968137> Profiler title numbers increment even after a
        reload.

        - Now the numbers are reset when the profiles are.

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

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

10 years ago2009-06-26 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 26 Jun 2009 17:36:41 +0000 (17:36 +0000)]
2009-06-26  Eric Seidel  <eric@webkit.org>

        No review, only rolling out r45259.

        Roll out r45259 after crash appeared on the bots:
        plugins/undefined-property-crash.html
        ASSERTION FAILED: s <= HeapConstants<heapType>::cellSize
        (leopard-intel-debug-tests/build/JavaScriptCore/runtime/Collector.cpp:278
        void* JSC::Heap::heapAllocate(size_t) [with JSC::HeapType heapType = PrimaryHeap])

        * runtime/DateInstance.cpp:
        * runtime/Identifier.cpp:
        * runtime/Lookup.h:
        * runtime/RegExpConstructor.cpp:
        * runtime/RegExpObject.h:
        * runtime/ScopeChain.h:
        * runtime/UString.h:

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

10 years ago Update build-dumprendertree to use buildXCodeProject()
ddkilzer@apple.com [Fri, 26 Jun 2009 17:17:39 +0000 (17:17 +0000)]
    Update build-dumprendertree to use buildXCodeProject()

        Reviewed by Adam Roben.

        * Scripts/build-dumprendertree: Updated to use
        buildXCodeProject() when building for isAppleMacWebKit().  This
        provides additional command-line switch parsing for free.  Also
        added --clean and --help switches.  Updated copyright.

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

10 years agogot rid of cruft accidentally left in from my last commit
cmarrin@apple.com [Fri, 26 Jun 2009 17:07:33 +0000 (17:07 +0000)]
got rid of cruft accidentally left in from my last commit

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

10 years agoWebCore:
adele@apple.com [Fri, 26 Jun 2009 16:53:24 +0000 (16:53 +0000)]
WebCore:

2009-06-26  Adele Peterson  <adele@apple.com>

        Reviewed by Darin Adler.

        Fix for <rdar://problem/7000796>
        REGRESSION(34681): Breaking up quoted text makes new, unquoted text blue after certain steps; repros with some messages

        Test: editing/inserting/break-blockquote-after-delete.html

        Keep track of whether the typing style should be preserved after the TypingCommand is applied.  When adding onto an open
        typing command, keep that flag up to date.

        In this case, an InsertParagraphSeparatorInQuotedContent command, which should not preserve typing style,
        was following an open Delete command, which does preserve the typing style.  So we were applying the original
        typing style (from before the delete, so blue text) to the cursor in the unquoted area after breaking up the blockquote.

        * editing/TypingCommand.cpp:
        (WebCore::TypingCommand::TypingCommand):
        (WebCore::TypingCommand::typingAddedToOpenCommand):
        (WebCore::TypingCommand::insertTextRunWithoutNewlines):
        (WebCore::TypingCommand::insertLineBreak):
        (WebCore::TypingCommand::insertParagraphSeparator):
        (WebCore::TypingCommand::insertParagraphSeparatorInQuotedContent):
        (WebCore::TypingCommand::deleteKeyPressed):
        (WebCore::TypingCommand::forwardDeleteKeyPressed):
        (WebCore::TypingCommand::deleteSelection):
        (WebCore::TypingCommand::updatePreservesTypingStyle):
        * editing/TypingCommand.h: (WebCore::TypingCommand::preservesTypingStyle):

LayoutTests:

2009-06-26  Adele Peterson  <adele@apple.com>

        Reviewed by Darin Adler.

        Test for <rdar://problem/7000796>
        REGRESSION(34681): Breaking up quoted text makes new, unquoted text blue after certain steps; repros with some messages

        * editing/inserting/break-blockquote-after-delete.html: Added.
        * platform/mac/editing/inserting/break-blockquote-after-delete-expected.checksum: Added.
        * platform/mac/editing/inserting/break-blockquote-after-delete-expected.png: Added.
        * platform/mac/editing/inserting/break-blockquote-after-delete-expected.txt: Added.

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

10 years ago2009-06-26 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
hausmann@webkit.org [Fri, 26 Jun 2009 16:30:15 +0000 (16:30 +0000)]
2009-06-26  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Simon Hausmann.

        Add support for saving and loading of QWebHistory to and from a QByteArray.

        This includes streaming operators for QWebHistory. for convenience.

        New autotests that test QWebHistory and QWebHistoryItem serialization.

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

10 years ago2009-06-26 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
hausmann@webkit.org [Fri, 26 Jun 2009 16:29:59 +0000 (16:29 +0000)]
2009-06-26  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Simon Hausmann.

        Fix the behaviour of QWebHistory::itemAt to interpret the specified index as absolute index.

        Returns an invalid QWebHistoryItem if the index is out of range.

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

10 years ago2009-06-26 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
hausmann@webkit.org [Fri, 26 Jun 2009 16:29:49 +0000 (16:29 +0000)]
2009-06-26  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Simon Hausmann.

        Added a few autotest to QWebHistory.

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

10 years agoJavaScriptCore:
hausmann@webkit.org [Fri, 26 Jun 2009 16:29:35 +0000 (16:29 +0000)]
JavaScriptCore:

2009-06-26  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Simon Hausmann.

        Add support for QDataStream operators to Vector.

WebCore:

2009-06-26  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Simon Hausmann.

        Add support for QDataStream operators to String and IntPoint.

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

10 years ago2009-06-26 Ben Murdoch <benm@google.com>
darin@chromium.org [Fri, 26 Jun 2009 16:27:18 +0000 (16:27 +0000)]
2009-06-26  Ben Murdoch  <benm@google.com>

        Reviewed by Darin Fisher.

        Add #if ENABLE(DOM_STORAGE) to the V8 custom bindings for local/session storage.
        https://bugs.webkit.org/show_bug.cgi?id=26757

        * bindings/v8/custom/V8StorageCustom.cpp

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

10 years ago2009-06-26 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
hausmann@webkit.org [Fri, 26 Jun 2009 16:27:05 +0000 (16:27 +0000)]
2009-06-26  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Simon Hausmann.

        Fix support for documenting functions prefixed with QWEBKIT_EXPORT

        Add QWEBKIT_EXPORT to the list of macros to ignore by qdoc.

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

10 years ago2009-06-26 Zoltan Horvath <hzoltan@inf.u-szeged.hu>
eric@webkit.org [Fri, 26 Jun 2009 10:27:21 +0000 (10:27 +0000)]
2009-06-26  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>

        Reviewed by Eric Seidel.

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

        Allow custom memory allocation control for JavaScriptCore/runtime
        directory's classes which instantiated by new:

        class  IdentifierTable
        struct RegExpObjectData
        class  HashEntry
        struct DataInstance::Cache
        class  UString
        struct RegExpConstructorPrivate
        class  ScopeChain

        * runtime/DateInstance.cpp:
        * runtime/Identifier.cpp:
        * runtime/Lookup.h:
        * runtime/RegExpConstructor.cpp:
        * runtime/RegExpObject.h:
        * runtime/ScopeChain.h:
        * runtime/UString.h:

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

10 years ago2009-06-26 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 26 Jun 2009 10:07:57 +0000 (10:07 +0000)]
2009-06-26  Eric Seidel  <eric@webkit.org>

        Reviewed by Tor Arne Vestbø.

        Remove non-sense --update option to land-patches
        and make land-patches update before every patch application.
        This makes it slightly less likely that multi-patch landings will fail.

        Also updated git diff command to include staged modifications.

        * Scripts/bugzilla-tool:
        * Scripts/modules/scm.py:

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