212b1dbeff1eec2b2c8c955b51abe9a5dd111802
[WebKit-https.git] / WebKit / qt / ChangeLog
1 2010-05-02  Noam Rosenthal  <noam.rosenthal@nokia.com>
2
3         Reviewed by Kenneth Rohde Christiansen.
4
5         [Qt] GraphicsLayer: animation incorrect when scrolling
6         https://bugs.webkit.org/show_bug.cgi?id=38371
7
8         This is a regression introduced with the invalidate-on-scroll code path, that uses QGraphicsWebViewPrivate::update()
9         instead of QGraphicsWebViewPrivate::scroll(). The patch makes sure that the scrolling position is correct on
10         each content update - this shouldn't have a performance impact - the only overhead is an additional value-test on each update.
11
12         Tested by http://www.the-art-of-web.com/css/css-animation/
13
14         * Api/qgraphicswebview.cpp:
15         (QGraphicsWebViewPrivate::update):
16
17 2010-05-01  Robert Hogan  <robert@webkit.org>
18
19         Reviewed by Simon Hausmann.
20
21         [Qt] Add smart paste support
22
23         https://bugs.webkit.org/show_bug.cgi?id=38136
24
25         * Api/qwebpage.cpp:
26         (QWebPagePrivate::QWebPagePrivate): Enable smart paste support by default.
27
28 2010-04-29  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
29
30         Reviewed by Kenneth Rohde Christiansen.
31
32         [Qt] Reinstate qt_drt_ symbol exports as of QtWebKit 4.6 release
33         https://bugs.webkit.org/show_bug.cgi?id=38304
34
35         This change provides backward compatibility with some previously
36         exported private symbols. No new functionality introduced.
37
38         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
39         (qt_resumeActiveDOMObjects):
40         (qt_suspendActiveDOMObjects):
41         (qt_drt_clearFrameName):
42         (qt_drt_garbageCollector_collect):
43         (qt_drt_garbageCollector_collectOnAlternateThread):
44         (qt_drt_javaScriptObjectsCount):
45         (qt_drt_numberOfActiveAnimations):
46         (qt_drt_overwritePluginDirectories):
47         (qt_drt_pauseAnimation):
48         (qt_drt_pauseTransitionOfProperty):
49         (qt_drt_resetOriginAccessWhiteLists):
50         (qt_drt_run):
51         (qt_drt_setJavaScriptProfilingEnabled):
52         (qt_drt_whiteListAccessFromOrigin):
53         (qt_webpage_groupName):
54         (qt_webpage_setGroupName):
55
56 2010-04-29  Benjamin Poulain  <benjamin.poulain@nokia.com>
57
58         Reviewed by Kenneth Rohde Christiansen.
59
60         Get rid of forceLayout() on FrameView
61         https://bugs.webkit.org/show_bug.cgi?id=38199
62
63         The function FrameView::forceLayout() is missleading
64         because it does not actually force the layout, the call is
65         equivalent to layout().
66
67         This patch replace the call to forceLayout() by layout() in Qt
68         to avoid the misunderstanding/improve readability.
69
70         * Api/qwebpage.cpp:
71         (QWebPagePrivate::dynamicPropertyChangeEvent):
72         (QWebPage::setPreferredContentsSize):
73         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
74         (DumpRenderTreeSupportQt::setMediaType):
75         * WebCoreSupport/FrameLoaderClientQt.cpp:
76         (WebCore::FrameLoaderClientQt::forceLayout):
77
78 2010-04-29  Andreas Kling  <andreas.kling@nokia.com>
79
80         Reviewed by Simon Hausmann.
81
82         Remove unnecessary call to FrameView::forceLayout() in setViewportSize()
83         This prevents a double relayout on resize.
84
85         https://bugs.webkit.org/show_bug.cgi?id=38179
86
87         Thanks to Nate Whetsell <nathan.whetsell@gmail.com> for spotting this.
88
89         * Api/qwebpage.cpp:
90         (QWebPage::setViewportSize):
91
92 2010-04-29  Simon Hausmann  <simon.hausmann@nokia.com>
93
94         Reviewed by Tor Arne Vestbø.
95
96         [Qt] REGRESSION(r57982): tst_qwebpage::showModalDialog() crashes
97         https://bugs.webkit.org/show_bug.cgi?id=38314
98
99         Make sure that there's always a main frame when returning from createWindow()
100         to the caller in WebCore.
101
102         * WebCoreSupport/ChromeClientQt.cpp:
103         (WebCore::ChromeClientQt::createWindow):
104
105 2010-04-28  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
106
107         Unreviewed, Qt build fix.
108
109         [Qt] Guard the body of the function instead of the function for
110         exported functions.
111
112         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
113         (DumpRenderTreeSupportQt::webInspectorExecuteScript):
114         (DumpRenderTreeSupportQt::webInspectorClose):
115         (DumpRenderTreeSupportQt::webInspectorShow):
116         (DumpRenderTreeSupportQt::setTimelineProfilingEnabled):
117
118 2010-04-28  Antonio Gomes  <tonikitoo@webkit.org>, Yi Shen <yi.4.shen@nokia.com>
119
120         Reviewed by Simon Hausmann.
121
122         [Qt] tst_QWebHistoryInterface::visitedLinks() fails
123         https://bugs.webkit.org/show_bug.cgi?id=37323
124
125         Patch fixes styleProperty method of QWebElement to make use of
126         CSSComputedStyleDeclaration::computedStyle 'allowVisitedStyle' parameter
127         and the corresponding failing QWebHistoryInterface::visitedLinks method.
128
129         * Api/qwebelement.cpp:
130         (QWebElement::styleProperty):
131         * tests/qwebhistoryinterface/tst_qwebhistoryinterface.cpp:
132         (tst_QWebHistoryInterface::visitedLinks):
133
134 2010-04-28  Luiz Agostini  <luiz.agostini@openbossa.org>
135
136         Reviewed by Kenneth Rohde Christiansen.
137
138         [Qt] QWebPage viewMode property
139         https://bugs.webkit.org/show_bug.cgi?id=38119
140
141         Replacing method qt_wrt_setViewMode by wrt_viewMode property.
142
143         * Api/qwebpage.cpp:
144         (QWebPagePrivate::dynamicPropertyChangeEvent):
145         (QWebPage::event):
146         * Api/qwebpage_p.h:
147         * tests/qwebpage/tst_qwebpage.cpp:
148         (tst_QWebPage::wrt_viewModes):
149
150 2010-04-28  Janne Koskinen  <janne.p.koskinen@digia.com>
151
152         Reviewed by Simon Hausmann <simon.hausmann@nokia.com>
153
154         [Qt] WINS DEF file freeze
155
156         Updated WINSCW def file with added and removed symbols.
157
158         * symbian/bwins/QtWebKitu.def:
159
160 2010-04-25  Sam Weinig  <sam@webkit.org>
161
162         Reviewed by Maciej Stachowiak.
163
164         Fix for https://bugs.webkit.org/show_bug.cgi?id=38097
165         Disentangle initializing the main thread from initializing threading
166
167         * Api/qwebpage.cpp:
168         (QWebPagePrivate::QWebPagePrivate): Add call to initializeMainThread.
169
170 2010-04-26  Thiago Macieira  <thiago.macieira@nokia.com>
171
172         Reviewed by Simon Hausmann.
173
174         [Qt] Fix the include header <qstring.h> -> <QtCore/qstring.h>
175
176         The module/header.h style inclusion removes the need to have -I$QTDIR/include/depending-module
177         in the include search path for the application.
178
179         * Api/qwebkitversion.h:
180
181 2010-04-26  Bruno Schmidt  <bruno.schmidt@gmail.com>
182
183         Reviewed by Kenneth Rohde Christiansen.
184
185         [Qt] Exposing an QVariantMap containing QObjectStar to Javascript
186         causes Segmentation Fault
187         https://bugs.webkit.org/show_bug.cgi?id=34729
188
189         If an QVariantMap containing QObjectStar is added to the to QtWebkit
190         Javascript, it's use causes Segmentation Fault.
191         It happens because, in the case QMetaType::QVariantMap, the "root"
192         object that is inside of a PassRefPtr is passed recursively inside a
193         loop to recover the content of the map, but the PassRefPtr semantics
194         prohibit its use inside a loop, so the "root" object mus be passed
195         using the method "PassRefPtr::get" in order to keep the current
196         reference.
197
198         * tests/qwebframe/tst_qwebframe.cpp:
199         (MyQObject::MyQObject): new property variantMapProperty
200         (MyQObject::variantMapProperty): read variantMapProperty
201         (MyQObject::setVariantMapProperty): write variantMapProperty
202
203 2010-04-25  Shinichiro Hamaji  <hamaji@chromium.org>
204
205         Reviewed by Simon Hausmann.
206
207         [Qt] layoutTestController.counterValueForElementById crashes for a nonexistent ID
208         https://bugs.webkit.org/show_bug.cgi?id=34573
209
210         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
211         (DumpRenderTreeSupportQt::counterValueForElementById):
212
213 2010-04-20  Robert Hogan  <robert@webkit.org>
214
215         Reviewed by Simon Hausmann.
216
217         [Qt] Add more support for textInputController
218
219         Add support for selectedRange(), setMarkedText(), insertText(),
220         and firstRectForCharacterRange().
221
222         https://bugs.webkit.org/show_bug.cgi?id=35702
223
224         * Api/qwebpage.cpp:
225         (QWebPagePrivate::inputMethodEvent):
226         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
227         (DumpRenderTreeSupportQt::selectedRange):
228         (DumpRenderTreeSupportQt::firstRectForCharacterRange):
229         * WebCoreSupport/DumpRenderTreeSupportQt.h:
230         * tests/qwebpage/tst_qwebpage.cpp:
231         (tst_QWebPage::inputMethods):
232
233 2010-04-22  John Pavan  <john.pavan@nokia.com>
234
235         Reviewed by Laszlo Gombos.
236
237         [Qt] inputMethodQuery returns coordinates in web page coordinates rather than in item coordinates.
238         https://bugs.webkit.org/show_bug.cgi?id=37163
239
240
241         QWebPage::inputMethodQuery is modified so that it
242         returns coordinates in the widget's coordinate system.
243         Tests are added for QGraphicsWebView and QWebView
244         to verify that this behavior is correct after the webpage
245         has been scrolled.
246
247         * Api/qwebpage.cpp:
248         (QWebPage::inputMethodQuery):
249         * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
250         (tst_QGraphicsWebView::microFocusCoordinates):
251         * tests/qwebview/tst_qwebview.cpp:
252         (tst_QWebView::microFocusCoordinates):
253
254 2010-04-22  Robert Hogan  <robert@webkit.org>
255
256         Reviewed by Simon Hausmann.
257
258         [Qt] Fix createPlugin() tests in tst_qwebpage to match behaviour of Qt plugins
259              when PluginsEnabled is false.
260
261         tst_qwebpage should have been updated as part of r56662.
262         (See https://bugs.webkit.org/show_bug.cgi?id=32196)
263
264         Updated documentation of QWebPage::createPlugin and QWebSetting::pluginsEnabled
265             to match the new behaviour.
266
267         * Api/qwebpage.cpp: Update docs.
268         * Api/qwebsettings.cpp: Update docs.
269         * tests/qwebpage/tst_qwebpage.cpp:
270         (createPlugin):
271         (tst_QWebPage::createPluginWithPluginsEnabled):
272         (tst_QWebPage::createPluginWithPluginsDisabled):
273
274 2010-04-22  Dave Moore  <davemoore@chromium.org>
275
276         Reviewed by Dimitri Glazkov.
277
278         Added notification when the favicons for a page are changed
279         from a script.
280         The Document object will notify the frame loader, which will
281         notify the client. Implementations of FrameLoaderClient will
282         have to add one method; dispatchDidChangeIcons().
283
284         https://bugs.webkit.org/show_bug.cgi?id=33812
285
286         * WebCoreSupport/FrameLoaderClientQt.cpp:
287         (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
288         (WebCore::FrameLoaderClientQt::didChangeTitle):
289         * WebCoreSupport/FrameLoaderClientQt.h:
290
291 2010-04-22  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
292
293         Reviewed by Kenneth Rohde Christiansen.
294
295         [Qt] Remove translatable strings from the hybridPixmap test.
296         https://bugs.webkit.org/show_bug.cgi?id=37867
297
298         * tests/hybridPixmap/widget.ui:
299
300 2010-04-22  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
301
302         Reviewed by Kenneth Rohde Christiansen.
303
304         [Qt] Fix autotests .qrc file paths when built in Qt.
305
306         Compiling auto-tests from qt/tests/auto/qweb* produced
307         failing tests since these .pro files include the
308         ones in WebKit/qt/tests and the .qrc file was
309         not added to RESOURCES
310
311         * tests/benchmarks/loading/loading.pro:
312         * tests/benchmarks/painting/painting.pro:
313         * tests/qgraphicswebview/qgraphicswebview.pro:
314         * tests/qwebelement/qwebelement.pro:
315         * tests/qwebframe/qwebframe.pro:
316         * tests/qwebhistory/qwebhistory.pro:
317         * tests/qwebhistoryinterface/qwebhistoryinterface.pro:
318         * tests/qwebinspector/qwebinspector.pro:
319         * tests/qwebpage/qwebpage.pro:
320         * tests/qwebplugindatabase/qwebplugindatabase.pro:
321         * tests/qwebview/qwebview.pro:
322         * tests/tests.pri:
323
324 2010-04-22  Adam Barth  <abarth@webkit.org>
325
326         Unreviewed, rolling out r58069.
327         http://trac.webkit.org/changeset/58069
328         https://bugs.webkit.org/show_bug.cgi?id=27751
329
330         Broke compile on Windows.
331
332         * Api/qwebsettings.cpp:
333         (QWebSettingsPrivate::apply):
334         * Api/qwebsettings.h:
335
336 2010-04-22  Abhishek Arya  <inferno@chromium.org>
337
338         Reviewed by Adam Barth.
339
340         Add support for controlling clipboard access from javascript.
341         Clipboard access from javascript is disabled by default.
342         https://bugs.webkit.org/show_bug.cgi?id=27751
343
344         * Api/qwebsettings.cpp:
345         (QWebSettingsPrivate::apply):
346         * Api/qwebsettings.h:
347
348 2010-04-21  Jesus Sanchez-Palencia  <jesus@webkit.org>
349
350         Reviewed by Kenneth Rohde Christiansen.
351
352         Add PageClientQWidget implementation based on the old
353         QWebPageWidgetClient to PageClientQt files. Also fix
354         QWebPage::setView() to use PageClientQWidget.
355
356         [Qt] PageClientQt specific implementation for QWidget
357         https://bugs.webkit.org/show_bug.cgi?id=37858
358
359         * Api/qwebpage.cpp:
360         (QWebPage::setView):
361         * WebCoreSupport/PageClientQt.cpp: Added.
362         (WebCore::PageClientQWidget::scroll):
363         (WebCore::PageClientQWidget::update):
364         (WebCore::PageClientQWidget::setInputMethodEnabled):
365         (WebCore::PageClientQWidget::inputMethodEnabled):
366         (WebCore::PageClientQWidget::setInputMethodHint):
367         (WebCore::PageClientQWidget::cursor):
368         (WebCore::PageClientQWidget::updateCursor):
369         (WebCore::PageClientQWidget::palette):
370         (WebCore::PageClientQWidget::screenNumber):
371         (WebCore::PageClientQWidget::ownerWidget):
372         (WebCore::PageClientQWidget::geometryRelativeToOwnerWidget):
373         (WebCore::PageClientQWidget::pluginParent):
374         (WebCore::PageClientQWidget::style):
375         * WebCoreSupport/PageClientQt.h: Added.
376         (WebCore::PageClientQWidget::PageClientQWidget):
377         (WebCore::PageClientQWidget::isQWidgetClient):
378
379 2010-04-21  Jakub Wieczorek  <jwieczorek@webkit.org>
380
381         Reviewed by Darin Adler.
382
383         List item markers are not always updated after changes in the DOM.
384         https://bugs.webkit.org/show_bug.cgi?id=37060
385
386         * Api/qwebelement.h: Make DumpRenderTreeSupportQt a friend class.
387         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
388         (DumpRenderTreeSupportQt::markerTextForListItem): Add a private API to get the marker text for a list item.
389
390 2010-04-21  Yi Shen  <yi.4.shen@nokia.com>
391
392         Reviewed by Simon Hausmann.
393
394         [Qt] Check the request empty or not in ChromeClientQt::createWindow()
395         https://bugs.webkit.org/show_bug.cgi?id=37821
396
397         * WebCoreSupport/ChromeClientQt.cpp:
398         (WebCore::ChromeClientQt::createWindow):
399
400 2010-04-21  Shu Chang  <chang.shu@nokia.com>
401
402         Reviewed by Simon Hausmann.
403
404         [Qt] Fix Symbian build where QT_NO_SYSTEMTRAYICON is defined.
405         https://bugs.webkit.org/show_bug.cgi?id=37442
406
407         * WebCoreSupport/NotificationPresenterClientQt.cpp:
408         (NotificationPresenterClientQt::show):
409         * WebCoreSupport/NotificationPresenterClientQt.h:
410
411 2010-04-21  Eric Seidel  <eric@webkit.org>
412
413         Unreviewed, rolling out r57963.
414         http://trac.webkit.org/changeset/57963
415         https://bugs.webkit.org/show_bug.cgi?id=37759
416
417         Three tests started crashing on the Qt bot.
418
419         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
420         (DumpRenderTreeSupportQt::isCommandEnabled):
421         * WebCoreSupport/DumpRenderTreeSupportQt.h:
422
423 2010-04-21  Yi Shen  <yi.4.shen@nokia.com>
424
425         Reviewed by Simon Hausmann.
426
427         [Qt] Add LayoutTestController interface: computedStyleIncludingVisitedInfo
428         https://bugs.webkit.org/show_bug.cgi?id=37759
429
430         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
431         (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo):
432         * WebCoreSupport/DumpRenderTreeSupportQt.h:
433
434 2010-04-21  No'am Rosenthal  <noam.rosenthal@nokia.com>
435
436         Reviewed by Simon Fraser.
437
438         [Qt] Fix or remove the runtime flag for accelerated compositing.
439         https://bugs.webkit.org/show_bug.cgi?id=37313
440
441         This lets the QWebPageClient "veto" the settings value for accelerated compositing.
442         In this case we allow accelerated compositing only on QGraphicsWebView.
443
444         * Api/qgraphicswebview.cpp:
445         (QGraphicsWebViewPrivate::allowsAcceleratedCompositing):
446         * WebCoreSupport/ChromeClientQt.cpp:
447         (WebCore::ChromeClientQt::allowsAcceleratedCompositing):
448         * WebCoreSupport/ChromeClientQt.h:
449
450 2010-04-20  Adam Barth  <abarth@webkit.org>
451
452         Unreviewed build fix.
453
454         * Api/qwebframe.cpp:
455         (QWebFrame::setUrl):
456
457 2010-04-20  Adam Barth  <abarth@webkit.org>
458
459         Reviewed by Eric Seidel.
460
461         Factor DocumentWriter out of FrameLoader
462         https://bugs.webkit.org/show_bug.cgi?id=37175
463
464         Update these callsites because the method moved to DocumentWriter.
465
466         * WebCoreSupport/FrameLoaderClientQt.cpp:
467         (WebCore::FrameLoaderClientQt::finishedLoading):
468         (WebCore::FrameLoaderClientQt::setMainDocumentError):
469         (WebCore::FrameLoaderClientQt::committedLoad):
470         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
471
472 2010-04-20  Kent Tamura  <tkent@chromium.org>
473
474         Reviewed by Darin Adler.
475
476         Change a parameter type of chooseIconForFiles()
477         https://bugs.webkit.org/show_bug.cgi?id=37504
478
479         * WebCoreSupport/ChromeClientQt.cpp:
480         (WebCore::ChromeClientQt::chooseIconForFiles):
481         * WebCoreSupport/ChromeClientQt.h:
482
483 2010-04-19  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
484
485         Reviewed by Simon Hausmann.
486
487         [Qt] Fix compilation against namespaced Qt.
488
489         * WebCoreSupport/ChromeClientQt.h:
490         * WebCoreSupport/QtFallbackWebPopup.h:
491
492 2010-04-18  Robert Hogan  <robert@webkit.org>
493
494         Reviewed by Simon Hausmann.
495
496         [Qt] Add support for LayoutTestController commands:
497                    setSmartInsertDeleteEnabled
498                    setSelectTrailingWhitespaceEnabled
499                    execCommand
500                    isCommandEnabled
501
502         https://bugs.webkit.org/show_bug.cgi?id=35844
503
504         * Api/qwebpage.cpp:
505         (QWebPagePrivate::QWebPagePrivate):
506         * Api/qwebpage_p.h:
507         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
508         (DumpRenderTreeSupportQt::setSmartInsertDeleteEnabled):
509         (DumpRenderTreeSupportQt::setSelectTrailingWhitespaceEnabled):
510         (DumpRenderTreeSupportQt::executeCoreCommandByName):
511         (DumpRenderTreeSupportQt::isCommandEnabled):
512         * WebCoreSupport/DumpRenderTreeSupportQt.h:
513         * WebCoreSupport/EditorClientQt.cpp:
514         (WebCore::EditorClientQt::smartInsertDeleteEnabled):
515         (WebCore::EditorClientQt::toggleSmartInsertDelete):
516         (WebCore::EditorClientQt::isSelectTrailingWhitespaceEnabled):
517         * WebCoreSupport/EditorClientQt.h:
518
519 2010-04-15  Kent Hansen  <kent.hansen@nokia.com>
520
521         Reviewed by Kenneth Rohde Christiansen.
522
523         [Qt] Mark QWebFrame::overloadedSlots autotest as expected failure
524
525         https://bugs.webkit.org/show_bug.cgi?id=37319
526
527         * tests/qwebframe/tst_qwebframe.cpp:
528
529 2010-04-09  Antonio Gomes  <tonikitoo@webkit.org>
530
531         Reviewed by Kenneth Christiansen and Tor Arne Vestbø.
532
533         REGRESSION(r56552): Broken scrollbars size
534         https://bugs.webkit.org/show_bug.cgi?id=36853
535
536         The regression was caused by r56552, which introduced a fix to bug
537         webkit.org/b/21300. The bug solved an issue with the resize handle on mac,
538         but did it in a way that affected all Qt platforms and thus broke the behavior
539         on non-mac platforms.
540
541         This patch makes the mac specific change ifdef'ed and only applied for the mac
542         platform.
543
544         * WebCoreSupport/ChromeClientQt.cpp:
545         (WebCore::ChromeClientQt::windowResizerRect):
546
547 2010-04-15  Bruno Schmidt  <bruno.schmidt@gmail.com>
548
549         Reviewed by Kenneth Rohde Christiansen.
550
551         [Qt] Null QObjects properties cause Segmentation Fault
552         https://bugs.webkit.org/show_bug.cgi?id=34730
553
554         QObjects exported to the QWebkit javascript with properties that are
555         a null "QObject*" cause Segmentation Fault.
556
557         If an QObject is added to the javascript context and it contains
558         properties of the type QObject* with NULL value, calling the property
559         causes Segmentation Fault.
560
561         Follow the tests for the corrections done over WebCore.
562
563         * tests/qwebframe/tst_qwebframe.cpp:
564         (MyQObject::MyQObject): init the field m_objectStar
565         (MyQObject::objectStarProperty): read the Object* prop
566         (MyQObject::setObjectStarProperty): write the Object* prop
567         (tst_QWebFrame::getSetStaticProperty): new tests for the new prop
568
569 2010-04-14  Luiz Agostini  <luiz.agostini@openbossa.org>
570
571         Reviewed by Kenneth Rohde Christiansen.
572
573         Changing view mode names due to specification changes
574         https://bugs.webkit.org/show_bug.cgi?id=37615
575
576         test: fast/media/media-feature-wgt-view-mode.html
577
578         specification: http://dev.w3.org/2006/waf/widgets-vmmf/
579
580         * WebCoreSupport/ChromeClientQt.cpp:
581         (WebCore::ChromeClientQt::isWindowed):
582         (WebCore::ChromeClientQt::isFullscreen):
583         (WebCore::ChromeClientQt::isMaximized):
584         (WebCore::ChromeClientQt::isMinimized):
585         * WebCoreSupport/ChromeClientQt.h:
586
587 2010-04-14  Luiz Agostini  <luiz.agostini@openbossa.org>
588
589         Reviewed by Simon Hausmann.
590
591         [Qt] Moving setViewMode from DumpRenderTreeSupportQt to qwebpage.cpp
592         https://bugs.webkit.org/show_bug.cgi?id=37622
593
594         Method qt_wrt_setViewMode was removed from qwebpage.cpp by mistake in r57433
595         (bug 35844). Moving it back.
596
597         * Api/qwebpage.cpp:
598         (qt_wrt_setViewMode):
599         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
600         (DumpRenderTreeSupportQt::setMediaType):
601         * WebCoreSupport/DumpRenderTreeSupportQt.h:
602
603 2010-04-14  Andreas Kling  <andreas.kling@nokia.com>
604
605         Reviewed by Kenneth Rohde Christiansen.
606
607         [Qt] Rendering artifacts on Qt plugins when scrolling the page
608         https://bugs.webkit.org/show_bug.cgi?id=37152
609
610         Because we no longer repaint the entire viewport on scroll,
611         we must trigger a repaint of QtPluginWidgets when their geometry changes.
612
613         * WebCoreSupport/FrameLoaderClientQt.cpp:
614
615 2010-04-14  Aaron Boodman  <aa@chromium.org>
616
617         Reviewed by David Levin.
618
619         Support relative URLs for notifications on Chromium. They weren't working previously because WebCore was inserting
620         the relative URL into a KURL instance, but when KURL is backed by GURL as it is on Chromium, relative URLs are
621         unsupported. Fixed by resolving the relative URL first.
622
623         https://bugs.webkit.org/show_bug.cgi?id=36623
624
625         Adding tests for this is difficult because we don't currently have DRT support for notifications on Mac, only Windows.
626
627         * WebCoreSupport/NotificationPresenterClientQt.cpp:
628         (NotificationPresenterClientQt::show): Return type of NotificationContents::iconURL() changed.
629
630 2010-04-13  Timothy Hatcher  <timothy@apple.com>
631
632         Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry.
633         And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists.
634
635         SecurityOrigin needs a way to remove individual OriginAccessEntries
636         https://bugs.webkit.org/show_bug.cgi?id=37449
637
638         Reviewed by Dave Hyatt.
639
640         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
641         (DumpRenderTreeSupportQt::whiteListAccessFromOrigin):
642         (DumpRenderTreeSupportQt::resetOriginAccessWhiteLists):
643
644 2010-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
645
646         Unreviewed, rolling out r57468.
647         http://trac.webkit.org/changeset/57468
648         https://bugs.webkit.org/show_bug.cgi?id=37433
649
650         Broke the world...  Must have applied the patch wrong
651         (Requested by abarth on #webkit).
652
653         * WebCoreSupport/FrameLoaderClientQt.cpp:
654         (WebCore::FrameLoaderClientQt::finishedLoading):
655         (WebCore::FrameLoaderClientQt::setMainDocumentError):
656         (WebCore::FrameLoaderClientQt::committedLoad):
657         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
658
659 2010-04-11  Adam Barth  <abarth@webkit.org>
660
661         Reviewed by Eric Seidel.
662
663         Factor DocumentWriter out of FrameLoader
664         https://bugs.webkit.org/show_bug.cgi?id=37175
665
666         Update these callsites because the method moved to DocumentWriter.
667
668         * WebCoreSupport/FrameLoaderClientQt.cpp:
669         (WebCore::FrameLoaderClientQt::finishedLoading):
670         (WebCore::FrameLoaderClientQt::setMainDocumentError):
671         (WebCore::FrameLoaderClientQt::committedLoad):
672         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
673
674 2010-04-11  Robert Hogan  <robert@webkit.org>
675
676         Reviewed by Simon Hausmann.
677
678         [Qt] Add setWillSendRequestReturnsNull and setWillSendRequestClearHeader
679
680         https://bugs.webkit.org/show_bug.cgi?id=37410
681
682         * WebCoreSupport/FrameLoaderClientQt.cpp:
683         (qt_set_will_send_request_returns_null):
684         (qt_set_will_send_request_clear_headers):
685         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
686
687 2010-04-10  Robert Hogan  <robert@webkit.org>
688
689         Reviewed by Kenneth Rohde Christiansen.
690
691         Refactor Qt DRT support in QtWebKit
692
693         Move all QT DRT support functions to a static class.
694
695         https://bugs.webkit.org/show_bug.cgi?id=35844
696
697         * Api/qwebframe.cpp: Remove static functions.
698         * Api/qwebframe.h: Make DumpRenderTreeSupportQt a friend.
699         * Api/qwebpage.cpp: Remove static functions.
700         * Api/qwebpage.h: Make DumpRenderTreeSupportQt a friend.
701         * Api/qwebsecurityorigin.cpp: Remove static functions.
702         * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Added.
703         (DumpRenderTreeSupportQt::DumpRenderTreeSupportQt):
704         (DumpRenderTreeSupportQt::~DumpRenderTreeSupportQt):
705         (DumpRenderTreeSupportQt::overwritePluginDirectories):
706         (DumpRenderTreeSupportQt::workerThreadCount):
707         (DumpRenderTreeSupportQt::setDumpRenderTreeModeEnabled):
708         (DumpRenderTreeSupportQt::setFrameFlatteningEnabled):
709         (DumpRenderTreeSupportQt::webPageSetGroupName):
710         (DumpRenderTreeSupportQt::webPageGroupName):
711         (DumpRenderTreeSupportQt::webInspectorExecuteScript):
712         (DumpRenderTreeSupportQt::webInspectorClose):
713         (DumpRenderTreeSupportQt::webInspectorShow):
714         (DumpRenderTreeSupportQt::setTimelineProfilingEnabled):
715         (DumpRenderTreeSupportQt::hasDocumentElement):
716         (DumpRenderTreeSupportQt::setJavaScriptProfilingEnabled):
717         (DumpRenderTreeSupportQt::pauseAnimation):
718         (DumpRenderTreeSupportQt::pauseTransitionOfProperty):
719         (DumpRenderTreeSupportQt::pauseSVGAnimation):
720         (DumpRenderTreeSupportQt::numberOfActiveAnimations):
721         (DumpRenderTreeSupportQt::clearFrameName):
722         (DumpRenderTreeSupportQt::javaScriptObjectsCount):
723         (DumpRenderTreeSupportQt::garbageCollectorCollect):
724         (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
725         (DumpRenderTreeSupportQt::counterValueForElementById):
726         (DumpRenderTreeSupportQt::pageNumberForElementById):
727         (DumpRenderTreeSupportQt::numberOfPages):
728         (DumpRenderTreeSupportQt::suspendActiveDOMObjects):
729         (DumpRenderTreeSupportQt::resumeActiveDOMObjects):
730         (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
731         (DumpRenderTreeSupportQt::whiteListAccessFromOrigin):
732         (DumpRenderTreeSupportQt::resetOriginAccessWhiteLists):
733         (DumpRenderTreeSupportQt::setDomainRelaxationForbiddenForURLScheme):
734         (DumpRenderTreeSupportQt::setCaretBrowsingEnabled):
735         (DumpRenderTreeSupportQt::setMediaType):
736         (DumpRenderTreeSupportQt::setViewMode):
737         * WebCoreSupport/DumpRenderTreeSupportQt.h: Added.
738         * WebCoreSupport/EditorClientQt.h:
739         * tests/qwebpage/tst_qwebpage.cpp:
740         (tst_QWebPage::multiplePageGroupsAndLocalStorage):
741         (tst_QWebPage::inputMethodsTextFormat):
742         (tst_QWebPage::protectBindingsRuntimeObjectsFromCollector):
743
744 2010-04-11  Robert Hogan  <robert@webkit.org>
745
746         Reviewed by Simon Hausmann.
747
748         [Qt] Update layoutTestController.DumpResourceLoadCallbacks to match other ports.
749
750         Unskip  http/tests/xmlhttprequest/abort-should-cancel-load.html
751                 http/tests/misc/will-send-request-returns-null-on-redirect.html
752                 fast/loader/user-style-sheet-resource-load-callbacks.html
753                 http/tests/misc/window-dot-stop.html
754                 http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow.html
755                 http/tests/security/XFrameOptions/x-frame-options-deny.html
756                 http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow.html
757                 http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny.html
758                 http/tests/xmlhttprequest/abort-should-cancel-load.html
759
760         QNetworkReply::OperationCanceledError has a value of 5, so update expected results accordingly.
761
762         https://bugs.webkit.org/show_bug.cgi?id=37237
763
764         * WebCoreSupport/FrameLoaderClientQt.cpp:
765         (qt_set_will_send_request_returns_null_on_redirect):
766         (drtDescriptionSuitableForTestResult):
767         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
768         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
769         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
770         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
771
772 2010-04-10  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
773
774         Reviewed by Kenneth Rohde Christiansen.
775
776         [Qt] Implement Desktop Notifications API for QtWebKit
777         https://bugs.webkit.org/show_bug.cgi?id=35503
778
779         Map WebKit notifications to Qt's SystemTray API and
780         implement DRT tracing.
781
782         This patch does not implement the security part of
783         WebKit notifications.
784
785         * Api/qwebpage.cpp:
786         (QWebPagePrivate::QWebPagePrivate):
787         * Api/qwebpage.h:
788         * Api/qwebpage_p.h:
789         * WebCoreSupport/ChromeClientQt.cpp:
790         (WebCore::ChromeClientQt::notificationPresenter):
791         * WebCoreSupport/ChromeClientQt.h:
792         * WebCoreSupport/NotificationPresenterClientQt.cpp: Added.
793         (qt_dump_notification):
794         (NotificationPresenterClientQt::NotificationPresenterClientQt):
795         (NotificationPresenterClientQt::show):
796         (NotificationPresenterClientQt::cancel):
797         (NotificationPresenterClientQt::notificationObjectDestroyed):
798         (NotificationPresenterClientQt::requestPermission):
799         (NotificationPresenterClientQt::checkPermission):
800         * WebCoreSupport/NotificationPresenterClientQt.h: Added.
801
802 2010-04-09  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
803
804         Reviewed by Simon Hausmann.
805
806         [Qt]Fix compile error with QT_NO_IM
807         https://bugs.webkit.org/show_bug.cgi?id=36533
808
809         * WebCoreSupport/QtFallbackWebPopup.cpp:
810         (WebCore::QtFallbackWebPopupCombo::hidePopup):
811
812 2010-04-09  Yi Shen  <yi.4.shen@nokia.com>
813
814         Reviewed by Kenneth Rohde Christiansen.
815
816         [Qt] tst_QWebFrame::popupFocus() fails
817         https://bugs.webkit.org/show_bug.cgi?id=37320
818
819         The QWebPopup class has been moved & renamed, so tst_QWebFrame::popupFocus() should use
820         the class name "QComboBox", rather than "WebCore::QWebPopup" to find the popup menu.
821
822         * tests/qwebframe/tst_qwebframe.cpp:
823
824 2010-04-09  Antonio Gomes  <tonikitoo@webkit.org>
825
826         Reviewed by Holger Freyther.
827
828         Removing the use of topLevelWidget of QWidget class since it is deprecated/obsolete
829         since Qt 4.5. window() method is being used instead now.
830
831         See http://doc.trolltech.com/4.5/qwidget-obsolete.html#topLevelWidget for more info.
832
833         * WebCoreSupport/ChromeClientQt.cpp:
834         (WebCore::ChromeClientQt::windowRect):
835         (WebCore::ChromeClientQt::show):
836         (WebCore::ChromeClientQt::windowResizerRect):
837
838 2010-04-09  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
839
840         Reviewed by Simon Hausmann.
841
842         [Qt] Fix compile error with QT_NO_ACTION
843         https://bugs.webkit.org/show_bug.cgi?id=36529
844
845         Make sure QT_NO_ACTION is not defined to use QAction
846
847         * Api/qgraphicswebview.cpp:
848         (QGraphicsWebView::pageAction):
849         * Api/qwebpage.cpp:
850         (QWebPagePrivate::updateAction):
851         (QWebPage::updatePositionDependentActions):
852         * Api/qwebpage.h:
853         * Api/qwebview.cpp:
854         * Api/qwebview.h:
855
856 2010-04-09  Simon Hausmann  <simon.hausmann@nokia.com>
857
858         Reviewed by Lars Knoll.
859
860         [Qt] tests/qgraphicswebview fails
861         https://bugs.webkit.org/show_bug.cgi?id=37317
862
863         * Api/qwebpage.cpp:
864         (QWebPage::userAgentForUrl): Don't crash if the ownerWidget is null.
865
866 2010-04-08  Benjamin Poulain  <benjamin.poulain@nokia.com>
867
868         Reviewed by Simon Hausmann.
869
870         [Qt] Warnings when compiling InspectorClientQt.cpp
871         https://bugs.webkit.org/show_bug.cgi?id=37266
872
873         Add a default: for the switch()-case to avoid
874         warnings.
875
876         * WebCoreSupport/InspectorClientQt.cpp:
877         (WebCore::variantToSetting):
878
879 2010-04-01  Antonio Gomes  <tonikitoo@webkit.org>
880
881         Reviewed by David Hyatt.
882
883         [Qt] REGRESSION:(r50665) QWebFrame::setScrollBarPolicy(Qt::Vertical,Qt::ScrollBarAlwaysOff) has no effect.
884         https://bugs.webkit.org/show_bug.cgi?id=29431
885
886         Make use of the new lock parameter of set{Vertical,Horizontal}ScrollbarMode.
887
888         Always added a qt auto test for set scrollbar policy feature.
889
890         * Api/qwebframe.cpp:
891         (QWebFrame::setScrollBarPolicy):
892         * tests/qwebframe/tst_qwebframe.cpp:
893         * WebCoreSupport/FrameLoaderClientQt.cpp:
894         (FrameLoaderClientQt::transitionToCommittedForNewPage):
895
896 2010-04-08  Joe Ligman  <joseph.ligman@nokia.com>
897
898         Reviewed by Simon Hausmann.
899
900         [Qt] WebKit crashes while input text through input method.
901         The formatted text underline painting crashes when painting with invalid indexes.
902         https://bugs.webkit.org/show_bug.cgi?id=36870
903
904         * Api/qwebpage.cpp:
905         (QWebPagePrivate::inputMethodEvent):
906         * tests/qwebpage/tst_qwebpage.cpp:
907         (tst_QWebPage::inputMethodsTextFormat_data):
908         (tst_QWebPage::inputMethodsTextFormat):
909
910 2010-04-08  Joe Ligman  <joseph.ligman@nokia.com>
911
912         Reviewed by Simon Hausmann.
913
914         [Qt] qtwebkit_webframe_scrollRecursively scrolls when body.style.overflow="hidden"
915         https://bugs.webkit.org/show_bug.cgi?id=36674
916
917         The scrolling check was based on the frameview's scrolloffset, and
918         maximumScrollPosition, which does not acknowledge the overflow properties.
919
920         I am now basing the scrolling off the scrollbar position. The scrollbars are
921         affected by the overflow properties indicating when not to scroll. The scrollbar
922         positions also continue to work for CSS ::-webkit-scrollbar styles.
923
924         * Api/qwebframe.cpp:
925         (qtwebkit_webframe_scrollRecursively):
926
927 2010-04-07  Andrey Kosyakov  <caseq@chromium.org>
928
929         Reviewed by Yury Semikhatsky.
930
931         Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest()
932         https://bugs.webkit.org/show_bug.cgi?id=36949
933
934         * WebCoreSupport/FrameLoaderClientQt.cpp:
935         * WebCoreSupport/FrameLoaderClientQt.h:
936
937 2010-04-07  Dawit Alemayehu  <adawit@kde.org>
938
939         Reviewed by Simon Hausmann.
940
941         https://bugs.webkit.org/show_bug.cgi?id=36827
942
943         Updated the WebCore::shouldTreatAsAttachement function call with the
944         new more generic replacement WebCore::contentDispositionType.
945
946         See comments 39-42 in https://bugs.webkit.org/show_bug.cgi?id=36395
947
948         * WebCoreSupport/FrameLoaderClientQt.cpp:
949         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
950
951 2010-04-07  Andreas Kling  <andreas.kling@nokia.com>
952
953         Reviewed by Simon Hausmann.
954
955         [Qt] When providing a widget for the PDF mime type it will cause a crash
956
957         m_pluginView may actually be a Widget (for embedded Qt widgets),
958         so always check isPluginView() before calling PluginView specific methods.
959
960         https://bugs.webkit.org/show_bug.cgi?id=29450
961
962         * WebCoreSupport/FrameLoaderClientQt.cpp:
963         (WebCore::FrameLoaderClientQt::finishedLoading):
964         (WebCore::FrameLoaderClientQt::setMainDocumentError):
965         (WebCore::FrameLoaderClientQt::committedLoad):
966
967 2010-04-06  Diego Gonzalez  <diego.gonzalez@openbossa.org>
968
969         Reviewed by Simon Hausmann.
970
971         [Qt] Add mechanism to detect QtWebKit 2.0 via the preprocessor
972         https://bugs.webkit.org/show_bug.cgi?id=36538
973
974         * Api/qwebkitglobal.h:
975
976 2010-04-02  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
977
978         Reviewed by Kenneth Rohde Christiansen.
979
980         [Qt] [Symbian] Rebaseline Symbian def file
981         https://bugs.webkit.org/show_bug.cgi?id=37038
982
983         Switch the ordinal numbers for qtwebkit_webframe_scrollRecursively
984         and QWebInspector::closeEvent to match QtWebkit 4.6 branch
985
986         Fix the signature for qt_drt_setFrameFlatteningEnabled
987         after r56718.
988
989         Add new QtWebKit API symbols introduced not listed in the file yet.
990
991         * symbian/eabi/QtWebKitu.def:
992
993 2010-03-30  Antonio Gomes  <tonikitoo@webkit.org>
994
995         Reviewed by Adam Treat.
996
997         Stored focused frame and document in a vars, instead of querying for them many times.
998
999         * Api/qwebpage.cpp:
1000         (QWebPagePrivate::mousePressEvent(QEvent* ev)):
1001         (QWebPagePrivate::mousePressEvent(QGraphicsSceneMouseEvent* ev):
1002
1003 2010-04-02  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
1004
1005         Reviewed by Eric Seidel.
1006
1007         [Qt]Fix compile error with QT_NO_SETTINGS
1008         https://bugs.webkit.org/show_bug.cgi?id=36533
1009
1010         If QT_NO_SETTINGS is defined, QSettings is not available.
1011
1012         * WebCoreSupport/InspectorClientQt.cpp:
1013         (WebCore::InspectorClientQt::populateSetting):
1014         (WebCore::InspectorClientQt::storeSetting):
1015
1016 2010-04-02  Luiz Agostini  <luiz.agostini@openbossa.org>
1017
1018         Reviewed by Kenneth Rohde Christiansen.
1019
1020         [Qt] Maemo5 theme - customized popup for <select multiple> elements
1021         https://bugs.webkit.org/show_bug.cgi?id=36368
1022
1023         Using QtMaemoWebPopup instead of QtFallbackWebPopup for Maemo.
1024
1025         * WebCoreSupport/ChromeClientQt.cpp:
1026         (WebCore::ChromeClientQt::createSelectPopup):
1027         * WebCoreSupport/QtFallbackWebPopup.cpp:
1028         (WebCore::QtFallbackWebPopup::show):
1029         (WebCore::QtFallbackWebPopup::populate):
1030
1031 2010-04-01  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
1032
1033         Reviewed by Kenneth Rohde Christiansen.
1034
1035         Add Single and Multiple Selection Popup for Maemo 5.
1036
1037         [Qt] Maemo5 theme - popup dialogs
1038         https://bugs.webkit.org/show_bug.cgi?id=36789
1039
1040         * WebCoreSupport/QtMaemoWebPopup.cpp:
1041         (WebCore::Maemo5Popup::populateList):
1042         (WebCore::Maemo5Popup::onItemSelected):
1043         (WebCore::QtMaemoWebPopup::createSingleSelectionPopup):
1044         (WebCore::QtMaemoWebPopup::createMultipleSelectionPopup):
1045         (WebCore::Maemo5SingleSelectionPopup::Maemo5SingleSelectionPopup):
1046         (WebCore::MultipleItemListDelegate::MultipleItemListDelegate):
1047         (WebCore::MultipleItemListDelegate::paint):
1048         (WebCore::Maemo5MultipleSelectionPopup::Maemo5MultipleSelectionPopup):
1049         * WebCoreSupport/QtMaemoWebPopup.h:
1050
1051 2010-03-31  Marcus Bulach  <bulach@chromium.org>
1052
1053         Reviewed by Jeremy Orlow.
1054
1055         Adds Geolocation param for cancelGeolocationPermissionRequestForFrame.
1056         https://bugs.webkit.org/show_bug.cgi?id=35031
1057
1058         * WebCoreSupport/ChromeClientQt.h:
1059         (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
1060
1061 2010-03-31  Antti Koivisto  <koivisto@iki.fi>
1062
1063         Reviewed by Kenneth Rohde Christiansen.
1064
1065         https://bugs.webkit.org/show_bug.cgi?id=36446
1066         [Qt] QWebSettings::TiledBackingStoreEnabled attribute lacks documentation and default value
1067
1068         * Api/qgraphicswebview.cpp:
1069         * Api/qwebsettings.cpp:
1070         (QWebSettings::QWebSettings):
1071
1072 2010-03-30  Gavin Barraclough  <barraclough@apple.com>
1073
1074         Rubber stamped by Sam Weinig.
1075
1076         https://bugs.webkit.org/show_bug.cgi?id=36866
1077         Move CString to WTF
1078
1079         * Api/qwebelement.cpp:
1080
1081 2010-03-30  Joe Ligman  <joseph.ligman@nokia.com>
1082
1083         Reviewed by Kenneth Rohde Christiansen.
1084
1085         [Qt] QGraphicsScene mousePressEvent does not set the clickCausedFocus flag
1086         https://bugs.webkit.org/show_bug.cgi?id=35259
1087
1088         The clickCausedFocus flag is not being set in method
1089         mousePressEvent(QGraphicsSceneMouseEvent* ev). This flag is used 
1090         in conjunction with QStyle::RSIP_OnMouseClickAndAlreadyFocused when
1091         deciding to launch the software input panel.
1092
1093         * Api/qwebpage.cpp:
1094         (QWebPagePrivate::mousePressEvent):
1095
1096 2010-03-30  Luiz Agostini  <luiz.agostini@openbossa.org>
1097
1098         Reviewed by Kenneth Rohde Christiansen.
1099
1100         [Qt] Maemo5 theme - QtMaemoWebPopup class
1101         https://bugs.webkit.org/show_bug.cgi?id=36790
1102
1103         A new QtAbstractWebPopup descendant class to be used for maemo menu lists.
1104         This is the first step. The next step will be the dialogs implementation that
1105         will come in bug 36789 and finally to use QtMaemoWebPopup instead of QtFallbackWebPopup
1106         that will come in bug 36368.
1107
1108         * WebCoreSupport/QtMaemoWebPopup.cpp: Added.
1109         (WebCore::QtMaemoWebPopup::QtMaemoWebPopup):
1110         (WebCore::QtMaemoWebPopup::~QtMaemoWebPopup):
1111         (WebCore::QtMaemoWebPopup::createSingleSelectionPopup):
1112         (WebCore::QtMaemoWebPopup::createMultipleSelectionPopup):
1113         (WebCore::QtMaemoWebPopup::createPopup):
1114         (WebCore::QtMaemoWebPopup::show):
1115         (WebCore::QtMaemoWebPopup::hide):
1116         (WebCore::QtMaemoWebPopup::popupClosed):
1117         (WebCore::QtMaemoWebPopup::itemClicked):
1118         * WebCoreSupport/QtMaemoWebPopup.h: Added.
1119         (WebCore::Maemo5Popup::Maemo5Popup):
1120
1121 2010-03-29  Dawit Alemayehu  <adawit@kde.org>
1122
1123         Reviewed by Simon Hausmann.
1124
1125         [Qt] Added support for handling the HTTP "Content-Disposition" header.
1126
1127         https://bugs.webkit.org/show_bug.cgi?id=36395
1128
1129         Whenever a server response contains a "Content-Disposition: attachment..." header, 
1130         treat the request as a download and emit the unsupportedContent signal.
1131
1132         * Api/qwebpage.cpp:
1133         * WebCoreSupport/FrameLoaderClientQt.cpp:
1134         (WebCore::FrameLoaderClientQt::download):
1135         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1136
1137 2010-03-22  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1138
1139         Reviewed by Simon Fraser.
1140
1141         Add support for Widgets 1.0: View Mode Media Feature
1142         https://bugs.webkit.org/show_bug.cgi?id=35446
1143
1144         Add an internal Qt API for changing the view mode media feature
1145         (http://www.w3.org/TR/widgets-vmmf/).
1146
1147         * Api/qwebpage.cpp:
1148         (qt_wrt_setViewMode):
1149         (QWebPagePrivate::priv):
1150         * Api/qwebpage_p.h:
1151         * WebCoreSupport/ChromeClientQt.cpp:
1152         (WebCore::ChromeClientQt::isDocked):
1153         (WebCore::ChromeClientQt::isFloating):
1154         (WebCore::ChromeClientQt::isApplication):
1155         (WebCore::ChromeClientQt::isFullscreen):
1156         * WebCoreSupport/ChromeClientQt.h:
1157
1158 2010-03-29  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1159
1160         Reviewed by Antti Koivisto.
1161
1162         Use 'Mobile Safari' instead of 'Safari' on mobile Qt platforms.
1163
1164         * Api/qwebpage.cpp:
1165         (QWebPage::userAgentForUrl):
1166
1167 2010-03-29  Simon Hausmann  <simon.hausmann@nokia.com>
1168
1169         Reviewed by Tor Arne Vestbø.
1170
1171         [Qt] unit tests don't compile inside of Qt
1172
1173         https://bugs.webkit.org/show_bug.cgi?id=36756
1174
1175         * tests/tests.pri: Don't do the target substitution inside Qt and find the sources
1176         through VPATH instead of relying on the location of the .pro file exclusively.
1177
1178 2010-03-26  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1179
1180         Reviewed by Antti Koivisto.
1181
1182         Change due to renaming of frame flattening setting.
1183
1184         * Api/qwebpage.cpp:
1185         (qt_drt_setFrameFlatteningEnabled):
1186         * Api/qwebsettings.cpp:
1187         (QWebSettingsPrivate::apply):
1188         * symbian/eabi/QtWebKitu.def:
1189
1190 2010-03-28  Alexey Proskuryakov  <ap@apple.com>
1191
1192         Build fix. Include WindowsKeyboardCodes.h instead of KeyboardCodes.h.
1193
1194         * WebCoreSupport/EditorClientQt.cpp:
1195
1196 2010-03-26  Olivier Goffart  <ogoffart@trolltech.com>
1197
1198         Reviewed by Simon Hausmann.
1199
1200         [Qt] Compile with QT_USE_FAST_OPERATOR_PLUS
1201
1202         * WebCoreSupport/InspectorClientQt.cpp:
1203         (WebCore::InspectorClientQt::populateSetting):
1204         (WebCore::InspectorClientQt::storeSetting):
1205
1206 2010-03-26  David Boddie  <dboddie@trolltech.com>
1207
1208         Reviewed by Simon Hausmann.
1209
1210         [Qt] Doc: Simplified Commercial Editions for Qt 4.7.
1211
1212         * docs/qtwebkit.qdoc:
1213
1214 2010-03-26  Simon Hausmann  <simon.hausmann@nokia.com>
1215
1216         Symbian build fix.
1217
1218         [Qt] Updated the def file with new exports used by QtLauncher.
1219
1220         * symbian/eabi/QtWebKitu.def:
1221
1222 2010-03-25  Yael Aharon  <yael.aharon@nokia.com>
1223
1224         Reviewed by Kenneth Rohde Christiansen.
1225
1226         [Qt] QtLauncher crashes on Mac OS and Linux when exiting with QGraphicsView mode enabled
1227         https://bugs.webkit.org/show_bug.cgi?id=35251
1228
1229         Followed the way QWebView registers for the signal QWebPage::destroyed(), to prevent
1230         QGraphicsWebView from referencing QWebPage after it was deleted.        
1231
1232         * Api/qgraphicswebview.cpp:
1233         (QGraphicsWebViewPrivate::_q_pageDestroyed):
1234         (QGraphicsWebView::setPage):
1235         * Api/qgraphicswebview.h:
1236
1237 2010-03-25  Kent Hansen  <kent.hansen@nokia.com>
1238
1239         Reviewed by Simon Hausmann.
1240
1241         [Qt] QWebFrame::pageChanged() signal is not documented
1242         https://bugs.webkit.org/show_bug.cgi?id=36609
1243
1244         * Api/qwebframe.cpp:
1245
1246 2010-03-25  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1247
1248         Reviewed by Simon Hausmann.
1249
1250         [Qt] Implement ChromeClient::windowResizerRect()
1251
1252         https://bugs.webkit.org/show_bug.cgi?id=21300
1253
1254         We assume the resize corner to be in the lower right corner of
1255         the window and having the width and height of the scrollbars.
1256
1257         The helper function geometryRelativeToOwnerWidget() in the page
1258         client is used to clip the resize rect to the actual size of the
1259         viewport, not the size of the QGraphicsView.
1260
1261         * Api/qgraphicswebview.cpp:
1262         * Api/qwebpage.cpp:
1263         * WebCoreSupport/ChromeClientQt.cpp:
1264
1265 2010-03-25  Shu Chang  <chang.shu@nokia.com>
1266
1267         Reviewed by Simon Hausmann.
1268
1269         [Qt] Added documentation for delete button.
1270         https://bugs.webkit.org/show_bug.cgi?id=31560
1271
1272         * Api/qwebsettings.cpp:
1273
1274 2010-03-25  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
1275
1276         Reviewed by Eric Seidel.
1277
1278         [Qt]Fix compile error with QT_NO_DESKTOPSERVICES
1279         https://bugs.webkit.org/show_bug.cgi?id=36533
1280
1281         * Api/qwebsettings.cpp:
1282         (QWebSettings::enablePersistentStorage):
1283
1284 2010-03-25  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
1285
1286         Reviewed by Eric Seidel.
1287
1288         [Qt]Fix compile error with QT_NO_DEBUG_STREAM
1289         https://bugs.webkit.org/show_bug.cgi?id=36533
1290
1291         * Api/qgraphicswebview.cpp:
1292         (QGraphicsWebViewPrivate::graphicsItemVisibleRect):
1293
1294 2010-03-25  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1295
1296         Reviewed by Eric Seidel.
1297
1298         Make QWebPage not depend on view() but use the client->ownerWidget()
1299         instead. Also, handle the case where there is not page client.
1300
1301         * Api/qwebpage.cpp:
1302         (QWebPagePrivate::createContextMenu):
1303         (QWebPagePrivate::keyPressEvent):
1304         (QWebPage::javaScriptAlert):
1305         (QWebPage::javaScriptConfirm):
1306         (QWebPage::javaScriptPrompt):
1307         (QWebPage::shouldInterruptJavaScript):
1308         (QWebPage::createWindow):
1309         (QWebPage::action):
1310         (QWebPage::extension):
1311         (QWebPage::chooseFile):
1312         (QWebPage::userAgentForUrl):
1313
1314 2010-03-24  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
1315
1316         Reviewed by Kenneth Rohde Christiansen.
1317
1318         Add the FrameFlatteningEnabled WebAttribute to QWebSettings.
1319
1320         [Qt] Missing QWebSettings for Frame Flattening
1321         https://bugs.webkit.org/show_bug.cgi?id=36553
1322
1323         * Api/qwebsettings.cpp:
1324         (QWebSettingsPrivate::apply):
1325         (QWebSettings::QWebSettings):
1326         * Api/qwebsettings.h:
1327
1328 2010-03-24  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
1329
1330         Reviewed by Laszlo Gombos.
1331
1332         Auto-uppercase and predictive text need to be disabled for S60 (as for maemo)
1333         https://bugs.webkit.org/show_bug.cgi?id=33176
1334
1335         * WebCoreSupport/EditorClientQt.cpp:
1336
1337 2010-03-24  Kent Hansen  <kent.hansen@nokia.com>
1338
1339         Reviewed by Simon Hausmann.
1340
1341         [Qt] Rename QWebSettings::XSSAuditorEnabled to XSSAuditingEnabled
1342         https://bugs.webkit.org/show_bug.cgi?id=36522
1343
1344         For consistency with other QWebSettings attributes.
1345
1346         * Api/qwebsettings.cpp:
1347         (QWebSettingsPrivate::apply):
1348         * Api/qwebsettings.h:
1349
1350 2010-03-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1351
1352         Reviewed by Simon Hausmann.
1353
1354         Calling setView(0) on a QWebPage being shown by a QGraphicsWebView,
1355         would uninstall the page client, deleting the QGraphicsWebViewPrivate
1356         instance. If called with an argument, it would do a wrong static_cast
1357         and crash.
1358
1359         * Api/qwebpage.cpp:
1360         (QWebPageWidgetClient::QWebPageWidgetClient):
1361         (QWebPageWidgetClient::isQWidgetClient):
1362         (QWebPageWidgetClient::screenNumber):
1363         (QWebPage::QWebPage):
1364         (QWebPage::setView):
1365         * Api/qgraphicswebview.cpp:
1366         (QGraphicsWebViewPrivate::unsetPageIfExists):
1367         (QGraphicsWebView::setPage):
1368         * Api/qwebpage.cpp:
1369         (QWebPageWidgetClient::isQWidgetClient):
1370         (QWebPageWidgetClient::screenNumber):
1371         (QWebPage::QWebPage):
1372         (QWebPage::setView):
1373         * Api/qwebpage.h:
1374         * Api/qwebview.cpp:
1375         (QWebViewPrivate::unsetPageIfExists):
1376         (QWebView::setPage):
1377
1378 2010-03-24  Kent Tamura  <tkent@chromium.org>
1379
1380         Reviewed by Darin Adler.
1381
1382         Make Icon::createIconForFiles() optional.
1383         https://bugs.webkit.org/show_bug.cgi?id=35072
1384
1385         - Rename iconForFiles() to chooseIconForFiles().
1386         - Call Icon::createIconForFiles() from chooseIconForFiles().
1387
1388         * WebCoreSupport/ChromeClientQt.cpp:
1389         (WebCore::ChromeClientQt::chooseIconForFiles):
1390         * WebCoreSupport/ChromeClientQt.h:
1391
1392 2010-03-23  Luiz Agostini  <luiz.agostini@openbossa.org>
1393
1394         Reviewed by Kenneth Rohde Christiansen.
1395
1396         QGraphicsWebView crash when calling setView on the QWebPage...
1397         https://bugs.webkit.org/show_bug.cgi?id=36436
1398
1399         Checking for pageClient existance before showing popups.
1400
1401         * WebCoreSupport/QtFallbackWebPopup.cpp:
1402         (WebCore::QtFallbackWebPopup::show):
1403
1404 2010-03-23  Anders Bakken <anders.bakken@nokia.com>, Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
1405
1406         Reviewed by Kenneth Rohde Christiansen.
1407
1408         Check if q->scene() is available before actually using it
1409         on QGraphicsWebViewPrivate.
1410
1411         QGraphicsWebView crash
1412         https://bugs.webkit.org/show_bug.cgi?id=32670
1413
1414         * Api/qgraphicswebview.cpp:
1415         (QGraphicsWebViewPrivate::screenNumber):
1416         (QGraphicsWebViewPrivate::ownerWidget):
1417
1418 2010-03-23  David Leong  <david.leong@nokia.com>
1419
1420         Reviewed by Laszlo Gombos.
1421
1422         Build fix for Symbian Def file.
1423
1424         * symbian/eabi/QtWebKitu.def:
1425
1426 2010-03-23  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
1427
1428         Reviewed by Kenneth Rohde Christiansen.
1429
1430         [Qt] Remove support for Qt v4.4
1431         https://bugs.webkit.org/show_bug.cgi?id=36389
1432
1433         * Api/qwebelement.cpp:
1434         (QWebElement::classes):
1435         * Api/qwebpage.cpp:
1436         (QWebPagePrivate::editorActionForKeyEvent):
1437         (QWebPage::userAgentForUrl):
1438         * WebCoreSupport/EditorClientQt.cpp:
1439         (WebCore::EditorClientQt::handleKeyboardEvent):
1440         * tests/tests.pro:
1441
1442 2010-03-22  Kent Hansen  <kent.hansen@nokia.com>
1443
1444         Reviewed by Laszlo Gombos.
1445
1446         [Qt] Fix qdoc warnings
1447         https://bugs.webkit.org/show_bug.cgi?id=36447
1448
1449         * Api/qgraphicswebview.cpp: Add missing ().
1450         * Api/qwebframe.cpp: Remove reference to non-existent parameter "url".
1451         * Api/qwebsettings.cpp:  Document parameter "location".
1452
1453 2010-03-22  Jakub Wieczorek  <jwieczorek@webkit.org>
1454
1455         Reviewed by Simon Hausmann.
1456
1457         [Qt] Don't construct a QLineEdit every time when painting a text field
1458         https://bugs.webkit.org/show_bug.cgi?id=36373
1459
1460         Add a simple benchmark covering this area.
1461
1462         * tests/benchmarks/painting/tst_painting.cpp:
1463         (tst_Painting::textAreas):
1464
1465 2010-03-22  Yi Shen  <shenyi2006@gmail.com>
1466
1467         Reviewed by Simon Hausmann.
1468
1469         https://bugs.webkit.org/show_bug.cgi?id=35933  
1470         [Qt] [Symbian] Can not backward select (highlight) text using virtual keyboard
1471         Make sure the selection start index is smaller than the selection end index.
1472
1473         * Api/qwebpage.cpp:
1474         (QWebPagePrivate::inputMethodEvent):
1475         * tests/qwebpage/tst_qwebpage.cpp:
1476         (tst_QWebPage::inputMethods):
1477
1478 2010-03-21  Kristian Amlie  <kristian.amlie@nokia.com>
1479
1480         Reviewed by Simon Hausmann.
1481
1482         Fixed updating the VKB display when inputting into QGraphicsWebView.
1483         https://bugs.webkit.org/show_bug.cgi?id=36292
1484
1485         * Api/qgraphicswebview.cpp:
1486         (QGraphicsWebViewPrivate::_q_updateMicroFocus):
1487         (QGraphicsWebView::setPage):
1488         * Api/qgraphicswebview.h:
1489
1490 2010-03-19  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
1491
1492         Unreviewed.
1493
1494         Buildfix for Qt v4.5.
1495
1496         * Api/qgraphicswebview.cpp:
1497         (QGraphicsWebViewOverlay::q):
1498
1499 2010-03-18  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1500
1501         Reviewed by Darin Adler.
1502
1503         Make it possible for the Qt DRT to set the media type from
1504         the LayoutTestController.
1505
1506         * Api/qwebframe.cpp:
1507         (qt_drt_setMediaType):
1508
1509 2010-03-18  Joe Ligman  <joseph.ligman@nokia.com>
1510
1511         Reviewed by Simon Hausmann.
1512
1513         [Qt] New API scrollRecursively has several problems.
1514         https://bugs.webkit.org/show_bug.cgi?id=35873
1515
1516         Remove scrollRecursively from the Qt 4.7 API
1517         Update the internal API to accept a hit test position 
1518         for nested scrolling
1519
1520         * Api/qwebframe.cpp:
1521         (webframe_scrollOverflow):
1522         (qtwebkit_webframe_scrollRecursively):
1523         * Api/qwebframe.h:
1524         * Api/qwebframe_p.h:
1525         * tests/qwebframe/tst_qwebframe.cpp:
1526
1527 2010-03-18  Antti Koivisto  <koivisto@iki.fi>
1528
1529         Reviewed by Kenneth Rohde Christiansen.
1530
1531         https://bugs.webkit.org/show_bug.cgi?id=36102
1532         [Qt] Scaling control API for tiled backing store
1533         
1534         The scale is set by passing the QGraphicsWebView scale to the backing store. The
1535         only new API is the tiledBackingStoreFrozen property which allows disabling
1536         all updates (for example during zoom animation).
1537
1538         * Api/qgraphicswebview.cpp:
1539         (QGraphicsWebViewPrivate::_q_scaleChanged):
1540         (QGraphicsWebViewPrivate::updateTiledBackingStoreScale):
1541         (QGraphicsWebView::QGraphicsWebView):
1542         (QGraphicsWebView::isTiledBackingStoreFrozen):
1543         (QGraphicsWebView::setTiledBackingStoreFrozen):
1544         * Api/qgraphicswebview.h:
1545         * Api/qwebframe.cpp:
1546         * Api/qwebframe_p.h:
1547
1548 2010-03-17  Antti Koivisto  <koivisto@iki.fi>
1549
1550         Reviewed by Tor Arne Vestbø.
1551
1552         Fix Qt build with tiled backing store disabled.
1553
1554         * Api/qwebframe.cpp:
1555         * Api/qwebframe_p.h:
1556
1557 2010-03-17  Chang Shu  <chang.shu@nokia.com>
1558
1559         Reviewed by Laszlo Gombos.
1560
1561         https://bugs.webkit.org/show_bug.cgi?id=36139
1562         [Qt] Clean up cache while setting cache quota. This behavior matches other platforms,
1563         such as mac and gtk.
1564
1565          * Api/qwebsettings.cpp:
1566         (QWebSettings::setOfflineWebApplicationCacheQuota):
1567
1568 2010-03-17  Csaba Osztrogonác  <ossy@webkit.org>
1569
1570         Reviewed by Kenneth Rohde Christiansen.
1571
1572         [Qt] Enable accelerated compositing by default
1573         https://bugs.webkit.org/show_bug.cgi?id=35866
1574
1575         * Api/qwebsettings.cpp:
1576         (QWebSettings::QWebSettings):
1577
1578 2010-03-15  Antti Koivisto  <koivisto@iki.fi>
1579
1580         Reviewed by Simon Hausmann.
1581
1582         https://bugs.webkit.org/show_bug.cgi?id=36121
1583         [Qt] Make WebKit scrollbars work with tiling
1584         
1585         - Use the scrollbar overlay (implemented for accelerated compositing) when in tiled mode. 
1586         - Make overlay compile unconditionally, enable on demand. This removes bunch of unneeded ifdefs.
1587         - Update the scroll position to the backing store as needed.
1588         - Renamed some methods.
1589
1590         * Api/qgraphicswebview.cpp:
1591         (QGraphicsWebViewPrivate::):
1592         (QGraphicsWebViewPrivate::createOrDeleteOverlay):
1593         (QGraphicsWebViewPrivate::setRootGraphicsLayer):
1594         (QGraphicsWebViewPrivate::updateCompositingScrollPosition):
1595         (QGraphicsWebViewPrivate::scroll):
1596         (QGraphicsWebViewPrivate::update):
1597         (QGraphicsWebViewPrivate::graphicsItemVisibleRect):
1598         (QGraphicsWebView::paint):
1599         (QGraphicsWebView::setPage):
1600         (QGraphicsWebView::updateGeometry):
1601         (QGraphicsWebView::setGeometry):
1602         * Api/qwebframe.cpp:
1603         (QWebFramePrivate::renderFromTiledBackingStore):
1604         * Api/qwebframe_p.h:
1605
1606 2010-03-15  Robert Hogan  <robert@webkit.org>
1607
1608         Reviewed by Simon Hausmann.
1609
1610         [Qt] Fix crash in QWebView::setPage()
1611
1612         tst_qwebpage was crashing on setPage(0)
1613
1614         https://bugs.webkit.org/show_bug.cgi?id=36137
1615
1616         * Api/qwebview.cpp:
1617         (QWebView::setPage):
1618
1619 2010-03-16  Yury Semikhatsky <yurys@chromium.org>
1620
1621         Reviewed by Pavel Feldman.
1622
1623         Introduce InspectorFrontendClient that provides InspectorFrontend with an interface to the embedder. InspectorClient now serves as a delegate for InspectorController and does not contain methods for managing inspector frontend window. That allows to create remote InspectorFrontendHost.
1624
1625         Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder
1626         https://bugs.webkit.org/show_bug.cgi?id=35036
1627
1628         * Api/qwebinspector.cpp:
1629         (QWebInspector::hideEvent):
1630         (QWebInspector::closeEvent):
1631         * Api/qwebinspector.h:
1632         * Api/qwebpage.h:
1633         * WebCoreSupport/InspectorClientQt.cpp:
1634         (WebCore::InspectorClientQt::openInspectorFrontend):
1635         (WebCore::InspectorFrontendClientQt::InspectorFrontendClientQt):
1636         (WebCore::InspectorFrontendClientQt::frontendLoaded):
1637         (WebCore::InspectorFrontendClientQt::localizedStringsURL):
1638         (WebCore::InspectorFrontendClientQt::hiddenPanels):
1639         (WebCore::InspectorFrontendClientQt::bringToFront):
1640         (WebCore::InspectorFrontendClientQt::closeWindow):
1641         (WebCore::InspectorFrontendClientQt::attachWindow):
1642         (WebCore::InspectorFrontendClientQt::detachWindow):
1643         (WebCore::InspectorFrontendClientQt::setAttachedWindowHeight):
1644         (WebCore::InspectorFrontendClientQt::inspectedURLChanged):
1645         (WebCore::InspectorFrontendClientQt::updateWindowTitle):
1646         * WebCoreSupport/InspectorClientQt.h:
1647
1648 2010-03-15  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
1649
1650         Unreviewed.
1651
1652         [Qt] Build fix if TILED_BACKING_STORE is disabled.
1653
1654         * Api/qwebframe.cpp:
1655         (QWebFramePrivate::renderContentsLayerAbsoluteCoords):
1656
1657 2010-03-14  Chang Shu  <chang.shu@nokia.com>
1658
1659         Reviewed by Simon Hausmann.
1660
1661         [Qt] [Symbian] Use Symbian native dialog providers for combo pupups.
1662         https://bugs.webkit.org/show_bug.cgi?id=35919
1663
1664         * WebCoreSupport/QtFallbackWebPopup.cpp:
1665         (WebCore::QtFallbackWebPopup::show):
1666         (WebCore::ResetAndDestroy):
1667         (WebCore::QtFallbackWebPopup::showS60BrowserDialog):
1668         * WebCoreSupport/QtFallbackWebPopup.h:
1669
1670 2010-03-14  Antti Koivisto  <koivisto@iki.fi>
1671
1672         Reviewed by Simon Hausmann.
1673
1674         https://bugs.webkit.org/show_bug.cgi?id=35146
1675         Support tiled backing store
1676
1677         Implements a basic tiled backing store mechanism. Tiles are created and 
1678         deleted on demand. The page content is cached to the tiles. Tile content
1679         is kept in sync with the document. Since the backing store covers area
1680         larger than the currently visible viewport, the document can be scrolled
1681         quickly without having to enter rendering tree painting.
1682         
1683         The tile management code is platform independent. This patch has simple QPixmap
1684         based tile implementation for Qt.
1685         
1686         The feature is behind ENABLE_TILED_BACKING_STORE flag.
1687
1688         * Api/qgraphicswebview.cpp:
1689         (QGraphicsWebViewPrivate::visibleRect):
1690         (QGraphicsWebView::paint):
1691         * Api/qwebframe.cpp:
1692         (QWebFramePrivate::renderContentsLayerAbsoluteCoords):
1693         * Api/qwebframe.h:
1694         * Api/qwebsettings.cpp:
1695         (QWebSettingsPrivate::apply):
1696         * Api/qwebsettings.h:
1697
1698 2010-03-13  Csaba Osztrogonác  <ossy@webkit.org>
1699
1700         [Qt] Enable accelerated compositing by default
1701         https://bugs.webkit.org/show_bug.cgi?id=35866
1702
1703         Unreviewed. Roll-out r55955, because it broke 3 tests:
1704         - animations/fill-mode-transform.html
1705         - animations/play-state.html
1706         - animations/simultaneous-start-left.html
1707
1708         * Api/qwebsettings.cpp:
1709         (QWebSettings::QWebSettings):
1710
1711 2010-03-13  Simon Hausmann  <simon.hausmann@nokia.com>
1712
1713         Reviewed by Kenneth Rohde Christiansen.
1714
1715         [Qt] Enable accelerated compositing by default
1716         https://bugs.webkit.org/show_bug.cgi?id=35866
1717
1718         * Api/qwebsettings.cpp:
1719         (QWebSettings::QWebSettings):
1720
1721 2010-03-11  Anders Carlsson  <andersca@apple.com>
1722
1723         Reviewed by David Hyatt.
1724
1725         Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents.
1726
1727         * WebCoreSupport/ChromeClientQt.cpp:
1728         * WebCoreSupport/ChromeClientQt.h:
1729
1730 2010-03-10  Robert Hogan  <robert@webkit.org>
1731
1732         Reviewed by Simon Hausmann.
1733
1734         [Qt] Add Support for WebKitEnableCaretBrowsing to Qt DRT
1735
1736         Unskip test fast/events/multiline-link-arrow-navigation.html
1737         Fix typo (superfluous space) in QWebSettings docs.
1738
1739         https://bugs.webkit.org/show_bug.cgi?id=35593
1740
1741         * Api/qwebpage.cpp:
1742         (qt_drt_enableCaretBrowsing):
1743         * Api/qwebsettings.cpp:
1744         (QWebSettingsPrivate::apply): fix typo in docs
1745
1746 2010-03-02  Adam Treat  <atreat@rim.com>
1747
1748         Reviewed by Dave Hyatt.
1749
1750         Adapt the qt port to the refactoring of repaint methods.
1751
1752         https://bugs.webkit.org/show_bug.cgi?id=34214
1753
1754         * WebCoreSupport/ChromeClientQt.cpp:
1755         (WebCore::ChromeClientQt::invalidateContents):
1756         (WebCore::ChromeClientQt::invalidateWindow):
1757         (WebCore::ChromeClientQt::invalidateContentsAndWindow):
1758         (WebCore::ChromeClientQt::invalidateContentsForSlowScroll):
1759         * WebCoreSupport/ChromeClientQt.h:
1760
1761 2010-03-08  Eric Uhrhane  <ericu@chromium.org>
1762
1763         Reviewed by David Levin.
1764
1765         Remove the now-redundant Settings fields for the Database
1766         https://bugs.webkit.org/show_bug.cgi?id=35763
1767
1768         No new tests; this code isn't called.
1769
1770         * Api/qwebsettings.cpp:
1771         (QWebSettingsPrivate::apply): Remove the call into Settings.
1772
1773 2010-03-08  Simon Hausmann  <simon.hausmann@nokia.com>
1774
1775         Reviewed by Laszlo Gombos.
1776
1777         [Qt] Binary incompatibility between Qt 4.6's WebKit and trunk in QWebSettings
1778         https://bugs.webkit.org/show_bug.cgi?id=35858
1779
1780         Moved the enum value added in r54873 to the end of the enum, to preserve
1781         binary compatibility. DnsPrefetchEnabled was in the last release and needs
1782         to remain after LocalContentCanAccessRemoteUrls.
1783
1784         * Api/qwebsettings.h:
1785
1786 2010-03-06  Mark Rowe  <mrowe@apple.com>
1787
1788         Rubber-stamped by Sam Weinig.
1789
1790         Remove unnecessary includes of wtf/Platform.h.  This is already pulled in by the prefix header.
1791
1792         * WebCoreSupport/EditCommandQt.cpp:
1793
1794 2010-03-02  Antonio Gomes  <tonikitoo@webkit.org>
1795
1796         Reviewed by Simon Hausmann.
1797         Patch by Antonio Gomes <tonikitoo@webkit.org>
1798
1799         [Qt] QWebSettings attribute for toggle Spatial Navigation on/off
1800         https://bugs.webkit.org/show_bug.cgi?id=33714 (Qt API part)
1801
1802         Added 'SpatialNavigationEnabled' attribute to QWebSettings.
1803
1804         * Api/qwebsettings.cpp:
1805         (QWebSettingsPrivate::apply):
1806         * Api/qwebsettings.h:
1807
1808 2010-03-04  Simon Hausmann  <simon.hausmann@nokia.com>
1809
1810         Reviewed by Kenneth Rohde Christiansen.
1811
1812         [Qt] qwebelement.h does not include QtCore headers correctly
1813         https://bugs.webkit.org/show_bug.cgi?id=35748
1814
1815         The header files of QtCore must be included as QtCore/foo.h.
1816
1817         See also http://bugreports.qt.nokia.com/browse/QTBUG-8661
1818
1819         * Api/qwebelement.h:
1820
1821 2010-03-04  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
1822
1823         Reviewed by Tor Arne Vestbø.
1824
1825         [Qt] Make the OUTPUT_DIR variable in qmake projects independent of build-webkit's logic.
1826
1827         This also allows shadow builds relying only on qmake to work properly.
1828
1829         * tests/benchmarks/loading/loading.pro:
1830         * tests/benchmarks/painting/painting.pro:
1831         * tests/hybridPixmap/hybridPixmap.pro:
1832         * tests/qgraphicswebview/qgraphicswebview.pro:
1833         * tests/qwebelement/qwebelement.pro:
1834         * tests/qwebframe/qwebframe.pro:
1835         * tests/qwebhistory/qwebhistory.pro:
1836         * tests/qwebhistoryinterface/qwebhistoryinterface.pro:
1837         * tests/qwebinspector/qwebinspector.pro:
1838         * tests/qwebpage/qwebpage.pro:
1839         * tests/qwebplugindatabase/qwebplugindatabase.pro:
1840
1841 2010-03-02  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1842
1843         Reviewed by Kenneth Rohde Christiansen.
1844
1845         [Qt] Fix generation of forwarding headers
1846
1847         The dependencies were a bit wrong, so we ended up not generating
1848         forwarding headers for qwebkitversion.h and qwebkitglobal.h
1849
1850         The forwarding headers are now the only targets depending on the
1851         real headers. All other targets either depend on the generated
1852         class headers, or the forwarding headers.
1853
1854         * Api/DerivedSources.pro:
1855
1856 2010-03-02  Eric Uhrhane  <ericu@chromium.org>
1857
1858         Reviewed by David Levin.
1859
1860         Move database enable bit fully out of settings
1861         This is stage one of a three-stage commit [webkit, then chromium, then
1862         webkit again].  In this change I'm adding calls to
1863         Database::setIsAvailable inside Settings::setDatabaseEnabled and
1864         anywhere else that called it, and switching webkit fully over to using
1865         that flag [added in a previous checkin].  Phase two will remove
1866         Chromium's use of Settings for the Database, and phase three will remove
1867         the Setting for the Database enable entirely, leaving only
1868         Database::isAvailable/setIsAvailable.
1869
1870         No new tests; tested by existing storage tests.
1871
1872         https://bugs.webkit.org/show_bug.cgi?id=35310
1873
1874         * Api/qwebsettings.cpp:
1875         (QWebSettingsPrivate::apply):  Add a call to Database::setIsAvailable
1876
1877 2010-03-02  Simon Hausmann  <simon.hausmann@nokia.com>
1878
1879         Symbian build fix.
1880
1881         [Qt] Updated the def file with one new export, to fix
1882         QtLauncher linkage.
1883
1884         * symbian/eabi/QtWebKitu.def:
1885
1886 2010-03-01  Jakob Petsovits  <jpetsovits@rim.com>
1887
1888         Reviewed by Adam Barth.
1889
1890         Adapt to the new ZoomMode enum.
1891         https://bugs.webkit.org/show_bug.cgi?id=35347
1892
1893         * Api/qwebframe.cpp:
1894         (QWebFrame::setTextSizeMultiplier):
1895         (QWebFrame::setZoomFactor):
1896         * Api/qwebsettings.cpp:
1897         (QWebSettingsPrivate::apply):
1898
1899 2010-02-26  Diego Gonzalez  <diego.gonzalez@openbossa.org>
1900
1901         Reviewed by Simon Hausmann.
1902
1903         Fix documentation of QWebSettings::setUserStyleSheetUrl method
1904
1905         The base 64 data in the exemple shows a not valid code.
1906
1907         REGRESSION: QWebSettings::setUserStyleSheetUrl is not working with a data URL (Base64)
1908         https://bugs.webkit.org/show_bug.cgi?id=34802
1909
1910         * Api/qwebsettings.cpp:
1911
1912 2010-02-26  Jamey Hicks  <jamey.hicks@nokia.com>
1913
1914         Reviewed by Laszlo Gombos.
1915
1916         [Qt] added QWebSettings::setInspectorUrl() and QWebSettings::inspectorUrl()
1917
1918         Enables the use of alternate Web Inspector frontends by changing
1919         the location of the frontend.
1920
1921         This is required so that the Web Inspector may be run from an
1922         external process or an external tool such as Eclipse or Aptana may
1923         be used instead of the in-process Web Inspector UI.
1924         
1925         https://bugs.webkit.org/show_bug.cgi?id=35340
1926
1927         * Api/qwebsettings.cpp:
1928         (QWebSettings::QWebSettings):
1929         (QWebSettings::setInspectorUrl):
1930         (QWebSettings::inspectorUrl):
1931         * Api/qwebsettings.h:
1932         * WebCoreSupport/InspectorClientQt.cpp:
1933         (WebCore::InspectorClientQt::createPage):
1934
1935 2010-02-25  Jarkko Sakkinen  <jarkko.sakkinen@tieto.com>
1936
1937         Reviewed by Kenneth Rohde Christiansen.
1938
1939         Qt WebGL support
1940
1941         Adds enabling and disabling of WebGL support to QWebSettings.
1942         https://bugs.webkit.org/show_bug.cgi?id=35153
1943
1944         * Api/qwebsettings.cpp:
1945         (QWebSettingsPrivate::apply):
1946         (QWebSettings::QWebSettings):
1947         * Api/qwebsettings.h:
1948
1949 2010-02-19  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
1950
1951         Reviewed by Kenneth Rohde Christiansen.
1952
1953         [Qt] Remove QGVLauncher
1954
1955         https://bugs.webkit.org/show_bug.cgi?id=35292
1956
1957         * QGVLauncher/QGVLauncher.pro: Removed.
1958         * QGVLauncher/main.cpp: Removed.
1959
1960 2010-02-23  Steve Block  <steveblock@google.com>
1961
1962         Reviewed by Darin Adler.
1963
1964         Adds ChromeClient::cancelGeolocationPermissionRequestForFrame
1965         https://bugs.webkit.org/show_bug.cgi?id=34962
1966
1967         This method is required so that a Geolocation object can cancel an
1968         asynchronous permission request. This allows the chrome client to cancel
1969         any UI it is showing for the permission request.
1970
1971         * WebCoreSupport/ChromeClientQt.h:
1972         (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
1973
1974 2010-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
1975
1976         Unreviewed Symbian build fix.
1977
1978         [Qt] Updated the def file with new exports to enable
1979         building DumpRenderTree.
1980
1981         * symbian/eabi/QtWebKitu.def:
1982
1983 2010-02-18  Noam Rosenthal  <noam.rosenthal@nokia.com>
1984
1985         Reviewed by Kenneth Rohde Christiansen.
1986
1987         [Qt] Minor improvement to hybrid QPixmap
1988         https://bugs.webkit.org/show_bug.cgi?id=34507
1989
1990         * tests/hybridPixmap/test.html: use assignToHTMLImageElement on an
1991         existing element instead of toHTMLImageElement which creates a new one
1992
1993 2010-02-17  Dmitry Titov  <dimich@chromium.org>
1994
1995         Reviewed by David Levin, Darin Fisher, Simon Hausmann.
1996
1997         When a live iframe element is moved between pages, it still depends on the old page.
1998         https://bugs.webkit.org/show_bug.cgi?id=34382
1999
2000         * Api/qwebframe_p.h:
2001         (QWebFramePrivate::setPage): Added.
2002         * WebCoreSupport/FrameLoaderClientQt.cpp:
2003         (WebCore::FrameLoaderClientQt::didTransferChildFrameToNewDocument):
2004         The QWebFrame caches a QWebPage which should be replaced when Frame is re-parented.
2005         Also, the QWebFrame is a child (in QT terms) of QWebPage - so update that relationship as well.
2006         Emit a signal that QWebFrame moved to a different QWebPage.
2007
2008         * WebCoreSupport/FrameLoaderClientQt.h:
2009
2010 2010-02-17  Kent Tamura  <tkent@chromium.org>
2011
2012         Reviewed by Eric Seidel.
2013
2014         Introduces new Icon loading interface in order to support
2015         asynchronous loading.
2016         https://bugs.webkit.org/show_bug.cgi?id=32054
2017
2018         Add an empty implementation of ChromeClient::iconForFiles().
2019
2020         * WebCoreSupport/ChromeClientQt.cpp:
2021         (WebCore::ChromeClientQt::iconForFiles):
2022         * WebCoreSupport/ChromeClientQt.h:
2023
2024 2010-02-17  Diego Gonzalez  <diego.gonzalez@openbossa.org>
2025
2026         Reviewed by Ariya Hidayat.
2027
2028         Make possible Qt DRT to get total number of pages to be printed
2029
2030         LayoutTests:
2031             printing/numberOfPages.html
2032
2033         [Qt] DRT: Get total number of pages to be printed
2034         https://bugs.webkit.org/show_bug.cgi?id=34955
2035
2036         * Api/qwebframe.cpp:
2037         (qt_drt_numberOfPages):
2038         (qt_drt_evaluateScriptInIsolatedWorld):
2039
2040 2010-02-16  Ariya Hidayat  <ariya.hidayat@gmail.com>
2041
2042         Reviewed by Simon Hausmann.
2043
2044         [Qt] Allow scrolling to an anchor programmatically.
2045         https://bugs.webkit.org/show_bug.cgi?id=29856
2046
2047         * Api/qwebframe.cpp:
2048         (QWebFrame::scrollToAnchor): New API function.
2049         * Api/qwebframe.h:
2050         * tests/qwebframe/tst_qwebframe.cpp: New tests for scrollToAnchor().
2051
2052 2010-02-16  Ariya Hidayat  <ariya.hidayat@gmail.com>
2053
2054         Reviewed by Laszlo Gombos.
2055
2056         Fix building with Qt < 4.6.
2057         https://bugs.webkit.org/show_bug.cgi?id=34885
2058
2059         * Api/qgraphicswebview.cpp:
2060         (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
2061
2062 2010-02-16  Simon Hausmann  <simon.hausmann@nokia.com>
2063
2064         Unreviewed Symbian build fix.
2065
2066         Updated the def file with two new exports used by QtLauncher.
2067
2068         * symbian/eabi/QtWebKitu.def:
2069
2070 2010-02-16  Ismail Donmez  <ismail@namtrac.org>
2071
2072         Reviewed by Pavel Feldman.
2073
2074         Fix compilation with inspector disabled.
2075         https://bugs.webkit.org/show_bug.cgi?id=32724
2076
2077         * Api/qwebpage.cpp:
2078         (qt_drt_webinspector_executeScript):
2079         (qt_drt_webinspector_close):
2080         (qt_drt_webinspector_show):
2081         (qt_drt_setTimelineProfilingEnabled):
2082
2083 2010-02-16  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
2084
2085         Reviewed by Simon Hausman.
2086
2087         [Qt] Fix include paths for forwarding headers in standalone builds.
2088
2089         * Api/DerivedSources.pro: Use relative paths for package builds and added some
2090         documentation.
2091
2092 2010-02-15  Noam Rosenthal  <noam.rosenthal@nokia.com>
2093
2094         Reviewed by Simon Hausmann.
2095
2096         [Qt] QtWebkit bridge: enable passing a QWebElement to a signal/slot/property
2097         Add Q_DECLARE_METATYPE to QWebElement, add relevant tests to
2098         tst_qwebframe
2099         https://bugs.webkit.org/show_bug.cgi?id=34901
2100
2101         * Api/qwebelement.h: declare metatype
2102         * tests/qwebframe/tst_qwebframe.cpp:
2103         (MyQObject::webElementProperty): new test for QWebElement
2104         (MyQObject::setWebElementProperty): new test for QWebElement
2105         (MyQObject::myOverloadedSlot): new test for QWebElement
2106
2107 2010-02-15  Robert Hogan  <robert@roberthogan.net>, Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
2108
2109         Reviewed by Simon Hausmann.
2110
2111         [Qt] DRT: Support evaluateInWebInspector(), setTimelineProfilingEnabled().
2112
2113         Support LayoutTestController.evaluateInWebInspector(), setTimelineProfilingEnabled() in Qt DRT.
2114
2115         https://bugs.webkit.org/show_bug.cgi?id=33096
2116
2117         This allows the following tests to pass:
2118
2119         inspector/console-format-collections.html
2120         inspector/styles-iframe.html
2121         inspector/syntax-highlight-css.html
2122         inspector/syntax-highlight-javascript.html
2123         inspector/timeline-enum-stability.html
2124         inspector/timeline-layout.html
2125         inspector/timeline-mark-timeline.html
2126         inspector/timeline-paint.html
2127         inspector/timeline-parse-html.html
2128         inspector/timeline-recalculate-styles.html
2129         inspector/timeline-script-tag-1.html
2130         inspector/timeline-script-tag-2.html
2131         inspector/timeline-trivial.html
2132         inspector/cookie-resource-match.html
2133         inspector/elements-img-tooltip.html
2134         inspector/elements-panel-selection-on-refresh.html
2135         inspector/inspected-objects-not-overriden.html
2136         inspector/timeline-event-dispatch.html
2137         inspector/timeline-network-resource.html
2138         inspector/elements-panel-rewrite-href.html
2139         inspector/console-dir.html
2140         inspector/console-dirxml.html
2141         inspector/console-format.html
2142         inspector/console-tests.html
2143         inspector/elements-panel-structure.html
2144         inspector/evaluate-in-frontend.html
2145         inspector/console-clear.html
2146
2147         * Api/qwebpage.cpp:
2148         (qt_drt_webinspector_executeScript):
2149         (qt_drt_webinspector_close):
2150         (qt_drt_webinspector_show):
2151         (qt_drt_setTimelineProfilingEnabled):
2152
2153         * WebCoreSupport/InspectorClientQt.cpp:
2154         (InspectorClientQt::createPage)
2155
2156 2010-02-12  Antti Koivisto  <koivisto@iki.fi>
2157
2158         Reviewed by Kenneth Rohde Christiansen and Simon Hausmann.
2159         
2160         https://bugs.webkit.org/show_bug.cgi?id=34885
2161         Add a QGraphicsWebView mode that makes it automatically resize itself to the size of the content.
2162
2163         This is useful for cases where the client wants to implement page panning and zooming by manipulating
2164         the graphics item.
2165         
2166         Add a option to QGVLauncher to test this mode.
2167
2168         * Api/qgraphicswebview.cpp:
2169         (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
2170         (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
2171         (QGraphicsWebViewPrivate::_q_contentsSizeChanged):
2172         (QGraphicsWebView::setPage):
2173         (QGraphicsWebView::setResizesToContents):
2174         (QGraphicsWebView::resizesToContents):
2175         * Api/qgraphicswebview.h:
2176         * QGVLauncher/main.cpp:
2177         (WebView::WebView):
2178         (MainView::MainView):
2179         (MainView::setMainWidget):
2180         (MainView::resizeEvent):
2181         (main):
2182
2183 2010-02-12  Diego Gonzalez  <diego.gonzalez@openbossa.org>
2184
2185         Reviewed by Kenneth Rohde Christiansen.
2186
2187         Qt DRT now dump the frame loader callbacks when LayoutTestController()
2188         method is called.
2189
2190         LayoutTests:
2191             http/tests/security/mixedContent/data-url-script-in-iframe.html
2192             http/tests/security/mixedContent/empty-url-plugin-in-frame.html
2193             http/tests/security/mixedContent/insecure-css-in-iframe.html
2194             http/tests/security/mixedContent/insecure-iframe-in-iframe.html
2195             http/tests/security/mixedContent/insecure-image-in-iframe.html
2196             http/tests/security/mixedContent/insecure-plugin-in-iframe.html
2197             http/tests/security/mixedContent/insecure-script-in-iframe.html
2198             http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe.html
2199             http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html
2200
2201         [Qt] Make possible Qt DRT dump frame load callbacks
2202         https://bugs.webkit.org/show_bug.cgi?id=34702
2203
2204         * WebCoreSupport/FrameLoaderClientQt.cpp:
2205         (WebCore::FrameLoaderClientQt::didDisplayInsecureContent):
2206         (WebCore::FrameLoaderClientQt::didRunInsecureContent):
2207
2208 2010-02-10  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
2209
2210         Reviewed by Tor Arne Vestbø.
2211
2212         [Qt] Make qtlauncher and qgvlauncher use the generated headers
2213         path to make sure they are correctly generated.
2214
2215         * tests/tests.pri:
2216
2217 2010-02-10  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
2218
2219         Reviewed by Tor Arne Vestbø.
2220
2221         [Qt] Ensure relative paths in generated .pri files to ensure that
2222         a source package with pre-generated derived sources can be compiled.
2223
2224         - Re-add a separate headers.pri file for WEBKIT_API_HEADERS
2225         - Rename the generated headers.pri to classheaders.pri to avoid
2226         confusion with the one generated by synqt since they don't have the
2227         same content.
2228         - Remove private headers list variable from classheaders.pri
2229         - Use $$PWD in classheaders.pri
2230         - Remove classheaders.pri from the installed files
2231
2232         * Api/DerivedSources.pro:
2233
2234 2010-02-10  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
2235
2236         Reviewed by Tor Arne Vestbø.
2237
2238         [Qt] Minor fixes on QtWebKit headers generation.
2239
2240         - Adds QtWebKit to the generated headers destination path
2241         - Improve compatibility with MinGW
2242
2243         * Api/DerivedSources.pro:
2244
2245 2010-02-09  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
2246
2247         Reviewed by nobody, build fix.
2248
2249         [Qt] Fix standalone build with MinGW.
2250
2251         * tests/qwebelement/tst_qwebelement.cpp:
2252         * tests/tests.pri:
2253
2254 2010-02-10  Diego Gonzalez  <diego.gonzalez@openbossa.org>
2255
2256         Reviewed by Kenneth Rohde Christiansen.
2257
2258         Implement pageNumberForElementById() method in Qt DRT LayoutTestController,
2259         to make Qt DRT able to get page number.
2260
2261         LayoutTests:
2262             printing/page-break-always.html
2263             printing/pageNumerForElementById.html
2264             printing/css2.1/page-break-before-000.html
2265             printing/css2.1/page-break-after-000.html
2266             printing/css2.1/page-break-after-004.html
2267             printing/css2.1/page-break-before-001.html
2268             printing/css2.1/page-break-after-001.html
2269             printing/css2.1/page-break-after-002.html
2270             printing/css2.1/page-break-before-002.html
2271             printing/css2.1/page-break-inside-000.html
2272
2273         [Qt] Make possible Qt DRT get a page number for element by ID
2274         https://bugs.webkit.org/show_bug.cgi?id=34777
2275
2276         * Api/qwebframe.cpp:
2277         (qt_drt_pageNumberForElementById):
2278
2279 2010-02-09  Yael Aharon  <yael.aharon@nokia.com>
2280
2281         Reviewed by Adam Barth.
2282
2283         [Qt] Unit test for window.runModalDialog
2284         https://bugs.webkit.org/show_bug.cgi?id=34755
2285
2286         * tests/qwebpage/tst_qwebpage.cpp:
2287         (TestModalPage::TestModalPage):
2288         (TestModalPage::createWindow):
2289         (tst_QWebPage::showModalDialog):
2290
2291 2010-02-09  Andreas Kling  <andreas.kling@nokia.com>
2292
2293         Reviewed by Kenneth Rohde Christiansen.
2294
2295         [Qt] Sync with API changes in Maemo 5 kinetic scrolling
2296
2297         https://bugs.webkit.org/show_bug.cgi?id=34747
2298
2299         This is a forward-port of http://qt.gitorious.org/+qt-developers/qt/x11-maemo/commit/08497561
2300
2301         * Api/qwebview.cpp:
2302         (qt_sendSpontaneousEvent):
2303         (QWebViewKineticScroller::QWebViewKineticScroller):
2304         (QWebViewKineticScroller::setWidget):
2305         (QWebViewKineticScroller::eventFilter):
2306         (QWebViewKineticScroller::cancelLeftMouseButtonPress):
2307         (QWebViewKineticScroller::currentFrame):
2308         (QWebViewKineticScroller::scrollingFrameAt):
2309         (QWebViewKineticScroller::maximumScrollPosition):
2310         (QWebViewKineticScroller::scrollPosition):
2311         (QWebViewKineticScroller::viewportSize):
2312         (QWebViewKineticScroller::setScrollPosition):
2313         (QWebViewKineticScroller::sendEvent):
2314         (QWebView::QWebView):
2315
2316 2010-02-09  Yael Aharon  <yael.aharon@nokia.com>
2317
2318         Reviewed by Kenneth Rohde Christiansen.
2319
2320         [Qt] Webkit in Qt does not have window.showModalDialog
2321         https://bugs.webkit.org/show_bug.cgi?id=25585
2322
2323         Create a new eventloop when runModal() is called.
2324         Added comemnt in QWebPage::createWindow that the application is responsible
2325         for setting the modality of the appropriate window.
2326
2327         * Api/qwebpage.cpp:
2328         * WebCoreSupport/ChromeClientQt.cpp:
2329         (WebCore::ChromeClientQt::ChromeClientQt):
2330         (WebCore::ChromeClientQt::~ChromeClientQt):
2331         (WebCore::ChromeClientQt::canRunModal):
2332         (WebCore::ChromeClientQt::runModal):
2333         * WebCoreSupport/ChromeClientQt.h:
2334
2335 2010-01-19  Kenneth Rohde Christiansen  <kenneth@webkit.org>
2336
2337         Reviewed by Dave Hyatt.
2338
2339         Implement flattening of framesets
2340         https://bugs.webkit.org/show_bug.cgi?id=32717
2341
2342         Privately export the setFrameSetFlatteningEnabled setting for
2343         use with the Qt DRT.
2344
2345         * Api/qwebpage.cpp:
2346         (qt_drt_setFrameSetFlatteningEnabled):
2347         (QWebPagePrivate::core):
2348         * Api/qwebpage_p.h:
2349
2350 2010-02-05  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
2351
2352         [Qt] Fix build on Windows
2353
2354         Reviewed by Kenneth Rohde Christiansen.
2355
2356         DerivedSources for our API headers failed on Windows,
2357         due to Windows not accepting ; as a command separator,
2358         not needing quotes for echo, and needing < and > escaped.
2359
2360         We now detect Windows and set these quote markers and
2361         escape markers accordingly, as well as use && for separating
2362         individual commands.
2363
2364         * Api/DerivedSources.pro:
2365
2366 2010-02-05  Yury Semikhatsky  <yurys@chromium.org>
2367
2368         Reviewed by Pavel Feldman.
2369
2370         Remove unused inmport of ScriptFunctionCall.h
2371
2372         https://bugs.webkit.org/show_bug.cgi?id=33592
2373
2374         * Api/qwebelement.cpp:
2375
2376 2010-02-05  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
2377
2378         Reviewed by Simon Hausmann.
2379
2380         [Qt] Generate convenience headers (QWebView, etc) using qmake
2381
2382         In Qt this is done using syncqt, but we use a pro-file instead
2383         that generates makefile-rules for each of the extra headers.
2384
2385         These extra headers are installed alongside the normal headers.
2386
2387         * Api/DerivedSources.pro: Added. List of headers + pro file magic
2388         * Api/headers.pri: Removed, list of headers is now in the above file
2389
2390 2010-02-04  No'am Rosenthal  <noam.rosenthal@nokia.com>
2391
2392         Reviewed by Ariya Hidayat.
2393
2394         [Qt] Tuning and optimizations to GraphicsLayerQt. Mainly reduced usage
2395         of QTimer::singleShot, and moved syncLayers() from paint() to update()
2396         https://bugs.webkit.org/show_bug.cgi?id=34062
2397
2398         * Api/qgraphicswebview.cpp:
2399         (QGraphicsWebViewPrivate::update): Moved the sync operation to update
2400         (QGraphicsWebView::paint): Moved the sync operation to update
2401
2402 2010-02-03  Andras Becsi  <abecsi@webkit.org>
2403
2404         Unreviewed build fix.
2405
2406         [Qt] Roll-out r54281 because it broke the build on the Qt Release bot.
2407
2408         * Api/qgraphicswebview.cpp:
2409         (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
2410         (QGraphicsWebViewPrivate::markForSync):
2411         (QGraphicsWebViewPrivate::update):
2412         (QGraphicsWebView::paint):
2413
2414 2010-02-02  Kenneth Rohde Christiansen  <kenneth@webkit.org>
2415
2416         Reviewed by Ariya Hidayat.
2417
2418         Do not use a proxy widget for the QComboBox on Maemo 5, as it
2419         is not working properly and it is not needed at all, as the
2420         comboboxes comes up in their full width on the screen and
2421         do not depend on view.
2422
2423         * WebCoreSupport/QtFallbackWebPopup.cpp:
2424         (WebCore::QtFallbackWebPopup::show):
2425
2426 2010-02-02  Jessie Berlin  <jberlin@webkit.org>
2427
2428         Rubber Stamped by Holger Freyther.
2429
2430         [Qt] Fix style issue identified in bug:
2431         https://bugs.webkit.org/show_bug.cgi?id=34329
2432
2433         * WebCoreSupport/InspectorClientQt.cpp:
2434         (WebCore::InspectorClientWebPage::InspectorClientWebPage):
2435         Fix indentation.
2436
2437 2010-02-01  Jessie Berlin  <jberlin@webkit.org>
2438
2439         Reviewed by Holger Freyther.
2440
2441         [Qt] Enable inspecting the Web Inspector in QtLauncher
2442
2443         https://bugs.webkit.org/show_bug.cgi?id=34329
2444
2445         * WebCoreSupport/InspectorClientQt.cpp:
2446         (WebCore::InspectorClientWebPage::InspectorClientWebPage):
2447         Allow the DeveloperExtrasEnabled setting to default to true for the page containing the Web Inspector.
2448
2449 2010-02-02  Andreas Kling  <andreas.kling@nokia.com>
2450
2451         Reviewed by Kenneth Rohde Christiansen.
2452
2453         [Qt] Display HTML tags verbatim in JS alert/confirm/prompt boxes
2454
2455         https://bugs.webkit.org/show_bug.cgi?id=34429
2456
2457         * Api/qwebpage.cpp:
2458         (QWebPage::javaScriptAlert):
2459         (QWebPage::javaScriptConfirm):
2460         (QWebPage::javaScriptPrompt):
2461
2462 2010-02-02  Noam Rosenthal  <noam.rosenthal@nokia.com>
2463
2464         Reviewed by Kenneth Rohde Christiansen.
2465
2466         [Qt] Enable a way to measure FPS in QGVLauncher
2467         run QGVLauncher with --show-fps to see ongoing fps measurements
2468         This is not meant as accurate FPS, but rather as a way to find
2469         improvements/regressions
2470         https://bugs.webkit.org/show_bug.cgi?id=34450
2471
2472         * QGVLauncher/main.cpp:
2473         (MainView::MainView): initialize FPS values
2474         (MainView::paintEvent): count a painted frame here
2475         (MainView::printFps): we print the fps with qDebug every 5 seconds.
2476
2477 2010-01-29  Ben Murdoch  <benm@google.com>
2478
2479         Reviewed by Dimitri Glazkov.
2480
2481         [Android] Android needs functionality in the ChromeClient to be informed when touch events are and are not needed by the webpage.
2482         https://bugs.webkit.org/show_bug.cgi?id=34215
2483
2484         Add needTouchEvents() to the ChromeClient which is called when the page decides it needs or no longer needs to be informed of touch events.
2485
2486         * WebCoreSupport/ChromeClientQt.h:
2487         (WebCore::ChromeClientQt::needTouchEvents): Add an empty implementation.
2488
2489 2010-01-29  Kenneth Rohde Christiansen  <kenneth@webkit.org>
2490
2491         Reviewed by Simon Hausmann
2492
2493         Disable auto-uppercase and predictive text on Maemo5, just like the
2494         build-in MicroB Browser.
2495
2496         * WebCoreSupport/EditorClientQt.cpp:
2497         (WebCore::EditorClientQt::setInputMethodState):
2498
2499 2010-01-28  Andreas Kling  <andreas.kling@nokia.com>
2500
2501         Reviewed by Kenneth Rohde Christiansen.
2502
2503         [Qt] Support kinetic scrolling on Maemo 5
2504
2505         https://bugs.webkit.org/show_bug.cgi?id=34267
2506
2507         Patch by Ralf Engels <ralf.engels@nokia.com> and
2508         Robert Griebl <rgriebl@trolltech.com>
2509
2510         * Api/qwebview.cpp:
2511         (QWebViewKineticScroller::QWebViewKineticScroller):
2512         (QWebViewKineticScroller::eventFilter):
2513         (QWebViewKineticScroller::currentFrame):
2514         (QWebViewKineticScroller::scrollingFrameAt):
2515         (QWebViewKineticScroller::attachToWidget):
2516         (QWebViewKineticScroller::removeFromWidget):
2517         (QWebViewKineticScroller::positionRange):
2518         (QWebViewKineticScroller::position):
2519         (QWebViewKineticScroller::viewportSize):
2520         (QWebViewKineticScroller::setPosition):
2521         (QWebView::QWebView):
2522
2523 2010-01-28  Kenneth Rohde Christiansen  <kenneth@webkit.org>
2524
2525         Reviewed by Simon Hausmann.
2526
2527         Do not set the combobox font on Maemo5 and S60; use the
2528         default instead.
2529
2530         * WebCoreSupport/QtFallbackWebPopup.cpp:
2531         (WebCore::QtFallbackWebPopup::populate):
2532
2533 2010-01-28  Trond Kjernåsen <trond@trolltech.com>
2534
2535         Reviewed by Simon Hausmann.
2536
2537         [Qt] Fix for endless print loop when printing web pages
2538
2539         * Api/qwebframe.cpp:
2540         (QWebFrame::print):
2541
2542 2010-01-27  Diego Gonzalez  <diego.gonzalez@openbossa.org>
2543
2544         Reviewed by Kenneth Rohde Christiansen.
2545
2546         [Qt] DRT Provide worker thread ability to track counters
2547         https://bugs.webkit.org/show_bug.cgi?id=34221
2548
2549         Implement workerThreadCount() in LayoutTestController of Qt DRT
2550
2551         Tests:
2552         fast/workers/dedicated-worker-lifecycle.html
2553         fast/workers/shared-worker-frame-lifecycle.html
2554         fast/workers/shared-worker-lifecycle.html
2555         fast/workers/worker-lifecycle.html
2556
2557         * Api/qwebpage.cpp:
2558         (qt_drt_workerThreadCount):
2559
2560 2010-01-27  Simon Hausmann  <simon.hausmann@nokia.com>
2561
2562         Reviewed by Laszlo Gombos.
2563
2564         [Qt] Update the .def files with exported symbols
2565
2566         * symbian/eabi/QtWebKitu.def: Add two mangled missing new symbols for arm eabi.
2567
2568 2010-01-27  Kent Hansen  <kent.hansen@nokia.com>
2569
2570         Reviewed by Simon Hausmann.
2571
2572         [Qt] Meta-methods can't be introspected using ES5 API
2573         https://bugs.webkit.org/show_bug.cgi?id=34087
2574
2575         Test that Object.getOwnPropertyDescriptor and
2576         Object.getOwnPropertyNames work with meta-methods.
2577
2578         * tests/qwebframe/tst_qwebframe.cpp:
2579
2580 2010-01-26  Simon Hausmann  <simon.hausmann@nokia.com>
2581
2582         Reviewed by Kenneth Rohde Christiansen.
2583
2584         [Qt] Show comboboxes on Maemo 5
2585         https://bugs.webkit.org/show_bug.cgi?id=34088
2586
2587         Don't try to show the combobox by simulating a mouse event from QCursor::pos() to
2588         get the combobox position right. The position on Maemo 5 is independent from the mouse
2589         and there's no QCursor::pos().
2590
2591         * WebCoreSupport/QtFallbackWebPopup.cpp:
2592         (WebCore::QtFallbackWebPopup::show):
2593
2594 2010-01-26  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>
2595
2596         Reviewed by Simon Hausmann.
2597
2598         First steps of the QtScript API.
2599         
2600         Two new classes were created; QScriptEngine and QScriptValue.
2601         The first should encapsulate a javascript context and the second a script
2602         value.
2603         
2604         This API is still in development, so it isn't compiled by default.
2605         To trigger compilation, pass --qmakearg="CONFIG+=build-qtscript" to
2606         build-webkit.
2607
2608         https://bugs.webkit.org/show_bug.cgi?id=32565
2609
2610         * docs/qtwebkit.qdocconf:
2611
2612 2010-01-26  Holger Hans Peter Freyther  <zecke@selfish.org>
2613
2614         Reviewed by Simon Hausmann.
2615
2616         [Qt] JavaScript prompt is currently broken
2617         https://bugs.webkit.org/show_bug.cgi?id=30914
2618
2619         In r52152 a patch was landed to convert a null QString
2620         to an empty WebCore::String in case the prompt was accepted
2621         but the default implementation returned the null QString.
2622
2623         The patch tried to avoid assign to result twice and
2624         was not checking the QString if it is null but the default
2625         value. This lead to always returning an empty string on
2626         successful prompts. Fix it by checking the variable 'x'
2627         for isNull.
2628
2629         The manual test case used didn't cover the case of non
2630         empty input, replace it with an automatic test case that
2631         should cover all cases.
2632
2633         * WebCoreSupport/ChromeClientQt.cpp:
2634         (WebCore::ChromeClientQt::runJavaScriptPrompt): Fix the bug.
2635         * tests/qwebpage/tst_qwebpage.cpp: Add automatic test case
2636         (JSPromptPage::JSPromptPage):
2637         (JSPromptPage::javaScriptPrompt):
2638         (tst_QWebPage::testJSPrompt):
2639
2640 2010-01-25  Simon Hausmann  <hausmann@webkit.org>
2641
2642         Reviewed by Kenneth Rohde Christiansen.
2643
2644         [Qt] In RenderThemeQt determine the QStyle from the page client instead of the page's view
2645         https://bugs.webkit.org/show_bug.cgi?id=34053
2646
2647         * Api/qgraphicswebview.cpp:
2648         (QGraphicsWebViewPrivate::style): Implement QWebPageClient::style() and return the graphics
2649         widget's style.
2650         * Api/qwebpage.cpp:
2651         (QWebPageWidgetClient::style): Implement QWebPageClient::style() and return the widget's style.
2652
2653 2010-01-25  Janne Koskinen  <janne.p.koskinen@digia.com>
2654
2655         Reviewed by Simon Hausmann.
2656
2657         [Qt] Phone backup support for QtWebkit for Symbian devices.
2658         https://bugs.webkit.org/show_bug.cgi?id=34077
2659
2660         * symbian/backup_registration.xml: Added.
2661
2662 2010-01-23  Girish Ramakrishnan  <girish@forwardbias.in>
2663
2664         Reviewed by Kenneth Rohde Christiansen.
2665
2666         [Qt] Fix positioning of ComboBox popup in QGraphicsWebView.
2667         
2668         Wrap the popup in a QGraphicsProxyWidget, so that the popup
2669         transforms with the item.
2670         
2671         https://bugs.webkit.org/show_bug.cgi?id=33887
2672
2673         * WebCoreSupport/QtFallbackWebPopup.cpp:
2674         (WebCore::QtFallbackWebPopupCombo::hidePopup):
2675         (WebCore::QtFallbackWebPopup::QtFallbackWebPopup):
2676         (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup):
2677         (WebCore::QtFallbackWebPopup::show):
2678         * WebCoreSupport/QtFallbackWebPopup.h:
2679
2680 2010-01-22  Peter Kasting  <pkasting@google.com>
2681
2682         Not reviewed, backout.
2683
2684         Back out r52673, which caused several regressions.
2685         https://bugs.webkit.org/show_bug.cgi?id=32533
2686
2687         * WebCoreSupport/QtFallbackWebPopup.cpp:
2688         (WebCore::QtFallbackWebPopupCombo::hidePopup):
2689
2690 2010-01-22  Girish Ramakrishnan  <girish@forwardbias.in>
2691
2692         Reviewed by Simon Hausmann.
2693
2694         [Qt] Save the QWebPageClient instead of the ownerWidget in QtAbstractWebPopup
2695         
2696         The QWebPageClient is required for the QtFallbackWebPopup. QtFallbackWebPopup will
2697         need it to create a QGraphicsProxyWidget (in a future commit) for the 
2698         QGraphicsWebView's web popup.
2699
2700         * WebCoreSupport/QtFallbackWebPopup.cpp:
2701         (WebCore::QtFallbackWebPopup::show):
2702
2703 2010-01-22  Girish Ramakrishnan  <girish@forwardbias.in>
2704
2705         Reviewed by Kenneth Rohde Christiansen.
2706
2707         QState::polished() was renamed to QState::propertiesAssigned() when
2708         Qt 4.6.0 was released.
2709
2710         * QGVLauncher/main.cpp:
2711         (MainWindow::init):
2712
2713 2010-01-21  Diego Gonzalez  <diego.gonzalez@openbossa.org>
2714
2715         Reviewed by Kenneth Rohde Christiansen.
2716
2717         [Qt] add setDomainRelaxationForbiddenForURLScheme in Qt DRT
2718         https://bugs.webkit.org/show_bug.cgi?id=33945
2719
2720         * Api/qwebsecurityorigin.cpp:
2721         (qt_drt_setDomainRelaxationForbiddenForURLScheme):
2722
2723 2010-01-21  No'am Rosenthal  <noam.rosenthal@nokia.com>
2724
2725         Reviewed by Antti Koivisto.
2726
2727         [Qt] Implement GraphicsLayer for accelerated layer compositing
2728         https://bugs.webkit.org/show_bug.cgi?id=33514
2729
2730         Here we have the QGraphicsWebView support for accelerated compositing
2731
2732         * Api/qgraphicswebview.cpp:
2733         (QGraphicsWebViewOverlay::q): access to container object
2734         (QGraphicsWebViewOverlay::boundingRect): overlay has same rect as the
2735         webview
2736         (QGraphicsWebViewOverlay::paint): paint everything but the contents
2737         (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate): some vars needed
2738         for accelerated compositing
2739         (QGraphicsWebViewPrivate::):
2740         (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate):
2741         (QGraphicsWebViewPrivate::setRootGraphicsLayer): make sure we have a
2742         scrollbar overlay, and that the new graphics layer is parented by the
2743         web-view
2744         (QGraphicsWebViewPrivate::markForSync): flush changes at earliest
2745         convenience or during the next draw
2746
2747         (QGraphicsWebViewPrivate::updateCompositingScrollPosition): sync the
2748         position of the compositing layer with the scroll position
2749         (QGraphicsWebViewPrivate::syncLayers): flush changes now
2750         (QGraphicsWebViewPrivate::scroll): make sure we also move the
2751         compositing layer
2752         (QGraphicsWebViewPrivate::update): also update the overlay if needed
2753         (QGraphicsWebView::QGraphicsWebView): initialize overlay with 0
2754         (QGraphicsWebView::paint): paint only contents if we have an overlay,
2755         sync the compositing layers now if needed
2756         (QGraphicsWebView::setPage): also clean up the compositing
2757         (QGraphicsWebView::updateGeometry): also update overlay geo
2758         (QGraphicsWebView::setGeometry): also update overlay geo
2759         * Api/qgraphicswebview.h: reimp compositing stuff from QWebPageClient
2760         * Api/qwebsettings.cpp: init new settings flag for compositing as
2761         false
2762         (QWebSettingsPrivate::apply): apply new settings flag for compositing
2763         (QWebSettings::QWebSettings):
2764         * Api/qwebsettings.h: new settings flag for compositing
2765         * Api/qwebview.cpp: 
2766         (QWebView::setPage): qwebview doesn't support compositing: always false
2767         * QGVLauncher/main.cpp:
2768         (WebView::WebView): some more cmdline arguments + compositing
2769         (MainWindow::init): some more cmdline arguments
2770         (main): ditto
2771         * WebCoreSupport/ChromeClientQt.cpp:
2772         (WebCore::ChromeClientQt::attachRootGraphicsLayer): reimp for
2773         accel-compositing
2774         (WebCore::ChromeClientQt::setNeedsOneShotDrawingSynchronization):
2775         reimp for accel compositing
2776         (WebCore::ChromeClientQt::scheduleCompositingLayerSync): reimp for
2777         accel compositing
2778         * WebCoreSupport/ChromeClientQt.h: reimps for accel compositing
2779
2780 2010-01-21  Benjamin Poulain  <benjamin.poulain@nokia.com>
2781
2782         Reviewed by Simon Hausmann.
2783
2784         [Qt] Improve the autotests of QtWebkit
2785         https://bugs.webkit.org/show_bug.cgi?id=32216
2786
2787         Remove qWait() of the test when possible.
2788
2789         * tests/qwebpage/tst_qwebpage.cpp:
2790         (tst_QWebPage::loadFinished):
2791         (tst_QWebPage::database):
2792         (tst_QWebPage::testEnablePersistentStorage):
2793         (tst_QWebPage::errorPageExtension):
2794         (tst_QWebPage::screenshot):
2795
2796 2010-01-21  Simon Hausmann  <simon.hausmann@nokia.com>
2797
2798         Prospective build fix for the Qt build.
2799
2800         Fix compilation against Qt without WebKit support by not including QtWebKit/QWebView
2801         but widget.h instead and instantiating QWebView through a typedef, to ensure we're using
2802         our locally built WebKit.
2803
2804         * tests/hybridPixmap/widget.h:
2805         * tests/hybridPixmap/widget.ui:
2806
2807 2010-01-21  No'am Rosenthal  <noam.rosenthal@nokia.com>
2808
2809         Reviewed by Simon Hausmann.
2810
2811         [Qt] Adding QPixmap/QImage support for the Qt hybrid layer
2812         https://bugs.webkit.org/show_bug.cgi?id=32461
2813
2814         * tests/hybridPixmap: Added.
2815         * tests/hybridPixmap/hybridPixmap.pro: Added.
2816         * tests/hybridPixmap/resources.qrc: Added.
2817         * tests/hybridPixmap/test.html: Added.
2818         * tests/hybridPixmap/tst_hybridPixmap.cpp: Added.
2819         (tst_hybridPixmap::tst_hybridPixmap): tests most of the use cases for
2820         hybrid pixmap/image manipulation 
2821         (tst_hybridPixmap::init): QTestLib initialization
2822         (tst_hybridPixmap::cleanup): QTestLib cleanup
2823         (tst_hybridPixmap::hybridPixmap): run the html file
2824         * tests/hybridPixmap/widget.cpp: Added.
2825         (Widget::Widget):
2826         (Widget::refreshJS):
2827         (Widget::start):
2828         (Widget::completeTest):
2829         (Widget::setPixmap):
2830         (Widget::pixmap):
2831         (Widget::setImage):
2832         (Widget::image):
2833         (Widget::~Widget):
2834         (Widget::changeEvent):
2835         (Widget::compare):
2836         (Widget::imageSlot):
2837         (Widget::pixmapSlot):
2838         (Widget::randomSlot):
2839         * tests/hybridPixmap/widget.h: Added.
2840         * tests/hybridPixmap/widget.ui: Added.
2841         * tests/tests.pro:
2842
2843 2010-01-21  Luiz Agostini  <luiz.agostini@openbossa.org>
2844
2845         Reviewed by Kenneth Rohde Christiansen.
2846
2847         [Qt] Custom select popups.
2848         https://bugs.webkit.org/show_bug.cgi?id=33418
2849
2850         Adjusting QtFallbackWebPopupCombo to the changes in WebCore layer.
2851
2852         * WebCoreSupport/ChromeClientQt.cpp:
2853         (WebCore::ChromeClientQt::createSelectPopup):
2854         * WebCoreSupport/ChromeClientQt.h:
2855         * WebCoreSupport/QtFallbackWebPopup.cpp:
2856         (WebCore::QtFallbackWebPopupCombo::QtFallbackWebPopupCombo):
2857         (WebCore::QtFallbackWebPopupCombo::showPopup):
2858         (WebCore::QtFallbackWebPopupCombo::hidePopup):
2859         (WebCore::QtFallbackWebPopup::QtFallbackWebPopup):
2860         (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup):
2861         (WebCore::QtFallbackWebPopup::show):
2862         (WebCore::QtFallbackWebPopup::hide):
2863         (WebCore::QtFallbackWebPopup::populate):
2864         * WebCoreSupport/QtFallbackWebPopup.h:
2865
2866 2010-01-19  Steve Block  <steveblock@google.com>
2867
2868         Reviewed by Adam Barth.
2869
2870         Renames WebCore/bridge/runtime.[cpp|h] to WebCore/bridge/Bridge.[cpp|h]
2871         https://bugs.webkit.org/show_bug.cgi?id=33801
2872
2873         * Api/qwebframe.cpp:
2874
2875 2010-01-14  Brian Weinstein  <bweinstein@apple.com>
2876
2877         Reviewed by Adam Roben.
2878
2879         Drag and Drop source/destination code needs cleanup.
2880         <https://bugs.webkit.org/show_bug.cgi?id=33691>.
2881         
2882         Update to new way of calling sourceOperation.
2883
2884         * WebCoreSupport/DragClientQt.cpp:
2885         (WebCore::DragClientQt::startDrag):
2886
2887 2010-01-14  Simon Hausmann  <simon.hausmann@nokia.com>
2888
2889         Reviewed by Tor Arne Vestbø.
2890
2891         [Qt] Symbian build fixes.
2892
2893         * tests/qwebpage/tst_qwebpage.cpp: Include util.h
2894         * tests/tests.pri: Don't define TESTS_SOURCE_DIR, it doesn't work.
2895         * tests/util.h: Define TESTS_SOURCE_DIR here, just like it's done in Qt.
2896
2897 2010-01-14  Simon Hausmann  <simon.hausmann@nokia.com>
2898
2899         Reviewed by Kenneth Rohde Christiansen.
2900
2901         [Qt] Update Symbian .def symbol export files after private API additions.
2902
2903         * symbian/bwins/QtWebKitu.def:
2904         * symbian/eabi/QtWebKitu.def:
2905
2906 2010-01-13  Darin Adler  <darin@apple.com>
2907
2908         Reviewed by Dan Bernstein.
2909
2910         Move more of the selection and caret painting code from Frame to SelectionController.
2911         https://bugs.webkit.org/show_bug.cgi?id=33619
2912
2913         * Api/qwebpage.cpp:
2914         (QWebPagePrivate::inputMethodEvent): Seems possibly wrong to be directly invoking this
2915         setCaretVisible here, but I updated it to call it in its new location.
2916
2917 2010-01-11  Simon Hausmann  <simon.hausmann@nokia.com>
2918
2919         Reviewed by Holger Freyther.
2920
2921         [Qt] Add private API for QWebFrame scrolling, to maintain binary compatibility with Qt 4.6.
2922
2923         This is just a temporary addition until we have introduced #ifdefs to allow
2924         safely removing the private API again.
2925
2926         * Api/qwebframe.cpp:
2927         (qtwebkit_webframe_scrollRecursively):
2928
2929 2010-01-10  Robert Hogan  <robert@roberthogan.net>
2930
2931         Reviewed by Adam Barth.
2932
2933         [Qt] Add enableXSSAuditor support to QWebSettings and DRT.
2934
2935         https://bugs.webkit.org/show_bug.cgi?id=33419
2936
2937         * Api/qwebsettings.cpp:
2938         (QWebSettingsPrivate::apply):
2939         * Api/qwebsettings.h:
2940
2941 2010-01-09  Daniel Bates  <dbates@webkit.org>
2942
2943         No review, rolling out r53044.
2944         http://trac.webkit.org/changeset/53044
2945         https://bugs.webkit.org/show_bug.cgi?id=33419
2946         
2947         We need to look into this some more because the Qt
2948         bot is failing the XSSAuditor tests. See bug #33419
2949         for more details.
2950
2951         * Api/qwebsettings.cpp:
2952         * Api/qwebsettings.h:
2953
2954 2010-01-09  Daniel Bates  <dbates@webkit.org>
2955
2956         Reviewed by Adam Barth.
2957
2958         https://bugs.webkit.org/show_bug.cgi?id=33419
2959
2960         Adds support for the XSSAuditor to the Qt DRT.
2961
2962         * Api/qwebsettings.cpp: Updated comment to reflect added key XSSAuditorEnabled.
2963         * Api/qwebsettings.h: Adds settings key XSSAuditorEnabled.
2964
2965 2010-01-08  Luiz Agostini  <luiz.agostini@openbossa.org>
2966
2967         Reviewed by Kenneth Rohde Christiansen.
2968
2969         [Qt] Delegation client
2970         https://bugs.webkit.org/show_bug.cgi?id=32826
2971
2972         Added method createPopup to ChromeClientQt used to create popups.
2973         QtFallbackWebPopup moved from WebCore/platform/qt to
2974         WebKit/qt/WebCoreSupport.
2975
2976         * WebCoreSupport/ChromeClientQt.cpp:
2977         (WebCore::ChromeClientQt::createPopup):
2978         * WebCoreSupport/ChromeClientQt.h:
2979         * WebCoreSupport/QtFallbackWebPopup.cpp: Added.
2980         (WebCore::QtFallbackWebPopup::QtFallbackWebPopup):
2981         (WebCore::QtFallbackWebPopup::show):
2982         (WebCore::QtFallbackWebPopup::populate):
2983         (WebCore::QtFallbackWebPopup::showPopup):
2984         (WebCore::QtFallbackWebPopup::hidePopup):
2985         (WebCore::QtFallbackWebPopup::activeChanged):
2986         (WebCore::QtFallbackWebPopup::setParent):
2987         * WebCoreSupport/QtFallbackWebPopup.h: Added.
2988         (WebCore::QtFallbackWebPopup::hide):
2989
2990 2010-01-07  Yael Aharon  <yael.aharon@nokia.com>
2991
2992         Reviewed by Kenneth Rohde Christiansen.
2993
2994         [Qt] Allow the application to override online/offline network status
2995         https://bugs.webkit.org/show_bug.cgi?id=32684
2996
2997         Add a setting so that applications can overide the network status.
2998         Applications that use this setting still need to block network access
2999         through QNAM.
3000
3001         * Api/qwebsettings.cpp:
3002         (qt_networkAccessAllowed):
3003
3004 2010-01-07  Yongjun Zhang  <yongjun.zhang@nokia.com>, Laszlo Gombos  <laszlo.1.gombos@nokia.com>
3005
3006         Reviewed by Simon Hausmann.
3007
3008         [Qt] need an API to suspend and resume active Javascript DOM objects.
3009         https://bugs.webkit.org/show_bug.cgi?id=31673
3010
3011         Add suspend and resume DOM objects private API to QWebFrame.
3012
3013         * Api/qwebframe.cpp:
3014         (qt_suspendActiveDOMObjects):
3015         (qt_resumeActiveDOMObjects):
3016
3017 2010-01-06  Andreas Kling  <andreas.kling@nokia.com>
3018
3019         Reviewed by Simon Hausmann.
3020
3021         [Qt] Return an invalid Qt::ImMicroFocus if queried while the view needs to layout.
3022
3023         https://bugs.webkit.org/show_bug.cgi?id=33204
3024
3025         * Api/qwebpage.cpp:
3026         (QWebPage::inputMethodQuery):
3027
3028 2010-01-05  Yael Aharon  <yael.aharon@nokia.com>
3029
3030         Reviewed by Kenneth Rohde Christiansen.
3031
3032         Drag & drop layout tests fail even when run manually
3033         https://bugs.webkit.org/show_bug.cgi?id=33055
3034
3035         No new tests. Fix 3 layout tests when run manually.
3036         fast/events/drag-and-drop.html
3037         fast/events/drag-and-drop-dataTransfer-types-nocrash.html
3038         fast/events/drag-and-drop-fire-drag-dragover.html
3039         Running these tests in DRT will be fixed in 31332.
3040
3041         * Api/qwebpage.cpp:
3042         (dropActionToDragOp):
3043         (dragOpToDropAction):
3044         (QWebPagePrivate::dragEnterEvent):
3045         (QWebPagePrivate::dragMoveEvent):
3046         (QWebPagePrivate::dropEvent):
3047         Accept drag events even if they are not over a drop target. 
3048         This is to ensure that drag events will continue to be delivered.
3049
3050         * Api/qwebpage_p.h:
3051         * WebCoreSupport/DragClientQt.cpp:
3052         (WebCore::dragOperationToDropActions):
3053         (WebCore::dropActionToDragOperation):
3054         (WebCore::DragClientQt::startDrag):
3055         Send dragEnd event.
3056
3057 2010-01-04  Daniel Bates  <dbates@webkit.org>
3058
3059         Reviewed by Eric Seidel.
3060
3061         https://bugs.webkit.org/show_bug.cgi?id=33097
3062
3063         Cleans up the File menu to better conform to the File menu in Safari
3064         both in terms of options and keyboard shortcuts. Adds a "Quit" menu
3065         options to close all open windows.
3066
3067         * QGVLauncher/main.cpp:
3068         (MainWindow::buildUI):
3069
3070 2009-12-31  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
3071
3072         Reviewed by Kenneth Rohde Christiansen.
3073
3074         [Qt] Enable all HTML5 persistent features for QGVLauncher
3075         https://bugs.webkit.org/show_bug.cgi?id=33086
3076
3077         * QGVLauncher/main.cpp: Call enablePersistentStorage()
3078         (main):
3079
3080 2009-12-30  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
3081
3082         Reviewed by Simon Hausmann.
3083
3084         [Qt] It should be possible to disable inspector
3085         https://bugs.webkit.org/show_bug.cgi?id=32724
3086
3087         This change fixes the build break. Some QtWebKit interfaces
3088         will not be fully functional (most notable QWebInspector) if
3089         INSPECTOR is disabled.
3090
3091         * Api/qwebinspector.cpp:
3092         (QWebInspector::showEvent):
3093         (QWebInspector::closeEvent):
3094         * Api/qwebpage.cpp:
3095         (webActionForContextMenuAction):
3096         (QWebPagePrivate::getOrCreateInspector):
3097         (QWebPagePrivate::inspectorController):
3098         (QWebPage::triggerAction):
3099         (QWebPage::updatePositionDependentActions):
3100         * WebCoreSupport/InspectorClientQt.cpp:
3101         (WebCore::InspectorClientQt::showWindow):
3102         (WebCore::InspectorClientQt::closeWindow):
3103
3104 2009-12-30  Janne Koskinen  <janne.p.koskinen@digia.com>
3105
3106         Reviewed by Simon Hausmann.
3107
3108         Upstream Symbian def files from Qt 4.6.
3109
3110         These files define the ABI of QtWebKit on Symbian.
3111
3112         * symbian/bwins/QtWebKitu.def: Added.
3113         * symbian/eabi/QtWebKitu.def: Added.
3114
3115 2009-12-29  Daniel Bates  <dbates@webkit.org>
3116
3117         Reviewed by Ariya Hidayat.
3118
3119         https://bugs.webkit.org/show_bug.cgi?id=32925
3120
3121         Adds an Open File dialog to make it convenient to open a file
3122         to view in the browser.
3123
3124         * QGVLauncher/main.cpp:
3125         (MainWindow::load): Modified to call loadURL.
3126         (MainWindow::openFile): Added.
3127         (MainWindow::loadURL): Added.
3128         (MainWindow::buildUI): Added menu item Open File.
3129
3130 2009-12-29  Robert Hogan  <robert@roberthogan.net>
3131
3132         Reviewed by Eric Seidel.
3133
3134         [Qt] Fix crash on LayoutTests/fast/loader/empty-embed-src-attribute.html
3135         
3136         Related to https://bugs.webkit.org/show_bug.cgi?id=23806
3137         
3138         If an embedded document is loaded within a page and it has an empty
3139         URL, use a blank URL for the load request.
3140         
3141         https://bugs.webkit.org/show_bug.cgi?id=33017
3142
3143         * WebCoreSupport/FrameLoaderClientQt.cpp:
3144         (WebCore::FrameLoaderClientQt::createFrame):
3145
3146 2009-12-29  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
3147
3148         Rubber-stamped by Simon Hausmann and Holger Freyther.
3149
3150         [Qt] Remove WebKit/qt/WebKitPart empty directory
3151
3152         The content of the directory has been removed by r34888.
3153
3154         * WebKitPart: Removed.
3155
3156 2009-12-29  Jakub Wieczorek  <faw217@gmail.com>
3157
3158         Reviewed by Eric Seidel.
3159
3160         [Qt] DRT: Frame loader callbacks differ from the Mac port
3161         https://bugs.webkit.org/show_bug.cgi?id=32989
3162
3163         Remove messages from the callbacks that should not dump them to match
3164         the expected results for the http/loading tests.
3165
3166         Unskip some http/loading tests which succeed now.
3167
3168         * WebCoreSupport/FrameLoaderClientQt.cpp:
3169         (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage):
3170         (WebCore::FrameLoaderClientQt::dispatchWillClose):
3171         (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3172         (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
3173
3174 2009-12-29  Robert Hogan  <robert@roberthogan.net>
3175
3176         Reviewed by Eric Seidel.
3177
3178         [Qt] fix fast/dom/Window/window-onFocus.html
3179         
3180         Add support for layouttestcontroller.windowIsKey to Qt DRT and fix issue where
3181         window.onblur was getting dispatched twice from QtWebKit.
3182         
3183         https://bugs.webkit.org/show_bug.cgi?id=32990
3184
3185         * Api/qwebpage.cpp:
3186         (QWebPagePrivate::focusOutEvent):
3187
3188 2009-12-24  Girish Ramakrishnan  <girish@forwardbias.in>
3189
3190         Reviewed by Gustavo Noronha.
3191
3192         Doc : QGraphicsWebView::zoomFactor was introduced in 4.6.
3193         
3194         * Api/qgraphicswebview.cpp:
3195
3196 2009-12-22  Simon Hausmann  <simon.hausmann@nokia.com>
3197
3198         Rubber-stamped by Holger Freyther.
3199
3200         Moved QtLauncher to WebKitTools/
3201
3202         * QtLauncher: Removed.
3203         * QtLauncher/QtLauncher.pro: Removed.
3204         * QtLauncher/main.cpp: Removed.
3205
3206 2009-12-21  David Boddie  <dboddie@trolltech.com>
3207
3208         Reviewed by Simon Hausmann.
3209
3210         Doc: Minor fixes to language.
3211
3212         * Api/qwebpage.cpp:
3213
3214 2009-12-21  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
3215
3216         Reviewed by Simon Hausmann.
3217
3218         [Qt] Clean up the WebKit layer unit-tests
3219
3220             - Use tests.pri for common options
3221             - Standardize file naming
3222             - Move all resources to 'resources' subdir
3223             - Standardize how TESTS_SOURCE_DIR is used
3224             - Get rid of UID3 for symbian (autogenerated)
3225             - Don't build app bundles on Mac OS X
3226
3227         * tests/benchmarks/loading/loading.pro: Added.
3228         * tests/benchmarks/loading/tst_loading.pro: Removed.
3229         * tests/benchmarks/painting/painting.pro: Added.
3230         * tests/benchmarks/painting/tst_painting.pro: Removed.
3231         * tests/qgraphicswebview/qgraphicswebview.pro:
3232         * tests/qwebelement/qwebelement.pro:
3233         * tests/qwebelement/qwebelement.qrc: Removed.
3234         * tests/qwebelement/resources/image.png: Renamed from WebKit/qt/tests/qwebelement/image.png.
3235         * tests/qwebelement/resources/style.css: Renamed from WebKit/qt/tests/qwebelement/style.css.
3236         * tests/qwebelement/resources/style2.css: Renamed from WebKit/qt/tests/qwebelement/style2.css.
3237         * tests/qwebelement/tst_qwebelement.qrc: Added.
3238         * tests/qwebframe/qwebframe.pro:
3239         * tests/qwebframe/qwebframe.qrc: Removed.
3240         * tests/qwebframe/resources/image.png: Renamed from WebKit/qt/tests/qwebframe/image.png.
3241         * tests/qwebframe/resources/style.css: Renamed from WebKit/qt/tests/qwebframe/style.css.
3242         * tests/qwebframe/resources/test1.html: Renamed from WebKit/qt/tests/qwebframe/test1.html.
3243         * tests/qwebframe/resources/test2.html: Renamed from WebKit/qt/tests/qwebframe/test2.html.
3244         * tests/qwebframe/resources/testiframe.html: Renamed from WebKit/qt/tests/qwebframe/testiframe.html.
3245         * tests/qwebframe/resources/testiframe2.html: Renamed from WebKit/qt/tests/qwebframe/testiframe2.html.
3246         * tests/qwebframe/tst_qwebframe.cpp:
3247         * tests/qwebframe/tst_qwebframe.qrc: Added.
3248         * tests/qwebhistory/qwebhistory.pro:
3249         * tests/qwebhistory/resources/page1.html: Renamed from WebKit/qt/tests/qwebhistory/data/page1.html.
3250         * tests/qwebhistory/resources/page2.html: Renamed from WebKit/qt/tests/qwebhistory/data/page2.html.
3251         * tests/qwebhistory/resources/page3.html: Renamed from WebKit/qt/tests/qwebhistory/data/page3.html.
3252         * tests/qwebhistory/resources/page4.html: Renamed from WebKit/qt/tests/qwebhistory/data/page4.html.
3253         * tests/qwebhistory/resources/page5.html: Renamed from WebKit/qt/tests/qwebhistory/data/page5.html.
3254         * tests/qwebhistory/resources/page6.html: Renamed from WebKit/qt/tests/qwebhistory/data/page6.html.
3255         * tests/qwebhistory/tst_qwebhistory.cpp:
3256         (tst_QWebHistory::):
3257         * tests/qwebhistory/tst_qwebhistory.qrc:
3258         * tests/qwebhistoryinterface/qwebhistoryinterface.pro:
3259         * tests/qwebinspector/qwebinspector.pro:
3260         * tests/qwebpage/qwebpage.pro:
3261         * tests/qwebpage/resources/frame_a.html: Renamed from WebKit/qt/tests/qwebpage/frametest/frame_a.html.
3262         * tests/qwebpage/resources/iframe.html: Renamed from WebKit/qt/tests/qwebpage/frametest/iframe.html.
3263         * tests/qwebpage/resources/iframe2.html: Renamed from WebKit/qt/tests/qwebpage/frametest/iframe2.html.
3264         * tests/qwebpage/resources/iframe3.html: Renamed from WebKit/qt/tests/qwebpage/frametest/iframe3.html.
3265         * tests/qwebpage/resources/index.html: Renamed from WebKit/qt/tests/qwebpage/frametest/index.html.
3266         * tests/qwebpage/tst_qwebpage.cpp:
3267         (tst_QWebPage::backActionUpdate):
3268         (tst_QWebPage::frameAt):
3269         (tst_QWebPage::errorPageExtensionInFrameset):
3270         (tst_QWebPage::screenshot):
3271         * tests/qwebpage/tst_qwebpage.qrc:
3272         * tests/qwebplugindatabase/qwebplugindatabase.pro:
3273         * tests/qwebview/qwebview.pro:
3274         * tests/qwebview/resources/frame_a.html: Renamed from WebKit/qt/tests/qwebview/data/frame_a.html.
3275         * tests/qwebview/resources/index.html: Renamed from WebKit/qt/tests/qwebview/data/index.html.
3276         * tests/qwebview/tst_qwebview.cpp:
3277         (tst_QWebView::reusePage):
3278         (tst_QWebView::crashTests):
3279         * tests/qwebview/tst_qwebview.qrc:
3280         * tests/resources/image2.png: Renamed from WebKit/qt/tests/qwebframe/resources/image2.png.
3281         * tests/tests.pri: Added.
3282         * tests/tests.pro:
3283
3284 2009-12-18  Ariya Hidayat  <ariya.hidayat@gmail.com>
3285
3286         Build fix, not reviewed.
3287
3288         * QtLauncher/main.cpp:
3289         (MainWindow::setTouchMocking): Leave setTouchMocking as an empty
3290         function for Qt < 4.6 so that moc still creates a slot for that.
3291         Otherwise, it would have generated a linker error.
3292
3293 2009-12-18  Adam Roben  <aroben@apple.com>
3294
3295         Qt build fix
3296
3297         * Api/qwebpage.cpp: Added #include.
3298
3299 2009-12-18  Adam Roben  <aroben@apple.com>
3300
3301         Qt build fix
3302
3303         * Api/qwebpage.cpp:
3304         Added #includes.
3305
3306 2009-12-18  Joe Ligman  <joseph.ligman@nokia.com>
3307
3308         Reviewed by Kenneth Rohde Christiansen.
3309
3310         [Qt] Add new API to QWebFrame to scrollRecursively starting with any css overflow 
3311         then checking current frame and then ancestors
3312         https://bugs.webkit.org/show_bug.cgi?id=32668
3313
3314         * Api/qwebframe.cpp:
3315         (QWebFramePrivate::scrollOverflow):
3316         (QWebFrame::scrollRecursively):
3317         * Api/qwebframe.h:
3318         * Api/qwebframe_p.h:
3319         * tests/qwebframe/qwebframe.qrc:
3320         * tests/qwebframe/testiframe.html: Added.
3321         * tests/qwebframe/testiframe2.html: Added.
3322         * tests/qwebframe/tst_qwebframe.cpp:
3323
3324 2009-12-18  Simon Hausmann  <simon.hausmann@nokia.com>
3325
3326         Reviewed by Tor Arne Vestbø.
3327
3328         [Qt] Fix infinite recursion in touch mocking.
3329
3330         Don't send the fake touch events to the view, as that'll trigger the
3331         event filter again.
3332
3333         * QtLauncher/main.cpp:
3334         (MainWindow::sendTouchEvent):
3335
3336 2009-12-17  Benjamin Poulain  <benjamin.poulain@nokia.com>
3337
3338         Reviewed by Simon Hausmann.
3339
3340         [Qt] Add support for mocking touch events with Q(GV)Launcher
3341         https://bugs.webkit.org/show_bug.cgi?id=32434
3342
3343         The event delivery should go through QCoreApplication::sendEvent()
3344
3345         * QtLauncher/main.cpp:
3346         (MainWindow::sendTouchEvent):
3347
3348 2009-12-17  Kim Grönholm  <kim.gronholm@nomovok.com>
3349
3350         Reviewed by Simon Hausmann.
3351
3352         [Qt] Add support for touch events in QWebView and QGraphicsWebView
3353         https://bugs.webkit.org/show_bug.cgi?id=32432
3354
3355         * Api/qgraphicswebview.cpp:
3356         (QGraphicsWebView::QGraphicsWebView):
3357         (QGraphicsWebView::sceneEvent):
3358         * Api/qwebview.cpp:
3359         (QWebView::QWebView):
3360         (QWebView::event):
3361
3362 2009-12-17  Kim Grönholm  <kim.gronholm@nomovok.com>
3363
3364         Reviewed by Simon Hausmann.
3365
3366         [Qt] Add support for mocking touch events with QtLauncher
3367         https://bugs.webkit.org/show_bug.cgi?id=32434
3368
3369         * QtLauncher/main.cpp:
3370         (MainWindow::MainWindow):
3371         (MainWindow::sendTouchEvent):
3372         (MainWindow::eventFilter):
3373         (MainWindow::setTouchMocking):
3374         (MainWindow::setupUI):
3375
3376 2009-12-14  Holger Hans Peter Freyther  <zecke@selfish.org>
3377
3378         Reviewed by Kenneth Rohde Christiansen.
3379
3380         [Qt] Fix JavaScript prompt behavior for empty/null strings.
3381         https://bugs.webkit.org/show_bug.cgi?id=30914
3382
3383         The patch is based on the work done by Gupta Manish.
3384
3385         In the default implementation of the JavaScript prompt
3386         we are using a QInputDialog to get the text and this has
3387         one quirk with regard to not entering any text.
3388
3389         In other WebKit ports and in Firefox an empty string is
3390         returned but in the Qt case it is a null string.
3391
3392         Change the API documentation in QWebPage to mention we want to
3393         have a non null string but do the fixup in the ChromeClientQt
3394         to support existing code.
3395
3396         * Api/qwebpage.cpp:
3397         (QWebPage::javaScriptPrompt): Change API documentation
3398         * WebCoreSupport/ChromeClientQt.cpp:
3399         (WebCore::ChromeClientQt::runJavaScriptPrompt): Fixup null QString
3400
3401 2009-11-24  Holger Hans Peter Freyther  <zecke@selfish.org>
3402
3403         Reviewed by Simon Hausmann.
3404
3405         [Qt] Do not disable the inspector on show and hide
3406         https://bugs.webkit.org/show_bug.cgi?id=31851
3407
3408         On Qt/X11 with some window managers the window will be
3409         hidden when switching windows. In this case all the results
3410         are gone when coming back to the window.
3411
3412         Attempt to use the CloseEvent to figure out if the window
3413         was closed and withdrawn as this is more friendly to the
3414         user of the inspector client.
3415
3416         * Api/qwebinspector.cpp:
3417         (QWebInspector::hideEvent):
3418         (QWebInspector::closeEvent):
3419         * Api/qwebinspector.h:
3420
3421 2009-12-14  Benjamin Poulain  <benjamin.poulain@nokia.com>
3422
3423         Reviewed by Kenneth Rohde Christiansen.
3424
3425         [Qt] Improve the autotests of QtWebkit
3426         https://bugs.webkit.org/show_bug.cgi?id=32216
3427
3428         Refactor tst_qwebelement to remove the qWait()
3429
3430         * tests/qwebelement/tst_qwebelement.cpp:
3431         (tst_QWebElement::style):
3432
3433 2009-12-14  Andreas Kling  <andreas.kling@nokia.com>
3434
3435         Reviewed by Simon Hausmann.
3436
3437         Fix the QWebPage inputMethods() autotest after r51758
3438         to compare the Qt::ImFont property's family against an explicitly
3439         previously configured family.
3440
3441         https://bugs.webkit.org/show_bug.cgi?id=32491
3442
3443         * tests/qwebpage/tst_qwebpage.cpp:
3444         (tst_QWebPage::inputMethods):
3445
3446 2009-12-13  Sam Weinig  <sam@webkit.org>
3447
3448         Reviewed by Dan Bernstein.
3449
3450         Fix for https://bugs.webkit.org/show_bug.cgi?id=32499
3451         Add client based Geolocation provider
3452
3453         Add first cut of a client based Geolocation provider. This is guarded by
3454         ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a
3455         GeolocationControllerClient interface that no-one currently implements,
3456         but will in a subsequent patch.
3457
3458         * Api/qwebpage.cpp:
3459         (QWebPagePrivate::QWebPagePrivate):
3460
3461 2009-12-13  Benjamin Poulain  <benjamin.poulain@nokia.com>
3462
3463         Reviewed by Simon Hausmann.
3464
3465         Add a test in Qt for https://bugs.webkit.org/show_bug.cgi?id=29005
3466         https://bugs.webkit.org/show_bug.cgi?id=29008
3467
3468         * tests/qwebframe/tst_qwebframe.cpp:
3469
3470 2009-12-13  Simon Hausmann  <hausmann@webkit.org>
3471
3472         Reviewed by Holger Freyther.
3473
3474         [Qt] Re-enable QWebView::renderHints property for Qt for Symbian
3475
3476         https://bugs.webkit.org/show_bug.cgi?id=28273
3477
3478         The bug in Qt's moc that triggered a linking error when declaring this
3479         property has been fixed and we can remove the workaround.
3480
3481         * Api/qwebview.h:
3482
3483 2009-12-11  Yael Aharon  <yael.aharon@nokia.com>
3484
3485         Unreviewed build fix for Qt versions < 4.6.
3486
3487         * tests/qwebframe/tst_qwebframe.cpp:
3488         * tests/qwebview/tst_qwebview.cpp:
3489         (tst_QWebView::reusePage):
3490
3491 2009-12-11  Girish Ramakrishnan  <girish@forwardbias.in>
3492
3493         Reviewed by Tor Arne Vestbø.
3494
3495         [Qt] Updated QWebElement documentation
3496         
3497         findAll() returns a QWebElementCollection, not QList<QWebElement>.
3498
3499         * docs/webkitsnippets/webelement/main.cpp:
3500         (findAll):
3501
3502 2009-12-11  Simon Hausmann  <hausmann@webkit.org>, Kim Grönholm  <kim.gronholm@nomovok.com>
3503
3504         Reviewed by Antti Koivisto.
3505
3506         Forward Qt touch events to the event handler as platform touch events.
3507
3508         https://bugs.webkit.org/show_bug.cgi?id=32114
3509
3510         * Api/qwebpage.cpp:
3511         (QWebPagePrivate::touchEvent):
3512         (QWebPage::event):
3513         * Api/qwebpage_p.h:
3514
3515 2009-12-07  Benjamin Poulain  <benjamin.poulain@nokia.com>
3516
3517         Reviewed by Kenneth Rohde Christiansen.
3518
3519         [Qt] Improve the autotests of QtWebkit
3520         https://bugs.webkit.org/show_bug.cgi?id=32216
3521
3522         Remove the calls to qWait() of the autotest of QWebView
3523
3524         * tests/qwebview/tst_qwebview.cpp:
3525         (tst_QWebView::reusePage):
3526
3527 2009-12-07  Benjamin Poulain  <benjamin.poulain@nokia.com>
3528
3529         Reviewed by Kenneth Rohde Christiansen.
3530
3531         [Qt] Improve the autotests of QtWebkit
3532         https://bugs.webkit.org/show_bug.cgi?id=32216
3533
3534         Refactor tst_qwebframe to remove qWait() and use
3535         the function waitForSignal() from util.h
3536
3537         * tests/qwebframe/tst_qwebframe.cpp:
3538
3539 2009-12-07  Benjamin Poulain  <benjamin.poulain@nokia.com>
3540
3541         Reviewed by Kenneth Rohde Christiansen.
3542
3543         [Qt] Improve the autotests of QtWebkit
3544         https://bugs.webkit.org/show_bug.cgi?id=32216
3545
3546         Refactor the test of QGraphicsWebView:
3547         -make waitForSignal() available to all the tests.
3548         -remove QTest::qWait()
3549
3550         * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
3551         (tst_QGraphicsWebView::crashOnViewlessWebPages):
3552         * tests/util.h:
3553         (waitForSignal):
3554
3555 2009-12-07  Girish Ramakrishnan  <girish@forwardbias.in>
3556
3557         Reviewed by Simon Hausmann.
3558
3559         [Qt] Plugins: Force windowless mode when there is no native window handle
3560         
3561         Inject wmode=opaque while instantiating the plugin for the case when the
3562         webpage is not backed by a native window handle.
3563         
3564         https://bugs.webkit.org/show_bug.cgi?id=32059
3565
3566         * WebCoreSupport/FrameLoaderClientQt.cpp:
3567         (WebCore::FrameLoaderClientQt::createPlugin):
3568
3569 2009-12-04  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
3570
3571         Reviewed by Kenneth Rohde Christiansen.
3572
3573         [Qt] Corrects QtLauncher style
3574
3575         * QtLauncher/main.cpp:
3576         (WebPage::acceptNavigationRequest):
3577         (MainWindow::MainWindow):
3578         (MainWindow::webPage):
3579         (MainWindow::webView):
3580         (MainWindow::changeLocation):
3581         (MainWindow::loadFinished):
3582         (MainWindow::showLinkHover):
3583         (MainWindow::zoomIn):
3584         (MainWindow::zoomOut):
3585         (MainWindow::print):
3586         (MainWindow::setEditable):
3587         (MainWindow::dumpHtml):
3588         (MainWindow::selectElements):
3589         (MainWindow::newWindow):
3590         (MainWindow::setupUI):
3591         (WebPage::createWindow):
3592         (WebPage::createPlugin):
3593         (main):
3594
3595 2009-12-04  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
3596
3597         Reviewed by Kenneth Rohde Christiansen.
3598
3599         [Qt] QtLauncher: add a menu to show or hide the web inspector.
3600         https://bugs.webkit.org/show_bug.cgi?id=32149
3601
3602         * QtLauncher/main.cpp:
3603         (WebInspector::WebInspector):
3604         (WebInspector::showEvent):
3605         (WebInspector::hideEvent):
3606         (MainWindow::MainWindow):
3607         (MainWindow::setupUI):
3608
3609 2009-12-04  Kenneth Rohde Christiansen  <kenneth@webkit.org>
3610
3611         Reviewed by Antti Koivisto.
3612
3613         Split out the renderPrivate in two methods, one for working on
3614         relative coordinates (relative to the viewport) and one for
3615         working on absolute coordinates. The latter is more effecient
3616         for implementing tiling, as you don't need translate the coords,
3617         and because it avoid clipping to the viewport.
3618
3619         No behaviour changes, so no new tests.
3620
3621         * Api/qwebframe.cpp:
3622         (QWebFramePrivate::renderContentsLayerAbsoluteCoords):
3623         (QWebFramePrivate::renderRelativeCoords):
3624         (QWebFrame::render):
3625         * Api/qwebframe_p.h:
3626
3627 2009-12-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
3628
3629         Reviewed by Simon Hausmann.
3630
3631         [Qt] Allow removing 'qrc' as a local security origin scheme
3632
3633         * tests/qwebpage/tst_qwebpage.cpp:
3634
3635 2009-12-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
3636
3637         Reviewed by Simon Hausmann.
3638
3639         [Qt] Clean up argument parsing in the QtLauncher
3640
3641         * QtLauncher/main.cpp:
3642
3643 2009-12-04  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
3644
3645         Reviewed by Kenneth Rohde Christiansen.
3646
3647         [Qt] Prevent the inspector from closing its wrapping widget.
3648         This is not necessary anymore since we now hide the embedded
3649         close button.
3650         https://bugs.webkit.org/show_bug.cgi?id=32149
3651
3652         * WebCoreSupport/InspectorClientQt.cpp:
3653         (WebCore::InspectorClientQt::showWindow):
3654         (WebCore::InspectorClientQt::closeWindow):
3655
3656 2009-12-03  İsmail Dönmez  <ismail@namtrac.org>
3657
3658         Reviewed by Eric Seidel.
3659
3660         Fix compilation when SVG is disabled.
3661
3662         * Api/qwebframe.cpp:
3663         (qt_drt_pauseSVGAnimation):
3664
3665 2009-12-03  Brady Eidson  <beidson@apple.com>
3666
3667         Reviewed by Sam Weinig.
3668
3669         <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API
3670
3671         * WebCoreSupport/FrameLoaderClientQt.cpp:
3672         (WebCore::FrameLoaderClientQt::dispatchDidPushStateWithinPage):
3673         (WebCore::FrameLoaderClientQt::dispatchDidReplaceStateWithinPage):
3674         (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage):
3675         * WebCoreSupport/FrameLoaderClientQt.h:
3676
3677 2009-12-03  Pavel Feldman  <pfeldman@dhcp-172-28-174-220.spb.corp.google.com>
3678
3679         Reviewed by Timothy Hatcher.
3680
3681         Web Inspector: Simplify the settings support in inspector controller.
3682
3683         https://bugs.webkit.org/show_bug.cgi?id=32076
3684
3685         * WebCoreSupport/InspectorClientQt.cpp:
3686         (WebCore::InspectorClientQt::populateSetting):
3687         (WebCore::InspectorClientQt::storeSetting):
3688         (WebCore::variantToSetting):
3689         (WebCore::settingToVariant):
3690         * WebCoreSupport/InspectorClientQt.h:
3691
3692 2009-12-03  Ben Murdoch  <benm@google.com>
3693
3694         Reviewed by Brady Eidson.
3695
3696         [Android] The FrameLoaderClient is unaware of BackForwardList changes.
3697         https://bugs.webkit.org/show_bug.cgi?id=31914
3698
3699         * WebCoreSupport/FrameLoaderClientQt.cpp:
3700         (WebCore::FrameLoaderClientQt::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug).
3701         (WebCore::FrameLoaderClientQt::dispatchDidRemoveBackForwardItem): ditto.
3702         (WebCore::FrameLoaderClientQt::dispatchDidChangeBackForwardIndex): ditto.
3703         * WebCoreSupport/FrameLoaderClientQt.h:
3704
3705 2009-12-01  Nikolas Zimmermann  <nzimmermann@rim.com>
3706
3707         Not reviewed. Try to fix Qt build.
3708
3709         * Api/qwebframe.cpp:
3710         (qt_drt_pauseSVGAnimation):
3711
3712 2009-12-01  Nikolas Zimmermann  <nzimmermann@rim.com>
3713
3714         Reviewed by Simon Fraser.
3715
3716         Add SVG animation test framework with 'snapshot' functionality
3717         https://bugs.webkit.org/show_bug.cgi?id=31897
3718
3719         Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method,
3720         forwarding the call to SVGDocumentExtensions, if SVG is enabled.
3721
3722         Implemented just like the existing pauseAnimation* methods for CSS animations.
3723
3724         * Api/qwebframe.cpp:
3725         (qt_drt_pauseSVGAnimation):
3726
3727 2009-12-01  Daniel Bates  <dbates@webkit.org>
3728
3729         Reviewed by Kenneth Rohde Christiansen.
3730
3731         https://bugs.webkit.org/show_bug.cgi?id=31898
3732
3733         Makes QtLauncher default to the http scheme for URLs.
3734
3735         * QtLauncher/main.cpp:
3736         (MainWindow::MainWindow):
3737         (MainWindow::changeLocation):
3738         (main):
3739
3740 2009-11-30  Abhinav Mithal  <abhinav.mithal@nokia.com>
3741
3742         Reviewed by Simon Hausmann.
3743
3744         [Qt][Symbian] Report SymbianOS in user agent string for Symbian
3745         https://bugs.webkit.org/show_bug.cgi?id=31961
3746
3747         * Api/qwebpage.cpp:
3748         (QWebPage::userAgentForUrl):
3749
3750 2009-11-30  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
3751
3752         Reviewed by Kenneth Rohde Christiansen.
3753
3754         [Qt] Fix minor waning in QtWebKit
3755         https://bugs.webkit.org/show_bug.cgi?id=31963
3756
3757         * tests/qwebpage/tst_qwebpage.cpp:
3758         (ErrorPage::extension): Remove info wariable as it is
3759         not used.
3760
3761 2009-11-28  Simon Hausmann  <simon.hausmann@nokia.com>
3762
3763         Reviewed by Kenneth Rohde Christiansen.
3764
3765         [Qt] SoftwareInputPanelRequest event sent when clicking in newly loaded page
3766
3767         https://bugs.webkit.org/show_bug.cgi?id=31401
3768
3769         Don't set the event unless there is a focused node we can use
3770         for editing afterwards.
3771
3772         * Api/qwebpage.cpp:
3773         (QWebPagePrivate::handleSoftwareInputPanel):
3774         * tests/qwebpage/tst_qwebpage.cpp:
3775         (tst_QWebPage::inputMethods):
3776
3777 2009-11-26  Simon Hausmann  <simon.hausmann@nokia.com>
3778
3779         Rubber-stamped by Holger Freyther.
3780
3781         Removed unused ICO image plugin handler.
3782
3783         * Plugins/ICOHandler.cpp: Removed.
3784         * Plugins/ICOHandler.h: Removed.
3785         * Plugins/Plugins.pro: Removed.
3786
3787 2009-11-12  Holger Hans Peter Freyther  <zecke@selfish.org>
3788
3789         Reviewed by Kenneth Rohde Christiansen.
3790
3791         [Qt] Do not show the QWidget when the WebCore::Widget is hidden
3792         https://bugs.webkit.org/show_bug.cgi?id=31203
3793
3794         The clipping code was making a QWidget visible even if the
3795         WebCore::Widget was hidden. Fix the bug by calling setVisible
3796         only if the WebCore::Widget Widget::isSelfVisible.
3797
3798         * WebCoreSupport/FrameLoaderClientQt.cpp:
3799         (WebCore::QtPluginWidget::show): Override WebCore::Widget::show to call handleVisibility
3800         (WebCore::QtPluginWidget::handleVisibility): New method to call setVisible when we are visible
3801         (FrameLoaderClientQt::createPlugin): Hide the QWidget by default
3802
3803 2009-11-23  David Boddie  <dboddie@trolltech.com>
3804
3805         Reviewed by Simon Hausmann.
3806
3807         Updated the QWebElement documentation with links to examples and
3808         external resources.
3809         Fixed the project file for the webelement snippet and tidied up the
3810         markers used for quoting the code.
3811
3812         * Api/qwebelement.cpp:
3813         * docs/webkitsnippets/webelement/main.cpp:
3814         (findAll):
3815         * docs/webkitsnippets/webelement/webelement.pro:
3816
3817 2009-11-23  Simon Hausmann  <simon.hausmann@nokia.com>
3818
3819         Reviewed by Kenneth Rohde Christiansen.
3820
3821         [Qt] Wrong runtime instance objects of wrapped QObjects may be used if
3822         the wrapped object died before the gc removed the instance.
3823
3824         https://bugs.webkit.org/show_bug.cgi?id=31681
3825
3826         Added a unit-test to verify that wrapping a QObject with the
3827         same identity as a previously but now dead object works.
3828
3829         * tests/qwebframe/tst_qwebframe.cpp:
3830
3831 2009-11-19  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
3832
3833         Reviewed by Kenneth Rohde Christiansen.
3834
3835         [Qt] Add instantiation tests for QWebInspector.
3836
3837         * tests/qwebinspector/qwebinspector.pro: Added.
3838         * tests/qwebinspector/tst_qwebinspector.cpp: Added.
3839         (tst_QWebInspector::attachAndDestroy):
3840         * tests/tests.pro:
3841
3842 2009-11-19  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
3843
3844         Reviewed by Kenneth Rohde Christiansen.
3845
3846         [Qt] Fix QWebInspector destruction problem.
3847         https://bugs.webkit.org/show_bug.cgi?id=31664
3848
3849         * Api/qwebpage.cpp:
3850         (QWebPage::~QWebPage):
3851
3852 2009-11-19  Olivier Goffart  <ogoffart@trolltech.com>
3853
3854         Reviewed by Simon Hausmann.
3855
3856         [Qt] Normalize signal and slot signatures.
3857
3858         * Api/qgraphicswebview.cpp:
3859         (QGraphicsWebView::setPage):
3860         * Api/qwebview.cpp:
3861         (QWebView::setPage):
3862         * WebCoreSupport/FrameLoaderClientQt.cpp:
3863         (WebCore::FrameLoaderClientQt::setFrame):
3864         * docs/webkitsnippets/qtwebkit_qwebinspector_snippet.cpp:
3865         (wrapInFunction):
3866         * tests/qwebframe/tst_qwebframe.cpp:
3867         * tests/qwebpage/tst_qwebpage.cpp:
3868         (tst_QWebPage::modified):
3869         (tst_QWebPage::database):
3870
3871 2009-11-18  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
3872
3873         Reviewed by Kenneth Rohde Christiansen.
3874
3875         [Qt] Remove support for Qt v4.3 or older versions
3876         https://bugs.webkit.org/show_bug.cgi?id=29469
3877
3878         * Api/qcookiejar.cpp: Removed.
3879         * Api/qcookiejar.h: Removed.
3880         * Api/qgraphicswebview.cpp:
3881         (QGraphicsWebView::event):
3882         * Api/qwebframe.cpp:
3883         (QWebFrame::load):
3884         * Api/qwebframe.h:
3885         * Api/qwebkitglobal.h:
3886         * Api/qwebnetworkinterface.cpp: Removed.
3887         * Api/qwebnetworkinterface.h: Removed.
3888         * Api/qwebnetworkinterface_p.h: Removed.
3889         * Api/qwebpage.cpp:
3890         (QWebPagePrivate::QWebPagePrivate):
3891         (QWebPagePrivate::acceptNavigationRequest):
3892         (QWebPage::acceptNavigationRequest):
3893         (QWebPage::action):
3894         (QWebPage::userAgentForUrl):
3895         * Api/qwebpage.h:
3896         * Api/qwebpage_p.h:
3897         * Api/qwebview.cpp:
3898         (QWebView::load):
3899         (QWebView::event):
3900         * Api/qwebview.h:
3901         * QtLauncher/main.cpp:
3902         (MainWindow::print):
3903         (MainWindow::setupUI):
3904         (main):
3905         * WebCoreSupport/FrameLoaderClientQt.cpp:
3906         (WebCore::FrameLoaderClientQt::download):
3907         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3908         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3909         (WebCore::FrameLoaderClientQt::startDownload):
3910         (WebCore::FrameLoaderClientQt::createPlugin):
3911
3912 2009-11-18  Shu Chang  <Chang.Shu@nokia.com>
3913
3914         Reviewed by Eric Seidel.
3915
3916         [Qt] Add support for displaying deleteButton.
3917         https://bugs.webkit.org/show_bug.cgi?id=31560
3918
3919         Test: LayoutTests/editing/deleting/5408255.html
3920
3921         * Api/qwebsettings.cpp:
3922         (graphics):
3923         * Api/qwebsettings.h:
3924
3925 2009-11-18  Paul Olav Tvete  <paul.tvete@nokia.com>
3926
3927         Reviewed by Simon Hausmann.
3928
3929         [Qt] Make the QWebElement::render() test pass when pixmaps aren't 32 bit.
3930
3931         * tests/qwebelement/tst_qwebelement.cpp:
3932         (tst_QWebElement::render):
3933
3934 2009-11-18  Simon Hausmann  <simon.hausmann@nokia.com>
3935
3936         Reviewed by Tor Arne Vestbø.
3937
3938         Clarify and simplify the legal section in the overview documentation,
3939         after review with our legal team.
3940
3941         * docs/qtwebkit.qdoc:
3942
3943 2009-11-18  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
3944
3945         Reviewed by Simon Hausmann.
3946
3947         [Qt] Add QtLauncher support for opening links in the default browser
3948
3949         This can be triggered by either the context menu or by clicking a link
3950         while holding down the Alt key. Opening a link in a new windows is
3951         triggered by holding down Shift.
3952
3953         * QtLauncher/main.cpp:
3954
3955 2009-11-17  Yael Aharon  <yael.aharon@nokia.com>
3956
3957         Reviewed by Kenneth Rohde Christiansen.
3958
3959         [Qt] QGLLauncher does not support drag&drop of local files
3960         https://bugs.webkit.org/show_bug.cgi?id=31057
3961
3962         Enable accepting files in QGraphicsWebView.
3963
3964         * Api/qgraphicswebview.cpp:
3965         (QGraphicsWebView::QGraphicsWebView):
3966         (QGraphicsWebView::dragEnterEvent):
3967
3968 2009-11-17  Antonio Gomes  <tonikitoo@webkit.org>
3969
3970         Reviewed by Kenneth Christiansen.
3971
3972         [Qt] better test coverage for ErrorPageExtension
3973         https://bugs.webkit.org/show_bug.cgi?id=31583
3974
3975         Improved the coverage of current ErrorPageExtension tests by
3976         adding autotests involving frameset and iframes.
3977
3978         * tests/qwebpage/tst_qwebpage.cpp:
3979         (ErrorPage::extension): Make the ErrorPageExtension
3980         to work for all frames, not only the main frame.
3981         (tst_QWebPage::errorPageExtension): Stop using
3982         the 'frameset.html' resouce in this method since
3983         an autotest specific for frameset's is being added.
3984         (tst_QWebPage::errorPageExtensionInIFrames): Added.
3985         (tst_QWebPage::errorPageExtensionInFrameset): Added.
3986
3987 2009-11-16  Simon Hausmann  <simon.hausmann@nokia.com>
3988
3989         Reviewed by Kenneth Rohde Christiansen.
3990
3991         API documentation fixes.
3992
3993         * Api/qgraphicswebview.cpp: Removed duplicate docs.
3994         * Api/qwebelement.cpp: Added missing docs.
3995         * Api/qwebsettings.cpp: Ditto.
3996
3997 2009-11-14  Antonio Gomes  <tonikitoo@webkit.org>
3998
3999         Reviewed by Antti Koivisto.
4000
4001         [Qt] Broken back/forward after using ErrorPageExtension to set error page
4002         https://bugs.webkit.org/show_bug.cgi?id=30573
4003
4004         Implemented autotests for covering the back/forward
4005         reset problem involving error pages.
4006
4007         * tests/qwebpage/tst_qwebpage.cpp:
4008         (tst_QWebPage::errorPageExtension):
4009
4010 2009-11-13  Adam Roben  <aroben@apple.com>
4011
4012         Update for changes to FrameLoaderClient
4013
4014         Fixes <http://webkit.org/b/31124> Tell the WebFrameLoadDelegate when
4015         window objects in isolated worlds are cleared
4016
4017         Reviewed by Dave Hyatt.
4018
4019         * WebCoreSupport/FrameLoaderClientQt.cpp:
4020         (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
4021         * WebCoreSupport/FrameLoaderClientQt.h:
4022         Replaced windowObjectCleared with this function. Does nothing if the
4023         passed-in world is not the mainThreadNormalWorld().
4024
4025 2009-11-13  Andras Becsi  <becsi.andras@stud.u-szeged.hu>
4026
4027         Reviewed by Kenneth Rohde Christiansen.
4028
4029         [Qt] Enable Page Cache if setMaximumPagesInCache needs it.
4030         This fixes https://bugs.webkit.org/show_bug.cgi?id=31266.
4031
4032         * Api/qwebsettings.cpp:
4033         (QWebSettingsPrivate::apply):
4034         (QWebSettings::setMaximumPagesInCache):
4035
4036 2009-11-13  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
4037
4038         Reviewed by Kenneth Rohde Christiansen.
4039
4040         [Qt] Fix initial QWebView focus behavior.
4041
4042         focusController->setFocused(true) was not always called.
4043         https://bugs.webkit.org/show_bug.cgi?id=31466
4044
4045         * Api/qwebpage.cpp:
4046         (QWebPagePrivate::focusInEvent):
4047
4048 2009-11-13  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
4049
4050         Reviewed by Simon Hausmann.
4051
4052         Update documentation for the Qt API
4053
4054         * Api/qgraphicswebview.cpp:
4055         * Api/qwebelement.cpp:
4056         * Api/qwebframe.cpp:
4057         * Api/qwebsettings.cpp:
4058         * Api/qwebview.cpp:
4059
4060 2009-11-13  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
4061
4062         Reviewed by Simon Hausmann.
4063
4064         Use correct install-path when running qdoc3
4065
4066         * docs/docs.pri:
4067
4068 2009-11-12  Shinichiro Hamaji  <hamaji@chromium.org>
4069
4070         Reviewed by Darin Adler.
4071
4072         externalRepresentation should take Frame as the argument
4073         https://bugs.webkit.org/show_bug.cgi?id=31393
4074
4075         No new tests as this is just a refactoring.
4076
4077         * Api/qwebframe.cpp:
4078         (QWebFrame::renderTreeDump):
4079
4080 2009-11-12  Antonio Gomes  <tonikitoo@webkit.org>
4081
4082         Reviewed by Jan Alonzo.
4083
4084         [Qt] Various doc fixes
4085         https://bugs.webkit.org/show_bug.cgi?id=31358
4086
4087         QWebPage's constructor docs are mentioning "QWebView":
4088         "Constructs an empty QWebView with parent".
4089
4090         * Api/qwebpage.cpp:
4091
4092 2009-11-12  Benjamin Poulain  <benjamin.poulain@nokia.com>
4093
4094         Reviewed by Kenneth Rohde Christiansen.
4095
4096         Custom printing shrink factors
4097         https://bugs.webkit.org/show_bug.cgi?id=29042
4098
4099         This reverts commit r49769. The public API for this needs to be reviewed
4100         before its inclusion in Qt.
4101
4102         * Api/qwebsettings.cpp:
4103         (QWebSettingsPrivate::apply):
4104         (QWebSettings::QWebSettings):
4105         * Api/qwebsettings.h:
4106
4107 2009-11-11  Antonio Gomes  <tonikitoo@webkit.org>
4108
4109         Reviewed by Kenneth Christiansen.
4110
4111         [Qt] Various doc fixes
4112         https://bugs.webkit.org/show_bug.cgi?id=31358
4113
4114         Fixed wrong documentation: item's dimensions do fit to Web page
4115         content by default.
4116
4117         Kenneth agreed to land this as a followup patch to the
4118         just landed documentation patch.
4119
4120         * Api/qgraphicswebview.cpp:
4121
4122 2009-11-11  David Boddie  <dboddie@trolltech.com>
4123
4124         Reviewed by Kenneth Christiansen.
4125
4126         [Qt] Various doc fixes
4127         https://bugs.webkit.org/show_bug.cgi?id=31323
4128
4129         Fixed and synchronized QWebView related documentation.
4130
4131         * Api/qgraphicswebview.cpp:
4132         * Api/qwebview.cpp:
4133
4134 2009-11-11  Kenneth Rohde Christiansen  <kenneth@webkit.org>
4135
4136         Unreviewed buildbot fix.
4137
4138         Export a method to the DRT to know if the document has a
4139         document element.
4140
4141         * Api/qwebframe.cpp:
4142         (qt_drt_hasDocumentElement):
4143
4144 2009-11-11  Liang QI  <liang.qi@nokia.com>
4145
4146         [Qt] Fix tst_qwebpage and tst_qwebframe compilation on Symbian.
4147
4148         * tests/qwebframe/qwebframe.pro:
4149         * tests/qwebframe/tst_qwebframe.cpp:
4150         * tests/qwebpage/qwebpage.pro:
4151         * tests/qwebpage/tst_qwebpage.cpp:
4152
4153 2009-11-11  Kenneth Rohde Christiansen  <kenneth@webkit.org>
4154
4155         Reviewed by Simon Hausmann.
4156
4157         Fix a crash in the layout test plugins/document-open.html
4158
4159         * Api/qwebframe.cpp:
4160         (QWebFrame::toPlainText):
4161
4162 2009-11-11  Warwick Allison  <warwick.allison@nokia.com>, Simon Hausmann  <simon.hausmann@nokia.com>
4163
4164         Reviewed by Tor Arne Vestbø.
4165
4166         [Qt] Regression: Preserve the parent of plugin objects when using
4167         QtWebKit with only a QWebPage.
4168
4169         * WebCoreSupport/FrameLoaderClientQt.cpp:
4170         (WebCore::FrameLoaderClientQt::createPlugin): Don't reparent
4171         plugins to 0.
4172         * tests/qwebpage/tst_qwebpage.cpp:
4173         (PluginCounterPage::PluginCounterPage): Initialize m_pluginParent to 0.
4174         (PluginCounterPage::~PluginCounterPage): Delete the plugin parent later
4175         (after the page)
4176         (PluginTracerPage::createPlugin): Assign a dummy parent to the plugin.
4177         (PluginTracerPage::PluginTracerPage): Set up the plugin parent.
4178         (tst_QWebPage::createViewlessPlugin): Verify that for viewless pages the
4179         plugin parent remains unchanged.
4180
4181 2009-11-11  David Boddie  <dboddie@trolltech.com>
4182
4183         [Qt] Doc: Added internal or hidden placeholder documentation.
4184
4185         * Api/qwebpage.cpp:
4186
4187 2009-11-11  Martin Smith  <msmith@trolltech.com>
4188
4189         [Qt] doc: Changed Trolltech to Nokia
4190
4191         * Api/qwebview.cpp:
4192
4193 2009-11-11  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
4194
4195         Reviewed by Kenneth Rohde Christiansen.
4196
4197         https://bugs.webkit.org/show_bug.cgi?id=31323
4198         Fix a few compiler warnings
4199
4200         * tests/qwebframe/tst_qwebframe.cpp: Add extra brackets 
4201         to make it explicit where the else case belongs
4202
4203 2009-11-11  Simon Hausmann  <simon.hausmann@nokia.com>
4204
4205         Reviewed by Tor Arne Vestbø.
4206
4207         Fix enabling of software input panel when activating editable elements
4208         in QGraphicsWebView.
4209
4210         * Api/qgraphicswebview.cpp:
4211         (QGraphicsWebViewPrivate::inputMethodEnabled): Implement method to
4212         query for input method support.
4213         * Api/qwebpage.cpp:
4214         (QWebPageWidgetClient::inputMethodEnabled): Ditto for QWidget.
4215         (QWebPagePrivate::handleSoftwareInputPanel): Don't use view() to
4216         test for input method support. Instead query using QWebPageClient
4217         and send the SIPR event to the ownerWidget() instead of the view().
4218         The latter is null for QGraphicsWebView.
4219         * tests/qwebpage/tst_qwebpage.cpp:
4220         (EventSpy::EventSpy):
4221         (EventSpy::eventFilter):
4222         (tst_QWebPage::inputMethods): Modify the test to verify that SIPR
4223         events are dispatched when activating focusable content.
4224
4225 2009-11-10  Kenneth Rohde Christiansen  <kenneth@webkit.org>
4226
4227         Unreviewed documentation fixes.
4228
4229         Added a few improvements from Jocelyn Turcotte to the
4230         createWindow docs.
4231
4232         * Api/qwebview.cpp:
4233
4234 2009-11-10  Kenneth Rohde Christiansen  <kenneth@webkit.org>
4235
4236         Unreviewed documentation fix.
4237
4238         [Qt] Make qwebpage's createWindow not qwebview dependent.
4239         https://bugs.webkit.org/show_bug.cgi?id=30771
4240
4241         Update documentation to make it clear that a reimplementation
4242         of the createWindow method of the associated QWebPage can
4243         result in the QWebView::createWindow method to never be called.
4244
4245         * Api/qwebview.cpp:
4246
4247 2009-11-09  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
4248
4249         Reviewed by Kenneth Rohde Christiansen.
4250
4251         [Qt] Few classes have virtual functions but non-virtual destructor
4252         https://bugs.webkit.org/show_bug.cgi?id=31269
4253
4254         * Api/qgraphicswebview.cpp:
4255         (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate): Add virtual
4256         destructor.
4257
4258 2009-11-09  Benjamin Poulain  <benjamin.poulain@nokia.com>
4259
4260         Reviewed by Kenneth Rohde Christiansen.
4261
4262         https://bugs.webkit.org/show_bug.cgi?id=30628
4263         Add an API to get all the attributes from a QWebElement.
4264
4265         * Api/qwebelement.cpp:
4266         (QWebElement::attributesName):
4267         * Api/qwebelement.h:
4268         * tests/qwebelement/tst_qwebelement.cpp:
4269         (tst_QWebElement::listAttributes):
4270
4271 2009-11-09  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
4272
4273         Reviewed by Kenneth Rohde Christiansen.
4274
4275         Use explicit parentheses to silence gcc 4.4 -Wparentheses warnings
4276         https://bugs.webkit.org/show_bug.cgi?id=31040
4277
4278         * Api/qwebpage.cpp:
4279         (QWebPagePrivate::handleScrolling):
4280
4281 2009-11-09  Mark Mentovai  <mark@chromium.org>
4282
4283         Reviewed by Dan Bernstein.
4284
4285         Track "can have scrollbar" state within FrameView independently of the
4286         individual scrollbar states in ScrollView.
4287
4288         rdar://problem/7215132, https://bugs.webkit.org/show_bug.cgi?id=29167
4289         REGRESSION (r48064): mint.com loses scrollbars after coming out of
4290         edit mode.
4291
4292         rdar://problem/7314421, https://bugs.webkit.org/show_bug.cgi?id=30517
4293         REGRESSION (r48064): Extra scroll bars in GarageBand Lesson Store.
4294
4295         Test: fast/overflow/scrollbar-restored.html
4296
4297         * Api/qwebframe.cpp:
4298         (QWebFrame::setScrollBarPolicy):
4299
4300 2009-11-09  Benjamin Poulain  <benjamin.poulain@nokia.com>
4301
4302         Reviewed by Kenneth Rohde Christiansen.
4303
4304         https://bugs.webkit.org/show_bug.cgi?id=30772
4305         Add a non-const iterator to QWebElementCollection.
4306         Move the two attributes of the iterator to private.
4307
4308         * Api/qwebelement.h:
4309         (const_iterator::begin):
4310         (const_iterator::end):
4311         (const_iterator::constBegin):
4312         (const_iterator::constEnd):
4313         (const_iterator::iterator::iterator):
4314         (const_iterator::iterator::operator*):
4315         (const_iterator::iterator::operator==):
4316         (const_iterator::iterator::operator!=):
4317         (const_iterator::iterator::operator<):
4318         (const_iterator::iterator::operator<=):
4319         (const_iterator::iterator::operator>):
4320         (const_iterator::iterator::operator>=):
4321         (const_iterator::iterator::operator++):
4322         (const_iterator::iterator::operator--):
4323         (const_iterator::iterator::operator+=):
4324         (const_iterator::iterator::operator-=):
4325         (const_iterator::iterator::operator+):
4326         (const_iterator::iterator::operator-):
4327         * tests/qwebelement/tst_qwebelement.cpp:
4328         (tst_QWebElement::nonConstIterator):
4329         (tst_QWebElement::constIterator):
4330
4331 2009-11-09  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
4332
4333         Reviewed by Kenneth Christiansen.
4334
4335         [Qt] Remove the sessionStorage setting (per Page)
4336         https://bugs.webkit.org/show_bug.cgi?id=31249
4337
4338         This setting allows to run sessionStorage on/off on a per page
4339         basis. Remove this prematurely exposed API.
4340
4341         * Api/qwebsettings.cpp:
4342         (QWebSettingsPrivate::apply):
4343         (QWebSettings::QWebSettings):
4344         * tests/qwebpage/tst_qwebpage.cpp:
4345         (tst_QWebPage::database):
4346         (tst_QWebPage::testOptionalJSObjects):
4347
4348 2009-11-09  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
4349
4350         Reviewed by Simon Hausmann.
4351
4352         [Qt] Remove the QWebPage:webInspectorTriggered signal.
4353         User customization of the communication between QWebPage
4354         and QWebInspector will be properly designed in the next version.
4355         https://bugs.webkit.org/show_bug.cgi?id=30773
4356
4357         * Api/qwebinspector.cpp:
4358         * Api/qwebpage.cpp:
4359         (QWebPagePrivate::getOrCreateInspector):
4360         (QWebPage::triggerAction):
4361         * Api/qwebpage.h:
4362         * QtLauncher/main.cpp:
4363         (MainWindow::MainWindow):
4364
4365 2009-11-05  Simon Hausmann  <hausmann@webkit.org>
4366
4367         Reviewed by Tor Arne Vestbø.
4368
4369         Added a missing re-implementation of QGraphicsItem::inputMethodQuery().
4370
4371         * Api/qgraphicswebview.cpp:
4372         (QGraphicsWebView::inputMethodQuery):
4373         * Api/qgraphicswebview.h:
4374
4375 2009-11-04  Simon Hausmann  <hausmann@webkit.org>
4376
4377         Reviewed by Tor Arne Vestbø.
4378
4379         Provide a dummy re-implementation of QGraphicsLayoutItem::sizeHint(),
4380         similar to QWebView.
4381
4382         * Api/qgraphicswebview.cpp:
4383         (QGraphicsWebView::sizeHint):
4384         * Api/qgraphicswebview.h:
4385
4386 2009-11-04  Simon Hausmann  <hausmann@webkit.org>
4387
4388         Reviewed by Tor Arne Vestbø.
4389
4390         Removed zoomFactoryChanged() signal and added
4391         linkClicked() to QGraphicsWebView, for consistency with
4392         QWebView.
4393
4394         * Api/qgraphicswebview.cpp:
4395         (QGraphicsWebView::setPage):
4396         (QGraphicsWebView::setZoomFactor):
4397         * Api/qgraphicswebview.h:
4398
4399 2009-11-04  Simon Hausmann  <hausmann@webkit.org>
4400