Rename startupdateStyleIfNeededDispatcher to startUpdateStyleIfNeededDispatcher

        In r42377, startUpdateRenderingDispatcher() was renamed to
        startupdateStyleIfNeededDispatcher(), but the camelCase "U" was
        dropped.  This change restores it.

        * WebCore.order:
        * page/animation/AnimationController.cpp:
        (WebCore::AnimationControllerPrivate::startUpdateStyleIfNeededDispatcher):
        (WebCore::AnimationControllerPrivate::addEventToDispatch):
        (WebCore::AnimationControllerPrivate::addNodeChangeToDispatch):
        (WebCore::AnimationControllerPrivate::pauseAnimationAtTime):
        (WebCore::AnimationControllerPrivate::pauseTransitionAtTime):
        * page/animation/AnimationControllerPrivate.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        resolve-ChangeLogs: Add missing newline to status message

        * Scripts/resolve-ChangeLogs: Added newline to status message
        that is printed when the -c|--continue switch is used but there
        are unmerged files remaining in the git working directory.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-05-23  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Eric Seidel.

        Add GEOLOCATION guards around Geolocation API code
        https://bugs.webkit.org/show_bug.cgi?id=25756

        * bindings/js/JSCustomPositionCallback.cpp:
        * bindings/js/JSCustomPositionCallback.h:
        * bindings/js/JSCustomPositionErrorCallback.cpp:
        * bindings/js/JSCustomPositionErrorCallback.h:
        * bindings/js/JSGeolocationCustom.cpp:
        * page/Geolocation.cpp:
        * page/Geolocation.idl:
        * page/Geoposition.cpp:
        * page/Geoposition.h:
        * page/Geoposition.idl:
        * page/Navigator.cpp:
        (WebCore::Navigator::disconnectFrame):
        (WebCore::Navigator::geolocation):
        * page/PositionError.idl:
        * platform/GeolocationService.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Fix Mac builds by backing out r44093

        * bindings/js/JSCustomPositionCallback.cpp:
        * bindings/js/JSCustomPositionCallback.h:
        * bindings/js/JSCustomPositionErrorCallback.cpp:
        * bindings/js/JSCustomPositionErrorCallback.h:
        * bindings/js/JSGeolocationCustom.cpp:
        * page/Geolocation.cpp:
        * page/Geolocation.idl:
        * page/Geoposition.cpp:
        * page/Geoposition.h:
        * page/Geoposition.idl:
        * page/Navigator.cpp:
        (WebCore::Navigator::disconnectFrame):
        (WebCore::Navigator::geolocation):
        * page/PositionError.idl:
        * platform/GeolocationService.cpp:
        (WebCore::GeolocationService::create):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Part 1 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr

        <https://bugs.webkit.org/show_bug.cgi?id=25495>

        Reviewed by Oliver Hunt.

JavaScriptCore:

        * GNUmakefile.am: Added OwnPtrCommon.h and PassOwnPtr.h.
        * JavaScriptCore.vcproj/WTF/WTF.vcproj: Ditto.
        * JavaScriptCore.xcodeproj/project.pbxproj: Ditto.

        * wtf/OwnPtr.h:
        (WTF::OwnPtr::OwnPtr): Added constructors that take a
        PassOwnPtr.  Also added a copy constructor declaration that's
        required when assigning a PassOwnPtr to a stack-based OwnPtr.
        (WTF::operator=): Added assignment operator methods that take a
        PassOwnPtr.
        (WTF::swap): Reformatted.
        (WTF::operator==): Whitespace changes.
        (WTF::operator!=): Ditto.

        * wtf/OwnPtrCommon.h: Added.
        (WTF::deleteOwnedPtr):

        * wtf/PassOwnPtr.h: Added.
        (WTF::PassOwnPtr::PassOwnPtr):
        (WTF::PassOwnPtr::~PassOwnPtr):
        (WTF::PassOwnPtr::get):
        (WTF::PassOwnPtr::clear):
        (WTF::PassOwnPtr::release):
        (WTF::PassOwnPtr::operator*):
        (WTF::PassOwnPtr::operator->):
        (WTF::PassOwnPtr::operator!):
        (WTF::PassOwnPtr::operator UnspecifiedBoolType):
        (WTF::::operator):
        (WTF::operator==):
        (WTF::operator!=):
        (WTF::static_pointer_cast):
        (WTF::const_pointer_cast):
        (WTF::getPtr):

JavaScriptGlue:

        * ForwardingHeaders/wtf/OwnPtrCommon.h: Added.
        * ForwardingHeaders/wtf/PassOwnPtr.h: Added.

WebCore:

        * ForwardingHeaders/wtf/OwnPtrCommon.h: Added.
        * ForwardingHeaders/wtf/PassOwnPtr.h: Added.
        * WebCore.vcproj/WebCore.vcproj: Added OwnPtrCommon.h and
        PassOwnPtr.h.

WebKit/mac:

        * ForwardingHeaders/wtf/OwnPtrCommon.h: Added.
        * ForwardingHeaders/wtf/PassOwnPtr.h: Added.

WebKitTools:

        * DumpRenderTree/ForwardingHeaders/wtf/OwnPtrCommon.h: Added.
        * DumpRenderTree/ForwardingHeaders/wtf/PassOwnPtr.h: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Part 2 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr

        <https://bugs.webkit.org/show_bug.cgi?id=25495>

        Reviewed by Oliver Hunt.

WebCore:

        No test cases added since there is no change in behavior.

        * WebCore.base.exp: Updated export for
        HistoryItem::setRedirectURLs() which now takes a PassOwnPtr.
        * dom/Node.cpp:
        (WebCore::Node::childNodes): Use NodeListsNodeData::create()
        instead of new NodeListsNodeData.
        (WebCore::Node::registerDynamicNodeList): Ditto.
        (WebCore::Node::getElementsByTagNameNS): Ditto.
        (WebCore::Node::getElementsByName): Ditto.
        (WebCore::Node::getElementsByClassName): Ditto.
        * dom/NodeRareData.h:
        (WebCore::NodeListsNodeData::create): Added.  Implements
        create() pattern popularized by RefCounted classes.
        (WebCore::NodeListsNodeData::NodeListsNodeData): Declared
        private constructor.
        (WebCore::NodeRareData::setNodeLists): Now takes a PassOwnPtr<>
        instead of an auto_ptr<>.
        * history/HistoryItem.cpp:
        (WebCore::HistoryItem::setRedirectURLs): Ditto.
        * history/HistoryItem.h:
        (WebCore::HistoryItem::setRedirectURLs): Ditto.
        * html/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::drawTextInternal): Use
        OwnPtr<> instead of auto_ptr<> for stack variable.
        * html/HTMLCanvasElement.cpp:
        (WebCore::HTMLCanvasElement::createImageBuffer): Updated to use
        assignment operator now that ImageBuffer::create() returns a
        PassOwnPtr<>.
        * loader/EmptyClients.h:
        (WebCore::EmptyChromeClient::createHTMLParserQuirks): Return a
        PassOwnPtr<> instead of a raw HTMLParserQuirks pointer.
        * page/ChromeClient.h:
        (WebCore::ChromeClient::createHTMLParserQuirks): Ditto.
        * platform/graphics/GeneratedImage.cpp:
        (WebCore::GeneratedImage::drawPattern): Use OwnPtr<> instead of
        auto_ptr<> for stack variable.
        * platform/graphics/ImageBuffer.h:
        (WebCore::ImageBuffer::create): Return PassOwnPtr<> instead of
        auto_ptr<>.  Use OwnPtr<> instead of auto_ptr<> for stack
        variable.
        * platform/mac/ScrollbarThemeMac.mm:
        (WebCore::ScrollbarThemeMac::paint): Use OwnPtr<> instead of
        auto_ptr<> for stack variable.
        * platform/text/TextCodec.h:
        (WebCore::NewTextCodecFunction): Return PassOwnPtr<> instead of
        auto_ptr<>.
        * platform/text/TextCodecICU.cpp:
        (WebCore::newTextCodecICU): Ditto.
        * platform/text/TextCodecLatin1.cpp:
        (WebCore::newStreamingTextDecoderWindowsLatin1): Ditto.
        * platform/text/TextCodecUTF16.cpp:
        (WebCore::newStreamingTextDecoderUTF16LE): Ditto.
        (WebCore::newStreamingTextDecoderUTF16BE): Ditto.
        * platform/text/TextCodecUserDefined.cpp:
        (WebCore::newStreamingTextDecoderUserDefined): Ditto.
        * platform/text/TextEncodingRegistry.cpp:
        (WebCore::newTextCodec): Ditto.
        * platform/text/TextEncodingRegistry.h:
        (WebCore::newTextCodec): Ditto.
        * platform/text/mac/TextCodecMac.cpp:
        (WebCore::newTextCodecMac): Ditto.
        * rendering/RenderBoxModelObject.cpp:
        (WebCore::RenderBoxModelObject::paintFillLayerExtended): Use
        OwnPtr<> instead of auto_ptr<> for stack variable.
        * svg/SVGMaskElement.cpp:
        (WebCore::SVGMaskElement::drawMaskerContent): Ditto.  Return
        OwnPtr<> instead of auto_ptr<>.
        * svg/SVGMaskElement.h:
        (WebCore::SVGMaskElement::drawMaskerContent): Return OwnPtr<>
        instead of auto_ptr<>.
        * svg/SVGPatternElement.cpp:
        (WebCore::SVGPatternElement::buildPattern): Use OwnPtr<> instead
        of auto_ptr<> for stack variable.
        * svg/graphics/SVGImage.cpp:
        (WebCore::SVGImage::nativeImageForCurrentFrame): Updated to use
        assignment operator now that ImageBuffer::create() returns a
        PassOwnPtr<>.
        * svg/graphics/SVGPaintServerGradient.cpp:
        (WebCore::createMaskAndSwapContextForTextGradient): Use OwnPtr<>
        instead of auto_ptr<> for stack variable.
        * svg/graphics/SVGPaintServerPattern.cpp:
        (WebCore::SVGPaintServerPattern::setTile): Updated to take a
        PassOwnPtr<> instead of an auto_ptr<>.
        (WebCore::SVGPaintServerPattern::setup): Use OwnPtr<> instead of
        auto_ptr<> for stack variable.
        * svg/graphics/SVGPaintServerPattern.h:
        (WebCore::SVGPaintServerPattern::setTile): Updated to take a
        PassOwnPtr<> instead of an auto_ptr<>.
        * svg/graphics/SVGResourceMasker.cpp:
        (WebCore::SVGResourceMasker::applyMask): Updated to use
        assignment operator now that SVGMaskElement::drawMaskerContent()
        returns a PassOwnPtr<>.  Use OwnPtr<> instead of auto_ptr<> for
        stack variable.

WebKit/gtk:

        * WebCoreSupport/ChromeClientGtk.h:
        (WebKit::ChromeClient::createHTMLParserQuirks): Return a
        PassOwnPtr<> instead of a raw HTMLParserQuirks pointer.

WebKit/mac:

        * History/WebHistory.mm:
        (-[WebHistory _visitedURL:withTitle:method:wasFailure:]): Return
        0 instead of an empty auto_ptr<>.
        * History/WebHistoryItem.mm:
        (-[WebHistoryItem initFromDictionaryRepresentation:]): Use
        OwnPtr<> instead of auto_ptr<> for stack variable.
        * WebCoreSupport/WebChromeClient.h:
        (WebChromeClient::createHTMLParserQuirks): Return a PassOwnPtr<>
        instead of a raw HTMLParserQuirks pointer.

WebKit/qt:

        * WebCoreSupport/ChromeClientQt.h:
        (WebCore::ChromeClientQt::createHTMLParserQuirks): Return a
        PassOwnPtr<> instead of a raw HTMLParserQuirks pointer.

WebKit/win:

        * WebCoreSupport/WebChromeClient.h:
        (WebChromeClient::createHTMLParserQuirks): Return a PassOwnPtr<>
        instead of a raw HTMLParserQuirks pointer.

WebKit/wx:

        * WebKitSupport/ChromeClientWx.h:
        (WebCore::ChromeClientWx::createHTMLParserQuirks): Return a
        PassOwnPtr<> instead of a raw HTMLParserQuirks pointer.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Windows build fix for PassOwnPtr

        * WebHistory.cpp:
        (WebHistory::visitedURL): Changed
        std::auto_ptr<Vector<String> >() to 0.
        * WebHistoryItem.cpp:
        (WebHistoryItem::initFromDictionaryRepresentation): Changed type
        of redirectURLsVector from std::auto_ptr<Vector<String> > to
        OwnPtr<Vector<String> >.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Fix Gtk/Qt builds for PassOwnPtr

        * platform/graphics/cairo/ImageCairo.cpp:
        (WebCore::Image::drawPattern): Use an OwnPtr<ImageBuffer>
        instead of an std::auto_ptr<ImageBuffer> to store the result of
        ImageBuffer::create() now that it returns a
        PassOwnPtr<ImageBuffer>.
        * platform/graphics/qt/PathQt.cpp:
        (WebCore::Path::strokeContains): Ditto.
        (WebCore::Path::strokeBoundingRect): Ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed by Darin Adler.

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

After a long journey, add the last missing ABC to share form control element support with HTMLSelectElement.
RenderListBox/RenderMenuList operates on SelectElement instead of HTMLSelectElement now, querying selected index etc.
This makes it possible to use these render objects for ie. WML, as it's done before for input & option elements.

WMLSelectElement will be created soon, in a follow-up patch, adding more methods to SelectElement, sharing code between
HTMLSelectElement/WMLSelectElement.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Not reviewed. Roll out ResourceHandle patch, that I accidently included in my last commit.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Reformat WebCore::requiresContextForWordBoundary()

        * platform/text/TextBoundaries.h:
        (WebCore::requiresContextForWordBoundary):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-05-23  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Reviewed by Xan Lopez.

        [Gtk] Various autotools build refactoring and fixes
        https://bugs.webkit.org/show_bug.cgi?id=25286

        Refactor library LIBS. Move third-party libs in libwebkit instead
        of libWebCore.

        * GNUmakefile.am:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-05-23  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Reviewed by Xan Lopez.

        [Gtk] ROLE_ROW_HEADER should not be used for list item bullets/numbers
        https://bugs.webkit.org/show_bug.cgi?id=25900

        Use ATK_ROLE_TEXT for ListMarkerRole.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (atkRole):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-05-23  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Reviewed by Gustavo Noronha and Xan Lopez.

        [Gtk] Enable database and localStorage support
        https://bugs.webkit.org/show_bug.cgi?id=25629

        Enable storage/ tests for Gtk.

        * platform/gtk/Skipped:

2009-05-23  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Reviewed by Gustavo Noronha and Xan Lopez.

        [Gtk] Enable database and localStorage support
        https://bugs.webkit.org/show_bug.cgi?id=25629

        Add settings to enable or disable database and localStorage
        support and enable them by default. This allows databases to be
        shown in the WebInspector as well as allow us to run the storage
        layout tests.

        * webkit/webkitwebsettings.cpp:
        (webkit_web_settings_class_init):
        (webkit_web_settings_set_property):
        (webkit_web_settings_get_property):
        (webkit_web_settings_copy):
        * webkit/webkitwebview.cpp:
        (webkit_web_view_update_settings):
        (webkit_web_view_settings_notify):

2009-05-23  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Reviewed by Gustavo Noronha and Xan Lopez.

        [Gtk] Enable database and localStorage support
        https://bugs.webkit.org/show_bug.cgi?id=25629

        Enable database and localStorage for running the storage/ tests.

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (resetWebViewToConsistentStateBeforeTesting):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-05-23  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Rubber-stamped by Gustavo Noronha.

        Break the switch once private browsing is selected.

        * webkit/webkitwebsettings.cpp:
        (webkit_web_settings_set_property):
        (webkit_web_settings_get_property):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Reviewed by Darin Adler.

        - clean up ColorMac a little

        * platform/graphics/mac/ColorMac.h: Whitespace change.
        * platform/graphics/mac/ColorMac.mm: Removed redundant #import
        statements and sorted the remaining ones.
        (WebCore::makeRGBAFromNSColor): Replaced four Objective-C method calls
        with a single call and removed redundant casts to int.
        (WebCore::nsColor): Removed ".0f" from number literals used as CGFloats.
        In one case, this avoids an intermediate conversion to float before
        conversion to double on 64-bit.
        (WebCore::CGColorFromNSColor): Replaced four Objective-C method calls
        with a single call.
        (WebCore::focusRingColor):
        (+[WebCoreControlTintObserver controlTintDidChange]): Whitespace change.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-05-23  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Unreviewed build fix. Add gstreamer-video-0.10 libs to
        GSTREAMER_LIBS to resolve am undefined reference to gst_video_get_size
        - symbol used in MediaPlayerPrivateGstreamer.

        * configure.ac:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix typo "am" -> "an" in the Changelog of my previous commit

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Land the updated version of WebKitLauncher that the nightly builds have been using.

Reviewed by Oliver Hunt.

Changes include:
1) Support for self-updating via Sparkle.
2) Now respects the "Open using Rosetta" preference.
3) Passes environment variables through to the spawned Safari process.
4) Logs a list of extensions that are detected to the system console.
5) Disables extensions that are known to cause crashes too early in the
   launch process to be detected by the extension-detection code.

* WebKitLauncher/Configurations/Base.xcconfig: Added.
* WebKitLauncher/Configurations/WebKitLauncher.xcconfig: Added.
* WebKitLauncher/Configurations/WebKitNightlyEnabler.xcconfig: Added.
* WebKitLauncher/Info.plist:
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
* WebKitLauncher/WebKitNightlyEnabler.h: Added.
* WebKitLauncher/WebKitNightlyEnabler.m:
(myBundleDidLoad):
(myApplicationWillFinishLaunching):
(poseAsWebKitApp):
(webKitLauncherBundle):
(enableWebKitNightlyBehaviour):
* WebKitLauncher/WebKitNightlyEnablerSparkle.h: Added.
* WebKitLauncher/WebKitNightlyEnablerSparkle.m: Added.
(initializeSparkle):
(updatePermissionPromptDescription):
(skipSignatureVerificationInDownloadDidFinish):
(updateAlertPanel):
(updateAlertInitForAlertPanel):
(-[NSAlert webKitHandleButtonPress:]):
(setMethodImplementation):
* WebKitLauncher/main.m:
(displayErrorAndQuit):
(getLastVersionShown):
(saveLastVersionShown):
(getPathForStartPage):
(getCurrentVersion):
(getShowStartPageVersion):
(startPageDisabled):
(addStartPageToArgumentsIfNeeded):
(preferredArchitecture):
(myExecve):
(locateSafariBundle):
(currentMacOSXVersion):
(checkFrameworkPath):
(main):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44111 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed build fix for Qt. Change signature to have PassOwnPtr.

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