/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

Large files are truncated click here to view the full 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):