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