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