9113454056f34fe51792bb81e4ebe156ffeca147
[WebKit-https.git] / WebKit / qt / ChangeLog
1 2010-06-15  Dumitru Daniliuc  <dumi@chromium.org>
2
3         Reviewed by Adam Barth.
4
5         Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase.
6         https://bugs.webkit.org/show_bug.cgi?id=39041
7
8         * Api/qwebsettings.cpp:
9         (QWebSettingsPrivate::apply):
10
11 2010-06-17  Robert Hogan  <robert@webkit.org>
12
13         [Qt] Build fix
14
15         Unreviewed.
16
17         Remove includes in qdeclarativewebview*.* that rely on an installation
18         of QtWebKit.
19
20         * declarative/qdeclarativewebview.cpp:
21         * declarative/qdeclarativewebview_p.h:
22
23 2010-06-17  Robert Hogan  <robert@webkit.org>
24
25         Unreviewed, rolling out r61346.
26         http://trac.webkit.org/changeset/61346
27         https://bugs.webkit.org/show_bug.cgi?id=33333
28
29         Broke inspector tests on Qt
30
31         * Api/qwebpage.cpp:
32         (QWebPage::javaScriptConsoleMessage):
33
34 2010-06-17  Robert Hogan  <robert@webkit.org>
35
36         Reviewed by Simon Hausmann.
37
38         [Qt] pass plugins/open-and-close-window-with-plugin.html on Qt
39
40         Capture logDestroy messages from the test plugin. DRT's WebPage
41         is already destroyed by the time they are emitted.
42
43         https://bugs.webkit.org/show_bug.cgi?id=33333
44
45         Unskip:
46         plugins/open-and-close-window-with-plugin.html
47         plugins/geturlnotify-during-document-teardown.html
48
49         * Api/qwebpage.cpp:
50         (QWebPage::javaScriptConsoleMessage):
51
52 2010-06-17  Jesus Sanchez-Palencia  <jesus@webkit.org>, Kenneth Rohde Christiansen  <kenneth@webkit.org>
53
54         Reviewed by Simon Hausmann.
55
56         [Qt] QtWebKit does not support viewport meta tag
57         https://bugs.webkit.org/show_bug.cgi?id=39902
58
59         Add viewport meta tag support to QtWebKit API layer.
60
61         This implements didReceiveViewportArguments in our ChromeClientQt
62         which is hooked up with QWebPage::viewportChangeRequested().
63         This signal does not affect the current default behavior.
64         The documentation of the signal explains how to make use of this new feature.
65
66         * Api/qwebframe_p.h:
67         (QWebFramePrivate::QWebFramePrivate):
68         Store information about whether the page has been laid out or not.
69         * Api/qwebpage.cpp:
70         (QWebPage::viewportChangeRequested):
71         * Api/qwebpage_p.h:
72         Added class QtViewportHintsPrivate.
73         * Api/qwebpage.h:
74         (QWebPage::setPreferredContentsSize):
75         Improved documentation and now only layout if the page had already
76         passed layout phase.
77         Added class QWebPage::ViewportHints.
78         * WebCoreSupport/ChromeClientQt.cpp:
79         (WebCore::ChromeClientQt::windowRect):
80         Modified to work as intended by the DOM, for both QWebView
81         and QGraphicsWebView.
82         (WebCore::ChromeClientQt::didReceiveViewportArguments):
83         Emits the signal QWebPage::viewportChangeRequested.
84         * WebCoreSupport/ChromeClientQt.h:
85         * WebCoreSupport/FrameLoaderClientQt.cpp:
86         (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
87         (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
88         Update information about whether the page has been laid out or not.
89         If the page has been laid out we ignore any further viewport meta data.
90         * WebCoreSupport/PageClientQt.cpp:
91         (WebCore::PageClientQWidget::windowRect):
92         (WebCore::PageClientQGraphicsWidget::windowRect):
93         (WebCore::PageClientQGraphicsWidget::graphicsItemVisibleRect):
94         * WebCoreSupport/PageClientQt.h:
95         The PageClient is now responsible for providing the right window rect.
96
97 2010-06-17  Alexis Menard  <alexis.menard@nokia.com>
98
99         Reviewed by Kenneth Rohde Christiansen.
100
101         [Qt] Upstream the WebKit QML integration plugin
102         https://bugs.webkit.org/show_bug.cgi?id=40050
103
104         Add to the Qt port the QML WebKit integration plugin.
105         QDeclarativeWebView is creating the item and expose
106         properties. The C++ API is not public, only the
107         properties are.
108
109         * declarative/declarative.pro: Added.
110         * declarative/plugin.cpp: Added.
111         (WebKitQmlPlugin::registerTypes):
112         * declarative/qdeclarativewebview.cpp: Added.
113         (QDeclarativeWebViewPrivate::QDeclarativeWebViewPrivate):
114         (QDeclarativeWebViewPrivate::):
115         (QDeclarativeWebViewPrivate::windowObjectsAppend):
116         (GraphicsWebView::GraphicsWebView):
117         (GraphicsWebView::mousePressEvent):
118         (GraphicsWebView::mouseReleaseEvent):
119         (GraphicsWebView::mouseDoubleClickEvent):
120         (GraphicsWebView::timerEvent):
121         (GraphicsWebView::mouseMoveEvent):
122         (QDeclarativeWebView::QDeclarativeWebView):
123         (QDeclarativeWebView::~QDeclarativeWebView):
124         (QDeclarativeWebView::init):
125         (QDeclarativeWebView::componentComplete):
126         (QDeclarativeWebView::status):
127         (QDeclarativeWebView::progress):
128         (QDeclarativeWebView::doLoadStarted):
129         (QDeclarativeWebView::doLoadProgress):
130         (QDeclarativeWebView::pageUrlChanged):
131         (QDeclarativeWebView::doLoadFinished):
132         (QDeclarativeWebView::url):
133         (QDeclarativeWebView::setUrl):
134         (QDeclarativeWebView::preferredWidth):
135         (QDeclarativeWebView::setPreferredWidth):
136         (QDeclarativeWebView::preferredHeight):
137         (QDeclarativeWebView::setPreferredHeight):
138         (QDeclarativeWebView::evaluateJavaScript):
139         (QDeclarativeWebView::updateDeclarativeWebViewSize):
140         (QDeclarativeWebView::initialLayout):
141         (QDeclarativeWebView::updateContentsSize):
142         (QDeclarativeWebView::geometryChanged):
143         (QDeclarativeWebView::javaScriptWindowObjects):
144         (QDeclarativeWebView::qmlAttachedProperties):
145         (QDeclarativeWebViewPrivate::updateWindowObjects):
146         (QDeclarativeWebView::renderingEnabled):
147         (QDeclarativeWebView::setRenderingEnabled):
148         (QDeclarativeWebView::heuristicZoom):
149         (QDeclarativeWebView::pressGrabTime):
150         (QDeclarativeWebView::setPressGrabTime):
151         (QDeclarativeWebView::backAction):
152         (QDeclarativeWebView::forwardAction):
153         (QDeclarativeWebView::reloadAction):
154         (QDeclarativeWebView::stopAction):
155         (QDeclarativeWebView::title):
156         (QDeclarativeWebView::icon):
157         (QDeclarativeWebView::setStatusText):
158         (QDeclarativeWebView::windowObjectCleared):
159         (QDeclarativeWebView::statusText):
160         (QDeclarativeWebView::page):
161         (QDeclarativeWebView::settingsObject):
162         (QDeclarativeWebView::setPage):
163         (QDeclarativeWebView::load):
164         (QDeclarativeWebView::html):
165         (QDeclarativeWebView::setHtml):
166         (QDeclarativeWebView::setContent):
167         (QDeclarativeWebView::history):
168         (QDeclarativeWebView::settings):
169         (QDeclarativeWebView::createWindow):
170         (QDeclarativeWebView::newWindowComponent):
171         (QDeclarativeWebView::setNewWindowComponent):
172         (QDeclarativeWebView::newWindowParent):
173         (QDeclarativeWebView::setNewWindowParent):
174         (QDeclarativeWebView::contentsSize):
175         (QDeclarativeWebView::contentsScale):
176         (QDeclarativeWebView::setContentsScale):
177         (QDeclarativeWebView::elementAreaAt):
178         (QDeclarativeWebPage::QDeclarativeWebPage):
179         (QDeclarativeWebPage::~QDeclarativeWebPage):
180         (QDeclarativeWebPage::chooseFile):
181         (QDeclarativeWebPage::javaScriptAlert):
182         (QDeclarativeWebPage::javaScriptConfirm):
183         (QDeclarativeWebPage::javaScriptPrompt):
184         (QDeclarativeWebPage::viewItem):
185         (QDeclarativeWebPage::createWindow):
186         * declarative/qdeclarativewebview_p.h: Added.
187         (QDeclarativeWebView::):
188         (QDeclarativeWebView::isComponentCompletePublic):
189         (QDeclarativeWebViewAttached::QDeclarativeWebViewAttached):
190         (QDeclarativeWebViewAttached::windowObjectName):
191         (QDeclarativeWebViewAttached::setWindowObjectName):
192         (QDeclarativeWebSettings::QDeclarativeWebSettings):
193         (QDeclarativeWebSettings::standardFontFamily):
194         (QDeclarativeWebSettings::setStandardFontFamily):
195         (QDeclarativeWebSettings::fixedFontFamily):
196         (QDeclarativeWebSettings::setFixedFontFamily):
197         (QDeclarativeWebSettings::serifFontFamily):
198         (QDeclarativeWebSettings::setSerifFontFamily):
199         (QDeclarativeWebSettings::sansSerifFontFamily):
200         (QDeclarativeWebSettings::setSansSerifFontFamily):
201         (QDeclarativeWebSettings::cursiveFontFamily):
202         (QDeclarativeWebSettings::setCursiveFontFamily):
203         (QDeclarativeWebSettings::fantasyFontFamily):
204         (QDeclarativeWebSettings::setFantasyFontFamily):
205         (QDeclarativeWebSettings::minimumFontSize):
206         (QDeclarativeWebSettings::setMinimumFontSize):
207         (QDeclarativeWebSettings::minimumLogicalFontSize):
208         (QDeclarativeWebSettings::setMinimumLogicalFontSize):
209         (QDeclarativeWebSettings::defaultFontSize):
210         (QDeclarativeWebSettings::setDefaultFontSize):
211         (QDeclarativeWebSettings::defaultFixedFontSize):
212         (QDeclarativeWebSettings::setDefaultFixedFontSize):
213         (QDeclarativeWebSettings::autoLoadImages):
214         (QDeclarativeWebSettings::setAutoLoadImages):
215         (QDeclarativeWebSettings::javascriptEnabled):
216         (QDeclarativeWebSettings::setJavascriptEnabled):
217         (QDeclarativeWebSettings::javaEnabled):
218         (QDeclarativeWebSettings::setJavaEnabled):
219         (QDeclarativeWebSettings::pluginsEnabled):
220         (QDeclarativeWebSettings::setPluginsEnabled):
221         (QDeclarativeWebSettings::privateBrowsingEnabled):
222         (QDeclarativeWebSettings::setPrivateBrowsingEnabled):
223         (QDeclarativeWebSettings::javascriptCanOpenWindows):
224         (QDeclarativeWebSettings::setJavascriptCanOpenWindows):
225         (QDeclarativeWebSettings::javascriptCanAccessClipboard):
226         (QDeclarativeWebSettings::setJavascriptCanAccessClipboard):
227         (QDeclarativeWebSettings::developerExtrasEnabled):
228         (QDeclarativeWebSettings::setDeveloperExtrasEnabled):
229         (QDeclarativeWebSettings::linksIncludedInFocusChain):
230         (QDeclarativeWebSettings::setLinksIncludedInFocusChain):
231         (QDeclarativeWebSettings::zoomTextOnly):
232         (QDeclarativeWebSettings::setZoomTextOnly):
233         (QDeclarativeWebSettings::printElementBackgrounds):
234         (QDeclarativeWebSettings::setPrintElementBackgrounds):
235         (QDeclarativeWebSettings::offlineStorageDatabaseEnabled):
236         (QDeclarativeWebSettings::setOfflineStorageDatabaseEnabled):
237         (QDeclarativeWebSettings::offlineWebApplicationCacheEnabled):
238         (QDeclarativeWebSettings::setOfflineWebApplicationCacheEnabled):
239         (QDeclarativeWebSettings::localStorageDatabaseEnabled):
240         (QDeclarativeWebSettings::setLocalStorageDatabaseEnabled):
241         (QDeclarativeWebSettings::localContentCanAccessRemoteUrls):
242         (QDeclarativeWebSettings::setLocalContentCanAccessRemoteUrls):
243         * declarative/qmldir: Added.
244         * docs/qtwebkit.qdocconf:
245
246 2010-06-17  Mark Brand  <mabrand@mabrand.nl>
247
248         Reviewed by Simon Hausmann.
249
250         [Qt] use "win32-g++*" scope to match all MinGW makespecs
251
252         The scope "win32-g++" comes from the name of the makespec. However, it
253         is frequently used to check for MinGW. This works fine as long as
254         win32-g++ is the only makespec for MinGW. Now we need the wildcard
255         to cover "win32-g++-cross" as well.
256
257         * Api/DerivedSources.pro:
258
259 2010-05-28  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
260
261         Reviewed by Simon Hausmann, Antti Koivisto
262
263         [Qt] Add internal Qt Api to configure repaint throttling parameters. 
264         https://bugs.webkit.org/show_bug.cgi?id=38401
265
266         * Api/qwebpage.cpp:
267         (QWebPagePrivate::dynamicPropertyChangeEvent):
268
269 2010-06-16  Alexis Menard <alexis.menard@nokia.com>
270
271         Reviewed by Simon Hausmann.
272
273         [Qt] Fix tiled backing store painting when calling QGraphicsWebView::setPage() after setResizesToContents(true)
274
275         When calling setPage() after setResizesToContents, the value of the property wasn't propagated
276         to the page client. Therefore the visible rect for the tiled backing store was incorrect.
277
278         Simply move the variable assignment into updateResizesToContentsForPage(), which is always called.
279
280         * Api/qgraphicswebview.cpp:
281         (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
282         (QGraphicsWebView::setResizesToContents):
283
284 2010-06-16  Simon Hausmann  <simon.hausmann@nokia.com>
285
286         Rubber-stamped by Tor Arne Vestbø.
287
288         Swap WebGL and SiteSpecificQuirks attributes in the QWebSettings
289         enum, to allow for binary compatibility with qtwebkit-2.0, where
290         WebGL is not in the settings but SiteSpecificQuirks will be.
291
292         * Api/qwebsettings.h:
293
294 2010-06-15  Darin Adler  <darin@apple.com>
295
296         Fix build.
297
298         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
299         (DumpRenderTreeSupportQt::shouldClose): Call loader()->shouldClose().
300
301 2010-06-15  Yael Aharon  <yael.aharon@nokia.com>
302
303         Reviewed by Kenneth Rohde Christiansen.
304
305         [Qt] Rename NotificatioIconWrapper to NotificationWrapper
306         https://bugs.webkit.org/show_bug.cgi?id=40571
307
308         * WebCoreSupport/NotificationPresenterClientQt.cpp:
309         (WebCore::NotificationWrapper::NotificationWrapper):
310         (WebCore::NotificationWrapper::close):
311         (WebCore::NotificationWrapper::title):
312         (WebCore::NotificationWrapper::message):
313         (WebCore::NotificationWrapper::iconData):
314         (WebCore::NotificationWrapper::notificationClosed):
315         (WebCore::NotificationPresenterClientQt::displayNotification):
316         (WebCore::NotificationPresenterClientQt::cancel):
317         (WebCore::NotificationPresenterClientQt::notificationForWrapper):
318         * WebCoreSupport/NotificationPresenterClientQt.h:
319         (WebCore::NotificationWrapper::~NotificationWrapper):
320
321 2010-06-15  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
322
323         Unreviewed, Symbian build fix.
324
325         [Qt] Update the def file with recent new exports.
326
327         * symbian/eabi/QtWebKitu.def:
328
329 2010-06-15  Yael Aharon  <yael.aharon@nokia.com>
330
331         Unreviewed.
332
333         Fix typo in reviewer name in r61187
334
335 2010-06-15  Yael Aharon  <yael.aharon@nokia.com>
336
337         Reviewed by Simon Fraser.
338
339         [Qt] Build fix for Qt minimal after r61121
340         https://bugs.webkit.org/show_bug.cgi?id=40624
341
342         * WebCoreSupport/NotificationPresenterClientQt.cpp:
343         (WebCore::NotificationIconWrapper::NotificationIconWrapper):
344         (WebCore::NotificationIconWrapper::close):
345         (WebCore::NotificationIconWrapper::title):
346         (WebCore::NotificationIconWrapper::message):
347         (WebCore::NotificationIconWrapper::iconData):
348         (WebCore::NotificationIconWrapper::notificationClosed):
349         * WebCoreSupport/NotificationPresenterClientQt.h:
350         (WebCore::NotificationIconWrapper::~NotificationIconWrapper):
351
352 2010-06-14  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
353
354         Unreviewed, Symbian build fix.
355
356         [Qt] Update the def file with recent new exports.
357
358         * symbian/eabi/QtWebKitu.def:
359
360 2010-06-13  Yael Aharon  <yael.aharon@nokia.com>
361
362         Reviewed by Kenneth Rohde Christiansen.
363
364         [Qt] Platform plugin support for Notifications UI
365         https://bugs.webkit.org/show_bug.cgi?id=40005
366
367         Add an interface to the platform plugin to display notifications.
368         Implemented the notification in the example platform plugin. 
369         This interface is enabled by default, but could be turned off with
370         a build flag. The platform plugin should control its own lifecycle,
371         so now the close timer applies only when using the QSystemTrayIcon.
372         That's because QSystemTrayIcon does not inform its caller when it
373         is closed.
374
375         Changed the way NotificationPresenterClientQt is deleted because it
376         is being accessed when GC is deleting the Notification objects.
377         NotificationPresenterClientQt is now detaching itself from the
378         Notifications before it is deleted.
379
380         * Api/qwebkitplatformplugin.h:
381         (QWebNotificationPresenter::QWebNotificationPresenter):
382         (QWebNotificationPresenter::~QWebNotificationPresenter):
383         (QWebKitPlatformPlugin::):
384         * WebCoreSupport/NotificationPresenterClientQt.cpp:
385         (WebCore::NotificationIconWrapper::NotificationIconWrapper):
386         (WebCore::NotificationIconWrapper::title):
387         (WebCore::NotificationIconWrapper::message):
388         (WebCore::NotificationIconWrapper::iconData):
389         (WebCore::NotificationPresenterClientQt::~NotificationPresenterClientQt):
390         (WebCore::NotificationIconWrapper::notificationClosed):
391         (WebCore::NotificationPresenterClientQt::displayNotification):
392         (WebCore::NotificationPresenterClientQt::cancel):
393         (WebCore::NotificationPresenterClientQt::notificationForWrapper):
394         (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue):
395         (WebCore::NotificationPresenterClientQt::detachNotification):
396         * WebCoreSupport/NotificationPresenterClientQt.h:
397         * WebCoreSupport/QtPlatformPlugin.cpp:
398         (WebCore::QtPlatformPlugin::createNotificationPresenter):
399         * WebCoreSupport/QtPlatformPlugin.h:
400         * examples/platformplugin/WebNotificationPresenter.cpp: Added.
401         (WebNotificationWidget::WebNotificationWidget):
402         (WebNotificationWidget::~WebNotificationWidget):
403         (WebNotificationWidget::showNotification):
404         (WebNotificationWidget::event):
405         * examples/platformplugin/WebNotificationPresenter.h: Added.
406         (WebNotificationPresenter::WebNotificationPresenter):
407         (WebNotificationPresenter::~WebNotificationPresenter):
408         (WebNotificationPresenter::showNotification):
409         * examples/platformplugin/WebPlugin.cpp:
410         (WebPlugin::supportsExtension):
411         * examples/platformplugin/WebPlugin.h:
412         (WebPlugin::createNotificationPresenter):
413         * examples/platformplugin/platformplugin.pro:
414         * examples/platformplugin/qwebkitplatformplugin.h:
415         (QWebNotificationPresenter::QWebNotificationPresenter):
416         (QWebNotificationPresenter::~QWebNotificationPresenter):
417         (QWebKitPlatformPlugin::):
418
419 2010-06-14  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
420
421         Reviewed by Laszlo Gombos.
422
423         [Qt] navigator.geolocation support for Qt port
424         https://bugs.webkit.org/show_bug.cgi?id=39724
425
426         Implement ChromeClientQt::requestGeolocationPermissionForFrame() which delegates call to QWebPage::allowGeolocationRequest
427         Layout and unit test cases for the are also added. 
428
429         * Api/qwebpage.cpp:
430         (QWebPage::allowGeolocationRequest):
431         * Api/qwebpage.h:
432         * WebCoreSupport/ChromeClientQt.cpp:
433         (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame):
434         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
435         (DumpRenderTreeSupportQt::setMockGeolocationPosition):
436         (DumpRenderTreeSupportQt::setMockGeolocationError):
437         * WebCoreSupport/DumpRenderTreeSupportQt.h:
438         * tests/qwebpage/tst_qwebpage.cpp:
439         (JSTestPage::shouldInterruptJavaScript):
440         (JSTestPage::allowGeolocationRequest):
441         (JSTestPage::setGeolocationPermission):
442         (tst_QWebPage::geolocationRequestJS):
443
444 2010-06-14  Ilya Tikhonovsky  <loislo@chromium.org>
445
446         Reviewed by Pavel Feldman.
447
448         WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
449         data from inspected page to WebInspector as JSON string via http. The native
450         serialization to JSON string is supported by InspectorValue's classes. This patch
451         has the implementation of sendMessageToFrontend function. WebKit version of it still
452         uses ScriptFunctionCall and will be switched to another transport a little bit later.
453         https://bugs.webkit.org/show_bug.cgi?id=40134
454
455         * WebCoreSupport/InspectorClientQt.cpp:
456         (WebCore::InspectorClientQt::InspectorClientQt):
457         (WebCore::InspectorClientQt::openInspectorFrontend):
458         (WebCore::InspectorClientQt::releaseFrontendPage):
459         (WebCore::InspectorClientQt::sendMessageToFrontend):
460         * WebCoreSupport/InspectorClientQt.h:
461
462 2010-06-13  Charles Wei  <charles.wei@torchmobile.com.cn>
463
464         Reviewed by George Staikos.
465
466         Fix the QtWebKit which doesn't recognize the MIME type of HTML/TEXT in uppercase
467         https://bugs.webkit.org/show_bug.cgi?id=39492
468
469         * WebCoreSupport/FrameLoaderClientQt.cpp:
470         (WebCore::FrameLoaderClientQt::canShowMIMEType):
471
472 2010-06-08  Robert Hogan  <robert@webkit.org>
473
474         Reviewed by Eric Seidel.
475
476         [Qt] Add support for callShouldCloseOnWebView() to DRT
477         https://bugs.webkit.org/show_bug.cgi?id=40330
478
479         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
480         (DumpRenderTreeSupportQt::shouldClose):
481         * WebCoreSupport/DumpRenderTreeSupportQt.h:
482
483 2010-06-12  Dawit Alemayehu  <adawit@kde.org>
484
485         Reviewed by Kenneth Rohde Christiansen.
486
487         Added an attribute to enable/disable site specific quirks mode in WebKit. 
488         The attribute is enabled by default.
489
490         https://bugs.webkit.org/show_bug.cgi?id=40073
491
492         * Api/qwebsettings.cpp:
493         (QWebSettingsPrivate::apply):
494         (QWebSettings::QWebSettings):
495         * Api/qwebsettings.h:
496
497 2010-06-12  Robert Hogan  <robert@webkit.org>
498
499         Reviewed by Kenneth Rohde Christiansen.
500
501         [Qt] Fix tst_qwebframe regression from http://trac.webkit.org/changeset/61062
502
503         Only use cacheableBindingRootObject() if the object has QtOwnership.
504
505         https://bugs.webkit.org/show_bug.cgi?id=40527
506
507         * Api/qwebframe.cpp:
508         (QWebFrame::addToJavaScriptWindowObject):
509
510 2010-06-13  Robert Hogan  <robert@webkit.org>
511
512         Reviewed by Alexey Proskuryakov.
513
514         FrameLoader::clear() clears JS objects that cached pages later rely on
515
516         https://bugs.webkit.org/show_bug.cgi?id=37725
517         https://bugs.webkit.org/show_bug.cgi?id=31626
518
519         Fix the following tests for Qt:
520
521         fast/events/pageshow-pagehide-on-back-cached.html
522         fast/events/pageshow-pagehide-on-back-cached-with-frames.html
523         fast/loader/input-element-page-cache-crash.html
524         fast/dom/Window/timer-resume-on-navigation-back.html
525         loader/go-back-to-different-window-size.html
526         fast/dom/javascript-url-crash-function.html
527         fast/dom/location-new-window-no-crash.html
528         http/tests/security/javascriptURL/xss-ALLOWED-from-javascript-url-window-open.html
529
530         which currently fail because the page's Qt-bindings runtime objects are
531         cleared when navigating away from the page containing them.
532
533         Track Qt-bindings objects in a separate ScriptController::cacheableRootBindingObject().
534         RuntimeObjects tracked by this root object will not get invalidated on page navigations,
535         so they will still be available when the pages containing them are retrieved from the
536         b/f cache.
537
538         This means the Qt bindings objects will only get cleared on Frame::pageDestroyed().
539
540         * Api/qwebframe.cpp:
541         (QWebFrame::addToJavaScriptWindowObject):
542
543 2010-06-12  No'am Rosenthal  <noam.rosenthal@nokia.com>
544
545         Reviewed by Kenneth Rohde Christiansen.
546
547         [Qt] Add documentation to the QtWebkit bridge
548         https://bugs.webkit.org/show_bug.cgi?id=35861
549
550         The previous accepted patch was actually a faulty one; It was hard to trace since it's just a documentation
551         change. The new patch amends that, with the correct snippets and grammar fixes.
552
553         * docs/qtwebkit-bridge.qdoc:
554         * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp:
555         (wrapInFunction):
556
557 2010-06-12  Robert Hogan  <robert@webkit.org>
558
559         Reviewed by Kenneth Rohde Christiansen.
560
561         [Qt] Back-forward list dumping is incorrect
562
563         https://bugs.webkit.org/show_bug.cgi?id=36392
564
565         Support dumping child history items in DRT.
566
567         Unskip:
568
569         fast/loader/frame-src-change-added-to-history.html
570         fast/loader/frame-src-change-not-added-to-history.html
571         fast/loader/frame-location-change-not-added-to-history.html
572
573         * Api/qwebhistory.cpp:
574         (QWebHistoryItemPrivate::core):
575         * Api/qwebhistory.h:
576         * Api/qwebhistory_p.h:
577         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
578         (DumpRenderTreeSupportQt::isTargetItem):
579         (DumpRenderTreeSupportQt::historyItemTarget):
580         (DumpRenderTreeSupportQt::getChildHistoryItems):
581         * WebCoreSupport/DumpRenderTreeSupportQt.h:
582
583 2010-06-11  Jesus Sanchez-Palencia  <jesus@webkit.org>
584
585         Reviewed by Kenneth Rohde Christiansen.
586
587         [Qt] Typo error in QWebPluginFactory Documentation
588         https://bugs.webkit.org/show_bug.cgi?id=40490
589
590         * Api/qwebpluginfactory.cpp:
591
592 2010-06-11  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
593
594         Reviewed by nobody, build fix.
595
596         [Qt] Second fix attempt for the build break introduced by r61002.
597
598         * Api/qwebpage.cpp:
599         (QWebPagePrivate::QWebPagePrivate):
600
601 2010-06-11  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
602
603         Reviewed by nobody, build fix.
604
605         [Qt] Fix build break introduced by r61002.
606
607         * Api/qwebpage.cpp:
608         (QWebPagePrivate::QWebPagePrivate):
609
610 2010-05-31  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
611
612         Reviewed by Simon Hausmann.
613
614         [Qt] Implement the simple text code path.
615         https://bugs.webkit.org/show_bug.cgi?id=40077
616
617         Remove the FONT_FAST_PATH macro and use the Qt's
618         fast text implementation instead of the one of WebKit.
619
620         The Qt::TextBypassShaping flag is used to tell Qt to
621         only use the glyph advances.
622
623         Qt 4.7 is needed to get this flag thus the complex path is always
624         used if QtWebKit is compiled against an earlier version.
625
626         Contrary to the WebKit's implementation, the complex code path
627         is taken if the text is RightToLeft, justified or is formatted
628         with non-zero letter or word spacing.
629
630         * Api/qwebpage.cpp:
631         (QWebPagePrivate::QWebPagePrivate):
632
633 2010-06-10  Yael Aharon  <yael.aharon@nokia.com>
634
635         Reviewed by Kenneth Rohde Christiansen.
636
637         [Qt] Support for loading notification icons
638         https://bugs.webkit.org/show_bug.cgi?id=40004
639
640         Take into use the icon that was loaded for the notification.
641
642         * WebCoreSupport/NotificationPresenterClientQt.cpp:
643         (WebCore::NotificationPresenterClientQt::show):
644
645 2010-06-10  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
646
647         Reviewed by Simon Hausmann.
648
649         [Qt] Memory leak in qwebpage unit test cases
650         https://bugs.webkit.org/show_bug.cgi?id=40405
651
652         * tests/qwebpage/tst_qwebpage.cpp:
653         (tst_QWebPage::infiniteLoopJS):
654
655 2010-06-10  Raine Makelainen  <raine.makelainen@nokia.com>
656
657         Reviewed by Kenneth Rohde Christiansen.
658
659         Impossible to set input method hints based HTML5 input types
660         https://bugs.webkit.org/show_bug.cgi?id=40107
661
662         EditorClientQt to set input method hints for "number", "tel",
663         "email", and "url" HTML input elements.
664
665         Tests for HTML input elements and input method hints added for
666         QGraphicsWebView and QWebView.
667
668         * WebCoreSupport/EditorClientQt.cpp:
669         (WebCore::EditorClientQt::setInputMethodState):
670         * tests/qgraphicswebview/resources/input_types.html: Added.
671         * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
672         (GraphicsWebView::GraphicsWebView):
673         (GraphicsWebView::fireMouseClick):
674         (tst_QGraphicsWebView::focusInputTypes):
675         * tests/qgraphicswebview/tst_qgraphicswebview.qrc: Added.
676         * tests/qwebview/resources/input_types.html: Added.
677         * tests/qwebview/tst_qwebview.cpp:
678         (WebView::fireMouseClick):
679         (tst_QWebView::focusInputTypes):
680         * tests/qwebview/tst_qwebview.qrc:
681
682 2010-06-10  Eric Seidel  <eric@webkit.org>
683
684         Reviewed by Adam Barth.
685
686         Reduce FrameView.h includes to speed up build times
687         https://bugs.webkit.org/show_bug.cgi?id=40408
688
689         * Api/qwebframe.cpp:
690          - Include RenderLayer.h since it's used in this file.
691
692 2010-06-10  Andy Shaw  <andy.shaw@nokia.com>
693
694         Reviewed by Simon Hausmann.
695
696         REGRESSION: [Qt] When dragging onto a page that handles the drag in Javascript it will be a move and not a copy by default
697         https://bugs.webkit.org/show_bug.cgi?id=40401
698
699         The correct pattern in Qt for Dnd events is to use acceptProposedAction() instead
700         of accept().
701
702         * Api/qwebpage.cpp:
703         (QWebPagePrivate::dragEnterEvent):
704         (QWebPagePrivate::dragMoveEvent):
705         (QWebPagePrivate::dropEvent):
706
707 2010-06-09  Pierre Rossi  <pierre.rossi@nokia.com>
708
709         Reviewed by Kenneth Rohde Christiansen.
710
711         QWebPage::findText() does not clear selection when passed empty string
712         https://bugs.webkit.org/show_bug.cgi?id=31779
713
714         * Api/qwebpage.cpp:
715         (QWebPage::findText):
716         * tests/qwebpage/tst_qwebpage.cpp:
717         (tst_QWebPage::findText):
718
719 2010-06-09  Anders Bakken  <agbakken@gmail.com>
720
721         Reviewed by David Levin.
722
723         [Qt] PageClientQt.h has coding-style errors
724         https://bugs.webkit.org/show_bug.cgi?id=40257
725
726         * WebCoreSupport/PageClientQt.h:
727
728 2010-06-09  Anders Bakken  <agbakken@gmail.com>
729
730         Reviewed by David Levin.
731
732         [Qt] InspectorClientQt.cpp has coding-style errors
733         https://bugs.webkit.org/show_bug.cgi?id=40255
734
735         * WebCoreSupport/InspectorClientQt.cpp:
736
737 2010-06-09  Anders Bakken  <agbakken@gmail.com>
738
739         Reviewed by David Levin.
740
741         [Qt] FrameLoaderClientQt.h has coding-style errors
742         https://bugs.webkit.org/show_bug.cgi?id=40251
743
744         * WebCoreSupport/FrameLoaderClientQt.h:
745         (WebCore::FrameLoaderClientQt::dispatchWillSendSubmitEvent):
746
747 2010-06-09  Anders Bakken  <agbakken@gmail.com>
748
749         Reviewed by Kenneth Rohde Christiansen.
750
751         [Qt] EditorClientQt.h has coding-style errors
752         https://bugs.webkit.org/show_bug.cgi?id=40249
753
754         * WebCoreSupport/EditorClientQt.h:
755
756 2010-06-09  Anders Bakken  <agbakken@gmail.com>
757
758         Reviewed by David Levin.
759
760         [Qt] EditCommandQt.cpp/h have coding-style errors
761         https://bugs.webkit.org/show_bug.cgi?id=40248
762
763         * WebCoreSupport/EditCommandQt.cpp:
764         (EditCommandQt::EditCommandQt):
765         (EditCommandQt::~EditCommandQt):
766         (EditCommandQt::redo):
767         (EditCommandQt::undo):
768         * WebCoreSupport/EditCommandQt.h:
769
770 2010-06-09  Anders Bakken  <agbakken@gmail.com>
771
772         Reviewed by David Levin.
773
774         [Qt] DumpRenderTreeSupportQt.cpp has coding-style errors
775         https://bugs.webkit.org/show_bug.cgi?id=40247
776
777         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
778         (DumpRenderTreeSupportQt::firstRectForCharacterRange):
779
780 2010-06-09  Anders Bakken  <agbakken@gmail.com>
781
782         Reviewed by David Levin.
783
784         [Qt] DragClientQt.cpp has coding-style errors
785         https://bugs.webkit.org/show_bug.cgi?id=40246
786
787         * WebCoreSupport/DragClientQt.cpp:
788         (WebCore::DragClientQt::startDrag):
789
790 2010-06-09  Anders Bakken  <agbakken@gmail.com>
791
792         Reviewed by Laszlo Gombos.
793
794         [Qt] ContextMenuClientQt.h has coding-style errors
795         https://bugs.webkit.org/show_bug.cgi?id=40242
796
797         * WebCoreSupport/ContextMenuClientQt.h:
798
799 2010-06-09  Anders Bakken  <agbakken@gmail.com>
800
801         Reviewed by David Levin.
802
803         [Qt] ChromeClientQt.cpp has coding-style errors
804         https://bugs.webkit.org/show_bug.cgi?id=40240
805
806         * WebCoreSupport/ChromeClientQt.cpp:
807         (WebCore::ChromeClientQt::pageRect):
808         (WebCore::ChromeClientQt::createWindow):
809         (WebCore::ChromeClientQt::runJavaScriptAlert):
810         (WebCore::ChromeClientQt::runJavaScriptConfirm):
811         (WebCore::ChromeClientQt::runJavaScriptPrompt):
812         (WebCore::ChromeClientQt::print):
813         (WebCore::ChromeClientQt::attachRootGraphicsLayer):
814         (WebCore::ChromeClientQt::visibleRectForTiledBackingStore):
815
816 2010-06-09  Sheriff Bot  <webkit.review.bot@gmail.com>
817
818         Unreviewed, rolling out r60889.
819         http://trac.webkit.org/changeset/60889
820         https://bugs.webkit.org/show_bug.cgi?id=40365
821
822         gtk bot has some kind of memory corruption (Requested by
823         loislo on #webkit).
824
825         * WebCoreSupport/InspectorClientQt.cpp:
826         (WebCore::InspectorClientQt::InspectorClientQt):
827         (WebCore::InspectorClientQt::openInspectorFrontend):
828         (WebCore::InspectorFrontendClientQt::InspectorFrontendClientQt):
829         (WebCore::InspectorFrontendClientQt::closeWindow):
830         * WebCoreSupport/InspectorClientQt.h:
831
832 2010-06-07  Ilya Tikhonovsky  <loislo@chromium.org>
833
834         Reviewed by Pavel Feldman.
835
836         WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
837         data from inspected page to WebInspector as JSON string via http. The native
838         serialization to JSON string is supported by InspectorValue's classes. This patch
839         has the implementation of sendMessageToFrontend function. WebKit version of it still
840         uses ScriptFunctionCall and will be switched to another transport a little bit later.
841         https://bugs.webkit.org/show_bug.cgi?id=40134
842
843         * WebCoreSupport/InspectorClientQt.cpp:
844         (WebCore::InspectorClientQt::InspectorClientQt):
845         (WebCore::InspectorClientQt::openInspectorFrontend):
846         (WebCore::InspectorClientQt::releaseFrontendPage):
847         (WebCore::InspectorClientQt::sendMessageToFrontend):
848         * WebCoreSupport/InspectorClientQt.h:
849
850 2010-06-08  Antonio Gomes  <tonikitoo@webkit.org>
851
852         Reviewed by Ojan Vafai and Darin Adler.
853
854         Refactor platform dependent editing behavior code out of Settings
855         https://bugs.webkit.org/show_bug.cgi?id=39854
856
857         EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to
858         EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly.
859
860         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
861         (DumpRenderTreeSupportQt::setEditingBehavior):
862
863 2010-06-07  Anders Bakken  <agbakken@gmail.com>
864
865         Reviewed by David Levin.
866
867         [Qt] NotificationPresenterClientQt.cpp has coding-style errors
868         https://bugs.webkit.org/show_bug.cgi?id=40256
869
870         * WebCoreSupport/NotificationPresenterClientQt.cpp:
871         (WebCore::NotificationPresenterClientQt::show):
872
873 2010-06-06  Antonio Gomes  <tonikitoo@webkit.org>, Laszlo Gombos  <laszlo.1.gombos@nokia.com>
874
875         Reviewed by Kenneth Christiansen, Eric Seidel.
876
877         [Qt] Expose the editing behavior setting in DRT to test all editing code paths
878         https://bugs.webkit.org/show_bug.cgi?id=39680
879
880         Make setEditingBehavior() a no-operation if the editingBehavior
881         argument is not recognized to avoid using an uninitialized variable.
882
883         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
884         (DumpRenderTreeSupportQt::setEditingBehavior):
885
886 2010-06-04  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
887
888         Symbian build fix.
889
890         [Qt] Updated the def file with recent new exports.
891
892         * symbian/eabi/QtWebKitu.def:
893
894 2010-06-03  Yael Aharon  <yael.aharon@nokia.com>
895
896         Reviewed by Laszlo Gombos.
897
898         [Qt] Don't send notifications event after the page was navigated away
899         https://bugs.webkit.org/show_bug.cgi?id=40127
900
901         Added a check before sending events to the notification and before logging.
902
903         * WebCoreSupport/NotificationPresenterClientQt.cpp:
904         (WebCore::NotificationPresenterClientQt::cancel):
905         (WebCore::NotificationPresenterClientQt::sendEvent):
906
907 2010-06-02  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
908
909         Reviewed by Shinichiro Hamaji.
910
911         [Qt] Fix compilation with QT_NO_PROPERTIES
912         https://bugs.webkit.org/show_bug.cgi?id=38324
913
914         * Api/qwebpage.cpp:
915         (QWebPage::event):
916         * Api/qwebpage_p.h:
917         * WebCoreSupport/InspectorClientQt.cpp:
918         (WebCore::InspectorClientQt::openInspectorFrontend):
919
920 2010-06-02  Luiz Agostini  <luiz.agostini@openbossa.org>
921
922         Reviewed by Simon Hausmann.
923
924         [Qt] Shared platform plugin
925         https://bugs.webkit.org/show_bug.cgi?id=39968
926
927         Allow several instances of class QtPlatformPlugin to share the QWebKitPlatformPlugin
928         object provided by a plugin.
929
930         Updated plugin interface version number due to ABI breaking change.
931
932         * Api/qwebkitplatformplugin.h:
933         (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
934         * WebCoreSupport/QtPlatformPlugin.cpp:
935         (WebCore::QtPlatformPlugin::load):
936         (WebCore::QtPlatformPlugin::~QtPlatformPlugin):
937         (WebCore::QtPlatformPlugin::plugin):
938         * WebCoreSupport/QtPlatformPlugin.h:
939         * examples/platformplugin/qwebkitplatformplugin.h:
940         (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
941
942 2010-06-02  Raine Makelainen  <raine.makelainen@nokia.com>
943
944         Reviewed by Kenneth Rohde Christiansen.
945
946         [Qt] On Maemo6 platform auto upper case and predictive text input method hints are not disabled for password field.
947         https://bugs.webkit.org/show_bug.cgi?id=40062
948        
949         Introducing Q_WS_MAEMO_6 for Maemo6 specific code. Enabling code that sets input 
950         method hints Qt::ImhNoAutoUppercase and Qt::ImhNoPredictiveText true for Maemo6.
951
952         * WebCoreSupport/EditorClientQt.cpp:
953         (WebCore::EditorClientQt::setInputMethodState):
954
955 2010-06-01  Yael Aharon  <yael.aharon@nokia.com>
956
957         Reviewed by Kenneth Rohde Christiansen.
958
959         [Qt] Fix the lifecycle of notification objects
960         https://bugs.webkit.org/show_bug.cgi?id=40003
961
962         Notification objects are not tightly related to the page that created them,
963         and should be decoupled from the page.
964         Create one NotificationPresenter that handles all notifications.
965         Add ref/deref to the notification objects when they are added/removed from
966         the queue of active notifications. The same technique is used for XMLHttpRequest.
967         Instead of deleting all notifications associated with a page when the page is navigated,
968         delete them on a timer, using the same timeout that QSystemTrayIcon is using.
969         Break up the show() method into smaller methods.
970         Use OwnPtr instead of raw pointer for QSystemTrayIcon.
971         Move creating the QIcon to just before showing it in the QSyetemTrayIcon.
972
973         No new tests as this is just a refactoring. Existing notifications test cover the code.
974
975         * Api/qwebpage.cpp:
976         (QWebPagePrivate::QWebPagePrivate):
977         (QWebPagePrivate::~QWebPagePrivate):
978         * Api/qwebpage_p.h:
979         * WebCoreSupport/ChromeClientQt.cpp:
980         (WebCore::ChromeClientQt::notificationPresenter):
981         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
982         (DumpRenderTreeSupportQt::setNotificationsReceiver):
983         (DumpRenderTreeSupportQt::allowNotificationForOrigin):
984         * WebCoreSupport/DumpRenderTreeSupportQt.h:
985         * WebCoreSupport/FrameLoaderClientQt.cpp:
986         (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
987         * WebCoreSupport/NotificationPresenterClientQt.cpp:
988         (WebCore::NotificationPresenterClientQt::notificationPresenter):
989         (WebCore::NotificationIconWrapper::NotificationIconWrapper):
990         (WebCore::NotificationIconWrapper::~NotificationIconWrapper):
991         (WebCore::NotificationIconWrapper::close):
992         (WebCore::NotificationPresenterClientQt::NotificationPresenterClientQt):
993         (WebCore::NotificationPresenterClientQt::removeClient):
994         (WebCore::NotificationPresenterClientQt::show):
995         (WebCore::NotificationPresenterClientQt::displayNotification):
996         (WebCore::NotificationPresenterClientQt::cancel):
997         (WebCore::NotificationPresenterClientQt::notificationObjectDestroyed):
998         (WebCore::NotificationPresenterClientQt::requestPermission):
999         (WebCore::NotificationPresenterClientQt::sendEvent):
1000         (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue):
1001         (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
1002         (WebCore::NotificationPresenterClientQt::dumpShowText):
1003         * WebCoreSupport/NotificationPresenterClientQt.h:
1004         (WebCore::NotificationPresenterClientQt::addClient):
1005
1006 2010-06-01  Noam Rosenthal  <noam.rosenthal@nokia.com>
1007
1008         Reviewed by Kenneth Rohde Christiansen.
1009
1010         [Qt] Add documentation to the QtWebkit bridge
1011         https://bugs.webkit.org/show_bug.cgi?id=35861
1012
1013         This patch includes comprehensive qdoc documentation for the QtWebkit bridge.
1014
1015         * docs/qtwebkit-bridge.qdoc: Added.
1016         * docs/qtwebkit.qdoc:
1017         * docs/webkitsnippets/doc_src_qtscript.qdoc: Added.
1018         * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp: Added.
1019         (wrapInFunction):
1020
1021 2010-06-01  Raine Makelainen  <raine.makelainen@nokia.com>
1022
1023         Reviewed by Simon Hausmann.
1024
1025         [Qt]: REGRESSION(r58703): QWebSettings::JavascriptCanAccessClipboard has wrong case in "Javascript" part.
1026         https://bugs.webkit.org/show_bug.cgi?id=39878        
1027
1028         QWebSettings::JavaScriptCanAccessClipboard reverted back to
1029         QWebSettings::JavascriptCanAccessClipboard. QWebSettings::DOMPasteAllowed enum removed.
1030
1031         Value of QWebSettings::JavascriptCanAccessClipboard to setDOMPasteAllowed and 
1032         setJavaScriptCanAccessClipboard of WebCore::Settings.
1033
1034         * Api/qwebsettings.cpp:
1035         (QWebSettingsPrivate::apply):
1036         * Api/qwebsettings.h:
1037
1038 2010-06-01  Simon Hausmann  <simon.hausmann@nokia.com>
1039
1040         Reviewed by Laszlo Gombos.
1041
1042         [Qt] Rename versioning .pri file to what Qt's mkspecs/features/qt.pri expects.
1043
1044         * qt_webkit_version.pri: Renamed from WebKit/qt/qtwebkit_version.pri.
1045
1046 2010-05-31  Lyon Chen  <liachen@rim.com>
1047
1048         Reviewed by Kent Tamura.
1049
1050         Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
1051         https://bugs.webkit.org/show_bug.cgi?id=35530
1052
1053         Change enum EAlteration from { MOVE, EXTEND } to { AlterationMove, AlterationExtend } and enum EDirection { FORWARD, BACKWARD, RIGHT, LEFT} to { DirectionForward, DirectionBackward, DirectionRight, DirectionLeft } to avoid macro conflict, and also better coding style conformance.
1054
1055         * WebCoreSupport/EditorClientQt.cpp:
1056         (WebCore::EditorClientQt::handleKeyboardEvent):
1057
1058 2010-05-31  Oswald Buddenhagen  <oswald.buddenhagen@nokia.com>
1059
1060         Reviewed by Simon Hausmann.
1061
1062         [Qt] Escape backslashes in the .pro files
1063
1064         qmake in Qt 4.7 warns about unescaped backspaces and deprecates them.
1065
1066         * Api/DerivedSources.pro:
1067         * docs/docs.pri:
1068
1069 2010-05-30  Lyon Chen  <liachen@rim.com>
1070
1071         Reviewed by Kent Tamura.
1072
1073         This is a coding style cleanup before fixing to bug 35530.
1074
1075         Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts.
1076         https://bugs.webkit.org/show_bug.cgi?id=35530
1077
1078         * WebCoreSupport/EditorClientQt.cpp:
1079         (WebCore::EditorClientQt::registerCommandForUndo):
1080         (WebCore::EditorClientQt::handleKeyboardEvent):
1081
1082 2010-05-29  Dawit Alemayehu  <adawit@kde.org>
1083
1084         Reviewed by Kenneth Rohde Christiansen.
1085
1086         Added a WebAction to stop all pending page refresh/redirect
1087         requests set through the <meta http-equiv="refresh"...> tag.
1088
1089         https://bugs.webkit.org/show_bug.cgi?id=29899
1090
1091         * Api/qwebpage.cpp:
1092         (QWebPage::triggerAction):
1093         * Api/qwebpage.h:
1094         * tests/qwebpage/tst_qwebpage.cpp:
1095         (tst_QWebPage::testStopScheduledPageRefresh):
1096
1097 2010-05-28  Antti Koivisto  <koivisto@iki.fi>
1098
1099         Reviewed by Kenneth Rohde Christiansen.
1100     
1101         Add a missing #if ENABLE(), some null checking.
1102
1103         * Api/qwebpage.cpp:
1104         (QWebPagePrivate::dynamicPropertyChangeEvent):
1105
1106 2010-05-28  Antti Koivisto  <koivisto@iki.fi>
1107
1108         Reviewed by Kenneth Rohde Christiansen.
1109
1110         https://bugs.webkit.org/show_bug.cgi?id=39874
1111         [Qt] Make tiled backing store more configurable
1112     
1113         Make tile size, tile creation delay and tiling area dynamically configurable.
1114
1115         * Api/qwebpage.cpp:
1116         (QWebPagePrivate::dynamicPropertyChangeEvent):
1117
1118 2010-05-28  Yael Aharon  <yael.aharon@nokia.com>
1119
1120         Unreviewed build fix after r60348.
1121
1122         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1123         (DumpRenderTreeSupportQt::setNotificationsReceiver):
1124
1125 2010-05-28  Yael Aharon  <yael.aharon@nokia.com>
1126
1127         Reviewed by Laszlo Gombos.
1128
1129         [Qt] Pass all web notification layout tests
1130         https://bugs.webkit.org/show_bug.cgi?id=39146
1131
1132         Add support for multiple simultaneous notifications.
1133         Add a private callback mechanism to the client for security checks. 
1134         Notifications are disabled if the client does not set the callbacks. 
1135         Support replaceId and cancel.
1136         Send close and display events when needed.   
1137
1138         * Api/qwebpage.cpp:
1139         (QWebPagePrivate::QWebPagePrivate):
1140         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1141         (DumpRenderTreeSupportQt::setNotificationsReceiver):
1142         (DumpRenderTreeSupportQt::allowNotificationForOrigin):
1143         (DumpRenderTreeSupportQt::setCheckPermissionFunction):
1144         (DumpRenderTreeSupportQt::setRequestPermissionFunction):
1145         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1146         * WebCoreSupport/FrameLoaderClientQt.cpp:
1147         (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
1148         * WebCoreSupport/NotificationPresenterClientQt.cpp:
1149         (NotificationIconWrapper::NotificationIconWrapper):
1150         (NotificationIconWrapper::~NotificationIconWrapper):
1151         (NotificationPresenterClientQt::NotificationPresenterClientQt):
1152         (NotificationPresenterClientQt::show):
1153         (NotificationPresenterClientQt::cancel):
1154         (NotificationPresenterClientQt::notificationObjectDestroyed):
1155         (NotificationPresenterClientQt::requestPermission):
1156         (NotificationPresenterClientQt::checkPermission):
1157         (NotificationPresenterClientQt::allowNotificationForOrigin):
1158         (NotificationPresenterClientQt::clearNotificationsList):
1159         (NotificationPresenterClientQt::sendEvent):
1160         * WebCoreSupport/NotificationPresenterClientQt.h:
1161         (WebCore::NotificationPresenterClientQt::~NotificationPresenterClientQt):
1162         (WebCore::NotificationPresenterClientQt::setReceiver):
1163
1164 2010-05-27  Luiz Agostini  <luiz.agostini@openbossa.org>
1165
1166         Reviewed by Kenneth Rohde Christiansen.
1167
1168         [Qt] Platform plugin example
1169         https://bugs.webkit.org/show_bug.cgi?id=39489
1170
1171         Adding a Qt platform plugin example to repository.
1172
1173         * examples/platformplugin/README: Added.
1174         * examples/platformplugin/WebPlugin.cpp: Added.
1175         (Popup::populateList):
1176         (Popup::onItemSelected):
1177         (WebPopup::WebPopup):
1178         (WebPopup::~WebPopup):
1179         (WebPopup::createSingleSelectionPopup):
1180         (WebPopup::createMultipleSelectionPopup):
1181         (WebPopup::createPopup):
1182         (WebPopup::show):
1183         (WebPopup::hide):
1184         (WebPopup::popupClosed):
1185         (WebPopup::itemClicked):
1186         (SingleSelectionPopup::SingleSelectionPopup):
1187         (MultipleItemListDelegate::MultipleItemListDelegate):
1188         (MultipleItemListDelegate::paint):
1189         (MultipleSelectionPopup::MultipleSelectionPopup):
1190         (WebPlugin::supportsExtension):
1191         * examples/platformplugin/WebPlugin.h: Added.
1192         (Popup::Popup):
1193         (WebPlugin::createSelectInputMethod):
1194         * examples/platformplugin/platformplugin.pro: Added.
1195         * examples/platformplugin/qwebkitplatformplugin.h: Copied from WebKit/qt/Api/qwebkitplatformplugin.h.
1196         (QWebSelectData::~QWebSelectData):
1197         (QWebSelectData::):
1198         (QWebSelectMethod::~QWebSelectMethod):
1199         (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
1200         (QWebKitPlatformPlugin::):
1201
1202 2010-05-25  Antonio Gomes  <tonikitoo@webkit.org>
1203
1204         Reviewed by Ojan Vafai.
1205
1206         [Qt] Expose the editing behavior setting in DRT to test all editing code paths
1207         https://bugs.webkit.org/show_bug.cgi?id=39680
1208
1209         Add support to Qt's DRT to setting the editing behavior. Patch is a follow up of
1210         bug 38603, which just stubbed out the Qt bits of it.
1211
1212         * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Implementation of editing behavior control.
1213         (DumpRenderTreeSupportQt::setEditingBehavior):
1214         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1215
1216 2010-05-24  Robert Hogan  <robert@webkit.org>
1217
1218         Reviewed by Laszlo Gombos.
1219
1220         [Qt] DRT Support for removeOriginAccessWhitelistEntry
1221
1222         Unskips http/tests/xmlhttprequest/origin-whitelisting-removal.html
1223
1224         [Qt] DRT Support for removeOriginAccessWhitelistEntry
1225         https://bugs.webkit.org/show_bug.cgi?id=39565
1226
1227         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1228         (DumpRenderTreeSupportQt::removeWhiteListAccessFromOrigin):
1229         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1230
1231 2010-05-24  Darin Adler  <darin@apple.com>
1232
1233         Reviewed by Eric Seidel.
1234
1235         Move view-related functions from Frame to FrameView
1236         https://bugs.webkit.org/show_bug.cgi?id=39366
1237
1238         * Api/qwebframe.cpp:
1239         (QWebFrame::setTextSizeMultiplier): Call functions on FrameView.
1240         (QWebFrame::textSizeMultiplier): Ditto.
1241         (QWebFrame::setZoomFactor): Ditto.
1242         (QWebFrame::zoomFactor): Ditto.
1243         * Api/qwebpage.cpp:
1244         (QWebPage::setContentEditable): Removed call to empty function,
1245         removeEditingStyleFromBodyElement.
1246
1247 2010-05-23  Noam Rosenthal  <noam.rosenthal@nokia.com>
1248
1249         Reviewed by Kenneth Rohde Christiansen.
1250
1251         [Qt] GraphicsLayer: The rocket animation doesn't scroll together with the page
1252         https://bugs.webkit.org/show_bug.cgi?id=39517
1253
1254         A previous fix to this issue was overridden by the PageClientQt refactor. Reapplying.
1255
1256         * WebCoreSupport/PageClientQt.cpp:
1257         (WebCore::PageClientQGraphicsWidget::update):
1258
1259 2010-05-23  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
1260
1261         Reviewed by Kenneth Rohde Christiansen.
1262
1263         [Qt] Update the Symbian version for the user agent
1264         https://bugs.webkit.org/show_bug.cgi?id=38389
1265
1266         Fixes a regression introduced by r58648. Ensure that the "Symbian" string
1267         is only listed one time in the User Agent string.
1268
1269         In addition make an effort to align the User Agent string to already
1270         released WebKit based products for Symbian.
1271
1272         * Api/qwebpage.cpp:
1273         (QWebPage::userAgentForUrl):
1274
1275 2010-05-21  Steve Block  <steveblock@google.com>
1276
1277         Reviewed by Jeremy Orlow.
1278
1279         Add DeviceOrientation and DeviceOrientationClient
1280         https://bugs.webkit.org/show_bug.cgi?id=39479
1281
1282         * Api/qwebpage.cpp:
1283         (QWebPagePrivate::QWebPagePrivate):
1284
1285 2010-05-21  Simon Hausmann  <simon.hausmann@nokia.com>
1286
1287         Symbian build fix.
1288
1289         [Qt] Updated the wins def file with one new export.
1290
1291         The DRT symbols are still missing, but I can't build DRT ;(
1292
1293         * symbian/bwins/QtWebKitu.def:
1294
1295 2010-05-20  Janne Koskinen  <janne.p.koskinen@digia.com>
1296
1297         Reviewed by Kenneth Rohde Christiansen.
1298
1299         [Qt] WINSCW compile fix for qwebframe test
1300         https://bugs.webkit.org/show_bug.cgi?id=38722
1301
1302         WINSCW cannot determine template type up the hierarchy
1303         to common base class.
1304
1305         * tests/qwebframe/tst_qwebframe.cpp:
1306
1307 2010-05-20  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
1308
1309         Reviewed by Kenneth Rohde Christiansen.
1310
1311         Remove unused "old style" private APIs
1312
1313         These symbols were introduced after QtWebKit v4.6
1314         so no-one should be using them
1315
1316         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1317
1318 2010-05-20  Rajiv Ramanasankaran  <rajiv.ramanasankaran@nokia.com>
1319
1320         Reviewed by Simon Hausmann.
1321         
1322         [Qt] QWebPage::inputMethodQuery() returns wrong values for Qt::ImCursorPosition, Qt::ImAnchorPosition
1323         https://bugs.webkit.org/show_bug.cgi?id=38779
1324
1325         The earlier implementation was written with the assumption that in this scenario the 
1326         anchor position always corresponds to the START index and that the current cursor position
1327         always corresponds to the END index in WebKit.
1328
1329         Updated the implementation of QWebPage::inputMethodQuery(Qt::ImCursorPosition) and 
1330         QWebPage::inputMethodQuery(Qt::ImAnchorPosition) for the case where the Editor is not in
1331         composition mode. In the non-composition mode, the Anchor and the Current cursor positions
1332         correspond to the Base and Extent position offsets in WebKit.
1333
1334         Also added the auto-tests for the RIGHT to LEFT and LEFT to RIGHT selections.
1335
1336         * Api/qwebpage.cpp:
1337         (QWebPage::inputMethodQuery): Now returning correct values for Qt::ImCursorPosition and
1338         Qt::ImAnchorPosition when the Editor is not in composition mode. 
1339         * tests/qwebpage/tst_qwebpage.cpp:
1340         (tst_QWebPage::inputMethods): Added auto-tests for RIGHT to LEFT and LEFT to RIGHT selections
1341
1342 2010-05-20  Luiz Agostini  <luiz.agostini@openbossa.org>
1343
1344         Reviewed by Kenneth Rohde Christiansen.
1345
1346         [Qt] Skipping popup focus test for maemo
1347         https://bugs.webkit.org/show_bug.cgi?id=39314
1348
1349         Skipping popup focus test for maemo in qwebframe auto test.
1350
1351         The test method tst_QWebFrame::popupFocus() was testing popup focus AND input
1352         field focus. The input field focus has been removed from the method popupFocus()
1353         and a new test method named inputFieldFocus() has been added. Finally the test 
1354         method popupFocus() has been skipped for maemo.
1355
1356         * tests/qwebframe/tst_qwebframe.cpp:
1357
1358 2010-05-19  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>
1359
1360         Reviewed by Kenneth Rohde Christiansen.
1361
1362         Crash fix in the HistoryController.
1363
1364         The problem was casued by a documented feature of the QWebFrame::setHtml().
1365         The method doesn't affect a browsing history (doesn't create a HistoryItem instance), so
1366         m_currentItem and m_previousItem are not set.
1367
1368         A null check was added.
1369
1370         [Qt] The QWebPage crashes on history.pushState().
1371         https://bugs.webkit.org/show_bug.cgi?id=38840
1372
1373         * tests/qwebhistory/tst_qwebhistory.cpp:
1374         (tst_QWebHistory::popPushState_data):
1375         (tst_QWebHistory::popPushState):
1376
1377 2010-05-19  Antti Koivisto  <koivisto@iki.fi>
1378
1379         Rubber-stamped by Kenneth Rohde Christiansen.
1380
1381         [Qt] TiledBackingStore updates broken when not using resizesToContents mode
1382         https://bugs.webkit.org/show_bug.cgi?id=39359
1383         
1384         Put the back logic that was lost in refactoring.
1385
1386         * WebCoreSupport/ChromeClientQt.cpp:
1387         (WebCore::ChromeClientQt::visibleRectForTiledBackingStore):
1388         * WebCoreSupport/PageClientQt.cpp:
1389         (WebCore::PageClientQGraphicsWidget::graphicsItemVisibleRect):
1390         * WebCoreSupport/PageClientQt.h:
1391         (WebCore::PageClientQWidget::viewResizesToContentsEnabled):
1392         (WebCore::PageClientQGraphicsWidget::viewResizesToContentsEnabled):
1393
1394 2010-05-19  Simon Hausmann  <simon.hausmann@nokia.com>
1395
1396         Symbian build fix.
1397
1398         [Qt] Updated the def file with exports needed for DumpRenderTree.
1399
1400         * symbian/eabi/QtWebKitu.def:
1401
1402 2010-05-19  Denis Dzyubenko <denis.dzyubenko@nokia.com>
1403
1404         Reviewed by Kenneth Rohde Christiansen.
1405
1406         When creating the UA, do not sassmue the language code is a
1407         two-letter iso639-1 code.
1408
1409         * Api/qwebpage.cpp:
1410         (QWebPage::userAgentForUrl):
1411
1412 2010-05-18  Antti Koivisto  <koivisto@iki.fi>
1413
1414         Reviewed by Kenneth Rohde Christiansen.
1415
1416         [Qt] Move visible rect calculation from QGraphicsWebViewPrivate to PageClientQGraphicsWidget
1417         https://bugs.webkit.org/show_bug.cgi?id=39294
1418
1419         * Api/qgraphicswebview.cpp:
1420         * WebCoreSupport/PageClientQt.cpp:
1421         (WebCore::PageClientQGraphicsWidget::graphicsItemVisibleRect):
1422         * WebCoreSupport/PageClientQt.h:
1423
1424 2010-05-18  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
1425
1426         Symbian build fix.
1427
1428         [Qt] Updated the def file with new exports after r59335.
1429
1430         * symbian/eabi/QtWebKitu.def:
1431
1432 2010-05-18  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>
1433
1434         Reviewed by Simon Hausmann.
1435
1436         Fix QWebHistory serialization.
1437
1438         Regression was caused by bug 33224. The streaming function
1439         should generate a documentSequenceNumber for all loaded values.
1440
1441         [Qt] tst_QWebHistory::serialize_2() fails
1442         https://bugs.webkit.org/show_bug.cgi?id=37322
1443
1444         * Api/qwebhistory.cpp:
1445         (operator>>):
1446
1447 2010-05-17  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
1448
1449         Reviewed by Kenneth Rohde Christiansen.
1450
1451         [Qt] Fix compilation with QT_NO_COMBOBOX
1452         https://bugs.webkit.org/show_bug.cgi?id=38324
1453
1454         * WebCoreSupport/ChromeClientQt.cpp:
1455         (WebCore::ChromeClientQt::createSelectPopup):
1456         * WebCoreSupport/QtFallbackWebPopup.cpp:
1457         * WebCoreSupport/QtFallbackWebPopup.h:
1458
1459 2010-05-17  Antti Koivisto  <koivisto@iki.fi>
1460
1461         Reviewed by Kenneth Rohde Christiansen.
1462
1463         https://bugs.webkit.org/show_bug.cgi?id=39218
1464         [Qt] Tiled backing store tiles sometimes flicker when exiting a zoom animation
1465         
1466         Tiles sometimes flicker when exiting a zoom animation. This happens as a result
1467         of the visible rectangle being momentarily out of sync.
1468         
1469         Instead of updating the visible rect by explicitly setting it, pull it through
1470         the client and recompute in WebKit the level.
1471
1472         * Api/qgraphicswebview.cpp:
1473         (QGraphicsWebView::paint):
1474         * WebCoreSupport/ChromeClientQt.cpp:
1475         (WebCore::ChromeClientQt::visibleRectForTiledBackingStore):
1476         * WebCoreSupport/ChromeClientQt.h:
1477
1478 2010-05-16  Robert Hogan  <robert@webkit.org>
1479
1480         Reviewed by Kenneth Rohde Christiansen.
1481
1482         [Qt] Unskip fast/loader/main-document-url-for-non-http-loads.html
1483
1484         Fix FrameLoaderClientQt.cpp to print relative filename paths correctly.
1485
1486         Move qt_* functions in FrameLoaderClientQt, EditorClientQt, and NotificationPresenterClientQt
1487         to DumpRenderTreeSupportQt. Create new functions to replace them in DumpRenderTreeSupportQt.
1488         Support for the old function names is retained until confirmed that no one uses them outside
1489         QtWebKit.
1490
1491         https://bugs.webkit.org/show_bug.cgi?id=38867
1492
1493         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1494         (DumpRenderTreeSupportQt::dumpFrameLoader):
1495         (DumpRenderTreeSupportQt::dumpResourceLoadCallbacks):
1496         (DumpRenderTreeSupportQt::dumpResourceLoadCallbacksPath):
1497         (DumpRenderTreeSupportQt::setWillSendRequestReturnsNullOnRedirect):
1498         (DumpRenderTreeSupportQt::setWillSendRequestReturnsNull):
1499         (DumpRenderTreeSupportQt::setWillSendRequestClearHeaders):
1500         (DumpRenderTreeSupportQt::dumpEditingCallbacks):
1501         (DumpRenderTreeSupportQt::dumpSetAcceptsEditing):
1502         (DumpRenderTreeSupportQt::dumpNotification):
1503         (qt_dump_frame_loader):
1504         (qt_dump_resource_load_callbacks):
1505         (qt_dump_resource_load_callbacks_path):
1506         (qt_set_will_send_request_returns_null_on_redirect):
1507         (qt_set_will_send_request_returns_null):
1508         (qt_set_will_send_request_clear_headers):
1509         (qt_dump_editing_callbacks):
1510         (qt_dump_set_accepts_editing):
1511         (qt_dump_notification):
1512         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1513         * WebCoreSupport/EditorClientQt.cpp:
1514         * WebCoreSupport/EditorClientQt.h:
1515         * WebCoreSupport/FrameLoaderClientQt.cpp:
1516         (drtDescriptionSuitableForTestResult):
1517         * WebCoreSupport/FrameLoaderClientQt.h:
1518         * WebCoreSupport/NotificationPresenterClientQt.cpp:
1519         * WebCoreSupport/NotificationPresenterClientQt.h:
1520
1521 2010-05-16  Robert Hogan  <robert@webkit.org>
1522
1523         Reviewed by Kenneth Rohde Christiansen.
1524
1525         [Qt]Unskip security/set-form-autocomplete-attribute.html
1526
1527         Add support for layoutTestController.elementDoesAutoCompleteForElementWithId().
1528
1529         https://bugs.webkit.org/show_bug.cgi?id=38859
1530
1531         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1532         (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
1533         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1534
1535 2010-05-16  Simon Hausmann  <simon.hausmann@nokia.com>
1536
1537         [Qt] Prospective Qt/Mac build fix.
1538
1539         The friend declaration of QGraphicsWidget confuses gcc and thinks that it's an implicit
1540         forward declaration, moving the class into the WebCore namespace (WebCore::QGraphicsWidget).
1541
1542         The declaration seems useless as no method of QGraphicsWidget is going to call anything
1543         in this class.
1544
1545         * WebCoreSupport/PageClientQt.h:
1546
1547 2010-05-15  Charles Wei  <charles.wei@torchmobile.com.cn>
1548
1549         Reviewed by Simon Hausmann.
1550
1551         This patch fixes the build failure of WebKit on Linux for Qt4.5
1552         https://bugs.webkig.org/show_bug.cgi?id=39108
1553
1554         * Api/qgraphicswebview.cpp:
1555         (QGraphicsWebViewPrivate::syncLayers):
1556         * WebCoreSupport/QtPlatformPlugin.cpp:
1557
1558 2010-05-14  Kent Hansen <kent.hansen@nokia.com>, Jocelyn Turcotte <jocelyn.turcotte@nokia.com>, Tor Arne Vestbø <tor.arne.vestbo@nokia.com>, Henry Haverinen <henry.haverinen@nokia.com>, Jedrzej Nowacki <jedrzej.nowacki@nokia.com>, Andreas Kling <andreas.kling@nokia.com>
1559
1560         Reviewed by Simon Hausmann.
1561
1562         [Qt] Merge overhaul of the QtWebKit API documentation
1563
1564         Numerous improvements in wording, qdoc warning fixes and
1565         clarifications, done in a team work effort.
1566
1567         No functional changes.
1568
1569         * Api/qwebdatabase.cpp:
1570         * Api/qwebelement.cpp:
1571         * Api/qwebframe.cpp:
1572         * Api/qwebhistoryinterface.cpp:
1573         * Api/qwebinspector.cpp:
1574         * Api/qwebkitversion.cpp:
1575         * Api/qwebpage.cpp:
1576         * Api/qwebpluginfactory.cpp:
1577         * Api/qwebsecurityorigin.cpp:
1578         * Api/qwebsettings.cpp:
1579         * Api/qwebsettings.h:
1580         * docs/qtwebkit.qdoc:
1581         * docs/webkitsnippets/qtwebkit_qwebinspector_snippet.cpp:
1582         (wrapInFunction):
1583         * docs/webkitsnippets/webelement/main.cpp:
1584         (findButtonAndClick):
1585         (autocomplete1):
1586         (autocomplete2):
1587         (main):
1588
1589 2010-05-14  Martin Smith  <msmith@trolltech.com>
1590
1591         Reviewed by Simon Hausmann.
1592
1593         Documentation: Fix overview grouping.
1594
1595         * docs/qtwebkit.qdoc:
1596
1597 2010-05-14  Benjamin Poulain  <benjamin.poulain@nokia.com>
1598
1599         Reviewed by Laszlo Gombos.
1600
1601         [QT] Update the Symbian version for the user agent
1602         https://bugs.webkit.org/show_bug.cgi?id=38389
1603
1604         Update the user agent for Symbian^2 to Symbian^4
1605
1606         * Api/qwebpage.cpp:
1607         (QWebPage::userAgentForUrl):
1608
1609 2010-05-14  Dawit Alemayehu  <adawit@kde.org>
1610
1611         Reviewed by Simon Hausmann.
1612
1613         Implemented createJavaAppletWidget to activate Java applet support.
1614
1615         https://bugs.webkit.org/show_bug.cgi?id=33044
1616
1617         * WebCoreSupport/FrameLoaderClientQt.cpp:
1618         (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
1619
1620 2010-05-13  Simon Hausmann  <hausmann@webkit.org>
1621
1622         Symbian build fix.
1623
1624         [Qt] Updated the def file with new exports.
1625
1626         * symbian/eabi/QtWebKitu.def: Add missing gc symbol for QtLauncher
1627
1628 2010-05-13  Simon Hausmann  <simon.hausmann@nokia.com>
1629
1630         Symbian build fix.
1631
1632         [Qt] Updated the def file with new exports.
1633
1634         * symbian/eabi/QtWebKitu.def:
1635
1636 2010-05-11  Diego Gonzalez  <diegohcg@webkit.org>
1637
1638         Reviewed by Kenneth Rohde Christiansen.
1639
1640         [Qt] tst_QWebPage::inputMethods failing on Maemo5
1641         https://bugs.webkit.org/show_bug.cgi?id=38685
1642
1643         Check if the SIP (Software Input Panel) is triggered, which normally
1644         happens on mobile platforms, when a user input form receives a mouse click.
1645
1646         * tests/qwebpage/tst_qwebpage.cpp:
1647         (tst_QWebPage::inputMethods):
1648
1649 2010-05-11  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1650
1651         Reviewed by Laszlo Gombos.
1652
1653         [Qt] REGRESSION(r58497) tst_QGraphicsWebView::crashOnViewlessWebPages() is failing
1654         https://bugs.webkit.org/show_bug.cgi?id=38655
1655
1656         Fix double free by moving the connect till after the resize.
1657
1658         The bug is causes by the fact that a resize of an empty page causes a
1659         layout, thus deleting the qgraphicswebview before setHtml is called,
1660         which then deletes it again, causing a double free.
1661
1662         * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
1663         (tst_QGraphicsWebView::crashOnViewlessWebPages):
1664
1665 2010-05-12  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1666
1667         Reviewed by Laszlo Gombos.
1668
1669         [Qt] Regression(r59152): QGraphicsPageClient is not forwarding scroll and update events to view
1670         https://bugs.webkit.org/show_bug.cgi?id=39016
1671
1672         Some forward calls got lost during the refatory.
1673
1674         * WebCoreSupport/PageClientQt.cpp:
1675         (WebCore::PageClientQGraphicsWidget::scroll):
1676         (WebCore::PageClientQGraphicsWidget::update):
1677
1678 2010-05-13  Antonio Gomes  <tonikitoo@webkit.org>, Yi Shen <yi.4.shen@nokia.com>
1679
1680         Reviewed by Kenneth Christiansen.
1681
1682         [Qt] Add LayoutTestController interface: computedStyleIncludingVisitedInfo
1683         https://bugs.webkit.org/show_bug.cgi?id=37759
1684
1685         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1686         (DumpRenderTreeSupportQt::markerTextForListItem):
1687         (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo):
1688         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1689
1690 2010-05-12  Joe Ligman  <joseph.ligman@nokia.com>
1691
1692         Reviewed by Laszlo Gombos.
1693
1694         [Qt] Nested overflow div does not scroll
1695         https://bugs.webkit.org/show_bug.cgi?id=38641
1696
1697         Modify qtwebkit_webframe_scrollOverflow, if the current node's render layer
1698         does not scroll it will try and scroll the parent's render layer. Also export
1699         qtwebkit_webframe_scrollOverflow so we can use it independently of
1700         qtwebkit_webframe_scrollRecursively
1701
1702         * Api/qwebframe.cpp:
1703         (qtwebkit_webframe_scrollOverflow):
1704         (qtwebkit_webframe_scrollRecursively):
1705
1706 2010-05-12  Antonio Gomes  <tonikitoo@webkit.org>
1707
1708         Reviewed by Kenneth Christiansen.
1709
1710         [Qt] Remove the unneeded check for QWidgetPageClient @QGraphicsWebView::detachCurrentPage
1711         https://bugs.webkit.org/show_bug.cgi?id=38989
1712
1713         Reasons:
1714         - There is no need to check for a QWidgetPageClient-based in QGraphicsWebView.
1715         - The client has always to be deleted anyways.
1716
1717         * Api/qgraphicswebview.cpp:
1718         (QGraphicsWebViewPrivate::detachPage):
1719
1720 2010-05-12  Simon Hausmann  <simon.hausmann@nokia.com>
1721
1722         Reviewed by Laszlo Gombos.
1723
1724         Add a comment to explain the web inspector dynamic property url hook
1725         and that it's there on purpose :)
1726
1727         https://bugs.webkit.org/show_bug.cgi?id=35340
1728
1729         * WebCoreSupport/InspectorClientQt.cpp:
1730         (WebCore::InspectorClientQt::openInspectorFrontend):
1731
1732 2010-05-11  Antonio Gomes  <tonikitoo@webkit.org>
1733
1734         Reviewed by Kenneth Christiansen.
1735
1736         [Qt] Implement a detachCurrentPage method for QGraphicsWebView and QWebView
1737         https://bugs.webkit.org/show_bug.cgi?id=38939
1738
1739         unsetPageIfExists method was renamed to detachCurrentPage method and is now responsible
1740         for doing all the unset logic of page and pageClient references previously done by
1741         the Q{Graphics}WebView destructor(s).
1742
1743         It is a code clean up, no behaviour change.
1744
1745         * Api/qgraphicswebview.cpp:
1746         (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate):
1747         (QGraphicsWebView::~QGraphicsWebView):
1748         (QGraphicsWebViewPrivate::detachCurrentPage):
1749         (QGraphicsWebView::setPage):
1750         * Api/qwebview.cpp:
1751         (QWebViewPrivate::~QWebViewPrivate):
1752         (QWebView::~QWebView):
1753         (QWebViewPrivate::detachCurrentPage):
1754         (QWebView::setPage):
1755
1756 2010-05-11  Antonio Gomes  <tonikitoo@webkit.org>
1757
1758         Reviewed by Kenneth Christiansen.
1759
1760         [Qt] emit initialLayoutCompleted signal from FrameLoaderClientQt::dispatchDidFirstVisuallyNonEmptyLayout
1761         https://bugs.webkit.org/show_bug.cgi?id=38921
1762
1763         Emit initialLayoutCompleted signal from FrameLoaderClientQt::dispatchDidFirstVisuallyNonEmptyLayout
1764         instead of FrameLoaderClientQt::dispatchDidFirstLayout , because the former ensures that a
1765         visual content layed out on the frame.
1766
1767         It matches to QWebFrame::initialLayoutCompleted signal documentation at:
1768
1769         "... This is the first time you will see contents displayed on the frame ..."
1770
1771         * WebCoreSupport/FrameLoaderClientQt.cpp:
1772         (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
1773         (WebCore::FrameLoaderClientQt::dispatchDidFirstVisuallyNonEmptyLayout):
1774
1775 2010-05-11  Jesus Sanchez-Palencia  <jesus@webkit.org>
1776
1777         Reviewed by Kenneth Rohde Christiansen.
1778
1779         Add PageClientQGraphicsWidget specific implementation.
1780         QGraphicsWebViewPrivate doesn't inherit QWebPageClient anymore
1781         and the needed functions were moved to this new PageClient class,
1782         including Tiling and Accelerated Composite specific ones.
1783
1784         [Qt] PageClientQt specific implementation for QGraphicsWidget
1785         https://bugs.webkit.org/show_bug.cgi?id=37866
1786
1787         * Api/qgraphicswebview.cpp:
1788         (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
1789         (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate):
1790         (QGraphicsWebViewPrivate::syncLayers):
1791         (QGraphicsWebViewPrivate::_q_scaleChanged):
1792         (QGraphicsWebView::event):
1793         (QGraphicsWebView::setPage):
1794         (QGraphicsWebView::updateGeometry):
1795         (QGraphicsWebView::setGeometry):
1796         (QGraphicsWebView::setResizesToContents):
1797         * WebCoreSupport/PageClientQt.cpp:
1798         (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
1799         (WebCore::PageClientQGraphicsWidget::scroll):
1800         (WebCore::PageClientQGraphicsWidget::update):
1801         (WebCore::PageClientQGraphicsWidget::createOrDeleteOverlay):
1802         (WebCore::PageClientQGraphicsWidget::syncLayers):
1803         (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
1804         (WebCore::PageClientQGraphicsWidget::markForSync):
1805         (WebCore::PageClientQGraphicsWidget::updateCompositingScrollPosition):
1806         (WebCore::PageClientQGraphicsWidget::updateTiledBackingStoreScale):
1807         (WebCore::PageClientQGraphicsWidget::setInputMethodEnabled):
1808         (WebCore::PageClientQGraphicsWidget::inputMethodEnabled):
1809         (WebCore::PageClientQGraphicsWidget::setInputMethodHint):
1810         (WebCore::PageClientQGraphicsWidget::cursor):
1811         (WebCore::PageClientQGraphicsWidget::updateCursor):
1812         (WebCore::PageClientQGraphicsWidget::palette):
1813         (WebCore::PageClientQGraphicsWidget::screenNumber):
1814         (WebCore::PageClientQGraphicsWidget::ownerWidget):
1815         (WebCore::PageClientQGraphicsWidget::geometryRelativeToOwnerWidget):
1816         (WebCore::PageClientQGraphicsWidget::pluginParent):
1817         (WebCore::PageClientQGraphicsWidget::style):
1818         * WebCoreSupport/PageClientQt.h:
1819         (WebCore::QGraphicsItemOverlay::page):
1820         (WebCore::QGraphicsItemOverlay::boundingRect):
1821         (WebCore::QGraphicsItemOverlay::paint):
1822         (WebCore::QGraphicsItemOverlay::prepareGraphicsItemGeometryChange):
1823         (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
1824         (WebCore::PageClientQGraphicsWidget::isQWidgetClient):
1825         (WebCore::PageClientQGraphicsWidget::allowsAcceleratedCompositing):
1826         (WebCore::PageClientQGraphicsWidget::):
1827
1828 2010-05-09  Noam Rosenthal  <noam.rosenthal@nokia.com>
1829
1830         Reviewed by Kenneth Rohde Christiansen.
1831
1832         [Qt] Crash in QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate when animation were used
1833         https://bugs.webkit.org/show_bug.cgi?id=38574
1834
1835         The fix uses a QWeakPointer for rootGraphicsLayer, protecting from a crash in case the layer is deleted before the QGraphicsWebView.
1836
1837         * Api/qgraphicswebview.cpp:
1838         (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
1839         (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate):
1840         (QGraphicsWebViewPrivate::setRootGraphicsLayer):
1841         (QGraphicsWebViewPrivate::updateCompositingScrollPosition):
1842
1843 2010-05-08  Luiz Agostini  <luiz.agostini@openbossa.org>
1844
1845         Reviewed by Simon Hausmann.
1846
1847         [Qt] Platform plugin
1848         https://bugs.webkit.org/show_bug.cgi?id=38438
1849
1850         Select popups delegate private API. To provide select popup delegates
1851         a plugin that implements QWebKitPlatformPlugin must be found
1852         in QCoreApplication::libraryPaths.
1853
1854         * Api/headers.pri:
1855         * Api/qwebkitplatformplugin.h: Added.
1856         (QWebSelectData::~QWebSelectData):
1857         (QWebSelectData::):
1858         (QWebSelectMethod::~QWebSelectMethod):
1859         (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
1860         (QWebKitPlatformPlugin::):
1861         * WebCoreSupport/ChromeClientQt.cpp:
1862         (WebCore::ChromeClientQt::createSelectPopup):
1863         * WebCoreSupport/ChromeClientQt.h:
1864         * WebCoreSupport/QtPlatformPlugin.cpp: Added.
1865         (WebCore::SelectData::SelectData):
1866         (WebCore::SelectData::itemText):
1867         (WebCore::SelectData::itemToolTip):
1868         (WebCore::SelectData::itemIsEnabled):
1869         (WebCore::SelectData::itemCount):
1870         (WebCore::SelectData::itemIsSelected):
1871         (WebCore::SelectData::multiple):
1872         (WebCore::SelectData::itemType):
1873         (WebCore::SelectInputMethodWrapper::SelectInputMethodWrapper):
1874         (WebCore::SelectInputMethodWrapper::show):
1875         (WebCore::SelectInputMethodWrapper::hide):
1876         (WebCore::SelectInputMethodWrapper::selectItem):
1877         (WebCore::SelectInputMethodWrapper::didHide):
1878         (WebCore::getPluginObject):
1879         (WebCore::QtPlatformPlugin::~QtPlatformPlugin):
1880         (WebCore::QtPlatformPlugin::plugin):
1881         (WebCore::QtPlatformPlugin::createSelectInputMethod):
1882         * WebCoreSupport/QtPlatformPlugin.h: Added.
1883         (WebCore::QtPlatformPlugin::QtPlatformPlugin):
1884
1885 2010-05-08  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
1886
1887         Reviewed by Simon Hausmann.
1888
1889         [Qt] Document a limitation of QWebPage::linkClicked
1890         https://bugs.webkit.org/show_bug.cgi?id=37694
1891
1892         * Api/qwebpage.cpp:
1893
1894 2010-05-02  Simon Hausmann  <hausmann@webkit.org>
1895
1896         [Qt] Unreviewed, QtWebKit versioning for the trunk.
1897
1898         The next version is going to be 2.1, based off the trunk.
1899
1900         * Api/qwebkitglobal.h:
1901
1902 2010-05-07  Simon Hausmann  <simon.hausmann@nokia.com>
1903
1904         Symbian build fix.
1905
1906         [Qt] Updated the def file with absent exports.
1907
1908         * symbian/eabi/QtWebKitu.def:
1909
1910 2010-05-06  Andreas Kling  <andreas.kling@nokia.com>
1911
1912         Reviewed by Simon Hausmann.
1913
1914         [Qt] Patch to fix compilation warnings for QGraphicsWebView
1915         https://bugs.webkit.org/show_bug.cgi?id=37428
1916
1917         Patch by Alexis Menard <alexis.menard@nokia.com>
1918
1919         * Api/qgraphicswebview.cpp:
1920         (QGraphicsWebView::itemChange):
1921
1922 2010-05-06  Simon Hausmann  <simon.hausmann@nokia.com>
1923
1924         Reviewed by Kenneth Rohde Christiansen.
1925
1926         [Qt] Replace public inspector url with private property for QtLauncher
1927         https://bugs.webkit.org/show_bug.cgi?id=35340
1928
1929         Replace the public API with a private dynamic property until this feature
1930         is ready.
1931
1932         * Api/qwebsettings.cpp:
1933         * Api/qwebsettings.h:
1934         * WebCoreSupport/InspectorClientQt.cpp:
1935         (WebCore::InspectorClientQt::openInspectorFrontend):
1936         * symbian/bwins/QtWebKitu.def:
1937         * symbian/eabi/QtWebKitu.def:
1938
1939 2010-05-04  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
1940
1941         Reviewed by Kenneth Rohde Christiansen.
1942
1943         [Qt] QWebPage viewMode property
1944         https://bugs.webkit.org/show_bug.cgi?id=38119
1945
1946         Rename the property from wrt_viewMode to _q_viewMode.
1947
1948         * Api/qwebpage.cpp:
1949         (QWebPagePrivate::dynamicPropertyChangeEvent):
1950         * tests/qwebpage/tst_qwebpage.cpp:
1951         (tst_QWebPage::viewModes):
1952
1953 2010-05-04  Simon Hausmann  <simon.hausmann@nokia.com>
1954
1955         Rubber-stamped by Tor Arne Vestbø.
1956
1957         [Qt] Preserve binary compatibility with qtwebkit-2.0 branch
1958
1959         Moved the WebGL attribute in QWebSettings to the end of the enum,
1960         to ensure that the numeric values of the enum values following it
1961         are the same as in the release branch.
1962
1963         * Api/qwebsettings.h:
1964
1965 2010-05-03  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
1966
1967         Reviewed by Simon Hausmann.
1968
1969         [Qt] Expose HTMLTokenizer yielding parameters
1970         https://bugs.webkit.org/show_bug.cgi?id=37023
1971
1972         Enables to set TimeDelay and ChunkSize for 
1973         HTMLTokenizer.
1974
1975         * Api/qwebpage.cpp:
1976         (QWebPagePrivate::dynamicPropertyChangeEvent):
1977
1978 2010-05-03  Abhishek Arya  <inferno@chromium.org>
1979
1980         Reviewed by Adam Barth.
1981
1982         Add support for controlling clipboard access from javascript.
1983         Clipboard access from javascript is disabled by default.
1984         https://bugs.webkit.org/show_bug.cgi?id=27751
1985
1986         * Api/qwebsettings.cpp:
1987         (QWebSettingsPrivate::apply):
1988         * Api/qwebsettings.h:
1989
1990 2010-05-03  Jens Alfke  <snej@chromium.org>
1991
1992         Reviewed by Darin Fisher.
1993
1994         [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient
1995         https://bugs.webkit.org/show_bug.cgi?id=38397
1996
1997         No tests (functionality is exposed only through native WebKit API.)
1998
1999         * WebCoreSupport/FrameLoaderClientQt.h:
2000         (WebCore::FrameLoaderClientQt::dispatchWillSendSubmitEvent):
2001
2002 2010-05-03  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
2003
2004         Reviewed by Simon Hausmann.
2005
2006         [Qt] Prune dead code in QWebPage
2007
2008         * Api/qwebpage.cpp:
2009
2010 2010-05-02  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
2011
2012         Reviewed by Simon Hausmann.
2013
2014         [Qt] Fix compilation with QT_NO_BEARERMANAGEMENT
2015         https://bugs.webkit.org/show_bug.cgi?id=38324
2016
2017         * Api/qwebsettings.cpp:
2018
2019 2010-04-29  Janne Koskinen  <janne.p.koskinen@digia.com>
2020
2021         Reviewed by Simon Hausmann.
2022
2023         [Qt] QtWebKit versioning added
2024         https://bugs.webkit.org/show_bug.cgi?id=37207
2025
2026         QtWebkit releases separated from Qt release cycle.
2027
2028         * qtwebkit_version.pri: Added.
2029
2030 2010-05-02  Benjamin Poulain  <benjamin.poulain@nokia.com>
2031
2032         Reviewed by Kenneth Rohde Christiansen.
2033
2034         [Qt] QWebPage::userAgentForUrl is terrible API
2035         https://bugs.webkit.org/show_bug.cgi?id=33875
2036
2037         Simplify the creation of the user agent string to avoid some
2038         overhead for each loaded url.
2039
2040         The static part of the user agent is cached so it only have
2041         to be made once.
2042         This creation has been made in order to simplify the code.
2043
2044         The two variable: application name and current language are
2045         set dynamically when needed.
2046         The default locale is non longer created if the widget locale
2047         is used.
2048
2049         * Api/qwebpage.cpp:
2050         (QWebPage::userAgentForUrl):
2051         * tests/qwebpage/tst_qwebpage.cpp:
2052         (tst_QWebPage::userAgentApplicationName):
2053         (tst_QWebPage::userAgentLocaleChange):
2054
2055 2010-05-02  Noam Rosenthal  <noam.rosenthal@nokia.com>
2056
2057         Reviewed by Kenneth Rohde Christiansen.
2058
2059         [Qt] GraphicsLayer: animation incorrect when scrolling
2060         https://bugs.webkit.org/show_bug.cgi?id=38371
2061
2062         This is a regression introduced with the invalidate-on-scroll code path, that uses QGraphicsWebViewPrivate::update()
2063         instead of QGraphicsWebViewPrivate::scroll(). The patch makes sure that the scrolling position is correct on
2064         each content update - this shouldn't have a performance impact - the only overhead is an additional value-test on each update.
2065
2066         Tested by http://www.the-art-of-web.com/css/css-animation/
2067
2068         * Api/qgraphicswebview.cpp:
2069         (QGraphicsWebViewPrivate::update):
2070
2071 2010-05-01  Robert Hogan  <robert@webkit.org>
2072
2073         Reviewed by Simon Hausmann.
2074
2075         [Qt] Add smart paste support
2076
2077         https://bugs.webkit.org/show_bug.cgi?id=38136
2078
2079         * Api/qwebpage.cpp:
2080         (QWebPagePrivate::QWebPagePrivate): Enable smart paste support by default.
2081
2082 2010-04-29  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
2083
2084         Reviewed by Kenneth Rohde Christiansen.
2085
2086         [Qt] Reinstate qt_drt_ symbol exports as of QtWebKit 4.6 release
2087         https://bugs.webkit.org/show_bug.cgi?id=38304
2088
2089         This change provides backward compatibility with some previously
2090         exported private symbols. No new functionality introduced.
2091
2092         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2093         (qt_resumeActiveDOMObjects):
2094         (qt_suspendActiveDOMObjects):
2095         (qt_drt_clearFrameName):
2096         (qt_drt_garbageCollector_collect):
2097         (qt_drt_garbageCollector_collectOnAlternateThread):
2098         (qt_drt_javaScriptObjectsCount):
2099         (qt_drt_numberOfActiveAnimations):
2100         (qt_drt_overwritePluginDirectories):
2101         (qt_drt_pauseAnimation):
2102         (qt_drt_pauseTransitionOfProperty):
2103         (qt_drt_resetOriginAccessWhiteLists):
2104         (qt_drt_run):
2105         (qt_drt_setJavaScriptProfilingEnabled):
2106         (qt_drt_whiteListAccessFromOrigin):
2107         (qt_webpage_groupName):
2108         (qt_webpage_setGroupName):
2109
2110 2010-04-29  Benjamin Poulain  <benjamin.poulain@nokia.com>
2111
2112         Reviewed by Kenneth Rohde Christiansen.
2113
2114         Get rid of forceLayout() on FrameView
2115         https://bugs.webkit.org/show_bug.cgi?id=38199
2116
2117         The function FrameView::forceLayout() is missleading
2118         because it does not actually force the layout, the call is
2119         equivalent to layout().
2120
2121         This patch replace the call to forceLayout() by layout() in Qt
2122         to avoid the misunderstanding/improve readability.
2123
2124         * Api/qwebpage.cpp:
2125         (QWebPagePrivate::dynamicPropertyChangeEvent):
2126         (QWebPage::setPreferredContentsSize):
2127         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2128         (DumpRenderTreeSupportQt::setMediaType):
2129         * WebCoreSupport/FrameLoaderClientQt.cpp:
2130         (WebCore::FrameLoaderClientQt::forceLayout):
2131
2132 2010-04-29  Andreas Kling  <andreas.kling@nokia.com>
2133
2134         Reviewed by Simon Hausmann.
2135
2136         Remove unnecessary call to FrameView::forceLayout() in setViewportSize()
2137         This prevents a double relayout on resize.
2138
2139         https://bugs.webkit.org/show_bug.cgi?id=38179
2140
2141         Thanks to Nate Whetsell <nathan.whetsell@gmail.com> for spotting this.
2142
2143         * Api/qwebpage.cpp:
2144         (QWebPage::setViewportSize):
2145
2146 2010-04-29  Simon Hausmann  <simon.hausmann@nokia.com>
2147
2148         Reviewed by Tor Arne Vestbø.
2149
2150         [Qt] REGRESSION(r57982): tst_qwebpage::showModalDialog() crashes
2151         https://bugs.webkit.org/show_bug.cgi?id=38314
2152
2153         Make sure that there's always a main frame when returning from createWindow()
2154         to the caller in WebCore.
2155
2156         * WebCoreSupport/ChromeClientQt.cpp:
2157         (WebCore::ChromeClientQt::createWindow):
2158
2159 2010-04-28  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
2160
2161         Unreviewed, Qt build fix.
2162
2163         [Qt] Guard the body of the function instead of the function for
2164         exported functions.
2165
2166         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2167         (DumpRenderTreeSupportQt::webInspectorExecuteScript):
2168         (DumpRenderTreeSupportQt::webInspectorClose):
2169         (DumpRenderTreeSupportQt::webInspectorShow):
2170         (DumpRenderTreeSupportQt::setTimelineProfilingEnabled):
2171
2172 2010-04-28  Antonio Gomes  <tonikitoo@webkit.org>, Yi Shen <yi.4.shen@nokia.com>
2173
2174         Reviewed by Simon Hausmann.
2175
2176         [Qt] tst_QWebHistoryInterface::visitedLinks() fails
2177         https://bugs.webkit.org/show_bug.cgi?id=37323
2178
2179         Patch fixes styleProperty method of QWebElement to make use of
2180         CSSComputedStyleDeclaration::computedStyle 'allowVisitedStyle' parameter
2181         and the corresponding failing QWebHistoryInterface::visitedLinks method.
2182
2183         * Api/qwebelement.cpp:
2184         (QWebElement::styleProperty):
2185         * tests/qwebhistoryinterface/tst_qwebhistoryinterface.cpp:
2186         (tst_QWebHistoryInterface::visitedLinks):
2187
2188 2010-04-28  Luiz Agostini  <luiz.agostini@openbossa.org>
2189
2190         Reviewed by Kenneth Rohde Christiansen.
2191
2192         [Qt] QWebPage viewMode property
2193         https://bugs.webkit.org/show_bug.cgi?id=38119
2194
2195         Replacing method qt_wrt_setViewMode by wrt_viewMode property.
2196
2197         * Api/qwebpage.cpp:
2198         (QWebPagePrivate::dynamicPropertyChangeEvent):
2199         (QWebPage::event):
2200         * Api/qwebpage_p.h:
2201         * tests/qwebpage/tst_qwebpage.cpp:
2202         (tst_QWebPage::wrt_viewModes):
2203
2204 2010-04-28  Janne Koskinen  <janne.p.koskinen@digia.com>
2205
2206         Reviewed by Simon Hausmann <simon.hausmann@nokia.com>
2207
2208         [Qt] WINS DEF file freeze
2209
2210         Updated WINSCW def file with added and removed symbols.
2211
2212         * symbian/bwins/QtWebKitu.def:
2213
2214 2010-04-25  Sam Weinig  <sam@webkit.org>
2215
2216         Reviewed by Maciej Stachowiak.
2217
2218         Fix for https://bugs.webkit.org/show_bug.cgi?id=38097
2219         Disentangle initializing the main thread from initializing threading
2220
2221         * Api/qwebpage.cpp:
2222         (QWebPagePrivate::QWebPagePrivate): Add call to initializeMainThread.
2223
2224 2010-04-26  Thiago Macieira  <thiago.macieira@nokia.com>
2225
2226         Reviewed by Simon Hausmann.
2227
2228         [Qt] Fix the include header <qstring.h> -> <QtCore/qstring.h>
2229
2230         The module/header.h style inclusion removes the need to have -I$QTDIR/include/depending-module
2231         in the include search path for the application.
2232
2233         * Api/qwebkitversion.h:
2234
2235 2010-04-26  Bruno Schmidt  <bruno.schmidt@gmail.com>
2236
2237         Reviewed by Kenneth Rohde Christiansen.
2238
2239         [Qt] Exposing an QVariantMap containing QObjectStar to Javascript
2240         causes Segmentation Fault
2241         https://bugs.webkit.org/show_bug.cgi?id=34729
2242
2243         If an QVariantMap containing QObjectStar is added to the to QtWebkit
2244         Javascript, it's use causes Segmentation Fault.
2245         It happens because, in the case QMetaType::QVariantMap, the "root"
2246         object that is inside of a PassRefPtr is passed recursively inside a
2247         loop to recover the content of the map, but the PassRefPtr semantics
2248         prohibit its use inside a loop, so the "root" object mus be passed
2249         using the method "PassRefPtr::get" in order to keep the current
2250         reference.
2251
2252         * tests/qwebframe/tst_qwebframe.cpp:
2253         (MyQObject::MyQObject): new property variantMapProperty
2254         (MyQObject::variantMapProperty): read variantMapProperty
2255         (MyQObject::setVariantMapProperty): write variantMapProperty
2256
2257 2010-04-25  Shinichiro Hamaji  <hamaji@chromium.org>
2258
2259         Reviewed by Simon Hausmann.
2260
2261         [Qt] layoutTestController.counterValueForElementById crashes for a nonexistent ID
2262         https://bugs.webkit.org/show_bug.cgi?id=34573
2263
2264         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2265         (DumpRenderTreeSupportQt::counterValueForElementById):
2266
2267 2010-04-20  Robert Hogan  <robert@webkit.org>
2268
2269         Reviewed by Simon Hausmann.
2270
2271         [Qt] Add more support for textInputController
2272
2273         Add support for selectedRange(), setMarkedText(), insertText(),
2274         and firstRectForCharacterRange().
2275
2276         https://bugs.webkit.org/show_bug.cgi?id=35702
2277
2278         * Api/qwebpage.cpp:
2279         (QWebPagePrivate::inputMethodEvent):
2280         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2281         (DumpRenderTreeSupportQt::selectedRange):
2282         (DumpRenderTreeSupportQt::firstRectForCharacterRange):
2283         * WebCoreSupport/DumpRenderTreeSupportQt.h:
2284         * tests/qwebpage/tst_qwebpage.cpp:
2285         (tst_QWebPage::inputMethods):
2286
2287 2010-04-22  John Pavan  <john.pavan@nokia.com>
2288
2289         Reviewed by Laszlo Gombos.
2290
2291         [Qt] inputMethodQuery returns coordinates in web page coordinates rather than in item coordinates.
2292         https://bugs.webkit.org/show_bug.cgi?id=37163
2293
2294
2295         QWebPage::inputMethodQuery is modified so that it
2296         returns coordinates in the widget's coordinate system.
2297         Tests are added for QGraphicsWebView and QWebView
2298         to verify that this behavior is correct after the webpage
2299         has been scrolled.
2300
2301         * Api/qwebpage.cpp:
2302         (QWebPage::inputMethodQuery):
2303         * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
2304         (tst_QGraphicsWebView::microFocusCoordinates):
2305         * tests/qwebview/tst_qwebview.cpp:
2306         (tst_QWebView::microFocusCoordinates):
2307
2308 2010-04-22  Robert Hogan  <robert@webkit.org>
2309
2310         Reviewed by Simon Hausmann.
2311
2312         [Qt] Fix createPlugin() tests in tst_qwebpage to match behaviour of Qt plugins
2313              when PluginsEnabled is false.
2314
2315         tst_qwebpage should have been updated as part of r56662.
2316         (See https://bugs.webkit.org/show_bug.cgi?id=32196)
2317
2318         Updated documentation of QWebPage::createPlugin and QWebSetting::pluginsEnabled
2319             to match the new behaviour.
2320
2321         * Api/qwebpage.cpp: Update docs.
2322         * Api/qwebsettings.cpp: Update docs.
2323         * tests/qwebpage/tst_qwebpage.cpp:
2324         (createPlugin):
2325         (tst_QWebPage::createPluginWithPluginsEnabled):
2326         (tst_QWebPage::createPluginWithPluginsDisabled):
2327
2328 2010-04-22  Dave Moore  <davemoore@chromium.org>
2329
2330         Reviewed by Dimitri Glazkov.
2331
2332         Added notification when the favicons for a page are changed
2333         from a script.
2334         The Document object will notify the frame loader, which will
2335         notify the client. Implementations of FrameLoaderClient will
2336         have to add one method; dispatchDidChangeIcons().
2337
2338         https://bugs.webkit.org/show_bug.cgi?id=33812
2339
2340         * WebCoreSupport/FrameLoaderClientQt.cpp:
2341         (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
2342         (WebCore::FrameLoaderClientQt::didChangeTitle):
2343         * WebCoreSupport/FrameLoaderClientQt.h:
2344
2345 2010-04-22  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
2346
2347         Reviewed by Kenneth Rohde Christiansen.
2348
2349         [Qt] Remove translatable strings from the hybridPixmap test.
2350         https://bugs.webkit.org/show_bug.cgi?id=37867
2351
2352         * tests/hybridPixmap/widget.ui:
2353
2354 2010-04-22  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
2355
2356         Reviewed by Kenneth Rohde Christiansen.
2357
2358         [Qt] Fix autotests .qrc file paths when built in Qt.
2359
2360         Compiling auto-tests from qt/tests/auto/qweb* produced
2361         failing tests since these .pro files include the
2362         ones in WebKit/qt/tests and the .qrc file was
2363         not added to RESOURCES
2364
2365         * tests/benchmarks/loading/loading.pro:
2366         * tests/benchmarks/painting/painting.pro:
2367         * tests/qgraphicswebview/qgraphicswebview.pro:
2368         * tests/qwebelement/qwebelement.pro:
2369         * tests/qwebframe/qwebframe.pro:
2370         * tests/qwebhistory/qwebhistory.pro:
2371         * tests/qwebhistoryinterface/qwebhistoryinterface.pro:
2372         * tests/qwebinspector/qwebinspector.pro:
2373         * tests/qwebpage/qwebpage.pro:
2374         * tests/qwebplugindatabase/qwebplugindatabase.pro:
2375         * tests/qwebview/qwebview.pro:
2376         * tests/tests.pri:
2377
2378 2010-04-22  Adam Barth  <abarth@webkit.org>
2379
2380         Unreviewed, rolling out r58069.
2381         http://trac.webkit.org/changeset/58069
2382         https://bugs.webkit.org/show_bug.cgi?id=27751
2383
2384         Broke compile on Windows.
2385
2386         * Api/qwebsettings.cpp:
2387         (QWebSettingsPrivate::apply):
2388         * Api/qwebsettings.h:
2389
2390 2010-04-22  Abhishek Arya  <inferno@chromium.org>
2391
2392         Reviewed by Adam Barth.
2393
2394         Add support for controlling clipboard access from javascript.
2395         Clipboard access from javascript is disabled by default.
2396         https://bugs.webkit.org/show_bug.cgi?id=27751
2397
2398         * Api/qwebsettings.cpp:
2399         (QWebSettingsPrivate::apply):
2400         * Api/qwebsettings.h:
2401
2402 2010-04-21  Jesus Sanchez-Palencia  <jesus@webkit.org>
2403
2404         Reviewed by Kenneth Rohde Christiansen.
2405
2406         Add PageClientQWidget implementation based on the old
2407         QWebPageWidgetClient to PageClientQt files. Also fix
2408         QWebPage::setView() to use PageClientQWidget.
2409
2410         [Qt] PageClientQt specific implementation for QWidget
2411         https://bugs.webkit.org/show_bug.cgi?id=37858
2412
2413         * Api/qwebpage.cpp:
2414         (QWebPage::setView):
2415         * WebCoreSupport/PageClientQt.cpp: Added.
2416         (WebCore::PageClientQWidget::scroll):
2417         (WebCore::PageClientQWidget::update):
2418         (WebCore::PageClientQWidget::setInputMethodEnabled):
2419         (WebCore::PageClientQWidget::inputMethodEnabled):
2420         (WebCore::PageClientQWidget::setInputMethodHint):
2421         (WebCore::PageClientQWidget::cursor):
2422         (WebCore::PageClientQWidget::updateCursor):
2423         (WebCore::PageClientQWidget::palette):
2424         (WebCore::PageClientQWidget::screenNumber):
2425         (WebCore::PageClientQWidget::ownerWidget):
2426         (WebCore::PageClientQWidget::geometryRelativeToOwnerWidget):
2427         (WebCore::PageClientQWidget::pluginParent):
2428         (WebCore::PageClientQWidget::style):
2429         * WebCoreSupport/PageClientQt.h: Added.
2430         (WebCore::PageClientQWidget::PageClientQWidget):
2431         (WebCore::PageClientQWidget::isQWidgetClient):
2432
2433 2010-04-21  Jakub Wieczorek  <jwieczorek@webkit.org>
2434
2435         Reviewed by Darin Adler.
2436
2437         List item markers are not always updated after changes in the DOM.
2438         https://bugs.webkit.org/show_bug.cgi?id=37060
2439
2440         * Api/qwebelement.h: Make DumpRenderTreeSupportQt a friend class.
2441         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2442         (DumpRenderTreeSupportQt::markerTextForListItem): Add a private API to get the marker text for a list item.
2443
2444 2010-04-21  Yi Shen  <yi.4.shen@nokia.com>
2445
2446         Reviewed by Simon Hausmann.
2447
2448         [Qt] Check the request empty or not in ChromeClientQt::createWindow()
2449         https://bugs.webkit.org/show_bug.cgi?id=37821
2450
2451         * WebCoreSupport/ChromeClientQt.cpp:
2452         (WebCore::ChromeClientQt::createWindow):
2453
2454 2010-04-21  Shu Chang  <chang.shu@nokia.com>
2455
2456         Reviewed by Simon Hausmann.
2457
2458         [Qt] Fix Symbian build where QT_NO_SYSTEMTRAYICON is defined.
2459         https://bugs.webkit.org/show_bug.cgi?id=37442
2460
2461         * WebCoreSupport/NotificationPresenterClientQt.cpp:
2462         (NotificationPresenterClientQt::show):
2463         * WebCoreSupport/NotificationPresenterClientQt.h:
2464
2465 2010-04-21  Eric Seidel  <eric@webkit.org>
2466
2467         Unreviewed, rolling out r57963.
2468         http://trac.webkit.org/changeset/57963
2469         https://bugs.webkit.org/show_bug.cgi?id=37759
2470
2471         Three tests started crashing on the Qt bot.
2472
2473         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2474         (DumpRenderTreeSupportQt::isCommandEnabled):
2475         * WebCoreSupport/DumpRenderTreeSupportQt.h:
2476
2477 2010-04-21  Yi Shen  <yi.4.shen@nokia.com>
2478
2479         Reviewed by Simon Hausmann.
2480
2481         [Qt] Add LayoutTestController interface: computedStyleIncludingVisitedInfo
2482         https://bugs.webkit.org/show_bug.cgi?id=37759
2483
2484         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2485         (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo):
2486         * WebCoreSupport/DumpRenderTreeSupportQt.h:
2487
2488 2010-04-21  No'am Rosenthal  <noam.rosenthal@nokia.com>
2489
2490         Reviewed by Simon Fraser.
2491
2492         [Qt] Fix or remove the runtime flag for accelerated compositing.
2493         https://bugs.webkit.org/show_bug.cgi?id=37313
2494
2495         This lets the QWebPageClient "veto" the settings value for accelerated compositing.
2496         In this case we allow accelerated compositing only on QGraphicsWebView.
2497
2498         * Api/qgraphicswebview.cpp:
2499         (QGraphicsWebViewPrivate::allowsAcceleratedCompositing):
2500         * WebCoreSupport/ChromeClientQt.cpp:
2501         (WebCore::ChromeClientQt::allowsAcceleratedCompositing):
2502         * WebCoreSupport/ChromeClientQt.h:
2503
2504 2010-04-20  Adam Barth  <abarth@webkit.org>
2505
2506         Unreviewed build fix.
2507
2508         * Api/qwebframe.cpp:
2509         (QWebFrame::setUrl):
2510
2511 2010-04-20  Adam Barth  <abarth@webkit.org>
2512
2513         Reviewed by Eric Seidel.
2514
2515         Factor DocumentWriter out of FrameLoader
2516         https://bugs.webkit.org/show_bug.cgi?id=37175
2517
2518         Update these callsites because the method moved to DocumentWriter.
2519
2520         * WebCoreSupport/FrameLoaderClientQt.cpp:
2521         (WebCore::FrameLoaderClientQt::finishedLoading):
2522         (WebCore::FrameLoaderClientQt::setMainDocumentError):
2523         (WebCore::FrameLoaderClientQt::committedLoad):
2524         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
2525
2526 2010-04-20  Kent Tamura  <tkent@chromium.org>
2527
2528         Reviewed by Darin Adler.
2529
2530         Change a parameter type of chooseIconForFiles()
2531         https://bugs.webkit.org/show_bug.cgi?id=37504
2532
2533         * WebCoreSupport/ChromeClientQt.cpp:
2534         (WebCore::ChromeClientQt::chooseIconForFiles):
2535         * WebCoreSupport/ChromeClientQt.h:
2536
2537 2010-04-19  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
2538
2539         Reviewed by Simon Hausmann.
2540
2541         [Qt] Fix compilation against namespaced Qt.
2542
2543         * WebCoreSupport/ChromeClientQt.h:
2544         * WebCoreSupport/QtFallbackWebPopup.h:
2545
2546 2010-04-18  Robert Hogan  <robert@webkit.org>
2547
2548         Reviewed by Simon Hausmann.
2549
2550         [Qt] Add support for LayoutTestController commands:
2551                    setSmartInsertDeleteEnabled
2552                    setSelectTrailingWhitespaceEnabled
2553                    execCommand
2554                    isCommandEnabled
2555
2556         https://bugs.webkit.org/show_bug.cgi?id=35844
2557
2558         * Api/qwebpage.cpp:
2559         (QWebPagePrivate::QWebPagePrivate):
2560         * Api/qwebpage_p.h:
2561         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2562         (DumpRenderTreeSupportQt::setSmartInsertDeleteEnabled):
2563         (DumpRenderTreeSupportQt::setSelectTrailingWhitespaceEnabled):
2564         (DumpRenderTreeSupportQt::executeCoreCommandByName):
2565         (DumpRenderTreeSupportQt::isCommandEnabled):
2566         * WebCoreSupport/DumpRenderTreeSupportQt.h:
2567         * WebCoreSupport/EditorClientQt.cpp:
2568         (WebCore::EditorClientQt::smartInsertDeleteEnabled):
2569         (WebCore::EditorClientQt::toggleSmartInsertDelete):
2570         (WebCore::EditorClientQt::isSelectTrailingWhitespaceEnabled):
2571         * WebCoreSupport/EditorClientQt.h:
2572
2573 2010-04-15  Kent Hansen  <kent.hansen@nokia.com>
2574
2575         Reviewed by Kenneth Rohde Christiansen.
2576
2577         [Qt] Mark QWebFrame::overloadedSlots autotest as expected failure
2578
2579         https://bugs.webkit.org/show_bug.cgi?id=37319
2580
2581         * tests/qwebframe/tst_qwebframe.cpp:
2582
2583 2010-04-09  Antonio Gomes  <tonikitoo@webkit.org>
2584
2585         Reviewed by Kenneth Christiansen and Tor Arne Vestbø.
2586
2587         REGRESSION(r56552): Broken scrollbars size
2588         https://bugs.webkit.org/show_bug.cgi?id=36853
2589
2590         The regression was caused by r56552, which introduced a fix to bug
2591         webkit.org/b/21300. The bug solved an issue with the resize handle on mac,
2592         but did it in a way that affected all Qt platforms and thus broke the behavior
2593         on non-mac platforms.
2594
2595         This patch makes the mac specific change ifdef'ed and only applied for the mac
2596         platform.
2597
2598         * WebCoreSupport/ChromeClientQt.cpp:
2599         (WebCore::ChromeClientQt::windowResizerRect):
2600
2601 2010-04-15  Bruno Schmidt  <bruno.schmidt@gmail.com>
2602
2603         Reviewed by Kenneth Rohde Christiansen.
2604
2605         [Qt] Null QObjects properties cause Segmentation Fault
2606         https://bugs.webkit.org/show_bug.cgi?id=34730
2607
2608         QObjects exported to the QWebkit javascript with properties that are
2609         a null "QObject*" cause Segmentation Fault.
2610
2611         If an QObject is added to the javascript context and it contains
2612         properties of the type QObject* with NULL value, calling the property
2613         causes Segmentation Fault.
2614
2615         Follow the tests for the corrections done over WebCore.
2616
2617         * tests/qwebframe/tst_qwebframe.cpp:
2618         (MyQObject::MyQObject): init the field m_objectStar
2619         (MyQObject::objectStarProperty): read the Object* prop
2620         (MyQObject::setObjectStarProperty): write the Object* prop
2621         (tst_QWebFrame::getSetStaticProperty): new tests for the new prop
2622
2623 2010-04-14  Luiz Agostini  <luiz.agostini@openbossa.org>
2624
2625         Reviewed by Kenneth Rohde Christiansen.
2626
2627         Changing view mode names due to specification changes
2628         https://bugs.webkit.org/show_bug.cgi?id=37615
2629
2630         test: fast/media/media-feature-wgt-view-mode.html
2631
2632         specification: http://dev.w3.org/2006/waf/widgets-vmmf/
2633
2634         * WebCoreSupport/ChromeClientQt.cpp:
2635         (WebCore::ChromeClientQt::isWindowed):
2636         (WebCore::ChromeClientQt::isFullscreen):
2637         (WebCore::ChromeClientQt::isMaximized):
2638         (WebCore::ChromeClientQt::isMinimized):
2639         * WebCoreSupport/ChromeClientQt.h:
2640
2641 2010-04-14  Luiz Agostini  <luiz.agostini@openbossa.org>
2642
2643         Reviewed by Simon Hausmann.
2644
2645         [Qt] Moving setViewMode from DumpRenderTreeSupportQt to qwebpage.cpp
2646         https://bugs.webkit.org/show_bug.cgi?id=37622
2647
2648         Method qt_wrt_setViewMode was removed from qwebpage.cpp by mistake in r57433
2649         (bug 35844). Moving it back.
2650
2651         * Api/qwebpage.cpp:
2652         (qt_wrt_setViewMode):
2653         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2654         (DumpRenderTreeSupportQt::setMediaType):
2655         * WebCoreSupport/DumpRenderTreeSupportQt.h:
2656
2657 2010-04-14  Andreas Kling  <andreas.kling@nokia.com>
2658
2659         Reviewed by Kenneth Rohde Christiansen.
2660
2661         [Qt] Rendering artifacts on Qt plugins when scrolling the page
2662         https://bugs.webkit.org/show_bug.cgi?id=37152
2663
2664         Because we no longer repaint the entire viewport on scroll,
2665         we must trigger a repaint of QtPluginWidgets when their geometry changes.
2666
2667         * WebCoreSupport/FrameLoaderClientQt.cpp:
2668
2669 2010-04-14  Aaron Boodman  <aa@chromium.org>
2670
2671         Reviewed by David Levin.
2672
2673         Support relative URLs for notifications on Chromium. They weren't working previously because WebCore was inserting
2674         the relative URL into a KURL instance, but when KURL is backed by GURL as it is on Chromium, relative URLs are
2675         unsupported. Fixed by resolving the relative URL first.
2676
2677         https://bugs.webkit.org/show_bug.cgi?id=36623
2678
2679         Adding tests for this is difficult because we don't currently have DRT support for notifications on Mac, only Windows.
2680
2681         * WebCoreSupport/NotificationPresenterClientQt.cpp:
2682         (NotificationPresenterClientQt::show): Return type of NotificationContents::iconURL() changed.
2683
2684 2010-04-13  Timothy Hatcher  <timothy@apple.com>
2685
2686         Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry.
2687         And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists.
2688
2689         SecurityOrigin needs a way to remove individual OriginAccessEntries
2690         https://bugs.webkit.org/show_bug.cgi?id=37449
2691
2692         Reviewed by Dave Hyatt.
2693
2694         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2695         (DumpRenderTreeSupportQt::whiteListAccessFromOrigin):
2696         (DumpRenderTreeSupportQt::resetOriginAccessWhiteLists):
2697
2698 2010-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2699
2700         Unreviewed, rolling out r57468.
2701         http://trac.webkit.org/changeset/57468
2702         https://bugs.webkit.org/show_bug.cgi?id=37433
2703
2704         Broke the world...  Must have applied the patch wrong
2705         (Requested by abarth on #webkit).
2706
2707         * WebCoreSupport/FrameLoaderClientQt.cpp:
2708         (WebCore::FrameLoaderClientQt::finishedLoading):
2709         (WebCore::FrameLoaderClientQt::setMainDocumentError):
2710         (WebCore::FrameLoaderClientQt::committedLoad):
2711         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
2712
2713 2010-04-11  Adam Barth  <abarth@webkit.org>
2714
2715         Reviewed by Eric Seidel.
2716
2717         Factor DocumentWriter out of FrameLoader
2718         https://bugs.webkit.org/show_bug.cgi?id=37175
2719
2720         Update these callsites because the method moved to DocumentWriter.
2721
2722         * WebCoreSupport/FrameLoaderClientQt.cpp:
2723         (WebCore::FrameLoaderClientQt::finishedLoading):
2724         (WebCore::FrameLoaderClientQt::setMainDocumentError):
2725         (WebCore::FrameLoaderClientQt::committedLoad):
2726         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
2727
2728 2010-04-11  Robert Hogan  <robert@webkit.org>
2729
2730         Reviewed by Simon Hausmann.
2731
2732         [Qt] Add setWillSendRequestReturnsNull and setWillSendRequestClearHeader
2733
2734         https://bugs.webkit.org/show_bug.cgi?id=37410
2735
2736         * WebCoreSupport/FrameLoaderClientQt.cpp:
2737         (qt_set_will_send_request_returns_null):
2738         (qt_set_will_send_request_clear_headers):
2739         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
2740
2741 2010-04-10  Robert Hogan  <robert@webkit.org>
2742
2743         Reviewed by Kenneth Rohde Christiansen.
2744
2745         Refactor Qt DRT support in QtWebKit
2746
2747         Move all QT DRT support functions to a static class.
2748
2749         https://bugs.webkit.org/show_bug.cgi?id=35844
2750
2751         * Api/qwebframe.cpp: Remove static functions.
2752         * Api/qwebframe.h: Make DumpRenderTreeSupportQt a friend.
2753         * Api/qwebpage.cpp: Remove static functions.
2754         * Api/qwebpage.h: Make DumpRenderTreeSupportQt a friend.
2755         * Api/qwebsecurityorigin.cpp: Remove static functions.
2756         * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Added.
2757         (DumpRenderTreeSupportQt::DumpRenderTreeSupportQt):
2758         (DumpRenderTreeSupportQt::~DumpRenderTreeSupportQt):
2759         (DumpRenderTreeSupportQt::overwritePluginDirectories):
2760         (DumpRenderTreeSupportQt::workerThreadCount):
2761         (DumpRenderTreeSupportQt::setDumpRenderTreeModeEnabled):
2762         (DumpRenderTreeSupportQt::setFrameFlatteningEnabled):
2763         (DumpRenderTreeSupportQt::webPageSetGroupName):
2764         (DumpRenderTreeSupportQt::webPageGroupName):
2765         (DumpRenderTreeSupportQt::webInspectorExecuteScript):
2766         (DumpRenderTreeSupportQt::webInspectorClose):
2767         (DumpRenderTreeSupportQt::webInspectorShow):
2768         (DumpRenderTreeSupportQt::setTimelineProfilingEnabled):
2769         (DumpRenderTreeSupportQt::hasDocumentElement):
2770         (DumpRenderTreeSupportQt::setJavaScriptProfilingEnabled):
2771         (DumpRenderTreeSupportQt::pauseAnimation):
2772         (DumpRenderTreeSupportQt::pauseTransitionOfProperty):
2773         (DumpRenderTreeSupportQt::pauseSVGAnimation):
2774         (DumpRenderTreeSupportQt::numberOfActiveAnimations):
2775         (DumpRenderTreeSupportQt::clearFrameName):
2776         (DumpRenderTreeSupportQt::javaScriptObjectsCount):
2777         (DumpRenderTreeSupportQt::garbageCollectorCollect):
2778         (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
2779         (DumpRenderTreeSupportQt::counterValueForElementById):
2780         (DumpRenderTreeSupportQt::pageNumberForElementById):
2781         (DumpRenderTreeSupportQt::numberOfPages):
2782         (DumpRenderTreeSupportQt::suspendActiveDOMObjects):
2783         (DumpRenderTreeSupportQt::resumeActiveDOMObjects):
2784         (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
2785         (DumpRenderTreeSupportQt::whiteListAccessFromOrigin):
2786         (DumpRenderTreeSupportQt::resetOriginAccessWhiteLists):
2787         (DumpRenderTreeSupportQt::setDomainRelaxationForbiddenForURLScheme):
2788         (DumpRenderTreeSupportQt::setCaretBrowsingEnabled):
2789         (DumpRenderTreeSupportQt::setMediaType):
2790         (DumpRenderTreeSupportQt::setViewMode):
2791         * WebCoreSupport/DumpRenderTreeSupportQt.h: Added.
2792         * WebCoreSupport/EditorClientQt.h:
2793         * tests/qwebpage/tst_qwebpage.cpp:
2794         (tst_QWebPage::multiplePageGroupsAndLocalStorage):
2795         (tst_QWebPage::inputMethodsTextFormat):
2796         (tst_QWebPage::protectBindingsRuntimeObjectsFromCollector):
2797
2798 2010-04-11  Robert Hogan  <robert@webkit.org>
2799
2800         Reviewed by Simon Hausmann.
2801
2802         [Qt] Update layoutTestController.DumpResourceLoadCallbacks to match other ports.
2803
2804         Unskip  http/tests/xmlhttprequest/abort-should-cancel-load.html
2805                 http/tests/misc/will-send-request-returns-null-on-redirect.html
2806                 fast/loader/user-style-sheet-resource-load-callbacks.html
2807                 http/tests/misc/window-dot-stop.html
2808                 http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow.html
2809                 http/tests/security/XFrameOptions/x-frame-options-deny.html
2810                 http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow.html
2811                 http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny.html
2812                 http/tests/xmlhttprequest/abort-should-cancel-load.html
2813
2814         QNetworkReply::OperationCanceledError has a value of 5, so update expected results accordingly.
2815
2816         https://bugs.webkit.org/show_bug.cgi?id=37237
2817
2818         * WebCoreSupport/FrameLoaderClientQt.cpp:
2819         (qt_set_will_send_request_returns_null_on_redirect):
2820         (drtDescriptionSuitableForTestResult):
2821         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
2822         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
2823         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
2824         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
2825
2826 2010-04-10  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
2827
2828         Reviewed by Kenneth Rohde Christiansen.
2829
2830         [Qt] Implement Desktop Notifications API for QtWebKit
2831         https://bugs.webkit.org/show_bug.cgi?id=35503
2832
2833         Map WebKit notifications to Qt's SystemTray API and
2834         implement DRT tracing.
2835
2836         This patch does not implement the security part of
2837         WebKit notifications.
2838
2839         * Api/qwebpage.cpp:
2840         (QWebPagePrivate::QWebPagePrivate):
2841         * Api/qwebpage.h:
2842         * Api/qwebpage_p.h:
2843         * WebCoreSupport/ChromeClientQt.cpp:
2844         (WebCore::ChromeClientQt::notificationPresenter):
2845         * WebCoreSupport/ChromeClientQt.h:
2846         * WebCoreSupport/NotificationPresenterClientQt.cpp: Added.
2847         (qt_dump_notification):
2848         (NotificationPresenterClientQt::NotificationPresenterClientQt):
2849         (NotificationPresenterClientQt::show):
2850         (NotificationPresenterClientQt::cancel):
2851         (NotificationPresenterClientQt::notificationObjectDestroyed):
2852         (NotificationPresenterClientQt::requestPermission):
2853         (NotificationPresenterClientQt::checkPermission):
2854         * WebCoreSupport/NotificationPresenterClientQt.h: Added.
2855
2856 2010-04-09  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
2857
2858         Reviewed by Simon Hausmann.
2859
2860         [Qt]Fix compile error with QT_NO_IM
2861         https://bugs.webkit.org/show_bug.cgi?id=36533
2862
2863         * WebCoreSupport/QtFallbackWebPopup.cpp:
2864         (WebCore::QtFallbackWebPopupCombo::hidePopup):
2865
2866 2010-04-09  Yi Shen  <yi.4.shen@nokia.com>
2867
2868         Reviewed by Kenneth Rohde Christiansen.
2869
2870         [Qt] tst_QWebFrame::popupFocus() fails
2871         https://bugs.webkit.org/show_bug.cgi?id=37320
2872
2873         The QWebPopup class has been moved & renamed, so tst_QWebFrame::popupFocus() should use
2874         the class name "QComboBox", rather than "WebCore::QWebPopup" to find the popup menu.
2875
2876         * tests/qwebframe/tst_qwebframe.cpp:
2877
2878 2010-04-09  Antonio Gomes  <tonikitoo@webkit.org>
2879
2880         Reviewed by Holger Freyther.
2881
2882         Removing the use of topLevelWidget of QWidget class since it is deprecated/obsolete
2883         since Qt 4.5. window() method is being used instead now.
2884
2885         See http://doc.trolltech.com/4.5/qwidget-obsolete.html#topLevelWidget for more info.
2886
2887         * WebCoreSupport/ChromeClientQt.cpp:
2888         (WebCore::ChromeClientQt::windowRect):
2889         (WebCore::ChromeClientQt::show):
2890         (WebCore::ChromeClientQt::windowResizerRect):
2891
2892 2010-04-09  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
2893
2894         Reviewed by Simon Hausmann.
2895
2896         [Qt] Fix compile error with QT_NO_ACTION
2897         https://bugs.webkit.org/show_bug.cgi?id=36529
2898
2899         Make sure QT_NO_ACTION is not defined to use QAction
2900
2901         * Api/qgraphicswebview.cpp:
2902         (QGraphicsWebView::pageAction):
2903         * Api/qwebpage.cpp:
2904         (QWebPagePrivate::updateAction):
2905         (QWebPage::updatePositionDependentActions):
2906         * Api/qwebpage.h:
2907         * Api/qwebview.cpp:
2908         * Api/qwebview.h:
2909
2910 2010-04-09  Simon Hausmann  <simon.hausmann@nokia.com>
2911
2912         Reviewed by Lars Knoll.
2913
2914         [Qt] tests/qgraphicswebview fails
2915         https://bugs.webkit.org/show_bug.cgi?id=37317
2916
2917         * Api/qwebpage.cpp:
2918         (QWebPage::userAgentForUrl): Don't crash if the ownerWidget is null.
2919
2920 2010-04-08  Benjamin Poulain  <benjamin.poulain@nokia.com>
2921
2922         Reviewed by Simon Hausmann.
2923
2924         [Qt] Warnings when compiling InspectorClientQt.cpp
2925         https://bugs.webkit.org/show_bug.cgi?id=37266
2926
2927         Add a default: for the switch()-case to avoid
2928         warnings.
2929
2930         * WebCoreSupport/InspectorClientQt.cpp:
2931         (WebCore::variantToSetting):
2932
2933 2010-04-01  Antonio Gomes  <tonikitoo@webkit.org>
2934
2935         Reviewed by David Hyatt.
2936
2937         [Qt] REGRESSION:(r50665) QWebFrame::setScrollBarPolicy(Qt::Vertical,Qt::ScrollBarAlwaysOff) has no effect.
2938         https://bugs.webkit.org/show_bug.cgi?id=29431
2939
2940         Make use of the new lock parameter of set{Vertical,Horizontal}ScrollbarMode.
2941
2942         Always added a qt auto test for set scrollbar policy feature.
2943
2944         * Api/qwebframe.cpp:
2945         (QWebFrame::setScrollBarPolicy):
2946         * tests/qwebframe/tst_qwebframe.cpp:
2947         * WebCoreSupport/FrameLoaderClientQt.cpp:
2948         (FrameLoaderClientQt::transitionToCommittedForNewPage):
2949
2950 2010-04-08  Joe Ligman  <joseph.ligman@nokia.com>
2951
2952         Reviewed by Simon Hausmann.
2953
2954         [Qt] WebKit crashes while input text through input method.
2955         The formatted text underline painting crashes when painting with invalid indexes.
2956         https://bugs.webkit.org/show_bug.cgi?id=36870
2957
2958         * Api/qwebpage.cpp:
2959         (QWebPagePrivate::inputMethodEvent):
2960         * tests/qwebpage/tst_qwebpage.cpp:
2961         (tst_QWebPage::inputMethodsTextFormat_data):
2962         (tst_QWebPage::inputMethodsTextFormat):
2963
2964 2010-04-08  Joe Ligman  <joseph.ligman@nokia.com>
2965
2966         Reviewed by Simon Hausmann.
2967
2968         [Qt] qtwebkit_webframe_scrollRecursively scrolls when body.style.overflow="hidden"
2969         https://bugs.webkit.org/show_bug.cgi?id=36674
2970
2971         The scrolling check was based on the frameview's scrolloffset, and
2972         maximumScrollPosition, which does not acknowledge the overflow properties.
2973
2974         I am now basing the scrolling off the scrollbar position. The scrollbars are
2975         affected by the overflow properties indicating when not to scroll. The scrollbar
2976         positions also continue to work for CSS ::-webkit-scrollbar styles.
2977
2978         * Api/qwebframe.cpp:
2979         (qtwebkit_webframe_scrollRecursively):
2980
2981 2010-04-07  Andrey Kosyakov  <caseq@chromium.org>
2982
2983         Reviewed by Yury Semikhatsky.
2984
2985         Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest()
2986         https://bugs.webkit.org/show_bug.cgi?id=36949
2987
2988         * WebCoreSupport/FrameLoaderClientQt.cpp:
2989         * WebCoreSupport/FrameLoaderClientQt.h:
2990
2991 2010-04-07  Dawit Alemayehu  <adawit@kde.org>
2992
2993         Reviewed by Simon Hausmann.
2994
2995         https://bugs.webkit.org/show_bug.cgi?id=36827
2996
2997         Updated the WebCore::shouldTreatAsAttachement function call with the
2998         new more generic replacement WebCore::contentDispositionType.
2999
3000         See comments 39-42 in https://bugs.webkit.org/show_bug.cgi?id=36395
3001
3002         * WebCoreSupport/FrameLoaderClientQt.cpp:
3003         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
3004
3005 2010-04-07  Andreas Kling  <andreas.kling@nokia.com>
3006
3007         Reviewed by Simon Hausmann.
3008
3009         [Qt] When providing a widget for the PDF mime type it will cause a crash
3010
3011         m_pluginView may actually be a Widget (for embedded Qt widgets),
3012         so always check isPluginView() before calling PluginView specific methods.
3013
3014         https://bugs.webkit.org/show_bug.cgi?id=29450
3015
3016         * WebCoreSupport/FrameLoaderClientQt.cpp:
3017         (WebCore::FrameLoaderClientQt::finishedLoading):
3018         (WebCore::FrameLoaderClientQt::setMainDocumentError):
3019         (WebCore::FrameLoaderClientQt::committedLoad):
3020
3021 2010-04-06  Diego Gonzalez  <diego.gonzalez@openbossa.org>
3022
3023         Reviewed by Simon Hausmann.
3024
3025         [Qt] Add mechanism to detect QtWebKit 2.0 via the preprocessor
3026         https://bugs.webkit.org/show_bug.cgi?id=36538
3027
3028         * Api/qwebkitglobal.h:
3029
3030 2010-04-02  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
3031
3032         Reviewed by Kenneth Rohde Christiansen.
3033
3034         [Qt] [Symbian] Rebaseline Symbian def file
3035         https://bugs.webkit.org/show_bug.cgi?id=37038
3036
3037         Switch the ordinal numbers for qtwebkit_webframe_scrollRecursively
3038         and QWebInspector::closeEvent to match QtWebkit 4.6 branch
3039
3040         Fix the signature for qt_drt_setFrameFlatteningEnabled
3041         after r56718.
3042
3043         Add new QtWebKit API symbols introduced not listed in the file yet.
3044
3045         * symbian/eabi/QtWebKitu.def:
3046
3047 2010-03-30  Antonio Gomes  <tonikitoo@webkit.org>
3048
3049         Reviewed by Adam Treat.
3050
3051         Stored focused frame and document in a vars, instead of querying for them many times.
3052
3053         * Api/qwebpage.cpp:
3054         (QWebPagePrivate::mousePressEvent(QEvent* ev)):
3055         (QWebPagePrivate::mousePressEvent(QGraphicsSceneMouseEvent* ev):
3056
3057 2010-04-02  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
3058
3059         Reviewed by Eric Seidel.
3060
3061         [Qt]Fix compile error with QT_NO_SETTINGS
3062         https://bugs.webkit.org/show_bug.cgi?id=36533
3063
3064         If QT_NO_SETTINGS is defined, QSettings is not available.
3065
3066         * WebCoreSupport/InspectorClientQt.cpp:
3067         (WebCore::InspectorClientQt::populateSetting):
3068         (WebCore::InspectorClientQt::storeSetting):
3069
3070 2010-04-02  Luiz Agostini  <luiz.agostini@openbossa.org>
3071
3072         Reviewed by Kenneth Rohde Christiansen.
3073
3074         [Qt] Maemo5 theme - customized popup for <select multiple> elements
3075         https://bugs.webkit.org/show_bug.cgi?id=36368
3076
3077         Using QtMaemoWebPopup instead of QtFallbackWebPopup for Maemo.
3078
3079         * WebCoreSupport/ChromeClientQt.cpp:
3080         (WebCore::ChromeClientQt::createSelectPopup):
3081         * WebCoreSupport/QtFallbackWebPopup.cpp:
3082         (WebCore::QtFallbackWebPopup::show):
3083         (WebCore::QtFallbackWebPopup::populate):
3084
3085 2010-04-01  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
3086
3087         Reviewed by Kenneth Rohde Christiansen.
3088
3089         Add Single and Multiple Selection Popup for Maemo 5.
3090
3091         [Qt] Maemo5 theme - popup dialogs
3092         https://bugs.webkit.org/show_bug.cgi?id=36789
3093
3094         * WebCoreSupport/QtMaemoWebPopup.cpp:
3095         (WebCore::Maemo5Popup::populateList):
3096         (WebCore::Maemo5Popup::onItemSelected):
3097         (WebCore::QtMaemoWebPopup::createSingleSelectionPopup):
3098         (WebCore::QtMaemoWebPopup::createMultipleSelectionPopup):
3099         (WebCore::Maemo5SingleSelectionPopup::Maemo5SingleSelectionPopup):
3100         (WebCore::MultipleItemListDelegate::MultipleItemListDelegate):
3101         (WebCore::MultipleItemListDelegate::paint):
3102         (WebCore::Maemo5MultipleSelectionPopup::Maemo5MultipleSelectionPopup):
3103         * WebCoreSupport/QtMaemoWebPopup.h:
3104
3105 2010-03-31  Marcus Bulach  <bulach@chromium.org>
3106
3107         Reviewed by Jeremy Orlow.
3108
3109         Adds Geolocation param for cancelGeolocationPermissionRequestForFrame.
3110         https://bugs.webkit.org/show_bug.cgi?id=35031
3111
3112         * WebCoreSupport/ChromeClientQt.h:
3113         (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
3114
3115 2010-03-31  Antti Koivisto  <koivisto@iki.fi>
3116
3117         Reviewed by Kenneth Rohde Christiansen.
3118
3119         https://bugs.webkit.org/show_bug.cgi?id=36446
3120         [Qt] QWebSettings::TiledBackingStoreEnabled attribute lacks documentation and default value
3121
3122         * Api/qgraphicswebview.cpp:
3123         * Api/qwebsettings.cpp:
3124         (QWebSettings::QWebSettings):
3125
3126 2010-03-30  Gavin Barraclough  <barraclough@apple.com>
3127
3128         Rubber stamped by Sam Weinig.
3129
3130         https://bugs.webkit.org/show_bug.cgi?id=36866
3131         Move CString to WTF
3132
3133         * Api/qwebelement.cpp:
3134
3135 2010-03-30  Joe Ligman  <joseph.ligman@nokia.com>
3136
3137         Reviewed by Kenneth Rohde Christiansen.
3138
3139         [Qt] QGraphicsScene mousePressEvent does not set the clickCausedFocus flag
3140         https://bugs.webkit.org/show_bug.cgi?id=35259
3141
3142         The clickCausedFocus flag is not being set in method
3143         mousePressEvent(QGraphicsSceneMouseEvent* ev). This flag is used 
3144         in conjunction with QStyle::RSIP_OnMouseClickAndAlreadyFocused when
3145         deciding to launch the software input panel.
3146
3147         * Api/qwebpage.cpp:
3148         (QWebPagePrivate::mousePressEvent):
3149
3150 2010-03-30  Luiz Agostini  <luiz.agostini@openbossa.org>
3151
3152         Reviewed by Kenneth Rohde Christiansen.
3153
3154         [Qt] Maemo5 theme - QtMaemoWebPopup class
3155         https://bugs.webkit.org/show_bug.cgi?id=36790
3156
3157         A new QtAbstractWebPopup descendant class to be used for maemo menu lists.
3158         This is the first step. The next step will be the dialogs implementation that
3159         will come in bug 36789 and finally to use QtMaemoWebPopup instead of QtFallbackWebPopup
3160         that will come in bug 36368.
3161
3162         * WebCoreSupport/QtMaemoWebPopup.cpp: Added.
3163         (WebCore::QtMaemoWebPopup::QtMaemoWebPopup):
3164         (WebCore::QtMaemoWebPopup::~QtMaemoWebPopup):
3165         (WebCore::QtMaemoWebPopup::createSingleSelectionPopup):
3166         (WebCore::QtMaemoWebPopup::createMultipleSelectionPopup):
3167         (WebCore::QtMaemoWebPopup::createPopup):
3168         (WebCore::QtMaemoWebPopup::show):
3169         (WebCore::QtMaemoWebPopup::hide):
3170         (WebCore::QtMaemoWebPopup::popupClosed):
3171         (WebCore::QtMaemoWebPopup::itemClicked):
3172         * WebCoreSupport/QtMaemoWebPopup.h: Added.
3173         (WebCore::Maemo5Popup::Maemo5Popup):
3174
3175 2010-03-29  Dawit Alemayehu  <adawit@kde.org>
3176
3177         Reviewed by Simon Hausmann.
3178
3179         [Qt] Added support for handling the HTTP "Content-Disposition" header.
3180
3181         https://bugs.webkit.org/show_bug.cgi?id=36395
3182
3183         Whenever a server response contains a "Content-Disposition: attachment..." header, 
3184         treat the request as a download and emit the unsupportedContent signal.
3185
3186         * Api/qwebpage.cpp:
3187         * WebCoreSupport/FrameLoaderClientQt.cpp:
3188         (WebCore::FrameLoaderClientQt::download):
3189         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
3190
3191 2010-03-22  Kenneth Rohde Christiansen  <kenneth@webkit.org>
3192
3193         Reviewed by Simon Fraser.
3194
3195         Add support for Widgets 1.0: View Mode Media Feature
3196         https://bugs.webkit.org/show_bug.cgi?id=35446
3197
3198         Add an internal Qt API for changing the view mode media feature
3199         (http://www.w3.org/TR/widgets-vmmf/).
3200
3201         * Api/qwebpage.cpp:
3202         (qt_wrt_setViewMode):
3203         (QWebPagePrivate::priv):
3204         * Api/qwebpage_p.h:
3205         * WebCoreSupport/ChromeClientQt.cpp:
3206         (WebCore::ChromeClientQt::isDocked):
3207         (WebCore::ChromeClientQt::isFloating):
3208         (WebCore::ChromeClientQt::isApplication):
3209         (WebCore::ChromeClientQt::isFullscreen):
3210         * WebCoreSupport/ChromeClientQt.h:
3211
3212 2010-03-29  Kenneth Rohde Christiansen  <kenneth@webkit.org>
3213
3214         Reviewed by Antti Koivisto.
3215
3216         Use 'Mobile Safari' instead of 'Safari' on mobile Qt platforms.
3217
3218         * Api/qwebpage.cpp:
3219         (QWebPage::userAgentForUrl):
3220
3221 2010-03-29  Simon Hausmann  <simon.hausmann@nokia.com>
3222
3223         Reviewed by Tor Arne Vestbø.
3224
3225         [Qt] unit tests don't compile inside of Qt
3226
3227         https://bugs.webkit.org/show_bug.cgi?id=36756
3228
3229         * tests/tests.pri: Don't do the target substitution inside Qt and find the sources
3230         through VPATH instead of relying on the location of the .pro file exclusively.
3231
3232 2010-03-26  Kenneth Rohde Christiansen  <kenneth@webkit.org>
3233
3234         Reviewed by Antti Koivisto.
3235
3236         Change due to renaming of frame flattening setting.
3237
3238         * Api/qwebpage.cpp:
3239         (qt_drt_setFrameFlatteningEnabled):
3240         * Api/qwebsettings.cpp:
3241         (QWebSettingsPrivate::apply):
3242         * symbian/eabi/QtWebKitu.def:
3243
3244 2010-03-28  Alexey Proskuryakov  <ap@apple.com>
3245
3246         Build fix. Include WindowsKeyboardCodes.h instead of KeyboardCodes.h.
3247
3248         * WebCoreSupport/EditorClientQt.cpp:
3249
3250 2010-03-26  Olivier Goffart  <ogoffart@trolltech.com>
3251
3252         Reviewed by Simon Hausmann.
3253
3254         [Qt] Compile with QT_USE_FAST_OPERATOR_PLUS
3255
3256         * WebCoreSupport/InspectorClientQt.cpp:
3257         (WebCore::InspectorClientQt::populateSetting):
3258         (WebCore::InspectorClientQt::storeSetting):
3259
3260 2010-03-26  David Boddie  <dboddie@trolltech.com>
3261
3262         Reviewed by Simon Hausmann.
3263
3264         [Qt] Doc: Simplified Commercial Editions for Qt 4.7.
3265
3266         * docs/qtwebkit.qdoc:
3267
3268 2010-03-26  Simon Hausmann  <simon.hausmann@nokia.com>
3269
3270         Symbian build fix.
3271
3272         [Qt] Updated the def file with new exports used by QtLauncher.
3273
3274         * symbian/eabi/QtWebKitu.def:
3275
3276 2010-03-25  Yael Aharon  <yael.aharon@nokia.com>
3277
3278         Reviewed by Kenneth Rohde Christiansen.
3279
3280         [Qt] QtLauncher crashes on Mac OS and Linux when exiting with QGraphicsView mode enabled
3281         https://bugs.webkit.org/show_bug.cgi?id=35251
3282
3283         Followed the way QWebView registers for the signal QWebPage::destroyed(), to prevent
3284         QGraphicsWebView from referencing QWebPage after it was deleted.        
3285
3286         * Api/qgraphicswebview.cpp:
3287         (QGraphicsWebViewPrivate::_q_pageDestroyed):
3288         (QGraphicsWebView::setPage):
3289         * Api/qgraphicswebview.h:
3290
3291 2010-03-25  Kent Hansen  <kent.hansen@nokia.com>
3292
3293         Reviewed by Simon Hausmann.
3294
3295         [Qt] QWebFrame::pageChanged() signal is not documented
3296         https://bugs.webkit.org/show_bug.cgi?id=36609
3297
3298         * Api/qwebframe.cpp:
3299
3300 2010-03-25  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
3301
3302         Reviewed by Simon Hausmann.
3303
3304         [Qt] Implement ChromeClient::windowResizerRect()
3305
3306         https://bugs.webkit.org/show_bug.cgi?id=21300
3307
3308         We assume the resize corner to be in the lower right corner of
3309         the window and having the width and height of the scrollbars.
3310
3311         The helper function geometryRelativeToOwnerWidget() in the page
3312         client is used to clip the resize rect to the actual size of the
3313         viewport, not the size of the QGraphicsView.
3314
3315         * Api/qgraphicswebview.cpp:
3316         * Api/qwebpage.cpp:
3317         * WebCoreSupport/ChromeClientQt.cpp:
3318
3319 2010-03-25  Shu Chang  <chang.shu@nokia.com>
3320
3321         Reviewed by Simon Hausmann.
3322
3323         [Qt] Added documentation for delete button.
3324         https://bugs.webkit.org/show_bug.cgi?id=31560
3325
3326         * Api/qwebsettings.cpp:
3327
3328 2010-03-25  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
3329
3330         Reviewed by Eric Seidel.
3331
3332         [Qt]Fix compile error with QT_NO_DESKTOPSERVICES
3333         https://bugs.webkit.org/show_bug.cgi?id=36533
3334
3335         * Api/qwebsettings.cpp:
3336         (QWebSettings::enablePersistentStorage):
3337
3338 2010-03-25  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
3339
3340         Reviewed by Eric Seidel.
3341
3342         [Qt]Fix compile error with QT_NO_DEBUG_STREAM
3343         https://bugs.webkit.org/show_bug.cgi?id=36533
3344
3345         * Api/qgraphicswebview.cpp:
3346         (QGraphicsWebViewPrivate::graphicsItemVisibleRect):
3347
3348 2010-03-25  Kenneth Rohde Christiansen  <kenneth@webkit.org>
3349
3350         Reviewed by Eric Seidel.
3351
3352         Make QWebPage not depend on view() but use the client->ownerWidget()
3353         instead. Also, handle the case where there is not page client.
3354
3355         * Api/qwebpage.cpp:
3356         (QWebPagePrivate::createContextMenu):
3357         (QWebPagePrivate::keyPressEvent):
3358         (QWebPage::javaScriptAlert):
3359         (QWebPage::javaScriptConfirm):
3360         (QWebPage::javaScriptPrompt):
3361         (QWebPage::shouldInterruptJavaScript):
3362         (QWebPage::createWindow):
3363         (QWebPage::action):
3364         (QWebPage::extension):
3365         (QWebPage::chooseFile):
3366         (QWebPage::userAgentForUrl):
3367
3368 2010-03-24  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
3369
3370         Reviewed by Kenneth Rohde Christiansen.
3371
3372         Add the FrameFlatteningEnabled WebAttribute to QWebSettings.
3373
3374         [Qt] Missing QWebSettings for Frame Flattening
3375         https://bugs.webkit.org/show_bug.cgi?id=36553
3376
3377         * Api/qwebsettings.cpp:
3378         (QWebSettingsPrivate::apply):
3379         (QWebSettings::QWebSettings):
3380         * Api/qwebsettings.h:
3381
3382 2010-03-24  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
3383
3384         Reviewed by Laszlo Gombos.
3385
3386         Auto-uppercase and predictive text need to be disabled for S60 (as for maemo)
3387         https://bugs.webkit.org/show_bug.cgi?id=33176
3388
3389         * WebCoreSupport/EditorClientQt.cpp:
3390
3391 2010-03-24  Kent Hansen  <kent.hansen@nokia.com>
3392
3393         Reviewed by Simon Hausmann.
3394
3395         [Qt] Rename QWebSettings::XSSAuditorEnabled to XSSAuditingEnabled
3396         https://bugs.webkit.org/show_bug.cgi?id=36522
3397
3398         For consistency with other QWebSettings attributes.
3399
3400         * Api/qwebsettings.cpp:
3401         (QWebSettingsPrivate::apply):
3402         * Api/qwebsettings.h:
3403
3404 2010-03-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
3405
3406         Reviewed by Simon Hausmann.
3407
3408         Calling setView(0) on a QWebPage being shown by a QGraphicsWebView,
3409         would uninstall the page client, deleting the QGraphicsWebViewPrivate
3410         instance. If called with an argument, it would do a wrong static_cast
3411         and crash.
3412
3413         * Api/qwebpage.cpp:
3414         (QWebPageWidgetClient::QWebPageWidgetClient):
3415         (QWebPageWidgetClient::isQWidgetClient):
3416         (QWebPageWidgetClient::screenNumber):
3417         (QWebPage::QWebPage):
3418         (QWebPage::setView):
3419         * Api/qgraphicswebview.cpp:
3420         (QGraphicsWebViewPrivate::unsetPageIfExists):
3421         (QGraphicsWebView::setPage):
3422         * Api/qwebpage.cpp:
3423         (QWebPageWidgetClient::isQWidgetClient):
3424         (QWebPageWidgetClient::screenNumber):
3425         (QWebPage::QWebPage):
3426         (QWebPage::setView):
3427         * Api/qwebpage.h:
3428         * Api/qwebview.cpp:
3429         (QWebViewPrivate::unsetPageIfExists):
3430         (QWebView::setPage):
3431
3432 2010-03-24  Kent Tamura  <tkent@chromium.org>
3433
3434         Reviewed by Darin Adler.
3435
3436         Make Icon::createIconForFiles() optional.
3437         https://bugs.webkit.org/show_bug.cgi?id=35072
3438
3439         - Rename iconForFiles() to chooseIconForFiles().
3440         - Call Icon::createIconForFiles() from chooseIconForFiles().
3441
3442         * WebCoreSupport/ChromeClientQt.cpp:
3443         (WebCore::ChromeClientQt::chooseIconForFiles):
3444         * WebCoreSupport/ChromeClientQt.h:
3445
3446 2010-03-23  Luiz Agostini  <luiz.agostini@openbossa.org>
3447
3448         Reviewed by Kenneth Rohde Christiansen.
3449
3450         QGraphicsWebView crash when calling setView on the QWebPage...
3451         https://bugs.webkit.org/show_bug.cgi?id=36436
3452
3453         Checking for pageClient existance before showing popups.
3454
3455         * WebCoreSupport/QtFallbackWebPopup.cpp:
3456         (WebCore::QtFallbackWebPopup::show):
3457
3458 2010-03-23  Anders Bakken <anders.bakken@nokia.com>, Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
3459
3460         Reviewed by Kenneth Rohde Christiansen.
3461
3462         Check if q->scene() is available before actually using it
3463         on QGraphicsWebViewPrivate.
3464
3465         QGraphicsWebView crash
3466         https://bugs.webkit.org/show_bug.cgi?id=32670
3467
3468         * Api/qgraphicswebview.cpp:
3469         (QGraphicsWebViewPrivate::screenNumber):
3470         (QGraphicsWebViewPrivate::ownerWidget):
3471
3472 2010-03-23  David Leong  <david.leong@nokia.com>
3473
3474         Reviewed by Laszlo Gombos.
3475
3476         Build fix for Symbian Def file.
3477
3478         * symbian/eabi/QtWebKitu.def:
3479
3480 2010-03-23  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
3481
3482         Reviewed by Kenneth Rohde Christiansen.
3483
3484         [Qt] Remove support for Qt v4.4
3485         https://bugs.webkit.org/show_bug.cgi?id=36389
3486
3487         * Api/qwebelement.cpp:
3488         (QWebElement::classes):
3489         * Api/qwebpage.cpp:
3490         (QWebPagePrivate::editorActionForKeyEvent):
3491         (QWebPage::userAgentForUrl):
3492         * WebCoreSupport/EditorClientQt.cpp:
3493         (WebCore::EditorClientQt::handleKeyboardEvent):
3494         * tests/tests.pro:
3495
3496 2010-03-22  Kent Hansen  <kent.hansen@nokia.com>
3497
3498         Reviewed by Laszlo Gombos.
3499
3500         [Qt] Fix qdoc warnings
3501         https://bugs.webkit.org/show_bug.cgi?id=36447
3502
3503         * Api/qgraphicswebview.cpp: Add missing ().
3504         * Api/qwebframe.cpp: Remove reference to non-existent parameter "url".
3505         * Api/qwebsettings.cpp:  Document parameter "location".
3506
3507 2010-03-22  Jakub Wieczorek  <jwieczorek@webkit.org>
3508
3509         Reviewed by Simon Hausmann.
3510
3511         [Qt] Don't construct a QLineEdit every time when painting a text field
3512         https://bugs.webkit.org/show_bug.cgi?id=36373
3513
3514         Add a simple benchmark covering this area.
3515
3516         * tests/benchmarks/painting/tst_painting.cpp:
3517         (tst_Painting::textAreas):
3518
3519 2010-03-22  Yi Shen  <shenyi2006@gmail.com>
3520
3521         Reviewed by Simon Hausmann.
3522
3523         https://bugs.webkit.org/show_bug.cgi?id=35933  
3524         [Qt] [Symbian] Can not backward select (highlight) text using virtual keyboard
3525         Make sure the selection start index is smaller than the selection end index.
3526
3527         * Api/qwebpage.cpp:
3528         (QWebPagePrivate::inputMethodEvent):
3529         * tests/qwebpage/tst_qwebpage.cpp:
3530         (tst_QWebPage::inputMethods):
3531
3532 2010-03-21  Kristian Amlie  <kristian.amlie@nokia.com>
3533
3534         Reviewed by Simon Hausmann.
3535
3536         Fixed updating the VKB display when inputting into QGraphicsWebView.
3537         https://bugs.webkit.org/show_bug.cgi?id=36292
3538
3539         * Api/qgraphicswebview.cpp:
3540         (QGraphicsWebViewPrivate::_q_updateMicroFocus):
3541         (QGraphicsWebView::setPage):
3542         * Api/qgraphicswebview.h:
3543
3544 2010-03-19  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
3545
3546         Unreviewed.
3547
3548         Buildfix for Qt v4.5.
3549
3550         * Api/qgraphicswebview.cpp:
3551         (QGraphicsWebViewOverlay::q):
3552
3553 2010-03-18  Kenneth Rohde Christiansen  <kenneth@webkit.org>
3554
3555         Reviewed by Darin Adler.
3556
3557         Make it possible for the Qt DRT to set the media type from
3558         the LayoutTestController.
3559
3560         * Api/qwebframe.cpp:
3561         (qt_drt_setMediaType):
3562
3563 2010-03-18  Joe Ligman  <joseph.ligman@nokia.com>
3564
3565         Reviewed by Simon Hausmann.
3566
3567         [Qt] New API scrollRecursively has several problems.
3568         https://bugs.webkit.org/show_bug.cgi?id=35873
3569
3570         Remove scrollRecursively from the Qt 4.7 API
3571         Update the internal API to accept a hit test position 
3572         for nested scrolling
3573
3574         * Api/qwebframe.cpp:
3575         (webframe_scrollOverflow):
3576         (qtwebkit_webframe_scrollRecursively):
3577         * Api/qwebframe.h:
3578         * Api/qwebframe_p.h:
3579         * tests/qwebframe/tst_qwebframe.cpp:
3580
3581 2010-03-18  Antti Koivisto  <koivisto@iki.fi>
3582
3583         Reviewed by Kenneth Rohde Christiansen.
3584
3585         https://bugs.webkit.org/show_bug.cgi?id=36102
3586         [Qt] Scaling control API for tiled backing store
3587         
3588         The scale is set by passing the QGraphicsWebView scale to the backing store. The
3589         only new API is the tiledBackingStoreFrozen property which allows disabling
3590         all updates (for example during zoom animation).
3591
3592         * Api/qgraphicswebview.cpp:
3593         (QGraphicsWebViewPrivate::_q_scaleChanged):
3594         (QGraphicsWebViewPrivate::updateTiledBackingStoreScale):
3595         (QGraphicsWebView::QGraphicsWebView):
3596         (QGraphicsWebView::isTiledBackingStoreFrozen):
3597         (QGraphicsWebView::setTiledBackingStoreFrozen):
3598         * Api/qgraphicswebview.h:
3599         * Api/qwebframe.cpp:
3600         * Api/qwebframe_p.h:
3601
3602 2010-03-17  Antti Koivisto  <koivisto@iki.fi>
3603
3604         Reviewed by Tor Arne Vestbø.
3605
3606         Fix Qt build with tiled backing store disabled.
3607
3608         * Api/qwebframe.cpp:
3609         * Api/qwebframe_p.h:
3610
3611 2010-03-17  Chang Shu  <chang.shu@nokia.com>
3612
3613         Reviewed by Laszlo Gombos.
3614
3615         https://bugs.webkit.org/show_bug.cgi?id=36139
3616         [Qt] Clean up cache while setting cache quota. This behavior matches other platforms,
3617         such as mac and gtk.
3618
3619          * Api/qwebsettings.cpp:
3620         (QWebSettings::setOfflineWebApplicationCacheQuota):
3621
3622 2010-03-17  Csaba Osztrogonác  <ossy@webkit.org>
3623
3624         Reviewed by Kenneth Rohde Christiansen.
3625
3626         [Qt] Enable accelerated compositing by default
3627         https://bugs.webkit.org/show_bug.cgi?id=35866
3628
3629         * Api/qwebsettings.cpp:
3630         (QWebSettings::QWebSettings):
3631
3632 2010-03-15  Antti Koivisto  <koivisto@iki.fi>
3633
3634         Reviewed by Simon Hausmann.
3635
3636         https://bugs.webkit.org/show_bug.cgi?id=36121
3637         [Qt] Make WebKit scrollbars work with tiling
3638         
3639         - Use the scrollbar overlay (implemented for accelerated compositing) when in tiled mode. 
3640         - Make overlay compile unconditionally, enable on demand. This removes bunch of unneeded ifdefs.
3641         - Update the scroll position to the backing store as needed.
3642         - Renamed some methods.
3643
3644         * Api/qgraphicswebview.cpp:
3645         (QGraphicsWebViewPrivate::):
3646         (QGraphicsWebViewPrivate::createOrDeleteOverlay):
3647         (QGraphicsWebViewPrivate::setRootGraphicsLayer):
3648         (QGraphicsWebViewPrivate::updateCompositingScrollPosition):
3649         (QGraphicsWebViewPrivate::scroll):
3650         (QGraphicsWebViewPrivate::update):
3651         (QGraphicsWebViewPrivate::graphicsItemVisibleRect):
3652         (QGraphicsWebView::paint):
3653         (QGraphicsWebView::setPage):
3654         (QGraphicsWebView::updateGeometry):
3655         (QGraphicsWebView::setGeometry):
3656         * Api/qwebframe.cpp:
3657         (QWebFramePrivate::renderFromTiledBackingStore):
3658         * Api/qwebframe_p.h:
3659
3660 2010-03-15  Robert Hogan  <robert@webkit.org>
3661
3662         Reviewed by Simon Hausmann.
3663
3664         [Qt] Fix crash in QWebView::setPage()
3665
3666         tst_qwebpage was crashing on setPage(0)
3667
3668         https://bugs.webkit.org/show_bug.cgi?id=36137
3669
3670         * Api/qwebview.cpp:
3671         (QWebView::setPage):
3672
3673 2010-03-16  Yury Semikhatsky <yurys@chromium.org>
3674
3675         Reviewed by Pavel Feldman.
3676
3677         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.
3678
3679         Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder
3680         https://bugs.webkit.org/show_bug.cgi?id=35036
3681
3682         * Api/qwebinspector.cpp:
3683         (QWebInspector::hideEvent):
3684         (QWebInspector::closeEvent):
3685         * Api/qwebinspector.h:
3686         * Api/qwebpage.h:
3687         * WebCoreSupport/InspectorClientQt.cpp:
3688         (WebCore::InspectorClientQt::openInspectorFrontend):
3689         (WebCore::InspectorFrontendClientQt::InspectorFrontendClientQt):
3690         (WebCore::InspectorFrontendClientQt::frontendLoaded):
3691         (WebCore::InspectorFrontendClientQt::localizedStringsURL):
3692         (WebCore::InspectorFrontendClientQt::hiddenPanels):
3693         (WebCore::InspectorFrontendClientQt::bringToFront):
3694         (WebCore::InspectorFrontendClientQt::closeWindow):
3695         (WebCore::InspectorFrontendClientQt::attachWindow):
3696         (WebCore::InspectorFrontendClientQt::detachWindow):
3697         (WebCore::InspectorFrontendClientQt::setAttachedWindowHeight):
3698         (WebCore::InspectorFrontendClientQt::inspectedURLChanged):
3699         (WebCore::InspectorFrontendClientQt::updateWindowTitle):
3700         * WebCoreSupport/InspectorClientQt.h:
3701
3702 2010-03-15  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
3703
3704         Unreviewed.
3705
3706         [Qt] Build fix if TILED_BACKING_STORE is disabled.
3707
3708         * Api/qwebframe.cpp:
3709         (QWebFramePrivate::renderContentsLayerAbsoluteCoords):
3710
3711 2010-03-14  Chang Shu  <chang.shu@nokia.com>
3712
3713         Reviewed by Simon Hausmann.
3714
3715         [Qt] [Symbian] Use Symbian native dialog providers for combo pupups.
3716         https://bugs.webkit.org/show_bug.cgi?id=35919
3717
3718         * WebCoreSupport/QtFallbackWebPopup.cpp:
3719         (WebCore::QtFallbackWebPopup::show):
3720         (WebCore::ResetAndDestroy):
3721         (WebCore::QtFallbackWebPopup::showS60BrowserDialog):
3722         * WebCoreSupport/QtFallbackWebPopup.h:
3723
3724 2010-03-14  Antti Koivisto  <koivisto@iki.fi>
3725
3726         Reviewed by Simon Hausmann.
3727
3728         https://bugs.webkit.org/show_bug.cgi?id=35146
3729         Support tiled backing store
3730
3731         Implements a basic tiled backing store mechanism. Tiles are created and 
3732         deleted on demand. The page content is cached to the tiles. Tile content
3733         is kept in sync with the document. Since the backing store covers area
3734         larger than the currently visible viewport, the document can be scrolled
3735         quickly without having to enter rendering tree painting.
3736         
3737         The tile management code is platform independent. This patch has simple QPixmap
3738         based tile implementation for Qt.
3739         
3740         The feature is behind ENABLE_TILED_BACKING_STORE flag.
3741
3742         * Api/qgraphicswebview.cpp:
3743         (QGraphicsWebViewPrivate::visibleRect):
3744         (QGraphicsWebView::paint):
3745         * Api/qwebframe.cpp:
3746         (QWebFramePrivate::renderContentsLayerAbsoluteCoords):
3747         * Api/qwebframe.h:
3748         * Api/qwebsettings.cpp:
3749         (QWebSettingsPrivate::apply):
3750         * Api/qwebsettings.h:
3751
3752 2010-03-13  Csaba Osztrogonác  <ossy@webkit.org>
3753
3754         [Qt] Enable accelerated compositing by default
3755         https://bugs.webkit.org/show_bug.cgi?id=35866
3756
3757         Unreviewed. Roll-out r55955, because it broke 3 tests:
3758         - animations/fill-mode-transform.html
3759         - animations/play-state.html
3760         - animations/simultaneous-start-left.html
3761
3762         * Api/qwebsettings.cpp:
3763         (QWebSettings::QWebSettings):
3764
3765 2010-03-13  Simon Hausmann  <simon.hausmann@nokia.com>
3766
3767         Reviewed by Kenneth Rohde Christiansen.
3768
3769         [Qt] Enable accelerated compositing by default
3770         https://bugs.webkit.org/show_bug.cgi?id=35866
3771
3772         * Api/qwebsettings.cpp:
3773         (QWebSettings::QWebSettings):
3774
3775 2010-03-11  Anders Carlsson  <andersca@apple.com>
3776
3777         Reviewed by David Hyatt.
3778
3779         Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents.
3780
3781         * WebCoreSupport/ChromeClientQt.cpp:
3782         * WebCoreSupport/ChromeClientQt.h:
3783
3784 2010-03-10  Robert Hogan  <robert@webkit.org>
3785
3786         Reviewed by Simon Hausmann.
3787
3788         [Qt] Add Support for WebKitEnableCaretBrowsing to Qt DRT
3789
3790         Unskip test fast/events/multiline-link-arrow-navigation.html
3791         Fix typo (superfluous space) in QWebSettings docs.
3792
3793         https://bugs.webkit.org/show_bug.cgi?id=35593
3794
3795         * Api/qwebpage.cpp:
3796         (qt_drt_enableCaretBrowsing):
3797         * Api/qwebsettings.cpp:
3798         (QWebSettingsPrivate::apply): fix typo in docs
3799
3800 2010-03-02  Adam Treat  <atreat@rim.com>
3801
3802         Reviewed by Dave Hyatt.
3803
3804         Adapt the qt port to the refactoring of repaint methods.
3805
3806         https://bugs.webkit.org/show_bug.cgi?id=34214
3807
3808         * WebCoreSupport/ChromeClientQt.cpp:
3809         (WebCore::ChromeClientQt::invalidateContents):
3810         (WebCore::ChromeClientQt::invalidateWindow):
3811         (WebCore::ChromeClientQt::invalidateContentsAndWindow):
3812         (WebCore::ChromeClientQt::invalidateContentsForSlowScroll):
3813         * WebCoreSupport/ChromeClientQt.h:
3814
3815 2010-03-08  Eric Uhrhane  <ericu@chromium.org>
3816
3817         Reviewed by David Levin.
3818
3819         Remove the now-redundant Settings fields for the Database
3820         https://bugs.webkit.org/show_bug.cgi?id=35763
3821
3822         No new tests; this code isn't called.
3823
3824         * Api/qwebsettings.cpp:
3825         (QWebSettingsPrivate::apply): Remove the call into Settings.
3826
3827 2010-03-08  Simon Hausmann  <simon.hausmann@nokia.com>
3828
3829         Reviewed by Laszlo Gombos.
3830
3831         [Qt] Binary incompatibility between Qt 4.6's WebKit and trunk in QWebSettings
3832         https://bugs.webkit.org/show_bug.cgi?id=35858
3833
3834         Moved the enum value added in r54873 to the end of the enum, to preserve
3835         binary compatibility. DnsPrefetchEnabled was in the last release and needs
3836         to remain after LocalContentCanAccessRemoteUrls.
3837
3838         * Api/qwebsettings.h:
3839
3840 2010-03-06  Mark Rowe  <mrowe@apple.com>
3841
3842         Rubber-stamped by Sam Weinig.
3843
3844         Remove unnecessary includes of wtf/Platform.h.  This is already pulled in by the prefix header.
3845
3846         * WebCoreSupport/EditCommandQt.cpp:
3847
3848 2010-03-02  Antonio Gomes  <tonikitoo@webkit.org>
3849
3850         Reviewed by Simon Hausmann.
3851         Patch by Antonio Gomes <tonikitoo@webkit.org>
3852
3853         [Qt] QWebSettings attribute for toggle Spatial Navigation on/off
3854         https://bugs.webkit.org/show_bug.cgi?id=33714 (Qt API part)
3855
3856         Added 'SpatialNavigationEnabled' attribute to QWebSettings.
3857
3858         * Api/qwebsettings.cpp:
3859         (QWebSettingsPrivate::apply):
3860         * Api/qwebsettings.h:
3861
3862 2010-03-04  Simon Hausmann  <simon.hausmann@nokia.com>
3863
3864         Reviewed by Kenneth Rohde Christiansen.
3865
3866         [Qt] qwebelement.h does not include QtCore headers correctly
3867         https://bugs.webkit.org/show_bug.cgi?id=35748
3868
3869         The header files of QtCore must be included as QtCore/foo.h.
3870
3871         See also http://bugreports.qt.nokia.com/browse/QTBUG-8661
3872
3873         * Api/qwebelement.h:
3874
3875 2010-03-04  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
3876
3877         Reviewed by Tor Arne Vestbø.
3878
3879         [Qt] Make the OUTPUT_DIR variable in qmake projects independent of build-webkit's logic.
3880
3881         This also allows shadow builds relying only on qmake to work properly.
3882
3883         * tests/benchmarks/loading/loading.pro:
3884         * tests/benchmarks/painting/painting.pro:
3885         * tests/hybridPixmap/hybridPixmap.pro:
3886         * tests/qgraphicswebview/qgraphicswebview.pro:
3887         * tests/qwebelement/qwebelement.pro:
3888         * tests/qwebframe/qwebframe.pro:
3889         * tests/qwebhistory/qwebhistory.pro:
3890         * tests/qwebhistoryinterface/qwebhistoryinterface.pro:
3891         * tests/qwebinspector/qwebinspector.pro:
3892         * tests/qwebpage/qwebpage.pro:
3893         * tests/qwebplugindatabase/qwebplugindatabase.pro:
3894
3895 2010-03-02  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
3896
3897         Reviewed by Kenneth Rohde Christiansen.
3898
3899         [Qt] Fix generation of forwarding headers
3900
3901         The dependencies were a bit wrong, so we ended up not generating
3902         forwarding headers for qwebkitversion.h and qwebkitglobal.h
3903
3904         The forwarding headers are now the only targets depending on the
3905         real headers. All other targets either depend on the generated
3906         class headers, or the forwarding headers.
3907
3908         * Api/DerivedSources.pro:
3909
3910 2010-03-02  Eric Uhrhane  <ericu@chromium.org>
3911
3912         Reviewed by David Levin.
3913
3914         Move database enable bit fully out of settings
3915         This is stage one of a three-stage commit [webkit, then chromium, then
3916         webkit again].  In this change I'm adding calls to
3917         Database::setIsAvailable inside Settings::setDatabaseEnabled and
3918         anywhere else that called it, and switching webkit fully over to using
3919         that flag [added in a previous checkin].  Phase two will remove
3920         Chromium's use of Settings for the Database, and phase three will remove
3921         the Setting for the Database enable entirely, leaving only
3922         Database::isAvailable/setIsAvailable.
3923
3924         No new tests; tested by existing storage tests.
3925
3926         https://bugs.webkit.org/show_bug.cgi?id=35310
3927
3928         * Api/qwebsettings.cpp:
3929         (QWebSettingsPrivate::apply):  Add a call to Database::setIsAvailable
3930
3931 2010-03-02  Simon Hausmann  <simon.hausmann@nokia.com>
3932
3933         Symbian build fix.
3934
3935         [Qt] Updated the def file with one new export, to fix
3936         QtLauncher linkage.
3937
3938         * symbian/eabi/QtWebKitu.def:
3939
3940 2010-03-01  Jakob Petsovits  <jpetsovits@rim.com>
3941
3942         Reviewed by Adam Barth.
3943
3944         Adapt to the new ZoomMode enum.
3945         https://bugs.webkit.org/show_bug.cgi?id=35347
3946
3947         * Api/qwebframe.cpp:
3948         (QWebFrame::setTextSizeMultiplier):
3949         (QWebFrame::setZoomFactor):
3950         * Api/qwebsettings.cpp:
3951         (QWebSettingsPrivate::apply):
3952
3953 2010-02-26  Diego Gonzalez  <diego.gonzalez@openbossa.org>
3954
3955         Reviewed by Simon Hausmann.
3956
3957         Fix documentation of QWebSettings::setUserStyleSheetUrl method
3958
3959         The base 64 data in the exemple shows a not valid code.
3960
3961         REGRESSION: QWebSettings::setUserStyleSheetUrl is not working with a data URL (Base64)
3962         https://bugs.webkit.org/show_bug.cgi?id=34802
3963
3964         * Api/qwebsettings.cpp:
3965
3966 2010-02-26  Jamey Hicks  <jamey.hicks@nokia.com>
3967
3968         Reviewed by Laszlo Gombos.
3969
3970         [Qt] added QWebSettings::setInspectorUrl() and QWebSettings::inspectorUrl()
3971
3972         Enables the use of alternate Web Inspector frontends by changing
3973         the location of the frontend.
3974
3975         This is required so that the Web Inspector may be run from an
3976         external process or an external tool such as Eclipse or Aptana may
3977         be used instead of the in-process Web Inspector UI.
3978         
3979         https://bugs.webkit.org/show_bug.cgi?id=35340
3980
3981         * Api/qwebsettings.cpp:
3982         (QWebSettings::QWebSettings):
3983         (QWebSettings::setInspectorUrl):
3984         (QWebSettings::inspectorUrl):
3985         * Api/qwebsettings.h:
3986         * WebCoreSupport/InspectorClientQt.cpp:
3987         (WebCore::InspectorClientQt::createPage):
3988
3989 2010-02-25  Jarkko Sakkinen  <jarkko.sakkinen@tieto.com>
3990
3991         Reviewed by Kenneth Rohde Christiansen.
3992
3993         Qt WebGL support
3994
3995         Adds enabling and disabling of WebGL support to QWebSettings.
3996         https://bugs.webkit.org/show_bug.cgi?id=35153
3997
3998         * Api/qwebsettings.cpp:
3999         (QWebSettingsPrivate::apply):
4000         (QWebSettings::QWebSettings):
4001         * Api/qwebsettings.h:
4002
4003 2010-02-19  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
4004
4005         Reviewed by Kenneth Rohde Christiansen.
4006
4007         [Qt] Remove QGVLauncher
4008
4009         https://bugs.webkit.org/show_bug.cgi?id=35292
4010
4011         * QGVLauncher/QGVLauncher.pro: Removed.
4012         * QGVLauncher/main.cpp: Removed.
4013
4014 2010-02-23  Steve Block  <steveblock@google.com>
4015
4016         Reviewed by Darin Adler.
4017
4018         Adds ChromeClient::cancelGeolocationPermissionRequestForFrame
4019         https://bugs.webkit.org/show_bug.cgi?id=34962
4020
4021         This method is required so that a Geolocation object can cancel an
4022         asynchronous permission request. This allows the chrome client to cancel
4023         any UI it is showing for the permission request.
4024
4025         * WebCoreSupport/ChromeClientQt.h:
4026         (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
4027
4028 2010-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
4029
4030         Unreviewed Symbian build fix.
4031
4032         [Qt] Updated the def file with new exports to enable
4033         building DumpRenderTree.
4034
4035         * symbian/eabi/QtWebKitu.def:
4036
4037 2010-02-18  Noam Rosenthal  <noam.rosenthal@nokia.com>
4038
4039         Reviewed by Kenneth Rohde Christiansen.
4040
4041         [Qt] Minor improvement to hybrid QPixmap
4042         https://bugs.webkit.org/show_bug.cgi?id=34507
4043
4044         * tests/hybridPixmap/test.html: use assignToHTMLImageElement on an
4045         existing element instead of toHTMLImageElement which creates a new one
4046
4047 2010-02-17  Dmitry Titov  <dimich@chromium.org>
4048
4049         Reviewed by David Levin, Darin Fisher, Simon Hausmann.
4050
4051         When a live iframe element is moved between pages, it still depends on the old page.
4052         https://bugs.webkit.org/show_bug.cgi?id=34382
4053
4054         * Api/qwebframe_p.h:
4055         (QWebFramePrivate::setPage): Added.
4056         * WebCoreSupport/FrameLoaderClientQt.cpp:
4057         (WebCore::FrameLoaderClientQt::didTransferChildFrameToNewDocument):
4058         The QWebFrame caches a QWebPage which should be replaced when Frame is re-parented.
4059         Also, the QWebFrame is a child (in QT terms) of QWebPage - so update that relationship as well.
4060         Emit a signal that QWebFrame moved to a different QWebPage.
4061
4062         * WebCoreSupport/FrameLoaderClientQt.h:
4063
4064 2010-02-17  Kent Tamura  <tkent@chromium.org>
4065
4066         Reviewed by Eric Seidel.
4067
4068         Introduces new Icon loading interface in order to support
4069         asynchronous loading.
4070         https://bugs.webkit.org/show_bug.cgi?id=32054
4071
4072         Add an empty implementation of ChromeClient::iconForFiles().
4073
4074         * WebCoreSupport/ChromeClientQt.cpp:
4075         (WebCore::ChromeClientQt::iconForFiles):
4076         * WebCoreSupport/ChromeClientQt.h:
4077
4078 2010-02-17  Diego Gonzalez  <diego.gonzalez@openbossa.org>
4079
4080         Reviewed by Ariya Hidayat.
4081
4082         Make possible Qt DRT to get total number of pages to be printed
4083
4084         LayoutTests:
4085             printing/numberOfPages.html
4086
4087         [Qt] DRT: Get total number of pages to be printed
4088         https://bugs.webkit.org/show_bug.cgi?id=34955
4089
4090         * Api/qwebframe.cpp:
4091         (qt_drt_numberOfPages):
4092         (qt_drt_evaluateScriptInIsolatedWorld):
4093
4094 2010-02-16  Ariya Hidayat  <ariya.hidayat@gmail.com>
4095
4096         Reviewed by Simon Hausmann.
4097
4098         [Qt] Allow scrolling to an anchor programmatically.
4099         https://bugs.webkit.org/show_bug.cgi?id=29856
4100
4101         * Api/qwebframe.cpp:
4102         (QWebFrame::scrollToAnchor): New API function.
4103         * Api/qwebframe.h:
4104         * tests/qwebframe/tst_qwebframe.cpp: New tests for scrollToAnchor().
4105
4106 2010-02-16  Ariya Hidayat  <ariya.hidayat@gmail.com>
4107
4108         Reviewed by Laszlo Gombos.
4109
4110         Fix building with Qt < 4.6.
4111         https://bugs.webkit.org/show_bug.cgi?id=34885
4112
4113         * Api/qgraphicswebview.cpp:
4114         (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
4115
4116 2010-02-16  Simon Hausmann  <simon.hausmann@nokia.com>
4117
4118         Unreviewed Symbian build fix.
4119
4120         Updated the def file with two new exports used by QtLauncher.
4121
4122         * symbian/eabi/QtWebKitu.def:
4123
4124 2010-02-16  Ismail Donmez  <ismail@namtrac.org>
4125
4126         Reviewed by Pavel Feldman.
4127
4128         Fix compilation with inspector disabled.
4129         https://bugs.webkit.org/show_bug.cgi?id=32724
4130
4131         * Api/qwebpage.cpp:
4132         (qt_drt_webinspector_executeScript):
4133         (qt_drt_webinspector_close):
4134         (qt_drt_webinspector_show):
4135         (qt_drt_setTimelineProfilingEnabled):
4136
4137 2010-02-16  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
4138
4139         Reviewed by Simon Hausman.
4140
4141         [Qt] Fix include paths for forwarding headers in standalone builds.
4142
4143         * Api/DerivedSources.pro: Use relative paths for package builds and added some
4144         documentation.
4145
4146 2010-02-15  Noam Rosenthal  <noam.rosenthal@nokia.com>
4147
4148         Reviewed by Simon Hausmann.
4149
4150         [Qt] QtWebkit bridge: enable passing a QWebElement to a signal/slot/property
4151         Add Q_DECLARE_METATYPE to QWebElement, add relevant tests to
4152         tst_qwebframe
4153         https://bugs.webkit.org/show_bug.cgi?id=34901
4154
4155         * Api/qwebelement.h: declare metatype
4156         * tests/qwebframe/tst_qwebframe.cpp:
4157         (MyQObject::webElementProperty): new test for QWebElement
4158         (MyQObject::setWebElementProperty): new test for QWebElement
4159         (MyQObject::myOverloadedSlot): new test for QWebElement
4160
4161 2010-02-15  Robert Hogan  <robert@roberthogan.net>, Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
4162
4163         Reviewed by Simon Hausmann.
4164
4165         [Qt] DRT: Support evaluateInWebInspector(), setTimelineProfilingEnabled().
4166
4167         Support LayoutTestController.evaluateInWebInspector(), setTimelineProfilingEnabled() in Qt DRT.
4168
4169         https://bugs.webkit.org/show_bug.cgi?id=33096
4170
4171         This allows the following tests to pass:
4172
4173         inspector/console-format-collections.html
4174         inspector/styles-iframe.html
4175         inspector/syntax-highlight-css.html
4176         inspector/syntax-highlight-javascript.html
4177         inspector/timeline-enum-stability.html
4178         inspector/timeline-layout.html
4179         inspector/timeline-mark-timeline.html
4180         inspector/timeline-paint.html
4181         inspector/timeline-parse-html.html
4182         inspector/timeline-recalculate-styles.html
4183         inspector/timeline-script-tag-1.html
4184         inspector/timeline-script-tag-2.html
4185         inspector/timeline-trivial.html
4186         inspector/cookie-resource-match.html
4187         inspector/elements-img-tooltip.html
4188         inspector/elements-panel-selection-on-refresh.html
4189         inspector/inspected-objects-not-overriden.html
4190         inspector/timeline-event-dispatch.html
4191         inspector/timeline-network-resource.html
4192         inspector/elements-panel-rewrite-href.html
4193         inspector/console-dir.html
4194         inspector/console-dirxml.html
4195         inspector/console-format.html
4196         inspector/console-tests.html
4197         inspector/elements-panel-structure.html
4198         inspector/evaluate-in-frontend.html
4199         inspector/console-clear.html
4200
4201         * Api/qwebpage.cpp:
4202         (qt_drt_webinspector_executeScript):
4203         (qt_drt_webinspector_close):
4204         (qt_drt_webinspector_show):
4205         (qt_drt_setTimelineProfilingEnabled):
4206
4207         * WebCoreSupport/InspectorClientQt.cpp:
4208         (InspectorClientQt::createPage)
4209
4210 2010-02-12  Antti Koivisto  <koivisto@iki.fi>
4211
4212         Reviewed by Kenneth Rohde Christiansen and Simon Hausmann.
4213         
4214         https://bugs.webkit.org/show_bug.cgi?id=34885
4215         Add a QGraphicsWebView mode that makes it automatically resize itself to the size of the content.
4216
4217         This is useful for cases where the client wants to implement page panning and zooming by manipulating
4218         the graphics item.
4219         
4220         Add a option to QGVLauncher to test this mode.
4221
4222         * Api/qgraphicswebview.cpp:
4223         (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
4224         (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
4225         (QGraphicsWebViewPrivate::_q_contentsSizeChanged):
4226         (QGraphicsWebView::setPage):
4227         (QGraphicsWebView::setResizesToContents):
4228         (QGraphicsWebView::resizesToContents):
4229         * Api/qgraphicswebview.h:
4230         * QGVLauncher/main.cpp:
4231         (WebView::WebView):
4232         (MainView::MainView):
4233         (MainView::setMainWidget):
4234         (MainView::resizeEvent):
4235         (main):
4236
4237 2010-02-12  Diego Gonzalez  <diego.gonzalez@openbossa.org>
4238
4239         Reviewed by Kenneth Rohde Christiansen.
4240
4241         Qt DRT now dump the frame loader callbacks when LayoutTestController()
4242         method is called.
4243
4244         LayoutTests:
4245             http/tests/security/mixedContent/data-url-script-in-iframe.html
4246             http/tests/security/mixedContent/empty-url-plugin-in-frame.html
4247             http/tests/security/mixedContent/insecure-css-in-iframe.html
4248             http/tests/security/mixedContent/insecure-iframe-in-iframe.html
4249             http/tests/security/mixedContent/insecure-image-in-iframe.html
4250             http/tests/security/mixedContent/insecure-plugin-in-iframe.html
4251             http/tests/security/mixedContent/insecure-script-in-iframe.html
4252             http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe.html
4253             http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html
4254
4255         [Qt] Make possible Qt DRT dump frame load callbacks
4256         https://bugs.webkit.org/show_bug.cgi?id=34702
4257
4258         * WebCoreSupport/FrameLoaderClientQt.cpp:
4259         (WebCore::FrameLoaderClientQt::didDisplayInsecureContent):
4260         (WebCore::FrameLoaderClientQt::didRunInsecureContent):
4261
4262 2010-02-10  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
4263
4264         Reviewed by Tor Arne Vestbø.
4265
4266         [Qt] Make qtlauncher and qgvlauncher use the generated headers
4267         path to make sure they are correctly generated.
4268
4269         * tests/tests.pri:
4270
4271 2010-02-10  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
4272
4273         Reviewed by Tor Arne Vestbø.
4274
4275         [Qt] Ensure relative paths in generated .pri files to ensure that
4276         a source package with pre-generated derived sources can be compiled.
4277
4278         - Re-add a separate headers.pri file for WEBKIT_API_HEADERS
4279         - Rename the generated headers.pri to classheaders.pri to avoid
4280         confusion with the one generated by synqt since they don't have the
4281         same content.
4282         - Remove private headers list variable from classheaders.pri
4283         - Use $$PWD in classheaders.pri
4284         - Remove classheaders.pri from the installed files
4285
4286         * Api/DerivedSources.pro:
4287
4288 2010-02-10  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
4289
4290         Reviewed by Tor Arne Vestbø.
4291
4292         [Qt] Minor fixes on QtWebKit headers generation.
4293
4294         - Adds QtWebKit to the generated headers destination path
4295         - Improve compatibility with MinGW
4296
4297         * Api/DerivedSources.pro:
4298
4299 2010-02-09  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
4300
4301         Reviewed by nobody, build fix.
4302
4303         [Qt] Fix standalone build with MinGW.
4304
4305         * tests/qwebelement/tst_qwebelement.cpp:
4306         * tests/tests.pri:
4307
4308 2010-02-10  Diego Gonzalez  <diego.gonzalez@openbossa.org>
4309
4310         Reviewed by Kenneth Rohde Christiansen.
4311
4312         Implement pageNumberForElementById() method in Qt DRT LayoutTestController,
4313         to make Qt DRT able to get page number.
4314
4315         LayoutTests:
4316             printing/page-break-always.html
4317             printing/pageNumerForElementById.html
4318             printing/css2.1/page-break-before-000.html
4319             printing/css2.1/page-break-after-000.html
4320             printing/css2.1/page-break-after-004.html
4321             printing/css2.1/page-break-before-001.html
4322             printing/css2.1/page-break-after-001.html
4323             printing/css2.1/page-break-after-002.html
4324             printing/css2.1/page-break-before-002.html
4325             printing/css2.1/page-break-inside-000.html
4326
4327         [Qt] Make possible Qt DRT get a page number for element by ID
4328         https://bugs.webkit.org/show_bug.cgi?id=34777
4329
4330         * Api/qwebframe.cpp:
4331         (qt_drt_pageNumberForElementById):
4332
4333 2010-02-09  Yael Aharon  <yael.aharon@nokia.com>
4334
4335         Reviewed by Adam Barth.
4336
4337         [Qt] Unit test for window.runModalDialog
4338         https://bugs.webkit.org/show_bug.cgi?id=34755
4339
4340         * tests/qwebpage/tst_qwebpage.cpp:
4341         (TestModalPage::TestModalPage):
4342         (TestModalPage::createWindow):
4343         (tst_QWebPage::showModalDialog):
4344
4345 2010-02-09  Andreas Kling  <andreas.kling@nokia.com>
4346
4347         Reviewed by Kenneth Rohde Christiansen.
4348
4349         [Qt] Sync with API changes in Maemo 5 kinetic scrolling
4350
4351         https://bugs.webkit.org/show_bug.cgi?id=34747
4352
4353         This is a forward-port of http://qt.gitorious.org/+qt-developers/qt/x11-maemo/commit/08497561
4354
4355         * Api/qwebview.cpp:
4356         (qt_sendSpontaneousEvent):
4357         (QWebViewKineticScroller::QWebViewKineticScroller):
4358         (QWebViewKineticScroller::setWidget):
4359         (QWebViewKineticScroller::eventFilter):
4360         (QWebViewKineticScroller::cancelLeftMouseButtonPress):
4361         (QWebViewKineticScroller::currentFrame):
4362         (QWebViewKineticScroller::scrollingFrameAt):
4363         (QWebViewKineticScroller::maximumScrollPosition):
4364   &nbs