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