[Qt] Remove dead code
[WebKit-https.git] / Source / WebKit / qt / ChangeLog
1 2012-10-05  Simon Hausmann  <simon.hausmann@digia.com>
2
3         [Qt] Remove dead code
4         https://bugs.webkit.org/show_bug.cgi?id=98491
5
6         Reviewed by Jocelyn Turcotte.
7
8         This code was added long time ago for a Symbian related project and is
9         not needed anymore.
10
11         * Api/qwebframe.cpp:
12
13 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
14
15         Final part of "sync" to "flush" renaming
16         https://bugs.webkit.org/show_bug.cgi?id=98430
17
18         Reviewed by Tim Horton.
19
20         Change method names on GraphicsLayer and GraphicsLayerClient that
21         refer to "sync" to use the term "flush" instead, to be consistent
22         with the rest of the code.
23
24         * WebCoreSupport/PageClientQt.cpp:
25         (WebCore::TextureMapperLayerClientQt::syncRootLayer):
26
27 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
28
29         Standardize on "flush" terminology for compositing layer flushing/syncing
30         https://bugs.webkit.org/show_bug.cgi?id=98321
31
32         Reviewed by Simon Fraser.
33
34         Rename compositing-related methods that refer to "syncing" to instead
35         refer to "flushing".
36
37         * WebCoreSupport/ChromeClientQt.cpp:
38         (WebCore::ChromeClientQt::scheduleCompositingLayerFlush):
39         * WebCoreSupport/ChromeClientQt.h:
40         (ChromeClientQt):
41         * WebCoreSupport/PageClientQt.cpp:
42         (WebCore::PageClientQGraphicsWidget::syncLayers):
43
44 2012-10-03  Balazs Kelemen  <kbalazs@webkit.org>
45
46         [Qt] Enable mock scrollbars
47         https://bugs.webkit.org/show_bug.cgi?id=98011
48
49         Reviewed by Csaba Osztrogonác.
50
51         Added helper to enable mock scrollbars.
52
53         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
54         (DumpRenderTreeSupportQt::enableMockScrollbars):
55         * WebCoreSupport/DumpRenderTreeSupportQt.h:
56
57 2012-10-01  Brady Eidson  <beidson@apple.com>
58
59         Remove the Safari 2 -> Safari 3 icon database import code.
60         https://bugs.webkit.org/show_bug.cgi?id=98113
61
62         Reviewed by Maciej Stachowiak.
63
64         Nuke the performImport() IconDatabaseClient method.
65
66         * WebCoreSupport/IconDatabaseClientQt.cpp:
67         * WebCoreSupport/IconDatabaseClientQt.h:
68         (IconDatabaseClientQt):
69
70 2012-09-28  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
71
72         Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared among different WK ports
73         https://bugs.webkit.org/show_bug.cgi?id=97547
74
75         Reviewed by Adam Barth.
76
77         Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
78         inside WebCore::FrameLoaderClientQt::canShowMIMEType().
79
80         * WebCoreSupport/FrameLoaderClientQt.cpp:
81         (WebCore::FrameLoaderClientQt::canShowMIMEType):
82
83 2012-09-27  Allan Sandfeld Jensen  <allan.jensen@digia.com>
84
85         Unify event handling of middle mouse button.
86         https://bugs.webkit.org/show_bug.cgi?id=97690
87
88         Reviewed by Tony Chang.
89
90         Remove port specific handling of middle mouse button press.
91
92         * Api/qwebpage.cpp:
93         (QWebPagePrivate::mouseReleaseEvent):
94         * Api/qwebpage_p.h:
95         (QWebPagePrivate):
96
97 2012-09-26  Simon Hausmann  <simon.hausmann@digia.com>
98
99         [Qt] Remove Qt Quick 1 support
100
101         Reviewed by Kenneth Rohde Christiansen.
102
103         It is being moved to the Qt5 QtQuick1 module.
104
105         A circular dependency exists otherwise in Qt, where QtWebKit would depend on QtQuick1,
106         which in turn depends on QtTools (for designer plugin), which in turn depends on QtWebKit
107         (for assistant help html rendering).
108
109         * declarative/plugin.cpp:
110         (WebKitQmlPlugin::registerTypes):
111         * declarative/public.pri:
112         * declarative/qdeclarativewebview.cpp: Removed.
113         * declarative/qdeclarativewebview_p.h: Removed.
114         * tests/qdeclarativewebview/qdeclarativewebview.pro: Removed.
115         * tests/qdeclarativewebview/resources/basic.html: Removed.
116         * tests/qdeclarativewebview/resources/basic.png: Removed.
117         * tests/qdeclarativewebview/resources/basic.qml: Removed.
118         * tests/qdeclarativewebview/resources/elements.html: Removed.
119         * tests/qdeclarativewebview/resources/elements.qml: Removed.
120         * tests/qdeclarativewebview/resources/forward.html: Removed.
121         * tests/qdeclarativewebview/resources/forward.png: Removed.
122         * tests/qdeclarativewebview/resources/javaScript.html: Removed.
123         * tests/qdeclarativewebview/resources/javaScript.qml: Removed.
124         * tests/qdeclarativewebview/resources/loadError.qml: Removed.
125         * tests/qdeclarativewebview/resources/newwindows.html: Removed.
126         * tests/qdeclarativewebview/resources/newwindows.qml: Removed.
127         * tests/qdeclarativewebview/resources/propertychanges.qml: Removed.
128         * tests/qdeclarativewebview/resources/sample.html: Removed.
129         * tests/qdeclarativewebview/resources/sethtml.qml: Removed.
130         * tests/qdeclarativewebview/resources/webviewbackgroundcolor.qml: Removed.
131         * tests/qdeclarativewebview/resources/webviewtest.qml: Removed.
132         * tests/qdeclarativewebview/resources/webviewtestdefault.qml: Removed.
133         * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Removed.
134         * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc: Removed.
135
136 2012-09-25  Beth Dakin  <bdakin@apple.com>
137
138         https://bugs.webkit.org/show_bug.cgi?id=95397
139         Need to merge didFirstVisuallyNonEmptyLayout and 
140         didNewFirstVisuallyNonEmptyLayout
141         -and corresponding-
142         <rdar://problem/10791680>
143
144         Reviewed by Sam Weinig.
145
146         Remove dispatchDidFirstLayout, 
147         dispatchDidFirstVisuallyNonEmptyLayout, and 
148         dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality 
149         is now replaced by dispatchDidLayout(LayoutMilestoneOptions)
150         * WebCoreSupport/FrameLoaderClientQt.cpp:
151         (WebCore::FrameLoaderClientQt::dispatchDidLayout):
152         * WebCoreSupport/FrameLoaderClientQt.h:
153         (FrameLoaderClientQt):
154
155         It is now necessary to opt into getting any of the 
156         "layout milestone" notifications.
157         * Api/qwebpage.cpp:
158         (QWebPagePrivate::QWebPagePrivate):
159
160 2012-09-25  Simon Hausmann  <simon.hausmann@digia.com>
161
162         [Qt] Fix failing assertion when calling QWebSettings::setIconDatabasePath multiple times
163
164         Reviewed by Jocelyn Turcotte.
165
166         This happens in various auto-tests. We can implement this by closing the database before
167         opening it with the new path.
168
169         * Api/qwebsettings.cpp:
170         (QWebSettings::setIconDatabasePath):
171
172 2012-09-24  Benjamin Poulain  <bpoulain@apple.com>
173
174         Fix Geolocation error reporting in the test support
175         https://bugs.webkit.org/show_bug.cgi?id=97386
176
177         Reviewed by Sam Weinig.
178
179         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
180         (DumpRenderTreeSupportQt::setMockGeolocationPositionUnavailableError):
181         * WebCoreSupport/DumpRenderTreeSupportQt.h:
182
183 2012-09-20  Csaba Osztrogonác  <ossy@webkit.org>
184
185         [Qt] Enable CSS regions by default
186         https://bugs.webkit.org/show_bug.cgi?id=97196
187
188         Reviewed by Dirk Schulze.
189
190         * Api/qwebsettings.cpp:
191         (QWebSettings::QWebSettings):
192
193 2012-09-17  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
194
195         [Qt] Use UndoStep::editingAction() to set the text of undo/redo actions
196         https://bugs.webkit.org/show_bug.cgi?id=96921
197
198         Reviewed by Ryosuke Niwa.
199
200         Set the text of QUndoCommands we create for undo/redo actions based on the
201         editing action from UndoStep.
202
203         This change is visible using QtTestBrowser, and looking at the Edit menu after
204         doing HTML editing changes. I've used http://simple-rte.rniwa.com for testing.
205
206         * WebCoreSupport/UndoStepQt.cpp:
207         (undoNameForEditAction): This function returns a localized name of the action.
208         (UndoStepQt::UndoStepQt): Set the text based on UndoStep::editingAction.
209         * tests/qwebpage/tst_qwebpage.cpp:
210         (tst_QWebPage):
211         (tst_QWebPage::undoActionHaveCustomText): Create a new test to verify that the text
212         describing the undo action after inserting a text and indenting the text is different.
213
214 2012-09-17  Leo Franchi  <lfranchi@kde.org>
215
216         [Qt] Inspector WebSocket backend protocol update
217         https://bugs.webkit.org/show_bug.cgi?id=77031
218
219         Also adds support for multi-frame messages and non-text messages.
220         Thanks to Jocelyn Turcotte for most of the WebSocket update code!
221
222         Reviewed by Simon Hausmann.
223
224         * WebCoreSupport/InspectorServerQt.cpp:
225         (WebCore):
226         (WebCore::generateWebSocketChallengeResponse):
227         (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
228         (WebCore::InspectorServerRequestHandlerQt::webSocketSend):
229         (WebCore::applyMask):
230         (WebCore::InspectorServerRequestHandlerQt::webSocketReadyRead):
231         * WebCoreSupport/InspectorServerQt.h:
232         (InspectorServerRequestHandlerQt):
233
234 2012-09-15  Pierre Rossi  <pierre.rossi@gmail.com>
235
236         [Qt] QDoc fixes for Qt 5 documentation
237         https://bugs.webkit.org/show_bug.cgi?id=96796
238
239         Reviewed by Simon Hausmann.
240
241         Produce fewer warnings and a better documentation.
242         Having two QML modules providing a WebView component is a bit too much for poor old qdoc to
243         cope with (or would require a lot of painful disambiguation by hand). Since the plan is to have
244         QDeclarativeWebView living in the qtquick1 module, we can already take it out of the 
245         documentation generation for now.
246
247         * declarative/qdeclarativewebview.cpp: s/qmlclass/qmltype/ out of principle
248         * docs/qtwebkit.qdocconf: Remove the \i alias that caused a warning. Use *.h as headers suffix, not sources.
249         Also remove QDeclarativeWebView from the documentation.
250
251 2012-09-13  Lauro Neto  <lauro.neto@openbossa.org>
252
253         [Qt][WK2] fast/forms/access-key-for-all-elements.html fails
254         https://bugs.webkit.org/show_bug.cgi?id=73917
255
256         Reviewed by Simon Hausmann.
257
258         Access-key tests were failing due to hardcoded Mac OS X in the
259         Qt WK2 user agent string. This commit moves the WK1 implementation
260         to a shared one to be used by both versions.
261
262         Change QWebPage to use the shared user agent implementation.
263
264         * Api/qwebpage.cpp:
265         (QWebPage::userAgentForUrl):
266
267 2012-09-13  Oswald Buddenhagen  <oswald.buddenhagen@nokia.com>
268
269         [Qt] Fix qdoc executable preparation
270
271         Reviewed by Tor Arne Vestbø.
272
273         * docs/docs.pri:
274
275 2012-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
276
277         Unreviewed, rolling out r127876.
278         http://trac.webkit.org/changeset/127876
279         https://bugs.webkit.org/show_bug.cgi?id=96600
280
281         mouse click doesn't work for spin button if spin button in
282         iframe (Requested by yosin on #webkit).
283
284         * Api/qwebframe.cpp:
285         (QWebFrame::hitTestContent):
286         * Api/qwebpage.cpp:
287         (QWebPagePrivate::handleSoftwareInputPanel):
288         (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
289         (QWebPage::updatePositionDependentActions):
290         * WebCoreSupport/FrameLoaderClientQt.cpp:
291         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
292
293 2012-09-12  Roland Takacs  <rtakacs@inf.u-szeged.hu>
294
295         [Qt] Segmentation fault when closing QtTestBrowser
296         https://bugs.webkit.org/show_bug.cgi?id=95003
297
298         Reviewed by Simon Hausmann.
299
300         Defined a new QObject* variable that points to the QGLWidget that was created
301         in 'createPlatformGraphicsContext3DFromWidget'.
302         It is neccessary for deallocating it.
303
304         * WebCoreSupport/PageClientQt.cpp:
305         (createPlatformGraphicsContext3DFromWidget):
306         (WebCore::PageClientQWidget::createPlatformGraphicsContext3D):
307         (WebCore::PageClientQGraphicsWidget::createPlatformGraphicsContext3D):
308         * WebCoreSupport/PageClientQt.h:
309         (PageClientQWidget):
310         (PageClientQGraphicsWidget):
311
312 2012-09-12  Andras Becsi  <andras.becsi@nokia.com>
313
314         [Qt] Add module identifier directive to the qmldir files
315         https://bugs.webkit.org/show_bug.cgi?id=96406
316
317         Reviewed by Simon Hausmann.
318
319         Qt5 QML modules need to be identified. Type registrations are only permitted
320         into the namespace identified in the qmldir file's module identifier directive.
321         Additionally this also facilitates the protection against external registrations.
322         This patch suppresses a warning when importing the QtWebKit module.
323
324         * declarative/experimental/qmldir:
325         * declarative/qmldir:
326
327 2012-09-11  Marcelo Lira  <marcelo.lira@openbossa.org>
328
329         Restore original value of mock scrollbars enabled in InternalSettings
330         https://bugs.webkit.org/show_bug.cgi?id=87680
331
332         Reviewed by Adam Barth.
333
334         Added backup support for mock scrollbars state in
335         InternalSettings::Backup, and removed support for these
336         from Qt's DumpRenderTree.
337
338         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
339         * WebCoreSupport/DumpRenderTreeSupportQt.h:
340
341 2012-09-11  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
342
343         [Qt] Add a configure step to the Qt build system
344
345         This allows building the Qt port using just 'qmake WebKit.pro'. Using
346         the build-webkit script is still supported, and will add slightly more
347         logic to the build, such as detecting the need for clean or incremental
348         builds.
349
350         Internally, the build system now uses a new variable, WEBKIT_CONFIG, for
351         all things related to configuring the build, such as use/have/enable flags,
352         and these are translated to defines in default_post. Project files should
353         no longer check contains(DEFINES,...) to detect features, but use the new
354         enable?(), use?(), and have?() functions. The no_webkit1 and no_webkit2
355         options have been translated into WEBKIT_CONFIG options as well, and can
356         be checked using build?().
357
358         Reviewed by Simon Hausmann.
359
360         * declarative/declarative.pro:
361         * declarative/public.pri:
362         * tests/qgraphicswebview/qgraphicswebview.pro:
363
364 2012-09-11  Andras Becsi  <andras.becsi@nokia.com>
365
366         [Qt][WK2] Fix the build with recent Qt5
367         https://bugs.webkit.org/show_bug.cgi?id=96283
368
369         Reviewed by Simon Hausmann.
370
371         We should not use deprecated Qt API because doing that results
372         in build failure since all the deprecated API was disabled
373         in qtbase (https://codereview.qt-project.org/#change,24890).
374
375         * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
376         (tst_QGraphicsWebView::widgetsRenderingThroughCache):
377         (tst_QGraphicsWebView::setPalette):
378         (tst_QGraphicsWebView::compareCanvasToImage):
379         * tests/qobjectbridge/tst_qobjectbridge.cpp:
380         (tst_QObjectBridge::ownership):
381         * tests/qwebframe/tst_qwebframe.cpp:
382         (tst_QWebFrame::popupFocus):
383         (tst_QWebFrame::inputFieldFocus):
384         (tst_QWebFrame::evaluateWillCauseRepaint):
385         * tests/qwebpage/tst_qwebpage.cpp:
386         (Navigation):
387         (PluginCounterPage):
388         * tests/qwebview/tst_qwebview.cpp:
389         (tst_QWebView::reusePage):
390         (tst_QWebView::focusInputTypes):
391         (tst_QWebView::setPalette):
392         (tst_QWebView::renderingAfterMaxAndBack):
393
394 2012-09-09  Emil A Eklund  <eae@chromium.org>
395
396         Rename Node::getRect/getPixelSnappedRect and remove ContainerNode::getRect
397         https://bugs.webkit.org/show_bug.cgi?id=81413
398
399         Reviewed by David Hyatt.
400
401         Update qwebelement and qwebpage to call pixelSnappedBoundingBox.
402
403         * Api/qwebelement.cpp:
404         (QWebElement::geometry):
405         (QWebElement::render):
406         * Api/qwebpage.cpp:
407         (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
408
409 2012-09-07  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
410
411         Simplify hitTestResultAtPoint and nodesFromRect APIs
412         https://bugs.webkit.org/show_bug.cgi?id=95720
413
414         Reviewed by Antonio Gomes.
415
416         Update calls to new API.
417
418         * Api/qwebframe.cpp:
419         (QWebFrame::hitTestContent):
420         * Api/qwebpage.cpp:
421         (QWebPagePrivate::handleSoftwareInputPanel):
422         (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
423         (QWebPage::updatePositionDependentActions):
424         * WebCoreSupport/FrameLoaderClientQt.cpp:
425         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
426
427 2012-09-07  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
428
429         X11 Global Selection
430         https://bugs.webkit.org/show_bug.cgi?id=88238
431
432         Reviewed by Tony Chang.
433
434         Use new editor command for pasting global selection, and update it using
435         the respondToChangedSelection callback.
436
437         * Api/qwebpage.cpp:
438         (QWebPagePrivate::handleClipboard):
439         * WebCoreSupport/EditorClientQt.cpp:
440         (WebCore::EditorClientQt::respondToChangedSelection):
441         (WebCore::EditorClientQt::supportsGlobalSelection):
442         * WebCoreSupport/EditorClientQt.h:
443         (EditorClientQt):
444
445 2012-09-05  Sam Weinig  <sam@webkit.org>
446
447         Part 2 of removing PlatformString.h, remove PlatformString.h
448         https://bugs.webkit.org/show_bug.cgi?id=95931
449
450         Reviewed by Adam Barth.
451
452         Remove PlatformString.h
453
454         * Api/qwebdatabase_p.h:
455         * Api/qwebframe_p.h:
456         * Api/qwebhistory.cpp:
457         * Api/qwebhistoryinterface.cpp:
458         * Api/qwebpage_p.h:
459         * Api/qwebsettings.cpp:
460         * WebCoreSupport/ChromeClientQt.h:
461         * WebCoreSupport/InspectorClientQt.cpp:
462
463 2012-09-05  Kaustubh Atrawalkar  <kaustubh@motorola.com>
464
465         [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
466         https://bugs.webkit.org/show_bug.cgi?id=92735
467
468         Reviewed by Hajime Morita.
469
470         Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
471
472         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
473         (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
474         * WebCoreSupport/DumpRenderTreeSupportQt.h:
475
476 2012-09-04  Jon Lee  <jonlee@apple.com>
477
478         [Qt] REGRESSION(r127321): It made 3 notification test timeout
479         https://bugs.webkit.org/show_bug.cgi?id=95638
480
481         Reviewed by Csaba Osztrogonác.
482
483         Dispatch show event instead of display after r127321.
484
485         * WebCoreSupport/NotificationPresenterClientQt.cpp:
486         (WebCore::NotificationPresenterClientQt::sendDisplayEvent):
487
488 2012-08-31  Simon Hausmann  <simon.hausmann@nokia.com>
489
490         [Qt] Port convertValueToQVariant to use the JSC C API
491         https://bugs.webkit.org/show_bug.cgi?id=94695
492
493         Reviewed by Kenneth Rohde Christiansen.
494
495         Minor adaptations are needed here to accomodate the changed signature of
496         convertValueToQVariant.
497
498         * Api/qwebelement.cpp:
499         (QWebElement::evaluateJavaScript):
500         (convertJSValueToWebElementVariant):
501         * Api/qwebframe.cpp:
502         (QWebFrame::evaluateJavaScript):
503         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
504         (convertJSValueToNodeVariant):
505
506 2012-08-30  Geoffrey Garen  <ggaren@apple.com>
507
508         Use one object instead of two for closures, eliminating ScopeChainNode
509         https://bugs.webkit.org/show_bug.cgi?id=95501
510
511         Reviewed by Filip Pizlo.
512
513         Mechanical change to update for JSC interface change.
514
515         * Api/qwebelement.cpp:
516         (QWebElement::evaluateJavaScript):
517
518 2012-08-30  Benjamin Poulain  <bpoulain@apple.com>
519
520         Replace JSC::UString by WTF::String
521         https://bugs.webkit.org/show_bug.cgi?id=95271
522
523         Reviewed by Geoffrey Garen.
524
525         Replace UString by String.
526
527         * Api/qwebelement.cpp:
528         (QWebElement::evaluateJavaScript):
529
530 2012-08-29  Simon Hausmann  <simon.hausmann@nokia.com>
531
532         [Qt] Fix doc generation with make docs
533         https://bugs.webkit.org/show_bug.cgi?id=95340
534
535         Reviewed by Kenneth Rohde Christiansen.
536
537         Fix doc target, similar to what the other Qt 5 modules are using and comment out the indexes
538         line, because cross-referencing doesn't work right now and the use of the QTDIR environment
539         is wrong, too.
540
541         * docs/docs.pri:
542         * docs/qtwebkit.qdocconf:
543
544 2012-08-22  Simon Hausmann  <simon.hausmann@nokia.com>
545
546         [Qt] REGRESSION(r125428): fast/profiler/nested-start-and-stop-profiler.html fails
547         https://bugs.webkit.org/show_bug.cgi?id=93897
548
549         Reviewed by Kenneth Rohde Christiansen.
550
551         Fixed some test expectations.
552
553         * tests/qobjectbridge/tst_qobjectbridge.cpp:
554         (tst_QObjectBridge::objectDeleted): Since runtime methods are real function objects again, we
555         can go back to testing Function.prototype.call, as it was done before r125428.
556         (tst_QObjectBridge::introspectQtMethods_data): Removed tests for the length property.
557         (tst_QObjectBridge::introspectQtMethods): Changed test expectation of the properties of
558         run-time methods back to being non-configurable, as before r125428.
559
560 2012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
561
562         Unreviewed, rolling out r126914.
563         http://trac.webkit.org/changeset/126914
564         https://bugs.webkit.org/show_bug.cgi?id=95239
565
566         it breaks everything and fixes nothing (Requested by pizlo on
567         #webkit).
568
569         * Api/qwebpage.cpp:
570         (extractContentTypeFromPluginVector):
571         * Api/qwebplugindatabase.cpp:
572         (QWebPluginInfo::mimeTypes):
573         * WebCoreSupport/PlatformStrategiesQt.cpp:
574         (PlatformStrategiesQt::getPluginInfo):
575
576 2012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
577
578         Rename first/second to key/value in HashMap iterators
579         https://bugs.webkit.org/show_bug.cgi?id=82784
580
581         Reviewed by Eric Seidel.
582
583         * Api/qwebpage.cpp:
584         (extractContentTypeFromPluginVector):
585         * Api/qwebplugindatabase.cpp:
586         (QWebPluginInfo::mimeTypes):
587         * WebCoreSupport/PlatformStrategiesQt.cpp:
588         (PlatformStrategiesQt::getPluginInfo):
589
590 2012-08-27  Sheriff Bot  <webkit.review.bot@gmail.com>
591
592         Unreviewed, rolling out r126836.
593         http://trac.webkit.org/changeset/126836
594         https://bugs.webkit.org/show_bug.cgi?id=95163
595
596         Broke all Apple ports, EFL, and Qt. (Requested by tkent on
597         #webkit).
598
599         * Api/qwebpage.cpp:
600         (extractContentTypeFromPluginVector):
601         * Api/qwebplugindatabase.cpp:
602         (QWebPluginInfo::mimeTypes):
603         * WebCoreSupport/PlatformStrategiesQt.cpp:
604         (PlatformStrategiesQt::getPluginInfo):
605
606 2012-08-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
607
608         Rename first/second to key/value in HashMap iterators
609         https://bugs.webkit.org/show_bug.cgi?id=82784
610
611         Reviewed by Eric Seidel.
612
613         * Api/qwebpage.cpp:
614         (extractContentTypeFromPluginVector):
615         * Api/qwebplugindatabase.cpp:
616         (QWebPluginInfo::mimeTypes):
617         * WebCoreSupport/PlatformStrategiesQt.cpp:
618         (PlatformStrategiesQt::getPluginInfo):
619
620 2012-08-22  Sheriff Bot  <webkit.review.bot@gmail.com>
621
622         Unreviewed, rolling out r126287.
623         http://trac.webkit.org/changeset/126287
624         https://bugs.webkit.org/show_bug.cgi?id=94708
625
626         It made WK1 layout testing 3.7x slower (>1hours) (Requested by
627         ossy on #webkit).
628
629         * tests/qobjectbridge/tst_qobjectbridge.cpp:
630         (tst_QObjectBridge::objectDeleted):
631         (tst_QObjectBridge::introspectQtMethods_data):
632         (tst_QObjectBridge::introspectQtMethods):
633
634 2012-08-22  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
635
636         [Qt] Optionally support smooth-scrolling on all platforms
637         https://bugs.webkit.org/show_bug.cgi?id=74926
638
639         Reviewed by Simon Hausmann.
640
641         Expose the enable scroll animator setting.
642
643         * Api/qwebsettings.cpp:
644         (QWebSettingsPrivate::apply):
645         (QWebSettings::QWebSettings):
646         * Api/qwebsettings.h:
647
648 2012-08-22  Simon Hausmann  <simon.hausmann@nokia.com>
649
650         [Qt] REGRESSION(r125428): fast/profiler/nested-start-and-stop-profiler.html fails
651         https://bugs.webkit.org/show_bug.cgi?id=93897
652
653         Reviewed by Kenneth Rohde Christiansen.
654
655         Fixed some test expectations.
656
657         * tests/qobjectbridge/tst_qobjectbridge.cpp:
658         (tst_QObjectBridge::objectDeleted): Since runtime methods are real function objects again, we
659         can go back to testing Function.prototype.call, as it was done before r125428.
660         (tst_QObjectBridge::introspectQtMethods_data): Removed tests for the length property.
661         (tst_QObjectBridge::introspectQtMethods): Changed test expectation of the properties of
662         run-time methods back to being non-configurable, as before r125428.
663
664 2012-08-21  Sheriff Bot  <webkit.review.bot@gmail.com>
665
666         Unreviewed, rolling out r126146.
667         http://trac.webkit.org/changeset/126146
668         https://bugs.webkit.org/show_bug.cgi?id=94606
669
670         It made all tests assert (Requested by Ossy on #webkit).
671
672         * tests/qobjectbridge/tst_qobjectbridge.cpp:
673         (tst_QObjectBridge::objectDeleted):
674         (tst_QObjectBridge::introspectQtMethods_data):
675         (tst_QObjectBridge::introspectQtMethods):
676
677 2012-08-17  Simon Hausmann  <simon.hausmann@nokia.com>
678
679         [Qt] REGRESSION(r125428): fast/profiler/nested-start-and-stop-profiler.html fails
680         https://bugs.webkit.org/show_bug.cgi?id=93897
681
682         Reviewed by Kenneth Rohde Christiansen.
683
684         Fixed some test expectations.
685
686         * tests/qobjectbridge/tst_qobjectbridge.cpp:
687         (tst_QObjectBridge::objectDeleted): Since runtime methods are real function objects again, we
688         can go back to testing Function.prototype.call, as it was done before r125428.
689         (tst_QObjectBridge::introspectQtMethods_data): Removed tests for the length property.
690         (tst_QObjectBridge::introspectQtMethods): Changed test expectation of the properties of
691         run-time methods back to being non-configurable, as before r125428.
692
693 2012-08-15  Ryosuke Niwa  <rniwa@webkit.org>
694
695         Update manual tests and comments to refer to TestRunner instead of LayoutTestController
696         https://bugs.webkit.org/show_bug.cgi?id=94168
697
698         Reviewed by Kent Tamura.
699
700         * Api/qwebelement.cpp:
701         (convertJSValueToWebElementVariant):
702         * WebCoreSupport/DumpRenderTreeSupportQt.h:
703
704 2012-08-14  Adam Barth  <abarth@webkit.org>
705
706         Delete Frame::domWindow() and Frame::existingDOMWindow()
707         https://bugs.webkit.org/show_bug.cgi?id=93990
708
709         Reviewed by Eric Seidel.
710
711         * WebCoreSupport/FrameLoaderClientQt.cpp:
712         (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
713
714 2012-08-14  Lauro Neto  <lauro.neto@openbossa.org>
715
716         Convert signals/slots to Q_* macros.
717
718         [Qt] Use Q_SLOTS and Q_SIGNALS instead of slots and signals
719         https://bugs.webkit.org/show_bug.cgi?id=93996
720
721         Reviewed by Kenneth Rohde Christiansen.
722
723         Change usage of keyword-conflicting 'signals' and 'slots' for
724         Q_SIGNALS and Q_SLOTS macro.
725
726         * WebCoreSupport/FrameLoaderClientQt.h:
727         (FrameLoaderClientQt):
728         * WebCoreSupport/FullScreenVideoQt.h:
729         (FullScreenVideoQt):
730         * WebCoreSupport/FullScreenVideoWidget.h:
731         (FullScreenVideoWidget):
732         * WebCoreSupport/IconDatabaseClientQt.h:
733         (IconDatabaseClientQt):
734         * WebCoreSupport/InspectorClientQt.cpp:
735         (InspectorClientWebPage):
736         * WebCoreSupport/InspectorServerQt.h:
737         (InspectorServerQt):
738         (InspectorServerRequestHandlerQt):
739         * WebCoreSupport/PopupMenuQt.h:
740         (PopupMenuQt):
741         * WebCoreSupport/QtFallbackWebPopup.h:
742         (QtFallbackWebPopup):
743         * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp:
744         (wrapInFunction):
745         * docs/webkitsnippets/webpage/main.cpp:
746         (Thumbnailer):
747         * examples/platformplugin/WebPlugin.h:
748         (Popup):
749         (WebPopup):
750         * tests/benchmarks/webgl/tst_webgl.cpp:
751         (tst_WebGlPerformance):
752         * tests/hybridPixmap/tst_hybridPixmap.cpp:
753         (tst_hybridPixmap):
754         * tests/hybridPixmap/widget.h:
755         (Widget):
756         * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
757         (tst_QDeclarativeWebView):
758         * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
759         (tst_QGraphicsWebView):
760         (WebPage):
761         (ResizeSpy):
762         * tests/qobjectbridge/tst_qobjectbridge.cpp:
763         (MyWebElementSlotOnlyObject):
764         (tst_QObjectBridge):
765         (TestPluginWidget):
766         * tests/qwebelement/tst_qwebelement.cpp:
767         (tst_QWebElement):
768         * tests/qwebframe/tst_qwebframe.cpp:
769         (tst_QWebFrame):
770         (FakeReply):
771         * tests/qwebhistory/tst_qwebhistory.cpp:
772         * tests/qwebhistoryinterface/tst_qwebhistoryinterface.cpp:
773         (tst_QWebHistoryInterface):
774         * tests/qwebinspector/tst_qwebinspector.cpp:
775         (tst_QWebInspector):
776         * tests/qwebpage/tst_qwebpage.cpp:
777         (tst_QWebPage):
778         (JSTestPage):
779         (RepaintRequestedRenderer):
780         (SpyForLoadSignalsOrder):
781         * tests/qwebplugindatabase/tst_qwebplugindatabase.cpp:
782         (tst_QWebPluginDatabase):
783         * tests/qwebview/tst_qwebview.cpp:
784         (tst_QWebView):
785         (WebViewCrashTest):
786
787 2012-08-14  Simon Hausmann  <simon.hausmann@nokia.com>
788
789         [Qt] Fix failing tst_QWebPage::findText unit test
790         https://bugs.webkit.org/show_bug.cgi?id=93951
791
792         Reviewed by Kenneth Rohde Christiansen.
793
794         Adjust the expected text, as the HTML editing code improved to avoid unnecessary tags.
795
796         * tests/qwebpage/tst_qwebpage.cpp:
797         (tst_QWebPage::findText):
798
799 2012-08-13  Tom Sepez  <tsepez@chromium.org>
800
801         [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
802         https://bugs.webkit.org/show_bug.cgi?id=93283
803
804         Reviewed by Eric Seidel.
805
806         Change the client redirectDataToPlugin method(s) to expect the possibility of
807         a NULL argument, keeping existing behaviour otherwise.
808
809         * WebCoreSupport/FrameLoaderClientQt.cpp:
810         (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
811
812 2012-08-13  Simon Hausmann  <simon.hausmann@nokia.com>
813
814         [Qt] Port meta method/signal/slot handling in run-time bridge to use JSC C API
815         https://bugs.webkit.org/show_bug.cgi?id=93476
816
817         Reviewed by Kenneth Rohde Christiansen.
818
819         Changed semantics of some test expectations. Similarly to r125032 when generating
820         error exceptions for connect/disconnect, we cannot generate explicit type error
821         exceptions but only generic errors. Another change is that the meta-method wrapper
822         doesn't support the call() through Function.prototype anymore. See WebCore changelog
823         for details.
824
825         * tests/qobjectbridge/tst_qobjectbridge.cpp:
826         (tst_QObjectBridge::connectAndDisconnect):
827         (tst_QObjectBridge::objectDeleted):
828         (tst_QObjectBridge::introspectQtMethods):
829
830 2012-08-13  Kwang Yul Seo  <skyul@company100.net>
831
832         [Qt] Add gprof.prf to build WebKit with gprof enabled
833         https://bugs.webkit.org/show_bug.cgi?id=90283
834
835         Reviewed by Eric Seidel.
836
837         * tests/MIMESniffing/MIMESniffing.pro:
838         Don't build MIMESniffing.cpp because MIMESniffing test links
839         WebKitQt statically when gprof is enabled.
840
841 2012-08-12  Loïc Yhuel  <loic.yhuel@softathome.com>
842
843         [Qt] Make it possible to build without QtTest/QtPrintSupport
844         https://bugs.webkit.org/show_bug.cgi?id=93492
845
846         Reviewed by Tor Arne Vestbø.
847
848         * Api/qwebframe.cpp:
849         (QWebFrame::print): Does nothing if no printsupport
850         * Api/qwebview.cpp:
851         (QWebView::print): Does nothing if no printsupport
852
853 2012-08-11  Pierre Rossi  <pierre.rossi@gmail.com>
854
855         [Qt] Add support for HTML5 state object history API in FrameLoaderClientQt
856         https://bugs.webkit.org/show_bug.cgi?id=93648
857
858         Reviewed by Kenneth Rohde Christiansen.
859
860         Add support for push/replace/pop by implementing dispatchDidNavigateWithinPage.
861
862         * WebCoreSupport/FrameLoaderClientQt.cpp:
863         (WebCore::FrameLoaderClientQt::dispatchDidNavigateWithinPage):
864         (WebCore::FrameLoaderClientQt::dispatchDidPushStateWithinPage):
865         (WebCore::FrameLoaderClientQt::dispatchDidReplaceStateWithinPage):
866         (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage):
867         * WebCoreSupport/FrameLoaderClientQt.h:
868         (FrameLoaderClientQt):
869         * tests/qwebframe/tst_qwebframe.cpp:
870         (tst_QWebFrame):
871         (tst_QWebFrame::setUrlUsingStateObject): Added. Tests that the urlChanged signal is fired.
872
873 2012-08-10  Simon Hausmann  <simon.hausmann@nokia.com>
874
875         [Qt] Remove QRegExp <> JS RegExp conversion
876         https://bugs.webkit.org/show_bug.cgi?id=93716
877
878         Reviewed by Kenneth Rohde Christiansen.
879
880         Removed tests that cover the automatic QRegExp <> JS RegExp conversion. See WebCore
881         ChangeLog for details.
882
883         * tests/qobjectbridge/tst_qobjectbridge.cpp:
884         (MyQObject::emitMySignalWithDateTimeArg):
885         (MyQObject):
886         (tst_QObjectBridge::overloadedSlots):
887         (tst_QObjectBridge::typeConversion):
888
889 2012-08-09  Simon Hausmann  <simon.hausmann@nokia.com>
890
891         [Qt] Remove support for __qt_sender__ in QObject bridge
892         https://bugs.webkit.org/show_bug.cgi?id=93649
893
894         Reviewed by Kenneth Rohde Christiansen.
895
896         Support for __qt_sender__ has also been removed from QtScript/QJSEngine. The right
897         JavaScript solution to the problem is Function.prototype.bind.
898
899         * Api/qwebframe.cpp:
900         (QWebFramePrivate::didClearWindowObject):
901         * Api/qwebframe_p.h:
902         (QWebFramePrivate):
903         * tests/qobjectbridge/tst_qobjectbridge.cpp:
904         (tst_QObjectBridge::connectAndDisconnect):
905
906 2012-08-08  Simon Hausmann  <simon.hausmann@nokia.com>
907
908         [Qt] Port internal findMethodIndex method matcher to use JSC C API
909         https://bugs.webkit.org/show_bug.cgi?id=93463
910
911         Reviewed by Kenneth Rohde Christiansen.
912
913         Adjust the expectations of the unit test for some of the exceptions the
914         method throws when signals/slots cannot be found/matched. The C API doesn't allow
915         us to create syntax (type) errors, only generic error exceptions.
916
917         * tests/qobjectbridge/tst_qobjectbridge.cpp:
918         (tst_QObjectBridge::callQtInvokable):
919
920 2012-08-08  Simon Hausmann  <simon.hausmann@nokia.com>
921
922         [Qt] Add unit test for QObject bindings for scriptable plugins
923         https://bugs.webkit.org/show_bug.cgi?id=93462
924
925         Reviewed by Kenneth Rohde Christiansen.
926
927         The bindings code is subject to refactoring in the future, so added a unit test to verify that
928         accessing an embedded QWidget from JavaScript goes through the QObject bindings.
929
930         * tests/qobjectbridge/tst_qobjectbridge.cpp:
931         (tst_QObjectBridge):
932         (TestPluginWidget):
933         (TestPluginWidget::TestPluginWidget):
934         (TestPluginWidget::slotWithReturnValue):
935         (TestWebPage):
936         (TestWebPage::TestWebPage):
937         (TestWebPage::createPlugin):
938         (tst_QObjectBridge::scriptablePlugin):
939
940 2012-08-07  Simon Hausmann  <simon.hausmann@nokia.com>
941
942         Unreviewed trivial fix: Missed HAVE_QT5 removal as part of r124879
943
944         Fixes failing auto-test.
945
946         * tests/qobjectbridge/tst_qobjectbridge.cpp:
947         (tst_QObjectBridge::enumerate_data):
948
949 2012-08-02  Simon Hausmann  <simon.hausmann@nokia.com>
950
951         [Qt] Remove Qt 4 specific code paths
952         https://bugs.webkit.org/show_bug.cgi?id=88161
953
954         Reviewed by Kenneth Rohde Christiansen.
955
956         * Api/qgraphicswebview.cpp:
957         (QGraphicsWebView::sceneEvent):
958         * Api/qgraphicswebview.h:
959         * Api/qwebframe.cpp:
960         * Api/qwebframe.h:
961         * Api/qwebframe_p.h:
962         * Api/qwebpage.cpp:
963         (QWebPage::event):
964         * Api/qwebpage.h:
965         * Api/qwebsettings.cpp:
966         (QWebSettings::enablePersistentStorage):
967         * Api/qwebview.cpp:
968         (QWebView::QWebView):
969         (QWebView::event):
970         * Api/qwebview.h:
971         * WebCoreSupport/ChromeClientQt.cpp:
972         (WebCore::ChromeClientQt::setToolTip):
973         * WebCoreSupport/FrameLoaderClientQt.cpp:
974         (WebCore::FrameLoaderClientQt::createPlugin):
975         * WebCoreSupport/GeolocationClientQt.cpp:
976         * WebCoreSupport/GeolocationClientQt.h:
977         * WebCoreSupport/PageClientQt.cpp:
978         (createPlatformGraphicsContext3DFromWidget):
979         (QWebPageClient::ownerWindow):
980         * WebCoreSupport/WebEventConversion.cpp:
981         (WebCore::WebKitPlatformTouchEvent::WebKitPlatformTouchEvent):
982         * declarative/declarative.pro:
983         * declarative/plugin.cpp:
984         * declarative/public.pri:
985         * examples/platformplugin/WebPlugin.cpp:
986         (WebPlugin::createExtension):
987         * examples/platformplugin/WebPlugin.h:
988         (WebPlugin):
989         * examples/platformplugin/platformplugin.pro:
990         * tests/qobjectbridge/tst_qobjectbridge.cpp:
991         (tst_QObjectBridge::arrayObjectEnumerable):
992         (tst_QObjectBridge::ownership):
993         (tst_QObjectBridge::qObjectWrapperWithSameIdentity):
994         * tests/tests.pri:
995         * tests/util.h:
996
997 2012-08-01  Zeno Albisser  <zeno@webkit.org>
998
999         [Qt]REGRESSION(r123786): It made 3 fast/animation tests fail.
1000         https://bugs.webkit.org/show_bug.cgi?id=92490
1001
1002         QAbstractAnimation:start() is implicitly calling updateTime
1003         without going through the event loop. This resulted in executing
1004         scripted animation callbacks right when registering a first callback.
1005
1006         Reviewed by Noam Rosenthal.
1007
1008         * WebCoreSupport/ChromeClientQt.cpp:
1009         (WebCore::RefreshAnimation::scheduleAnimation):
1010             Invoke QAbstractAnimation::start() method through the event loop.
1011
1012 2012-07-27  Csaba Osztrogonác  <ossy@webkit.org>
1013
1014         [Qt][WK2] REGRESSION(r119127): resetting window.internals settings between tests doesn't work properly
1015         https://bugs.webkit.org/show_bug.cgi?id=88064
1016
1017         Reviewed by Zoltan Herczeg.
1018
1019         Add missing DumpRenderTreeSupportQt::resetInternalsObject(JSContextRef context) function.
1020
1021         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1022         (DumpRenderTreeSupportQt::resetInternalsObject):
1023         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1024
1025 2012-07-26  Zeno Albisser  <zeno@webkit.org>
1026
1027         Unreviewed Qt buildfix after r123786.
1028
1029         Qt-minimal builds with ENABLE_REQUEST_ANIMATION_FRAME=0.
1030         Therefore adding #ifdefs to allow for that configuration.
1031
1032         * WebCoreSupport/ChromeClientQt.cpp:
1033         (WebCore):
1034         * WebCoreSupport/ChromeClientQt.h:
1035         (ChromeClientQt):
1036
1037 2012-07-26  Zeno Albisser  <zeno@webkit.org>
1038
1039         [Qt] requestAnimationFrame should only trigger when a new frame can be displayed.
1040         https://bugs.webkit.org/show_bug.cgi?id=88638
1041
1042         Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
1043         the servicing of scripted animations to the renderNextFrame call for WK2.
1044         For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.
1045
1046         Reviewed by Jocelyn Turcotte.
1047
1048         * WebCoreSupport/ChromeClientQt.cpp:
1049         (RefreshAnimation):
1050             Add a RefreshAnimation that is based on QAbstractAnimation
1051             and drives the servicing of the scripted animations for WK1.
1052         (WebCore::RefreshAnimation::RefreshAnimation):
1053         (WebCore::RefreshAnimation::duration):
1054         (WebCore::RefreshAnimation::scheduleAnimation):
1055             Set m_animationScheduled to true and start the animation
1056             timer in case it is not running yet.
1057         (WebCore::RefreshAnimation::updateCurrentTime):
1058             Call serviceScriptedAnimations if m_animationScheduled is true.
1059             If this is not the case, the animation timer can be stopped,
1060             because no animation needs to be scheduled anymore.
1061         (WebCore):
1062         (WebCore::ChromeClientQt::scheduleAnimation):
1063             Create and start the RefreshAnimation instance with the
1064             first call to scheduleAnimation.
1065         * WebCoreSupport/ChromeClientQt.h:
1066         (WebCore):
1067         (ChromeClientQt):
1068
1069 2012-07-26  Kaustubh Atrawalkar  <kaustubh@motorola.com>
1070
1071         [DRT] LTC:: pageNumberForElementById() could be moved to Internals
1072         https://bugs.webkit.org/show_bug.cgi?id=92091
1073
1074         Reviewed by Adam Barth.
1075
1076         Move the pageNumberForElementById from LayoutTestCotroller to Internals and
1077         remove the old platform specific implementations as it exclusively tests WebCore functionality.
1078
1079         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1080         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1081
1082 2012-07-24  Pierre Rossi  <pierre.rossi@gmail.com>
1083
1084         [Qt][WK1] color input type support
1085         https://bugs.webkit.org/show_bug.cgi?id=91998
1086
1087         Reviewed by Simon Hausmann.
1088
1089         Using QColorDialog. This is private for now, but
1090         it could be exposed via a virtual function in
1091         QWebPage at a later point in a Qt 5 minor release
1092         if there are requests for that.
1093
1094         * Api/qwebpage.cpp:
1095         (QWebPagePrivate::colorSelectionRequested):
1096         * Api/qwebpage_p.h:
1097         (QWebPagePrivate):
1098         * WebCoreSupport/ChromeClientQt.cpp:
1099         (WebCore::ChromeClientQt::createColorChooser):
1100
1101 2012-07-23  Oswald Buddenhagen  <oswald.buddenhagen@nokia.com>
1102
1103         [Qt] Fix compilation against namespaced Qt
1104
1105         Reviewed by Simon Hausmann.
1106
1107         * WebCoreSupport/GeolocationClientQt.h:
1108         * examples/platformplugin/WebPlugin.h:
1109
1110 2012-07-23  Pierre Rossi  <pierre.rossi@gmail.com>
1111
1112         Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
1113         https://bugs.webkit.org/show_bug.cgi?id=91006
1114
1115         Reviewed by Ryosuke Niwa.
1116
1117         Remove numTouchEventHandlersChanged stub.
1118
1119         * WebCoreSupport/ChromeClientQt.h:
1120
1121 2012-07-23  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1122
1123         [Qt] RenderThemeQtMobile highlight colors are not being used
1124         https://bugs.webkit.org/show_bug.cgi?id=92004
1125
1126         Reviewed by Noam Rosenthal.
1127
1128         * WebCoreSupport/RenderThemeQStyle.cpp:
1129         (WebCore::RenderThemeQStyle::setPaletteFromPageClientIfExists): Moved here since
1130         it's used only by RenderThemeQStyle. Remove unnecessary check for m_page->chrome().
1131         (WebCore):
1132         (WebCore::RenderThemeQStyle::colorPalette):
1133         * WebCoreSupport/RenderThemeQStyle.h:
1134         (RenderThemeQStyle):
1135
1136 2012-07-22  Kent Tamura  <tkent@chromium.org>
1137
1138         Rename ENABLE_METER_TAG and ENABLE_PROGRESS_TAG to ENABLE_METER_ELEMENT and ENABLE_PROGRESS_ELEMENT respectively
1139         https://bugs.webkit.org/show_bug.cgi?id=91941
1140
1141         Reviewed by Kentaro Hara.
1142
1143         A flag name for an elmement should be ENABLE_*_ELEMENT.
1144
1145         * WebCoreSupport/RenderThemeQStyle.cpp:
1146         (WebCore):
1147         * WebCoreSupport/RenderThemeQStyle.h:
1148
1149 2012-07-19  No'am Rosenthal  <noam.rosenthal@nokia.com>
1150
1151         [Qt] Enable CSS shaders in Qt (software mode)
1152         https://bugs.webkit.org/show_bug.cgi?id=85140
1153
1154         Reviewed by Simon Hausmann.
1155
1156         Enable CSS Shaders in settings when WebGL is enabled.
1157
1158         * Api/qwebsettings.cpp:
1159         (QWebSettingsPrivate::apply):
1160
1161 2012-07-19  Simon Hausmann  <simon.hausmann@nokia.com>
1162
1163         [Qt] Remove support for Qt versions before 4.8.0
1164         https://bugs.webkit.org/show_bug.cgi?id=91730
1165
1166         Reviewed by Kenneth Rohde Christiansen.
1167
1168         Remove Qt version check #ifdefs for Qt versions before 4.8.0.
1169
1170         * Api/qwebsettings.cpp:
1171         (QWebSettingsPrivate):
1172         (QWebSettings::QWebSettings):
1173         (QWebSettings::thirdPartyCookiePolicy):
1174         * Api/qwebsettings.h:
1175         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1176         (DumpRenderTreeSupportQt::thirdPartyCookiePolicyAllows):
1177         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1178         * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
1179         (tst_QDeclarativeWebView):
1180         (tst_QDeclarativeWebView::backgroundColor):
1181         * tests/qwebelement/tst_qwebelement.cpp:
1182         (tst_QWebElement::render):
1183         * tests/qwebpage/tst_qwebpage.cpp:
1184         (tst_QWebPage):
1185         (tst_QWebPage::thirdPartyCookiePolicy):
1186
1187 2012-07-17  Gabor Ballabas  <gaborb@inf.u-szeged.hu>
1188
1189         [Qt][V8] Remove the V8 related codepaths and configuration
1190         https://bugs.webkit.org/show_bug.cgi?id=90863
1191
1192         Reviewed by Simon Hausmann.
1193
1194         * Api/qwebelement.cpp:
1195         (setupScriptContext):
1196         (QWebElement::evaluateJavaScript):
1197         (convertWebElementVariantToJSValue):
1198         (QtWebElementRuntime::initialize):
1199         * Api/qwebframe.cpp:
1200         (QWebFramePrivate::didClearWindowObject):
1201         (QWebFramePrivate::addQtSenderToGlobalObject):
1202         (QWebFrame::addToJavaScriptWindowObject):
1203         (QWebFrame::evaluateJavaScript):
1204         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1205         (convertNodeVariantToJSValue):
1206         (QtDRTNodeRuntime::initialize):
1207         (DumpRenderTreeSupportQt::javaScriptObjectsCount):
1208         (DumpRenderTreeSupportQt::garbageCollectorCollect):
1209         (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
1210         (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
1211         (DumpRenderTreeSupportQt::injectInternalsObject):
1212         (DumpRenderTreeSupportQt::resetInternalsObject):
1213         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1214         * WebCoreSupport/FrameLoaderClientQt.cpp:
1215         (WebCore::FrameLoaderClientQt::createDocumentLoader):
1216         * WebCoreSupport/FrameLoaderClientQt.h:
1217         (FrameLoaderClientQt):
1218         * v8/ForwardingHeaders/v8-debug.h: Removed.
1219         * v8/ForwardingHeaders/v8-preparser.h: Removed.
1220         * v8/ForwardingHeaders/v8-profiler.h: Removed.
1221         * v8/ForwardingHeaders/v8-testing.h: Removed.
1222         * v8/ForwardingHeaders/v8.h: Removed.
1223         * v8/ForwardingHeaders/v8stdint.h: Removed.
1224
1225 2012-07-17  Vivek Galatage  <vivekgalatage@gmail.com>
1226
1227         Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
1228         https://bugs.webkit.org/show_bug.cgi?id=91196
1229
1230         Reviewed by Pavel Feldman.
1231
1232         Refactoring InspectorClients. InspectorClient::openInspectorFrontend
1233         now returning the InspectorFrontendChannel.
1234
1235         * WebCoreSupport/InspectorClientQt.cpp:
1236         (WebCore::InspectorClientQt::openInspectorFrontend):
1237         (WebCore::InspectorClientQt::attachAndReplaceRemoteFrontend):
1238         * WebCoreSupport/InspectorClientQt.h:
1239         (InspectorClientQt):
1240
1241 2012-07-17  Sheriff Bot  <webkit.review.bot@gmail.com>
1242
1243         Unreviewed, rolling out r122834.
1244         http://trac.webkit.org/changeset/122834
1245         https://bugs.webkit.org/show_bug.cgi?id=91492
1246
1247         it broke the chromium (Requested by kkristof on #webkit).
1248
1249         * Api/qwebelement.cpp:
1250         (setupScriptContext):
1251         (QWebElement::evaluateJavaScript):
1252         (QtWebElementRuntime::initialize):
1253         * Api/qwebframe.cpp:
1254         (QWebFramePrivate::didClearWindowObject):
1255         (QWebFrame::addToJavaScriptWindowObject):
1256         (QWebFrame::evaluateJavaScript):
1257         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1258         (QtDRTNodeRuntime::initialize):
1259         (DumpRenderTreeSupportQt::javaScriptObjectsCount):
1260         (DumpRenderTreeSupportQt::garbageCollectorCollect):
1261         (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
1262         (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
1263         (DumpRenderTreeSupportQt::injectInternalsObject):
1264         (DumpRenderTreeSupportQt::resetInternalsObject):
1265         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1266         (Bindings):
1267         * WebCoreSupport/FrameLoaderClientQt.cpp:
1268         (WebCore):
1269         (WebCore::FrameLoaderClientQt::didCreateScriptContext):
1270         (WebCore::FrameLoaderClientQt::willReleaseScriptContext):
1271         (WebCore::FrameLoaderClientQt::didCreateIsolatedScriptContext):
1272         (WebCore::FrameLoaderClientQt::createDocumentLoader):
1273         * WebCoreSupport/FrameLoaderClientQt.h:
1274         (FrameLoaderClientQt):
1275         (WebCore::FrameLoaderClientQt::allowScriptExtension):
1276         * v8/ForwardingHeaders/v8-debug.h: Added.
1277         * v8/ForwardingHeaders/v8-preparser.h: Added.
1278         * v8/ForwardingHeaders/v8-profiler.h: Added.
1279         * v8/ForwardingHeaders/v8-testing.h: Added.
1280         * v8/ForwardingHeaders/v8.h: Added.
1281         * v8/ForwardingHeaders/v8stdint.h: Added.
1282
1283 2012-07-17  Gabor Ballabas  <gaborb@inf.u-szeged.hu>
1284
1285         [Qt][V8] Remove the V8 related codepaths and configuration
1286         https://bugs.webkit.org/show_bug.cgi?id=90863
1287
1288         Reviewed by Simon Hausmann.
1289
1290         * Api/qwebelement.cpp:
1291         (setupScriptContext):
1292         (QWebElement::evaluateJavaScript):
1293         (convertWebElementVariantToJSValue):
1294         (QtWebElementRuntime::initialize):
1295         * Api/qwebframe.cpp:
1296         (QWebFramePrivate::didClearWindowObject):
1297         (QWebFramePrivate::addQtSenderToGlobalObject):
1298         (QWebFrame::addToJavaScriptWindowObject):
1299         (QWebFrame::evaluateJavaScript):
1300         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1301         (convertNodeVariantToJSValue):
1302         (QtDRTNodeRuntime::initialize):
1303         (DumpRenderTreeSupportQt::javaScriptObjectsCount):
1304         (DumpRenderTreeSupportQt::garbageCollectorCollect):
1305         (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
1306         (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
1307         (DumpRenderTreeSupportQt::injectInternalsObject):
1308         (DumpRenderTreeSupportQt::resetInternalsObject):
1309         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1310         * WebCoreSupport/FrameLoaderClientQt.cpp:
1311         (WebCore::FrameLoaderClientQt::createDocumentLoader):
1312         * WebCoreSupport/FrameLoaderClientQt.h:
1313         (FrameLoaderClientQt):
1314         * v8/ForwardingHeaders/v8-debug.h: Removed.
1315         * v8/ForwardingHeaders/v8-preparser.h: Removed.
1316         * v8/ForwardingHeaders/v8-profiler.h: Removed.
1317         * v8/ForwardingHeaders/v8-testing.h: Removed.
1318         * v8/ForwardingHeaders/v8.h: Removed.
1319         * v8/ForwardingHeaders/v8stdint.h: Removed.
1320
1321 2012-07-16  Simon Hausmann  <simon.hausmann@nokia.com>
1322
1323         [Qt] Fix inconsistent DLL linkage on Windows with WebKit1
1324         https://bugs.webkit.org/show_bug.cgi?id=91375
1325
1326         Reviewed by Laszlo Gombos.
1327
1328         Export QWebHistoryItemPrivate as required for tests. Unfortunately we cannot use
1329         Q_AUTOTEST_EXPORT outside of Qt.
1330
1331         * Api/qwebhistory_p.h:
1332
1333 2012-07-16  Zoltan Horvath  <zoltan@webkit.org>
1334
1335         [Qt] Change NativeImagePtr from QPixmap* to QImage*
1336         https://bugs.webkit.org/show_bug.cgi?id=88785
1337
1338         Reviewed by Simon Hausmann.
1339
1340         Since we use raster engine there is no difference between QPixmap and QImage, so we are going
1341         to use QImage everywhere where it is possible. This refactoring contains the change of the
1342         NativeImagePtr typedef from QPixmap* to QImage* and covers the related modifications.
1343
1344         Part of the change is similar to Viatcheslav Ostapenko's internal work.
1345
1346         Covered by existing tests.
1347
1348         * Api/qwebframe.cpp:
1349         (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
1350         * Api/qwebhistory.cpp:
1351         (QWebHistoryItem::icon):
1352         * Api/qwebsettings.cpp:
1353         (QWebSettings::iconForUrl):
1354         (QWebSettings::setWebGraphic):
1355         (QWebSettings::webGraphic):
1356         * WebCoreSupport/DragClientQt.cpp:
1357         (WebCore::DragClientQt::startDrag):
1358         * WebCoreSupport/InitWebCoreQt.cpp:
1359         (WebCore::initializeWebCoreQt):
1360
1361 2012-07-16  Frederik Gladhorn  <frederik.gladhorn@nokia.com>
1362
1363         Accessible Widget for QWebView
1364         https://bugs.webkit.org/show_bug.cgi?id=91073
1365
1366         Added classes that allow navigation to the web view widget.
1367         This is the glue to later access webkit's accessible objects
1368         though the Qt accessibility framework.
1369
1370         Reviewed by Simon Hausmann.
1371
1372         * Api/qwebview.cpp:
1373         (QWebView::QWebView):
1374         * Api/qwebviewaccessible.cpp: Added.
1375         (accessibleInterfaceFactory):
1376         (QWebFrameAccessible::QWebFrameAccessible):
1377         (QWebFrameAccessible::frame):
1378         (QWebFrameAccessible::parent):
1379         (QWebFrameAccessible::text):
1380         (QWebFrameAccessible::childCount):
1381         (QWebFrameAccessible::child):
1382         (QWebFrameAccessible::indexOfChild):
1383         (QWebFrameAccessible::state):
1384         (QWebFrameAccessible::role):
1385         (QWebFrameAccessible::navigate):
1386         (QWebPageAccessible::QWebPageAccessible):
1387         (QWebPageAccessible::page):
1388         (QWebPageAccessible::text):
1389         (QWebPageAccessible::parent):
1390         (QWebPageAccessible::child):
1391         (QWebPageAccessible::childCount):
1392         (QWebPageAccessible::indexOfChild):
1393         (QWebPageAccessible::navigate):
1394         (QWebPageAccessible::role):
1395         (QWebPageAccessible::state):
1396         (QWebViewAccessible::QWebViewAccessible):
1397         (QWebViewAccessible::view):
1398         (QWebViewAccessible::childCount):
1399         (QWebViewAccessible::child):
1400         * Api/qwebviewaccessible_p.h: Added.
1401         (QWebFrameAccessible):
1402         (QWebPageAccessible):
1403         (QWebViewAccessible):
1404
1405 2012-07-12  Huang Dongsung  <luxtella@company100.net>
1406
1407         [Qt] Increase the drawing performance by merging dirty rects.
1408         https://bugs.webkit.org/show_bug.cgi?id=91075
1409
1410         Reviewed by Noam Rosenthal.
1411
1412         QWebFramePrivate calls FrameView::paintContents as many as the number of dirty
1413         rects, so it causes too many redundant render tree traversals.
1414         I changed it to merge dirty rects and call FrameView::paintContents only once.
1415         The algorithm to merge rects is copied from GTK.
1416
1417         When parallel image decoders are in use, each image is independently repainted
1418         when decoding is finished. This creates a lot by repaint requests. So by merging
1419         these repaint requests, I could improve rendering performance.
1420
1421         For example, I tested parallel image decoders on the locally mirrored Pinterest site.
1422         QWebFramePrivate called FrameView::paintContents 165 times after parallel image
1423         decoders decoded all the images. It took about 120ms on my six-core Intel Xeon machine.
1424         This patch decreases painting time from 120ms to 30ms.
1425
1426         * Api/qwebframe.cpp:
1427         (coalesceRectsIfPossible):
1428         (QWebFramePrivate::renderRelativeCoords):
1429
1430 2012-07-11  Steffen Imhof  <steffen.imhof@basyskom.com>
1431
1432         [Qt] Middle clicking a scrollbar causes text to be pasted.
1433         https://bugs.webkit.org/show_bug.cgi?id=78444
1434
1435         Check if the event was already accepted before handling the clipboard.
1436
1437         Reviewed by Simon Hausmann.
1438
1439         * Api/qwebpage.cpp:
1440         (QWebPagePrivate::mouseReleaseEvent):
1441
1442 2012-07-10  Adam Barth  <abarth@webkit.org>
1443
1444         WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed
1445         https://bugs.webkit.org/show_bug.cgi?id=90910
1446
1447         Reviewed by Eric Seidel.
1448
1449         * Api/qwebpage.cpp:
1450         (QWebPagePrivate::QWebPagePrivate):
1451         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1452         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1453
1454 2012-07-09  No'am Rosenthal  <noam.rosenthal@nokia.com>
1455
1456         Shared code that is guarded with ENABLE(WEBGL) should be guarded with USE()
1457         https://bugs.webkit.org/show_bug.cgi?id=90506
1458
1459         Reviewed by Martin Robinson.
1460
1461         Updated necessary parts of PageClientQt to be guarded with USE(3D_GRAPHICS) instead of
1462         ENABLE(WEBGL). The WebKit1 glue to WebGL still requires the Qt OpenGL module, so it's
1463         disable if QT_OPENGL_LIB is not defined.
1464
1465         * WebCoreSupport/PageClientQt.cpp:
1466         (createPlatformGraphicsContext3DFromWidget):
1467         (WebCore):
1468         * WebCoreSupport/PageClientQt.h:
1469         (PageClientQWidget):
1470         (PageClientQGraphicsWidget):
1471
1472 2012-07-06  Csaba Osztrogonác  <ossy@webkit.org>
1473
1474         [Qt] Buildfix for newer Qt5
1475         https://bugs.webkit.org/show_bug.cgi?id=90519
1476
1477         Reviewed by Tor Arne Vestbø.
1478
1479         * WebCoreSupport/QtFallbackWebPopup.cpp: Include QtGui/QStandardItemModel instead of deprecated QStandardItemModel.
1480
1481 2012-07-06  Oswald Buddenhagen  <oswald.buddenhagen@nokia.com>
1482
1483         [Qt] Adjust to changed generation of master include file
1484
1485         The responsiblity for creating the master include was moved out of syncqt.
1486         @ignore_for_master_contents still stays, as syncqt (ab-)uses this for
1487         determining whether a header is private.
1488
1489         https://bugs.webkit.org/show_bug.cgi?id=90461
1490
1491         Reviewed by Tor Arne Vestbø.
1492
1493         * Api/qwebscriptworld.h:
1494         * tests/util.h:
1495
1496 2012-07-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1497
1498         [Qt] Get rid of un-needed QT += declarative for Qt 5
1499
1500         The declarative module has been renamed to quick1 in Qt 5, and the
1501         engine-only module for Qt 5 is named 'qml'. For many of the instances
1502         we could just remove 'declarative', since the project file was only
1503         used for Qt5/WebKit2 builds. In the other cases the module was wrapped
1504         in a haveQt(4) scope.
1505
1506         Reviewed by Csaba Osztrogonác.
1507
1508         * declarative/experimental/experimental.pri:
1509         * declarative/public.pri:
1510
1511 2012-07-03  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1512
1513         [Qt] Make use of .qmake.cache for caching features
1514
1515         Instead of loading() features from the files that need them (and re-running
1516         a bunch of checks), we now run feature detection as part of configure.pro,
1517         and have build-webkit write the computed feature-defines and CONFIG to
1518         .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
1519         when building WebKit.pro.
1520
1521         At some point we'll be able to selectivly prevent running of config tests
1522         in configure.pro, which means we don't need a separate code-path for
1523         the build-webkit --help case.
1524
1525         We should also move the code in build-webkit that now uses .webkit.config
1526         to detect clean builds, to use .qmake.cache, since we now store the same
1527         thing there.
1528
1529         Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
1530
1531         Reviewed by Tor Arne Vestbø.
1532
1533         * declarative/declarative.pro:
1534         * declarative/public.pri:
1535         * tests/qgraphicswebview/qgraphicswebview.pro:
1536
1537 2012-07-03  Sheriff Bot  <webkit.review.bot@gmail.com>
1538
1539         Unreviewed, rolling out r121766.
1540         http://trac.webkit.org/changeset/121766
1541         https://bugs.webkit.org/show_bug.cgi?id=90465
1542
1543         It caused flakey build errors on the bots (Requested by Ossy
1544         on #webkit).
1545
1546         * declarative/declarative.pro:
1547         * declarative/public.pri:
1548         * tests/qgraphicswebview/qgraphicswebview.pro:
1549
1550 2012-07-03  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1551
1552         [Qt] Make use of .qmake.cache for caching features
1553
1554         Instead of loading() features from the files that need them (and re-running
1555         a bunch of checks), we now run feature detection as part of configure.pro,
1556         and have build-webkit write the computed feature-defines and CONFIG to
1557         .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
1558         when building WebKit.pro.
1559
1560         At some point we'll be able to selectivly prevent running of config tests
1561         in configure.pro, which means we don't need a separate code-path for
1562         the build-webkit --help case.
1563
1564         We should also move the code in build-webkit that now uses .webkit.config
1565         to detect clean builds, to use .qmake.cache, since we now store the same
1566         thing there.
1567
1568         Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
1569
1570         Reviewed by Tor Arne Vestbø.
1571
1572         * declarative/declarative.pro:
1573         * declarative/public.pri:
1574         * tests/qgraphicswebview/qgraphicswebview.pro:
1575
1576 2012-07-02  No'am Rosenthal  <noam.rosenthal@nokia.com>
1577
1578         [Qt] Get rid of GraphicsLayerQt
1579         https://bugs.webkit.org/show_bug.cgi?id=78598
1580
1581         Reviewed by Luiz Agostini.
1582
1583         Removed all references to GraphicsLayerQt, including #ifdef code paths that only apply
1584         when TEXTURE_MAPPER is disabled.
1585
1586         * Api/qgraphicswebview.cpp:
1587         (QGraphicsWebView::paint):
1588         * Api/qwebframe.cpp:
1589         (QWebFramePrivate::renderFromTiledBackingStore):
1590         (QWebFramePrivate::renderRelativeCoords):
1591         * Api/qwebframe_p.h:
1592         (QWebFramePrivate::QWebFramePrivate):
1593         (QWebFramePrivate):
1594         * Api/qwebsettings.cpp:
1595         (QWebSettingsPrivate::apply):
1596         * WebCoreSupport/PageClientQt.cpp:
1597         (WebCore):
1598         (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
1599         (WebCore::PageClientQGraphicsWidget::update):
1600         (WebCore::PageClientQGraphicsWidget::syncLayers):
1601         (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
1602         * WebCoreSupport/PageClientQt.h:
1603         (WebCore):
1604         (WebCore::PageClientQWidget::PageClientQWidget):
1605         (PageClientQWidget):
1606         (PageClientQGraphicsWidget):
1607
1608 2012-07-02  Benjamin Poulain  <bpoulain@apple.com>
1609
1610         Do not do any logging initialization when logging is disabled
1611         https://bugs.webkit.org/show_bug.cgi?id=90228
1612
1613         Reviewed by Simon Fraser.
1614
1615         * WebCoreSupport/InitWebCoreQt.cpp:
1616         (WebCore::initializeWebCoreQt):
1617
1618 2012-06-29  Konrad Piascik  <kpiascik@rim.com>
1619
1620         Don't hardcode target dpi of 160 (it should be 96 on desktop)
1621         https://bugs.webkit.org/show_bug.cgi?id=88114
1622
1623         Reviewed by Adam Barth.
1624
1625         Updated the call to computeViewportAttributes.
1626
1627         * Api/qwebpage.cpp:
1628         (QWebPage::viewportAttributesForSize):
1629         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1630         (DumpRenderTreeSupportQt::viewportAsText):
1631
1632 2012-06-28  Alexander Pavlov  <apavlov@chromium.org>
1633
1634         [Qt] inspector/styles/inject-stylesheet.html makes 4 tests flakey (TEXT PASS)
1635         https://bugs.webkit.org/show_bug.cgi?id=90167
1636
1637         Reviewed by Csaba Osztrogonác.
1638
1639         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1640         (DumpRenderTreeSupportQt::removeUserStyleSheets):
1641         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1642
1643 2012-06-28  Csaba Osztrogonác  <ossy@webkit.org>
1644
1645         [Qt] Restore original value of mock scrollbars between tests
1646         https://bugs.webkit.org/show_bug.cgi?id=90155
1647
1648         Reviewed by Simon Hausmann.
1649
1650         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1651         (DumpRenderTreeSupportQt::setMockScrollbarsEnabled):
1652         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1653
1654 2012-06-25  Mark Hahnenberg  <mhahnenberg@apple.com>
1655
1656         JSLock should be per-JSGlobalData
1657         https://bugs.webkit.org/show_bug.cgi?id=89123
1658
1659         Reviewed by Geoffrey Garen.
1660
1661         Changed all sites that used JSLock to instead use the new JSLockHolder
1662         and pass in the correct JS context that the code is about to interact with that 
1663         needs protection. Also added a couple JSLocks to places that didn't already 
1664         have it that needed it.
1665
1666         * Api/qwebframe.cpp:
1667         (QWebFramePrivate::addQtSenderToGlobalObject):
1668         (QWebFrame::addToJavaScriptWindowObject):
1669         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1670         (DumpRenderTreeSupportQt::injectInternalsObject):
1671         (DumpRenderTreeSupportQt::resetInternalsObject):
1672
1673 2012-06-27  Simon Hausmann  <simon.hausmann@nokia.com>
1674
1675         [Qt] Fix compilation of example platform plugin with Qt 5
1676
1677         Reviewed by Kenneth Christiansen.
1678
1679         Use QLatin1String where appropriate and use the Qt 5 plugin
1680         system with Qt 5.
1681
1682         * examples/platformplugin/WebPlugin.cpp:
1683         (SingleSelectionPopup::SingleSelectionPopup):
1684         (MultipleItemListDelegate::MultipleItemListDelegate):
1685         (MultipleSelectionPopup::MultipleSelectionPopup):
1686         * examples/platformplugin/WebPlugin.h:
1687         (WebPlugin):
1688
1689 2012-06-26  Tony Chang  <tony@chromium.org>
1690
1691         [Qt] Enable grid layout LayoutTests
1692         https://bugs.webkit.org/show_bug.cgi?id=89909
1693
1694         Reviewed by Csaba Osztrogonác.
1695
1696         These tests pass, we just need to hook up the overridePreference.
1697
1698         * Api/qwebsettings.cpp:
1699         (QWebSettingsPrivate::apply):
1700         (QWebSettings::QWebSettings):
1701         * Api/qwebsettings.h: Add enum value for CSS grid layout
1702
1703 2012-06-25  Simon Hausmann  <simon.hausmann@nokia.com>
1704
1705         Unreviewed build fix: Don't do QT += widgets with Qt 4
1706
1707         * examples/platformplugin/platformplugin.pro:
1708
1709 2012-06-23  Sheriff Bot  <webkit.review.bot@gmail.com>
1710
1711         Unreviewed, rolling out r121058.
1712         http://trac.webkit.org/changeset/121058
1713         https://bugs.webkit.org/show_bug.cgi?id=89809
1714
1715         Patch causes plugins tests to crash in GTK debug builds
1716         (Requested by zdobersek on #webkit).
1717
1718         * Api/qwebframe.cpp:
1719         (QWebFramePrivate::addQtSenderToGlobalObject):
1720         (QWebFrame::addToJavaScriptWindowObject):
1721         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1722         (DumpRenderTreeSupportQt::injectInternalsObject):
1723         (DumpRenderTreeSupportQt::resetInternalsObject):
1724
1725 2012-06-20  Mark Hahnenberg  <mhahnenberg@apple.com>
1726
1727         JSLock should be per-JSGlobalData
1728         https://bugs.webkit.org/show_bug.cgi?id=89123
1729
1730         Reviewed by Gavin Barraclough.
1731
1732         Changed all sites that used JSLock to instead use the new JSLockHolder
1733         and pass in the correct JS context that the code is about to interact with that 
1734         needs protection.
1735
1736         * Api/qwebframe.cpp:
1737         (QWebFramePrivate::addQtSenderToGlobalObject):
1738         (QWebFrame::addToJavaScriptWindowObject):
1739         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1740         (DumpRenderTreeSupportQt::injectInternalsObject):
1741         (DumpRenderTreeSupportQt::resetInternalsObject):
1742
1743 2012-06-22  Amy Ousterhout  <aousterh@chromium.org>
1744
1745         Renamed DeviceOrientation to DeviceOrientationData
1746         https://bugs.webkit.org/show_bug.cgi?id=88663
1747
1748         Reviewed by Steve Block.
1749
1750         Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
1751         This change makes DeviceOrientationData consistent with DeviceMotionData.
1752         
1753         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1754         (DumpRenderTreeSupportQt::setMockDeviceOrientation):
1755         
1756 2012-06-21  Thiago Marcos P. Santos  <thiago.santos@intel.com>
1757
1758         [WK2][Qt] Color chooser API missing
1759         https://bugs.webkit.org/show_bug.cgi?id=87749
1760
1761         Reviewed by Kenneth Rohde Christiansen.
1762
1763         Added ColorChooser API stub to WebKit. Otherwise
1764         it will break the build for Qt WebKit2 (that now has
1765         complete support for color chooser) when INPUT_TYPE_COLOR is set.
1766
1767         * WebCoreSupport/ChromeClientQt.cpp:
1768         (WebCore):
1769         (WebCore::ChromeClientQt::createColorChooser):
1770         * WebCoreSupport/ChromeClientQt.h:
1771         (ChromeClientQt):
1772
1773 2012-06-20  Simon Hausmann  <simon.hausmann@nokia.com>
1774
1775         [Qt] Unreviewed build fix
1776
1777         The platform plugin example uses QGridLayout and thus needs QT += widgets
1778
1779         * examples/platformplugin/platformplugin.pro:
1780
1781 2012-06-19  Csaba Osztrogonác  <ossy@webkit.org>
1782
1783         [Qt] Buildfix for newer Qt5, use QPointer instead of the deprecated QWeakPointer.
1784         https://bugs.webkit.org/show_bug.cgi?id=89449
1785
1786         Reviewed by Simon Hausmann.
1787
1788         * Api/qwebframe_p.h:
1789         (QWebHitTestResultPrivate):
1790         * Api/qwebpage_p.h:
1791         (QWebPagePrivate):
1792         * WebCoreSupport/FrameLoaderClientQt.cpp:
1793         (WebCore::FrameLoaderClientQt::createFrame):
1794         * WebCoreSupport/PageClientQt.h:
1795         (PageClientQGraphicsWidget):
1796
1797 2012-06-19  Albert Astals Cid  <albert.astals@canonical.com>
1798
1799         [Qt] Document the versions enums where added
1800         https://bugs.webkit.org/show_bug.cgi?id=89452
1801
1802         Reviewed by Simon Hausmann.
1803
1804         * Api/qwebpage.cpp:
1805
1806 2012-06-19  Sergio Villar Senin  <svillar@igalia.com>
1807
1808         Calling nativeImageForCurrentFrame() causes assertion failure: m_verifier.isSafeToUse()
1809         https://bugs.webkit.org/show_bug.cgi?id=67582
1810
1811         Reviewed by David Levin.
1812
1813         Use synchronousNativeIconForPageURL() to retrieve favicons.
1814
1815         * Api/qwebhistory.cpp:
1816         (QWebHistoryItem::icon):
1817         * Api/qwebsettings.cpp:
1818         (QWebSettings::iconForUrl):
1819
1820 2012-06-18  Andras Becsi  <andras.becsi@nokia.com>
1821
1822         [Qt] Update QML plugins to Qt 5 style
1823         https://bugs.webkit.org/show_bug.cgi?id=89027
1824
1825         Reviewed by Csaba Osztrogonác.
1826
1827         Since support for Qt 4 style plugins was removed from Qt 5
1828         we need to update our plugins to the new style to be able
1829         to build with a more recent Qt 5 hash.
1830         Add empty plugin description json files for now.
1831
1832         * declarative/experimental/plugin.cpp:
1833         * declarative/experimental/plugin.json: Added.
1834         * declarative/plugin.cpp:
1835         (WebKitQmlPlugin):
1836         * declarative/plugin.json: Added.
1837
1838 2012-06-13  Simon Hausmann  <simon.hausmann@nokia.com>
1839
1840         [Qt] Remove dependency to QtScript for the Qt 5 build
1841         https://bugs.webkit.org/show_bug.cgi?id=88993
1842
1843         Reviewed by Kenneth Rohde Christiansen.
1844
1845         When building against Qt 5, replace the use of QScriptEngine::ValueOwnership with
1846         a (compatible) QWebFrame::ValueOwnership enum.
1847
1848         * Api/qwebframe.cpp:
1849         (qtSenderCallback):
1850         (QWebFrame::addToJavaScriptWindowObject):
1851         * Api/qwebframe.h:
1852         * tests/qobjectbridge/tst_qobjectbridge.cpp:
1853         (tst_QObjectBridge::arrayObjectEnumerable):
1854         (tst_QObjectBridge::ownership):
1855         (tst_QObjectBridge::qObjectWrapperWithSameIdentity):
1856
1857
1858 2012-06-12  Csaba Osztrogonác  <ossy@webkit.org>
1859
1860         [Qt][Mac] Unreviewed buildfix after r120076.
1861
1862         * WebCoreSupport/QTKitFullScreenVideoHandler.h:
1863
1864 2012-06-11  Kaustubh Atrawalkar  <kaustubh@motorola.com>
1865
1866         [DRT] LTC:: counterValueForElementById() could be moved to Internals.
1867         https://bugs.webkit.org/show_bug.cgi?id=84406
1868
1869         Reviewed by Hajime Morita.
1870
1871         Move the counterValueForElementById from LayoutTestCotroller to Internals and
1872         remove the old platform specific implementations as it exclusively tests WebCore functionality.
1873
1874         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1875         * WebCoreSupport/DumpRenderTreeSupportQt.h:
1876
1877 2012-06-11  Csaba Osztrogonác  <ossy@webkit.org>
1878
1879         [Qt][Win] Add missing includes to fix the build
1880         https://bugs.webkit.org/show_bug.cgi?id=88538
1881
1882         Reviewed by Simon Hausmann.
1883
1884         * Api/qwebframe.cpp:
1885         * WebCoreSupport/ChromeClientQt.cpp:
1886         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1887         * WebCoreSupport/GeolocationClientQt.cpp:
1888         * WebCoreSupport/IconDatabaseClientQt.cpp:
1889
1890 2012-06-08  Simon Hausmann  <simon.hausmann@nokia.com>
1891
1892         Unreviewed, fix file permissions.
1893
1894         * WebCoreSupport/FrameLoaderClientQt.cpp:
1895
1896 2012-06-07  Zoltan Horvath  <zoltan@webkit.org>
1897
1898         [Qt] Qt DRT should load external resources - cleanup
1899         https://bugs.webkit.org/show_bug.cgi?id=88568
1900
1901         Make things more straighforward to load external URLs in DRT.
1902
1903         Reviewed by Ryosuke Niwa.
1904
1905         * WebCoreSupport/FrameLoaderClientQt.cpp:
1906         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1907
1908 2012-06-06  Zoltan Horvath  <zoltan@webkit.org>
1909
1910         [Qt] Qt DRT / WTR should be able to load external resources
1911         https://bugs.webkit.org/show_bug.cgi?id=87326
1912
1913         Reviewed by Hajime Morita.
1914
1915         Allow external resources to be loaded when the main frame's URL is also an external resource.
1916         This change is analogous to r118231 for Mac port and to r119153 Chromium port.
1917
1918         * WebCoreSupport/FrameLoaderClientQt.cpp:
1919         (WebCore::blockRequest):
1920         (WebCore):
1921         (WebCore::isLocalhost):
1922         (WebCore::hostIsUsedBySomeTestsToGenerateError):
1923         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1924
1925 2012-06-05  Max Feil  <mfeil@rim.com>
1926
1927         [BlackBerry] Conditionally enlarge HTML5 video controls in fullscreen mode
1928         https://bugs.webkit.org/show_bug.cgi?id=87551
1929
1930         Reviewed by Antonio Gomes.
1931
1932         Add a new parameter to adjustSliderThumbSize() for BlackBerry
1933         port. Fixing compiles of other ports.
1934
1935         * WebCoreSupport/RenderThemeQStyle.cpp:
1936         (WebCore::RenderThemeQStyle::adjustSliderThumbSize):
1937         * WebCoreSupport/RenderThemeQStyle.h:
1938         (RenderThemeQStyle):
1939
1940 2012-06-04  Sheriff Bot  <webkit.review.bot@gmail.com>
1941
1942         Unreviewed, rolling out r119384.
1943         http://trac.webkit.org/changeset/119384
1944         https://bugs.webkit.org/show_bug.cgi?id=88227
1945
1946         Need to update some tests, I'll roll in later. (Requested by
1947         Zoltan on #webkit).
1948
1949         * WebCoreSupport/FrameLoaderClientQt.cpp:
1950         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1951
1952 2012-06-04  Zoltan Horvath  <zoltan@webkit.org>
1953
1954         [Qt] Qt DRT / WTR should be able to load external resources
1955         https://bugs.webkit.org/show_bug.cgi?id=87326
1956
1957         Reviewed by Ryosuke Niwa.
1958
1959         Allow external resources to be loaded when the main frame's URL is also an external resource.
1960         This change is analogous to r118231 for Mac port and to r119153 Chromium port.
1961
1962         * WebCoreSupport/FrameLoaderClientQt.cpp:
1963         (WebCore::blockRequest):
1964         (WebCore):
1965         (WebCore::isLocalhost):
1966         (WebCore::hostIsUsedBySomeTestsToGenerateError):
1967         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1968
1969 2012-06-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
1970
1971         [Qt] Don't use WebKit HAVE() macro in public Qt headers
1972
1973         Reviewed by Kenneth Rohde Christiansen.
1974
1975         * Api/qgraphicswebview.h:
1976         * Api/qwebframe_p.h:
1977         * Api/qwebpage.h:
1978         * Api/qwebview.h:
1979
1980 2012-06-02  Zoltan Arvai  <zarvai@inf.u-szeged.hu>
1981
1982         [Qt] Use 'Ok' and 'Cancel' buttons in JavaScript confirm box.
1983         https://bugs.webkit.org/show_bug.cgi?id=76190
1984         Based on Johannes Obermayrs (johannesobermayr@gmx.de) patch.
1985         See: http://www.javascripter.net/faq/confirm.htm
1986         Fixes: https://bugs.kde.org/show_bug.cgi?id=287629
1987
1988         Reviewed by Simon Hausmann.
1989
1990         * Api/qwebpage.cpp:
1991         (QWebPage::javaScriptConfirm):
1992
1993 2012-06-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1994
1995         [Qt] Fix QObject bridge tests in Qt5 after (not so) recent QVariant changes
1996         https://bugs.webkit.org/show_bug.cgi?id=88127
1997
1998         Reviewed by Noam Rosenthal.
1999
2000         We were checking for invalid QVariants in a very odd way. Since in Qt5 the
2001         userType of invalid changed to not be Void, this broke the tests for QtWebKit
2002         with Qt5. Replace those checks with QVariant::isValid() calls.
2003
2004         * tests/qobjectbridge/tst_qobjectbridge.cpp:
2005         (tst_QObjectBridge::evalJS):
2006         (tst_QObjectBridge::evalJSV):
2007
2008 2012-06-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2009
2010         [Qt] Move QObject bridge related tests from tst_qwebframe to tst_qobjectbridge
2011         https://bugs.webkit.org/show_bug.cgi?id=88117
2012
2013         Reviewed by Noam Rosenthal.
2014
2015         Five tests (classEnums, classConstructor, transferInvokable, findObject and
2016         findChildren) were removed since they contained commented code since the file was
2017         added back in 2008. The QObject bridge tests were probably inspired in similar
2018         tests for QtScript, so many features not yet implemented were present in QtWebKit
2019         tests but commented.
2020
2021         Other minor changes:
2022         - Moved MyEnumTestQObject near the only test function that uses it.
2023         - Removed unnecessary Q_INVOKABLE from setBrushProperty.
2024         - Removed some bits of dead / commented code.
2025
2026         * tests/qobjectbridge/qobjectbridge.pro: Added.
2027         * tests/qobjectbridge/tst_qobjectbridge.cpp: Copied from Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp.
2028         Kept only the tests related to QObject bridge implementation.
2029         * tests/qwebframe/tst_qwebframe.cpp:
2030         (tst_QWebFrame):
2031         (tst_QWebFrame::init):
2032         (tst_QWebFrame::cleanup):
2033
2034 2012-06-01  Thiago Marcos P. Santos  <thiago.santos@intel.com>
2035
2036         [Qt] Remove deprecated to/fromAscii()
2037         https://bugs.webkit.org/show_bug.cgi?id=88086
2038
2039         Reviewed by Simon Hausmann.
2040
2041         Replacing to/fromAscii with to/fromLatin1 since it
2042         is deprecated on Qt5.
2043
2044         * WebCoreSupport/InspectorClientQt.cpp:
2045         (WebCore):
2046         * WebCoreSupport/InspectorServerQt.cpp:
2047         (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
2048         * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
2049         (tst_QDeclarativeWebView::settings):
2050
2051 2012-05-31  Hajime Morrita  <morrita@chromium.org>
2052
2053         REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
2054         https://bugs.webkit.org/show_bug.cgi?id=86859
2055
2056         Reviewed by Ryosuke Niwa.
2057
2058         * WebCoreSupport/TextCheckerClientQt.h:
2059         (WebCore::TextCheckerClientQt::requestCheckingOfString):
2060
2061 2012-05-31  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
2062
2063         [Qt] Simplify QT_VERSION_CHECKS for Qt5 by introducing HAVE(QT5)
2064         https://bugs.webkit.org/show_bug.cgi?id=87955
2065
2066         Reviewed by Simon Hausmann.
2067
2068         * Api/qgraphicswebview.cpp:
2069         * Api/qgraphicswebview.h:
2070         * Api/qwebframe.cpp:
2071         * Api/qwebframe_p.h:
2072         * Api/qwebpage.cpp:
2073         * Api/qwebpage.h:
2074         * Api/qwebsettings.cpp:
2075         * Api/qwebview.cpp:
2076         * Api/qwebview.h:
2077         * WebCoreSupport/FrameLoaderClientQt.cpp:
2078         * WebCoreSupport/GeolocationClientQt.cpp:
2079         * WebCoreSupport/GeolocationClientQt.h:
2080         * WebCoreSupport/PageClientQt.cpp:
2081         * WebCoreSupport/WebEventConversion.cpp:
2082         * declarative/plugin.cpp:
2083         * tests/qwebframe/tst_qwebframe.cpp:
2084         * tests/util.h:
2085
2086 2012-05-29  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
2087
2088         [Qt] Sync up favicon-implementation with WebView url changes in r118158
2089
2090         https://bugs.webkit.org/show_bug.cgi?id=87133
2091
2092         We now base64-encode the page url in the image-provider url, so that any
2093         normalization done by QUrl will not mess up the page-url. The logic of
2094         creating and parsing the provider-url has been moved into the image
2095         provider, to keep it in one place.
2096
2097         We were also releasing icons (even ones we hadn't retained), which we can't
2098         do since we don't know when the icon url is no longer in use.
2099
2100         Reviewed-by Simon Hausmann.
2101
2102         * declarative/plugin.cpp:
2103         * declarative/public.pri:
2104
2105 2012-05-25  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
2106
2107         WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
2108         https://bugs.webkit.org/show_bug.cgi?id=42328
2109
2110         Reviewed by Eric Seidel.
2111
2112         Removed unneeded setJavaScriptProfilingEnabled function from DRT after its
2113         move to windows.internals.settings.
2114
2115         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2116         * WebCoreSupport/DumpRenderTreeSupportQt.h:
2117
2118 2012-05-27  Simon Hausmann  <simon.hausmann@nokia.com>
2119
2120         [Qt] Trivial unreviewed build fix with newer Qt
2121
2122         * Api/qwebpage.cpp:
2123         (QWebPage::javaScriptPrompt): Don't use deprecated QString/QChar functions.
2124
2125 2012-05-24  Ryosuke Niwa  <rniwa@webkit.org>
2126
2127         createContextualFragment and insertAdjacentHTML should throw syntax error
2128         https://bugs.webkit.org/show_bug.cgi?id=87454
2129
2130         Reviewed by Darin Adler.
2131
2132         Pass an ExceptionCode to createContextualFragment.
2133
2134         * Api/qwebelement.cpp:
2135         (QWebElement::appendInside):
2136         (QWebElement::prependInside):
2137         (QWebElement::prependOutside):
2138         (QWebElement::appendOutside):
2139         (QWebElement::encloseContentsWith):
2140         (QWebElement::encloseWith):
2141
2142 2012-05-25  Csaba Osztrogonác  <ossy@webkit.org>
2143
2144         [Qt] Buildfix for newer Qt5
2145         https://bugs.webkit.org/show_bug.cgi?id=87257
2146
2147         Reviewed by Simon Hausmann.
2148
2149         * Api/qgraphicswebview.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
2150         * Api/qwebframe.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
2151         * Api/qwebhistory.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
2152         * Api/qwebsettings.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
2153         * Api/qwebview.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
2154         * WebCoreSupport/FrameLoaderClientQt.cpp: Adjust QCoreApplication::translate() parameter list to newer Qt 5.
2155         (WebCore::FrameLoaderClientQt::cancelledError):
2156         (WebCore::FrameLoaderClientQt::blockedError):
2157         (WebCore::FrameLoaderClientQt::cannotShowURLError):
2158         (WebCore::FrameLoaderClientQt::interruptedForPolicyChangeError):
2159         (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
2160         (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
2161         (WebCore::FrameLoaderClientQt::pluginWillHandleLoadError):
2162         * declarative/experimental/plugin.cpp: QDeclarativeExtensionPlugin -> QQmlExtensionPlugin renaming.
2163         * declarative/plugin.cpp: QDeclarativeExtensionPlugin -> QQmlExtensionPlugin renaming.
2164         (WebKitQmlPlugin):
2165
2166 2012-05-24  Ryosuke Niwa  <rniwa@webkit.org>
2167
2168         There are too many poorly named functions to create a fragment from markup
2169         https://bugs.webkit.org/show_bug.cgi?id=87339
2170
2171         Reviewed by Eric Seidel.
2172
2173         Replace calls to Range::createDocumentFragmentForElement by calls to
2174         createContextualDocumentFragment.
2175
2176         * Api/qwebelement.cpp:
2177         (QWebElement::appendInside):
2178         (QWebElement::prependInside):
2179         (QWebElement::prependOutside):
2180         (QWebElement::appendOutside):
2181         (QWebElement::encloseContentsWith):
2182         (QWebElement::encloseWith):
2183
2184 2012-05-24  Gabor Ballabas  <gaborb@inf.u-szeged.hu>
2185
2186         [Qt]  Fix Webkit1 + V8 build.
2187         https://bugs.webkit.org/show_bug.cgi?id=87368
2188
2189         Reviewed by Eric Seidel.
2190
2191         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2192         (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
2193
2194 2012-05-24  Steffen Imhof  <steffen.imhof@basyskom.com>
2195
2196         https://bugs.webkit.org/show_bug.cgi?id=67093
2197         [Qt] Default window.alert shows HTML entities in certain cases
2198
2199         Instead of HTML escaping the text of JS alerts (which does not work
2200         consistently because of Qt's automatisms), build message boxes
2201         explicitly to be able set the text format to plain text.
2202         QInputDialog is a bit hacky, because there is no way to access or
2203         control the contained QLabel.
2204
2205         Reviewed by Simon Hausmann.
2206
2207         * Api/qwebpage.cpp:
2208         (QWebPage::javaScriptAlert):
2209         (QWebPage::javaScriptConfirm):
2210         (QWebPage::javaScriptPrompt):
2211
2212 2012-05-21  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2213
2214         Move setEditingBehavior() from layoutTestController to window.internals
2215         https://bugs.webkit.org/show_bug.cgi?id=42689
2216
2217         Reviewed by Hajime Morita and Kenneth Rohde Christiansen.
2218
2219         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2220         (DumpRenderTreeSupportQt::setWindowsBehaviorAsEditingBehavior): Reduce the job
2221         done by this function to the minimal.
2222         * WebCoreSupport/DumpRenderTreeSupportQt.h:
2223
2224 2012-05-18  MORITA Hajime  <morrita@google.com>
2225
2226         https://bugs.webkit.org/show_bug.cgi?id=85515
2227         Stale frame in WebCore::SpellChecker::didCheckSucceeded
2228
2229         Reviewed by Ryosuke Niwa.
2230
2231         * WebCoreSupport/EditorClientQt.h:
2232         (WebCore::EditorClientQt::frameWillDetachPage):
2233
2234 2012-05-17  Hironori Bono  <hbono@chromium.org>
2235
2236         [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
2237         https://bugs.webkit.org/show_bug.cgi?id=86591
2238
2239         Reviewed by Ryosuke Niwa.
2240
2241         This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
2242         function to remove platform-specific code from Editor::respondToChangedSelection
2243         function.
2244
2245         No new tests, no change in behavior.
2246
2247         * WebCoreSupport/TextCheckerClientQt.cpp:
2248         (WebCore::TextCheckerClientQt::shouldEraseMarkersAfterChangeSelection):
2249         (WebCore):
2250         * WebCoreSupport/TextCheckerClientQt.h:
2251         (TextCheckerClientQt):
2252
2253 2012-05-17  Dan Bernstein  <mitz@apple.com>
2254
2255         REGRESSION (r117428): WebKit API/SPI was removed
2256         https://bugs.webkit.org/show_bug.cgi?id=86748
2257
2258         Reverted r117428.
2259
2260         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2261         (DumpRenderTreeSupportQt::setDomainRelaxationForbiddenForURLScheme):
2262         * WebCoreSupport/DumpRenderTreeSupportQt.h:
2263
2264 2012-05-17  Tsarko Yaroslav  <eriktsarko@googlemail.com>
2265
2266         Reviewed by Yury Semikhatsky.
2267
2268         Bug 71271: [Qt] Web Inspector: local inspector client UI becomes unresponsive on debugger pause during
2269         https://bugs.webkit.org/show_bug.cgi?id=71271
2270
2271         Web Inspector should not belong to any other page groups since it is a specialized debugger window.
2272         The reason for this change is when debugger pauses web page it pauses all the pages in the page group of debuggee.
2273         This leads that Web Inspector front-end is paused too leading to locked Web Inspector GUI (bugzilla ticket 71271).
2274
2275         * WebCoreSupport/InspectorClientQt.cpp:
2276         (WebCore::InspectorClientQt::openInspectorFrontend):
2277
2278 2012-05-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2279
2280         Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface
2281         https://bugs.webkit.org/show_bug.cgi?id=86704
2282
2283         Reviewed by Eric Seidel.
2284
2285         Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the
2286         cross-port way through the InternalSettings interface.
2287
2288         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2289         * WebCoreSupport/DumpRenderTreeSupportQt.h:
2290
2291 2012-05-15  Kenneth Rohde Christiansen  <kenneth@webkit.org>
2292
2293         [Qt] Add infra for testing double-tap to zoom functionality etc
2294         https://bugs.webkit.org/show_bug.cgi?id=86474
2295
2296         Reviewed by Simon Hausmann.
2297
2298         The WebViewportInfo class was renamed to QWebKitTest in preparation
2299         of becoming a separate module. Adapt the use API.
2300
2301         * declarative/experimental/plugin.cpp:
2302
2303 2012-05-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2304
2305         Move resumeAnimations to use Internals interface
2306         https://bugs.webkit.org/show_bug.cgi?id=86063
2307
2308         Reviewed by Alexey Proskuryakov.
2309
2310         Remove resumeAnimations functions, because it is able to work in the 
2311         cross-port way through the Internals interface.
2312
2313         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2314         * WebCoreSupport/DumpRenderTreeSupportQt.h:
2315
2316 2012-05-10  Marius Storm-Olsen  <marius.storm-olsen@nokia.com>
2317
2318         [Qt] Fix \sa usage in documentation
2319
2320         Ensure comma between elements (6 missing).
2321
2322         Reviewed by Tor Arne Vestbø.
2323
2324         * Api/qwebpage.cpp:
2325
2326 2012-05-09  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2327
2328         Move suspendAnimations to use Internals interface.
2329         https://bugs.webkit.org/show_bug.cgi?id=85986
2330
2331         Reviewed by Ryosuke Niwa.
2332
2333         Remove suspendAnimations functions, because it is able to work in the 
2334         cross-port way through the Internals interface.
2335
2336         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2337         * WebCoreSupport/DumpRenderTreeSupportQt.h:
2338
2339 2012-05-08  Balazs Kelemen  <kbalazs@webkit.org>
2340
2341         [Qt] X11 plugins need to be reworked for Qt5+WK1
2342         https://bugs.webkit.org/show_bug.cgi?id=80691
2343
2344         Reviewed by Simon Hausmann.
2345
2346         * Api/qwebsettings.cpp:
2347         (QWebSettings::enablePersistentStorage):
2348         Build fix for Qt5.
2349         * WebCoreSupport/FrameLoaderClientQt.cpp:
2350         (WebCore::FrameLoaderClientQt::createPlugin):
2351         Inject the wmode parameter for flash so it will
2352         work in windowless, non-transparent mode which
2353         is the only one we support currently.
2354         * WebCoreSupport/PageClientQt.cpp:
2355         (WebCore):
2356         (WebCore::QWebPageClient::ownerWindow):
2357         Added a getter for the top level window so the PluginView
2358         can get it without calling into QtWidgets code.
2359
2360 2012-05-06  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2361
2362         Convert isPageBoxVisible to use Internals interface.
2363         https://bugs.webkit.org/show_bug.cgi?id=85692
2364
2365         Reviewed by Darin Adler.
2366
2367         Remove isPageBoxVisible functions, because it is able to work in the
2368         cross-port way through the Internals interface.
2369
2370         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2371         * WebCoreSupport/DumpRenderTreeSupportQt.h:
2372
2373 2012-05-04  Nate Chapin  <japhet@chromium.org>
2374
2375         Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
2376         https://bugs.webkit.org/show_bug.cgi?id=85533
2377
2378         Reviewed by Alexey Proskuryakov.
2379
2380         * WebCoreSupport/FrameLoaderClientQt.cpp:
2381         (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
2382         (WebCore):
2383         (WebCore::FrameLoaderClientQt::finishedLoading):
2384         * WebCoreSupport/FrameLoaderClientQt.h:
2385         (WebCore::FrameLoaderClientQt::makeRepresentation):
2386         (WebCore::FrameLoaderClientQt::revertToProvisionalState):
2387         (FrameLoaderClientQt):
2388
2389 2012-05-03  Fady Samuel  <fsamuel@chromium.org>
2390
2391         Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
2392         https://bugs.webkit.org/show_bug.cgi?id=70609
2393
2394         Reviewed by Kenneth Rohde Christiansen.
2395
2396         * Api/qwebpage.cpp:
2397         (QWebPage::viewportAttributesForSize):
2398         * Api/qwebpage.h:
2399         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2400         (DumpRenderTreeSupportQt::viewportAsText):
2401
2402 2012-04-27  Jon Lee  <jonlee@apple.com>
2403
2404         Migrate permission functions to Notification from NotificationCenter
2405         https://bugs.webkit.org/show_bug.cgi?id=80485
2406         <rdar://problem/10965458>
2407
2408         Reviewed by Jian Li.
2409
2410         * WebCoreSupport/NotificationPresenterClientQt.h:
2411         (NotificationPresenterClientQt): Add stub implementation of requestPermission.
2412         (WebCore::NotificationPresenterClientQt::requestPermission):
2413
2414 2012-05-02  Sheriff Bot  <webkit.review.bot@gmail.com>
2415
2416         Unreviewed, rolling out r115907.
2417         http://trac.webkit.org/changeset/115907
2418         https://bugs.webkit.org/show_bug.cgi?id=85458
2419
2420         It broke all viewport tests on Qt and on GTK (Requested by
2421         Ossy on #webkit).
2422
2423         * Api/qwebpage.cpp:
2424         (QWebPage::viewportAttributesForSize):
2425         * Api/qwebpage.h:
2426         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2427         (DumpRenderTreeSupportQt::viewportAsText):
2428
2429 2012-04-18  Jon Honeycutt  <jhoneycutt@apple.com>
2430
2431         FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
2432         information about the form being submitted
2433         https://bugs.webkit.org/show_bug.cgi?id=84297
2434
2435         Reviewed by Andy Estes.
2436
2437         * WebCoreSupport/FrameLoaderClientQt.h:
2438         (WebCore::FrameLoaderClientQt::dispatchWillSendSubmitEvent):
2439         Updated method declaration.
2440
2441 2012-05-02  Fady Samuel  <fsamuel@chromium.org>
2442
2443         Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
2444         https://bugs.webkit.org/show_bug.cgi?id=70609
2445
2446         Reviewed by Kenneth Rohde Christiansen.
2447
2448         * Api/qwebpage.h:
2449         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2450         (DumpRenderTreeSupportQt::viewportAsText):
2451
2452 2012-05-02  Milian Wolff  <milian.wolff@kdab.com>
2453
2454         [Qt] Pass page-height to PrintContext::begin to fix print layouting
2455         https://bugs.webkit.org/show_bug.cgi?id=84864
2456
2457         Reviewed by Simon Hausmann.
2458
2459         * Api/qwebframe.cpp:
2460         (QWebFrame::print):
2461
2462 2012-05-02  Kenneth Rohde Christiansen  <kenneth@webkit.org>
2463
2464         [Qt] Add initial QML documentation
2465         https://bugs.webkit.org/show_bug.cgi?id=85370
2466
2467         Reviewed by Simon Hausmann.
2468
2469         * docs/qtwebkit.qdocconf: Add WebKit2 dirs.
2470
2471 2012-05-02  Csaba Osztrogonác  <ossy@webkit.org>
2472
2473         [Qt] Buildfix after r115812 for !ENABLE(DEVICE_ORIENTATION) builds.
2474         https://bugs.webkit.org/show_bug.cgi?id=64595
2475
2476         Reviewed by Kenneth Rohde Christiansen.
2477
2478         * Api/qwebpage.cpp:
2479
2480 2012-04-27  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
2481
2482         Move WebKit1 specific conversion of touch-events to WebKit1
2483         https://bugs.webkit.org/show_bug.cgi?id=84951
2484
2485         Reviewed by Kenneth Rohde Christiansen.
2486
2487         Fix compile when touch-events are disabled.
2488
2489         * WebCoreSupport/WebEventConversion.cpp:
2490         (WebCore):
2491         * WebCoreSupport/WebEventConversion.h:
2492         (WebCore):
2493
2494 2012-04-26  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
2495
2496         Move WebKit1 specific conversion of touch-events to WebKit1.
2497         https://bugs.webkit.org/show_bug.cgi?id=84951
2498
2499         Reviewed by Kenneth Rohde Christiansen.
2500
2501         * Api/qwebpage.cpp:
2502         (QWebPagePrivate::touchEvent):
2503         * WebCoreSupport/WebEventConversion.cpp:
2504         (WebKitPlatformTouchEvent):
2505         (WebKitPlatformTouchPoint):
2506         (WebCore::WebKitPlatformTouchEvent::WebKitPlatformTouchEvent):
2507         (WebCore::WebKitPlatformTouchPoint::WebKitPlatformTouchPoint):
2508         (WebCore::convertTouchEvent):
2509         * WebCoreSupport/WebEventConversion.h:
2510
2511 2012-04-25  Alexis Menard  <alexis.menard@openbossa.org>
2512
2513         Rename CSSStyleSelector files to StyleResolver.
2514         https://bugs.webkit.org/show_bug.cgi?id=84814
2515
2516         Reviewed by Antti Koivisto.
2517
2518         Rename CSSStyleSelector files to match the new class name StyleResolver.
2519         Update the includes all over the code base to the new name.
2520
2521         * Api/qwebelement.cpp:
2522         * WebCoreSupport/RenderThemeQStyle.cpp:
2523
2524 2012-04-25  Milian Wolff  <milian.wolff@kdab.com>
2525
2526         [Qt] add LayoutTestController::setPrinting support to Qt unit tests
2527         https://bugs.webkit.org/show_bug.cgi?id=84246
2528
2529         Reviewed by Simon Hausmann.
2530
2531         * Api/qwebframe.cpp:
2532         (QWebFrame::paintPagesWithBoundaries):
2533         * Api/qwebframe.h:
2534         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2535         (DumpRenderTreeSupportQt::paintPagesWithBoundaries):
2536         * WebCoreSupport/DumpRenderTreeSupportQt.h:
2537
2538 2012-04-24  Alexis Menard  <alexis.menard@openbossa.org>
2539
2540         Replace occurences of style selector from variables and methods names by style resolver.
2541         https://bugs.webkit.org/show_bug.cgi?id=84765
2542
2543         Reviewed by Andreas Kling.
2544
2545         Rename methods and variables to follow the new name StyleResolver. It requires to update the
2546         local variables, methods parameters, and function names to match the new name and to remove
2547         the concept of "selector" to avoid clashing with the CSS concept. The next and last patch
2548         will be to rename CSSStyleSelector file and update the includes.
2549
2550         * Api/qwebelement.cpp:
2551         (QWebElement::styleProperty):
2552         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2553         (DumpRenderTreeSupportQt::setMediaType):
2554         * WebCoreSupport/RenderThemeQStyle.cpp:
2555         (WebCore::RenderThemeQStyle::adjustButtonStyle):
2556         (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
2557         (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
2558         (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
2559         (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
2560         (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
2561
2562 2012-04-24  Alexis Menard  <alexis.menard@openbossa.org>
2563
2564         Rename CSSStyleSelector class to StyleResolver.
2565         https://bugs.webkit.org/show_bug.cgi?id=84734
2566
2567         Reviewed by Andreas Kling.
2568
2569         The name CSSStyleSelector is confusing as it conflicts a bit with
2570         the CSS concept of selectors. One could think it's an encapsulation
2571         of the CSS selectors but it's not, in fact this class is responsible
2572         of finding the RenderStyle for a given element. This is the first patch
2573         as I will later rename the files, and then rename the local variables.
2574
2575         * WebCoreSupport/RenderThemeQStyle.cpp:
2576         (WebCore::RenderThemeQStyle::adjustButtonStyle):
2577         (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
2578         (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
2579         (WebCore::RenderThemeQStyle::adjustSliderTrackStyle):
2580         (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
2581         (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
2582         (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
2583         * WebCoreSupport/RenderThemeQStyle.h:
2584         (RenderThemeQStyle):
2585
2586 2012-04-24  Yael Aharon  <yael.aharon@nokia.com>
2587
2588         [Qt] Move notification icon download out of WebCore
2589         https://bugs.webkit.org/show_bug.cgi?id=80700
2590
2591         Reviewed by Simon Hausmann.
2592
2593         Remove the code that handles the notification's icon and use the icon url instead.
2594         The "display" event has to be asynchronous, so a timer was added to achieve that.
2595         The platform plugin API and example were updated to reflect this change.
2596         This change does not address the recent changes in web notifications spec.
2597
2598         * Api/qwebkitplatformplugin.h:
2599         (QWebNotificationData):
2600         * WebCoreSupport/NotificationPresenterClientQt.cpp:
2601         (WebCore::NotificationWrapper::NotificationWrapper):
2602         (WebCore::NotificationWrapper::sendDisplayEvent):
2603         (WebCore):
2604         (WebCore::NotificationWrapper::iconUrl):
2605         (WebCore::NotificationPresenterClientQt::show):
2606         (WebCore::NotificationPresenterClientQt::displayNotification):
2607         (WebCore::NotificationPresenterClientQt::sendDisplayEvent):
2608         * WebCoreSupport/NotificationPresenterClientQt.h:
2609         (NotificationWrapper):
2610         (NotificationPresenterClientQt):
2611         * examples/platformplugin/WebNotificationPresenter.cpp:
2612         (WebNotificationWidget::showNotification):
2613         * examples/platformplugin/qwebkitplatformplugin.h:
2614         (QWebNotificationData):
2615
2616 2012-04-18  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
2617
2618         Clean-up WheelEvent Conversion.
2619         https://bugs.webkit.org/show_bug.cgi?id=84243
2620
2621         Reviewed by Simon Hausmann.
2622
2623         * WebCoreSupport/WebEventConversion.cpp:
2624         (WebCore::WebKitPlatformWheelEvent::applyDelta):
2625
2626 2012-04-13  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
2627
2628         [Qt] Build fix with QT_NO_BEARERMANAGEMENT
2629
2630         Reviewed by Jocelyn Turcotte.
2631
2632         * tests/benchmarks/loading/tst_loading.cpp:
2633         (tst_Loading):
2634         (tst_Loading::load):
2635         * tests/benchmarks/painting/tst_painting.cpp:
2636         (tst_Painting):
2637         (tst_Painting::paint):
2638
2639 2012-04-13  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
2640
2641         [Qt] Fix build on OS X
2642
2643         We were manually including the directories needed from WTF, instead of
2644         using the WEBKIT qmake variable to add dependencies, which also adds
2645         other tricks from WTF.pri, such as the right include paths for ICU.
2646
2647         Reviewed by Simon Hausmann.
2648
2649         * declarative/experimental/experimental.pri:
2650         * declarative/public.pri:
2651
2652 2012-04-12  Balazs Kelemen  <kbalazs@webkit.org>
2653
2654         [Qt] Fix WebKit1 build with V8
2655         https://bugs.webkit.org/show_bug.cgi?id=83322
2656
2657         Reviewed by Adam Barth.
2658
2659         * WebCoreSupport/FrameLoaderClientQt.cpp:
2660         (WebCore::FrameLoaderClientQt::didCreateScriptContext):
2661         * WebCoreSupport/FrameLoaderClientQt.h:
2662         (FrameLoaderClientQt):
2663         (WebCore::FrameLoaderClientQt::allowScriptExtension):
2664         * WebCoreSupport/InitWebCoreQt.cpp:
2665
2666 2012-03-05  Pierre Rossi  <pierre.rossi@gmail.com>
2667
2668         [Qt] Use QRawFont when building with Qt 5
2669         https://bugs.webkit.org/show_bug.cgi?id=78001
2670
2671         Since QFont is not used internally, we now need
2672         to query for a QFont that should be a good
2673         enough match.
2674
2675         Reviewed by Simon Hausmann.
2676
2677         * Api/qwebpage.cpp:
2678         (QWebPage::inputMethodQuery):
2679         * WebCoreSupport/PopupMenuQt.cpp:
2680         (WebCore::PopupMenuQt::show):
2681         * WebCoreSupport/RenderThemeQStyle.cpp:
2682         (WebCore::RenderThemeQStyle::computeSizeBasedOnStyle):
2683
2684 2012-04-06  Levi Weintraub  <leviw@chromium.org>
2685
2686         Correct LayoutUnit usgae in RenderThemeQt and RenderThemeQStyle
2687         https://bugs.webkit.org/show_bug.cgi?id=83376
2688
2689         Reviewed by Eric Seidel.
2690
2691         Calculating the progress animation using the pixel-snapped RenderProgress size instead
2692         of the internal sub-pixel version.
2693
2694         * WebCoreSupport/RenderThemeQStyle.cpp:
2695         (WebCore::RenderThemeQStyle::animationDurationForProgressBar):
2696
2697 2012-04-05  Patrick Gansterer  <paroga@webkit.org>
2698
2699         [Qt] Correct <wtf/*.h> include paths.
2700         https://bugs.webkit.org/show_bug.cgi?id=83270
2701
2702         Reviewed by Eric Seidel.
2703
2704         Modify the #include declerations so that the
2705         wtf types are included using the full path.
2706
2707         * Api/qwebpage.cpp:
2708         * WebCoreSupport/ContextMenuClientQt.h:
2709         * WebCoreSupport/EditorClientQt.h:
2710         * WebCoreSupport/FrameLoaderClientQt.h:
2711         * WebCoreSupport/InspectorServerQt.cpp:
2712
2713 2012-04-05  Csaba Osztrogonác  <ossy@webkit.org>
2714
2715         [Qt] Fix includes after QtDeclarative -> QtQML renaming
2716         https://bugs.webkit.org/show_bug.cgi?id=82195
2717
2718         Relanding r112651, because Qt5 is updated everywhere.
2719
2720         * declarative/experimental/plugin.cpp:
2721         * declarative/plugin.cpp:
2722         (WebKitQmlPlugin::initializeEngine):
2723
2724 2012-04-04  Andras Becsi  <andras.becsi@nokia.com>
2725
2726         [Qt][WK2] Make the WebView a subclass of Flickable
2727         https://bugs.webkit.org/show_bug.cgi?id=83033
2728
2729         Reviewed by Kenneth Rohde Christiansen.
2730
2731         Add needed dependency to quick-private for projects that include the WebView header.
2732
2733         * declarative/experimental/experimental.pri:
2734         * declarative/public.pri:
2735
2736 2012-04-03  Alexis Menard  <alexis.menard@openbossa.org>
2737
2738         [Part 2] We should use CSSPropertyID rather than integers when manipulating CSS property ids.
2739         https://bugs.webkit.org/show_bug.cgi?id=82977
2740
2741         Reviewed by Andreas Kling.
2742
2743         Update the code to use CSSPropertyID rather than an integer.
2744
2745         * Api/qwebelement.cpp:
2746         (QWebElement::setStyleProperty):
2747
2748 2012-04-02  Alexis Menard  <alexis.menard@openbossa.org>
2749
2750         We should use CSSPropertyID rather than integers when manipulating CSS property ids.
2751         https://bugs.webkit.org/show_bug.cgi?id=82941
2752
2753         Reviewed by Andreas Kling.
2754
2755         CSSPropertyID enum holds all the CSS property ids but many parts of WebKit treat the ids
2756         as integers. While it's not incorrect it is nicer to use the enum as a parameter of
2757         functions manipulating property ids, as we ensure that the value passed will be an
2758         existing value. It will also feel more correct after this patch that CSSProperty::id()
2759         return a value of the enum rather than an integer. As this modification is quite big this
2760         is the first part only so it will be easier to review.
2761
2762         * Api/qwebelement.cpp:
2763         (QWebElement::styleProperty): Adapt to the API change and also remove an unecessary name->id
2764         conversion.
2765
2766 2012-04-02  Casper van Donderen  <casper.vandonderen@nokia.com>
2767
2768         Qt: Doc: Fix typo which marks document to be printed in console font.
2769         https://bugs.webkit.org/show_bug.cgi?id=82893
2770
2771         Reviewed by Simon Hausmann.
2772
2773         The qtwebkit-bridge.qdoc file contained a typo where a \c {} was
2774         missing its closing curly bracket, this marked the rest of the page as
2775         text to be printed using the code/console font.
2776         * docs/qtwebkit-bridge.qdoc:
2777
2778 2012-04-02  Sheriff Bot  <webkit.review.bot@gmail.com>
2779
2780         Unreviewed, rolling out r112651.
2781         http://trac.webkit.org/changeset/112651
2782         https://bugs.webkit.org/show_bug.cgi?id=82887
2783
2784         It doesn't work with older Qt5 (Requested by Ossy on #webkit).
2785
2786         * declarative/experimental/plugin.cpp:
2787         * declarative/plugin.cpp:
2788         (WebKitQmlPlugin::initializeEngine):
2789
2790 2012-04-01  Jon Lee  <jonlee@apple.com>
2791
2792         Rename notification properties and functions
2793         https://bugs.webkit.org/show_bug.cgi?id=80482
2794         <rdar://problem/10912432>
2795
2796         Reviewed by Kentaro Hara.
2797
2798         * WebCoreSupport/NotificationPresenterClientQt.cpp:
2799         (WebCore::NotificationPresenterClientQt::show): Refactor to call tag().
2800         (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue): Refactor to call tag().
2801
2802 2012-03-30  Emil A Eklund  <eae@chromium.org>
2803
2804         Change WebKit/WebKit2 platform code to use pixel snapped values
2805         https://bugs.webkit.org/show_bug.cgi?id=82549
2806
2807         Reviewed by Eric Seidel.
2808
2809         * Api/qwebelement.cpp:
2810         (QWebElement::geometry):
2811         Replace getRect with getPixelSnappedRect to avoid having to expose
2812         subpixel types to the platform layer.
2813         
2814         * Api/qwebpage.cpp:
2815         (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
2816         Use pixel snapped element rect when comparing with the touch rect as the
2817         touch rect use screen cordinates which are represented with pixel
2818         accuracy.
2819         
2820         * WebCoreSupport/ChromeClientQt.h:
2821         (WebCore::ChromeClientQt::scrollRectIntoView):
2822         Change scrollRectIntoView to take a LayoutRect to match base class
2823         interface.
2824
2825 2012-03-30  Mark Pilgrim  <pilgrim@chromium.org>
2826
2827         GEOLOCATION should be implemented as Page Supplement
2828         https://bugs.webkit.org/show_bug.cgi?id=82228
2829
2830         Reviewed by Adam Barth.
2831
2832         Geolocation is now a Supplement in Page so the interface
2833         has changed for setting up the page's geolocation client
2834         initially and accessing the controller later.
2835
2836         * Api/qwebpage.cpp:
2837         (QWebPagePrivate::QWebPagePrivate):
2838         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2839         (DumpRenderTreeSupportQt::resetGeolocationMock):
2840         (DumpRenderTreeSupportQt::setMockGeolocationPermission):
2841         (DumpRenderTreeSupportQt::setMockGeolocationPosition):
2842         (DumpRenderTreeSupportQt::setMockGeolocationError):
2843         (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
2844         * WebCoreSupport/GeolocationClientQt.cpp:
2845         (WebCore::GeolocationClientQt::positionUpdated):
2846         (WebCore::GeolocationClientQt::startUpdating):
2847
2848 2012-03-29  Ádám Kallai  <kadam@inf.u-szeged.hu>
2849
2850         [Qt] Build fix by renameing QtDeclarative to QtQml in header calls.
2851         https://bugs.webkit.org/show_bug.cgi?id=82195
2852
2853         Reviewed by Simon Hausmann.
2854
2855         * declarative/experimental/plugin.cpp:
2856         * declarative/plugin.cpp:
2857         (WebKitQmlPlugin::initializeEngine):
2858
2859 2012-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
2860
2861         Unreviewed, rolling out r112553.
2862         http://trac.webkit.org/changeset/112553
2863         https://bugs.webkit.org/show_bug.cgi?id=82638
2864
2865         It made all tests crash on Qt WK2 (Requested by Ossy_away on
2866         #webkit).
2867
2868         * Api/qwebpage.cpp:
2869         (QWebPagePrivate::QWebPagePrivate):
2870         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2871         (DumpRenderTreeSupportQt::resetGeolocationMock):
2872         (DumpRenderTreeSupportQt::setMockGeolocationPermission):
2873         (DumpRenderTreeSupportQt::setMockGeolocationPosition):
2874         (DumpRenderTreeSupportQt::setMockGeolocationError):
2875         (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
2876         * WebCoreSupport/GeolocationClientQt.cpp:
2877         (WebCore::GeolocationClientQt::positionUpdated):
2878         (WebCore::GeolocationClientQt::startUpdating):
2879
2880 2012-03-29  Mark Pilgrim  <pilgrim@chromium.org>
2881
2882         GEOLOCATION should be implemented as Page Supplement
2883         https://bugs.webkit.org/show_bug.cgi?id=82228
2884
2885         Reviewed by Adam Barth.
2886
2887         Geolocation is now a Supplement in Page so the interface
2888         has changed for setting up the page's geolocation client
2889         initially and accessing the controller later.
2890
2891         * Api/qwebpage.cpp:
2892         (QWebPagePrivate::QWebPagePrivate):
2893         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2894         (DumpRenderTreeSupportQt::resetGeolocationMock):
2895         (DumpRenderTreeSupportQt::setMockGeolocationPermission):
2896         (DumpRenderTreeSupportQt::setMockGeolocationPosition):
2897         (DumpRenderTreeSupportQt::setMockGeolocationError):
2898         (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
2899         * WebCoreSupport/GeolocationClientQt.cpp:
2900         (WebCore::GeolocationClientQt::positionUpdated):
2901         (WebCore::GeolocationClientQt::startUpdating):
2902
2903 2012-03-28  Nate Chapin  <japhet@chromium.org>
2904
2905         Remove dispatchDidLoadMainResource callback, since no
2906         port implements it.
2907         https://bugs.webkit.org/show_bug.cgi?id=82539
2908
2909         Reviewed by Alexey Proskuryakov.
2910
2911         * WebCoreSupport/FrameLoaderClientQt.cpp:
2912         (WebCore):
2913         * WebCoreSupport/FrameLoaderClientQt.h:
2914         (FrameLoaderClientQt):
2915
2916 2012-03-20  Eric Seidel  <eric@webkit.org>
2917
2918         Move wtf/Platform.h from JavaScriptCore to Source/WTF/wtf
2919         https://bugs.webkit.org/show_bug.cgi?id=80911
2920
2921         Reviewed by Adam Barth.
2922
2923         Fix WTF header include paths since although
2924         Source/WTF is included, no longer are all the
2925         subdirectories (thus "RefPtr.h" can't work).
2926
2927         * Api/qwebdatabase_p.h:
2928         * Api/qwebscriptworld_p.h:
2929         * Api/qwebsecurityorigin_p.h:
2930         * WebCoreSupport/InspectorClientQt.h:
2931         * WebCoreSupport/QtFallbackWebPopup.h:
2932         * WebCoreSupport/QtWebComboBox.h:
2933         * declarative/experimental/experimental.pri:
2934         * declarative/public.pri:
2935         * tests/MIMESniffing/MIMESniffing.pro:
2936
2937 2012-03-19  Adam Barth  <abarth@webkit.org>
2938
2939         Remove support for "magic" iframe
2940         https://bugs.webkit.org/show_bug.cgi?id=81590
2941
2942         Reviewed by Eric Seidel.
2943
2944         Remove FrameLoaderClient methods that no longer exist.
2945
2946         * WebCoreSupport/FrameLoaderClientQt.cpp:
2947         (WebCore):
2948         * WebCoreSupport/FrameLoaderClientQt.h:
2949         (FrameLoaderClientQt):
2950
2951 2012-03-19  Emil A Eklund  <eae@chromium.org>
2952
2953         [mac/qt/chromium] Change platform code to use pixelSnappedRect methods
2954         https://bugs.webkit.org/show_bug.cgi?id=81016
2955
2956         Reviewed by Eric Seidel.
2957
2958         * Api/qwebelement.cpp:
2959         (QWebElement::geometry):
2960         (QWebElement::render):
2961
2962 2012-03-16  Teemu Katajisto  <teemu.katajisto@digia.com>
2963
2964         [Qt] QtWebKit documentation missing a few since 4.6 information
2965         https://bugs.webkit.org/show_bug.cgi?id=81328
2966
2967         Reviewed by Simon Hausmann.
2968
2969         * Api/qwebpage.cpp:
2970         * Api/qwebsettings.cpp:
2971
2972 2012-03-15  Yuta Kitamura  <yutak@chromium.org>
2973
2974         [Qt] Change default WebSocket protocol to the latest one
2975         https://bugs.webkit.org/show_bug.cgi?id=73630
2976
2977         Reviewed by Simon Hausmann.
2978
2979         * Api/qwebpage.cpp:
2980         (QWebPagePrivate::QWebPagePrivate):
2981         Use RFC6455 WebSocket protocol by default.
2982
2983 2012-03-07  Jon Lee  <jonlee@apple.com>
2984
2985         Move NotificationContents into Notification
2986         https://bugs.webkit.org/show_bug.cgi?id=80487
2987         <rdar://problem/10965519>
2988
2989         Reviewed by Jian Li.
2990
2991         Refactor to use accessor methods on Notification.
2992         * WebCoreSupport/NotificationPresenterClientQt.cpp:
2993         (WebCore::NotificationWrapper::title):
2994         (WebCore::NotificationWrapper::message):
2995         (WebCore::NotificationPresenterClientQt::displayNotification):
2996         (WebCore::NotificationPresenterClientQt::cancel):
2997         (WebCore::NotificationPresenterClientQt::notificationClicked):
2998         (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
2999         (WebCore::NotificationPresenterClientQt::dumpShowText):
3000
3001 2012-03-13  Jon Lee  <jonlee@apple.com>
3002
3003         Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
3004         https://bugs.webkit.org/show_bug.cgi?id=80922
3005         <rdar://problem/11035082>
3006
3007         Reviewed by Jian Li.
3008
3009         You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API.
3010         LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the
3011         new API. Therefore, APIs that are common between the two will have:
3012         #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
3013
3014         This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to
3015         the new API, the defines will begin to split. This allows ports to decide which set of APIs to include.
3016
3017         Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
3018         * Api/qwebpage.cpp:
3019         (QWebPagePrivate::QWebPagePrivate):
3020         (QWebPagePrivate::~QWebPagePrivate):
3021         (QWebPage::setFeaturePermission):
3022         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3023         (DumpRenderTreeSupportQt::dumpNotification):
3024         (DumpRenderTreeSupportQt::simulateDesktopNotificationClick):
3025         * WebCoreSupport/NotificationPresenterClientQt.cpp:
3026         (WebCore):
3027         (WebCore::NotificationWrapper::NotificationWrapper):
3028         (WebCore::NotificationWrapper::close):
3029         (WebCore::NotificationWrapper::title):
3030         (WebCore::NotificationWrapper::message):
3031         (WebCore::NotificationWrapper::iconData):
3032         (WebCore::NotificationWrapper::openerPageUrl):
3033         (WebCore::NotificationWrapper::notificationClicked):
3034         (WebCore::NotificationWrapper::notificationClosed):
3035         * WebCoreSupport/NotificationPresenterClientQt.h:
3036         (WebCore):
3037
3038 2012-03-14  Csaba Osztrogonác  <ossy@webkit.org>
3039
3040         Last buildfix for Qt after r110595. :)
3041
3042         Reviewed by Benjamin Poulain.
3043
3044         * Api/qwebpage.cpp:
3045         * WebCoreSupport/GeolocationClientQt.h:
3046
3047 2012-03-13  Benjamin Poulain  <bpoulain@apple.com>
3048
3049         Attempt to fix QtMinimal bot after r110595
3050
3051         * Api/qwebpage.cpp:
3052         (QWebPagePrivate::QWebPagePrivate):
3053
3054 2012-03-13  Benjamin Poulain  <bpoulain@apple.com>
3055
3056         Another attempt at fixing QtMinimal bot after r110595
3057
3058         Blind fix, unreviewed.
3059
3060         * WebCoreSupport/GeolocationClientQt.h:
3061
3062 2012-03-13  Benjamin Poulain  <bpoulain@apple.com>
3063
3064         Attempt to fix QtMinimal bot after r110595
3065
3066         Blind fix, unreviewed.
3067
3068         * Api/qwebpage.cpp:
3069         (QWebPagePrivate::QWebPagePrivate):
3070         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3071         (DumpRenderTreeSupportQt::resetGeolocationMock):
3072         (DumpRenderTreeSupportQt::setMockGeolocationPermission):
3073         (DumpRenderTreeSupportQt::setMockGeolocationPosition):
3074         (DumpRenderTreeSupportQt::setMockGeolocationError):
3075         (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
3076         * WebCoreSupport/GeolocationPermissionClientQt.h:
3077
3078 2012-03-13  Adam Barth  <abarth@webkit.org> && Benjamin Poulain  <bpoulain@apple.com>
3079
3080         Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
3081         https://bugs.webkit.org/show_bug.cgi?id=78853
3082
3083         Reviewed by Adam Barth.
3084
3085         * Api/qwebpage.cpp:
3086         (QWebPagePrivate::QWebPagePrivate):
3087         * WebCoreSupport/ChromeClientQt.h:
3088         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3089         (toGeolocationClientMock):
3090         (DumpRenderTreeSupportQt::resetGeolocationMock):
3091         (DumpRenderTreeSupportQt::setMockGeolocationPermission):
3092         (DumpRenderTreeSupportQt::setMockGeolocationPosition):
3093         (DumpRenderTreeSupportQt::setMockGeolocationError):
3094         (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
3095         * WebCoreSupport/GeolocationClientQt.h:
3096         (WebCore):
3097
3098 2012-03-12  Antonio Gomes  <agomes@rim.com>
3099
3100         Convert nodesFromRect tests to use Internals interface
3101         https://bugs.webkit.org/show_bug.cgi?id=80886
3102
3103         Reviewed by Ryosuke Niwa.
3104
3105         Removed DRTSupportQt::nodesFromRect support, since
3106         it can work in the cross-port way through the
3107         Internals interface.
3108
3109         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3110         * WebCoreSupport/DumpRenderTreeSupportQt.h:
3111
3112 2012-03-09  Jon Lee  <jonlee@apple.com>
3113
3114         Rename NotificationPresenter to NotificationClient
3115         https://bugs.webkit.org/show_bug.cgi?id=80488
3116         <rdar://problem/10965558>
3117
3118         Reviewed by Kentaro Hara.
3119
3120         Refactor to use renamed WebCore::NotificationClient.
3121         * WebCoreSupport/NotificationPresenterClientQt.cpp:
3122         (WebCore::NotificationPresenterClientQt::checkPermission):
3123         (WebCore::NotificationPresenterClientQt::allowNotificationForFrame):
3124         * WebCoreSupport/NotificationPresenterClientQt.h:
3125         (NotificationPresenterClientQt):
3126
3127 2012-03-09  Emil A Eklund  <eae@chromium.org>
3128
3129         Add roundedPoint to HitTestResult and change platform code to use it
3130         https://bugs.webkit.org/show_bug.cgi?id=80715
3131
3132         Reviewed by James Robinson.
3133
3134         Change ports to use roundedPoint to avoid exposing subpixel types to
3135         platform code.
3136
3137         * Api/qwebframe.cpp:
3138         (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
3139
3140 2012-03-09  Jon Lee  <jonlee@apple.com>
3141
3142         Add support for ENABLE(LEGACY_NOTIFICATIONS)
3143         https://bugs.webkit.org/show_bug.cgi?id=80497
3144
3145         Reviewed by Adam Barth.
3146
3147         Prep for b80472: Update API for Web Notifications
3148         * examples/platformplugin/platformplugin.pro:
3149
3150 2012-03-09  Csaba Osztrogonác  <ossy@webkit.org>
3151
3152         [Qt] Fix compilation without QtQuick1
3153         https://bugs.webkit.org/show_bug.cgi?id=80503
3154
3155         Qt 4.8 API test fix after r110050.
3156
3157         Reviewed by Zoltan Herczeg.
3158
3159         * declarative/public.pri: Add load(features) to ensure HAVE_QQUICK1=1 is set.
3160
3161 2012-03-08  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
3162
3163         [Qt] Use Qt's module system for install rules and depending on QtWebKit
3164
3165         Instead of rolling our own install rules we now use the same approach as
3166         every other Qt module, by loading qt_module.prf and qt_module_config.prf.
3167
3168         This ensures that we follow the same semantics as the rest of Qt on
3169         what sort of config options are enabled by default (create_cmake eg.).
3170         It also allows us to use QT += webkit instead of the workaround we had
3171         with CONFIG += qtwebkit.
3172
3173         We do however force Qt to always treat our build as a non-developer build,
3174         so the libraries will end up in the WebKit lib directory instead of the
3175         qtbase directory (as with a normal developer-build). This allows us to
3176         keep the webkit-build self-contained. If Qt is a developer build we still
3177         copy the module file manually to Qt, so that you don't have to install
3178         WebKit to make it available.
3179
3180         For non-developer builds of Qt, it is still possible to use the built
3181         WebKit libraries without having to install them, by having the variable
3182         QMAKE_EXTRA_MODULE_FORWARDS set in the project's .qmake.cache file,
3183         pointing to $WEBKITOUTUTDIR/$CONFIGURATION/modules.
3184
3185         https://bugs.webkit.org/show_bug.cgi?id=80590
3186
3187         Reviewed by Simon Hausmann.
3188
3189         * declarative/experimental/experimental.pri:
3190         * declarative/experimental/plugin.cpp:
3191         * declarative/plugin.cpp:
3192         * declarative/public.pri:
3193         * tests/tests.pri:
3194
3195 2012-03-08  Antti Koivisto  <antti@apple.com>
3196
3197         https://bugs.webkit.org/show_bug.cgi?id=80370
3198         Enable matched declaration caching for elements with a style attribute
3199
3200         Reviewed by Andreas Kling
3201
3202         * Api/qwebelement.cpp:
3203         (QWebElement::styleProperty):
3204         (QWebElement::setStyleProperty):
3205
3206 2012-03-07  Simon Hausmann  <simon.hausmann@nokia.com>
3207
3208         [Qt] Fix compilation without QtQuick1
3209         https://bugs.webkit.org/show_bug.cgi?id=80503
3210
3211         Reviewed by Tor Arne Vestbø.
3212
3213         Compile and enable the QtQuick1/QML1 plugin and webview
3214         only if we're using Qt 4 at the moment. QQuick1 clashes
3215         with QQuick2 right now because both declare QDeclarativeEngine
3216         and friends as classes.
3217
3218         * declarative/plugin.cpp:
3219         (WebKitQmlPlugin::registerTypes):
3220         * declarative/public.pri:
3221         * tests/tests.pri:
3222
3223 2012-03-07  Kangil Han  <kangil.han@samsung.com>
3224
3225         [DRT] Remove PlainTextController implementations.
3226         https://bugs.webkit.org/show_bug.cgi?id=79959
3227
3228         Reviewed by Hajime Morita.
3229
3230         PlainTextController usages in existing tests have been
3231         replaced by internals API by bug 78570.
3232         So this patch will remove PlainTextController implementations
3233         to avoid further usage in new tests.
3234
3235         * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3236         * WebCoreSupport/DumpRenderTreeSupportQt.h:
3237
3238 2012-03-06  Philippe Normand  <pnormand@igalia.com>
3239
3240         [GStreamer] disable GStreamerGWorld when building against 0.11
3241         https://bugs.webkit.org/show_bug.cgi?id=77088
3242
3243         Reviewed by Martin Robinson.
3244
3245         * WebCoreSupport/ChromeClientQt.cpp:
3246         (WebCore::ChromeClientQt::ChromeClientQt):
3247         (WebCore::ChromeClientQt::~ChromeClientQt):
3248         (WebCore):
3249         * WebCoreSupport/FullScreenVideoQt.cpp:
3250         (WebCore):
3251         (WebCore::FullScreenVideoQt::FullScreenVideoQt):
3252         (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
3253         (WebCore::FullScreenVideoQt::enterFullScreenForNode):
3254         (WebCore::FullScreenVideoQt::exitFullScreenForNode):
3255         (WebCore::FullScreenVideoQt::isValid):
3256         * WebCoreSupport/FullScreenVideoQt.h:
3257         (WebCore):
3258
3259 2012-03-03  Simon Hausmann  <simon.hausmann@nokia.com>
3260
3261         [Qt] Fix static_libs_as_shared build
3262         https://bugs.webkit.org/show_bug.cgi?id=80214
3263
3264         Reviewed by Tor Arne Vestbø.
3265
3266         Add helper function to be called by WebProcess main
3267         to potentially initialize the QStyle theme.
3268
3269         * WebCoreSupport/InitWebCoreQt.cpp:
3270         (WebKit):
3271         (WebKit::initializeWebKit2Theme):
3272
3273 2012-03-02  Casper van Donderen  <casper.vandonderen@nokia.com>
3274
3275         [Qt] Documentation cleanup
3276         https://bugs.webkit.org/show_bug.cgi?id=80131
3277
3278         Reviewed by Simon Hausmann.
3279
3280         QDoc uses different commands to do bold, lists, and italics.
3281         This change updates the documentation accordingly.
3282         QTBUG-24578
3283
3284         * Api/qwebframe.cpp:
3285         * Api/qwebhistory.cpp:
3286         * Api/qwebinspector.cpp:
3287         * Api/qwebpage.cpp:
3288         * Api/qwebpluginfactory.cpp:
3289         * Api/qwebsettings.cpp:
3290         * declarative/qdeclarativewebview.cpp:
3291         * docs/qtwebkit-bridge.qdoc:
3292         * docs/qtwebkit.qdoc:
3293         * docs/qtwebkit.qdocconf:
3294
3295 2012-03-02  Simon Hausmann  <simon.hausmann@nokia.com>
3296
3297         [Qt] Build system cleanup
3298
3299         Rubber-stamped by Antti Koivisto.
3300
3301         * tests/MIMESniffing/MIMESniffing.pro: Don't link in WTFAssertions.cpp for ASSERT, now
3302         that the symbols are properly exported with export macros from the DLL.
3303
3304 2012-03-02  Simon Hausmann  <simon.hausmann@nokia.com>
3305
3306         [Qt] Move QStyle theming code out of WebCore into WebKit1
3307         https://bugs.webkit.org/show_bug.cgi?id=80128
3308
3309         Reviewed by Kenneth Rohde Christiansen.
3310
3311         Moved the bulk of the QStyle dependant code here, where it's okay to depend on QtWidgets/QStyle.
3312         Install the QStyle factory functions in initWebCoreQt.cpp.
3313
3314         * Api/qwebpage.cpp:
3315         (QWebPage::swallowContextMenuEvent):
3316         * WebCoreSupport/InitWebCoreQt.cpp:
3317         (WebCore::initializeWebCoreQt):
3318         * WebCoreSupport/RenderThemeQStyle.cpp: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.cpp.
3319         (WebCore):
3320         (WebCore::initStyleOption):
3321         (WebCore::RenderThemeQStyle::getStylePainter):
3322         (WebCore::StylePainterQStyle::StylePainterQStyle):
3323         (WebCore::StylePainterQStyle::init):
3324         (WebCore::RenderThemeQStyle::create):
3325         (WebCore::RenderThemeQStyle::RenderThemeQStyle):
3326         (WebCore::RenderThemeQStyle::~RenderThemeQStyle):
3327         (WebCore::RenderThemeQStyle::fallbackStyle):
3328         (WebCore::RenderThemeQStyle::qStyle):
3329         (WebCore::RenderThemeQStyle::findFrameLineWidth):
3330         (WebCore::RenderThemeQStyle::inflateButtonRect):
3331         (WebCore::RenderThemeQStyle::computeSizeBasedOnStyle):
3332         (WebCore::RenderThemeQStyle::adjustButtonStyle):
3333         (WebCore::RenderThemeQStyle::setButtonPadding):
3334         (WebCore::RenderThemeQStyle::paintButton):
3335         (WebCore::RenderThemeQStyle::paintTextField):
3336         (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
3337         (WebCore::RenderThemeQStyle::paintTextArea):
3338         (WebCore::RenderThemeQStyle::setPopupPadding):
3339         (WebCore::RenderThemeQStyle::paintMenuList):
3340         (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
3341         (WebCore::RenderThemeQStyle::paintMenuListButton):
3342         (WebCore::RenderThemeQStyle::animationDurationForProgressBar):
3343         (WebCore::RenderThemeQStyle::paintProgressBar):
3344         (WebCore::RenderThemeQStyle::paintSliderTrack):
3345         (WebCore::RenderThemeQStyle::adjustSliderTrackStyle):
3346         (WebCore::RenderThemeQStyle::paintSliderThumb):
3347         (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
3348         (WebCore::RenderThemeQStyle::paintSearchField):
3349         (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
3350         (WebCore::RenderThemeQStyle::paintSearchFieldDecoration):
3351         (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
3352         (WebCore::RenderThemeQStyle::paintSearchFieldResultsDecoration):
3353         (WebCore::RenderThemeQStyle::paintInnerSpinButton):
3354         (WebCore::RenderThemeQStyle::initializeCommonQStyleOptions):
3355         (WebCore::RenderThemeQStyle::adjustSliderThumbSize):
3356         * WebCoreSupport/RenderThemeQStyle.h: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.h.
3357         (WebCore):
3358         (RenderThemeQStyle):
3359         (StylePainterQStyle):
3360         (WebCore::StylePainterQStyle::isValid):
3361         (WebCore::StylePainterQStyle::drawPrimitive):
3362         (WebCore::StylePainterQStyle::drawControl):
3363         (WebCore::StylePainterQStyle::drawComplexControl):
3364         * WebCoreSupport/ScrollbarThemeQStyle.cpp: Copied from Source/WebCore/platform/qt/ScrollbarThemeQt.cpp.
3365         (WebCore):
3366         (WebCore::ScrollbarThemeQStyle::~ScrollbarThemeQStyle):
3367         (WebCore::scPart):
3368         (WebCore::scrollbarPart):
3369         (WebCore::styleOptionSlider):
3370         (WebCore::ScrollbarThemeQStyle::paint):
3371         (WebCore::ScrollbarThemeQStyle::hitTest):
3372         (WebCore::ScrollbarThemeQStyle::shouldCenterOnThumb):
3373         (WebCore::ScrollbarThemeQStyle::invalidatePart):
3374         (WebCore::ScrollbarThemeQStyle::scrollbarThickness):
3375         (WebCore::ScrollbarThemeQStyle::thumbPosition):
3376         (WebCore::ScrollbarThemeQStyle::thumbLength):
3377         (WebCore::ScrollbarThemeQStyle::trackPosition):
3378         (WebCore::ScrollbarThemeQStyle::trackLength):
3379         (WebCore::ScrollbarThemeQStyle::paintScrollCorner):
3380         (WebCore::ScrollbarThemeQStyle::style):
3381         * WebCoreSupport/ScrollbarThemeQStyle.h: Renamed from Source/WebCore/platform/qt/ScrollbarThemeQt.h.
3382         (WebCore):
3383         (ScrollbarThemeQStyle):
3384
3385 2012-02-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3386
3387         [Qt] Move registration of experimental types to the proper plugin
3388         https://bugs.webkit.org/show_bug.cgi?id=79706
3389
3390         Reviewed by Tor Arne Vestbø.
3391
3392         * declarative/experimental/plugin.cpp:
3393         * declarative/plugin.cpp:
3394         (WebKitQmlPlugin::registerTypes):
3395
3396 2012-02-28  Antti Koivisto  <antti@apple.com>
3397
3398         Try to fix build.
3399
3400         Not reviewed.
3401
3402         * Api/qwebelement.cpp:
3403         (QWebElement::styleProperty):
3404
3405 2012-02-26  Hajime Morrita  <morrita@chromium.org>
3406
3407         Move ChromeClient::showContextMenu() to ContextMenuClient
3408         https://bugs.webkit.org/show_bug.cgi?id=79427
3409
3410         Reviewed by Adam Barth.
3411
3412         * WebCoreSupport/ChromeClientQt.h:
3413         (ChromeClientQt):
3414
3415 2012-02-24  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
3416
3417         [Qt] API: Unify the loading properties and signals.
3418         https://bugs.webkit.org/show_bug.cgi?id=79486
3419
3420         Reviewed by Simon Hausmann.
3421
3422         * declarative/plugin.cpp:
3423         (WebKitQmlPlugin::registerTypes):
3424
3425 2012-02-24  Holger Hans Peter Freyther  <holger@moiji-mobile.com>
3426
3427         [Qt] Build fix. macro "QSKIP" now only takes 1 argument on Qt5
3428         https://bugs.webkit.org/show_bug.cgi?id=79328
3429
3430         Reviewed by Csaba Osztrogonác.
3431
3432         Introduce an alternative QSKIP that can work with both Qt4
3433         and Qt5 without adding #ifdef to each usage site.
3434
3435         * tests/benchmarks/loading/tst_loading.cpp:
3436         (tst_Loading::load):
3437         * tests/benchmarks/painting/tst_painting.cpp:
3438         (tst_Painting::paint):
3439         * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
3440         (tst_QDeclarativeWebView::elementAreaAt):
3441         * tests/qwebframe/tst_qwebframe.cpp:
3442         (tst_QWebFrame::setHtmlWithBaseURL):
3443         * tests/qwebpage/tst_qwebpage.cpp:
3444         (tst_QWebPage::geolocationRequestJS):
3445         (tst_QWebPage::loadHtml5Video):
3446         (tst_QWebPage::screenshot):
3447         * tests/qwebview/tst_qwebview.cpp:
3448         (tst_QWebView::reusePage):
3449
3450 2012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
3451
3452         SpellCheckRequest needs to know the context where the spellcheck happened.
3453         https://bugs.webkit.org/show_bug.cgi?id=79320
3454
3455         Reviewed by Hajime Morita.
3456
3457         * WebCoreSupport/TextCheckerClientQt.h:
3458         (WebCore::TextCheckerClientQt::requestCheckingOfString):
3459
3460 2012-02-23  Simon Hausmann  <simon.hausmann@nokia.com>
3461
3462         [Qt] Add support for touch cancellation
3463         https://bugs.webkit.org/show_bug.cgi?id=79348
3464
3465         Reviewed by Kenneth Rohde Christiansen.
3466
3467         Forward incoming touch cancellation events to the WebCore
3468         event handler.
3469
3470         * Api/qgraphicswebview.cpp:
3471         (QGraphicsWebView::sceneEvent):
3472         * Api/qwebpage.cpp:
3473         (QWebPage::event):
3474         * Api/qwebview.cpp:
3475         (QWebView::event):
3476
3477 2012-02-22  Hajime Morrita  <morrita@chromium.org>
3478
3479         NOTIFICATIONS should be implemented as PageSupplement
3480         https://bugs.webkit.org/show_bug.cgi?id=79052
3481
3482         Reviewed by Adam Barth.
3483
3484         * Api/qwebpage.cpp:
3485         (QWebPagePrivate::QWebPagePrivate):
3486
3487 2012-02-21  Ryosuke Niwa  <rniwa@webkit.org>
3488
3489         Remove the remaining uses of CSSStyleDeclaration in Editor
3490         https://bugs.webkit.org/show_bug.cgi?id=78939
3491
3492         Reviewed by Enrica Casucci.
3493
3494         * WebCoreSupport/EditorClientQt.cpp:
3495         (WebCore::EditorClientQt::shouldApplyStyle):
3496         * WebCoreSupport/EditorClientQt.h:
3497         (EditorClientQt):
3498
3499 2012-02-22  Mihnea Ovidenie  <mihnea@adobe.com>
3500
3501         [Qt] REGRESSION(r108108): It made 3 fast/repaint tests fail
3502         https://bugs.webkit.org/show_bug.cgi?id=78960
3503
3504         Reviewed by Csaba Osztrogonác.
3505
3506         * Api/qwebsettings.cpp:
3507         (QWebSettingsPrivate::apply):
3508         (QWebSettings::QWebSettings):
3509         * Api/qwebsettings.h:
3510
3511 2012-02-22  Simon Hausmann  <simon.hausmann@nokia.com>
3512
3513         [Qt] Move QMenu dependant scrollbar context menu handling out of WebCore
3514         https://bugs.webkit.org/show_bug.cgi?id=79233
3515
3516         Reviewed by Kenneth Rohde Christiansen.
3517
3518         Move scrollbar context menu handling here, it's the only place where it is
3519         used.
3520
3521         * Api/qwebpage.cpp:
3522         (handleScrollbarContextMenuEvent):
3523         (QWebPage::swallowContextMenuEvent):
3524
3525 2012-02-22  Kenneth Rohde Christiansen  <kenneth@webkit.org>
3526
3527         Merge setVisibleRectTrajectoryVector and adjustVisibleRect to
3528         the more descriptive coverWithTilesIfNeeded
3529         https://bugs.webkit.org/show_bug.cgi?id=79230
3530
3531         Reviewed by Simon Hausmann.
3532
3533         * Api/qgraphicswebview.cpp:
3534         (QGraphicsWebView::paint):
3535
3536             Use coverWithTilesIfNeeded().
3537
3538 2012-02-22  Ryosuke Niwa  <rniwa@webkit.org>
3539
3540         Remove the remaining uses of CSSStyleDeclaration in Editor
3541         https://bugs.webkit.org/show_bug.cgi?id=78939
3542
3543         Reviewed by Enrica Casucci.
3544
3545         * WebCoreSupport/EditorClientQt.cpp:
3546         (WebCore::EditorClientQt::shouldApplyStyle):
3547         * WebCoreSupport/EditorClientQt.h:
3548         (EditorClientQt):
3549
3550 2012-02-21  Csaba Osztrogonác  <ossy@webkit.org>
3551
3552         [Qt] tst_QWebPage::infiniteLoopJS() timeouts with DFG JIT
3553         https://bugs.webkit.org/show_bug.cgi?id=79040
3554
3555         Reviewed by Simon Hausmann.
3556
3557         * tests/qwebpage/tst_qwebpage.cpp:
3558         (tst_QWebPage): Disable tst_QWebPage::infiniteLoopJS() until proper fix.
3559
3560 2012-02-21  Andras Becsi  <andras.becsi@nokia.com>
3561
3562         [Qt] Print warning when importing experimental WK2 APIs in QML
3563         https://bugs.webkit.org/show_bug.cgi?id=78817
3564
3565         Reviewed by Simon Hausmann.
3566
3567         * declarative/experimental/plugin.cpp:
3568
3569 2012-02-20  Benjamin Poulain  <benjamin@webkit.org>
3570
3571         Get rid of the LocalizationStrategy
3572         https://bugs.webkit.org/show_bug.cgi?id=78324
3573
3574         Reviewed by Sam Weinig.
3575
357