e69b3bdccfdcf3128b57fae02d38ccd68219b6fd
[WebKit-https.git] / Source / WebKit / qt / ChangeLog
1 2011-03-10  Stanislav Paltis  <Stanislav.Paltis@nokia.com>
2
3         Reviewed by Laszlo Gombos.
4
5         [Qt] MemoryCache deadDecodedDataDeletionInterval is not exposed for client's usage
6         https://bugs.webkit.org/show_bug.cgi?id=55945
7         
8         Added handling of dynamic/runtime property _q_deadDecodedDataDeletionInterval to 
9         set interval used to trigger when decoded data in dead list of object cache will 
10         be purged from object cache. 
11
12         * Api/qwebpage.cpp:
13         (QWebPagePrivate::dynamicPropertyChangeEvent):
14
15 2011-03-10  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
16
17         Reviewed by Antonio Gomes.
18
19         Simplify how QWebFrame::requestedUrl() is obtained
20         https://bugs.webkit.org/show_bug.cgi?id=55842
21
22         When a load starts, store the requested URL until we know that it'll be
23         available for us in the document loader -- after load finished.
24
25         The existing auto tests cover the three different code paths in
26         requestedUrl() and the new code passes the autotests. In each of those
27         cases, we looked for the information in a different place, but in all
28         of them, dispatchDidStartProvisionalLoad was called.
29
30         This simplification will be useful to fix bug 32723. The way requestedUrl()
31         is implementent, we can't use it as a fallback for url() when the setUrl()
32         was called with an invalid URL.
33
34         * Api/qwebframe.cpp:
35         (QWebFrame::requestedUrl):
36         * WebCoreSupport/FrameLoaderClientQt.cpp:
37         (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
38         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
39         * WebCoreSupport/FrameLoaderClientQt.h:
40         (WebCore::FrameLoaderClientQt::lastRequestedUrl):
41
42 2011-03-10  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
43
44         Reviewed by Kenneth Rohde Christiansen.
45
46         Tiled backing store's delegated scroll request uses incorrect convention
47         https://bugs.webkit.org/show_bug.cgi?id=56011
48
49         Adapt internal API to match the change from delta to point on the
50         WebCore side, and convert the point to a delta for the public API.
51
52         * WebCoreSupport/ChromeClientQt.cpp:
53         (WebCore::ChromeClientQt::delegatedScrollRequested):
54         * WebCoreSupport/ChromeClientQt.h:
55
56 2011-03-09  Peter Kasting  <pkasting@google.com>
57
58         Reviewed by Mihai Parparita.
59
60         Unify Windows version checks.
61         https://bugs.webkit.org/show_bug.cgi?id=55979
62
63         * Api/qwebpage.cpp:
64         (QWebPage::userAgentForUrl):
65
66 2011-03-07  Sam Weinig  <sam@webkit.org>
67
68         Reviewed by Anders Carlsson.
69
70         Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
71         https://bugs.webkit.org/show_bug.cgi?id=55827
72
73         Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
74         and pass the entire response, instead of just the MIMEType.
75
76         * WebCoreSupport/FrameLoaderClientQt.cpp:
77         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
78         * WebCoreSupport/FrameLoaderClientQt.h:
79
80 2011-03-05  Qi Zhang  <qi.2.zhang@nokia.com>
81
82         Reviewed by Laszlo Gombos.
83
84         [Qt] Mobile Devices should include Model and Firmware Version in Webkit Generated User Agent String
85         https://bugs.webkit.org/show_bug.cgi?id=48636
86
87         Add model infomation into user agent string when qtmobility is available, but only for symbian, Maemo and MeeGo.
88
89         * Api/qwebpage.cpp:
90         (QWebPage::userAgentForUrl):
91
92 2011-03-03  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
93
94         Reviewed by Kenneth Rohde Christiansen.
95
96         [QT] Implement mock client-based geolocation for layout testing
97         https://bugs.webkit.org/show_bug.cgi?id=54334
98
99         Implement layout testing for Client-Based geolocation. If drt_run is set 
100         then create mock geolocationClient and update the same with controller.
101
102         * Api/qwebpage.cpp:
103         (QWebPagePrivate::QWebPagePrivate):
104         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
105         (DumpRenderTreeSupportQt::mockGeolocationReset):
106         (DumpRenderTreeSupportQt::setMockGeolocationPermission):
107         (DumpRenderTreeSupportQt::setMockGeolocationPosition):
108         (DumpRenderTreeSupportQt::setMockGeolocationError):
109         * WebCoreSupport/DumpRenderTreeSupportQt.h:
110         * WebCoreSupport/GeolocationClientQt.cpp:
111         (WebCore::GeolocationClientQt::GeolocationClientQt):
112         * WebCoreSupport/GeolocationClientQt.h:
113
114 2011-03-03  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
115
116         Reviewed by Kenneth Rohde Christiansen.
117
118         [Qt] QWebFrame::setUrl works only from second time if url fragment is present
119         https://bugs.webkit.org/show_bug.cgi?id=32723
120
121         Create an auto-test for Qt based on the bug description.
122
123         * tests/qwebframe/tst_qwebframe.cpp: add setUrlWithFragment() test.
124
125 2011-03-03  Brady Eidson  <beidson@apple.com>
126
127         Reviewed by Darin Adler.
128
129         https://bugs.webkit.org/show_bug.cgi?id=55721
130         Global IconDatabase should be returned by reference, not as a pointer
131
132         * Api/qwebsettings.cpp:
133         (QWebSettings::setIconDatabasePath):
134         (QWebSettings::iconDatabasePath):
135         (QWebSettings::clearIconDatabase):
136         (QWebSettings::iconForUrl):
137
138 2011-03-03  Alexey Proskuryakov  <ap@apple.com>
139
140         Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
141         via ChromeClient.h
142
143         * WebCoreSupport/ChromeClientQt.h:
144
145 2011-03-02  Alexey Proskuryakov  <ap@apple.com>
146
147         Reviewed by Darin Adler.
148
149         REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
150         https://bugs.webkit.org/show_bug.cgi?id=55633
151         <rdar://problem/8963023>
152
153         * WebCoreSupport/ChromeClientQt.cpp (WebCore::ChromeClientQt::keyboardUIMode):
154         * WebCoreSupport/ChromeClientQt.h:
155         Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
156         this platform doesn't observe or have full keyboard access state.
157
158 2011-03-03  Alexis Menard  <alexis.menard@openbossa.org>
159
160         Reviewed by Andreas Kling.
161
162         [Qt] QGraphicsWebView should use updateMicroFocus() of QGraphicsItem
163         https://bugs.webkit.org/show_bug.cgi?id=55568
164
165         We should use updateMicroFocus() from QGraphicsItem rather than the implementation
166         in QGraphicsWebView. _q_updateMicroFocus was added when QGraphicsItem didn't have the feature.
167         In Qt 4.7, updateMicroFocus was added, let's use it, then we can benefit of all bug fixing done
168         in QGraphicsItem.
169
170         * Api/qgraphicswebview.cpp:
171         (QGraphicsWebView::setPage):
172         * Api/qgraphicswebview.h:
173
174 2011-03-03  Peter Kasting  <pkasting@google.com>
175
176         Reviewed by James Robinson.
177
178         Drop redundant "Windows; " from the Windows-specific User Agent string.
179         https://bugs.webkit.org/show_bug.cgi?id=54567
180
181         * Api/qwebpage.cpp:
182         (QWebPage::userAgentForUrl):
183
184 2011-03-01  Brian Weinstein  <bweinstein@apple.com>
185
186         Reviewed by Adam Roben.
187
188         Part of WebKit2: Need a way to send notifications to client when cookies change
189         https://bugs.webkit.org/show_bug.cgi?id=55427
190         <rdar://problem/9056027>
191         
192         Add stubs for CookiesStrategy on Qt WebKit1.
193
194         * WebCoreSupport/WebPlatformStrategies.cpp:
195         (WebPlatformStrategies::createCookiesStrategy):
196         (WebPlatformStrategies::notifyCookiesChanged):
197         * WebCoreSupport/WebPlatformStrategies.h:
198
199 2011-03-01  Joseph Pecoraro  <joepeck@webkit.org>
200
201         Unreviewed. Roll out r80068 and r80073 due to breaking WebKit2 Qt port.
202
203         * Api/qwebpage.cpp:
204         (QWebPage::viewportAttributesForSize):
205         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
206         (DumpRenderTreeSupportQt::viewportAsText):
207
208 2011-03-01  Joseph Pecoraro  <joepeck@webkit.org>
209
210         Reviewed by Kenneth Rohde Christiansen.
211
212         Viewport Warning/Error Messages Are Now Inaccurate
213         https://bugs.webkit.org/show_bug.cgi?id=53707
214
215         * Api/qwebpage.cpp:
216         (QWebPage::viewportAttributesForSize): pass a Document into computeViewportAttributes for warnings to be reported to.
217         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
218         (DumpRenderTreeSupportQt::viewportAsText): pass a Document into computeViewportAttributes for warnings to be reported to.
219
220 2011-03-01  Andras Becsi  <abecsi@webkit.org>
221
222         Reviewed by Csaba Osztrogonác.
223
224         [Qt] Clean up the project files and move common options to WebKit.pri.
225
226         * QtWebKit.pro: Move common options to WebKit.pri.
227
228 2011-03-01  Aparna Nandyal  <aparna.nand@wipro.com>
229
230         Reviewed by Simon Hausmann.
231
232         [Qt]tst_QWebPage::backActionUpdate fails when there is not network connection
233         https://bugs.webkit.org/show_bug.cgi?id=55319
234
235         The test case required internet connection to be able to connect to
236         google.com. Added new html file which refers to local html file.
237
238         * tests/qwebpage/resources/content.html: Added.
239         * tests/qwebpage/resources/frame_c.html: Added.
240         * tests/qwebpage/resources/framedindex.html: Added.
241         * tests/qwebpage/tst_qwebpage.cpp:
242         (tst_QWebPage::backActionUpdate):
243         * tests/qwebpage/tst_qwebpage.qrc:
244
245 2011-02-25 Steve Block <steveblock@google.com>
246
247         Reviewed by Jeremy Orlow.
248
249         Bridge.h should not include BridgeJSC.h
250         https://bugs.webkit.org/show_bug.cgi?id=55212
251
252         Include BridgeJSC.h directly instead.
253
254         * Api/qwebframe.cpp:
255
256 2011-02-28  Chang Shu  <cshu@webkit.org>
257
258         Reviewed by Ryosuke Niwa.
259
260         Remove the support of Frame::isContentEditable and its dependencies.
261         https://bugs.webkit.org/show_bug.cgi?id=54292
262
263         Remove the WebKit side implementation. Make WebKit support depend on Document::inDesignMode.
264
265         * Api/qwebpage.cpp:
266         (QWebPagePrivate::QWebPagePrivate):
267         (QWebPage::setContentEditable):
268         (QWebPage::isContentEditable):
269         * Api/qwebpage_p.h:
270         * WebCoreSupport/EditorClientQt.cpp:
271         * WebCoreSupport/EditorClientQt.h:
272
273 2011-02-28  Alexis Menard  <alexis.menard@openbossa.org>
274
275         Reviewed by Oliver Hunt.
276
277         Build fix for Qt port after API changes of http://trac.webkit.org/changeset/79904.
278
279         * Api/qwebelement.cpp:
280         (QWebElement::evaluateJavaScript):
281
282 2011-02-28  Alexis Menard  <alexis.menard@openbossa.org>
283
284         Reviewed by Andreas Kling.
285
286         [Qt]tst_QDeclarativeWebView - 8 test cases fail
287         https://bugs.webkit.org/show_bug.cgi?id=55214
288
289         Fix the API tests for the QML WebView element. The default size of the element should be the size of the QGraphicsWebView
290         if no preferred width or height are provided (see http://trac.webkit.org/changeset/79672).
291         I also refactored the tests so we don't use the network but instead a local html file.
292         QML doesn't support qrc loading so I had to workaround by using a property that I update afterwards.
293
294         * tests/qdeclarativewebview/resources/sample.html: Added.
295         * tests/qdeclarativewebview/resources/webviewtest.qml:
296         * tests/qdeclarativewebview/resources/webviewtestdefault.qml:
297         * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
298         (tst_QDeclarativeWebView::preferredWidthTest):
299         (tst_QDeclarativeWebView::preferredHeightTest):
300         (tst_QDeclarativeWebView::preferredWidthDefaultTest):
301         (tst_QDeclarativeWebView::preferredHeightDefaultTest):
302         * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
303
304 2011-02-28  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
305
306         Reviewed by Andreas Kling.
307
308         [Qt] Add clipped version of QWebElement::render method.
309         Allows faster rendering of web element part.
310         https://bugs.webkit.org/show_bug.cgi?id=50311
311
312         * Api/qwebelement.cpp:
313         (QWebElement::render):
314         * Api/qwebelement.h:
315         * tests/qwebelement/tst_qwebelement.cpp:
316         (tst_QWebElement::render):
317
318 2011-02-28  Kristian Amlie  <kristian.amlie@nokia.com>
319
320         Reviewed by Andreas Kling.
321
322         Added full webkit module profile and a syncqt profile.
323
324         This is for modularized Qt.
325
326         [Qt] WebKit patches required to work with a modularized version of Qt
327         https://bugs.webkit.org/show_bug.cgi?id=53916
328
329         * qt_webkit_version.pri:
330
331 2011-02-27  Aparna Nandyal  <aparna.nand@wipro.com>
332
333         Reviewed by Antonio Gomes.
334
335         [Qt] QtTestBrowser - Horizontal scrollbar disappears on navigating pages using Back/Forward
336         https://bugs.webkit.org/show_bug.cgi?id=53917
337
338         Adding test case to check the scenario to avoid regressions in the
339         future. 
340
341         * tests/qwebframe/tst_qwebframe.cpp:
342
343 2011-02-27  Benjamin Poulain  <benjamin.poulain@nokia.com>
344
345         Reviewed by Andreas Kling.
346
347         [Qt] Reference the documentation of the WebKit bridge from QWebFrame::addToJavaScriptWindowObject()
348         https://bugs.webkit.org/show_bug.cgi?id=55322
349
350         Documentation update, add a reference to the QtWebKit bridge page.
351
352         * Api/qwebframe.cpp:
353
354 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
355
356         Reviewed by Pavel Feldman.
357
358         DumpRenderTree should reset frame opener between tests.
359         https://bugs.webkit.org/show_bug.cgi?id=54874
360
361         Added clearOpener method to DumpRenderTreeSupportQT.
362
363         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
364         (DumpRenderTreeSupportQt::clearOpener):
365         * WebCoreSupport/DumpRenderTreeSupportQt.h:
366
367 2011-02-26  Kenneth Rohde Christiansen  <kenneth@webkit.org>
368
369         Reviewed by Andreas Kling.
370
371         Make it possible to test the targetdensity-dpi support
372         https://bugs.webkit.org/show_bug.cgi?id=55142
373
374         Test the viewport meta tag feature targetdensity-dpi by
375         adding extra arguments to dumpConfigurationForViewport
376
377         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
378         (DumpRenderTreeSupportQt::viewportAsText):
379         * WebCoreSupport/DumpRenderTreeSupportQt.h:
380
381 2011-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
382
383         Unreviewed, rolling out r79764.
384         http://trac.webkit.org/changeset/79764
385         https://bugs.webkit.org/show_bug.cgi?id=55295
386
387         "broke Chromium builds" (Requested by rniwa on #webkit).
388
389         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
390         * WebCoreSupport/DumpRenderTreeSupportQt.h:
391
392 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
393
394         Reviewed by Pavel Feldman.
395
396         DumpRenderTree should reset frame opener between tests.
397         https://bugs.webkit.org/show_bug.cgi?id=54874
398
399         Added clearOpener method to DumpRenderTreeSupportQT.
400
401         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
402         (DumpRenderTreeSupportQt::clearOpener):
403         * WebCoreSupport/DumpRenderTreeSupportQt.h:
404
405 2011-02-25  Andras Becsi  <abecsi@webkit.org>
406
407         Reviewed by Csaba Osztrogonác.
408
409         [Qt] Make the WebKit2 build system less confusing for non-Qt developers
410         https://bugs.webkit.org/show_bug.cgi?id=55213
411
412         * QtWebKit.pro: Move the WebKit2 API into a project include file
413         in the WebKit2 directory and include the pri file here.
414
415 2011-02-25  Alexis Menard  <alexis.menard@openbossa.org>
416
417         Unreviewed build fix for Intel ICC and MSVC.
418
419         * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
420         (tst_QGraphicsWebView::setPalette):
421         * tests/qwebview/tst_qwebview.cpp:
422         (tst_QWebView::setPalette):
423
424 2011-02-25  Alexis Menard  <alexis.menard@openbossa.org>
425
426         Reviewed by Kenneth Rohde Christiansen.
427
428         [Qt] Properly propagate the palette to QWebPage from QGraphicsWebView
429         https://bugs.webkit.org/show_bug.cgi?id=31742
430
431         Discovered while looking at 31742. When we set a palette on the
432         QGraphicsWebView we need to propagate it to the page like QWebView.
433         I have added the same tests as QWebView to be sure to catch potential
434         regressions as well as two extras QVERIFY to check the palette propagation.
435
436         * Api/qgraphicswebview.cpp:
437         (QGraphicsWebView::event):
438         * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
439         (tst_QGraphicsWebView::setPalette_data):
440         (tst_QGraphicsWebView::setPalette):
441
442 2011-02-25  Csaba Osztrogonác  <ossy@webkit.org>
443
444         Unreviewed buildfix after r79672.
445
446         [Qt] Build tst_qdeclarativewebview if QT_CONFIG contains declarative.
447
448         * tests/tests.pri:
449         * tests/tests.pro:
450
451 2011-02-25  Gopal Raghavan  <gopal.1.raghavan@nokia.com>
452
453         Reviewed by Kenneth Rohde Christiansen.
454
455         [Qt] QML WebView inside a Flickable shows checkers pattern at startup
456         https://bugs.webkit.org/show_bug.cgi?id=50222.
457
458         This patch fixes the checkerboard visible at startup even if preferredWidth and preferredHeight are not set.
459
460         * declarative/qdeclarativewebview.cpp:
461         (QDeclarativeWebView::init):
462         * tests/qdeclarativewebview: Added.
463         * tests/qdeclarativewebview/qdeclarativewebview.pro: Added.
464         * tests/qdeclarativewebview/resources: Added.
465         * tests/qdeclarativewebview/resources/webviewtest.qml: Added.
466         * tests/qdeclarativewebview/resources/webviewtestdefault.qml: Added.
467         * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Added.
468         (tst_QDeclarativeWebView::initTestCase):
469         (tst_QDeclarativeWebView::cleanupTestCase):
470         (tst_QDeclarativeWebView::init):
471         (tst_QDeclarativeWebView::cleanup):
472         (tst_QDeclarativeWebView::preferredWidthTest):
473         (tst_QDeclarativeWebView::preferredHeightTest):
474         (tst_QDeclarativeWebView::preferredWidthDefaultTest):
475         (tst_QDeclarativeWebView::preferredHeightDefaultTest):
476         (tst_QDeclarativeWebView::checkNoErrors):
477         * tests/tests.pri:
478         * tests/tests.pro:
479
480 2011-02-24  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
481
482         Reviewed by Andreas Kling.
483
484         [Qt] Revert the support for QNAM affined to a different thread.
485         https://bugs.webkit.org/show_bug.cgi?id=55149
486
487         Qt 4.8 will have QNAM use its own thread internally by default,
488         no need to keep this complexity in WebKit.
489
490         This mainly reverts:
491         http://trac.webkit.org/changeset/73710
492         http://trac.webkit.org/changeset/73712
493
494         * WebCoreSupport/FrameLoaderClientQt.cpp:
495         (WebCore::FrameLoaderClientQt::download):
496         * tests/qwebpage/tst_qwebpage.cpp:
497
498 2011-02-24  Sam Weinig  <sam@webkit.org>
499
500         Try to fix the Qt build.
501
502         * QtWebKit.pro:
503
504 2011-02-24  Peter Kasting  <pkasting@google.com>
505
506         Reviewed by Eric Seidel.
507
508         Drop the "U; " encryption level from the User Agent string.
509         https://bugs.webkit.org/show_bug.cgi?id=54566
510
511         * Api/qwebpage.cpp:
512         (QWebPage::userAgentForUrl):
513
514 2011-02-24  Andrew Wilson  <atwilson@chromium.org>
515
516         Unreviewed, rolling out r79570.
517         http://trac.webkit.org/changeset/79570
518         https://bugs.webkit.org/show_bug.cgi?id=54874
519
520         Breaks chromium build because glue/mocks/mock_web_frame.h/cc
521         was not updated
522
523         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
524         * WebCoreSupport/DumpRenderTreeSupportQt.h:
525
526 2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
527
528         Reviewed by Alexey Proskuryakov.
529
530         DumpRenderTree should reset frame opener between tests.
531         https://bugs.webkit.org/show_bug.cgi?id=54874
532
533         Added clearOpener method to DumpRenderTreeSupportQT.
534
535         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
536         (DumpRenderTreeSupportQt::clearOpener):
537         * WebCoreSupport/DumpRenderTreeSupportQt.h:
538
539 2011-02-24  Alexis Menard  <alexis.menard@openbossa.org>
540
541         Reviewed by Andreas Kling.
542
543         [Qt] tst_QWebView::setPalette(activeFG) fails
544         https://bugs.webkit.org/show_bug.cgi?id=55029
545
546         This time it should be the proper fix. The window needs to be shown before we
547         call activateWindow() otherwise there is no active windows for the application.
548
549         * tests/qwebview/tst_qwebview.cpp:
550         (tst_QWebView::setPalette):
551
552 2011-02-24  Andras Becsi  <abecsi@webkit.org>
553
554         Reviewed by Laszlo Gombos.
555
556         [Qt] MinGW build fails to link
557         https://bugs.webkit.org/show_bug.cgi?id=55050
558
559         Prepend the libraries of subcomponents instead of appending them
560         to fix the library order according to the dependency of the libraries
561
562         * QtWebKit.pro: prepend libraries in the correct order
563
564 2011-02-23  Alexis Menard  <alexis.menard@openbossa.org>
565
566         Reviewed by Ariya Hidayat.
567
568         [Qt] tst_QWebView::setPalette(activeFG) fails
569         https://bugs.webkit.org/show_bug.cgi?id=55029
570
571         Attempt to make the test more robust. By investigating with the bot virtual machine
572         I discovered that the activation can take some time. In this patch we make sure that
573         the active window we want to have is the same as the QApplication.
574
575         * tests/qwebview/tst_qwebview.cpp:
576         (tst_QWebView::setPalette):
577
578 2011-02-23  Alexis Menard  <alexis.menard@openbossa.org>
579
580         Reviewed by Dan Bernstein.
581
582         [Qt]REGRESSION(r79167): It broke 3 Qt-API test cases
583         http://trac.webkit.org/changeset/79167 refactored the way the bound size of
584         the frame is handled. A new API setBoundsSize was added, we need to call it
585         in addition to setFrameRect. I could call setBoundSize after setFrameRect but
586         I thought It would be more elegant to use the resize method.
587
588         * Api/qwebpage.cpp:
589         (QWebPage::setViewportSize):
590
591 2011-02-22  Fabrizio Machado  <fabrizio.machado@nokia.com>
592
593         Reviewed by Laszlo Gombos.
594
595         [Qt] Don't fall through case in variantToSetting() if qvariant.type() is Bool
596         https://bugs.webkit.org/show_bug.cgi?id=54976
597
598         Test not needed.
599         
600         * WebCoreSupport/InspectorClientQt.cpp:
601
602 2011-02-22  Alexis Menard  <alexis.menard@openbossa.org>
603
604         Reviewed by Andreas Kling.
605
606         [Qt] QWebView ignores a palette set with QWebView::setPalette()
607         https://bugs.webkit.org/show_bug.cgi?id=31742
608
609         Test case to check that the palette sets on the QWebView is taken
610         into account.
611
612         * tests/qwebview/tst_qwebview.cpp:
613         (tst_QWebView::setPalette_data):
614         (tst_QWebView::setPalette):
615
616 2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
617
618         Reviewed by Alexey Proskuryakov.
619
620         Drop the language tag part from the User Agent string
621         https://bugs.webkit.org/show_bug.cgi?id=54560
622
623         * Api/qwebpage.cpp:
624         (QWebPage::userAgentForUrl):
625
626         * tests/qwebpage/tst_qwebpage.cpp: Remove the userAgentLocaleChange
627         test.
628
629 2011-02-22  Chang Shu  <cshu@webkit.org>
630
631         Reviewed by Csaba Osztrogonác.
632
633         [Qt] editing/deleting/5408255.html fails
634         https://bugs.webkit.org/show_bug.cgi?id=54964
635
636         Move WebCore resource file to QtWebKit since they are referred in WebKit.
637
638         * QtWebKit.pro:
639
640 2011-02-22  Andras Becsi  <abecsi@webkit.org>
641
642         Reviewed by Csaba Osztrogonác.
643
644         [Qt] Redesign the build system
645         https://bugs.webkit.org/show_bug.cgi?id=51339
646
647         Move inspector's resource files into the final build step to fix the layout test regression.
648
649         * QtWebKit.pro: Add inspector's reaource files.
650
651 2011-02-22  Andras Becsi  <abecsi@webkit.org>
652
653         Reviewed by Laszlo Gombos.
654         Rubber-stamped by Csaba Osztrogonác.
655
656         [Qt] Redesign the build system
657         https://bugs.webkit.org/show_bug.cgi?id=51339
658
659         The patch landed in r79320 didn't contain the cleanup
660         which was already addressed in the last attachment.
661
662         * QtWebKit.pro: Move common LIB and CONFIG options to WebCore.pri.
663
664 2011-02-22  Andras Becsi  <abecsi@webkit.org>
665
666         Reviewed by Laszlo Gombos.
667
668         [Qt] Redesign the build system
669         https://bugs.webkit.org/show_bug.cgi?id=51339
670
671         Part 2.
672
673         Build WebCore as a static library, compile the WebKit API and WebKit2 API
674         in a final step and link to WebKit2, WebCore and JSC libraries to fix
675         linking issues resulting from stripped away symbols.
676
677         * QtWebKit.pro: Added.
678         Project file for the final build step.
679
680 2011-02-17  Ryosuke Niwa  <rniwa@webkit.org>
681
682         Reviewed by Kent Tamura.
683
684         Rename Position::node() to Position::deprecatedNode()
685         https://bugs.webkit.org/show_bug.cgi?id=54622
686
687         Replaced the call to node() by a call to containerNode() because the returned node is
688         used to determine whether or not the selected contents are editable and such a check
689         must be done against the container node.
690
691         * WebCoreSupport/EditorClientQt.cpp:
692         (WebCore::EditorClientQt::handleKeyboardEvent):
693
694 2011-02-19  Charlie Reis  <creis@chromium.org>
695
696         Reviewed by Mihai Parparita.
697
698         Ensure loading has stopped in HistoryController::goToItem
699         https://bugs.webkit.org/show_bug.cgi?id=54517
700
701         Add a FrameLoaderClient callback for whether to stop loading before goToItem.
702
703         Test: http/tests/navigation/forward-to-fragment-fires-onload.html
704
705         * WebCoreSupport/FrameLoaderClientQt.cpp:
706         (WebCore::FrameLoaderClientQt::shouldStopLoadingForHistoryItem): Added.
707         * WebCoreSupport/FrameLoaderClientQt.h:
708
709 2011-02-18  Fabrizio Machado  <fabrizio.machado@nokia.com>
710
711         Reviewed by Eric Seidel.
712
713         Remove reduntant checks.
714         https://bugs.webkit.org/show_bug.cgi?id=54764
715         
716
717         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
718         (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
719         * WebCoreSupport/NotificationPresenterClientQt.cpp:
720         (WebCore::NotificationPresenterClientQt::toPage):
721
722 2011-02-18  Csaba Osztrogonác  <ossy@webkit.org>
723
724         Unreviewed.
725
726         [Qt] Buildfix for platforms with geolocation disabled.
727
728         * Api/qwebpage.cpp: Add the missing guard.
729
730 2011-02-18  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
731
732         Reviewed by Kenneth Rohde Christiansen.
733
734         [Qt] Implement client based geolocation for qtport
735         https://bugs.webkit.org/show_bug.cgi?id=42629
736
737         Implements client based geolocation for qtwebkit.
738         New client based geolocation contains permission API's as well,
739         so removed the implementation from ChromeClientQt.cpp. 
740
741         * Api/qwebpage.cpp:
742         (QWebPagePrivate::QWebPagePrivate):
743         * WebCoreSupport/ChromeClientQt.cpp:
744         * WebCoreSupport/ChromeClientQt.h:
745         (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame):
746         (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
747         * WebCoreSupport/GeolocationClientQt.cpp: Added.
748         (WebCore::GeolocationClientQt::GeolocationClientQt):
749         (WebCore::GeolocationClientQt::~GeolocationClientQt):
750         (WebCore::GeolocationClientQt::geolocationDestroyed):
751         (WebCore::GeolocationClientQt::positionUpdated):
752         (WebCore::GeolocationClientQt::startUpdating):
753         (WebCore::GeolocationClientQt::stopUpdating):
754         (WebCore::GeolocationClientQt::setEnableHighAccuracy):
755         (WebCore::GeolocationClientQt::requestPermission):
756         (WebCore::GeolocationClientQt::cancelPermissionRequest):
757         * WebCoreSupport/GeolocationClientQt.h: Added.
758         (WebCore::GeolocationClientQt::lastPosition):
759
760 2011-02-10  Luiz Agostini  <luiz.agostini@openbossa.org>
761
762         Reviewed by Adam Roben.
763
764         HTML5 <details> and <summary>: localized text
765         https://bugs.webkit.org/show_bug.cgi?id=54260
766
767         The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
768         provide the default label to be used by a <details> tag that has no <summary> child.
769
770         * WebCoreSupport/WebPlatformStrategies.cpp:
771         (WebPlatformStrategies::defaultDetailsSummaryText):
772         * WebCoreSupport/WebPlatformStrategies.h:
773
774 2011-02-17  Hui Huang  <hui.2.huang@nokia.com>
775
776         Reviewed by Laszlo Gombos.
777
778         The URL of HTML5 Video Element is percent encoded at websites such as youtube.
779         It is percent encoded again by QUrl constructor QUrl::QUrl(QString). This causes
780         the HTTP GET request for the video to be rejected by the service provider. 
781         https://bugs.webkit.org/show_bug.cgi?id=53973.
782
783         The bug is fixed by constructing QUrl from the encoded URL in 
784         MediaPlayerPrivateQt::commitLoad. 
785
786         New test function tst_QWebPage::loadHtml5Video() is added to load HTML content with
787         HTML5 Video element. A new public method DumpRenderTreeSupportQt::mediaContentUrlByElementId
788         is added to retrieve the URL of the media content from WebCore MediaPlayerPrivateQt.
789         A new macro ENABLE_QT_MULTIMEDIA is introduced in tests.pri to make sure that the test
790         is skipped if Qt Multimedia is not available.
791
792         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
793         (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
794         * WebCoreSupport/DumpRenderTreeSupportQt.h:
795         * tests/qwebpage/tst_qwebpage.cpp:
796         (tst_QWebPage::loadHtml5Video):
797         * tests/tests.pri:
798
799 2011-02-17  Andreas Kling  <kling@webkit.org>
800
801         Reviewed by Antti Koivisto.
802
803         [Qt] Crash when calling QWebFrame::setUrl() while a previous load has pending requests
804         https://bugs.webkit.org/show_bug.cgi?id=49216
805
806         * tests/qwebframe/tst_qwebframe.cpp:
807
808 == Rolled over to ChangeLog-2011-02-16 ==