summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Updated WebKit from /home/jturcott/dev/webkit to qtwebkit-4.7-merged ↵Jocelyn Turcotte2010-02-233350-284441/+131453
| | | | | | | | | ( 5381ceeb37d97365cfb2f037650dbb4e495bca4e )" This reverts commit f3be69195ebe94c003755a652a9ef9e8a3a898fe. Reverting the WebKit update because of build issues on Mac and MSVC 64bit
* Revert "Updated WebKit from /home/jturcott/dev/webkit to qtwebkit-4.7-merged ↵Jocelyn Turcotte2010-02-234-21/+15
| | | | | | | | | ( 9303f6d67fb964b71ed3e7361367c3ccfaba5e0a )" This reverts commit 45344965f1c6b0cd298a05beea3d74547c5a2a91. Reverting the WebKit update because of build issues on Mac and MSVC 64bit
* Fix compilation on WindowsOlivier Goffart2010-02-231-1/+1
| | | | | | | | | | For some reason, the MSVC compiler choose the operator+(const QString &, const QString &) instead of operator+(const WebCore::String &, const WebCore::String &) resulting in errors when QT_USE_FAST_OPERATOR_PLUS is used Reviewed-by: Jocelyn Turcotte (cherry picked from commit 1ecfec9950fb66378035f92be8c8b13b1b891872)
* Compile with QT_USE_FAST_OPERATOR_PLUSOlivier Goffart2010-02-231-2/+2
| | | | | Reviewed-by: Joao (cherry picked from commit 5d3eb7a1062744afad06882e9a8f59c84fd4e8b7)
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-02-233331-130654/+283648
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2: (33 commits) Skip complex FBO tests if combined depth-stencil isn't supported Make tst_QGL::glWidgetRendering use same test as FBO autotest Updated WebKit from /home/jturcott/dev/webkit to qtwebkit-4.7-merged ( 9303f6d67fb964b71ed3e7361367c3ccfaba5e0a ) Updated WebKit from /home/jturcott/dev/webkit to qtwebkit-4.7-merged ( 5381ceeb37d97365cfb2f037650dbb4e495bca4e ) Adjust the mkdist-webkit script before the importation of WebKit. Make mediaservices use existing GStreamer qmake vars Detect GStreamer even when we're not building phonon Fix build on systems without XVideo headers Make the XVideo configure test actually pass if XV is present Add a configure test for XVideo support Fixed cosmetic glitch in QTabBar label's rendering improve sql support for mingw64 improve 64 bit support on windows Made the qDrawPixmaps() API public (with modifications). Fix GL viewports under -graphicssystem raster. QSortFilterProxyModel: Sorting occured unnecessarily when the dynamicSortFilter is turned off Fix test with gcc 4.0 where QT_USE_FAST_CONCATENATION cannot be enabled. Fix build with wingw Imporve win64 support for mingw Compile ...
| * Updated WebKit from /home/jturcott/dev/webkit to qtwebkit-4.7-merged ( ↵Jocelyn Turcotte2010-02-234-15/+21
| | | | | | | | | | | | | | 9303f6d67fb964b71ed3e7361367c3ccfaba5e0a ) Changes in WebKit/qt since the last update: - Fix build break on MacOSX
| * Updated WebKit from /home/jturcott/dev/webkit to qtwebkit-4.7-merged ( ↵Jocelyn Turcotte2010-02-233331-130665/+283653
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5381ceeb37d97365cfb2f037650dbb4e495bca4e ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2009-10-30 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> Reviewed by NOBODY (OOPS!). [Qt] Use the default timeout interval for JS as the HTML tokenizer delay for setHtml() This ensures that long-running JavaScript (for example due to a modal alert() dialog), will not trigger a deferred load after only 500ms (the default tokenizer delay) while still giving a reasonable timeout (10 seconds) to prevent deadlock. https://bugs.webkit.org/show_bug.cgi?id=29381 * Api/qwebframe.cpp: Document the behaviour * WebCoreSupport/FrameLoaderClientQt.cpp: set the custom tokenizer delay for substitute loads * tests/qwebframe/tst_qwebframe.cpp: Add test 2010-02-18 Noam Rosenthal <noam.rosenthal@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Minor improvement to hybrid QPixmap https://bugs.webkit.org/show_bug.cgi?id=34507 * tests/hybridPixmap/test.html: use assignToHTMLImageElement on an existing element instead of toHTMLImageElement which creates a new one 2010-02-17 Dmitry Titov <dimich@chromium.org> Reviewed by David Levin, Darin Fisher, Simon Hausmann. When a live iframe element is moved between pages, it still depends on the old page. https://bugs.webkit.org/show_bug.cgi?id=34382 * Api/qwebframe_p.h: (QWebFramePrivate::setPage): Added. * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::didTransferChildFrameToNewDocument): The QWebFrame caches a QWebPage which should be replaced when Frame is re-parented. Also, the QWebFrame is a child (in QT terms) of QWebPage - so update that relationship as well. Emit a signal that QWebFrame moved to a different QWebPage. * WebCoreSupport/FrameLoaderClientQt.h: 2010-02-17 Kent Tamura <tkent@chromium.org> Reviewed by Eric Seidel. Introduces new Icon loading interface in order to support asynchronous loading. https://bugs.webkit.org/show_bug.cgi?id=32054 Add an empty implementation of ChromeClient::iconForFiles(). * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::iconForFiles): * WebCoreSupport/ChromeClientQt.h: 2010-02-17 Diego Gonzalez <diego.gonzalez@openbossa.org> Reviewed by Ariya Hidayat. Make possible Qt DRT to get total number of pages to be printed LayoutTests: printing/numberOfPages.html [Qt] DRT: Get total number of pages to be printed https://bugs.webkit.org/show_bug.cgi?id=34955 * Api/qwebframe.cpp: (qt_drt_numberOfPages): (qt_drt_evaluateScriptInIsolatedWorld): 2010-02-16 Ariya Hidayat <ariya.hidayat@gmail.com> [Qt] Allow scrolling to an anchor programmatically. https://bugs.webkit.org/show_bug.cgi?id=29856 * Api/qwebframe.cpp: (QWebFrame::scrollToAnchor): New API function. * Api/qwebframe.h: * tests/qwebframe/tst_qwebframe.cpp: New tests for scrollToAnchor(). 2010-02-16 Ariya Hidayat <ariya.hidayat@gmail.com> Reviewed by Laszlo Gombos. Fix building with Qt < 4.6. https://bugs.webkit.org/show_bug.cgi?id=34885 * Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::updateResizesToContentsForPage): 2010-02-16 Simon Hausmann <simon.hausmann@nokia.com> Unreviewed Symbian build fix. Updated the def file with two new exports used by QtLauncher. * symbian/eabi/QtWebKitu.def: 2010-02-16 Ismail Donmez <ismail@namtrac.org> Reviewed by Pavel Feldman. Fix compilation with inspector disabled. https://bugs.webkit.org/show_bug.cgi?id=32724 * Api/qwebpage.cpp: (qt_drt_webinspector_executeScript): (qt_drt_webinspector_close): (qt_drt_webinspector_show): (qt_drt_setTimelineProfilingEnabled): 2010-02-16 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Reviewed by Simon Hausman. [Qt] Fix include paths for forwarding headers in standalone builds. * Api/DerivedSources.pro: Use relative paths for package builds and added some documentation. 2010-02-15 Noam Rosenthal <noam.rosenthal@nokia.com> Reviewed by Simon Hausmann. [Qt] QtWebkit bridge: enable passing a QWebElement to a signal/slot/property Add Q_DECLARE_METATYPE to QWebElement, add relevant tests to tst_qwebframe https://bugs.webkit.org/show_bug.cgi?id=34901 * Api/qwebelement.h: declare metatype * tests/qwebframe/tst_qwebframe.cpp: (MyQObject::webElementProperty): new test for QWebElement (MyQObject::setWebElementProperty): new test for QWebElement (MyQObject::myOverloadedSlot): new test for QWebElement 2010-02-15 Robert Hogan <robert@roberthogan.net>, Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Reviewed by Simon Hausmann. [Qt] DRT: Support evaluateInWebInspector(), setTimelineProfilingEnabled(). Support LayoutTestController.evaluateInWebInspector(), setTimelineProfilingEnabled() in Qt DRT. https://bugs.webkit.org/show_bug.cgi?id=33096 This allows the following tests to pass: inspector/console-format-collections.html inspector/styles-iframe.html inspector/syntax-highlight-css.html inspector/syntax-highlight-javascript.html inspector/timeline-enum-stability.html inspector/timeline-layout.html inspector/timeline-mark-timeline.html inspector/timeline-paint.html inspector/timeline-parse-html.html inspector/timeline-recalculate-styles.html inspector/timeline-script-tag-1.html inspector/timeline-script-tag-2.html inspector/timeline-trivial.html inspector/cookie-resource-match.html inspector/elements-img-tooltip.html inspector/elements-panel-selection-on-refresh.html inspector/inspected-objects-not-overriden.html inspector/timeline-event-dispatch.html inspector/timeline-network-resource.html inspector/elements-panel-rewrite-href.html inspector/console-dir.html inspector/console-dirxml.html inspector/console-format.html inspector/console-tests.html inspector/elements-panel-structure.html inspector/evaluate-in-frontend.html inspector/console-clear.html * Api/qwebpage.cpp: (qt_drt_webinspector_executeScript): (qt_drt_webinspector_close): (qt_drt_webinspector_show): (qt_drt_setTimelineProfilingEnabled): * WebCoreSupport/InspectorClientQt.cpp: (InspectorClientQt::createPage) 2010-02-12 Antti Koivisto <koivisto@iki.fi> Reviewed by Kenneth Rohde Christiansen and Simon Hausmann. https://bugs.webkit.org/show_bug.cgi?id=34885 Add a QGraphicsWebView mode that makes it automatically resize itself to the size of the content. This is useful for cases where the client wants to implement page panning and zooming by manipulating the graphics item. Add a option to QGVLauncher to test this mode. * Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate): (QGraphicsWebViewPrivate::updateResizesToContentsForPage): (QGraphicsWebViewPrivate::_q_contentsSizeChanged): (QGraphicsWebView::setPage): (QGraphicsWebView::setResizesToContents): (QGraphicsWebView::resizesToContents): * Api/qgraphicswebview.h: * QGVLauncher/main.cpp: (WebView::WebView): (MainView::MainView): (MainView::setMainWidget): (MainView::resizeEvent): (main): 2010-02-12 Diego Gonzalez <diego.gonzalez@openbossa.org> Reviewed by Kenneth Rohde Christiansen. Qt DRT now dump the frame loader callbacks when LayoutTestController() method is called. LayoutTests: http/tests/security/mixedContent/data-url-script-in-iframe.html http/tests/security/mixedContent/empty-url-plugin-in-frame.html http/tests/security/mixedContent/insecure-css-in-iframe.html http/tests/security/mixedContent/insecure-iframe-in-iframe.html http/tests/security/mixedContent/insecure-image-in-iframe.html http/tests/security/mixedContent/insecure-plugin-in-iframe.html http/tests/security/mixedContent/insecure-script-in-iframe.html http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe.html http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html [Qt] Make possible Qt DRT dump frame load callbacks https://bugs.webkit.org/show_bug.cgi?id=34702 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::didDisplayInsecureContent): (WebCore::FrameLoaderClientQt::didRunInsecureContent): 2010-02-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Reviewed by Tor Arne Vestbø. [Qt] Make qtlauncher and qgvlauncher use the generated headers path to make sure they are correctly generated. * tests/tests.pri: 2010-02-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Reviewed by Tor Arne Vestbø. [Qt] Ensure relative paths in generated .pri files to ensure that a source package with pre-generated derived sources can be compiled. - Re-add a separate headers.pri file for WEBKIT_API_HEADERS - Rename the generated headers.pri to classheaders.pri to avoid confusion with the one generated by synqt since they don't have the same content. - Remove private headers list variable from classheaders.pri - Use $$PWD in classheaders.pri - Remove classheaders.pri from the installed files * Api/DerivedSources.pro: 2010-02-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Reviewed by Tor Arne Vestbø. [Qt] Minor fixes on QtWebKit headers generation. - Adds QtWebKit to the generated headers destination path - Improve compatibility with MinGW * Api/DerivedSources.pro: 2010-02-09 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Reviewed by nobody, build fix. [Qt] Fix standalone build with MinGW. * tests/qwebelement/tst_qwebelement.cpp: * tests/tests.pri: 2010-02-10 Diego Gonzalez <diego.gonzalez@openbossa.org> Reviewed by Kenneth Rohde Christiansen. Implement pageNumberForElementById() method in Qt DRT LayoutTestController, to make Qt DRT able to get page number. LayoutTests: printing/page-break-always.html printing/pageNumerForElementById.html printing/css2.1/page-break-before-000.html printing/css2.1/page-break-after-000.html printing/css2.1/page-break-after-004.html printing/css2.1/page-break-before-001.html printing/css2.1/page-break-after-001.html printing/css2.1/page-break-after-002.html printing/css2.1/page-break-before-002.html printing/css2.1/page-break-inside-000.html [Qt] Make possible Qt DRT get a page number for element by ID https://bugs.webkit.org/show_bug.cgi?id=34777 * Api/qwebframe.cpp: (qt_drt_pageNumberForElementById): 2010-02-09 Yael Aharon <yael.aharon@nokia.com> Reviewed by Adam Barth. [Qt] Unit test for window.runModalDialog https://bugs.webkit.org/show_bug.cgi?id=34755 * tests/qwebpage/tst_qwebpage.cpp: (TestModalPage::TestModalPage): (TestModalPage::createWindow): (tst_QWebPage::showModalDialog): 2010-02-09 Andreas Kling <andreas.kling@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Sync with API changes in Maemo 5 kinetic scrolling https://bugs.webkit.org/show_bug.cgi?id=34747 This is a forward-port of http://qt.gitorious.org/+qt-developers/qt/x11-maemo/commit/08497561 * Api/qwebview.cpp: (qt_sendSpontaneousEvent): (QWebViewKineticScroller::QWebViewKineticScroller): (QWebViewKineticScroller::setWidget): (QWebViewKineticScroller::eventFilter): (QWebViewKineticScroller::cancelLeftMouseButtonPress): (QWebViewKineticScroller::currentFrame): (QWebViewKineticScroller::scrollingFrameAt): (QWebViewKineticScroller::maximumScrollPosition): (QWebViewKineticScroller::scrollPosition): (QWebViewKineticScroller::viewportSize): (QWebViewKineticScroller::setScrollPosition): (QWebViewKineticScroller::sendEvent): (QWebView::QWebView): 2010-02-09 Yael Aharon <yael.aharon@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Webkit in Qt does not have window.showModalDialog https://bugs.webkit.org/show_bug.cgi?id=25585 Create a new eventloop when runModal() is called. Added comemnt in QWebPage::createWindow that the application is responsible for setting the modality of the appropriate window. * Api/qwebpage.cpp: * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::ChromeClientQt): (WebCore::ChromeClientQt::~ChromeClientQt): (WebCore::ChromeClientQt::canRunModal): (WebCore::ChromeClientQt::runModal): * WebCoreSupport/ChromeClientQt.h: 2010-01-19 Kenneth Rohde Christiansen <kenneth@webkit.org> Reviewed by Dave Hyatt. Implement flattening of framesets https://bugs.webkit.org/show_bug.cgi?id=32717 Privately export the setFrameSetFlatteningEnabled setting for use with the Qt DRT. * Api/qwebpage.cpp: (qt_drt_setFrameSetFlatteningEnabled): (QWebPagePrivate::core): * Api/qwebpage_p.h: 2010-02-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> [Qt] Fix build on Windows Reviewed by Kenneth Rohde Christiansen. DerivedSources for our API headers failed on Windows, due to Windows not accepting ; as a command separator, not needing quotes for echo, and needing < and > escaped. We now detect Windows and set these quote markers and escape markers accordingly, as well as use && for separating individual commands. * Api/DerivedSources.pro: 2010-02-05 Yury Semikhatsky <yurys@chromium.org> Reviewed by Pavel Feldman. Remove unused inmport of ScriptFunctionCall.h https://bugs.webkit.org/show_bug.cgi?id=33592 * Api/qwebelement.cpp: 2010-02-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> Reviewed by Simon Hausmann. [Qt] Generate convenience headers (QWebView, etc) using qmake In Qt this is done using syncqt, but we use a pro-file instead that generates makefile-rules for each of the extra headers. These extra headers are installed alongside the normal headers. * Api/DerivedSources.pro: Added. List of headers + pro file magic * Api/headers.pri: Removed, list of headers is now in the above file 2010-02-04 No'am Rosenthal <noam.rosenthal@nokia.com> Reviewed by Ariya Hidayat. [Qt] Tuning and optimizations to GraphicsLayerQt. Mainly reduced usage of QTimer::singleShot, and moved syncLayers() from paint() to update() https://bugs.webkit.org/show_bug.cgi?id=34062 * Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::update): Moved the sync operation to update (QGraphicsWebView::paint): Moved the sync operation to update 2010-02-03 Andras Becsi <abecsi@webkit.org> Unreviewed build fix. [Qt] Roll-out r54281 because it broke the build on the Qt Release bot. * Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate): (QGraphicsWebViewPrivate::markForSync): (QGraphicsWebViewPrivate::update): (QGraphicsWebView::paint): 2010-02-02 Kenneth Rohde Christiansen <kenneth@webkit.org> Reviewed by Ariya Hidayat. Do not use a proxy widget for the QComboBox on Maemo 5, as it is not working properly and it is not needed at all, as the comboboxes comes up in their full width on the screen and do not depend on view. (WebCore::QtFallbackWebPopup::show): 2010-02-02 Jessie B. <jberlin@webkit.org> Rubber Stamped by Holger Freyther. [Qt] Fix style issue identified in bug: https://bugs.webkit.org/show_bug.cgi?id=34329 * WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientWebPage::InspectorClientWebPage): Fix indentation. 2010-02-01 Jessie B. <jberlin@webkit.org> Reviewed by Holger Freyther. [Qt] Enable inspecting the Web Inspector in QtLauncher https://bugs.webkit.org/show_bug.cgi?id=34329 * WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientWebPage::InspectorClientWebPage): Allow the DeveloperExtrasEnabled setting to default to true for the page containing the Web Inspector. 2010-02-02 Andreas Kling <andreas.kling@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Display HTML tags verbatim in JS alert/confirm/prompt boxes https://bugs.webkit.org/show_bug.cgi?id=34429 * Api/qwebpage.cpp: (QWebPage::javaScriptAlert): (QWebPage::javaScriptConfirm): (QWebPage::javaScriptPrompt): 2010-02-02 Noam Rosenthal <noam.rosenthal@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Enable a way to measure FPS in QGVLauncher run QGVLauncher with --show-fps to see ongoing fps measurements This is not meant as accurate FPS, but rather as a way to find improvements/regressions https://bugs.webkit.org/show_bug.cgi?id=34450 * QGVLauncher/main.cpp: (MainView::MainView): initialize FPS values (MainView::paintEvent): count a painted frame here (MainView::printFps): we print the fps with qDebug every 5 seconds. 2010-01-29 Ben Murdoch <benm@google.com> Reviewed by Dimitri Glazkov. [Android] Android needs functionality in the ChromeClient to be informed when touch events are and are not needed by the webpage. https://bugs.webkit.org/show_bug.cgi?id=34215 Add needTouchEvents() to the ChromeClient which is called when the page decides it needs or no longer needs to be informed of touch events. * WebCoreSupport/ChromeClientQt.h: (WebCore::ChromeClientQt::needTouchEvents): Add an empty implementation. 2010-01-29 Kenneth Rohde Christiansen <kenneth@webkit.org> Reviewed by Simon Hausmann Disable auto-uppercase and predictive text on Maemo5, just like the build-in MicroB Browser. * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::setInputMethodState): 2010-01-28 Kenneth Rohde Christiansen <kenneth@webkit.org> Reviewed by Simon Hausmann. Do not set the combobox font on Maemo5 and S60; use the default instead. * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopup::populate): 2010-01-27 Diego Gonzalez <diego.gonzalez@openbossa.org> Reviewed by Kenneth Rohde Christiansen. [Qt] DRT Provide worker thread ability to track counters https://bugs.webkit.org/show_bug.cgi?id=34221 Implement workerThreadCount() in LayoutTestController of Qt DRT Tests: fast/workers/dedicated-worker-lifecycle.html fast/workers/shared-worker-frame-lifecycle.html fast/workers/shared-worker-lifecycle.html fast/workers/worker-lifecycle.html * Api/qwebpage.cpp: (qt_drt_workerThreadCount): 2010-01-27 Simon Hausmann <simon.hausmann@nokia.com> Reviewed by Laszlo Gombos. [Qt] Update the .def files with exported symbols * symbian/eabi/QtWebKitu.def: Add two mangled missing new symbols for arm eabi. 2010-01-27 Kent Hansen <kent.hansen@nokia.com> Reviewed by Simon Hausmann. [Qt] Meta-methods can't be introspected using ES5 API https://bugs.webkit.org/show_bug.cgi?id=34087 Test that Object.getOwnPropertyDescriptor and Object.getOwnPropertyNames work with meta-methods. * tests/qwebframe/tst_qwebframe.cpp: 2010-01-26 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> Reviewed by Simon Hausmann. First steps of the QtScript API. Two new classes were created; QScriptEngine and QScriptValue. The first should encapsulate a javascript context and the second a script value. This API is still in development, so it isn't compiled by default. To trigger compilation, pass --qmakearg="CONFIG+=build-qtscript" to build-webkit. https://bugs.webkit.org/show_bug.cgi?id=32565 * docs/qtwebkit.qdocconf: 2010-01-25 Simon Hausmann <hausmann@webkit.org> Reviewed by Kenneth Rohde Christiansen. [Qt] In RenderThemeQt determine the QStyle from the page client instead of the page's view https://bugs.webkit.org/show_bug.cgi?id=34053 * Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::style): Implement QWebPageClient::style() and return the graphics widget's style. * Api/qwebpage.cpp: (QWebPageWidgetClient::style): Implement QWebPageClient::style() and return the widget's style. 2010-01-23 Girish Ramakrishnan <girish@forwardbias.in> [Qt] Fix positioning of ComboBox popup in QGraphicsWebView. Wrap the popup in a QGraphicsProxyWidget, so that the popup transforms with the item. https://bugs.webkit.org/show_bug.cgi?id=33887 * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopupCombo::hidePopup): (WebCore::QtFallbackWebPopup::QtFallbackWebPopup): (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup): (WebCore::QtFallbackWebPopup::show): * WebCoreSupport/QtFallbackWebPopup.h: 2010-01-22 Peter Kasting <pkasting@google.com> Not reviewed, backout. Back out r52673, which caused several regressions. https://bugs.webkit.org/show_bug.cgi?id=32533 * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopupCombo::hidePopup): 2010-01-22 Girish Ramakrishnan <girish@forwardbias.in> Reviewed by Simon Hausmann. [Qt] Save the QWebPageClient instead of the ownerWidget in QtAbstractWebPopup The QWebPageClient is required for the QtFallbackWebPopup. QtFallbackWebPopup will need it to create a QGraphicsProxyWidget (in a future commit) for the QGraphicsWebView's web popup. * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopup::show): 2010-01-22 Girish Ramakrishnan <girish@forwardbias.in> Reviewed by Kenneth Rohde Christiansen. QState::polished() was renamed to QState::propertiesAssigned() when Qt 4.6.0 was released. * QGVLauncher/main.cpp: (MainWindow::init): 2010-01-21 Diego Gonzalez <diego.gonzalez@openbossa.org> Reviewed by Kenneth Rohde Christiansen. [Qt] add setDomainRelaxationForbiddenForURLScheme in Qt DRT https://bugs.webkit.org/show_bug.cgi?id=33945 * Api/qwebsecurityorigin.cpp: (qt_drt_setDomainRelaxationForbiddenForURLScheme): 2010-01-21 No'am Rosenthal <noam.rosenthal@nokia.com> Reviewed by Antti Koivisto. [Qt] Implement GraphicsLayer for accelerated layer compositing https://bugs.webkit.org/show_bug.cgi?id=33514 Here we have the QGraphicsWebView support for accelerated compositing * Api/qgraphicswebview.cpp: (QGraphicsWebViewOverlay::q): access to container object (QGraphicsWebViewOverlay::boundingRect): overlay has same rect as the webview (QGraphicsWebViewOverlay::paint): paint everything but the contents (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate): some vars needed for accelerated compositing (QGraphicsWebViewPrivate::): (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate): (QGraphicsWebViewPrivate::setRootGraphicsLayer): make sure we have a scrollbar overlay, and that the new graphics layer is parented by the web-view (QGraphicsWebViewPrivate::markForSync): flush changes at earliest convenience or during the next draw (QGraphicsWebViewPrivate::updateCompositingScrollPosition): sync the position of the compositing layer with the scroll position (QGraphicsWebViewPrivate::syncLayers): flush changes now (QGraphicsWebViewPrivate::scroll): make sure we also move the compositing layer (QGraphicsWebViewPrivate::update): also update the overlay if needed (QGraphicsWebView::QGraphicsWebView): initialize overlay with 0 (QGraphicsWebView::paint): paint only contents if we have an overlay, sync the compositing layers now if needed (QGraphicsWebView::setPage): also clean up the compositing (QGraphicsWebView::updateGeometry): also update overlay geo (QGraphicsWebView::setGeometry): also update overlay geo * Api/qgraphicswebview.h: reimp compositing stuff from QWebPageClient * Api/qwebsettings.cpp: init new settings flag for compositing as false (QWebSettingsPrivate::apply): apply new settings flag for compositing (QWebSettings::QWebSettings): * Api/qwebsettings.h: new settings flag for compositing * Api/qwebview.cpp: (QWebView::setPage): qwebview doesn't support compositing: always false * QGVLauncher/main.cpp: (WebView::WebView): some more cmdline arguments + compositing (MainWindow::init): some more cmdline arguments (main): ditto * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::attachRootGraphicsLayer): reimp for accel-compositing (WebCore::ChromeClientQt::setNeedsOneShotDrawingSynchronization): reimp for accel compositing (WebCore::ChromeClientQt::scheduleCompositingLayerSync): reimp for accel compositing * WebCoreSupport/ChromeClientQt.h: reimps for accel compositing 2010-01-21 Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed by Simon Hausmann. [Qt] Improve the autotests of QtWebkit https://bugs.webkit.org/show_bug.cgi?id=32216 Remove qWait() of the test when possible. * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::loadFinished): (tst_QWebPage::database): (tst_QWebPage::testEnablePersistentStorage): (tst_QWebPage::errorPageExtension): (tst_QWebPage::screenshot): 2010-01-21 Simon Hausmann <simon.hausmann@nokia.com> Prospective build fix for the Qt build. Fix compilation against Qt without WebKit support by not including QtWebKit/QWebView but widget.h instead and instantiating QWebView through a typedef, to ensure we're using our locally built WebKit. * tests/hybridPixmap/widget.h: * tests/hybridPixmap/widget.ui: 2010-01-21 No'am Rosenthal <noam.rosenthal@nokia.com> Reviewed by Simon Hausmann. [Qt] Adding QPixmap/QImage support for the Qt hybrid layer https://bugs.webkit.org/show_bug.cgi?id=32461 * tests/hybridPixmap: Added. * tests/hybridPixmap/hybridPixmap.pro: Added. * tests/hybridPixmap/resources.qrc: Added. * tests/hybridPixmap/test.html: Added. * tests/hybridPixmap/tst_hybridPixmap.cpp: Added. (tst_hybridPixmap::tst_hybridPixmap): tests most of the use cases for hybrid pixmap/image manipulation (tst_hybridPixmap::init): QTestLib initialization (tst_hybridPixmap::cleanup): QTestLib cleanup (tst_hybridPixmap::hybridPixmap): run the html file * tests/hybridPixmap/widget.cpp: Added. (Widget::Widget): (Widget::refreshJS): (Widget::start): (Widget::completeTest): (Widget::setPixmap): (Widget::pixmap): (Widget::setImage): (Widget::image): (Widget::~Widget): (Widget::changeEvent): (Widget::compare): (Widget::imageSlot): (Widget::pixmapSlot): (Widget::randomSlot): * tests/hybridPixmap/widget.h: Added. * tests/hybridPixmap/widget.ui: Added. * tests/tests.pro: 2010-01-21 Luiz Agostini <luiz.agostini@openbossa.org> Reviewed by Kenneth Rohde Christiansen. [Qt] Custom select popups. https://bugs.webkit.org/show_bug.cgi?id=33418 Adjusting QtFallbackWebPopupCombo to the changes in WebCore layer. * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::createSelectPopup): * WebCoreSupport/ChromeClientQt.h: * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopupCombo::QtFallbackWebPopupCombo): (WebCore::QtFallbackWebPopupCombo::showPopup): (WebCore::QtFallbackWebPopupCombo::hidePopup): (WebCore::QtFallbackWebPopup::QtFallbackWebPopup): (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup): (WebCore::QtFallbackWebPopup::show): (WebCore::QtFallbackWebPopup::hide): (WebCore::QtFallbackWebPopup::populate): * WebCoreSupport/QtFallbackWebPopup.h: 2010-01-19 Steve Block <steveblock@google.com> Reviewed by Adam Barth. Renames WebCore/bridge/runtime.[cpp|h] to WebCore/bridge/Bridge.[cpp|h] https://bugs.webkit.org/show_bug.cgi?id=33801 * Api/qwebframe.cpp: 2010-01-14 Brian Weinstein <bweinstein@apple.com> Reviewed by Adam Roben. Drag and Drop source/destination code needs cleanup. <https://bugs.webkit.org/show_bug.cgi?id=33691>. Update to new way of calling sourceOperation. * WebCoreSupport/DragClientQt.cpp: (WebCore::DragClientQt::startDrag): 2010-01-14 Simon Hausmann <simon.hausmann@nokia.com> Reviewed by Tor Arne Vestbø. [Qt] Symbian build fixes. * tests/qwebpage/tst_qwebpage.cpp: Include util.h * tests/tests.pri: Don't define TESTS_SOURCE_DIR, it doesn't work. * tests/util.h: Define TESTS_SOURCE_DIR here, just like it's done in Qt. 2010-01-13 Darin Adler <darin@apple.com> Reviewed by Dan Bernstein. Move more of the selection and caret painting code from Frame to SelectionController. https://bugs.webkit.org/show_bug.cgi?id=33619 * Api/qwebpage.cpp: (QWebPagePrivate::inputMethodEvent): Seems possibly wrong to be directly invoking this setCaretVisible here, but I updated it to call it in its new location. 2010-01-11 Simon Hausmann <simon.hausmann@nokia.com> Reviewed by Holger Freyther. [Qt] Add private API for QWebFrame scrolling, to maintain binary compatibility with Qt 4.6. This is just a temporary addition until we have introduced #ifdefs to allow safely removing the private API again. (qtwebkit_webframe_scrollRecursively): 2010-01-10 Robert Hogan <robert@roberthogan.net> Reviewed by Adam Barth. [Qt] Add enableXSSAuditor support to QWebSettings and DRT. https://bugs.webkit.org/show_bug.cgi?id=33419 * Api/qwebsettings.cpp: (QWebSettingsPrivate::apply): * Api/qwebsettings.h: 2010-01-09 Daniel Bates <dbates@webkit.org> No review, rolling out r53044. http://trac.webkit.org/changeset/53044 https://bugs.webkit.org/show_bug.cgi?id=33419 We need to look into this some more because the Qt bot is failing the XSSAuditor tests. See bug #33419 for more details. * Api/qwebsettings.cpp: * Api/qwebsettings.h: 2010-01-09 Daniel Bates <dbates@webkit.org> Reviewed by Adam Barth. https://bugs.webkit.org/show_bug.cgi?id=33419 Adds support for the XSSAuditor to the Qt DRT. * Api/qwebsettings.cpp: Updated comment to reflect added key XSSAuditorEnabled. * Api/qwebsettings.h: Adds settings key XSSAuditorEnabled. 2010-01-08 Luiz Agostini <luiz.agostini@openbossa.org> Reviewed by Kenneth Rohde Christiansen. [Qt] Delegation client https://bugs.webkit.org/show_bug.cgi?id=32826 Added method createPopup to ChromeClientQt used to create popups. QtFallbackWebPopup moved from WebCore/platform/qt to WebKit/qt/WebCoreSupport. * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::createPopup): * WebCoreSupport/ChromeClientQt.h: * WebCoreSupport/QtFallbackWebPopup.cpp: Added. (WebCore::QtFallbackWebPopup::QtFallbackWebPopup): (WebCore::QtFallbackWebPopup::show): (WebCore::QtFallbackWebPopup::populate): (WebCore::QtFallbackWebPopup::showPopup): (WebCore::QtFallbackWebPopup::hidePopup): (WebCore::QtFallbackWebPopup::activeChanged): (WebCore::QtFallbackWebPopup::setParent): * WebCoreSupport/QtFallbackWebPopup.h: Added. (WebCore::QtFallbackWebPopup::hide): 2010-01-06 Andreas Kling <andreas.kling@nokia.com> Reviewed by Simon Hausmann. [Qt] Return an invalid Qt::ImMicroFocus if queried while the view needs to layout. https://bugs.webkit.org/show_bug.cgi?id=33204 * Api/qwebpage.cpp: (QWebPage::inputMethodQuery): 2010-01-05 Yael Aharon <yael.aharon@nokia.com> Reviewed by Kenneth Rohde Christiansen. Drag & drop layout tests fail even when run manually https://bugs.webkit.org/show_bug.cgi?id=33055 No new tests. Fix 3 layout tests when run manually. fast/events/drag-and-drop.html fast/events/drag-and-drop-dataTransfer-types-nocrash.html fast/events/drag-and-drop-fire-drag-dragover.html Running these tests in DRT will be fixed in 31332. * Api/qwebpage.cpp: (dropActionToDragOp): (dragOpToDropAction): (QWebPagePrivate::dragEnterEvent): (QWebPagePrivate::dragMoveEvent): (QWebPagePrivate::dropEvent): Accept drag events even if they are not over a drop target. This is to ensure that drag events will continue to be delivered. * Api/qwebpage_p.h: * WebCoreSupport/DragClientQt.cpp: (WebCore::dragOperationToDropActions): (WebCore::dropActionToDragOperation): (WebCore::DragClientQt::startDrag): Send dragEnd event. 2010-01-04 Daniel Bates <dbates@webkit.org> Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=33097 Cleans up the File menu to better conform to the File menu in Safari both in terms of options and keyboard shortcuts. Adds a "Quit" menu options to close all open windows. * QGVLauncher/main.cpp: (MainWindow::buildUI): 2009-12-31 Laszlo Gombos <laszlo.1.gombos@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Enable all HTML5 persistent features for QGVLauncher https://bugs.webkit.org/show_bug.cgi?id=33086 * QGVLauncher/main.cpp: Call enablePersistentStorage() (main): 2009-12-30 Laszlo Gombos <laszlo.1.gombos@nokia.com> Reviewed by Simon Hausmann. [Qt] It should be possible to disable inspector https://bugs.webkit.org/show_bug.cgi?id=32724 This change fixes the build break. Some QtWebKit interfaces will not be fully functional (most notable QWebInspector) if INSPECTOR is disabled. * Api/qwebinspector.cpp: (QWebInspector::showEvent): (QWebInspector::closeEvent): * Api/qwebpage.cpp: (webActionForContextMenuAction): (QWebPagePrivate::getOrCreateInspector): (QWebPagePrivate::inspectorController): (QWebPage::triggerAction): (QWebPage::updatePositionDependentActions): * WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::showWindow): (WebCore::InspectorClientQt::closeWindow): 2009-12-29 Daniel Bates <dbates@webkit.org> Reviewed by Ariya Hidayat. https://bugs.webkit.org/show_bug.cgi?id=32925 Adds an Open File dialog to make it convenient to open a file to view in the browser. * QGVLauncher/main.cpp: (MainWindow::load): Modified to call loadURL. (MainWindow::openFile): Added. (MainWindow::loadURL): Added. (MainWindow::buildUI): Added menu item Open File. 2009-12-29 Robert Hogan <robert@roberthogan.net> Reviewed by Eric Seidel. [Qt] Fix crash on LayoutTests/fast/loader/empty-embed-src-attribute.html Related to https://bugs.webkit.org/show_bug.cgi?id=23806 If an embedded document is loaded within a page and it has an empty URL, use a blank URL for the load request. https://bugs.webkit.org/show_bug.cgi?id=33017 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::createFrame): 2009-12-29 Laszlo Gombos <laszlo.1.gombos@nokia.com> Rubber-stamped by Simon Hausmann and Holger Freyther. [Qt] Remove WebKit/qt/WebKitPart empty directory The content of the directory has been removed by r34888. * WebKitPart: Removed. 2009-12-29 Jakub Wieczorek <faw217@gmail.com> Reviewed by Eric Seidel. [Qt] DRT: Frame loader callbacks differ from the Mac port https://bugs.webkit.org/show_bug.cgi?id=32989 Remove messages from the callbacks that should not dump them to match the expected results for the http/loading tests. Unskip some http/loading tests which succeed now. * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage): (WebCore::FrameLoaderClientQt::dispatchWillClose): (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon): (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld): 2009-12-29 Robert Hogan <robert@roberthogan.net> Reviewed by Eric Seidel. [Qt] fix fast/dom/Window/window-onFocus.html Add support for layouttestcontroller.windowIsKey to Qt DRT and fix issue where window.onblur was getting dispatched twice from QtWebKit. https://bugs.webkit.org/show_bug.cgi?id=32990 * Api/qwebpage.cpp: (QWebPagePrivate::focusOutEvent): 2009-12-24 Girish Ramakrishnan <girish@forwardbias.in> Reviewed by Gustavo Noronha. Doc : QGraphicsWebView::zoomFactor was introduced in 4.6. * Api/qgraphicswebview.cpp: 2009-12-22 Simon Hausmann <simon.hausmann@nokia.com> Rubber-stamped by Holger Freyther. Moved QtLauncher to WebKitTools/ * QtLauncher: Removed. * QtLauncher/QtLauncher.pro: Removed. * QtLauncher/main.cpp: Removed. 2009-12-21 David Boddie <dboddie@trolltech.com> Reviewed by Simon Hausmann. Doc: Minor fixes to language. * Api/qwebpage.cpp: 2009-12-21 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> Reviewed by Simon Hausmann. [Qt] Clean up the WebKit layer unit-tests - Use tests.pri for common options - Standardize file naming - Move all resources to 'resources' subdir - Standardize how TESTS_SOURCE_DIR is used - Get rid of UID3 for symbian (autogenerated) - Don't build app bundles on Mac OS X * tests/benchmarks/loading/loading.pro: Added. * tests/benchmarks/loading/tst_loading.pro: Removed. * tests/benchmarks/painting/painting.pro: Added. * tests/benchmarks/painting/tst_painting.pro: Removed. * tests/qgraphicswebview/qgraphicswebview.pro: * tests/qwebelement/qwebelement.pro: * tests/qwebelement/qwebelement.qrc: Removed. * tests/qwebelement/resources/image.png: Renamed from WebKit/qt/tests/qwebelement/image.png. * tests/qwebelement/resources/style.css: Renamed from WebKit/qt/tests/qwebelement/style.css. * tests/qwebelement/resources/style2.css: Renamed from WebKit/qt/tests/qwebelement/style2.css. * tests/qwebelement/tst_qwebelement.qrc: Added. * tests/qwebframe/qwebframe.pro: * tests/qwebframe/qwebframe.qrc: Removed. * tests/qwebframe/resources/image.png: Renamed from WebKit/qt/tests/qwebframe/image.png. * tests/qwebframe/resources/style.css: Renamed from WebKit/qt/tests/qwebframe/style.css. * tests/qwebframe/resources/test1.html: Renamed from WebKit/qt/tests/qwebframe/test1.html. * tests/qwebframe/resources/test2.html: Renamed from WebKit/qt/tests/qwebframe/test2.html. * tests/qwebframe/resources/testiframe.html: Renamed from WebKit/qt/tests/qwebframe/testiframe.html. * tests/qwebframe/resources/testiframe2.html: Renamed from WebKit/qt/tests/qwebframe/testiframe2.html. * tests/qwebframe/tst_qwebframe.cpp: * tests/qwebframe/tst_qwebframe.qrc: Added. * tests/qwebhistory/qwebhistory.pro: * tests/qwebhistory/resources/page1.html: Renamed from WebKit/qt/tests/qwebhistory/data/page1.html. * tests/qwebhistory/resources/page2.html: Renamed from WebKit/qt/tests/qwebhistory/data/page2.html. * tests/qwebhistory/resources/page3.html: Renamed from WebKit/qt/tests/qwebhistory/data/page3.html. * tests/qwebhistory/resources/page4.html: Renamed from WebKit/qt/tests/qwebhistory/data/page4.html. * tests/qwebhistory/resources/page5.html: Renamed from WebKit/qt/tests/qwebhistory/data/page5.html. * tests/qwebhistory/resources/page6.html: Renamed from WebKit/qt/tests/qwebhistory/data/page6.html. * tests/qwebhistory/tst_qwebhistory.cpp: (tst_QWebHistory::): * tests/qwebhistory/tst_qwebhistory.qrc: * tests/qwebhistoryinterface/qwebhistoryinterface.pro: * tests/qwebinspector/qwebinspector.pro: * tests/qwebpage/qwebpage.pro: * tests/qwebpage/resources/frame_a.html: Renamed from WebKit/qt/tests/qwebpage/frametest/frame_a.html. * tests/qwebpage/resources/iframe.html: Renamed from WebKit/qt/tests/qwebpage/frametest/iframe.html. * tests/qwebpage/resources/iframe2.html: Renamed from WebKit/qt/tests/qwebpage/frametest/iframe2.html. * tests/qwebpage/resources/iframe3.html: Renamed from WebKit/qt/tests/qwebpage/frametest/iframe3.html. * tests/qwebpage/resources/index.html: Renamed from WebKit/qt/tests/qwebpage/frametest/index.html. * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::backActionUpdate): (tst_QWebPage::frameAt): (tst_QWebPage::errorPageExtensionInFrameset): (tst_QWebPage::screenshot): * tests/qwebpage/tst_qwebpage.qrc: * tests/qwebplugindatabase/qwebplugindatabase.pro: * tests/qwebview/qwebview.pro: * tests/qwebview/resources/frame_a.html: Renamed from WebKit/qt/tests/qwebview/data/frame_a.html. * tests/qwebview/resources/index.html: Renamed from WebKit/qt/tests/qwebview/data/index.html. * tests/qwebview/tst_qwebview.cpp: (tst_QWebView::reusePage): (tst_QWebView::crashTests): * tests/qwebview/tst_qwebview.qrc: * tests/resources/image2.png: Renamed from WebKit/qt/tests/qwebframe/resources/image2.png. * tests/tests.pri: Added. * tests/tests.pro: 2009-12-18 Ariya Hidayat <ariya.hidayat@gmail.com> Build fix, not reviewed. * QtLauncher/main.cpp: (MainWindow::setTouchMocking): Leave setTouchMocking as an empty function for Qt < 4.6 so that moc still creates a slot for that. Otherwise, it would have generated a linker error. 2009-12-18 Adam Roben <aroben@apple.com> Qt build fix * Api/qwebpage.cpp: Added #include. 2009-12-18 Adam Roben <aroben@apple.com> Qt build fix * Api/qwebpage.cpp: Added #includes. 2009-12-18 Joe Ligman <joseph.ligman@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Add new API to QWebFrame to scrollRecursively starting with any css overflow then checking current frame and then ancestors https://bugs.webkit.org/show_bug.cgi?id=32668 * Api/qwebframe.cpp: (QWebFramePrivate::scrollOverflow): (QWebFrame::scrollRecursively): * Api/qwebframe.h: * Api/qwebframe_p.h: * tests/qwebframe/qwebframe.qrc: * tests/qwebframe/testiframe.html: Added. * tests/qwebframe/testiframe2.html: Added. * tests/qwebframe/tst_qwebframe.cpp: 2009-12-18 Simon Hausmann <simon.hausmann@nokia.com> Reviewed by Tor Arne Vestbø. [Qt] Fix infinite recursion in touch mocking. Don't send the fake touch events to the view, as that'll trigger the event filter again. * QtLauncher/main.cpp: (MainWindow::sendTouchEvent): 2009-12-17 Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed by Simon Hausmann. [Qt] Add support for mocking touch events with Q(GV)Launcher https://bugs.webkit.org/show_bug.cgi?id=32434 The event delivery should go through QCoreApplication::sendEvent() * QtLauncher/main.cpp: (MainWindow::sendTouchEvent): 2009-12-17 Kim Grönholm <kim.gronholm@nomovok.com> Reviewed by Simon Hausmann. [Qt] Add support for touch events in QWebView and QGraphicsWebView https://bugs.webkit.org/show_bug.cgi?id=32432 * Api/qgraphicswebview.cpp: (QGraphicsWebView::QGraphicsWebView): (QGraphicsWebView::sceneEvent): * Api/qwebview.cpp: (QWebView::QWebView): (QWebView::event): 2009-12-17 Kim Grönholm <kim.gronholm@nomovok.com> Reviewed by Simon Hausmann. [Qt] Add support for mocking touch events with QtLauncher https://bugs.webkit.org/show_bug.cgi?id=32434 * QtLauncher/main.cpp: (MainWindow::MainWindow): (MainWindow::sendTouchEvent): (MainWindow::eventFilter): (MainWindow::setTouchMocking): (MainWindow::setupUI): 2009-11-24 Holger Hans Peter Freyther <zecke@selfish.org> (QWebInspector::closeEvent): * Api/qwebinspector.h: 2009-12-14 Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Improve the autotests of QtWebkit https://bugs.webkit.org/show_bug.cgi?id=32216 Refactor tst_qwebelement to remove the qWait() * tests/qwebelement/tst_qwebelement.cpp: (tst_QWebElement::style): 2009-12-14 Andreas Kling <andreas.kling@nokia.com> Reviewed by Simon Hausmann. Fix the QWebPage inputMethods() autotest after r51758 to compare the Qt::ImFont property's family against an explicitly previously configured family. https://bugs.webkit.org/show_bug.cgi?id=32491 * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::inputMethods): 2009-12-13 Sam Weinig <sam@webkit.org> Reviewed by Dan Bernstein. Fix for https://bugs.webkit.org/show_bug.cgi?id=32499 Add client based Geolocation provider Add first cut of a client based Geolocation provider. This is guarded by ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a GeolocationControllerClient interface that no-one currently implements, but will in a subsequent patch. * Api/qwebpage.cpp: (QWebPagePrivate::QWebPagePrivate): 2009-12-13 Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed by Simon Hausmann. Add a test in Qt for https://bugs.webkit.org/show_bug.cgi?id=29005 https://bugs.webkit.org/show_bug.cgi?id=29008 * tests/qwebframe/tst_qwebframe.cpp: 2009-12-11 Yael Aharon <yael.aharon@nokia.com> Unreviewed build fix for Qt versions < 4.6. * tests/qwebframe/tst_qwebframe.cpp: * tests/qwebview/tst_qwebview.cpp: (tst_QWebView::reusePage): 2009-12-11 Girish Ramakrishnan <girish@forwardbias.in> Reviewed by Tor Arne Vestbø. [Qt] Updated QWebElement documentation findAll() returns a QWebElementCollection, not QList<QWebElement>. * docs/webkitsnippets/webelement/main.cpp: (findAll): 2009-12-11 Simon Hausmann <hausmann@webkit.org>, Kim Grönholm <kim.gronholm@nomovok.com> Reviewed by Antti Koivisto. Forward Qt touch events to the event handler as platform touch events. https://bugs.webkit.org/show_bug.cgi?id=32114 * Api/qwebpage.cpp: (QWebPagePrivate::touchEvent): (QWebPage::event): * Api/qwebpage_p.h: 2009-12-07 Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Improve the autotests of QtWebkit https://bugs.webkit.org/show_bug.cgi?id=32216 Remove the calls to qWait() of the autotest of QWebView * tests/qwebview/tst_qwebview.cpp: (tst_QWebView::reusePage): 2009-12-07 Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Improve the autotests of QtWebkit https://bugs.webkit.org/show_bug.cgi?id=32216 Refactor tst_qwebframe to remove qWait() and use the function waitForSignal() from util.h * tests/qwebframe/tst_qwebframe.cpp: 2009-12-07 Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Improve the autotests of QtWebkit https://bugs.webkit.org/show_bug.cgi?id=32216 Refactor the test of QGraphicsWebView: -make waitForSignal() available to all the tests. -remove QTest::qWait() * tests/qgraphicswebview/tst_qgraphicswebview.cpp: (tst_QGraphicsWebView::crashOnViewlessWebPages): * tests/util.h: (waitForSignal): 2009-12-07 Girish Ramakrishnan <girish@forwardbias.in> Reviewed by Simon Hausmann. [Qt] Plugins: Force windowless mode when there is no native window handle Inject wmode=opaque while instantiating the plugin for the case when the webpage is not backed by a native window handle. https://bugs.webkit.org/show_bug.cgi?id=32059 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::createPlugin): 2009-12-04 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Corrects QtLauncher style * QtLauncher/main.cpp: (WebPage::acceptNavigationRequest): (MainWindow::MainWindow): (MainWindow::webPage): (MainWindow::webView): (MainWindow::changeLocation): (MainWindow::loadFinished): (MainWindow::showLinkHover): (MainWindow::zoomIn): (MainWindow::zoomOut): (MainWindow::print): (MainWindow::setEditable): (MainWindow::dumpHtml): (MainWindow::selectElements): (MainWindow::newWindow): (MainWindow::setupUI): (WebPage::createWindow): (WebPage::createPlugin): (main): 2009-12-04 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] QtLauncher: add a menu to show or hide the web inspector. https://bugs.webkit.org/show_bug.cgi?id=32149 * QtLauncher/main.cpp: (WebInspector::WebInspector): (WebInspector::showEvent): (WebInspector::hideEvent): (MainWindow::MainWindow): (MainWindow::setupUI): 2009-12-04 Kenneth Rohde Christiansen <kenneth@webkit.org> Reviewed by Antti Koivisto. Split out the renderPrivate in two methods, one for working on relative coordinates (relative to the viewport) and one for working on absolute coordinates. The latter is more effecient for implementing tiling, as you don't need translate the coords, and because it avoid clipping to the viewport. No behaviour changes, so no new tests. * Api/qwebframe.cpp: (QWebFramePrivate::renderContentsLayerAbsoluteCoords): (QWebFramePrivate::renderRelativeCoords): (QWebFrame::render): * Api/qwebframe_p.h: 2009-12-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> Reviewed by Simon Hausmann. [Qt] Allow removing 'qrc' as a local security origin scheme * tests/qwebpage/tst_qwebpage.cpp: 2009-12-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> Reviewed by Simon Hausmann. [Qt] Clean up argument parsing in the QtLauncher * QtLauncher/main.cpp: 2009-12-04 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Prevent the inspector from closing its wrapping widget. This is not necessary anymore since we now hide the embedded close button. https://bugs.webkit.org/show_bug.cgi?id=32149 * WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::showWindow): (WebCore::InspectorClientQt::closeWindow): 2009-12-03 İsmail Dönmez <ismail@namtrac.org> Reviewed by Eric Seidel. Fix compilation when SVG is disabled. * Api/qwebframe.cpp: (qt_drt_pauseSVGAnimation): 2009-12-03 Brady Eidson <beidson@apple.com> Reviewed by Sam Weinig. <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::dispatchDidPushStateWithinPage): (WebCore::FrameLoaderClientQt::dispatchDidReplaceStateWithinPage): (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage): * WebCoreSupport/FrameLoaderClientQt.h: 2009-12-03 Pavel Feldman <pfeldman@dhcp-172-28-174-220.spb.corp.google.com> Reviewed by Timothy Hatcher. Web Inspector: Simplify the settings support in inspector controller. https://bugs.webkit.org/show_bug.cgi?id=32076 * WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::populateSetting): (WebCore::InspectorClientQt::storeSetting): (WebCore::variantToSetting): (WebCore::settingToVariant): * WebCoreSupport/InspectorClientQt.h: 2009-12-03 Ben Murdoch <benm@google.com> Reviewed by Brady Eidson. [Android] The FrameLoaderClient is unaware of BackForwardList changes. https://bugs.webkit.org/show_bug.cgi?id=31914 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug). (WebCore::FrameLoaderClientQt::dispatchDidRemoveBackForwardItem): ditto. (WebCore::FrameLoaderClientQt::dispatchDidChangeBackForwardIndex): ditto. * WebCoreSupport/FrameLoaderClientQt.h: 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> Not reviewed. Try to fix Qt build. * Api/qwebframe.cpp: (qt_drt_pauseSVGAnimation): 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Simon Fraser. Add SVG animation test framework with 'snapshot' functionality https://bugs.webkit.org/show_bug.cgi?id=31897 Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method, forwarding the call to SVGDocumentExtensions, if SVG is enabled. Implemented just like the existing pauseAnimation* methods for CSS animations. * Api/qwebframe.cpp: (qt_drt_pauseSVGAnimation): 2009-12-01 Daniel Bates <dbates@webkit.org> Reviewed by Kenneth Rohde Christiansen. https://bugs.webkit.org/show_bug.cgi?id=31898 Makes QtLauncher default to the http scheme for URLs. * QtLauncher/main.cpp: (MainWindow::MainWindow): (MainWindow::changeLocation): (main): 2009-11-30 Laszlo Gombos <laszlo.1.gombos@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Fix minor waning in QtWebKit https://bugs.webkit.org/show_bug.cgi?id=31963 * tests/qwebpage/tst_qwebpage.cpp: (ErrorPage::extension): Remove info wariable as it is not used. 2009-11-26 Simon Hausmann <simon.hausmann@nokia.com> Rubber-stamped by Holger Freyther. Removed unused ICO image plugin handler. * Plugins/ICOHandler.cpp: Removed. * Plugins/ICOHandler.h: Removed. * Plugins/Plugins.pro: Removed. 2009-11-12 Holger Hans Peter Freyther <zecke@selfish.org> Reviewed by Kenneth Rohde Christiansen. [Qt] Do not show the QWidget when the WebCore::Widget is hidden https://bugs.webkit.org/show_bug.cgi?id=31203 The clipping code was making a QWidget visible even if the WebCore::Widget was hidden. Fix the bug by calling setVisible only if the WebCore::Widget Widget::isSelfVisible. * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::QtPluginWidget::show): Override WebCore::Widget::show to call handleVisibility (WebCore::QtPluginWidget::handleVisibility): New method to call setVisible when we are visible (FrameLoaderClientQt::createPlugin): Hide the QWidget by default 2009-11-19 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Add instantiation tests for QWebInspector. * tests/qwebinspector/qwebinspector.pro: Added. * tests/qwebinspector/tst_qwebinspector.cpp: Added. (tst_QWebInspector::attachAndDestroy): * tests/tests.pro: 2009-11-19 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Fix QWebInspector destruction problem. https://bugs.webkit.org/show_bug.cgi?id=31664 * Api/qwebpage.cpp: (QWebPage::~QWebPage): 2009-11-18 Laszlo Gombos <laszlo.1.gombos@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Remove support for Qt v4.3 or older versions https://bugs.webkit.org/show_bug.cgi?id=29469 * Api/qcookiejar.cpp: Removed. * Api/qcookiejar.h: Removed. * Api/qgraphicswebview.cpp: (QGraphicsWebView::event): * Api/qwebframe.cpp: (QWebFrame::load): * Api/qwebframe.h: * Api/qwebkitglobal.h: * Api/qwebnetworkinterface.cpp: Removed. * Api/qwebnetworkinterface.h: Removed. * Api/qwebnetworkinterface_p.h: Removed. * Api/qwebpage.cpp: (QWebPagePrivate::QWebPagePrivate): (QWebPagePrivate::acceptNavigationRequest): (QWebPage::acceptNavigationRequest): (QWebPage::action): (QWebPage::userAgentForUrl): * Api/qwebpage.h: * Api/qwebpage_p.h: * Api/qwebview.cpp: (QWebView::load): (QWebView::event): * Api/qwebview.h: * QtLauncher/main.cpp: (MainWindow::print): (MainWindow::setupUI): (main): * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::download): (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): (WebCore::FrameLoaderClientQt::startDownload): (WebCore::FrameLoaderClientQt::createPlugin): 2009-11-18 Shu Chang <Chang.Shu@nokia.com> Reviewed by Eric Seidel. [Qt] Add support for displaying deleteButton. https://bugs.webkit.org/show_bug.cgi?id=31560 Test: LayoutTests/editing/deleting/5408255.html * Api/qwebsettings.cpp: (graphics): * Api/qwebsettings.h: 2009-11-18 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> Reviewed by Simon Hausmann. [Qt] Add QtLauncher support for opening links in the default browser This can be triggered by either the context menu or by clicking a link while holding down the Alt key. Opening a link in a new windows is triggered by holding down Shift. * QtLauncher/main.cpp: 2009-11-17 Yael Aharon <yael.aharon@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] QGLLauncher does not support drag&drop of local files https://bugs.webkit.org/show_bug.cgi?id=31057 Enable accepting files in QGraphicsWebView. * Api/qgraphicswebview.cpp: (QGraphicsWebView::QGraphicsWebView): (QGraphicsWebView::dragEnterEvent): 2009-11-17 Antonio Gomes <tonikitoo@webkit.org> Reviewed by Kenneth Christiansen. [Qt] better test coverage for ErrorPageExtension https://bugs.webkit.org/show_bug.cgi?id=31583 Improved the coverage of current ErrorPageExtension tests by adding autotests involving frameset and iframes. (ErrorPage::extension): Make the ErrorPageExtension to work for all frames, not only the main frame. (tst_QWebPage::errorPageExtension): Stop using the 'frameset.html' resouce in this method since an autotest specific for frameset's is being added. (tst_QWebPage::errorPageExtensionInIFrames): Added. (tst_QWebPage::errorPageExtensionInFrameset): Added. 2009-11-13 Adam Roben <aroben@apple.com> Update for changes to FrameLoaderClient Fixes <http://webkit.org/b/31124> Tell the WebFrameLoadDelegate when window objects in isolated worlds are cleared Reviewed by Dave Hyatt. (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld): * WebCoreSupport/FrameLoaderClientQt.h: Replaced windowObjectCleared with this function. Does nothing if the passed-in world is not the mainThreadNormalWorld(). 2009-11-13 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Fix initial QWebView focus behavior. focusController->setFocused(true) was not always called. https://bugs.webkit.org/show_bug.cgi?id=31466 * Api/qwebpage.cpp: (QWebPagePrivate::focusInEvent): 2009-11-12 Shinichiro Hamaji <hamaji@chromium.org> Reviewed by Darin Adler. externalRepresentation should take Frame as the argument https://bugs.webkit.org/show_bug.cgi?id=31393 No new tests as this is just a refactoring. * Api/qwebframe.cpp: (QWebFrame::renderTreeDump): 2009-11-12 Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed by Kenneth Rohde Christiansen. Custom printing shrink factors https://bugs.webkit.org/show_bug.cgi?id=29042 This reverts commit r49769. The public API for this needs to be reviewed before its inclusion in Qt. * Api/qwebsettings.cpp: (QWebSettingsPrivate::apply): (QWebSettings::QWebSettings): * Api/qwebsettings.h: 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org> Unreviewed buildbot fix. Export a method to the DRT to know if the document has a document element. (qt_drt_hasDocumentElement): 2009-11-11 Liang QI <liang.qi@nokia.com> 2009-11-11 Laszlo Gombos <laszlo.1.gombos@nokia.com> Reviewed by Kenneth Rohde Christiansen. https://bugs.webkit.org/show_bug.cgi?id=31323 Fix a few compiler warnings * tests/qwebframe/tst_qwebframe.cpp: Add extra brackets to make it explicit where the else case belongs 2009-11-11 Simon Hausmann <simon.hausmann@nokia.com> Reviewed by Tor Arne Vestbø. Fix enabling of software input panel when activating editable elements in QGraphicsWebView. * Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::inputMethodEnabled): Implement method to query for input method support. * Api/qwebpage.cpp: (QWebPageWidgetClient::inputMethodEnabled): Ditto for QWidget. (QWebPagePrivate::handleSoftwareInputPanel): Don't use view() to test for input method support. Instead query using QWebPageClient and send the SIPR event to the ownerWidget() instead of the view(). The latter is null for QGraphicsWebView. * tests/qwebpage/tst_qwebpage.cpp: (EventSpy::EventSpy): (EventSpy::eventFilter): (tst_QWebPage::inputMethods): Modify the test to verify that SIPR events are dispatched when activating focusable content. 2009-11-09 Laszlo Gombos <laszlo.1.gombos@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Few classes have virtual functions but non-virtual destructor https://bugs.webkit.org/show_bug.cgi?id=31269 (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate): Add virtual destructor. 2009-11-09 Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed by Kenneth Rohde Christiansen. https://bugs.webkit.org/show_bug.cgi?id=30628 Add an API to get all the attributes from a QWebElement. * Api/qwebelement.cpp: (QWebElement::attributesName): * Api/qwebelement.h: * tests/qwebelement/tst_qwebelement.cpp: (tst_QWebElement::listAttributes): 2009-11-09 Laszlo Gombos <laszlo.1.gombos@nokia.com> Reviewed by Kenneth Rohde Christiansen. Use explicit parentheses to silence gcc 4.4 -Wparentheses warnings https://bugs.webkit.org/show_bug.cgi?id=31040 (QWebPagePrivate::handleScrolling): 2009-11-09 Mark Mentovai <mark@chromium.org> Reviewed by Dan Bernstein. Track "can have scrollbar" state within FrameView independently of the individual scrollbar states in ScrollView. rdar://problem/7215132, https://bugs.webkit.org/show_bug.cgi?id=29167 REGRESSION (r48064): mint.com loses scrollbars after coming out of edit mode. rdar://problem/7314421, https://bugs.webkit.org/show_bug.cgi?id=30517 REGRESSION (r48064): Extra scroll bars in GarageBand Lesson Store. Test: fast/overflow/scrollbar-restored.html * Api/qwebframe.cpp: (QWebFrame::setScrollBarPolicy): 2009-11-05 Shu Chang <Chang.Shu@nokia.com> Reviewed by Tor Arne Vestbø. Add support for Shift-PageUp and Shift-PageDown key events. https://bugs.webkit.org/show_bug.cgi?id=31166 Test: LayoutTests/editing/selection/shrink-selection-after-shift-pagedown.html * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::handleKeyboardEvent): 2009-11-01 Laszlo Gombos <laszlo.1.gombos@nokia.com> Reviewed by Eric Seidel. Turn on warnings for QtWebKit for gcc https://bugs.webkit.org/show_bug.cgi?id=30958 * Api/qwebpage.cpp: (QWebPagePrivate::QWebPagePrivate): Reorder initialization list to fix compiler warnings. * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): Ditto. 2009-10-30 Evan Stade <estade@chromium.org> Reviewed by David Levin. Notify the chrome when the focused node has changed. https://bugs.webkit.org/show_bug.cgi?id=30832 Added stub implementation for new ChromeClient function. * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::focusedNodeChanged): * WebCoreSupport/ChromeClientQt.h:
| * Fix compilation on WindowsOlivier Goffart2010-02-221-1/+1
| | | | | | | | | | | | | | | | | | For some reason, the MSVC compiler choose the operator+(const QString &, const QString &) instead of operator+(const WebCore::String &, const WebCore::String &) resulting in errors when QT_USE_FAST_OPERATOR_PLUS is used Reviewed-by: Jocelyn Turcotte
| * Compile with QT_USE_FAST_OPERATOR_PLUSOlivier Goffart2010-02-211-2/+2
| | | | | | | | Reviewed-by: Joao
* | Merge remote branch 'origin/master'Thiago Macieira2010-02-201-0/+4
|\ \ | |/ | | | | | | Conflicts: doc/src/declarative/advtutorial1.qdoc
| * MOBILITY-404 QS Windows.Wolfgang Beck2010-02-161-0/+4
| |
* | Doc: Simplified Commercial Editions for Qt 4.7.David Boddie2010-02-191-3/+0
|/ | | | | Reviewed-by: Trust Me Requested-by: Sales and Legal
* Revert WebCore.pro part of 2761e6f57ecd00c3435dbb8a6cf5f40653195d5d to build ↵Simon Hausmann2010-02-111-3/+1
| | | | | | | | | QtWebKit with THUMB again This restores the library size and memory consumption. Reviewed-by: Janne Koskinen Reviewed-by: Iain
* Fix the WebKit buildSimon Hausmann2010-02-101-1/+1
| | | | | | It's PLATFORM(SYMBIAN) in 4.x, not OS() like in the trunk Reviewed-by: Trust me
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-02-103-1/+18
| | | | | | | ( ffae5e11181a3961193fa21ea405851cad714d4b ) Changes in WebKit/qt since the last update: * https://bugs.webkit.org/show_bug.cgi?id=34170 -- [Qt] Javascript undefined > 0 returns true on Symbian
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-02-103-3/+17
| | | | | | | ( 36fe058a9001e6d47f0fd41c6304cdfdf3a735ed ) Changes in WebKit/qt since the last update: * Missing fileSystemPath() method in Qt KURL implementation
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-02-056-28/+81
| | | | | | ( da5d96a26e80162027bc95ce7e5725fe4b277ff7 ) Changes in WebKit/qt since the last update:
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/berlin-staging-1 into ↵Qt Continuous Integration System2010-02-031-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/berlin-staging-1: revert to fromUtf16() usage in fromWCharArray() Assistant examples: Fix missing QLatin1String. Added Czech translations. Webkit: Fix missing namespace. qmake: subdirs template: make distclean target use QMAKE_DISTCLEAN qmake: fix warnings qmake: Remove macro and simplify string expression previously using it qmake: use isActiveConfig() instead of hand-crafting comparisons Fix missing namespace. Assistant: Fix spelling mistakes. Assistant: Use const references in foreach loops. optimization: get rid of QString::fromUtf16() usage document QString::fromUtf16() slowness remove duplicated calculation of length remove pointless conditionals micro-optimization optimize qhash() Designer/uic/related examples: Fix source code scanning issues II.
| * Merge branch '4.6' of scm.dev.nokia.troll.no:qt/berlin-staging-1 into 4.6ck2010-02-028-12/+181
| |\
| * | Webkit: Fix missing namespace.ck2010-02-021-0/+2
| | |
* | | Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-02-024-11/+30
| | | | | | | | | | | | | | | | | | ( 69dd29fbeb12d076741dce70ac6bc155101ccd6f ) Changes in WebKit/qt since the last update:
* | | Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-02-022-2/+2
| |/ |/| | | | | | | | | | | | | ( a733444d3be6605552471f047558927495ff62b7 ) Changes in WebKit/qt since the last update: Fix up cherry-pick of backup restoration fix
* | Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-02-018-12/+181
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ( afc4c208fe296f5a1dd0e73f2bd1273bd22d9b24 ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2010-01-28 Kenneth Rohde Christiansen <kenneth@webkit.org> Reviewed by Simon Hausmann. Do not set the combobox font on Maemo5 and S60; use the default instead. * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopup::populate): 2010-01-28 Andreas Kling <andreas.kling@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Support kinetic scrolling on Maemo 5 https://bugs.webkit.org/show_bug.cgi?id=34267 Patch by Ralf Engels <ralf.engels@nokia.com> and Robert Griebl <rgriebl@trolltech.com> * Api/qwebview.cpp: (QWebViewKineticScroller::QWebViewKineticScroller): (QWebViewKineticScroller::eventFilter): (QWebViewKineticScroller::currentFrame): (QWebViewKineticScroller::scrollingFrameAt): (QWebViewKineticScroller::attachToWidget): (QWebViewKineticScroller::removeFromWidget): (QWebViewKineticScroller::positionRange): (QWebViewKineticScroller::position): (QWebViewKineticScroller::viewportSize): (QWebViewKineticScroller::setPosition): (QWebView::QWebView): 2010-01-29 Kenneth Rohde Christiansen <kenneth@webkit.org> Reviewed by Simon Hausmann Disable auto-uppercase and predictive text on Maemo5, just like the build-in MicroB Browser. * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::setInputMethodState):
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-01-2913-59/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ( ca7b2e1e1ca558050cf49dd8f7c9b35e4b9d4df5 ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2010-01-28 Trond Kjernåsen <trond@trolltech.com> Reviewed by Simon Hausmann. [Qt] Fix for endless print loop when printing web pages * Api/qwebframe.cpp: (QWebFrame::print): 2010-01-26 Simon Hausmann <simon.hausmann@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Show comboboxes on Maemo 5 https://bugs.webkit.org/show_bug.cgi?id=34088 Don't try to show the combobox by simulating a mouse event from QCursor::pos() to get the combobox position right. The position on Maemo 5 is independent from the mouse and there's no QCursor::pos(). * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopup::show): 2010-01-26 Holger Hans Peter Freyther <zecke@selfish.org> Reviewed by Simon Hausmann. [Qt] JavaScript prompt is currently broken https://bugs.webkit.org/show_bug.cgi?id=30914 In r52152 a patch was landed to convert a null QString to an empty WebCore::String in case the prompt was accepted but the default implementation returned the null QString. The patch tried to avoid assign to result twice and was not checking the QString if it is null but the default value. This lead to always returning an empty string on successful prompts. Fix it by checking the variable 'x' for isNull. The manual test case used didn't cover the case of non empty input, replace it with an automatic test case that should cover all cases. * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::runJavaScriptPrompt): Fix the bug. * tests/qwebpage/tst_qwebpage.cpp: Add automatic test case (JSPromptPage::JSPromptPage): (JSPromptPage::javaScriptPrompt): (tst_QWebPage::testJSPrompt):
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-01-281-0/+5
|\ | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Fix a regression: icons with slightly wrong ICO header did not load. Fixed an endless loop if printing web pages. don't build unneeded QtDesigner parts on Windows CE Better support for user-generated binary shaders
| * Fixed an endless loop if printing web pages.Trond Kjernåsen2010-01-281-0/+5
| | | | | | | | | | | | | | | | Entering a page range which is valid, but outside of the printable range would result in an infinite loop. Task-number: QTBUG-6051 Reviewed-by: Simon Hausmann
* | Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-01-252-3/+5
| | | | | | | | | | | | | | | | ( a54fd11a3abcd6d9c858e8162e85fd1f3aa21db1 ) Changes in WebKit/qt since the last update: Fix from Girish
* | Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-01-256-13/+45
|/ | | | | | | | | | | | | | | | ( 0bc66e2d86149e0fb6a33428e4f23ebfe83bfde4 ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2010-01-25 Janne Koskinen <janne.p.koskinen@digia.com> Reviewed by Simon Hausmann. [Qt] Phone backup support for QtWebkit for Symbian devices. https://bugs.webkit.org/show_bug.cgi?id=34077 * symbian/backup_registration.xml: Added.
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-01-214-3/+27
| | | | | | | | ( 8f5ca3ba5da63a47d4f90bbd867d3e8453443dd3 ) Changes in WebKit/qt since the last update: * Girish: Fix positioning of ComboBox popup in QGraphicsWebView. -- https://bugs.webkit.org/show_bug.cgi?id=33887
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-01-209-24/+70
| | | | | | | | | | | | | | | | | ( e15bd5454732bab9ffff4e1e5a755f41fd4e2eff ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2009-11-19 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Fix QWebInspector destruction problem. https://bugs.webkit.org/show_bug.cgi?id=31664 * Api/qwebpage.cpp: (QWebPage::~QWebPage):
* Remove qmake warning by using appropriate variable.axis2010-01-181-1/+1
| | | | RevBy: Miikka Heikkinen
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-01-144-1/+18
| | | | | | | | | | | | | | | | ( 8f6992f4e8f027818429d428393b08068eca9ffa ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2010-01-14 Simon Hausmann <simon.hausmann@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Update Symbian .def symbol export files after private API additions. * symbian/bwins/QtWebKitu.def: * symbian/eabi/QtWebKitu.def:
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-01-133-1/+22
| | | | | | | | | ( 8b9165d3bc84d1c8cc7df49a191cc3857b5530d4 ) Changes in WebKit/qt since the last update: * Cherry-pick of http://trac.webkit.org/changeset/53181 ( http://bugreports.qt.nokia.com/browse/QTBUG-7290 )
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-01-1210-1/+292
| | | | | | | | | | | | | | | | | | | | | | | | | ( bd6591b4acaf2172ab05702153ef539c0ac89cbb ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2009-12-18 Joe Ligman <joseph.ligman@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Add new API to QWebFrame to scrollRecursively starting with any css overflow then checking current frame and then ancestors https://bugs.webkit.org/show_bug.cgi?id=32668 * Api/qwebframe.cpp: (QWebFramePrivate::scrollOverflow): (QWebFrame::scrollRecursively): * Api/qwebframe.h: * Api/qwebframe_p.h: * tests/qwebframe/qwebframe.qrc: * tests/qwebframe/testiframe.html: Added. * tests/qwebframe/testiframe2.html: Added. * tests/qwebframe/tst_qwebframe.cpp:
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-01-0711-16/+124
| | | | | | | | | | | | | | | | | | | | | ( 99ccc1c3e4db5354246720f9b9aa3d282e64497d ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2010-01-07 Yael Aharon <yael.aharon@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Allow the application to override online/offline network status https://bugs.webkit.org/show_bug.cgi?id=32684 Add a setting so that applications can overide the network status. Applications that use this setting still need to block network access through QNAM. * Api/qwebsettings.cpp: (qt_networkAccessAllowed):
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-01-077-1/+64
| | | | | | | | | | | | | | | | | | | | ( b217cdfedc7b5e7581325bda718192247f03dd5d ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2010-01-07 Yongjun Zhang <yongjun.zhang@nokia.com>, Laszlo Gombos <laszlo.1.gombos@nokia.com> Reviewed by Simon Hausmann. [Qt] need an API to suspend and resume active Javascript DOM objects. https://bugs.webkit.org/show_bug.cgi?id=31673 Add suspend and resume DOM objects private API to QWebFrame. * Api/qwebframe.cpp: (qt_suspendActiveDOMObjects): (qt_resumeActiveDOMObjects):
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-01-064-7/+24
| | | | | | ( 865abd2871c801c1d3d0f4eebd985b2daab89ebe ) Changes in WebKit/qt since the last update:
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2010-01-053-2/+22
| | | | | | | | | | ( 5d691a1c283938dfbdf891883d8cff8a6ef040bf ) Changes in WebKit/qt since the last update: * Prospective build fix for IA64 Task: QTBUG-6948
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2009-12-306-4/+1348
| | | | | | | | | | | | | | | | | | ( 70b5989bdeea2f73bd950099fc0f0e954550ef54 ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2009-12-30 Janne Koskinen <janne.p.koskinen@digia.com> Reviewed by Simon Hausmann. Upstream Symbian def files from Qt 4.6. These files define the ABI of QtWebKit on Symbian. * symbian/bwins/QtWebKitu.def: Added. * symbian/eabi/QtWebKitu.def: Added.
* Symbian build fixSimon Hausmann2009-12-301-1/+1
| | | | | | | | | Disable bearer management support in WebKit for builds inside Qt. We can't depend on an external module that depends on what we're building right now :) This is just a stop-gap fix. Reviewed-by: Trust me
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2009-12-304-7/+17
| | | | | | | | | ( c07df5686b431aa5d11643d00308d8f8f59d88b1 ) Changes in WebKit/qt since the last update: * Disable HTML5 Datagrid * Fix RVCT build
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2009-12-2912-15/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ( eb1c86da9f5fa43a0e126ef58ab11cbd4d200af7 ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2009-12-14 Holger Hans Peter Freyther <zecke@selfish.org> Reviewed by Kenneth Rohde Christiansen. [Qt] Fix JavaScript prompt behavior for empty/null strings. https://bugs.webkit.org/show_bug.cgi?id=30914 The patch is based on the work done by Gupta Manish. In the default implementation of the JavaScript prompt we are using a QInputDialog to get the text and this has one quirk with regard to not entering any text. In other WebKit ports and in Firefox an empty string is returned but in the Qt case it is a null string. Change the API documentation in QWebPage to mention we want to have a non null string but do the fixup in the ChromeClientQt to support existing code. * Api/qwebpage.cpp: (QWebPage::javaScriptPrompt): Change API documentation * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::runJavaScriptPrompt): Fixup null QString
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2009-12-218-13/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ( de77f8ee69c434bde9306c8f407ee2e443a00188 ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2009-12-21 David Boddie <dboddie@trolltech.com> Reviewed by Simon Hausmann. Doc: Minor fixes to language. * Api/qwebpage.cpp: 2009-12-15 Holger Hans Peter Freyther <zecke@selfish.org> Reviewed by NOBODY (OOPS!). [Qt] Do not disable the inspector on show and hide https://bugs.webkit.org/show_bug.cgi?id=31851 On Qt/X11 with some window managers the window will be hidden when switching windows. In this case all the results are gone when coming back to the window. Attempt to use the CloseEvent to figure out if the window was closed and withdrawn as this is more friendly to the user of the inspector client. * Api/qwebinspector.cpp: (QWebInspector::event): (QWebInspector::hideEvent): 2009-12-13 Simon Hausmann <hausmann@webkit.org> Reviewed by Holger Freyther. [Qt] Re-enable QWebView::renderHints property for Qt for Symbian https://bugs.webkit.org/show_bug.cgi?id=28273 The bug in Qt's moc that triggered a linking error when declaring this property has been fixed and we can remove the workaround. * Api/qwebview.h: 2009-11-30 Abhinav Mithal <abhinav.mithal@nokia.com> Reviewed by Simon Hausmann. [Qt][Symbian] Report SymbianOS in user agent string for Symbian https://bugs.webkit.org/show_bug.cgi?id=31961 * Api/qwebpage.cpp: (QWebPage::userAgentForUrl):
* Doc: Minor fixes to language.David Boddie2009-12-141-2/+2
| | | | Reviewed-by: Trust Me
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2009-11-306-4/+40
| | | | | | ( 9de63cde0ac8aa08e207d4ffce2846df1a44a364 ) Changes in WebKit/qt since the last update:
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2009-11-2911-11/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ( 37d059def88f94e4296a74dc524efda154c6bde6 ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2009-11-28 Simon Hausmann <simon.hausmann@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] SoftwareInputPanelRequest event sent when clicking in newly loaded page https://bugs.webkit.org/show_bug.cgi?id=31401 Don't set the event unless there is a focused node we can use for editing afterwards. * Api/qwebpage.cpp: (QWebPagePrivate::handleSoftwareInputPanel): * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::inputMethods): 2009-11-23 David Boddie <dboddie@trolltech.com> Reviewed by Simon Hausmann. Updated the QWebElement documentation with links to examples and external resources. Fixed the project file for the webelement snippet and tidied up the markers used for quoting the code. * Api/qwebelement.cpp: * docs/webkitsnippets/webelement/main.cpp: (findAll): * docs/webkitsnippets/webelement/webelement.pro: 2009-11-23 Simon Hausmann <simon.hausmann@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Wrong runtime instance objects of wrapped QObjects may be used if the wrapped object died before the gc removed the instance. https://bugs.webkit.org/show_bug.cgi?id=31681 Added a unit-test to verify that wrapping a QObject with the same identity as a previously but now dead object works. * tests/qwebframe/tst_qwebframe.cpp:
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2009-11-255-3/+41
| | | | ( 27984c8c8d021a6bff604da57520959d420a642c )
* Fix crash of QtWebKit on any page with Flash when compiled witn MinGW.Jocelyn Turcotte2009-11-251-2/+2
| | | | | | | Early push of this fix which should be overwritten by the fix upstreamed in WebKit trunk later. Reviewed-by: Simon Hausmann
* Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ↵Simon Hausmann2009-11-235-1/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | ( efa69b6181ce5c045097351cdcf6c158da3f4888 ) Changes in WebKit/qt since the last update: ++ b/WebKit/qt/ChangeLog 2009-11-19 Olivier Goffart <ogoffart@trolltech.com> Reviewed by Simon Hausmann. [Qt] Normalize signal and slot signatures. * Api/qgraphicswebview.cpp: (QGraphicsWebView::setPage): * Api/qwebview.cpp: (QWebView::setPage): * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::setFrame): * docs/webkitsnippets/qtwebkit_qwebinspector_snippet.cpp: (wrapInFunction): * tests/qwebframe/tst_qwebframe.cpp: * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::modified): (tst_QWebPage::database):
* Revert "Revert "Fix detection of linux-g++""Simon Hausmann2009-11-191-1/+1
| | | | | | This reverts commit baab5f7e77c1216ede839766c97abef1a708b365. Reviewed-by: Paul