2010-05-19 Antti Koivisto Rubber-stamped by Kenneth Rohde Christiansen. [Qt] TiledBackingStore updates broken when not using resizesToContents mode https://bugs.webkit.org/show_bug.cgi?id=39359 Put the back logic that was lost in refactoring. * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::visibleRectForTiledBackingStore): * WebCoreSupport/PageClientQt.cpp: (WebCore::PageClientQGraphicsWidget::graphicsItemVisibleRect): * WebCoreSupport/PageClientQt.h: (WebCore::PageClientQWidget::viewResizesToContentsEnabled): (WebCore::PageClientQGraphicsWidget::viewResizesToContentsEnabled): 2010-07-01 Bea Lam Reviewed by Simon Hausmann. [Qt] Doc improvements for QDeclarativeWebView * declarative/qdeclarativewebview.cpp: 2010-07-01 Jocelyn Turcotte Reviewed by Kenneth Rohde Christiansen. [Qt] Create QComboBoxes when clicked and destroy on hide. https://bugs.webkit.org/show_bug.cgi?id=41451 Currently a QComboBox is created for each RenderMenuList and it gets destroyed either when the RenderMenuList or the QWebView (its Qt parent) is destroyed. This cause a crash when the QWebView is destroyed before the render tree (which is kept in cache). This patch aim to destroy the QComboBox as soon as its popup gets hidden, and likewise, create it only when the popup is requested to be shown. It also removes the unneeded reference to the QGraphicsProxyWidget, destroying the QComboBox automatically destroys its bound proxywidget. * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopupCombo::hidePopup): (WebCore::QtFallbackWebPopup::QtFallbackWebPopup): (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup): (WebCore::QtFallbackWebPopup::show): (WebCore::QtFallbackWebPopup::hide): (WebCore::QtFallbackWebPopup::destroyPopup): (WebCore::QtFallbackWebPopup::populate): * WebCoreSupport/QtFallbackWebPopup.h: 2010-06-30 Jocelyn Turcotte Reviewed by Kenneth Rohde Christiansen. [Qt] Make sure we catch closed QComboBox popups. https://bugs.webkit.org/show_bug.cgi?id=39019 The way it works currently is using the QComboBox::show/hidePopup virtual method to catch popup requests in the middle. There is some cases however that the popup widget gets closed without going through the hidePopup method. This patch adds an event filter to the popup's view to know when it gets closed and calls hidePopup to call our handling code. This may get hidePopup called twice but this shouldn't have any effect. * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopupCombo::QtFallbackWebPopupCombo): (WebCore::QtFallbackWebPopupCombo::eventFilter): * WebCoreSupport/QtFallbackWebPopup.h: 2010-06-25 Luiz Agostini Reviewed by Kenneth Rohde Christiansen. [Qt] QtWebKit crashes if 's renderer changes in its onchange event. * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup): 2010-06-28 Andreas Kling Reviewed by Simon Hausmann. [Qt] QGraphicsWebView crash when calling setScale() before setUrl() https://bugs.webkit.org/show_bug.cgi?id=40000 Check 'page' before dereference in _q_scaleChanged() Autotest included. * Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::_q_scaleChanged): * tests/qgraphicswebview/tst_qgraphicswebview.cpp: (tst_QGraphicsWebView::crashOnSetScaleBeforeSetUrl): 2010-06-24 Simon Hausmann Unreviewed Symbian build fix. The QML WebKit integration needs to be part of QtWebKit.sis * declarative/declarative.pro: Removed non-working deployment. 2010-06-23 David Boddie Reviewed by Simon Hausmann. [Qt] Doc: Fixed documentation errors. * docs/qtwebkit-bridge.qdoc: 2010-06-23 Alessandro Portale Reviewed by Simon Hausmann. [Qt] Provide the Webkit Qml plugin with a UID3 on Symbian ...otherwise we cannot Symbian sign it. * declarative/declarative.pro: 2010-06-23 Simon Hausmann Unreviewed Qt package build fix. When building without build-webkit, set OUTPUT_DIR if necessary, like in the other .pro files. * declarative/declarative.pro: 2010-06-22 Tasuku Suzuki Reviewed by Simon Hausmann. [Qt] Fix compilation with QT_NO_COMBOBOX. * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::createSelectPopup): 2010-06-11 Jocelyn Turcotte Reviewed by nobody, build fix. [Qt] Second fix attempt for the build break introduced by r61002. * Api/qwebpage.cpp: (QWebPagePrivate::QWebPagePrivate): 2010-06-11 Jocelyn Turcotte Reviewed by nobody, build fix. [Qt] Fix build break introduced by r61002. * Api/qwebpage.cpp: (QWebPagePrivate::QWebPagePrivate): 2010-05-31 Jocelyn Turcotte Reviewed by Simon Hausmann. [Qt] Implement the simple text code path. https://bugs.webkit.org/show_bug.cgi?id=40077 Remove the FONT_FAST_PATH macro and use the Qt's fast text implementation instead of the one of WebKit. The Qt::TextBypassShaping flag is used to tell Qt to only use the glyph advances. Qt 4.7 is needed to get this flag thus the complex path is always used if QtWebKit is compiled against an earlier version. Contrary to the WebKit's implementation, the complex code path is taken if the text is RightToLeft, justified or is formatted with non-zero letter or word spacing. * Api/qwebpage.cpp: (QWebPagePrivate::QWebPagePrivate): 2010-06-21 Simon Hausmann Unreviewed build fix. [Qt] Fix package builds Don't use rpath unless we're building inside the trunk. * declarative/declarative.pro: 2010-06-19 Mirko Damiani Reviewed by Simon Hausmann. [Qt] Avoid truncation of zoom factor in QWebFrame's print function. https://bugs.webkit.org/show_bug.cgi?id=40662 The zoom factor is a qreal number but its value is truncated to an integer. So a cast to qreal is needed to avoid this issue. * Api/qwebframe.cpp: (QWebFrame::print): 2010-06-19 No'am Rosenthal Reviewed by Simon Hausmann. Bridge documentation: some snippets have the wrong indentation https://bugs.webkit.org/show_bug.cgi?id=40717 Fixed code snippets * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp: (wrapInFunction): 2010-06-19 Olivier Goffart Reviewed by Kenneth Rohde Christiansen. [Qt] Compilation in QWebPagePrivate::timerEvent with clang https://bugs.webkit.org/show_bug.cgi?id=40714 QObject::timerEvent is protected and cannot be accessed by QWebPagePrivate with clang QWebPagePrivate is a friend of QWebPage and then should have access to all protected members of parents of QWebPage, including QObject. But the clang team do not want to conform to this aspect of the specification because "It is either a drafting error or a horrible mistake." See http://llvm.org/bugs/show_bug.cgi?id=6840 This change is better because QWebPage does not reimplement the timerEvent (QWebPagePrivate::timerEvent is called from QWebPage::event) So customers that would reimplement their own timerEvent for their own timer now get a chance to catch them. * Api/qwebpage.cpp: (QWebPagePrivate::timerEvent): 2010-06-18 Alexis Menard Reviewed by Simon Hausmann. [Qt] Fix documentation for the declarative module import. * declarative/qdeclarativewebview.cpp: 2010-06-18 Simon Hausmann Reviewed by Antti Koivisto. REGRESSION(r60958) [Qt] qwebpage::inputMethods auto-test fails https://bugs.webkit.org/show_bug.cgi?id=40830 When activating a regular input method field, always set or unset the ImhHiddenText input method hint. * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::setInputMethodState): 2010-06-10 Raine Makelainen Reviewed by Kenneth Rohde Christiansen. Impossible to set input method hints based HTML5 input types https://bugs.webkit.org/show_bug.cgi?id=40107 EditorClientQt to set input method hints for "number", "tel", "email", and "url" HTML input elements. Tests for HTML input elements and input method hints added for QGraphicsWebView and QWebView. * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::setInputMethodState): * tests/qgraphicswebview/resources/input_types.html: Added. * tests/qgraphicswebview/tst_qgraphicswebview.cpp: (GraphicsWebView::GraphicsWebView): (GraphicsWebView::fireMouseClick): (tst_QGraphicsWebView::focusInputTypes): * tests/qgraphicswebview/tst_qgraphicswebview.qrc: Added. * tests/qwebview/resources/input_types.html: Added. * tests/qwebview/tst_qwebview.cpp: (WebView::fireMouseClick): (tst_QWebView::focusInputTypes): * tests/qwebview/tst_qwebview.qrc: 2010-06-18 Alexis Menard Reviewed by Simon Hausmann. Fix documentation issue on the onAlert handler. Fix compilation issue with QT_NO_ACTION. * declarative/qdeclarativewebview.cpp: * declarative/qdeclarativewebview_p.h: 2010-06-18 Alexis Menard Reviewed by Simon Hausmann. [Qt] Change the target path to QtWebKit. * declarative/declarative.pro: 2010-06-17 Robert Hogan [Qt] Build fix Unreviewed. Remove includes in qdeclarativewebview*.* that rely on an installation of QtWebKit. * declarative/qdeclarativewebview.cpp: * declarative/qdeclarativewebview_p.h: 2010-06-17 Alexis Menard Reviewed by Kenneth Rohde Christiansen. [Qt] Upstream the WebKit QML integration plugin https://bugs.webkit.org/show_bug.cgi?id=40050 Add to the Qt port the QML WebKit integration plugin. QDeclarativeWebView is creating the item and expose properties. The C++ API is not public, only the properties are. * declarative/declarative.pro: Added. * declarative/plugin.cpp: Added. (WebKitQmlPlugin::registerTypes): * declarative/qdeclarativewebview.cpp: Added. (QDeclarativeWebViewPrivate::QDeclarativeWebViewPrivate): (QDeclarativeWebViewPrivate::): (QDeclarativeWebViewPrivate::windowObjectsAppend): (GraphicsWebView::GraphicsWebView): (GraphicsWebView::mousePressEvent): (GraphicsWebView::mouseReleaseEvent): (GraphicsWebView::mouseDoubleClickEvent): (GraphicsWebView::timerEvent): (GraphicsWebView::mouseMoveEvent): (QDeclarativeWebView::QDeclarativeWebView): (QDeclarativeWebView::~QDeclarativeWebView): (QDeclarativeWebView::init): (QDeclarativeWebView::componentComplete): (QDeclarativeWebView::status): (QDeclarativeWebView::progress): (QDeclarativeWebView::doLoadStarted): (QDeclarativeWebView::doLoadProgress): (QDeclarativeWebView::pageUrlChanged): (QDeclarativeWebView::doLoadFinished): (QDeclarativeWebView::url): (QDeclarativeWebView::setUrl): (QDeclarativeWebView::preferredWidth): (QDeclarativeWebView::setPreferredWidth): (QDeclarativeWebView::preferredHeight): (QDeclarativeWebView::setPreferredHeight): (QDeclarativeWebView::evaluateJavaScript): (QDeclarativeWebView::updateDeclarativeWebViewSize): (QDeclarativeWebView::initialLayout): (QDeclarativeWebView::updateContentsSize): (QDeclarativeWebView::geometryChanged): (QDeclarativeWebView::javaScriptWindowObjects): (QDeclarativeWebView::qmlAttachedProperties): (QDeclarativeWebViewPrivate::updateWindowObjects): (QDeclarativeWebView::renderingEnabled): (QDeclarativeWebView::setRenderingEnabled): (QDeclarativeWebView::heuristicZoom): (QDeclarativeWebView::pressGrabTime): (QDeclarativeWebView::setPressGrabTime): (QDeclarativeWebView::backAction): (QDeclarativeWebView::forwardAction): (QDeclarativeWebView::reloadAction): (QDeclarativeWebView::stopAction): (QDeclarativeWebView::title): (QDeclarativeWebView::icon): (QDeclarativeWebView::setStatusText): (QDeclarativeWebView::windowObjectCleared): (QDeclarativeWebView::statusText): (QDeclarativeWebView::page): (QDeclarativeWebView::settingsObject): (QDeclarativeWebView::setPage): (QDeclarativeWebView::load): (QDeclarativeWebView::html): (QDeclarativeWebView::setHtml): (QDeclarativeWebView::setContent): (QDeclarativeWebView::history): (QDeclarativeWebView::settings): (QDeclarativeWebView::createWindow): (QDeclarativeWebView::newWindowComponent): (QDeclarativeWebView::setNewWindowComponent): (QDeclarativeWebView::newWindowParent): (QDeclarativeWebView::setNewWindowParent): (QDeclarativeWebView::contentsSize): (QDeclarativeWebView::contentsScale): (QDeclarativeWebView::setContentsScale): (QDeclarativeWebView::elementAreaAt): (QDeclarativeWebPage::QDeclarativeWebPage): (QDeclarativeWebPage::~QDeclarativeWebPage): (QDeclarativeWebPage::chooseFile): (QDeclarativeWebPage::javaScriptAlert): (QDeclarativeWebPage::javaScriptConfirm): (QDeclarativeWebPage::javaScriptPrompt): (QDeclarativeWebPage::viewItem): (QDeclarativeWebPage::createWindow): * declarative/qdeclarativewebview_p.h: Added. (QDeclarativeWebView::): (QDeclarativeWebView::isComponentCompletePublic): (QDeclarativeWebViewAttached::QDeclarativeWebViewAttached): (QDeclarativeWebViewAttached::windowObjectName): (QDeclarativeWebViewAttached::setWindowObjectName): (QDeclarativeWebSettings::QDeclarativeWebSettings): (QDeclarativeWebSettings::standardFontFamily): (QDeclarativeWebSettings::setStandardFontFamily): (QDeclarativeWebSettings::fixedFontFamily): (QDeclarativeWebSettings::setFixedFontFamily): (QDeclarativeWebSettings::serifFontFamily): (QDeclarativeWebSettings::setSerifFontFamily): (QDeclarativeWebSettings::sansSerifFontFamily): (QDeclarativeWebSettings::setSansSerifFontFamily): (QDeclarativeWebSettings::cursiveFontFamily): (QDeclarativeWebSettings::setCursiveFontFamily): (QDeclarativeWebSettings::fantasyFontFamily): (QDeclarativeWebSettings::setFantasyFontFamily): (QDeclarativeWebSettings::minimumFontSize): (QDeclarativeWebSettings::setMinimumFontSize): (QDeclarativeWebSettings::minimumLogicalFontSize): (QDeclarativeWebSettings::setMinimumLogicalFontSize): (QDeclarativeWebSettings::defaultFontSize): (QDeclarativeWebSettings::setDefaultFontSize): (QDeclarativeWebSettings::defaultFixedFontSize): (QDeclarativeWebSettings::setDefaultFixedFontSize): (QDeclarativeWebSettings::autoLoadImages): (QDeclarativeWebSettings::setAutoLoadImages): (QDeclarativeWebSettings::javascriptEnabled): (QDeclarativeWebSettings::setJavascriptEnabled): (QDeclarativeWebSettings::javaEnabled): (QDeclarativeWebSettings::setJavaEnabled): (QDeclarativeWebSettings::pluginsEnabled): (QDeclarativeWebSettings::setPluginsEnabled): (QDeclarativeWebSettings::privateBrowsingEnabled): (QDeclarativeWebSettings::setPrivateBrowsingEnabled): (QDeclarativeWebSettings::javascriptCanOpenWindows): (QDeclarativeWebSettings::setJavascriptCanOpenWindows): (QDeclarativeWebSettings::javascriptCanAccessClipboard): (QDeclarativeWebSettings::setJavascriptCanAccessClipboard): (QDeclarativeWebSettings::developerExtrasEnabled): (QDeclarativeWebSettings::setDeveloperExtrasEnabled): (QDeclarativeWebSettings::linksIncludedInFocusChain): (QDeclarativeWebSettings::setLinksIncludedInFocusChain): (QDeclarativeWebSettings::zoomTextOnly): (QDeclarativeWebSettings::setZoomTextOnly): (QDeclarativeWebSettings::printElementBackgrounds): (QDeclarativeWebSettings::setPrintElementBackgrounds): (QDeclarativeWebSettings::offlineStorageDatabaseEnabled): (QDeclarativeWebSettings::setOfflineStorageDatabaseEnabled): (QDeclarativeWebSettings::offlineWebApplicationCacheEnabled): (QDeclarativeWebSettings::setOfflineWebApplicationCacheEnabled): (QDeclarativeWebSettings::localStorageDatabaseEnabled): (QDeclarativeWebSettings::setLocalStorageDatabaseEnabled): (QDeclarativeWebSettings::localContentCanAccessRemoteUrls): (QDeclarativeWebSettings::setLocalContentCanAccessRemoteUrls): * declarative/qmldir: Added. * docs/qtwebkit.qdocconf: 2010-06-17 Mark Brand Reviewed by Simon Hausmann. [Qt] use "win32-g++*" scope to match all MinGW makespecs The scope "win32-g++" comes from the name of the makespec. However, it is frequently used to check for MinGW. This works fine as long as win32-g++ is the only makespec for MinGW. Now we need the wildcard to cover "win32-g++-cross" as well. * Api/DerivedSources.pro: 2010-05-28 Viatcheslav Ostapenko Reviewed by Simon Hausmann, Antti Koivisto [Qt] Add internal Qt Api to configure repaint throttling parameters. https://bugs.webkit.org/show_bug.cgi?id=38401 * Api/qwebpage.cpp: (QWebPagePrivate::dynamicPropertyChangeEvent): 2010-06-12 Dawit Alemayehu Reviewed by Kenneth Rohde Christiansen. Added an attribute to enable/disable site specific quirks mode in WebKit. The attribute is enabled by default. https://bugs.webkit.org/show_bug.cgi?id=40073 * Api/qwebsettings.cpp: (QWebSettingsPrivate::apply): (QWebSettings::QWebSettings): * Api/qwebsettings.h: 2010-06-09 Pierre Rossi Reviewed by Kenneth Rohde Christiansen. QWebPage::findText() does not clear selection when passed empty string https://bugs.webkit.org/show_bug.cgi?id=31779 * Api/qwebpage.cpp: (QWebPage::findText): * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::findText): 2010-06-12 No'am Rosenthal Reviewed by Kenneth Rohde Christiansen. [Qt] Add documentation to the QtWebkit bridge https://bugs.webkit.org/show_bug.cgi?id=35861 The previous accepted patch was actually a faulty one; It was hard to trace since it's just a documentation change. The new patch amends that, with the correct snippets and grammar fixes. * docs/qtwebkit-bridge.qdoc: * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp: (wrapInFunction): 2010-06-11 Jesus Sanchez-Palencia Reviewed by Kenneth Rohde Christiansen. [Qt] Typo error in QWebPluginFactory Documentation https://bugs.webkit.org/show_bug.cgi?id=40490 * Api/qwebpluginfactory.cpp: 2010-06-10 Andy Shaw Reviewed by Simon Hausmann. REGRESSION: [Qt] When dragging onto a page that handles the drag in Javascript it will be a move and not a copy by default https://bugs.webkit.org/show_bug.cgi?id=40401 The correct pattern in Qt for Dnd events is to use acceptProposedAction() instead of accept(). * Api/qwebpage.cpp: (QWebPagePrivate::dragEnterEvent): (QWebPagePrivate::dragMoveEvent): (QWebPagePrivate::dropEvent): 2010-06-02 Tasuku Suzuki Reviewed by Shinichiro Hamaji. [Qt] Fix compilation with QT_NO_PROPERTIES https://bugs.webkit.org/show_bug.cgi?id=38324 * Api/qwebpage.cpp: (QWebPage::event): * Api/qwebpage_p.h: * WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::openInspectorFrontend): 2010-05-17 Tasuku Suzuki Reviewed by Kenneth Rohde Christiansen. [Qt] Fix compilation with QT_NO_COMBOBOX https://bugs.webkit.org/show_bug.cgi?id=38324 * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::createSelectPopup): * WebCoreSupport/QtFallbackWebPopup.cpp: * WebCoreSupport/QtFallbackWebPopup.h: 2010-05-02 Tasuku Suzuki Reviewed by Simon Hausmann. [Qt] Fix compilation with QT_NO_BEARERMANAGEMENT https://bugs.webkit.org/show_bug.cgi?id=38324 * Api/qwebsettings.cpp: 2010-03-24 Viatcheslav Ostapenko Reviewed by Laszlo Gombos. Auto-uppercase and predictive text need to be disabled for S60 (as for maemo) https://bugs.webkit.org/show_bug.cgi?id=33176 * WebCoreSupport/EditorClientQt.cpp: 2010-06-01 Noam Rosenthal Reviewed by Kenneth Rohde Christiansen. [Qt] Add documentation to the QtWebkit bridge https://bugs.webkit.org/show_bug.cgi?id=35861 This patch includes comprehensive qdoc documentation for the QtWebkit bridge. * docs/qtwebkit-bridge.qdoc: Added. * docs/qtwebkit.qdoc: * docs/webkitsnippets/doc_src_qtscript.qdoc: Added. * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp: Added. (wrapInFunction): 2010-06-01 Simon Hausmann Reviewed by Laszlo Gombos. [Qt] Rename versioning .pri file to what Qt's mkspecs/features/qt.pri expects. * qt_webkit_version.pri: Renamed from WebKit/qt/qtwebkit_version.pri. 2010-05-31 Oswald Buddenhagen Reviewed by Simon Hausmann. [Qt] Escape backslashes in the .pro files qmake in Qt 4.7 warns about unescaped backspaces and deprecates them. * Api/DerivedSources.pro: * docs/docs.pri: 2010-05-19 Denis Dzyubenko Reviewed by Kenneth Rohde Christiansen. When creating the UA, do not sassmue the language code is a two-letter iso639-1 code. * Api/qwebpage.cpp: (QWebPage::userAgentForUrl): 2010-05-28 Antti Koivisto Reviewed by Kenneth Rohde Christiansen. Add a missing #if ENABLE(), some null checking. * Api/qwebpage.cpp: (QWebPagePrivate::dynamicPropertyChangeEvent): 2010-05-28 Antti Koivisto Reviewed by Kenneth Rohde Christiansen. https://bugs.webkit.org/show_bug.cgi?id=39874 [Qt] Make tiled backing store more configurable Make tile size, tile creation delay and tiling area dynamically configurable. * Api/qwebpage.cpp: (QWebPagePrivate::dynamicPropertyChangeEvent): 2010-05-29 Dawit Alemayehu Reviewed by Kenneth Rohde Christiansen. Added a WebAction to stop all pending page refresh/redirect requests set through the tag. https://bugs.webkit.org/show_bug.cgi?id=29899 * Api/qwebpage.cpp: (QWebPage::triggerAction): * Api/qwebpage.h: * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::testStopScheduledPageRefresh): 2010-04-20 Robert Hogan Reviewed by Simon Hausmann. [Qt] Add more support for textInputController Add support for selectedRange(), setMarkedText(), insertText(), and firstRectForCharacterRange(). https://bugs.webkit.org/show_bug.cgi?id=35702 * Api/qwebpage.cpp: (QWebPagePrivate::inputMethodEvent): * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::inputMethods): 2010-05-20 Janne Koskinen Reviewed by Kenneth Rohde Christiansen. [Qt] WINSCW compile fix for qwebframe test https://bugs.webkit.org/show_bug.cgi?id=38722 WINSCW cannot determine template type up the hierarchy to common base class. * tests/qwebframe/tst_qwebframe.cpp: 2010-05-23 Laszlo Gombos Reviewed by Kenneth Rohde Christiansen. [Qt] Update the Symbian version for the user agent https://bugs.webkit.org/show_bug.cgi?id=38389 Fixes a regression introduced by r58648. Ensure that the "Symbian" string is only listed one time in the User Agent string. In addition make an effort to align the User Agent string to already released WebKit based products for Symbian. * Api/qwebpage.cpp: (QWebPage::userAgentForUrl): 2010-05-21 Simon Hausmann 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: 2010-05-12 Simon Hausmann Reviewed by Laszlo Gombos. Add a comment to explain the web inspector dynamic property url hook and that it's there on purpose :) https://bugs.webkit.org/show_bug.cgi?id=35340 * WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::openInspectorFrontend): 2010-05-06 Simon Hausmann Reviewed by Kenneth Rohde Christiansen. [Qt] Replace public inspector url with private property for QtLauncher https://bugs.webkit.org/show_bug.cgi?id=35340 Replace the public API with a private dynamic property until this feature is ready. * Api/qwebsettings.cpp: * Api/qwebsettings.h: * WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::openInspectorFrontend): * symbian/bwins/QtWebKitu.def: * symbian/eabi/QtWebKitu.def: 2010-05-20 Luiz Agostini Reviewed by Kenneth Rohde Christiansen. [Qt] Skipping popup focus test for maemo https://bugs.webkit.org/show_bug.cgi?id=39314 Skipping popup focus test for maemo in qwebframe auto test. The test method tst_QWebFrame::popupFocus() was testing popup focus AND input field focus. The input field focus has been removed from the method popupFocus() and a new test method named inputFieldFocus() has been added. Finally the test method popupFocus() has been skipped for maemo. * tests/qwebframe/tst_qwebframe.cpp: 2010-05-20 Rajiv Ramanasankaran Reviewed by Simon Hausmann. [Qt] QWebPage::inputMethodQuery() returns wrong values for Qt::ImCursorPosition, Qt::ImAnchorPosition https://bugs.webkit.org/show_bug.cgi?id=38779 The earlier implementation was written with the assumption that in this scenario the anchor position always corresponds to the START index and that the current cursor position always corresponds to the END index in WebKit. Updated the implementation of QWebPage::inputMethodQuery(Qt::ImCursorPosition) and QWebPage::inputMethodQuery(Qt::ImAnchorPosition) for the case where the Editor is not in composition mode. In the non-composition mode, the Anchor and the Current cursor positions correspond to the Base and Extent position offsets in WebKit. Also added the auto-tests for the RIGHT to LEFT and LEFT to RIGHT selections. * Api/qwebpage.cpp: (QWebPage::inputMethodQuery): Now returning correct values for Qt::ImCursorPosition and Qt::ImAnchorPosition when the Editor is not in composition mode. * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::inputMethods): Added auto-tests for RIGHT to LEFT and LEFT to RIGHT selections 2010-05-12 Joe Ligman Reviewed by Laszlo Gombos. [Qt] Nested overflow div does not scroll https://bugs.webkit.org/show_bug.cgi?id=38641 Modify qtwebkit_webframe_scrollOverflow, if the current node's render layer does not scroll it will try and scroll the parent's render layer. Also export qtwebkit_webframe_scrollOverflow so we can use it independently of qtwebkit_webframe_scrollRecursively * Api/qwebframe.cpp: (qtwebkit_webframe_scrollOverflow): (qtwebkit_webframe_scrollRecursively): 2010-05-17 Antti Koivisto Reviewed by Kenneth Rohde Christiansen. https://bugs.webkit.org/show_bug.cgi?id=39218 [Qt] Tiled backing store tiles sometimes flicker when exiting a zoom animation Tiles sometimes flicker when exiting a zoom animation. This happens as a result of the visible rectangle being momentarily out of sync. Instead of updating the visible rect by explicitly setting it, pull it through the client and recompute in WebKit the level. * Api/qgraphicswebview.cpp: (QGraphicsWebView::paint): * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::visibleRectForTiledBackingStore): * WebCoreSupport/ChromeClientQt.h: 2010-05-18 Jedrzej Nowacki Reviewed by Simon Hausmann. Fix QWebHistory serialization. Regression was caused by bug 33224. The streaming function should generate a documentSequenceNumber for all loaded values. [Qt] tst_QWebHistory::serialize_2() fails https://bugs.webkit.org/show_bug.cgi?id=37322 * Api/qwebhistory.cpp: (operator>>): 2010-05-14 Kent Hansen , Jocelyn Turcotte , Tor Arne Vestbø , Henry Haverinen , Jedrzej Nowacki , Andreas Kling Reviewed by Simon Hausmann. [Qt] Merge overhaul of the QtWebKit API documentation Numerous improvements in wording, qdoc warning fixes and clarifications, done in a team work effort. No functional changes. * Api/qwebdatabase.cpp: * Api/qwebelement.cpp: * Api/qwebframe.cpp: * Api/qwebhistoryinterface.cpp: * Api/qwebinspector.cpp: * Api/qwebkitversion.cpp: * Api/qwebpage.cpp: * Api/qwebpluginfactory.cpp: * Api/qwebsecurityorigin.cpp: * Api/qwebsettings.cpp: * Api/qwebsettings.h: * docs/qtwebkit.qdoc: * docs/webkitsnippets/qtwebkit_qwebinspector_snippet.cpp: (wrapInFunction): * docs/webkitsnippets/webelement/main.cpp: (findButtonAndClick): (autocomplete1): (autocomplete2): (main): 2010-05-14 Martin Smith Reviewed by Simon Hausmann. Documentation: Fix overview grouping. * docs/qtwebkit.qdoc: 2010-05-14 Benjamin Poulain Reviewed by Laszlo Gombos. [QT] Update the Symbian version for the user agent https://bugs.webkit.org/show_bug.cgi?id=38389 Update the user agent for Symbian^2 to Symbian^4 * Api/qwebpage.cpp: (QWebPage::userAgentForUrl): 2010-05-11 Antonio Gomes Reviewed by Kenneth Christiansen. [Qt] emit initialLayoutCompleted signal from FrameLoaderClientQt::dispatchDidFirstVisuallyNonEmptyLayout https://bugs.webkit.org/show_bug.cgi?id=38921 Emit initialLayoutCompleted signal from FrameLoaderClientQt::dispatchDidFirstVisuallyNonEmptyLayout instead of FrameLoaderClientQt::dispatchDidFirstLayout , because the former ensures that a visual content layed out on the frame. It matches to QWebFrame::initialLayoutCompleted signal documentation at: "... This is the first time you will see contents displayed on the frame ..." * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout): (WebCore::FrameLoaderClientQt::dispatchDidFirstVisuallyNonEmptyLayout): 2010-05-11 Kenneth Rohde Christiansen Reviewed by Laszlo Gombos. [Qt] REGRESSION(r58497) tst_QGraphicsWebView::crashOnViewlessWebPages() is failing https://bugs.webkit.org/show_bug.cgi?id=38655 Fix double free by moving the connect till after the resize. The bug is causes by the fact that a resize of an empty page causes a layout, thus deleting the qgraphicswebview before setHtml is called, which then deletes it again, causing a double free. * tests/qgraphicswebview/tst_qgraphicswebview.cpp: (tst_QGraphicsWebView::crashOnViewlessWebPages): 2010-05-11 Diego Gonzalez Reviewed by Kenneth Rohde Christiansen. [Qt] tst_QWebPage::inputMethods failing on Maemo5 https://bugs.webkit.org/show_bug.cgi?id=38685 Check if the SIP (Software Input Panel) is triggered, which normally happens on mobile platforms, when a user input form receives a mouse click. * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::inputMethods): 2010-05-09 Noam Rosenthal Reviewed by Kenneth Rohde Christiansen. [Qt] Crash in QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate when animation were used https://bugs.webkit.org/show_bug.cgi?id=38574 The fix uses a QWeakPointer for rootGraphicsLayer, protecting from a crash in case the layer is deleted before the QGraphicsWebView. * Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate): (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate): (QGraphicsWebViewPrivate::setRootGraphicsLayer): (QGraphicsWebViewPrivate::updateCompositingScrollPosition): 2010-05-03 Laszlo Gombos Reviewed by Simon Hausmann. [Qt] Expose HTMLTokenizer yielding parameters https://bugs.webkit.org/show_bug.cgi?id=37023 Enables to set TimeDelay and ChunkSize for HTMLTokenizer. * Api/qwebpage.cpp: (QWebPagePrivate::dynamicPropertyChangeEvent): 2010-05-04 Laszlo Gombos Reviewed by Kenneth Rohde Christiansen. [Qt] QWebPage viewMode property https://bugs.webkit.org/show_bug.cgi?id=38119 Rename the property from wrt_viewMode to _q_viewMode. * Api/qwebpage.cpp: (QWebPagePrivate::dynamicPropertyChangeEvent): * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::viewModes): 2010-04-28 Luiz Agostini Reviewed by Kenneth Rohde Christiansen. [Qt] QWebPage viewMode property https://bugs.webkit.org/show_bug.cgi?id=38119 Replacing method qt_wrt_setViewMode by wrt_viewMode property. * Api/qwebpage.cpp: (QWebPagePrivate::dynamicPropertyChangeEvent): (QWebPage::event): * Api/qwebpage_p.h: * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::wrt_viewModes): 2010-04-09 Tasuku Suzuki Reviewed by Simon Hausmann. [Qt]Fix compile error with QT_NO_IM https://bugs.webkit.org/show_bug.cgi?id=36533 * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopupCombo::hidePopup): 2010-04-02 Tasuku Suzuki Reviewed by Eric Seidel. [Qt]Fix compile error with QT_NO_SETTINGS https://bugs.webkit.org/show_bug.cgi?id=36533 If QT_NO_SETTINGS is defined, QSettings is not available. * WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::populateSetting): (WebCore::InspectorClientQt::storeSetting): 2010-03-25 Tasuku Suzuki Reviewed by Eric Seidel. [Qt]Fix compile error with QT_NO_DESKTOPSERVICES https://bugs.webkit.org/show_bug.cgi?id=36533 * Api/qwebsettings.cpp: (QWebSettings::enablePersistentStorage): 2010-03-25 Tasuku Suzuki Reviewed by Eric Seidel. [Qt]Fix compile error with QT_NO_DEBUG_STREAM https://bugs.webkit.org/show_bug.cgi?id=36533 * Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::graphicsItemVisibleRect): 2010-04-29 Janne Koskinen Reviewed by Simon Hausmann. [Qt] QtWebKit versioning added https://bugs.webkit.org/show_bug.cgi?id=37207 QtWebkit releases separated from Qt release cycle. * qtwebkit_version.pri: Added. 2010-05-02 Benjamin Poulain Reviewed by Kenneth Rohde Christiansen. [Qt] QWebPage::userAgentForUrl is terrible API https://bugs.webkit.org/show_bug.cgi?id=33875 Simplify the creation of the user agent string to avoid some overhead for each loaded url. The static part of the user agent is cached so it only have to be made once. This creation has been made in order to simplify the code. The two variable: application name and current language are set dynamically when needed. The default locale is non longer created if the widget locale is used. * Api/qwebpage.cpp: (QWebPage::userAgentForUrl): * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::userAgentApplicationName): (tst_QWebPage::userAgentLocaleChange): 2010-05-02 Noam Rosenthal Reviewed by Kenneth Rohde Christiansen. [Qt] GraphicsLayer: animation incorrect when scrolling https://bugs.webkit.org/show_bug.cgi?id=38371 This is a regression introduced with the invalidate-on-scroll code path, that uses QGraphicsWebViewPrivate::update() instead of QGraphicsWebViewPrivate::scroll(). The patch makes sure that the scrolling position is correct on each content update - this shouldn't have a performance impact - the only overhead is an additional value-test on each update. Tested by http://www.the-art-of-web.com/css/css-animation/ * Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::update): 2010-04-29 Andreas Kling Reviewed by Simon Hausmann. Remove unnecessary call to FrameView::forceLayout() in setViewportSize() This prevents a double relayout on resize. https://bugs.webkit.org/show_bug.cgi?id=38179 Thanks to Nate Whetsell for spotting this. * Api/qwebpage.cpp: (QWebPage::setViewportSize): 2010-04-29 Simon Hausmann Reviewed by Tor Arne Vestbø. [Qt] REGRESSION(r57982): tst_qwebpage::showModalDialog() crashes https://bugs.webkit.org/show_bug.cgi?id=38314 Make sure that there's always a main frame when returning from createWindow() to the caller in WebCore. * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::createWindow): 2010-04-28 Janne Koskinen Reviewed by Simon Hausmann [Qt] WINS DEF file freeze Updated WINSCW def file with added and removed symbols. * symbian/bwins/QtWebKitu.def: 2010-04-22 Jocelyn Turcotte Reviewed by Kenneth Rohde Christiansen. [Qt] Remove translatable strings from the hybridPixmap test. https://bugs.webkit.org/show_bug.cgi?id=37867 * tests/hybridPixmap/widget.ui: 2010-04-22 Jocelyn Turcotte Reviewed by Kenneth Rohde Christiansen. [Qt] Fix autotests .qrc file paths when built in Qt. Compiling auto-tests from qt/tests/auto/qweb* produced failing tests since these .pro files include the ones in WebKit/qt/tests and the .qrc file was not added to RESOURCES * tests/benchmarks/loading/loading.pro: * tests/benchmarks/painting/painting.pro: * tests/qgraphicswebview/qgraphicswebview.pro: * tests/qwebelement/qwebelement.pro: * tests/qwebframe/qwebframe.pro: * tests/qwebhistory/qwebhistory.pro: * tests/qwebhistoryinterface/qwebhistoryinterface.pro: * tests/qwebinspector/qwebinspector.pro: * tests/qwebpage/qwebpage.pro: * tests/qwebplugindatabase/qwebplugindatabase.pro: * tests/qwebview/qwebview.pro: * tests/tests.pri: 2010-04-26 Bruno Schmidt Reviewed by Kenneth Rohde Christiansen. [Qt] Exposing an QVariantMap containing QObjectStar to Javascript causes Segmentation Fault https://bugs.webkit.org/show_bug.cgi?id=34729 If an QVariantMap containing QObjectStar is added to the to QtWebkit Javascript, it's use causes Segmentation Fault. It happens because, in the case QMetaType::QVariantMap, the "root" object that is inside of a PassRefPtr is passed recursively inside a loop to recover the content of the map, but the PassRefPtr semantics prohibit its use inside a loop, so the "root" object mus be passed using the method "PassRefPtr::get" in order to keep the current reference. * tests/qwebframe/tst_qwebframe.cpp: (MyQObject::MyQObject): new property variantMapProperty (MyQObject::variantMapProperty): read variantMapProperty (MyQObject::setVariantMapProperty): write variantMapProperty 2010-04-26 Thiago Macieira Reviewed by Simon Hausmann. [Qt] Fix the include header -> The module/header.h style inclusion removes the need to have -I$QTDIR/include/depending-module in the include search path for the application. * Api/qwebkitversion.h: 2010-04-21 Yi Shen Reviewed by Simon Hausmann. [Qt] Check the request empty or not in ChromeClientQt::createWindow() https://bugs.webkit.org/show_bug.cgi?id=37821 * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::createWindow): 2010-04-22 John Pavan Reviewed by Laszlo Gombos. [Qt] inputMethodQuery returns coordinates in web page coordinates rather than in item coordinates. https://bugs.webkit.org/show_bug.cgi?id=37163 QWebPage::inputMethodQuery is modified so that it returns coordinates in the widget's coordinate system. Tests are added for QGraphicsWebView and QWebView to verify that this behavior is correct after the webpage has been scrolled. * Api/qwebpage.cpp: (QWebPage::inputMethodQuery): * tests/qgraphicswebview/tst_qgraphicswebview.cpp: (tst_QGraphicsWebView::microFocusCoordinates): * tests/qwebview/tst_qwebview.cpp: (tst_QWebView::microFocusCoordinates): 2010-04-21 No'am Rosenthal Reviewed by Simon Fraser. [Qt] Fix or remove the runtime flag for accelerated compositing. https://bugs.webkit.org/show_bug.cgi?id=37313 This lets the QWebPageClient "veto" the settings value for accelerated compositing. In this case we allow accelerated compositing only on QGraphicsWebView. * Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::allowsAcceleratedCompositing): * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::allowsAcceleratedCompositing): * WebCoreSupport/ChromeClientQt.h: 2010-04-22 Robert Hogan Reviewed by Simon Hausmann. [Qt] Fix createPlugin() tests in tst_qwebpage to match behaviour of Qt plugins when PluginsEnabled is false. tst_qwebpage should have been updated as part of r56662. (See https://bugs.webkit.org/show_bug.cgi?id=32196) Updated documentation of QWebPage::createPlugin and QWebSetting::pluginsEnabled to match the new behaviour. * Api/qwebpage.cpp: Update docs. * Api/qwebsettings.cpp: Update docs. * tests/qwebpage/tst_qwebpage.cpp: (createPlugin): (tst_QWebPage::createPluginWithPluginsEnabled): (tst_QWebPage::createPluginWithPluginsDisabled): 2010-04-09 Antonio Gomes Reviewed by Kenneth Christiansen and Tor Arne Vestbø. REGRESSION(r56552): Broken scrollbars size https://bugs.webkit.org/show_bug.cgi?id=36853 The regression was caused by r56552, which introduced a fix to bug webkit.org/b/21300. The bug solved an issue with the resize handle on mac, but did it in a way that affected all Qt platforms and thus broke the behavior on non-mac platforms. This patch makes the mac specific change ifdef'ed and only applied for the mac platform. * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::windowResizerRect): 2010-04-19 Jocelyn Turcotte Reviewed by Simon Hausmann. [Qt] Fix compilation against namespaced Qt. * WebCoreSupport/ChromeClientQt.h: * WebCoreSupport/QtFallbackWebPopup.h: 2010-04-14 Luiz Agostini Reviewed by Kenneth Rohde Christiansen. Changing view mode names due to specification changes https://bugs.webkit.org/show_bug.cgi?id=37615 test: fast/media/media-feature-wgt-view-mode.html specification: http://dev.w3.org/2006/waf/widgets-vmmf/ * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::isWindowed): (WebCore::ChromeClientQt::isFullscreen): (WebCore::ChromeClientQt::isMaximized): (WebCore::ChromeClientQt::isMinimized): * WebCoreSupport/ChromeClientQt.h: 2010-04-14 Andreas Kling Reviewed by Kenneth Rohde Christiansen. [Qt] Rendering artifacts on Qt plugins when scrolling the page https://bugs.webkit.org/show_bug.cgi?id=37152 Because we no longer repaint the entire viewport on scroll, we must trigger a repaint of QtPluginWidgets when their geometry changes. * WebCoreSupport/FrameLoaderClientQt.cpp: 2010-04-09 Yi Shen Reviewed by Kenneth Rohde Christiansen. [Qt] tst_QWebFrame::popupFocus() fails https://bugs.webkit.org/show_bug.cgi?id=37320 The QWebPopup class has been moved & renamed, so tst_QWebFrame::popupFocus() should use the class name "QComboBox", rather than "WebCore::QWebPopup" to find the popup menu. * tests/qwebframe/tst_qwebframe.cpp: 2010-04-15 Bruno Schmidt Reviewed by Kenneth Rohde Christiansen. [Qt] Null QObjects properties cause Segmentation Fault https://bugs.webkit.org/show_bug.cgi?id=34730 QObjects exported to the QWebkit javascript with properties that are a null "QObject*" cause Segmentation Fault. If an QObject is added to the javascript context and it contains properties of the type QObject* with NULL value, calling the property causes Segmentation Fault. Follow the tests for the corrections done over WebCore. * tests/qwebframe/tst_qwebframe.cpp: (MyQObject::MyQObject): init the field m_objectStar (MyQObject::objectStarProperty): read the Object* prop (MyQObject::setObjectStarProperty): write the Object* prop (tst_QWebFrame::getSetStaticProperty): new tests for the new prop 2010-04-15 Kent Hansen Reviewed by Kenneth Rohde Christiansen. [Qt] Mark QWebFrame::overloadedSlots autotest as expected failure https://bugs.webkit.org/show_bug.cgi?id=37319 * tests/qwebframe/tst_qwebframe.cpp: 2010-04-09 Tasuku Suzuki Reviewed by Simon Hausmann. [Qt] Fix compile error with QT_NO_ACTION https://bugs.webkit.org/show_bug.cgi?id=36529 Make sure QT_NO_ACTION is not defined to use QAction * Api/qgraphicswebview.cpp: (QGraphicsWebView::pageAction): * Api/qwebpage.cpp: (QWebPagePrivate::updateAction): (QWebPage::updatePositionDependentActions): * Api/qwebpage.h: * Api/qwebview.cpp: * Api/qwebview.h: 2010-04-09 Simon Hausmann Reviewed by Lars Knoll. [Qt] tests/qgraphicswebview fails https://bugs.webkit.org/show_bug.cgi?id=37317 * Api/qwebpage.cpp: (QWebPage::userAgentForUrl): Don't crash if the ownerWidget is null. 2010-04-08 Benjamin Poulain Reviewed by Simon Hausmann. [Qt] Warnings when compiling InspectorClientQt.cpp https://bugs.webkit.org/show_bug.cgi?id=37266 Add a default: for the switch()-case to avoid warnings. * WebCoreSupport/InspectorClientQt.cpp: (WebCore::variantToSetting): 2010-04-08 Joe Ligman Reviewed by Simon Hausmann. [Qt] WebKit crashes while input text through input method. The formatted text underline painting crashes when painting with invalid indexes. https://bugs.webkit.org/show_bug.cgi?id=36870 * Api/qwebpage.cpp: (QWebPagePrivate::inputMethodEvent): * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::inputMethodsTextFormat_data): (tst_QWebPage::inputMethodsTextFormat): 2010-04-01 Antonio Gomes Reviewed by David Hyatt. [Qt] REGRESSION:(r50665) QWebFrame::setScrollBarPolicy(Qt::Vertical,Qt::ScrollBarAlwaysOff) has no effect. https://bugs.webkit.org/show_bug.cgi?id=29431 Make use of the new lock parameter of set{Vertical,Horizontal}ScrollbarMode. Always added a qt auto test for set scrollbar policy feature. * Api/qwebframe.cpp: (QWebFrame::setScrollBarPolicy): * tests/qwebframe/tst_qwebframe.cpp: * WebCoreSupport/FrameLoaderClientQt.cpp: (FrameLoaderClientQt::transitionToCommittedForNewPage): 2010-04-08 Joe Ligman Reviewed by Simon Hausmann. [Qt] qtwebkit_webframe_scrollRecursively scrolls when body.style.overflow="hidden" https://bugs.webkit.org/show_bug.cgi?id=36674 The scrolling check was based on the frameview's scrolloffset, and maximumScrollPosition, which does not acknowledge the overflow properties. I am now basing the scrolling off the scrollbar position. The scrollbars are affected by the overflow properties indicating when not to scroll. The scrollbar positions also continue to work for CSS ::-webkit-scrollbar styles. * Api/qwebframe.cpp: (qtwebkit_webframe_scrollRecursively): 2010-04-07 Andreas Kling Reviewed by Simon Hausmann. [Qt] When providing a widget for the PDF mime type it will cause a crash m_pluginView may actually be a Widget (for embedded Qt widgets), so always check isPluginView() before calling PluginView specific methods. https://bugs.webkit.org/show_bug.cgi?id=29450 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::finishedLoading): (WebCore::FrameLoaderClientQt::setMainDocumentError): (WebCore::FrameLoaderClientQt::committedLoad): 2010-04-07 Dawit Alemayehu Reviewed by Simon Hausmann. https://bugs.webkit.org/show_bug.cgi?id=36827 Updated the WebCore::shouldTreatAsAttachement function call with the new more generic replacement WebCore::contentDispositionType. See comments 39-42 in https://bugs.webkit.org/show_bug.cgi?id=36395 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType): 2010-04-02 Laszlo Gombos Reviewed by Kenneth Rohde Christiansen. [Qt] [Symbian] Rebaseline Symbian def file https://bugs.webkit.org/show_bug.cgi?id=37038 Switch the ordinal numbers for qtwebkit_webframe_scrollRecursively and QWebInspector::closeEvent to match QtWebkit 4.6 branch Fix the signature for qt_drt_setFrameFlatteningEnabled after r56718. Add new QtWebKit API symbols introduced not listed in the file yet. * symbian/eabi/QtWebKitu.def: 2010-04-06 Diego Gonzalez Reviewed by Simon Hausmann. [Qt] Add mechanism to detect QtWebKit 2.0 via the preprocessor https://bugs.webkit.org/show_bug.cgi?id=36538 * Api/qwebkitglobal.h: 2010-04-02 Luiz Agostini Reviewed by Kenneth Rohde Christiansen. [Qt] Maemo5 theme - customized popup for