/src/3rdparty/webkit/Source/WebKit/qt/ChangeLog

https://bitbucket.org/ultra_iter/qt-vtl · #! · 3750 lines · 2549 code · 1201 blank · 0 comment · 0 complexity · 1248cbfe569abae694a672271bd47b5f MD5 · raw file

  1. 2011-11-03 Jesus Sanchez-Palencia <jesus@webkit.org>
  2. Reviewed by Kenneth Rohde Christiansen.
  3. [Qt] QtWebKit should have documentation clarifying its mobile features usage
  4. https://bugs.webkit.org/show_bug.cgi?id=41465
  5. Add "QtWebKit Goes Mobile" documentation
  6. * docs/qtwebkit-goes-mobile.qdoc: Added.
  7. * docs/qtwebkit.qdoc: Linked to qtwebkit-goes-mobile documentation
  8. * docs/webkitsnippets/qtwebkit_goes_mobile_snippets.cpp: Added.
  9. 2011-11-01 Alexis Menard <alexis.menard@openbossa.org>
  10. Unreviewed Qt documentation fix.
  11. This signal is Qt 4.8 material.
  12. * Api/qwebpage.cpp:
  13. 2011-10-21 Zeno Albisser <zeno.albisser@nokia.com>
  14. [Qt] WebKit build does not respect QMAKE_MAC_SDK variable.
  15. https://bugs.webkit.org/show_bug.cgi?id=70596
  16. Instead of only relying on DARWIN_MAJOR_VERSION we also
  17. check QMAKE_MAC_SDK. In case QMAKE_MAC_SDK is not defined
  18. we are still falling back to DARWIN_MAJOR_VERSION.
  19. Patch by Andy Shaw <andy.shaw@digia.com>
  20. Reviewed by Noam Rosenthal.
  21. * QtWebKit.pro:
  22. 2011-09-06 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
  23. [Qt][Symbian] REGRESSION[94105] DumpRenderTree.exe doesn't build on Symbian
  24. https://bugs.webkit.org/show_bug.cgi?id=67644
  25. Reviewed by Csaba Osztrogonác.
  26. * symbian/eabi/QtWebKitu.def: add missing entry for
  27. FrameLoaderClientQt::dumpProgressFinishedCallback(bool)
  28. 2011-08-31 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  29. [Qt] Unskip API test for load signals order
  30. https://bugs.webkit.org/show_bug.cgi?id=67285
  31. Reviewed by Andreas Kling.
  32. * tests/qwebpage/tst_qwebpage.cpp:
  33. (tst_QWebPage::loadSignalsOrder):
  34. 2011-08-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  35. Emit last progress notification before calling dispatchDidFinishLoad
  36. https://bugs.webkit.org/show_bug.cgi?id=28851
  37. Reviewed by Adam Barth.
  38. Add infrastructure to dump progressFinishedNotification callback in DRT.
  39. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  40. (DumpRenderTreeSupportQt::dumpProgressFinishedCallback):
  41. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  42. * WebCoreSupport/FrameLoaderClientQt.cpp:
  43. (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
  44. * WebCoreSupport/FrameLoaderClientQt.h:
  45. 2011-09-02 Jade Han <jade.han@nokia.com>
  46. [Qt][Symbian] REGRESSION(93235) Missing .def update
  47. https://bugs.webkit.org/show_bug.cgi?id=67307
  48. Reviewed by Laszlo Gombos.
  49. * symbian/eabi/QtWebKitu.def:
  50. 2011-08-12 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  51. [Qt] Add test for correct order of load signals in QWebPage
  52. https://bugs.webkit.org/show_bug.cgi?id=66016
  53. Reviewed by Benjamin Poulain.
  54. Add API test to ensure the order of load signals: loadStarted() needs to be emitted
  55. first, then loadProgress(100), followed by loadFinished().
  56. The test is skipped since this right now is broken, the bug
  57. https://bugs.webkit.org/show_bug.cgi?id=28851 tracks one possible way to fix.
  58. * tests/qwebpage/tst_qwebpage.cpp:
  59. (SpyForLoadSignalsOrder::SpyForLoadSignalsOrder):
  60. (SpyForLoadSignalsOrder::isFinished):
  61. (SpyForLoadSignalsOrder::onLoadProgress):
  62. (tst_QWebPage::loadSignalsOrder_data):
  63. (tst_QWebPage::loadSignalsOrder):
  64. 2011-08-25 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
  65. Unreviewed QtWebKit.pro fix for when building inside Qt
  66. Patch by Simo Fält <simo.falt@nokia.com>
  67. The QtWebKit version was being overwritten by a global Qt version when
  68. QtWebKit was built inside Qt. Fixed by moving the version
  69. definition after the inclusion of qbase.pri.
  70. * QtWebKit.pro:
  71. 2011-08-18 Chang Shu <cshu@webkit.org>
  72. Add support of setPasswordEchoEnabled and setPasswordEchoDuration for password echo feature
  73. https://bugs.webkit.org/show_bug.cgi?id=66052
  74. Reviewed by Alexey Proskuryakov.
  75. Enable password echo under the build flag.
  76. * Api/qwebsettings.cpp:
  77. (QWebSettingsPrivate::apply):
  78. 2011-08-16 Chang Shu <cshu@webkit.org>
  79. Support reset in WebCore::Internals
  80. https://bugs.webkit.org/show_bug.cgi?id=66307
  81. Reviewed by Dimitri Glazkov.
  82. Added framework code in WebKit.
  83. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  84. (DumpRenderTreeSupportQt::resetInternalsObject):
  85. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  86. 2011-06-09 Robert Hogan <robert@webkit.org>
  87. Reviewed by Andreas Kling.
  88. Teach Qt about window.internals
  89. https://bugs.webkit.org/show_bug.cgi?id=61074
  90. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  91. (DumpRenderTreeSupportQt::injectInternalsObject):
  92. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  93. 2011-08-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  94. [Qt] Fix build on Lion
  95. https://bugs.webkit.org/show_bug.cgi?id=66770
  96. Reviewed by Andreas Kling.
  97. We were mistakenly picking up mac/WebCoreSystemInterface.h instead of
  98. the Qt one, and building on Lion revealed this when a typedef for
  99. IOSurfaceRef was wrapped in PLATFORM(MAC).
  100. For now we fix this by including WebCoreSystemInterface using
  101. brackets, so that we'll pick up the right file based on the
  102. include paths. This also means exposing a few missing enums
  103. in our own version of the file, so those were added.
  104. Lasty, we need to link against the right system interface library
  105. on Lion.
  106. * QtWebKit.pro:
  107. 2011-08-05 Dawit Alemayehu <adawit@kde.org>
  108. Reviewed by Andreas Kling.
  109. Reverted commit r87797, http://trac.webkit.org/changeset/87797, because it
  110. causes the regression reported under bug# 63582.
  111. [Qt] REGRESSION(r87797): Broke KDEWebKit's custom QNAM.
  112. https://bugs.webkit.org/show_bug.cgi?id=63582
  113. * WebCoreSupport/FrameLoaderClientQt.cpp:
  114. (WebCore::FrameLoaderClientQt::setFrame):
  115. 2011-07-26 Alexis Menard <alexis.menard@openbossa.org>
  116. Reviewed by Andreas Kling.
  117. [Qt] Change default backend to use GStreamer on Linux and QuickTime on Mac.
  118. https://bugs.webkit.org/show_bug.cgi?id=63472
  119. Use the flag WTF_USE_QTKIT=1 rather than USE_QTKIT=1 because that flag doesn't
  120. exist anymore, it's the default. Ditto for GStreamer.
  121. * QtWebKit.pro:
  122. 2011-06-23 Alexis Menard <alexis.menard@openbossa.org>
  123. Reviewed by Eric Carlson.
  124. [Qt] Implement fullscreen support on Mac with the QuickTime backend.
  125. https://bugs.webkit.org/show_bug.cgi?id=61728
  126. Implement fullscreen support for Qt when using the QuickTime backend.
  127. We mostly use what is already done for the Mac port.
  128. * QtWebKit.pro:
  129. * WebCoreSupport/ChromeClientQt.cpp:
  130. (WebCore::ChromeClientQt::ChromeClientQt):
  131. (WebCore::ChromeClientQt::~ChromeClientQt):
  132. * WebCoreSupport/ChromeClientQt.h:
  133. * WebCoreSupport/FullScreenVideoQt.cpp:
  134. (WebCore::FullScreenVideoQt::FullScreenVideoQt):
  135. (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
  136. (WebCore::FullScreenVideoQt::enterFullScreenForNode):
  137. (WebCore::FullScreenVideoQt::exitFullScreenForNode):
  138. (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
  139. (WebCore::FullScreenVideoQt::isValid):
  140. * WebCoreSupport/FullScreenVideoQt.h:
  141. * WebCoreSupport/QTKitFullScreenVideoHandler.h: Added.
  142. * WebCoreSupport/QTKitFullScreenVideoHandler.mm: Added.
  143. (QTKitFullScreenVideoHandler::QTKitFullScreenVideoHandler):
  144. (QTKitFullScreenVideoHandler::~QTKitFullScreenVideoHandler):
  145. (QTKitFullScreenVideoHandler::enterFullScreen):
  146. (QTKitFullScreenVideoHandler::exitFullScreen):
  147. * WebCoreSupport/WebSystemInterface.mm:
  148. (InitWebCoreSystemInterface):
  149. 2011-07-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  150. [Qt] QtWebkit never finishes loading sites when they are loaded after an initial QUrl fails to load.
  151. https://bugs.webkit.org/show_bug.cgi?id=61328
  152. Reviewed by Andreas Kling.
  153. Change the hooks in FrameLoaderClient we use for emitting signals. Instead of
  154. emitting signals in the progress notification functions, we use the
  155. dispatchDid{Start,Finish,Fail}* functions. The main reason behind this change is
  156. that loading code is prepared to handle load() when inside those functions.
  157. The crash was being caused by setUrl() (and load()) being called when
  158. loadFinished(false) was emitted. The problem here is that when
  159. postProgressFinishedNotification the FrameLoader wasn't ready for taking a load()
  160. call again, because it was still the ProvisionalLoadState but with the
  161. provisionalDocumentLoader already removed.
  162. To emulate the same behavior that QtWebKit had when using
  163. postProgressFinishedNotification, we now keep track of the frame originating the
  164. load, and emit the signals when this frame's client is called.
  165. The patch keeps the existing semantics for QWebPage signals, but we now emit the
  166. QWebFrame signals everytime, not only when they are the originating frame for
  167. loading.
  168. * Api/qwebframe.cpp:
  169. (clearCoreFrame): Document our assumption that activeDocumentLoader will exist.
  170. * WebCoreSupport/FrameLoaderClientQt.h: Remove m_loadError, add a boolean to keep
  171. track whether the frame is originating the load. Remove the signals from
  172. FrameLoaderClientQt since we will emit QWebFrame and QWebPage signals directly.
  173. * WebCoreSupport/FrameLoaderClientQt.cpp:
  174. (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): Initialize m_isOriginatingLoad.
  175. (WebCore::FrameLoaderClientQt::setFrame): Do not connect QWebFrame and QWebPage
  176. signals to our signals for load/finished, signal emission will be done manually.
  177. (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad): Emit
  178. loadStarted() signal and make the first notification of estimation change, that
  179. Qt API tests expect to exist and notify 10%.
  180. (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): Remove reference to
  181. m_loadError and emit loadFinished() signal.
  182. (WebCore::FrameLoaderClientQt::postProgressStartedNotification): Remove signal
  183. emission and mark the originating load as true, since only the originating frame
  184. gets this call in its client.
  185. (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): Remove signal
  186. emission.
  187. (WebCore::FrameLoaderClientQt::callErrorPageExtension): Return whether the call
  188. was successful or not. This wasn't necessary before because a successful call for
  189. error page would lead to a load(), that cleared the m_loadError.
  190. (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad): Remove reference
  191. to m_loadError and emit finished signal indicating error if ErrorPage extension
  192. doesn't handle it.
  193. (WebCore::FrameLoaderClientQt::dispatchDidFailLoad): Ditto.
  194. (WebCore::FrameLoaderClientQt::emitLoadStarted): Emit the loadStarted() signal
  195. for the QWebFrame, and if the originating load also do for the QWebPage.
  196. (WebCore::FrameLoaderClientQt::emitLoadFinished): Same as before but for
  197. loadFinished(). Take care to reset the originating load flag before the signals
  198. are emitted, since they might want to set it back again.
  199. * tests/qwebframe/tst_qwebframe.cpp:
  200. (URLSetter::URLSetter): Object that sets the url using either load() or setUrl()
  201. when a certain signal is emitted in the frame.
  202. (URLSetter::execute):
  203. (tst_QWebFrame::loadInSignalHandlers_data):
  204. (tst_QWebFrame::loadInSignalHandlers): New test inspired by the bug test case. This test
  205. crashes without this patch applied.
  206. 2011-07-25 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  207. [Qt] Add more tests to cover the behavior of loadFinished() signal
  208. https://bugs.webkit.org/show_bug.cgi?id=63490
  209. Reviewed by Benjamin Poulain.
  210. * tests/qwebframe/tst_qwebframe.cpp:
  211. (FakeReply::FakeReply):
  212. (FakeNetworkManager::createRequest): Add a fake reply that gives 404 error code.
  213. (tst_QWebFrame::loadFinishedAfterNotFoundError): Verify that we get loadFinished(false)
  214. after a 404 error without contents.
  215. * tests/qwebpage/tst_qwebpage.cpp:
  216. (tst_QWebPage::errorPageExtensionLoadFinished): Verify if the argument of loadFinished()
  217. is true when we use error page extension to produce our own error pages.
  218. 2011-07-12 Hui Huang <Hui.2.Huang@nokia.com>
  219. Reviewed by Laszlo Gombos.
  220. [Qt] Fix compiling errors with QtWebkit 2.2 WINSCW build.
  221. https://bugs.webkit.org/show_bug.cgi?id=64391
  222. (QtWebKit-2.2 only, patch not in webkit trunk)
  223. * symbian/bwins/QtWebKitu.def:
  224. 2011-07-19 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  225. [Qt] Improve documentation of QWebView::setPage()
  226. https://bugs.webkit.org/show_bug.cgi?id=64827
  227. Reviewed by Noam Rosenthal.
  228. * Api/qwebview.cpp: Use the word 'page' to refer to a QWebPage instead of 'document'.
  229. 2011-05-16 Robert Hogan <robert@webkit.org>
  230. Reviewed by Kenneth Rohde Christiansen.
  231. plugins/invalidate_rect.html fails on linux ports
  232. Add ChromeClientQt::allowsAcceleratedCompositing().
  233. https://bugs.webkit.org/show_bug.cgi?id=54051
  234. * WebCoreSupport/ChromeClientQt.cpp:
  235. (WebCore::ChromeClientQt::allowsAcceleratedCompositing):
  236. * WebCoreSupport/ChromeClientQt.h:
  237. 2011-07-01 Jade Han <jade.han@nokia.com>
  238. [Qt][Symbian] Update .def file for Symbian to build Tools
  239. https://bugs.webkit.org/show_bug.cgi?id=61200
  240. Reviewed by Laszlo Gombos.
  241. Add newly introduced symbols to fix building the Tools directory for Symbian.
  242. * symbian/eabi/QtWebKitu.def:
  243. 2011-06-30 Rafael Brandao <rafael.lobo@openbossa.org>
  244. Reviewed by Benjamin Poulain.
  245. [Qt] Fix tst_QWebFrame::renderGeometry() API test
  246. https://bugs.webkit.org/show_bug.cgi?id=63236
  247. This test required a security origin with granted permission to request local resources.
  248. By default, only local files can load local resources. So modified baseUrl to be a local file.
  249. * tests/qwebframe/tst_qwebframe.cpp:
  250. (tst_QWebFrame::renderGeometry):
  251. 2011-07-01 Jade Han <jade.han@nokia.com>
  252. Reviewed by Laszlo Gombos.
  253. [Qt][Symbian] Update .def file for Symbian
  254. https://bugs.webkit.org/show_bug.cgi?id=61200
  255. Add newly introduced symbols to fix the Symbian build.
  256. * symbian/eabi/QtWebKitu.def:
  257. 2011-06-30 Fabrizio Machado <fabrizio.machado@nokia.com>
  258. Reviewed by Benjamin Poulain.
  259. [Qt] QML Webview causes performance drops
  260. https://bugs.webkit.org/show_bug.cgi?id=57554
  261. Remove tiledBackingStoreEnabled from QML WebView.
  262. * declarative/qdeclarativewebview.cpp:
  263. (QDeclarativeWebView::setPage):
  264. 2011-06-29 Alexis Menard <alexis.menard@openbossa.org>
  265. Reviewed by Benjamin Poulain.
  266. [Qt] Add Qt dependencies in QtWebKit's main pro file.
  267. https://bugs.webkit.org/show_bug.cgi?id=63639
  268. syncqt, the script which generates the headers inside Qt parses
  269. the main pro file of QtWebKit to check the Qt dependencies. It used
  270. to be WebCore.pro but after the build reorganization QtWebKit.pro is
  271. the new main pro file so we need to add the network dependency just like
  272. we did in WebCore.pro.
  273. * QtWebKit.pro:
  274. 2011-06-23 Csaba Osztrogonác <ossy@webkit.org>
  275. Rubber-stamped by Andreas Kling.
  276. [Qt] Fix tst_QWebPage::showModalDialog() API test
  277. https://bugs.webkit.org/show_bug.cgi?id=63244
  278. [Qt] Fix tst_QWebPage::testStopScheduledPageRefresh() API test
  279. https://bugs.webkit.org/show_bug.cgi?id=63245
  280. * tests/qwebpage/tst_qwebpage.cpp: Mark failing test cases as expected fails.
  281. (tst_QWebPage::showModalDialog):
  282. (tst_QWebPage::testStopScheduledPageRefresh):
  283. 2011-06-28 Alexis Menard <alexis.menard@openbossa.org>
  284. Reviewed by Andreas Kling.
  285. [Qt] Use <QtX/x.h> style of headers for Qt tests which rely on it.
  286. https://bugs.webkit.org/show_bug.cgi?id=63562
  287. Some Qt auto-tests rely on <QtX/x.h> types of includes.
  288. * Api/qwebkitplatformplugin.h:
  289. * symbian/platformplugin/qwebkitplatformplugin.h:
  290. 2011-06-28 Alexis Menard <alexis.menard@openbossa.org>
  291. Reviewed by Andreas Kling.
  292. [Qt] Use QtQuick imports in Api tests rather than old deprecated Qt 4.x imports.
  293. https://bugs.webkit.org/show_bug.cgi?id=63533
  294. We need to use the new QtQuick 1.x imports rather than the old deprecated
  295. version.
  296. * tests/qdeclarativewebview/resources/webviewbackgroundcolor.qml:
  297. * tests/qdeclarativewebview/resources/webviewtest.qml:
  298. * tests/qdeclarativewebview/resources/webviewtestdefault.qml:
  299. 2011-06-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  300. Reviewed by Andreas Kling.
  301. [Qt] tst_QWebFrame::overloadedSlots() fails
  302. https://bugs.webkit.org/show_bug.cgi?id=37319
  303. * tests/qwebframe/tst_qwebframe.cpp:
  304. (tst_QWebFrame::overloadedSlots): Remove expected failure and
  305. fix the comment.
  306. 2011-06-27 Alexis Menard <alexis.menard@openbossa.org>
  307. Reviewed by Kenneth Rohde Christiansen.
  308. [Qt] Remove Phonon MediaPlayer from the tree.
  309. https://bugs.webkit.org/show_bug.cgi?id=63448
  310. Remove Phonon related stuff.
  311. * docs/qtwebkit.qdocconf:
  312. * qt_webkit_version.pri:
  313. 2011-06-23 Csaba Osztrogonác <ossy@webkit.org>
  314. Rubber-stamped by Andreas Kling.
  315. [Qt] Fix tst_QWebFrame::setHtmlWithResource() API test
  316. https://bugs.webkit.org/show_bug.cgi?id=63235
  317. [Qt] Fix tst_QWebFrame::renderGeometry() API test
  318. https://bugs.webkit.org/show_bug.cgi?id=63236
  319. [Qt] Fix tst_QWebFrame::setUrlWithPendingLoads() API test
  320. https://bugs.webkit.org/show_bug.cgi?id=63237
  321. * tests/qwebframe/tst_qwebframe.cpp: Mark failing test cases as expected fails until real fix.
  322. (tst_QWebFrame::setHtmlWithResource):
  323. (tst_QWebFrame::renderGeometry):
  324. 2011-06-23 Csaba Osztrogonác <ossy@webkit.org>
  325. Rubber-stamped by Andreas Kling.
  326. [Qt] Fix tst_QWebPage::showModalDialog() API test
  327. https://bugs.webkit.org/show_bug.cgi?id=63244
  328. [Qt] Fix tst_QWebPage::testStopScheduledPageRefresh() API test
  329. https://bugs.webkit.org/show_bug.cgi?id=63245
  330. * tests/qwebpage/tst_qwebpage.cpp: Mark failing test cases as expected fails.
  331. (tst_QWebPage::showModalDialog):
  332. (tst_QWebPage::testStopScheduledPageRefresh):
  333. 2011-06-23 Joe Wild <joseph.wild@nokia.com>
  334. Reviewed by Laszlo Gombos.
  335. [Qt] Export files under Symbian Qt WebKit build
  336. https://bugs.webkit.org/show_bug.cgi?id=61207
  337. Export files for the Symbian platform as this is needed by the
  338. production build system.
  339. Janne Koskinen provided the suggestion to use target_predeps,
  340. which is an improvement over the originally suggested patch.
  341. * QtWebKit.pro:
  342. 2011-06-23 Joe Wild <joseph.wild@nokia.com>
  343. Reviewed by Laszlo Gombos.
  344. [Qt] The Qt WebKit Symbian .def file needs to be updated so Symbian will build
  345. https://bugs.webkit.org/show_bug.cgi?id=61200
  346. Revert r87060 as it broke compatibility with QtWebKit 2.1 release
  347. and add some newly introduce symbols.
  348. * symbian/eabi/QtWebKitu.def:
  349. 2011-06-22 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
  350. Reviewed by Holger Freyther.
  351. [Qt] Fix Qt namespace on QDeclarativeWebView autotest
  352. https://bugs.webkit.org/show_bug.cgi?id=63147
  353. Applications (such as the test runner) are not supposed to be wrapped
  354. by {QT_BEGIN,QT_END}_NAMESPACE macros, otherwise building Qt (or
  355. QtWebKit) with a specific namespace won't work (will result in main
  356. being undefined).
  357. This was the only test wrapped by these macros, all others are fine.
  358. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: remove
  359. namespace macros.
  360. 2011-06-21 Yael Aharon <yael.aharon@nokia.com>
  361. Reviewed by Andreas Kling.
  362. [Qt] Regression(60942) wrong default action for drag-and-drop.
  363. https://bugs.webkit.org/show_bug.cgi?id=63004
  364. Added special handling for the case that dragOperation is not initialized.
  365. Save the last dropOperation and pass it to the dropEvent, so that it can
  366. be accepted by QDrag.
  367. Call event->accepted() and not event->acceptProposedAction(), because the
  368. later ignores the dropAction specified in JavaScript.
  369. Tested with the test page attached to https://bugs.webkit.org/show_bug.cgi?id=40401
  370. and did not see any issue.
  371. Also manually tested all combinations of LayoutTests/fast/events/drag-and-drop.html
  372. and they all pass.
  373. * Api/qwebpage.cpp:
  374. (dropActionToDragOp):
  375. (QWebPagePrivate::dragMoveEvent):
  376. (QWebPagePrivate::dropEvent):
  377. 2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
  378. Unreviewed, rolling out r88796.
  379. http://trac.webkit.org/changeset/88796
  380. https://bugs.webkit.org/show_bug.cgi?id=62790
  381. It made fast/dom/nodesFromRect-basic.html time out on Qt,
  382. 64-bit, debug mode (Requested by Ossy on #webkit).
  383. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  384. (DumpRenderTreeSupportQt::plainText):
  385. (DumpRenderTreeSupportQt::nodesFromRect):
  386. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  387. * tests/qwebframe/tst_qwebframe.cpp:
  388. (tst_QWebFrame::overloadedSlots):
  389. (tst_QWebFrame::domCycles):
  390. 2011-06-17 Alexis Menard <alexis.menard@openbossa.org>
  391. Reviewed by Andreas Kling.
  392. [Qt] Fix wrong framework generation on MacOS when inside Qt 4.8.
  393. https://bugs.webkit.org/show_bug.cgi?id=62815
  394. Partially revert r85870 which assumed that QtWebKit will never be build inside Qt
  395. anymore. Everything inside !QTDIR_build condition is not needed in the Qt tree because
  396. qbase.pri is doing the job for us, i.e. using includes generated by syncqt to
  397. setup the mac framework. It also use a correct QMAKE_LFLAGS_SONAME making possible
  398. to actually run an application linked against QtWebKit.
  399. * QtWebKit.pro:
  400. 2011-06-15 Diego Gonzalez <diegohcg@webkit.org>
  401. Reviewed by Kenneth Rohde Christiansen.
  402. [Qt] Inconsistent behavior on a form submit request...
  403. https://bugs.webkit.org/show_bug.cgi?id=45523
  404. The inconsistency occurs when a form submission requests a new window.
  405. Two windows are opened (instead of only one) and the first window is opened
  406. as a blank page.
  407. By default each page is put into their own unique page group, which affects popup windows
  408. and visited links. Page groups (per process only) is a feature making it possible to use
  409. separate settings for each group, so that for instance an integrated browser/email reader
  410. can use different settings for displaying HTML pages and HTML email. To make QtWebKit work
  411. as expected out of the box, we use a default group similar to what other ports are doing.
  412. * Api/qwebpage.cpp:
  413. 2011-06-14 Andreas Kling <kling@webkit.org>
  414. Reviewed by Benjamin Poulain.
  415. [Qt] Don't include convenience "QWebFoo" headers in WebKit code.
  416. https://bugs.webkit.org/show_bug.cgi?id=62632
  417. * WebCoreSupport/FrameNetworkingContextQt.cpp:
  418. 2011-06-14 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  419. Reviewed by Andreas Kling.
  420. [Qt] tst_QWebFrame::overloadedSlots() fails
  421. https://bugs.webkit.org/show_bug.cgi?id=37319
  422. Since the implicit conversion was removed, change support functions of DRT to
  423. expect a QVariantMap instead of a QWebElement. This matches the exposed function
  424. in the controller, which takes 'document' and not 'document.documentElement'.
  425. And now that Element -> QWebElement is a perfect match, we must use QWebElement
  426. instead of QVariantMap, like in plainText().
  427. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  428. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  429. (DumpRenderTreeSupportQt::plainText): Fix to use QWebElement instead of
  430. QVariantMap when getting the startContainer. Also use QVariantMap directly,
  431. bridge will do conversion for us now.
  432. (getCoreDocumentFromVariantMap): Extracts the WebCore::Document* from the
  433. QVariantMap that Qt bridge gives us when 'document' is passed from JS.
  434. (DumpRenderTreeSupportQt::nodesFromRect): Use helper function.
  435. * tests/qwebframe/tst_qwebframe.cpp: Splitted the test domCycles() into two
  436. different tests. In practice, the original test just checked whether we could
  437. create a QVariantMap representing 'document' without infinite looping due to
  438. cycles in the DOM. This was more evident before since we haven't a conversion
  439. from JSElement to QWebElement, but from JSElement to QVariantMap.
  440. (tst_QWebFrame::documentHasDocumentElement): Evaluates 'document' and extracts
  441. 'documentElement' from it. Compares to QWebFrame::documentElement().
  442. (tst_QWebFrame::documentAllHasDocumentElement): Look inside 'document.all' for
  443. the documentElement.
  444. (tst_QWebFrame::overloadedSlots): Remove expected failure and fix wrong comment.
  445. 2011-06-10 Andreas Kling <kling@webkit.org>
  446. Reviewed by Benjamin Poulain.
  447. [Qt] Fix 'headers' autotest when building inside Qt.
  448. https://bugs.webkit.org/show_bug.cgi?id=62449
  449. * Api/qwebkitplatformplugin.h:
  450. 2011-06-09 Andras Becsi <abecsi@webkit.org>
  451. Reviewed by Andreas Kling.
  452. [Qt] Fix the in-tree build on Linux
  453. https://bugs.webkit.org/show_bug.cgi?id=62378
  454. In case of an in-tree build qmake generates defect prl dependencies for
  455. the QtWebKit library, because the inclusion of qtbase.pri adds explicitlib to CONFIG.
  456. * QtWebKit.pro: Remove explicitlib and staticlib from CONFIG.
  457. 2011-06-08 Andreas Kling <kling@webkit.org>
  458. Reviewed by Benjamin Poulain.
  459. [Qt] FrameLoaderClient: Check Vector::find() return value for WTF::notFound.
  460. https://bugs.webkit.org/show_bug.cgi?id=62274
  461. Vector::find() returns size_t (which is unsigned), so we should check
  462. for WTF::notFound instead of -1.
  463. * WebCoreSupport/FrameLoaderClientQt.cpp:
  464. (WebCore::FrameLoaderClientQt::createPlugin):
  465. 2011-06-07 Aravind Akella <aravind.akella@nokia.com>
  466. Reviewed by Laszlo Gombos.
  467. [Qt][Symbian] API test failure qdeclarativewebview
  468. https://bugs.webkit.org/show_bug.cgi?id=59481
  469. QML files cannot be loaded on Symbian due to difference
  470. in capabilities between qmlwebkitplugin.dll and Qtwebkit.dll.
  471. A PlatSec error that Qtwebkit.dll has "DRM AllFiles" capabilities
  472. missing is observed when dynamically loading the QML plugin.
  473. * declarative/declarative.pro: Match capabilities in QtWebKit.pro.
  474. * symbian/platformplugin/platformplugin.pro: Match capabilities with the other 2 DLLs.
  475. Also remove TARGET.VID from platformplugin, as it's not used in any other Qt WebKit DLL,
  476. and causes build warnings about undefined VENDOR_VID.
  477. * tests/tests.pri: Add WriteDeviceData capability for API tests.
  478. 2011-06-03 Rafael Brandao <rafael.lobo@openbossa.org>
  479. Reviewed by Andreas Kling.
  480. [Qt] It made two Qt API tests fail
  481. https://bugs.webkit.org/show_bug.cgi?id=58847
  482. Modified failing test's base url so it could get a valid origin
  483. and make use of local storage. Also added another test that checks
  484. local storage visibility in both scenarios.
  485. * tests/qwebpage/tst_qwebpage.cpp:
  486. (tst_QWebPage::testOptionalJSObjects):
  487. (checkLocalStorageVisibility):
  488. (tst_QWebPage::testLocalStorageVisibility):
  489. 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
  490. Reviewed by Andreas Kling.
  491. [Qt] Warning fixes on comparisons between a signed and an unsigned.
  492. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  493. (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo):
  494. (DumpRenderTreeSupportQt::nodesFromRect):
  495. 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
  496. Reviewed by Andreas Kling.
  497. To support building namespaced Qt, we require that forward-declarations
  498. of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.
  499. * WebCoreSupport/FrameLoaderClientQt.h:
  500. 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
  501. Unreviewed build fix after r87902.
  502. To support building namespaced Qt, we require that forward-declarations
  503. of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE but
  504. only on classes inside Qt.
  505. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  506. 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
  507. Reviewed by Benjamin Poulain.
  508. Some warning fixes. Values in switch not handled, and
  509. a comparison between a signed and an unsigned.
  510. * Api/qwebpage.cpp:
  511. (QWebPagePrivate::inputMethodEvent):
  512. (QWebPagePrivate::dynamicPropertyChangeEvent):
  513. (QWebPage::action):
  514. 2011-05-26 Alexis Menard <alexis.menard@openbossa.org>
  515. Unreviewed build fix for Qt and QuickTime backend.
  516. r87328 added a new system interface, we need to add it too.
  517. * WebCoreSupport/WebSystemInterface.mm:
  518. (InitWebCoreSystemInterface):
  519. 2011-05-25 Alexis Menard <alexis.menard@openbossa.org>
  520. Reviewed by Eric Carlson.
  521. [Qt] Enable usage of QuickTime mediaplayer for the Qt port on Mac.
  522. https://bugs.webkit.org/show_bug.cgi?id=61279
  523. Enable the usage of QuickTime backend for the Qt port. It can be enabled by
  524. passing DEFINES+=USE_QTKIT=1 when calling build-webkit.
  525. * Api/qwebpage.cpp:
  526. (QWebPagePrivate::QWebPagePrivate):
  527. * QtWebKit.pro:
  528. * WebCoreSupport/FullScreenVideoQt.cpp:
  529. (WebCore::FullScreenVideoQt::enterFullScreenForNode):
  530. (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
  531. (WebCore::FullScreenVideoQt::isValid):
  532. * WebCoreSupport/WebSystemInterface.h: Added.
  533. * WebCoreSupport/WebSystemInterface.mm: Added.
  534. (InitWebCoreSystemInterface):
  535. 2011-06-02 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  536. Reviewed by Andreas Kling.
  537. [Qt] Fix enum order in qwebpage.h public API header
  538. https://bugs.webkit.org/show_bug.cgi?id=61959
  539. Since qwebpage.h is a public header, we can't change the values of
  540. the enumerations. This patch moves the new enumeration to the end
  541. of the list. As a bonus, adds a missing entry in
  542. editorCommandWebActions table.
  543. * Api/qwebpage.cpp:
  544. * Api/qwebpage.h:
  545. 2011-06-02 Andreas Kling <kling@webkit.org>
  546. Rubber-stamped by Simon Hausmann.
  547. Remove Qt's precompiled header hack as it was broken, and was not even
  548. used unless building WebKit inside a Qt tree.
  549. * WebKit_pch.h: Removed.
  550. 2011-06-01 Andreas Kling <kling@webkit.org>
  551. Reviewed by Benjamin Poulain.
  552. REGRESSION: [Qt] QNetworkReply delivered by the unsupportedContent() signal does not contain downloaded data
  553. https://bugs.webkit.org/show_bug.cgi?id=49650
  554. Defer emission of QWebPage::unsupportedContent() until we're back in the event loop.
  555. This lets the QNAM backend finish with the reply without handing over ownership to the user code.
  556. No new tests since this doesn't fail for qrc:// or file:// URLs and our tests can't depend on http:// URLs.
  557. To correctly solve this issue, we need changes to Qt, tracked here:
  558. http://bugreports.qt.nokia.com/browse/QTBUG-18718
  559. * WebCoreSupport/FrameLoaderClientQt.cpp:
  560. (WebCore::FrameLoaderClientQt::setFrame):
  561. (WebCore::FrameLoaderClientQt::download):
  562. * WebCoreSupport/FrameLoaderClientQt.h:
  563. 2011-06-02 Andreas Kling <kling@webkit.org>
  564. Unreviewed build fix.
  565. To support building namespaced Qt, we require that forward-declarations
  566. of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.
  567. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  568. 2011-06-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  569. Reviewed by Kenneth Rohde Christiansen.
  570. [Qt]Fix tst_QWebFrame::setUrlToInvalid() autotest after r84762
  571. https://bugs.webkit.org/show_bug.cgi?id=59345
  572. KURL and QUrl disagree whether certain URLs are valid or not. The regression here
  573. was caused by the fact that now KURL accepts "http:/example.com" (note only one
  574. slash) and our test case used a strange edge case that's transformed into a
  575. "one-slash" URL that now KURL can handle.
  576. QtWebKit approach in this case is to do a best effort and accept the QUrl if KURL
  577. can understand it. So I've updated the test to use a more meaningful example and
  578. show that an invalid URL gets converted to a valid URL if possible.
  579. * tests/qwebframe/tst_qwebframe.cpp:
  580. (tst_QWebFrame::setUrlToInvalid):
  581. 2011-06-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  582. Reviewed by Tor Arne Vestbø.
  583. [Qt] Rewrite tst_QDeclarativeWebView::multipleWindows() to not depend on Grid internals
  584. https://bugs.webkit.org/show_bug.cgi?id=61739
  585. The skipped test was imported from Qt source repository, and used private headers
  586. to peek in the QML Grid element. This patch changes the QML used to expose the
  587. information we want to test: number of pages opened and the first page opened.
  588. * tests/qdeclarativewebview/resources/newwindows.html:
  589. Added <body> tags. We have no reason to not use them in the test.
  590. * tests/qdeclarativewebview/resources/newwindows.qml:
  591. Moved the timer out of the page component, used anchors for setting webview size,
  592. changed the way we count pages opened. Also changed coding style a bit.
  593. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  594. (tst_QDeclarativeWebView::multipleWindows):
  595. We now look for properties with the information we want in the rootItem: pagesOpened and
  596. firstPageOpened.
  597. 2011-05-31 Rafael Brandao <rafael.lobo@openbossa.org>
  598. Reviewed by Andreas Kling.
  599. [Qt] tst_QWebFrame::render() failing
  600. https://bugs.webkit.org/show_bug.cgi?id=60893
  601. The test was expecting the frame contents to be already loaded
  602. before rendering it into a QPicture. Renamed the test to fit
  603. its real purpose more accordingly.
  604. * tests/qwebframe/tst_qwebframe.cpp:
  605. (tst_QWebFrame::renderGeometry):
  606. 2011-05-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  607. Reviewed by Andreas Kling.
  608. [Qt] Fix unnecessary wait in API autotest tst_QWebFrame::scrollbarsOff
  609. https://bugs.webkit.org/show_bug.cgi?id=61711
  610. The loadFinished() signal was emitted directly inside the call for setHtml, so
  611. the test was waiting the loadFinished() signal with a big timeout. Change this by
  612. a very small timeout and a verification with signal spy.
  613. In practice, setHtml() will either directly call loadFinished() or queue it to
  614. the next event loop run, and test will work for both situations.
  615. * tests/qwebframe/tst_qwebframe.cpp:
  616. (tst_QWebFrame::scrollbarsOff):
  617. 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
  618. Reviewed by Benjamin Poulain.
  619. [Qt] tst_QWebElement::style() fails because QWebElement::InlineStyle doesn't work as expected
  620. https://bugs.webkit.org/show_bug.cgi?id=60372
  621. * tests/qwebelement/tst_qwebelement.cpp: Mark failing test case as expected fail.
  622. (tst_QWebElement::style):
  623. 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
  624. Reviewed by Benjamin Poulain.
  625. [Qt] Fix tst_QDeclarativeWebView::basicProperties() and historyNav() autotests
  626. https://bugs.webkit.org/show_bug.cgi?id=61042
  627. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Mark failing test cases as expected fails.
  628. (tst_QDeclarativeWebView::basicProperties):
  629. (tst_QDeclarativeWebView::historyNav):
  630. 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
  631. Reviewed by Benjamin Poulain.
  632. [Qt] Fix tst_QWebPage::testOptionalJSObjects() autotest
  633. https://bugs.webkit.org/show_bug.cgi?id=61045
  634. * tests/qwebpage/tst_qwebpage.cpp:
  635. (tst_QWebPage::testOptionalJSObjects): Mark failing test cases as expected fails.
  636. 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
  637. Reviewed by Benjamin Poulain.
  638. [Qt]Fix tst_QWebFrame::setUrlToInvalid() autotest after r84762
  639. https://bugs.webkit.org/show_bug.cgi?id=59345
  640. * tests/qwebframe/tst_qwebframe.cpp:
  641. (tst_QWebFrame::setUrlToInvalid): Mark failing test cases as expected fails.
  642. 2011-05-10 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
  643. Reviewed by Csaba Osztrogonác.
  644. [Qt] tst_QWebPage creates temporary files in the current working dir
  645. https://bugs.webkit.org/show_bug.cgi?id=60497
  646. tst_QWebPage was using QDir::currentPath when creating temporary dirs
  647. and leaving them after the test was run. I basically borrowed the fix
  648. from tst_QDeclarativeWebView.
  649. * tests/qwebpage/tst_qwebpage.cpp:
  650. (removeRecursive):
  651. (tst_QWebPage::tmpDirPath):
  652. (tst_QWebPage::cleanupFiles):
  653. (tst_QWebPage::database):
  654. (tst_QWebPage::multiplePageGroupsAndLocalStorage):
  655. 2011-05-27 Alexis Menard <alexis.menard@openbossa.org>
  656. Reviewed by Csaba Osztrogonác.
  657. [Qt] Fix tst_QGraphicsWebView::setPalette(inactiveBG) autotest
  658. https://bugs.webkit.org/show_bug.cgi?id=61044
  659. Make sure to set the active window on the application too.
  660. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  661. (tst_QGraphicsWebView::setPalette):
  662. 2011-05-23 Luiz Agostini <luiz.agostini@openbossa.org>
  663. Reviewed by Andreas Kling.
  664. [Qt] When opening a combo-box the popup renders badly.
  665. https://bugs.webkit.org/show_bug.cgi?id=61288
  666. Removing combobox palette changes from QtFallbackWebPopup::show() because they
  667. are causing rendering problems for some styles.
  668. The changes in palette are not needed because the background and foreground
  669. colors are already set by QStandardItem::setBackground() and QStandardItem::setForeground()
  670. in method QtFallbackWebPopup::populate().
  671. * WebCoreSupport/QtFallbackWebPopup.cpp:
  672. (WebCore::QtFallbackWebPopup::show):
  673. 2011-05-23 Joe Wild <joseph.wild@nokia.com>
  674. Reviewed by Andreas Kling.
  675. [Qt] The Qt WebKit Symbian .def file needs to be updated so Symbian will build
  676. https://bugs.webkit.org/show_bug.cgi?id=61200
  677. * symbian/eabi/QtWebKitu.def:
  678. 2011-05-22 Hui Huang <hui.2.huang@nokia.com>, Yi Shen <yi.4.shen@nokia.com>
  679. Reviewed by Laszlo Gombos.
  680. [Qt] Upstream Symbian platform plugin
  681. https://bugs.webkit.org/show_bug.cgi?id=58435
  682. Upstream Symbian platform plugin with html5 video player.
  683. * symbian/platformplugin/HTML5VideoPlugin.cpp: Added.
  684. (HTML5FullScreenVideoHandler::HTML5FullScreenVideoHandler):
  685. (HTML5FullScreenVideoHandler::enterFullScreen):
  686. (HTML5FullScreenVideoHandler::exitFullScreen):
  687. (HTML5FullScreenVideoHandler::onPlayerError):
  688. (HTML5FullScreenVideoHandler::onPlayerStateChanged):
  689. (HTML5FullScreenVideoHandler::onMediaStatusChanged):
  690. (HTML5VideoPlugin::supportsExtension):
  691. (HTML5VideoPlugin::createExtension):
  692. * symbian/platformplugin/HTML5VideoPlugin.h: Added.
  693. (HTML5FullScreenVideoHandler::requiresFullScreenForVideoPlayback):
  694. (HTML5FullScreenVideoHandler::isFullScreen):
  695. (HTML5FullScreenVideoHandler::updateScreenRect):
  696. * symbian/platformplugin/HTML5VideoWidget.cpp: Added.
  697. (HTML5VideoWidget::HTML5VideoWidget):
  698. (HTML5VideoWidget::setDuration):
  699. (HTML5VideoWidget::mousePressEvent):
  700. (HTML5VideoWidget::onPlayerStopped):
  701. (HTML5VideoWidget::onPlayerError):
  702. (HTML5VideoWidget::onEndOfMedia):
  703. (HTML5VideoWidget::onBufferingMedia):
  704. (HTML5VideoWidget::onBufferedMedia):
  705. (HTML5VideoWidget::onControlClicked):
  706. (HTML5VideoWidget::onPositionChanged):
  707. (HTML5VideoWidget::onSliderMoved):
  708. (HTML5VideoWidget::onCloseClicked):
  709. (HTML5VideoWidget::showFullScreen):
  710. (HTML5VideoWidget::setVolume):
  711. * symbian/platformplugin/HTML5VideoWidget.h: Added.
  712. * symbian/platformplugin/OverlayWidget.cpp: Added.
  713. (OverlayWidget::OverlayWidget):
  714. (OverlayWidget::~OverlayWidget):
  715. (OverlayWidget::setDuration):
  716. (OverlayWidget::setPosition):
  717. (OverlayWidget::setVolume):
  718. (OverlayWidget::mousePressEvent):
  719. (OverlayWidget::onPlayerStopped):
  720. (OverlayWidget::onPlayerError):
  721. (OverlayWidget::onEndOfMedia):
  722. (OverlayWidget::onBufferingMedia):
  723. (OverlayWidget::onBufferedMedia):
  724. (OverlayWidget::timeToString):
  725. (OverlayWidget::applyStyleSheet):
  726. (OverlayWidget::onControlClicked):
  727. (OverlayWidget::onSliderMoved):
  728. (OverlayWidget::onSoundClicked):
  729. (OverlayWidget::onCloseClicked):
  730. (OverlayWidget::onVolumeSliderReleased):
  731. (OverlayWidget::onVolumeSliderMoved):
  732. (OverlayWidget::onTimerTimeout):
  733. (OverlayWidget::showFullScreen):
  734. * symbian/platformplugin/OverlayWidget.h: Added.
  735. * symbian/platformplugin/PlayerButton.cpp: Added.
  736. (PlayerButton::PlayerButton):
  737. (PlayerButton::event):
  738. * symbian/platformplugin/PlayerButton.h: Added.
  739. * symbian/platformplugin/PlayerLabel.cpp: Added.
  740. (PlayerLabel::PlayerLabel):
  741. (PlayerLabel::onPlayerError):
  742. (PlayerLabel::startBufferingAnimation):
  743. (PlayerLabel::stopBufferingAnimation):
  744. (PlayerLabel::onAnimationTimeout):
  745. * symbian/platformplugin/PlayerLabel.h: Added.
  746. * symbian/platformplugin/WebPlugin.cpp:
  747. (WebPlugin::createExtension):
  748. * symbian/platformplugin/images: Added.
  749. * symbian/platformplugin/images/button_cannotplay.png: Added.
  750. * symbian/platformplugin/images/button_close.png: Added.
  751. * symbian/platformplugin/images/button_pause.png: Added.
  752. * symbian/platformplugin/images/button_play.png: Added.
  753. * symbian/platformplugin/images/button_sound_off.png: Added.
  754. * symbian/platformplugin/images/button_sound_on.png: Added.
  755. * symbian/platformplugin/images/loading_buffering_1.png: Added.
  756. * symbian/platformplugin/images/loading_buffering_2.png: Added.
  757. * symbian/platformplugin/images/loading_buffering_3.png: Added.
  758. * symbian/platformplugin/images/loading_buffering_4.png: Added.
  759. * symbian/platformplugin/platformplugin.pro:
  760. * symbian/platformplugin/platformplugin.qrc: Added.
  761. * symbian/platformplugin/qss: Added.
  762. * symbian/platformplugin/qss/OverlayWidget.qss: Added.
  763. 2011-05-18 Yi Shen <yi.4.shen@nokia.com>
  764. Reviewed by Andreas Kling.
  765. [Qt] Enterkey to go to Newline does not work in the text area(in HTML form)
  766. https://bugs.webkit.org/show_bug.cgi?id=33179
  767. Remove the implementation of the handleInputMethodKeydown, which introduces
  768. a regression(r82243) on Linux. Also, add more Api tests for the EnterKey event.
  769. * WebCoreSupport/EditorClientQt.cpp:
  770. (WebCore::EditorClientQt::handleInputMethodKeydown): Remove implementation.
  771. * tests/qwebpage/tst_qwebpage.cpp:
  772. (tst_QWebPage::inputMethods): Add more tests.
  773. 2011-05-17 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  774. Reviewed by Andreas Kling.
  775. [Qt] Simplify syntax in test code to make prepare-ChangeLog less confused
  776. https://bugs.webkit.org/show_bug.cgi?id=60978
  777. Backslash to escape newlines was confusing both prepare-ChangeLog and the
  778. QtCreator highlight system.
  779. * tests/qwebframe/tst_qwebframe.cpp:
  780. (tst_QWebFrame::evalJSV):
  781. Remove usage of backslash to escape newlines in string literal.
  782. 2011-05-16 Andreas Kling <kling@webkit.org>
  783. Reviewed by Kenneth Rohde Christiansen.
  784. REGRESSION(r83820): [Qt] Accelerated compositing no longer works in QGraphicsWebView.
  785. https://bugs.webkit.org/show_bug.cgi?id=60892
  786. Don't set the ItemClipsChildrenToShape flag for the root platform layer,
  787. since that is now the overflow controls layer. The clip layer, which was
  788. previously the root platform layer, already gets the flag by way of
  789. the GraphicsLayer mask-to-bounds flag.
  790. * WebCoreSupport/PageClientQt.cpp:
  791. (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
  792. 2011-05-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  793. Reviewed by nobody, build fix.
  794. [Qt] Fix build on MSVC.
  795. qobject_cast<> requires the class to be exported on MSVC,
  796. removing it since the code that needs it is commented out for
  797. the same reason.
  798. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  799. (tst_QDeclarativeWebView::elementAreaAt):
  800. 2011-05-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  801. Reviewed by nobody, build fix.
  802. [Qt] Fix build on MSVC by only enabling tst_MIMESniffing on linux.
  803. * tests/tests.pro:
  804. 2011-05-05 Prasanth Ullattil <prasanth.ullattil@nokia.com>
  805. Reviewed by Simon Hausmann.
  806. Install correct header files for webkit.
  807. Since WebKit is no longer inside Qt, we can remove the detection for
  808. that.
  809. [Qt] Install targets are not working correctly for modularized Qt and QtWebkit
  810. https://bugs.webkit.org/show_bug.cgi?id=57621
  811. * QtWebKit.pro:
  812. 2011-05-05 Alexis Menard <alexis.menard@openbossa.org>
  813. Reviewed by Andreas Kling.
  814. [Qt] RenderThemeQt and DumpRenderTreeSupportQt should use nullptr rather than 0.
  815. https://bugs.webkit.org/show_bug.cgi?id=60224
  816. We should use nullptr rather than 0. nullptr will be added in the new C++ standard
  817. but WebKit already has a nullptr class if there is no c++0x support.
  818. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  819. (DumpRenderTreeSupportQt::addUserStyleSheet):
  820. 2011-05-04 Cris Neckar <cdn@chromium.org>
  821. Reviewed by Adam Barth.
  822. Expose WebView directly through ChromeClient.
  823. https://bugs.webkit.org/show_bug.cgi?id=49902
  824. * WebCoreSupport/ChromeClientQt.h:
  825. (WebCore::ChromeClientQt::webView):
  826. 2011-05-04 Alexis Menard <alexis.menard@openbossa.org>
  827. Unreviewed warning fix.
  828. The variable is just unused.
  829. * tests/qwebpage/tst_qwebpage.cpp:
  830. (tst_QWebPage::inputMethods):
  831. 2011-05-04 Tao Bai <michaelbai@chromium.org>
  832. Reviewed by David Kilzer.
  833. Populate touch-icon url to FrameLoaderClient
  834. https://bugs.webkit.org/show_bug.cgi?id=59143
  835. Respect the interface change in FrameLoaderClient.
  836. * WebCoreSupport/FrameLoaderClientQt.cpp:
  837. (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
  838. * WebCoreSupport/FrameLoaderClientQt.h:
  839. 2011-03-31 Luiz Agostini <luiz.agostini@openbossa.org>
  840. Reviewed by Kenneth Rohde Christiansen.
  841. [Qt] Qt WebKit updates view on HTTP 204 response
  842. https://bugs.webkit.org/show_bug.cgi?id=42529
  843. Ignoring http responses which have status code equal to 204 (No Content)
  844. or 205 (Reset Content).
  845. * WebCoreSupport/FrameLoaderClientQt.cpp:
  846. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
  847. 2011-05-04 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  848. Reviewed by Benjamin Poulain.
  849. [Qt] Fix signals emitted in FakeReply used in autotests
  850. https://bugs.webkit.org/show_bug.cgi?id=60049
  851. The signals emitted for each case of FakeReply were swapped (error case
  852. emitting metaDataChanged() and redirect case emitting error()). Emitting
  853. readyRead() is not necessary.
  854. * tests/qwebframe/tst_qwebframe.cpp:
  855. (FakeReply::FakeReply):
  856. Choose the different continue function for each case of FakeReply. This removes
  857. the need of the if-statement in timeout() and let us replace timeout() with two
  858. simpler functions.
  859. (FakeReply::continueRedirect):
  860. (FakeReply::continueError):
  861. Continuation cases, emitting the minimal set of signals needed for each case.
  862. 2011-05-03 Julien Chaffraix <jchaffraix@codeaurora.org>
  863. Reviewed by Dimitri Glazkov.
  864. Element:shadowRoot & Element::ensureShadowRoot should return ShadowRoot*
  865. https://bugs.webkit.org/show_bug.cgi?id=58703
  866. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  867. (DumpRenderTreeSupportQt::shadowRoot): Added #include for ShadowRoot.h.
  868. 2011-05-03 Keith Kyzivat <keith.kyzivat@nokia.com>
  869. Reviewed by Andreas Kling.
  870. [Qt] QtDeclarative Webview element has a fixed white background
  871. https://bugs.webkit.org/show_bug.cgi?id=40918
  872. QProperty REVISION feature is not present in certain Qt Trunk clones.
  873. These builds report their version as 4.8.0, and therefore break on the
  874. prior #if QT_VERSION >= 0x040704. The proper fix is to check based on
  875. the existance of Q_REVISION.
  876. * declarative/plugin.cpp:
  877. (WebKitQmlPlugin::registerTypes):
  878. * declarative/qdeclarativewebview.cpp:
  879. * declarative/qdeclarativewebview_p.h:
  880. 2011-05-01 Sam Weinig <sam@webkit.org>
  881. Reviewed by Anders Carlsson.
  882. Prune some unnecessary #includes
  883. https://bugs.webkit.org/show_bug.cgi?id=59895
  884. Start getting rid of unnecessary #includes and forward declares.
  885. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  886. 2011-04-29 Csaba Osztrogonác <ossy@webkit.org>
  887. Reviewed by Adam Barth.
  888. Enable strict OwnPtr for Qt
  889. https://bugs.webkit.org/show_bug.cgi?id=59667
  890. * Api/qwebpage.cpp:
  891. (QWebPagePrivate::QWebPagePrivate):
  892. 2011-04-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  893. Reviewed by Simon Hausmann.
  894. ENABLE(QT_BEARER) -> USE(QT_BEARER)
  895. * Api/qwebsettings.cpp:
  896. 2011-04-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  897. Reviewed by Simon Hausmann.
  898. ENABLE(QT_USERAGENT_DEVICEMODEL) -> USE(QT_MOBILITY_SYSTEMINFO)
  899. * Api/qwebpage.cpp:
  900. 2011-04-28 Yael Aharon <yael.aharon@nokia.com>
  901. Reviewed by Andreas Kling.
  902. Remove flag ENABLE_SYMBIAN_DIALOG_PROVIDER
  903. https://bugs.webkit.org/show_bug.cgi?id=59704
  904. * WebCoreSupport/QtFallbackWebPopup.cpp:
  905. (WebCore::QtFallbackWebPopup::show):
  906. * WebCoreSupport/QtFallbackWebPopup.h:
  907. 2011-04-27 Yi Shen <yi.4.shen@nokia.com>
  908. Reviewed by Kenneth Rohde Christiansen.
  909. [Qt] Upstream Symbian platform plugin
  910. https://bugs.webkit.org/show_bug.cgi?id=58435
  911. Upstream Symbian platform plugin.
  912. * QtWebKit.pro: Add platformplugin.dll to the QtWebKit.sis.
  913. * symbian/platformplugin: Added.
  914. * symbian/platformplugin/WebPlugin.cpp: Added.
  915. (ItemListDelegate::ItemListDelegate):
  916. (ItemListDelegate::paint):
  917. (Popup::Popup):
  918. (Popup::resizeEvent):
  919. (Popup::populateList):
  920. (Popup::onItemSelected):
  921. (Popup::updateSelectionsBeforeDialogClosing):
  922. (Popup::updateAndClose):
  923. (WebPopup::WebPopup):
  924. (WebPopup::~WebPopup):
  925. (WebPopup::createSingleSelectionPopup):
  926. (WebPopup::createMultipleSelectionPopup):
  927. (WebPopup::createPopup):
  928. (WebPopup::show):
  929. (WebPopup::hide):
  930. (WebPopup::popupClosed):
  931. (WebPopup::itemClicked):
  932. (SingleSelectionPopup::SingleSelectionPopup):
  933. (MultipleSelectionPopup::MultipleSelectionPopup):
  934. (WebNotificationPresenter::showNotification):
  935. (WebPlugin::supportsExtension):
  936. (WebPlugin::createExtension):
  937. * symbian/platformplugin/WebPlugin.h: Added.
  938. (Popup::preSelectedIndices):
  939. (Popup::listWidget):
  940. (WebNotificationPresenter::WebNotificationPresenter):
  941. (WebNotificationPresenter::~WebNotificationPresenter):
  942. * symbian/platformplugin/platformplugin.pro: Added.
  943. * symbian/platformplugin/qwebkitplatformplugin.h: Copied from WebKit/qt/Api/qwebkitplatformplugin.h.
  944. (QWebSelectData::~QWebSelectData):
  945. (QWebSelectMethod::~QWebSelectMethod):
  946. (QWebNotificationData::~QWebNotificationData):
  947. (QWebNotificationPresenter::QWebNotificationPresenter):
  948. (QWebNotificationPresenter::~QWebNotificationPresenter):
  949. (QWebTouchModifier::~QWebTouchModifier):
  950. (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
  951. (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
  952. (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
  953. 2011-04-26 Yi Shen <yi.4.shen@nokia.com>
  954. Reviewed by Tor Arne Vestbø.
  955. [Qt][Symbian] Fix Api test failure -- tst_QWebFrame::setHtmlWithBaseURL
  956. https://bugs.webkit.org/show_bug.cgi?id=56946
  957. Deployed the missing resource for Symbian platform.
  958. * tests/qwebframe/qwebframe.pro:
  959. 2011-04-26 Siddharth Mathur <siddharth.mathur@nokia.com>
  960. Reviewed by Andreas Kling.
  961. [Qt] Build fix: QtDeclarative Webview element has a fixed white background
  962. https://bugs.webkit.org/show_bug.cgi?id=40918
  963. Macro Q_REVISION and associated qdeclarativeitem.h signals are not available in 4.7.3 headers in Nokia Qt SDK.
  964. * declarative/plugin.cpp: Bump up required version to 4.7.4+
  965. (WebKitQmlPlugin::registerTypes):
  966. * declarative/qdeclarativewebview.cpp: ditto
  967. * declarative/qdeclarativewebview_p.h: ditto
  968. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: ditto
  969. 2011-04-26 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
  970. Reviewed by Csaba Osztrogonác.
  971. [Qt] Implement LayoutTestController::setAutofilled
  972. https://bugs.webkit.org/show_bug.cgi?id=59439
  973. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  974. (DumpRenderTreeSupportQt::setAutofilled):
  975. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  976. 2011-04-22 Sheriff Bot <webkit.review.bot@gmail.com>
  977. Unreviewed, rolling out r84627.
  978. http://trac.webkit.org/changeset/84627
  979. https://bugs.webkit.org/show_bug.cgi?id=59271
  980. It broke Symbian build (Requested by Ossy on #webkit).
  981. * QtWebKit.pro:
  982. * symbian/platformplugin/WebPlugin.cpp: Removed.
  983. * symbian/platformplugin/WebPlugin.h: Removed.
  984. * symbian/platformplugin/platformplugin.pro: Removed.
  985. * symbian/platformplugin/qwebkitplatformplugin.h: Removed.
  986. 2011-04-22 Sam Weinig <sam@webkit.org>
  987. Fix qt build.
  988. * Api/qwebelement.cpp:
  989. (setupScriptContext):
  990. 2011-04-22 Yi Shen <yi.4.shen@nokia.com>
  991. Reviewed by Kenneth Rohde Christiansen.
  992. [Qt] Upstream Symbian platform plugin
  993. https://bugs.webkit.org/show_bug.cgi?id=58435
  994. Upstream Symbian platform plugin.
  995. * QtWebKit.pro: Add platformplugin.dll to the QtWebKit.sis.
  996. * symbian/platformplugin: Added.
  997. * symbian/platformplugin/WebPlugin.cpp: Added.
  998. (ItemListDelegate::ItemListDelegate):
  999. (ItemListDelegate::paint):
  1000. (Popup::Popup):
  1001. (Popup::resizeEvent):
  1002. (Popup::populateList):
  1003. (Popup::onItemSelected):
  1004. (Popup::updateSelectionsBeforeDialogClosing):
  1005. (Popup::updateAndClose):
  1006. (WebPopup::WebPopup):
  1007. (WebPopup::~WebPopup):
  1008. (WebPopup::createSingleSelectionPopup):
  1009. (WebPopup::createMultipleSelectionPopup):
  1010. (WebPopup::createPopup):
  1011. (WebPopup::show):
  1012. (WebPopup::hide):
  1013. (WebPopup::popupClosed):
  1014. (WebPopup::itemClicked):
  1015. (SingleSelectionPopup::SingleSelectionPopup):
  1016. (MultipleSelectionPopup::MultipleSelectionPopup):
  1017. (WebNotificationPresenter::showNotification):
  1018. (WebPlugin::supportsExtension):
  1019. (WebPlugin::createExtension):
  1020. * symbian/platformplugin/WebPlugin.h: Added.
  1021. (Popup::preSelectedIndices):
  1022. (Popup::listWidget):
  1023. (WebNotificationPresenter::WebNotificationPresenter):
  1024. (WebNotificationPresenter::~WebNotificationPresenter):
  1025. * symbian/platformplugin/platformplugin.pro: Added.
  1026. * symbian/platformplugin/qwebkitplatformplugin.h: Copied from WebKit/qt/Api/qwebkitplatformplugin.h.
  1027. (QWebSelectData::~QWebSelectData):
  1028. (QWebSelectMethod::~QWebSelectMethod):
  1029. (QWebNotificationData::~QWebNotificationData):
  1030. (QWebNotificationPresenter::QWebNotificationPresenter):
  1031. (QWebNotificationPresenter::~QWebNotificationPresenter):
  1032. (QWebTouchModifier::~QWebTouchModifier):
  1033. (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
  1034. (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
  1035. (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
  1036. 2011-04-21 Ryosuke Niwa <rniwa@webkit.org>
  1037. Reviewed by Sam Weinig.
  1038. Add Frame* to the argument lists of canCopyCut and canPaste
  1039. https://bugs.webkit.org/show_bug.cgi?id=59153
  1040. * WebCoreSupport/EditorClientQt.cpp:
  1041. (WebCore::EditorClientQt::canCopyCut):
  1042. (WebCore::EditorClientQt::canPaste):
  1043. * WebCoreSupport/EditorClientQt.h:
  1044. 2011-04-21 Yi Shen <yi.4.shen@nokia.com>
  1045. Reviewed by Antonio Gomes.
  1046. [Qt] Fix the style issue for Api/qwebkitplatformplugin.h
  1047. https://bugs.webkit.org/show_bug.cgi?id=59097
  1048. Fix the style issues for Api/qwebkitplatformplugin.h found by the webkit-check-style.
  1049. * Api/qwebkitplatformplugin.h:
  1050. 2011-04-21 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  1051. Reviewed by Csaba Osztrogonác.
  1052. [Qt] REGRESSION(84057): It made 4 API tests fail
  1053. https://bugs.webkit.org/show_bug.cgi?id=58848
  1054. After MIME sniffing support was added, some autotests are failing because
  1055. the sniffer doesn't recognize our HTML pages.
  1056. This fixes tst_QWebPage::backActionUpdate(), tst_QWebPage::errorPageExtensionInFrameset()
  1057. and tst_QWebFrame::horizontalScrollAfterBack().
  1058. * tests/qwebframe/resources/testiframe.html:
  1059. * tests/qwebframe/resources/testiframe2.html:
  1060. Remove spurious </html> in beginning of the document.
  1061. * tests/qwebpage/resources/framedindex.html:
  1062. * tests/qwebpage/resources/index.html:
  1063. Add <html> (and </html>) tags, <frameset> is not recognized by the sniffer as a
  1064. possible starting tag for HTML document.
  1065. * tests/qwebpage/tst_qwebpage.cpp:
  1066. (tst_QWebPage::errorPageExtensionInFrameset):
  1067. Verify if we do have a main frame and the main frame has the children frames we
  1068. expect. This will avoid crashing if for some reason children frames are not
  1069. loaded.
  1070. 2011-04-20 Dominic Cooney <dominicc@chromium.org>
  1071. Reviewed by Dimitri Glazkov.
  1072. layoutTestController can create and destroy shadow DOM
  1073. https://bugs.webkit.org/show_bug.cgi?id=59058
  1074. Support for new methods in Qt DRT.
  1075. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  1076. (DumpRenderTreeSupportQt::ensureShadowRoot):
  1077. (DumpRenderTreeSupportQt::removeShadowRoot):
  1078. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  1079. 2011-04-20 Balazs Kelemen <kbalazs@webkit.org>
  1080. Reviewed by Csaba Osztrogonác.
  1081. [Qt] Cleanup includepath adjustment for generated files
  1082. https://bugs.webkit.org/show_bug.cgi?id=58869
  1083. * QtWebKit.pro: Revert the hacky fix in r84174. Remove
  1084. unnecessary logic.
  1085. 2011-04-19 Yi Shen <yi.4.shen@nokia.com>
  1086. Reviewed by Andreas Kling.
  1087. [Qt][Symbian] Fix Api test failure -- tst_QWebView::setPalette()
  1088. https://bugs.webkit.org/show_bug.cgi?id=57254
  1089. Skip test for setPalette() which doesn't work
  1090. when WTF_USE_QT_MOBILE_THEME is defined.
  1091. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  1092. * tests/qwebview/tst_qwebview.cpp:
  1093. * tests/tests.pri:
  1094. 2011-04-19 Yi Shen <yi.4.shen@nokia.com>
  1095. Reviewed by Laszlo Gombos.
  1096. [Qt][Symbian] Fix Api test failure -- tst_QGraphicsWebView::widgetsRenderingThroughCache
  1097. https://bugs.webkit.org/show_bug.cgi?id=58044
  1098. Fixing this test by disabling the scrollbars on the graphics view
  1099. since QtWebKit handles scrolling and scrollbar automatically and correctly.
  1100. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  1101. (tst_QGraphicsWebView::widgetsRenderingThroughCache):
  1102. 2011-04-19 Igor Oliveira <igor.oliveira@openbossa.org>
  1103. Reviewed by Andreas Kling.
  1104. [Qt] X11: Text selection is causing oncopy event to be called
  1105. https://bugs.webkit.org/show_bug.cgi?id=58656
  1106. Always when text is selected the oncopy event is fired, this behavior does
  1107. not exist in Firefox or Chrome. Now, when selecting a text, QtWebKit
  1108. is making multi part-copies (with rich text metadata), the multi-part
  1109. data can be obtained by data transfer items interface when supported by QtWebKit.
  1110. Also, copies to the clipboard of a selected image, is not supported by Chrome and
  1111. Firefox and was removed from QtWebKit.
  1112. * Api/qwebpage.cpp:
  1113. (QWebPagePrivate::handleClipboard):
  1114. 2011-04-18 Csaba Osztrogonác <ossy@webkit.org>
  1115. [Qt][WK2] Unreviewed buildfix after r84174.
  1116. * QtWebKit.pro: Missing includepath added.
  1117. 2011-04-18 Yi Shen <yi.4.shen@nokia.com>
  1118. Reviewed by Laszlo Gombos.
  1119. [Qt][Symbian] Fix Api test failure -- tst_QWebFrame::inputFieldFocus
  1120. https://bugs.webkit.org/show_bug.cgi?id=57546
  1121. Disable the fullscreen VKB when testing inputFieldFocus().
  1122. * tests/qwebframe/tst_qwebframe.cpp:
  1123. 2011-04-18 Andreas Kling <kling@webkit.org>
  1124. [Qt] DRT: Unreviewed test fix after r84168.
  1125. Dump the original request KURL for blocked access attempts.
  1126. Turns out converting it to a QUrl lower-cases the hostname.
  1127. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1128. (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
  1129. 2011-04-18 Yi Shen <yi.4.shen@nokia.com>
  1130. Reviewed by Laszlo Gombos.
  1131. [Qt] Fix Api tests for QWebPage on Symbian
  1132. https://bugs.webkit.org/show_bug.cgi?id=56924
  1133. Ignores the style attribute that selectedHtml() returns.
  1134. * tests/qwebpage/tst_qwebpage.cpp:
  1135. (tst_QWebPage::cursorMovements):
  1136. (tst_QWebPage::textSelection):
  1137. (tst_QWebPage::findText):
  1138. 2011-04-18 Andreas Kling <kling@webkit.org>
  1139. Reviewed by Adam Barth.
  1140. REGRESSION (r84010): [Qt] DRT: Unbreak redirection of http:/ URLs.
  1141. https://bugs.webkit.org/show_bug.cgi?id=58779
  1142. KURL::host() doesn't return the host part of [broken] http:/ URLs, so use
  1143. QUrl instead to match the behavior of other ports.
  1144. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1145. (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
  1146. 2011-04-18 Dominic Cooney <dominicc@chromium.org>
  1147. Reviewed by Andreas Kling.
  1148. Add layoutTestController.shadowRoot to Qt DRT.
  1149. https://bugs.webkit.org/show_bug.cgi?id=58759
  1150. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  1151. (DumpRenderTreeSupportQt::shadowRoot): Added.
  1152. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  1153. 2011-04-16 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  1154. Reviewed by Andreas Kling.
  1155. [Qt] Autotest got missed in the handover of the QML WebView element
  1156. https://bugs.webkit.org/show_bug.cgi?id=41449
  1157. Importing WebView QML element test cases from Qt repository. I did some
  1158. style modifications and simplifications in the original code but hopefully
  1159. without changing the behavior.
  1160. Tests that do not pass are marked with QEXPECT_FAIL or QSKIP. The two major
  1161. issues currently are:
  1162. - pixelCache() test checked the usage of pixel cache by using a subclass of
  1163. QDeclarativeWebView. We can't do that right now because this class is not
  1164. exported. We may need a Q_AUTOTEST_EXPORT thing for QtWebKit if we want
  1165. this kind of test.
  1166. - elementAtArea() test uses a function that is not exported. But in this case
  1167. I think we should test it's user, the public method "heuristicZoom".
  1168. * tests/qdeclarativewebview/resources/basic.html: Added.
  1169. * tests/qdeclarativewebview/resources/basic.png: Added.
  1170. * tests/qdeclarativewebview/resources/basic.qml: Added.
  1171. * tests/qdeclarativewebview/resources/elements.html: Added.
  1172. * tests/qdeclarativewebview/resources/elements.qml: Added.
  1173. * tests/qdeclarativewebview/resources/forward.html: Added.
  1174. * tests/qdeclarativewebview/resources/forward.png: Added.
  1175. * tests/qdeclarativewebview/resources/javaScript.html: Added.
  1176. * tests/qdeclarativewebview/resources/javaScript.qml: Added.
  1177. * tests/qdeclarativewebview/resources/loadError.qml: Added.
  1178. * tests/qdeclarativewebview/resources/newwindows.html: Added.
  1179. * tests/qdeclarativewebview/resources/newwindows.qml: Added.
  1180. * tests/qdeclarativewebview/resources/propertychanges.qml: Added.
  1181. * tests/qdeclarativewebview/resources/sethtml.qml: Added.
  1182. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  1183. (tst_QDeclarativeWebView::tmpDir):
  1184. (strippedHtml):
  1185. (fileContents):
  1186. (removeRecursive):
  1187. (tst_QDeclarativeWebView::cleanupTestCase):
  1188. (tst_QDeclarativeWebView::basicProperties):
  1189. (tst_QDeclarativeWebView::elementAreaAt):
  1190. (tst_QDeclarativeWebView::historyNav):
  1191. (callEvaluateJavaScript):
  1192. (tst_QDeclarativeWebView::javaScript):
  1193. (tst_QDeclarativeWebView::loadError):
  1194. (tst_QDeclarativeWebView::multipleWindows):
  1195. (tst_QDeclarativeWebView::newWindowComponent):
  1196. (tst_QDeclarativeWebView::newWindowParent):
  1197. (tst_QDeclarativeWebView::pressGrabTime):
  1198. (tst_QDeclarativeWebView::renderingEnabled):
  1199. (tst_QDeclarativeWebView::setHtml):
  1200. (tst_QDeclarativeWebView::settings):
  1201. (tst_QDeclarativeWebView::checkNoErrors):
  1202. * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
  1203. 2011-04-08 Luiz Agostini <luiz.agostini@openbossa.org>
  1204. Reviewed by Kenneth Rohde Christiansen.
  1205. [Qt] QWebPage MIME type handling inconsistency with other web browsers
  1206. https://bugs.webkit.org/show_bug.cgi?id=46968
  1207. Implementing mime type sniffing based on
  1208. http://tools.ietf.org/html/draft-abarth-mime-sniff-06.
  1209. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1210. (WebCore::FrameLoaderClientQt::createNetworkingContext):
  1211. * WebCoreSupport/FrameNetworkingContextQt.cpp:
  1212. (WebCore::FrameNetworkingContextQt::FrameNetworkingContextQt):
  1213. (WebCore::FrameNetworkingContextQt::create):
  1214. (WebCore::FrameNetworkingContextQt::MIMESniffingEnabled):
  1215. * WebCoreSupport/FrameNetworkingContextQt.h:
  1216. * tests/MIMESniffing/MIMESniffing.pro: Added.
  1217. * tests/MIMESniffing/TestData.h: Added.
  1218. * tests/MIMESniffing/resources.qrc: Added.
  1219. * tests/MIMESniffing/resources/application_atom+xml: Added.
  1220. * tests/MIMESniffing/resources/application_ogg: Added.
  1221. * tests/MIMESniffing/resources/application_pdf: Added.
  1222. * tests/MIMESniffing/resources/application_postscript: Added.
  1223. * tests/MIMESniffing/resources/application_rdf+xml: Added.
  1224. * tests/MIMESniffing/resources/application_rss+xml: Added.
  1225. * tests/MIMESniffing/resources/application_x-gzip: Added.
  1226. * tests/MIMESniffing/resources/application_x-rar-compressed: Added.
  1227. * tests/MIMESniffing/resources/application_zip: Added.
  1228. * tests/MIMESniffing/resources/audio_x-wave: Added.
  1229. * tests/MIMESniffing/resources/image_bmp: Added.
  1230. * tests/MIMESniffing/resources/image_gif: Added.
  1231. * tests/MIMESniffing/resources/image_jpeg: Added.
  1232. * tests/MIMESniffing/resources/image_png: Added.
  1233. * tests/MIMESniffing/resources/image_vnd.microsoft.icon: Added.
  1234. * tests/MIMESniffing/resources/image_webp: Added.
  1235. * tests/MIMESniffing/resources/text_html: Added.
  1236. * tests/MIMESniffing/resources/text_xml: Added.
  1237. * tests/MIMESniffing/resources/video_webm: Added.
  1238. * tests/MIMESniffing/tst_MIMESniffing.cpp: Added.
  1239. (tst_MIMESniffing::tst_MIMESniffing):
  1240. (errorText):
  1241. (tst_MIMESniffing::testCase1):
  1242. * tests/tests.pro:
  1243. 2011-04-15 Andreas Kling <kling@webkit.org>
  1244. Reviewed by Antonio Gomes.
  1245. [Qt] DRT: Block access to external URLs.
  1246. Implement the "Blocked access to external URL" behavior for Qt's DRT,
  1247. based on what other ports are doing.
  1248. Fixes <http://webkit.org/b/57306> and <http://webkit.org/b/58523>.
  1249. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1250. (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
  1251. 2011-01-26 Ragner Magalhaes <ragner.magalhaes@openbossa.org>
  1252. Reviewed by Antonio Gomes.
  1253. [Qt] Web Inspector does not highlight elements
  1254. https://bugs.webkit.org/show_bug.cgi?id=35125
  1255. Adjust Web inspector to highlight elements on the page when the mouse
  1256. hovers the element on DOM inspector.
  1257. * Api/qwebframe.cpp:
  1258. (QWebFramePrivate::renderRelativeCoords):
  1259. * WebCoreSupport/InspectorClientQt.cpp:
  1260. (WebCore::InspectorClientQt::highlight):
  1261. (WebCore::InspectorClientQt::hideHighlight):
  1262. 2011-04-12 George Guo <George.Guo@nokia.com>
  1263. Reviewed by Laszlo Gombos.
  1264. [Qt] On Symbian got "Update Error" when installing QtWebkit.sis
  1265. http://bugs.webkit.org/show_bug.cgi?id=58141
  1266. If QtWebKit is already in Symbian ROM, we need package to be
  1267. both SA and RU type
  1268. * QtWebKit.pro:
  1269. 2011-04-12 Alexis Menard <alexis.menard@openbossa.org>
  1270. Reviewed by Andreas Kling.
  1271. [Qt] Private Q_SLOTS void orientationChanged() can't be in qwebframe.h public header file.
  1272. https://bugs.webkit.org/show_bug.cgi?id=58251
  1273. Fix an issue with slot names after http://trac.webkit.org/changeset/83512.
  1274. * Api/qwebframe.cpp:
  1275. (QWebFrame::QWebFrame):
  1276. 2011-04-11 Alexis Menard <alexis.menard@openbossa.org>
  1277. Reviewed by Benjamin Poulain.
  1278. [Qt] Private Q_SLOTS void orientationChanged() can't be in qwebframe.h public header file.
  1279. https://bugs.webkit.org/show_bug.cgi?id=58251
  1280. Qt coding conventions states that private slots should be located in private implementation of
  1281. the class. This allows us to rename/delete the slots in the future without breaking anything.
  1282. No new tests added, just a simple refactoring.
  1283. * Api/qwebframe.cpp:
  1284. (QWebFramePrivate::_q_orientationChanged):
  1285. * Api/qwebframe.h:
  1286. * Api/qwebframe_p.h:
  1287. 2011-04-11 Alexis Menard <alexis.menard@openbossa.org>
  1288. Reviewed by Kenneth Rohde Christiansen.
  1289. [Qt] Sub-Frame content is not updated when scrolling in certain circumstances
  1290. https://bugs.webkit.org/show_bug.cgi?id=50373
  1291. Make sure that we invalidate the backing store when using TILED_BACKING_STORE
  1292. and the page contains sub frames. This bug appears only when frame flattening is
  1293. disabled and scrollable subframes.
  1294. Original patch from Thomas Thrainer.
  1295. * WebCoreSupport/ChromeClientQt.cpp:
  1296. (WebCore::ChromeClientQt::invalidateWindow):
  1297. 2011-04-11 Benjamin Poulain <benjamin.poulain@nokia.com>
  1298. Reviewed by Andreas Kling.
  1299. [Qt] HTML5 Drag and Drop demos not working
  1300. https://bugs.webkit.org/show_bug.cgi?id=56486
  1301. Handling the drop with JavaScript was not working with Qt because if the action is ignored
  1302. in response to DragEnter, no further events are sent to the view.
  1303. Drag and drop is defined and used differently by webpages. The drag move events are determining
  1304. what action should take place. To adopt this behavior for Qt, we always accept drag enter events
  1305. on the widget.
  1306. * Api/qwebpage.cpp:
  1307. (QWebPagePrivate::dragEnterEvent):
  1308. 2011-04-11 Andras Becsi <abecsi@webkit.org>
  1309. Reviewed by Andreas Kling.
  1310. [Qt] REGRESSION(83122): tst_QWebElement::style() fails
  1311. https://bugs.webkit.org/show_bug.cgi?id=58032
  1312. According to the documentation of QWebElement the styleProperty method should
  1313. not respect style inheritance and other CSS rules for the InlineStyle enum.
  1314. r83122 fixed this behaviour.
  1315. * tests/qwebelement/tst_qwebelement.cpp:
  1316. (tst_QWebElement::style): Fix the expected color for QWebElement::InlineStyle.
  1317. 2011-04-11 Andreas Kling <andreas.kling@nokia.com>
  1318. Build fix after r83436.
  1319. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1320. (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
  1321. 2011-04-11 Andreas Kling <andreas.kling@nokia.com>
  1322. Reviewed by Benjamin Poulain.
  1323. [Qt] dumpResourceResponseMIMETypes shouldn't strip URL query string.
  1324. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1325. (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse): Use KURL::lastPathComponent()
  1326. for the dumpResourceResponseMIMETypes display string instead of QFileInfo::fileName().
  1327. This is in line with the Mac port.
  1328. 2011-04-08 Sheriff Bot <webkit.review.bot@gmail.com>
  1329. Unreviewed, rolling out r83295.
  1330. http://trac.webkit.org/changeset/83295
  1331. https://bugs.webkit.org/show_bug.cgi?id=58144
  1332. Broke 4 tests in QtWebKit (Requested by tonikitoo on #webkit).
  1333. * WebCoreSupport/EditorClientQt.cpp:
  1334. (WebCore::EditorClientQt::handleInputMethodKeydown):
  1335. 2011-04-08 Yi Shen <yi.4.shen@nokia.com>
  1336. Reviewed by Antonio Gomes.
  1337. [Qt]REGRESSION(r82243): fast/events/onsearch-enter.html fails
  1338. https://bugs.webkit.org/show_bug.cgi?id=57472
  1339. Avoid to insert new line for both keydown event & keypress event.
  1340. * WebCoreSupport/EditorClientQt.cpp:
  1341. (WebCore::EditorClientQt::handleInputMethodKeydown):
  1342. 2011-04-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  1343. Reviewed by Benjamin Poulain.
  1344. [Qt] QWebFrame::setUrl works only from second time if url fragment is present
  1345. https://bugs.webkit.org/show_bug.cgi?id=32723
  1346. When clearing the frame, instead of using the URL passed to QWebFrame::setUrl(),
  1347. use an invalid URL (the begin() without arguments). Clearing the document
  1348. with the same URL was causing problems when we had a fragment because it assume that
  1349. only scrolling was enough and did not loaded the document again.
  1350. When setUrl() is called but fails, url() is expected to return the requested value. The
  1351. begin(url) guaranteed that before. This patch adds a member to track the URL, which is
  1352. updated when the URL changes and also when setUrl() is called.
  1353. KURL was used for the member so that when setUrl() is called, and then url() is checked
  1354. before the page gets loaded, we perform the same conversion that will be performed by a
  1355. successful load, e.g. add trailing '/' to an address. This behavior is checked by
  1356. tst_QWebFrame::requestedUrl() test.
  1357. For the record: the second QWebPage::setUrl() worked because the load was considered a
  1358. FrameLoadTypeSame, and because of that, was not fit for just scrolling, a reload was
  1359. needed. See FrameLoader::shouldScrollToAnchor() for details on this classification.
  1360. * Api/qwebframe.cpp:
  1361. (QWebFramePrivate::emitUrlChanged): update our URL member and emit the signal.
  1362. (clearCoreFrame):
  1363. (isCoreFrameClear):
  1364. (QWebFrame::setUrl):
  1365. (QWebFrame::url):
  1366. (QWebFrame::baseUrl): look in the document for the baseURL since its contents can change
  1367. the baseURL, e.g. by using the <base> tag.
  1368. * Api/qwebframe_p.h:
  1369. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1370. (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
  1371. (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
  1372. * tests/qwebframe/tst_qwebframe.cpp:
  1373. (tst_QWebFrame::setUrlWithFragment): unskip test.
  1374. 2011-04-07 Alexis Menard <alexis.menard@openbossa.org>
  1375. Reviewed by Kenneth Rohde Christiansen.
  1376. Build fix when using Phonon as a backend for the multimedia support.
  1377. * WebCoreSupport/ChromeClientQt.cpp:
  1378. (WebCore::ChromeClientQt::ChromeClientQt):
  1379. (WebCore::ChromeClientQt::~ChromeClientQt):
  1380. * WebCoreSupport/ChromeClientQt.h:
  1381. 2011-04-06 Benjamin Poulain <benjamin.poulain@nokia.com>
  1382. Reviewed by Kenneth Rohde Christiansen.
  1383. [Qt] LayoutTestController needs to implement numberOfPendingGeolocationPermissionRequests
  1384. https://bugs.webkit.org/show_bug.cgi?id=56086
  1385. Add the accessor numberOfPendingGeolocationPermissionRequests to call GeolocationClientMock::numberOfPendingPermissionRequests()
  1386. from the LayoutTestController.
  1387. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  1388. (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
  1389. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  1390. 2011-04-06 Anders Bakken <agbakken@gmail.com>
  1391. Reviewed by Kenneth Rohde Christiansen.
  1392. [Qt] FrameLoaderClientQt.cpp has coding-style errors
  1393. https://bugs.webkit.org/show_bug.cgi?id=40254
  1394. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1395. (drtDescriptionSuitableForTestResult):
  1396. (WebCore::FrameLoaderClientQt::hasWebView):
  1397. (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
  1398. (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
  1399. (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
  1400. (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
  1401. (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
  1402. (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
  1403. (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
  1404. (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
  1405. (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
  1406. (WebCore::FrameLoaderClientQt::willChangeTitle):
  1407. (WebCore::FrameLoaderClientQt::didChangeTitle):
  1408. (WebCore::FrameLoaderClientQt::finishedLoading):
  1409. (WebCore::FrameLoaderClientQt::frameLoadCompleted):
  1410. (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
  1411. (WebCore::FrameLoaderClientQt::didFinishLoad):
  1412. (WebCore::FrameLoaderClientQt::setTitle):
  1413. (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
  1414. (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
  1415. (WebCore::FrameLoaderClientQt::updateGlobalHistory):
  1416. (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
  1417. (WebCore::FrameLoaderClientQt::shouldStopLoadingForHistoryItem):
  1418. (WebCore::FrameLoaderClientQt::committedLoad):
  1419. (WebCore::FrameLoaderClientQt::download):
  1420. (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
  1421. (WebCore::FrameLoaderClientQt::shouldUseCredentialStorage):
  1422. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
  1423. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
  1424. (WebCore::FrameLoaderClientQt::createFrame):
  1425. (WebCore::FrameLoaderClientQt::objectContentType):
  1426. (WebCore::FrameLoaderClientQt::createPlugin):
  1427. 2011-04-06 Alexis Menard <alexis.menard@openbossa.org>
  1428. Reviewed by Andreas Kling.
  1429. [Qt] We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
  1430. https://bugs.webkit.org/show_bug.cgi?id=57974
  1431. We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
  1432. No new tests needed, just a config flag rename.
  1433. * Api/qwebkitplatformplugin.h:
  1434. * WebCoreSupport/ChromeClientQt.cpp:
  1435. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  1436. (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
  1437. * WebCoreSupport/FullScreenVideoQt.cpp:
  1438. (WebCore::FullScreenVideoQt::FullScreenVideoQt):
  1439. (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
  1440. (WebCore::FullScreenVideoQt::enterFullScreenForNode):
  1441. (WebCore::FullScreenVideoQt::exitFullScreenForNode):
  1442. (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
  1443. (WebCore::FullScreenVideoQt::isValid):
  1444. * WebCoreSupport/FullScreenVideoQt.h:
  1445. * WebCoreSupport/QtPlatformPlugin.cpp:
  1446. * WebCoreSupport/QtPlatformPlugin.h:
  1447. * examples/platformplugin/WebPlugin.cpp:
  1448. (WebPlugin::supportsExtension):
  1449. (WebPlugin::createExtension):
  1450. * examples/platformplugin/WebPlugin.h:
  1451. * examples/platformplugin/platformplugin.pro:
  1452. * examples/platformplugin/qwebkitplatformplugin.h:
  1453. * tests/qwebpage/tst_qwebpage.cpp:
  1454. (tst_QWebPage::loadHtml5Video):
  1455. * tests/tests.pri:
  1456. 2011-04-06 Alexis Menard <alexis.menard@openbossa.org>
  1457. Reviewed by Andreas Kling.
  1458. [Qt] Implement fullscreen playback for the GStreamer backend.
  1459. https://bugs.webkit.org/show_bug.cgi?id=56826
  1460. Implement support for fullscreen playback when building the
  1461. Qt port with the GStreamer backend (DEFINES+=USE_GSTREAMER=1).
  1462. The implementation is done in FullScreenVideoQt alongside with
  1463. the Qt Multimedia support.
  1464. No new tests because layout tests cover it. They are not yet activated
  1465. but will be any time soon.
  1466. * QtWebKit.pro:
  1467. * WebCoreSupport/ChromeClientQt.cpp:
  1468. (WebCore::ChromeClientQt::ChromeClientQt):
  1469. (WebCore::ChromeClientQt::~ChromeClientQt):
  1470. (WebCore::ChromeClientQt::enterFullscreenForNode):
  1471. (WebCore::ChromeClientQt::exitFullscreenForNode):
  1472. * WebCoreSupport/ChromeClientQt.h:
  1473. * WebCoreSupport/FullScreenVideoQt.cpp:
  1474. (WebCore::GStreamerFullScreenVideoHandler::GStreamerFullScreenVideoHandler):
  1475. (WebCore::GStreamerFullScreenVideoHandler::setVideoElement):
  1476. (WebCore::GStreamerFullScreenVideoHandler::enterFullScreen):
  1477. (WebCore::GStreamerFullScreenVideoHandler::windowClosed):
  1478. (WebCore::GStreamerFullScreenVideoHandler::exitFullScreen):
  1479. (WebCore::DefaultFullScreenVideoHandler::DefaultFullScreenVideoHandler):
  1480. (WebCore::FullScreenVideoQt::FullScreenVideoQt):
  1481. (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
  1482. (WebCore::FullScreenVideoQt::enterFullScreenForNode):
  1483. (WebCore::FullScreenVideoQt::exitFullScreenForNode):
  1484. (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
  1485. (WebCore::FullScreenVideoQt::isValid):
  1486. * WebCoreSupport/FullScreenVideoQt.h:
  1487. (WebCore::GStreamerFullScreenVideoHandler::~GStreamerFullScreenVideoHandler):
  1488. 2011-04-06 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  1489. Reviewed by Kenneth Rohde Christiansen.
  1490. [Qt] Improve tests for QWebFrame::url() and related methods
  1491. https://bugs.webkit.org/show_bug.cgi?id=57865
  1492. * tests/qwebframe/tst_qwebframe.cpp:
  1493. (FakeReply::FakeReply): make more URLs reply HostNotFound. We needed two different URLs in the test.
  1494. (tst_QWebFrame::requestedUrlAfterSetAndLoadFailures): check the properties after an setUrl()
  1495. that fails and a load() that fails (for a different URL).
  1496. (tst_QWebFrame::setUrlWithFragment_data):
  1497. (tst_QWebFrame::setUrlWithFragment): add other test cases similar to the original, but changing
  1498. the URL in the frame before the test starts.
  1499. (tst_QWebFrame::setUrlSameUrl): document existing behavior of calling setUrl() twice with
  1500. the same URL as argument.
  1501. (extractBaseUrl):
  1502. (tst_QWebFrame::setUrlThenLoads_data):
  1503. (tst_QWebFrame::setUrlThenLoads): check the URL related properties of the frame after a
  1504. sequence of set and loads. Those tests are interesting because the properties
  1505. react different to setUrl() and load(): 'requestedUrl' always change, 'url' only when setUrl()
  1506. is used or after the load() is committed and baseUrl() is similar to url() but also depends
  1507. on the contents of the page when it loads.
  1508. 2011-04-04 MORITA Hajime <morrita@google.com>
  1509. Reviewed by Ryosuke Niwa.
  1510. [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
  1511. https://bugs.webkit.org/show_bug.cgi?id=56085
  1512. * WebCoreSupport/EditorClientQt.h:
  1513. (WebCore::EditorClientQt::requestCheckingOfString):
  1514. 2011-04-04 Chang Shu <cshu@webkit.org>
  1515. Reviewed by Ryosuke Niwa.
  1516. setContentEditable with true/false/inherit string is not working properly
  1517. https://bugs.webkit.org/show_bug.cgi?id=52058
  1518. Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
  1519. as rendererIsEditable is for WebCore internal use.
  1520. * WebCoreSupport/EditorClientQt.cpp:
  1521. (WebCore::EditorClientQt::handleKeyboardEvent):
  1522. 2011-04-01 Carol Szabo <carol.szabo@nokia.com>
  1523. Reviewed by Benjamin Poulain.
  1524. Changed QWebFramePrivate::renderFromTiledBackingStore to call directly into
  1525. Scrollbar/PanIcon rendering, bypassing the potential relayout in renderRelativeCoords.
  1526. Tiled painting still causes synchronous layout when
  1527. accelerated compositing and texture mapper are enabled
  1528. https://bugs.webkit.org/show_bug.cgi?id=56929
  1529. * Api/qwebframe.cpp:
  1530. (QWebFramePrivate::renderFromTiledBackingStore):
  1531. (QWebFramePrivate::renderRelativeCoords):
  1532. (QWebFramePrivate::renderFrameWidgets):
  1533. * Api/qwebframe_p.h:
  1534. 2011-04-01 Nancy Piedra <nancy.piedra@nokia.com>
  1535. Reviewed by Benjamin Poulain.
  1536. [Qt] DragClientQt.h has coding-style errors
  1537. https://bugs.webkit.org/show_bug.cgi?id=40425
  1538. * WebCoreSupport/DragClientQt.h:
  1539. 2011-03-31 Marius Storm-Olsen <marius.storm-olsen@nokia.com>
  1540. Reviewed by Kenneth Rohde Christiansen.
  1541. [Qt] Properly detect phonon include, and avoid double qtLibraryTarget() call
  1542. https://bugs.webkit.org/show_bug.cgi?id=57017
  1543. Build fix. No new tests.
  1544. * QtWebKit.pro:
  1545. 2011-03-31 Evan Martin <evan@chromium.org>
  1546. Another build fix.
  1547. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1548. (WebCore::FrameLoaderClientQt::updateGlobalHistory):
  1549. 2011-03-31 Nancy Piedra <nancy.piedra@nokia.com>
  1550. Reviewed by Benjamin Poulain.
  1551. [Qt] ChromeClientQt.h has coding-style errors
  1552. https://bugs.webkit.org/show_bug.cgi?id=40239
  1553. * WebCoreSupport/ChromeClientQt.h:
  1554. (WebCore::ChromeClientQt::scrollbarsModeDidChange):
  1555. (WebCore::ChromeClientQt::needTouchEvents):
  1556. (WebCore::ChromeClientQt::formStateDidChange):
  1557. (WebCore::ChromeClientQt::scrollRectIntoView):
  1558. (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame):
  1559. (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
  1560. 2011-03-31 Evan Martin <evan@chromium.org>
  1561. Build fix from previous change.
  1562. * Api/qwebframe.cpp:
  1563. (QWebFrame::title):
  1564. 2011-03-31 Evan Martin <evan@chromium.org>
  1565. Reviewed by Eric Seidel.
  1566. <title> should support dir attribute
  1567. https://bugs.webkit.org/show_bug.cgi?id=50961
  1568. Update to new FrameLoaderClient interface.
  1569. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1570. (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
  1571. (WebCore::FrameLoaderClientQt::setTitle):
  1572. * WebCoreSupport/FrameLoaderClientQt.h:
  1573. 2011-03-30 Yi Shen <yi.4.shen@nokia.com>
  1574. Reviewed by Kenneth Rohde Christiansen.
  1575. [Qt][Symbian] Fix Api test failure -- tst_QWebView::focusInputTypes
  1576. https://bugs.webkit.org/show_bug.cgi?id=57020
  1577. Added a macro 'VERIFY_INPUTMETHOD_HINTS' to test inputmethodhints().
  1578. * tests/qwebview/tst_qwebview.cpp:
  1579. (tst_QWebView::focusInputTypes):
  1580. 2011-03-30 Robert Hogan <robert@webkit.org>
  1581. Reviewed by Antonio Gomes.
  1582. [Qt] Fix LoadHTMLStringItem::invoke() after r75966
  1583. Add DRT support for loading an alternate HTML string
  1584. for error pages. This allows Qt to unskip
  1585. http/tests/navigation/go-back-to-error-page.html.
  1586. https://bugs.webkit.org/show_bug.cgi?id=52614
  1587. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  1588. (DumpRenderTreeSupportQt::setAlternateHtml):
  1589. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  1590. 2011-03-29 Alexis Menard <alexis.menard@openbossa.org>
  1591. Unreviewed build fix for build-webkit -minimal.
  1592. Breakage introduced by http://trac.webkit.org/changeset/82238.
  1593. The minimal option has no support for shortcuts.
  1594. * WebCoreSupport/EditorClientQt.cpp:
  1595. (WebCore::EditorClientQt::handleInputMethodKeydown):
  1596. 2011-03-29 Janne Koskinen <janne.p.koskinen@digia.com>
  1597. Reviewed by Kenneth Rohde Christiansen.
  1598. [Qt] Enterkey to go to Newline does not work in the text area(in HTML form)
  1599. https://bugs.webkit.org/show_bug.cgi?id=33179
  1600. Fixed newline generation from Qt::Key_Enter when editting text area using InputMethods.
  1601. * WebCoreSupport/EditorClientQt.cpp:
  1602. (WebCore::EditorClientQt::handleInputMethodKeydown):
  1603. * tests/qwebpage/tst_qwebpage.cpp:
  1604. (tst_QWebPage::inputMethods):
  1605. 2011-03-29 Andreas Kling <kling@webkit.org>
  1606. Reviewed by Simon Hausmann.
  1607. [Qt] Fix documentation for QWebPage::repaintRequested()
  1608. This signal is always emitted when the page is dirtied, so remove
  1609. reference to old behavior where we would only emit the signal for
  1610. headless QWebPages.
  1611. * Api/qwebpage.cpp:
  1612. 2011-03-28 Andreas Kling <kling@webkit.org>
  1613. Reviewed by Benjamin Poulain.
  1614. [Qt] Pass QString() instead of String() when emitting titleChanged() for new loads.
  1615. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1616. (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
  1617. 2011-03-28 Andreas Kling <kling@webkit.org>
  1618. Reviewed by Benjamin Poulain.
  1619. [Qt] Crash when calling QWebFrame::render() in response to QWebPage::repaintRequested()
  1620. https://bugs.webkit.org/show_bug.cgi?id=52629
  1621. * WebCoreSupport/ChromeClientQt.cpp:
  1622. (WebCore::ChromeClientQt::invalidateContentsAndWindow): Make the emission of
  1623. QWebPage::repaintRequested() use a Qt::QueuedConnection.
  1624. * tests/qwebpage/tst_qwebpage.cpp:
  1625. (RepaintRequestedRenderer::RepaintRequestedRenderer):
  1626. (RepaintRequestedRenderer::onRepaintRequested):
  1627. (tst_QWebPage::renderOnRepaintRequestedShouldNotRecurse): Test that calling
  1628. QWebFrame::render() in a slot connected to to QWebPage::repaintRequested()
  1629. doesn't cause recursive signal emissions.
  1630. 2011-03-28 Benjamin Poulain <benjamin.poulain@nokia.com>
  1631. Reviewed by Andreas Kling.
  1632. [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
  1633. https://bugs.webkit.org/show_bug.cgi?id=57087
  1634. * QtWebKit.pro: we can now enable QT_ASCII_CAST_WARNINGS
  1635. * tests/tests.pri: we do not require QT_ASCII_CAST_WARNINGS for tests
  1636. since they are applications, not libraries.
  1637. 2011-03-28 Andras Becsi <abecsi@webkit.org>
  1638. Reviewed by Csaba Osztrogonác.
  1639. [Qt] QtWebKit does not link with --3d-canvas using MinGW
  1640. https://bugs.webkit.org/show_bug.cgi?id=57225
  1641. * QtWebKit.pro: Append the OpenGL libraries on MinGW so it can resolve symbols.
  1642. 2011-03-28 Csaba Osztrogonác <ossy@webkit.org>
  1643. Reviewed by Andreas Kling.
  1644. REGRESSION(r54712): [Qt] Installed QtWebKit header does not compile.
  1645. https://bugs.webkit.org/show_bug.cgi?id=57183
  1646. Windows buildfix after r82065.
  1647. * Api/DerivedSources.pro: Readding escaping on Windows platforms.
  1648. 2011-03-27 Andreas Kling <kling@webkit.org>
  1649. Fix build warning about IconDatabaseClient.h (wrong path.)
  1650. * QtWebKit.pro:
  1651. 2011-03-27 Andreas Kling <kling@webkit.org>
  1652. Reviewed by Kenneth Rohde Christiansen.
  1653. [Qt] Support for CSS color and background-color properties on select element's dropdown list
  1654. https://bugs.webkit.org/show_bug.cgi?id=51627
  1655. Extend the QWebSelectData interface with background and foreground colors
  1656. for the whole menu, as well as per-item. Hook it up to the PopupMenuStyle
  1657. getters in RenderMenuList.
  1658. * Api/qwebkitplatformplugin.h:
  1659. * WebCoreSupport/PopupMenuQt.cpp:
  1660. (SelectData::backgroundColor):
  1661. (SelectData::foregroundColor):
  1662. (SelectData::itemBackgroundColor):
  1663. (SelectData::itemForegroundColor):
  1664. * WebCoreSupport/QtFallbackWebPopup.cpp:
  1665. (WebCore::QtFallbackWebPopup::show):
  1666. (WebCore::QtFallbackWebPopup::populate):
  1667. 2011-03-27 Yi Shen <yi.4.shen@nokia.com>
  1668. Reviewed by Andreas Kling.
  1669. [Qt][Symbian] Fix Api test failure -- microFocusCoordinates
  1670. https://bugs.webkit.org/show_bug.cgi?id=57108
  1671. Since the canvas is not self-closing tag, we need to add '</canvas>'.
  1672. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  1673. (tst_QGraphicsWebView::microFocusCoordinates):
  1674. * tests/qwebview/tst_qwebview.cpp:
  1675. (tst_QWebView::microFocusCoordinates):
  1676. 2011-03-27 Kwang Yul Seo <skyul@company100.net>
  1677. Reviewed by Eric Seidel.
  1678. [Qt] Build fix: Define WTF_USE_TEXTURE_MAPPER=1 when CONFIG contains texmap.
  1679. https://bugs.webkit.org/show_bug.cgi?id=57143
  1680. Qt WebKit uses USE(TEXTURE_MAPPER) guard. Check texmap in CONFIG and
  1681. define WTF_USE_TEXTURE_MAPPER=1.
  1682. * QtWebKit.pro:
  1683. 2011-03-27 Andreas Kling <kling@webkit.org>
  1684. Reviewed by Benjamin Poulain.
  1685. REGRESSION(r54712): [Qt] Installed QtWebKit header does not compile.
  1686. https://bugs.webkit.org/show_bug.cgi?id=57183
  1687. The convenience <QtWebKit> header would include \<QtNetwork/QtNetwork\>
  1688. which was due to the outputting code previously being wrapped in eval().
  1689. * Api/DerivedSources.pro:
  1690. 2011-03-27 Benjamin Poulain <benjamin.poulain@nokia.com>
  1691. Reviewed by Andreas Kling.
  1692. [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
  1693. https://bugs.webkit.org/show_bug.cgi?id=57087
  1694. Use explicit conversion for string to avoid depending on the default codec
  1695. installed by the user code.
  1696. * Api/qwebkitversion.cpp:
  1697. (qWebKitVersion):
  1698. * Api/qwebpage.cpp:
  1699. (QWebPagePrivate::dynamicPropertyChangeEvent):
  1700. (QWebPage::javaScriptConsoleMessage):
  1701. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  1702. (convertToPropertyName):
  1703. (DumpRenderTreeSupportQt::setEditingBehavior):
  1704. (DumpRenderTreeSupportQt::plainText):
  1705. * WebCoreSupport/EditorClientQt.cpp:
  1706. (dumpRange):
  1707. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1708. (drtDescriptionSuitableForTestResult):
  1709. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
  1710. * WebCoreSupport/InspectorClientQt.cpp:
  1711. (WebCore::InspectorClientQt::openInspectorFrontend):
  1712. * WebCoreSupport/InspectorServerQt.cpp:
  1713. (WebCore::parseWebSocketChallengeNumber):
  1714. (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
  1715. 2011-03-26 Andreas Kling <kling@webkit.org>
  1716. Reviewed by Kenneth Rohde Christiansen.
  1717. [Qt] QWebFrame::iconChanged() not emitted when icon is cached but not yet loaded
  1718. https://bugs.webkit.org/show_bug.cgi?id=57157
  1719. Add an IconDatabaseClient for the Qt port to ensure that QWebFrame::iconChanged()
  1720. is always emitted when appropriate.
  1721. * QtWebKit.pro: Add new files.
  1722. * WebCoreSupport/IconDatabaseClientQt.h: Added.
  1723. * WebCoreSupport/IconDatabaseClientQt.cpp: Added.
  1724. (WebCore::IconDatabaseClientQt::instance):
  1725. (WebCore::IconDatabaseClientQt::IconDatabaseClientQt):
  1726. (WebCore::IconDatabaseClientQt::~IconDatabaseClientQt):
  1727. (WebCore::IconDatabaseClientQt::performImport):
  1728. (WebCore::IconDatabaseClientQt::didRemoveAllIcons):
  1729. (WebCore::IconDatabaseClientQt::didImportIconURLForPageURL):
  1730. (WebCore::IconDatabaseClientQt::didImportIconDataForPageURL):
  1731. (WebCore::IconDatabaseClientQt::didChangeIconForPageURL):
  1732. (WebCore::IconDatabaseClientQt::didFinishURLImport):
  1733. * WebCoreSupport/FrameLoaderClientQt.h:
  1734. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1735. (WebCore::FrameLoaderClientQt::registerForIconNotification):
  1736. (WebCore::FrameLoaderClientQt::onIconLoadedForPageURL): New slot connected
  1737. to the IconDatabaseClientQt::iconLoadedForPageURL() signal. This emits the
  1738. QWebFrame::iconChanged() signal when the IconDatabases finishes loading
  1739. a cached favicon for the frame's URL.
  1740. * Api/qwebsettings.cpp:
  1741. (QWebSettings::setIconDatabasePath): Make sure that IconDatabaseClientQt is
  1742. instantiated. An IconDatabaseClient has to be registered before the IconDatabase
  1743. spawns its reader thread.
  1744. 2011-03-25 Andy Estes <aestes@apple.com>
  1745. Reviewed by Adele Peterson.
  1746. REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
  1747. https://bugs.webkit.org/show_bug.cgi?id=49016
  1748. Update objectContentType() implementation to handle the
  1749. shouldPreferPlugInsForImages flag.
  1750. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1751. (WebCore::FrameLoaderClientQt::objectContentType):
  1752. * WebCoreSupport/FrameLoaderClientQt.h:
  1753. 2011-03-25 Chang Shu <cshu@webkit.org>
  1754. Reviewed by Ryosuke Niwa.
  1755. rename Node::isContentEditable and all call sites to rendererIsEditable
  1756. https://bugs.webkit.org/show_bug.cgi?id=54290
  1757. This is part of the effort to separate JS API HTMLElement isContentEditable from
  1758. internal Node::rendererIsEditable.
  1759. * WebCoreSupport/EditorClientQt.cpp:
  1760. (WebCore::EditorClientQt::handleKeyboardEvent):
  1761. 2011-03-25 Alexis Menard <alexis.menard@openbossa.org>
  1762. Reviewed by Andreas Kling.
  1763. [Qt] The keyboard shortcuts during fullscreen playback do not work.
  1764. https://bugs.webkit.org/show_bug.cgi?id=57095
  1765. We need to explicitely set the focus on the widget in order to receive the keyboard events.
  1766. * WebCoreSupport/FullScreenVideoWidget.cpp:
  1767. (WebCore::FullScreenVideoWidget::show):
  1768. 2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com>
  1769. Unreviewed, rolling out r81916 and r81917.
  1770. http://trac.webkit.org/changeset/81916
  1771. http://trac.webkit.org/changeset/81917
  1772. https://bugs.webkit.org/show_bug.cgi?id=57071
  1773. broke a test on platforms that do not have QuickTime installed
  1774. (Requested by estes on #webkit).
  1775. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1776. (WebCore::FrameLoaderClientQt::objectContentType):
  1777. * WebCoreSupport/FrameLoaderClientQt.h:
  1778. 2011-03-24 Andy Estes <aestes@apple.com>
  1779. Reviewed by Darin Adler.
  1780. REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
  1781. https://bugs.webkit.org/show_bug.cgi?id=49016
  1782. Update objectContentType() implementation to handle the
  1783. shouldPreferPlugInsForImages flag.
  1784. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1785. (WebCore::FrameLoaderClientQt::objectContentType):
  1786. * WebCoreSupport/FrameLoaderClientQt.h:
  1787. 2011-03-24 Benjamin Poulain <benjamin.poulain@nokia.com>
  1788. Reviewed by Kenneth Rohde Christiansen.
  1789. [Qt] When we render WebGL offscreen, color conversion cost a lot of CPU cycles
  1790. https://bugs.webkit.org/show_bug.cgi?id=40884
  1791. Add tests and benchmarks for the software fallback of WebGL.
  1792. * tests/benchmarks/webgl/10000_triangles.html: Added.
  1793. * tests/benchmarks/webgl/tst_webgl.cpp: Added.
  1794. (GraphicsView::GraphicsView):
  1795. (GraphicsView::resizeEvent):
  1796. (tst_WebGlPerformance::init):
  1797. (tst_WebGlPerformance::cleanup):
  1798. (tst_WebGlPerformance::benchSoftwareFallbackRgb16):
  1799. (tst_WebGlPerformance::benchSoftwareFallbackRgb32):
  1800. (tst_WebGlPerformance::benchSoftwareFallbackArgb32):
  1801. (tst_WebGlPerformance::benchSoftwareFallbackArgb32Premultiplied):
  1802. (tst_WebGlPerformance::benchmarkFrameRenderingOnImage):
  1803. * tests/benchmarks/webgl/tst_webgl.qrc: Added.
  1804. * tests/benchmarks/webgl/webgl.pro: Added.
  1805. * tests/qgraphicswebview/qgraphicswebview.pro:
  1806. * tests/qgraphicswebview/resources/pointing_right.html: Added.
  1807. * tests/qgraphicswebview/resources/pointing_up.html: Added.
  1808. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  1809. (compareImagesFuzzyPixelCount):
  1810. (GraphicsView::GraphicsView):
  1811. (tst_QGraphicsWebView::webglSoftwareFallbackVerticalOrientation):
  1812. (tst_QGraphicsWebView::webglSoftwareFallbackHorizontalOrientation):
  1813. (tst_QGraphicsWebView::compareCanvasToImage):
  1814. * tests/qgraphicswebview/tst_qgraphicswebview.qrc:
  1815. * tests/tests.pro:
  1816. 2011-03-24 Kristian Amlie <kristian.amlie@nokia.com>
  1817. Reviewed by Benjamin Poulain.
  1818. Avoided ASCII-cast warnings for WebKit.
  1819. Normally they won't be enabled anyway, but if you build webkit from
  1820. within the Qt mother repository it will pick up Qt's default build
  1821. settings, which do enable it. We need to disable them because
  1822. warnings are treated as errors and there are way too many of them in
  1823. the WebKit code.
  1824. [Qt] Avoid ASCII-cast warnings for WebKit.
  1825. https://bugs.webkit.org/show_bug.cgi?id=57016
  1826. * QtWebKit.pro:
  1827. 2011-03-24 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  1828. Reviewed by Benjamin Poulain.
  1829. [Qt] Resetting the URL property of a QWebView results in the current directory being set as file::-type URL
  1830. https://bugs.webkit.org/show_bug.cgi?id=29595
  1831. Qt Designer resets the URL by setting it to QUrl(). The bug was caused by
  1832. ensureAbsoluteUrl() helper function treating the empty URL as a relative URL, and
  1833. prepending the current directory.
  1834. By fixing this, now we can pass QUrl() invalid and empty URLs to WebCore layer, which
  1835. will end up loading "about:blank", but keeping it as a requested URL.
  1836. This patch also simplifies the logic for requestedUrl(), since m_lastRequestedUrl
  1837. is filled for the loaded URLs as well, we can use it in every case.
  1838. Three new autotests were added, to better cover the expected behavior of setting
  1839. the QUrl() in a QWebFrame.
  1840. * Api/qwebframe.cpp:
  1841. (ensureAbsoluteUrl): do not treat invalid URLs (empty included) as relative.
  1842. (QWebFrame::requestedUrl): always use m_lastRequestedUrl.
  1843. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1844. (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): do not clear m_lastRequestedUrl
  1845. anymore, since we always rely on it even for loaded frames.
  1846. * tests/qwebframe/tst_qwebframe.cpp:
  1847. (tst_QWebFrame::setUrlToEmpty): verify the behavior of setting empty URLs. This includes
  1848. the reduction of the bug report.
  1849. (tst_QWebFrame::setUrlToInvalid): setting invalid, but not necessarily empty, URLs.
  1850. (tst_QWebFrame::setUrlHistory): to verify how setting empty URLs affect history.
  1851. 2011-03-23 Brady Eidson <beidson@apple.com>
  1852. Reviewed by Sam Weinig.
  1853. Change IconDatabase opening to allow for arbitrary filenames
  1854. https://bugs.webkit.org/show_bug.cgi?id=56977
  1855. * Api/qwebsettings.cpp:
  1856. (QWebSettings::setIconDatabasePath):
  1857. 2011-03-23 Aparna Nandyal <aparna.nand@wipro.com>
  1858. Reviewed by Andreas Kling.
  1859. [Qt] QtWebKit rendering problem when maximizing and doing a back
  1860. https://bugs.webkit.org/show_bug.cgi?id=56669
  1861. Added an auto test.
  1862. Patch by Alexis Menard < alexis.menard@nokia.com> on 2011-03-21
  1863. * tests/qwebview/tst_qwebview.cpp:
  1864. (tst_QWebView::rendering):
  1865. 2011-03-23 Yury Semikhatsky <yurys@chromium.org>
  1866. Reviewed by Pavel Feldman.
  1867. [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
  1868. https://bugs.webkit.org/show_bug.cgi?id=56843
  1869. * WebCoreSupport/InspectorClientQt.cpp:
  1870. (WebCore::InspectorClientQt::openInspectorFrontend):
  1871. 2011-03-22 Andrew Wason <rectalogic@rectalogic.com>
  1872. Reviewed by Benjamin Poulain.
  1873. [Qt] QWebPage with WebGL content crashes when rendering if no QWebView parent
  1874. https://bugs.webkit.org/show_bug.cgi?id=54138
  1875. * tests/qwebpage/tst_qwebpage.cpp:
  1876. (webGLScreenshotWithoutView):
  1877. (tst_QWebPage::acceleratedWebGLScreenshotWithoutView):
  1878. (tst_QWebPage::unacceleratedWebGLScreenshotWithoutView):
  1879. Render a QWebPage (with and without accelerated compositing)
  1880. with a WebGL context that has no owning view. Shouldn't crash.
  1881. 2011-03-21 Chang Shu <cshu@webkit.org>
  1882. Reviewed by Alexey Proskuryakov.
  1883. REGRESSION (r79953): Can't type in MS Outlook 2011
  1884. https://bugs.webkit.org/show_bug.cgi?id=56665
  1885. r79953 removed the WebView level editablity which is persistent no matter whether
  1886. underlying document itself is changed and editability gets lost. The resolution is to
  1887. set this WebView editable value to WebCore. This avoids the callback from WebCore to
  1888. WebKit which was the main goal in r79953 to improve performance.
  1889. * Api/qwebpage.cpp:
  1890. (QWebPage::setContentEditable):
  1891. (QWebPage::isContentEditable):
  1892. 2011-03-19 Andreas Kling <kling@webkit.org>
  1893. Reviewed by Benjamin Poulain.
  1894. [Qt] Remove support for Qt 4.6
  1895. https://bugs.webkit.org/show_bug.cgi?id=56712
  1896. * Api/qwebframe.cpp:
  1897. (QWebFrame::load):
  1898. * Api/qwebpage.cpp:
  1899. (QWebPagePrivate::QWebPagePrivate):
  1900. * Api/qwebsettings.cpp:
  1901. (QWebSettings::QWebSettings):
  1902. * WebCoreSupport/GeolocationClientQt.cpp:
  1903. (WebCore::GeolocationClientQt::positionUpdated):
  1904. 2011-03-19 Andreas Kling <kling@webkit.org>
  1905. Reviewed by Antonio Gomes.
  1906. [Qt][Doc] QWebPage::unsupportedContent() passes ownership of the QNetworkReply
  1907. https://bugs.webkit.org/show_bug.cgi?id=56711
  1908. Document the fact that when unsupportedContent(QNetworkReply*) is emitted,
  1909. ownership of the reply is transferred to the receiving slot.
  1910. * Api/qwebpage.cpp:
  1911. 2011-03-17 Brady Eidson <beidson@apple.com>
  1912. Reviewed by Sam Weinig.
  1913. https://bugs.webkit.org/show_bug.cgi?id=56425
  1914. More groundwork for WebKit2 IconDatabase
  1915. Update already-used function names:
  1916. * Api/qwebhistory.cpp:
  1917. (QWebHistoryItem::icon):
  1918. * Api/qwebsettings.cpp:
  1919. (QWebSettings::iconForUrl):
  1920. 2011-03-18 Alexis Menard <alexis.menard@openbossa.org>
  1921. Reviewed by Benjamin Poulain.
  1922. [Qt] console.log not being exposed to QmlViewer
  1923. https://bugs.webkit.org/show_bug.cgi?id=56536
  1924. The documentation is bogus the feature does not exist.
  1925. * declarative/qdeclarativewebview.cpp:
  1926. 2011-03-17 Andreas Kling <kling@webkit.org>
  1927. Reviewed by Kenneth Rohde Christiansen.
  1928. [Qt] QML WebView emits iconChanged() when the page title changes
  1929. https://bugs.webkit.org/show_bug.cgi?id=56570
  1930. * declarative/qdeclarativewebview.cpp:
  1931. (QDeclarativeWebView::setPage): Don't forward the frame's titleChanged
  1932. signal to the view's iconChanged signal.
  1933. 2011-03-17 Alexis Menard <alexis.menard@openbossa.org>
  1934. Reviewed by Benjamin Poulain.
  1935. [Qt] Videos look ugly when using QGraphicsWebView.
  1936. https://bugs.webkit.org/show_bug.cgi?id=56580
  1937. We need to set QPainter::SmoothPixmapTransform on the painter for a proper rendering of the video.
  1938. QWebView does it but not QGraphicsWebView because the API does not exist. This patch is fixing it
  1939. by introducing the same API as QWebView to control the renderHints of the item. Unlike QWebView
  1940. QGraphicsWebView inherits the painter from QGraphicsScene and those flags are not set. This patch
  1941. ensure that before rendering the item we add QPainter::SmoothPixmapTransform and QPainter::TextAntialiasing
  1942. in addition of what could be set on the painter. In order to not break the rendering of all the items in the
  1943. scene we set back the painter to its original state when QGraphicsWebView is rendered.
  1944. * Api/qgraphicswebview.cpp:
  1945. (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
  1946. (QGraphicsWebView::paint):
  1947. (QGraphicsWebView::renderHints):
  1948. (QGraphicsWebView::setRenderHints):
  1949. (QGraphicsWebView::setRenderHint):
  1950. * Api/qgraphicswebview.h:
  1951. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  1952. (tst_QGraphicsWebView::renderHints):
  1953. 2011-03-16 Joseph Pecoraro <joepeck@webkit.org>
  1954. Reviewed by Kenneth Rohde Christiansen.
  1955. Viewport no longer allows an auto value for "user-scalable"
  1956. https://bugs.webkit.org/show_bug.cgi?id=55416
  1957. Make the default value for userScalable be true.
  1958. * Api/qwebpage.cpp:
  1959. (QWebPage::viewportAttributesForSize):
  1960. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  1961. (DumpRenderTreeSupportQt::viewportAsText): update test output to include userScalable.
  1962. 2011-03-15 Kevin Ollivier <kevino@theolliviers.com>
  1963. Reviewed by Darin Adler.
  1964. Introduce WTF_USE_EXPORT_MACROS, which will allow us to put shared library import/export
  1965. info into the headers rather than in export symbol definition files, but disable it on
  1966. all platforms initially so we can deal with port build issues one port at a time.
  1967. https://bugs.webkit.org/show_bug.cgi?id=27551
  1968. * WebCoreSupport/GeolocationClientQt.cpp:
  1969. * WebCoreSupport/PopupMenuQt.cpp:
  1970. 2011-03-14 Brady Eidson <beidson@apple.com>
  1971. Reviewed by Anders Carlsson.
  1972. https://bugs.webkit.org/show_bug.cgi?id=56320
  1973. Remove HistoryItem::icon() and the WebCore dependency on "IconDatabaseBase::defaultIcon()"
  1974. * Api/qwebhistory.cpp:
  1975. (QWebHistoryItem::icon): Use IconDatabase directly.
  1976. 2011-03-11 Brady Eidson <beidson@apple.com>
  1977. Reviewed by attempt at build fix!
  1978. https://bugs.webkit.org/show_bug.cgi?id=56216
  1979. Fix the Qt build following the same pattern of the patch.
  1980. * Api/qwebsettings.cpp:
  1981. (QWebSettings::setIconDatabasePath): Call the static method via IconDatabase:: and not via iconDatabase()
  1982. 2011-03-11 Alexis Menard <alexis.menard@openbossa.org>
  1983. Reviewed by Ariya Hidayat.
  1984. [Qt] Entering fullscreen and leaving it may hide the cursor of the application.
  1985. https://bugs.webkit.org/show_bug.cgi?id=56181
  1986. We need to stop the auto hide cursor timer when closing the widget otherwise the timer
  1987. might get fired and therefore hide the cursor even when the fullscreen widget is closed.
  1988. * WebCoreSupport/FullScreenVideoWidget.cpp:
  1989. (WebCore::FullScreenVideoWidget::closeEvent):
  1990. 2011-03-10 David Boddie <david.boddie@nokia.com>
  1991. Reviewed by Andreas Kling.
  1992. Fixed a qdoc warning and terminology (WebKit instead of Webkit).
  1993. https://bugs.webkit.org/show_bug.cgi?id=55756
  1994. * Api/qwebhistoryinterface.cpp:
  1995. 2011-03-10 Andreas Kling <kling@webkit.org>
  1996. Unreviewed build fix after r80774.
  1997. QML property versioning is introduced in Qt 4.7.3, not 4.7.2.
  1998. See also: http://bugreports.qt.nokia.com/browse/QTBUG-13451
  1999. * declarative/plugin.cpp:
  2000. (WebKitQmlPlugin::registerTypes):
  2001. * declarative/qdeclarativewebview.cpp:
  2002. * declarative/qdeclarativewebview_p.h:
  2003. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  2004. 2011-03-10 Alexis Menard <alexis.menard@openbossa.org>
  2005. Reviewed by Andreas Kling.
  2006. [Qt] QtDeclarative Webview element has a fixed white background
  2007. https://bugs.webkit.org/show_bug.cgi?id=40918
  2008. Implement a way to change the background color of the WebView QML element.
  2009. This feature is activated for QtWebKit 1.1 version of the plugin.
  2010. * declarative/plugin.cpp:
  2011. (WebKitQmlPlugin::registerTypes):
  2012. * declarative/qdeclarativewebview.cpp:
  2013. (QDeclarativeWebView::backgroundColor):
  2014. (QDeclarativeWebView::setBackgroundColor):
  2015. * declarative/qdeclarativewebview_p.h:
  2016. * tests/qdeclarativewebview/resources/webviewbackgroundcolor.qml: Added.
  2017. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  2018. (tst_QDeclarativeWebView::backgroundColor):
  2019. * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
  2020. 2011-03-10 Stanislav Paltis <Stanislav.Paltis@nokia.com>
  2021. Reviewed by Laszlo Gombos.
  2022. [Qt] MemoryCache deadDecodedDataDeletionInterval is not exposed for client's usage
  2023. https://bugs.webkit.org/show_bug.cgi?id=55945
  2024. Added handling of dynamic/runtime property _q_deadDecodedDataDeletionInterval to
  2025. set interval used to trigger when decoded data in dead list of object cache will
  2026. be purged from object cache.
  2027. * Api/qwebpage.cpp:
  2028. (QWebPagePrivate::dynamicPropertyChangeEvent):
  2029. 2011-03-10 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  2030. Reviewed by Antonio Gomes.
  2031. Simplify how QWebFrame::requestedUrl() is obtained
  2032. https://bugs.webkit.org/show_bug.cgi?id=55842
  2033. When a load starts, store the requested URL until we know that it'll be
  2034. available for us in the document loader -- after load finished.
  2035. The existing auto tests cover the three different code paths in
  2036. requestedUrl() and the new code passes the autotests. In each of those
  2037. cases, we looked for the information in a different place, but in all
  2038. of them, dispatchDidStartProvisionalLoad was called.
  2039. This simplification will be useful to fix bug 32723. The way requestedUrl()
  2040. is implementent, we can't use it as a fallback for url() when the setUrl()
  2041. was called with an invalid URL.
  2042. * Api/qwebframe.cpp:
  2043. (QWebFrame::requestedUrl):
  2044. * WebCoreSupport/FrameLoaderClientQt.cpp:
  2045. (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
  2046. (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
  2047. * WebCoreSupport/FrameLoaderClientQt.h:
  2048. (WebCore::FrameLoaderClientQt::lastRequestedUrl):
  2049. 2011-03-10 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  2050. Reviewed by Kenneth Rohde Christiansen.
  2051. Tiled backing store's delegated scroll request uses incorrect convention
  2052. https://bugs.webkit.org/show_bug.cgi?id=56011
  2053. Adapt internal API to match the change from delta to point on the
  2054. WebCore side, and convert the point to a delta for the public API.
  2055. * WebCoreSupport/ChromeClientQt.cpp:
  2056. (WebCore::ChromeClientQt::delegatedScrollRequested):
  2057. * WebCoreSupport/ChromeClientQt.h:
  2058. 2011-03-09 Peter Kasting <pkasting@google.com>
  2059. Reviewed by Mihai Parparita.
  2060. Unify Windows version checks.
  2061. https://bugs.webkit.org/show_bug.cgi?id=55979
  2062. * Api/qwebpage.cpp:
  2063. (QWebPage::userAgentForUrl):
  2064. 2011-03-07 Sam Weinig <sam@webkit.org>
  2065. Reviewed by Anders Carlsson.
  2066. Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
  2067. https://bugs.webkit.org/show_bug.cgi?id=55827
  2068. Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
  2069. and pass the entire response, instead of just the MIMEType.
  2070. * WebCoreSupport/FrameLoaderClientQt.cpp:
  2071. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
  2072. * WebCoreSupport/FrameLoaderClientQt.h:
  2073. 2011-03-05 Qi Zhang <qi.2.zhang@nokia.com>
  2074. Reviewed by Laszlo Gombos.
  2075. [Qt] Mobile Devices should include Model and Firmware Version in Webkit Generated User Agent String
  2076. https://bugs.webkit.org/show_bug.cgi?id=48636
  2077. Add model infomation into user agent string when qtmobility is available, but only for symbian, Maemo and MeeGo.
  2078. * Api/qwebpage.cpp:
  2079. (QWebPage::userAgentForUrl):
  2080. 2011-03-03 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
  2081. Reviewed by Kenneth Rohde Christiansen.
  2082. [QT] Implement mock client-based geolocation for layout testing
  2083. https://bugs.webkit.org/show_bug.cgi?id=54334
  2084. Implement layout testing for Client-Based geolocation. If drt_run is set
  2085. then create mock geolocationClient and update the same with controller.
  2086. * Api/qwebpage.cpp:
  2087. (QWebPagePrivate::QWebPagePrivate):
  2088. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2089. (DumpRenderTreeSupportQt::mockGeolocationReset):
  2090. (DumpRenderTreeSupportQt::setMockGeolocationPermission):
  2091. (DumpRenderTreeSupportQt::setMockGeolocationPosition):
  2092. (DumpRenderTreeSupportQt::setMockGeolocationError):
  2093. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  2094. * WebCoreSupport/GeolocationClientQt.cpp:
  2095. (WebCore::GeolocationClientQt::GeolocationClientQt):
  2096. * WebCoreSupport/GeolocationClientQt.h:
  2097. 2011-03-03 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  2098. Reviewed by Kenneth Rohde Christiansen.
  2099. [Qt] QWebFrame::setUrl works only from second time if url fragment is present
  2100. https://bugs.webkit.org/show_bug.cgi?id=32723
  2101. Create an auto-test for Qt based on the bug description.
  2102. * tests/qwebframe/tst_qwebframe.cpp: add setUrlWithFragment() test.
  2103. 2011-03-03 Brady Eidson <beidson@apple.com>
  2104. Reviewed by Darin Adler.
  2105. https://bugs.webkit.org/show_bug.cgi?id=55721
  2106. Global IconDatabase should be returned by reference, not as a pointer
  2107. * Api/qwebsettings.cpp:
  2108. (QWebSettings::setIconDatabasePath):
  2109. (QWebSettings::iconDatabasePath):
  2110. (QWebSettings::clearIconDatabase):
  2111. (QWebSettings::iconForUrl):
  2112. 2011-03-03 Alexey Proskuryakov <ap@apple.com>
  2113. Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
  2114. via ChromeClient.h
  2115. * WebCoreSupport/ChromeClientQt.h:
  2116. 2011-03-02 Alexey Proskuryakov <ap@apple.com>
  2117. Reviewed by Darin Adler.
  2118. REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
  2119. https://bugs.webkit.org/show_bug.cgi?id=55633
  2120. <rdar://problem/8963023>
  2121. * WebCoreSupport/ChromeClientQt.cpp (WebCore::ChromeClientQt::keyboardUIMode):
  2122. * WebCoreSupport/ChromeClientQt.h:
  2123. Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
  2124. this platform doesn't observe or have full keyboard access state.
  2125. 2011-03-03 Alexis Menard <alexis.menard@openbossa.org>
  2126. Reviewed by Andreas Kling.
  2127. [Qt] QGraphicsWebView should use updateMicroFocus() of QGraphicsItem
  2128. https://bugs.webkit.org/show_bug.cgi?id=55568
  2129. We should use updateMicroFocus() from QGraphicsItem rather than the implementation
  2130. in QGraphicsWebView. _q_updateMicroFocus was added when QGraphicsItem didn't have the feature.
  2131. In Qt 4.7, updateMicroFocus was added, let's use it, then we can benefit of all bug fixing done
  2132. in QGraphicsItem.
  2133. * Api/qgraphicswebview.cpp:
  2134. (QGraphicsWebView::setPage):
  2135. * Api/qgraphicswebview.h:
  2136. 2011-03-03 Peter Kasting <pkasting@google.com>
  2137. Reviewed by James Robinson.
  2138. Drop redundant "Windows; " from the Windows-specific User Agent string.
  2139. https://bugs.webkit.org/show_bug.cgi?id=54567
  2140. * Api/qwebpage.cpp:
  2141. (QWebPage::userAgentForUrl):
  2142. 2011-03-01 Brian Weinstein <bweinstein@apple.com>
  2143. Reviewed by Adam Roben.
  2144. Part of WebKit2: Need a way to send notifications to client when cookies change
  2145. https://bugs.webkit.org/show_bug.cgi?id=55427
  2146. <rdar://problem/9056027>
  2147. Add stubs for CookiesStrategy on Qt WebKit1.
  2148. * WebCoreSupport/WebPlatformStrategies.cpp:
  2149. (WebPlatformStrategies::createCookiesStrategy):
  2150. (WebPlatformStrategies::notifyCookiesChanged):
  2151. * WebCoreSupport/WebPlatformStrategies.h:
  2152. 2011-03-01 Joseph Pecoraro <joepeck@webkit.org>
  2153. Unreviewed. Roll out r80068 and r80073 due to breaking WebKit2 Qt port.
  2154. * Api/qwebpage.cpp:
  2155. (QWebPage::viewportAttributesForSize):
  2156. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2157. (DumpRenderTreeSupportQt::viewportAsText):
  2158. 2011-03-01 Joseph Pecoraro <joepeck@webkit.org>
  2159. Reviewed by Kenneth Rohde Christiansen.
  2160. Viewport Warning/Error Messages Are Now Inaccurate
  2161. https://bugs.webkit.org/show_bug.cgi?id=53707
  2162. * Api/qwebpage.cpp:
  2163. (QWebPage::viewportAttributesForSize): pass a Document into computeViewportAttributes for warnings to be reported to.
  2164. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2165. (DumpRenderTreeSupportQt::viewportAsText): pass a Document into computeViewportAttributes for warnings to be reported to.
  2166. 2011-03-01 Andras Becsi <abecsi@webkit.org>
  2167. Reviewed by Csaba Osztrogonác.
  2168. [Qt] Clean up the project files and move common options to WebKit.pri.
  2169. * QtWebKit.pro: Move common options to WebKit.pri.
  2170. 2011-03-01 Aparna Nandyal <aparna.nand@wipro.com>
  2171. Reviewed by Simon Hausmann.
  2172. [Qt]tst_QWebPage::backActionUpdate fails when there is not network connection
  2173. https://bugs.webkit.org/show_bug.cgi?id=55319
  2174. The test case required internet connection to be able to connect to
  2175. google.com. Added new html file which refers to local html file.
  2176. * tests/qwebpage/resources/content.html: Added.
  2177. * tests/qwebpage/resources/frame_c.html: Added.
  2178. * tests/qwebpage/resources/framedindex.html: Added.
  2179. * tests/qwebpage/tst_qwebpage.cpp:
  2180. (tst_QWebPage::backActionUpdate):
  2181. * tests/qwebpage/tst_qwebpage.qrc:
  2182. 2011-02-25 Steve Block <steveblock@google.com>
  2183. Reviewed by Jeremy Orlow.
  2184. Bridge.h should not include BridgeJSC.h
  2185. https://bugs.webkit.org/show_bug.cgi?id=55212
  2186. Include BridgeJSC.h directly instead.
  2187. * Api/qwebframe.cpp:
  2188. 2011-02-28 Chang Shu <cshu@webkit.org>
  2189. Reviewed by Ryosuke Niwa.
  2190. Remove the support of Frame::isContentEditable and its dependencies.
  2191. https://bugs.webkit.org/show_bug.cgi?id=54292
  2192. Remove the WebKit side implementation. Make WebKit support depend on Document::inDesignMode.
  2193. * Api/qwebpage.cpp:
  2194. (QWebPagePrivate::QWebPagePrivate):
  2195. (QWebPage::setContentEditable):
  2196. (QWebPage::isContentEditable):
  2197. * Api/qwebpage_p.h:
  2198. * WebCoreSupport/EditorClientQt.cpp:
  2199. * WebCoreSupport/EditorClientQt.h:
  2200. 2011-02-28 Alexis Menard <alexis.menard@openbossa.org>
  2201. Reviewed by Oliver Hunt.
  2202. Build fix for Qt port after API changes of http://trac.webkit.org/changeset/79904.
  2203. * Api/qwebelement.cpp:
  2204. (QWebElement::evaluateJavaScript):
  2205. 2011-02-28 Alexis Menard <alexis.menard@openbossa.org>
  2206. Reviewed by Andreas Kling.
  2207. [Qt]tst_QDeclarativeWebView - 8 test cases fail
  2208. https://bugs.webkit.org/show_bug.cgi?id=55214
  2209. Fix the API tests for the QML WebView element. The default size of the element should be the size of the QGraphicsWebView
  2210. if no preferred width or height are provided (see http://trac.webkit.org/changeset/79672).
  2211. I also refactored the tests so we don't use the network but instead a local html file.
  2212. QML doesn't support qrc loading so I had to workaround by using a property that I update afterwards.
  2213. * tests/qdeclarativewebview/resources/sample.html: Added.
  2214. * tests/qdeclarativewebview/resources/webviewtest.qml:
  2215. * tests/qdeclarativewebview/resources/webviewtestdefault.qml:
  2216. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  2217. (tst_QDeclarativeWebView::preferredWidthTest):
  2218. (tst_QDeclarativeWebView::preferredHeightTest):
  2219. (tst_QDeclarativeWebView::preferredWidthDefaultTest):
  2220. (tst_QDeclarativeWebView::preferredHeightDefaultTest):
  2221. * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
  2222. 2011-02-28 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
  2223. Reviewed by Andreas Kling.
  2224. [Qt] Add clipped version of QWebElement::render method.
  2225. Allows faster rendering of web element part.
  2226. https://bugs.webkit.org/show_bug.cgi?id=50311
  2227. * Api/qwebelement.cpp:
  2228. (QWebElement::render):
  2229. * Api/qwebelement.h:
  2230. * tests/qwebelement/tst_qwebelement.cpp:
  2231. (tst_QWebElement::render):
  2232. 2011-02-28 Kristian Amlie <kristian.amlie@nokia.com>
  2233. Reviewed by Andreas Kling.
  2234. Added full webkit module profile and a syncqt profile.
  2235. This is for modularized Qt.
  2236. [Qt] WebKit patches required to work with a modularized version of Qt
  2237. https://bugs.webkit.org/show_bug.cgi?id=53916
  2238. * qt_webkit_version.pri:
  2239. 2011-02-27 Aparna Nandyal <aparna.nand@wipro.com>
  2240. Reviewed by Antonio Gomes.
  2241. [Qt] QtTestBrowser - Horizontal scrollbar disappears on navigating pages using Back/Forward
  2242. https://bugs.webkit.org/show_bug.cgi?id=53917
  2243. Adding test case to check the scenario to avoid regressions in the
  2244. future.
  2245. * tests/qwebframe/tst_qwebframe.cpp:
  2246. 2011-02-27 Benjamin Poulain <benjamin.poulain@nokia.com>
  2247. Reviewed by Andreas Kling.
  2248. [Qt] Reference the documentation of the WebKit bridge from QWebFrame::addToJavaScriptWindowObject()
  2249. https://bugs.webkit.org/show_bug.cgi?id=55322
  2250. Documentation update, add a reference to the QtWebKit bridge page.
  2251. * Api/qwebframe.cpp:
  2252. 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
  2253. Reviewed by Pavel Feldman.
  2254. DumpRenderTree should reset frame opener between tests.
  2255. https://bugs.webkit.org/show_bug.cgi?id=54874
  2256. Added clearOpener method to DumpRenderTreeSupportQT.
  2257. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2258. (DumpRenderTreeSupportQt::clearOpener):
  2259. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  2260. 2011-02-26 Kenneth Rohde Christiansen <kenneth@webkit.org>
  2261. Reviewed by Andreas Kling.
  2262. Make it possible to test the targetdensity-dpi support
  2263. https://bugs.webkit.org/show_bug.cgi?id=55142
  2264. Test the viewport meta tag feature targetdensity-dpi by
  2265. adding extra arguments to dumpConfigurationForViewport
  2266. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2267. (DumpRenderTreeSupportQt::viewportAsText):
  2268. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  2269. 2011-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
  2270. Unreviewed, rolling out r79764.
  2271. http://trac.webkit.org/changeset/79764
  2272. https://bugs.webkit.org/show_bug.cgi?id=55295
  2273. "broke Chromium builds" (Requested by rniwa on #webkit).
  2274. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2275. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  2276. 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
  2277. Reviewed by Pavel Feldman.
  2278. DumpRenderTree should reset frame opener between tests.
  2279. https://bugs.webkit.org/show_bug.cgi?id=54874
  2280. Added clearOpener method to DumpRenderTreeSupportQT.
  2281. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2282. (DumpRenderTreeSupportQt::clearOpener):
  2283. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  2284. 2011-02-25 Andras Becsi <abecsi@webkit.org>
  2285. Reviewed by Csaba Osztrogonác.
  2286. [Qt] Make the WebKit2 build system less confusing for non-Qt developers
  2287. https://bugs.webkit.org/show_bug.cgi?id=55213
  2288. * QtWebKit.pro: Move the WebKit2 API into a project include file
  2289. in the WebKit2 directory and include the pri file here.
  2290. 2011-02-25 Alexis Menard <alexis.menard@openbossa.org>
  2291. Unreviewed build fix for Intel ICC and MSVC.
  2292. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  2293. (tst_QGraphicsWebView::setPalette):
  2294. * tests/qwebview/tst_qwebview.cpp:
  2295. (tst_QWebView::setPalette):
  2296. 2011-02-25 Alexis Menard <alexis.menard@openbossa.org>
  2297. Reviewed by Kenneth Rohde Christiansen.
  2298. [Qt] Properly propagate the palette to QWebPage from QGraphicsWebView
  2299. https://bugs.webkit.org/show_bug.cgi?id=31742
  2300. Discovered while looking at 31742. When we set a palette on the
  2301. QGraphicsWebView we need to propagate it to the page like QWebView.
  2302. I have added the same tests as QWebView to be sure to catch potential
  2303. regressions as well as two extras QVERIFY to check the palette propagation.
  2304. * Api/qgraphicswebview.cpp:
  2305. (QGraphicsWebView::event):
  2306. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  2307. (tst_QGraphicsWebView::setPalette_data):
  2308. (tst_QGraphicsWebView::setPalette):
  2309. 2011-02-25 Csaba Osztrogonác <ossy@webkit.org>
  2310. Unreviewed buildfix after r79672.
  2311. [Qt] Build tst_qdeclarativewebview if QT_CONFIG contains declarative.
  2312. * tests/tests.pri:
  2313. * tests/tests.pro:
  2314. 2011-02-25 Gopal Raghavan <gopal.1.raghavan@nokia.com>
  2315. Reviewed by Kenneth Rohde Christiansen.
  2316. [Qt] QML WebView inside a Flickable shows checkers pattern at startup
  2317. https://bugs.webkit.org/show_bug.cgi?id=50222.
  2318. This patch fixes the checkerboard visible at startup even if preferredWidth and preferredHeight are not set.
  2319. * declarative/qdeclarativewebview.cpp:
  2320. (QDeclarativeWebView::init):
  2321. * tests/qdeclarativewebview: Added.
  2322. * tests/qdeclarativewebview/qdeclarativewebview.pro: Added.
  2323. * tests/qdeclarativewebview/resources: Added.
  2324. * tests/qdeclarativewebview/resources/webviewtest.qml: Added.
  2325. * tests/qdeclarativewebview/resources/webviewtestdefault.qml: Added.
  2326. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Added.
  2327. (tst_QDeclarativeWebView::initTestCase):
  2328. (tst_QDeclarativeWebView::cleanupTestCase):
  2329. (tst_QDeclarativeWebView::init):
  2330. (tst_QDeclarativeWebView::cleanup):
  2331. (tst_QDeclarativeWebView::preferredWidthTest):
  2332. (tst_QDeclarativeWebView::preferredHeightTest):
  2333. (tst_QDeclarativeWebView::preferredWidthDefaultTest):
  2334. (tst_QDeclarativeWebView::preferredHeightDefaultTest):
  2335. (tst_QDeclarativeWebView::checkNoErrors):
  2336. * tests/tests.pri:
  2337. * tests/tests.pro:
  2338. 2011-02-24 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  2339. Reviewed by Andreas Kling.
  2340. [Qt] Revert the support for QNAM affined to a different thread.
  2341. https://bugs.webkit.org/show_bug.cgi?id=55149
  2342. Qt 4.8 will have QNAM use its own thread internally by default,
  2343. no need to keep this complexity in WebKit.
  2344. This mainly reverts:
  2345. http://trac.webkit.org/changeset/73710
  2346. http://trac.webkit.org/changeset/73712
  2347. * WebCoreSupport/FrameLoaderClientQt.cpp:
  2348. (WebCore::FrameLoaderClientQt::download):
  2349. * tests/qwebpage/tst_qwebpage.cpp:
  2350. 2011-02-24 Sam Weinig <sam@webkit.org>
  2351. Try to fix the Qt build.
  2352. * QtWebKit.pro:
  2353. 2011-02-24 Peter Kasting <pkasting@google.com>
  2354. Reviewed by Eric Seidel.
  2355. Drop the "U; " encryption level from the User Agent string.
  2356. https://bugs.webkit.org/show_bug.cgi?id=54566
  2357. * Api/qwebpage.cpp:
  2358. (QWebPage::userAgentForUrl):
  2359. 2011-02-24 Andrew Wilson <atwilson@chromium.org>
  2360. Unreviewed, rolling out r79570.
  2361. http://trac.webkit.org/changeset/79570
  2362. https://bugs.webkit.org/show_bug.cgi?id=54874
  2363. Breaks chromium build because glue/mocks/mock_web_frame.h/cc
  2364. was not updated
  2365. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2366. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  2367. 2011-02-24 Vsevolod Vlasov <vsevik@chromium.org>
  2368. Reviewed by Alexey Proskuryakov.
  2369. DumpRenderTree should reset frame opener between tests.
  2370. https://bugs.webkit.org/show_bug.cgi?id=54874
  2371. Added clearOpener method to DumpRenderTreeSupportQT.
  2372. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2373. (DumpRenderTreeSupportQt::clearOpener):
  2374. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  2375. 2011-02-24 Alexis Menard <alexis.menard@openbossa.org>
  2376. Reviewed by Andreas Kling.
  2377. [Qt] tst_QWebView::setPalette(activeFG) fails
  2378. https://bugs.webkit.org/show_bug.cgi?id=55029
  2379. This time it should be the proper fix. The window needs to be shown before we
  2380. call activateWindow() otherwise there is no active windows for the application.
  2381. * tests/qwebview/tst_qwebview.cpp:
  2382. (tst_QWebView::setPalette):
  2383. 2011-02-24 Andras Becsi <abecsi@webkit.org>
  2384. Reviewed by Laszlo Gombos.
  2385. [Qt] MinGW build fails to link
  2386. https://bugs.webkit.org/show_bug.cgi?id=55050
  2387. Prepend the libraries of subcomponents instead of appending them
  2388. to fix the library order according to the dependency of the libraries
  2389. * QtWebKit.pro: prepend libraries in the correct order
  2390. 2011-02-23 Alexis Menard <alexis.menard@openbossa.org>
  2391. Reviewed by Ariya Hidayat.
  2392. [Qt] tst_QWebView::setPalette(activeFG) fails
  2393. https://bugs.webkit.org/show_bug.cgi?id=55029
  2394. Attempt to make the test more robust. By investigating with the bot virtual machine
  2395. I discovered that the activation can take some time. In this patch we make sure that
  2396. the active window we want to have is the same as the QApplication.
  2397. * tests/qwebview/tst_qwebview.cpp:
  2398. (tst_QWebView::setPalette):
  2399. 2011-02-23 Alexis Menard <alexis.menard@openbossa.org>
  2400. Reviewed by Dan Bernstein.
  2401. [Qt]REGRESSION(r79167): It broke 3 Qt-API test cases
  2402. http://trac.webkit.org/changeset/79167 refactored the way the bound size of
  2403. the frame is handled. A new API setBoundsSize was added, we need to call it
  2404. in addition to setFrameRect. I could call setBoundSize after setFrameRect but
  2405. I thought It would be more elegant to use the resize method.
  2406. * Api/qwebpage.cpp:
  2407. (QWebPage::setViewportSize):
  2408. 2011-02-22 Fabrizio Machado <fabrizio.machado@nokia.com>
  2409. Reviewed by Laszlo Gombos.
  2410. [Qt] Don't fall through case in variantToSetting() if qvariant.type() is Bool
  2411. https://bugs.webkit.org/show_bug.cgi?id=54976
  2412. Test not needed.
  2413. * WebCoreSupport/InspectorClientQt.cpp:
  2414. 2011-02-22 Alexis Menard <alexis.menard@openbossa.org>
  2415. Reviewed by Andreas Kling.
  2416. [Qt] QWebView ignores a palette set with QWebView::setPalette()
  2417. https://bugs.webkit.org/show_bug.cgi?id=31742
  2418. Test case to check that the palette sets on the QWebView is taken
  2419. into account.
  2420. * tests/qwebview/tst_qwebview.cpp:
  2421. (tst_QWebView::setPalette_data):
  2422. (tst_QWebView::setPalette):
  2423. 2011-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  2424. Reviewed by Alexey Proskuryakov.
  2425. Drop the language tag part from the User Agent string
  2426. https://bugs.webkit.org/show_bug.cgi?id=54560
  2427. * Api/qwebpage.cpp:
  2428. (QWebPage::userAgentForUrl):
  2429. * tests/qwebpage/tst_qwebpage.cpp: Remove the userAgentLocaleChange
  2430. test.
  2431. 2011-02-22 Chang Shu <cshu@webkit.org>
  2432. Reviewed by Csaba Osztrogonác.
  2433. [Qt] editing/deleting/5408255.html fails
  2434. https://bugs.webkit.org/show_bug.cgi?id=54964
  2435. Move WebCore resource file to QtWebKit since they are referred in WebKit.
  2436. * QtWebKit.pro:
  2437. 2011-02-22 Andras Becsi <abecsi@webkit.org>
  2438. Reviewed by Csaba Osztrogonác.
  2439. [Qt] Redesign the build system
  2440. https://bugs.webkit.org/show_bug.cgi?id=51339
  2441. Move inspector's resource files into the final build step to fix the layout test regression.
  2442. * QtWebKit.pro: Add inspector's reaource files.
  2443. 2011-02-22 Andras Becsi <abecsi@webkit.org>
  2444. Reviewed by Laszlo Gombos.
  2445. Rubber-stamped by Csaba Osztrogonác.
  2446. [Qt] Redesign the build system
  2447. https://bugs.webkit.org/show_bug.cgi?id=51339
  2448. The patch landed in r79320 didn't contain the cleanup
  2449. which was already addressed in the last attachment.
  2450. * QtWebKit.pro: Move common LIB and CONFIG options to WebCore.pri.
  2451. 2011-02-22 Andras Becsi <abecsi@webkit.org>
  2452. Reviewed by Laszlo Gombos.
  2453. [Qt] Redesign the build system
  2454. https://bugs.webkit.org/show_bug.cgi?id=51339
  2455. Part 2.
  2456. Build WebCore as a static library, compile the WebKit API and WebKit2 API
  2457. in a final step and link to WebKit2, WebCore and JSC libraries to fix
  2458. linking issues resulting from stripped away symbols.
  2459. * QtWebKit.pro: Added.
  2460. Project file for the final build step.
  2461. 2011-02-17 Ryosuke Niwa <rniwa@webkit.org>
  2462. Reviewed by Kent Tamura.
  2463. Rename Position::node() to Position::deprecatedNode()
  2464. https://bugs.webkit.org/show_bug.cgi?id=54622
  2465. Replaced the call to node() by a call to containerNode() because the returned node is
  2466. used to determine whether or not the selected contents are editable and such a check
  2467. must be done against the container node.
  2468. * WebCoreSupport/EditorClientQt.cpp:
  2469. (WebCore::EditorClientQt::handleKeyboardEvent):
  2470. 2011-02-19 Charlie Reis <creis@chromium.org>
  2471. Reviewed by Mihai Parparita.
  2472. Ensure loading has stopped in HistoryController::goToItem
  2473. https://bugs.webkit.org/show_bug.cgi?id=54517
  2474. Add a FrameLoaderClient callback for whether to stop loading before goToItem.
  2475. Test: http/tests/navigation/forward-to-fragment-fires-onload.html
  2476. * WebCoreSupport/FrameLoaderClientQt.cpp:
  2477. (WebCore::FrameLoaderClientQt::shouldStopLoadingForHistoryItem): Added.
  2478. * WebCoreSupport/FrameLoaderClientQt.h:
  2479. 2011-02-18 Fabrizio Machado <fabrizio.machado@nokia.com>
  2480. Reviewed by Eric Seidel.
  2481. Remove reduntant checks.
  2482. https://bugs.webkit.org/show_bug.cgi?id=54764
  2483. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2484. (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
  2485. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  2486. (WebCore::NotificationPresenterClientQt::toPage):
  2487. 2011-02-18 Csaba Osztrogonác <ossy@webkit.org>
  2488. Unreviewed.
  2489. [Qt] Buildfix for platforms with geolocation disabled.
  2490. * Api/qwebpage.cpp: Add the missing guard.
  2491. 2011-02-18 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
  2492. Reviewed by Kenneth Rohde Christiansen.
  2493. [Qt] Implement client based geolocation for qtport
  2494. https://bugs.webkit.org/show_bug.cgi?id=42629
  2495. Implements client based geolocation for qtwebkit.
  2496. New client based geolocation contains permission API's as well,
  2497. so removed the implementation from ChromeClientQt.cpp.
  2498. * Api/qwebpage.cpp:
  2499. (QWebPagePrivate::QWebPagePrivate):
  2500. * WebCoreSupport/ChromeClientQt.cpp:
  2501. * WebCoreSupport/ChromeClientQt.h:
  2502. (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame):
  2503. (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
  2504. * WebCoreSupport/GeolocationClientQt.cpp: Added.
  2505. (WebCore::GeolocationClientQt::GeolocationClientQt):
  2506. (WebCore::GeolocationClientQt::~GeolocationClientQt):
  2507. (WebCore::GeolocationClientQt::geolocationDestroyed):
  2508. (WebCore::GeolocationClientQt::positionUpdated):
  2509. (WebCore::GeolocationClientQt::startUpdating):
  2510. (WebCore::GeolocationClientQt::stopUpdating):
  2511. (WebCore::GeolocationClientQt::setEnableHighAccuracy):
  2512. (WebCore::GeolocationClientQt::requestPermission):
  2513. (WebCore::GeolocationClientQt::cancelPermissionRequest):
  2514. * WebCoreSupport/GeolocationClientQt.h: Added.
  2515. (WebCore::GeolocationClientQt::lastPosition):
  2516. 2011-02-10 Luiz Agostini <luiz.agostini@openbossa.org>
  2517. Reviewed by Adam Roben.
  2518. HTML5 <details> and <summary>: localized text
  2519. https://bugs.webkit.org/show_bug.cgi?id=54260
  2520. The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
  2521. provide the default label to be used by a <details> tag that has no <summary> child.
  2522. * WebCoreSupport/WebPlatformStrategies.cpp:
  2523. (WebPlatformStrategies::defaultDetailsSummaryText):
  2524. * WebCoreSupport/WebPlatformStrategies.h:
  2525. 2011-02-17 Hui Huang <hui.2.huang@nokia.com>
  2526. Reviewed by Laszlo Gombos.
  2527. The URL of HTML5 Video Element is percent encoded at websites such as youtube.
  2528. It is percent encoded again by QUrl constructor QUrl::QUrl(QString). This causes
  2529. the HTTP GET request for the video to be rejected by the service provider.
  2530. https://bugs.webkit.org/show_bug.cgi?id=53973.
  2531. The bug is fixed by constructing QUrl from the encoded URL in
  2532. MediaPlayerPrivateQt::commitLoad.
  2533. New test function tst_QWebPage::loadHtml5Video() is added to load HTML content with
  2534. HTML5 Video element. A new public method DumpRenderTreeSupportQt::mediaContentUrlByElementId
  2535. is added to retrieve the URL of the media content from WebCore MediaPlayerPrivateQt.
  2536. A new macro ENABLE_QT_MULTIMEDIA is introduced in tests.pri to make sure that the test
  2537. is skipped if Qt Multimedia is not available.
  2538. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2539. (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
  2540. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  2541. * tests/qwebpage/tst_qwebpage.cpp:
  2542. (tst_QWebPage::loadHtml5Video):
  2543. * tests/tests.pri:
  2544. 2011-02-17 Andreas Kling <kling@webkit.org>
  2545. Reviewed by Antti Koivisto.
  2546. [Qt] Crash when calling QWebFrame::setUrl() while a previous load has pending requests
  2547. https://bugs.webkit.org/show_bug.cgi?id=49216
  2548. * tests/qwebframe/tst_qwebframe.cpp:
  2549. == Rolled over to ChangeLog-2011-02-16 ==