2010-05-18  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Eric Carlson.

        [GStreamer] PlatformMedia support
        https://bugs.webkit.org/show_bug.cgi?id=39300

        Basic support for PlatformMedia in the gst player. The
        PlatformMedia object contains a GStreamerGWorld object. That
        object is empty for now. XOverlay features will be added later
        on for easy review sake.

        * GNUmakefile.am:
        * platform/graphics/MediaPlayer.h:
        (WebCore::PlatformMedia::):
        * platform/graphics/gstreamer/GStreamerGWorld.cpp: Added.
        (WebCore::GStreamerGWorld::createGWorld):
        (WebCore::GStreamerGWorld::GStreamerGWorld):
        (WebCore::GStreamerGWorld::~GStreamerGWorld):
        * platform/graphics/gstreamer/GStreamerGWorld.h: Added.
        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
        (WebCore::MediaPlayerPrivateGStreamer::platformMedia):
        (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-20  Daniel Bates  <dbates@rim.com>

        Rubber-stamped by Simon Fraser.

        Spelling correction; change "acces" [sic] to "access".

        * quality/lifecycle.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-20  Tony Chang  <tony@chromium.org>

        Reviewed by Kent Tamura.

        escape link text when copying or dragging links on win or chromium
        https://bugs.webkit.org/show_bug.cgi?id=39413

        * editing/pasteboard/drop-link-expected.txt: Added.
        * editing/pasteboard/drop-link.html:
        * platform/chromium-linux/editing/pasteboard/drop-link-expected.checksum: Removed.
        * platform/chromium-linux/editing/pasteboard/drop-link-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/drop-link-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/drop-link-expected.checksum: Removed.
        * platform/chromium-win/editing/pasteboard/drop-link-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/drop-link-expected.txt: Removed.
        * platform/mac/editing/pasteboard/drop-link-expected.checksum: Removed.
        * platform/mac/editing/pasteboard/drop-link-expected.png: Removed.
        * platform/mac/editing/pasteboard/drop-link-expected.txt: Removed.
2010-05-20  Tony Chang  <tony@chromium.org>

        Reviewed by Kent Tamura.

        escape link text when copying or dragging links on win or chromium
        https://bugs.webkit.org/show_bug.cgi?id=39413

        * editing/markup.cpp:
        (WebCore::urlToMarkup):
        * editing/markup.h:
        * platform/chromium/ClipboardUtilitiesChromium.cpp:
        * platform/chromium/ClipboardUtilitiesChromium.h:
        * platform/win/ClipboardUtilitiesWin.cpp:
        * platform/win/ClipboardUtilitiesWin.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Calls to CallJNIMethodIDA() in JavaInstance::invokeMethod() are required on Android


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Symbian build fix.

[Qt] Updated the wins def file with one new export.

The DRT symbols are still missing, but I can't build DRT ;(

* symbian/bwins/QtWebKitu.def:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59919 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-21  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        [BREWMP] Add !PLATFORM(BREWMP) guard for isMainThread
        https://bugs.webkit.org/show_bug.cgi?id=39396

        BREWMP sets ENABLE(SINGLE_THREADED), so it uses isMainThread from ThreadingNone.cpp.
        Exclude isMainThread in MainThread.cpp.

        * wtf/MainThread.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-21  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        Add COMPILER(MSVC) guard for strnstr
        https://bugs.webkit.org/show_bug.cgi?id=39397

        BREWMP uses MSVC for simulator build, but it is not OS(WINDOWS).
        Add COMPILER(MSVC) guard for strnstr.

        * wtf/StringExtras.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59921 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-21  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        [BREWMP] Add missing localized string symbols.
        https://bugs.webkit.org/show_bug.cgi?id=39394

        Add missingPluginText and crashedPluginText.

        * platform/brew/LocalizedStringsBrew.cpp:
        (WebCore::missingPluginText):
        (WebCore::crashedPluginText):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59922 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-21  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Eric Seidel.

        [EF] Fix support for focus ring.
        https://bugs.webkit.org/show_bug.cgi?id=39387

        No new tests required.

        * html/HTMLAnchorElement.cpp: Add EFL to #ifdef
        (WebCore::HTMLAnchorElement::isMouseFocusable):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-21  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Eric Seidel.

        [EFL] Update Localized Strings. Remove markers from strings
        since we are not using them and they are only polluting output.
        https://bugs.webkit.org/show_bug.cgi?id=39371

        No new tests required.

        * platform/efl/LocalizedStringsEfl.cpp:
        (WebCore::contextMenuItemTagOpenLinkInNewWindow):
        (WebCore::contextMenuItemTagDownloadLinkToDisk):
        (WebCore::contextMenuItemTagCopyLinkToClipboard):
        (WebCore::contextMenuItemTagOpenImageInNewWindow):
        (WebCore::contextMenuItemTagDownloadImageToDisk):
        (WebCore::contextMenuItemTagCopyImageToClipboard):
        (WebCore::contextMenuItemTagOpenFrameInNewWindow):
        (WebCore::contextMenuItemTagSelectAll):
        (WebCore::contextMenuItemTagUnicode):
        (WebCore::contextMenuItemTagInputMethods):
        (WebCore::contextMenuItemTagGoBack):
        (WebCore::contextMenuItemTagGoForward):
        (WebCore::contextMenuItemTagReload):
        (WebCore::contextMenuItemTagIgnoreSpelling):
        (WebCore::contextMenuItemTagLearnSpelling):
        (WebCore::contextMenuItemTagSearchWeb):
        (WebCore::contextMenuItemTagLookUpInDictionary):
        (WebCore::contextMenuItemTagOpenLink):
        (WebCore::contextMenuItemTagIgnoreGrammar):
        (WebCore::contextMenuItemTagSpellingMenu):
        (WebCore::contextMenuItemTagCheckSpelling):
        (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
        (WebCore::contextMenuItemTagFontMenu):
        (WebCore::contextMenuItemTagOutline):
        (WebCore::contextMenuItemTagInspectElement):
        (WebCore::searchMenuClearRecentSearchesText):
        (WebCore::missingPluginText): Add missing message.
        (WebCore::multipleFileUploadText):
        (WebCore::crashedPluginText):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Prospective Qt/Mac build fix

My cpp is paranoid and doesn't like #if Q_WS_MAC:
error: #if with no expression

* page/qt/EventHandlerQt.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Geolocation LayoutTests should use standard template pattern
https://bugs.webkit.org/show_bug.cgi?id=39301


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59926 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-21  Young Han Lee  <joybro@company100.net>

        Reviewed by Eric Seidel.

        Fix guard around DatabaseSync
        https://bugs.webkit.org/show_bug.cgi?id=38897

        * storage/DatabaseSync.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59927 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-21  Robin Cao  <robin.cao@torchmobile.com.cn>

        Reviewed by Eric Seidel.

        animateTransform does not work on gradientTransform
        https://bugs.webkit.org/show_bug.cgi?id=38115

        Tests if gradientTransform of a gradient is animateable.

        * svg/animations/animate-gradient-transform-expected.txt: Added.
        * svg/animations/animate-gradient-transform.html: Added.
        * svg/animations/script-tests/animate-gradient-transform.js: Added.
        (sample1):
        (sample2):
        (sample3):
        (executeTest):
2010-05-21  Robin Cao  <robin.cao@torchmobile.com.cn>

        Reviewed by Eric Seidel.

        animateTransform does not work on gradientTransform
        https://bugs.webkit.org/show_bug.cgi?id=38115

        Tests: svg/animations/animate-gradient-transform.html

        * svg/SVGAnimateTransformElement.cpp:
        (WebCore::SVGAnimateTransformElement::hasValidTarget): Check if the target element is gradient.
        (WebCore::transformListFor): Ditto.
        (WebCore::SVGAnimateTransformElement::resetToBaseValue): Ditto.
        (WebCore::SVGAnimateTransformElement::applyResultsToTarget): Ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59928 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-17  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Eric Carlson.

        [GStreamer] video painting support on mac port
        https://bugs.webkit.org/show_bug.cgi?id=39206

        ImageGStreamer support for mac port. A CG Image is created using
        the GstBuffer data. It can then be painted by the gstreamer player.

        * platform/graphics/gstreamer/ImageGStreamer.h:
        * platform/graphics/gstreamer/ImageGStreamerCG.mm: Added.
        (ImageGStreamer::createImage):
        (ImageGStreamer::ImageGStreamer):
        (ImageGStreamer::~ImageGStreamer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-21  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        Split the QScriptValue autotest into smaller chunks.

        File tst_qscriptvalue_generated.cpp was huge and it was difficult to compile
        it with MSVS2008, because of the code optimization.

        Tests were splited into a few files for better use of distributed
        compilation.
        Repeated calls to insert() and operator<<() where replaced by loops,
        that should reduce time of code optimizing.

        New files were generated by the same application, test logic wasn't changed.

        [Qt] The QScriptValue autotest should be refactored.
        https://bugs.webkit.org/show_bug.cgi?id=38987

        * qt/tests/qscriptvalue/qscriptvalue.pro:
        * qt/tests/qscriptvalue/tst_qscriptvalue.h:
        * qt/tests/qscriptvalue/tst_qscriptvalue_generated.cpp: Removed.
        * qt/tests/qscriptvalue/tst_qscriptvalue_generated_init.cpp: Added.
        (tst_QScriptValue::initScriptValues):
        * qt/tests/qscriptvalue/tst_qscriptvalue_generated_istype.cpp: Added.
        (tst_QScriptValue::isValid_initData):
        (tst_QScriptValue::isValid_makeData):
        (tst_QScriptValue::isValid_test):
        (tst_QScriptValue::isBool_initData):
        (tst_QScriptValue::isBool_makeData):
        (tst_QScriptValue::isBool_test):
        (tst_QScriptValue::isBoolean_initData):
        (tst_QScriptValue::isBoolean_makeData):
        (tst_QScriptValue::isBoolean_test):
        (tst_QScriptValue::isNumber_initData):
        (tst_QScriptValue::isNumber_makeData):
        (tst_QScriptValue::isNumber_test):
        (tst_QScriptValue::isFunction_initData):
        (tst_QScriptValue::isFunction_makeData):
        (tst_QScriptValue::isFunction_test):
        (tst_QScriptValue::isNull_initData):
        (tst_QScriptValue::isNull_makeData):
        (tst_QScriptValue::isNull_test):
        (tst_QScriptValue::isString_initData):
        (tst_QScriptValue::isString_makeData):
        (tst_QScriptValue::isString_test):
        (tst_QScriptValue::isUndefined_initData):
        (tst_QScriptValue::isUndefined_makeData):
        (tst_QScriptValue::isUndefined_test):
        (tst_QScriptValue::isObject_initData):
        (tst_QScriptValue::isObject_makeData):
        (tst_QScriptValue::isObject_test):
        * qt/tests/qscriptvalue/tst_qscriptvalue_generated_totype.cpp: Added.
        (tst_QScriptValue::toString_initData):
        (tst_QScriptValue::toString_makeData):
        (tst_QScriptValue::toString_test):
        (tst_QScriptValue::toNumber_initData):
        (tst_QScriptValue::toNumber_makeData):
        (tst_QScriptValue::toNumber_test):
        (tst_QScriptValue::toBool_initData):
        (tst_QScriptValue::toBool_makeData):
        (tst_QScriptValue::toBool_test):
        (tst_QScriptValue::toBoolean_initData):
        (tst_QScriptValue::toBoolean_makeData):
        (tst_QScriptValue::toBoolean_test):
        (tst_QScriptValue::toInteger_initData):
        (tst_QScriptValue::toInteger_makeData):
        (tst_QScriptValue::toInteger_test):
        (tst_QScriptValue::toInt32_initData):
        (tst_QScriptValue::toInt32_makeData):
        (tst_QScriptValue::toInt32_test):
        (tst_QScriptValue::toUInt32_initData):
        (tst_QScriptValue::toUInt32_makeData):
        (tst_QScriptValue::toUInt32_test):
        (tst_QScriptValue::toUInt16_initData):
        (tst_QScriptValue::toUInt16_makeData):
        (tst_QScriptValue::toUInt16_test):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-21  Jesus Sanchez-Palencia  <jesus@webkit.org>

        Reviewed by Eric Seidel.

        Extra processesArguments() calls in Document::processViewport
        https://bugs.webkit.org/show_bug.cgi?id=39358

        The viewport arguments are only needed when there is a frame->page(),
        therefore we don't need to always call processArguments().

        * dom/Document.cpp:
        (WebCore::Document::processViewport):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-21  Victoria Kirst  <vrk@google.com>

        Reviewed by David Levin.

        [chromium] Fix slider status when buffering
        https://bugs.webkit.org/show_bug.cgi?id=39370
        Adjusts the buffering bar to be aligned with the slider thumb.

        No new tests. (Covered by existing layout tests.)

        * rendering/RenderMediaControlsChromium.cpp:
        (WebCore::paintMediaSlider):
        Added logic to align the buffering bar with the thumb. Half of the
        thumb image is transparent, so the buffer bar is adjusted to fill in
        this gap.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-21  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Darin Fisher.

        Fix the HistoryController::pushState.

        It should be possible to call the pushState method from
        the first page in a window.

        history.pushState doesn't work for the first page in a window.
        https://bugs.webkit.org/show_bug.cgi?id=39418

        * loader/HistoryController.cpp:
        (WebCore::HistoryController::pushState):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-05-21  Tasuku Suzuki  <tasuku.suzuki@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Fix compilation with QT_NO_GRAPHICSEFFECT
        https://bugs.webkit.org/show_bug.cgi?id=38324

        * platform/graphics/qt/GraphicsLayerQt.cpp:
        (WebCore::GraphicsLayerQtImpl::flushChanges):

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